From 57f6b8f122c2cb411cb92bef1ee20fae38585f74 Mon Sep 17 00:00:00 2001 From: gaearon Date: Tue, 30 Jul 2024 14:14:59 -0700 Subject: [PATCH] Remove RefreshRuntime.findAffectedHostInstances (#30538) I originally added this with a plan to visualize which nodes got updated after a Fast Refresh. I didn't end up implementing that part, and to my knowledge, no actively used integration actually does that or use this method. - [Webpack plugin doesn't use it](https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/f1c8b9a44198449093ca95f85af5df97925e1cfc/lib/runtime/RefreshUtils.js) - [RN doesn't use it](https://github.com/facebook/react-native/blob/23c5c42de01953ed7b8e8938c2d3a8fac82250a0/packages/react-native/Libraries/Core/setUpReactRefresh.js) - [Global GitHub code search](https://github.com/search?q=findAffectedHostInstances&type=code&p=1) only shows copies of this code and the type definition based on it, but not actual calls to it We should be able to delete this without a problem. DiffTrain build for [96f3093becc1f26e06549b9a54b93db9df8f5689](https://github.com/facebook/react/commit/96f3093becc1f26e06549b9a54b93db9df8f5689) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 98 +--- compiled/facebook-www/ReactART-dev.modern.js | 98 +--- .../facebook-www/ReactART-prod.classic.js | 6 +- compiled/facebook-www/ReactART-prod.modern.js | 6 +- compiled/facebook-www/ReactDOM-dev.classic.js | 458 +++++++----------- compiled/facebook-www/ReactDOM-dev.modern.js | 430 +++++++--------- .../facebook-www/ReactDOM-prod.classic.js | 10 +- compiled/facebook-www/ReactDOM-prod.modern.js | 10 +- .../ReactDOM-profiling.classic.js | 10 +- .../facebook-www/ReactDOM-profiling.modern.js | 10 +- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 458 +++++++----------- .../ReactDOMTesting-dev.modern.js | 430 +++++++--------- .../ReactDOMTesting-prod.classic.js | 10 +- .../ReactDOMTesting-prod.modern.js | 10 +- .../ReactFreshRuntime-dev.classic.js | 16 - .../ReactFreshRuntime-dev.modern.js | 16 - .../ReactReconciler-dev.classic.js | 98 +--- .../ReactReconciler-dev.modern.js | 98 +--- .../ReactReconciler-prod.classic.js | 2 +- .../ReactReconciler-prod.modern.js | 2 +- .../ReactTestRenderer-dev.classic.js | 102 +--- .../ReactTestRenderer-dev.modern.js | 102 +--- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 36 files changed, 774 insertions(+), 1734 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 0f8edfdb2839b..99b2f5a3cd213 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -146df7c311831a1d5b35f3783dae4a7030638fcf +96f3093becc1f26e06549b9a54b93db9df8f5689 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 0f8edfdb2839b..99b2f5a3cd213 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -146df7c311831a1d5b35f3783dae4a7030638fcf +96f3093becc1f26e06549b9a54b93db9df8f5689 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 827bbaf8995d4..12af72f8badd5 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -2001,7 +2001,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 1a8ef7e29ec4b..b931ae65c3cf8 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1981,7 +1981,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index dc5ad66339f27..2233a32810edf 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 1515ed3333902..aabe512a6611e 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index afbbc9d53ea46..248465612f6a0 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index b3eeb3c6d4c74..49f6b9d5931d6 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index e13dc9c92aeb3..5358d6f831d7b 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -72,20 +72,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork()); @@ -13964,83 +13950,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -16874,11 +16783,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16889,7 +16798,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -16913,7 +16821,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 4e15c7c292558..b670640bc240a 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -72,20 +72,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork()); @@ -13429,83 +13415,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -16287,11 +16196,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16302,7 +16211,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -16326,7 +16234,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index b1876e6f8f643..9a0a79e68b15d 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10623,13 +10623,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1361 = { bundleType: 0, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1362 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10655,4 +10655,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index ac48b2507c074..d37d715da74eb 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10137,13 +10137,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1353 = { bundleType: 0, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1354 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10169,4 +10169,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index b58093a96b4cd..579e4e69e3856 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -75,20 +75,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork$1()); @@ -9153,32 +9139,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2435; - var JSCompiler_object_inline_stack_2436 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2421; + var JSCompiler_object_inline_stack_2422 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2437 = !1; + var JSCompiler_object_inline_componentStack_2423 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2435 = didSuspend) || - (JSCompiler_object_inline_digest_2435 = + (JSCompiler_object_inline_digest_2421 = didSuspend) || + (JSCompiler_object_inline_digest_2421 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2435 && - ((JSCompiler_object_inline_componentStack_2437 = !0), + JSCompiler_object_inline_digest_2421 && + ((JSCompiler_object_inline_componentStack_2423 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2435 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2421 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2437 + JSCompiler_object_inline_componentStack_2423 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2434 = nextHydratableInstance; + var JSCompiler_object_inline_message_2420 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2434)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2420)) { c: { - var instance = JSCompiler_object_inline_message_2434; + var instance = JSCompiler_object_inline_message_2420; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9219,19 +9205,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2434 + JSCompiler_object_inline_message_2420 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2434 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2420 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2434 && - ((JSCompiler_object_inline_message_2434 = - JSCompiler_object_inline_message_2434.dehydrated), - null !== JSCompiler_object_inline_message_2434) + null !== JSCompiler_object_inline_message_2420 && + ((JSCompiler_object_inline_message_2420 = + JSCompiler_object_inline_message_2420.dehydrated), + null !== JSCompiler_object_inline_message_2420) ) return ( - JSCompiler_object_inline_message_2434.data === + JSCompiler_object_inline_message_2420.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -9239,27 +9225,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2434 = - JSCompiler_object_inline_stack_2436.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2436.fallback; - if (JSCompiler_object_inline_componentStack_2437) + JSCompiler_object_inline_message_2420 = + JSCompiler_object_inline_stack_2422.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2422.fallback; + if (JSCompiler_object_inline_componentStack_2423) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2436 = + (JSCompiler_object_inline_stack_2422 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2434, + JSCompiler_object_inline_message_2420, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2437 = + (JSCompiler_object_inline_componentStack_2423 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2437.memoizedState = + (JSCompiler_object_inline_componentStack_2423.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2437.childLanes = + (JSCompiler_object_inline_componentStack_2423.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9272,9 +9258,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2437.updateQueue), + JSCompiler_object_inline_componentStack_2423.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2437.updateQueue = + ? (JSCompiler_object_inline_componentStack_2423.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9282,46 +9268,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2436 + JSCompiler_object_inline_stack_2422 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2436.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2422.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2436 = + (JSCompiler_object_inline_stack_2422 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2434, + JSCompiler_object_inline_message_2420, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2437 = + (JSCompiler_object_inline_componentStack_2423 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2437.memoizedState = + (JSCompiler_object_inline_componentStack_2423.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2437.childLanes = + (JSCompiler_object_inline_componentStack_2423.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2436 + JSCompiler_object_inline_stack_2422 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2434 + JSCompiler_object_inline_message_2420 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2434 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2434) + ((JSCompiler_object_inline_message_2420 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2420) ) { if (didSuspend) workInProgress.flags & 256 @@ -9338,32 +9324,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2437 = - JSCompiler_object_inline_stack_2436.fallback), - (JSCompiler_object_inline_message_2434 = workInProgress.mode), - (JSCompiler_object_inline_stack_2436 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2423 = + JSCompiler_object_inline_stack_2422.fallback), + (JSCompiler_object_inline_message_2420 = workInProgress.mode), + (JSCompiler_object_inline_stack_2422 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2436.children + children: JSCompiler_object_inline_stack_2422.children }, - JSCompiler_object_inline_message_2434, + JSCompiler_object_inline_message_2420, 0, null )), - (JSCompiler_object_inline_componentStack_2437 = + (JSCompiler_object_inline_componentStack_2423 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2437, - JSCompiler_object_inline_message_2434, + JSCompiler_object_inline_componentStack_2423, + JSCompiler_object_inline_message_2420, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2437.flags |= 2), - (JSCompiler_object_inline_stack_2436.return = workInProgress), - (JSCompiler_object_inline_componentStack_2437.return = + (JSCompiler_object_inline_componentStack_2423.flags |= 2), + (JSCompiler_object_inline_stack_2422.return = workInProgress), + (JSCompiler_object_inline_componentStack_2423.return = workInProgress), - (JSCompiler_object_inline_stack_2436.sibling = - JSCompiler_object_inline_componentStack_2437), - (workInProgress.child = JSCompiler_object_inline_stack_2436), + (JSCompiler_object_inline_stack_2422.sibling = + JSCompiler_object_inline_componentStack_2423), + (workInProgress.child = JSCompiler_object_inline_stack_2422), (disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode) && reconcileChildFibers( @@ -9372,63 +9358,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2436 = workInProgress.child), - (JSCompiler_object_inline_stack_2436.memoizedState = + (JSCompiler_object_inline_stack_2422 = workInProgress.child), + (JSCompiler_object_inline_stack_2422.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2436.childLanes = + (JSCompiler_object_inline_stack_2422.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2437)); + JSCompiler_object_inline_componentStack_2423)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2434.data === + JSCompiler_object_inline_message_2420.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2435 = - JSCompiler_object_inline_message_2434.nextSibling && - JSCompiler_object_inline_message_2434.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2435) { - JSCompiler_temp = JSCompiler_object_inline_digest_2435.dgst; - var message = JSCompiler_object_inline_digest_2435.msg; - instance = JSCompiler_object_inline_digest_2435.stck; - var componentStack = JSCompiler_object_inline_digest_2435.cstck; + JSCompiler_object_inline_digest_2421 = + JSCompiler_object_inline_message_2420.nextSibling && + JSCompiler_object_inline_message_2420.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2421) { + JSCompiler_temp = JSCompiler_object_inline_digest_2421.dgst; + var message = JSCompiler_object_inline_digest_2421.msg; + instance = JSCompiler_object_inline_digest_2421.stck; + var componentStack = JSCompiler_object_inline_digest_2421.cstck; } - JSCompiler_object_inline_message_2434 = message; - JSCompiler_object_inline_digest_2435 = JSCompiler_temp; - JSCompiler_object_inline_stack_2436 = instance; - JSCompiler_object_inline_componentStack_2437 = componentStack; - JSCompiler_object_inline_message_2434 = - JSCompiler_object_inline_message_2434 - ? Error(JSCompiler_object_inline_message_2434) + JSCompiler_object_inline_message_2420 = message; + JSCompiler_object_inline_digest_2421 = JSCompiler_temp; + JSCompiler_object_inline_stack_2422 = instance; + JSCompiler_object_inline_componentStack_2423 = componentStack; + JSCompiler_object_inline_message_2420 = + JSCompiler_object_inline_message_2420 + ? Error(JSCompiler_object_inline_message_2420) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2434.stack = - JSCompiler_object_inline_stack_2436 || ""; - JSCompiler_object_inline_message_2434.digest = - JSCompiler_object_inline_digest_2435; - JSCompiler_object_inline_digest_2435 = - void 0 === JSCompiler_object_inline_componentStack_2437 + JSCompiler_object_inline_message_2420.stack = + JSCompiler_object_inline_stack_2422 || ""; + JSCompiler_object_inline_message_2420.digest = + JSCompiler_object_inline_digest_2421; + JSCompiler_object_inline_digest_2421 = + void 0 === JSCompiler_object_inline_componentStack_2423 ? null - : JSCompiler_object_inline_componentStack_2437; - "string" === typeof JSCompiler_object_inline_digest_2435 && + : JSCompiler_object_inline_componentStack_2423; + "string" === typeof JSCompiler_object_inline_digest_2421 && CapturedStacks.set( - JSCompiler_object_inline_message_2434, - JSCompiler_object_inline_digest_2435 + JSCompiler_object_inline_message_2420, + JSCompiler_object_inline_digest_2421 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2434, + value: JSCompiler_object_inline_message_2420, source: null, - stack: JSCompiler_object_inline_digest_2435 + stack: JSCompiler_object_inline_digest_2421 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9443,25 +9429,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2435 = + (JSCompiler_object_inline_digest_2421 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2435) + didReceiveUpdate || JSCompiler_object_inline_digest_2421) ) { - JSCompiler_object_inline_digest_2435 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2435) { - JSCompiler_object_inline_stack_2436 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2436 & 42)) - JSCompiler_object_inline_stack_2436 = 1; + JSCompiler_object_inline_digest_2421 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2421) { + JSCompiler_object_inline_stack_2422 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2422 & 42)) + JSCompiler_object_inline_stack_2422 = 1; else - switch (JSCompiler_object_inline_stack_2436) { + switch (JSCompiler_object_inline_stack_2422) { case 2: - JSCompiler_object_inline_stack_2436 = 1; + JSCompiler_object_inline_stack_2422 = 1; break; case 8: - JSCompiler_object_inline_stack_2436 = 4; + JSCompiler_object_inline_stack_2422 = 4; break; case 32: - JSCompiler_object_inline_stack_2436 = 16; + JSCompiler_object_inline_stack_2422 = 16; break; case 128: case 256: @@ -9482,40 +9468,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2436 = 64; + JSCompiler_object_inline_stack_2422 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2436 = 134217728; + JSCompiler_object_inline_stack_2422 = 134217728; break; default: - JSCompiler_object_inline_stack_2436 = 0; + JSCompiler_object_inline_stack_2422 = 0; } - JSCompiler_object_inline_stack_2436 = + JSCompiler_object_inline_stack_2422 = 0 !== - (JSCompiler_object_inline_stack_2436 & - (JSCompiler_object_inline_digest_2435.suspendedLanes | + (JSCompiler_object_inline_stack_2422 & + (JSCompiler_object_inline_digest_2421.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2436; + : JSCompiler_object_inline_stack_2422; if ( - 0 !== JSCompiler_object_inline_stack_2436 && - JSCompiler_object_inline_stack_2436 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2422 && + JSCompiler_object_inline_stack_2422 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2436), + ((prevState.retryLane = JSCompiler_object_inline_stack_2422), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2436 + JSCompiler_object_inline_stack_2422 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421, current, - JSCompiler_object_inline_stack_2436 + JSCompiler_object_inline_stack_2422 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2434.data === + JSCompiler_object_inline_message_2420.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9523,7 +9509,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2434.data === + JSCompiler_object_inline_message_2420.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9531,12 +9517,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2434._reactRetry = + (JSCompiler_object_inline_message_2420._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2434.nextSibling + JSCompiler_object_inline_message_2420.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9554,73 +9540,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2436.children + JSCompiler_object_inline_stack_2422.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2437) + if (JSCompiler_object_inline_componentStack_2423) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2437 = - JSCompiler_object_inline_stack_2436.fallback), - (JSCompiler_object_inline_message_2434 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2423 = + JSCompiler_object_inline_stack_2422.fallback), + (JSCompiler_object_inline_message_2420 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2436.children + children: JSCompiler_object_inline_stack_2422.children }), disableLegacyMode || - (JSCompiler_object_inline_message_2434 & ConcurrentMode) !== NoMode || + (JSCompiler_object_inline_message_2420 & ConcurrentMode) !== NoMode || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2436 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2422 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2436.subtreeFlags = + (JSCompiler_object_inline_stack_2422.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2436 = workInProgress.child), - (JSCompiler_object_inline_stack_2436.childLanes = 0), - (JSCompiler_object_inline_stack_2436.pendingProps = + : ((JSCompiler_object_inline_stack_2422 = workInProgress.child), + (JSCompiler_object_inline_stack_2422.childLanes = 0), + (JSCompiler_object_inline_stack_2422.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2436.actualDuration = 0), - (JSCompiler_object_inline_stack_2436.actualStartTime = -1), - (JSCompiler_object_inline_stack_2436.selfBaseDuration = + ((JSCompiler_object_inline_stack_2422.actualDuration = 0), + (JSCompiler_object_inline_stack_2422.actualStartTime = -1), + (JSCompiler_object_inline_stack_2422.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2436.treeBaseDuration = + (JSCompiler_object_inline_stack_2422.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2437 = + ? (JSCompiler_object_inline_componentStack_2423 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2437 + JSCompiler_object_inline_componentStack_2423 )) - : ((JSCompiler_object_inline_componentStack_2437 = + : ((JSCompiler_object_inline_componentStack_2423 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2437, - JSCompiler_object_inline_message_2434, + JSCompiler_object_inline_componentStack_2423, + JSCompiler_object_inline_message_2420, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2437.flags |= 2)), - (JSCompiler_object_inline_componentStack_2437.return = + (JSCompiler_object_inline_componentStack_2423.flags |= 2)), + (JSCompiler_object_inline_componentStack_2423.return = workInProgress), - (JSCompiler_object_inline_stack_2436.return = workInProgress), - (JSCompiler_object_inline_stack_2436.sibling = - JSCompiler_object_inline_componentStack_2437), - (workInProgress.child = JSCompiler_object_inline_stack_2436), - (JSCompiler_object_inline_stack_2436 = - JSCompiler_object_inline_componentStack_2437), - (JSCompiler_object_inline_componentStack_2437 = workInProgress.child), - (JSCompiler_object_inline_message_2434 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2434 - ? (JSCompiler_object_inline_message_2434 = + (JSCompiler_object_inline_stack_2422.return = workInProgress), + (JSCompiler_object_inline_stack_2422.sibling = + JSCompiler_object_inline_componentStack_2423), + (workInProgress.child = JSCompiler_object_inline_stack_2422), + (JSCompiler_object_inline_stack_2422 = + JSCompiler_object_inline_componentStack_2423), + (JSCompiler_object_inline_componentStack_2423 = workInProgress.child), + (JSCompiler_object_inline_message_2420 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2420 + ? (JSCompiler_object_inline_message_2420 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2434.cachePool), + JSCompiler_object_inline_message_2420.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9628,34 +9614,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2434 = { + (JSCompiler_object_inline_message_2420 = { baseLanes: - JSCompiler_object_inline_message_2434.baseLanes | renderLanes, + JSCompiler_object_inline_message_2420.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2437.memoizedState = - JSCompiler_object_inline_message_2434), + (JSCompiler_object_inline_componentStack_2423.memoizedState = + JSCompiler_object_inline_message_2420), enableTransitionTracing && - ((JSCompiler_object_inline_message_2434 = enableTransitionTracing + ((JSCompiler_object_inline_message_2420 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2434 && + null !== JSCompiler_object_inline_message_2420 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2437.updateQueue), + JSCompiler_object_inline_componentStack_2423.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2437.updateQueue = { - transitions: JSCompiler_object_inline_message_2434, + ? (JSCompiler_object_inline_componentStack_2423.updateQueue = { + transitions: JSCompiler_object_inline_message_2420, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2437.updateQueue = + ? (JSCompiler_object_inline_componentStack_2423.updateQueue = { - transitions: JSCompiler_object_inline_message_2434, + transitions: JSCompiler_object_inline_message_2420, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9663,41 +9649,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2434), + JSCompiler_object_inline_message_2420), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2437.childLanes = + (JSCompiler_object_inline_componentStack_2423.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2436 + JSCompiler_object_inline_stack_2422 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2435 = current.child; - current = JSCompiler_object_inline_digest_2435.sibling; - JSCompiler_object_inline_digest_2435 = createWorkInProgress( - JSCompiler_object_inline_digest_2435, + JSCompiler_object_inline_digest_2421 = current.child; + current = JSCompiler_object_inline_digest_2421.sibling; + JSCompiler_object_inline_digest_2421 = createWorkInProgress( + JSCompiler_object_inline_digest_2421, { mode: "visible", - children: JSCompiler_object_inline_stack_2436.children + children: JSCompiler_object_inline_stack_2422.children } ); disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode || - (JSCompiler_object_inline_digest_2435.lanes = renderLanes); - JSCompiler_object_inline_digest_2435.return = workInProgress; - JSCompiler_object_inline_digest_2435.sibling = null; + (JSCompiler_object_inline_digest_2421.lanes = renderLanes); + JSCompiler_object_inline_digest_2421.return = workInProgress; + JSCompiler_object_inline_digest_2421.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2435; + workInProgress.child = JSCompiler_object_inline_digest_2421; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2435; + return JSCompiler_object_inline_digest_2421; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -17295,83 +17281,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag || 27 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -27626,11 +27535,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-146df7c3-20240730" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-96f3093b-20240730" !== 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.0.0-www-classic-146df7c3-20240730\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-96f3093b-20240730\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27674,11 +27583,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27689,7 +27598,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -28332,7 +28240,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 874e620735347..745fa47b20611 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -75,20 +75,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork$1()); @@ -8838,32 +8824,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2447; - var JSCompiler_object_inline_stack_2448 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2433; + var JSCompiler_object_inline_stack_2434 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2449 = !1; + var JSCompiler_object_inline_componentStack_2435 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2447 = didSuspend) || - (JSCompiler_object_inline_digest_2447 = + (JSCompiler_object_inline_digest_2433 = didSuspend) || + (JSCompiler_object_inline_digest_2433 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2447 && - ((JSCompiler_object_inline_componentStack_2449 = !0), + JSCompiler_object_inline_digest_2433 && + ((JSCompiler_object_inline_componentStack_2435 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2447 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2433 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2449 + JSCompiler_object_inline_componentStack_2435 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2446 = nextHydratableInstance; + var JSCompiler_object_inline_message_2432 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2446)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2432)) { c: { - var instance = JSCompiler_object_inline_message_2446; + var instance = JSCompiler_object_inline_message_2432; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8904,19 +8890,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2446 + JSCompiler_object_inline_message_2432 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2446 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2432 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2446 && - ((JSCompiler_object_inline_message_2446 = - JSCompiler_object_inline_message_2446.dehydrated), - null !== JSCompiler_object_inline_message_2446) + null !== JSCompiler_object_inline_message_2432 && + ((JSCompiler_object_inline_message_2432 = + JSCompiler_object_inline_message_2432.dehydrated), + null !== JSCompiler_object_inline_message_2432) ) return ( - JSCompiler_object_inline_message_2446.data === + JSCompiler_object_inline_message_2432.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8924,27 +8910,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2446 = - JSCompiler_object_inline_stack_2448.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2448.fallback; - if (JSCompiler_object_inline_componentStack_2449) + JSCompiler_object_inline_message_2432 = + JSCompiler_object_inline_stack_2434.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2434.fallback; + if (JSCompiler_object_inline_componentStack_2435) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2448 = + (JSCompiler_object_inline_stack_2434 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2446, + JSCompiler_object_inline_message_2432, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2449 = + (JSCompiler_object_inline_componentStack_2435 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2449.memoizedState = + (JSCompiler_object_inline_componentStack_2435.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2449.childLanes = + (JSCompiler_object_inline_componentStack_2435.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2447, + JSCompiler_object_inline_digest_2433, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -8957,9 +8943,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2449.updateQueue), + JSCompiler_object_inline_componentStack_2435.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2449.updateQueue = + ? (JSCompiler_object_inline_componentStack_2435.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -8967,46 +8953,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2448 + JSCompiler_object_inline_stack_2434 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2448.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2434.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2448 = + (JSCompiler_object_inline_stack_2434 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2446, + JSCompiler_object_inline_message_2432, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2449 = + (JSCompiler_object_inline_componentStack_2435 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2449.memoizedState = + (JSCompiler_object_inline_componentStack_2435.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2449.childLanes = + (JSCompiler_object_inline_componentStack_2435.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2447, + JSCompiler_object_inline_digest_2433, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2448 + JSCompiler_object_inline_stack_2434 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2446 + JSCompiler_object_inline_message_2432 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2446 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2446) + ((JSCompiler_object_inline_message_2432 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2432) ) { if (didSuspend) workInProgress.flags & 256 @@ -9023,94 +9009,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2449 = - JSCompiler_object_inline_stack_2448.fallback), - (JSCompiler_object_inline_message_2446 = workInProgress.mode), - (JSCompiler_object_inline_stack_2448 = + (JSCompiler_object_inline_componentStack_2435 = + JSCompiler_object_inline_stack_2434.fallback), + (JSCompiler_object_inline_message_2432 = workInProgress.mode), + (JSCompiler_object_inline_stack_2434 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2448.children + children: JSCompiler_object_inline_stack_2434.children }, - JSCompiler_object_inline_message_2446 + JSCompiler_object_inline_message_2432 )), - (JSCompiler_object_inline_componentStack_2449 = + (JSCompiler_object_inline_componentStack_2435 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2449, - JSCompiler_object_inline_message_2446, + JSCompiler_object_inline_componentStack_2435, + JSCompiler_object_inline_message_2432, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2449.flags |= 2), - (JSCompiler_object_inline_stack_2448.return = workInProgress), - (JSCompiler_object_inline_componentStack_2449.return = + (JSCompiler_object_inline_componentStack_2435.flags |= 2), + (JSCompiler_object_inline_stack_2434.return = workInProgress), + (JSCompiler_object_inline_componentStack_2435.return = workInProgress), - (JSCompiler_object_inline_stack_2448.sibling = - JSCompiler_object_inline_componentStack_2449), - (workInProgress.child = JSCompiler_object_inline_stack_2448), + (JSCompiler_object_inline_stack_2434.sibling = + JSCompiler_object_inline_componentStack_2435), + (workInProgress.child = JSCompiler_object_inline_stack_2434), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2448 = workInProgress.child), - (JSCompiler_object_inline_stack_2448.memoizedState = + (JSCompiler_object_inline_stack_2434 = workInProgress.child), + (JSCompiler_object_inline_stack_2434.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2448.childLanes = + (JSCompiler_object_inline_stack_2434.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2447, + JSCompiler_object_inline_digest_2433, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2449)); + JSCompiler_object_inline_componentStack_2435)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2446.data === + JSCompiler_object_inline_message_2432.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2447 = - JSCompiler_object_inline_message_2446.nextSibling && - JSCompiler_object_inline_message_2446.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2447) { - JSCompiler_temp = JSCompiler_object_inline_digest_2447.dgst; - var message = JSCompiler_object_inline_digest_2447.msg; - instance = JSCompiler_object_inline_digest_2447.stck; - var componentStack = JSCompiler_object_inline_digest_2447.cstck; + JSCompiler_object_inline_digest_2433 = + JSCompiler_object_inline_message_2432.nextSibling && + JSCompiler_object_inline_message_2432.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2433) { + JSCompiler_temp = JSCompiler_object_inline_digest_2433.dgst; + var message = JSCompiler_object_inline_digest_2433.msg; + instance = JSCompiler_object_inline_digest_2433.stck; + var componentStack = JSCompiler_object_inline_digest_2433.cstck; } - JSCompiler_object_inline_message_2446 = message; - JSCompiler_object_inline_digest_2447 = JSCompiler_temp; - JSCompiler_object_inline_stack_2448 = instance; - JSCompiler_object_inline_componentStack_2449 = componentStack; - JSCompiler_object_inline_message_2446 = - JSCompiler_object_inline_message_2446 - ? Error(JSCompiler_object_inline_message_2446) + JSCompiler_object_inline_message_2432 = message; + JSCompiler_object_inline_digest_2433 = JSCompiler_temp; + JSCompiler_object_inline_stack_2434 = instance; + JSCompiler_object_inline_componentStack_2435 = componentStack; + JSCompiler_object_inline_message_2432 = + JSCompiler_object_inline_message_2432 + ? Error(JSCompiler_object_inline_message_2432) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2446.stack = - JSCompiler_object_inline_stack_2448 || ""; - JSCompiler_object_inline_message_2446.digest = - JSCompiler_object_inline_digest_2447; - JSCompiler_object_inline_digest_2447 = - void 0 === JSCompiler_object_inline_componentStack_2449 + JSCompiler_object_inline_message_2432.stack = + JSCompiler_object_inline_stack_2434 || ""; + JSCompiler_object_inline_message_2432.digest = + JSCompiler_object_inline_digest_2433; + JSCompiler_object_inline_digest_2433 = + void 0 === JSCompiler_object_inline_componentStack_2435 ? null - : JSCompiler_object_inline_componentStack_2449; - "string" === typeof JSCompiler_object_inline_digest_2447 && + : JSCompiler_object_inline_componentStack_2435; + "string" === typeof JSCompiler_object_inline_digest_2433 && CapturedStacks.set( - JSCompiler_object_inline_message_2446, - JSCompiler_object_inline_digest_2447 + JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_digest_2433 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2446, + value: JSCompiler_object_inline_message_2432, source: null, - stack: JSCompiler_object_inline_digest_2447 + stack: JSCompiler_object_inline_digest_2433 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9125,25 +9111,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2447 = + (JSCompiler_object_inline_digest_2433 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2447) + didReceiveUpdate || JSCompiler_object_inline_digest_2433) ) { - JSCompiler_object_inline_digest_2447 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2447) { - JSCompiler_object_inline_stack_2448 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2448 & 42)) - JSCompiler_object_inline_stack_2448 = 1; + JSCompiler_object_inline_digest_2433 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2433) { + JSCompiler_object_inline_stack_2434 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2434 & 42)) + JSCompiler_object_inline_stack_2434 = 1; else - switch (JSCompiler_object_inline_stack_2448) { + switch (JSCompiler_object_inline_stack_2434) { case 2: - JSCompiler_object_inline_stack_2448 = 1; + JSCompiler_object_inline_stack_2434 = 1; break; case 8: - JSCompiler_object_inline_stack_2448 = 4; + JSCompiler_object_inline_stack_2434 = 4; break; case 32: - JSCompiler_object_inline_stack_2448 = 16; + JSCompiler_object_inline_stack_2434 = 16; break; case 128: case 256: @@ -9164,40 +9150,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2448 = 64; + JSCompiler_object_inline_stack_2434 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2448 = 134217728; + JSCompiler_object_inline_stack_2434 = 134217728; break; default: - JSCompiler_object_inline_stack_2448 = 0; + JSCompiler_object_inline_stack_2434 = 0; } - JSCompiler_object_inline_stack_2448 = + JSCompiler_object_inline_stack_2434 = 0 !== - (JSCompiler_object_inline_stack_2448 & - (JSCompiler_object_inline_digest_2447.suspendedLanes | + (JSCompiler_object_inline_stack_2434 & + (JSCompiler_object_inline_digest_2433.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2448; + : JSCompiler_object_inline_stack_2434; if ( - 0 !== JSCompiler_object_inline_stack_2448 && - JSCompiler_object_inline_stack_2448 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2434 && + JSCompiler_object_inline_stack_2434 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2448), + ((prevState.retryLane = JSCompiler_object_inline_stack_2434), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2448 + JSCompiler_object_inline_stack_2434 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2447, + JSCompiler_object_inline_digest_2433, current, - JSCompiler_object_inline_stack_2448 + JSCompiler_object_inline_stack_2434 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2446.data === + JSCompiler_object_inline_message_2432.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9205,7 +9191,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2446.data === + JSCompiler_object_inline_message_2432.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9213,12 +9199,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2446._reactRetry = + (JSCompiler_object_inline_message_2432._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2446.nextSibling + JSCompiler_object_inline_message_2432.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9236,57 +9222,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2448.children + JSCompiler_object_inline_stack_2434.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2449) + if (JSCompiler_object_inline_componentStack_2435) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2449 = - JSCompiler_object_inline_stack_2448.fallback), - (JSCompiler_object_inline_message_2446 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2435 = + JSCompiler_object_inline_stack_2434.fallback), + (JSCompiler_object_inline_message_2432 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2448 = createWorkInProgress( + (JSCompiler_object_inline_stack_2434 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2448.children + children: JSCompiler_object_inline_stack_2434.children } )), - (JSCompiler_object_inline_stack_2448.subtreeFlags = + (JSCompiler_object_inline_stack_2434.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2449 = + ? (JSCompiler_object_inline_componentStack_2435 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2449 + JSCompiler_object_inline_componentStack_2435 )) - : ((JSCompiler_object_inline_componentStack_2449 = + : ((JSCompiler_object_inline_componentStack_2435 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2449, - JSCompiler_object_inline_message_2446, + JSCompiler_object_inline_componentStack_2435, + JSCompiler_object_inline_message_2432, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2449.flags |= 2)), - (JSCompiler_object_inline_componentStack_2449.return = + (JSCompiler_object_inline_componentStack_2435.flags |= 2)), + (JSCompiler_object_inline_componentStack_2435.return = workInProgress), - (JSCompiler_object_inline_stack_2448.return = workInProgress), - (JSCompiler_object_inline_stack_2448.sibling = - JSCompiler_object_inline_componentStack_2449), - (workInProgress.child = JSCompiler_object_inline_stack_2448), - (JSCompiler_object_inline_stack_2448 = - JSCompiler_object_inline_componentStack_2449), - (JSCompiler_object_inline_componentStack_2449 = workInProgress.child), - (JSCompiler_object_inline_message_2446 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2446 - ? (JSCompiler_object_inline_message_2446 = + (JSCompiler_object_inline_stack_2434.return = workInProgress), + (JSCompiler_object_inline_stack_2434.sibling = + JSCompiler_object_inline_componentStack_2435), + (workInProgress.child = JSCompiler_object_inline_stack_2434), + (JSCompiler_object_inline_stack_2434 = + JSCompiler_object_inline_componentStack_2435), + (JSCompiler_object_inline_componentStack_2435 = workInProgress.child), + (JSCompiler_object_inline_message_2432 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2432 + ? (JSCompiler_object_inline_message_2432 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2446.cachePool), + JSCompiler_object_inline_message_2432.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9294,34 +9280,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2446 = { + (JSCompiler_object_inline_message_2432 = { baseLanes: - JSCompiler_object_inline_message_2446.baseLanes | renderLanes, + JSCompiler_object_inline_message_2432.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2449.memoizedState = - JSCompiler_object_inline_message_2446), + (JSCompiler_object_inline_componentStack_2435.memoizedState = + JSCompiler_object_inline_message_2432), enableTransitionTracing && - ((JSCompiler_object_inline_message_2446 = enableTransitionTracing + ((JSCompiler_object_inline_message_2432 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2446 && + null !== JSCompiler_object_inline_message_2432 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2449.updateQueue), + JSCompiler_object_inline_componentStack_2435.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2449.updateQueue = { - transitions: JSCompiler_object_inline_message_2446, + ? (JSCompiler_object_inline_componentStack_2435.updateQueue = { + transitions: JSCompiler_object_inline_message_2432, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2449.updateQueue = + ? (JSCompiler_object_inline_componentStack_2435.updateQueue = { - transitions: JSCompiler_object_inline_message_2446, + transitions: JSCompiler_object_inline_message_2432, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9329,32 +9315,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2446), + JSCompiler_object_inline_message_2432), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2449.childLanes = + (JSCompiler_object_inline_componentStack_2435.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2447, + JSCompiler_object_inline_digest_2433, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2448 + JSCompiler_object_inline_stack_2434 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2448.children + children: JSCompiler_object_inline_stack_2434.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2447 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2447 + ((JSCompiler_object_inline_digest_2433 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2433 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2447.push(current)); + : JSCompiler_object_inline_digest_2433.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16678,83 +16664,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag || 27 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -26711,11 +26620,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-146df7c3-20240730" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-96f3093b-20240730" !== 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.0.0-www-modern-146df7c3-20240730\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-96f3093b-20240730\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26758,11 +26667,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26773,7 +26682,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -27368,7 +27276,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index f60f1e0ca4782..21bae5b1be163 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -17175,14 +17175,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1753 = React.version; if ( - "19.0.0-www-classic-146df7c3-20240730" !== + "19.0.0-www-classic-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1753 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1753, - "19.0.0-www-classic-146df7c3-20240730" + "19.0.0-www-classic-96f3093b-20240730" ) ); function flushSyncFromReconciler(fn) { @@ -17227,11 +17227,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2208 = { bundleType: 0, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2209 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17687,4 +17687,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 348af4f6b3ddb..f6e6cd49176e4 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -16549,14 +16549,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version; if ( - "19.0.0-www-modern-146df7c3-20240730" !== + "19.0.0-www-modern-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1724 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1724, - "19.0.0-www-modern-146df7c3-20240730" + "19.0.0-www-modern-96f3093b-20240730" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16574,11 +16574,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2199 = { bundleType: 0, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2200 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16941,4 +16941,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index fd57cc95d722b..a87abfc2d4196 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -17954,14 +17954,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1841 = React.version; if ( - "19.0.0-www-classic-146df7c3-20240730" !== + "19.0.0-www-classic-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1841 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1841, - "19.0.0-www-classic-146df7c3-20240730" + "19.0.0-www-classic-96f3093b-20240730" ) ); function flushSyncFromReconciler(fn) { @@ -18006,11 +18006,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1848 = { bundleType: 0, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; enableSchedulingProfiler && ((internals$jscomp$inline_1848.getLaneLabelMap = getLaneLabelMap), @@ -18469,7 +18469,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index da936242161c5..e4bf612d0f2c4 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -17311,14 +17311,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1812 = React.version; if ( - "19.0.0-www-modern-146df7c3-20240730" !== + "19.0.0-www-modern-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1812 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1812, - "19.0.0-www-modern-146df7c3-20240730" + "19.0.0-www-modern-96f3093b-20240730" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17336,11 +17336,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1814 = { bundleType: 0, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; enableSchedulingProfiler && ((internals$jscomp$inline_1814.getLaneLabelMap = getLaneLabelMap), @@ -17706,7 +17706,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 3c2e440d8bae6..141180c23c56a 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -8952,5 +8952,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index b463ae688ba85..73d46f7b705ad 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8772,5 +8772,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index be32bb2e7f54c..42cc2b2bd5424 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5883,4 +5883,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 16129abcab013..7cf99923f907a 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5796,4 +5796,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 399710b194ebd..0294ab6580658 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -75,20 +75,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork$1()); @@ -9194,32 +9180,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2469; - var JSCompiler_object_inline_stack_2470 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2455; + var JSCompiler_object_inline_stack_2456 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2471 = !1; + var JSCompiler_object_inline_componentStack_2457 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2469 = didSuspend) || - (JSCompiler_object_inline_digest_2469 = + (JSCompiler_object_inline_digest_2455 = didSuspend) || + (JSCompiler_object_inline_digest_2455 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2469 && - ((JSCompiler_object_inline_componentStack_2471 = !0), + JSCompiler_object_inline_digest_2455 && + ((JSCompiler_object_inline_componentStack_2457 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2469 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2455 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2471 + JSCompiler_object_inline_componentStack_2457 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2468 = nextHydratableInstance; + var JSCompiler_object_inline_message_2454 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2468)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2454)) { c: { - var instance = JSCompiler_object_inline_message_2468; + var instance = JSCompiler_object_inline_message_2454; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9260,19 +9246,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2468 + JSCompiler_object_inline_message_2454 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2468 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2454 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2468 && - ((JSCompiler_object_inline_message_2468 = - JSCompiler_object_inline_message_2468.dehydrated), - null !== JSCompiler_object_inline_message_2468) + null !== JSCompiler_object_inline_message_2454 && + ((JSCompiler_object_inline_message_2454 = + JSCompiler_object_inline_message_2454.dehydrated), + null !== JSCompiler_object_inline_message_2454) ) return ( - JSCompiler_object_inline_message_2468.data === + JSCompiler_object_inline_message_2454.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -9280,27 +9266,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2468 = - JSCompiler_object_inline_stack_2470.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2470.fallback; - if (JSCompiler_object_inline_componentStack_2471) + JSCompiler_object_inline_message_2454 = + JSCompiler_object_inline_stack_2456.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2456.fallback; + if (JSCompiler_object_inline_componentStack_2457) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2470 = + (JSCompiler_object_inline_stack_2456 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2468, + JSCompiler_object_inline_message_2454, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2471 = + (JSCompiler_object_inline_componentStack_2457 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2471.memoizedState = + (JSCompiler_object_inline_componentStack_2457.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2471.childLanes = + (JSCompiler_object_inline_componentStack_2457.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9313,9 +9299,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2471.updateQueue), + JSCompiler_object_inline_componentStack_2457.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2471.updateQueue = + ? (JSCompiler_object_inline_componentStack_2457.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9323,46 +9309,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2470 + JSCompiler_object_inline_stack_2456 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2470.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2456.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2470 = + (JSCompiler_object_inline_stack_2456 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2468, + JSCompiler_object_inline_message_2454, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2471 = + (JSCompiler_object_inline_componentStack_2457 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2471.memoizedState = + (JSCompiler_object_inline_componentStack_2457.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2471.childLanes = + (JSCompiler_object_inline_componentStack_2457.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2470 + JSCompiler_object_inline_stack_2456 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2468 + JSCompiler_object_inline_message_2454 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2468 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2468) + ((JSCompiler_object_inline_message_2454 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2454) ) { if (didSuspend) workInProgress.flags & 256 @@ -9379,32 +9365,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2471 = - JSCompiler_object_inline_stack_2470.fallback), - (JSCompiler_object_inline_message_2468 = workInProgress.mode), - (JSCompiler_object_inline_stack_2470 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2457 = + JSCompiler_object_inline_stack_2456.fallback), + (JSCompiler_object_inline_message_2454 = workInProgress.mode), + (JSCompiler_object_inline_stack_2456 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2470.children + children: JSCompiler_object_inline_stack_2456.children }, - JSCompiler_object_inline_message_2468, + JSCompiler_object_inline_message_2454, 0, null )), - (JSCompiler_object_inline_componentStack_2471 = + (JSCompiler_object_inline_componentStack_2457 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2471, - JSCompiler_object_inline_message_2468, + JSCompiler_object_inline_componentStack_2457, + JSCompiler_object_inline_message_2454, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2471.flags |= 2), - (JSCompiler_object_inline_stack_2470.return = workInProgress), - (JSCompiler_object_inline_componentStack_2471.return = + (JSCompiler_object_inline_componentStack_2457.flags |= 2), + (JSCompiler_object_inline_stack_2456.return = workInProgress), + (JSCompiler_object_inline_componentStack_2457.return = workInProgress), - (JSCompiler_object_inline_stack_2470.sibling = - JSCompiler_object_inline_componentStack_2471), - (workInProgress.child = JSCompiler_object_inline_stack_2470), + (JSCompiler_object_inline_stack_2456.sibling = + JSCompiler_object_inline_componentStack_2457), + (workInProgress.child = JSCompiler_object_inline_stack_2456), (disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode) && reconcileChildFibers( @@ -9413,63 +9399,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2470 = workInProgress.child), - (JSCompiler_object_inline_stack_2470.memoizedState = + (JSCompiler_object_inline_stack_2456 = workInProgress.child), + (JSCompiler_object_inline_stack_2456.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2470.childLanes = + (JSCompiler_object_inline_stack_2456.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2471)); + JSCompiler_object_inline_componentStack_2457)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2468.data === + JSCompiler_object_inline_message_2454.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2469 = - JSCompiler_object_inline_message_2468.nextSibling && - JSCompiler_object_inline_message_2468.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2469) { - JSCompiler_temp = JSCompiler_object_inline_digest_2469.dgst; - var message = JSCompiler_object_inline_digest_2469.msg; - instance = JSCompiler_object_inline_digest_2469.stck; - var componentStack = JSCompiler_object_inline_digest_2469.cstck; + JSCompiler_object_inline_digest_2455 = + JSCompiler_object_inline_message_2454.nextSibling && + JSCompiler_object_inline_message_2454.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2455) { + JSCompiler_temp = JSCompiler_object_inline_digest_2455.dgst; + var message = JSCompiler_object_inline_digest_2455.msg; + instance = JSCompiler_object_inline_digest_2455.stck; + var componentStack = JSCompiler_object_inline_digest_2455.cstck; } - JSCompiler_object_inline_message_2468 = message; - JSCompiler_object_inline_digest_2469 = JSCompiler_temp; - JSCompiler_object_inline_stack_2470 = instance; - JSCompiler_object_inline_componentStack_2471 = componentStack; - JSCompiler_object_inline_message_2468 = - JSCompiler_object_inline_message_2468 - ? Error(JSCompiler_object_inline_message_2468) + JSCompiler_object_inline_message_2454 = message; + JSCompiler_object_inline_digest_2455 = JSCompiler_temp; + JSCompiler_object_inline_stack_2456 = instance; + JSCompiler_object_inline_componentStack_2457 = componentStack; + JSCompiler_object_inline_message_2454 = + JSCompiler_object_inline_message_2454 + ? Error(JSCompiler_object_inline_message_2454) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2468.stack = - JSCompiler_object_inline_stack_2470 || ""; - JSCompiler_object_inline_message_2468.digest = - JSCompiler_object_inline_digest_2469; - JSCompiler_object_inline_digest_2469 = - void 0 === JSCompiler_object_inline_componentStack_2471 + JSCompiler_object_inline_message_2454.stack = + JSCompiler_object_inline_stack_2456 || ""; + JSCompiler_object_inline_message_2454.digest = + JSCompiler_object_inline_digest_2455; + JSCompiler_object_inline_digest_2455 = + void 0 === JSCompiler_object_inline_componentStack_2457 ? null - : JSCompiler_object_inline_componentStack_2471; - "string" === typeof JSCompiler_object_inline_digest_2469 && + : JSCompiler_object_inline_componentStack_2457; + "string" === typeof JSCompiler_object_inline_digest_2455 && CapturedStacks.set( - JSCompiler_object_inline_message_2468, - JSCompiler_object_inline_digest_2469 + JSCompiler_object_inline_message_2454, + JSCompiler_object_inline_digest_2455 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2468, + value: JSCompiler_object_inline_message_2454, source: null, - stack: JSCompiler_object_inline_digest_2469 + stack: JSCompiler_object_inline_digest_2455 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9484,25 +9470,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2469 = + (JSCompiler_object_inline_digest_2455 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2469) + didReceiveUpdate || JSCompiler_object_inline_digest_2455) ) { - JSCompiler_object_inline_digest_2469 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2469) { - JSCompiler_object_inline_stack_2470 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2470 & 42)) - JSCompiler_object_inline_stack_2470 = 1; + JSCompiler_object_inline_digest_2455 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2455) { + JSCompiler_object_inline_stack_2456 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2456 & 42)) + JSCompiler_object_inline_stack_2456 = 1; else - switch (JSCompiler_object_inline_stack_2470) { + switch (JSCompiler_object_inline_stack_2456) { case 2: - JSCompiler_object_inline_stack_2470 = 1; + JSCompiler_object_inline_stack_2456 = 1; break; case 8: - JSCompiler_object_inline_stack_2470 = 4; + JSCompiler_object_inline_stack_2456 = 4; break; case 32: - JSCompiler_object_inline_stack_2470 = 16; + JSCompiler_object_inline_stack_2456 = 16; break; case 128: case 256: @@ -9523,40 +9509,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2470 = 64; + JSCompiler_object_inline_stack_2456 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2470 = 134217728; + JSCompiler_object_inline_stack_2456 = 134217728; break; default: - JSCompiler_object_inline_stack_2470 = 0; + JSCompiler_object_inline_stack_2456 = 0; } - JSCompiler_object_inline_stack_2470 = + JSCompiler_object_inline_stack_2456 = 0 !== - (JSCompiler_object_inline_stack_2470 & - (JSCompiler_object_inline_digest_2469.suspendedLanes | + (JSCompiler_object_inline_stack_2456 & + (JSCompiler_object_inline_digest_2455.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2470; + : JSCompiler_object_inline_stack_2456; if ( - 0 !== JSCompiler_object_inline_stack_2470 && - JSCompiler_object_inline_stack_2470 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2456 && + JSCompiler_object_inline_stack_2456 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2470), + ((prevState.retryLane = JSCompiler_object_inline_stack_2456), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2470 + JSCompiler_object_inline_stack_2456 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455, current, - JSCompiler_object_inline_stack_2470 + JSCompiler_object_inline_stack_2456 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2468.data === + JSCompiler_object_inline_message_2454.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9564,7 +9550,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2468.data === + JSCompiler_object_inline_message_2454.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9572,12 +9558,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2468._reactRetry = + (JSCompiler_object_inline_message_2454._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2468.nextSibling + JSCompiler_object_inline_message_2454.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9595,73 +9581,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2470.children + JSCompiler_object_inline_stack_2456.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2471) + if (JSCompiler_object_inline_componentStack_2457) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2471 = - JSCompiler_object_inline_stack_2470.fallback), - (JSCompiler_object_inline_message_2468 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2457 = + JSCompiler_object_inline_stack_2456.fallback), + (JSCompiler_object_inline_message_2454 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2470.children + children: JSCompiler_object_inline_stack_2456.children }), disableLegacyMode || - (JSCompiler_object_inline_message_2468 & ConcurrentMode) !== NoMode || + (JSCompiler_object_inline_message_2454 & ConcurrentMode) !== NoMode || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2470 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2456 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2470.subtreeFlags = + (JSCompiler_object_inline_stack_2456.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2470 = workInProgress.child), - (JSCompiler_object_inline_stack_2470.childLanes = 0), - (JSCompiler_object_inline_stack_2470.pendingProps = + : ((JSCompiler_object_inline_stack_2456 = workInProgress.child), + (JSCompiler_object_inline_stack_2456.childLanes = 0), + (JSCompiler_object_inline_stack_2456.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2470.actualDuration = 0), - (JSCompiler_object_inline_stack_2470.actualStartTime = -1), - (JSCompiler_object_inline_stack_2470.selfBaseDuration = + ((JSCompiler_object_inline_stack_2456.actualDuration = 0), + (JSCompiler_object_inline_stack_2456.actualStartTime = -1), + (JSCompiler_object_inline_stack_2456.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2470.treeBaseDuration = + (JSCompiler_object_inline_stack_2456.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2471 = + ? (JSCompiler_object_inline_componentStack_2457 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2471 + JSCompiler_object_inline_componentStack_2457 )) - : ((JSCompiler_object_inline_componentStack_2471 = + : ((JSCompiler_object_inline_componentStack_2457 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2471, - JSCompiler_object_inline_message_2468, + JSCompiler_object_inline_componentStack_2457, + JSCompiler_object_inline_message_2454, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2471.flags |= 2)), - (JSCompiler_object_inline_componentStack_2471.return = + (JSCompiler_object_inline_componentStack_2457.flags |= 2)), + (JSCompiler_object_inline_componentStack_2457.return = workInProgress), - (JSCompiler_object_inline_stack_2470.return = workInProgress), - (JSCompiler_object_inline_stack_2470.sibling = - JSCompiler_object_inline_componentStack_2471), - (workInProgress.child = JSCompiler_object_inline_stack_2470), - (JSCompiler_object_inline_stack_2470 = - JSCompiler_object_inline_componentStack_2471), - (JSCompiler_object_inline_componentStack_2471 = workInProgress.child), - (JSCompiler_object_inline_message_2468 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2468 - ? (JSCompiler_object_inline_message_2468 = + (JSCompiler_object_inline_stack_2456.return = workInProgress), + (JSCompiler_object_inline_stack_2456.sibling = + JSCompiler_object_inline_componentStack_2457), + (workInProgress.child = JSCompiler_object_inline_stack_2456), + (JSCompiler_object_inline_stack_2456 = + JSCompiler_object_inline_componentStack_2457), + (JSCompiler_object_inline_componentStack_2457 = workInProgress.child), + (JSCompiler_object_inline_message_2454 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2454 + ? (JSCompiler_object_inline_message_2454 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2468.cachePool), + JSCompiler_object_inline_message_2454.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9669,34 +9655,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2468 = { + (JSCompiler_object_inline_message_2454 = { baseLanes: - JSCompiler_object_inline_message_2468.baseLanes | renderLanes, + JSCompiler_object_inline_message_2454.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2471.memoizedState = - JSCompiler_object_inline_message_2468), + (JSCompiler_object_inline_componentStack_2457.memoizedState = + JSCompiler_object_inline_message_2454), enableTransitionTracing && - ((JSCompiler_object_inline_message_2468 = enableTransitionTracing + ((JSCompiler_object_inline_message_2454 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2468 && + null !== JSCompiler_object_inline_message_2454 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2471.updateQueue), + JSCompiler_object_inline_componentStack_2457.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2471.updateQueue = { - transitions: JSCompiler_object_inline_message_2468, + ? (JSCompiler_object_inline_componentStack_2457.updateQueue = { + transitions: JSCompiler_object_inline_message_2454, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2471.updateQueue = + ? (JSCompiler_object_inline_componentStack_2457.updateQueue = { - transitions: JSCompiler_object_inline_message_2468, + transitions: JSCompiler_object_inline_message_2454, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9704,41 +9690,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2468), + JSCompiler_object_inline_message_2454), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2471.childLanes = + (JSCompiler_object_inline_componentStack_2457.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2470 + JSCompiler_object_inline_stack_2456 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2469 = current.child; - current = JSCompiler_object_inline_digest_2469.sibling; - JSCompiler_object_inline_digest_2469 = createWorkInProgress( - JSCompiler_object_inline_digest_2469, + JSCompiler_object_inline_digest_2455 = current.child; + current = JSCompiler_object_inline_digest_2455.sibling; + JSCompiler_object_inline_digest_2455 = createWorkInProgress( + JSCompiler_object_inline_digest_2455, { mode: "visible", - children: JSCompiler_object_inline_stack_2470.children + children: JSCompiler_object_inline_stack_2456.children } ); disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode || - (JSCompiler_object_inline_digest_2469.lanes = renderLanes); - JSCompiler_object_inline_digest_2469.return = workInProgress; - JSCompiler_object_inline_digest_2469.sibling = null; + (JSCompiler_object_inline_digest_2455.lanes = renderLanes); + JSCompiler_object_inline_digest_2455.return = workInProgress; + JSCompiler_object_inline_digest_2455.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2469; + workInProgress.child = JSCompiler_object_inline_digest_2455; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2469; + return JSCompiler_object_inline_digest_2455; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -17518,83 +17504,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag || 27 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -27960,11 +27869,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-146df7c3-20240730" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-96f3093b-20240730" !== 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.0.0-www-classic-146df7c3-20240730\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-96f3093b-20240730\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28008,11 +27917,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28023,7 +27932,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -28832,5 +28740,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 26557152f7d33..db7a015c2ad8c 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -75,20 +75,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork$1()); @@ -8879,32 +8865,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2481; - var JSCompiler_object_inline_stack_2482 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2467; + var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2483 = !1; + var JSCompiler_object_inline_componentStack_2469 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2481 = didSuspend) || - (JSCompiler_object_inline_digest_2481 = + (JSCompiler_object_inline_digest_2467 = didSuspend) || + (JSCompiler_object_inline_digest_2467 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2481 && - ((JSCompiler_object_inline_componentStack_2483 = !0), + JSCompiler_object_inline_digest_2467 && + ((JSCompiler_object_inline_componentStack_2469 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2481 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2483 + JSCompiler_object_inline_componentStack_2469 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2480 = nextHydratableInstance; + var JSCompiler_object_inline_message_2466 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2480)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) { c: { - var instance = JSCompiler_object_inline_message_2480; + var instance = JSCompiler_object_inline_message_2466; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8945,19 +8931,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2480 + JSCompiler_object_inline_message_2466 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2480 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2466 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2480 && - ((JSCompiler_object_inline_message_2480 = - JSCompiler_object_inline_message_2480.dehydrated), - null !== JSCompiler_object_inline_message_2480) + null !== JSCompiler_object_inline_message_2466 && + ((JSCompiler_object_inline_message_2466 = + JSCompiler_object_inline_message_2466.dehydrated), + null !== JSCompiler_object_inline_message_2466) ) return ( - JSCompiler_object_inline_message_2480.data === + JSCompiler_object_inline_message_2466.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8965,27 +8951,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2480 = - JSCompiler_object_inline_stack_2482.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2482.fallback; - if (JSCompiler_object_inline_componentStack_2483) + JSCompiler_object_inline_message_2466 = + JSCompiler_object_inline_stack_2468.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2468.fallback; + if (JSCompiler_object_inline_componentStack_2469) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2482 = + (JSCompiler_object_inline_stack_2468 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2480, + JSCompiler_object_inline_message_2466, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2483 = + (JSCompiler_object_inline_componentStack_2469 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2483.memoizedState = + (JSCompiler_object_inline_componentStack_2469.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2483.childLanes = + (JSCompiler_object_inline_componentStack_2469.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2481, + JSCompiler_object_inline_digest_2467, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -8998,9 +8984,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2483.updateQueue), + JSCompiler_object_inline_componentStack_2469.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2483.updateQueue = + ? (JSCompiler_object_inline_componentStack_2469.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9008,46 +8994,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2482 + JSCompiler_object_inline_stack_2468 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2482.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2468.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2482 = + (JSCompiler_object_inline_stack_2468 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2480, + JSCompiler_object_inline_message_2466, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2483 = + (JSCompiler_object_inline_componentStack_2469 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2483.memoizedState = + (JSCompiler_object_inline_componentStack_2469.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2483.childLanes = + (JSCompiler_object_inline_componentStack_2469.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2481, + JSCompiler_object_inline_digest_2467, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2482 + JSCompiler_object_inline_stack_2468 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2480 + JSCompiler_object_inline_message_2466 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2480 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2480) + ((JSCompiler_object_inline_message_2466 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2466) ) { if (didSuspend) workInProgress.flags & 256 @@ -9064,94 +9050,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2483 = - JSCompiler_object_inline_stack_2482.fallback), - (JSCompiler_object_inline_message_2480 = workInProgress.mode), - (JSCompiler_object_inline_stack_2482 = + (JSCompiler_object_inline_componentStack_2469 = + JSCompiler_object_inline_stack_2468.fallback), + (JSCompiler_object_inline_message_2466 = workInProgress.mode), + (JSCompiler_object_inline_stack_2468 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2482.children + children: JSCompiler_object_inline_stack_2468.children }, - JSCompiler_object_inline_message_2480 + JSCompiler_object_inline_message_2466 )), - (JSCompiler_object_inline_componentStack_2483 = + (JSCompiler_object_inline_componentStack_2469 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2483, - JSCompiler_object_inline_message_2480, + JSCompiler_object_inline_componentStack_2469, + JSCompiler_object_inline_message_2466, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2483.flags |= 2), - (JSCompiler_object_inline_stack_2482.return = workInProgress), - (JSCompiler_object_inline_componentStack_2483.return = + (JSCompiler_object_inline_componentStack_2469.flags |= 2), + (JSCompiler_object_inline_stack_2468.return = workInProgress), + (JSCompiler_object_inline_componentStack_2469.return = workInProgress), - (JSCompiler_object_inline_stack_2482.sibling = - JSCompiler_object_inline_componentStack_2483), - (workInProgress.child = JSCompiler_object_inline_stack_2482), + (JSCompiler_object_inline_stack_2468.sibling = + JSCompiler_object_inline_componentStack_2469), + (workInProgress.child = JSCompiler_object_inline_stack_2468), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2482 = workInProgress.child), - (JSCompiler_object_inline_stack_2482.memoizedState = + (JSCompiler_object_inline_stack_2468 = workInProgress.child), + (JSCompiler_object_inline_stack_2468.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2482.childLanes = + (JSCompiler_object_inline_stack_2468.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2481, + JSCompiler_object_inline_digest_2467, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2483)); + JSCompiler_object_inline_componentStack_2469)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2480.data === + JSCompiler_object_inline_message_2466.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2481 = - JSCompiler_object_inline_message_2480.nextSibling && - JSCompiler_object_inline_message_2480.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2481) { - JSCompiler_temp = JSCompiler_object_inline_digest_2481.dgst; - var message = JSCompiler_object_inline_digest_2481.msg; - instance = JSCompiler_object_inline_digest_2481.stck; - var componentStack = JSCompiler_object_inline_digest_2481.cstck; + JSCompiler_object_inline_digest_2467 = + JSCompiler_object_inline_message_2466.nextSibling && + JSCompiler_object_inline_message_2466.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2467) { + JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst; + var message = JSCompiler_object_inline_digest_2467.msg; + instance = JSCompiler_object_inline_digest_2467.stck; + var componentStack = JSCompiler_object_inline_digest_2467.cstck; } - JSCompiler_object_inline_message_2480 = message; - JSCompiler_object_inline_digest_2481 = JSCompiler_temp; - JSCompiler_object_inline_stack_2482 = instance; - JSCompiler_object_inline_componentStack_2483 = componentStack; - JSCompiler_object_inline_message_2480 = - JSCompiler_object_inline_message_2480 - ? Error(JSCompiler_object_inline_message_2480) + JSCompiler_object_inline_message_2466 = message; + JSCompiler_object_inline_digest_2467 = JSCompiler_temp; + JSCompiler_object_inline_stack_2468 = instance; + JSCompiler_object_inline_componentStack_2469 = componentStack; + JSCompiler_object_inline_message_2466 = + JSCompiler_object_inline_message_2466 + ? Error(JSCompiler_object_inline_message_2466) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2480.stack = - JSCompiler_object_inline_stack_2482 || ""; - JSCompiler_object_inline_message_2480.digest = - JSCompiler_object_inline_digest_2481; - JSCompiler_object_inline_digest_2481 = - void 0 === JSCompiler_object_inline_componentStack_2483 + JSCompiler_object_inline_message_2466.stack = + JSCompiler_object_inline_stack_2468 || ""; + JSCompiler_object_inline_message_2466.digest = + JSCompiler_object_inline_digest_2467; + JSCompiler_object_inline_digest_2467 = + void 0 === JSCompiler_object_inline_componentStack_2469 ? null - : JSCompiler_object_inline_componentStack_2483; - "string" === typeof JSCompiler_object_inline_digest_2481 && + : JSCompiler_object_inline_componentStack_2469; + "string" === typeof JSCompiler_object_inline_digest_2467 && CapturedStacks.set( - JSCompiler_object_inline_message_2480, - JSCompiler_object_inline_digest_2481 + JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_digest_2467 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2480, + value: JSCompiler_object_inline_message_2466, source: null, - stack: JSCompiler_object_inline_digest_2481 + stack: JSCompiler_object_inline_digest_2467 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9166,25 +9152,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2481 = + (JSCompiler_object_inline_digest_2467 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2481) + didReceiveUpdate || JSCompiler_object_inline_digest_2467) ) { - JSCompiler_object_inline_digest_2481 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2481) { - JSCompiler_object_inline_stack_2482 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2482 & 42)) - JSCompiler_object_inline_stack_2482 = 1; + JSCompiler_object_inline_digest_2467 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2467) { + JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2468 & 42)) + JSCompiler_object_inline_stack_2468 = 1; else - switch (JSCompiler_object_inline_stack_2482) { + switch (JSCompiler_object_inline_stack_2468) { case 2: - JSCompiler_object_inline_stack_2482 = 1; + JSCompiler_object_inline_stack_2468 = 1; break; case 8: - JSCompiler_object_inline_stack_2482 = 4; + JSCompiler_object_inline_stack_2468 = 4; break; case 32: - JSCompiler_object_inline_stack_2482 = 16; + JSCompiler_object_inline_stack_2468 = 16; break; case 128: case 256: @@ -9205,40 +9191,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2482 = 64; + JSCompiler_object_inline_stack_2468 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2482 = 134217728; + JSCompiler_object_inline_stack_2468 = 134217728; break; default: - JSCompiler_object_inline_stack_2482 = 0; + JSCompiler_object_inline_stack_2468 = 0; } - JSCompiler_object_inline_stack_2482 = + JSCompiler_object_inline_stack_2468 = 0 !== - (JSCompiler_object_inline_stack_2482 & - (JSCompiler_object_inline_digest_2481.suspendedLanes | + (JSCompiler_object_inline_stack_2468 & + (JSCompiler_object_inline_digest_2467.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2482; + : JSCompiler_object_inline_stack_2468; if ( - 0 !== JSCompiler_object_inline_stack_2482 && - JSCompiler_object_inline_stack_2482 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2468 && + JSCompiler_object_inline_stack_2468 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2482), + ((prevState.retryLane = JSCompiler_object_inline_stack_2468), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2482 + JSCompiler_object_inline_stack_2468 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2481, + JSCompiler_object_inline_digest_2467, current, - JSCompiler_object_inline_stack_2482 + JSCompiler_object_inline_stack_2468 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2480.data === + JSCompiler_object_inline_message_2466.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9246,7 +9232,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2480.data === + JSCompiler_object_inline_message_2466.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9254,12 +9240,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2480._reactRetry = + (JSCompiler_object_inline_message_2466._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2480.nextSibling + JSCompiler_object_inline_message_2466.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9277,57 +9263,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2482.children + JSCompiler_object_inline_stack_2468.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2483) + if (JSCompiler_object_inline_componentStack_2469) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2483 = - JSCompiler_object_inline_stack_2482.fallback), - (JSCompiler_object_inline_message_2480 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2469 = + JSCompiler_object_inline_stack_2468.fallback), + (JSCompiler_object_inline_message_2466 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2482 = createWorkInProgress( + (JSCompiler_object_inline_stack_2468 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2482.children + children: JSCompiler_object_inline_stack_2468.children } )), - (JSCompiler_object_inline_stack_2482.subtreeFlags = + (JSCompiler_object_inline_stack_2468.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2483 = + ? (JSCompiler_object_inline_componentStack_2469 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2483 + JSCompiler_object_inline_componentStack_2469 )) - : ((JSCompiler_object_inline_componentStack_2483 = + : ((JSCompiler_object_inline_componentStack_2469 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2483, - JSCompiler_object_inline_message_2480, + JSCompiler_object_inline_componentStack_2469, + JSCompiler_object_inline_message_2466, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2483.flags |= 2)), - (JSCompiler_object_inline_componentStack_2483.return = + (JSCompiler_object_inline_componentStack_2469.flags |= 2)), + (JSCompiler_object_inline_componentStack_2469.return = workInProgress), - (JSCompiler_object_inline_stack_2482.return = workInProgress), - (JSCompiler_object_inline_stack_2482.sibling = - JSCompiler_object_inline_componentStack_2483), - (workInProgress.child = JSCompiler_object_inline_stack_2482), - (JSCompiler_object_inline_stack_2482 = - JSCompiler_object_inline_componentStack_2483), - (JSCompiler_object_inline_componentStack_2483 = workInProgress.child), - (JSCompiler_object_inline_message_2480 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2480 - ? (JSCompiler_object_inline_message_2480 = + (JSCompiler_object_inline_stack_2468.return = workInProgress), + (JSCompiler_object_inline_stack_2468.sibling = + JSCompiler_object_inline_componentStack_2469), + (workInProgress.child = JSCompiler_object_inline_stack_2468), + (JSCompiler_object_inline_stack_2468 = + JSCompiler_object_inline_componentStack_2469), + (JSCompiler_object_inline_componentStack_2469 = workInProgress.child), + (JSCompiler_object_inline_message_2466 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2466 + ? (JSCompiler_object_inline_message_2466 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2480.cachePool), + JSCompiler_object_inline_message_2466.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9335,34 +9321,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2480 = { + (JSCompiler_object_inline_message_2466 = { baseLanes: - JSCompiler_object_inline_message_2480.baseLanes | renderLanes, + JSCompiler_object_inline_message_2466.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2483.memoizedState = - JSCompiler_object_inline_message_2480), + (JSCompiler_object_inline_componentStack_2469.memoizedState = + JSCompiler_object_inline_message_2466), enableTransitionTracing && - ((JSCompiler_object_inline_message_2480 = enableTransitionTracing + ((JSCompiler_object_inline_message_2466 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2480 && + null !== JSCompiler_object_inline_message_2466 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2483.updateQueue), + JSCompiler_object_inline_componentStack_2469.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2483.updateQueue = { - transitions: JSCompiler_object_inline_message_2480, + ? (JSCompiler_object_inline_componentStack_2469.updateQueue = { + transitions: JSCompiler_object_inline_message_2466, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2483.updateQueue = + ? (JSCompiler_object_inline_componentStack_2469.updateQueue = { - transitions: JSCompiler_object_inline_message_2480, + transitions: JSCompiler_object_inline_message_2466, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9370,32 +9356,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2480), + JSCompiler_object_inline_message_2466), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2483.childLanes = + (JSCompiler_object_inline_componentStack_2469.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2481, + JSCompiler_object_inline_digest_2467, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2482 + JSCompiler_object_inline_stack_2468 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2482.children + children: JSCompiler_object_inline_stack_2468.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2481 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2481 + ((JSCompiler_object_inline_digest_2467 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2467 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2481.push(current)); + : JSCompiler_object_inline_digest_2467.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16901,83 +16887,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag || 27 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -27045,11 +26954,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-146df7c3-20240730" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-96f3093b-20240730" !== 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.0.0-www-modern-146df7c3-20240730\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-96f3093b-20240730\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27092,11 +27001,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27107,7 +27016,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -27868,5 +27776,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index fc38f37ff097b..fc394893c9749 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -17504,14 +17504,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version; if ( - "19.0.0-www-classic-146df7c3-20240730" !== + "19.0.0-www-classic-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1783 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1783, - "19.0.0-www-classic-146df7c3-20240730" + "19.0.0-www-classic-96f3093b-20240730" ) ); function flushSyncFromReconciler(fn) { @@ -17556,11 +17556,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2243 = { bundleType: 0, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2244 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18167,4 +18167,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-146df7c3-20240730"; +exports.version = "19.0.0-www-classic-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index ffa6e9ac58f76..e76fc56a48d35 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -16878,14 +16878,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1754 = React.version; if ( - "19.0.0-www-modern-146df7c3-20240730" !== + "19.0.0-www-modern-96f3093b-20240730" !== isomorphicReactPackageVersion$jscomp$inline_1754 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1754, - "19.0.0-www-modern-146df7c3-20240730" + "19.0.0-www-modern-96f3093b-20240730" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16903,11 +16903,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2234 = { bundleType: 0, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2235 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17421,4 +17421,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-146df7c3-20240730"; +exports.version = "19.0.0-www-modern-96f3093b-20240730"; diff --git a/compiled/facebook-www/ReactFreshRuntime-dev.classic.js b/compiled/facebook-www/ReactFreshRuntime-dev.classic.js index 3e89c3c8ef704..33be0a687a02c 100644 --- a/compiled/facebook-www/ReactFreshRuntime-dev.classic.js +++ b/compiled/facebook-www/ReactFreshRuntime-dev.classic.js @@ -146,22 +146,6 @@ __DEV__ && ((didCollectHooks = !0), collectCustomHooksForSignature(savedType)); }; }; - exports.findAffectedHostInstances = function (families) { - var affectedInstances = new Set(); - mountedRoots.forEach(function (root) { - var helpers = helpersByRoot.get(root); - if (void 0 === helpers) - throw Error( - "Could not find helpers for a root. This is a bug in React Refresh." - ); - helpers - .findHostInstancesForRefresh(root, families) - .forEach(function (inst) { - affectedInstances.add(inst); - }); - }); - return affectedInstances; - }; exports.getFamilyByID = function (id) { return allFamiliesByID.get(id); }; diff --git a/compiled/facebook-www/ReactFreshRuntime-dev.modern.js b/compiled/facebook-www/ReactFreshRuntime-dev.modern.js index 3e89c3c8ef704..33be0a687a02c 100644 --- a/compiled/facebook-www/ReactFreshRuntime-dev.modern.js +++ b/compiled/facebook-www/ReactFreshRuntime-dev.modern.js @@ -146,22 +146,6 @@ __DEV__ && ((didCollectHooks = !0), collectCustomHooksForSignature(savedType)); }; }; - exports.findAffectedHostInstances = function (families) { - var affectedInstances = new Set(); - mountedRoots.forEach(function (root) { - var helpers = helpersByRoot.get(root); - if (void 0 === helpers) - throw Error( - "Could not find helpers for a root. This is a bug in React Refresh." - ); - helpers - .findHostInstancesForRefresh(root, families) - .forEach(function (inst) { - affectedInstances.add(inst); - }); - }); - return affectedInstances; - }; exports.getFamilyByID = function (id) { return allFamiliesByID.get(id); }; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 0894488d1db67..50df377b901e5 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -72,20 +72,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork()); @@ -15593,87 +15579,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if ( - 5 === child.tag || - 26 === child.tag || - (supportsSingletons && 27 === child.tag) - ) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -19118,7 +19023,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); @@ -19131,7 +19036,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 161714c7a1788..623040e9b4f9d 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -72,20 +72,6 @@ __DEV__ && function shouldErrorImpl() { return null; } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork()); @@ -15022,87 +15008,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if ( - 5 === child.tag || - 26 === child.tag || - (supportsSingletons && 27 === child.tag) - ) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -18480,7 +18385,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); @@ -18493,7 +18398,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 248b81f58b93d..ae28368bc7686 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -12661,7 +12661,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 3c0a768242323..697eeff3505e7 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -12154,7 +12154,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 7535298b5cee5..892d0fb5f9a53 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1075() { + function JSCompiler_object_inline_createNodeMock_1070() { return null; } function findHook(fiber, id) { @@ -78,20 +78,6 @@ __DEV__ && function createFiber(tag, pendingProps, key, mode) { return new FiberNode(tag, pendingProps, key, mode); } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (0 === root.tag && flushPassiveEffects(), @@ -12052,83 +12038,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -14902,11 +14811,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-146df7c3-20240730", + version: "19.0.0-www-classic-96f3093b-20240730", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-classic-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -14917,7 +14826,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -14927,7 +14835,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1075, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1070, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15042,5 +14950,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-classic-146df7c3-20240730"; + exports.version = "19.0.0-www-classic-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 933eb1a1e5200..a3976c47bca08 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1075() { + function JSCompiler_object_inline_createNodeMock_1070() { return null; } function findHook(fiber, id) { @@ -78,20 +78,6 @@ __DEV__ && function createFiber(tag, pendingProps, key, mode) { return new FiberNode(tag, pendingProps, key, mode); } - function findHostInstancesForRefresh(root, families) { - var hostInstances = new Set(); - families = new Set( - families.map(function (family) { - return family.current; - }) - ); - findHostInstancesForMatchingFibersRecursively( - root.current, - families, - hostInstances - ); - return hostInstances; - } function scheduleRoot(root, element) { root.context === emptyContextObject && (0 === root.tag && flushPassiveEffects(), @@ -12052,83 +12038,6 @@ __DEV__ && staleFamilies ); } - function findHostInstancesForMatchingFibersRecursively( - fiber, - types, - hostInstances - ) { - var child = fiber.child, - sibling = fiber.sibling, - type = fiber.type, - candidateType = null; - switch (fiber.tag) { - case 0: - case 15: - case 1: - candidateType = type; - break; - case 11: - candidateType = type.render; - } - type = !1; - null !== candidateType && types.has(candidateType) && (type = !0); - if (type) - a: { - b: for (child = fiber, candidateType = !1; ; ) { - if (5 === child.tag || 26 === child.tag) - (candidateType = !0), hostInstances.add(child.stateNode); - else if (null !== child.child) { - child.child.return = child; - child = child.child; - continue; - } - if (child === fiber) { - child = candidateType; - break b; - } - for (; null === child.sibling; ) { - if (null === child.return || child.return === fiber) { - child = candidateType; - break b; - } - child = child.return; - } - child.sibling.return = child.return; - child = child.sibling; - } - if (!child) - for (;;) { - switch (fiber.tag) { - case 27: - case 5: - hostInstances.add(fiber.stateNode); - break a; - case 4: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - case 3: - hostInstances.add(fiber.stateNode.containerInfo); - break a; - } - if (null === fiber.return) - throw Error("Expected to reach root first."); - fiber = fiber.return; - } - } - else - null !== child && - findHostInstancesForMatchingFibersRecursively( - child, - types, - hostInstances - ); - null !== sibling && - findHostInstancesForMatchingFibersRecursively( - sibling, - types, - hostInstances - ); - } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; @@ -14902,11 +14811,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-146df7c3-20240730", + version: "19.0.0-www-modern-96f3093b-20240730", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-146df7c3-20240730" + reconcilerVersion: "19.0.0-www-modern-96f3093b-20240730" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -14917,7 +14826,6 @@ __DEV__ && internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; - internals.findHostInstancesForRefresh = findHostInstancesForRefresh; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; @@ -14927,7 +14835,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1075, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1070, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15042,5 +14950,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-modern-146df7c3-20240730"; + exports.version = "19.0.0-www-modern-96f3093b-20240730"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 384b0ce9ab9bd..1864a0b7dfce9 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.0.0-www-classic-146df7c3-20240730 \ No newline at end of file +19.0.0-www-classic-96f3093b-20240730 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 438958249612d..ba43f661ca308 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.0.0-www-modern-146df7c3-20240730 \ No newline at end of file +19.0.0-www-modern-96f3093b-20240730 \ No newline at end of file