mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Log Performance Track Entries for View Transitions (#34510)
Stacked on #34509.
View Transitions introduces a bunch of new types of gaps in the commit
phase which needs to be logged differently in the performance track.
One thing that can happen is that a `flushSync` update forces the View
Transition to abort before it has started if it happens in the gap
before the transition is ready. In that case we log "Interrupted View
Transition".
Otherwise, when we're done in `startViewTransition` there's some work to
finalize the animations before the `ready` calllback. This is logged as
"Starting Animation".
Then there's a gap before the passive effects fire which we log as
"Animating". This can be long unless they're forced to flush early e.g.
due to another lane updating.
The "Animating" track should then pick up which doesn't do yet. This one
is tricky because this is after the actual commit phase and needs to be
interrupted by new renders which themselves can be suspended on the
animation finshing.
This PR is just a subset of all the cases. Will need a lot more work.
<img width="679" height="161" alt="Screenshot 2025-09-16 at 10 19 06 PM"
src="https://github.com/user-attachments/assets/0407372d-aaed-41f5-a262-059b2686ae87"
/>
DiffTrain build for [84af9085c1](https://github.com/facebook/react/commit/84af9085c11411e44cc5e5aee6cf00c02a78986e)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-e3c9656d-20250917
|
||||
19.2.0-native-fb-84af9085-20250917
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6f06a3abf79e5e17ca30d04da49eec92>>
|
||||
* @generated SignedSource<<a79fe694fabda54854d9a6e73b575436>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4f3e6c54694d8234f50d9f0ea433dd9e>>
|
||||
* @generated SignedSource<<e947a773073a01a9f5df27222d40fb3e>>
|
||||
*/
|
||||
|
||||
"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-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4f3e6c54694d8234f50d9f0ea433dd9e>>
|
||||
* @generated SignedSource<<e947a773073a01a9f5df27222d40fb3e>>
|
||||
*/
|
||||
|
||||
"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-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
Vendored
+319
-227
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2305c3cf88b366033e5373a0e835f917>>
|
||||
* @generated SignedSource<<a634db09f5367a2642321fe84332040e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -11198,24 +11198,24 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2923;
|
||||
var JSCompiler_object_inline_stack_2924 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2935;
|
||||
var JSCompiler_object_inline_stack_2936 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_message_2922 = !1;
|
||||
var JSCompiler_object_inline_message_2934 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2923 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2923 =
|
||||
(JSCompiler_object_inline_digest_2935 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2935 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2923 &&
|
||||
((JSCompiler_object_inline_message_2922 = !0),
|
||||
JSCompiler_object_inline_digest_2935 &&
|
||||
((JSCompiler_object_inline_message_2934 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2923 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2935 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_message_2922
|
||||
JSCompiler_object_inline_message_2934
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -11228,18 +11228,18 @@ __DEV__ &&
|
||||
? current
|
||||
: null),
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2923 = {
|
||||
((JSCompiler_object_inline_digest_2935 = {
|
||||
dehydrated: current,
|
||||
treeContext: getSuspendedTreeContext(),
|
||||
retryLane: 536870912,
|
||||
hydrationErrors: null
|
||||
}),
|
||||
(workInProgress.memoizedState =
|
||||
JSCompiler_object_inline_digest_2923),
|
||||
(JSCompiler_object_inline_digest_2923 =
|
||||
JSCompiler_object_inline_digest_2935),
|
||||
(JSCompiler_object_inline_digest_2935 =
|
||||
createFiberFromDehydratedFragment(current)),
|
||||
(JSCompiler_object_inline_digest_2923.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2923),
|
||||
(JSCompiler_object_inline_digest_2935.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2935),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(nextHydratableInstance = null)))
|
||||
: (current = null);
|
||||
@@ -11253,9 +11253,9 @@ __DEV__ &&
|
||||
: (workInProgress.lanes = 536870912);
|
||||
return null;
|
||||
}
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2924.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2924.fallback;
|
||||
if (JSCompiler_object_inline_message_2922)
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2936.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2936.fallback;
|
||||
if (JSCompiler_object_inline_message_2934)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
mountSuspenseFallbackChildren(
|
||||
@@ -11264,21 +11264,21 @@ __DEV__ &&
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2924 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2924.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2936 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2936.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2924.childLanes =
|
||||
(JSCompiler_object_inline_stack_2936.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2924)
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2936)
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2924.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2936.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
@@ -11288,18 +11288,18 @@ __DEV__ &&
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2924 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2924.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2936 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2936.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2924.childLanes =
|
||||
(JSCompiler_object_inline_stack_2936.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2924)
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2936)
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
@@ -11309,8 +11309,8 @@ __DEV__ &&
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (null !== prevState) {
|
||||
var JSCompiler_object_inline_componentStack_2925 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2925) {
|
||||
var JSCompiler_object_inline_componentStack_2937 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2937) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -11327,13 +11327,13 @@ __DEV__ &&
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren =
|
||||
JSCompiler_object_inline_stack_2924.fallback),
|
||||
JSCompiler_object_inline_stack_2936.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2924 =
|
||||
(JSCompiler_object_inline_stack_2936 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2924.children
|
||||
children: JSCompiler_object_inline_stack_2936.children
|
||||
},
|
||||
nextFallbackChildren
|
||||
)),
|
||||
@@ -11344,11 +11344,11 @@ __DEV__ &&
|
||||
null
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2924.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2936.return = workInProgress),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2924.sibling =
|
||||
(JSCompiler_object_inline_stack_2936.sibling =
|
||||
nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2924),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2936),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -11356,19 +11356,19 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2924 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2924.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2936 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2936.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2924.childLanes =
|
||||
(JSCompiler_object_inline_stack_2936.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = bailoutOffscreenComponent(
|
||||
null,
|
||||
JSCompiler_object_inline_stack_2924
|
||||
JSCompiler_object_inline_stack_2936
|
||||
)));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -11376,45 +11376,45 @@ __DEV__ &&
|
||||
0 !== (renderLanes & 536870912) &&
|
||||
markRenderDerivedCause(workInProgress),
|
||||
isSuspenseInstanceFallback(
|
||||
JSCompiler_object_inline_componentStack_2925
|
||||
JSCompiler_object_inline_componentStack_2937
|
||||
))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2923 =
|
||||
JSCompiler_object_inline_componentStack_2925.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2925.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2923) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2923.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2923.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2923.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2923.cstck;
|
||||
JSCompiler_object_inline_digest_2935 =
|
||||
JSCompiler_object_inline_componentStack_2937.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2937.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2935) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2935.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2935.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2935.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2935.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2922 = message;
|
||||
JSCompiler_object_inline_digest_2923 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2924 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2925 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2922;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2925;
|
||||
JSCompiler_object_inline_message_2934 = message;
|
||||
JSCompiler_object_inline_digest_2935 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2936 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2937 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2934;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2937;
|
||||
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_2924 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2923;
|
||||
JSCompiler_object_inline_digest_2923 =
|
||||
JSCompiler_object_inline_stack_2936 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2935;
|
||||
JSCompiler_object_inline_digest_2935 =
|
||||
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2924 = {
|
||||
JSCompiler_object_inline_stack_2936 = {
|
||||
value: nextPrimaryChildren,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2923
|
||||
stack: JSCompiler_object_inline_digest_2935
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2923 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2935 &&
|
||||
CapturedStacks.set(
|
||||
nextPrimaryChildren,
|
||||
JSCompiler_object_inline_stack_2924
|
||||
JSCompiler_object_inline_stack_2936
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2924);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2936);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -11428,35 +11428,35 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2923 =
|
||||
(JSCompiler_object_inline_digest_2935 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2923)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2935)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2923 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2935 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2923 &&
|
||||
((JSCompiler_object_inline_stack_2924 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
null !== JSCompiler_object_inline_digest_2935 &&
|
||||
((JSCompiler_object_inline_stack_2936 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
renderLanes
|
||||
)),
|
||||
0 !== JSCompiler_object_inline_stack_2924 &&
|
||||
JSCompiler_object_inline_stack_2924 !== prevState.retryLane)
|
||||
0 !== JSCompiler_object_inline_stack_2936 &&
|
||||
JSCompiler_object_inline_stack_2936 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2924),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2936),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2924
|
||||
JSCompiler_object_inline_stack_2936
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2924
|
||||
JSCompiler_object_inline_stack_2936
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2925
|
||||
JSCompiler_object_inline_componentStack_2937
|
||||
) || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -11465,14 +11465,14 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2925
|
||||
JSCompiler_object_inline_componentStack_2937
|
||||
)
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_componentStack_2925.nextSibling
|
||||
JSCompiler_object_inline_componentStack_2937.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -11484,47 +11484,47 @@ __DEV__ &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2924.children
|
||||
JSCompiler_object_inline_stack_2936.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
}
|
||||
if (JSCompiler_object_inline_message_2922)
|
||||
if (JSCompiler_object_inline_message_2934)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2924.fallback),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2936.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(componentStack = current.child),
|
||||
(JSCompiler_object_inline_componentStack_2925 =
|
||||
(JSCompiler_object_inline_componentStack_2937 =
|
||||
componentStack.sibling),
|
||||
(JSCompiler_object_inline_message_2922 = {
|
||||
(JSCompiler_object_inline_message_2934 = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2924.children
|
||||
children: JSCompiler_object_inline_stack_2936.children
|
||||
}),
|
||||
(nextFallbackChildren & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== componentStack
|
||||
? ((JSCompiler_object_inline_stack_2924 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2924.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2924.pendingProps =
|
||||
JSCompiler_object_inline_message_2922),
|
||||
? ((JSCompiler_object_inline_stack_2936 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2936.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2936.pendingProps =
|
||||
JSCompiler_object_inline_message_2934),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2924.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2924.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2924.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2936.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2936.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2936.selfBaseDuration =
|
||||
componentStack.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2924.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2936.treeBaseDuration =
|
||||
componentStack.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2924 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2936 = createWorkInProgress(
|
||||
componentStack,
|
||||
JSCompiler_object_inline_message_2922
|
||||
JSCompiler_object_inline_message_2934
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2924.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2936.subtreeFlags =
|
||||
componentStack.subtreeFlags & 65011712)),
|
||||
null !== JSCompiler_object_inline_componentStack_2925
|
||||
null !== JSCompiler_object_inline_componentStack_2937
|
||||
? (nextPrimaryChildren = createWorkInProgress(
|
||||
JSCompiler_object_inline_componentStack_2925,
|
||||
JSCompiler_object_inline_componentStack_2937,
|
||||
nextPrimaryChildren
|
||||
))
|
||||
: ((nextPrimaryChildren = createFiberFromFragment(
|
||||
@@ -11535,11 +11535,11 @@ __DEV__ &&
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2)),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2924.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2924.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2924),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2924),
|
||||
(JSCompiler_object_inline_stack_2924 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2936.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2936.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2936),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2936),
|
||||
(JSCompiler_object_inline_stack_2936 = workInProgress.child),
|
||||
(nextPrimaryChildren = current.child.memoizedState),
|
||||
null === nextPrimaryChildren
|
||||
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
||||
@@ -11555,18 +11555,18 @@ __DEV__ &&
|
||||
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
||||
cachePool: nextFallbackChildren
|
||||
})),
|
||||
(JSCompiler_object_inline_stack_2924.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2936.memoizedState =
|
||||
nextPrimaryChildren),
|
||||
(JSCompiler_object_inline_stack_2924.childLanes =
|
||||
(JSCompiler_object_inline_stack_2936.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
bailoutOffscreenComponent(
|
||||
current.child,
|
||||
JSCompiler_object_inline_stack_2924
|
||||
JSCompiler_object_inline_stack_2936
|
||||
)
|
||||
);
|
||||
null !== prevState &&
|
||||
@@ -11574,28 +11574,28 @@ __DEV__ &&
|
||||
0 !== (renderLanes & current.lanes) &&
|
||||
markRenderDerivedCause(workInProgress);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2923 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2923.sibling;
|
||||
JSCompiler_object_inline_digest_2923 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2923,
|
||||
JSCompiler_object_inline_digest_2935 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2935.sibling;
|
||||
JSCompiler_object_inline_digest_2935 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2935,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2924.children
|
||||
children: JSCompiler_object_inline_stack_2936.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2923.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2923.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2923.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2935.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2935.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2935.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2923;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2935;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2923;
|
||||
return JSCompiler_object_inline_digest_2935;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = mountWorkInProgressOffscreenFiber(
|
||||
@@ -18891,6 +18891,7 @@ __DEV__ &&
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
@@ -18900,7 +18901,9 @@ __DEV__ &&
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
enableComponentPerformanceTrack &&
|
||||
(schedulerEvent = window.event);
|
||||
flushPassiveEffects(!0);
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -19131,6 +19134,45 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = finishedWork === IMMEDIATE_COMMIT ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT),
|
||||
(cleanUpIndicator = workInProgressUpdateTask),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
root,
|
||||
finishedWork,
|
||||
commitErrors,
|
||||
!1,
|
||||
cleanUpIndicator
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
(cleanUpIndicator
|
||||
? cleanUpIndicator.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)));
|
||||
pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;
|
||||
}
|
||||
}
|
||||
@@ -19139,69 +19181,70 @@ __DEV__ &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK ||
|
||||
pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE
|
||||
) {
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
if (
|
||||
enableComponentPerformanceTrack &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK
|
||||
) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
completedRenderEndTime =
|
||||
suspendedCommitReason === IMMEDIATE_COMMIT
|
||||
? completedRenderEndTime
|
||||
: commitStartTime;
|
||||
suspendedCommitReason = commitEndTime;
|
||||
var debugTask = workInProgressUpdateTask;
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
commitErrors,
|
||||
!1,
|
||||
debugTask
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
(debugTask
|
||||
? debugTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
var endTime = commitEndTime,
|
||||
abortedViewTransition =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startViewTransitionStartTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-dark"
|
||||
));
|
||||
abortedViewTransition ? "error" : "secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
));
|
||||
pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT &&
|
||||
(pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
|
||||
}
|
||||
(completedRenderEndTime =
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
endTime = pendingEffectsLanes;
|
||||
abortedViewTransition = pendingRecoverableErrors;
|
||||
var rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
||||
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes),
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
),
|
||||
(nestedPassiveUpdateCount = 0),
|
||||
(rootWithPassiveNestedUpdates = null));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
completedRenderEndTime || commitDoubleInvokeEffectsInDEV(root, !1);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
rootDidHavePassiveEffects ||
|
||||
commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime, !1);
|
||||
remainingLanes = lanesToEventPriority(endTime);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (
|
||||
injectedHook &&
|
||||
@@ -19209,7 +19252,7 @@ __DEV__ &&
|
||||
)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case DiscreteEventPriority:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -19239,21 +19282,23 @@ __DEV__ &&
|
||||
err
|
||||
));
|
||||
}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent &&
|
||||
startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
onCommitRoot();
|
||||
if (null !== recoverableErrors) {
|
||||
if (null !== abortedViewTransition) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = ReactDOMSharedInternals.p;
|
||||
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
finishedWork < abortedViewTransition.length;
|
||||
finishedWork++
|
||||
) {
|
||||
var recoverableError = recoverableErrors[finishedWork],
|
||||
var recoverableError = abortedViewTransition[finishedWork],
|
||||
errorInfo = makeErrorInfo(recoverableError.stack);
|
||||
runWithFiberInDEV(
|
||||
recoverableError.source,
|
||||
@@ -19268,18 +19313,19 @@ __DEV__ &&
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== root.tag &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (endTime & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects || finalizeRender(endTime, commitEndTime));
|
||||
if (hasScheduledReplayAttempt) {
|
||||
hasScheduledReplayAttempt = !1;
|
||||
null !== queuedFocus &&
|
||||
@@ -19295,24 +19341,35 @@ __DEV__ &&
|
||||
queuedPointerCaptures.forEach(
|
||||
attemptReplayContinuousQueuedEventInMap
|
||||
);
|
||||
for (root = 0; root < queuedChangeEventTargets.length; root++)
|
||||
(lanes = queuedChangeEventTargets[root]),
|
||||
"INPUT" === lanes.nodeName
|
||||
? "checkbox" === lanes.type || "radio" === lanes.type
|
||||
? (lanes.dispatchEvent(
|
||||
for (
|
||||
onRecoverableError = 0;
|
||||
onRecoverableError < queuedChangeEventTargets.length;
|
||||
onRecoverableError++
|
||||
)
|
||||
(recoverableError = queuedChangeEventTargets[onRecoverableError]),
|
||||
"INPUT" === recoverableError.nodeName
|
||||
? "checkbox" === recoverableError.type ||
|
||||
"radio" === recoverableError.type
|
||||
? (recoverableError.dispatchEvent(
|
||||
new ("function" === typeof PointerEvent
|
||||
? PointerEvent
|
||||
: Event)("click", { bubbles: !0 })
|
||||
),
|
||||
lanes.dispatchEvent(new Event("input", { bubbles: !0 })))
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("input", { bubbles: !0 })
|
||||
))
|
||||
: "function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
)
|
||||
: "TEXTAREA" === lanes.nodeName &&
|
||||
: "TEXTAREA" === recoverableError.nodeName &&
|
||||
"function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 })),
|
||||
lanes.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
),
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("change", { bubbles: !0 })
|
||||
);
|
||||
queuedChangeEventTargets.length = 0;
|
||||
}
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
@@ -19336,13 +19393,13 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -19370,40 +19427,69 @@ __DEV__ &&
|
||||
isFlushingPassiveEffects = !0;
|
||||
didScheduleUpdateDuringPassiveEffects = !1;
|
||||
var passiveEffectStartTime = 0;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
commitErrors = null;
|
||||
passiveEffectStartTime = now$1();
|
||||
var startTime = commitEndTime,
|
||||
if (enableComponentPerformanceTrack)
|
||||
if (
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT)
|
||||
) {
|
||||
var startTime = commitEndTime,
|
||||
endTime = passiveEffectStartTime;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary"
|
||||
));
|
||||
} else {
|
||||
startTime = commitEndTime;
|
||||
endTime = passiveEffectStartTime;
|
||||
wasDelayedCommit = !!wasDelayedCommit;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
var delayedUntilPaint =
|
||||
pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
));
|
||||
}
|
||||
));
|
||||
}
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
startTime = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var finishedWork = priority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -19423,7 +19509,7 @@ __DEV__ &&
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(priority, !0);
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = startTime;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -20022,7 +20108,9 @@ __DEV__ &&
|
||||
)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
@@ -28883,6 +28971,9 @@ __DEV__ &&
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
ABORTED_VIEW_TRANSITION_COMMIT = 1,
|
||||
DELAYED_PASSIVE_COMMIT = 2,
|
||||
ANIMATION_STARTED_COMMIT = 3,
|
||||
NO_PENDING_EFFECTS = 0,
|
||||
PENDING_MUTATION_PHASE = 1,
|
||||
PENDING_LAYOUT_PHASE = 2,
|
||||
@@ -28898,6 +28989,7 @@ __DEV__ &&
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = IMMEDIATE_COMMIT,
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT,
|
||||
NESTED_UPDATE_LIMIT = 50,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null,
|
||||
@@ -29774,11 +29866,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-e3c9656d-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== 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-e3c9656d-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29815,10 +29907,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29967,5 +30059,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+32
-32
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d41a1de4d129e91f1b049f99eb84f94a>>
|
||||
* @generated SignedSource<<71f962667fe3c137038062ba1b874aca>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -12354,7 +12354,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -12642,11 +12642,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -13016,7 +13016,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -13187,20 +13187,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1664 = 0;
|
||||
i$jscomp$inline_1664 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1664++
|
||||
var i$jscomp$inline_1663 = 0;
|
||||
i$jscomp$inline_1663 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1663++
|
||||
) {
|
||||
var eventName$jscomp$inline_1665 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1664],
|
||||
domEventName$jscomp$inline_1666 =
|
||||
eventName$jscomp$inline_1665.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1667 =
|
||||
eventName$jscomp$inline_1665[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1665.slice(1);
|
||||
var eventName$jscomp$inline_1664 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1663],
|
||||
domEventName$jscomp$inline_1665 =
|
||||
eventName$jscomp$inline_1664.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1666 =
|
||||
eventName$jscomp$inline_1664[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1664.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1666,
|
||||
"on" + capitalizedEvent$jscomp$inline_1667
|
||||
domEventName$jscomp$inline_1665,
|
||||
"on" + capitalizedEvent$jscomp$inline_1666
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17523,16 +17523,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2072 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-e3c9656d-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2072
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073,
|
||||
"19.2.0-native-fb-e3c9656d-20250917"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2072,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17552,24 +17552,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2646 = {
|
||||
var internals$jscomp$inline_2645 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2647 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2646 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2647.isDisabled &&
|
||||
hook$jscomp$inline_2647.supportsFiber
|
||||
!hook$jscomp$inline_2646.isDisabled &&
|
||||
hook$jscomp$inline_2646.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2647.inject(
|
||||
internals$jscomp$inline_2646
|
||||
(rendererID = hook$jscomp$inline_2646.inject(
|
||||
internals$jscomp$inline_2645
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2647);
|
||||
(injectedHook = hook$jscomp$inline_2646);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -17664,4 +17664,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
+150
-97
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<99b1546b0c795036ed5eca82d00783e1>>
|
||||
* @generated SignedSource<<4d8b54648734cf48a105a64bc77c216b>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -12887,6 +12887,7 @@ var DefaultAsyncDispatcher = {
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = 0,
|
||||
pendingDelayedCommitReason = 0,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null;
|
||||
function requestUpdateLane(fiber) {
|
||||
@@ -14176,6 +14177,7 @@ function commitRoot(
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = 0;
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256)
|
||||
@@ -14183,7 +14185,8 @@ function commitRoot(
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
enableComponentPerformanceTrack && (schedulerEvent = window.event);
|
||||
flushPassiveEffects(!0);
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -14414,53 +14417,75 @@ function flushLayoutEffects() {
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = 0 === finishedWork ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes = 1 === pendingDelayedCommitReason),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(root, finishedWork)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
));
|
||||
pendingEffectsStatus = 3;
|
||||
}
|
||||
}
|
||||
function flushSpawnedWork() {
|
||||
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
||||
if (enableComponentPerformanceTrack && 4 === pendingEffectsStatus) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
var abortedViewTransition = 1 === pendingDelayedCommitReason;
|
||||
!supportsUserTiming ||
|
||||
commitEndTime <= startViewTransitionStartTime ||
|
||||
console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
commitEndTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
);
|
||||
1 !== pendingDelayedCommitReason && (pendingDelayedCommitReason = 3);
|
||||
}
|
||||
pendingEffectsStatus = 0;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(completedRenderEndTime =
|
||||
0 === suspendedCommitReason ? completedRenderEndTime : commitStartTime),
|
||||
(suspendedCommitReason = commitEndTime),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(completedRenderEndTime, suspendedCommitReason)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
(completedRenderEndTime =
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
abortedViewTransition = pendingEffectsLanes;
|
||||
var recoverableErrors = pendingRecoverableErrors,
|
||||
rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = 5)
|
||||
: ((pendingEffectsStatus = 0),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
));
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
remainingLanes = lanesToEventPriority(abortedViewTransition);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case 2:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -14483,14 +14508,15 @@ function flushSpawnedWork() {
|
||||
didError
|
||||
);
|
||||
} catch (err) {}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = ReactDOMSharedInternals.p;
|
||||
ReactDOMSharedInternals.p = 2;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
@@ -14506,17 +14532,21 @@ function flushSpawnedWork() {
|
||||
(ReactDOMSharedInternals.p = schedulerPriority);
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (abortedViewTransition & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects ||
|
||||
finalizeRender(abortedViewTransition, commitEndTime));
|
||||
if (hasScheduledReplayAttempt) {
|
||||
hasScheduledReplayAttempt = !1;
|
||||
null !== queuedFocus &&
|
||||
@@ -14530,22 +14560,33 @@ function flushSpawnedWork() {
|
||||
(queuedMouse = null);
|
||||
queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
|
||||
queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
|
||||
for (root = 0; root < queuedChangeEventTargets.length; root++)
|
||||
(lanes = queuedChangeEventTargets[root]),
|
||||
"INPUT" === lanes.nodeName
|
||||
? "checkbox" === lanes.type || "radio" === lanes.type
|
||||
? (lanes.dispatchEvent(
|
||||
for (
|
||||
onRecoverableError = 0;
|
||||
onRecoverableError < queuedChangeEventTargets.length;
|
||||
onRecoverableError++
|
||||
)
|
||||
(recoverableError = queuedChangeEventTargets[onRecoverableError]),
|
||||
"INPUT" === recoverableError.nodeName
|
||||
? "checkbox" === recoverableError.type ||
|
||||
"radio" === recoverableError.type
|
||||
? (recoverableError.dispatchEvent(
|
||||
new ("function" === typeof PointerEvent
|
||||
? PointerEvent
|
||||
: Event)("click", { bubbles: !0 })
|
||||
),
|
||||
lanes.dispatchEvent(new Event("input", { bubbles: !0 })))
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("input", { bubbles: !0 })
|
||||
))
|
||||
: "function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 }))
|
||||
: "TEXTAREA" === lanes.nodeName &&
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
)
|
||||
: "TEXTAREA" === recoverableError.nodeName &&
|
||||
"function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 })),
|
||||
lanes.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
),
|
||||
recoverableError.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
queuedChangeEventTargets.length = 0;
|
||||
}
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
@@ -14558,13 +14599,13 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -14588,20 +14629,31 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
!supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
3 === pendingDelayedCommitReason
|
||||
? !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
"Animating",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
2 === pendingDelayedCommitReason ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var finishedWork = renderPriority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -14619,7 +14671,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = prevExecutionContext;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -15004,7 +15056,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -15177,20 +15230,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1916 = 0;
|
||||
i$jscomp$inline_1916 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1916++
|
||||
var i$jscomp$inline_1924 = 0;
|
||||
i$jscomp$inline_1924 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1924++
|
||||
) {
|
||||
var eventName$jscomp$inline_1917 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1916],
|
||||
domEventName$jscomp$inline_1918 =
|
||||
eventName$jscomp$inline_1917.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1919 =
|
||||
eventName$jscomp$inline_1917[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1917.slice(1);
|
||||
var eventName$jscomp$inline_1925 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1924],
|
||||
domEventName$jscomp$inline_1926 =
|
||||
eventName$jscomp$inline_1925.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1927 =
|
||||
eventName$jscomp$inline_1925[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1925.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1918,
|
||||
"on" + capitalizedEvent$jscomp$inline_1919
|
||||
domEventName$jscomp$inline_1926,
|
||||
"on" + capitalizedEvent$jscomp$inline_1927
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -19531,16 +19584,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2335 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-e3c9656d-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2327
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2335
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2327,
|
||||
"19.2.0-native-fb-e3c9656d-20250917"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2335,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19560,12 +19613,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2334 = {
|
||||
var internals$jscomp$inline_2342 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$324 = 0;
|
||||
@@ -19583,16 +19636,16 @@ var internals$jscomp$inline_2334 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2901 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2913 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2901.isDisabled &&
|
||||
hook$jscomp$inline_2901.supportsFiber
|
||||
!hook$jscomp$inline_2913.isDisabled &&
|
||||
hook$jscomp$inline_2913.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2901.inject(
|
||||
internals$jscomp$inline_2334
|
||||
(rendererID = hook$jscomp$inline_2913.inject(
|
||||
internals$jscomp$inline_2342
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2901);
|
||||
(injectedHook = hook$jscomp$inline_2913);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -19688,4 +19741,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
+319
-227
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<04e743edd00fa56ad7728ab50fcc3725>>
|
||||
* @generated SignedSource<<b1b9407714c443468669d6d62be32e96>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -11206,24 +11206,24 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2928;
|
||||
var JSCompiler_object_inline_stack_2929 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2940;
|
||||
var JSCompiler_object_inline_stack_2941 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_message_2927 = !1;
|
||||
var JSCompiler_object_inline_message_2939 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2928 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2928 =
|
||||
(JSCompiler_object_inline_digest_2940 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2940 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2928 &&
|
||||
((JSCompiler_object_inline_message_2927 = !0),
|
||||
JSCompiler_object_inline_digest_2940 &&
|
||||
((JSCompiler_object_inline_message_2939 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2928 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2940 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_message_2927
|
||||
JSCompiler_object_inline_message_2939
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -11236,18 +11236,18 @@ __DEV__ &&
|
||||
? current
|
||||
: null),
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2928 = {
|
||||
((JSCompiler_object_inline_digest_2940 = {
|
||||
dehydrated: current,
|
||||
treeContext: getSuspendedTreeContext(),
|
||||
retryLane: 536870912,
|
||||
hydrationErrors: null
|
||||
}),
|
||||
(workInProgress.memoizedState =
|
||||
JSCompiler_object_inline_digest_2928),
|
||||
(JSCompiler_object_inline_digest_2928 =
|
||||
JSCompiler_object_inline_digest_2940),
|
||||
(JSCompiler_object_inline_digest_2940 =
|
||||
createFiberFromDehydratedFragment(current)),
|
||||
(JSCompiler_object_inline_digest_2928.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2928),
|
||||
(JSCompiler_object_inline_digest_2940.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_digest_2940),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(nextHydratableInstance = null)))
|
||||
: (current = null);
|
||||
@@ -11261,9 +11261,9 @@ __DEV__ &&
|
||||
: (workInProgress.lanes = 536870912);
|
||||
return null;
|
||||
}
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2929.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2929.fallback;
|
||||
if (JSCompiler_object_inline_message_2927)
|
||||
var nextPrimaryChildren = JSCompiler_object_inline_stack_2941.children,
|
||||
nextFallbackChildren = JSCompiler_object_inline_stack_2941.fallback;
|
||||
if (JSCompiler_object_inline_message_2939)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
mountSuspenseFallbackChildren(
|
||||
@@ -11272,21 +11272,21 @@ __DEV__ &&
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2929 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2929.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2941 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2941.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2929.childLanes =
|
||||
(JSCompiler_object_inline_stack_2941.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2929)
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2941)
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2929.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2941.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
@@ -11296,18 +11296,18 @@ __DEV__ &&
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2929 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2929.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2941 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2941.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2929.childLanes =
|
||||
(JSCompiler_object_inline_stack_2941.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2929)
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2941)
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
@@ -11317,8 +11317,8 @@ __DEV__ &&
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (null !== prevState) {
|
||||
var JSCompiler_object_inline_componentStack_2930 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2930) {
|
||||
var JSCompiler_object_inline_componentStack_2942 = prevState.dehydrated;
|
||||
if (null !== JSCompiler_object_inline_componentStack_2942) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -11335,13 +11335,13 @@ __DEV__ &&
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren =
|
||||
JSCompiler_object_inline_stack_2929.fallback),
|
||||
JSCompiler_object_inline_stack_2941.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2929 =
|
||||
(JSCompiler_object_inline_stack_2941 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2929.children
|
||||
children: JSCompiler_object_inline_stack_2941.children
|
||||
},
|
||||
nextFallbackChildren
|
||||
)),
|
||||
@@ -11352,11 +11352,11 @@ __DEV__ &&
|
||||
null
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2929.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2941.return = workInProgress),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2929.sibling =
|
||||
(JSCompiler_object_inline_stack_2941.sibling =
|
||||
nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2929),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2941),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -11364,19 +11364,19 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2929 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2929.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2941 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2941.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2929.childLanes =
|
||||
(JSCompiler_object_inline_stack_2941.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = bailoutOffscreenComponent(
|
||||
null,
|
||||
JSCompiler_object_inline_stack_2929
|
||||
JSCompiler_object_inline_stack_2941
|
||||
)));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
@@ -11384,45 +11384,45 @@ __DEV__ &&
|
||||
0 !== (renderLanes & 536870912) &&
|
||||
markRenderDerivedCause(workInProgress),
|
||||
isSuspenseInstanceFallback(
|
||||
JSCompiler_object_inline_componentStack_2930
|
||||
JSCompiler_object_inline_componentStack_2942
|
||||
))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2928 =
|
||||
JSCompiler_object_inline_componentStack_2930.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2930.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2928) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2928.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2928.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2928.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2928.cstck;
|
||||
JSCompiler_object_inline_digest_2940 =
|
||||
JSCompiler_object_inline_componentStack_2942.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2942.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2940) {
|
||||
nextPrimaryChildren = JSCompiler_object_inline_digest_2940.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2940.msg;
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2940.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2940.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2927 = message;
|
||||
JSCompiler_object_inline_digest_2928 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2929 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2930 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2927;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2930;
|
||||
JSCompiler_object_inline_message_2939 = message;
|
||||
JSCompiler_object_inline_digest_2940 = nextPrimaryChildren;
|
||||
JSCompiler_object_inline_stack_2941 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_componentStack_2942 = componentStack;
|
||||
nextPrimaryChildren = JSCompiler_object_inline_message_2939;
|
||||
nextFallbackChildren = JSCompiler_object_inline_componentStack_2942;
|
||||
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_2929 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2928;
|
||||
JSCompiler_object_inline_digest_2928 =
|
||||
JSCompiler_object_inline_stack_2941 || "";
|
||||
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2940;
|
||||
JSCompiler_object_inline_digest_2940 =
|
||||
void 0 === nextFallbackChildren ? null : nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2929 = {
|
||||
JSCompiler_object_inline_stack_2941 = {
|
||||
value: nextPrimaryChildren,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2928
|
||||
stack: JSCompiler_object_inline_digest_2940
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2928 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2940 &&
|
||||
CapturedStacks.set(
|
||||
nextPrimaryChildren,
|
||||
JSCompiler_object_inline_stack_2929
|
||||
JSCompiler_object_inline_stack_2941
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2929);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2941);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -11436,35 +11436,35 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2928 =
|
||||
(JSCompiler_object_inline_digest_2940 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2928)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2940)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2928 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2940 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2928 &&
|
||||
((JSCompiler_object_inline_stack_2929 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
null !== JSCompiler_object_inline_digest_2940 &&
|
||||
((JSCompiler_object_inline_stack_2941 = getBumpedLaneForHydration(
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
renderLanes
|
||||
)),
|
||||
0 !== JSCompiler_object_inline_stack_2929 &&
|
||||
JSCompiler_object_inline_stack_2929 !== prevState.retryLane)
|
||||
0 !== JSCompiler_object_inline_stack_2941 &&
|
||||
JSCompiler_object_inline_stack_2941 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2929),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2941),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2929
|
||||
JSCompiler_object_inline_stack_2941
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2929
|
||||
JSCompiler_object_inline_stack_2941
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2930
|
||||
JSCompiler_object_inline_componentStack_2942
|
||||
) || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -11473,14 +11473,14 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending(
|
||||
JSCompiler_object_inline_componentStack_2930
|
||||
JSCompiler_object_inline_componentStack_2942
|
||||
)
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_componentStack_2930.nextSibling
|
||||
JSCompiler_object_inline_componentStack_2942.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -11492,47 +11492,47 @@ __DEV__ &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2929.children
|
||||
JSCompiler_object_inline_stack_2941.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
}
|
||||
if (JSCompiler_object_inline_message_2927)
|
||||
if (JSCompiler_object_inline_message_2939)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2929.fallback),
|
||||
(nextPrimaryChildren = JSCompiler_object_inline_stack_2941.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(componentStack = current.child),
|
||||
(JSCompiler_object_inline_componentStack_2930 =
|
||||
(JSCompiler_object_inline_componentStack_2942 =
|
||||
componentStack.sibling),
|
||||
(JSCompiler_object_inline_message_2927 = {
|
||||
(JSCompiler_object_inline_message_2939 = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2929.children
|
||||
children: JSCompiler_object_inline_stack_2941.children
|
||||
}),
|
||||
(nextFallbackChildren & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== componentStack
|
||||
? ((JSCompiler_object_inline_stack_2929 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2929.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2929.pendingProps =
|
||||
JSCompiler_object_inline_message_2927),
|
||||
? ((JSCompiler_object_inline_stack_2941 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2941.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2941.pendingProps =
|
||||
JSCompiler_object_inline_message_2939),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2929.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2929.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2929.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2941.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2941.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2941.selfBaseDuration =
|
||||
componentStack.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2929.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2941.treeBaseDuration =
|
||||
componentStack.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2929 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2941 = createWorkInProgress(
|
||||
componentStack,
|
||||
JSCompiler_object_inline_message_2927
|
||||
JSCompiler_object_inline_message_2939
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2929.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2941.subtreeFlags =
|
||||
componentStack.subtreeFlags & 65011712)),
|
||||
null !== JSCompiler_object_inline_componentStack_2930
|
||||
null !== JSCompiler_object_inline_componentStack_2942
|
||||
? (nextPrimaryChildren = createWorkInProgress(
|
||||
JSCompiler_object_inline_componentStack_2930,
|
||||
JSCompiler_object_inline_componentStack_2942,
|
||||
nextPrimaryChildren
|
||||
))
|
||||
: ((nextPrimaryChildren = createFiberFromFragment(
|
||||
@@ -11543,11 +11543,11 @@ __DEV__ &&
|
||||
)),
|
||||
(nextPrimaryChildren.flags |= 2)),
|
||||
(nextPrimaryChildren.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2929.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2929.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2929),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2929),
|
||||
(JSCompiler_object_inline_stack_2929 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2941.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2941.sibling = nextPrimaryChildren),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2941),
|
||||
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2941),
|
||||
(JSCompiler_object_inline_stack_2941 = workInProgress.child),
|
||||
(nextPrimaryChildren = current.child.memoizedState),
|
||||
null === nextPrimaryChildren
|
||||
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
||||
@@ -11563,18 +11563,18 @@ __DEV__ &&
|
||||
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
||||
cachePool: nextFallbackChildren
|
||||
})),
|
||||
(JSCompiler_object_inline_stack_2929.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2941.memoizedState =
|
||||
nextPrimaryChildren),
|
||||
(JSCompiler_object_inline_stack_2929.childLanes =
|
||||
(JSCompiler_object_inline_stack_2941.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
bailoutOffscreenComponent(
|
||||
current.child,
|
||||
JSCompiler_object_inline_stack_2929
|
||||
JSCompiler_object_inline_stack_2941
|
||||
)
|
||||
);
|
||||
null !== prevState &&
|
||||
@@ -11582,28 +11582,28 @@ __DEV__ &&
|
||||
0 !== (renderLanes & current.lanes) &&
|
||||
markRenderDerivedCause(workInProgress);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2928 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2928.sibling;
|
||||
JSCompiler_object_inline_digest_2928 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2928,
|
||||
JSCompiler_object_inline_digest_2940 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2940.sibling;
|
||||
JSCompiler_object_inline_digest_2940 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2940,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2929.children
|
||||
children: JSCompiler_object_inline_stack_2941.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2928.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2928.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2928.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2940.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2940.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2940.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2928;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2940;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2928;
|
||||
return JSCompiler_object_inline_digest_2940;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = mountWorkInProgressOffscreenFiber(
|
||||
@@ -18899,6 +18899,7 @@ __DEV__ &&
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
@@ -18908,7 +18909,9 @@ __DEV__ &&
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
enableComponentPerformanceTrack &&
|
||||
(schedulerEvent = window.event);
|
||||
flushPassiveEffects(!0);
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -19139,6 +19142,45 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = finishedWork === IMMEDIATE_COMMIT ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT),
|
||||
(cleanUpIndicator = workInProgressUpdateTask),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
root,
|
||||
finishedWork,
|
||||
commitErrors,
|
||||
!1,
|
||||
cleanUpIndicator
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
(cleanUpIndicator
|
||||
? cleanUpIndicator.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)));
|
||||
pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;
|
||||
}
|
||||
}
|
||||
@@ -19147,69 +19189,70 @@ __DEV__ &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK ||
|
||||
pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE
|
||||
) {
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
if (
|
||||
enableComponentPerformanceTrack &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK
|
||||
) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
completedRenderEndTime =
|
||||
suspendedCommitReason === IMMEDIATE_COMMIT
|
||||
? completedRenderEndTime
|
||||
: commitStartTime;
|
||||
suspendedCommitReason = commitEndTime;
|
||||
var debugTask = workInProgressUpdateTask;
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
commitErrors,
|
||||
!1,
|
||||
debugTask
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
(debugTask
|
||||
? debugTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
var endTime = commitEndTime,
|
||||
abortedViewTransition =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startViewTransitionStartTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-dark"
|
||||
));
|
||||
abortedViewTransition ? "error" : "secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
));
|
||||
pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT &&
|
||||
(pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
|
||||
}
|
||||
(completedRenderEndTime =
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
endTime = pendingEffectsLanes;
|
||||
abortedViewTransition = pendingRecoverableErrors;
|
||||
var rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
||||
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes),
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
),
|
||||
(nestedPassiveUpdateCount = 0),
|
||||
(rootWithPassiveNestedUpdates = null));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
completedRenderEndTime || commitDoubleInvokeEffectsInDEV(root, !1);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
rootDidHavePassiveEffects ||
|
||||
commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime, !1);
|
||||
remainingLanes = lanesToEventPriority(endTime);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (
|
||||
injectedHook &&
|
||||
@@ -19217,7 +19260,7 @@ __DEV__ &&
|
||||
)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case DiscreteEventPriority:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -19247,21 +19290,23 @@ __DEV__ &&
|
||||
err
|
||||
));
|
||||
}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent &&
|
||||
startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
onCommitRoot();
|
||||
if (null !== recoverableErrors) {
|
||||
if (null !== abortedViewTransition) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = ReactDOMSharedInternals.p;
|
||||
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
finishedWork < abortedViewTransition.length;
|
||||
finishedWork++
|
||||
) {
|
||||
var recoverableError = recoverableErrors[finishedWork],
|
||||
var recoverableError = abortedViewTransition[finishedWork],
|
||||
errorInfo = makeErrorInfo(recoverableError.stack);
|
||||
runWithFiberInDEV(
|
||||
recoverableError.source,
|
||||
@@ -19276,18 +19321,19 @@ __DEV__ &&
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== root.tag &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (endTime & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects || finalizeRender(endTime, commitEndTime));
|
||||
if (hasScheduledReplayAttempt) {
|
||||
hasScheduledReplayAttempt = !1;
|
||||
null !== queuedFocus &&
|
||||
@@ -19303,24 +19349,35 @@ __DEV__ &&
|
||||
queuedPointerCaptures.forEach(
|
||||
attemptReplayContinuousQueuedEventInMap
|
||||
);
|
||||
for (root = 0; root < queuedChangeEventTargets.length; root++)
|
||||
(lanes = queuedChangeEventTargets[root]),
|
||||
"INPUT" === lanes.nodeName
|
||||
? "checkbox" === lanes.type || "radio" === lanes.type
|
||||
? (lanes.dispatchEvent(
|
||||
for (
|
||||
onRecoverableError = 0;
|
||||
onRecoverableError < queuedChangeEventTargets.length;
|
||||
onRecoverableError++
|
||||
)
|
||||
(recoverableError = queuedChangeEventTargets[onRecoverableError]),
|
||||
"INPUT" === recoverableError.nodeName
|
||||
? "checkbox" === recoverableError.type ||
|
||||
"radio" === recoverableError.type
|
||||
? (recoverableError.dispatchEvent(
|
||||
new ("function" === typeof PointerEvent
|
||||
? PointerEvent
|
||||
: Event)("click", { bubbles: !0 })
|
||||
),
|
||||
lanes.dispatchEvent(new Event("input", { bubbles: !0 })))
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("input", { bubbles: !0 })
|
||||
))
|
||||
: "function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
)
|
||||
: "TEXTAREA" === lanes.nodeName &&
|
||||
: "TEXTAREA" === recoverableError.nodeName &&
|
||||
"function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 })),
|
||||
lanes.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
),
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("change", { bubbles: !0 })
|
||||
);
|
||||
queuedChangeEventTargets.length = 0;
|
||||
}
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
@@ -19344,13 +19401,13 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -19378,40 +19435,69 @@ __DEV__ &&
|
||||
isFlushingPassiveEffects = !0;
|
||||
didScheduleUpdateDuringPassiveEffects = !1;
|
||||
var passiveEffectStartTime = 0;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
commitErrors = null;
|
||||
passiveEffectStartTime = now$1();
|
||||
var startTime = commitEndTime,
|
||||
if (enableComponentPerformanceTrack)
|
||||
if (
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT)
|
||||
) {
|
||||
var startTime = commitEndTime,
|
||||
endTime = passiveEffectStartTime;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary"
|
||||
));
|
||||
} else {
|
||||
startTime = commitEndTime;
|
||||
endTime = passiveEffectStartTime;
|
||||
wasDelayedCommit = !!wasDelayedCommit;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
var delayedUntilPaint =
|
||||
pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
LANES_TRACK_GROUP,
|
||||
"secondary-light"
|
||||
));
|
||||
}
|
||||
));
|
||||
}
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
startTime = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var finishedWork = priority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -19431,7 +19517,7 @@ __DEV__ &&
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(priority, !0);
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = startTime;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -20030,7 +20116,9 @@ __DEV__ &&
|
||||
)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
@@ -28939,6 +29027,9 @@ __DEV__ &&
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
ABORTED_VIEW_TRANSITION_COMMIT = 1,
|
||||
DELAYED_PASSIVE_COMMIT = 2,
|
||||
ANIMATION_STARTED_COMMIT = 3,
|
||||
NO_PENDING_EFFECTS = 0,
|
||||
PENDING_MUTATION_PHASE = 1,
|
||||
PENDING_LAYOUT_PHASE = 2,
|
||||
@@ -28954,6 +29045,7 @@ __DEV__ &&
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = IMMEDIATE_COMMIT,
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT,
|
||||
NESTED_UPDATE_LIMIT = 50,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null,
|
||||
@@ -29830,11 +29922,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-e3c9656d-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== 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-e3c9656d-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29871,10 +29963,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30339,7 +30431,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+32
-32
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<35248cf84b2e6ac02d7920f4c80bea8e>>
|
||||
* @generated SignedSource<<081dd2c2ea2cf0ce4131ff6ee3dad9c1>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -12354,7 +12354,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -12642,11 +12642,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -13016,7 +13016,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -13187,20 +13187,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1665 = 0;
|
||||
i$jscomp$inline_1665 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1665++
|
||||
var i$jscomp$inline_1664 = 0;
|
||||
i$jscomp$inline_1664 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1664++
|
||||
) {
|
||||
var eventName$jscomp$inline_1666 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1665],
|
||||
domEventName$jscomp$inline_1667 =
|
||||
eventName$jscomp$inline_1666.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1668 =
|
||||
eventName$jscomp$inline_1666[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1666.slice(1);
|
||||
var eventName$jscomp$inline_1665 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1664],
|
||||
domEventName$jscomp$inline_1666 =
|
||||
eventName$jscomp$inline_1665.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1667 =
|
||||
eventName$jscomp$inline_1665[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1665.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1667,
|
||||
"on" + capitalizedEvent$jscomp$inline_1668
|
||||
domEventName$jscomp$inline_1666,
|
||||
"on" + capitalizedEvent$jscomp$inline_1667
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17534,16 +17534,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2074 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-e3c9656d-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2074
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2074,
|
||||
"19.2.0-native-fb-e3c9656d-20250917"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17563,24 +17563,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2649 = {
|
||||
var internals$jscomp$inline_2648 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2650 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2649 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2650.isDisabled &&
|
||||
hook$jscomp$inline_2650.supportsFiber
|
||||
!hook$jscomp$inline_2649.isDisabled &&
|
||||
hook$jscomp$inline_2649.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2650.inject(
|
||||
internals$jscomp$inline_2649
|
||||
(rendererID = hook$jscomp$inline_2649.inject(
|
||||
internals$jscomp$inline_2648
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2650);
|
||||
(injectedHook = hook$jscomp$inline_2649);
|
||||
} catch (err) {}
|
||||
}
|
||||
function getCrossOriginStringAs(as, input) {
|
||||
@@ -17828,4 +17828,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
+150
-97
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3ec877c963e8dc56bc397091a2241035>>
|
||||
* @generated SignedSource<<713f87fdf57e4b38d6137f107b8335ee>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -12891,6 +12891,7 @@ var DefaultAsyncDispatcher = {
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = 0,
|
||||
pendingDelayedCommitReason = 0,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null;
|
||||
function requestUpdateLane(fiber) {
|
||||
@@ -14180,6 +14181,7 @@ function commitRoot(
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = 0;
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256)
|
||||
@@ -14187,7 +14189,8 @@ function commitRoot(
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback$1(NormalPriority$1, function () {
|
||||
enableComponentPerformanceTrack && (schedulerEvent = window.event);
|
||||
flushPassiveEffects(!0);
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -14418,53 +14421,75 @@ function flushLayoutEffects() {
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = 0 === finishedWork ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes = 1 === pendingDelayedCommitReason),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(root, finishedWork)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
));
|
||||
pendingEffectsStatus = 3;
|
||||
}
|
||||
}
|
||||
function flushSpawnedWork() {
|
||||
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
||||
if (enableComponentPerformanceTrack && 4 === pendingEffectsStatus) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
var abortedViewTransition = 1 === pendingDelayedCommitReason;
|
||||
!supportsUserTiming ||
|
||||
commitEndTime <= startViewTransitionStartTime ||
|
||||
console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
commitEndTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
);
|
||||
1 !== pendingDelayedCommitReason && (pendingDelayedCommitReason = 3);
|
||||
}
|
||||
pendingEffectsStatus = 0;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(completedRenderEndTime =
|
||||
0 === suspendedCommitReason ? completedRenderEndTime : commitStartTime),
|
||||
(suspendedCommitReason = commitEndTime),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(completedRenderEndTime, suspendedCommitReason)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
(completedRenderEndTime =
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
abortedViewTransition = pendingEffectsLanes;
|
||||
var recoverableErrors = pendingRecoverableErrors,
|
||||
rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = 5)
|
||||
: ((pendingEffectsStatus = 0),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
));
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
remainingLanes = lanesToEventPriority(abortedViewTransition);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case 2:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -14487,14 +14512,15 @@ function flushSpawnedWork() {
|
||||
didError
|
||||
);
|
||||
} catch (err) {}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = ReactDOMSharedInternals.p;
|
||||
ReactDOMSharedInternals.p = 2;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
@@ -14510,17 +14536,21 @@ function flushSpawnedWork() {
|
||||
(ReactDOMSharedInternals.p = schedulerPriority);
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (abortedViewTransition & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects ||
|
||||
finalizeRender(abortedViewTransition, commitEndTime));
|
||||
if (hasScheduledReplayAttempt) {
|
||||
hasScheduledReplayAttempt = !1;
|
||||
null !== queuedFocus &&
|
||||
@@ -14534,22 +14564,33 @@ function flushSpawnedWork() {
|
||||
(queuedMouse = null);
|
||||
queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
|
||||
queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
|
||||
for (root = 0; root < queuedChangeEventTargets.length; root++)
|
||||
(lanes = queuedChangeEventTargets[root]),
|
||||
"INPUT" === lanes.nodeName
|
||||
? "checkbox" === lanes.type || "radio" === lanes.type
|
||||
? (lanes.dispatchEvent(
|
||||
for (
|
||||
onRecoverableError = 0;
|
||||
onRecoverableError < queuedChangeEventTargets.length;
|
||||
onRecoverableError++
|
||||
)
|
||||
(recoverableError = queuedChangeEventTargets[onRecoverableError]),
|
||||
"INPUT" === recoverableError.nodeName
|
||||
? "checkbox" === recoverableError.type ||
|
||||
"radio" === recoverableError.type
|
||||
? (recoverableError.dispatchEvent(
|
||||
new ("function" === typeof PointerEvent
|
||||
? PointerEvent
|
||||
: Event)("click", { bubbles: !0 })
|
||||
),
|
||||
lanes.dispatchEvent(new Event("input", { bubbles: !0 })))
|
||||
recoverableError.dispatchEvent(
|
||||
new Event("input", { bubbles: !0 })
|
||||
))
|
||||
: "function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 }))
|
||||
: "TEXTAREA" === lanes.nodeName &&
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
)
|
||||
: "TEXTAREA" === recoverableError.nodeName &&
|
||||
"function" === typeof InputEvent &&
|
||||
lanes.dispatchEvent(new InputEvent("input", { bubbles: !0 })),
|
||||
lanes.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
recoverableError.dispatchEvent(
|
||||
new InputEvent("input", { bubbles: !0 })
|
||||
),
|
||||
recoverableError.dispatchEvent(new Event("change", { bubbles: !0 }));
|
||||
queuedChangeEventTargets.length = 0;
|
||||
}
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
@@ -14562,13 +14603,13 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -14592,20 +14633,31 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
!supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
3 === pendingDelayedCommitReason
|
||||
? !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
"Animating",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
2 === pendingDelayedCommitReason ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var finishedWork = renderPriority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -14623,7 +14675,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = prevExecutionContext;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -15008,7 +15060,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -15181,20 +15234,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1917 = 0;
|
||||
i$jscomp$inline_1917 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1917++
|
||||
var i$jscomp$inline_1925 = 0;
|
||||
i$jscomp$inline_1925 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1925++
|
||||
) {
|
||||
var eventName$jscomp$inline_1918 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1917],
|
||||
domEventName$jscomp$inline_1919 =
|
||||
eventName$jscomp$inline_1918.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1920 =
|
||||
eventName$jscomp$inline_1918[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1918.slice(1);
|
||||
var eventName$jscomp$inline_1926 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1925],
|
||||
domEventName$jscomp$inline_1927 =
|
||||
eventName$jscomp$inline_1926.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1928 =
|
||||
eventName$jscomp$inline_1926[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1926.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1919,
|
||||
"on" + capitalizedEvent$jscomp$inline_1920
|
||||
domEventName$jscomp$inline_1927,
|
||||
"on" + capitalizedEvent$jscomp$inline_1928
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -19546,16 +19599,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2328 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2336 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-e3c9656d-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2328
|
||||
"19.2.0-native-fb-84af9085-20250917" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2336
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2328,
|
||||
"19.2.0-native-fb-e3c9656d-20250917"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2336,
|
||||
"19.2.0-native-fb-84af9085-20250917"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19575,12 +19628,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2335 = {
|
||||
var internals$jscomp$inline_2343 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$324 = 0;
|
||||
@@ -19598,16 +19651,16 @@ var internals$jscomp$inline_2335 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2904 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2916 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2904.isDisabled &&
|
||||
hook$jscomp$inline_2904.supportsFiber
|
||||
!hook$jscomp$inline_2916.isDisabled &&
|
||||
hook$jscomp$inline_2916.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2904.inject(
|
||||
internals$jscomp$inline_2335
|
||||
(rendererID = hook$jscomp$inline_2916.inject(
|
||||
internals$jscomp$inline_2343
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2904);
|
||||
(injectedHook = hook$jscomp$inline_2916);
|
||||
} catch (err) {}
|
||||
}
|
||||
function getCrossOriginStringAs(as, input) {
|
||||
@@ -19856,7 +19909,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+10
-10
@@ -7,13 +7,13 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<846f4bae2408e18da15b3d7d66873c0c>>
|
||||
* @generated SignedSource<<b354c26f499484ddff17618380a6d59c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1178() {
|
||||
function JSCompiler_object_inline_createNodeMock_1177() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -2389,7 +2389,7 @@ __DEV__ &&
|
||||
)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
@@ -12470,7 +12470,7 @@ __DEV__ &&
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -12704,11 +12704,11 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
||||
@@ -15920,10 +15920,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15945,7 +15945,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1178,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1177,
|
||||
isConcurrent = !1,
|
||||
isStrictMode = !1;
|
||||
"object" === typeof options &&
|
||||
@@ -16068,5 +16068,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
})();
|
||||
|
||||
+15
-15
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6e7bfd3341df2a72ab77a02bf486f6c3>>
|
||||
* @generated SignedSource<<0c58dd6b29f426cee658ba644ff151cf>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1450,7 +1450,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -9082,7 +9082,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -9242,11 +9242,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -10050,24 +10050,24 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1483 = {
|
||||
var internals$jscomp$inline_1482 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1484 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1483 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1484.isDisabled &&
|
||||
hook$jscomp$inline_1484.supportsFiber
|
||||
!hook$jscomp$inline_1483.isDisabled &&
|
||||
hook$jscomp$inline_1483.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1484.inject(
|
||||
internals$jscomp$inline_1483
|
||||
(rendererID = hook$jscomp$inline_1483.inject(
|
||||
internals$jscomp$inline_1482
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1484);
|
||||
(injectedHook = hook$jscomp$inline_1483);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10191,4 +10191,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
+15
-15
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fe9601bd1e139518d647404ca26b9b84>>
|
||||
* @generated SignedSource<<485ce470ba634b6562276c0ed4f834ee>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1564,7 +1564,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -9641,7 +9641,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -9833,11 +9833,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -10671,12 +10671,12 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1274 = {
|
||||
var internals$jscomp$inline_1273 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$145 = 0;
|
||||
@@ -10694,16 +10694,16 @@ var internals$jscomp$inline_1274 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1549 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1548 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1549.isDisabled &&
|
||||
hook$jscomp$inline_1549.supportsFiber
|
||||
!hook$jscomp$inline_1548.isDisabled &&
|
||||
hook$jscomp$inline_1548.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1549.inject(
|
||||
internals$jscomp$inline_1274
|
||||
(rendererID = hook$jscomp$inline_1548.inject(
|
||||
internals$jscomp$inline_1273
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1549);
|
||||
(injectedHook = hook$jscomp$inline_1548);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10827,4 +10827,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ebb1e870dabeccfefa6fd2fe918d479b>>
|
||||
* @generated SignedSource<<f6e0c0e60de00ba529796f8bae09f5e6>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1398,7 +1398,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2032219a83d57df68bab964978008949>>
|
||||
* @generated SignedSource<<8bcfb7325e3c6a86c9ebac6b469b9f7c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -581,4 +581,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<66ba0ce3db5c4d765a447a050b43e07c>>
|
||||
* @generated SignedSource<<7dee4397c4d9a10c9f88c8fbd9f676a4>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -585,7 +585,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-e3c9656d-20250917";
|
||||
exports.version = "19.2.0-native-fb-84af9085-20250917";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
e3c9656d20618ed321aea85cb3d844cbd1dce078
|
||||
84af9085c11411e44cc5e5aee6cf00c02a78986e
|
||||
|
||||
+178
-97
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c35dd7023f8cf7ebb64c38ac231c1b96>>
|
||||
* @generated SignedSource<<392e23ae168cd5cb923ee3e4030b8030>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3897,7 +3897,9 @@ __DEV__ &&
|
||||
)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
@@ -15115,6 +15117,7 @@ __DEV__ &&
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
@@ -15122,7 +15125,9 @@ __DEV__ &&
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -15253,6 +15258,45 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = finishedWork === IMMEDIATE_COMMIT ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT),
|
||||
(cleanUpIndicator = workInProgressUpdateTask),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
root,
|
||||
finishedWork,
|
||||
commitErrors,
|
||||
!1,
|
||||
cleanUpIndicator
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
(cleanUpIndicator
|
||||
? cleanUpIndicator.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)));
|
||||
pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;
|
||||
}
|
||||
}
|
||||
@@ -15261,69 +15305,70 @@ __DEV__ &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK ||
|
||||
pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE
|
||||
) {
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
if (
|
||||
enableComponentPerformanceTrack &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK
|
||||
) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
completedRenderEndTime =
|
||||
suspendedCommitReason === IMMEDIATE_COMMIT
|
||||
? completedRenderEndTime
|
||||
: commitStartTime;
|
||||
suspendedCommitReason = commitEndTime;
|
||||
var debugTask = workInProgressUpdateTask;
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
commitErrors,
|
||||
!1,
|
||||
debugTask
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
(debugTask
|
||||
? debugTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
var endTime = commitEndTime,
|
||||
abortedViewTransition =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startViewTransitionStartTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
abortedViewTransition ? "error" : "secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
));
|
||||
pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT &&
|
||||
(pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
|
||||
}
|
||||
(completedRenderEndTime =
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
endTime = pendingEffectsLanes;
|
||||
abortedViewTransition = pendingRecoverableErrors;
|
||||
var rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
||||
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes),
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
),
|
||||
(nestedPassiveUpdateCount = 0),
|
||||
(rootWithPassiveNestedUpdates = null));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
completedRenderEndTime || commitDoubleInvokeEffectsInDEV(root, !1);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
rootDidHavePassiveEffects ||
|
||||
commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime, !1);
|
||||
remainingLanes = lanesToEventPriority(endTime);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (
|
||||
injectedHook &&
|
||||
@@ -15331,7 +15376,7 @@ __DEV__ &&
|
||||
)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case DiscreteEventPriority:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -15361,20 +15406,22 @@ __DEV__ &&
|
||||
err
|
||||
));
|
||||
}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
isDevToolsPresent &&
|
||||
startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== abortedViewTransition) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = currentUpdatePriority;
|
||||
currentUpdatePriority = DiscreteEventPriority;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
finishedWork < abortedViewTransition.length;
|
||||
finishedWork++
|
||||
) {
|
||||
var recoverableError = recoverableErrors[finishedWork],
|
||||
var recoverableError = abortedViewTransition[finishedWork],
|
||||
errorInfo = makeErrorInfo(recoverableError.stack);
|
||||
runWithFiberInDEV(
|
||||
recoverableError.source,
|
||||
@@ -15389,18 +15436,19 @@ __DEV__ &&
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== root.tag &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (endTime & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects || finalizeRender(endTime, commitEndTime));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
markCommitStopped();
|
||||
}
|
||||
@@ -15422,13 +15470,13 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -15456,40 +15504,69 @@ __DEV__ &&
|
||||
isFlushingPassiveEffects = !0;
|
||||
didScheduleUpdateDuringPassiveEffects = !1;
|
||||
var passiveEffectStartTime = 0;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
commitErrors = null;
|
||||
passiveEffectStartTime = now$1();
|
||||
var startTime = commitEndTime,
|
||||
if (enableComponentPerformanceTrack)
|
||||
if (
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT)
|
||||
) {
|
||||
var startTime = commitEndTime,
|
||||
endTime = passiveEffectStartTime;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
));
|
||||
} else {
|
||||
startTime = commitEndTime;
|
||||
endTime = passiveEffectStartTime;
|
||||
wasDelayedCommit = !!wasDelayedCommit;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
var delayedUntilPaint =
|
||||
pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
}
|
||||
));
|
||||
}
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
startTime = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var finishedWork = priority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -15509,7 +15586,7 @@ __DEV__ &&
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(priority, !0);
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = startTime;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -19312,6 +19389,9 @@ __DEV__ &&
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
ABORTED_VIEW_TRANSITION_COMMIT = 1,
|
||||
DELAYED_PASSIVE_COMMIT = 2,
|
||||
ANIMATION_STARTED_COMMIT = 3,
|
||||
NO_PENDING_EFFECTS = 0,
|
||||
PENDING_MUTATION_PHASE = 1,
|
||||
PENDING_LAYOUT_PHASE = 2,
|
||||
@@ -19327,6 +19407,7 @@ __DEV__ &&
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = IMMEDIATE_COMMIT,
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT,
|
||||
NESTED_UPDATE_LIMIT = 50,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null,
|
||||
@@ -19778,10 +19859,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+15
-15
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<45ebcaf22b539accb3c76e6cb2198600>>
|
||||
* @generated SignedSource<<e2710608bf809f7c03193e66138d552c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2444,7 +2444,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -10189,7 +10189,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -10349,11 +10349,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -11216,26 +11216,26 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1295 = {
|
||||
internals$jscomp$inline_1294 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig);
|
||||
(internals$jscomp$inline_1294.rendererConfig = extraDevToolsConfig);
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1624 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1625.isDisabled &&
|
||||
hook$jscomp$inline_1625.supportsFiber
|
||||
!hook$jscomp$inline_1624.isDisabled &&
|
||||
hook$jscomp$inline_1624.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1625.inject(
|
||||
internals$jscomp$inline_1295
|
||||
(rendererID = hook$jscomp$inline_1624.inject(
|
||||
internals$jscomp$inline_1294
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1625);
|
||||
(injectedHook = hook$jscomp$inline_1624);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+131
-89
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<afb0caf78f05cae93ca13d0181f807f7>>
|
||||
* @generated SignedSource<<c4f32af87b255d1fa340b599523f8845>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1249,7 +1249,7 @@ eventPluginOrder = Array.prototype.slice.call([
|
||||
"ReactNativeBridgeEventPlugin"
|
||||
]);
|
||||
recomputePluginOrdering();
|
||||
var injectedNamesToPlugins$jscomp$inline_318 = {
|
||||
var injectedNamesToPlugins$jscomp$inline_319 = {
|
||||
ResponderEventPlugin: ResponderEventPlugin,
|
||||
ReactNativeBridgeEventPlugin: {
|
||||
eventTypes: {},
|
||||
@@ -1295,32 +1295,32 @@ var injectedNamesToPlugins$jscomp$inline_318 = {
|
||||
}
|
||||
}
|
||||
},
|
||||
isOrderingDirty$jscomp$inline_319 = !1,
|
||||
pluginName$jscomp$inline_320;
|
||||
for (pluginName$jscomp$inline_320 in injectedNamesToPlugins$jscomp$inline_318)
|
||||
isOrderingDirty$jscomp$inline_320 = !1,
|
||||
pluginName$jscomp$inline_321;
|
||||
for (pluginName$jscomp$inline_321 in injectedNamesToPlugins$jscomp$inline_319)
|
||||
if (
|
||||
injectedNamesToPlugins$jscomp$inline_318.hasOwnProperty(
|
||||
pluginName$jscomp$inline_320
|
||||
injectedNamesToPlugins$jscomp$inline_319.hasOwnProperty(
|
||||
pluginName$jscomp$inline_321
|
||||
)
|
||||
) {
|
||||
var pluginModule$jscomp$inline_321 =
|
||||
injectedNamesToPlugins$jscomp$inline_318[pluginName$jscomp$inline_320];
|
||||
var pluginModule$jscomp$inline_322 =
|
||||
injectedNamesToPlugins$jscomp$inline_319[pluginName$jscomp$inline_321];
|
||||
if (
|
||||
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_320) ||
|
||||
namesToPlugins[pluginName$jscomp$inline_320] !==
|
||||
pluginModule$jscomp$inline_321
|
||||
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_321) ||
|
||||
namesToPlugins[pluginName$jscomp$inline_321] !==
|
||||
pluginModule$jscomp$inline_322
|
||||
) {
|
||||
if (namesToPlugins[pluginName$jscomp$inline_320])
|
||||
if (namesToPlugins[pluginName$jscomp$inline_321])
|
||||
throw Error(
|
||||
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
|
||||
(pluginName$jscomp$inline_320 + "`.")
|
||||
(pluginName$jscomp$inline_321 + "`.")
|
||||
);
|
||||
namesToPlugins[pluginName$jscomp$inline_320] =
|
||||
pluginModule$jscomp$inline_321;
|
||||
isOrderingDirty$jscomp$inline_319 = !0;
|
||||
namesToPlugins[pluginName$jscomp$inline_321] =
|
||||
pluginModule$jscomp$inline_322;
|
||||
isOrderingDirty$jscomp$inline_320 = !0;
|
||||
}
|
||||
}
|
||||
isOrderingDirty$jscomp$inline_319 && recomputePluginOrdering();
|
||||
isOrderingDirty$jscomp$inline_320 && recomputePluginOrdering();
|
||||
function batchedUpdatesImpl(fn, bookkeeping) {
|
||||
return fn(bookkeeping);
|
||||
}
|
||||
@@ -2833,7 +2833,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -10730,6 +10731,7 @@ var DefaultAsyncDispatcher = {
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = 0,
|
||||
pendingDelayedCommitReason = 0,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null;
|
||||
function requestUpdateLane(fiber) {
|
||||
@@ -11964,13 +11966,15 @@ function commitRoot(
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = 0;
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256)
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -12104,53 +12108,75 @@ function flushLayoutEffects() {
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = 0 === finishedWork ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes = 1 === pendingDelayedCommitReason),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(root, finishedWork)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
));
|
||||
pendingEffectsStatus = 3;
|
||||
}
|
||||
}
|
||||
function flushSpawnedWork() {
|
||||
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
||||
if (enableComponentPerformanceTrack && 4 === pendingEffectsStatus) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
var abortedViewTransition = 1 === pendingDelayedCommitReason;
|
||||
!supportsUserTiming ||
|
||||
commitEndTime <= startViewTransitionStartTime ||
|
||||
console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
commitEndTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
);
|
||||
1 !== pendingDelayedCommitReason && (pendingDelayedCommitReason = 3);
|
||||
}
|
||||
pendingEffectsStatus = 0;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(completedRenderEndTime =
|
||||
0 === suspendedCommitReason ? completedRenderEndTime : commitStartTime),
|
||||
(suspendedCommitReason = commitEndTime),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(completedRenderEndTime, suspendedCommitReason)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
(completedRenderEndTime =
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
abortedViewTransition = pendingEffectsLanes;
|
||||
var recoverableErrors = pendingRecoverableErrors,
|
||||
rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = 5)
|
||||
: ((pendingEffectsStatus = 0),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
));
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
remainingLanes = lanesToEventPriority(abortedViewTransition);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case 2:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -12173,14 +12199,15 @@ function flushSpawnedWork() {
|
||||
didError
|
||||
);
|
||||
} catch (err) {}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = currentUpdatePriority;
|
||||
currentUpdatePriority = 2;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
@@ -12196,17 +12223,21 @@ function flushSpawnedWork() {
|
||||
(currentUpdatePriority = schedulerPriority);
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (abortedViewTransition & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects ||
|
||||
finalizeRender(abortedViewTransition, commitEndTime));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
markCommitStopped();
|
||||
}
|
||||
@@ -12217,13 +12248,13 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -12248,20 +12279,31 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
!supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
3 === pendingDelayedCommitReason
|
||||
? !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
"Animating",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
2 === pendingDelayedCommitReason ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var finishedWork = renderPriority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -12279,7 +12321,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = prevExecutionContext;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -13174,16 +13216,16 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1542 = {
|
||||
internals$jscomp$inline_1550 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1542.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1542.getLaneLabelMap = function () {
|
||||
(internals$jscomp$inline_1550.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1550.getLaneLabelMap = function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$167 = 0;
|
||||
31 > index$167;
|
||||
@@ -13195,20 +13237,20 @@ internals$jscomp$inline_1542.getLaneLabelMap = function () {
|
||||
}
|
||||
return map;
|
||||
};
|
||||
internals$jscomp$inline_1542.injectProfilingHooks = function (profilingHooks) {
|
||||
internals$jscomp$inline_1550.injectProfilingHooks = function (profilingHooks) {
|
||||
injectedProfilingHooks = profilingHooks;
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1874 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1886 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1874.isDisabled &&
|
||||
hook$jscomp$inline_1874.supportsFiber
|
||||
!hook$jscomp$inline_1886.isDisabled &&
|
||||
hook$jscomp$inline_1886.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1874.inject(
|
||||
internals$jscomp$inline_1542
|
||||
(rendererID = hook$jscomp$inline_1886.inject(
|
||||
internals$jscomp$inline_1550
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1874);
|
||||
(injectedHook = hook$jscomp$inline_1886);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+180
-99
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b65516dd98c8057365c90da5d64f5bb1>>
|
||||
* @generated SignedSource<<74c984ef848373154e57a8f8ed44f885>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -4281,7 +4281,9 @@ __DEV__ &&
|
||||
)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
@@ -15585,6 +15587,7 @@ __DEV__ &&
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
@@ -15592,7 +15595,9 @@ __DEV__ &&
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
||||
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -15723,6 +15728,45 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = finishedWork === IMMEDIATE_COMMIT ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT),
|
||||
(cleanUpIndicator = workInProgressUpdateTask),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
root,
|
||||
finishedWork,
|
||||
commitErrors,
|
||||
!1,
|
||||
cleanUpIndicator
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
(cleanUpIndicator
|
||||
? cleanUpIndicator.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
)));
|
||||
pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;
|
||||
}
|
||||
}
|
||||
@@ -15731,69 +15775,70 @@ __DEV__ &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK ||
|
||||
pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE
|
||||
) {
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
if (
|
||||
enableComponentPerformanceTrack &&
|
||||
pendingEffectsStatus === PENDING_SPAWNED_WORK
|
||||
) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
completedRenderEndTime =
|
||||
suspendedCommitReason === IMMEDIATE_COMMIT
|
||||
? completedRenderEndTime
|
||||
: commitStartTime;
|
||||
suspendedCommitReason = commitEndTime;
|
||||
var debugTask = workInProgressUpdateTask;
|
||||
null !== commitErrors
|
||||
? logCommitErrored(
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
commitErrors,
|
||||
!1,
|
||||
debugTask
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
(debugTask
|
||||
? debugTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
var endTime = commitEndTime,
|
||||
abortedViewTransition =
|
||||
pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startViewTransitionStartTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
abortedViewTransition ? "error" : "secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
));
|
||||
pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT &&
|
||||
(pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
|
||||
}
|
||||
(completedRenderEndTime =
|
||||
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
||||
requestPaint();
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
endTime = pendingEffectsLanes;
|
||||
abortedViewTransition = pendingRecoverableErrors;
|
||||
var rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
||||
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes),
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
),
|
||||
(nestedPassiveUpdateCount = 0),
|
||||
(rootWithPassiveNestedUpdates = null));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
completedRenderEndTime || commitDoubleInvokeEffectsInDEV(root, !1);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
rootDidHavePassiveEffects ||
|
||||
commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime, !1);
|
||||
remainingLanes = lanesToEventPriority(endTime);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (
|
||||
injectedHook &&
|
||||
@@ -15801,7 +15846,7 @@ __DEV__ &&
|
||||
)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case DiscreteEventPriority:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -15831,20 +15876,22 @@ __DEV__ &&
|
||||
err
|
||||
));
|
||||
}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
isDevToolsPresent &&
|
||||
startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== abortedViewTransition) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = currentUpdatePriority;
|
||||
currentUpdatePriority = DiscreteEventPriority;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
finishedWork < abortedViewTransition.length;
|
||||
finishedWork++
|
||||
) {
|
||||
var recoverableError = recoverableErrors[finishedWork],
|
||||
var recoverableError = abortedViewTransition[finishedWork],
|
||||
errorInfo = makeErrorInfo(recoverableError.stack);
|
||||
runWithFiberInDEV(
|
||||
recoverableError.source,
|
||||
@@ -15859,18 +15906,19 @@ __DEV__ &&
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== root.tag &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (endTime & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects || finalizeRender(endTime, commitEndTime));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
markCommitStopped();
|
||||
}
|
||||
@@ -15892,13 +15940,13 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -15926,40 +15974,69 @@ __DEV__ &&
|
||||
isFlushingPassiveEffects = !0;
|
||||
didScheduleUpdateDuringPassiveEffects = !1;
|
||||
var passiveEffectStartTime = 0;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
commitErrors = null;
|
||||
passiveEffectStartTime = now$1();
|
||||
var startTime = commitEndTime,
|
||||
if (enableComponentPerformanceTrack)
|
||||
if (
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT)
|
||||
) {
|
||||
var startTime = commitEndTime,
|
||||
endTime = passiveEffectStartTime;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
"Animating",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
));
|
||||
} else {
|
||||
startTime = commitEndTime;
|
||||
endTime = passiveEffectStartTime;
|
||||
wasDelayedCommit = !!wasDelayedCommit;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
var delayedUntilPaint =
|
||||
pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT;
|
||||
!supportsUserTiming ||
|
||||
endTime <= startTime ||
|
||||
(workInProgressUpdateTask
|
||||
? workInProgressUpdateTask.run(
|
||||
console.timeStamp.bind(
|
||||
console,
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
delayedUntilPaint ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
)
|
||||
)
|
||||
: console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
startTime,
|
||||
endTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
}
|
||||
));
|
||||
}
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
startTime = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var finishedWork = priority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -15979,7 +16056,7 @@ __DEV__ &&
|
||||
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(priority, !0);
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = startTime;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -19943,6 +20020,9 @@ __DEV__ &&
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
ABORTED_VIEW_TRANSITION_COMMIT = 1,
|
||||
DELAYED_PASSIVE_COMMIT = 2,
|
||||
ANIMATION_STARTED_COMMIT = 3,
|
||||
NO_PENDING_EFFECTS = 0,
|
||||
PENDING_MUTATION_PHASE = 1,
|
||||
PENDING_LAYOUT_PHASE = 2,
|
||||
@@ -19958,6 +20038,7 @@ __DEV__ &&
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = IMMEDIATE_COMMIT,
|
||||
pendingDelayedCommitReason = IMMEDIATE_COMMIT,
|
||||
NESTED_UPDATE_LIMIT = 50,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null,
|
||||
@@ -20058,11 +20139,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-e3c9656d-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== 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-e3c9656d-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20088,10 +20169,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+17
-17
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6e363208cc5e710199f09e0d8b35c3f1>>
|
||||
* @generated SignedSource<<e70e516bb9f453730171f2716091e356>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2867,7 +2867,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -10684,7 +10684,7 @@ function commitRoot(
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -10844,11 +10844,11 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
@@ -11377,11 +11377,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-e3c9656d-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== 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-e3c9656d-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11429,26 +11429,26 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1326 = {
|
||||
internals$jscomp$inline_1325 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig);
|
||||
(internals$jscomp$inline_1325.rendererConfig = extraDevToolsConfig);
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1689 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1688 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1689.isDisabled &&
|
||||
hook$jscomp$inline_1689.supportsFiber
|
||||
!hook$jscomp$inline_1688.isDisabled &&
|
||||
hook$jscomp$inline_1688.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1689.inject(
|
||||
internals$jscomp$inline_1326
|
||||
(rendererID = hook$jscomp$inline_1688.inject(
|
||||
internals$jscomp$inline_1325
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1689);
|
||||
(injectedHook = hook$jscomp$inline_1688);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+133
-91
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2dd59080f2057e11478569374f716dea>>
|
||||
* @generated SignedSource<<623edd4a4f127b0537fa01b8eec0e7c7>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1245,7 +1245,7 @@ eventPluginOrder = Array.prototype.slice.call([
|
||||
"ReactNativeBridgeEventPlugin"
|
||||
]);
|
||||
recomputePluginOrdering();
|
||||
var injectedNamesToPlugins$jscomp$inline_327 = {
|
||||
var injectedNamesToPlugins$jscomp$inline_328 = {
|
||||
ResponderEventPlugin: ResponderEventPlugin,
|
||||
ReactNativeBridgeEventPlugin: {
|
||||
eventTypes: {},
|
||||
@@ -1291,32 +1291,32 @@ var injectedNamesToPlugins$jscomp$inline_327 = {
|
||||
}
|
||||
}
|
||||
},
|
||||
isOrderingDirty$jscomp$inline_328 = !1,
|
||||
pluginName$jscomp$inline_329;
|
||||
for (pluginName$jscomp$inline_329 in injectedNamesToPlugins$jscomp$inline_327)
|
||||
isOrderingDirty$jscomp$inline_329 = !1,
|
||||
pluginName$jscomp$inline_330;
|
||||
for (pluginName$jscomp$inline_330 in injectedNamesToPlugins$jscomp$inline_328)
|
||||
if (
|
||||
injectedNamesToPlugins$jscomp$inline_327.hasOwnProperty(
|
||||
pluginName$jscomp$inline_329
|
||||
injectedNamesToPlugins$jscomp$inline_328.hasOwnProperty(
|
||||
pluginName$jscomp$inline_330
|
||||
)
|
||||
) {
|
||||
var pluginModule$jscomp$inline_330 =
|
||||
injectedNamesToPlugins$jscomp$inline_327[pluginName$jscomp$inline_329];
|
||||
var pluginModule$jscomp$inline_331 =
|
||||
injectedNamesToPlugins$jscomp$inline_328[pluginName$jscomp$inline_330];
|
||||
if (
|
||||
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_329) ||
|
||||
namesToPlugins[pluginName$jscomp$inline_329] !==
|
||||
pluginModule$jscomp$inline_330
|
||||
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_330) ||
|
||||
namesToPlugins[pluginName$jscomp$inline_330] !==
|
||||
pluginModule$jscomp$inline_331
|
||||
) {
|
||||
if (namesToPlugins[pluginName$jscomp$inline_329])
|
||||
if (namesToPlugins[pluginName$jscomp$inline_330])
|
||||
throw Error(
|
||||
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
|
||||
(pluginName$jscomp$inline_329 + "`.")
|
||||
(pluginName$jscomp$inline_330 + "`.")
|
||||
);
|
||||
namesToPlugins[pluginName$jscomp$inline_329] =
|
||||
pluginModule$jscomp$inline_330;
|
||||
isOrderingDirty$jscomp$inline_328 = !0;
|
||||
namesToPlugins[pluginName$jscomp$inline_330] =
|
||||
pluginModule$jscomp$inline_331;
|
||||
isOrderingDirty$jscomp$inline_329 = !0;
|
||||
}
|
||||
}
|
||||
isOrderingDirty$jscomp$inline_328 && recomputePluginOrdering();
|
||||
isOrderingDirty$jscomp$inline_329 && recomputePluginOrdering();
|
||||
var instanceCache = new Map(),
|
||||
instanceProps = new Map();
|
||||
function getInstanceFromTag(tag) {
|
||||
@@ -3253,7 +3253,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
||||
if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)
|
||||
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
||||
var originalCallbackNode = root.callbackNode;
|
||||
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)
|
||||
return null;
|
||||
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
@@ -11216,6 +11217,7 @@ var DefaultAsyncDispatcher = {
|
||||
pendingPassiveTransitions = null,
|
||||
pendingRecoverableErrors = null,
|
||||
pendingSuspendedCommitReason = 0,
|
||||
pendingDelayedCommitReason = 0,
|
||||
nestedUpdateCount = 0,
|
||||
rootWithNestedUpdates = null;
|
||||
function requestUpdateLane(fiber) {
|
||||
@@ -12449,13 +12451,15 @@ function commitRoot(
|
||||
pendingRecoverableErrors = recoverableErrors;
|
||||
pendingEffectsRenderEndTime = completedRenderEndTime;
|
||||
pendingSuspendedCommitReason = suspendedCommitReason;
|
||||
pendingDelayedCommitReason = 0;
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256)
|
||||
? ((root.callbackNode = null),
|
||||
(root.callbackPriority = 0),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects(!0);
|
||||
0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2);
|
||||
flushPassiveEffects();
|
||||
return null;
|
||||
}))
|
||||
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
||||
@@ -12589,53 +12593,75 @@ function flushLayoutEffects() {
|
||||
(ReactSharedInternals.T = cleanUpIndicator);
|
||||
}
|
||||
}
|
||||
root = pendingEffectsRenderEndTime;
|
||||
finishedWork = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(root = 0 === finishedWork ? root : commitStartTime),
|
||||
(finishedWork = commitEndTime),
|
||||
(lanes = 1 === pendingDelayedCommitReason),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(root, finishedWork)
|
||||
: !supportsUserTiming ||
|
||||
finishedWork <= root ||
|
||||
console.timeStamp(
|
||||
lanes ? "Commit Interrupted View Transition" : "Commit",
|
||||
root,
|
||||
finishedWork,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
lanes ? "error" : "secondary-dark"
|
||||
));
|
||||
pendingEffectsStatus = 3;
|
||||
}
|
||||
}
|
||||
function flushSpawnedWork() {
|
||||
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
||||
if (enableComponentPerformanceTrack && 4 === pendingEffectsStatus) {
|
||||
var startViewTransitionStartTime = commitEndTime;
|
||||
commitEndTime = now();
|
||||
var abortedViewTransition = 1 === pendingDelayedCommitReason;
|
||||
!supportsUserTiming ||
|
||||
commitEndTime <= startViewTransitionStartTime ||
|
||||
console.timeStamp(
|
||||
abortedViewTransition
|
||||
? "Interrupted View Transition"
|
||||
: "Starting Animation",
|
||||
startViewTransitionStartTime,
|
||||
commitEndTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
abortedViewTransition ? " error" : "secondary-light"
|
||||
);
|
||||
1 !== pendingDelayedCommitReason && (pendingDelayedCommitReason = 3);
|
||||
}
|
||||
pendingEffectsStatus = 0;
|
||||
requestPaint();
|
||||
var root = pendingEffectsRoot,
|
||||
finishedWork = pendingFinishedWork,
|
||||
lanes = pendingEffectsLanes,
|
||||
completedRenderEndTime = pendingEffectsRenderEndTime,
|
||||
recoverableErrors = pendingRecoverableErrors,
|
||||
suspendedCommitReason = pendingSuspendedCommitReason;
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitEndTime = now()),
|
||||
(completedRenderEndTime =
|
||||
0 === suspendedCommitReason ? completedRenderEndTime : commitStartTime),
|
||||
(suspendedCommitReason = commitEndTime),
|
||||
null !== commitErrors
|
||||
? logCommitErrored(completedRenderEndTime, suspendedCommitReason)
|
||||
: !supportsUserTiming ||
|
||||
suspendedCommitReason <= completedRenderEndTime ||
|
||||
console.timeStamp(
|
||||
"Commit",
|
||||
completedRenderEndTime,
|
||||
suspendedCommitReason,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-dark"
|
||||
));
|
||||
(completedRenderEndTime =
|
||||
(enableComponentPerformanceTrack && 0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256))
|
||||
startViewTransitionStartTime = pendingEffectsRoot;
|
||||
var finishedWork = pendingFinishedWork;
|
||||
abortedViewTransition = pendingEffectsLanes;
|
||||
var recoverableErrors = pendingRecoverableErrors,
|
||||
rootDidHavePassiveEffects =
|
||||
(enableComponentPerformanceTrack &&
|
||||
0 !== finishedWork.actualDuration) ||
|
||||
0 !== (finishedWork.subtreeFlags & 10256) ||
|
||||
0 !== (finishedWork.flags & 10256);
|
||||
rootDidHavePassiveEffects
|
||||
? (pendingEffectsStatus = 5)
|
||||
: ((pendingEffectsStatus = 0),
|
||||
(pendingFinishedWork = pendingEffectsRoot = null),
|
||||
releaseRootPooledCache(root, root.pendingLanes));
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 === suspendedCommitReason &&
|
||||
(legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
suspendedCommitReason = lanesToEventPriority(lanes);
|
||||
releaseRootPooledCache(
|
||||
startViewTransitionStartTime,
|
||||
startViewTransitionStartTime.pendingLanes
|
||||
));
|
||||
var remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
||||
remainingLanes = lanesToEventPriority(abortedViewTransition);
|
||||
finishedWork = finishedWork.stateNode;
|
||||
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
||||
try {
|
||||
var didError = 128 === (finishedWork.current.flags & 128);
|
||||
switch (suspendedCommitReason) {
|
||||
switch (remainingLanes) {
|
||||
case 2:
|
||||
var schedulerPriority = ImmediatePriority;
|
||||
break;
|
||||
@@ -12658,14 +12684,15 @@ function flushSpawnedWork() {
|
||||
didError
|
||||
);
|
||||
} catch (err) {}
|
||||
isDevToolsPresent && root.memoizedUpdaters.clear();
|
||||
isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear();
|
||||
if (null !== recoverableErrors) {
|
||||
didError = ReactSharedInternals.T;
|
||||
schedulerPriority = currentUpdatePriority;
|
||||
currentUpdatePriority = 2;
|
||||
ReactSharedInternals.T = null;
|
||||
try {
|
||||
var onRecoverableError = root.onRecoverableError;
|
||||
var onRecoverableError =
|
||||
startViewTransitionStartTime.onRecoverableError;
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < recoverableErrors.length;
|
||||
@@ -12681,17 +12708,21 @@ function flushSpawnedWork() {
|
||||
(currentUpdatePriority = schedulerPriority);
|
||||
}
|
||||
}
|
||||
0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects();
|
||||
ensureRootIsScheduled(root);
|
||||
suspendedCommitReason = root.pendingLanes;
|
||||
0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)
|
||||
0 !== (pendingEffectsLanes & 3) &&
|
||||
0 !== startViewTransitionStartTime.tag &&
|
||||
flushPendingEffects();
|
||||
ensureRootIsScheduled(startViewTransitionStartTime);
|
||||
remainingLanes = startViewTransitionStartTime.pendingLanes;
|
||||
0 !== (abortedViewTransition & 261930) && 0 !== (remainingLanes & 42)
|
||||
? ((nestedUpdateScheduled = !0),
|
||||
root === rootWithNestedUpdates
|
||||
startViewTransitionStartTime === rootWithNestedUpdates
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: ((nestedUpdateCount = 0),
|
||||
(rootWithNestedUpdates = startViewTransitionStartTime)))
|
||||
: (nestedUpdateCount = 0);
|
||||
enableComponentPerformanceTrack &&
|
||||
(completedRenderEndTime || finalizeRender(lanes, commitEndTime));
|
||||
(rootDidHavePassiveEffects ||
|
||||
finalizeRender(abortedViewTransition, commitEndTime));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
markCommitStopped();
|
||||
}
|
||||
@@ -12702,13 +12733,13 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPendingEffects(wasDelayedCommit) {
|
||||
function flushPendingEffects() {
|
||||
flushMutationEffects();
|
||||
flushLayoutEffects();
|
||||
flushSpawnedWork();
|
||||
return flushPassiveEffects(wasDelayedCommit);
|
||||
return flushPassiveEffects();
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
function flushPassiveEffects() {
|
||||
if (5 !== pendingEffectsStatus) return !1;
|
||||
var root = pendingEffectsRoot,
|
||||
remainingLanes = pendingEffectsRemainingLanes;
|
||||
@@ -12733,20 +12764,31 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
enableComponentPerformanceTrack &&
|
||||
((commitErrors = null),
|
||||
(passiveEffectStartTime = now$1()),
|
||||
!supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
wasDelayedCommit ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
3 === pendingDelayedCommitReason
|
||||
? !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
"Animating",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary"
|
||||
)
|
||||
: !supportsUserTiming ||
|
||||
passiveEffectStartTime <= commitEndTime ||
|
||||
console.timeStamp(
|
||||
2 === pendingDelayedCommitReason ? "Waiting for Paint" : "Waiting",
|
||||
commitEndTime,
|
||||
passiveEffectStartTime,
|
||||
currentTrack,
|
||||
"Scheduler \u269b",
|
||||
"secondary-light"
|
||||
));
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
wasDelayedCommit = executionContext;
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var finishedWork = renderPriority.current;
|
||||
resetComponentEffectTimers();
|
||||
@@ -12764,7 +12806,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
executionContext = wasDelayedCommit;
|
||||
executionContext = prevExecutionContext;
|
||||
if (enableComponentPerformanceTrack) {
|
||||
var passiveEffectsEndTime = now$1();
|
||||
finishedWork$jscomp$0 = passiveEffectStartTime;
|
||||
@@ -13325,11 +13367,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-e3c9656d-20250917" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-84af9085-20250917" !== 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-e3c9656d-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-84af9085-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13377,16 +13419,16 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1573 = {
|
||||
internals$jscomp$inline_1581 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-e3c9656d-20250917",
|
||||
version: "19.2.0-native-fb-84af9085-20250917",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-e3c9656d-20250917"
|
||||
reconcilerVersion: "19.2.0-native-fb-84af9085-20250917"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1573.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1573.getLaneLabelMap = function () {
|
||||
(internals$jscomp$inline_1581.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1581.getLaneLabelMap = function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$174 = 0;
|
||||
31 > index$174;
|
||||
@@ -13398,20 +13440,20 @@ internals$jscomp$inline_1573.getLaneLabelMap = function () {
|
||||
}
|
||||
return map;
|
||||
};
|
||||
internals$jscomp$inline_1573.injectProfilingHooks = function (profilingHooks) {
|
||||
internals$jscomp$inline_1581.injectProfilingHooks = function (profilingHooks) {
|
||||
injectedProfilingHooks = profilingHooks;
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1938 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1950 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1938.isDisabled &&
|
||||
hook$jscomp$inline_1938.supportsFiber
|
||||
!hook$jscomp$inline_1950.isDisabled &&
|
||||
hook$jscomp$inline_1950.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1938.inject(
|
||||
internals$jscomp$inline_1573
|
||||
(rendererID = hook$jscomp$inline_1950.inject(
|
||||
internals$jscomp$inline_1581
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1938);
|
||||
(injectedHook = hook$jscomp$inline_1950);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-e3c9656d-20250917",
|
||||
"version": "0.0.0-experimental-84af9085-20250917",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user