Root import types from react-native in ReactNativeTypes (#33063)

DiffTrain build for [9518f11856](https://github.com/facebook/react/commit/9518f1185621aecb99fd72385cdb137c6e8bd8fe)
This commit is contained in:
huntie
2025-05-09 04:18:34 -07:00
parent e9cd841727
commit 038fe5aafd
26 changed files with 1458 additions and 1180 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-21fdf308-20250508
19.2.0-native-fb-9518f118-20250508
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<879734e451df2cdd333c693d19eea634>>
* @generated SignedSource<<9ce20965cef4ec7444a6a12df471be69>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e334c27c92cc40ff972f97bccdb82f2d>>
* @generated SignedSource<<b0cc0f4456efbea270f20c9ea825fc77>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e334c27c92cc40ff972f97bccdb82f2d>>
* @generated SignedSource<<b0cc0f4456efbea270f20c9ea825fc77>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<601a133d3a33f7f0b400fa8b4d795409>>
* @generated SignedSource<<1cdbc9b22786eea9f336e353ca7f85cd>>
*/
/*
@@ -85,7 +85,7 @@ __DEV__ &&
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
);
}
function noop() {}
function noop$2() {}
function warnForMissingKey() {}
function setToSortedString(set) {
var array = [];
@@ -1182,7 +1182,8 @@ __DEV__ &&
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes =
@@ -1192,7 +1193,8 @@ __DEV__ &&
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1327,7 +1329,8 @@ __DEV__ &&
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -3246,7 +3249,6 @@ __DEV__ &&
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
nativeEvent.correspondingUseElement &&
@@ -5245,6 +5247,7 @@ __DEV__ &&
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$3() {}
function trackUsedThenable(thenableState, thenable, index) {
null !== ReactSharedInternals.actQueue &&
(ReactSharedInternals.didUsePromise = !0);
@@ -5258,7 +5261,7 @@ __DEV__ &&
console.error(
"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
)),
thenable.then(noop$1, noop$1),
thenable.then(noop$3, noop$3),
(thenable = index));
switch (thenable.status) {
case "fulfilled":
@@ -5271,7 +5274,7 @@ __DEV__ &&
);
default:
if ("string" === typeof thenable.status)
thenable.then(noop$1, noop$1);
thenable.then(noop$3, noop$3);
else {
thenableState = workInProgressRoot;
if (
@@ -8169,7 +8172,7 @@ __DEV__ &&
pendingState,
NotPendingTransition,
null === action
? noop
? noop$2
: function () {
requestFormReset$1(formFiber);
return action(formData);
@@ -10041,24 +10044,24 @@ __DEV__ &&
return current;
}
function updateSuspenseComponent(current, workInProgress, renderLanes) {
var JSCompiler_object_inline_digest_2666;
var JSCompiler_object_inline_stack_2667 = workInProgress.pendingProps;
var JSCompiler_object_inline_digest_2664;
var JSCompiler_object_inline_stack_2665 = workInProgress.pendingProps;
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
var JSCompiler_object_inline_message_2665 = !1;
var JSCompiler_object_inline_message_2663 = !1;
var didSuspend = 0 !== (workInProgress.flags & 128);
(JSCompiler_object_inline_digest_2666 = didSuspend) ||
(JSCompiler_object_inline_digest_2666 =
(JSCompiler_object_inline_digest_2664 = didSuspend) ||
(JSCompiler_object_inline_digest_2664 =
null !== current && null === current.memoizedState
? !1
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
JSCompiler_object_inline_digest_2666 &&
((JSCompiler_object_inline_message_2665 = !0),
JSCompiler_object_inline_digest_2664 &&
((JSCompiler_object_inline_message_2663 = !0),
(workInProgress.flags &= -129));
JSCompiler_object_inline_digest_2666 = 0 !== (workInProgress.flags & 32);
JSCompiler_object_inline_digest_2664 = 0 !== (workInProgress.flags & 32);
workInProgress.flags &= -33;
if (null === current) {
if (isHydrating) {
JSCompiler_object_inline_message_2665
JSCompiler_object_inline_message_2663
? pushPrimaryTreeSuspenseHandler(workInProgress)
: reuseSuspenseHandlerOnStack(workInProgress);
(renderLanes = nextHydratableInstance)
@@ -10071,18 +10074,18 @@ __DEV__ &&
? current
: null),
null !== current &&
((JSCompiler_object_inline_digest_2666 = {
((JSCompiler_object_inline_digest_2664 = {
dehydrated: current,
treeContext: getSuspendedTreeContext(),
retryLane: 536870912,
hydrationErrors: null
}),
(workInProgress.memoizedState =
JSCompiler_object_inline_digest_2666),
(JSCompiler_object_inline_digest_2666 =
JSCompiler_object_inline_digest_2664),
(JSCompiler_object_inline_digest_2664 =
createFiberFromDehydratedFragment(current)),
(JSCompiler_object_inline_digest_2666.return = workInProgress),
(workInProgress.child = JSCompiler_object_inline_digest_2666),
(JSCompiler_object_inline_digest_2664.return = workInProgress),
(workInProgress.child = JSCompiler_object_inline_digest_2664),
(hydrationParentFiber = workInProgress),
(nextHydratableInstance = null)))
: (current = null);
@@ -10096,12 +10099,12 @@ __DEV__ &&
: (workInProgress.lanes = 536870912);
return null;
}
var nextPrimaryChildren = JSCompiler_object_inline_stack_2667.children,
nextFallbackChildren = JSCompiler_object_inline_stack_2667.fallback;
if (JSCompiler_object_inline_message_2665)
var nextPrimaryChildren = JSCompiler_object_inline_stack_2665.children,
nextFallbackChildren = JSCompiler_object_inline_stack_2665.fallback;
if (JSCompiler_object_inline_message_2663)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(JSCompiler_object_inline_stack_2667 =
(JSCompiler_object_inline_stack_2665 =
mountSuspenseFallbackChildren(
workInProgress,
nextPrimaryChildren,
@@ -10113,19 +10116,19 @@ __DEV__ &&
mountSuspenseOffscreenState(renderLanes)),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
);
if (
"number" ===
typeof JSCompiler_object_inline_stack_2667.unstable_expectedLoadTime
typeof JSCompiler_object_inline_stack_2665.unstable_expectedLoadTime
)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(JSCompiler_object_inline_stack_2667 =
(JSCompiler_object_inline_stack_2665 =
mountSuspenseFallbackChildren(
workInProgress,
nextPrimaryChildren,
@@ -10137,12 +10140,12 @@ __DEV__ &&
mountSuspenseOffscreenState(renderLanes)),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
(workInProgress.lanes = 4194304),
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
);
pushPrimaryTreeSuspenseHandler(workInProgress);
return mountSuspensePrimaryChildren(
@@ -10152,8 +10155,8 @@ __DEV__ &&
}
var prevState = current.memoizedState;
if (null !== prevState) {
var JSCompiler_object_inline_componentStack_2668 = prevState.dehydrated;
if (null !== JSCompiler_object_inline_componentStack_2668) {
var JSCompiler_object_inline_componentStack_2666 = prevState.dehydrated;
if (null !== JSCompiler_object_inline_componentStack_2666) {
if (didSuspend)
workInProgress.flags & 256
? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -10170,13 +10173,13 @@ __DEV__ &&
(workInProgress = null))
: (reuseSuspenseHandlerOnStack(workInProgress),
(nextPrimaryChildren =
JSCompiler_object_inline_stack_2667.fallback),
JSCompiler_object_inline_stack_2665.fallback),
(nextFallbackChildren = workInProgress.mode),
(JSCompiler_object_inline_stack_2667 =
(JSCompiler_object_inline_stack_2665 =
mountWorkInProgressOffscreenFiber(
{
mode: "visible",
children: JSCompiler_object_inline_stack_2667.children
children: JSCompiler_object_inline_stack_2665.children
},
nextFallbackChildren
)),
@@ -10187,11 +10190,11 @@ __DEV__ &&
null
)),
(nextPrimaryChildren.flags |= 2),
(JSCompiler_object_inline_stack_2667.return = workInProgress),
(JSCompiler_object_inline_stack_2665.return = workInProgress),
(nextPrimaryChildren.return = workInProgress),
(JSCompiler_object_inline_stack_2667.sibling =
(JSCompiler_object_inline_stack_2665.sibling =
nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2667),
(workInProgress.child = JSCompiler_object_inline_stack_2665),
(workInProgress.mode & ConcurrentMode) !== NoMode &&
reconcileChildFibers(
workInProgress,
@@ -10199,13 +10202,13 @@ __DEV__ &&
null,
renderLanes
),
(JSCompiler_object_inline_stack_2667 = workInProgress.child),
(JSCompiler_object_inline_stack_2667.memoizedState =
(JSCompiler_object_inline_stack_2665 = workInProgress.child),
(JSCompiler_object_inline_stack_2665.memoizedState =
mountSuspenseOffscreenState(renderLanes)),
(JSCompiler_object_inline_stack_2667.childLanes =
(JSCompiler_object_inline_stack_2665.childLanes =
getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -10214,45 +10217,45 @@ __DEV__ &&
(pushPrimaryTreeSuspenseHandler(workInProgress),
warnIfHydrating(),
isSuspenseInstanceFallback(
JSCompiler_object_inline_componentStack_2668
JSCompiler_object_inline_componentStack_2666
))
) {
JSCompiler_object_inline_digest_2666 =
JSCompiler_object_inline_componentStack_2668.nextSibling &&
JSCompiler_object_inline_componentStack_2668.nextSibling.dataset;
if (JSCompiler_object_inline_digest_2666) {
nextPrimaryChildren = JSCompiler_object_inline_digest_2666.dgst;
var message = JSCompiler_object_inline_digest_2666.msg;
nextFallbackChildren = JSCompiler_object_inline_digest_2666.stck;
var componentStack = JSCompiler_object_inline_digest_2666.cstck;
JSCompiler_object_inline_digest_2664 =
JSCompiler_object_inline_componentStack_2666.nextSibling &&
JSCompiler_object_inline_componentStack_2666.nextSibling.dataset;
if (JSCompiler_object_inline_digest_2664) {
nextPrimaryChildren = JSCompiler_object_inline_digest_2664.dgst;
var message = JSCompiler_object_inline_digest_2664.msg;
nextFallbackChildren = JSCompiler_object_inline_digest_2664.stck;
var componentStack = JSCompiler_object_inline_digest_2664.cstck;
}
JSCompiler_object_inline_message_2665 = message;
JSCompiler_object_inline_digest_2666 = nextPrimaryChildren;
JSCompiler_object_inline_stack_2667 = nextFallbackChildren;
JSCompiler_object_inline_componentStack_2668 = componentStack;
nextPrimaryChildren = JSCompiler_object_inline_message_2665;
nextFallbackChildren = JSCompiler_object_inline_componentStack_2668;
JSCompiler_object_inline_message_2663 = message;
JSCompiler_object_inline_digest_2664 = nextPrimaryChildren;
JSCompiler_object_inline_stack_2665 = nextFallbackChildren;
JSCompiler_object_inline_componentStack_2666 = componentStack;
nextPrimaryChildren = JSCompiler_object_inline_message_2663;
nextFallbackChildren = JSCompiler_object_inline_componentStack_2666;
nextPrimaryChildren = nextPrimaryChildren
? Error(nextPrimaryChildren)
: Error(
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
);
nextPrimaryChildren.stack =
JSCompiler_object_inline_stack_2667 || "";
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2666;
JSCompiler_object_inline_digest_2666 =
JSCompiler_object_inline_stack_2665 || "";
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2664;
JSCompiler_object_inline_digest_2664 =
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
JSCompiler_object_inline_stack_2667 = {
JSCompiler_object_inline_stack_2665 = {
value: nextPrimaryChildren,
source: null,
stack: JSCompiler_object_inline_digest_2666
stack: JSCompiler_object_inline_digest_2664
};
"string" === typeof JSCompiler_object_inline_digest_2666 &&
"string" === typeof JSCompiler_object_inline_digest_2664 &&
CapturedStacks.set(
nextPrimaryChildren,
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
);
queueHydrationError(JSCompiler_object_inline_stack_2667);
queueHydrationError(JSCompiler_object_inline_stack_2665);
workInProgress = retrySuspenseComponentWithoutHydrating(
current,
workInProgress,
@@ -10266,35 +10269,35 @@ __DEV__ &&
renderLanes,
!1
),
(JSCompiler_object_inline_digest_2666 =
(JSCompiler_object_inline_digest_2664 =
0 !== (renderLanes & current.childLanes)),
didReceiveUpdate || JSCompiler_object_inline_digest_2666)
didReceiveUpdate || JSCompiler_object_inline_digest_2664)
) {
JSCompiler_object_inline_digest_2666 = workInProgressRoot;
JSCompiler_object_inline_digest_2664 = workInProgressRoot;
if (
null !== JSCompiler_object_inline_digest_2666 &&
((JSCompiler_object_inline_stack_2667 = getBumpedLaneForHydration(
JSCompiler_object_inline_digest_2666,
null !== JSCompiler_object_inline_digest_2664 &&
((JSCompiler_object_inline_stack_2665 = getBumpedLaneForHydration(
JSCompiler_object_inline_digest_2664,
renderLanes
)),
0 !== JSCompiler_object_inline_stack_2667 &&
JSCompiler_object_inline_stack_2667 !== prevState.retryLane)
0 !== JSCompiler_object_inline_stack_2665 &&
JSCompiler_object_inline_stack_2665 !== prevState.retryLane)
)
throw (
((prevState.retryLane = JSCompiler_object_inline_stack_2667),
((prevState.retryLane = JSCompiler_object_inline_stack_2665),
enqueueConcurrentRenderForLane(
current,
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
),
scheduleUpdateOnFiber(
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664,
current,
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
),
SelectiveHydrationException)
);
isSuspenseInstancePending(
JSCompiler_object_inline_componentStack_2668
JSCompiler_object_inline_componentStack_2666
) || renderDidSuspendDelayIfPossible();
workInProgress = retrySuspenseComponentWithoutHydrating(
current,
@@ -10303,14 +10306,14 @@ __DEV__ &&
);
} else
isSuspenseInstancePending(
JSCompiler_object_inline_componentStack_2668
JSCompiler_object_inline_componentStack_2666
)
? ((workInProgress.flags |= 192),
(workInProgress.child = current.child),
(workInProgress = null))
: ((renderLanes = prevState.treeContext),
(nextHydratableInstance = getNextHydratable(
JSCompiler_object_inline_componentStack_2668.nextSibling
JSCompiler_object_inline_componentStack_2666.nextSibling
)),
(hydrationParentFiber = workInProgress),
(isHydrating = !0),
@@ -10322,47 +10325,47 @@ __DEV__ &&
restoreSuspendedTreeContext(workInProgress, renderLanes),
(workInProgress = mountSuspensePrimaryChildren(
workInProgress,
JSCompiler_object_inline_stack_2667.children
JSCompiler_object_inline_stack_2665.children
)),
(workInProgress.flags |= 4096));
return workInProgress;
}
}
if (JSCompiler_object_inline_message_2665)
if (JSCompiler_object_inline_message_2663)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(nextPrimaryChildren = JSCompiler_object_inline_stack_2667.fallback),
(nextPrimaryChildren = JSCompiler_object_inline_stack_2665.fallback),
(nextFallbackChildren = workInProgress.mode),
(componentStack = current.child),
(JSCompiler_object_inline_componentStack_2668 =
(JSCompiler_object_inline_componentStack_2666 =
componentStack.sibling),
(JSCompiler_object_inline_message_2665 = {
(JSCompiler_object_inline_message_2663 = {
mode: "hidden",
children: JSCompiler_object_inline_stack_2667.children
children: JSCompiler_object_inline_stack_2665.children
}),
(nextFallbackChildren & ConcurrentMode) === NoMode &&
workInProgress.child !== componentStack
? ((JSCompiler_object_inline_stack_2667 = workInProgress.child),
(JSCompiler_object_inline_stack_2667.childLanes = 0),
(JSCompiler_object_inline_stack_2667.pendingProps =
JSCompiler_object_inline_message_2665),
? ((JSCompiler_object_inline_stack_2665 = workInProgress.child),
(JSCompiler_object_inline_stack_2665.childLanes = 0),
(JSCompiler_object_inline_stack_2665.pendingProps =
JSCompiler_object_inline_message_2663),
workInProgress.mode & ProfileMode &&
((JSCompiler_object_inline_stack_2667.actualDuration = -0),
(JSCompiler_object_inline_stack_2667.actualStartTime = -1.1),
(JSCompiler_object_inline_stack_2667.selfBaseDuration =
((JSCompiler_object_inline_stack_2665.actualDuration = -0),
(JSCompiler_object_inline_stack_2665.actualStartTime = -1.1),
(JSCompiler_object_inline_stack_2665.selfBaseDuration =
componentStack.selfBaseDuration),
(JSCompiler_object_inline_stack_2667.treeBaseDuration =
(JSCompiler_object_inline_stack_2665.treeBaseDuration =
componentStack.treeBaseDuration)),
(workInProgress.deletions = null))
: ((JSCompiler_object_inline_stack_2667 = createWorkInProgress(
: ((JSCompiler_object_inline_stack_2665 = createWorkInProgress(
componentStack,
JSCompiler_object_inline_message_2665
JSCompiler_object_inline_message_2663
)),
(JSCompiler_object_inline_stack_2667.subtreeFlags =
(JSCompiler_object_inline_stack_2665.subtreeFlags =
componentStack.subtreeFlags & 65011712)),
null !== JSCompiler_object_inline_componentStack_2668
null !== JSCompiler_object_inline_componentStack_2666
? (nextPrimaryChildren = createWorkInProgress(
JSCompiler_object_inline_componentStack_2668,
JSCompiler_object_inline_componentStack_2666,
nextPrimaryChildren
))
: ((nextPrimaryChildren = createFiberFromFragment(
@@ -10373,24 +10376,24 @@ __DEV__ &&
)),
(nextPrimaryChildren.flags |= 2)),
(nextPrimaryChildren.return = workInProgress),
(JSCompiler_object_inline_stack_2667.return = workInProgress),
(JSCompiler_object_inline_stack_2667.sibling = nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2667),
(JSCompiler_object_inline_stack_2667 = nextPrimaryChildren),
(JSCompiler_object_inline_stack_2665.return = workInProgress),
(JSCompiler_object_inline_stack_2665.sibling = nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2665),
(JSCompiler_object_inline_stack_2665 = nextPrimaryChildren),
(nextPrimaryChildren = workInProgress.child),
(nextFallbackChildren = current.child.memoizedState),
null === nextFallbackChildren
? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes))
: ((componentStack = nextFallbackChildren.cachePool),
null !== componentStack
? ((JSCompiler_object_inline_componentStack_2668 =
? ((JSCompiler_object_inline_componentStack_2666 =
CacheContext._currentValue),
(componentStack =
componentStack.parent !==
JSCompiler_object_inline_componentStack_2668
JSCompiler_object_inline_componentStack_2666
? {
parent: JSCompiler_object_inline_componentStack_2668,
pool: JSCompiler_object_inline_componentStack_2668
parent: JSCompiler_object_inline_componentStack_2666,
pool: JSCompiler_object_inline_componentStack_2666
}
: componentStack))
: (componentStack = getSuspendedCache()),
@@ -10401,35 +10404,35 @@ __DEV__ &&
(nextPrimaryChildren.memoizedState = nextFallbackChildren),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
JSCompiler_object_inline_stack_2667
JSCompiler_object_inline_stack_2665
);
pushPrimaryTreeSuspenseHandler(workInProgress);
JSCompiler_object_inline_digest_2666 = current.child;
current = JSCompiler_object_inline_digest_2666.sibling;
JSCompiler_object_inline_digest_2666 = createWorkInProgress(
JSCompiler_object_inline_digest_2666,
JSCompiler_object_inline_digest_2664 = current.child;
current = JSCompiler_object_inline_digest_2664.sibling;
JSCompiler_object_inline_digest_2664 = createWorkInProgress(
JSCompiler_object_inline_digest_2664,
{
mode: "visible",
children: JSCompiler_object_inline_stack_2667.children
children: JSCompiler_object_inline_stack_2665.children
}
);
(workInProgress.mode & ConcurrentMode) === NoMode &&
(JSCompiler_object_inline_digest_2666.lanes = renderLanes);
JSCompiler_object_inline_digest_2666.return = workInProgress;
JSCompiler_object_inline_digest_2666.sibling = null;
(JSCompiler_object_inline_digest_2664.lanes = renderLanes);
JSCompiler_object_inline_digest_2664.return = workInProgress;
JSCompiler_object_inline_digest_2664.sibling = null;
null !== current &&
((renderLanes = workInProgress.deletions),
null === renderLanes
? ((workInProgress.deletions = [current]),
(workInProgress.flags |= 16))
: renderLanes.push(current));
workInProgress.child = JSCompiler_object_inline_digest_2666;
workInProgress.child = JSCompiler_object_inline_digest_2664;
workInProgress.memoizedState = null;
return JSCompiler_object_inline_digest_2666;
return JSCompiler_object_inline_digest_2664;
}
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
primaryChildren = mountWorkInProgressOffscreenFiber(
@@ -11806,7 +11809,8 @@ __DEV__ &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -15705,14 +15709,15 @@ __DEV__ &&
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root.expiredLanes)) ||
checkIfRootIsPrerendering(root, lanes),
(enableSiblingPrerendering && checkIfRootIsPrerendering(root, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
@@ -15911,11 +15916,7 @@ __DEV__ &&
16785408 === (suspendedCommitReason & 16785408)
)
if (
((suspendedState = {
stylesheets: null,
count: 0,
unsuspend: noop$1
}),
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
accumulateSuspenseyCommitOnFiber(finishedWork),
(suspendedCommitReason = waitForCommitToBeReady()),
null !== suspendedCommitReason)
@@ -16002,7 +16003,9 @@ __DEV__ &&
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
@@ -16092,7 +16095,15 @@ __DEV__ &&
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? SuspendedOnAction
: SuspendedOnData
: SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
@@ -16231,6 +16242,7 @@ __DEV__ &&
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -16554,23 +16566,27 @@ __DEV__ &&
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -17572,7 +17588,8 @@ __DEV__ &&
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
@@ -18667,6 +18684,7 @@ __DEV__ &&
? !0
: !1;
}
function noop$1() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -22143,6 +22161,7 @@ __DEV__ &&
? !1
: !0;
}
function noop() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState)
throw Error(
@@ -22293,7 +22312,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -22349,11 +22367,11 @@ __DEV__ &&
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -22363,7 +22381,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -23085,9 +23102,6 @@ __DEV__ &&
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -23114,6 +23128,7 @@ __DEV__ &&
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
searchTarget = null,
@@ -26958,11 +26973,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-21fdf308-20250508" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9518f118-20250508" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-9518f118-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26999,10 +27014,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27045,7 +27060,8 @@ __DEV__ &&
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(options.hydrate
@@ -27066,7 +27082,9 @@ __DEV__ &&
void 0 !== options.onCaughtError &&
(onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -27075,11 +27093,11 @@ __DEV__ &&
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -27098,6 +27116,7 @@ __DEV__ &&
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -27110,6 +27129,8 @@ __DEV__ &&
(onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -27119,11 +27140,11 @@ __DEV__ &&
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -27140,5 +27161,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ee6f2363f2caf79f0a55f1f40eb6728c>>
* @generated SignedSource<<8ee3c2f51ae27f262aecfa000306803b>>
*/
/*
@@ -39,6 +39,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs;
function isValidContainer(node) {
@@ -775,7 +776,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -784,7 +786,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -912,7 +915,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -1528,7 +1532,6 @@ function sanitizeURL(url) {
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
var currentReplayingEvent = null;
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
@@ -3392,11 +3395,12 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$3() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
? thenableState.push(thenable)
: index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
: index !== thenable && (thenable.then(noop$3, noop$3), (thenable = index));
switch (thenable.status) {
case "fulfilled":
return thenable.value;
@@ -3407,7 +3411,7 @@ function trackUsedThenable(thenableState, thenable, index) {
thenableState)
);
default:
if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3);
else {
thenableState = workInProgressRoot;
if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
@@ -5426,7 +5430,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function noop$2() {}
function startHostTransition(formFiber, pendingState, action, formData) {
if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
var queue = ensureFormComponentIsStateful(formFiber).queue;
@@ -5436,7 +5440,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
pendingState,
sharedNotPendingObject,
null === action
? noop
? noop$2
: function () {
requestFormReset$1(formFiber);
return action(formData);
@@ -8311,7 +8315,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -11403,14 +11408,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -11587,7 +11594,7 @@ function commitRootWhenReady(
16785408 === (suspendedCommitReason & 16785408)
)
if (
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop$1 }),
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
accumulateSuspenseyCommitOnFiber(finishedWork),
(suspendedCommitReason = waitForCommitToBeReady()),
null !== suspendedCommitReason)
@@ -11669,7 +11676,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$6 = 31 - clz32(lanes),
@@ -11750,7 +11759,15 @@ function handleThrow(root, thrownValue) {
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
@@ -11841,6 +11858,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -12083,23 +12101,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -12765,7 +12787,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -13757,6 +13780,7 @@ function checkForUnmatchedText(serverText, clientText) {
clientText = normalizeMarkupForTextOrAttribute(clientText);
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
}
function noop$1() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -16137,6 +16161,7 @@ function preloadResource(resource) {
: !0;
}
var suspendedState = null;
function noop() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
var state = suspendedState;
@@ -16289,7 +16314,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -16333,11 +16357,11 @@ function createFiberRoot(
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -16347,7 +16371,6 @@ function createFiberRoot(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -17003,9 +17026,6 @@ function retryIfBlockedOn(unblocked) {
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -17047,16 +17067,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_2015 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2013 = React.version;
if (
"19.2.0-native-fb-21fdf308-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2015
"19.2.0-native-fb-9518f118-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2013
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2015,
"19.2.0-native-fb-21fdf308-20250508"
isomorphicReactPackageVersion$jscomp$inline_2013,
"19.2.0-native-fb-9518f118-20250508"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17076,24 +17096,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2534 = {
var internals$jscomp$inline_2532 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2535 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2533 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2535.isDisabled &&
hook$jscomp$inline_2535.supportsFiber
!hook$jscomp$inline_2533.isDisabled &&
hook$jscomp$inline_2533.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2535.inject(
internals$jscomp$inline_2534
(rendererID = hook$jscomp$inline_2533.inject(
internals$jscomp$inline_2532
)),
(injectedHook = hook$jscomp$inline_2535);
(injectedHook = hook$jscomp$inline_2533);
} catch (err) {}
}
exports.createRoot = function (container, options) {
@@ -17102,7 +17122,8 @@ exports.createRoot = function (container, options) {
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(!0 === options.unstable_strictMode && (isStrictMode = !0),
@@ -17112,7 +17133,9 @@ exports.createRoot = function (container, options) {
(onUncaughtError = options.onUncaughtError),
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -17121,11 +17144,11 @@ exports.createRoot = function (container, options) {
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -17138,6 +17161,7 @@ exports.hydrateRoot = function (container, initialChildren, options) {
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -17149,6 +17173,8 @@ exports.hydrateRoot = function (container, initialChildren, options) {
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -17158,11 +17184,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -17179,4 +17205,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2970d22405605456b8cf708921aaf2af>>
* @generated SignedSource<<d882a0b88b5d143cb526f426c64673f6>>
*/
/*
@@ -39,6 +39,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs;
function isValidContainer(node) {
@@ -823,7 +824,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -832,7 +834,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -960,7 +963,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -1606,7 +1610,6 @@ function sanitizeURL(url) {
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
var currentReplayingEvent = null;
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
@@ -3551,11 +3554,12 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$3() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
? thenableState.push(thenable)
: index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
: index !== thenable && (thenable.then(noop$3, noop$3), (thenable = index));
switch (thenable.status) {
case "fulfilled":
return thenable.value;
@@ -3566,7 +3570,7 @@ function trackUsedThenable(thenableState, thenable, index) {
thenableState)
);
default:
if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3);
else {
thenableState = workInProgressRoot;
if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
@@ -5585,7 +5589,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function noop$2() {}
function startHostTransition(formFiber, pendingState, action, formData) {
if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
var queue = ensureFormComponentIsStateful(formFiber).queue;
@@ -5595,7 +5599,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
pendingState,
sharedNotPendingObject,
null === action
? noop
? noop$2
: function () {
requestFormReset$1(formFiber);
return action(formData);
@@ -8520,7 +8524,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -11965,14 +11970,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -12149,7 +12156,7 @@ function commitRootWhenReady(
16785408 === (suspendedCommitReason & 16785408)
)
if (
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop$1 }),
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
accumulateSuspenseyCommitOnFiber(finishedWork),
(suspendedCommitReason = waitForCommitToBeReady()),
null !== suspendedCommitReason)
@@ -12231,7 +12238,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$6 = 31 - clz32(lanes),
@@ -12312,7 +12321,15 @@ function handleThrow(root, thrownValue) {
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
@@ -12443,6 +12460,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -12711,23 +12729,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -13464,7 +13486,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -14459,6 +14482,7 @@ function checkForUnmatchedText(serverText, clientText) {
clientText = normalizeMarkupForTextOrAttribute(clientText);
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
}
function noop$1() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -16839,6 +16863,7 @@ function preloadResource(resource) {
: !0;
}
var suspendedState = null;
function noop() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
var state = suspendedState;
@@ -16991,7 +17016,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -17039,11 +17063,11 @@ function createFiberRoot(
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -17053,7 +17077,6 @@ function createFiberRoot(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -17713,9 +17736,6 @@ function retryIfBlockedOn(unblocked) {
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -17757,16 +17777,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_2118 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2116 = React.version;
if (
"19.2.0-native-fb-21fdf308-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2118
"19.2.0-native-fb-9518f118-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2116
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2118,
"19.2.0-native-fb-21fdf308-20250508"
isomorphicReactPackageVersion$jscomp$inline_2116,
"19.2.0-native-fb-9518f118-20250508"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17786,12 +17806,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2125 = {
var internals$jscomp$inline_2123 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508",
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$313 = 0;
@@ -17809,16 +17829,16 @@ var internals$jscomp$inline_2125 = {
}
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2602 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2600 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2602.isDisabled &&
hook$jscomp$inline_2602.supportsFiber
!hook$jscomp$inline_2600.isDisabled &&
hook$jscomp$inline_2600.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2602.inject(
internals$jscomp$inline_2125
(rendererID = hook$jscomp$inline_2600.inject(
internals$jscomp$inline_2123
)),
(injectedHook = hook$jscomp$inline_2602);
(injectedHook = hook$jscomp$inline_2600);
} catch (err) {}
}
exports.createRoot = function (container, options) {
@@ -17827,7 +17847,8 @@ exports.createRoot = function (container, options) {
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(!0 === options.unstable_strictMode && (isStrictMode = !0),
@@ -17837,7 +17858,9 @@ exports.createRoot = function (container, options) {
(onUncaughtError = options.onUncaughtError),
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -17846,11 +17869,11 @@ exports.createRoot = function (container, options) {
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -17863,6 +17886,7 @@ exports.hydrateRoot = function (container, initialChildren, options) {
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -17874,6 +17898,8 @@ exports.hydrateRoot = function (container, initialChildren, options) {
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -17883,11 +17909,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -17904,4 +17930,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2cc7c3faa855ad3ff7853816437d358b>>
* @generated SignedSource<<c4d0f04448d68dc8cff145e500312889>>
*/
/*
@@ -85,7 +85,7 @@ __DEV__ &&
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
);
}
function noop() {}
function noop$3() {}
function warnForMissingKey() {}
function setToSortedString(set) {
var array = [];
@@ -1190,7 +1190,8 @@ __DEV__ &&
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes =
@@ -1200,7 +1201,8 @@ __DEV__ &&
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1335,7 +1337,8 @@ __DEV__ &&
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -3254,7 +3257,6 @@ __DEV__ &&
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
nativeEvent.correspondingUseElement &&
@@ -4765,7 +4767,7 @@ __DEV__ &&
null != props.onScrollEnd &&
(listenToNonDelegatedEvent("scrollend", didHydrate),
listenToNonDelegatedEvent("scroll", didHydrate)),
null != props.onClick && (didHydrate.onclick = noop$1),
null != props.onClick && (didHydrate.onclick = noop$2),
(didHydrate = !0))
: (didHydrate = !1);
didHydrate || throwOnHydrationMismatch(fiber, !0);
@@ -5253,6 +5255,7 @@ __DEV__ &&
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$4() {}
function trackUsedThenable(thenableState, thenable, index) {
null !== ReactSharedInternals.actQueue &&
(ReactSharedInternals.didUsePromise = !0);
@@ -5266,7 +5269,7 @@ __DEV__ &&
console.error(
"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
)),
thenable.then(noop$1, noop$1),
thenable.then(noop$4, noop$4),
(thenable = index));
switch (thenable.status) {
case "fulfilled":
@@ -5279,7 +5282,7 @@ __DEV__ &&
);
default:
if ("string" === typeof thenable.status)
thenable.then(noop$1, noop$1);
thenable.then(noop$4, noop$4);
else {
thenableState = workInProgressRoot;
if (
@@ -8177,7 +8180,7 @@ __DEV__ &&
pendingState,
NotPendingTransition,
null === action
? noop
? noop$3
: function () {
requestFormReset$2(formFiber);
return action(formData);
@@ -10049,24 +10052,24 @@ __DEV__ &&
return current;
}
function updateSuspenseComponent(current, workInProgress, renderLanes) {
var JSCompiler_object_inline_digest_2671;
var JSCompiler_object_inline_stack_2672 = workInProgress.pendingProps;
var JSCompiler_object_inline_digest_2669;
var JSCompiler_object_inline_stack_2670 = workInProgress.pendingProps;
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
var JSCompiler_object_inline_message_2670 = !1;
var JSCompiler_object_inline_message_2668 = !1;
var didSuspend = 0 !== (workInProgress.flags & 128);
(JSCompiler_object_inline_digest_2671 = didSuspend) ||
(JSCompiler_object_inline_digest_2671 =
(JSCompiler_object_inline_digest_2669 = didSuspend) ||
(JSCompiler_object_inline_digest_2669 =
null !== current && null === current.memoizedState
? !1
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
JSCompiler_object_inline_digest_2671 &&
((JSCompiler_object_inline_message_2670 = !0),
JSCompiler_object_inline_digest_2669 &&
((JSCompiler_object_inline_message_2668 = !0),
(workInProgress.flags &= -129));
JSCompiler_object_inline_digest_2671 = 0 !== (workInProgress.flags & 32);
JSCompiler_object_inline_digest_2669 = 0 !== (workInProgress.flags & 32);
workInProgress.flags &= -33;
if (null === current) {
if (isHydrating) {
JSCompiler_object_inline_message_2670
JSCompiler_object_inline_message_2668
? pushPrimaryTreeSuspenseHandler(workInProgress)
: reuseSuspenseHandlerOnStack(workInProgress);
(renderLanes = nextHydratableInstance)
@@ -10079,18 +10082,18 @@ __DEV__ &&
? current
: null),
null !== current &&
((JSCompiler_object_inline_digest_2671 = {
((JSCompiler_object_inline_digest_2669 = {
dehydrated: current,
treeContext: getSuspendedTreeContext(),
retryLane: 536870912,
hydrationErrors: null
}),
(workInProgress.memoizedState =
JSCompiler_object_inline_digest_2671),
(JSCompiler_object_inline_digest_2671 =
JSCompiler_object_inline_digest_2669),
(JSCompiler_object_inline_digest_2669 =
createFiberFromDehydratedFragment(current)),
(JSCompiler_object_inline_digest_2671.return = workInProgress),
(workInProgress.child = JSCompiler_object_inline_digest_2671),
(JSCompiler_object_inline_digest_2669.return = workInProgress),
(workInProgress.child = JSCompiler_object_inline_digest_2669),
(hydrationParentFiber = workInProgress),
(nextHydratableInstance = null)))
: (current = null);
@@ -10104,12 +10107,12 @@ __DEV__ &&
: (workInProgress.lanes = 536870912);
return null;
}
var nextPrimaryChildren = JSCompiler_object_inline_stack_2672.children,
nextFallbackChildren = JSCompiler_object_inline_stack_2672.fallback;
if (JSCompiler_object_inline_message_2670)
var nextPrimaryChildren = JSCompiler_object_inline_stack_2670.children,
nextFallbackChildren = JSCompiler_object_inline_stack_2670.fallback;
if (JSCompiler_object_inline_message_2668)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(JSCompiler_object_inline_stack_2672 =
(JSCompiler_object_inline_stack_2670 =
mountSuspenseFallbackChildren(
workInProgress,
nextPrimaryChildren,
@@ -10121,19 +10124,19 @@ __DEV__ &&
mountSuspenseOffscreenState(renderLanes)),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
);
if (
"number" ===
typeof JSCompiler_object_inline_stack_2672.unstable_expectedLoadTime
typeof JSCompiler_object_inline_stack_2670.unstable_expectedLoadTime
)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(JSCompiler_object_inline_stack_2672 =
(JSCompiler_object_inline_stack_2670 =
mountSuspenseFallbackChildren(
workInProgress,
nextPrimaryChildren,
@@ -10145,12 +10148,12 @@ __DEV__ &&
mountSuspenseOffscreenState(renderLanes)),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
(workInProgress.lanes = 4194304),
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
);
pushPrimaryTreeSuspenseHandler(workInProgress);
return mountSuspensePrimaryChildren(
@@ -10160,8 +10163,8 @@ __DEV__ &&
}
var prevState = current.memoizedState;
if (null !== prevState) {
var JSCompiler_object_inline_componentStack_2673 = prevState.dehydrated;
if (null !== JSCompiler_object_inline_componentStack_2673) {
var JSCompiler_object_inline_componentStack_2671 = prevState.dehydrated;
if (null !== JSCompiler_object_inline_componentStack_2671) {
if (didSuspend)
workInProgress.flags & 256
? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -10178,13 +10181,13 @@ __DEV__ &&
(workInProgress = null))
: (reuseSuspenseHandlerOnStack(workInProgress),
(nextPrimaryChildren =
JSCompiler_object_inline_stack_2672.fallback),
JSCompiler_object_inline_stack_2670.fallback),
(nextFallbackChildren = workInProgress.mode),
(JSCompiler_object_inline_stack_2672 =
(JSCompiler_object_inline_stack_2670 =
mountWorkInProgressOffscreenFiber(
{
mode: "visible",
children: JSCompiler_object_inline_stack_2672.children
children: JSCompiler_object_inline_stack_2670.children
},
nextFallbackChildren
)),
@@ -10195,11 +10198,11 @@ __DEV__ &&
null
)),
(nextPrimaryChildren.flags |= 2),
(JSCompiler_object_inline_stack_2672.return = workInProgress),
(JSCompiler_object_inline_stack_2670.return = workInProgress),
(nextPrimaryChildren.return = workInProgress),
(JSCompiler_object_inline_stack_2672.sibling =
(JSCompiler_object_inline_stack_2670.sibling =
nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2672),
(workInProgress.child = JSCompiler_object_inline_stack_2670),
(workInProgress.mode & ConcurrentMode) !== NoMode &&
reconcileChildFibers(
workInProgress,
@@ -10207,13 +10210,13 @@ __DEV__ &&
null,
renderLanes
),
(JSCompiler_object_inline_stack_2672 = workInProgress.child),
(JSCompiler_object_inline_stack_2672.memoizedState =
(JSCompiler_object_inline_stack_2670 = workInProgress.child),
(JSCompiler_object_inline_stack_2670.memoizedState =
mountSuspenseOffscreenState(renderLanes)),
(JSCompiler_object_inline_stack_2672.childLanes =
(JSCompiler_object_inline_stack_2670.childLanes =
getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -10222,45 +10225,45 @@ __DEV__ &&
(pushPrimaryTreeSuspenseHandler(workInProgress),
warnIfHydrating(),
isSuspenseInstanceFallback(
JSCompiler_object_inline_componentStack_2673
JSCompiler_object_inline_componentStack_2671
))
) {
JSCompiler_object_inline_digest_2671 =
JSCompiler_object_inline_componentStack_2673.nextSibling &&
JSCompiler_object_inline_componentStack_2673.nextSibling.dataset;
if (JSCompiler_object_inline_digest_2671) {
nextPrimaryChildren = JSCompiler_object_inline_digest_2671.dgst;
var message = JSCompiler_object_inline_digest_2671.msg;
nextFallbackChildren = JSCompiler_object_inline_digest_2671.stck;
var componentStack = JSCompiler_object_inline_digest_2671.cstck;
JSCompiler_object_inline_digest_2669 =
JSCompiler_object_inline_componentStack_2671.nextSibling &&
JSCompiler_object_inline_componentStack_2671.nextSibling.dataset;
if (JSCompiler_object_inline_digest_2669) {
nextPrimaryChildren = JSCompiler_object_inline_digest_2669.dgst;
var message = JSCompiler_object_inline_digest_2669.msg;
nextFallbackChildren = JSCompiler_object_inline_digest_2669.stck;
var componentStack = JSCompiler_object_inline_digest_2669.cstck;
}
JSCompiler_object_inline_message_2670 = message;
JSCompiler_object_inline_digest_2671 = nextPrimaryChildren;
JSCompiler_object_inline_stack_2672 = nextFallbackChildren;
JSCompiler_object_inline_componentStack_2673 = componentStack;
nextPrimaryChildren = JSCompiler_object_inline_message_2670;
nextFallbackChildren = JSCompiler_object_inline_componentStack_2673;
JSCompiler_object_inline_message_2668 = message;
JSCompiler_object_inline_digest_2669 = nextPrimaryChildren;
JSCompiler_object_inline_stack_2670 = nextFallbackChildren;
JSCompiler_object_inline_componentStack_2671 = componentStack;
nextPrimaryChildren = JSCompiler_object_inline_message_2668;
nextFallbackChildren = JSCompiler_object_inline_componentStack_2671;
nextPrimaryChildren = nextPrimaryChildren
? Error(nextPrimaryChildren)
: Error(
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
);
nextPrimaryChildren.stack =
JSCompiler_object_inline_stack_2672 || "";
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2671;
JSCompiler_object_inline_digest_2671 =
JSCompiler_object_inline_stack_2670 || "";
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2669;
JSCompiler_object_inline_digest_2669 =
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
JSCompiler_object_inline_stack_2672 = {
JSCompiler_object_inline_stack_2670 = {
value: nextPrimaryChildren,
source: null,
stack: JSCompiler_object_inline_digest_2671
stack: JSCompiler_object_inline_digest_2669
};
"string" === typeof JSCompiler_object_inline_digest_2671 &&
"string" === typeof JSCompiler_object_inline_digest_2669 &&
CapturedStacks.set(
nextPrimaryChildren,
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
);
queueHydrationError(JSCompiler_object_inline_stack_2672);
queueHydrationError(JSCompiler_object_inline_stack_2670);
workInProgress = retrySuspenseComponentWithoutHydrating(
current,
workInProgress,
@@ -10274,35 +10277,35 @@ __DEV__ &&
renderLanes,
!1
),
(JSCompiler_object_inline_digest_2671 =
(JSCompiler_object_inline_digest_2669 =
0 !== (renderLanes & current.childLanes)),
didReceiveUpdate || JSCompiler_object_inline_digest_2671)
didReceiveUpdate || JSCompiler_object_inline_digest_2669)
) {
JSCompiler_object_inline_digest_2671 = workInProgressRoot;
JSCompiler_object_inline_digest_2669 = workInProgressRoot;
if (
null !== JSCompiler_object_inline_digest_2671 &&
((JSCompiler_object_inline_stack_2672 = getBumpedLaneForHydration(
JSCompiler_object_inline_digest_2671,
null !== JSCompiler_object_inline_digest_2669 &&
((JSCompiler_object_inline_stack_2670 = getBumpedLaneForHydration(
JSCompiler_object_inline_digest_2669,
renderLanes
)),
0 !== JSCompiler_object_inline_stack_2672 &&
JSCompiler_object_inline_stack_2672 !== prevState.retryLane)
0 !== JSCompiler_object_inline_stack_2670 &&
JSCompiler_object_inline_stack_2670 !== prevState.retryLane)
)
throw (
((prevState.retryLane = JSCompiler_object_inline_stack_2672),
((prevState.retryLane = JSCompiler_object_inline_stack_2670),
enqueueConcurrentRenderForLane(
current,
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
),
scheduleUpdateOnFiber(
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669,
current,
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
),
SelectiveHydrationException)
);
isSuspenseInstancePending(
JSCompiler_object_inline_componentStack_2673
JSCompiler_object_inline_componentStack_2671
) || renderDidSuspendDelayIfPossible();
workInProgress = retrySuspenseComponentWithoutHydrating(
current,
@@ -10311,14 +10314,14 @@ __DEV__ &&
);
} else
isSuspenseInstancePending(
JSCompiler_object_inline_componentStack_2673
JSCompiler_object_inline_componentStack_2671
)
? ((workInProgress.flags |= 192),
(workInProgress.child = current.child),
(workInProgress = null))
: ((renderLanes = prevState.treeContext),
(nextHydratableInstance = getNextHydratable(
JSCompiler_object_inline_componentStack_2673.nextSibling
JSCompiler_object_inline_componentStack_2671.nextSibling
)),
(hydrationParentFiber = workInProgress),
(isHydrating = !0),
@@ -10330,47 +10333,47 @@ __DEV__ &&
restoreSuspendedTreeContext(workInProgress, renderLanes),
(workInProgress = mountSuspensePrimaryChildren(
workInProgress,
JSCompiler_object_inline_stack_2672.children
JSCompiler_object_inline_stack_2670.children
)),
(workInProgress.flags |= 4096));
return workInProgress;
}
}
if (JSCompiler_object_inline_message_2670)
if (JSCompiler_object_inline_message_2668)
return (
reuseSuspenseHandlerOnStack(workInProgress),
(nextPrimaryChildren = JSCompiler_object_inline_stack_2672.fallback),
(nextPrimaryChildren = JSCompiler_object_inline_stack_2670.fallback),
(nextFallbackChildren = workInProgress.mode),
(componentStack = current.child),
(JSCompiler_object_inline_componentStack_2673 =
(JSCompiler_object_inline_componentStack_2671 =
componentStack.sibling),
(JSCompiler_object_inline_message_2670 = {
(JSCompiler_object_inline_message_2668 = {
mode: "hidden",
children: JSCompiler_object_inline_stack_2672.children
children: JSCompiler_object_inline_stack_2670.children
}),
(nextFallbackChildren & ConcurrentMode) === NoMode &&
workInProgress.child !== componentStack
? ((JSCompiler_object_inline_stack_2672 = workInProgress.child),
(JSCompiler_object_inline_stack_2672.childLanes = 0),
(JSCompiler_object_inline_stack_2672.pendingProps =
JSCompiler_object_inline_message_2670),
? ((JSCompiler_object_inline_stack_2670 = workInProgress.child),
(JSCompiler_object_inline_stack_2670.childLanes = 0),
(JSCompiler_object_inline_stack_2670.pendingProps =
JSCompiler_object_inline_message_2668),
workInProgress.mode & ProfileMode &&
((JSCompiler_object_inline_stack_2672.actualDuration = -0),
(JSCompiler_object_inline_stack_2672.actualStartTime = -1.1),
(JSCompiler_object_inline_stack_2672.selfBaseDuration =
((JSCompiler_object_inline_stack_2670.actualDuration = -0),
(JSCompiler_object_inline_stack_2670.actualStartTime = -1.1),
(JSCompiler_object_inline_stack_2670.selfBaseDuration =
componentStack.selfBaseDuration),
(JSCompiler_object_inline_stack_2672.treeBaseDuration =
(JSCompiler_object_inline_stack_2670.treeBaseDuration =
componentStack.treeBaseDuration)),
(workInProgress.deletions = null))
: ((JSCompiler_object_inline_stack_2672 = createWorkInProgress(
: ((JSCompiler_object_inline_stack_2670 = createWorkInProgress(
componentStack,
JSCompiler_object_inline_message_2670
JSCompiler_object_inline_message_2668
)),
(JSCompiler_object_inline_stack_2672.subtreeFlags =
(JSCompiler_object_inline_stack_2670.subtreeFlags =
componentStack.subtreeFlags & 65011712)),
null !== JSCompiler_object_inline_componentStack_2673
null !== JSCompiler_object_inline_componentStack_2671
? (nextPrimaryChildren = createWorkInProgress(
JSCompiler_object_inline_componentStack_2673,
JSCompiler_object_inline_componentStack_2671,
nextPrimaryChildren
))
: ((nextPrimaryChildren = createFiberFromFragment(
@@ -10381,24 +10384,24 @@ __DEV__ &&
)),
(nextPrimaryChildren.flags |= 2)),
(nextPrimaryChildren.return = workInProgress),
(JSCompiler_object_inline_stack_2672.return = workInProgress),
(JSCompiler_object_inline_stack_2672.sibling = nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2672),
(JSCompiler_object_inline_stack_2672 = nextPrimaryChildren),
(JSCompiler_object_inline_stack_2670.return = workInProgress),
(JSCompiler_object_inline_stack_2670.sibling = nextPrimaryChildren),
(workInProgress.child = JSCompiler_object_inline_stack_2670),
(JSCompiler_object_inline_stack_2670 = nextPrimaryChildren),
(nextPrimaryChildren = workInProgress.child),
(nextFallbackChildren = current.child.memoizedState),
null === nextFallbackChildren
? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes))
: ((componentStack = nextFallbackChildren.cachePool),
null !== componentStack
? ((JSCompiler_object_inline_componentStack_2673 =
? ((JSCompiler_object_inline_componentStack_2671 =
CacheContext._currentValue),
(componentStack =
componentStack.parent !==
JSCompiler_object_inline_componentStack_2673
JSCompiler_object_inline_componentStack_2671
? {
parent: JSCompiler_object_inline_componentStack_2673,
pool: JSCompiler_object_inline_componentStack_2673
parent: JSCompiler_object_inline_componentStack_2671,
pool: JSCompiler_object_inline_componentStack_2671
}
: componentStack))
: (componentStack = getSuspendedCache()),
@@ -10409,35 +10412,35 @@ __DEV__ &&
(nextPrimaryChildren.memoizedState = nextFallbackChildren),
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
current,
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669,
renderLanes
)),
(workInProgress.memoizedState = SUSPENDED_MARKER),
JSCompiler_object_inline_stack_2672
JSCompiler_object_inline_stack_2670
);
pushPrimaryTreeSuspenseHandler(workInProgress);
JSCompiler_object_inline_digest_2671 = current.child;
current = JSCompiler_object_inline_digest_2671.sibling;
JSCompiler_object_inline_digest_2671 = createWorkInProgress(
JSCompiler_object_inline_digest_2671,
JSCompiler_object_inline_digest_2669 = current.child;
current = JSCompiler_object_inline_digest_2669.sibling;
JSCompiler_object_inline_digest_2669 = createWorkInProgress(
JSCompiler_object_inline_digest_2669,
{
mode: "visible",
children: JSCompiler_object_inline_stack_2672.children
children: JSCompiler_object_inline_stack_2670.children
}
);
(workInProgress.mode & ConcurrentMode) === NoMode &&
(JSCompiler_object_inline_digest_2671.lanes = renderLanes);
JSCompiler_object_inline_digest_2671.return = workInProgress;
JSCompiler_object_inline_digest_2671.sibling = null;
(JSCompiler_object_inline_digest_2669.lanes = renderLanes);
JSCompiler_object_inline_digest_2669.return = workInProgress;
JSCompiler_object_inline_digest_2669.sibling = null;
null !== current &&
((renderLanes = workInProgress.deletions),
null === renderLanes
? ((workInProgress.deletions = [current]),
(workInProgress.flags |= 16))
: renderLanes.push(current));
workInProgress.child = JSCompiler_object_inline_digest_2671;
workInProgress.child = JSCompiler_object_inline_digest_2669;
workInProgress.memoizedState = null;
return JSCompiler_object_inline_digest_2671;
return JSCompiler_object_inline_digest_2669;
}
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
primaryChildren = mountWorkInProgressOffscreenFiber(
@@ -11814,7 +11817,8 @@ __DEV__ &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -13276,7 +13280,7 @@ __DEV__ &&
(stateNode = parent._reactRootContainer),
(null !== stateNode && void 0 !== stateNode) ||
null !== before.onclick ||
(before.onclick = noop$1));
(before.onclick = noop$2));
enableFragmentRefs &&
5 === tag &&
null === node.alternate &&
@@ -15713,14 +15717,15 @@ __DEV__ &&
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root.expiredLanes)) ||
checkIfRootIsPrerendering(root, lanes),
(enableSiblingPrerendering && checkIfRootIsPrerendering(root, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
@@ -16010,7 +16015,9 @@ __DEV__ &&
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
@@ -16100,7 +16107,15 @@ __DEV__ &&
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? SuspendedOnAction
: SuspendedOnData
: SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
@@ -16239,6 +16254,7 @@ __DEV__ &&
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -16562,23 +16578,27 @@ __DEV__ &&
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -17580,7 +17600,8 @@ __DEV__ &&
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
@@ -18675,6 +18696,7 @@ __DEV__ &&
? !0
: !1;
}
function noop$2() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -18875,7 +18897,7 @@ __DEV__ &&
null != value &&
("function" !== typeof value &&
warnForInvalidEventListener(key, value),
(domElement.onclick = noop$1));
(domElement.onclick = noop$2));
break;
case "onScroll":
null != value &&
@@ -19180,7 +19202,7 @@ __DEV__ &&
null != value &&
("function" !== typeof value &&
warnForInvalidEventListener(key, value),
(domElement.onclick = noop$1));
(domElement.onclick = noop$2));
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -22151,6 +22173,7 @@ __DEV__ &&
? !1
: !0;
}
function noop$1() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState)
throw Error(
@@ -22301,7 +22324,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -22357,11 +22379,11 @@ __DEV__ &&
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -22371,7 +22393,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -23110,9 +23131,6 @@ __DEV__ &&
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -23129,6 +23147,7 @@ __DEV__ &&
"You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."
));
}
function noop() {}
function getCrossOriginStringAs(as, input) {
if ("font" === as) return "";
if ("string" === typeof input)
@@ -23170,6 +23189,7 @@ __DEV__ &&
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
searchTarget = null,
@@ -27014,11 +27034,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-21fdf308-20250508" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9518f118-20250508" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-9518f118-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27055,10 +27075,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27095,19 +27115,19 @@ __DEV__ &&
}
var Internals = {
d: {
f: noop$1,
f: noop,
r: function () {
throw Error(
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
);
},
D: noop$1,
C: noop$1,
L: noop$1,
m: noop$1,
X: noop$1,
S: noop$1,
M: noop$1
D: noop,
C: noop,
L: noop,
m: noop,
X: noop,
S: noop,
M: noop
},
p: 0,
findDOMNode: null
@@ -27139,7 +27159,8 @@ __DEV__ &&
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(options.hydrate
@@ -27160,7 +27181,9 @@ __DEV__ &&
void 0 !== options.onCaughtError &&
(onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -27169,11 +27192,11 @@ __DEV__ &&
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -27197,6 +27220,7 @@ __DEV__ &&
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -27209,6 +27233,8 @@ __DEV__ &&
(onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -27218,11 +27244,11 @@ __DEV__ &&
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -27512,7 +27538,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f11f66a86f34cd9a7357cf0404c9b890>>
* @generated SignedSource<<7f4620cf54b58e979d7958221468fdea>>
*/
/*
@@ -39,6 +39,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs;
function isValidContainer(node) {
@@ -775,7 +776,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -784,7 +786,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -912,7 +915,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -1528,7 +1532,6 @@ function sanitizeURL(url) {
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
var currentReplayingEvent = null;
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
@@ -3006,7 +3009,7 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onScrollEnd &&
(listenToNonDelegatedEvent("scrollend", instance),
listenToNonDelegatedEvent("scroll", instance)),
null != props.onClick && (instance.onclick = noop$1),
null != props.onClick && (instance.onclick = noop$2),
(instance = !0))
: (instance = !1);
instance || throwOnHydrationMismatch(fiber, !0);
@@ -3392,11 +3395,12 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$4() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
? thenableState.push(thenable)
: index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
: index !== thenable && (thenable.then(noop$4, noop$4), (thenable = index));
switch (thenable.status) {
case "fulfilled":
return thenable.value;
@@ -3407,7 +3411,7 @@ function trackUsedThenable(thenableState, thenable, index) {
thenableState)
);
default:
if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
if ("string" === typeof thenable.status) thenable.then(noop$4, noop$4);
else {
thenableState = workInProgressRoot;
if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
@@ -5426,7 +5430,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function noop$3() {}
function startHostTransition(formFiber, pendingState, action, formData) {
if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
var queue = ensureFormComponentIsStateful(formFiber).queue;
@@ -5436,7 +5440,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
pendingState,
sharedNotPendingObject,
null === action
? noop
? noop$3
: function () {
requestFormReset$2(formFiber);
return action(formData);
@@ -8311,7 +8315,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -9270,7 +9275,7 @@ function insertOrAppendPlacementNodeIntoContainer(
(stateNode = before._reactRootContainer),
(null !== stateNode && void 0 !== stateNode) ||
null !== parent.onclick ||
(parent.onclick = noop$1));
(parent.onclick = noop$2));
enableFragmentRefs &&
5 === tag &&
null === node.alternate &&
@@ -11403,14 +11408,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -11669,7 +11676,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$6 = 31 - clz32(lanes),
@@ -11750,7 +11759,15 @@ function handleThrow(root, thrownValue) {
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
@@ -11841,6 +11858,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -12083,23 +12101,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -12765,7 +12787,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -13757,6 +13780,7 @@ function checkForUnmatchedText(serverText, clientText) {
clientText = normalizeMarkupForTextOrAttribute(clientText);
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
}
function noop$2() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -13859,7 +13883,7 @@ function setProp(domElement, tag, key, value, props, prevValue) {
domElement.setAttribute(key, value);
break;
case "onClick":
null != value && (domElement.onclick = noop$1);
null != value && (domElement.onclick = noop$2);
break;
case "onScroll":
null != value && listenToNonDelegatedEvent("scroll", domElement);
@@ -14109,7 +14133,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) {
listenToNonDelegatedEvent("scroll", domElement));
break;
case "onClick":
null != value && (domElement.onclick = noop$1);
null != value && (domElement.onclick = noop$2);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -16137,6 +16161,7 @@ function preloadResource(resource) {
: !0;
}
var suspendedState = null;
function noop$1() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
var state = suspendedState;
@@ -16289,7 +16314,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -16333,11 +16357,11 @@ function createFiberRoot(
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -16347,7 +16371,6 @@ function createFiberRoot(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -17014,9 +17037,6 @@ function retryIfBlockedOn(unblocked) {
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -17058,16 +17078,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_2016 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2014 = React.version;
if (
"19.2.0-native-fb-21fdf308-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2016
"19.2.0-native-fb-9518f118-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2014
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2016,
"19.2.0-native-fb-21fdf308-20250508"
isomorphicReactPackageVersion$jscomp$inline_2014,
"19.2.0-native-fb-9518f118-20250508"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17087,26 +17107,27 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2537 = {
var internals$jscomp$inline_2535 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2538 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2536 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2538.isDisabled &&
hook$jscomp$inline_2538.supportsFiber
!hook$jscomp$inline_2536.isDisabled &&
hook$jscomp$inline_2536.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2538.inject(
internals$jscomp$inline_2537
(rendererID = hook$jscomp$inline_2536.inject(
internals$jscomp$inline_2535
)),
(injectedHook = hook$jscomp$inline_2538);
(injectedHook = hook$jscomp$inline_2536);
} catch (err) {}
}
function noop() {}
function getCrossOriginStringAs(as, input) {
if ("font" === as) return "";
if ("string" === typeof input)
@@ -17114,17 +17135,17 @@ function getCrossOriginStringAs(as, input) {
}
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = {
d: {
f: noop$1,
f: noop,
r: function () {
throw Error(formatProdErrorMessage(522));
},
D: noop$1,
C: noop$1,
L: noop$1,
m: noop$1,
X: noop$1,
S: noop$1,
M: noop$1
D: noop,
C: noop,
L: noop,
m: noop,
X: noop,
S: noop,
M: noop
},
p: 0,
findDOMNode: null
@@ -17141,7 +17162,8 @@ exports.createRoot = function (container, options) {
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(!0 === options.unstable_strictMode && (isStrictMode = !0),
@@ -17151,7 +17173,9 @@ exports.createRoot = function (container, options) {
(onUncaughtError = options.onUncaughtError),
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -17160,11 +17184,11 @@ exports.createRoot = function (container, options) {
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -17182,6 +17206,7 @@ exports.hydrateRoot = function (container, initialChildren, options) {
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -17193,6 +17218,8 @@ exports.hydrateRoot = function (container, initialChildren, options) {
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -17202,11 +17229,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -17343,4 +17370,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<38606c08d071500d2026b16ab5ab8102>>
* @generated SignedSource<<12e0027963a47a693af67a2a2bd33b35>>
*/
/*
@@ -43,6 +43,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs;
function isValidContainer(node) {
@@ -827,7 +828,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -836,7 +838,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -964,7 +967,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -1610,7 +1614,6 @@ function sanitizeURL(url) {
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: url;
}
function noop$1() {}
var currentReplayingEvent = null;
function getEventTarget(nativeEvent) {
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
@@ -3104,7 +3107,7 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onScrollEnd &&
(listenToNonDelegatedEvent("scrollend", instance),
listenToNonDelegatedEvent("scroll", instance)),
null != props.onClick && (instance.onclick = noop$1),
null != props.onClick && (instance.onclick = noop$2),
(instance = !0))
: (instance = !1);
instance || throwOnHydrationMismatch(fiber, !0);
@@ -3555,11 +3558,12 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop$4() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
? thenableState.push(thenable)
: index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
: index !== thenable && (thenable.then(noop$4, noop$4), (thenable = index));
switch (thenable.status) {
case "fulfilled":
return thenable.value;
@@ -3570,7 +3574,7 @@ function trackUsedThenable(thenableState, thenable, index) {
thenableState)
);
default:
if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
if ("string" === typeof thenable.status) thenable.then(noop$4, noop$4);
else {
thenableState = workInProgressRoot;
if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
@@ -5589,7 +5593,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function noop$3() {}
function startHostTransition(formFiber, pendingState, action, formData) {
if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
var queue = ensureFormComponentIsStateful(formFiber).queue;
@@ -5599,7 +5603,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
pendingState,
sharedNotPendingObject,
null === action
? noop
? noop$3
: function () {
requestFormReset$2(formFiber);
return action(formData);
@@ -8524,7 +8528,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
if (!isHydrating)
@@ -9724,7 +9729,7 @@ function insertOrAppendPlacementNodeIntoContainer(
(stateNode = before._reactRootContainer),
(null !== stateNode && void 0 !== stateNode) ||
null !== parent.onclick ||
(parent.onclick = noop$1));
(parent.onclick = noop$2));
enableFragmentRefs &&
5 === tag &&
null === node.alternate &&
@@ -11969,14 +11974,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -12235,7 +12242,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$6 = 31 - clz32(lanes),
@@ -12316,7 +12325,15 @@ function handleThrow(root, thrownValue) {
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
(workInProgressSuspendedReason =
!enableSiblingPrerendering &&
shouldRemainOnPreviousScreen() &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
@@ -12447,6 +12464,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -12715,23 +12733,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (isHydrating || 1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -13468,7 +13490,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -14463,6 +14486,7 @@ function checkForUnmatchedText(serverText, clientText) {
clientText = normalizeMarkupForTextOrAttribute(clientText);
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
}
function noop$2() {}
function setProp(domElement, tag, key, value, props, prevValue) {
switch (key) {
case "children":
@@ -14565,7 +14589,7 @@ function setProp(domElement, tag, key, value, props, prevValue) {
domElement.setAttribute(key, value);
break;
case "onClick":
null != value && (domElement.onclick = noop$1);
null != value && (domElement.onclick = noop$2);
break;
case "onScroll":
null != value && listenToNonDelegatedEvent("scroll", domElement);
@@ -14815,7 +14839,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) {
listenToNonDelegatedEvent("scroll", domElement));
break;
case "onClick":
null != value && (domElement.onclick = noop$1);
null != value && (domElement.onclick = noop$2);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -16843,6 +16867,7 @@ function preloadResource(resource) {
: !0;
}
var suspendedState = null;
function noop$1() {}
function suspendResource(hoistableRoot, resource, props) {
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
var state = suspendedState;
@@ -16995,7 +17020,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -17043,11 +17067,11 @@ function createFiberRoot(
hydrationCallbacks,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
transitionCallbacks,
formState
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -17057,7 +17081,6 @@ function createFiberRoot(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
);
containerInfo.hydrationCallbacks = hydrationCallbacks;
@@ -17728,9 +17751,6 @@ function retryIfBlockedOn(unblocked) {
}
}
}
function defaultOnDefaultTransitionIndicator() {
return function () {};
}
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
}
@@ -17772,16 +17792,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_2119 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2117 = React.version;
if (
"19.2.0-native-fb-21fdf308-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2119
"19.2.0-native-fb-9518f118-20250508" !==
isomorphicReactPackageVersion$jscomp$inline_2117
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2119,
"19.2.0-native-fb-21fdf308-20250508"
isomorphicReactPackageVersion$jscomp$inline_2117,
"19.2.0-native-fb-9518f118-20250508"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17801,12 +17821,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2126 = {
var internals$jscomp$inline_2124 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508",
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$313 = 0;
@@ -17824,18 +17844,19 @@ var internals$jscomp$inline_2126 = {
}
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2605 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2603 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2605.isDisabled &&
hook$jscomp$inline_2605.supportsFiber
!hook$jscomp$inline_2603.isDisabled &&
hook$jscomp$inline_2603.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2605.inject(
internals$jscomp$inline_2126
(rendererID = hook$jscomp$inline_2603.inject(
internals$jscomp$inline_2124
)),
(injectedHook = hook$jscomp$inline_2605);
(injectedHook = hook$jscomp$inline_2603);
} catch (err) {}
}
function noop() {}
function getCrossOriginStringAs(as, input) {
if ("font" === as) return "";
if ("string" === typeof input)
@@ -17843,17 +17864,17 @@ function getCrossOriginStringAs(as, input) {
}
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = {
d: {
f: noop$1,
f: noop,
r: function () {
throw Error(formatProdErrorMessage(522));
},
D: noop$1,
C: noop$1,
L: noop$1,
m: noop$1,
X: noop$1,
S: noop$1,
M: noop$1
D: noop,
C: noop,
L: noop,
m: noop,
X: noop,
S: noop,
M: noop
},
p: 0,
findDOMNode: null
@@ -17870,7 +17891,8 @@ exports.createRoot = function (container, options) {
identifierPrefix = "",
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError;
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null;
null !== options &&
void 0 !== options &&
(!0 === options.unstable_strictMode && (isStrictMode = !0),
@@ -17880,7 +17902,9 @@ exports.createRoot = function (container, options) {
(onUncaughtError = options.onUncaughtError),
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError));
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks));
options = createFiberRoot(
container,
1,
@@ -17889,11 +17913,11 @@ exports.createRoot = function (container, options) {
null,
isStrictMode,
identifierPrefix,
null,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
null
);
container[internalContainerInstanceKey] = options.current;
listenToAllSupportedEvents(container);
@@ -17911,6 +17935,7 @@ exports.hydrateRoot = function (container, initialChildren, options) {
onUncaughtError = defaultOnUncaughtError,
onCaughtError = defaultOnCaughtError,
onRecoverableError = defaultOnRecoverableError,
transitionCallbacks = null,
formState = null;
null !== options &&
void 0 !== options &&
@@ -17922,6 +17947,8 @@ exports.hydrateRoot = function (container, initialChildren, options) {
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
void 0 !== options.onRecoverableError &&
(onRecoverableError = options.onRecoverableError),
void 0 !== options.unstable_transitionCallbacks &&
(transitionCallbacks = options.unstable_transitionCallbacks),
void 0 !== options.formState && (formState = options.formState));
initialChildren = createFiberRoot(
container,
@@ -17931,11 +17958,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
null != options ? options : null,
isStrictMode,
identifierPrefix,
formState,
onUncaughtError,
onCaughtError,
onRecoverableError,
defaultOnDefaultTransitionIndicator
transitionCallbacks,
formState
);
initialChildren.context = getContextForSubtree(null);
options = initialChildren.current;
@@ -18072,7 +18099,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,13 +7,13 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a1a53a1272f475eee0c4071e03e24851>>
* @generated SignedSource<<a62a32b2e428b328e3104d4c0b94cd70>>
*/
"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1155() {
function JSCompiler_object_inline_createNodeMock_1154() {
return null;
}
function findHook(fiber, id) {
@@ -2471,7 +2471,6 @@ __DEV__ &&
}
return !0;
}
function noop() {}
function createThenableState() {
return { didWarnAboutUncachedPromise: !1, thenables: [] };
}
@@ -2479,6 +2478,7 @@ __DEV__ &&
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
null !== ReactSharedInternals.actQueue &&
(ReactSharedInternals.didUsePromise = !0);
@@ -13261,7 +13261,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -13316,8 +13315,7 @@ __DEV__ &&
identifierPrefix,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
onRecoverableError
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -13327,7 +13325,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
null
);
1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0);
@@ -15526,8 +15523,7 @@ __DEV__ &&
setSuspenseHandler = function (newShouldSuspendImpl) {
shouldSuspendImpl = newShouldSuspendImpl;
};
var defaultOnDefaultTransitionIndicator = noop,
act = React.act,
var act = React.act,
validWrapperTypes = new Set([0, 1, 5, 11, 14, 15, 3]),
ReactTestInstance = (function () {
function ReactTestInstance(fiber) {
@@ -15657,10 +15653,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15682,7 +15678,7 @@ __DEV__ &&
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1155,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1154,
isConcurrent = !1,
isStrictMode = !1;
"object" === typeof options &&
@@ -15706,7 +15702,7 @@ __DEV__ &&
defaultOnUncaughtError,
defaultOnCaughtError,
defaultOnRecoverableError,
defaultOnDefaultTransitionIndicator
null
);
if (null == root) throw Error("something went wrong");
updateContainer(element, root, null, null);
@@ -15805,5 +15801,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<dbd3cea2cfe27a62fa0ad375c65e6097>>
* @generated SignedSource<<74c57d4b4c3c81c47c2978d7c4449bb5>>
*/
"use strict";
@@ -1511,7 +1511,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -1526,6 +1525,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -9479,7 +9479,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -9523,8 +9522,7 @@ function createContainer(
identifierPrefix,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
onRecoverableError
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -9534,7 +9532,6 @@ function createContainer(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
null
);
1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0);
@@ -9894,24 +9891,24 @@ function wrapFiber(fiber) {
fiberToWrapper.set(fiber, wrapper));
return wrapper;
}
var internals$jscomp$inline_1446 = {
var internals$jscomp$inline_1445 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1447 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1446 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1447.isDisabled &&
hook$jscomp$inline_1447.supportsFiber
!hook$jscomp$inline_1446.isDisabled &&
hook$jscomp$inline_1446.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1447.inject(
internals$jscomp$inline_1446
(rendererID = hook$jscomp$inline_1446.inject(
internals$jscomp$inline_1445
)),
(injectedHook = hook$jscomp$inline_1447);
(injectedHook = hook$jscomp$inline_1446);
} catch (err) {}
}
exports._Scheduler = Scheduler;
@@ -9941,7 +9938,7 @@ exports.create = function (element, options) {
defaultOnUncaughtError,
defaultOnCaughtError,
defaultOnRecoverableError,
noop
null
);
if (null == root) throw Error("something went wrong");
updateContainer(element, root, null, null);
@@ -10035,4 +10032,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e7ced30467138bd6b27dd72eec487d82>>
* @generated SignedSource<<c61e7b1ec2d51f615492fa646fce8b3d>>
*/
"use strict";
@@ -1627,7 +1627,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -1642,6 +1641,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -10094,7 +10094,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -10139,8 +10138,7 @@ function createContainer(
identifierPrefix,
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator
onRecoverableError
) {
containerInfo = new FiberRootNode(
containerInfo,
@@ -10150,7 +10148,6 @@ function createContainer(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
null
);
1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0);
@@ -10514,12 +10511,12 @@ function wrapFiber(fiber) {
fiberToWrapper.set(fiber, wrapper));
return wrapper;
}
var internals$jscomp$inline_1254 = {
var internals$jscomp$inline_1253 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508",
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
@@ -10537,16 +10534,16 @@ var internals$jscomp$inline_1254 = {
}
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1512 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1511 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1512.isDisabled &&
hook$jscomp$inline_1512.supportsFiber
!hook$jscomp$inline_1511.isDisabled &&
hook$jscomp$inline_1511.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1512.inject(
internals$jscomp$inline_1254
(rendererID = hook$jscomp$inline_1511.inject(
internals$jscomp$inline_1253
)),
(injectedHook = hook$jscomp$inline_1512);
(injectedHook = hook$jscomp$inline_1511);
} catch (err) {}
}
exports._Scheduler = Scheduler;
@@ -10576,7 +10573,7 @@ exports.create = function (element, options) {
defaultOnUncaughtError,
defaultOnCaughtError,
defaultOnRecoverableError,
noop
null
);
if (null == root) throw Error("something went wrong");
updateContainer(element, root, null, null);
@@ -10670,4 +10667,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f5194ad16c4e4fca85d2ca2940df756a>>
* @generated SignedSource<<f155d9570a4af5999f7fbb3408e3a27b>>
*/
"use strict";
@@ -59,7 +59,6 @@ __DEV__ &&
this.refs = emptyObject;
this.updater = updater || ReactNoopUpdateQueue;
}
function noop() {}
function testStringCoercion(value) {
return "" + value;
}
@@ -367,6 +366,7 @@ __DEV__ &&
? (checkKeyStringCoercion(element.key), escape("" + element.key))
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
@@ -376,7 +376,7 @@ __DEV__ &&
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop, noop)
? thenable.then(noop$1, noop$1)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
@@ -584,6 +584,7 @@ __DEV__ &&
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function noop() {}
function enqueueTask(task) {
if (null === enqueueTaskImpl)
try {
@@ -1411,7 +1412,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ff62777d309e93d3db4a442e177879f8>>
* @generated SignedSource<<23911b43912a47cdf9f6712bd56ef242>>
*/
"use strict";
@@ -84,9 +84,8 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
pureComponentPrototype.constructor = PureComponent;
assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = !0;
var isArrayImpl = Array.isArray;
function noop() {}
var ReactSharedInternals = { H: null, A: null, T: null, S: null },
var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null },
hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
@@ -141,6 +140,7 @@ function getElementKey(element, index) {
? escape("" + element.key)
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
@@ -150,7 +150,7 @@ function resolveThenable(thenable) {
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop, noop)
? thenable.then(noop$1, noop$1)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
@@ -314,35 +314,36 @@ function useMemoCache(size) {
return ReactSharedInternals.H.useMemoCache(size);
}
var reportGlobalError =
"function" === typeof reportError
? reportError
: function (error) {
if (
"object" === typeof window &&
"function" === typeof window.ErrorEvent
) {
var event = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
"object" === typeof error &&
null !== error &&
"string" === typeof error.message
? String(error.message)
: String(error),
error: error
});
if (!window.dispatchEvent(event)) return;
} else if (
"object" === typeof process &&
"function" === typeof process.emit
) {
process.emit("uncaughtException", error);
return;
}
console.error(error);
},
ReactCompilerRuntime = { __proto__: null, c: useMemoCache };
"function" === typeof reportError
? reportError
: function (error) {
if (
"object" === typeof window &&
"function" === typeof window.ErrorEvent
) {
var event = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
"object" === typeof error &&
null !== error &&
"string" === typeof error.message
? String(error.message)
: String(error),
error: error
});
if (!window.dispatchEvent(event)) return;
} else if (
"object" === typeof process &&
"function" === typeof process.emit
) {
process.emit("uncaughtException", error);
return;
}
console.error(error);
};
function noop() {}
var ReactCompilerRuntime = { __proto__: null, c: useMemoCache };
exports.Children = {
map: mapChildren,
forEach: function (children, forEachFunc, forEachContext) {
@@ -586,4 +587,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<fcd8f17b08efdd46d27e88068b883539>>
* @generated SignedSource<<18f388139232ff7edc1929b8a619624a>>
*/
"use strict";
@@ -88,9 +88,8 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
pureComponentPrototype.constructor = PureComponent;
assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = !0;
var isArrayImpl = Array.isArray;
function noop() {}
var ReactSharedInternals = { H: null, A: null, T: null, S: null },
var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null },
hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
@@ -145,6 +144,7 @@ function getElementKey(element, index) {
? escape("" + element.key)
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
@@ -154,7 +154,7 @@ function resolveThenable(thenable) {
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop, noop)
? thenable.then(noop$1, noop$1)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
@@ -318,35 +318,36 @@ function useMemoCache(size) {
return ReactSharedInternals.H.useMemoCache(size);
}
var reportGlobalError =
"function" === typeof reportError
? reportError
: function (error) {
if (
"object" === typeof window &&
"function" === typeof window.ErrorEvent
) {
var event = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
"object" === typeof error &&
null !== error &&
"string" === typeof error.message
? String(error.message)
: String(error),
error: error
});
if (!window.dispatchEvent(event)) return;
} else if (
"object" === typeof process &&
"function" === typeof process.emit
) {
process.emit("uncaughtException", error);
return;
}
console.error(error);
},
ReactCompilerRuntime = { __proto__: null, c: useMemoCache };
"function" === typeof reportError
? reportError
: function (error) {
if (
"object" === typeof window &&
"function" === typeof window.ErrorEvent
) {
var event = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
"object" === typeof error &&
null !== error &&
"string" === typeof error.message
? String(error.message)
: String(error),
error: error
});
if (!window.dispatchEvent(event)) return;
} else if (
"object" === typeof process &&
"function" === typeof process.emit
) {
process.emit("uncaughtException", error);
return;
}
console.error(error);
};
function noop() {}
var ReactCompilerRuntime = { __proto__: null, c: useMemoCache };
exports.Children = {
map: mapChildren,
forEach: function (children, forEachFunc, forEachContext) {
@@ -590,7 +591,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-21fdf308-20250508";
exports.version = "19.2.0-native-fb-9518f118-20250508";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
21fdf308a1a01af69c28c00a70086aa1bd4c2411
9518f1185621aecb99fd72385cdb137c6e8bd8fe
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2627092a746359299d7b34450cfc0a5c>>
* @generated SignedSource<<d4228754821ff4cab66da61069201d3c>>
*/
"use strict";
@@ -1708,7 +1708,8 @@ __DEV__ &&
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes =
@@ -1718,7 +1719,8 @@ __DEV__ &&
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1853,7 +1855,8 @@ __DEV__ &&
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -3199,7 +3202,8 @@ __DEV__ &&
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
@@ -3399,7 +3403,6 @@ __DEV__ &&
}
return !0;
}
function noop() {}
function createThenableState() {
return { didWarnAboutUncachedPromise: !1, thenables: [] };
}
@@ -3407,6 +3410,7 @@ __DEV__ &&
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
null !== ReactSharedInternals.actQueue &&
(ReactSharedInternals.didUsePromise = !0);
@@ -9405,7 +9409,8 @@ __DEV__ &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -12227,14 +12232,15 @@ __DEV__ &&
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root.expiredLanes)) ||
checkIfRootIsPrerendering(root, lanes),
(enableSiblingPrerendering && checkIfRootIsPrerendering(root, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
@@ -12476,7 +12482,9 @@ __DEV__ &&
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
@@ -12563,11 +12571,37 @@ __DEV__ &&
ReactSharedInternals.getCurrentStack = null;
isRendering = !1;
current = null;
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? SuspendedOnAction
: SuspendedOnData
: SuspendedOnImmediate;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
: (workInProgressSuspendedReason =
@@ -12579,8 +12613,8 @@ __DEV__ &&
? SuspendedOnDeprecatedThrowPromise
: SuspendedOnError);
workInProgressThrownValue = thrownValue;
var erroredWork = workInProgress;
if (null === erroredWork)
JSCompiler_temp = workInProgress;
if (null === JSCompiler_temp)
(workInProgressRootExitStatus = RootFatalErrored),
logUncaughtError(
root,
@@ -12588,8 +12622,8 @@ __DEV__ &&
);
else
switch (
(erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork),
(JSCompiler_temp.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(JSCompiler_temp),
markComponentRenderStopped(),
workInProgressSuspendedReason)
) {
@@ -12598,7 +12632,7 @@ __DEV__ &&
"function" ===
typeof injectedProfilingHooks.markComponentErrored &&
injectedProfilingHooks.markComponentErrored(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -12612,7 +12646,7 @@ __DEV__ &&
"function" ===
typeof injectedProfilingHooks.markComponentSuspended &&
injectedProfilingHooks.markComponentSuspended(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -12690,6 +12724,7 @@ __DEV__ &&
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -13009,23 +13044,27 @@ __DEV__ &&
return;
}
if (unitOfWork.flags & 32768) {
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -14238,7 +14277,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -14674,7 +14712,6 @@ __DEV__ &&
);
}
}
function nativeOnDefaultTransitionIndicator() {}
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
@@ -14696,6 +14733,7 @@ __DEV__ &&
enableShallowPropDiffing = dynamicFlagsUntyped.enableShallowPropDiffing,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
enableFastAddPropertiesInDiffing =
dynamicFlagsUntyped.enableFastAddPropertiesInDiffing,
enableLazyPublicInstanceInFabric =
@@ -17479,10 +17517,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -17632,7 +17670,6 @@ __DEV__ &&
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
root.hydrationCallbacks = null;
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2205a5e6a16d38374be6a4b8923b09e7>>
* @generated SignedSource<<ccf4dfbb2e30981700be66fc9c47574c>>
*/
"use strict";
@@ -28,6 +28,7 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
enableShallowPropDiffing = dynamicFlagsUntyped.enableShallowPropDiffing,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
enableFastAddPropertiesInDiffing =
dynamicFlagsUntyped.enableFastAddPropertiesInDiffing,
enableLazyPublicInstanceInFabric =
@@ -1744,7 +1745,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -1753,7 +1755,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1881,7 +1884,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -2600,7 +2604,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -2780,7 +2785,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -2795,6 +2799,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -7424,7 +7429,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -9547,14 +9553,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -9768,7 +9776,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$10 = 31 - clz32(lanes),
@@ -9842,10 +9852,37 @@ function prepareFreshStack(root, lanes) {
function handleThrow(root, thrownValue) {
currentlyRenderingFiber = null;
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
: (workInProgressSuspendedReason =
@@ -9920,6 +9957,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -10158,23 +10196,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -10832,7 +10874,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -11179,7 +11220,6 @@ function nativeOnCaughtError(error, errorInfo) {
null != errorInfo.componentStack ? errorInfo.componentStack : ""
}) && console.error(error);
}
function nativeOnDefaultTransitionIndicator() {}
batchedUpdatesImpl = function (fn, a) {
var prevExecutionContext = executionContext;
executionContext |= 1;
@@ -11193,26 +11233,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1255 = {
internals$jscomp$inline_1254 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1255.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1254.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1574 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1576 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1574.isDisabled &&
hook$jscomp$inline_1574.supportsFiber
!hook$jscomp$inline_1576.isDisabled &&
hook$jscomp$inline_1576.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1574.inject(
internals$jscomp$inline_1255
(rendererID = hook$jscomp$inline_1576.inject(
internals$jscomp$inline_1254
)),
(injectedHook = hook$jscomp$inline_1574);
(injectedHook = hook$jscomp$inline_1576);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -11335,7 +11375,6 @@ exports.render = function (
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
root.hydrationCallbacks = null;
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8e7f4beecf3ec8db21478a459cbb4487>>
* @generated SignedSource<<ae042f8d2623c16ed3a4a11bd021fa49>>
*/
"use strict";
@@ -32,6 +32,7 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
enableShallowPropDiffing = dynamicFlagsUntyped.enableShallowPropDiffing,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
enableFastAddPropertiesInDiffing =
dynamicFlagsUntyped.enableFastAddPropertiesInDiffing,
enableLazyPublicInstanceInFabric =
@@ -1796,7 +1797,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -1805,7 +1807,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1933,7 +1936,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -2747,7 +2751,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
@@ -2930,7 +2935,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -2945,6 +2949,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -7622,7 +7627,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -10091,14 +10097,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -10312,7 +10320,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$10 = 31 - clz32(lanes),
@@ -10386,10 +10396,37 @@ function prepareFreshStack(root, lanes) {
function handleThrow(root, thrownValue) {
currentlyRenderingFiber = null;
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
: (workInProgressSuspendedReason =
@@ -10401,8 +10438,8 @@ function handleThrow(root, thrownValue) {
? 6
: 1);
workInProgressThrownValue = thrownValue;
var erroredWork = workInProgress;
if (null === erroredWork)
JSCompiler_temp = workInProgress;
if (null === JSCompiler_temp)
(workInProgressRootExitStatus = 1),
logUncaughtError(
root,
@@ -10410,8 +10447,8 @@ function handleThrow(root, thrownValue) {
);
else
switch (
(erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork),
(JSCompiler_temp.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(JSCompiler_temp),
markComponentRenderStopped(),
workInProgressSuspendedReason)
) {
@@ -10419,7 +10456,7 @@ function handleThrow(root, thrownValue) {
null !== injectedProfilingHooks &&
"function" === typeof injectedProfilingHooks.markComponentErrored &&
injectedProfilingHooks.markComponentErrored(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -10432,7 +10469,7 @@ function handleThrow(root, thrownValue) {
null !== injectedProfilingHooks &&
"function" === typeof injectedProfilingHooks.markComponentSuspended &&
injectedProfilingHooks.markComponentSuspended(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -10504,6 +10541,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -10768,23 +10806,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -11529,7 +11571,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -11883,7 +11924,6 @@ function nativeOnCaughtError(error, errorInfo) {
null != errorInfo.componentStack ? errorInfo.componentStack : ""
}) && console.error(error);
}
function nativeOnDefaultTransitionIndicator() {}
batchedUpdatesImpl = function (fn, a) {
var prevExecutionContext = executionContext;
executionContext |= 1;
@@ -11897,16 +11937,16 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1356 = {
internals$jscomp$inline_1355 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1356.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1356.getLaneLabelMap = function () {
(internals$jscomp$inline_1355.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1355.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$162 = 0;
31 > index$162;
@@ -11918,20 +11958,20 @@ internals$jscomp$inline_1356.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1356.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1355.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1641 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1643 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1641.isDisabled &&
hook$jscomp$inline_1641.supportsFiber
!hook$jscomp$inline_1643.isDisabled &&
hook$jscomp$inline_1643.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1641.inject(
internals$jscomp$inline_1356
(rendererID = hook$jscomp$inline_1643.inject(
internals$jscomp$inline_1355
)),
(injectedHook = hook$jscomp$inline_1641);
(injectedHook = hook$jscomp$inline_1643);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -12054,7 +12094,6 @@ exports.render = function (
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
root.hydrationCallbacks = null;
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<189b931642f337f5add08e9643cdc278>>
* @generated SignedSource<<2d7cfc978991fb42b97e68edf50baf1a>>
*/
"use strict";
@@ -1802,7 +1802,8 @@ __DEV__ &&
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes =
@@ -1812,7 +1813,8 @@ __DEV__ &&
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -1947,7 +1949,8 @@ __DEV__ &&
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -3298,7 +3301,8 @@ __DEV__ &&
);
if (
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
@@ -3486,7 +3490,6 @@ __DEV__ &&
}
return !0;
}
function noop() {}
function createThenableState() {
return { didWarnAboutUncachedPromise: !1, thenables: [] };
}
@@ -3494,6 +3497,7 @@ __DEV__ &&
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
null !== ReactSharedInternals.actQueue &&
(ReactSharedInternals.didUsePromise = !0);
@@ -9376,7 +9380,8 @@ __DEV__ &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -12475,14 +12480,15 @@ __DEV__ &&
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root.expiredLanes)) ||
checkIfRootIsPrerendering(root, lanes),
(enableSiblingPrerendering && checkIfRootIsPrerendering(root, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
@@ -12718,7 +12724,9 @@ __DEV__ &&
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
@@ -12805,11 +12813,37 @@ __DEV__ &&
ReactSharedInternals.getCurrentStack = null;
isRendering = !1;
current = null;
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? SuspendedOnAction
: SuspendedOnData
: SuspendedOnImmediate;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
: (workInProgressSuspendedReason =
@@ -12821,8 +12855,8 @@ __DEV__ &&
? SuspendedOnDeprecatedThrowPromise
: SuspendedOnError);
workInProgressThrownValue = thrownValue;
var erroredWork = workInProgress;
if (null === erroredWork)
JSCompiler_temp = workInProgress;
if (null === JSCompiler_temp)
(workInProgressRootExitStatus = RootFatalErrored),
logUncaughtError(
root,
@@ -12830,8 +12864,8 @@ __DEV__ &&
);
else
switch (
(erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork),
(JSCompiler_temp.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(JSCompiler_temp),
markComponentRenderStopped(),
workInProgressSuspendedReason)
) {
@@ -12840,7 +12874,7 @@ __DEV__ &&
"function" ===
typeof injectedProfilingHooks.markComponentErrored &&
injectedProfilingHooks.markComponentErrored(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -12854,7 +12888,7 @@ __DEV__ &&
"function" ===
typeof injectedProfilingHooks.markComponentSuspended &&
injectedProfilingHooks.markComponentSuspended(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -12932,6 +12966,7 @@ __DEV__ &&
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -13251,23 +13286,27 @@ __DEV__ &&
return;
}
if (unitOfWork.flags & 32768) {
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnAction ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -14476,7 +14515,6 @@ __DEV__ &&
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -14758,7 +14796,6 @@ __DEV__ &&
);
}
}
function nativeOnDefaultTransitionIndicator() {}
function unmountComponentAtNode(containerTag) {
var root = roots.get(containerTag);
root &&
@@ -14784,6 +14821,7 @@ __DEV__ &&
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
assign = Object.assign,
@@ -17607,11 +17645,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-21fdf308-20250508" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9518f118-20250508" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9518f118-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17637,10 +17675,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -17756,7 +17794,6 @@ __DEV__ &&
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
options.hydrationCallbacks = null;
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3e97694ed94f097e717c1fef81c72971>>
* @generated SignedSource<<f9cae9e61bf78ab0ef419790e5c49445>>
*/
"use strict";
@@ -25,6 +25,7 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
assign = Object.assign,
@@ -1943,7 +1944,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -1952,7 +1954,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -2080,7 +2083,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -2742,39 +2746,37 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
(root.callbackPriority = 0)
);
if (
0 !== (suspendedLanes & 3) &&
!checkIfRootIsPrerendering(root, suspendedLanes)
)
return (
null !== pingedLanes &&
null !== pingedLanes &&
cancelCallback$1(pingedLanes),
(root.callbackPriority = 2),
(root.callbackNode = null),
2
);
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
null !== pingedLanes && cancelCallback$1(pingedLanes);
switch (lanesToEventPriority(suspendedLanes)) {
case 2:
case 8:
suspendedLanes = UserBlockingPriority;
break;
case 32:
suspendedLanes = NormalPriority$1;
break;
case 268435456:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
0 === (suspendedLanes & 3) ||
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
null !== pingedLanes && cancelCallback$1(pingedLanes);
switch (lanesToEventPriority(suspendedLanes)) {
case 2:
case 8:
suspendedLanes = UserBlockingPriority;
break;
case 32:
suspendedLanes = NormalPriority$1;
break;
case 268435456:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes);
root.callbackPriority = 2;
root.callbackNode = null;
return 2;
}
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
@@ -2914,7 +2916,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -2929,6 +2930,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -7442,7 +7444,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -9812,14 +9815,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -10033,7 +10038,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$11 = 31 - clz32(lanes),
@@ -10107,10 +10114,37 @@ function prepareFreshStack(root, lanes) {
function handleThrow(root, thrownValue) {
currentlyRenderingFiber = null;
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
: (workInProgressSuspendedReason =
@@ -10185,6 +10219,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -10423,23 +10458,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -11097,7 +11136,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -11212,11 +11250,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-21fdf308-20250508" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9518f118-20250508" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9518f118-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11243,7 +11281,6 @@ function nativeOnCaughtError(error, errorInfo) {
null != errorInfo.componentStack ? errorInfo.componentStack : ""
}) && console.error(error);
}
function nativeOnDefaultTransitionIndicator() {}
function unmountComponentAtNode(containerTag) {
var root = roots.get(containerTag);
root &&
@@ -11264,26 +11301,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1306 = {
internals$jscomp$inline_1305 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1306.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1305.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1651 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1653 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1651.isDisabled &&
hook$jscomp$inline_1651.supportsFiber
!hook$jscomp$inline_1653.isDisabled &&
hook$jscomp$inline_1653.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1651.inject(
internals$jscomp$inline_1306
(rendererID = hook$jscomp$inline_1653.inject(
internals$jscomp$inline_1305
)),
(injectedHook = hook$jscomp$inline_1651);
(injectedHook = hook$jscomp$inline_1653);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -11367,7 +11404,6 @@ exports.render = function (element, containerTag, callback, options) {
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
options.hydrationCallbacks = null;
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a962b98170bb722c8f5ed3fee21212f6>>
* @generated SignedSource<<d281972047bca5b4502cf94bd0f641f4>>
*/
"use strict";
@@ -29,6 +29,7 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
enableObjectFiber = dynamicFlagsUntyped.enableObjectFiber,
enablePersistedModeClonedFlag =
dynamicFlagsUntyped.enablePersistedModeClonedFlag,
enableSiblingPrerendering = dynamicFlagsUntyped.enableSiblingPrerendering,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
assign = Object.assign,
@@ -1995,7 +1996,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
@@ -2004,7 +2006,8 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: rootHasPendingCommit ||
: enableSiblingPrerendering &&
!rootHasPendingCommit &&
((rootHasPendingCommit = pendingLanes & ~root),
0 !== rootHasPendingCommit &&
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -2132,7 +2135,8 @@ function markRootFinished(
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
enableSiblingPrerendering &&
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
@@ -2889,39 +2893,37 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
(root.callbackPriority = 0)
);
if (
0 !== (suspendedLanes & 3) &&
!checkIfRootIsPrerendering(root, suspendedLanes)
)
return (
null !== pingedLanes &&
null !== pingedLanes &&
cancelCallback$1(pingedLanes),
(root.callbackPriority = 2),
(root.callbackNode = null),
2
);
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
null !== pingedLanes && cancelCallback$1(pingedLanes);
switch (lanesToEventPriority(suspendedLanes)) {
case 2:
case 8:
suspendedLanes = UserBlockingPriority;
break;
case 32:
suspendedLanes = NormalPriority$1;
break;
case 268435456:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
0 === (suspendedLanes & 3) ||
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root, suspendedLanes))
) {
currentTime = suspendedLanes & -suspendedLanes;
if (currentTime === root.callbackPriority) return currentTime;
null !== pingedLanes && cancelCallback$1(pingedLanes);
switch (lanesToEventPriority(suspendedLanes)) {
case 2:
case 8:
suspendedLanes = UserBlockingPriority;
break;
case 32:
suspendedLanes = NormalPriority$1;
break;
case 268435456:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes);
root.callbackPriority = 2;
root.callbackNode = null;
return 2;
}
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
nestedUpdateScheduled = currentUpdateIsNested = !1;
@@ -3064,7 +3066,6 @@ function shallowEqual(objA, objB) {
}
return !0;
}
function noop() {}
var SuspenseException = Error(
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
),
@@ -3079,6 +3080,7 @@ function isThenableResolved(thenable) {
thenable = thenable.status;
return "fulfilled" === thenable || "rejected" === thenable;
}
function noop() {}
function trackUsedThenable(thenableState, thenable, index) {
index = thenableState[index];
void 0 === index
@@ -7640,7 +7642,8 @@ function scheduleRetryEffect(workInProgress, retryQueue) {
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
enableSiblingPrerendering &&
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -10354,14 +10357,16 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
(!forceSync &&
0 === (lanes & 124) &&
0 === (lanes & root$jscomp$0.expiredLanes)) ||
checkIfRootIsPrerendering(root$jscomp$0, lanes),
(enableSiblingPrerendering &&
checkIfRootIsPrerendering(root$jscomp$0, lanes)),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root$jscomp$0, lanes)
: renderRootSync(root$jscomp$0, lanes, !0),
renderWasConcurrent = shouldTimeSlice;
do {
if (0 === exitStatus) {
workInProgressRootIsPrerendering &&
enableSiblingPrerendering &&
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root$jscomp$0, lanes, 0, !1);
break;
@@ -10575,7 +10580,9 @@ function markRootSuspended(
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
enableSiblingPrerendering &&
didAttemptEntireTree &&
(root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$11 = 31 - clz32(lanes),
@@ -10649,10 +10656,37 @@ function prepareFreshStack(root, lanes) {
function handleThrow(root, thrownValue) {
currentlyRenderingFiber = null;
ReactSharedInternals.H = ContextOnlyDispatcher;
thrownValue === SuspenseException || thrownValue === SuspenseActionException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 3))
: thrownValue === SuspenseyCommitException
if (
thrownValue === SuspenseException ||
thrownValue === SuspenseActionException
) {
thrownValue = getSuspendedThenable();
var JSCompiler_temp;
if ((JSCompiler_temp = !enableSiblingPrerendering))
(JSCompiler_temp = suspenseHandlerStackCursor.current),
(JSCompiler_temp =
null === JSCompiler_temp
? !0
: (workInProgressRootRenderLanes & 4194048) ===
workInProgressRootRenderLanes
? null === shellBoundary
? !0
: !1
: (workInProgressRootRenderLanes & 62914560) ===
workInProgressRootRenderLanes ||
0 !== (workInProgressRootRenderLanes & 536870912)
? JSCompiler_temp === shellBoundary
: !1);
workInProgressSuspendedReason =
JSCompiler_temp &&
0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
? thrownValue === SuspenseActionException
? 9
: 2
: 3;
} else
thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = 4))
: (workInProgressSuspendedReason =
@@ -10664,8 +10698,8 @@ function handleThrow(root, thrownValue) {
? 6
: 1);
workInProgressThrownValue = thrownValue;
var erroredWork = workInProgress;
if (null === erroredWork)
JSCompiler_temp = workInProgress;
if (null === JSCompiler_temp)
(workInProgressRootExitStatus = 1),
logUncaughtError(
root,
@@ -10673,8 +10707,8 @@ function handleThrow(root, thrownValue) {
);
else
switch (
(erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork),
(JSCompiler_temp.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(JSCompiler_temp),
markComponentRenderStopped(),
workInProgressSuspendedReason)
) {
@@ -10682,7 +10716,7 @@ function handleThrow(root, thrownValue) {
null !== injectedProfilingHooks &&
"function" === typeof injectedProfilingHooks.markComponentErrored &&
injectedProfilingHooks.markComponentErrored(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -10695,7 +10729,7 @@ function handleThrow(root, thrownValue) {
null !== injectedProfilingHooks &&
"function" === typeof injectedProfilingHooks.markComponentSuspended &&
injectedProfilingHooks.markComponentSuspended(
erroredWork,
JSCompiler_temp,
thrownValue,
workInProgressRootRenderLanes
);
@@ -10767,6 +10801,7 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
enableSiblingPrerendering &&
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
@@ -11031,23 +11066,27 @@ function throwAndUnwindWorkLoop(
return;
}
if (unitOfWork.flags & 32768) {
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
if (enableSiblingPrerendering)
if (1 === suspendedReason) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else {
if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
2 === suspendedReason ||
9 === suspendedReason ||
3 === suspendedReason ||
6 === suspendedReason)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
}
else root = !0;
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
@@ -11792,7 +11831,6 @@ function FiberRootNode(
onUncaughtError,
onCaughtError,
onRecoverableError,
onDefaultTransitionIndicator,
formState
) {
this.tag = tag;
@@ -11914,11 +11952,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-21fdf308-20250508" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-9518f118-20250508" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-9518f118-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11945,7 +11983,6 @@ function nativeOnCaughtError(error, errorInfo) {
null != errorInfo.componentStack ? errorInfo.componentStack : ""
}) && console.error(error);
}
function nativeOnDefaultTransitionIndicator() {}
function unmountComponentAtNode(containerTag) {
var root = roots.get(containerTag);
root &&
@@ -11966,16 +12003,16 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1407 = {
internals$jscomp$inline_1406 = {
bundleType: 0,
version: "19.2.0-native-fb-21fdf308-20250508",
version: "19.2.0-native-fb-9518f118-20250508",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-21fdf308-20250508"
reconcilerVersion: "19.2.0-native-fb-9518f118-20250508"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1407.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1407.getLaneLabelMap = function () {
(internals$jscomp$inline_1406.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1406.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$165 = 0;
31 > index$165;
@@ -11987,20 +12024,20 @@ internals$jscomp$inline_1407.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1407.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1406.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1718 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1720 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1718.isDisabled &&
hook$jscomp$inline_1718.supportsFiber
!hook$jscomp$inline_1720.isDisabled &&
hook$jscomp$inline_1720.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1718.inject(
internals$jscomp$inline_1407
(rendererID = hook$jscomp$inline_1720.inject(
internals$jscomp$inline_1406
)),
(injectedHook = hook$jscomp$inline_1718);
(injectedHook = hook$jscomp$inline_1720);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -12084,7 +12121,6 @@ exports.render = function (element, containerTag, callback, options) {
root,
onCaughtError,
onRecoverableError,
nativeOnDefaultTransitionIndicator,
null
);
options.hydrationCallbacks = null;
@@ -12,7 +12,7 @@
* @lightSyntaxTransform
* @preventMunge
* @oncall react_core
* @generated SignedSource<<970edb4f23f75a12c8642233f59a88ae>>
* @generated SignedSource<<bf2a3cfe044d5b450ecff7cc37899393>>
*/
'use strict';
@@ -40447,52 +40447,6 @@ function evaluateInstruction(constants, instr) {
}
return null;
}
case 'TemplateLiteral': {
if (value.subexprs.length === 0) {
const result = {
kind: 'Primitive',
value: value.quasis.map(q => q.cooked).join(''),
loc: value.loc,
};
instr.value = result;
return result;
}
if (value.subexprs.length !== value.quasis.length - 1) {
return null;
}
if (value.quasis.some(q => q.cooked === undefined)) {
return null;
}
let quasiIndex = 0;
let resultString = value.quasis[quasiIndex].cooked;
++quasiIndex;
for (const subExpr of value.subexprs) {
const subExprValue = read(constants, subExpr);
if (!subExprValue || subExprValue.kind !== 'Primitive') {
return null;
}
const expressionValue = subExprValue.value;
if (typeof expressionValue !== 'number' &&
typeof expressionValue !== 'string' &&
typeof expressionValue !== 'boolean' &&
!(typeof expressionValue === 'object' && expressionValue === null)) {
return null;
}
const suffix = value.quasis[quasiIndex].cooked;
++quasiIndex;
if (suffix === undefined) {
return null;
}
resultString = resultString.concat(expressionValue, suffix);
}
const result = {
kind: 'Primitive',
value: resultString,
loc: value.loc,
};
instr.value = result;
return result;
}
case 'LoadLocal': {
const placeValue = read(constants, value.place);
if (placeValue !== null) {
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @generated SignedSource<<1c918198659002c1074bc65f3beaa988>>
* @generated SignedSource<<5ea520dda276f0aed8050f583b9ccdc4>>
*/
'use strict';
@@ -40226,52 +40226,6 @@ function evaluateInstruction(constants, instr) {
}
return null;
}
case 'TemplateLiteral': {
if (value.subexprs.length === 0) {
const result = {
kind: 'Primitive',
value: value.quasis.map(q => q.cooked).join(''),
loc: value.loc,
};
instr.value = result;
return result;
}
if (value.subexprs.length !== value.quasis.length - 1) {
return null;
}
if (value.quasis.some(q => q.cooked === undefined)) {
return null;
}
let quasiIndex = 0;
let resultString = value.quasis[quasiIndex].cooked;
++quasiIndex;
for (const subExpr of value.subexprs) {
const subExprValue = read(constants, subExpr);
if (!subExprValue || subExprValue.kind !== 'Primitive') {
return null;
}
const expressionValue = subExprValue.value;
if (typeof expressionValue !== 'number' &&
typeof expressionValue !== 'string' &&
typeof expressionValue !== 'boolean' &&
!(typeof expressionValue === 'object' && expressionValue === null)) {
return null;
}
const suffix = value.quasis[quasiIndex].cooked;
++quasiIndex;
if (suffix === undefined) {
return null;
}
resultString = resultString.concat(expressionValue, suffix);
}
const result = {
kind: 'Primitive',
value: resultString,
loc: value.loc,
};
instr.value = result;
return result;
}
case 'LoadLocal': {
const placeValue = read(constants, value.place);
if (placeValue !== null) {
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-21fdf308-20250508",
"version": "0.0.0-experimental-9518f118-20250508",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",