react-dom 19.2.0-canary-ea05b750-20250408 → 19.2.0-canary-3fbfb9ba-20250409
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 +386 -331
- package/cjs/react-dom-client.production.js +225 -176
- package/cjs/react-dom-profiling.development.js +386 -331
- package/cjs/react-dom-profiling.profiling.js +231 -183
- package/cjs/react-dom-server-legacy.browser.development.js +36 -8
- package/cjs/react-dom-server-legacy.browser.production.js +57 -37
- package/cjs/react-dom-server-legacy.node.development.js +36 -8
- package/cjs/react-dom-server-legacy.node.production.js +57 -37
- package/cjs/react-dom-server.browser.development.js +37 -10
- package/cjs/react-dom-server.browser.production.js +41 -17
- package/cjs/react-dom-server.bun.development.js +38 -13
- package/cjs/react-dom-server.bun.production.js +37 -20
- package/cjs/react-dom-server.edge.development.js +37 -10
- package/cjs/react-dom-server.edge.production.js +41 -17
- package/cjs/react-dom-server.node.development.js +37 -10
- package/cjs/react-dom-server.node.production.js +41 -17
- 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
@@ -9587,32 +9587,32 @@
|
|
9587
9587
|
return current;
|
9588
9588
|
}
|
9589
9589
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9590
|
-
var
|
9591
|
-
var
|
9590
|
+
var JSCompiler_object_inline_digest_2451;
|
9591
|
+
var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps;
|
9592
9592
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9593
|
-
var
|
9593
|
+
var JSCompiler_object_inline_componentStack_2453 = !1;
|
9594
9594
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9595
|
-
(
|
9596
|
-
(
|
9595
|
+
(JSCompiler_object_inline_digest_2451 = didSuspend) ||
|
9596
|
+
(JSCompiler_object_inline_digest_2451 =
|
9597
9597
|
null !== current && null === current.memoizedState
|
9598
9598
|
? !1
|
9599
9599
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9600
|
-
|
9601
|
-
((
|
9600
|
+
JSCompiler_object_inline_digest_2451 &&
|
9601
|
+
((JSCompiler_object_inline_componentStack_2453 = !0),
|
9602
9602
|
(workInProgress.flags &= -129));
|
9603
|
-
|
9603
|
+
JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32);
|
9604
9604
|
workInProgress.flags &= -33;
|
9605
9605
|
if (null === current) {
|
9606
9606
|
if (isHydrating) {
|
9607
|
-
|
9607
|
+
JSCompiler_object_inline_componentStack_2453
|
9608
9608
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9609
9609
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9610
9610
|
if (isHydrating) {
|
9611
|
-
var
|
9611
|
+
var JSCompiler_object_inline_message_2450 = nextHydratableInstance;
|
9612
9612
|
var JSCompiler_temp;
|
9613
|
-
if (!(JSCompiler_temp = !
|
9613
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) {
|
9614
9614
|
c: {
|
9615
|
-
var instance =
|
9615
|
+
var instance = JSCompiler_object_inline_message_2450;
|
9616
9616
|
for (
|
9617
9617
|
JSCompiler_temp = rootOrSingletonContext;
|
9618
9618
|
8 !== instance.nodeType;
|
@@ -9654,77 +9654,77 @@
|
|
9654
9654
|
JSCompiler_temp &&
|
9655
9655
|
(warnNonHydratedInstance(
|
9656
9656
|
workInProgress,
|
9657
|
-
|
9657
|
+
JSCompiler_object_inline_message_2450
|
9658
9658
|
),
|
9659
9659
|
throwOnHydrationMismatch(workInProgress));
|
9660
9660
|
}
|
9661
|
-
|
9661
|
+
JSCompiler_object_inline_message_2450 = workInProgress.memoizedState;
|
9662
9662
|
if (
|
9663
|
-
null !==
|
9664
|
-
((
|
9665
|
-
|
9666
|
-
null !==
|
9663
|
+
null !== JSCompiler_object_inline_message_2450 &&
|
9664
|
+
((JSCompiler_object_inline_message_2450 =
|
9665
|
+
JSCompiler_object_inline_message_2450.dehydrated),
|
9666
|
+
null !== JSCompiler_object_inline_message_2450)
|
9667
9667
|
)
|
9668
9668
|
return (
|
9669
|
-
isSuspenseInstanceFallback(
|
9669
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450)
|
9670
9670
|
? (workInProgress.lanes = 32)
|
9671
9671
|
: (workInProgress.lanes = 536870912),
|
9672
9672
|
null
|
9673
9673
|
);
|
9674
9674
|
popSuspenseHandler(workInProgress);
|
9675
9675
|
}
|
9676
|
-
|
9677
|
-
|
9678
|
-
|
9679
|
-
|
9680
|
-
if (
|
9676
|
+
JSCompiler_object_inline_message_2450 =
|
9677
|
+
JSCompiler_object_inline_stack_2452.children;
|
9678
|
+
JSCompiler_object_inline_stack_2452 =
|
9679
|
+
JSCompiler_object_inline_stack_2452.fallback;
|
9680
|
+
if (JSCompiler_object_inline_componentStack_2453)
|
9681
9681
|
return (
|
9682
9682
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9683
|
-
(
|
9683
|
+
(JSCompiler_object_inline_componentStack_2453 =
|
9684
9684
|
workInProgress.mode),
|
9685
|
-
(
|
9685
|
+
(JSCompiler_object_inline_message_2450 =
|
9686
9686
|
mountWorkInProgressOffscreenFiber(
|
9687
9687
|
{
|
9688
9688
|
mode: "hidden",
|
9689
|
-
children:
|
9689
|
+
children: JSCompiler_object_inline_message_2450
|
9690
9690
|
},
|
9691
|
-
|
9691
|
+
JSCompiler_object_inline_componentStack_2453
|
9692
9692
|
)),
|
9693
|
-
(
|
9694
|
-
|
9695
|
-
|
9693
|
+
(JSCompiler_object_inline_stack_2452 = createFiberFromFragment(
|
9694
|
+
JSCompiler_object_inline_stack_2452,
|
9695
|
+
JSCompiler_object_inline_componentStack_2453,
|
9696
9696
|
renderLanes,
|
9697
9697
|
null
|
9698
9698
|
)),
|
9699
|
-
(
|
9700
|
-
(
|
9701
|
-
(
|
9702
|
-
|
9703
|
-
(workInProgress.child =
|
9704
|
-
(
|
9699
|
+
(JSCompiler_object_inline_message_2450.return = workInProgress),
|
9700
|
+
(JSCompiler_object_inline_stack_2452.return = workInProgress),
|
9701
|
+
(JSCompiler_object_inline_message_2450.sibling =
|
9702
|
+
JSCompiler_object_inline_stack_2452),
|
9703
|
+
(workInProgress.child = JSCompiler_object_inline_message_2450),
|
9704
|
+
(JSCompiler_object_inline_componentStack_2453 =
|
9705
9705
|
workInProgress.child),
|
9706
|
-
(
|
9706
|
+
(JSCompiler_object_inline_componentStack_2453.memoizedState =
|
9707
9707
|
mountSuspenseOffscreenState(renderLanes)),
|
9708
|
-
(
|
9708
|
+
(JSCompiler_object_inline_componentStack_2453.childLanes =
|
9709
9709
|
getRemainingWorkInPrimaryTree(
|
9710
9710
|
current,
|
9711
|
-
|
9711
|
+
JSCompiler_object_inline_digest_2451,
|
9712
9712
|
renderLanes
|
9713
9713
|
)),
|
9714
9714
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9715
|
-
|
9715
|
+
JSCompiler_object_inline_stack_2452
|
9716
9716
|
);
|
9717
9717
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9718
9718
|
return mountSuspensePrimaryChildren(
|
9719
9719
|
workInProgress,
|
9720
|
-
|
9720
|
+
JSCompiler_object_inline_message_2450
|
9721
9721
|
);
|
9722
9722
|
}
|
9723
9723
|
var prevState = current.memoizedState;
|
9724
9724
|
if (
|
9725
9725
|
null !== prevState &&
|
9726
|
-
((
|
9727
|
-
null !==
|
9726
|
+
((JSCompiler_object_inline_message_2450 = prevState.dehydrated),
|
9727
|
+
null !== JSCompiler_object_inline_message_2450)
|
9728
9728
|
) {
|
9729
9729
|
if (didSuspend)
|
9730
9730
|
workInProgress.flags & 256
|
@@ -9741,94 +9741,94 @@
|
|
9741
9741
|
(workInProgress.flags |= 128),
|
9742
9742
|
(workInProgress = null))
|
9743
9743
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9744
|
-
(
|
9745
|
-
|
9746
|
-
(
|
9747
|
-
(
|
9744
|
+
(JSCompiler_object_inline_componentStack_2453 =
|
9745
|
+
JSCompiler_object_inline_stack_2452.fallback),
|
9746
|
+
(JSCompiler_object_inline_message_2450 = workInProgress.mode),
|
9747
|
+
(JSCompiler_object_inline_stack_2452 =
|
9748
9748
|
mountWorkInProgressOffscreenFiber(
|
9749
9749
|
{
|
9750
9750
|
mode: "visible",
|
9751
|
-
children:
|
9751
|
+
children: JSCompiler_object_inline_stack_2452.children
|
9752
9752
|
},
|
9753
|
-
|
9753
|
+
JSCompiler_object_inline_message_2450
|
9754
9754
|
)),
|
9755
|
-
(
|
9755
|
+
(JSCompiler_object_inline_componentStack_2453 =
|
9756
9756
|
createFiberFromFragment(
|
9757
|
-
|
9758
|
-
|
9757
|
+
JSCompiler_object_inline_componentStack_2453,
|
9758
|
+
JSCompiler_object_inline_message_2450,
|
9759
9759
|
renderLanes,
|
9760
9760
|
null
|
9761
9761
|
)),
|
9762
|
-
(
|
9763
|
-
(
|
9764
|
-
(
|
9762
|
+
(JSCompiler_object_inline_componentStack_2453.flags |= 2),
|
9763
|
+
(JSCompiler_object_inline_stack_2452.return = workInProgress),
|
9764
|
+
(JSCompiler_object_inline_componentStack_2453.return =
|
9765
9765
|
workInProgress),
|
9766
|
-
(
|
9767
|
-
|
9768
|
-
(workInProgress.child =
|
9766
|
+
(JSCompiler_object_inline_stack_2452.sibling =
|
9767
|
+
JSCompiler_object_inline_componentStack_2453),
|
9768
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2452),
|
9769
9769
|
reconcileChildFibers(
|
9770
9770
|
workInProgress,
|
9771
9771
|
current.child,
|
9772
9772
|
null,
|
9773
9773
|
renderLanes
|
9774
9774
|
),
|
9775
|
-
(
|
9776
|
-
(
|
9775
|
+
(JSCompiler_object_inline_stack_2452 = workInProgress.child),
|
9776
|
+
(JSCompiler_object_inline_stack_2452.memoizedState =
|
9777
9777
|
mountSuspenseOffscreenState(renderLanes)),
|
9778
|
-
(
|
9778
|
+
(JSCompiler_object_inline_stack_2452.childLanes =
|
9779
9779
|
getRemainingWorkInPrimaryTree(
|
9780
9780
|
current,
|
9781
|
-
|
9781
|
+
JSCompiler_object_inline_digest_2451,
|
9782
9782
|
renderLanes
|
9783
9783
|
)),
|
9784
9784
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9785
9785
|
(workInProgress =
|
9786
|
-
|
9786
|
+
JSCompiler_object_inline_componentStack_2453));
|
9787
9787
|
else if (
|
9788
9788
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9789
9789
|
isHydrating &&
|
9790
9790
|
console.error(
|
9791
9791
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9792
9792
|
),
|
9793
|
-
isSuspenseInstanceFallback(
|
9793
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450))
|
9794
9794
|
) {
|
9795
|
-
|
9796
|
-
|
9797
|
-
|
9798
|
-
if (
|
9799
|
-
JSCompiler_temp =
|
9800
|
-
var message =
|
9801
|
-
instance =
|
9802
|
-
var componentStack =
|
9795
|
+
JSCompiler_object_inline_digest_2451 =
|
9796
|
+
JSCompiler_object_inline_message_2450.nextSibling &&
|
9797
|
+
JSCompiler_object_inline_message_2450.nextSibling.dataset;
|
9798
|
+
if (JSCompiler_object_inline_digest_2451) {
|
9799
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst;
|
9800
|
+
var message = JSCompiler_object_inline_digest_2451.msg;
|
9801
|
+
instance = JSCompiler_object_inline_digest_2451.stck;
|
9802
|
+
var componentStack = JSCompiler_object_inline_digest_2451.cstck;
|
9803
9803
|
}
|
9804
|
-
|
9805
|
-
|
9806
|
-
|
9807
|
-
JSCompiler_temp =
|
9804
|
+
JSCompiler_object_inline_message_2450 = message;
|
9805
|
+
JSCompiler_object_inline_digest_2451 = JSCompiler_temp;
|
9806
|
+
JSCompiler_object_inline_stack_2452 = instance;
|
9807
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2453 =
|
9808
9808
|
componentStack;
|
9809
|
-
|
9810
|
-
|
9811
|
-
? Error(
|
9809
|
+
JSCompiler_object_inline_componentStack_2453 =
|
9810
|
+
JSCompiler_object_inline_message_2450
|
9811
|
+
? Error(JSCompiler_object_inline_message_2450)
|
9812
9812
|
: Error(
|
9813
9813
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9814
9814
|
);
|
9815
|
-
|
9816
|
-
|
9817
|
-
|
9818
|
-
|
9819
|
-
|
9815
|
+
JSCompiler_object_inline_componentStack_2453.stack =
|
9816
|
+
JSCompiler_object_inline_stack_2452 || "";
|
9817
|
+
JSCompiler_object_inline_componentStack_2453.digest =
|
9818
|
+
JSCompiler_object_inline_digest_2451;
|
9819
|
+
JSCompiler_object_inline_digest_2451 =
|
9820
9820
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9821
|
-
|
9822
|
-
value:
|
9821
|
+
JSCompiler_object_inline_stack_2452 = {
|
9822
|
+
value: JSCompiler_object_inline_componentStack_2453,
|
9823
9823
|
source: null,
|
9824
|
-
stack:
|
9824
|
+
stack: JSCompiler_object_inline_digest_2451
|
9825
9825
|
};
|
9826
|
-
"string" === typeof
|
9826
|
+
"string" === typeof JSCompiler_object_inline_digest_2451 &&
|
9827
9827
|
CapturedStacks.set(
|
9828
|
-
|
9829
|
-
|
9828
|
+
JSCompiler_object_inline_componentStack_2453,
|
9829
|
+
JSCompiler_object_inline_stack_2452
|
9830
9830
|
);
|
9831
|
-
queueHydrationError(
|
9831
|
+
queueHydrationError(JSCompiler_object_inline_stack_2452);
|
9832
9832
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9833
9833
|
current,
|
9834
9834
|
workInProgress,
|
@@ -9842,44 +9842,44 @@
|
|
9842
9842
|
renderLanes,
|
9843
9843
|
!1
|
9844
9844
|
),
|
9845
|
-
(
|
9845
|
+
(JSCompiler_object_inline_digest_2451 =
|
9846
9846
|
0 !== (renderLanes & current.childLanes)),
|
9847
|
-
didReceiveUpdate ||
|
9847
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2451)
|
9848
9848
|
) {
|
9849
|
-
|
9849
|
+
JSCompiler_object_inline_digest_2451 = workInProgressRoot;
|
9850
9850
|
if (
|
9851
|
-
null !==
|
9852
|
-
((
|
9853
|
-
(
|
9854
|
-
0 !== (
|
9851
|
+
null !== JSCompiler_object_inline_digest_2451 &&
|
9852
|
+
((JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes),
|
9853
|
+
(JSCompiler_object_inline_stack_2452 =
|
9854
|
+
0 !== (JSCompiler_object_inline_stack_2452 & 42)
|
9855
9855
|
? 1
|
9856
9856
|
: getBumpedLaneForHydrationByLane(
|
9857
|
-
|
9857
|
+
JSCompiler_object_inline_stack_2452
|
9858
9858
|
)),
|
9859
|
-
(
|
9859
|
+
(JSCompiler_object_inline_stack_2452 =
|
9860
9860
|
0 !==
|
9861
|
-
(
|
9862
|
-
(
|
9861
|
+
(JSCompiler_object_inline_stack_2452 &
|
9862
|
+
(JSCompiler_object_inline_digest_2451.suspendedLanes |
|
9863
9863
|
renderLanes))
|
9864
9864
|
? 0
|
9865
|
-
:
|
9866
|
-
0 !==
|
9867
|
-
|
9865
|
+
: JSCompiler_object_inline_stack_2452),
|
9866
|
+
0 !== JSCompiler_object_inline_stack_2452 &&
|
9867
|
+
JSCompiler_object_inline_stack_2452 !== prevState.retryLane)
|
9868
9868
|
)
|
9869
9869
|
throw (
|
9870
|
-
((prevState.retryLane =
|
9870
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2452),
|
9871
9871
|
enqueueConcurrentRenderForLane(
|
9872
9872
|
current,
|
9873
|
-
|
9873
|
+
JSCompiler_object_inline_stack_2452
|
9874
9874
|
),
|
9875
9875
|
scheduleUpdateOnFiber(
|
9876
|
-
|
9876
|
+
JSCompiler_object_inline_digest_2451,
|
9877
9877
|
current,
|
9878
|
-
|
9878
|
+
JSCompiler_object_inline_stack_2452
|
9879
9879
|
),
|
9880
9880
|
SelectiveHydrationException)
|
9881
9881
|
);
|
9882
|
-
|
9882
|
+
JSCompiler_object_inline_message_2450.data ===
|
9883
9883
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9884
9884
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9885
9885
|
current,
|
@@ -9887,14 +9887,14 @@
|
|
9887
9887
|
renderLanes
|
9888
9888
|
);
|
9889
9889
|
} else
|
9890
|
-
|
9890
|
+
JSCompiler_object_inline_message_2450.data ===
|
9891
9891
|
SUSPENSE_PENDING_START_DATA
|
9892
9892
|
? ((workInProgress.flags |= 192),
|
9893
9893
|
(workInProgress.child = current.child),
|
9894
9894
|
(workInProgress = null))
|
9895
9895
|
: ((current = prevState.treeContext),
|
9896
9896
|
(nextHydratableInstance = getNextHydratable(
|
9897
|
-
|
9897
|
+
JSCompiler_object_inline_message_2450.nextSibling
|
9898
9898
|
)),
|
9899
9899
|
(hydrationParentFiber = workInProgress),
|
9900
9900
|
(isHydrating = !0),
|
@@ -9912,57 +9912,57 @@
|
|
9912
9912
|
(treeContextProvider = workInProgress)),
|
9913
9913
|
(workInProgress = mountSuspensePrimaryChildren(
|
9914
9914
|
workInProgress,
|
9915
|
-
|
9915
|
+
JSCompiler_object_inline_stack_2452.children
|
9916
9916
|
)),
|
9917
9917
|
(workInProgress.flags |= 4096));
|
9918
9918
|
return workInProgress;
|
9919
9919
|
}
|
9920
|
-
if (
|
9920
|
+
if (JSCompiler_object_inline_componentStack_2453)
|
9921
9921
|
return (
|
9922
9922
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9923
|
-
(
|
9924
|
-
|
9925
|
-
(
|
9923
|
+
(JSCompiler_object_inline_componentStack_2453 =
|
9924
|
+
JSCompiler_object_inline_stack_2452.fallback),
|
9925
|
+
(JSCompiler_object_inline_message_2450 = workInProgress.mode),
|
9926
9926
|
(JSCompiler_temp = current.child),
|
9927
9927
|
(instance = JSCompiler_temp.sibling),
|
9928
|
-
(
|
9928
|
+
(JSCompiler_object_inline_stack_2452 = createWorkInProgress(
|
9929
9929
|
JSCompiler_temp,
|
9930
9930
|
{
|
9931
9931
|
mode: "hidden",
|
9932
|
-
children:
|
9932
|
+
children: JSCompiler_object_inline_stack_2452.children
|
9933
9933
|
}
|
9934
9934
|
)),
|
9935
|
-
(
|
9935
|
+
(JSCompiler_object_inline_stack_2452.subtreeFlags =
|
9936
9936
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9937
9937
|
null !== instance
|
9938
|
-
? (
|
9938
|
+
? (JSCompiler_object_inline_componentStack_2453 =
|
9939
9939
|
createWorkInProgress(
|
9940
9940
|
instance,
|
9941
|
-
|
9941
|
+
JSCompiler_object_inline_componentStack_2453
|
9942
9942
|
))
|
9943
|
-
: ((
|
9943
|
+
: ((JSCompiler_object_inline_componentStack_2453 =
|
9944
9944
|
createFiberFromFragment(
|
9945
|
-
|
9946
|
-
|
9945
|
+
JSCompiler_object_inline_componentStack_2453,
|
9946
|
+
JSCompiler_object_inline_message_2450,
|
9947
9947
|
renderLanes,
|
9948
9948
|
null
|
9949
9949
|
)),
|
9950
|
-
(
|
9951
|
-
(
|
9950
|
+
(JSCompiler_object_inline_componentStack_2453.flags |= 2)),
|
9951
|
+
(JSCompiler_object_inline_componentStack_2453.return =
|
9952
9952
|
workInProgress),
|
9953
|
-
(
|
9954
|
-
(
|
9955
|
-
|
9956
|
-
(workInProgress.child =
|
9957
|
-
(
|
9958
|
-
|
9959
|
-
(
|
9960
|
-
(
|
9961
|
-
null ===
|
9962
|
-
? (
|
9953
|
+
(JSCompiler_object_inline_stack_2452.return = workInProgress),
|
9954
|
+
(JSCompiler_object_inline_stack_2452.sibling =
|
9955
|
+
JSCompiler_object_inline_componentStack_2453),
|
9956
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2452),
|
9957
|
+
(JSCompiler_object_inline_stack_2452 =
|
9958
|
+
JSCompiler_object_inline_componentStack_2453),
|
9959
|
+
(JSCompiler_object_inline_componentStack_2453 = workInProgress.child),
|
9960
|
+
(JSCompiler_object_inline_message_2450 = current.child.memoizedState),
|
9961
|
+
null === JSCompiler_object_inline_message_2450
|
9962
|
+
? (JSCompiler_object_inline_message_2450 =
|
9963
9963
|
mountSuspenseOffscreenState(renderLanes))
|
9964
9964
|
: ((JSCompiler_temp =
|
9965
|
-
|
9965
|
+
JSCompiler_object_inline_message_2450.cachePool),
|
9966
9966
|
null !== JSCompiler_temp
|
9967
9967
|
? ((instance = CacheContext._currentValue),
|
9968
9968
|
(JSCompiler_temp =
|
@@ -9970,37 +9970,37 @@
|
|
9970
9970
|
? { parent: instance, pool: instance }
|
9971
9971
|
: JSCompiler_temp))
|
9972
9972
|
: (JSCompiler_temp = getSuspendedCache()),
|
9973
|
-
(
|
9973
|
+
(JSCompiler_object_inline_message_2450 = {
|
9974
9974
|
baseLanes:
|
9975
|
-
|
9975
|
+
JSCompiler_object_inline_message_2450.baseLanes | renderLanes,
|
9976
9976
|
cachePool: JSCompiler_temp
|
9977
9977
|
})),
|
9978
|
-
(
|
9979
|
-
|
9980
|
-
(
|
9978
|
+
(JSCompiler_object_inline_componentStack_2453.memoizedState =
|
9979
|
+
JSCompiler_object_inline_message_2450),
|
9980
|
+
(JSCompiler_object_inline_componentStack_2453.childLanes =
|
9981
9981
|
getRemainingWorkInPrimaryTree(
|
9982
9982
|
current,
|
9983
|
-
|
9983
|
+
JSCompiler_object_inline_digest_2451,
|
9984
9984
|
renderLanes
|
9985
9985
|
)),
|
9986
9986
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9987
|
-
|
9987
|
+
JSCompiler_object_inline_stack_2452
|
9988
9988
|
);
|
9989
9989
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9990
9990
|
renderLanes = current.child;
|
9991
9991
|
current = renderLanes.sibling;
|
9992
9992
|
renderLanes = createWorkInProgress(renderLanes, {
|
9993
9993
|
mode: "visible",
|
9994
|
-
children:
|
9994
|
+
children: JSCompiler_object_inline_stack_2452.children
|
9995
9995
|
});
|
9996
9996
|
renderLanes.return = workInProgress;
|
9997
9997
|
renderLanes.sibling = null;
|
9998
9998
|
null !== current &&
|
9999
|
-
((
|
10000
|
-
null ===
|
9999
|
+
((JSCompiler_object_inline_digest_2451 = workInProgress.deletions),
|
10000
|
+
null === JSCompiler_object_inline_digest_2451
|
10001
10001
|
? ((workInProgress.deletions = [current]),
|
10002
10002
|
(workInProgress.flags |= 16))
|
10003
|
-
:
|
10003
|
+
: JSCompiler_object_inline_digest_2451.push(current));
|
10004
10004
|
workInProgress.child = renderLanes;
|
10005
10005
|
workInProgress.memoizedState = null;
|
10006
10006
|
return renderLanes;
|
@@ -11101,32 +11101,42 @@
|
|
11101
11101
|
function markUpdate(workInProgress) {
|
11102
11102
|
workInProgress.flags |= 4;
|
11103
11103
|
}
|
11104
|
+
function preloadInstanceAndSuspendIfNeeded(
|
11105
|
+
workInProgress,
|
11106
|
+
type,
|
11107
|
+
oldProps,
|
11108
|
+
newProps,
|
11109
|
+
renderLanes
|
11110
|
+
) {
|
11111
|
+
if ((type = (workInProgress.mode & SuspenseyImagesMode) !== NoMode))
|
11112
|
+
type = !1;
|
11113
|
+
if (type) {
|
11114
|
+
if (
|
11115
|
+
((workInProgress.flags |= 16777216),
|
11116
|
+
(renderLanes & 335544128) === renderLanes)
|
11117
|
+
)
|
11118
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
11119
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11120
|
+
else
|
11121
|
+
throw (
|
11122
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
11123
|
+
SuspenseyCommitException)
|
11124
|
+
);
|
11125
|
+
} else workInProgress.flags &= -16777217;
|
11126
|
+
}
|
11104
11127
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
11105
11128
|
if (
|
11106
11129
|
"stylesheet" !== resource.type ||
|
11107
11130
|
(resource.state.loading & Inserted) !== NotLoaded
|
11108
11131
|
)
|
11109
11132
|
workInProgress.flags &= -16777217;
|
11110
|
-
else if (
|
11111
|
-
((workInProgress.flags |=
|
11112
|
-
|
11113
|
-
resource = suspenseHandlerStackCursor.current;
|
11114
|
-
if (
|
11115
|
-
null !== resource &&
|
11116
|
-
((workInProgressRootRenderLanes & 4194048) ===
|
11117
|
-
workInProgressRootRenderLanes
|
11118
|
-
? null !== shellBoundary
|
11119
|
-
: ((workInProgressRootRenderLanes & 62914560) !==
|
11120
|
-
workInProgressRootRenderLanes &&
|
11121
|
-
0 === (workInProgressRootRenderLanes & 536870912)) ||
|
11122
|
-
resource !== shellBoundary)
|
11123
|
-
)
|
11133
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
11134
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11135
|
+
else
|
11124
11136
|
throw (
|
11125
11137
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
11126
11138
|
SuspenseyCommitException)
|
11127
11139
|
);
|
11128
|
-
workInProgress.flags |= 8192;
|
11129
|
-
}
|
11130
11140
|
}
|
11131
11141
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
11132
11142
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -11260,38 +11270,49 @@
|
|
11260
11270
|
bubbleProperties(workInProgress);
|
11261
11271
|
return null;
|
11262
11272
|
case 26:
|
11263
|
-
|
11264
|
-
|
11265
|
-
|
11266
|
-
|
11267
|
-
|
11268
|
-
|
11269
|
-
|
11270
|
-
|
11271
|
-
|
11272
|
-
|
11273
|
-
|
11274
|
-
|
11275
|
-
|
11276
|
-
|
11277
|
-
|
11278
|
-
|
11279
|
-
|
11280
|
-
|
11281
|
-
|
11282
|
-
|
11283
|
-
|
11284
|
-
(workInProgress.flags &= -16777217))
|
11285
|
-
: (current.memoizedProps !== newProps &&
|
11286
|
-
markUpdate(workInProgress),
|
11273
|
+
var type = workInProgress.type,
|
11274
|
+
nextResource = workInProgress.memoizedState;
|
11275
|
+
null === current
|
11276
|
+
? (markUpdate(workInProgress),
|
11277
|
+
null !== nextResource
|
11278
|
+
? (bubbleProperties(workInProgress),
|
11279
|
+
preloadResourceAndSuspendIfNeeded(
|
11280
|
+
workInProgress,
|
11281
|
+
nextResource
|
11282
|
+
))
|
11283
|
+
: (bubbleProperties(workInProgress),
|
11284
|
+
preloadInstanceAndSuspendIfNeeded(
|
11285
|
+
workInProgress,
|
11286
|
+
type,
|
11287
|
+
null,
|
11288
|
+
newProps,
|
11289
|
+
renderLanes
|
11290
|
+
)))
|
11291
|
+
: nextResource
|
11292
|
+
? nextResource !== current.memoizedState
|
11293
|
+
? (markUpdate(workInProgress),
|
11287
11294
|
bubbleProperties(workInProgress),
|
11288
|
-
(
|
11289
|
-
|
11290
|
-
|
11295
|
+
preloadResourceAndSuspendIfNeeded(
|
11296
|
+
workInProgress,
|
11297
|
+
nextResource
|
11298
|
+
))
|
11299
|
+
: (bubbleProperties(workInProgress),
|
11300
|
+
(workInProgress.flags &= -16777217))
|
11301
|
+
: ((current = current.memoizedProps),
|
11302
|
+
current !== newProps && markUpdate(workInProgress),
|
11303
|
+
bubbleProperties(workInProgress),
|
11304
|
+
preloadInstanceAndSuspendIfNeeded(
|
11305
|
+
workInProgress,
|
11306
|
+
type,
|
11307
|
+
current,
|
11308
|
+
newProps,
|
11309
|
+
renderLanes
|
11310
|
+
));
|
11311
|
+
return null;
|
11291
11312
|
case 27:
|
11292
11313
|
popHostContext(workInProgress);
|
11293
11314
|
renderLanes = requiredContext(rootInstanceStackCursor.current);
|
11294
|
-
|
11315
|
+
type = workInProgress.type;
|
11295
11316
|
if (null !== current && null != workInProgress.stateNode)
|
11296
11317
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11297
11318
|
else {
|
@@ -11307,7 +11328,7 @@
|
|
11307
11328
|
popHydrationState(workInProgress)
|
11308
11329
|
? prepareToHydrateHostInstance(workInProgress, current)
|
11309
11330
|
: ((current = resolveSingletonInstance(
|
11310
|
-
|
11331
|
+
type,
|
11311
11332
|
newProps,
|
11312
11333
|
renderLanes,
|
11313
11334
|
current,
|
@@ -11320,7 +11341,7 @@
|
|
11320
11341
|
return null;
|
11321
11342
|
case 5:
|
11322
11343
|
popHostContext(workInProgress);
|
11323
|
-
|
11344
|
+
type = workInProgress.type;
|
11324
11345
|
if (null !== current && null != workInProgress.stateNode)
|
11325
11346
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11326
11347
|
else {
|
@@ -11332,123 +11353,142 @@
|
|
11332
11353
|
bubbleProperties(workInProgress);
|
11333
11354
|
return null;
|
11334
11355
|
}
|
11335
|
-
|
11356
|
+
var _currentHostContext = getHostContext();
|
11336
11357
|
if (popHydrationState(workInProgress))
|
11337
|
-
prepareToHydrateHostInstance(workInProgress,
|
11358
|
+
prepareToHydrateHostInstance(workInProgress, _currentHostContext);
|
11338
11359
|
else {
|
11339
|
-
|
11340
|
-
validateDOMNesting(
|
11341
|
-
|
11342
|
-
|
11343
|
-
switch (
|
11360
|
+
nextResource = requiredContext(rootInstanceStackCursor.current);
|
11361
|
+
validateDOMNesting(type, _currentHostContext.ancestorInfo);
|
11362
|
+
_currentHostContext = _currentHostContext.context;
|
11363
|
+
nextResource = getOwnerDocumentFromRootContainer(nextResource);
|
11364
|
+
switch (_currentHostContext) {
|
11344
11365
|
case HostContextNamespaceSvg:
|
11345
|
-
|
11366
|
+
nextResource = nextResource.createElementNS(
|
11367
|
+
SVG_NAMESPACE,
|
11368
|
+
type
|
11369
|
+
);
|
11346
11370
|
break;
|
11347
11371
|
case HostContextNamespaceMath:
|
11348
|
-
|
11372
|
+
nextResource = nextResource.createElementNS(
|
11349
11373
|
MATH_NAMESPACE,
|
11350
|
-
|
11374
|
+
type
|
11351
11375
|
);
|
11352
11376
|
break;
|
11353
11377
|
default:
|
11354
|
-
switch (
|
11378
|
+
switch (type) {
|
11355
11379
|
case "svg":
|
11356
|
-
|
11380
|
+
nextResource = nextResource.createElementNS(
|
11357
11381
|
SVG_NAMESPACE,
|
11358
|
-
|
11382
|
+
type
|
11359
11383
|
);
|
11360
11384
|
break;
|
11361
11385
|
case "math":
|
11362
|
-
|
11386
|
+
nextResource = nextResource.createElementNS(
|
11363
11387
|
MATH_NAMESPACE,
|
11364
|
-
|
11388
|
+
type
|
11365
11389
|
);
|
11366
11390
|
break;
|
11367
11391
|
case "script":
|
11368
|
-
|
11369
|
-
|
11370
|
-
|
11392
|
+
nextResource = nextResource.createElement("div");
|
11393
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
11394
|
+
nextResource = nextResource.removeChild(
|
11395
|
+
nextResource.firstChild
|
11396
|
+
);
|
11371
11397
|
break;
|
11372
11398
|
case "select":
|
11373
|
-
|
11399
|
+
nextResource =
|
11374
11400
|
"string" === typeof newProps.is
|
11375
|
-
?
|
11376
|
-
|
11401
|
+
? nextResource.createElement("select", {
|
11402
|
+
is: newProps.is
|
11403
|
+
})
|
11404
|
+
: nextResource.createElement("select");
|
11377
11405
|
newProps.multiple
|
11378
|
-
? (
|
11379
|
-
: newProps.size && (
|
11406
|
+
? (nextResource.multiple = !0)
|
11407
|
+
: newProps.size && (nextResource.size = newProps.size);
|
11380
11408
|
break;
|
11381
11409
|
default:
|
11382
|
-
(
|
11410
|
+
(nextResource =
|
11383
11411
|
"string" === typeof newProps.is
|
11384
|
-
?
|
11412
|
+
? nextResource.createElement(type, {
|
11385
11413
|
is: newProps.is
|
11386
11414
|
})
|
11387
|
-
:
|
11388
|
-
-1 ===
|
11389
|
-
(
|
11415
|
+
: nextResource.createElement(type)),
|
11416
|
+
-1 === type.indexOf("-") &&
|
11417
|
+
(type !== type.toLowerCase() &&
|
11390
11418
|
console.error(
|
11391
11419
|
"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
|
11392
|
-
|
11420
|
+
type
|
11393
11421
|
),
|
11394
11422
|
"[object HTMLUnknownElement]" !==
|
11395
|
-
Object.prototype.toString.call(
|
11396
|
-
hasOwnProperty.call(
|
11397
|
-
|
11398
|
-
renderLanes
|
11399
|
-
) ||
|
11400
|
-
((warnedUnknownTags[renderLanes] = !0),
|
11423
|
+
Object.prototype.toString.call(nextResource) ||
|
11424
|
+
hasOwnProperty.call(warnedUnknownTags, type) ||
|
11425
|
+
((warnedUnknownTags[type] = !0),
|
11401
11426
|
console.error(
|
11402
11427
|
"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
|
11403
|
-
|
11428
|
+
type
|
11404
11429
|
)));
|
11405
11430
|
}
|
11406
11431
|
}
|
11407
|
-
|
11408
|
-
|
11409
|
-
a: for (
|
11410
|
-
|
11411
|
-
|
11432
|
+
nextResource[internalInstanceKey] = workInProgress;
|
11433
|
+
nextResource[internalPropsKey] = newProps;
|
11434
|
+
a: for (
|
11435
|
+
_currentHostContext = workInProgress.child;
|
11436
|
+
null !== _currentHostContext;
|
11437
|
+
|
11438
|
+
) {
|
11439
|
+
if (
|
11440
|
+
5 === _currentHostContext.tag ||
|
11441
|
+
6 === _currentHostContext.tag
|
11442
|
+
)
|
11443
|
+
nextResource.appendChild(_currentHostContext.stateNode);
|
11412
11444
|
else if (
|
11413
|
-
4 !==
|
11414
|
-
27 !==
|
11415
|
-
null !==
|
11445
|
+
4 !== _currentHostContext.tag &&
|
11446
|
+
27 !== _currentHostContext.tag &&
|
11447
|
+
null !== _currentHostContext.child
|
11416
11448
|
) {
|
11417
|
-
|
11418
|
-
|
11449
|
+
_currentHostContext.child.return = _currentHostContext;
|
11450
|
+
_currentHostContext = _currentHostContext.child;
|
11419
11451
|
continue;
|
11420
11452
|
}
|
11421
|
-
if (
|
11422
|
-
for (; null ===
|
11423
|
-
if (
|
11453
|
+
if (_currentHostContext === workInProgress) break a;
|
11454
|
+
for (; null === _currentHostContext.sibling; ) {
|
11455
|
+
if (
|
11456
|
+
null === _currentHostContext.return ||
|
11457
|
+
_currentHostContext.return === workInProgress
|
11458
|
+
)
|
11424
11459
|
break a;
|
11425
|
-
|
11460
|
+
_currentHostContext = _currentHostContext.return;
|
11426
11461
|
}
|
11427
|
-
|
11428
|
-
|
11462
|
+
_currentHostContext.sibling.return = _currentHostContext.return;
|
11463
|
+
_currentHostContext = _currentHostContext.sibling;
|
11429
11464
|
}
|
11430
|
-
workInProgress.stateNode =
|
11465
|
+
workInProgress.stateNode = nextResource;
|
11431
11466
|
a: switch (
|
11432
|
-
(setInitialProperties(
|
11433
|
-
renderLanes)
|
11467
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
11434
11468
|
) {
|
11435
11469
|
case "button":
|
11436
11470
|
case "input":
|
11437
11471
|
case "select":
|
11438
11472
|
case "textarea":
|
11439
|
-
|
11473
|
+
newProps = !!newProps.autoFocus;
|
11440
11474
|
break a;
|
11441
11475
|
case "img":
|
11442
|
-
|
11476
|
+
newProps = !0;
|
11443
11477
|
break a;
|
11444
11478
|
default:
|
11445
|
-
|
11479
|
+
newProps = !1;
|
11446
11480
|
}
|
11447
|
-
|
11481
|
+
newProps && markUpdate(workInProgress);
|
11448
11482
|
}
|
11449
11483
|
}
|
11450
11484
|
bubbleProperties(workInProgress);
|
11451
|
-
|
11485
|
+
preloadInstanceAndSuspendIfNeeded(
|
11486
|
+
workInProgress,
|
11487
|
+
workInProgress.type,
|
11488
|
+
null === current ? null : current.memoizedProps,
|
11489
|
+
workInProgress.pendingProps,
|
11490
|
+
renderLanes
|
11491
|
+
);
|
11452
11492
|
return null;
|
11453
11493
|
case 6:
|
11454
11494
|
if (current && null != workInProgress.stateNode)
|
@@ -11466,36 +11506,36 @@
|
|
11466
11506
|
if (popHydrationState(workInProgress)) {
|
11467
11507
|
current = workInProgress.stateNode;
|
11468
11508
|
renderLanes = workInProgress.memoizedProps;
|
11469
|
-
|
11509
|
+
type = !didSuspendOrErrorDEV;
|
11470
11510
|
newProps = null;
|
11471
|
-
|
11472
|
-
if (null !==
|
11473
|
-
switch (
|
11511
|
+
nextResource = hydrationParentFiber;
|
11512
|
+
if (null !== nextResource)
|
11513
|
+
switch (nextResource.tag) {
|
11474
11514
|
case 3:
|
11475
|
-
|
11476
|
-
((
|
11515
|
+
type &&
|
11516
|
+
((type = diffHydratedTextForDevWarnings(
|
11477
11517
|
current,
|
11478
11518
|
renderLanes,
|
11479
11519
|
newProps
|
11480
11520
|
)),
|
11481
|
-
null !==
|
11521
|
+
null !== type &&
|
11482
11522
|
(buildHydrationDiffNode(workInProgress, 0).serverProps =
|
11483
|
-
|
11523
|
+
type));
|
11484
11524
|
break;
|
11485
11525
|
case 27:
|
11486
11526
|
case 5:
|
11487
|
-
(newProps =
|
11488
|
-
|
11489
|
-
((
|
11527
|
+
(newProps = nextResource.memoizedProps),
|
11528
|
+
type &&
|
11529
|
+
((type = diffHydratedTextForDevWarnings(
|
11490
11530
|
current,
|
11491
11531
|
renderLanes,
|
11492
11532
|
newProps
|
11493
11533
|
)),
|
11494
|
-
null !==
|
11534
|
+
null !== type &&
|
11495
11535
|
(buildHydrationDiffNode(
|
11496
11536
|
workInProgress,
|
11497
11537
|
0
|
11498
|
-
).serverProps =
|
11538
|
+
).serverProps = type));
|
11499
11539
|
}
|
11500
11540
|
current[internalInstanceKey] = workInProgress;
|
11501
11541
|
current =
|
@@ -11507,11 +11547,11 @@
|
|
11507
11547
|
: !1;
|
11508
11548
|
current || throwOnHydrationMismatch(workInProgress, !0);
|
11509
11549
|
} else
|
11510
|
-
(
|
11511
|
-
null !=
|
11550
|
+
(type = renderLanes.ancestorInfo.current),
|
11551
|
+
null != type &&
|
11512
11552
|
validateTextNesting(
|
11513
11553
|
newProps,
|
11514
|
-
|
11554
|
+
type.tag,
|
11515
11555
|
renderLanes.ancestorInfo.implicitRootScope
|
11516
11556
|
),
|
11517
11557
|
(current =
|
@@ -11530,27 +11570,26 @@
|
|
11530
11570
|
(null !== current.memoizedState &&
|
11531
11571
|
null !== current.memoizedState.dehydrated)
|
11532
11572
|
) {
|
11533
|
-
|
11573
|
+
type = popHydrationState(workInProgress);
|
11534
11574
|
if (null !== newProps && null !== newProps.dehydrated) {
|
11535
11575
|
if (null === current) {
|
11536
|
-
if (!
|
11576
|
+
if (!type)
|
11537
11577
|
throw Error(
|
11538
11578
|
"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
|
11539
11579
|
);
|
11540
|
-
|
11541
|
-
|
11542
|
-
if (!
|
11580
|
+
type = workInProgress.memoizedState;
|
11581
|
+
type = null !== type ? type.dehydrated : null;
|
11582
|
+
if (!type)
|
11543
11583
|
throw Error(
|
11544
11584
|
"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
|
11545
11585
|
);
|
11546
|
-
|
11586
|
+
type[internalInstanceKey] = workInProgress;
|
11547
11587
|
bubbleProperties(workInProgress);
|
11548
11588
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11549
11589
|
null !== newProps &&
|
11550
|
-
((
|
11551
|
-
null !==
|
11552
|
-
(workInProgress.treeBaseDuration -=
|
11553
|
-
_type.treeBaseDuration));
|
11590
|
+
((type = workInProgress.child),
|
11591
|
+
null !== type &&
|
11592
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
11554
11593
|
} else
|
11555
11594
|
emitPendingHydrationWarnings(),
|
11556
11595
|
resetHydrationState(),
|
@@ -11560,18 +11599,18 @@
|
|
11560
11599
|
bubbleProperties(workInProgress),
|
11561
11600
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11562
11601
|
null !== newProps &&
|
11563
|
-
((
|
11564
|
-
null !==
|
11602
|
+
((type = workInProgress.child),
|
11603
|
+
null !== type &&
|
11565
11604
|
(workInProgress.treeBaseDuration -=
|
11566
|
-
|
11567
|
-
|
11605
|
+
type.treeBaseDuration));
|
11606
|
+
type = !1;
|
11568
11607
|
} else
|
11569
|
-
(
|
11608
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
11570
11609
|
null !== current &&
|
11571
11610
|
null !== current.memoizedState &&
|
11572
|
-
(current.memoizedState.hydrationErrors =
|
11573
|
-
(
|
11574
|
-
if (!
|
11611
|
+
(current.memoizedState.hydrationErrors = type),
|
11612
|
+
(type = !0);
|
11613
|
+
if (!type) {
|
11575
11614
|
if (workInProgress.flags & 256)
|
11576
11615
|
return popSuspenseHandler(workInProgress), workInProgress;
|
11577
11616
|
popSuspenseHandler(workInProgress);
|
@@ -11590,16 +11629,16 @@
|
|
11590
11629
|
current = null !== current && null !== current.memoizedState;
|
11591
11630
|
renderLanes &&
|
11592
11631
|
((newProps = workInProgress.child),
|
11593
|
-
(
|
11632
|
+
(type = null),
|
11594
11633
|
null !== newProps.alternate &&
|
11595
11634
|
null !== newProps.alternate.memoizedState &&
|
11596
11635
|
null !== newProps.alternate.memoizedState.cachePool &&
|
11597
|
-
(
|
11598
|
-
(
|
11636
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
11637
|
+
(nextResource = null),
|
11599
11638
|
null !== newProps.memoizedState &&
|
11600
11639
|
null !== newProps.memoizedState.cachePool &&
|
11601
|
-
(
|
11602
|
-
|
11640
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
11641
|
+
nextResource !== type && (newProps.flags |= 2048));
|
11603
11642
|
renderLanes !== current &&
|
11604
11643
|
renderLanes &&
|
11605
11644
|
(workInProgress.child.flags |= 8192);
|
@@ -11629,23 +11668,23 @@
|
|
11629
11668
|
);
|
11630
11669
|
case 19:
|
11631
11670
|
pop(suspenseStackCursor, workInProgress);
|
11632
|
-
|
11633
|
-
if (null ===
|
11671
|
+
type = workInProgress.memoizedState;
|
11672
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
11634
11673
|
newProps = 0 !== (workInProgress.flags & 128);
|
11635
|
-
|
11636
|
-
if (null ===
|
11637
|
-
if (newProps) cutOffTailIfNeeded(
|
11674
|
+
nextResource = type.rendering;
|
11675
|
+
if (null === nextResource)
|
11676
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
11638
11677
|
else {
|
11639
11678
|
if (
|
11640
11679
|
workInProgressRootExitStatus !== RootInProgress ||
|
11641
11680
|
(null !== current && 0 !== (current.flags & 128))
|
11642
11681
|
)
|
11643
11682
|
for (current = workInProgress.child; null !== current; ) {
|
11644
|
-
|
11645
|
-
if (null !==
|
11683
|
+
nextResource = findFirstSuspended(current);
|
11684
|
+
if (null !== nextResource) {
|
11646
11685
|
workInProgress.flags |= 128;
|
11647
|
-
cutOffTailIfNeeded(
|
11648
|
-
current =
|
11686
|
+
cutOffTailIfNeeded(type, !1);
|
11687
|
+
current = nextResource.updateQueue;
|
11649
11688
|
workInProgress.updateQueue = current;
|
11650
11689
|
scheduleRetryEffect(workInProgress, current);
|
11651
11690
|
workInProgress.subtreeFlags = 0;
|
@@ -11668,17 +11707,17 @@
|
|
11668
11707
|
}
|
11669
11708
|
current = current.sibling;
|
11670
11709
|
}
|
11671
|
-
null !==
|
11710
|
+
null !== type.tail &&
|
11672
11711
|
now$1() > workInProgressRootRenderTargetTime &&
|
11673
11712
|
((workInProgress.flags |= 128),
|
11674
11713
|
(newProps = !0),
|
11675
|
-
cutOffTailIfNeeded(
|
11714
|
+
cutOffTailIfNeeded(type, !1),
|
11676
11715
|
(workInProgress.lanes = 4194304));
|
11677
11716
|
}
|
11678
11717
|
else {
|
11679
11718
|
if (!newProps)
|
11680
11719
|
if (
|
11681
|
-
((current = findFirstSuspended(
|
11720
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
11682
11721
|
) {
|
11683
11722
|
if (
|
11684
11723
|
((workInProgress.flags |= 128),
|
@@ -11686,36 +11725,36 @@
|
|
11686
11725
|
(current = current.updateQueue),
|
11687
11726
|
(workInProgress.updateQueue = current),
|
11688
11727
|
scheduleRetryEffect(workInProgress, current),
|
11689
|
-
cutOffTailIfNeeded(
|
11690
|
-
null ===
|
11691
|
-
"hidden" ===
|
11692
|
-
!
|
11728
|
+
cutOffTailIfNeeded(type, !0),
|
11729
|
+
null === type.tail &&
|
11730
|
+
"hidden" === type.tailMode &&
|
11731
|
+
!nextResource.alternate &&
|
11693
11732
|
!isHydrating)
|
11694
11733
|
)
|
11695
11734
|
return bubbleProperties(workInProgress), null;
|
11696
11735
|
} else
|
11697
|
-
2 * now$1() -
|
11736
|
+
2 * now$1() - type.renderingStartTime >
|
11698
11737
|
workInProgressRootRenderTargetTime &&
|
11699
11738
|
536870912 !== renderLanes &&
|
11700
11739
|
((workInProgress.flags |= 128),
|
11701
11740
|
(newProps = !0),
|
11702
|
-
cutOffTailIfNeeded(
|
11741
|
+
cutOffTailIfNeeded(type, !1),
|
11703
11742
|
(workInProgress.lanes = 4194304));
|
11704
|
-
|
11705
|
-
? ((
|
11706
|
-
(workInProgress.child =
|
11707
|
-
: ((current =
|
11743
|
+
type.isBackwards
|
11744
|
+
? ((nextResource.sibling = workInProgress.child),
|
11745
|
+
(workInProgress.child = nextResource))
|
11746
|
+
: ((current = type.last),
|
11708
11747
|
null !== current
|
11709
|
-
? (current.sibling =
|
11710
|
-
: (workInProgress.child =
|
11711
|
-
(
|
11748
|
+
? (current.sibling = nextResource)
|
11749
|
+
: (workInProgress.child = nextResource),
|
11750
|
+
(type.last = nextResource));
|
11712
11751
|
}
|
11713
|
-
if (null !==
|
11752
|
+
if (null !== type.tail)
|
11714
11753
|
return (
|
11715
|
-
(current =
|
11716
|
-
(
|
11717
|
-
(
|
11718
|
-
(
|
11754
|
+
(current = type.tail),
|
11755
|
+
(type.rendering = current),
|
11756
|
+
(type.tail = current.sibling),
|
11757
|
+
(type.renderingStartTime = now$1()),
|
11719
11758
|
(current.sibling = null),
|
11720
11759
|
(renderLanes = suspenseStackCursor.current),
|
11721
11760
|
(renderLanes = newProps
|
@@ -14926,6 +14965,21 @@
|
|
14926
14965
|
);
|
14927
14966
|
}
|
14928
14967
|
}
|
14968
|
+
function shouldRemainOnPreviousScreen() {
|
14969
|
+
var handler = suspenseHandlerStackCursor.current;
|
14970
|
+
return null === handler
|
14971
|
+
? !0
|
14972
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
14973
|
+
workInProgressRootRenderLanes
|
14974
|
+
? null === shellBoundary
|
14975
|
+
? !0
|
14976
|
+
: !1
|
14977
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
14978
|
+
workInProgressRootRenderLanes ||
|
14979
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
14980
|
+
? handler === shellBoundary
|
14981
|
+
: !1;
|
14982
|
+
}
|
14929
14983
|
function pushDispatcher() {
|
14930
14984
|
var prevDispatcher = ReactSharedInternals.H;
|
14931
14985
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -22654,7 +22708,8 @@
|
|
22654
22708
|
ProfileMode = 2,
|
22655
22709
|
StrictLegacyMode = 8,
|
22656
22710
|
StrictEffectsMode = 16,
|
22657
|
-
NoStrictPassiveEffectsMode = 64
|
22711
|
+
NoStrictPassiveEffectsMode = 64,
|
22712
|
+
SuspenseyImagesMode = 32;
|
22658
22713
|
var hasBadMapPolyfill = !1;
|
22659
22714
|
try {
|
22660
22715
|
var nonExtensibleObject = Object.preventExtensions({});
|
@@ -24950,11 +25005,11 @@
|
|
24950
25005
|
};
|
24951
25006
|
(function () {
|
24952
25007
|
var isomorphicReactPackageVersion = React.version;
|
24953
|
-
if ("19.2.0-canary-
|
25008
|
+
if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
|
24954
25009
|
throw Error(
|
24955
25010
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24956
25011
|
(isomorphicReactPackageVersion +
|
24957
|
-
"\n - react-dom: 19.2.0-canary-
|
25012
|
+
"\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
|
24958
25013
|
);
|
24959
25014
|
})();
|
24960
25015
|
("function" === typeof Map &&
|
@@ -24991,10 +25046,10 @@
|
|
24991
25046
|
!(function () {
|
24992
25047
|
var internals = {
|
24993
25048
|
bundleType: 1,
|
24994
|
-
version: "19.2.0-canary-
|
25049
|
+
version: "19.2.0-canary-3fbfb9ba-20250409",
|
24995
25050
|
rendererPackageName: "react-dom",
|
24996
25051
|
currentDispatcherRef: ReactSharedInternals,
|
24997
|
-
reconcilerVersion: "19.2.0-canary-
|
25052
|
+
reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
|
24998
25053
|
};
|
24999
25054
|
internals.overrideHookState = overrideHookState;
|
25000
25055
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25468,7 +25523,7 @@
|
|
25468
25523
|
exports.useFormStatus = function () {
|
25469
25524
|
return resolveDispatcher().useHostTransitionStatus();
|
25470
25525
|
};
|
25471
|
-
exports.version = "19.2.0-canary-
|
25526
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
25472
25527
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25473
25528
|
"function" ===
|
25474
25529
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|