react-dom 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-21fdf308-20250508
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 +125 -124
- package/cjs/react-dom-client.production.js +34 -37
- package/cjs/react-dom-profiling.development.js +132 -136
- package/cjs/react-dom-profiling.profiling.js +45 -49
- package/cjs/react-dom-server-legacy.browser.development.js +9 -12
- package/cjs/react-dom-server-legacy.browser.production.js +9 -11
- package/cjs/react-dom-server-legacy.node.development.js +9 -12
- package/cjs/react-dom-server-legacy.node.production.js +9 -11
- package/cjs/react-dom-server.browser.development.js +11 -14
- package/cjs/react-dom-server.browser.production.js +11 -13
- package/cjs/react-dom-server.bun.development.js +11 -13
- package/cjs/react-dom-server.bun.production.js +11 -13
- package/cjs/react-dom-server.edge.development.js +11 -14
- package/cjs/react-dom-server.edge.production.js +11 -13
- package/cjs/react-dom-server.node.development.js +11 -14
- package/cjs/react-dom-server.node.production.js +11 -13
- 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
@@ -83,7 +83,7 @@
|
|
83
83
|
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
|
84
84
|
);
|
85
85
|
}
|
86
|
-
function noop
|
86
|
+
function noop() {}
|
87
87
|
function warnForMissingKey() {}
|
88
88
|
function setToSortedString(set) {
|
89
89
|
var array = [];
|
@@ -3207,6 +3207,7 @@
|
|
3207
3207
|
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
|
3208
3208
|
: url;
|
3209
3209
|
}
|
3210
|
+
function noop$1() {}
|
3210
3211
|
function getEventTarget(nativeEvent) {
|
3211
3212
|
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
|
3212
3213
|
nativeEvent.correspondingUseElement &&
|
@@ -5067,7 +5068,6 @@
|
|
5067
5068
|
thenable = thenable.status;
|
5068
5069
|
return "fulfilled" === thenable || "rejected" === thenable;
|
5069
5070
|
}
|
5070
|
-
function noop$3() {}
|
5071
5071
|
function trackUsedThenable(thenableState, thenable, index) {
|
5072
5072
|
null !== ReactSharedInternals.actQueue &&
|
5073
5073
|
(ReactSharedInternals.didUsePromise = !0);
|
@@ -5081,7 +5081,7 @@
|
|
5081
5081
|
console.error(
|
5082
5082
|
"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
|
5083
5083
|
)),
|
5084
|
-
thenable.then(noop$
|
5084
|
+
thenable.then(noop$1, noop$1),
|
5085
5085
|
(thenable = index));
|
5086
5086
|
switch (thenable.status) {
|
5087
5087
|
case "fulfilled":
|
@@ -5094,7 +5094,7 @@
|
|
5094
5094
|
);
|
5095
5095
|
default:
|
5096
5096
|
if ("string" === typeof thenable.status)
|
5097
|
-
thenable.then(noop$
|
5097
|
+
thenable.then(noop$1, noop$1);
|
5098
5098
|
else {
|
5099
5099
|
thenableState = workInProgressRoot;
|
5100
5100
|
if (
|
@@ -7970,7 +7970,7 @@
|
|
7970
7970
|
pendingState,
|
7971
7971
|
NotPendingTransition,
|
7972
7972
|
null === action
|
7973
|
-
? noop
|
7973
|
+
? noop
|
7974
7974
|
: function () {
|
7975
7975
|
requestFormReset$1(formFiber);
|
7976
7976
|
return action(formData);
|
@@ -9685,24 +9685,24 @@
|
|
9685
9685
|
return current;
|
9686
9686
|
}
|
9687
9687
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9688
|
-
var
|
9689
|
-
var
|
9688
|
+
var JSCompiler_object_inline_digest_2543;
|
9689
|
+
var JSCompiler_object_inline_stack_2544 = workInProgress.pendingProps;
|
9690
9690
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9691
|
-
var
|
9691
|
+
var JSCompiler_object_inline_message_2542 = !1;
|
9692
9692
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9693
|
-
(
|
9694
|
-
(
|
9693
|
+
(JSCompiler_object_inline_digest_2543 = didSuspend) ||
|
9694
|
+
(JSCompiler_object_inline_digest_2543 =
|
9695
9695
|
null !== current && null === current.memoizedState
|
9696
9696
|
? !1
|
9697
9697
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9698
|
-
|
9699
|
-
((
|
9698
|
+
JSCompiler_object_inline_digest_2543 &&
|
9699
|
+
((JSCompiler_object_inline_message_2542 = !0),
|
9700
9700
|
(workInProgress.flags &= -129));
|
9701
|
-
|
9701
|
+
JSCompiler_object_inline_digest_2543 = 0 !== (workInProgress.flags & 32);
|
9702
9702
|
workInProgress.flags &= -33;
|
9703
9703
|
if (null === current) {
|
9704
9704
|
if (isHydrating) {
|
9705
|
-
|
9705
|
+
JSCompiler_object_inline_message_2542
|
9706
9706
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9707
9707
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9708
9708
|
(current = nextHydratableInstance)
|
@@ -9715,18 +9715,18 @@
|
|
9715
9715
|
? renderLanes
|
9716
9716
|
: null),
|
9717
9717
|
null !== renderLanes &&
|
9718
|
-
((
|
9718
|
+
((JSCompiler_object_inline_digest_2543 = {
|
9719
9719
|
dehydrated: renderLanes,
|
9720
9720
|
treeContext: getSuspendedTreeContext(),
|
9721
9721
|
retryLane: 536870912,
|
9722
9722
|
hydrationErrors: null
|
9723
9723
|
}),
|
9724
9724
|
(workInProgress.memoizedState =
|
9725
|
-
|
9726
|
-
(
|
9725
|
+
JSCompiler_object_inline_digest_2543),
|
9726
|
+
(JSCompiler_object_inline_digest_2543 =
|
9727
9727
|
createFiberFromDehydratedFragment(renderLanes)),
|
9728
|
-
(
|
9729
|
-
(workInProgress.child =
|
9728
|
+
(JSCompiler_object_inline_digest_2543.return = workInProgress),
|
9729
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2543),
|
9730
9730
|
(hydrationParentFiber = workInProgress),
|
9731
9731
|
(nextHydratableInstance = null)))
|
9732
9732
|
: (renderLanes = null);
|
@@ -9740,36 +9740,36 @@
|
|
9740
9740
|
: (workInProgress.lanes = 536870912);
|
9741
9741
|
return null;
|
9742
9742
|
}
|
9743
|
-
var nextPrimaryChildren =
|
9744
|
-
|
9745
|
-
|
9746
|
-
if (
|
9743
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2544.children;
|
9744
|
+
JSCompiler_object_inline_stack_2544 =
|
9745
|
+
JSCompiler_object_inline_stack_2544.fallback;
|
9746
|
+
if (JSCompiler_object_inline_message_2542) {
|
9747
9747
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9748
9748
|
var mode = workInProgress.mode;
|
9749
9749
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9750
9750
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9751
9751
|
mode
|
9752
9752
|
);
|
9753
|
-
|
9754
|
-
|
9753
|
+
JSCompiler_object_inline_stack_2544 = createFiberFromFragment(
|
9754
|
+
JSCompiler_object_inline_stack_2544,
|
9755
9755
|
mode,
|
9756
9756
|
renderLanes,
|
9757
9757
|
null
|
9758
9758
|
);
|
9759
9759
|
nextPrimaryChildren.return = workInProgress;
|
9760
|
-
|
9761
|
-
nextPrimaryChildren.sibling =
|
9760
|
+
JSCompiler_object_inline_stack_2544.return = workInProgress;
|
9761
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2544;
|
9762
9762
|
workInProgress.child = nextPrimaryChildren;
|
9763
9763
|
nextPrimaryChildren = workInProgress.child;
|
9764
9764
|
nextPrimaryChildren.memoizedState =
|
9765
9765
|
mountSuspenseOffscreenState(renderLanes);
|
9766
9766
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9767
9767
|
current,
|
9768
|
-
|
9768
|
+
JSCompiler_object_inline_digest_2543,
|
9769
9769
|
renderLanes
|
9770
9770
|
);
|
9771
9771
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9772
|
-
return
|
9772
|
+
return JSCompiler_object_inline_stack_2544;
|
9773
9773
|
}
|
9774
9774
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9775
9775
|
return mountSuspensePrimaryChildren(
|
@@ -9779,8 +9779,8 @@
|
|
9779
9779
|
}
|
9780
9780
|
var prevState = current.memoizedState;
|
9781
9781
|
if (null !== prevState) {
|
9782
|
-
var
|
9783
|
-
if (null !==
|
9782
|
+
var JSCompiler_object_inline_componentStack_2545 = prevState.dehydrated;
|
9783
|
+
if (null !== JSCompiler_object_inline_componentStack_2545) {
|
9784
9784
|
if (didSuspend)
|
9785
9785
|
workInProgress.flags & 256
|
9786
9786
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9797,13 +9797,13 @@
|
|
9797
9797
|
(workInProgress = null))
|
9798
9798
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9799
9799
|
(nextPrimaryChildren =
|
9800
|
-
|
9800
|
+
JSCompiler_object_inline_stack_2544.fallback),
|
9801
9801
|
(mode = workInProgress.mode),
|
9802
|
-
(
|
9802
|
+
(JSCompiler_object_inline_stack_2544 =
|
9803
9803
|
mountWorkInProgressOffscreenFiber(
|
9804
9804
|
{
|
9805
9805
|
mode: "visible",
|
9806
|
-
children:
|
9806
|
+
children: JSCompiler_object_inline_stack_2544.children
|
9807
9807
|
},
|
9808
9808
|
mode
|
9809
9809
|
)),
|
@@ -9814,24 +9814,24 @@
|
|
9814
9814
|
null
|
9815
9815
|
)),
|
9816
9816
|
(nextPrimaryChildren.flags |= 2),
|
9817
|
-
(
|
9817
|
+
(JSCompiler_object_inline_stack_2544.return = workInProgress),
|
9818
9818
|
(nextPrimaryChildren.return = workInProgress),
|
9819
|
-
(
|
9819
|
+
(JSCompiler_object_inline_stack_2544.sibling =
|
9820
9820
|
nextPrimaryChildren),
|
9821
|
-
(workInProgress.child =
|
9821
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2544),
|
9822
9822
|
reconcileChildFibers(
|
9823
9823
|
workInProgress,
|
9824
9824
|
current.child,
|
9825
9825
|
null,
|
9826
9826
|
renderLanes
|
9827
9827
|
),
|
9828
|
-
(
|
9829
|
-
(
|
9828
|
+
(JSCompiler_object_inline_stack_2544 = workInProgress.child),
|
9829
|
+
(JSCompiler_object_inline_stack_2544.memoizedState =
|
9830
9830
|
mountSuspenseOffscreenState(renderLanes)),
|
9831
|
-
(
|
9831
|
+
(JSCompiler_object_inline_stack_2544.childLanes =
|
9832
9832
|
getRemainingWorkInPrimaryTree(
|
9833
9833
|
current,
|
9834
|
-
|
9834
|
+
JSCompiler_object_inline_digest_2543,
|
9835
9835
|
renderLanes
|
9836
9836
|
)),
|
9837
9837
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9840,45 +9840,45 @@
|
|
9840
9840
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9841
9841
|
warnIfHydrating(),
|
9842
9842
|
isSuspenseInstanceFallback(
|
9843
|
-
|
9843
|
+
JSCompiler_object_inline_componentStack_2545
|
9844
9844
|
))
|
9845
9845
|
) {
|
9846
|
-
|
9847
|
-
|
9848
|
-
|
9849
|
-
if (
|
9850
|
-
nextPrimaryChildren =
|
9851
|
-
var message =
|
9852
|
-
mode =
|
9853
|
-
var componentStack =
|
9846
|
+
JSCompiler_object_inline_digest_2543 =
|
9847
|
+
JSCompiler_object_inline_componentStack_2545.nextSibling &&
|
9848
|
+
JSCompiler_object_inline_componentStack_2545.nextSibling.dataset;
|
9849
|
+
if (JSCompiler_object_inline_digest_2543) {
|
9850
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2543.dgst;
|
9851
|
+
var message = JSCompiler_object_inline_digest_2543.msg;
|
9852
|
+
mode = JSCompiler_object_inline_digest_2543.stck;
|
9853
|
+
var componentStack = JSCompiler_object_inline_digest_2543.cstck;
|
9854
9854
|
}
|
9855
|
-
|
9856
|
-
|
9857
|
-
|
9858
|
-
|
9859
|
-
nextPrimaryChildren =
|
9860
|
-
mode =
|
9855
|
+
JSCompiler_object_inline_message_2542 = message;
|
9856
|
+
JSCompiler_object_inline_digest_2543 = nextPrimaryChildren;
|
9857
|
+
JSCompiler_object_inline_stack_2544 = mode;
|
9858
|
+
JSCompiler_object_inline_componentStack_2545 = componentStack;
|
9859
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2542;
|
9860
|
+
mode = JSCompiler_object_inline_componentStack_2545;
|
9861
9861
|
nextPrimaryChildren = nextPrimaryChildren
|
9862
9862
|
? Error(nextPrimaryChildren)
|
9863
9863
|
: Error(
|
9864
9864
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9865
9865
|
);
|
9866
9866
|
nextPrimaryChildren.stack =
|
9867
|
-
|
9868
|
-
nextPrimaryChildren.digest =
|
9869
|
-
|
9867
|
+
JSCompiler_object_inline_stack_2544 || "";
|
9868
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2543;
|
9869
|
+
JSCompiler_object_inline_digest_2543 =
|
9870
9870
|
void 0 === mode ? null : mode;
|
9871
|
-
|
9871
|
+
JSCompiler_object_inline_stack_2544 = {
|
9872
9872
|
value: nextPrimaryChildren,
|
9873
9873
|
source: null,
|
9874
|
-
stack:
|
9874
|
+
stack: JSCompiler_object_inline_digest_2543
|
9875
9875
|
};
|
9876
|
-
"string" === typeof
|
9876
|
+
"string" === typeof JSCompiler_object_inline_digest_2543 &&
|
9877
9877
|
CapturedStacks.set(
|
9878
9878
|
nextPrimaryChildren,
|
9879
|
-
|
9879
|
+
JSCompiler_object_inline_stack_2544
|
9880
9880
|
);
|
9881
|
-
queueHydrationError(
|
9881
|
+
queueHydrationError(JSCompiler_object_inline_stack_2544);
|
9882
9882
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9883
9883
|
current,
|
9884
9884
|
workInProgress,
|
@@ -9892,35 +9892,35 @@
|
|
9892
9892
|
renderLanes,
|
9893
9893
|
!1
|
9894
9894
|
),
|
9895
|
-
(
|
9895
|
+
(JSCompiler_object_inline_digest_2543 =
|
9896
9896
|
0 !== (renderLanes & current.childLanes)),
|
9897
|
-
didReceiveUpdate ||
|
9897
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2543)
|
9898
9898
|
) {
|
9899
|
-
|
9899
|
+
JSCompiler_object_inline_digest_2543 = workInProgressRoot;
|
9900
9900
|
if (
|
9901
|
-
null !==
|
9902
|
-
((
|
9903
|
-
|
9901
|
+
null !== JSCompiler_object_inline_digest_2543 &&
|
9902
|
+
((JSCompiler_object_inline_stack_2544 = getBumpedLaneForHydration(
|
9903
|
+
JSCompiler_object_inline_digest_2543,
|
9904
9904
|
renderLanes
|
9905
9905
|
)),
|
9906
|
-
0 !==
|
9907
|
-
|
9906
|
+
0 !== JSCompiler_object_inline_stack_2544 &&
|
9907
|
+
JSCompiler_object_inline_stack_2544 !== prevState.retryLane)
|
9908
9908
|
)
|
9909
9909
|
throw (
|
9910
|
-
((prevState.retryLane =
|
9910
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2544),
|
9911
9911
|
enqueueConcurrentRenderForLane(
|
9912
9912
|
current,
|
9913
|
-
|
9913
|
+
JSCompiler_object_inline_stack_2544
|
9914
9914
|
),
|
9915
9915
|
scheduleUpdateOnFiber(
|
9916
|
-
|
9916
|
+
JSCompiler_object_inline_digest_2543,
|
9917
9917
|
current,
|
9918
|
-
|
9918
|
+
JSCompiler_object_inline_stack_2544
|
9919
9919
|
),
|
9920
9920
|
SelectiveHydrationException)
|
9921
9921
|
);
|
9922
9922
|
isSuspenseInstancePending(
|
9923
|
-
|
9923
|
+
JSCompiler_object_inline_componentStack_2545
|
9924
9924
|
) || renderDidSuspendDelayIfPossible();
|
9925
9925
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9926
9926
|
current,
|
@@ -9929,14 +9929,14 @@
|
|
9929
9929
|
);
|
9930
9930
|
} else
|
9931
9931
|
isSuspenseInstancePending(
|
9932
|
-
|
9932
|
+
JSCompiler_object_inline_componentStack_2545
|
9933
9933
|
)
|
9934
9934
|
? ((workInProgress.flags |= 192),
|
9935
9935
|
(workInProgress.child = current.child),
|
9936
9936
|
(workInProgress = null))
|
9937
9937
|
: ((current = prevState.treeContext),
|
9938
9938
|
(nextHydratableInstance = getNextHydratable(
|
9939
|
-
|
9939
|
+
JSCompiler_object_inline_componentStack_2545.nextSibling
|
9940
9940
|
)),
|
9941
9941
|
(hydrationParentFiber = workInProgress),
|
9942
9942
|
(isHydrating = !0),
|
@@ -9948,32 +9948,32 @@
|
|
9948
9948
|
restoreSuspendedTreeContext(workInProgress, current),
|
9949
9949
|
(workInProgress = mountSuspensePrimaryChildren(
|
9950
9950
|
workInProgress,
|
9951
|
-
|
9951
|
+
JSCompiler_object_inline_stack_2544.children
|
9952
9952
|
)),
|
9953
9953
|
(workInProgress.flags |= 4096));
|
9954
9954
|
return workInProgress;
|
9955
9955
|
}
|
9956
9956
|
}
|
9957
|
-
if (
|
9957
|
+
if (JSCompiler_object_inline_message_2542)
|
9958
9958
|
return (
|
9959
9959
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9960
|
-
(nextPrimaryChildren =
|
9960
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2544.fallback),
|
9961
9961
|
(mode = workInProgress.mode),
|
9962
9962
|
(componentStack = current.child),
|
9963
|
-
(
|
9963
|
+
(JSCompiler_object_inline_componentStack_2545 =
|
9964
9964
|
componentStack.sibling),
|
9965
|
-
(
|
9965
|
+
(JSCompiler_object_inline_stack_2544 = createWorkInProgress(
|
9966
9966
|
componentStack,
|
9967
9967
|
{
|
9968
9968
|
mode: "hidden",
|
9969
|
-
children:
|
9969
|
+
children: JSCompiler_object_inline_stack_2544.children
|
9970
9970
|
}
|
9971
9971
|
)),
|
9972
|
-
(
|
9972
|
+
(JSCompiler_object_inline_stack_2544.subtreeFlags =
|
9973
9973
|
componentStack.subtreeFlags & 65011712),
|
9974
|
-
null !==
|
9974
|
+
null !== JSCompiler_object_inline_componentStack_2545
|
9975
9975
|
? (nextPrimaryChildren = createWorkInProgress(
|
9976
|
-
|
9976
|
+
JSCompiler_object_inline_componentStack_2545,
|
9977
9977
|
nextPrimaryChildren
|
9978
9978
|
))
|
9979
9979
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -9984,24 +9984,24 @@
|
|
9984
9984
|
)),
|
9985
9985
|
(nextPrimaryChildren.flags |= 2)),
|
9986
9986
|
(nextPrimaryChildren.return = workInProgress),
|
9987
|
-
(
|
9988
|
-
(
|
9989
|
-
(workInProgress.child =
|
9990
|
-
(
|
9987
|
+
(JSCompiler_object_inline_stack_2544.return = workInProgress),
|
9988
|
+
(JSCompiler_object_inline_stack_2544.sibling = nextPrimaryChildren),
|
9989
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2544),
|
9990
|
+
(JSCompiler_object_inline_stack_2544 = nextPrimaryChildren),
|
9991
9991
|
(nextPrimaryChildren = workInProgress.child),
|
9992
9992
|
(mode = current.child.memoizedState),
|
9993
9993
|
null === mode
|
9994
9994
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
9995
9995
|
: ((componentStack = mode.cachePool),
|
9996
9996
|
null !== componentStack
|
9997
|
-
? ((
|
9997
|
+
? ((JSCompiler_object_inline_componentStack_2545 =
|
9998
9998
|
CacheContext._currentValue),
|
9999
9999
|
(componentStack =
|
10000
10000
|
componentStack.parent !==
|
10001
|
-
|
10001
|
+
JSCompiler_object_inline_componentStack_2545
|
10002
10002
|
? {
|
10003
|
-
parent:
|
10004
|
-
pool:
|
10003
|
+
parent: JSCompiler_object_inline_componentStack_2545,
|
10004
|
+
pool: JSCompiler_object_inline_componentStack_2545
|
10005
10005
|
}
|
10006
10006
|
: componentStack))
|
10007
10007
|
: (componentStack = getSuspendedCache()),
|
@@ -10012,27 +10012,27 @@
|
|
10012
10012
|
(nextPrimaryChildren.memoizedState = mode),
|
10013
10013
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10014
10014
|
current,
|
10015
|
-
|
10015
|
+
JSCompiler_object_inline_digest_2543,
|
10016
10016
|
renderLanes
|
10017
10017
|
)),
|
10018
10018
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10019
|
-
|
10019
|
+
JSCompiler_object_inline_stack_2544
|
10020
10020
|
);
|
10021
10021
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10022
10022
|
renderLanes = current.child;
|
10023
10023
|
current = renderLanes.sibling;
|
10024
10024
|
renderLanes = createWorkInProgress(renderLanes, {
|
10025
10025
|
mode: "visible",
|
10026
|
-
children:
|
10026
|
+
children: JSCompiler_object_inline_stack_2544.children
|
10027
10027
|
});
|
10028
10028
|
renderLanes.return = workInProgress;
|
10029
10029
|
renderLanes.sibling = null;
|
10030
10030
|
null !== current &&
|
10031
|
-
((
|
10032
|
-
null ===
|
10031
|
+
((JSCompiler_object_inline_digest_2543 = workInProgress.deletions),
|
10032
|
+
null === JSCompiler_object_inline_digest_2543
|
10033
10033
|
? ((workInProgress.deletions = [current]),
|
10034
10034
|
(workInProgress.flags |= 16))
|
10035
|
-
:
|
10035
|
+
: JSCompiler_object_inline_digest_2543.push(current));
|
10036
10036
|
workInProgress.child = renderLanes;
|
10037
10037
|
workInProgress.memoizedState = null;
|
10038
10038
|
return renderLanes;
|
@@ -15066,7 +15066,11 @@
|
|
15066
15066
|
16785408 === (suspendedCommitReason & 16785408)
|
15067
15067
|
)
|
15068
15068
|
if (
|
15069
|
-
((suspendedState = {
|
15069
|
+
((suspendedState = {
|
15070
|
+
stylesheets: null,
|
15071
|
+
count: 0,
|
15072
|
+
unsuspend: noop$1
|
15073
|
+
}),
|
15070
15074
|
accumulateSuspenseyCommitOnFiber(finishedWork),
|
15071
15075
|
(suspendedCommitReason = waitForCommitToBeReady()),
|
15072
15076
|
null !== suspendedCommitReason)
|
@@ -17667,7 +17671,6 @@
|
|
17667
17671
|
? !0
|
17668
17672
|
: !1;
|
17669
17673
|
}
|
17670
|
-
function noop$1() {}
|
17671
17674
|
function setProp(domElement, tag, key, value, props, prevValue) {
|
17672
17675
|
switch (key) {
|
17673
17676
|
case "children":
|
@@ -20858,7 +20861,6 @@
|
|
20858
20861
|
? !1
|
20859
20862
|
: !0;
|
20860
20863
|
}
|
20861
|
-
function noop() {}
|
20862
20864
|
function suspendResource(hoistableRoot, resource, props) {
|
20863
20865
|
if (null === suspendedState)
|
20864
20866
|
throw Error(
|
@@ -21009,6 +21011,7 @@
|
|
21009
21011
|
onUncaughtError,
|
21010
21012
|
onCaughtError,
|
21011
21013
|
onRecoverableError,
|
21014
|
+
onDefaultTransitionIndicator,
|
21012
21015
|
formState
|
21013
21016
|
) {
|
21014
21017
|
this.tag = 1;
|
@@ -21056,11 +21059,11 @@
|
|
21056
21059
|
hydrationCallbacks,
|
21057
21060
|
isStrictMode,
|
21058
21061
|
identifierPrefix,
|
21062
|
+
formState,
|
21059
21063
|
onUncaughtError,
|
21060
21064
|
onCaughtError,
|
21061
21065
|
onRecoverableError,
|
21062
|
-
|
21063
|
-
formState
|
21066
|
+
onDefaultTransitionIndicator
|
21064
21067
|
) {
|
21065
21068
|
containerInfo = new FiberRootNode(
|
21066
21069
|
containerInfo,
|
@@ -21070,6 +21073,7 @@
|
|
21070
21073
|
onUncaughtError,
|
21071
21074
|
onCaughtError,
|
21072
21075
|
onRecoverableError,
|
21076
|
+
onDefaultTransitionIndicator,
|
21073
21077
|
formState
|
21074
21078
|
);
|
21075
21079
|
tag = ConcurrentMode;
|
@@ -21760,6 +21764,9 @@
|
|
21760
21764
|
}
|
21761
21765
|
}
|
21762
21766
|
}
|
21767
|
+
function defaultOnDefaultTransitionIndicator() {
|
21768
|
+
return function () {};
|
21769
|
+
}
|
21763
21770
|
function ReactDOMRoot(internalRoot) {
|
21764
21771
|
this._internalRoot = internalRoot;
|
21765
21772
|
}
|
@@ -25373,11 +25380,11 @@
|
|
25373
25380
|
};
|
25374
25381
|
(function () {
|
25375
25382
|
var isomorphicReactPackageVersion = React.version;
|
25376
|
-
if ("19.2.0-canary-
|
25383
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
25377
25384
|
throw Error(
|
25378
25385
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25379
25386
|
(isomorphicReactPackageVersion +
|
25380
|
-
"\n - react-dom: 19.2.0-canary-
|
25387
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
25381
25388
|
);
|
25382
25389
|
})();
|
25383
25390
|
("function" === typeof Map &&
|
@@ -25414,10 +25421,10 @@
|
|
25414
25421
|
!(function () {
|
25415
25422
|
var internals = {
|
25416
25423
|
bundleType: 1,
|
25417
|
-
version: "19.2.0-canary-
|
25424
|
+
version: "19.2.0-canary-21fdf308-20250508",
|
25418
25425
|
rendererPackageName: "react-dom",
|
25419
25426
|
currentDispatcherRef: ReactSharedInternals,
|
25420
|
-
reconcilerVersion: "19.2.0-canary-
|
25427
|
+
reconcilerVersion: "19.2.0-canary-21fdf308-20250508"
|
25421
25428
|
};
|
25422
25429
|
internals.overrideHookState = overrideHookState;
|
25423
25430
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25460,8 +25467,7 @@
|
|
25460
25467
|
identifierPrefix = "",
|
25461
25468
|
onUncaughtError = defaultOnUncaughtError,
|
25462
25469
|
onCaughtError = defaultOnCaughtError,
|
25463
|
-
onRecoverableError = defaultOnRecoverableError
|
25464
|
-
transitionCallbacks = null;
|
25470
|
+
onRecoverableError = defaultOnRecoverableError;
|
25465
25471
|
null !== options &&
|
25466
25472
|
void 0 !== options &&
|
25467
25473
|
(options.hydrate
|
@@ -25482,9 +25488,7 @@
|
|
25482
25488
|
void 0 !== options.onCaughtError &&
|
25483
25489
|
(onCaughtError = options.onCaughtError),
|
25484
25490
|
void 0 !== options.onRecoverableError &&
|
25485
|
-
(onRecoverableError = options.onRecoverableError)
|
25486
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
25487
|
-
(transitionCallbacks = options.unstable_transitionCallbacks));
|
25491
|
+
(onRecoverableError = options.onRecoverableError));
|
25488
25492
|
options = createFiberRoot(
|
25489
25493
|
container,
|
25490
25494
|
1,
|
@@ -25493,11 +25497,11 @@
|
|
25493
25497
|
null,
|
25494
25498
|
isStrictMode,
|
25495
25499
|
identifierPrefix,
|
25500
|
+
null,
|
25496
25501
|
onUncaughtError,
|
25497
25502
|
onCaughtError,
|
25498
25503
|
onRecoverableError,
|
25499
|
-
|
25500
|
-
null
|
25504
|
+
defaultOnDefaultTransitionIndicator
|
25501
25505
|
);
|
25502
25506
|
container[internalContainerInstanceKey] = options.current;
|
25503
25507
|
listenToAllSupportedEvents(container);
|
@@ -25516,7 +25520,6 @@
|
|
25516
25520
|
onUncaughtError = defaultOnUncaughtError,
|
25517
25521
|
onCaughtError = defaultOnCaughtError,
|
25518
25522
|
onRecoverableError = defaultOnRecoverableError,
|
25519
|
-
transitionCallbacks = null,
|
25520
25523
|
formState = null;
|
25521
25524
|
null !== options &&
|
25522
25525
|
void 0 !== options &&
|
@@ -25529,8 +25532,6 @@
|
|
25529
25532
|
(onCaughtError = options.onCaughtError),
|
25530
25533
|
void 0 !== options.onRecoverableError &&
|
25531
25534
|
(onRecoverableError = options.onRecoverableError),
|
25532
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
25533
|
-
(transitionCallbacks = options.unstable_transitionCallbacks),
|
25534
25535
|
void 0 !== options.formState && (formState = options.formState));
|
25535
25536
|
initialChildren = createFiberRoot(
|
25536
25537
|
container,
|
@@ -25540,11 +25541,11 @@
|
|
25540
25541
|
null != options ? options : null,
|
25541
25542
|
isStrictMode,
|
25542
25543
|
identifierPrefix,
|
25544
|
+
formState,
|
25543
25545
|
onUncaughtError,
|
25544
25546
|
onCaughtError,
|
25545
25547
|
onRecoverableError,
|
25546
|
-
|
25547
|
-
formState
|
25548
|
+
defaultOnDefaultTransitionIndicator
|
25548
25549
|
);
|
25549
25550
|
initialChildren.context = getContextForSubtree(null);
|
25550
25551
|
options = initialChildren.current;
|
@@ -25561,7 +25562,7 @@
|
|
25561
25562
|
listenToAllSupportedEvents(container);
|
25562
25563
|
return new ReactDOMHydrationRoot(initialChildren);
|
25563
25564
|
};
|
25564
|
-
exports.version = "19.2.0-canary-
|
25565
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
25565
25566
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25566
25567
|
"function" ===
|
25567
25568
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|