react-dom 19.1.0-canary-37906d4d-20250127 → 19.1.0-canary-c492f975-20250128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +363 -310
- package/cjs/react-dom-client.production.js +391 -353
- package/cjs/react-dom-profiling.development.js +363 -310
- package/cjs/react-dom-profiling.profiling.js +405 -365
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
|
@@ -8848,32 +8848,32 @@
|
|
|
8848
8848
|
return current;
|
|
8849
8849
|
}
|
|
8850
8850
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
8851
|
-
var
|
|
8852
|
-
var
|
|
8851
|
+
var JSCompiler_object_inline_digest_2388;
|
|
8852
|
+
var JSCompiler_object_inline_stack_2389 = workInProgress.pendingProps;
|
|
8853
8853
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
8854
|
-
var
|
|
8854
|
+
var JSCompiler_object_inline_componentStack_2390 = !1;
|
|
8855
8855
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
8856
|
-
(
|
|
8857
|
-
(
|
|
8856
|
+
(JSCompiler_object_inline_digest_2388 = didSuspend) ||
|
|
8857
|
+
(JSCompiler_object_inline_digest_2388 =
|
|
8858
8858
|
null !== current && null === current.memoizedState
|
|
8859
8859
|
? !1
|
|
8860
8860
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
8861
|
-
|
|
8862
|
-
((
|
|
8861
|
+
JSCompiler_object_inline_digest_2388 &&
|
|
8862
|
+
((JSCompiler_object_inline_componentStack_2390 = !0),
|
|
8863
8863
|
(workInProgress.flags &= -129));
|
|
8864
|
-
|
|
8864
|
+
JSCompiler_object_inline_digest_2388 = 0 !== (workInProgress.flags & 32);
|
|
8865
8865
|
workInProgress.flags &= -33;
|
|
8866
8866
|
if (null === current) {
|
|
8867
8867
|
if (isHydrating) {
|
|
8868
|
-
|
|
8868
|
+
JSCompiler_object_inline_componentStack_2390
|
|
8869
8869
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
8870
8870
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
8871
8871
|
if (isHydrating) {
|
|
8872
|
-
var
|
|
8872
|
+
var JSCompiler_object_inline_message_2387 = nextHydratableInstance;
|
|
8873
8873
|
var JSCompiler_temp;
|
|
8874
|
-
if (!(JSCompiler_temp = !
|
|
8874
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2387)) {
|
|
8875
8875
|
c: {
|
|
8876
|
-
var instance =
|
|
8876
|
+
var instance = JSCompiler_object_inline_message_2387;
|
|
8877
8877
|
for (
|
|
8878
8878
|
JSCompiler_temp = rootOrSingletonContext;
|
|
8879
8879
|
8 !== instance.nodeType;
|
|
@@ -8915,77 +8915,77 @@
|
|
|
8915
8915
|
JSCompiler_temp &&
|
|
8916
8916
|
(warnNonHydratedInstance(
|
|
8917
8917
|
workInProgress,
|
|
8918
|
-
|
|
8918
|
+
JSCompiler_object_inline_message_2387
|
|
8919
8919
|
),
|
|
8920
8920
|
throwOnHydrationMismatch(workInProgress));
|
|
8921
8921
|
}
|
|
8922
|
-
|
|
8922
|
+
JSCompiler_object_inline_message_2387 = workInProgress.memoizedState;
|
|
8923
8923
|
if (
|
|
8924
|
-
null !==
|
|
8925
|
-
((
|
|
8926
|
-
|
|
8927
|
-
null !==
|
|
8924
|
+
null !== JSCompiler_object_inline_message_2387 &&
|
|
8925
|
+
((JSCompiler_object_inline_message_2387 =
|
|
8926
|
+
JSCompiler_object_inline_message_2387.dehydrated),
|
|
8927
|
+
null !== JSCompiler_object_inline_message_2387)
|
|
8928
8928
|
)
|
|
8929
8929
|
return (
|
|
8930
|
-
isSuspenseInstanceFallback(
|
|
8930
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2387)
|
|
8931
8931
|
? (workInProgress.lanes = 32)
|
|
8932
8932
|
: (workInProgress.lanes = 536870912),
|
|
8933
8933
|
null
|
|
8934
8934
|
);
|
|
8935
8935
|
popSuspenseHandler(workInProgress);
|
|
8936
8936
|
}
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
if (
|
|
8937
|
+
JSCompiler_object_inline_message_2387 =
|
|
8938
|
+
JSCompiler_object_inline_stack_2389.children;
|
|
8939
|
+
JSCompiler_object_inline_stack_2389 =
|
|
8940
|
+
JSCompiler_object_inline_stack_2389.fallback;
|
|
8941
|
+
if (JSCompiler_object_inline_componentStack_2390)
|
|
8942
8942
|
return (
|
|
8943
8943
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
8944
|
-
(
|
|
8944
|
+
(JSCompiler_object_inline_componentStack_2390 =
|
|
8945
8945
|
workInProgress.mode),
|
|
8946
|
-
(
|
|
8946
|
+
(JSCompiler_object_inline_message_2387 =
|
|
8947
8947
|
mountWorkInProgressOffscreenFiber(
|
|
8948
8948
|
{
|
|
8949
8949
|
mode: "hidden",
|
|
8950
|
-
children:
|
|
8950
|
+
children: JSCompiler_object_inline_message_2387
|
|
8951
8951
|
},
|
|
8952
|
-
|
|
8952
|
+
JSCompiler_object_inline_componentStack_2390
|
|
8953
8953
|
)),
|
|
8954
|
-
(
|
|
8955
|
-
|
|
8956
|
-
|
|
8954
|
+
(JSCompiler_object_inline_stack_2389 = createFiberFromFragment(
|
|
8955
|
+
JSCompiler_object_inline_stack_2389,
|
|
8956
|
+
JSCompiler_object_inline_componentStack_2390,
|
|
8957
8957
|
renderLanes,
|
|
8958
8958
|
null
|
|
8959
8959
|
)),
|
|
8960
|
-
(
|
|
8961
|
-
(
|
|
8962
|
-
(
|
|
8963
|
-
|
|
8964
|
-
(workInProgress.child =
|
|
8965
|
-
(
|
|
8960
|
+
(JSCompiler_object_inline_message_2387.return = workInProgress),
|
|
8961
|
+
(JSCompiler_object_inline_stack_2389.return = workInProgress),
|
|
8962
|
+
(JSCompiler_object_inline_message_2387.sibling =
|
|
8963
|
+
JSCompiler_object_inline_stack_2389),
|
|
8964
|
+
(workInProgress.child = JSCompiler_object_inline_message_2387),
|
|
8965
|
+
(JSCompiler_object_inline_componentStack_2390 =
|
|
8966
8966
|
workInProgress.child),
|
|
8967
|
-
(
|
|
8967
|
+
(JSCompiler_object_inline_componentStack_2390.memoizedState =
|
|
8968
8968
|
mountSuspenseOffscreenState(renderLanes)),
|
|
8969
|
-
(
|
|
8969
|
+
(JSCompiler_object_inline_componentStack_2390.childLanes =
|
|
8970
8970
|
getRemainingWorkInPrimaryTree(
|
|
8971
8971
|
current,
|
|
8972
|
-
|
|
8972
|
+
JSCompiler_object_inline_digest_2388,
|
|
8973
8973
|
renderLanes
|
|
8974
8974
|
)),
|
|
8975
8975
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
8976
|
-
|
|
8976
|
+
JSCompiler_object_inline_stack_2389
|
|
8977
8977
|
);
|
|
8978
8978
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
8979
8979
|
return mountSuspensePrimaryChildren(
|
|
8980
8980
|
workInProgress,
|
|
8981
|
-
|
|
8981
|
+
JSCompiler_object_inline_message_2387
|
|
8982
8982
|
);
|
|
8983
8983
|
}
|
|
8984
8984
|
var prevState = current.memoizedState;
|
|
8985
8985
|
if (
|
|
8986
8986
|
null !== prevState &&
|
|
8987
|
-
((
|
|
8988
|
-
null !==
|
|
8987
|
+
((JSCompiler_object_inline_message_2387 = prevState.dehydrated),
|
|
8988
|
+
null !== JSCompiler_object_inline_message_2387)
|
|
8989
8989
|
) {
|
|
8990
8990
|
if (didSuspend)
|
|
8991
8991
|
workInProgress.flags & 256
|
|
@@ -9002,94 +9002,94 @@
|
|
|
9002
9002
|
(workInProgress.flags |= 128),
|
|
9003
9003
|
(workInProgress = null))
|
|
9004
9004
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
9005
|
-
(
|
|
9006
|
-
|
|
9007
|
-
(
|
|
9008
|
-
(
|
|
9005
|
+
(JSCompiler_object_inline_componentStack_2390 =
|
|
9006
|
+
JSCompiler_object_inline_stack_2389.fallback),
|
|
9007
|
+
(JSCompiler_object_inline_message_2387 = workInProgress.mode),
|
|
9008
|
+
(JSCompiler_object_inline_stack_2389 =
|
|
9009
9009
|
mountWorkInProgressOffscreenFiber(
|
|
9010
9010
|
{
|
|
9011
9011
|
mode: "visible",
|
|
9012
|
-
children:
|
|
9012
|
+
children: JSCompiler_object_inline_stack_2389.children
|
|
9013
9013
|
},
|
|
9014
|
-
|
|
9014
|
+
JSCompiler_object_inline_message_2387
|
|
9015
9015
|
)),
|
|
9016
|
-
(
|
|
9016
|
+
(JSCompiler_object_inline_componentStack_2390 =
|
|
9017
9017
|
createFiberFromFragment(
|
|
9018
|
-
|
|
9019
|
-
|
|
9018
|
+
JSCompiler_object_inline_componentStack_2390,
|
|
9019
|
+
JSCompiler_object_inline_message_2387,
|
|
9020
9020
|
renderLanes,
|
|
9021
9021
|
null
|
|
9022
9022
|
)),
|
|
9023
|
-
(
|
|
9024
|
-
(
|
|
9025
|
-
(
|
|
9023
|
+
(JSCompiler_object_inline_componentStack_2390.flags |= 2),
|
|
9024
|
+
(JSCompiler_object_inline_stack_2389.return = workInProgress),
|
|
9025
|
+
(JSCompiler_object_inline_componentStack_2390.return =
|
|
9026
9026
|
workInProgress),
|
|
9027
|
-
(
|
|
9028
|
-
|
|
9029
|
-
(workInProgress.child =
|
|
9027
|
+
(JSCompiler_object_inline_stack_2389.sibling =
|
|
9028
|
+
JSCompiler_object_inline_componentStack_2390),
|
|
9029
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2389),
|
|
9030
9030
|
reconcileChildFibers(
|
|
9031
9031
|
workInProgress,
|
|
9032
9032
|
current.child,
|
|
9033
9033
|
null,
|
|
9034
9034
|
renderLanes
|
|
9035
9035
|
),
|
|
9036
|
-
(
|
|
9037
|
-
(
|
|
9036
|
+
(JSCompiler_object_inline_stack_2389 = workInProgress.child),
|
|
9037
|
+
(JSCompiler_object_inline_stack_2389.memoizedState =
|
|
9038
9038
|
mountSuspenseOffscreenState(renderLanes)),
|
|
9039
|
-
(
|
|
9039
|
+
(JSCompiler_object_inline_stack_2389.childLanes =
|
|
9040
9040
|
getRemainingWorkInPrimaryTree(
|
|
9041
9041
|
current,
|
|
9042
|
-
|
|
9042
|
+
JSCompiler_object_inline_digest_2388,
|
|
9043
9043
|
renderLanes
|
|
9044
9044
|
)),
|
|
9045
9045
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9046
9046
|
(workInProgress =
|
|
9047
|
-
|
|
9047
|
+
JSCompiler_object_inline_componentStack_2390));
|
|
9048
9048
|
else if (
|
|
9049
9049
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
9050
9050
|
isHydrating &&
|
|
9051
9051
|
console.error(
|
|
9052
9052
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
|
9053
9053
|
),
|
|
9054
|
-
isSuspenseInstanceFallback(
|
|
9054
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2387))
|
|
9055
9055
|
) {
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
if (
|
|
9060
|
-
JSCompiler_temp =
|
|
9061
|
-
var message =
|
|
9062
|
-
instance =
|
|
9063
|
-
var componentStack =
|
|
9056
|
+
JSCompiler_object_inline_digest_2388 =
|
|
9057
|
+
JSCompiler_object_inline_message_2387.nextSibling &&
|
|
9058
|
+
JSCompiler_object_inline_message_2387.nextSibling.dataset;
|
|
9059
|
+
if (JSCompiler_object_inline_digest_2388) {
|
|
9060
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2388.dgst;
|
|
9061
|
+
var message = JSCompiler_object_inline_digest_2388.msg;
|
|
9062
|
+
instance = JSCompiler_object_inline_digest_2388.stck;
|
|
9063
|
+
var componentStack = JSCompiler_object_inline_digest_2388.cstck;
|
|
9064
9064
|
}
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
JSCompiler_temp =
|
|
9065
|
+
JSCompiler_object_inline_message_2387 = message;
|
|
9066
|
+
JSCompiler_object_inline_digest_2388 = JSCompiler_temp;
|
|
9067
|
+
JSCompiler_object_inline_stack_2389 = instance;
|
|
9068
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2390 =
|
|
9069
9069
|
componentStack;
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
? Error(
|
|
9070
|
+
JSCompiler_object_inline_componentStack_2390 =
|
|
9071
|
+
JSCompiler_object_inline_message_2387
|
|
9072
|
+
? Error(JSCompiler_object_inline_message_2387)
|
|
9073
9073
|
: Error(
|
|
9074
9074
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
9075
9075
|
);
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9076
|
+
JSCompiler_object_inline_componentStack_2390.stack =
|
|
9077
|
+
JSCompiler_object_inline_stack_2389 || "";
|
|
9078
|
+
JSCompiler_object_inline_componentStack_2390.digest =
|
|
9079
|
+
JSCompiler_object_inline_digest_2388;
|
|
9080
|
+
JSCompiler_object_inline_digest_2388 =
|
|
9081
9081
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
|
9082
|
-
|
|
9083
|
-
value:
|
|
9082
|
+
JSCompiler_object_inline_stack_2389 = {
|
|
9083
|
+
value: JSCompiler_object_inline_componentStack_2390,
|
|
9084
9084
|
source: null,
|
|
9085
|
-
stack:
|
|
9085
|
+
stack: JSCompiler_object_inline_digest_2388
|
|
9086
9086
|
};
|
|
9087
|
-
"string" === typeof
|
|
9087
|
+
"string" === typeof JSCompiler_object_inline_digest_2388 &&
|
|
9088
9088
|
CapturedStacks.set(
|
|
9089
|
-
|
|
9090
|
-
|
|
9089
|
+
JSCompiler_object_inline_componentStack_2390,
|
|
9090
|
+
JSCompiler_object_inline_stack_2389
|
|
9091
9091
|
);
|
|
9092
|
-
queueHydrationError(
|
|
9092
|
+
queueHydrationError(JSCompiler_object_inline_stack_2389);
|
|
9093
9093
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9094
9094
|
current,
|
|
9095
9095
|
workInProgress,
|
|
@@ -9103,44 +9103,44 @@
|
|
|
9103
9103
|
renderLanes,
|
|
9104
9104
|
!1
|
|
9105
9105
|
),
|
|
9106
|
-
(
|
|
9106
|
+
(JSCompiler_object_inline_digest_2388 =
|
|
9107
9107
|
0 !== (renderLanes & current.childLanes)),
|
|
9108
|
-
didReceiveUpdate ||
|
|
9108
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2388)
|
|
9109
9109
|
) {
|
|
9110
|
-
|
|
9110
|
+
JSCompiler_object_inline_digest_2388 = workInProgressRoot;
|
|
9111
9111
|
if (
|
|
9112
|
-
null !==
|
|
9113
|
-
((
|
|
9114
|
-
(
|
|
9115
|
-
0 !== (
|
|
9112
|
+
null !== JSCompiler_object_inline_digest_2388 &&
|
|
9113
|
+
((JSCompiler_object_inline_stack_2389 = renderLanes & -renderLanes),
|
|
9114
|
+
(JSCompiler_object_inline_stack_2389 =
|
|
9115
|
+
0 !== (JSCompiler_object_inline_stack_2389 & 42)
|
|
9116
9116
|
? 1
|
|
9117
9117
|
: getBumpedLaneForHydrationByLane(
|
|
9118
|
-
|
|
9118
|
+
JSCompiler_object_inline_stack_2389
|
|
9119
9119
|
)),
|
|
9120
|
-
(
|
|
9120
|
+
(JSCompiler_object_inline_stack_2389 =
|
|
9121
9121
|
0 !==
|
|
9122
|
-
(
|
|
9123
|
-
(
|
|
9122
|
+
(JSCompiler_object_inline_stack_2389 &
|
|
9123
|
+
(JSCompiler_object_inline_digest_2388.suspendedLanes |
|
|
9124
9124
|
renderLanes))
|
|
9125
9125
|
? 0
|
|
9126
|
-
:
|
|
9127
|
-
0 !==
|
|
9128
|
-
|
|
9126
|
+
: JSCompiler_object_inline_stack_2389),
|
|
9127
|
+
0 !== JSCompiler_object_inline_stack_2389 &&
|
|
9128
|
+
JSCompiler_object_inline_stack_2389 !== prevState.retryLane)
|
|
9129
9129
|
)
|
|
9130
9130
|
throw (
|
|
9131
|
-
((prevState.retryLane =
|
|
9131
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2389),
|
|
9132
9132
|
enqueueConcurrentRenderForLane(
|
|
9133
9133
|
current,
|
|
9134
|
-
|
|
9134
|
+
JSCompiler_object_inline_stack_2389
|
|
9135
9135
|
),
|
|
9136
9136
|
scheduleUpdateOnFiber(
|
|
9137
|
-
|
|
9137
|
+
JSCompiler_object_inline_digest_2388,
|
|
9138
9138
|
current,
|
|
9139
|
-
|
|
9139
|
+
JSCompiler_object_inline_stack_2389
|
|
9140
9140
|
),
|
|
9141
9141
|
SelectiveHydrationException)
|
|
9142
9142
|
);
|
|
9143
|
-
|
|
9143
|
+
JSCompiler_object_inline_message_2387.data ===
|
|
9144
9144
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
|
9145
9145
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9146
9146
|
current,
|
|
@@ -9148,14 +9148,14 @@
|
|
|
9148
9148
|
renderLanes
|
|
9149
9149
|
);
|
|
9150
9150
|
} else
|
|
9151
|
-
|
|
9151
|
+
JSCompiler_object_inline_message_2387.data ===
|
|
9152
9152
|
SUSPENSE_PENDING_START_DATA
|
|
9153
9153
|
? ((workInProgress.flags |= 192),
|
|
9154
9154
|
(workInProgress.child = current.child),
|
|
9155
9155
|
(workInProgress = null))
|
|
9156
9156
|
: ((current = prevState.treeContext),
|
|
9157
9157
|
(nextHydratableInstance = getNextHydratable(
|
|
9158
|
-
|
|
9158
|
+
JSCompiler_object_inline_message_2387.nextSibling
|
|
9159
9159
|
)),
|
|
9160
9160
|
(hydrationParentFiber = workInProgress),
|
|
9161
9161
|
(isHydrating = !0),
|
|
@@ -9173,57 +9173,57 @@
|
|
|
9173
9173
|
(treeContextProvider = workInProgress)),
|
|
9174
9174
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
9175
9175
|
workInProgress,
|
|
9176
|
-
|
|
9176
|
+
JSCompiler_object_inline_stack_2389.children
|
|
9177
9177
|
)),
|
|
9178
9178
|
(workInProgress.flags |= 4096));
|
|
9179
9179
|
return workInProgress;
|
|
9180
9180
|
}
|
|
9181
|
-
if (
|
|
9181
|
+
if (JSCompiler_object_inline_componentStack_2390)
|
|
9182
9182
|
return (
|
|
9183
9183
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
9184
|
-
(
|
|
9185
|
-
|
|
9186
|
-
(
|
|
9184
|
+
(JSCompiler_object_inline_componentStack_2390 =
|
|
9185
|
+
JSCompiler_object_inline_stack_2389.fallback),
|
|
9186
|
+
(JSCompiler_object_inline_message_2387 = workInProgress.mode),
|
|
9187
9187
|
(JSCompiler_temp = current.child),
|
|
9188
9188
|
(instance = JSCompiler_temp.sibling),
|
|
9189
|
-
(
|
|
9189
|
+
(JSCompiler_object_inline_stack_2389 = createWorkInProgress(
|
|
9190
9190
|
JSCompiler_temp,
|
|
9191
9191
|
{
|
|
9192
9192
|
mode: "hidden",
|
|
9193
|
-
children:
|
|
9193
|
+
children: JSCompiler_object_inline_stack_2389.children
|
|
9194
9194
|
}
|
|
9195
9195
|
)),
|
|
9196
|
-
(
|
|
9196
|
+
(JSCompiler_object_inline_stack_2389.subtreeFlags =
|
|
9197
9197
|
JSCompiler_temp.subtreeFlags & 65011712),
|
|
9198
9198
|
null !== instance
|
|
9199
|
-
? (
|
|
9199
|
+
? (JSCompiler_object_inline_componentStack_2390 =
|
|
9200
9200
|
createWorkInProgress(
|
|
9201
9201
|
instance,
|
|
9202
|
-
|
|
9202
|
+
JSCompiler_object_inline_componentStack_2390
|
|
9203
9203
|
))
|
|
9204
|
-
: ((
|
|
9204
|
+
: ((JSCompiler_object_inline_componentStack_2390 =
|
|
9205
9205
|
createFiberFromFragment(
|
|
9206
|
-
|
|
9207
|
-
|
|
9206
|
+
JSCompiler_object_inline_componentStack_2390,
|
|
9207
|
+
JSCompiler_object_inline_message_2387,
|
|
9208
9208
|
renderLanes,
|
|
9209
9209
|
null
|
|
9210
9210
|
)),
|
|
9211
|
-
(
|
|
9212
|
-
(
|
|
9211
|
+
(JSCompiler_object_inline_componentStack_2390.flags |= 2)),
|
|
9212
|
+
(JSCompiler_object_inline_componentStack_2390.return =
|
|
9213
9213
|
workInProgress),
|
|
9214
|
-
(
|
|
9215
|
-
(
|
|
9216
|
-
|
|
9217
|
-
(workInProgress.child =
|
|
9218
|
-
(
|
|
9219
|
-
|
|
9220
|
-
(
|
|
9221
|
-
(
|
|
9222
|
-
null ===
|
|
9223
|
-
? (
|
|
9214
|
+
(JSCompiler_object_inline_stack_2389.return = workInProgress),
|
|
9215
|
+
(JSCompiler_object_inline_stack_2389.sibling =
|
|
9216
|
+
JSCompiler_object_inline_componentStack_2390),
|
|
9217
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2389),
|
|
9218
|
+
(JSCompiler_object_inline_stack_2389 =
|
|
9219
|
+
JSCompiler_object_inline_componentStack_2390),
|
|
9220
|
+
(JSCompiler_object_inline_componentStack_2390 = workInProgress.child),
|
|
9221
|
+
(JSCompiler_object_inline_message_2387 = current.child.memoizedState),
|
|
9222
|
+
null === JSCompiler_object_inline_message_2387
|
|
9223
|
+
? (JSCompiler_object_inline_message_2387 =
|
|
9224
9224
|
mountSuspenseOffscreenState(renderLanes))
|
|
9225
9225
|
: ((JSCompiler_temp =
|
|
9226
|
-
|
|
9226
|
+
JSCompiler_object_inline_message_2387.cachePool),
|
|
9227
9227
|
null !== JSCompiler_temp
|
|
9228
9228
|
? ((instance = CacheContext._currentValue),
|
|
9229
9229
|
(JSCompiler_temp =
|
|
@@ -9231,37 +9231,37 @@
|
|
|
9231
9231
|
? { parent: instance, pool: instance }
|
|
9232
9232
|
: JSCompiler_temp))
|
|
9233
9233
|
: (JSCompiler_temp = getSuspendedCache()),
|
|
9234
|
-
(
|
|
9234
|
+
(JSCompiler_object_inline_message_2387 = {
|
|
9235
9235
|
baseLanes:
|
|
9236
|
-
|
|
9236
|
+
JSCompiler_object_inline_message_2387.baseLanes | renderLanes,
|
|
9237
9237
|
cachePool: JSCompiler_temp
|
|
9238
9238
|
})),
|
|
9239
|
-
(
|
|
9240
|
-
|
|
9241
|
-
(
|
|
9239
|
+
(JSCompiler_object_inline_componentStack_2390.memoizedState =
|
|
9240
|
+
JSCompiler_object_inline_message_2387),
|
|
9241
|
+
(JSCompiler_object_inline_componentStack_2390.childLanes =
|
|
9242
9242
|
getRemainingWorkInPrimaryTree(
|
|
9243
9243
|
current,
|
|
9244
|
-
|
|
9244
|
+
JSCompiler_object_inline_digest_2388,
|
|
9245
9245
|
renderLanes
|
|
9246
9246
|
)),
|
|
9247
9247
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9248
|
-
|
|
9248
|
+
JSCompiler_object_inline_stack_2389
|
|
9249
9249
|
);
|
|
9250
9250
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
9251
9251
|
renderLanes = current.child;
|
|
9252
9252
|
current = renderLanes.sibling;
|
|
9253
9253
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
9254
9254
|
mode: "visible",
|
|
9255
|
-
children:
|
|
9255
|
+
children: JSCompiler_object_inline_stack_2389.children
|
|
9256
9256
|
});
|
|
9257
9257
|
renderLanes.return = workInProgress;
|
|
9258
9258
|
renderLanes.sibling = null;
|
|
9259
9259
|
null !== current &&
|
|
9260
|
-
((
|
|
9261
|
-
null ===
|
|
9260
|
+
((JSCompiler_object_inline_digest_2388 = workInProgress.deletions),
|
|
9261
|
+
null === JSCompiler_object_inline_digest_2388
|
|
9262
9262
|
? ((workInProgress.deletions = [current]),
|
|
9263
9263
|
(workInProgress.flags |= 16))
|
|
9264
|
-
:
|
|
9264
|
+
: JSCompiler_object_inline_digest_2388.push(current));
|
|
9265
9265
|
workInProgress.child = renderLanes;
|
|
9266
9266
|
workInProgress.memoizedState = null;
|
|
9267
9267
|
return renderLanes;
|
|
@@ -10000,21 +10000,14 @@
|
|
|
10000
10000
|
(nextHydratableInstance = getNextHydratable(
|
|
10001
10001
|
prevSibling.firstChild
|
|
10002
10002
|
))),
|
|
10003
|
-
(
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
renderLanes
|
|
10010
|
-
)
|
|
10011
|
-
: (workInProgress.child = reconcileChildFibers(
|
|
10012
|
-
workInProgress,
|
|
10013
|
-
null,
|
|
10014
|
-
returnFiber,
|
|
10015
|
-
renderLanes
|
|
10016
|
-
)),
|
|
10003
|
+
reconcileChildren(
|
|
10004
|
+
current,
|
|
10005
|
+
workInProgress,
|
|
10006
|
+
workInProgress.pendingProps.children,
|
|
10007
|
+
renderLanes
|
|
10008
|
+
),
|
|
10017
10009
|
markRef(current, workInProgress),
|
|
10010
|
+
null === current && (workInProgress.flags |= 4194304),
|
|
10018
10011
|
workInProgress.child
|
|
10019
10012
|
);
|
|
10020
10013
|
case 5:
|
|
@@ -10779,7 +10772,7 @@
|
|
|
10779
10772
|
5 === fiber.tag ||
|
|
10780
10773
|
3 === fiber.tag ||
|
|
10781
10774
|
26 === fiber.tag ||
|
|
10782
|
-
27 === fiber.tag ||
|
|
10775
|
+
(27 === fiber.tag && "head" === fiber.type) ||
|
|
10783
10776
|
4 === fiber.tag
|
|
10784
10777
|
);
|
|
10785
10778
|
}
|
|
@@ -10792,12 +10785,10 @@
|
|
|
10792
10785
|
fiber.sibling.return = fiber.return;
|
|
10793
10786
|
for (
|
|
10794
10787
|
fiber = fiber.sibling;
|
|
10795
|
-
5 !== fiber.tag &&
|
|
10796
|
-
6 !== fiber.tag &&
|
|
10797
|
-
27 !== fiber.tag &&
|
|
10798
|
-
18 !== fiber.tag;
|
|
10788
|
+
5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
|
|
10799
10789
|
|
|
10800
10790
|
) {
|
|
10791
|
+
if (27 === fiber.tag && "head" === fiber.type) continue a;
|
|
10801
10792
|
if (fiber.flags & 2) continue a;
|
|
10802
10793
|
if (null === fiber.child || 4 === fiber.tag) continue a;
|
|
10803
10794
|
else (fiber.child.return = fiber), (fiber = fiber.child);
|
|
@@ -10808,20 +10799,47 @@
|
|
|
10808
10799
|
function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
|
10809
10800
|
var tag = node.tag;
|
|
10810
10801
|
if (5 === tag || 6 === tag)
|
|
10811
|
-
(node = node.stateNode),
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
:
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10802
|
+
if (((node = node.stateNode), before)) {
|
|
10803
|
+
switch (parent.nodeType) {
|
|
10804
|
+
case 8:
|
|
10805
|
+
parent = parent.parentNode;
|
|
10806
|
+
break;
|
|
10807
|
+
case 9:
|
|
10808
|
+
parent = parent.body;
|
|
10809
|
+
break;
|
|
10810
|
+
default:
|
|
10811
|
+
parent =
|
|
10812
|
+
"HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
|
|
10813
|
+
}
|
|
10814
|
+
parent.insertBefore(node, before);
|
|
10815
|
+
} else
|
|
10816
|
+
a: {
|
|
10817
|
+
switch (parent.nodeType) {
|
|
10818
|
+
case 8:
|
|
10819
|
+
before = parent.parentNode;
|
|
10820
|
+
before.insertBefore(node, parent);
|
|
10821
|
+
break a;
|
|
10822
|
+
case 9:
|
|
10823
|
+
before = parent.body;
|
|
10824
|
+
break;
|
|
10825
|
+
default:
|
|
10826
|
+
before =
|
|
10827
|
+
"HTML" === parent.nodeName
|
|
10828
|
+
? parent.ownerDocument.body
|
|
10829
|
+
: parent;
|
|
10830
|
+
}
|
|
10831
|
+
before.appendChild(node);
|
|
10832
|
+
parent = parent._reactRootContainer;
|
|
10833
|
+
(null !== parent && void 0 !== parent) ||
|
|
10834
|
+
null !== before.onclick ||
|
|
10835
|
+
(before.onclick = noop$1);
|
|
10836
|
+
}
|
|
10837
|
+
else if (
|
|
10838
|
+
4 !== tag &&
|
|
10839
|
+
(27 === tag && "head" === node.type && (parent = node.stateNode),
|
|
10840
|
+
(node = node.child),
|
|
10841
|
+
null !== node)
|
|
10842
|
+
)
|
|
10825
10843
|
for (
|
|
10826
10844
|
insertOrAppendPlacementNodeIntoContainer(node, before, parent),
|
|
10827
10845
|
node = node.sibling;
|
|
@@ -10836,7 +10854,12 @@
|
|
|
10836
10854
|
if (5 === tag || 6 === tag)
|
|
10837
10855
|
(node = node.stateNode),
|
|
10838
10856
|
before ? parent.insertBefore(node, before) : parent.appendChild(node);
|
|
10839
|
-
else if (
|
|
10857
|
+
else if (
|
|
10858
|
+
4 !== tag &&
|
|
10859
|
+
(27 === tag && "head" === node.type && (parent = node.stateNode),
|
|
10860
|
+
(node = node.child),
|
|
10861
|
+
null !== node)
|
|
10862
|
+
)
|
|
10840
10863
|
for (
|
|
10841
10864
|
insertOrAppendPlacementNode(node, before, parent),
|
|
10842
10865
|
node = node.sibling;
|
|
@@ -10847,47 +10870,61 @@
|
|
|
10847
10870
|
(node = node.sibling);
|
|
10848
10871
|
}
|
|
10849
10872
|
function commitPlacement(finishedWork) {
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
break a;
|
|
10856
|
-
}
|
|
10857
|
-
parent = parent.return;
|
|
10873
|
+
a: {
|
|
10874
|
+
for (var parent = finishedWork.return; null !== parent; ) {
|
|
10875
|
+
if (isHostParent(parent)) {
|
|
10876
|
+
var parentFiber = parent;
|
|
10877
|
+
break a;
|
|
10858
10878
|
}
|
|
10879
|
+
parent = parent.return;
|
|
10880
|
+
}
|
|
10881
|
+
throw Error(
|
|
10882
|
+
"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
|
|
10883
|
+
);
|
|
10884
|
+
}
|
|
10885
|
+
switch (parentFiber.tag) {
|
|
10886
|
+
case 27:
|
|
10887
|
+
parent = parentFiber.stateNode;
|
|
10888
|
+
parentFiber = getHostSibling(finishedWork);
|
|
10889
|
+
insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
|
|
10890
|
+
break;
|
|
10891
|
+
case 5:
|
|
10892
|
+
parent = parentFiber.stateNode;
|
|
10893
|
+
parentFiber.flags & 32 &&
|
|
10894
|
+
(resetTextContent(parent), (parentFiber.flags &= -33));
|
|
10895
|
+
parentFiber = getHostSibling(finishedWork);
|
|
10896
|
+
insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
|
|
10897
|
+
break;
|
|
10898
|
+
case 3:
|
|
10899
|
+
case 4:
|
|
10900
|
+
parent = parentFiber.stateNode.containerInfo;
|
|
10901
|
+
parentFiber = getHostSibling(finishedWork);
|
|
10902
|
+
insertOrAppendPlacementNodeIntoContainer(
|
|
10903
|
+
finishedWork,
|
|
10904
|
+
parentFiber,
|
|
10905
|
+
parent
|
|
10906
|
+
);
|
|
10907
|
+
break;
|
|
10908
|
+
default:
|
|
10859
10909
|
throw Error(
|
|
10860
|
-
"
|
|
10910
|
+
"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
|
|
10861
10911
|
);
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
parent = parentFiber.stateNode.containerInfo;
|
|
10879
|
-
parentFiber = getHostSibling(finishedWork);
|
|
10880
|
-
insertOrAppendPlacementNodeIntoContainer(
|
|
10881
|
-
finishedWork,
|
|
10882
|
-
parentFiber,
|
|
10883
|
-
parent
|
|
10884
|
-
);
|
|
10885
|
-
break;
|
|
10886
|
-
default:
|
|
10887
|
-
throw Error(
|
|
10888
|
-
"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
|
|
10889
|
-
);
|
|
10890
|
-
}
|
|
10912
|
+
}
|
|
10913
|
+
}
|
|
10914
|
+
function commitHostSingletonAcquisition(finishedWork) {
|
|
10915
|
+
var singleton = finishedWork.stateNode,
|
|
10916
|
+
props = finishedWork.memoizedProps;
|
|
10917
|
+
try {
|
|
10918
|
+
runWithFiberInDEV(
|
|
10919
|
+
finishedWork,
|
|
10920
|
+
acquireSingletonInstance,
|
|
10921
|
+
finishedWork.type,
|
|
10922
|
+
props,
|
|
10923
|
+
singleton,
|
|
10924
|
+
finishedWork
|
|
10925
|
+
);
|
|
10926
|
+
} catch (error) {
|
|
10927
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
10891
10928
|
}
|
|
10892
10929
|
}
|
|
10893
10930
|
function commitBeforeMutationEffects(root, firstChild) {
|
|
@@ -11144,11 +11181,11 @@
|
|
|
11144
11181
|
}
|
|
11145
11182
|
finishedRoot.effectDuration += popNestedEffectDurations(current);
|
|
11146
11183
|
break;
|
|
11147
|
-
case 26:
|
|
11148
|
-
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
|
11149
|
-
flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
|
|
11150
|
-
break;
|
|
11151
11184
|
case 27:
|
|
11185
|
+
null === current &&
|
|
11186
|
+
flags & 4 &&
|
|
11187
|
+
commitHostSingletonAcquisition(finishedWork);
|
|
11188
|
+
case 26:
|
|
11152
11189
|
case 5:
|
|
11153
11190
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
|
11154
11191
|
null === current && flags & 4 && commitHostMount(finishedWork);
|
|
@@ -11291,16 +11328,19 @@
|
|
|
11291
11328
|
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
|
11292
11329
|
var prevHostParent = hostParent,
|
|
11293
11330
|
prevHostParentIsContainer = hostParentIsContainer;
|
|
11294
|
-
|
|
11331
|
+
"head" === deletedFiber.type &&
|
|
11332
|
+
((hostParent = deletedFiber.stateNode),
|
|
11333
|
+
(hostParentIsContainer = !1));
|
|
11295
11334
|
recursivelyTraverseDeletionEffects(
|
|
11296
11335
|
finishedRoot,
|
|
11297
11336
|
nearestMountedAncestor,
|
|
11298
11337
|
deletedFiber
|
|
11299
11338
|
);
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11339
|
+
runWithFiberInDEV(
|
|
11340
|
+
deletedFiber,
|
|
11341
|
+
releaseSingletonInstance,
|
|
11342
|
+
deletedFiber.stateNode
|
|
11343
|
+
);
|
|
11304
11344
|
hostParent = prevHostParent;
|
|
11305
11345
|
hostParentIsContainer = prevHostParentIsContainer;
|
|
11306
11346
|
break;
|
|
@@ -11357,8 +11397,14 @@
|
|
|
11357
11397
|
(deletedFiber = deletedFiber.stateNode),
|
|
11358
11398
|
8 === finishedRoot.nodeType
|
|
11359
11399
|
? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber)
|
|
11360
|
-
:
|
|
11361
|
-
clearSuspenseBoundary(finishedRoot, deletedFiber)
|
|
11400
|
+
: 9 === finishedRoot.nodeType
|
|
11401
|
+
? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
|
|
11402
|
+
: "HTML" === finishedRoot.nodeName
|
|
11403
|
+
? clearSuspenseBoundary(
|
|
11404
|
+
finishedRoot.ownerDocument.body,
|
|
11405
|
+
deletedFiber
|
|
11406
|
+
)
|
|
11407
|
+
: clearSuspenseBoundary(finishedRoot, deletedFiber),
|
|
11362
11408
|
retryIfBlockedOn(finishedRoot))
|
|
11363
11409
|
: clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
|
|
11364
11410
|
break;
|
|
@@ -11512,6 +11558,12 @@
|
|
|
11512
11558
|
a: for (; null !== parent; ) {
|
|
11513
11559
|
switch (parent.tag) {
|
|
11514
11560
|
case 27:
|
|
11561
|
+
if ("head" === parent.type) {
|
|
11562
|
+
hostParent = parent.stateNode;
|
|
11563
|
+
hostParentIsContainer = !1;
|
|
11564
|
+
break a;
|
|
11565
|
+
}
|
|
11566
|
+
break;
|
|
11515
11567
|
case 5:
|
|
11516
11568
|
hostParent = parent.stateNode;
|
|
11517
11569
|
hostParentIsContainer = !1;
|
|
@@ -11750,35 +11802,20 @@
|
|
|
11750
11802
|
);
|
|
11751
11803
|
break;
|
|
11752
11804
|
case 27:
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
hoistableRoot.removeChild(i);
|
|
11768
|
-
i = nextNode;
|
|
11769
|
-
}
|
|
11770
|
-
runWithFiberInDEV(
|
|
11771
|
-
finishedWork,
|
|
11772
|
-
acquireSingletonInstance,
|
|
11773
|
-
finishedWork.type,
|
|
11774
|
-
maybeNodes,
|
|
11775
|
-
hoistableRoot,
|
|
11776
|
-
finishedWork
|
|
11777
|
-
);
|
|
11778
|
-
} catch (error) {
|
|
11779
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
11780
|
-
}
|
|
11781
|
-
}
|
|
11805
|
+
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
11806
|
+
commitReconciliationEffects(finishedWork);
|
|
11807
|
+
flags & 512 &&
|
|
11808
|
+
(offscreenSubtreeWasHidden ||
|
|
11809
|
+
null === current ||
|
|
11810
|
+
safelyDetachRef(current, current.return));
|
|
11811
|
+
null !== current &&
|
|
11812
|
+
flags & 4 &&
|
|
11813
|
+
commitHostUpdate(
|
|
11814
|
+
finishedWork,
|
|
11815
|
+
finishedWork.memoizedProps,
|
|
11816
|
+
current.memoizedProps
|
|
11817
|
+
);
|
|
11818
|
+
break;
|
|
11782
11819
|
case 5:
|
|
11783
11820
|
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
11784
11821
|
commitReconciliationEffects(finishedWork);
|
|
@@ -11893,15 +11930,17 @@
|
|
|
11893
11930
|
(offscreenSubtreeWasHidden ||
|
|
11894
11931
|
null === current ||
|
|
11895
11932
|
safelyDetachRef(current, current.return));
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
offscreenSubtreeIsHidden =
|
|
11901
|
-
|
|
11933
|
+
hoistableRoot = null !== finishedWork.memoizedState;
|
|
11934
|
+
var wasHidden = null !== current && null !== current.memoizedState,
|
|
11935
|
+
prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
|
|
11936
|
+
prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
|
|
11937
|
+
offscreenSubtreeIsHidden =
|
|
11938
|
+
prevOffscreenSubtreeIsHidden || hoistableRoot;
|
|
11939
|
+
offscreenSubtreeWasHidden =
|
|
11940
|
+
prevOffscreenSubtreeWasHidden || wasHidden;
|
|
11902
11941
|
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
11903
11942
|
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
|
|
11904
|
-
offscreenSubtreeIsHidden =
|
|
11943
|
+
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
|
|
11905
11944
|
commitReconciliationEffects(finishedWork);
|
|
11906
11945
|
root = finishedWork.stateNode;
|
|
11907
11946
|
root._current = finishedWork;
|
|
@@ -11909,59 +11948,51 @@
|
|
|
11909
11948
|
root._visibility |= root._pendingVisibility & OffscreenDetached;
|
|
11910
11949
|
if (
|
|
11911
11950
|
flags & 8192 &&
|
|
11912
|
-
((root._visibility =
|
|
11951
|
+
((root._visibility = hoistableRoot
|
|
11913
11952
|
? root._visibility & ~OffscreenVisible
|
|
11914
11953
|
: root._visibility | OffscreenVisible),
|
|
11915
|
-
|
|
11916
|
-
(
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11954
|
+
hoistableRoot &&
|
|
11955
|
+
(null === current ||
|
|
11956
|
+
wasHidden ||
|
|
11957
|
+
offscreenSubtreeIsHidden ||
|
|
11958
|
+
offscreenSubtreeWasHidden ||
|
|
11920
11959
|
recursivelyTraverseDisappearLayoutEffects(finishedWork)),
|
|
11921
11960
|
null === finishedWork.memoizedProps ||
|
|
11922
11961
|
"manual" !== finishedWork.memoizedProps.mode)
|
|
11923
11962
|
)
|
|
11924
11963
|
a: for (current = null, root = finishedWork; ; ) {
|
|
11925
|
-
if (5 === root.tag || 26 === root.tag
|
|
11964
|
+
if (5 === root.tag || 26 === root.tag) {
|
|
11926
11965
|
if (null === current) {
|
|
11927
|
-
|
|
11966
|
+
wasHidden = current = root;
|
|
11928
11967
|
try {
|
|
11929
|
-
(
|
|
11930
|
-
|
|
11931
|
-
? runWithFiberInDEV(
|
|
11932
|
-
nextNode,
|
|
11933
|
-
hideInstance,
|
|
11934
|
-
hoistableRoot
|
|
11935
|
-
)
|
|
11968
|
+
(maybeNodes = wasHidden.stateNode),
|
|
11969
|
+
hoistableRoot
|
|
11970
|
+
? runWithFiberInDEV(wasHidden, hideInstance, maybeNodes)
|
|
11936
11971
|
: runWithFiberInDEV(
|
|
11937
|
-
|
|
11972
|
+
wasHidden,
|
|
11938
11973
|
unhideInstance,
|
|
11939
|
-
|
|
11940
|
-
|
|
11974
|
+
wasHidden.stateNode,
|
|
11975
|
+
wasHidden.memoizedProps
|
|
11941
11976
|
);
|
|
11942
11977
|
} catch (error) {
|
|
11943
|
-
captureCommitPhaseError(
|
|
11978
|
+
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
|
11944
11979
|
}
|
|
11945
11980
|
}
|
|
11946
11981
|
} else if (6 === root.tag) {
|
|
11947
11982
|
if (null === current) {
|
|
11948
|
-
|
|
11983
|
+
wasHidden = root;
|
|
11949
11984
|
try {
|
|
11950
|
-
(
|
|
11951
|
-
|
|
11952
|
-
? runWithFiberInDEV(
|
|
11953
|
-
nextNode,
|
|
11954
|
-
hideTextInstance,
|
|
11955
|
-
maybeNodes
|
|
11956
|
-
)
|
|
11985
|
+
(i = wasHidden.stateNode),
|
|
11986
|
+
hoistableRoot
|
|
11987
|
+
? runWithFiberInDEV(wasHidden, hideTextInstance, i)
|
|
11957
11988
|
: runWithFiberInDEV(
|
|
11958
|
-
|
|
11989
|
+
wasHidden,
|
|
11959
11990
|
unhideTextInstance,
|
|
11960
|
-
|
|
11961
|
-
|
|
11991
|
+
i,
|
|
11992
|
+
wasHidden.memoizedProps
|
|
11962
11993
|
);
|
|
11963
11994
|
} catch (error) {
|
|
11964
|
-
captureCommitPhaseError(
|
|
11995
|
+
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
|
11965
11996
|
}
|
|
11966
11997
|
}
|
|
11967
11998
|
} else if (
|
|
@@ -12061,8 +12092,13 @@
|
|
|
12061
12092
|
);
|
|
12062
12093
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
|
12063
12094
|
break;
|
|
12064
|
-
case 26:
|
|
12065
12095
|
case 27:
|
|
12096
|
+
runWithFiberInDEV(
|
|
12097
|
+
finishedWork,
|
|
12098
|
+
releaseSingletonInstance,
|
|
12099
|
+
finishedWork.stateNode
|
|
12100
|
+
);
|
|
12101
|
+
case 26:
|
|
12066
12102
|
case 5:
|
|
12067
12103
|
safelyDetachRef(finishedWork, finishedWork.return);
|
|
12068
12104
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
|
@@ -12132,8 +12168,9 @@
|
|
|
12132
12168
|
commitClassCallbacks(finishedWork);
|
|
12133
12169
|
safelyAttachRef(finishedWork, finishedWork.return);
|
|
12134
12170
|
break;
|
|
12135
|
-
case 26:
|
|
12136
12171
|
case 27:
|
|
12172
|
+
commitHostSingletonAcquisition(finishedWork);
|
|
12173
|
+
case 26:
|
|
12137
12174
|
case 5:
|
|
12138
12175
|
recursivelyTraverseReappearLayoutEffects(
|
|
12139
12176
|
finishedRoot,
|
|
@@ -19167,9 +19204,20 @@
|
|
|
19167
19204
|
parentInstance.removeChild(child);
|
|
19168
19205
|
}
|
|
19169
19206
|
function removeChildFromContainer(container, child) {
|
|
19170
|
-
|
|
19171
|
-
|
|
19172
|
-
|
|
19207
|
+
switch (container.nodeType) {
|
|
19208
|
+
case 8:
|
|
19209
|
+
container = container.parentNode;
|
|
19210
|
+
break;
|
|
19211
|
+
case 9:
|
|
19212
|
+
container = container.body;
|
|
19213
|
+
break;
|
|
19214
|
+
default:
|
|
19215
|
+
container =
|
|
19216
|
+
"HTML" === container.nodeName
|
|
19217
|
+
? container.ownerDocument.body
|
|
19218
|
+
: container;
|
|
19219
|
+
}
|
|
19220
|
+
container.removeChild(child);
|
|
19173
19221
|
}
|
|
19174
19222
|
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
|
19175
19223
|
var node = suspenseInstance,
|
|
@@ -19515,6 +19563,11 @@
|
|
|
19515
19563
|
instance[internalInstanceKey] = internalInstanceHandle;
|
|
19516
19564
|
instance[internalPropsKey] = props;
|
|
19517
19565
|
}
|
|
19566
|
+
function releaseSingletonInstance(instance) {
|
|
19567
|
+
for (var attributes = instance.attributes; attributes.length; )
|
|
19568
|
+
instance.removeAttributeNode(attributes[0]);
|
|
19569
|
+
detachDeletedInstance(instance);
|
|
19570
|
+
}
|
|
19518
19571
|
function getHoistableRoot(container) {
|
|
19519
19572
|
return "function" === typeof container.getRootNode
|
|
19520
19573
|
? container.getRootNode()
|
|
@@ -24570,11 +24623,11 @@
|
|
|
24570
24623
|
};
|
|
24571
24624
|
(function () {
|
|
24572
24625
|
var isomorphicReactPackageVersion = React.version;
|
|
24573
|
-
if ("19.1.0-canary-
|
|
24626
|
+
if ("19.1.0-canary-c492f975-20250128" !== isomorphicReactPackageVersion)
|
|
24574
24627
|
throw Error(
|
|
24575
24628
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
24576
24629
|
(isomorphicReactPackageVersion +
|
|
24577
|
-
"\n - react-dom: 19.1.0-canary-
|
|
24630
|
+
"\n - react-dom: 19.1.0-canary-c492f975-20250128\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
24578
24631
|
);
|
|
24579
24632
|
})();
|
|
24580
24633
|
("function" === typeof Map &&
|
|
@@ -24611,10 +24664,10 @@
|
|
|
24611
24664
|
!(function () {
|
|
24612
24665
|
var internals = {
|
|
24613
24666
|
bundleType: 1,
|
|
24614
|
-
version: "19.1.0-canary-
|
|
24667
|
+
version: "19.1.0-canary-c492f975-20250128",
|
|
24615
24668
|
rendererPackageName: "react-dom",
|
|
24616
24669
|
currentDispatcherRef: ReactSharedInternals,
|
|
24617
|
-
reconcilerVersion: "19.1.0-canary-
|
|
24670
|
+
reconcilerVersion: "19.1.0-canary-c492f975-20250128"
|
|
24618
24671
|
};
|
|
24619
24672
|
internals.overrideHookState = overrideHookState;
|
|
24620
24673
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -24760,7 +24813,7 @@
|
|
|
24760
24813
|
listenToAllSupportedEvents(container);
|
|
24761
24814
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
24762
24815
|
};
|
|
24763
|
-
exports.version = "19.1.0-canary-
|
|
24816
|
+
exports.version = "19.1.0-canary-c492f975-20250128";
|
|
24764
24817
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
24765
24818
|
"function" ===
|
|
24766
24819
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|