react-dom 19.2.0-canary-b94603b9-20250513 → 19.2.0-canary-d85f86cf-20250514
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 +196 -144
- package/cjs/react-dom-client.production.js +114 -70
- package/cjs/react-dom-profiling.development.js +196 -144
- package/cjs/react-dom-profiling.profiling.js +114 -70
- 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
@@ -9693,24 +9693,24 @@
|
|
9693
9693
|
return current;
|
9694
9694
|
}
|
9695
9695
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9696
|
-
var
|
9697
|
-
var
|
9696
|
+
var JSCompiler_object_inline_digest_2550;
|
9697
|
+
var JSCompiler_object_inline_stack_2551 = workInProgress.pendingProps;
|
9698
9698
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9699
|
-
var
|
9699
|
+
var JSCompiler_object_inline_message_2549 = !1;
|
9700
9700
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9701
|
-
(
|
9702
|
-
(
|
9701
|
+
(JSCompiler_object_inline_digest_2550 = didSuspend) ||
|
9702
|
+
(JSCompiler_object_inline_digest_2550 =
|
9703
9703
|
null !== current && null === current.memoizedState
|
9704
9704
|
? !1
|
9705
9705
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9706
|
-
|
9707
|
-
((
|
9706
|
+
JSCompiler_object_inline_digest_2550 &&
|
9707
|
+
((JSCompiler_object_inline_message_2549 = !0),
|
9708
9708
|
(workInProgress.flags &= -129));
|
9709
|
-
|
9709
|
+
JSCompiler_object_inline_digest_2550 = 0 !== (workInProgress.flags & 32);
|
9710
9710
|
workInProgress.flags &= -33;
|
9711
9711
|
if (null === current) {
|
9712
9712
|
if (isHydrating) {
|
9713
|
-
|
9713
|
+
JSCompiler_object_inline_message_2549
|
9714
9714
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9715
9715
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9716
9716
|
(current = nextHydratableInstance)
|
@@ -9723,18 +9723,18 @@
|
|
9723
9723
|
? renderLanes
|
9724
9724
|
: null),
|
9725
9725
|
null !== renderLanes &&
|
9726
|
-
((
|
9726
|
+
((JSCompiler_object_inline_digest_2550 = {
|
9727
9727
|
dehydrated: renderLanes,
|
9728
9728
|
treeContext: getSuspendedTreeContext(),
|
9729
9729
|
retryLane: 536870912,
|
9730
9730
|
hydrationErrors: null
|
9731
9731
|
}),
|
9732
9732
|
(workInProgress.memoizedState =
|
9733
|
-
|
9734
|
-
(
|
9733
|
+
JSCompiler_object_inline_digest_2550),
|
9734
|
+
(JSCompiler_object_inline_digest_2550 =
|
9735
9735
|
createFiberFromDehydratedFragment(renderLanes)),
|
9736
|
-
(
|
9737
|
-
(workInProgress.child =
|
9736
|
+
(JSCompiler_object_inline_digest_2550.return = workInProgress),
|
9737
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2550),
|
9738
9738
|
(hydrationParentFiber = workInProgress),
|
9739
9739
|
(nextHydratableInstance = null)))
|
9740
9740
|
: (renderLanes = null);
|
@@ -9748,36 +9748,36 @@
|
|
9748
9748
|
: (workInProgress.lanes = 536870912);
|
9749
9749
|
return null;
|
9750
9750
|
}
|
9751
|
-
var nextPrimaryChildren =
|
9752
|
-
|
9753
|
-
|
9754
|
-
if (
|
9751
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2551.children;
|
9752
|
+
JSCompiler_object_inline_stack_2551 =
|
9753
|
+
JSCompiler_object_inline_stack_2551.fallback;
|
9754
|
+
if (JSCompiler_object_inline_message_2549) {
|
9755
9755
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9756
9756
|
var mode = workInProgress.mode;
|
9757
9757
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9758
9758
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9759
9759
|
mode
|
9760
9760
|
);
|
9761
|
-
|
9762
|
-
|
9761
|
+
JSCompiler_object_inline_stack_2551 = createFiberFromFragment(
|
9762
|
+
JSCompiler_object_inline_stack_2551,
|
9763
9763
|
mode,
|
9764
9764
|
renderLanes,
|
9765
9765
|
null
|
9766
9766
|
);
|
9767
9767
|
nextPrimaryChildren.return = workInProgress;
|
9768
|
-
|
9769
|
-
nextPrimaryChildren.sibling =
|
9768
|
+
JSCompiler_object_inline_stack_2551.return = workInProgress;
|
9769
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2551;
|
9770
9770
|
workInProgress.child = nextPrimaryChildren;
|
9771
9771
|
nextPrimaryChildren = workInProgress.child;
|
9772
9772
|
nextPrimaryChildren.memoizedState =
|
9773
9773
|
mountSuspenseOffscreenState(renderLanes);
|
9774
9774
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9775
9775
|
current,
|
9776
|
-
|
9776
|
+
JSCompiler_object_inline_digest_2550,
|
9777
9777
|
renderLanes
|
9778
9778
|
);
|
9779
9779
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9780
|
-
return
|
9780
|
+
return JSCompiler_object_inline_stack_2551;
|
9781
9781
|
}
|
9782
9782
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9783
9783
|
return mountSuspensePrimaryChildren(
|
@@ -9787,8 +9787,8 @@
|
|
9787
9787
|
}
|
9788
9788
|
var prevState = current.memoizedState;
|
9789
9789
|
if (null !== prevState) {
|
9790
|
-
var
|
9791
|
-
if (null !==
|
9790
|
+
var JSCompiler_object_inline_componentStack_2552 = prevState.dehydrated;
|
9791
|
+
if (null !== JSCompiler_object_inline_componentStack_2552) {
|
9792
9792
|
if (didSuspend)
|
9793
9793
|
workInProgress.flags & 256
|
9794
9794
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9805,13 +9805,13 @@
|
|
9805
9805
|
(workInProgress = null))
|
9806
9806
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9807
9807
|
(nextPrimaryChildren =
|
9808
|
-
|
9808
|
+
JSCompiler_object_inline_stack_2551.fallback),
|
9809
9809
|
(mode = workInProgress.mode),
|
9810
|
-
(
|
9810
|
+
(JSCompiler_object_inline_stack_2551 =
|
9811
9811
|
mountWorkInProgressOffscreenFiber(
|
9812
9812
|
{
|
9813
9813
|
mode: "visible",
|
9814
|
-
children:
|
9814
|
+
children: JSCompiler_object_inline_stack_2551.children
|
9815
9815
|
},
|
9816
9816
|
mode
|
9817
9817
|
)),
|
@@ -9822,24 +9822,24 @@
|
|
9822
9822
|
null
|
9823
9823
|
)),
|
9824
9824
|
(nextPrimaryChildren.flags |= 2),
|
9825
|
-
(
|
9825
|
+
(JSCompiler_object_inline_stack_2551.return = workInProgress),
|
9826
9826
|
(nextPrimaryChildren.return = workInProgress),
|
9827
|
-
(
|
9827
|
+
(JSCompiler_object_inline_stack_2551.sibling =
|
9828
9828
|
nextPrimaryChildren),
|
9829
|
-
(workInProgress.child =
|
9829
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2551),
|
9830
9830
|
reconcileChildFibers(
|
9831
9831
|
workInProgress,
|
9832
9832
|
current.child,
|
9833
9833
|
null,
|
9834
9834
|
renderLanes
|
9835
9835
|
),
|
9836
|
-
(
|
9837
|
-
(
|
9836
|
+
(JSCompiler_object_inline_stack_2551 = workInProgress.child),
|
9837
|
+
(JSCompiler_object_inline_stack_2551.memoizedState =
|
9838
9838
|
mountSuspenseOffscreenState(renderLanes)),
|
9839
|
-
(
|
9839
|
+
(JSCompiler_object_inline_stack_2551.childLanes =
|
9840
9840
|
getRemainingWorkInPrimaryTree(
|
9841
9841
|
current,
|
9842
|
-
|
9842
|
+
JSCompiler_object_inline_digest_2550,
|
9843
9843
|
renderLanes
|
9844
9844
|
)),
|
9845
9845
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9848,45 +9848,45 @@
|
|
9848
9848
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9849
9849
|
warnIfHydrating(),
|
9850
9850
|
isSuspenseInstanceFallback(
|
9851
|
-
|
9851
|
+
JSCompiler_object_inline_componentStack_2552
|
9852
9852
|
))
|
9853
9853
|
) {
|
9854
|
-
|
9855
|
-
|
9856
|
-
|
9857
|
-
if (
|
9858
|
-
nextPrimaryChildren =
|
9859
|
-
var message =
|
9860
|
-
mode =
|
9861
|
-
var componentStack =
|
9854
|
+
JSCompiler_object_inline_digest_2550 =
|
9855
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling &&
|
9856
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling.dataset;
|
9857
|
+
if (JSCompiler_object_inline_digest_2550) {
|
9858
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2550.dgst;
|
9859
|
+
var message = JSCompiler_object_inline_digest_2550.msg;
|
9860
|
+
mode = JSCompiler_object_inline_digest_2550.stck;
|
9861
|
+
var componentStack = JSCompiler_object_inline_digest_2550.cstck;
|
9862
9862
|
}
|
9863
|
-
|
9864
|
-
|
9865
|
-
|
9866
|
-
|
9867
|
-
nextPrimaryChildren =
|
9868
|
-
mode =
|
9863
|
+
JSCompiler_object_inline_message_2549 = message;
|
9864
|
+
JSCompiler_object_inline_digest_2550 = nextPrimaryChildren;
|
9865
|
+
JSCompiler_object_inline_stack_2551 = mode;
|
9866
|
+
JSCompiler_object_inline_componentStack_2552 = componentStack;
|
9867
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2549;
|
9868
|
+
mode = JSCompiler_object_inline_componentStack_2552;
|
9869
9869
|
nextPrimaryChildren = nextPrimaryChildren
|
9870
9870
|
? Error(nextPrimaryChildren)
|
9871
9871
|
: Error(
|
9872
9872
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9873
9873
|
);
|
9874
9874
|
nextPrimaryChildren.stack =
|
9875
|
-
|
9876
|
-
nextPrimaryChildren.digest =
|
9877
|
-
|
9875
|
+
JSCompiler_object_inline_stack_2551 || "";
|
9876
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2550;
|
9877
|
+
JSCompiler_object_inline_digest_2550 =
|
9878
9878
|
void 0 === mode ? null : mode;
|
9879
|
-
|
9879
|
+
JSCompiler_object_inline_stack_2551 = {
|
9880
9880
|
value: nextPrimaryChildren,
|
9881
9881
|
source: null,
|
9882
|
-
stack:
|
9882
|
+
stack: JSCompiler_object_inline_digest_2550
|
9883
9883
|
};
|
9884
|
-
"string" === typeof
|
9884
|
+
"string" === typeof JSCompiler_object_inline_digest_2550 &&
|
9885
9885
|
CapturedStacks.set(
|
9886
9886
|
nextPrimaryChildren,
|
9887
|
-
|
9887
|
+
JSCompiler_object_inline_stack_2551
|
9888
9888
|
);
|
9889
|
-
queueHydrationError(
|
9889
|
+
queueHydrationError(JSCompiler_object_inline_stack_2551);
|
9890
9890
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9891
9891
|
current,
|
9892
9892
|
workInProgress,
|
@@ -9900,35 +9900,35 @@
|
|
9900
9900
|
renderLanes,
|
9901
9901
|
!1
|
9902
9902
|
),
|
9903
|
-
(
|
9903
|
+
(JSCompiler_object_inline_digest_2550 =
|
9904
9904
|
0 !== (renderLanes & current.childLanes)),
|
9905
|
-
didReceiveUpdate ||
|
9905
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2550)
|
9906
9906
|
) {
|
9907
|
-
|
9907
|
+
JSCompiler_object_inline_digest_2550 = workInProgressRoot;
|
9908
9908
|
if (
|
9909
|
-
null !==
|
9910
|
-
((
|
9911
|
-
|
9909
|
+
null !== JSCompiler_object_inline_digest_2550 &&
|
9910
|
+
((JSCompiler_object_inline_stack_2551 = getBumpedLaneForHydration(
|
9911
|
+
JSCompiler_object_inline_digest_2550,
|
9912
9912
|
renderLanes
|
9913
9913
|
)),
|
9914
|
-
0 !==
|
9915
|
-
|
9914
|
+
0 !== JSCompiler_object_inline_stack_2551 &&
|
9915
|
+
JSCompiler_object_inline_stack_2551 !== prevState.retryLane)
|
9916
9916
|
)
|
9917
9917
|
throw (
|
9918
|
-
((prevState.retryLane =
|
9918
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2551),
|
9919
9919
|
enqueueConcurrentRenderForLane(
|
9920
9920
|
current,
|
9921
|
-
|
9921
|
+
JSCompiler_object_inline_stack_2551
|
9922
9922
|
),
|
9923
9923
|
scheduleUpdateOnFiber(
|
9924
|
-
|
9924
|
+
JSCompiler_object_inline_digest_2550,
|
9925
9925
|
current,
|
9926
|
-
|
9926
|
+
JSCompiler_object_inline_stack_2551
|
9927
9927
|
),
|
9928
9928
|
SelectiveHydrationException)
|
9929
9929
|
);
|
9930
9930
|
isSuspenseInstancePending(
|
9931
|
-
|
9931
|
+
JSCompiler_object_inline_componentStack_2552
|
9932
9932
|
) || renderDidSuspendDelayIfPossible();
|
9933
9933
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9934
9934
|
current,
|
@@ -9937,14 +9937,14 @@
|
|
9937
9937
|
);
|
9938
9938
|
} else
|
9939
9939
|
isSuspenseInstancePending(
|
9940
|
-
|
9940
|
+
JSCompiler_object_inline_componentStack_2552
|
9941
9941
|
)
|
9942
9942
|
? ((workInProgress.flags |= 192),
|
9943
9943
|
(workInProgress.child = current.child),
|
9944
9944
|
(workInProgress = null))
|
9945
9945
|
: ((current = prevState.treeContext),
|
9946
9946
|
(nextHydratableInstance = getNextHydratable(
|
9947
|
-
|
9947
|
+
JSCompiler_object_inline_componentStack_2552.nextSibling
|
9948
9948
|
)),
|
9949
9949
|
(hydrationParentFiber = workInProgress),
|
9950
9950
|
(isHydrating = !0),
|
@@ -9956,32 +9956,32 @@
|
|
9956
9956
|
restoreSuspendedTreeContext(workInProgress, current),
|
9957
9957
|
(workInProgress = mountSuspensePrimaryChildren(
|
9958
9958
|
workInProgress,
|
9959
|
-
|
9959
|
+
JSCompiler_object_inline_stack_2551.children
|
9960
9960
|
)),
|
9961
9961
|
(workInProgress.flags |= 4096));
|
9962
9962
|
return workInProgress;
|
9963
9963
|
}
|
9964
9964
|
}
|
9965
|
-
if (
|
9965
|
+
if (JSCompiler_object_inline_message_2549)
|
9966
9966
|
return (
|
9967
9967
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9968
|
-
(nextPrimaryChildren =
|
9968
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2551.fallback),
|
9969
9969
|
(mode = workInProgress.mode),
|
9970
9970
|
(componentStack = current.child),
|
9971
|
-
(
|
9971
|
+
(JSCompiler_object_inline_componentStack_2552 =
|
9972
9972
|
componentStack.sibling),
|
9973
|
-
(
|
9973
|
+
(JSCompiler_object_inline_stack_2551 = createWorkInProgress(
|
9974
9974
|
componentStack,
|
9975
9975
|
{
|
9976
9976
|
mode: "hidden",
|
9977
|
-
children:
|
9977
|
+
children: JSCompiler_object_inline_stack_2551.children
|
9978
9978
|
}
|
9979
9979
|
)),
|
9980
|
-
(
|
9980
|
+
(JSCompiler_object_inline_stack_2551.subtreeFlags =
|
9981
9981
|
componentStack.subtreeFlags & 65011712),
|
9982
|
-
null !==
|
9982
|
+
null !== JSCompiler_object_inline_componentStack_2552
|
9983
9983
|
? (nextPrimaryChildren = createWorkInProgress(
|
9984
|
-
|
9984
|
+
JSCompiler_object_inline_componentStack_2552,
|
9985
9985
|
nextPrimaryChildren
|
9986
9986
|
))
|
9987
9987
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -9992,24 +9992,24 @@
|
|
9992
9992
|
)),
|
9993
9993
|
(nextPrimaryChildren.flags |= 2)),
|
9994
9994
|
(nextPrimaryChildren.return = workInProgress),
|
9995
|
-
(
|
9996
|
-
(
|
9997
|
-
(workInProgress.child =
|
9998
|
-
(
|
9995
|
+
(JSCompiler_object_inline_stack_2551.return = workInProgress),
|
9996
|
+
(JSCompiler_object_inline_stack_2551.sibling = nextPrimaryChildren),
|
9997
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2551),
|
9998
|
+
(JSCompiler_object_inline_stack_2551 = nextPrimaryChildren),
|
9999
9999
|
(nextPrimaryChildren = workInProgress.child),
|
10000
10000
|
(mode = current.child.memoizedState),
|
10001
10001
|
null === mode
|
10002
10002
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
10003
10003
|
: ((componentStack = mode.cachePool),
|
10004
10004
|
null !== componentStack
|
10005
|
-
? ((
|
10005
|
+
? ((JSCompiler_object_inline_componentStack_2552 =
|
10006
10006
|
CacheContext._currentValue),
|
10007
10007
|
(componentStack =
|
10008
10008
|
componentStack.parent !==
|
10009
|
-
|
10009
|
+
JSCompiler_object_inline_componentStack_2552
|
10010
10010
|
? {
|
10011
|
-
parent:
|
10012
|
-
pool:
|
10011
|
+
parent: JSCompiler_object_inline_componentStack_2552,
|
10012
|
+
pool: JSCompiler_object_inline_componentStack_2552
|
10013
10013
|
}
|
10014
10014
|
: componentStack))
|
10015
10015
|
: (componentStack = getSuspendedCache()),
|
@@ -10020,27 +10020,27 @@
|
|
10020
10020
|
(nextPrimaryChildren.memoizedState = mode),
|
10021
10021
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10022
10022
|
current,
|
10023
|
-
|
10023
|
+
JSCompiler_object_inline_digest_2550,
|
10024
10024
|
renderLanes
|
10025
10025
|
)),
|
10026
10026
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10027
|
-
|
10027
|
+
JSCompiler_object_inline_stack_2551
|
10028
10028
|
);
|
10029
10029
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10030
10030
|
renderLanes = current.child;
|
10031
10031
|
current = renderLanes.sibling;
|
10032
10032
|
renderLanes = createWorkInProgress(renderLanes, {
|
10033
10033
|
mode: "visible",
|
10034
|
-
children:
|
10034
|
+
children: JSCompiler_object_inline_stack_2551.children
|
10035
10035
|
});
|
10036
10036
|
renderLanes.return = workInProgress;
|
10037
10037
|
renderLanes.sibling = null;
|
10038
10038
|
null !== current &&
|
10039
|
-
((
|
10040
|
-
null ===
|
10039
|
+
((JSCompiler_object_inline_digest_2550 = workInProgress.deletions),
|
10040
|
+
null === JSCompiler_object_inline_digest_2550
|
10041
10041
|
? ((workInProgress.deletions = [current]),
|
10042
10042
|
(workInProgress.flags |= 16))
|
10043
|
-
:
|
10043
|
+
: JSCompiler_object_inline_digest_2550.push(current));
|
10044
10044
|
workInProgress.child = renderLanes;
|
10045
10045
|
workInProgress.memoizedState = null;
|
10046
10046
|
return renderLanes;
|
@@ -14786,8 +14786,7 @@
|
|
14786
14786
|
return null !== transition
|
14787
14787
|
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
|
14788
14788
|
transition._updatedFibers.add(fiber),
|
14789
|
-
(
|
14790
|
-
0 !== fiber ? fiber : requestTransitionLane())
|
14789
|
+
requestTransitionLane())
|
14791
14790
|
: resolveUpdatePriority();
|
14792
14791
|
}
|
14793
14792
|
function requestDeferredLane() {
|
@@ -16025,9 +16024,9 @@
|
|
16025
16024
|
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
16026
16025
|
rootHasLayoutEffect = ReactSharedInternals.T;
|
16027
16026
|
ReactSharedInternals.T = null;
|
16028
|
-
var
|
16027
|
+
var _previousPriority = ReactDOMSharedInternals.p;
|
16029
16028
|
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
16030
|
-
var
|
16029
|
+
var _prevExecutionContext = executionContext;
|
16031
16030
|
executionContext |= CommitContext;
|
16032
16031
|
try {
|
16033
16032
|
null !== injectedProfilingHooks &&
|
@@ -16048,8 +16047,8 @@
|
|
16048
16047
|
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
16049
16048
|
injectedProfilingHooks.markLayoutEffectsStopped();
|
16050
16049
|
} finally {
|
16051
|
-
(executionContext =
|
16052
|
-
(ReactDOMSharedInternals.p =
|
16050
|
+
(executionContext = _prevExecutionContext),
|
16051
|
+
(ReactDOMSharedInternals.p = _previousPriority),
|
16053
16052
|
(ReactSharedInternals.T = rootHasLayoutEffect);
|
16054
16053
|
}
|
16055
16054
|
}
|
@@ -16579,9 +16578,8 @@
|
|
16579
16578
|
!1;
|
16580
16579
|
var syncTransitionLanes = 0;
|
16581
16580
|
0 !== currentEventTransitionLane &&
|
16582
|
-
|
16583
|
-
|
16584
|
-
(currentEventTransitionLane = 0));
|
16581
|
+
shouldAttemptEagerTransition() &&
|
16582
|
+
(syncTransitionLanes = currentEventTransitionLane);
|
16585
16583
|
for (
|
16586
16584
|
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
16587
16585
|
null !== root;
|
@@ -16602,6 +16600,7 @@
|
|
16602
16600
|
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
|
16603
16601
|
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
|
16604
16602
|
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
16603
|
+
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
16605
16604
|
}
|
16606
16605
|
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
16607
16606
|
for (
|
@@ -16739,8 +16738,11 @@
|
|
16739
16738
|
});
|
16740
16739
|
}
|
16741
16740
|
function requestTransitionLane() {
|
16742
|
-
0 === currentEventTransitionLane
|
16743
|
-
|
16741
|
+
if (0 === currentEventTransitionLane) {
|
16742
|
+
var actionScopeLane = currentEntangledLane;
|
16743
|
+
currentEventTransitionLane =
|
16744
|
+
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
|
16745
|
+
}
|
16744
16746
|
return currentEventTransitionLane;
|
16745
16747
|
}
|
16746
16748
|
function coerceFormActionProp(actionProp) {
|
@@ -21790,7 +21792,57 @@
|
|
21790
21792
|
}
|
21791
21793
|
}
|
21792
21794
|
function defaultOnDefaultTransitionIndicator() {
|
21793
|
-
|
21795
|
+
function handleNavigate(event) {
|
21796
|
+
event.canIntercept &&
|
21797
|
+
"react-transition" === event.info &&
|
21798
|
+
event.intercept({
|
21799
|
+
handler: function () {
|
21800
|
+
return new Promise(function (resolve) {
|
21801
|
+
return (pendingResolve = resolve);
|
21802
|
+
});
|
21803
|
+
},
|
21804
|
+
focusReset: "manual",
|
21805
|
+
scroll: "manual"
|
21806
|
+
});
|
21807
|
+
}
|
21808
|
+
function handleNavigateComplete() {
|
21809
|
+
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
|
21810
|
+
isCancelled || startFakeNavigation();
|
21811
|
+
}
|
21812
|
+
function startFakeNavigation() {
|
21813
|
+
if (!isCancelled && !navigation.transition) {
|
21814
|
+
var currentEntry = navigation.currentEntry;
|
21815
|
+
currentEntry &&
|
21816
|
+
null != currentEntry.url &&
|
21817
|
+
navigation.navigate(currentEntry.url, {
|
21818
|
+
state: currentEntry.getState(),
|
21819
|
+
info: "react-transition",
|
21820
|
+
history: "replace"
|
21821
|
+
});
|
21822
|
+
}
|
21823
|
+
}
|
21824
|
+
if ("object" === typeof navigation) {
|
21825
|
+
var isCancelled = !1,
|
21826
|
+
pendingResolve = null;
|
21827
|
+
navigation.addEventListener("navigate", handleNavigate);
|
21828
|
+
navigation.addEventListener("navigatesuccess", handleNavigateComplete);
|
21829
|
+
navigation.addEventListener("navigateerror", handleNavigateComplete);
|
21830
|
+
setTimeout(startFakeNavigation, 100);
|
21831
|
+
return function () {
|
21832
|
+
isCancelled = !0;
|
21833
|
+
navigation.removeEventListener("navigate", handleNavigate);
|
21834
|
+
navigation.removeEventListener(
|
21835
|
+
"navigatesuccess",
|
21836
|
+
handleNavigateComplete
|
21837
|
+
);
|
21838
|
+
navigation.removeEventListener(
|
21839
|
+
"navigateerror",
|
21840
|
+
handleNavigateComplete
|
21841
|
+
);
|
21842
|
+
null !== pendingResolve &&
|
21843
|
+
(pendingResolve(), (pendingResolve = null));
|
21844
|
+
};
|
21845
|
+
}
|
21794
21846
|
}
|
21795
21847
|
function ReactDOMRoot(internalRoot) {
|
21796
21848
|
this._internalRoot = internalRoot;
|
@@ -23132,7 +23184,36 @@
|
|
23132
23184
|
return localDate.now();
|
23133
23185
|
};
|
23134
23186
|
}
|
23135
|
-
var
|
23187
|
+
var reportGlobalError =
|
23188
|
+
"function" === typeof reportError
|
23189
|
+
? reportError
|
23190
|
+
: function (error) {
|
23191
|
+
if (
|
23192
|
+
"object" === typeof window &&
|
23193
|
+
"function" === typeof window.ErrorEvent
|
23194
|
+
) {
|
23195
|
+
var event = new window.ErrorEvent("error", {
|
23196
|
+
bubbles: !0,
|
23197
|
+
cancelable: !0,
|
23198
|
+
message:
|
23199
|
+
"object" === typeof error &&
|
23200
|
+
null !== error &&
|
23201
|
+
"string" === typeof error.message
|
23202
|
+
? String(error.message)
|
23203
|
+
: String(error),
|
23204
|
+
error: error
|
23205
|
+
});
|
23206
|
+
if (!window.dispatchEvent(event)) return;
|
23207
|
+
} else if (
|
23208
|
+
"object" === typeof process &&
|
23209
|
+
"function" === typeof process.emit
|
23210
|
+
) {
|
23211
|
+
process.emit("uncaughtException", error);
|
23212
|
+
return;
|
23213
|
+
}
|
23214
|
+
console.error(error);
|
23215
|
+
},
|
23216
|
+
OffscreenVisible = 1,
|
23136
23217
|
OffscreenPassiveEffectsConnected = 2,
|
23137
23218
|
concurrentQueues = [],
|
23138
23219
|
concurrentQueuesIndex = 0,
|
@@ -24735,35 +24816,6 @@
|
|
24735
24816
|
injectedProfilingHooks.markForceUpdateScheduled(inst, lane);
|
24736
24817
|
}
|
24737
24818
|
},
|
24738
|
-
reportGlobalError =
|
24739
|
-
"function" === typeof reportError
|
24740
|
-
? reportError
|
24741
|
-
: function (error) {
|
24742
|
-
if (
|
24743
|
-
"object" === typeof window &&
|
24744
|
-
"function" === typeof window.ErrorEvent
|
24745
|
-
) {
|
24746
|
-
var event = new window.ErrorEvent("error", {
|
24747
|
-
bubbles: !0,
|
24748
|
-
cancelable: !0,
|
24749
|
-
message:
|
24750
|
-
"object" === typeof error &&
|
24751
|
-
null !== error &&
|
24752
|
-
"string" === typeof error.message
|
24753
|
-
? String(error.message)
|
24754
|
-
: String(error),
|
24755
|
-
error: error
|
24756
|
-
});
|
24757
|
-
if (!window.dispatchEvent(event)) return;
|
24758
|
-
} else if (
|
24759
|
-
"object" === typeof process &&
|
24760
|
-
"function" === typeof process.emit
|
24761
|
-
) {
|
24762
|
-
process.emit("uncaughtException", error);
|
24763
|
-
return;
|
24764
|
-
}
|
24765
|
-
console.error(error);
|
24766
|
-
},
|
24767
24819
|
componentName = null,
|
24768
24820
|
errorBoundaryName = null,
|
24769
24821
|
SelectiveHydrationException = Error(
|
@@ -25432,11 +25484,11 @@
|
|
25432
25484
|
};
|
25433
25485
|
(function () {
|
25434
25486
|
var isomorphicReactPackageVersion = React.version;
|
25435
|
-
if ("19.2.0-canary-
|
25487
|
+
if ("19.2.0-canary-d85f86cf-20250514" !== isomorphicReactPackageVersion)
|
25436
25488
|
throw Error(
|
25437
25489
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25438
25490
|
(isomorphicReactPackageVersion +
|
25439
|
-
"\n - react-dom: 19.2.0-canary-
|
25491
|
+
"\n - react-dom: 19.2.0-canary-d85f86cf-20250514\nLearn more: https://react.dev/warnings/version-mismatch")
|
25440
25492
|
);
|
25441
25493
|
})();
|
25442
25494
|
("function" === typeof Map &&
|
@@ -25473,10 +25525,10 @@
|
|
25473
25525
|
!(function () {
|
25474
25526
|
var internals = {
|
25475
25527
|
bundleType: 1,
|
25476
|
-
version: "19.2.0-canary-
|
25528
|
+
version: "19.2.0-canary-d85f86cf-20250514",
|
25477
25529
|
rendererPackageName: "react-dom",
|
25478
25530
|
currentDispatcherRef: ReactSharedInternals,
|
25479
|
-
reconcilerVersion: "19.2.0-canary-
|
25531
|
+
reconcilerVersion: "19.2.0-canary-d85f86cf-20250514"
|
25480
25532
|
};
|
25481
25533
|
internals.overrideHookState = overrideHookState;
|
25482
25534
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25944,7 +25996,7 @@
|
|
25944
25996
|
exports.useFormStatus = function () {
|
25945
25997
|
return resolveDispatcher().useHostTransitionStatus();
|
25946
25998
|
};
|
25947
|
-
exports.version = "19.2.0-canary-
|
25999
|
+
exports.version = "19.2.0-canary-d85f86cf-20250514";
|
25948
26000
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25949
26001
|
"function" ===
|
25950
26002
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|