diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 66668d7d83..43bf52a1a1 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-f1e70b5e-20250811 \ No newline at end of file +19.2.0-native-fb-ac7820a9-20250811 \ 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 4b5c6caa2c..6a1ee94d2f 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"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; + exports.version = "19.2.0-native-fb-ac7820a9-20250811"; })(); 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 a0fa734a72..969aca0e17 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<<5759bd5821f53500be4cf6474eccde5c>> + * @generated SignedSource<<4f52ea5b20246ada8a10f97cd96d5d6e>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 a0fa734a72..969aca0e17 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<<5759bd5821f53500be4cf6474eccde5c>> + * @generated SignedSource<<4f52ea5b20246ada8a10f97cd96d5d6e>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 6a7bf47ba4..818864b9ad 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<<119ae1d3d58407e87f0535424be03920>> + * @generated SignedSource<<547a0eb1d9a3bfa9bc3add9558f92e9f>> */ /* @@ -10376,6 +10376,14 @@ __DEV__ && ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -10437,6 +10445,17 @@ __DEV__ && reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -10498,6 +10517,135 @@ __DEV__ && workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes && + ((nextProps = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }), + (workInProgress.memoizedState = nextProps), + (nextProps = createFiberFromDehydratedFragment(renderLanes)), + (nextProps.return = workInProgress), + (workInProgress.child = nextProps), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (renderLanes = null); + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var activityInstance = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + 0 !== (renderLanes & 536870912) && + markRenderDerivedCause(workInProgress), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && activityInstance !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + prevState = current.child; + nextProps = { mode: nextProps.mode, children: nextProps.children }; + 0 !== (renderLanes & 536870912) && + 0 !== (renderLanes & current.lanes) && + markRenderDerivedCause(workInProgress); + current = createWorkInProgress(prevState, nextProps); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -10975,24 +11123,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2841; - var JSCompiler_object_inline_stack_2842 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2820; + var JSCompiler_object_inline_stack_2821 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2840 = !1; + var JSCompiler_object_inline_message_2819 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2841 = didSuspend) || - (JSCompiler_object_inline_digest_2841 = + (JSCompiler_object_inline_digest_2820 = didSuspend) || + (JSCompiler_object_inline_digest_2820 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2841 && - ((JSCompiler_object_inline_message_2840 = !0), + JSCompiler_object_inline_digest_2820 && + ((JSCompiler_object_inline_message_2819 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2841 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2820 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2840 + JSCompiler_object_inline_message_2819 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (renderLanes = nextHydratableInstance) @@ -11005,18 +11153,18 @@ __DEV__ && ? current : null), null !== current && - ((JSCompiler_object_inline_digest_2841 = { + ((JSCompiler_object_inline_digest_2820 = { dehydrated: current, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2841), - (JSCompiler_object_inline_digest_2841 = + JSCompiler_object_inline_digest_2820), + (JSCompiler_object_inline_digest_2820 = createFiberFromDehydratedFragment(current)), - (JSCompiler_object_inline_digest_2841.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2841), + (JSCompiler_object_inline_digest_2820.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2820), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); @@ -11030,53 +11178,53 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2842.children, - nextFallbackChildren = JSCompiler_object_inline_stack_2842.fallback; - if (JSCompiler_object_inline_message_2840) + var nextPrimaryChildren = JSCompiler_object_inline_stack_2821.children, + nextFallbackChildren = JSCompiler_object_inline_stack_2821.fallback; + if (JSCompiler_object_inline_message_2819) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2842 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_2821 = workInProgress.child), + (JSCompiler_object_inline_stack_2821.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_2821.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2820, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2841, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2842 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2821) ); if ( "number" === - typeof JSCompiler_object_inline_stack_2842.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2821.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2842 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_2821 = workInProgress.child), + (JSCompiler_object_inline_stack_2821.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_2821.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2820, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2841, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2842 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2821) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11086,8 +11234,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2843 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2843) { + var JSCompiler_object_inline_componentStack_2822 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2822) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11104,13 +11252,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2842.fallback), + JSCompiler_object_inline_stack_2821.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_2842 = + (JSCompiler_object_inline_stack_2821 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2842.children + children: JSCompiler_object_inline_stack_2821.children }, nextFallbackChildren )), @@ -11121,11 +11269,11 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2842.return = workInProgress), + (JSCompiler_object_inline_stack_2821.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2842.sibling = + (JSCompiler_object_inline_stack_2821.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2842), + (workInProgress.child = JSCompiler_object_inline_stack_2821), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -11133,62 +11281,65 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2842 = workInProgress.child), - (JSCompiler_object_inline_stack_2842.memoizedState = + (JSCompiler_object_inline_stack_2821 = workInProgress.child), + (JSCompiler_object_inline_stack_2821.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2842.childLanes = + (JSCompiler_object_inline_stack_2821.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2841, + JSCompiler_object_inline_digest_2820, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2821 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2843 + JSCompiler_object_inline_componentStack_2822 )) ) { - JSCompiler_object_inline_digest_2841 = - JSCompiler_object_inline_componentStack_2843.nextSibling && - JSCompiler_object_inline_componentStack_2843.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2841) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2841.dgst; - var message = JSCompiler_object_inline_digest_2841.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_2841.stck; - var componentStack = JSCompiler_object_inline_digest_2841.cstck; + JSCompiler_object_inline_digest_2820 = + JSCompiler_object_inline_componentStack_2822.nextSibling && + JSCompiler_object_inline_componentStack_2822.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2820) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2820.dgst; + var message = JSCompiler_object_inline_digest_2820.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_2820.stck; + var componentStack = JSCompiler_object_inline_digest_2820.cstck; } - JSCompiler_object_inline_message_2840 = message; - JSCompiler_object_inline_digest_2841 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2842 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_2843 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2840; - nextFallbackChildren = JSCompiler_object_inline_componentStack_2843; + JSCompiler_object_inline_message_2819 = message; + JSCompiler_object_inline_digest_2820 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2821 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_2822 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2819; + nextFallbackChildren = JSCompiler_object_inline_componentStack_2822; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_2842 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2841; - JSCompiler_object_inline_digest_2841 = + JSCompiler_object_inline_stack_2821 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2820; + JSCompiler_object_inline_digest_2820 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_2842 = { + JSCompiler_object_inline_stack_2821 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2841 + stack: JSCompiler_object_inline_digest_2820 }; - "string" === typeof JSCompiler_object_inline_digest_2841 && + "string" === typeof JSCompiler_object_inline_digest_2820 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2842 + JSCompiler_object_inline_stack_2821 ); - queueHydrationError(JSCompiler_object_inline_stack_2842); + queueHydrationError(JSCompiler_object_inline_stack_2821); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11202,35 +11353,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2841 = + (JSCompiler_object_inline_digest_2820 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2841) + didReceiveUpdate || JSCompiler_object_inline_digest_2820) ) { - JSCompiler_object_inline_digest_2841 = workInProgressRoot; + JSCompiler_object_inline_digest_2820 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2841 && - ((JSCompiler_object_inline_stack_2842 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2841, + null !== JSCompiler_object_inline_digest_2820 && + ((JSCompiler_object_inline_stack_2821 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2820, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2842 && - JSCompiler_object_inline_stack_2842 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2821 && + JSCompiler_object_inline_stack_2821 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2842), + ((prevState.retryLane = JSCompiler_object_inline_stack_2821), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2842 + JSCompiler_object_inline_stack_2821 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2841, + JSCompiler_object_inline_digest_2820, current, - JSCompiler_object_inline_stack_2842 + JSCompiler_object_inline_stack_2821 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2843 + JSCompiler_object_inline_componentStack_2822 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11239,14 +11390,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2843 + JSCompiler_object_inline_componentStack_2822 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2843.nextSibling + JSCompiler_object_inline_componentStack_2822.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11258,47 +11409,47 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, renderLanes), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2842.children + JSCompiler_object_inline_stack_2821.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2840) + if (JSCompiler_object_inline_message_2819) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2842.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2821.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2843 = + (JSCompiler_object_inline_componentStack_2822 = componentStack.sibling), - (JSCompiler_object_inline_message_2840 = { + (JSCompiler_object_inline_message_2819 = { mode: "hidden", - children: JSCompiler_object_inline_stack_2842.children + children: JSCompiler_object_inline_stack_2821.children }), (nextFallbackChildren & ConcurrentMode) === NoMode && workInProgress.child !== componentStack - ? ((JSCompiler_object_inline_stack_2842 = workInProgress.child), - (JSCompiler_object_inline_stack_2842.childLanes = 0), - (JSCompiler_object_inline_stack_2842.pendingProps = - JSCompiler_object_inline_message_2840), + ? ((JSCompiler_object_inline_stack_2821 = workInProgress.child), + (JSCompiler_object_inline_stack_2821.childLanes = 0), + (JSCompiler_object_inline_stack_2821.pendingProps = + JSCompiler_object_inline_message_2819), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2842.actualDuration = -0), - (JSCompiler_object_inline_stack_2842.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2842.selfBaseDuration = + ((JSCompiler_object_inline_stack_2821.actualDuration = -0), + (JSCompiler_object_inline_stack_2821.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2821.selfBaseDuration = componentStack.selfBaseDuration), - (JSCompiler_object_inline_stack_2842.treeBaseDuration = + (JSCompiler_object_inline_stack_2821.treeBaseDuration = componentStack.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2842 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2821 = createWorkInProgress( componentStack, - JSCompiler_object_inline_message_2840 + JSCompiler_object_inline_message_2819 )), - (JSCompiler_object_inline_stack_2842.subtreeFlags = + (JSCompiler_object_inline_stack_2821.subtreeFlags = componentStack.subtreeFlags & 65011712)), - null !== JSCompiler_object_inline_componentStack_2843 + null !== JSCompiler_object_inline_componentStack_2822 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2843, + JSCompiler_object_inline_componentStack_2822, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11309,67 +11460,67 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2842.return = workInProgress), - (JSCompiler_object_inline_stack_2842.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2842), - (JSCompiler_object_inline_stack_2842 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextFallbackChildren = current.child.memoizedState), - null === nextFallbackChildren - ? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = nextFallbackChildren.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_componentStack_2843 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_componentStack_2843 - ? { - parent: JSCompiler_object_inline_componentStack_2843, - pool: JSCompiler_object_inline_componentStack_2843 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (nextFallbackChildren = { - baseLanes: nextFallbackChildren.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_2821.return = workInProgress), + (JSCompiler_object_inline_stack_2821.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2821), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2821), + (JSCompiler_object_inline_stack_2821 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((nextFallbackChildren = nextPrimaryChildren.cachePool), + null !== nextFallbackChildren + ? ((componentStack = CacheContext._currentValue), + (nextFallbackChildren = + nextFallbackChildren.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : nextFallbackChildren)) + : (nextFallbackChildren = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: nextFallbackChildren })), - (nextPrimaryChildren.memoizedState = nextFallbackChildren), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2841, - renderLanes - )), + (JSCompiler_object_inline_stack_2821.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_2821.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2820, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2842 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_2821 + ) ); null !== prevState && (renderLanes & 62914560) === renderLanes && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2841 = current.child; - current = JSCompiler_object_inline_digest_2841.sibling; - JSCompiler_object_inline_digest_2841 = createWorkInProgress( - JSCompiler_object_inline_digest_2841, + JSCompiler_object_inline_digest_2820 = current.child; + current = JSCompiler_object_inline_digest_2820.sibling; + JSCompiler_object_inline_digest_2820 = createWorkInProgress( + JSCompiler_object_inline_digest_2820, { mode: "visible", - children: JSCompiler_object_inline_stack_2842.children + children: JSCompiler_object_inline_stack_2821.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2841.lanes = renderLanes); - JSCompiler_object_inline_digest_2841.return = workInProgress; - JSCompiler_object_inline_digest_2841.sibling = null; + (JSCompiler_object_inline_digest_2820.lanes = renderLanes); + JSCompiler_object_inline_digest_2820.return = workInProgress; + JSCompiler_object_inline_digest_2820.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2841; + workInProgress.child = JSCompiler_object_inline_digest_2820; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2841; + return JSCompiler_object_inline_digest_2820; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( @@ -11415,12 +11566,6 @@ __DEV__ && function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11874,7 +12019,7 @@ __DEV__ && } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { - var copiedFiber = createFiberFromTypeAndProps( + renderLanes = createFiberFromTypeAndProps( workInProgress.type, workInProgress.key, workInProgress.pendingProps, @@ -11882,19 +12027,19 @@ __DEV__ && workInProgress.mode, workInProgress.lanes ); - copiedFiber._debugStack = workInProgress._debugStack; - copiedFiber._debugTask = workInProgress._debugTask; + renderLanes._debugStack = workInProgress._debugStack; + renderLanes._debugTask = workInProgress._debugTask; var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; - copiedFiber.index = workInProgress.index; - copiedFiber.sibling = workInProgress.sibling; - copiedFiber.return = workInProgress.return; - copiedFiber.ref = workInProgress.ref; - copiedFiber._debugInfo = workInProgress._debugInfo; + renderLanes.index = workInProgress.index; + renderLanes.sibling = workInProgress.sibling; + renderLanes.return = workInProgress.return; + renderLanes.ref = workInProgress.ref; + renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) - returnFiber.child = copiedFiber; + returnFiber.child = renderLanes; else { var prevSibling = returnFiber.child; if (null === prevSibling) @@ -11902,14 +12047,14 @@ __DEV__ && for (; prevSibling.sibling !== workInProgress; ) if (((prevSibling = prevSibling.sibling), null === prevSibling)) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = copiedFiber; + prevSibling.sibling = renderLanes; } - var deletions = returnFiber.deletions; - null === deletions + workInProgress = returnFiber.deletions; + null === workInProgress ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16)) - : deletions.push(current); - copiedFiber.flags |= 2; - return copiedFiber; + : workInProgress.push(current); + renderLanes.flags |= 2; + return renderLanes; } if (null !== current) if ( @@ -11935,97 +12080,94 @@ __DEV__ && } else { didReceiveUpdate = !1; - var JSCompiler_temp; - if ((JSCompiler_temp = isHydrating)) + if ((returnFiber = isHydrating)) warnIfNotHydrating(), - (JSCompiler_temp = 0 !== (workInProgress.flags & 1048576)); - if (JSCompiler_temp) { - var slotIndex = workInProgress.index; - warnIfNotHydrating(); - pushTreeId(workInProgress, treeForkCount, slotIndex); - } + (returnFiber = 0 !== (workInProgress.flags & 1048576)); + returnFiber && + ((returnFiber = workInProgress.index), + warnIfNotHydrating(), + pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: - a: { - var elementType = workInProgress.elementType; - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - var props = workInProgress.pendingProps, - Component = resolveLazy(elementType); - workInProgress.type = Component; - if ("function" === typeof Component) - if (shouldConstruct(Component)) { - var resolvedProps = resolveClassComponentProps( - Component, - props - ); - workInProgress.tag = 1; - workInProgress.type = Component = - resolveFunctionForHotReloading(Component); - var JSCompiler_inline_result = updateClassComponent( + a: if ( + ((prevSibling = workInProgress.elementType), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (returnFiber = workInProgress.pendingProps), + (current = resolveLazy(prevSibling)), + (workInProgress.type = current), + "function" === typeof current) + ) + shouldConstruct(current) + ? ((returnFiber = resolveClassComponentProps( + current, + returnFiber + )), + (workInProgress.tag = 1), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateClassComponent( null, workInProgress, - Component, - resolvedProps, + current, + returnFiber, + renderLanes + ))) + : ((workInProgress.tag = 0), + validateFunctionComponentInDev(workInProgress, current), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateFunctionComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))); + else { + if (void 0 !== current && null !== current) + if ( + ((prevSibling = current.$$typeof), + prevSibling === REACT_FORWARD_REF_TYPE) + ) { + workInProgress.tag = 11; + workInProgress.type = current = + resolveForwardRefForHotReloading(current); + workInProgress = updateForwardRef( + null, + workInProgress, + current, + returnFiber, renderLanes ); - } else - (workInProgress.tag = 0), - validateFunctionComponentInDev(workInProgress, Component), - (workInProgress.type = Component = - resolveFunctionForHotReloading(Component)), - (JSCompiler_inline_result = updateFunctionComponent( - null, - workInProgress, - Component, - props, - renderLanes - )); - else { - if (void 0 !== Component && null !== Component) { - var $$typeof = Component.$$typeof; - if ($$typeof === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = Component = - resolveForwardRefForHotReloading(Component); - JSCompiler_inline_result = updateForwardRef( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } else if ($$typeof === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - JSCompiler_inline_result = updateMemoComponent( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } + break a; + } else if (prevSibling === REACT_MEMO_TYPE) { + workInProgress.tag = 14; + workInProgress = updateMemoComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ); + break a; } - var hint = ""; - null !== Component && - "object" === typeof Component && - Component.$$typeof === REACT_LAZY_TYPE && - (hint = - " Did you wrap a component in React.lazy() more than once?"); - var loggedComponent = - getComponentNameFromType(Component) || Component; - throw Error( - "Element type is invalid. Received a promise that resolves to: " + - loggedComponent + - ". Lazy element type must resolve to a class or function." + - hint - ); - } + workInProgress = ""; + null !== current && + "object" === typeof current && + current.$$typeof === REACT_LAZY_TYPE && + (workInProgress = + " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; + throw Error( + "Element type is invalid. Received a promise that resolves to: " + + renderLanes + + ". Lazy element type must resolve to a class or function." + + workInProgress + ); } - return JSCompiler_inline_result; + return workInProgress; case 0: return updateFunctionComponent( current, @@ -12035,17 +12177,19 @@ __DEV__ && renderLanes ); case 1: - var _Component = workInProgress.type, - resolvedProps$jscomp$0 = resolveClassComponentProps( - _Component, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - return updateClassComponent( - current, - workInProgress, - _Component, - resolvedProps$jscomp$0, - renderLanes + )), + updateClassComponent( + current, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 3: a: { @@ -12054,15 +12198,15 @@ __DEV__ && throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps, - prevState = workInProgress.memoizedState, - prevChildren = prevState.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); - var nextState = workInProgress.memoizedState, - nextCache = nextState.cache; - pushProvider(workInProgress, CacheContext, nextCache); - nextCache !== prevState.cache && + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); + var nextState = workInProgress.memoizedState; + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -12070,303 +12214,296 @@ __DEV__ && !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - var nextChildren = nextState.element; - if (prevState.isDehydrated) { - var overrideState = { - element: nextChildren, - isDehydrated: !1, - cache: nextState.cache - }; - workInProgress.updateQueue.baseState = overrideState; - workInProgress.memoizedState = overrideState; - if (workInProgress.flags & 256) { - var JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + returnFiber = nextState.element; + if (prevState.isDehydrated) + if ( + ((prevState = { + element: returnFiber, + isDehydrated: !1, + cache: nextState.cache + }), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), + workInProgress.flags & 256) + ) { + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; - } else if (nextChildren !== prevChildren) { - var recoverableError = 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(recoverableError); - JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + queueHydrationError(prevSibling); + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; } else { - var parentContainer = workInProgress.stateNode.containerInfo; - switch (parentContainer.nodeType) { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { case 9: - var parentElement = parentContainer.body; + current = current.body; break; default: - parentElement = - "HTML" === parentContainer.nodeName - ? parentContainer.ownerDocument.body - : parentContainer; + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; } - nextHydratableInstance = getNextHydratable( - parentElement.firstChild - ); + nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; didSuspendOrErrorDEV = !1; hydrationDiffRootDEV = null; rootOrSingletonContext = !0; - for ( - var child = mountChildFibers( - workInProgress, - null, - nextChildren, - renderLanes - ), - node = (workInProgress.child = child); - node; - - ) - (node.flags = (node.flags & -3) | 4096), - (node = node.sibling); + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) + (renderLanes.flags = (renderLanes.flags & -3) | 4096), + (renderLanes = renderLanes.sibling); } - } else { + else { resetHydrationState(); - if (nextChildren === prevChildren) { - JSCompiler_inline_result$jscomp$0 = - bailoutOnAlreadyFinishedWork( - current, - workInProgress, - renderLanes - ); + if (returnFiber === prevSibling) { + workInProgress = bailoutOnAlreadyFinishedWork( + current, + workInProgress, + renderLanes + ); break a; } reconcileChildren( current, workInProgress, - nextChildren, + returnFiber, renderLanes ); } - JSCompiler_inline_result$jscomp$0 = workInProgress.child; + workInProgress = workInProgress.child; } - return JSCompiler_inline_result$jscomp$0; + return workInProgress; case 26: - markRef(current, workInProgress); - if (null === current) { - var resource = getResource( - workInProgress.type, - null, - workInProgress.pendingProps, - null - ); - if (resource) workInProgress.memoizedState = resource; - else if (!isHydrating) { - var type = workInProgress.type, - props$jscomp$0 = workInProgress.pendingProps, - rootContainerInstance = requiredContext( - rootInstanceStackCursor.current - ), - domElement = getOwnerDocumentFromRootContainer( - rootContainerInstance - ).createElement(type); - domElement[internalInstanceKey] = workInProgress; - domElement[internalPropsKey] = props$jscomp$0; - setInitialProperties(domElement, type, props$jscomp$0); - markNodeAsHoistable(domElement); - workInProgress.stateNode = domElement; - } - } else - workInProgress.memoizedState = getResource( - workInProgress.type, - current.memoizedProps, - workInProgress.pendingProps, - current.memoizedState - ); - return null; - case 27: - pushHostContext(workInProgress); - if (null === current && isHydrating) { - var currentRootContainer = requiredContext( - rootInstanceStackCursor.current - ), - currentHostContext = getHostContext(), - instance = (workInProgress.stateNode = resolveSingletonInstance( - workInProgress.type, - workInProgress.pendingProps, - currentRootContainer, - currentHostContext, - !1 - )); - if (!didSuspendOrErrorDEV) { - var differences = diffHydratedProperties( - instance, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext - ); - null !== differences && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences); - } - hydrationParentFiber = workInProgress; - rootOrSingletonContext = !0; - var currentHydratableInstance = nextHydratableInstance; - isSingletonScope(workInProgress.type) - ? ((previousHydratableOnEnteringScopedSingleton = - currentHydratableInstance), - (nextHydratableInstance = getNextHydratable( - instance.firstChild - ))) - : (nextHydratableInstance = currentHydratableInstance); - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + markRef(current, workInProgress), + null === current + ? (renderLanes = getResource( + workInProgress.type, + null, + workInProgress.pendingProps, + null + )) + ? (workInProgress.memoizedState = renderLanes) + : isHydrating || + ((renderLanes = workInProgress.type), + (current = workInProgress.pendingProps), + (returnFiber = requiredContext( + rootInstanceStackCursor.current + )), + (returnFiber = + getOwnerDocumentFromRootContainer( + returnFiber + ).createElement(renderLanes)), + (returnFiber[internalInstanceKey] = workInProgress), + (returnFiber[internalPropsKey] = current), + setInitialProperties(returnFiber, renderLanes, current), + markNodeAsHoistable(returnFiber), + (workInProgress.stateNode = returnFiber)) + : (workInProgress.memoizedState = getResource( + workInProgress.type, + current.memoizedProps, + workInProgress.pendingProps, + current.memoizedState + )), + null ); - markRef(current, workInProgress); - null === current && (workInProgress.flags |= 4194304); - return workInProgress.child; - case 5: - if (null === current && isHydrating) { - var currentHostContext$jscomp$0 = getHostContext(), - shouldKeepWarning = validateDOMNesting( - workInProgress.type, - currentHostContext$jscomp$0.ancestorInfo - ), - nextInstance = nextHydratableInstance, - JSCompiler_temp$jscomp$0; - if (!(JSCompiler_temp$jscomp$0 = !nextInstance)) { - var instance$jscomp$0 = canHydrateInstance( - nextInstance, - workInProgress.type, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== instance$jscomp$0) { - workInProgress.stateNode = instance$jscomp$0; - if (!didSuspendOrErrorDEV) { - var differences$jscomp$0 = diffHydratedProperties( - instance$jscomp$0, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext$jscomp$0 - ); - null !== differences$jscomp$0 && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences$jscomp$0); - } - hydrationParentFiber = workInProgress; - nextHydratableInstance = getNextHydratable( - instance$jscomp$0.firstChild - ); - rootOrSingletonContext = !1; - var JSCompiler_inline_result$jscomp$1 = !0; - } else JSCompiler_inline_result$jscomp$1 = !1; - JSCompiler_temp$jscomp$0 = !JSCompiler_inline_result$jscomp$1; - } - JSCompiler_temp$jscomp$0 && - (shouldKeepWarning && - warnNonHydratedInstance(workInProgress, nextInstance), - throwOnHydrationMismatch(workInProgress)); - } - pushHostContext(workInProgress); - var type$jscomp$0 = workInProgress.type, - nextProps$jscomp$0 = workInProgress.pendingProps, - prevProps = null !== current ? current.memoizedProps : null, - nextChildren$jscomp$0 = nextProps$jscomp$0.children; - shouldSetTextContent(type$jscomp$0, nextProps$jscomp$0) - ? (nextChildren$jscomp$0 = null) - : null !== prevProps && - shouldSetTextContent(type$jscomp$0, prevProps) && - (workInProgress.flags |= 32); - if (null !== workInProgress.memoizedState) { - var newState = renderWithHooks( + case 27: + return ( + pushHostContext(workInProgress), + null === current && + isHydrating && + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = + resolveSingletonInstance( + workInProgress.type, + workInProgress.pendingProps, + returnFiber, + prevSibling, + !1 + )), + didSuspendOrErrorDEV || + ((prevSibling = diffHydratedProperties( + returnFiber, + workInProgress.type, + workInProgress.pendingProps, + prevSibling + )), + null !== prevSibling && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevSibling)), + (hydrationParentFiber = workInProgress), + (rootOrSingletonContext = !0), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), + reconcileChildren( current, workInProgress, - TransitionAwareHostComponent, - null, - null, + workInProgress.pendingProps.children, renderLanes - ); - HostTransitionContext._currentValue = newState; - } - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$0, - renderLanes + ), + markRef(current, workInProgress), + null === current && (workInProgress.flags |= 4194304), + workInProgress.child + ); + case 5: + return ( + null === current && + isHydrating && + ((prevState = getHostContext()), + (returnFiber = validateDOMNesting( + workInProgress.type, + prevState.ancestorInfo + )), + (prevSibling = nextHydratableInstance), + (nextState = !prevSibling) || + ((nextState = canHydrateInstance( + prevSibling, + workInProgress.type, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== nextState + ? ((workInProgress.stateNode = nextState), + didSuspendOrErrorDEV || + ((prevState = diffHydratedProperties( + nextState, + workInProgress.type, + workInProgress.pendingProps, + prevState + )), + null !== prevState && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevState)), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = getNextHydratable( + nextState.firstChild + )), + (rootOrSingletonContext = !1), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), + nextState && + (returnFiber && + warnNonHydratedInstance(workInProgress, prevSibling), + throwOnHydrationMismatch(workInProgress))), + pushHostContext(workInProgress), + (prevSibling = workInProgress.type), + (prevState = workInProgress.pendingProps), + (nextState = null !== current ? current.memoizedProps : null), + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) + ? (returnFiber = null) + : null !== nextState && + shouldSetTextContent(prevSibling, nextState) && + (workInProgress.flags |= 32), + null !== workInProgress.memoizedState && + ((prevSibling = renderWithHooks( + current, + workInProgress, + TransitionAwareHostComponent, + null, + null, + renderLanes + )), + (HostTransitionContext._currentValue = prevSibling)), + markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 6: - if (null === current && isHydrating) { - var text = workInProgress.pendingProps, - currentHostContext$jscomp$1 = getHostContext(), - ancestor = currentHostContext$jscomp$1.ancestorInfo.current; - var shouldKeepWarning$jscomp$0 = - null != ancestor - ? validateTextNesting( - text, - ancestor.tag, - currentHostContext$jscomp$1.ancestorInfo.implicitRootScope - ) - : !0; - var nextInstance$jscomp$0 = nextHydratableInstance, - JSCompiler_temp$jscomp$1; - if (!(JSCompiler_temp$jscomp$1 = !nextInstance$jscomp$0)) { - var textInstance = canHydrateTextInstance( - nextInstance$jscomp$0, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== textInstance) { - workInProgress.stateNode = textInstance; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - var JSCompiler_inline_result$jscomp$2 = !0; - } else JSCompiler_inline_result$jscomp$2 = !1; - JSCompiler_temp$jscomp$1 = !JSCompiler_inline_result$jscomp$2; - } - JSCompiler_temp$jscomp$1 && - (shouldKeepWarning$jscomp$0 && - warnNonHydratedInstance(workInProgress, nextInstance$jscomp$0), - throwOnHydrationMismatch(workInProgress)); - } - return null; + return ( + null === current && + isHydrating && + ((renderLanes = workInProgress.pendingProps), + (current = getHostContext()), + (returnFiber = current.ancestorInfo.current), + (renderLanes = + null != returnFiber + ? validateTextNesting( + renderLanes, + returnFiber.tag, + current.ancestorInfo.implicitRootScope + ) + : !0), + (current = nextHydratableInstance), + (returnFiber = !current) || + ((returnFiber = canHydrateTextInstance( + current, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== returnFiber + ? ((workInProgress.stateNode = returnFiber), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null), + (returnFiber = !0)) + : (returnFiber = !1), + (returnFiber = !returnFiber)), + returnFiber && + (renderLanes && + warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress))), + null + ); case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: - pushHostContainer( - workInProgress, - workInProgress.stateNode.containerInfo + return ( + pushHostContainer( + workInProgress, + workInProgress.stateNode.containerInfo + ), + (returnFiber = workInProgress.pendingProps), + null === current + ? (workInProgress.child = reconcileChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + )) + : reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - var nextChildren$jscomp$1 = workInProgress.pendingProps; - null === current - ? (workInProgress.child = reconcileChildFibers( - workInProgress, - null, - nextChildren$jscomp$1, - renderLanes - )) - : reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$1, - renderLanes - ); - return workInProgress.child; case 11: return updateForwardRef( current, @@ -12376,15 +12513,17 @@ __DEV__ && renderLanes ); case 7: - var nextChildren$jscomp$2 = workInProgress.pendingProps; - enableFragmentRefs && markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$2, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + enableFragmentRefs && markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 8: return ( reconcileChildren( @@ -12396,55 +12535,66 @@ __DEV__ && workInProgress.child ); case 12: - workInProgress.flags |= 4; - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + (workInProgress.flags |= 4), + (workInProgress.flags |= 2048), + (returnFiber = workInProgress.stateNode), + (returnFiber.effectDuration = -0), + (returnFiber.passiveEffectDuration = -0), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 10: - var context = workInProgress.type, - newProps = workInProgress.pendingProps, - newValue = newProps.value; - "value" in newProps || - hasWarnedAboutUsingNoValuePropOnContextProvider || - ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), - console.error( - "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" - )); - pushProvider(workInProgress, context, newValue); - reconcileChildren( - current, - workInProgress, - newProps.children, - renderLanes + return ( + (returnFiber = workInProgress.type), + (prevSibling = workInProgress.pendingProps), + (prevState = prevSibling.value), + "value" in prevSibling || + hasWarnedAboutUsingNoValuePropOnContextProvider || + ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), + console.error( + "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" + )), + pushProvider(workInProgress, returnFiber, prevState), + reconcileChildren( + current, + workInProgress, + prevSibling.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 9: - var context$jscomp$0 = workInProgress.type._context, - render = workInProgress.pendingProps.children; - "function" !== typeof render && - console.error( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." - ); - prepareToReadContext(workInProgress); - var newValue$jscomp$0 = readContext(context$jscomp$0); - markComponentRenderStarted(workInProgress); - var newChildren = callComponentInDEV( - render, - newValue$jscomp$0, - void 0 + return ( + (prevSibling = workInProgress.type._context), + (returnFiber = workInProgress.pendingProps.children), + "function" !== typeof returnFiber && + console.error( + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + ), + prepareToReadContext(workInProgress), + (prevSibling = readContext(prevSibling)), + markComponentRenderStarted(workInProgress), + (returnFiber = callComponentInDEV( + returnFiber, + prevSibling, + void 0 + )), + markComponentRenderStopped(), + (workInProgress.flags |= 1), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - markComponentRenderStopped(); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, newChildren, renderLanes); - return workInProgress.child; case 14: return updateMemoComponent( current, @@ -12462,47 +12612,50 @@ __DEV__ && renderLanes ); case 17: - var _Component2 = workInProgress.type, - _resolvedProps = resolveClassComponentProps( - _Component2, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - workInProgress.tag = 1; - if (isContextProvider(_Component2)) { - var hasContext = !0; - pushContextProvider(workInProgress); - } else hasContext = !1; - prepareToReadContext(workInProgress); - constructClassInstance(workInProgress, _Component2, _resolvedProps); - mountClassInstance( - workInProgress, - _Component2, - _resolvedProps, - renderLanes - ); - return finishClassComponent( - null, - workInProgress, - _Component2, - !0, - hasContext, - renderLanes + )), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (workInProgress.tag = 1), + isContextProvider(returnFiber) + ? ((current = !0), pushContextProvider(workInProgress)) + : (current = !1), + prepareToReadContext(workInProgress), + constructClassInstance(workInProgress, returnFiber, prevSibling), + mountClassInstance( + workInProgress, + returnFiber, + prevSibling, + renderLanes + ), + finishClassComponent( + null, + workInProgress, + returnFiber, + !0, + current, + renderLanes + ) ); case 28: - var _Component3 = workInProgress.type, - _resolvedProps2 = resolveClassComponentProps( - _Component3, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - workInProgress.tag = 0; - return updateFunctionComponent( - null, - workInProgress, - _Component3, - _resolvedProps2, - renderLanes + )), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (workInProgress.tag = 0), + updateFunctionComponent( + null, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 19: return updateSuspenseListComponent( @@ -12511,170 +12664,7 @@ __DEV__ && renderLanes ); case 31: - var nextProps$jscomp$1 = workInProgress.pendingProps, - didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === nextProps$jscomp$1.mode) - mountActivityChildren(workInProgress, nextProps$jscomp$1); - else { - pushDehydratedActivitySuspenseHandler(workInProgress); - var nextInstance$jscomp$1 = nextHydratableInstance; - if (nextInstance$jscomp$1) { - var hydratableInstance = canHydrateHydrationBoundary( - nextInstance$jscomp$1, - rootOrSingletonContext - ); - var activityInstance = - null !== hydratableInstance && - hydratableInstance.data === ACTIVITY_START_DATA - ? hydratableInstance - : null; - if (null !== activityInstance) { - var activityState = { - dehydrated: activityInstance, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }; - workInProgress.memoizedState = activityState; - var dehydratedFragment = - createFiberFromDehydratedFragment(activityInstance); - dehydratedFragment.return = workInProgress; - workInProgress.child = dehydratedFragment; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - } - var JSCompiler_temp$jscomp$2 = activityInstance; - } else JSCompiler_temp$jscomp$2 = null; - if (null === JSCompiler_temp$jscomp$2) - throw ( - (warnNonHydratedInstance( - workInProgress, - nextInstance$jscomp$1 - ), - throwOnHydrationMismatch(workInProgress)) - ); - } - workInProgress.lanes = 536870912; - var JSCompiler_inline_result$jscomp$3 = null; - } else - JSCompiler_inline_result$jscomp$3 = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - else { - var prevState$jscomp$0 = current.memoizedState; - if (null !== prevState$jscomp$0) { - var activityInstance$jscomp$0 = prevState$jscomp$0.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) - if (workInProgress.flags & 256) { - workInProgress.flags &= -257; - var JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (JSCompiler_inline_result$jscomp$4 = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else { - warnIfHydrating(); - 0 !== (renderLanes & 536870912) && - markRenderDerivedCause(workInProgress); - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ); - var hasContextChanged = - 0 !== (renderLanes & current.childLanes); - if (didReceiveUpdate || hasContextChanged) { - var root = workInProgressRoot; - if (null !== root) { - var attemptHydrationAtLane = getBumpedLaneForHydration( - root, - renderLanes - ); - if ( - 0 !== attemptHydrationAtLane && - attemptHydrationAtLane !== prevState$jscomp$0.retryLane - ) - throw ( - ((prevState$jscomp$0.retryLane = - attemptHydrationAtLane), - enqueueConcurrentRenderForLane( - current, - attemptHydrationAtLane - ), - scheduleUpdateOnFiber( - root, - current, - attemptHydrationAtLane - ), - SelectiveHydrationException) - ); - } - renderDidSuspendDelayIfPossible(); - JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else { - var treeContext = prevState$jscomp$0.treeContext; - nextHydratableInstance = getNextHydratable( - activityInstance$jscomp$0.nextSibling - ); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !1; - null !== treeContext && - restoreSuspendedTreeContext(workInProgress, treeContext); - var primaryChildFragment = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - primaryChildFragment.flags |= 4096; - JSCompiler_inline_result$jscomp$4 = primaryChildFragment; - } - } - JSCompiler_inline_result$jscomp$3 = - JSCompiler_inline_result$jscomp$4; - } else { - var currentChild = current.child, - offscreenChildProps = { - mode: nextProps$jscomp$1.mode, - children: nextProps$jscomp$1.children - }; - 0 !== (renderLanes & 536870912) && - 0 !== (renderLanes & current.lanes) && - markRenderDerivedCause(workInProgress); - var primaryChildFragment$jscomp$0 = createWorkInProgress( - currentChild, - offscreenChildProps - ); - primaryChildFragment$jscomp$0.ref = workInProgress.ref; - workInProgress.child = primaryChildFragment$jscomp$0; - primaryChildFragment$jscomp$0.return = workInProgress; - JSCompiler_inline_result$jscomp$3 = primaryChildFragment$jscomp$0; - } - } - return JSCompiler_inline_result$jscomp$3; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12683,60 +12673,59 @@ __DEV__ && workInProgress.pendingProps ); case 24: - prepareToReadContext(workInProgress); - var parentCache = readContext(CacheContext); - if (null === current) { - var cacheFromPool = peekCacheFromPool(); - if (null !== cacheFromPool) var freshCache = cacheFromPool; - else { - var root$jscomp$0 = workInProgressRoot, - freshCache$jscomp$0 = createCache(); - root$jscomp$0.pooledCache = freshCache$jscomp$0; - retainCache(freshCache$jscomp$0); - null !== freshCache$jscomp$0 && - (root$jscomp$0.pooledCacheLanes |= renderLanes); - freshCache = freshCache$jscomp$0; - } - workInProgress.memoizedState = { - parent: parentCache, - cache: freshCache - }; - initializeUpdateQueue(workInProgress); - pushProvider(workInProgress, CacheContext, freshCache); - } else { - 0 !== (current.lanes & renderLanes) && - (cloneUpdateQueue(current, workInProgress), - processUpdateQueue(workInProgress, null, null, renderLanes), - suspendIfUpdateReadFromEntangledAsyncAction()); - var prevState$jscomp$1 = current.memoizedState, - nextState$jscomp$0 = workInProgress.memoizedState; - if (prevState$jscomp$1.parent !== parentCache) { - var derivedState = { parent: parentCache, cache: parentCache }; - workInProgress.memoizedState = derivedState; - 0 === workInProgress.lanes && - (workInProgress.memoizedState = - workInProgress.updateQueue.baseState = - derivedState); - pushProvider(workInProgress, CacheContext, parentCache); - } else { - var nextCache$jscomp$0 = nextState$jscomp$0.cache; - pushProvider(workInProgress, CacheContext, nextCache$jscomp$0); - nextCache$jscomp$0 !== prevState$jscomp$1.cache && - propagateContextChanges( - workInProgress, - [CacheContext], - renderLanes, - !0 - ); - } - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + prepareToReadContext(workInProgress), + (returnFiber = readContext(CacheContext)), + null === current + ? ((prevSibling = peekCacheFromPool()), + null === prevSibling && + ((prevSibling = workInProgressRoot), + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && + (prevSibling.pooledCacheLanes |= renderLanes), + (prevSibling = prevState)), + (workInProgress.memoizedState = { + parent: returnFiber, + cache: prevSibling + }), + initializeUpdateQueue(workInProgress), + pushProvider(workInProgress, CacheContext, prevSibling)) + : (0 !== (current.lanes & renderLanes) && + (cloneUpdateQueue(current, workInProgress), + processUpdateQueue(workInProgress, null, null, renderLanes), + suspendIfUpdateReadFromEntangledAsyncAction()), + (prevSibling = current.memoizedState), + (prevState = workInProgress.memoizedState), + prevSibling.parent !== returnFiber + ? ((prevSibling = { + parent: returnFiber, + cache: returnFiber + }), + (workInProgress.memoizedState = prevSibling), + 0 === workInProgress.lanes && + (workInProgress.memoizedState = + workInProgress.updateQueue.baseState = + prevSibling), + pushProvider(workInProgress, CacheContext, returnFiber)) + : ((returnFiber = prevState.cache), + pushProvider(workInProgress, CacheContext, returnFiber), + returnFiber !== prevSibling.cache && + propagateContextChanges( + workInProgress, + [CacheContext], + renderLanes, + !0 + ))), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 29: throw workInProgress.pendingProps; } @@ -29322,11 +29311,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-ac7820a9-20250811" !== 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.2.0-native-fb-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29363,10 +29352,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29505,5 +29494,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; + exports.version = "19.2.0-native-fb-ac7820a9-20250811"; })(); 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 9f04d66a0d..84682acae7 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<57d44d813953c8a5f06c945e90156b19>> */ /* @@ -6576,6 +6576,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6633,6 +6641,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6677,6 +6696,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7088,43 +7211,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7183,7 +7304,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7281,31 +7402,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7365,12 +7486,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8127,114 +8242,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((elementType = current.memoizedState), null !== elementType)) - if ( - ((prevState = elementType.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== elementType.retryLane) - ) - throw ( - ((elementType.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = elementType.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12999,20 +13007,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1626 = 0; - i$jscomp$inline_1626 < simpleEventPluginEvents.length; - i$jscomp$inline_1626++ + var i$jscomp$inline_1624 = 0; + i$jscomp$inline_1624 < simpleEventPluginEvents.length; + i$jscomp$inline_1624++ ) { - var eventName$jscomp$inline_1627 = - simpleEventPluginEvents[i$jscomp$inline_1626], - domEventName$jscomp$inline_1628 = - eventName$jscomp$inline_1627.toLowerCase(), - capitalizedEvent$jscomp$inline_1629 = - eventName$jscomp$inline_1627[0].toUpperCase() + - eventName$jscomp$inline_1627.slice(1); + var eventName$jscomp$inline_1625 = + simpleEventPluginEvents[i$jscomp$inline_1624], + domEventName$jscomp$inline_1626 = + eventName$jscomp$inline_1625.toLowerCase(), + capitalizedEvent$jscomp$inline_1627 = + eventName$jscomp$inline_1625[0].toUpperCase() + + eventName$jscomp$inline_1625.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1628, - "on" + capitalizedEvent$jscomp$inline_1629 + domEventName$jscomp$inline_1626, + "on" + capitalizedEvent$jscomp$inline_1627 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17126,16 +17134,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2002 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2000 = React.version; if ( - "19.2.0-native-fb-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2002 + "19.2.0-native-fb-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2000 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2002, - "19.2.0-native-fb-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2000, + "19.2.0-native-fb-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17155,24 +17163,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2521 = { +var internals$jscomp$inline_2529 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2522 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2530 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2522.isDisabled && - hook$jscomp$inline_2522.supportsFiber + !hook$jscomp$inline_2530.isDisabled && + hook$jscomp$inline_2530.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2522.inject( - internals$jscomp$inline_2521 + (rendererID = hook$jscomp$inline_2530.inject( + internals$jscomp$inline_2529 )), - (injectedHook = hook$jscomp$inline_2522); + (injectedHook = hook$jscomp$inline_2530); } catch (err) {} } exports.createRoot = function (container, options) { @@ -17258,4 +17266,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 51e6cad001..0938f7657b 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<<19169073fafe2bc11c73741479b7b621>> + * @generated SignedSource<> */ /* @@ -7050,6 +7050,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -7107,6 +7115,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -7151,6 +7170,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7573,43 +7696,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7668,7 +7789,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7773,31 +7894,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7862,12 +7983,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8640,114 +8755,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((elementType = current.memoizedState), null !== elementType)) - if ( - ((prevState = elementType.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== elementType.retryLane) - ) - throw ( - ((elementType.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = elementType.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -14993,20 +15001,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1875 = 0; - i$jscomp$inline_1875 < simpleEventPluginEvents.length; - i$jscomp$inline_1875++ + var i$jscomp$inline_1873 = 0; + i$jscomp$inline_1873 < simpleEventPluginEvents.length; + i$jscomp$inline_1873++ ) { - var eventName$jscomp$inline_1876 = - simpleEventPluginEvents[i$jscomp$inline_1875], - domEventName$jscomp$inline_1877 = - eventName$jscomp$inline_1876.toLowerCase(), - capitalizedEvent$jscomp$inline_1878 = - eventName$jscomp$inline_1876[0].toUpperCase() + - eventName$jscomp$inline_1876.slice(1); + var eventName$jscomp$inline_1874 = + simpleEventPluginEvents[i$jscomp$inline_1873], + domEventName$jscomp$inline_1875 = + eventName$jscomp$inline_1874.toLowerCase(), + capitalizedEvent$jscomp$inline_1876 = + eventName$jscomp$inline_1874[0].toUpperCase() + + eventName$jscomp$inline_1874.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1877, - "on" + capitalizedEvent$jscomp$inline_1878 + domEventName$jscomp$inline_1875, + "on" + capitalizedEvent$jscomp$inline_1876 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19138,16 +19146,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2253 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2251 = React.version; if ( - "19.2.0-native-fb-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2253 + "19.2.0-native-fb-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2251 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2253, - "19.2.0-native-fb-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2251, + "19.2.0-native-fb-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19167,12 +19175,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2260 = { +var internals$jscomp$inline_2258 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$321 = 0; @@ -19190,16 +19198,16 @@ var internals$jscomp$inline_2260 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2773 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2781 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2773.isDisabled && - hook$jscomp$inline_2773.supportsFiber + !hook$jscomp$inline_2781.isDisabled && + hook$jscomp$inline_2781.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2773.inject( - internals$jscomp$inline_2260 + (rendererID = hook$jscomp$inline_2781.inject( + internals$jscomp$inline_2258 )), - (injectedHook = hook$jscomp$inline_2773); + (injectedHook = hook$jscomp$inline_2781); } catch (err) {} } exports.createRoot = function (container, options) { @@ -19286,4 +19294,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 90cb5a5d87..b8179c5c4a 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<> + * @generated SignedSource<<22c25b1e8b107655c12c82c511c514ec>> */ /* @@ -10384,6 +10384,14 @@ __DEV__ && ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -10445,6 +10453,17 @@ __DEV__ && reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -10506,6 +10525,135 @@ __DEV__ && workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes && + ((nextProps = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }), + (workInProgress.memoizedState = nextProps), + (nextProps = createFiberFromDehydratedFragment(renderLanes)), + (nextProps.return = workInProgress), + (workInProgress.child = nextProps), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (renderLanes = null); + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var activityInstance = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + 0 !== (renderLanes & 536870912) && + markRenderDerivedCause(workInProgress), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && activityInstance !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + prevState = current.child; + nextProps = { mode: nextProps.mode, children: nextProps.children }; + 0 !== (renderLanes & 536870912) && + 0 !== (renderLanes & current.lanes) && + markRenderDerivedCause(workInProgress); + current = createWorkInProgress(prevState, nextProps); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -10983,24 +11131,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2846; - var JSCompiler_object_inline_stack_2847 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2825; + var JSCompiler_object_inline_stack_2826 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2845 = !1; + var JSCompiler_object_inline_message_2824 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2846 = didSuspend) || - (JSCompiler_object_inline_digest_2846 = + (JSCompiler_object_inline_digest_2825 = didSuspend) || + (JSCompiler_object_inline_digest_2825 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2846 && - ((JSCompiler_object_inline_message_2845 = !0), + JSCompiler_object_inline_digest_2825 && + ((JSCompiler_object_inline_message_2824 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2846 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2825 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2845 + JSCompiler_object_inline_message_2824 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (renderLanes = nextHydratableInstance) @@ -11013,18 +11161,18 @@ __DEV__ && ? current : null), null !== current && - ((JSCompiler_object_inline_digest_2846 = { + ((JSCompiler_object_inline_digest_2825 = { dehydrated: current, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2846), - (JSCompiler_object_inline_digest_2846 = + JSCompiler_object_inline_digest_2825), + (JSCompiler_object_inline_digest_2825 = createFiberFromDehydratedFragment(current)), - (JSCompiler_object_inline_digest_2846.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2846), + (JSCompiler_object_inline_digest_2825.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2825), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); @@ -11038,53 +11186,53 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2847.children, - nextFallbackChildren = JSCompiler_object_inline_stack_2847.fallback; - if (JSCompiler_object_inline_message_2845) + var nextPrimaryChildren = JSCompiler_object_inline_stack_2826.children, + nextFallbackChildren = JSCompiler_object_inline_stack_2826.fallback; + if (JSCompiler_object_inline_message_2824) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2847 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_2826 = workInProgress.child), + (JSCompiler_object_inline_stack_2826.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_2826.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2825, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2846, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2847 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2826) ); if ( "number" === - typeof JSCompiler_object_inline_stack_2847.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2826.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2847 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_2826 = workInProgress.child), + (JSCompiler_object_inline_stack_2826.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_2826.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2825, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2846, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2847 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2826) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11094,8 +11242,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2848 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2848) { + var JSCompiler_object_inline_componentStack_2827 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2827) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11112,13 +11260,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2847.fallback), + JSCompiler_object_inline_stack_2826.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_2847 = + (JSCompiler_object_inline_stack_2826 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2847.children + children: JSCompiler_object_inline_stack_2826.children }, nextFallbackChildren )), @@ -11129,11 +11277,11 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2847.return = workInProgress), + (JSCompiler_object_inline_stack_2826.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2847.sibling = + (JSCompiler_object_inline_stack_2826.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2847), + (workInProgress.child = JSCompiler_object_inline_stack_2826), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -11141,62 +11289,65 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2847 = workInProgress.child), - (JSCompiler_object_inline_stack_2847.memoizedState = + (JSCompiler_object_inline_stack_2826 = workInProgress.child), + (JSCompiler_object_inline_stack_2826.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2847.childLanes = + (JSCompiler_object_inline_stack_2826.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2846, + JSCompiler_object_inline_digest_2825, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2826 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2848 + JSCompiler_object_inline_componentStack_2827 )) ) { - JSCompiler_object_inline_digest_2846 = - JSCompiler_object_inline_componentStack_2848.nextSibling && - JSCompiler_object_inline_componentStack_2848.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2846) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2846.dgst; - var message = JSCompiler_object_inline_digest_2846.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_2846.stck; - var componentStack = JSCompiler_object_inline_digest_2846.cstck; + JSCompiler_object_inline_digest_2825 = + JSCompiler_object_inline_componentStack_2827.nextSibling && + JSCompiler_object_inline_componentStack_2827.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2825) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2825.dgst; + var message = JSCompiler_object_inline_digest_2825.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_2825.stck; + var componentStack = JSCompiler_object_inline_digest_2825.cstck; } - JSCompiler_object_inline_message_2845 = message; - JSCompiler_object_inline_digest_2846 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2847 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_2848 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2845; - nextFallbackChildren = JSCompiler_object_inline_componentStack_2848; + JSCompiler_object_inline_message_2824 = message; + JSCompiler_object_inline_digest_2825 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2826 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_2827 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2824; + nextFallbackChildren = JSCompiler_object_inline_componentStack_2827; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_2847 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2846; - JSCompiler_object_inline_digest_2846 = + JSCompiler_object_inline_stack_2826 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2825; + JSCompiler_object_inline_digest_2825 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_2847 = { + JSCompiler_object_inline_stack_2826 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2846 + stack: JSCompiler_object_inline_digest_2825 }; - "string" === typeof JSCompiler_object_inline_digest_2846 && + "string" === typeof JSCompiler_object_inline_digest_2825 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2847 + JSCompiler_object_inline_stack_2826 ); - queueHydrationError(JSCompiler_object_inline_stack_2847); + queueHydrationError(JSCompiler_object_inline_stack_2826); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11210,35 +11361,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2846 = + (JSCompiler_object_inline_digest_2825 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2846) + didReceiveUpdate || JSCompiler_object_inline_digest_2825) ) { - JSCompiler_object_inline_digest_2846 = workInProgressRoot; + JSCompiler_object_inline_digest_2825 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2846 && - ((JSCompiler_object_inline_stack_2847 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2846, + null !== JSCompiler_object_inline_digest_2825 && + ((JSCompiler_object_inline_stack_2826 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2825, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2847 && - JSCompiler_object_inline_stack_2847 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2826 && + JSCompiler_object_inline_stack_2826 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2847), + ((prevState.retryLane = JSCompiler_object_inline_stack_2826), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2847 + JSCompiler_object_inline_stack_2826 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2846, + JSCompiler_object_inline_digest_2825, current, - JSCompiler_object_inline_stack_2847 + JSCompiler_object_inline_stack_2826 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2848 + JSCompiler_object_inline_componentStack_2827 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11247,14 +11398,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2848 + JSCompiler_object_inline_componentStack_2827 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2848.nextSibling + JSCompiler_object_inline_componentStack_2827.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11266,47 +11417,47 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, renderLanes), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2847.children + JSCompiler_object_inline_stack_2826.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2845) + if (JSCompiler_object_inline_message_2824) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2847.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2826.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2848 = + (JSCompiler_object_inline_componentStack_2827 = componentStack.sibling), - (JSCompiler_object_inline_message_2845 = { + (JSCompiler_object_inline_message_2824 = { mode: "hidden", - children: JSCompiler_object_inline_stack_2847.children + children: JSCompiler_object_inline_stack_2826.children }), (nextFallbackChildren & ConcurrentMode) === NoMode && workInProgress.child !== componentStack - ? ((JSCompiler_object_inline_stack_2847 = workInProgress.child), - (JSCompiler_object_inline_stack_2847.childLanes = 0), - (JSCompiler_object_inline_stack_2847.pendingProps = - JSCompiler_object_inline_message_2845), + ? ((JSCompiler_object_inline_stack_2826 = workInProgress.child), + (JSCompiler_object_inline_stack_2826.childLanes = 0), + (JSCompiler_object_inline_stack_2826.pendingProps = + JSCompiler_object_inline_message_2824), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2847.actualDuration = -0), - (JSCompiler_object_inline_stack_2847.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2847.selfBaseDuration = + ((JSCompiler_object_inline_stack_2826.actualDuration = -0), + (JSCompiler_object_inline_stack_2826.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2826.selfBaseDuration = componentStack.selfBaseDuration), - (JSCompiler_object_inline_stack_2847.treeBaseDuration = + (JSCompiler_object_inline_stack_2826.treeBaseDuration = componentStack.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2847 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2826 = createWorkInProgress( componentStack, - JSCompiler_object_inline_message_2845 + JSCompiler_object_inline_message_2824 )), - (JSCompiler_object_inline_stack_2847.subtreeFlags = + (JSCompiler_object_inline_stack_2826.subtreeFlags = componentStack.subtreeFlags & 65011712)), - null !== JSCompiler_object_inline_componentStack_2848 + null !== JSCompiler_object_inline_componentStack_2827 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2848, + JSCompiler_object_inline_componentStack_2827, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11317,67 +11468,67 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2847.return = workInProgress), - (JSCompiler_object_inline_stack_2847.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2847), - (JSCompiler_object_inline_stack_2847 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextFallbackChildren = current.child.memoizedState), - null === nextFallbackChildren - ? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = nextFallbackChildren.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_componentStack_2848 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_componentStack_2848 - ? { - parent: JSCompiler_object_inline_componentStack_2848, - pool: JSCompiler_object_inline_componentStack_2848 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (nextFallbackChildren = { - baseLanes: nextFallbackChildren.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_2826.return = workInProgress), + (JSCompiler_object_inline_stack_2826.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2826), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2826), + (JSCompiler_object_inline_stack_2826 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((nextFallbackChildren = nextPrimaryChildren.cachePool), + null !== nextFallbackChildren + ? ((componentStack = CacheContext._currentValue), + (nextFallbackChildren = + nextFallbackChildren.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : nextFallbackChildren)) + : (nextFallbackChildren = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: nextFallbackChildren })), - (nextPrimaryChildren.memoizedState = nextFallbackChildren), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2846, - renderLanes - )), + (JSCompiler_object_inline_stack_2826.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_2826.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2825, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2847 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_2826 + ) ); null !== prevState && (renderLanes & 62914560) === renderLanes && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2846 = current.child; - current = JSCompiler_object_inline_digest_2846.sibling; - JSCompiler_object_inline_digest_2846 = createWorkInProgress( - JSCompiler_object_inline_digest_2846, + JSCompiler_object_inline_digest_2825 = current.child; + current = JSCompiler_object_inline_digest_2825.sibling; + JSCompiler_object_inline_digest_2825 = createWorkInProgress( + JSCompiler_object_inline_digest_2825, { mode: "visible", - children: JSCompiler_object_inline_stack_2847.children + children: JSCompiler_object_inline_stack_2826.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2846.lanes = renderLanes); - JSCompiler_object_inline_digest_2846.return = workInProgress; - JSCompiler_object_inline_digest_2846.sibling = null; + (JSCompiler_object_inline_digest_2825.lanes = renderLanes); + JSCompiler_object_inline_digest_2825.return = workInProgress; + JSCompiler_object_inline_digest_2825.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2846; + workInProgress.child = JSCompiler_object_inline_digest_2825; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2846; + return JSCompiler_object_inline_digest_2825; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( @@ -11423,12 +11574,6 @@ __DEV__ && function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11882,7 +12027,7 @@ __DEV__ && } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { - var copiedFiber = createFiberFromTypeAndProps( + renderLanes = createFiberFromTypeAndProps( workInProgress.type, workInProgress.key, workInProgress.pendingProps, @@ -11890,19 +12035,19 @@ __DEV__ && workInProgress.mode, workInProgress.lanes ); - copiedFiber._debugStack = workInProgress._debugStack; - copiedFiber._debugTask = workInProgress._debugTask; + renderLanes._debugStack = workInProgress._debugStack; + renderLanes._debugTask = workInProgress._debugTask; var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; - copiedFiber.index = workInProgress.index; - copiedFiber.sibling = workInProgress.sibling; - copiedFiber.return = workInProgress.return; - copiedFiber.ref = workInProgress.ref; - copiedFiber._debugInfo = workInProgress._debugInfo; + renderLanes.index = workInProgress.index; + renderLanes.sibling = workInProgress.sibling; + renderLanes.return = workInProgress.return; + renderLanes.ref = workInProgress.ref; + renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) - returnFiber.child = copiedFiber; + returnFiber.child = renderLanes; else { var prevSibling = returnFiber.child; if (null === prevSibling) @@ -11910,14 +12055,14 @@ __DEV__ && for (; prevSibling.sibling !== workInProgress; ) if (((prevSibling = prevSibling.sibling), null === prevSibling)) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = copiedFiber; + prevSibling.sibling = renderLanes; } - var deletions = returnFiber.deletions; - null === deletions + workInProgress = returnFiber.deletions; + null === workInProgress ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16)) - : deletions.push(current); - copiedFiber.flags |= 2; - return copiedFiber; + : workInProgress.push(current); + renderLanes.flags |= 2; + return renderLanes; } if (null !== current) if ( @@ -11943,97 +12088,94 @@ __DEV__ && } else { didReceiveUpdate = !1; - var JSCompiler_temp; - if ((JSCompiler_temp = isHydrating)) + if ((returnFiber = isHydrating)) warnIfNotHydrating(), - (JSCompiler_temp = 0 !== (workInProgress.flags & 1048576)); - if (JSCompiler_temp) { - var slotIndex = workInProgress.index; - warnIfNotHydrating(); - pushTreeId(workInProgress, treeForkCount, slotIndex); - } + (returnFiber = 0 !== (workInProgress.flags & 1048576)); + returnFiber && + ((returnFiber = workInProgress.index), + warnIfNotHydrating(), + pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: - a: { - var elementType = workInProgress.elementType; - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - var props = workInProgress.pendingProps, - Component = resolveLazy(elementType); - workInProgress.type = Component; - if ("function" === typeof Component) - if (shouldConstruct(Component)) { - var resolvedProps = resolveClassComponentProps( - Component, - props - ); - workInProgress.tag = 1; - workInProgress.type = Component = - resolveFunctionForHotReloading(Component); - var JSCompiler_inline_result = updateClassComponent( + a: if ( + ((prevSibling = workInProgress.elementType), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (returnFiber = workInProgress.pendingProps), + (current = resolveLazy(prevSibling)), + (workInProgress.type = current), + "function" === typeof current) + ) + shouldConstruct(current) + ? ((returnFiber = resolveClassComponentProps( + current, + returnFiber + )), + (workInProgress.tag = 1), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateClassComponent( null, workInProgress, - Component, - resolvedProps, + current, + returnFiber, + renderLanes + ))) + : ((workInProgress.tag = 0), + validateFunctionComponentInDev(workInProgress, current), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateFunctionComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))); + else { + if (void 0 !== current && null !== current) + if ( + ((prevSibling = current.$$typeof), + prevSibling === REACT_FORWARD_REF_TYPE) + ) { + workInProgress.tag = 11; + workInProgress.type = current = + resolveForwardRefForHotReloading(current); + workInProgress = updateForwardRef( + null, + workInProgress, + current, + returnFiber, renderLanes ); - } else - (workInProgress.tag = 0), - validateFunctionComponentInDev(workInProgress, Component), - (workInProgress.type = Component = - resolveFunctionForHotReloading(Component)), - (JSCompiler_inline_result = updateFunctionComponent( - null, - workInProgress, - Component, - props, - renderLanes - )); - else { - if (void 0 !== Component && null !== Component) { - var $$typeof = Component.$$typeof; - if ($$typeof === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = Component = - resolveForwardRefForHotReloading(Component); - JSCompiler_inline_result = updateForwardRef( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } else if ($$typeof === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - JSCompiler_inline_result = updateMemoComponent( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } + break a; + } else if (prevSibling === REACT_MEMO_TYPE) { + workInProgress.tag = 14; + workInProgress = updateMemoComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ); + break a; } - var hint = ""; - null !== Component && - "object" === typeof Component && - Component.$$typeof === REACT_LAZY_TYPE && - (hint = - " Did you wrap a component in React.lazy() more than once?"); - var loggedComponent = - getComponentNameFromType(Component) || Component; - throw Error( - "Element type is invalid. Received a promise that resolves to: " + - loggedComponent + - ". Lazy element type must resolve to a class or function." + - hint - ); - } + workInProgress = ""; + null !== current && + "object" === typeof current && + current.$$typeof === REACT_LAZY_TYPE && + (workInProgress = + " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; + throw Error( + "Element type is invalid. Received a promise that resolves to: " + + renderLanes + + ". Lazy element type must resolve to a class or function." + + workInProgress + ); } - return JSCompiler_inline_result; + return workInProgress; case 0: return updateFunctionComponent( current, @@ -12043,17 +12185,19 @@ __DEV__ && renderLanes ); case 1: - var _Component = workInProgress.type, - resolvedProps$jscomp$0 = resolveClassComponentProps( - _Component, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - return updateClassComponent( - current, - workInProgress, - _Component, - resolvedProps$jscomp$0, - renderLanes + )), + updateClassComponent( + current, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 3: a: { @@ -12062,15 +12206,15 @@ __DEV__ && throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps, - prevState = workInProgress.memoizedState, - prevChildren = prevState.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); - var nextState = workInProgress.memoizedState, - nextCache = nextState.cache; - pushProvider(workInProgress, CacheContext, nextCache); - nextCache !== prevState.cache && + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); + var nextState = workInProgress.memoizedState; + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -12078,303 +12222,296 @@ __DEV__ && !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - var nextChildren = nextState.element; - if (prevState.isDehydrated) { - var overrideState = { - element: nextChildren, - isDehydrated: !1, - cache: nextState.cache - }; - workInProgress.updateQueue.baseState = overrideState; - workInProgress.memoizedState = overrideState; - if (workInProgress.flags & 256) { - var JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + returnFiber = nextState.element; + if (prevState.isDehydrated) + if ( + ((prevState = { + element: returnFiber, + isDehydrated: !1, + cache: nextState.cache + }), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), + workInProgress.flags & 256) + ) { + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; - } else if (nextChildren !== prevChildren) { - var recoverableError = 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(recoverableError); - JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + queueHydrationError(prevSibling); + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; } else { - var parentContainer = workInProgress.stateNode.containerInfo; - switch (parentContainer.nodeType) { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { case 9: - var parentElement = parentContainer.body; + current = current.body; break; default: - parentElement = - "HTML" === parentContainer.nodeName - ? parentContainer.ownerDocument.body - : parentContainer; + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; } - nextHydratableInstance = getNextHydratable( - parentElement.firstChild - ); + nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; didSuspendOrErrorDEV = !1; hydrationDiffRootDEV = null; rootOrSingletonContext = !0; - for ( - var child = mountChildFibers( - workInProgress, - null, - nextChildren, - renderLanes - ), - node = (workInProgress.child = child); - node; - - ) - (node.flags = (node.flags & -3) | 4096), - (node = node.sibling); + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) + (renderLanes.flags = (renderLanes.flags & -3) | 4096), + (renderLanes = renderLanes.sibling); } - } else { + else { resetHydrationState(); - if (nextChildren === prevChildren) { - JSCompiler_inline_result$jscomp$0 = - bailoutOnAlreadyFinishedWork( - current, - workInProgress, - renderLanes - ); + if (returnFiber === prevSibling) { + workInProgress = bailoutOnAlreadyFinishedWork( + current, + workInProgress, + renderLanes + ); break a; } reconcileChildren( current, workInProgress, - nextChildren, + returnFiber, renderLanes ); } - JSCompiler_inline_result$jscomp$0 = workInProgress.child; + workInProgress = workInProgress.child; } - return JSCompiler_inline_result$jscomp$0; + return workInProgress; case 26: - markRef(current, workInProgress); - if (null === current) { - var resource = getResource( - workInProgress.type, - null, - workInProgress.pendingProps, - null - ); - if (resource) workInProgress.memoizedState = resource; - else if (!isHydrating) { - var type = workInProgress.type, - props$jscomp$0 = workInProgress.pendingProps, - rootContainerInstance = requiredContext( - rootInstanceStackCursor.current - ), - domElement = getOwnerDocumentFromRootContainer( - rootContainerInstance - ).createElement(type); - domElement[internalInstanceKey] = workInProgress; - domElement[internalPropsKey] = props$jscomp$0; - setInitialProperties(domElement, type, props$jscomp$0); - markNodeAsHoistable(domElement); - workInProgress.stateNode = domElement; - } - } else - workInProgress.memoizedState = getResource( - workInProgress.type, - current.memoizedProps, - workInProgress.pendingProps, - current.memoizedState - ); - return null; - case 27: - pushHostContext(workInProgress); - if (null === current && isHydrating) { - var currentRootContainer = requiredContext( - rootInstanceStackCursor.current - ), - currentHostContext = getHostContext(), - instance = (workInProgress.stateNode = resolveSingletonInstance( - workInProgress.type, - workInProgress.pendingProps, - currentRootContainer, - currentHostContext, - !1 - )); - if (!didSuspendOrErrorDEV) { - var differences = diffHydratedProperties( - instance, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext - ); - null !== differences && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences); - } - hydrationParentFiber = workInProgress; - rootOrSingletonContext = !0; - var currentHydratableInstance = nextHydratableInstance; - isSingletonScope(workInProgress.type) - ? ((previousHydratableOnEnteringScopedSingleton = - currentHydratableInstance), - (nextHydratableInstance = getNextHydratable( - instance.firstChild - ))) - : (nextHydratableInstance = currentHydratableInstance); - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + markRef(current, workInProgress), + null === current + ? (renderLanes = getResource( + workInProgress.type, + null, + workInProgress.pendingProps, + null + )) + ? (workInProgress.memoizedState = renderLanes) + : isHydrating || + ((renderLanes = workInProgress.type), + (current = workInProgress.pendingProps), + (returnFiber = requiredContext( + rootInstanceStackCursor.current + )), + (returnFiber = + getOwnerDocumentFromRootContainer( + returnFiber + ).createElement(renderLanes)), + (returnFiber[internalInstanceKey] = workInProgress), + (returnFiber[internalPropsKey] = current), + setInitialProperties(returnFiber, renderLanes, current), + markNodeAsHoistable(returnFiber), + (workInProgress.stateNode = returnFiber)) + : (workInProgress.memoizedState = getResource( + workInProgress.type, + current.memoizedProps, + workInProgress.pendingProps, + current.memoizedState + )), + null ); - markRef(current, workInProgress); - null === current && (workInProgress.flags |= 4194304); - return workInProgress.child; - case 5: - if (null === current && isHydrating) { - var currentHostContext$jscomp$0 = getHostContext(), - shouldKeepWarning = validateDOMNesting( - workInProgress.type, - currentHostContext$jscomp$0.ancestorInfo - ), - nextInstance = nextHydratableInstance, - JSCompiler_temp$jscomp$0; - if (!(JSCompiler_temp$jscomp$0 = !nextInstance)) { - var instance$jscomp$0 = canHydrateInstance( - nextInstance, - workInProgress.type, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== instance$jscomp$0) { - workInProgress.stateNode = instance$jscomp$0; - if (!didSuspendOrErrorDEV) { - var differences$jscomp$0 = diffHydratedProperties( - instance$jscomp$0, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext$jscomp$0 - ); - null !== differences$jscomp$0 && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences$jscomp$0); - } - hydrationParentFiber = workInProgress; - nextHydratableInstance = getNextHydratable( - instance$jscomp$0.firstChild - ); - rootOrSingletonContext = !1; - var JSCompiler_inline_result$jscomp$1 = !0; - } else JSCompiler_inline_result$jscomp$1 = !1; - JSCompiler_temp$jscomp$0 = !JSCompiler_inline_result$jscomp$1; - } - JSCompiler_temp$jscomp$0 && - (shouldKeepWarning && - warnNonHydratedInstance(workInProgress, nextInstance), - throwOnHydrationMismatch(workInProgress)); - } - pushHostContext(workInProgress); - var type$jscomp$0 = workInProgress.type, - nextProps$jscomp$0 = workInProgress.pendingProps, - prevProps = null !== current ? current.memoizedProps : null, - nextChildren$jscomp$0 = nextProps$jscomp$0.children; - shouldSetTextContent(type$jscomp$0, nextProps$jscomp$0) - ? (nextChildren$jscomp$0 = null) - : null !== prevProps && - shouldSetTextContent(type$jscomp$0, prevProps) && - (workInProgress.flags |= 32); - if (null !== workInProgress.memoizedState) { - var newState = renderWithHooks( + case 27: + return ( + pushHostContext(workInProgress), + null === current && + isHydrating && + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = + resolveSingletonInstance( + workInProgress.type, + workInProgress.pendingProps, + returnFiber, + prevSibling, + !1 + )), + didSuspendOrErrorDEV || + ((prevSibling = diffHydratedProperties( + returnFiber, + workInProgress.type, + workInProgress.pendingProps, + prevSibling + )), + null !== prevSibling && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevSibling)), + (hydrationParentFiber = workInProgress), + (rootOrSingletonContext = !0), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), + reconcileChildren( current, workInProgress, - TransitionAwareHostComponent, - null, - null, + workInProgress.pendingProps.children, renderLanes - ); - HostTransitionContext._currentValue = newState; - } - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$0, - renderLanes + ), + markRef(current, workInProgress), + null === current && (workInProgress.flags |= 4194304), + workInProgress.child + ); + case 5: + return ( + null === current && + isHydrating && + ((prevState = getHostContext()), + (returnFiber = validateDOMNesting( + workInProgress.type, + prevState.ancestorInfo + )), + (prevSibling = nextHydratableInstance), + (nextState = !prevSibling) || + ((nextState = canHydrateInstance( + prevSibling, + workInProgress.type, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== nextState + ? ((workInProgress.stateNode = nextState), + didSuspendOrErrorDEV || + ((prevState = diffHydratedProperties( + nextState, + workInProgress.type, + workInProgress.pendingProps, + prevState + )), + null !== prevState && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevState)), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = getNextHydratable( + nextState.firstChild + )), + (rootOrSingletonContext = !1), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), + nextState && + (returnFiber && + warnNonHydratedInstance(workInProgress, prevSibling), + throwOnHydrationMismatch(workInProgress))), + pushHostContext(workInProgress), + (prevSibling = workInProgress.type), + (prevState = workInProgress.pendingProps), + (nextState = null !== current ? current.memoizedProps : null), + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) + ? (returnFiber = null) + : null !== nextState && + shouldSetTextContent(prevSibling, nextState) && + (workInProgress.flags |= 32), + null !== workInProgress.memoizedState && + ((prevSibling = renderWithHooks( + current, + workInProgress, + TransitionAwareHostComponent, + null, + null, + renderLanes + )), + (HostTransitionContext._currentValue = prevSibling)), + markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 6: - if (null === current && isHydrating) { - var text = workInProgress.pendingProps, - currentHostContext$jscomp$1 = getHostContext(), - ancestor = currentHostContext$jscomp$1.ancestorInfo.current; - var shouldKeepWarning$jscomp$0 = - null != ancestor - ? validateTextNesting( - text, - ancestor.tag, - currentHostContext$jscomp$1.ancestorInfo.implicitRootScope - ) - : !0; - var nextInstance$jscomp$0 = nextHydratableInstance, - JSCompiler_temp$jscomp$1; - if (!(JSCompiler_temp$jscomp$1 = !nextInstance$jscomp$0)) { - var textInstance = canHydrateTextInstance( - nextInstance$jscomp$0, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== textInstance) { - workInProgress.stateNode = textInstance; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - var JSCompiler_inline_result$jscomp$2 = !0; - } else JSCompiler_inline_result$jscomp$2 = !1; - JSCompiler_temp$jscomp$1 = !JSCompiler_inline_result$jscomp$2; - } - JSCompiler_temp$jscomp$1 && - (shouldKeepWarning$jscomp$0 && - warnNonHydratedInstance(workInProgress, nextInstance$jscomp$0), - throwOnHydrationMismatch(workInProgress)); - } - return null; + return ( + null === current && + isHydrating && + ((renderLanes = workInProgress.pendingProps), + (current = getHostContext()), + (returnFiber = current.ancestorInfo.current), + (renderLanes = + null != returnFiber + ? validateTextNesting( + renderLanes, + returnFiber.tag, + current.ancestorInfo.implicitRootScope + ) + : !0), + (current = nextHydratableInstance), + (returnFiber = !current) || + ((returnFiber = canHydrateTextInstance( + current, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== returnFiber + ? ((workInProgress.stateNode = returnFiber), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null), + (returnFiber = !0)) + : (returnFiber = !1), + (returnFiber = !returnFiber)), + returnFiber && + (renderLanes && + warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress))), + null + ); case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: - pushHostContainer( - workInProgress, - workInProgress.stateNode.containerInfo + return ( + pushHostContainer( + workInProgress, + workInProgress.stateNode.containerInfo + ), + (returnFiber = workInProgress.pendingProps), + null === current + ? (workInProgress.child = reconcileChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + )) + : reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - var nextChildren$jscomp$1 = workInProgress.pendingProps; - null === current - ? (workInProgress.child = reconcileChildFibers( - workInProgress, - null, - nextChildren$jscomp$1, - renderLanes - )) - : reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$1, - renderLanes - ); - return workInProgress.child; case 11: return updateForwardRef( current, @@ -12384,15 +12521,17 @@ __DEV__ && renderLanes ); case 7: - var nextChildren$jscomp$2 = workInProgress.pendingProps; - enableFragmentRefs && markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$2, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + enableFragmentRefs && markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 8: return ( reconcileChildren( @@ -12404,55 +12543,66 @@ __DEV__ && workInProgress.child ); case 12: - workInProgress.flags |= 4; - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + (workInProgress.flags |= 4), + (workInProgress.flags |= 2048), + (returnFiber = workInProgress.stateNode), + (returnFiber.effectDuration = -0), + (returnFiber.passiveEffectDuration = -0), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 10: - var context = workInProgress.type, - newProps = workInProgress.pendingProps, - newValue = newProps.value; - "value" in newProps || - hasWarnedAboutUsingNoValuePropOnContextProvider || - ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), - console.error( - "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" - )); - pushProvider(workInProgress, context, newValue); - reconcileChildren( - current, - workInProgress, - newProps.children, - renderLanes + return ( + (returnFiber = workInProgress.type), + (prevSibling = workInProgress.pendingProps), + (prevState = prevSibling.value), + "value" in prevSibling || + hasWarnedAboutUsingNoValuePropOnContextProvider || + ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), + console.error( + "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" + )), + pushProvider(workInProgress, returnFiber, prevState), + reconcileChildren( + current, + workInProgress, + prevSibling.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 9: - var context$jscomp$0 = workInProgress.type._context, - render = workInProgress.pendingProps.children; - "function" !== typeof render && - console.error( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." - ); - prepareToReadContext(workInProgress); - var newValue$jscomp$0 = readContext(context$jscomp$0); - markComponentRenderStarted(workInProgress); - var newChildren = callComponentInDEV( - render, - newValue$jscomp$0, - void 0 + return ( + (prevSibling = workInProgress.type._context), + (returnFiber = workInProgress.pendingProps.children), + "function" !== typeof returnFiber && + console.error( + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + ), + prepareToReadContext(workInProgress), + (prevSibling = readContext(prevSibling)), + markComponentRenderStarted(workInProgress), + (returnFiber = callComponentInDEV( + returnFiber, + prevSibling, + void 0 + )), + markComponentRenderStopped(), + (workInProgress.flags |= 1), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - markComponentRenderStopped(); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, newChildren, renderLanes); - return workInProgress.child; case 14: return updateMemoComponent( current, @@ -12470,47 +12620,50 @@ __DEV__ && renderLanes ); case 17: - var _Component2 = workInProgress.type, - _resolvedProps = resolveClassComponentProps( - _Component2, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - workInProgress.tag = 1; - if (isContextProvider(_Component2)) { - var hasContext = !0; - pushContextProvider(workInProgress); - } else hasContext = !1; - prepareToReadContext(workInProgress); - constructClassInstance(workInProgress, _Component2, _resolvedProps); - mountClassInstance( - workInProgress, - _Component2, - _resolvedProps, - renderLanes - ); - return finishClassComponent( - null, - workInProgress, - _Component2, - !0, - hasContext, - renderLanes + )), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (workInProgress.tag = 1), + isContextProvider(returnFiber) + ? ((current = !0), pushContextProvider(workInProgress)) + : (current = !1), + prepareToReadContext(workInProgress), + constructClassInstance(workInProgress, returnFiber, prevSibling), + mountClassInstance( + workInProgress, + returnFiber, + prevSibling, + renderLanes + ), + finishClassComponent( + null, + workInProgress, + returnFiber, + !0, + current, + renderLanes + ) ); case 28: - var _Component3 = workInProgress.type, - _resolvedProps2 = resolveClassComponentProps( - _Component3, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); - workInProgress.tag = 0; - return updateFunctionComponent( - null, - workInProgress, - _Component3, - _resolvedProps2, - renderLanes + )), + resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), + (workInProgress.tag = 0), + updateFunctionComponent( + null, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 19: return updateSuspenseListComponent( @@ -12519,170 +12672,7 @@ __DEV__ && renderLanes ); case 31: - var nextProps$jscomp$1 = workInProgress.pendingProps, - didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === nextProps$jscomp$1.mode) - mountActivityChildren(workInProgress, nextProps$jscomp$1); - else { - pushDehydratedActivitySuspenseHandler(workInProgress); - var nextInstance$jscomp$1 = nextHydratableInstance; - if (nextInstance$jscomp$1) { - var hydratableInstance = canHydrateHydrationBoundary( - nextInstance$jscomp$1, - rootOrSingletonContext - ); - var activityInstance = - null !== hydratableInstance && - hydratableInstance.data === ACTIVITY_START_DATA - ? hydratableInstance - : null; - if (null !== activityInstance) { - var activityState = { - dehydrated: activityInstance, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }; - workInProgress.memoizedState = activityState; - var dehydratedFragment = - createFiberFromDehydratedFragment(activityInstance); - dehydratedFragment.return = workInProgress; - workInProgress.child = dehydratedFragment; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - } - var JSCompiler_temp$jscomp$2 = activityInstance; - } else JSCompiler_temp$jscomp$2 = null; - if (null === JSCompiler_temp$jscomp$2) - throw ( - (warnNonHydratedInstance( - workInProgress, - nextInstance$jscomp$1 - ), - throwOnHydrationMismatch(workInProgress)) - ); - } - workInProgress.lanes = 536870912; - var JSCompiler_inline_result$jscomp$3 = null; - } else - JSCompiler_inline_result$jscomp$3 = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - else { - var prevState$jscomp$0 = current.memoizedState; - if (null !== prevState$jscomp$0) { - var activityInstance$jscomp$0 = prevState$jscomp$0.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) - if (workInProgress.flags & 256) { - workInProgress.flags &= -257; - var JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (JSCompiler_inline_result$jscomp$4 = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else { - warnIfHydrating(); - 0 !== (renderLanes & 536870912) && - markRenderDerivedCause(workInProgress); - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ); - var hasContextChanged = - 0 !== (renderLanes & current.childLanes); - if (didReceiveUpdate || hasContextChanged) { - var root = workInProgressRoot; - if (null !== root) { - var attemptHydrationAtLane = getBumpedLaneForHydration( - root, - renderLanes - ); - if ( - 0 !== attemptHydrationAtLane && - attemptHydrationAtLane !== prevState$jscomp$0.retryLane - ) - throw ( - ((prevState$jscomp$0.retryLane = - attemptHydrationAtLane), - enqueueConcurrentRenderForLane( - current, - attemptHydrationAtLane - ), - scheduleUpdateOnFiber( - root, - current, - attemptHydrationAtLane - ), - SelectiveHydrationException) - ); - } - renderDidSuspendDelayIfPossible(); - JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else { - var treeContext = prevState$jscomp$0.treeContext; - nextHydratableInstance = getNextHydratable( - activityInstance$jscomp$0.nextSibling - ); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !1; - null !== treeContext && - restoreSuspendedTreeContext(workInProgress, treeContext); - var primaryChildFragment = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - primaryChildFragment.flags |= 4096; - JSCompiler_inline_result$jscomp$4 = primaryChildFragment; - } - } - JSCompiler_inline_result$jscomp$3 = - JSCompiler_inline_result$jscomp$4; - } else { - var currentChild = current.child, - offscreenChildProps = { - mode: nextProps$jscomp$1.mode, - children: nextProps$jscomp$1.children - }; - 0 !== (renderLanes & 536870912) && - 0 !== (renderLanes & current.lanes) && - markRenderDerivedCause(workInProgress); - var primaryChildFragment$jscomp$0 = createWorkInProgress( - currentChild, - offscreenChildProps - ); - primaryChildFragment$jscomp$0.ref = workInProgress.ref; - workInProgress.child = primaryChildFragment$jscomp$0; - primaryChildFragment$jscomp$0.return = workInProgress; - JSCompiler_inline_result$jscomp$3 = primaryChildFragment$jscomp$0; - } - } - return JSCompiler_inline_result$jscomp$3; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12691,60 +12681,59 @@ __DEV__ && workInProgress.pendingProps ); case 24: - prepareToReadContext(workInProgress); - var parentCache = readContext(CacheContext); - if (null === current) { - var cacheFromPool = peekCacheFromPool(); - if (null !== cacheFromPool) var freshCache = cacheFromPool; - else { - var root$jscomp$0 = workInProgressRoot, - freshCache$jscomp$0 = createCache(); - root$jscomp$0.pooledCache = freshCache$jscomp$0; - retainCache(freshCache$jscomp$0); - null !== freshCache$jscomp$0 && - (root$jscomp$0.pooledCacheLanes |= renderLanes); - freshCache = freshCache$jscomp$0; - } - workInProgress.memoizedState = { - parent: parentCache, - cache: freshCache - }; - initializeUpdateQueue(workInProgress); - pushProvider(workInProgress, CacheContext, freshCache); - } else { - 0 !== (current.lanes & renderLanes) && - (cloneUpdateQueue(current, workInProgress), - processUpdateQueue(workInProgress, null, null, renderLanes), - suspendIfUpdateReadFromEntangledAsyncAction()); - var prevState$jscomp$1 = current.memoizedState, - nextState$jscomp$0 = workInProgress.memoizedState; - if (prevState$jscomp$1.parent !== parentCache) { - var derivedState = { parent: parentCache, cache: parentCache }; - workInProgress.memoizedState = derivedState; - 0 === workInProgress.lanes && - (workInProgress.memoizedState = - workInProgress.updateQueue.baseState = - derivedState); - pushProvider(workInProgress, CacheContext, parentCache); - } else { - var nextCache$jscomp$0 = nextState$jscomp$0.cache; - pushProvider(workInProgress, CacheContext, nextCache$jscomp$0); - nextCache$jscomp$0 !== prevState$jscomp$1.cache && - propagateContextChanges( - workInProgress, - [CacheContext], - renderLanes, - !0 - ); - } - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + prepareToReadContext(workInProgress), + (returnFiber = readContext(CacheContext)), + null === current + ? ((prevSibling = peekCacheFromPool()), + null === prevSibling && + ((prevSibling = workInProgressRoot), + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && + (prevSibling.pooledCacheLanes |= renderLanes), + (prevSibling = prevState)), + (workInProgress.memoizedState = { + parent: returnFiber, + cache: prevSibling + }), + initializeUpdateQueue(workInProgress), + pushProvider(workInProgress, CacheContext, prevSibling)) + : (0 !== (current.lanes & renderLanes) && + (cloneUpdateQueue(current, workInProgress), + processUpdateQueue(workInProgress, null, null, renderLanes), + suspendIfUpdateReadFromEntangledAsyncAction()), + (prevSibling = current.memoizedState), + (prevState = workInProgress.memoizedState), + prevSibling.parent !== returnFiber + ? ((prevSibling = { + parent: returnFiber, + cache: returnFiber + }), + (workInProgress.memoizedState = prevSibling), + 0 === workInProgress.lanes && + (workInProgress.memoizedState = + workInProgress.updateQueue.baseState = + prevSibling), + pushProvider(workInProgress, CacheContext, returnFiber)) + : ((returnFiber = prevState.cache), + pushProvider(workInProgress, CacheContext, returnFiber), + returnFiber !== prevSibling.cache && + propagateContextChanges( + workInProgress, + [CacheContext], + renderLanes, + !0 + ))), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 29: throw workInProgress.pendingProps; } @@ -29378,11 +29367,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-ac7820a9-20250811" !== 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.2.0-native-fb-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29419,10 +29408,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29877,7 +29866,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; + exports.version = "19.2.0-native-fb-ac7820a9-20250811"; "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 0e525413d3..ce2d30bbd0 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<<82aff4bbeff5de6dae2c2a730aee7e76>> + * @generated SignedSource<> */ /* @@ -6576,6 +6576,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6633,6 +6641,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6677,6 +6696,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7088,43 +7211,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7183,7 +7304,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7281,31 +7402,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7365,12 +7486,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8127,114 +8242,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((elementType = current.memoizedState), null !== elementType)) - if ( - ((prevState = elementType.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== elementType.retryLane) - ) - throw ( - ((elementType.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = elementType.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12999,20 +13007,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1627 = 0; - i$jscomp$inline_1627 < simpleEventPluginEvents.length; - i$jscomp$inline_1627++ + var i$jscomp$inline_1625 = 0; + i$jscomp$inline_1625 < simpleEventPluginEvents.length; + i$jscomp$inline_1625++ ) { - var eventName$jscomp$inline_1628 = - simpleEventPluginEvents[i$jscomp$inline_1627], - domEventName$jscomp$inline_1629 = - eventName$jscomp$inline_1628.toLowerCase(), - capitalizedEvent$jscomp$inline_1630 = - eventName$jscomp$inline_1628[0].toUpperCase() + - eventName$jscomp$inline_1628.slice(1); + var eventName$jscomp$inline_1626 = + simpleEventPluginEvents[i$jscomp$inline_1625], + domEventName$jscomp$inline_1627 = + eventName$jscomp$inline_1626.toLowerCase(), + capitalizedEvent$jscomp$inline_1628 = + eventName$jscomp$inline_1626[0].toUpperCase() + + eventName$jscomp$inline_1626.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1629, - "on" + capitalizedEvent$jscomp$inline_1630 + domEventName$jscomp$inline_1627, + "on" + capitalizedEvent$jscomp$inline_1628 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17137,16 +17145,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2001 = React.version; if ( - "19.2.0-native-fb-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2003 + "19.2.0-native-fb-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2001 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2003, - "19.2.0-native-fb-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2001, + "19.2.0-native-fb-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17166,24 +17174,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2524 = { +var internals$jscomp$inline_2532 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2525 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2533 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2525.isDisabled && - hook$jscomp$inline_2525.supportsFiber + !hook$jscomp$inline_2533.isDisabled && + hook$jscomp$inline_2533.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2525.inject( - internals$jscomp$inline_2524 + (rendererID = hook$jscomp$inline_2533.inject( + internals$jscomp$inline_2532 )), - (injectedHook = hook$jscomp$inline_2525); + (injectedHook = hook$jscomp$inline_2533); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -17422,4 +17430,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 f13feac126..6186217f2a 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<<4b245f886cd57782dba5a2d3ed8caa6a>> */ /* @@ -7054,6 +7054,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -7111,6 +7119,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -7155,6 +7174,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7577,43 +7700,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7672,7 +7793,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7777,31 +7898,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7866,12 +7987,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8644,114 +8759,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((elementType = current.memoizedState), null !== elementType)) - if ( - ((prevState = elementType.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== elementType.retryLane) - ) - throw ( - ((elementType.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = elementType.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -14997,20 +15005,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1876 = 0; - i$jscomp$inline_1876 < simpleEventPluginEvents.length; - i$jscomp$inline_1876++ + var i$jscomp$inline_1874 = 0; + i$jscomp$inline_1874 < simpleEventPluginEvents.length; + i$jscomp$inline_1874++ ) { - var eventName$jscomp$inline_1877 = - simpleEventPluginEvents[i$jscomp$inline_1876], - domEventName$jscomp$inline_1878 = - eventName$jscomp$inline_1877.toLowerCase(), - capitalizedEvent$jscomp$inline_1879 = - eventName$jscomp$inline_1877[0].toUpperCase() + - eventName$jscomp$inline_1877.slice(1); + var eventName$jscomp$inline_1875 = + simpleEventPluginEvents[i$jscomp$inline_1874], + domEventName$jscomp$inline_1876 = + eventName$jscomp$inline_1875.toLowerCase(), + capitalizedEvent$jscomp$inline_1877 = + eventName$jscomp$inline_1875[0].toUpperCase() + + eventName$jscomp$inline_1875.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1878, - "on" + capitalizedEvent$jscomp$inline_1879 + domEventName$jscomp$inline_1876, + "on" + capitalizedEvent$jscomp$inline_1877 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19153,16 +19161,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2254 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2252 = React.version; if ( - "19.2.0-native-fb-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2254 + "19.2.0-native-fb-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2252 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2254, - "19.2.0-native-fb-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2252, + "19.2.0-native-fb-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19182,12 +19190,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2261 = { +var internals$jscomp$inline_2259 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$321 = 0; @@ -19205,16 +19213,16 @@ var internals$jscomp$inline_2261 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2776 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2784 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2776.isDisabled && - hook$jscomp$inline_2776.supportsFiber + !hook$jscomp$inline_2784.isDisabled && + hook$jscomp$inline_2784.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2776.inject( - internals$jscomp$inline_2261 + (rendererID = hook$jscomp$inline_2784.inject( + internals$jscomp$inline_2259 )), - (injectedHook = hook$jscomp$inline_2776); + (injectedHook = hook$jscomp$inline_2784); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -19454,7 +19462,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; "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 c472f8890a..237f775dd4 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,13 +7,13 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<40562e8cc3139da4a33aad587d9119ce>> */ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1159() { + function JSCompiler_object_inline_createNodeMock_1158() { return null; } function findHook(fiber, id) { @@ -3719,7 +3719,7 @@ __DEV__ && 22 === parent.tag && ((sourceFiber = parent.stateNode), null === sourceFiber || - sourceFiber._visibility & 1 || + sourceFiber._visibility & OffscreenVisible || (isHidden = !0)), (sourceFiber = parent), (parent = parent.return); @@ -6554,6 +6554,14 @@ __DEV__ && ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6615,6 +6623,17 @@ __DEV__ && reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -7157,43 +7176,43 @@ __DEV__ && if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -7254,7 +7273,7 @@ __DEV__ && renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback()) @@ -7367,34 +7386,31 @@ __DEV__ && nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7460,12 +7476,6 @@ __DEV__ && function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -10363,8 +10373,8 @@ __DEV__ && a: for ( root = finishedWork.stateNode, root._visibility = existingHiddenCallbacks - ? root._visibility & -2 - : root._visibility | 1, + ? root._visibility & ~OffscreenVisible + : root._visibility | OffscreenVisible, existingHiddenCallbacks && (null === current || wasHidden || @@ -10828,7 +10838,8 @@ __DEV__ && prevProfilerEffectDuration = finishedWork.stateNode; var _current = finishedWork.alternate; null !== finishedWork.memoizedState - ? prevProfilerEffectDuration._visibility & 2 + ? prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -10840,21 +10851,24 @@ __DEV__ && finishedRoot, finishedWork ) - : ((prevProfilerEffectDuration._visibility |= 2), + : ((prevProfilerEffectDuration._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions )) - : prevProfilerEffectDuration._visibility & 2 + : prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) - : ((prevProfilerEffectDuration._visibility |= 2), + : ((prevProfilerEffectDuration._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -10932,7 +10946,7 @@ __DEV__ && case 22: var _instance2 = finishedWork.stateNode; null !== finishedWork.memoizedState - ? _instance2._visibility & 2 + ? _instance2._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -10945,7 +10959,7 @@ __DEV__ && finishedRoot, finishedWork ) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -10953,7 +10967,7 @@ __DEV__ && committedTransitions, includeWorkInProgressEffects )) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -11132,9 +11146,11 @@ __DEV__ && case 22: prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevProfilerEffectDuration._visibility & 2 && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevProfilerEffectDuration._visibility &= -3), + ? ((prevProfilerEffectDuration._visibility &= + ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; @@ -11178,8 +11194,8 @@ __DEV__ && break; case 22: var instance = finishedWork.stateNode; - instance._visibility & 2 && - ((instance._visibility &= -3), + instance._visibility & OffscreenPassiveEffectsConnected && + ((instance._visibility &= ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)); break; default: @@ -14338,6 +14354,8 @@ __DEV__ && }; var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), + OffscreenVisible = 1, + OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, @@ -15738,10 +15756,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15763,7 +15781,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1159, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1158, isConcurrent = !1, isStrictMode = !1; "object" === typeof options && @@ -15886,5 +15904,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; + exports.version = "19.2.0-native-fb-ac7820a9-20250811"; })(); 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 c3458a2da3..531fe9e212 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<<47be7241b6e0f5edf70ebf4b3938a424>> + * @generated SignedSource<<72b81387d22fdfbf9024b41672f64233>> */ "use strict"; @@ -4603,6 +4603,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -4660,6 +4668,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -5067,41 +5086,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -5156,7 +5175,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -5239,34 +5258,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -5326,12 +5342,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -5552,9 +5562,9 @@ function attemptEarlyBailoutIfNoScheduledUpdate( ); break; case 13: - var state$70 = workInProgress.memoizedState; - if (null !== state$70) { - if (null !== state$70.dehydrated) + var state$69 = workInProgress.memoizedState; + if (null !== state$69) { + if (null !== state$69.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags |= 128), @@ -5574,17 +5584,17 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); - state$70 = 0 !== (renderLanes & workInProgress.childLanes); - state$70 || + state$69 = 0 !== (renderLanes & workInProgress.childLanes); + state$69 || (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), - (state$70 = 0 !== (renderLanes & workInProgress.childLanes))); + (state$69 = 0 !== (renderLanes & workInProgress.childLanes))); if (didSuspendBefore) { - if (state$70) + if (state$69) return updateSuspenseListComponent( current, workInProgress, @@ -5598,7 +5608,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( (didSuspendBefore.tail = null), (didSuspendBefore.lastEffect = null)); push(suspenseStackCursor, suspenseStackCursor.current); - if (state$70) break; + if (state$69) break; else return null; case 22: return ( @@ -6077,14 +6087,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$80 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$80 = lastTailNode), + for (var lastTailNode$79 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$79 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$80 + null === lastTailNode$79 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$80.sibling = null); + : (lastTailNode$79.sibling = null); } } function bubbleProperties(completedWork) { @@ -6094,19 +6104,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$81 = completedWork.child; null !== child$81; ) - (newChildLanes |= child$81.lanes | child$81.childLanes), - (subtreeFlags |= child$81.subtreeFlags & 65011712), - (subtreeFlags |= child$81.flags & 65011712), - (child$81.return = completedWork), - (child$81 = child$81.sibling); + for (var child$80 = completedWork.child; null !== child$80; ) + (newChildLanes |= child$80.lanes | child$80.childLanes), + (subtreeFlags |= child$80.subtreeFlags & 65011712), + (subtreeFlags |= child$80.flags & 65011712), + (child$80.return = completedWork), + (child$80 = child$80.sibling); else - for (child$81 = completedWork.child; null !== child$81; ) - (newChildLanes |= child$81.lanes | child$81.childLanes), - (subtreeFlags |= child$81.subtreeFlags), - (subtreeFlags |= child$81.flags), - (child$81.return = completedWork), - (child$81 = child$81.sibling); + for (child$80 = completedWork.child; null !== child$80; ) + (newChildLanes |= child$80.lanes | child$80.childLanes), + (subtreeFlags |= child$80.subtreeFlags), + (subtreeFlags |= child$80.flags), + (child$80.return = completedWork), + (child$80 = child$80.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -6305,11 +6315,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (index = newProps.alternate.memoizedState.cachePool.pool); - var cache$88 = null; + var cache$87 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$88 = newProps.memoizedState.cachePool.pool); - cache$88 !== index && (newProps.flags |= 2048); + (cache$87 = newProps.memoizedState.cachePool.pool); + cache$87 !== index && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -6334,8 +6344,8 @@ function completeWork(current, workInProgress, renderLanes) { index = workInProgress.memoizedState; if (null === index) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$88 = index.rendering; - if (null === cache$88) + cache$87 = index.rendering; + if (null === cache$87) if (newProps) cutOffTailIfNeeded(index, !1); else { if ( @@ -6343,11 +6353,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$88 = findFirstSuspended(current); - if (null !== cache$88) { + cache$87 = findFirstSuspended(current); + if (null !== cache$87) { workInProgress.flags |= 128; cutOffTailIfNeeded(index, !1); - current = cache$88.updateQueue; + current = cache$87.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -6372,7 +6382,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$88)), null !== current)) { + if (((current = findFirstSuspended(cache$87)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -6382,7 +6392,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(index, !0), null === index.tail && "hidden" === index.tailMode && - !cache$88.alternate) + !cache$87.alternate) ) return bubbleProperties(workInProgress), null; } else @@ -6394,13 +6404,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(index, !1), (workInProgress.lanes = 4194304)); index.isBackwards - ? ((cache$88.sibling = workInProgress.child), - (workInProgress.child = cache$88)) + ? ((cache$87.sibling = workInProgress.child), + (workInProgress.child = cache$87)) : ((current = index.last), null !== current - ? (current.sibling = cache$88) - : (workInProgress.child = cache$88), - (index.last = cache$88)); + ? (current.sibling = cache$87) + : (workInProgress.child = cache$87), + (index.last = cache$87)); } if (null !== index.tail) return ( @@ -6600,9 +6610,9 @@ function commitHookEffectListMount(flags, finishedWork) { do { if ((updateQueue.tag & flags) === flags) { lastEffect = void 0; - var create$105 = updateQueue.create, + var create$104 = updateQueue.create, inst = updateQueue.inst; - lastEffect = create$105(); + lastEffect = create$104(); inst.destroy = lastEffect; } updateQueue = updateQueue.next; @@ -6718,8 +6728,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$107) { - captureCommitPhaseError(current, nearestMountedAncestor, error$107); + } catch (error$106) { + captureCommitPhaseError(current, nearestMountedAncestor, error$106); } else ref.current = null; } @@ -6878,11 +6888,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$106) { + } catch (error$105) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$106 + error$105 ); } } @@ -7452,12 +7462,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$108 = hostParentFiber.stateNode.containerInfo, - before$109 = getHostSibling(finishedWork); + var parent$107 = hostParentFiber.stateNode.containerInfo, + before$108 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$109, - parent$108 + before$108, + parent$107 ); break; default: @@ -8632,8 +8642,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); exitStatus = workInProgressRootExitStatus; break; - } catch (thrownValue$124) { - handleThrow(root, thrownValue$124); + } catch (thrownValue$123) { + handleThrow(root, thrownValue$123); } while (1); lanes && root.shellSuspendCounter++; @@ -8748,8 +8758,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$126) { - handleThrow(root, thrownValue$126); + } catch (thrownValue$125) { + handleThrow(root, thrownValue$125); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -9910,24 +9920,24 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1432 = { +var internals$jscomp$inline_1428 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1433 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1429 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1433.isDisabled && - hook$jscomp$inline_1433.supportsFiber + !hook$jscomp$inline_1429.isDisabled && + hook$jscomp$inline_1429.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1433.inject( - internals$jscomp$inline_1432 + (rendererID = hook$jscomp$inline_1429.inject( + internals$jscomp$inline_1428 )), - (injectedHook = hook$jscomp$inline_1433); + (injectedHook = hook$jscomp$inline_1429); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10051,4 +10061,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 ce8ce36619..558aa43dde 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<<2da5455bf6b9567a04d0d58e213d8978>> + * @generated SignedSource<<060e78c8fc6315c0e945dce0e2240f07>> */ "use strict"; @@ -4729,6 +4729,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -4786,6 +4794,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -5204,41 +5223,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -5293,7 +5312,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -5381,34 +5400,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -5473,12 +5489,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -6240,14 +6250,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$81 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$81 = lastTailNode), + for (var lastTailNode$80 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$80 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$81 + null === lastTailNode$80 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$81.sibling = null); + : (lastTailNode$80.sibling = null); } } function bubbleProperties(completedWork) { @@ -6259,53 +6269,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$83 = completedWork.selfBaseDuration, - child$84 = completedWork.child; - null !== child$84; + var treeBaseDuration$82 = completedWork.selfBaseDuration, + child$83 = completedWork.child; + null !== child$83; ) - (newChildLanes |= child$84.lanes | child$84.childLanes), - (subtreeFlags |= child$84.subtreeFlags & 65011712), - (subtreeFlags |= child$84.flags & 65011712), - (treeBaseDuration$83 += child$84.treeBaseDuration), - (child$84 = child$84.sibling); - completedWork.treeBaseDuration = treeBaseDuration$83; + (newChildLanes |= child$83.lanes | child$83.childLanes), + (subtreeFlags |= child$83.subtreeFlags & 65011712), + (subtreeFlags |= child$83.flags & 65011712), + (treeBaseDuration$82 += child$83.treeBaseDuration), + (child$83 = child$83.sibling); + completedWork.treeBaseDuration = treeBaseDuration$82; } else for ( - treeBaseDuration$83 = completedWork.child; - null !== treeBaseDuration$83; + treeBaseDuration$82 = completedWork.child; + null !== treeBaseDuration$82; ) (newChildLanes |= - treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), - (subtreeFlags |= treeBaseDuration$83.subtreeFlags & 65011712), - (subtreeFlags |= treeBaseDuration$83.flags & 65011712), - (treeBaseDuration$83.return = completedWork), - (treeBaseDuration$83 = treeBaseDuration$83.sibling); + treeBaseDuration$82.lanes | treeBaseDuration$82.childLanes), + (subtreeFlags |= treeBaseDuration$82.subtreeFlags & 65011712), + (subtreeFlags |= treeBaseDuration$82.flags & 65011712), + (treeBaseDuration$82.return = completedWork), + (treeBaseDuration$82 = treeBaseDuration$82.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$83 = completedWork.actualDuration; - child$84 = completedWork.selfBaseDuration; + treeBaseDuration$82 = completedWork.actualDuration; + child$83 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$83 += child.actualDuration), - (child$84 += child.treeBaseDuration), + (treeBaseDuration$82 += child.actualDuration), + (child$83 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$83; - completedWork.treeBaseDuration = child$84; + completedWork.actualDuration = treeBaseDuration$82; + completedWork.treeBaseDuration = child$83; } else for ( - treeBaseDuration$83 = completedWork.child; - null !== treeBaseDuration$83; + treeBaseDuration$82 = completedWork.child; + null !== treeBaseDuration$82; ) (newChildLanes |= - treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), - (subtreeFlags |= treeBaseDuration$83.subtreeFlags), - (subtreeFlags |= treeBaseDuration$83.flags), - (treeBaseDuration$83.return = completedWork), - (treeBaseDuration$83 = treeBaseDuration$83.sibling); + treeBaseDuration$82.lanes | treeBaseDuration$82.childLanes), + (subtreeFlags |= treeBaseDuration$82.subtreeFlags), + (subtreeFlags |= treeBaseDuration$82.flags), + (treeBaseDuration$82.return = completedWork), + (treeBaseDuration$82 = treeBaseDuration$82.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -6520,11 +6530,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (index = newProps.alternate.memoizedState.cachePool.pool); - var cache$96 = null; + var cache$95 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$96 = newProps.memoizedState.cachePool.pool); - cache$96 !== index && (newProps.flags |= 2048); + (cache$95 = newProps.memoizedState.cachePool.pool); + cache$95 !== index && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -6554,8 +6564,8 @@ function completeWork(current, workInProgress, renderLanes) { index = workInProgress.memoizedState; if (null === index) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$96 = index.rendering; - if (null === cache$96) + cache$95 = index.rendering; + if (null === cache$95) if (newProps) cutOffTailIfNeeded(index, !1); else { if ( @@ -6563,11 +6573,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$96 = findFirstSuspended(current); - if (null !== cache$96) { + cache$95 = findFirstSuspended(current); + if (null !== cache$95) { workInProgress.flags |= 128; cutOffTailIfNeeded(index, !1); - current = cache$96.updateQueue; + current = cache$95.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -6592,7 +6602,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$96)), null !== current)) { + if (((current = findFirstSuspended(cache$95)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -6602,7 +6612,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(index, !0), null === index.tail && "hidden" === index.tailMode && - !cache$96.alternate) + !cache$95.alternate) ) return bubbleProperties(workInProgress), null; } else @@ -6614,13 +6624,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(index, !1), (workInProgress.lanes = 4194304)); index.isBackwards - ? ((cache$96.sibling = workInProgress.child), - (workInProgress.child = cache$96)) + ? ((cache$95.sibling = workInProgress.child), + (workInProgress.child = cache$95)) : ((current = index.last), null !== current - ? (current.sibling = cache$96) - : (workInProgress.child = cache$96), - (index.last = cache$96)); + ? (current.sibling = cache$95) + : (workInProgress.child = cache$95), + (index.last = cache$95)); } if (null !== index.tail) return ( @@ -6875,9 +6885,9 @@ function commitHookEffectListMount(flags, finishedWork) { finishedWork ); lastEffect = void 0; - var create$113 = updateQueue.create, + var create$112 = updateQueue.create, inst = updateQueue.inst; - lastEffect = create$113(); + lastEffect = create$112(); inst.destroy = lastEffect; 0 !== (flags & 8) ? null !== injectedProfilingHooks && @@ -7017,8 +7027,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$117) { - captureCommitPhaseError(current, nearestMountedAncestor, error$117); + } catch (error$116) { + captureCommitPhaseError(current, nearestMountedAncestor, error$116); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -7080,8 +7090,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$118) { - captureCommitPhaseError(current, nearestMountedAncestor, error$118); + } catch (error$117) { + captureCommitPhaseError(current, nearestMountedAncestor, error$117); } else ref.current = null; } @@ -7263,11 +7273,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$114) { + } catch (error$113) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$114 + error$113 ); } else { @@ -7284,11 +7294,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } recordEffectDuration(); @@ -7299,11 +7309,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$116) { + } catch (error$115) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$116 + error$115 ); } } @@ -7899,12 +7909,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$119 = hostParentFiber.stateNode.containerInfo, - before$120 = getHostSibling(finishedWork); + var parent$118 = hostParentFiber.stateNode.containerInfo, + before$119 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$120, - parent$119 + before$119, + parent$118 ); break; default: @@ -9159,8 +9169,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); exitStatus = workInProgressRootExitStatus; break; - } catch (thrownValue$139) { - handleThrow(root, thrownValue$139); + } catch (thrownValue$138) { + handleThrow(root, thrownValue$138); } while (1); lanes && root.shellSuspendCounter++; @@ -9277,8 +9287,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$141) { - handleThrow(root, thrownValue$141); + } catch (thrownValue$140) { + handleThrow(root, thrownValue$140); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -10530,17 +10540,17 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1239 = { +var internals$jscomp$inline_1236 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811", getLaneLabelMap: function () { for ( - var map = new Map(), lane = 1, index$143 = 0; - 31 > index$143; - index$143++ + var map = new Map(), lane = 1, index$142 = 0; + 31 > index$142; + index$142++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -10553,16 +10563,16 @@ var internals$jscomp$inline_1239 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1498 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1494 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1498.isDisabled && - hook$jscomp$inline_1498.supportsFiber + !hook$jscomp$inline_1494.isDisabled && + hook$jscomp$inline_1494.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1498.inject( - internals$jscomp$inline_1239 + (rendererID = hook$jscomp$inline_1494.inject( + internals$jscomp$inline_1236 )), - (injectedHook = hook$jscomp$inline_1498); + (injectedHook = hook$jscomp$inline_1494); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10686,4 +10696,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 3f9256748f..888357cac9 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<<9d5c053fc8dbde4b8e861e8fb47ab972>> + * @generated SignedSource<<0d7a208c8b3a1db5510743716efa723b>> */ "use strict"; @@ -1420,7 +1420,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; + exports.version = "19.2.0-native-fb-ac7820a9-20250811"; "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 b1dba0e116..c24a43bc57 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<<634cebc3b9071f15120978f045164775>> + * @generated SignedSource<<92b72f24a7565e612edc9a00834e93bf>> */ "use strict"; @@ -589,4 +589,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; 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 a9c6b247b7..092a60347b 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<<98deb600d5fee1e5df6ae23370f301c4>> + * @generated SignedSource<<65635d35a8847138eb7a84fad1233975>> */ "use strict"; @@ -593,7 +593,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-f1e70b5e-20250811"; +exports.version = "19.2.0-native-fb-ac7820a9-20250811"; "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 21eae24ed2..9ad5af1f9f 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 @@ -f1e70b5e0aeffeba634f05a1524bf083f0340d5a +ac7820a99efac29dcd5a69f6d2438f6d31b7abbf 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 2f32541d77..7e96d1d5db 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<<55c6103ea58de545f02c49f20074fc32>> + * @generated SignedSource<<4b369b8c5325cfcf6a0f3b1054423a78>> */ "use strict"; @@ -5253,7 +5253,7 @@ __DEV__ && 22 === parent.tag && ((sourceFiber = parent.stateNode), null === sourceFiber || - sourceFiber._visibility & 1 || + sourceFiber._visibility & OffscreenVisible || (isHidden = !0)), (sourceFiber = parent), (parent = parent.return); @@ -8047,6 +8047,14 @@ __DEV__ && ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -8108,6 +8116,17 @@ __DEV__ && reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -8650,43 +8669,43 @@ __DEV__ && if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -8747,7 +8766,7 @@ __DEV__ && renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), 0 !== (renderLanes & 536870912) && @@ -8862,34 +8881,31 @@ __DEV__ && nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } null !== nextPrimaryChildren && (renderLanes & 62914560) === renderLanes && @@ -8959,12 +8975,6 @@ __DEV__ && function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -12110,8 +12120,8 @@ __DEV__ && flags & 8192 && ((root = finishedWork.stateNode), (root._visibility = pendingChildren - ? root._visibility & -2 - : root._visibility | 1), + ? root._visibility & ~OffscreenVisible + : root._visibility | OffscreenVisible), !pendingChildren || null === current || retryQueue || @@ -12707,7 +12717,8 @@ __DEV__ && wasInHydratedSubtree = finishedWork.stateNode; prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState - ? wasInHydratedSubtree._visibility & 2 + ? wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -12723,7 +12734,8 @@ __DEV__ && committedTransitions, endTime ) - : ((wasInHydratedSubtree._visibility |= 2), + : ((wasInHydratedSubtree._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -12731,7 +12743,8 @@ __DEV__ && committedTransitions, endTime )) - : wasInHydratedSubtree._visibility & 2 + : wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -12739,7 +12752,8 @@ __DEV__ && committedTransitions, endTime ) - : ((wasInHydratedSubtree._visibility |= 2), + : ((wasInHydratedSubtree._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -12908,7 +12922,7 @@ __DEV__ && case 22: var _instance2 = finishedWork.stateNode; null !== finishedWork.memoizedState - ? _instance2._visibility & 2 + ? _instance2._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -12925,7 +12939,7 @@ __DEV__ && committedTransitions, endTime ) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -12934,7 +12948,7 @@ __DEV__ && includeWorkInProgressEffects, endTime )) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -13189,9 +13203,11 @@ __DEV__ && case 22: prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevProfilerEffectDuration._visibility & 2 && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevProfilerEffectDuration._visibility &= -3), + ? ((prevProfilerEffectDuration._visibility &= + ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork), enableComponentPerformanceTrack && 0 !== (finishedWork.mode & 2) && @@ -13273,8 +13289,8 @@ __DEV__ && break; case 22: var instance = finishedWork.stateNode; - instance._visibility & 2 && - ((instance._visibility &= -3), + instance._visibility & OffscreenPassiveEffectsConnected && + ((instance._visibility &= ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)); break; default: @@ -17933,6 +17949,8 @@ __DEV__ && }; var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), + OffscreenVisible = 1, + OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, @@ -19502,10 +19520,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; 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 99ae311620..8db38dfef9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<0623ee77201790c3e8f73917826f609f>> */ "use strict"; @@ -1243,7 +1243,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_276 = { +var injectedNamesToPlugins$jscomp$inline_274 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1289,32 +1289,32 @@ var injectedNamesToPlugins$jscomp$inline_276 = { } } }, - isOrderingDirty$jscomp$inline_277 = !1, - pluginName$jscomp$inline_278; -for (pluginName$jscomp$inline_278 in injectedNamesToPlugins$jscomp$inline_276) + isOrderingDirty$jscomp$inline_275 = !1, + pluginName$jscomp$inline_276; +for (pluginName$jscomp$inline_276 in injectedNamesToPlugins$jscomp$inline_274) if ( - injectedNamesToPlugins$jscomp$inline_276.hasOwnProperty( - pluginName$jscomp$inline_278 + injectedNamesToPlugins$jscomp$inline_274.hasOwnProperty( + pluginName$jscomp$inline_276 ) ) { - var pluginModule$jscomp$inline_279 = - injectedNamesToPlugins$jscomp$inline_276[pluginName$jscomp$inline_278]; + var pluginModule$jscomp$inline_277 = + injectedNamesToPlugins$jscomp$inline_274[pluginName$jscomp$inline_276]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_278) || - namesToPlugins[pluginName$jscomp$inline_278] !== - pluginModule$jscomp$inline_279 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_276) || + namesToPlugins[pluginName$jscomp$inline_276] !== + pluginModule$jscomp$inline_277 ) { - if (namesToPlugins[pluginName$jscomp$inline_278]) + if (namesToPlugins[pluginName$jscomp$inline_276]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_278 + "`.") + (pluginName$jscomp$inline_276 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_278] = - pluginModule$jscomp$inline_279; - isOrderingDirty$jscomp$inline_277 = !0; + namesToPlugins[pluginName$jscomp$inline_276] = + pluginModule$jscomp$inline_277; + isOrderingDirty$jscomp$inline_275 = !0; } } -isOrderingDirty$jscomp$inline_277 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_275 && recomputePluginOrdering(); function batchedUpdatesImpl(fn, bookkeeping) { return fn(bookkeeping); } @@ -5615,6 +5615,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -5672,6 +5680,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6079,41 +6098,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -6168,7 +6187,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -6251,34 +6270,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -6338,12 +6354,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -6564,9 +6574,9 @@ function attemptEarlyBailoutIfNoScheduledUpdate( ); break; case 13: - var state$73 = workInProgress.memoizedState; - if (null !== state$73) { - if (null !== state$73.dehydrated) + var state$72 = workInProgress.memoizedState; + if (null !== state$72) { + if (null !== state$72.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags |= 128), @@ -6586,17 +6596,17 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); - state$73 = 0 !== (renderLanes & workInProgress.childLanes); - state$73 || + state$72 = 0 !== (renderLanes & workInProgress.childLanes); + state$72 || (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), - (state$73 = 0 !== (renderLanes & workInProgress.childLanes))); + (state$72 = 0 !== (renderLanes & workInProgress.childLanes))); if (didSuspendBefore) { - if (state$73) + if (state$72) return updateSuspenseListComponent( current, workInProgress, @@ -6610,7 +6620,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( (didSuspendBefore.tail = null), (didSuspendBefore.lastEffect = null)); push(suspenseStackCursor, suspenseStackCursor.current); - if (state$73) break; + if (state$72) break; else return null; case 22: return ( @@ -7202,14 +7212,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$85 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$85 = lastTailNode), + for (var lastTailNode$84 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$84 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$85 + null === lastTailNode$84 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$85.sibling = null); + : (lastTailNode$84.sibling = null); } } function bubbleProperties(completedWork) { @@ -7219,19 +7229,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$86 = completedWork.child; null !== child$86; ) - (newChildLanes |= child$86.lanes | child$86.childLanes), - (subtreeFlags |= child$86.subtreeFlags & 65011712), - (subtreeFlags |= child$86.flags & 65011712), - (child$86.return = completedWork), - (child$86 = child$86.sibling); + for (var child$85 = completedWork.child; null !== child$85; ) + (newChildLanes |= child$85.lanes | child$85.childLanes), + (subtreeFlags |= child$85.subtreeFlags & 65011712), + (subtreeFlags |= child$85.flags & 65011712), + (child$85.return = completedWork), + (child$85 = child$85.sibling); else - for (child$86 = completedWork.child; null !== child$86; ) - (newChildLanes |= child$86.lanes | child$86.childLanes), - (subtreeFlags |= child$86.subtreeFlags), - (subtreeFlags |= child$86.flags), - (child$86.return = completedWork), - (child$86 = child$86.sibling); + for (child$85 = completedWork.child; null !== child$85; ) + (newChildLanes |= child$85.lanes | child$85.childLanes), + (subtreeFlags |= child$85.subtreeFlags), + (subtreeFlags |= child$85.flags), + (child$85.return = completedWork), + (child$85 = child$85.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -7924,8 +7934,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$113) { - captureCommitPhaseError(current, nearestMountedAncestor, error$113); + } catch (error$112) { + captureCommitPhaseError(current, nearestMountedAncestor, error$112); } else ref.current = null; } @@ -8088,11 +8098,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$112) { + } catch (error$111) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$112 + error$111 ); } } @@ -9757,8 +9767,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); exitStatus = workInProgressRootExitStatus; break; - } catch (thrownValue$126) { - handleThrow(root, thrownValue$126); + } catch (thrownValue$125) { + handleThrow(root, thrownValue$125); } while (1); lanes && root.shellSuspendCounter++; @@ -9873,8 +9883,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$128) { - handleThrow(root, thrownValue$128); + } catch (thrownValue$127) { + handleThrow(root, thrownValue$127); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -11014,26 +11024,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1235 = { + internals$jscomp$inline_1232 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1235.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1232.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1554 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1550 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1554.isDisabled && - hook$jscomp$inline_1554.supportsFiber + !hook$jscomp$inline_1550.isDisabled && + hook$jscomp$inline_1550.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1554.inject( - internals$jscomp$inline_1235 + (rendererID = hook$jscomp$inline_1550.inject( + internals$jscomp$inline_1232 )), - (injectedHook = hook$jscomp$inline_1554); + (injectedHook = hook$jscomp$inline_1550); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 513129dfd8..907ad3dffe 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<> + * @generated SignedSource<<7610ae84af0e8230fe009bcd60ea9ab9>> */ "use strict"; @@ -1249,7 +1249,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_313 = { +var injectedNamesToPlugins$jscomp$inline_311 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1295,32 +1295,32 @@ var injectedNamesToPlugins$jscomp$inline_313 = { } } }, - isOrderingDirty$jscomp$inline_314 = !1, - pluginName$jscomp$inline_315; -for (pluginName$jscomp$inline_315 in injectedNamesToPlugins$jscomp$inline_313) + isOrderingDirty$jscomp$inline_312 = !1, + pluginName$jscomp$inline_313; +for (pluginName$jscomp$inline_313 in injectedNamesToPlugins$jscomp$inline_311) if ( - injectedNamesToPlugins$jscomp$inline_313.hasOwnProperty( - pluginName$jscomp$inline_315 + injectedNamesToPlugins$jscomp$inline_311.hasOwnProperty( + pluginName$jscomp$inline_313 ) ) { - var pluginModule$jscomp$inline_316 = - injectedNamesToPlugins$jscomp$inline_313[pluginName$jscomp$inline_315]; + var pluginModule$jscomp$inline_314 = + injectedNamesToPlugins$jscomp$inline_311[pluginName$jscomp$inline_313]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_315) || - namesToPlugins[pluginName$jscomp$inline_315] !== - pluginModule$jscomp$inline_316 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_313) || + namesToPlugins[pluginName$jscomp$inline_313] !== + pluginModule$jscomp$inline_314 ) { - if (namesToPlugins[pluginName$jscomp$inline_315]) + if (namesToPlugins[pluginName$jscomp$inline_313]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_315 + "`.") + (pluginName$jscomp$inline_313 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_315] = - pluginModule$jscomp$inline_316; - isOrderingDirty$jscomp$inline_314 = !0; + namesToPlugins[pluginName$jscomp$inline_313] = + pluginModule$jscomp$inline_314; + isOrderingDirty$jscomp$inline_312 = !0; } } -isOrderingDirty$jscomp$inline_314 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_312 && recomputePluginOrdering(); function batchedUpdatesImpl(fn, bookkeeping) { return fn(bookkeeping); } @@ -6041,6 +6041,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6098,6 +6106,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6516,41 +6535,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -6605,7 +6624,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -6693,34 +6712,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue2), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue2), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -6785,12 +6801,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -7665,14 +7675,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$91 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$91 = lastTailNode), + for (var lastTailNode$90 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$90 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$91 + null === lastTailNode$90 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$91.sibling = null); + : (lastTailNode$90.sibling = null); } } function bubbleProperties(completedWork) { @@ -7684,53 +7694,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$93 = completedWork.selfBaseDuration, - child$94 = completedWork.child; - null !== child$94; + var treeBaseDuration$92 = completedWork.selfBaseDuration, + child$93 = completedWork.child; + null !== child$93; ) - (newChildLanes |= child$94.lanes | child$94.childLanes), - (subtreeFlags |= child$94.subtreeFlags & 65011712), - (subtreeFlags |= child$94.flags & 65011712), - (treeBaseDuration$93 += child$94.treeBaseDuration), - (child$94 = child$94.sibling); - completedWork.treeBaseDuration = treeBaseDuration$93; + (newChildLanes |= child$93.lanes | child$93.childLanes), + (subtreeFlags |= child$93.subtreeFlags & 65011712), + (subtreeFlags |= child$93.flags & 65011712), + (treeBaseDuration$92 += child$93.treeBaseDuration), + (child$93 = child$93.sibling); + completedWork.treeBaseDuration = treeBaseDuration$92; } else for ( - treeBaseDuration$93 = completedWork.child; - null !== treeBaseDuration$93; + treeBaseDuration$92 = completedWork.child; + null !== treeBaseDuration$92; ) (newChildLanes |= - treeBaseDuration$93.lanes | treeBaseDuration$93.childLanes), - (subtreeFlags |= treeBaseDuration$93.subtreeFlags & 65011712), - (subtreeFlags |= treeBaseDuration$93.flags & 65011712), - (treeBaseDuration$93.return = completedWork), - (treeBaseDuration$93 = treeBaseDuration$93.sibling); + treeBaseDuration$92.lanes | treeBaseDuration$92.childLanes), + (subtreeFlags |= treeBaseDuration$92.subtreeFlags & 65011712), + (subtreeFlags |= treeBaseDuration$92.flags & 65011712), + (treeBaseDuration$92.return = completedWork), + (treeBaseDuration$92 = treeBaseDuration$92.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$93 = completedWork.actualDuration; - child$94 = completedWork.selfBaseDuration; + treeBaseDuration$92 = completedWork.actualDuration; + child$93 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$93 += child.actualDuration), - (child$94 += child.treeBaseDuration), + (treeBaseDuration$92 += child.actualDuration), + (child$93 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$93; - completedWork.treeBaseDuration = child$94; + completedWork.actualDuration = treeBaseDuration$92; + completedWork.treeBaseDuration = child$93; } else for ( - treeBaseDuration$93 = completedWork.child; - null !== treeBaseDuration$93; + treeBaseDuration$92 = completedWork.child; + null !== treeBaseDuration$92; ) (newChildLanes |= - treeBaseDuration$93.lanes | treeBaseDuration$93.childLanes), - (subtreeFlags |= treeBaseDuration$93.subtreeFlags), - (subtreeFlags |= treeBaseDuration$93.flags), - (treeBaseDuration$93.return = completedWork), - (treeBaseDuration$93 = treeBaseDuration$93.sibling); + treeBaseDuration$92.lanes | treeBaseDuration$92.childLanes), + (subtreeFlags |= treeBaseDuration$92.subtreeFlags), + (subtreeFlags |= treeBaseDuration$92.flags), + (treeBaseDuration$92.return = completedWork), + (treeBaseDuration$92 = treeBaseDuration$92.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8516,8 +8526,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$128) { - captureCommitPhaseError(current, nearestMountedAncestor, error$128); + } catch (error$127) { + captureCommitPhaseError(current, nearestMountedAncestor, error$127); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -8586,8 +8596,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$129) { - captureCommitPhaseError(current, nearestMountedAncestor, error$129); + } catch (error$128) { + captureCommitPhaseError(current, nearestMountedAncestor, error$128); } else ref.current = null; } @@ -8791,11 +8801,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$125) { + } catch (error$124) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$125 + error$124 ); } else { @@ -8812,11 +8822,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$126) { + } catch (error$125) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$126 + error$125 ); } recordEffectDuration(); @@ -8827,11 +8837,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$127) { + } catch (error$126) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$127 + error$126 ); } } @@ -11459,8 +11469,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; - } catch (thrownValue$161) { - handleThrow(root, thrownValue$161); + } catch (thrownValue$160) { + handleThrow(root, thrownValue$160); } while (1); lanes && root.shellSuspendCounter++; @@ -11583,8 +11593,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$163) { - handleThrow(root, thrownValue$163); + } catch (thrownValue$162) { + handleThrow(root, thrownValue$162); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -12967,20 +12977,20 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1479 = { + internals$jscomp$inline_1476 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1479.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1479.getLaneLabelMap = function () { + (internals$jscomp$inline_1476.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1476.getLaneLabelMap = function () { for ( - var map = new Map(), lane = 1, index$165 = 0; - 31 > index$165; - index$165++ + var map = new Map(), lane = 1, index$164 = 0; + 31 > index$164; + index$164++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -12988,20 +12998,20 @@ internals$jscomp$inline_1479.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1479.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1476.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1800 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1796 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1800.isDisabled && - hook$jscomp$inline_1800.supportsFiber + !hook$jscomp$inline_1796.isDisabled && + hook$jscomp$inline_1796.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1800.inject( - internals$jscomp$inline_1479 + (rendererID = hook$jscomp$inline_1796.inject( + internals$jscomp$inline_1476 )), - (injectedHook = hook$jscomp$inline_1800); + (injectedHook = hook$jscomp$inline_1796); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 e973327603..fee01d9c74 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<<08cdd9c223d4fd3388faf15d49a043b8>> + * @generated SignedSource<<5e0343f32816d897628529049b6db961>> */ "use strict"; @@ -5619,7 +5619,7 @@ __DEV__ && 22 === parent.tag && ((sourceFiber = parent.stateNode), null === sourceFiber || - sourceFiber._visibility & 1 || + sourceFiber._visibility & OffscreenVisible || (isHidden = !0)), (sourceFiber = parent), (parent = parent.return); @@ -8413,6 +8413,14 @@ __DEV__ && ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -8474,6 +8482,17 @@ __DEV__ && reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -9016,43 +9035,43 @@ __DEV__ && if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -9113,7 +9132,7 @@ __DEV__ && renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), 0 !== (renderLanes & 536870912) && @@ -9228,34 +9247,31 @@ __DEV__ && nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } null !== nextPrimaryChildren && (renderLanes & 62914560) === renderLanes && @@ -9325,12 +9341,6 @@ __DEV__ && function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -12482,8 +12492,8 @@ __DEV__ && a: for ( root = finishedWork.stateNode, root._visibility = suspenseCallback - ? root._visibility & -2 - : root._visibility | 1, + ? root._visibility & ~OffscreenVisible + : root._visibility | OffscreenVisible, !suspenseCallback || null === current || retryQueue || @@ -13164,7 +13174,8 @@ __DEV__ && wasInHydratedSubtree = finishedWork.stateNode; prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState - ? wasInHydratedSubtree._visibility & 2 + ? wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13180,7 +13191,8 @@ __DEV__ && committedTransitions, endTime ) - : ((wasInHydratedSubtree._visibility |= 2), + : ((wasInHydratedSubtree._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13188,7 +13200,8 @@ __DEV__ && committedTransitions, endTime )) - : wasInHydratedSubtree._visibility & 2 + : wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13196,7 +13209,8 @@ __DEV__ && committedTransitions, endTime ) - : ((wasInHydratedSubtree._visibility |= 2), + : ((wasInHydratedSubtree._visibility |= + OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -13365,7 +13379,7 @@ __DEV__ && case 22: var _instance2 = finishedWork.stateNode; null !== finishedWork.memoizedState - ? _instance2._visibility & 2 + ? _instance2._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -13382,7 +13396,7 @@ __DEV__ && committedTransitions, endTime ) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -13391,7 +13405,7 @@ __DEV__ && includeWorkInProgressEffects, endTime )) - : ((_instance2._visibility |= 2), + : ((_instance2._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -13646,9 +13660,11 @@ __DEV__ && case 22: prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevProfilerEffectDuration._visibility & 2 && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevProfilerEffectDuration._visibility &= -3), + ? ((prevProfilerEffectDuration._visibility &= + ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork), enableComponentPerformanceTrack && 0 !== (finishedWork.mode & 2) && @@ -13730,8 +13746,8 @@ __DEV__ && break; case 22: var instance = finishedWork.stateNode; - instance._visibility & 2 && - ((instance._visibility &= -3), + instance._visibility & OffscreenPassiveEffectsConnected && + ((instance._visibility &= ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)); break; default: @@ -18575,6 +18591,8 @@ __DEV__ && }; var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), + OffscreenVisible = 1, + OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, @@ -19860,11 +19878,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-ac7820a9-20250811" !== 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.2.0-native-fb-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -19890,10 +19908,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; 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 c7257c94dd..79350b121f 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<<59b43095b1bbdf6b1db3014e57b80920>> + * @generated SignedSource<> */ "use strict"; @@ -1239,7 +1239,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_286 = { +var injectedNamesToPlugins$jscomp$inline_284 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1285,32 +1285,32 @@ var injectedNamesToPlugins$jscomp$inline_286 = { } } }, - isOrderingDirty$jscomp$inline_287 = !1, - pluginName$jscomp$inline_288; -for (pluginName$jscomp$inline_288 in injectedNamesToPlugins$jscomp$inline_286) + isOrderingDirty$jscomp$inline_285 = !1, + pluginName$jscomp$inline_286; +for (pluginName$jscomp$inline_286 in injectedNamesToPlugins$jscomp$inline_284) if ( - injectedNamesToPlugins$jscomp$inline_286.hasOwnProperty( - pluginName$jscomp$inline_288 + injectedNamesToPlugins$jscomp$inline_284.hasOwnProperty( + pluginName$jscomp$inline_286 ) ) { - var pluginModule$jscomp$inline_289 = - injectedNamesToPlugins$jscomp$inline_286[pluginName$jscomp$inline_288]; + var pluginModule$jscomp$inline_287 = + injectedNamesToPlugins$jscomp$inline_284[pluginName$jscomp$inline_286]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_288) || - namesToPlugins[pluginName$jscomp$inline_288] !== - pluginModule$jscomp$inline_289 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_286) || + namesToPlugins[pluginName$jscomp$inline_286] !== + pluginModule$jscomp$inline_287 ) { - if (namesToPlugins[pluginName$jscomp$inline_288]) + if (namesToPlugins[pluginName$jscomp$inline_286]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_288 + "`.") + (pluginName$jscomp$inline_286 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_288] = - pluginModule$jscomp$inline_289; - isOrderingDirty$jscomp$inline_287 = !0; + namesToPlugins[pluginName$jscomp$inline_286] = + pluginModule$jscomp$inline_287; + isOrderingDirty$jscomp$inline_285 = !0; } } -isOrderingDirty$jscomp$inline_287 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_285 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -6021,6 +6021,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6078,6 +6086,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6485,41 +6504,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -6574,7 +6593,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -6657,34 +6676,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -6744,12 +6760,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -6970,9 +6980,9 @@ function attemptEarlyBailoutIfNoScheduledUpdate( ); break; case 13: - var state$77 = workInProgress.memoizedState; - if (null !== state$77) { - if (null !== state$77.dehydrated) + var state$76 = workInProgress.memoizedState; + if (null !== state$76) { + if (null !== state$76.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags |= 128), @@ -6992,17 +7002,17 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); - state$77 = 0 !== (renderLanes & workInProgress.childLanes); - state$77 || + state$76 = 0 !== (renderLanes & workInProgress.childLanes); + state$76 || (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), - (state$77 = 0 !== (renderLanes & workInProgress.childLanes))); + (state$76 = 0 !== (renderLanes & workInProgress.childLanes))); if (didSuspendBefore) { - if (state$77) + if (state$76) return updateSuspenseListComponent( current, workInProgress, @@ -7016,7 +7026,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( (didSuspendBefore.tail = null), (didSuspendBefore.lastEffect = null)); push(suspenseStackCursor, suspenseStackCursor.current); - if (state$77) break; + if (state$76) break; else return null; case 22: return ( @@ -7492,14 +7502,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$87 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$87 = lastTailNode), + for (var lastTailNode$86 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$86 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$87 + null === lastTailNode$86 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$87.sibling = null); + : (lastTailNode$86.sibling = null); } } function bubbleProperties(completedWork) { @@ -7509,19 +7519,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$88 = completedWork.child; null !== child$88; ) - (newChildLanes |= child$88.lanes | child$88.childLanes), - (subtreeFlags |= child$88.subtreeFlags & 65011712), - (subtreeFlags |= child$88.flags & 65011712), - (child$88.return = completedWork), - (child$88 = child$88.sibling); + for (var child$87 = completedWork.child; null !== child$87; ) + (newChildLanes |= child$87.lanes | child$87.childLanes), + (subtreeFlags |= child$87.subtreeFlags & 65011712), + (subtreeFlags |= child$87.flags & 65011712), + (child$87.return = completedWork), + (child$87 = child$87.sibling); else - for (child$88 = completedWork.child; null !== child$88; ) - (newChildLanes |= child$88.lanes | child$88.childLanes), - (subtreeFlags |= child$88.subtreeFlags), - (subtreeFlags |= child$88.flags), - (child$88.return = completedWork), - (child$88 = child$88.sibling); + for (child$87 = completedWork.child; null !== child$87; ) + (newChildLanes |= child$87.lanes | child$87.childLanes), + (subtreeFlags |= child$87.subtreeFlags), + (subtreeFlags |= child$87.flags), + (child$87.return = completedWork), + (child$87 = child$87.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8036,9 +8046,9 @@ function commitHookEffectListMount(flags, finishedWork) { do { if ((updateQueue.tag & flags) === flags) { lastEffect = void 0; - var create$114 = updateQueue.create, + var create$113 = updateQueue.create, inst = updateQueue.inst; - lastEffect = create$114(); + lastEffect = create$113(); inst.destroy = lastEffect; } updateQueue = updateQueue.next; @@ -8160,8 +8170,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$116) { - captureCommitPhaseError(current, nearestMountedAncestor, error$116); + } catch (error$115) { + captureCommitPhaseError(current, nearestMountedAncestor, error$115); } else ref.current = null; } @@ -8370,11 +8380,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } } @@ -9067,12 +9077,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$117 = hostParentFiber.stateNode.containerInfo, - before$118 = getHostSibling(finishedWork); + var parent$116 = hostParentFiber.stateNode.containerInfo, + before$117 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$118, - parent$117 + before$117, + parent$116 ); break; default: @@ -10234,8 +10244,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); exitStatus = workInProgressRootExitStatus; break; - } catch (thrownValue$133) { - handleThrow(root, thrownValue$133); + } catch (thrownValue$132) { + handleThrow(root, thrownValue$132); } while (1); lanes && root.shellSuspendCounter++; @@ -10350,8 +10360,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$135) { - handleThrow(root, thrownValue$135); + } catch (thrownValue$134) { + handleThrow(root, thrownValue$134); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -11242,11 +11252,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-f1e70b5e-20250811" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-ac7820a9-20250811" !== 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.2.0-native-fb-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11294,26 +11304,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1293 = { + internals$jscomp$inline_1290 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1293.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1290.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1639 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1635 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1639.isDisabled && - hook$jscomp$inline_1639.supportsFiber + !hook$jscomp$inline_1635.isDisabled && + hook$jscomp$inline_1635.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1639.inject( - internals$jscomp$inline_1293 + (rendererID = hook$jscomp$inline_1635.inject( + internals$jscomp$inline_1290 )), - (injectedHook = hook$jscomp$inline_1639); + (injectedHook = hook$jscomp$inline_1635); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 4c110dbaf0..a38f50a79a 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<> + * @generated SignedSource<> */ "use strict"; @@ -1245,7 +1245,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_323 = { +var injectedNamesToPlugins$jscomp$inline_321 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1291,32 +1291,32 @@ var injectedNamesToPlugins$jscomp$inline_323 = { } } }, - isOrderingDirty$jscomp$inline_324 = !1, - pluginName$jscomp$inline_325; -for (pluginName$jscomp$inline_325 in injectedNamesToPlugins$jscomp$inline_323) + isOrderingDirty$jscomp$inline_322 = !1, + pluginName$jscomp$inline_323; +for (pluginName$jscomp$inline_323 in injectedNamesToPlugins$jscomp$inline_321) if ( - injectedNamesToPlugins$jscomp$inline_323.hasOwnProperty( - pluginName$jscomp$inline_325 + injectedNamesToPlugins$jscomp$inline_321.hasOwnProperty( + pluginName$jscomp$inline_323 ) ) { - var pluginModule$jscomp$inline_326 = - injectedNamesToPlugins$jscomp$inline_323[pluginName$jscomp$inline_325]; + var pluginModule$jscomp$inline_324 = + injectedNamesToPlugins$jscomp$inline_321[pluginName$jscomp$inline_323]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_325) || - namesToPlugins[pluginName$jscomp$inline_325] !== - pluginModule$jscomp$inline_326 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_323) || + namesToPlugins[pluginName$jscomp$inline_323] !== + pluginModule$jscomp$inline_324 ) { - if (namesToPlugins[pluginName$jscomp$inline_325]) + if (namesToPlugins[pluginName$jscomp$inline_323]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_325 + "`.") + (pluginName$jscomp$inline_323 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_325] = - pluginModule$jscomp$inline_326; - isOrderingDirty$jscomp$inline_324 = !0; + namesToPlugins[pluginName$jscomp$inline_323] = + pluginModule$jscomp$inline_324; + isOrderingDirty$jscomp$inline_322 = !0; } } -isOrderingDirty$jscomp$inline_324 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_322 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -6444,6 +6444,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6501,6 +6509,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6919,41 +6938,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, didSuspend, renderLanes - )), - (showFallback = workInProgress.child), - (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (showFallback.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7008,7 +7027,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = showFallback)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -7096,34 +7115,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { nextProps.return = workInProgress; nextProps.sibling = showFallback; workInProgress.child = nextProps; - nextProps = showFallback; - showFallback = workInProgress.child; - nextPrimaryChildren = current.child.memoizedState; - null === nextPrimaryChildren - ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) - : ((didSuspend = nextPrimaryChildren.cachePool), - null !== didSuspend - ? ((currentFallbackChildFragment = CacheContext._currentValue), - (didSuspend = - didSuspend.parent !== currentFallbackChildFragment - ? { - parent: currentFallbackChildFragment, - pool: currentFallbackChildFragment - } - : didSuspend)) - : (didSuspend = getSuspendedCache()), - (nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: didSuspend + bailoutOffscreenComponent(null, nextProps); + nextProps = workInProgress.child; + showFallback = current.child.memoizedState; + null === showFallback + ? (showFallback = mountSuspenseOffscreenState(renderLanes)) + : ((nextPrimaryChildren = showFallback.cachePool), + null !== nextPrimaryChildren + ? ((didSuspend = CacheContext._currentValue), + (nextPrimaryChildren = + nextPrimaryChildren.parent !== didSuspend + ? { parent: didSuspend, pool: didSuspend } + : nextPrimaryChildren)) + : (nextPrimaryChildren = getSuspendedCache()), + (showFallback = { + baseLanes: showFallback.baseLanes | renderLanes, + cachePool: nextPrimaryChildren })); - showFallback.memoizedState = nextPrimaryChildren; - showFallback.childLanes = getRemainingWorkInPrimaryTree( + nextProps.memoizedState = showFallback; + nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes ); workInProgress.memoizedState = SUSPENDED_MARKER; - return nextProps; + return bailoutOffscreenComponent(current.child, nextProps); } pushPrimaryTreeSuspenseHandler(workInProgress); JSCompiler_temp = current.child; @@ -7188,12 +7204,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -7952,14 +7962,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$93 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$93 = lastTailNode), + for (var lastTailNode$92 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$92 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$93 + null === lastTailNode$92 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$93.sibling = null); + : (lastTailNode$92.sibling = null); } } function bubbleProperties(completedWork) { @@ -7971,53 +7981,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$95 = completedWork.selfBaseDuration, - child$96 = completedWork.child; - null !== child$96; + var treeBaseDuration$94 = completedWork.selfBaseDuration, + child$95 = completedWork.child; + null !== child$95; ) - (newChildLanes |= child$96.lanes | child$96.childLanes), - (subtreeFlags |= child$96.subtreeFlags & 65011712), - (subtreeFlags |= child$96.flags & 65011712), - (treeBaseDuration$95 += child$96.treeBaseDuration), - (child$96 = child$96.sibling); - completedWork.treeBaseDuration = treeBaseDuration$95; + (newChildLanes |= child$95.lanes | child$95.childLanes), + (subtreeFlags |= child$95.subtreeFlags & 65011712), + (subtreeFlags |= child$95.flags & 65011712), + (treeBaseDuration$94 += child$95.treeBaseDuration), + (child$95 = child$95.sibling); + completedWork.treeBaseDuration = treeBaseDuration$94; } else for ( - treeBaseDuration$95 = completedWork.child; - null !== treeBaseDuration$95; + treeBaseDuration$94 = completedWork.child; + null !== treeBaseDuration$94; ) (newChildLanes |= - treeBaseDuration$95.lanes | treeBaseDuration$95.childLanes), - (subtreeFlags |= treeBaseDuration$95.subtreeFlags & 65011712), - (subtreeFlags |= treeBaseDuration$95.flags & 65011712), - (treeBaseDuration$95.return = completedWork), - (treeBaseDuration$95 = treeBaseDuration$95.sibling); + treeBaseDuration$94.lanes | treeBaseDuration$94.childLanes), + (subtreeFlags |= treeBaseDuration$94.subtreeFlags & 65011712), + (subtreeFlags |= treeBaseDuration$94.flags & 65011712), + (treeBaseDuration$94.return = completedWork), + (treeBaseDuration$94 = treeBaseDuration$94.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$95 = completedWork.actualDuration; - child$96 = completedWork.selfBaseDuration; + treeBaseDuration$94 = completedWork.actualDuration; + child$95 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$95 += child.actualDuration), - (child$96 += child.treeBaseDuration), + (treeBaseDuration$94 += child.actualDuration), + (child$95 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$95; - completedWork.treeBaseDuration = child$96; + completedWork.actualDuration = treeBaseDuration$94; + completedWork.treeBaseDuration = child$95; } else for ( - treeBaseDuration$95 = completedWork.child; - null !== treeBaseDuration$95; + treeBaseDuration$94 = completedWork.child; + null !== treeBaseDuration$94; ) (newChildLanes |= - treeBaseDuration$95.lanes | treeBaseDuration$95.childLanes), - (subtreeFlags |= treeBaseDuration$95.subtreeFlags), - (subtreeFlags |= treeBaseDuration$95.flags), - (treeBaseDuration$95.return = completedWork), - (treeBaseDuration$95 = treeBaseDuration$95.sibling); + treeBaseDuration$94.lanes | treeBaseDuration$94.childLanes), + (subtreeFlags |= treeBaseDuration$94.subtreeFlags), + (subtreeFlags |= treeBaseDuration$94.flags), + (treeBaseDuration$94.return = completedWork), + (treeBaseDuration$94 = treeBaseDuration$94.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8608,9 +8618,9 @@ function commitHookEffectListMount(flags, finishedWork) { finishedWork ); lastEffect = void 0; - var create$127 = updateQueue.create, + var create$126 = updateQueue.create, inst = updateQueue.inst; - lastEffect = create$127(); + lastEffect = create$126(); inst.destroy = lastEffect; 0 !== (flags & 8) ? null !== injectedProfilingHooks && @@ -8750,8 +8760,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$131) { - captureCommitPhaseError(current, nearestMountedAncestor, error$131); + } catch (error$130) { + captureCommitPhaseError(current, nearestMountedAncestor, error$130); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -8819,8 +8829,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$132) { - captureCommitPhaseError(current, nearestMountedAncestor, error$132); + } catch (error$131) { + captureCommitPhaseError(current, nearestMountedAncestor, error$131); } else ref.current = null; } @@ -9070,11 +9080,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$128) { + } catch (error$127) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$128 + error$127 ); } else { @@ -9091,11 +9101,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$129) { + } catch (error$128) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$129 + error$128 ); } recordEffectDuration(); @@ -9106,11 +9116,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$130) { + } catch (error$129) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$130 + error$129 ); } } @@ -9945,12 +9955,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$133 = hostParentFiber.stateNode.containerInfo, - before$134 = getHostSibling(finishedWork); + var parent$132 = hostParentFiber.stateNode.containerInfo, + before$133 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$134, - parent$133 + before$133, + parent$132 ); break; default: @@ -11925,8 +11935,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; - } catch (thrownValue$168) { - handleThrow(root, thrownValue$168); + } catch (thrownValue$167) { + handleThrow(root, thrownValue$167); } while (1); lanes && root.shellSuspendCounter++; @@ -12049,8 +12059,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$170) { - handleThrow(root, thrownValue$170); + } catch (thrownValue$169) { + handleThrow(root, thrownValue$169); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -13184,11 +13194,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-f1e70b5e-20250811" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-ac7820a9-20250811" !== 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.2.0-native-fb-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -13236,20 +13246,20 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1537 = { + internals$jscomp$inline_1534 = { bundleType: 0, - version: "19.2.0-native-fb-f1e70b5e-20250811", + version: "19.2.0-native-fb-ac7820a9-20250811", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-native-fb-ac7820a9-20250811" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1537.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1537.getLaneLabelMap = function () { + (internals$jscomp$inline_1534.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1534.getLaneLabelMap = function () { for ( - var map = new Map(), lane = 1, index$172 = 0; - 31 > index$172; - index$172++ + var map = new Map(), lane = 1, index$171 = 0; + 31 > index$171; + index$171++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -13257,20 +13267,20 @@ internals$jscomp$inline_1537.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1537.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1534.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1885 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1881 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1885.isDisabled && - hook$jscomp$inline_1885.supportsFiber + !hook$jscomp$inline_1881.isDisabled && + hook$jscomp$inline_1881.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1885.inject( - internals$jscomp$inline_1537 + (rendererID = hook$jscomp$inline_1881.inject( + internals$jscomp$inline_1534 )), - (injectedHook = hook$jscomp$inline_1885); + (injectedHook = hook$jscomp$inline_1881); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json index 31a2df6dda..ffa2a2232b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "eslint-plugin-react-hooks", "description": "ESLint rules for React Hooks", - "version": "0.0.0-experimental-f1e70b5e-20250811", + "version": "0.0.0-experimental-ac7820a9-20250811", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",