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
@@ -9579,32 +9579,32 @@
|
|
9579
9579
|
return current;
|
9580
9580
|
}
|
9581
9581
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9582
|
-
var
|
9583
|
-
var
|
9582
|
+
var JSCompiler_object_inline_digest_2446;
|
9583
|
+
var JSCompiler_object_inline_stack_2447 = workInProgress.pendingProps;
|
9584
9584
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9585
|
-
var
|
9585
|
+
var JSCompiler_object_inline_componentStack_2448 = !1;
|
9586
9586
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9587
|
-
(
|
9588
|
-
(
|
9587
|
+
(JSCompiler_object_inline_digest_2446 = didSuspend) ||
|
9588
|
+
(JSCompiler_object_inline_digest_2446 =
|
9589
9589
|
null !== current && null === current.memoizedState
|
9590
9590
|
? !1
|
9591
9591
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9592
|
-
|
9593
|
-
((
|
9592
|
+
JSCompiler_object_inline_digest_2446 &&
|
9593
|
+
((JSCompiler_object_inline_componentStack_2448 = !0),
|
9594
9594
|
(workInProgress.flags &= -129));
|
9595
|
-
|
9595
|
+
JSCompiler_object_inline_digest_2446 = 0 !== (workInProgress.flags & 32);
|
9596
9596
|
workInProgress.flags &= -33;
|
9597
9597
|
if (null === current) {
|
9598
9598
|
if (isHydrating) {
|
9599
|
-
|
9599
|
+
JSCompiler_object_inline_componentStack_2448
|
9600
9600
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9601
9601
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9602
9602
|
if (isHydrating) {
|
9603
|
-
var
|
9603
|
+
var JSCompiler_object_inline_message_2445 = nextHydratableInstance;
|
9604
9604
|
var JSCompiler_temp;
|
9605
|
-
if (!(JSCompiler_temp = !
|
9605
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2445)) {
|
9606
9606
|
c: {
|
9607
|
-
var instance =
|
9607
|
+
var instance = JSCompiler_object_inline_message_2445;
|
9608
9608
|
for (
|
9609
9609
|
JSCompiler_temp = rootOrSingletonContext;
|
9610
9610
|
8 !== instance.nodeType;
|
@@ -9646,77 +9646,77 @@
|
|
9646
9646
|
JSCompiler_temp &&
|
9647
9647
|
(warnNonHydratedInstance(
|
9648
9648
|
workInProgress,
|
9649
|
-
|
9649
|
+
JSCompiler_object_inline_message_2445
|
9650
9650
|
),
|
9651
9651
|
throwOnHydrationMismatch(workInProgress));
|
9652
9652
|
}
|
9653
|
-
|
9653
|
+
JSCompiler_object_inline_message_2445 = workInProgress.memoizedState;
|
9654
9654
|
if (
|
9655
|
-
null !==
|
9656
|
-
((
|
9657
|
-
|
9658
|
-
null !==
|
9655
|
+
null !== JSCompiler_object_inline_message_2445 &&
|
9656
|
+
((JSCompiler_object_inline_message_2445 =
|
9657
|
+
JSCompiler_object_inline_message_2445.dehydrated),
|
9658
|
+
null !== JSCompiler_object_inline_message_2445)
|
9659
9659
|
)
|
9660
9660
|
return (
|
9661
|
-
isSuspenseInstanceFallback(
|
9661
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2445)
|
9662
9662
|
? (workInProgress.lanes = 32)
|
9663
9663
|
: (workInProgress.lanes = 536870912),
|
9664
9664
|
null
|
9665
9665
|
);
|
9666
9666
|
popSuspenseHandler(workInProgress);
|
9667
9667
|
}
|
9668
|
-
|
9669
|
-
|
9670
|
-
|
9671
|
-
|
9672
|
-
if (
|
9668
|
+
JSCompiler_object_inline_message_2445 =
|
9669
|
+
JSCompiler_object_inline_stack_2447.children;
|
9670
|
+
JSCompiler_object_inline_stack_2447 =
|
9671
|
+
JSCompiler_object_inline_stack_2447.fallback;
|
9672
|
+
if (JSCompiler_object_inline_componentStack_2448)
|
9673
9673
|
return (
|
9674
9674
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9675
|
-
(
|
9675
|
+
(JSCompiler_object_inline_componentStack_2448 =
|
9676
9676
|
workInProgress.mode),
|
9677
|
-
(
|
9677
|
+
(JSCompiler_object_inline_message_2445 =
|
9678
9678
|
mountWorkInProgressOffscreenFiber(
|
9679
9679
|
{
|
9680
9680
|
mode: "hidden",
|
9681
|
-
children:
|
9681
|
+
children: JSCompiler_object_inline_message_2445
|
9682
9682
|
},
|
9683
|
-
|
9683
|
+
JSCompiler_object_inline_componentStack_2448
|
9684
9684
|
)),
|
9685
|
-
(
|
9686
|
-
|
9687
|
-
|
9685
|
+
(JSCompiler_object_inline_stack_2447 = createFiberFromFragment(
|
9686
|
+
JSCompiler_object_inline_stack_2447,
|
9687
|
+
JSCompiler_object_inline_componentStack_2448,
|
9688
9688
|
renderLanes,
|
9689
9689
|
null
|
9690
9690
|
)),
|
9691
|
-
(
|
9692
|
-
(
|
9693
|
-
(
|
9694
|
-
|
9695
|
-
(workInProgress.child =
|
9696
|
-
(
|
9691
|
+
(JSCompiler_object_inline_message_2445.return = workInProgress),
|
9692
|
+
(JSCompiler_object_inline_stack_2447.return = workInProgress),
|
9693
|
+
(JSCompiler_object_inline_message_2445.sibling =
|
9694
|
+
JSCompiler_object_inline_stack_2447),
|
9695
|
+
(workInProgress.child = JSCompiler_object_inline_message_2445),
|
9696
|
+
(JSCompiler_object_inline_componentStack_2448 =
|
9697
9697
|
workInProgress.child),
|
9698
|
-
(
|
9698
|
+
(JSCompiler_object_inline_componentStack_2448.memoizedState =
|
9699
9699
|
mountSuspenseOffscreenState(renderLanes)),
|
9700
|
-
(
|
9700
|
+
(JSCompiler_object_inline_componentStack_2448.childLanes =
|
9701
9701
|
getRemainingWorkInPrimaryTree(
|
9702
9702
|
current,
|
9703
|
-
|
9703
|
+
JSCompiler_object_inline_digest_2446,
|
9704
9704
|
renderLanes
|
9705
9705
|
)),
|
9706
9706
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9707
|
-
|
9707
|
+
JSCompiler_object_inline_stack_2447
|
9708
9708
|
);
|
9709
9709
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9710
9710
|
return mountSuspensePrimaryChildren(
|
9711
9711
|
workInProgress,
|
9712
|
-
|
9712
|
+
JSCompiler_object_inline_message_2445
|
9713
9713
|
);
|
9714
9714
|
}
|
9715
9715
|
var prevState = current.memoizedState;
|
9716
9716
|
if (
|
9717
9717
|
null !== prevState &&
|
9718
|
-
((
|
9719
|
-
null !==
|
9718
|
+
((JSCompiler_object_inline_message_2445 = prevState.dehydrated),
|
9719
|
+
null !== JSCompiler_object_inline_message_2445)
|
9720
9720
|
) {
|
9721
9721
|
if (didSuspend)
|
9722
9722
|
workInProgress.flags & 256
|
@@ -9733,94 +9733,94 @@
|
|
9733
9733
|
(workInProgress.flags |= 128),
|
9734
9734
|
(workInProgress = null))
|
9735
9735
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9736
|
-
(
|
9737
|
-
|
9738
|
-
(
|
9739
|
-
(
|
9736
|
+
(JSCompiler_object_inline_componentStack_2448 =
|
9737
|
+
JSCompiler_object_inline_stack_2447.fallback),
|
9738
|
+
(JSCompiler_object_inline_message_2445 = workInProgress.mode),
|
9739
|
+
(JSCompiler_object_inline_stack_2447 =
|
9740
9740
|
mountWorkInProgressOffscreenFiber(
|
9741
9741
|
{
|
9742
9742
|
mode: "visible",
|
9743
|
-
children:
|
9743
|
+
children: JSCompiler_object_inline_stack_2447.children
|
9744
9744
|
},
|
9745
|
-
|
9745
|
+
JSCompiler_object_inline_message_2445
|
9746
9746
|
)),
|
9747
|
-
(
|
9747
|
+
(JSCompiler_object_inline_componentStack_2448 =
|
9748
9748
|
createFiberFromFragment(
|
9749
|
-
|
9750
|
-
|
9749
|
+
JSCompiler_object_inline_componentStack_2448,
|
9750
|
+
JSCompiler_object_inline_message_2445,
|
9751
9751
|
renderLanes,
|
9752
9752
|
null
|
9753
9753
|
)),
|
9754
|
-
(
|
9755
|
-
(
|
9756
|
-
(
|
9754
|
+
(JSCompiler_object_inline_componentStack_2448.flags |= 2),
|
9755
|
+
(JSCompiler_object_inline_stack_2447.return = workInProgress),
|
9756
|
+
(JSCompiler_object_inline_componentStack_2448.return =
|
9757
9757
|
workInProgress),
|
9758
|
-
(
|
9759
|
-
|
9760
|
-
(workInProgress.child =
|
9758
|
+
(JSCompiler_object_inline_stack_2447.sibling =
|
9759
|
+
JSCompiler_object_inline_componentStack_2448),
|
9760
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2447),
|
9761
9761
|
reconcileChildFibers(
|
9762
9762
|
workInProgress,
|
9763
9763
|
current.child,
|
9764
9764
|
null,
|
9765
9765
|
renderLanes
|
9766
9766
|
),
|
9767
|
-
(
|
9768
|
-
(
|
9767
|
+
(JSCompiler_object_inline_stack_2447 = workInProgress.child),
|
9768
|
+
(JSCompiler_object_inline_stack_2447.memoizedState =
|
9769
9769
|
mountSuspenseOffscreenState(renderLanes)),
|
9770
|
-
(
|
9770
|
+
(JSCompiler_object_inline_stack_2447.childLanes =
|
9771
9771
|
getRemainingWorkInPrimaryTree(
|
9772
9772
|
current,
|
9773
|
-
|
9773
|
+
JSCompiler_object_inline_digest_2446,
|
9774
9774
|
renderLanes
|
9775
9775
|
)),
|
9776
9776
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9777
9777
|
(workInProgress =
|
9778
|
-
|
9778
|
+
JSCompiler_object_inline_componentStack_2448));
|
9779
9779
|
else if (
|
9780
9780
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9781
9781
|
isHydrating &&
|
9782
9782
|
console.error(
|
9783
9783
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9784
9784
|
),
|
9785
|
-
isSuspenseInstanceFallback(
|
9785
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2445))
|
9786
9786
|
) {
|
9787
|
-
|
9788
|
-
|
9789
|
-
|
9790
|
-
if (
|
9791
|
-
JSCompiler_temp =
|
9792
|
-
var message =
|
9793
|
-
instance =
|
9794
|
-
var componentStack =
|
9787
|
+
JSCompiler_object_inline_digest_2446 =
|
9788
|
+
JSCompiler_object_inline_message_2445.nextSibling &&
|
9789
|
+
JSCompiler_object_inline_message_2445.nextSibling.dataset;
|
9790
|
+
if (JSCompiler_object_inline_digest_2446) {
|
9791
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2446.dgst;
|
9792
|
+
var message = JSCompiler_object_inline_digest_2446.msg;
|
9793
|
+
instance = JSCompiler_object_inline_digest_2446.stck;
|
9794
|
+
var componentStack = JSCompiler_object_inline_digest_2446.cstck;
|
9795
9795
|
}
|
9796
|
-
|
9797
|
-
|
9798
|
-
|
9799
|
-
JSCompiler_temp =
|
9796
|
+
JSCompiler_object_inline_message_2445 = message;
|
9797
|
+
JSCompiler_object_inline_digest_2446 = JSCompiler_temp;
|
9798
|
+
JSCompiler_object_inline_stack_2447 = instance;
|
9799
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2448 =
|
9800
9800
|
componentStack;
|
9801
|
-
|
9802
|
-
|
9803
|
-
? Error(
|
9801
|
+
JSCompiler_object_inline_componentStack_2448 =
|
9802
|
+
JSCompiler_object_inline_message_2445
|
9803
|
+
? Error(JSCompiler_object_inline_message_2445)
|
9804
9804
|
: Error(
|
9805
9805
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9806
9806
|
);
|
9807
|
-
|
9808
|
-
|
9809
|
-
|
9810
|
-
|
9811
|
-
|
9807
|
+
JSCompiler_object_inline_componentStack_2448.stack =
|
9808
|
+
JSCompiler_object_inline_stack_2447 || "";
|
9809
|
+
JSCompiler_object_inline_componentStack_2448.digest =
|
9810
|
+
JSCompiler_object_inline_digest_2446;
|
9811
|
+
JSCompiler_object_inline_digest_2446 =
|
9812
9812
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9813
|
-
|
9814
|
-
value:
|
9813
|
+
JSCompiler_object_inline_stack_2447 = {
|
9814
|
+
value: JSCompiler_object_inline_componentStack_2448,
|
9815
9815
|
source: null,
|
9816
|
-
stack:
|
9816
|
+
stack: JSCompiler_object_inline_digest_2446
|
9817
9817
|
};
|
9818
|
-
"string" === typeof
|
9818
|
+
"string" === typeof JSCompiler_object_inline_digest_2446 &&
|
9819
9819
|
CapturedStacks.set(
|
9820
|
-
|
9821
|
-
|
9820
|
+
JSCompiler_object_inline_componentStack_2448,
|
9821
|
+
JSCompiler_object_inline_stack_2447
|
9822
9822
|
);
|
9823
|
-
queueHydrationError(
|
9823
|
+
queueHydrationError(JSCompiler_object_inline_stack_2447);
|
9824
9824
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9825
9825
|
current,
|
9826
9826
|
workInProgress,
|
@@ -9834,44 +9834,44 @@
|
|
9834
9834
|
renderLanes,
|
9835
9835
|
!1
|
9836
9836
|
),
|
9837
|
-
(
|
9837
|
+
(JSCompiler_object_inline_digest_2446 =
|
9838
9838
|
0 !== (renderLanes & current.childLanes)),
|
9839
|
-
didReceiveUpdate ||
|
9839
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2446)
|
9840
9840
|
) {
|
9841
|
-
|
9841
|
+
JSCompiler_object_inline_digest_2446 = workInProgressRoot;
|
9842
9842
|
if (
|
9843
|
-
null !==
|
9844
|
-
((
|
9845
|
-
(
|
9846
|
-
0 !== (
|
9843
|
+
null !== JSCompiler_object_inline_digest_2446 &&
|
9844
|
+
((JSCompiler_object_inline_stack_2447 = renderLanes & -renderLanes),
|
9845
|
+
(JSCompiler_object_inline_stack_2447 =
|
9846
|
+
0 !== (JSCompiler_object_inline_stack_2447 & 42)
|
9847
9847
|
? 1
|
9848
9848
|
: getBumpedLaneForHydrationByLane(
|
9849
|
-
|
9849
|
+
JSCompiler_object_inline_stack_2447
|
9850
9850
|
)),
|
9851
|
-
(
|
9851
|
+
(JSCompiler_object_inline_stack_2447 =
|
9852
9852
|
0 !==
|
9853
|
-
(
|
9854
|
-
(
|
9853
|
+
(JSCompiler_object_inline_stack_2447 &
|
9854
|
+
(JSCompiler_object_inline_digest_2446.suspendedLanes |
|
9855
9855
|
renderLanes))
|
9856
9856
|
? 0
|
9857
|
-
:
|
9858
|
-
0 !==
|
9859
|
-
|
9857
|
+
: JSCompiler_object_inline_stack_2447),
|
9858
|
+
0 !== JSCompiler_object_inline_stack_2447 &&
|
9859
|
+
JSCompiler_object_inline_stack_2447 !== prevState.retryLane)
|
9860
9860
|
)
|
9861
9861
|
throw (
|
9862
|
-
((prevState.retryLane =
|
9862
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2447),
|
9863
9863
|
enqueueConcurrentRenderForLane(
|
9864
9864
|
current,
|
9865
|
-
|
9865
|
+
JSCompiler_object_inline_stack_2447
|
9866
9866
|
),
|
9867
9867
|
scheduleUpdateOnFiber(
|
9868
|
-
|
9868
|
+
JSCompiler_object_inline_digest_2446,
|
9869
9869
|
current,
|
9870
|
-
|
9870
|
+
JSCompiler_object_inline_stack_2447
|
9871
9871
|
),
|
9872
9872
|
SelectiveHydrationException)
|
9873
9873
|
);
|
9874
|
-
|
9874
|
+
JSCompiler_object_inline_message_2445.data ===
|
9875
9875
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9876
9876
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9877
9877
|
current,
|
@@ -9879,14 +9879,14 @@
|
|
9879
9879
|
renderLanes
|
9880
9880
|
);
|
9881
9881
|
} else
|
9882
|
-
|
9882
|
+
JSCompiler_object_inline_message_2445.data ===
|
9883
9883
|
SUSPENSE_PENDING_START_DATA
|
9884
9884
|
? ((workInProgress.flags |= 192),
|
9885
9885
|
(workInProgress.child = current.child),
|
9886
9886
|
(workInProgress = null))
|
9887
9887
|
: ((current = prevState.treeContext),
|
9888
9888
|
(nextHydratableInstance = getNextHydratable(
|
9889
|
-
|
9889
|
+
JSCompiler_object_inline_message_2445.nextSibling
|
9890
9890
|
)),
|
9891
9891
|
(hydrationParentFiber = workInProgress),
|
9892
9892
|
(isHydrating = !0),
|
@@ -9904,57 +9904,57 @@
|
|
9904
9904
|
(treeContextProvider = workInProgress)),
|
9905
9905
|
(workInProgress = mountSuspensePrimaryChildren(
|
9906
9906
|
workInProgress,
|
9907
|
-
|
9907
|
+
JSCompiler_object_inline_stack_2447.children
|
9908
9908
|
)),
|
9909
9909
|
(workInProgress.flags |= 4096));
|
9910
9910
|
return workInProgress;
|
9911
9911
|
}
|
9912
|
-
if (
|
9912
|
+
if (JSCompiler_object_inline_componentStack_2448)
|
9913
9913
|
return (
|
9914
9914
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9915
|
-
(
|
9916
|
-
|
9917
|
-
(
|
9915
|
+
(JSCompiler_object_inline_componentStack_2448 =
|
9916
|
+
JSCompiler_object_inline_stack_2447.fallback),
|
9917
|
+
(JSCompiler_object_inline_message_2445 = workInProgress.mode),
|
9918
9918
|
(JSCompiler_temp = current.child),
|
9919
9919
|
(instance = JSCompiler_temp.sibling),
|
9920
|
-
(
|
9920
|
+
(JSCompiler_object_inline_stack_2447 = createWorkInProgress(
|
9921
9921
|
JSCompiler_temp,
|
9922
9922
|
{
|
9923
9923
|
mode: "hidden",
|
9924
|
-
children:
|
9924
|
+
children: JSCompiler_object_inline_stack_2447.children
|
9925
9925
|
}
|
9926
9926
|
)),
|
9927
|
-
(
|
9927
|
+
(JSCompiler_object_inline_stack_2447.subtreeFlags =
|
9928
9928
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9929
9929
|
null !== instance
|
9930
|
-
? (
|
9930
|
+
? (JSCompiler_object_inline_componentStack_2448 =
|
9931
9931
|
createWorkInProgress(
|
9932
9932
|
instance,
|
9933
|
-
|
9933
|
+
JSCompiler_object_inline_componentStack_2448
|
9934
9934
|
))
|
9935
|
-
: ((
|
9935
|
+
: ((JSCompiler_object_inline_componentStack_2448 =
|
9936
9936
|
createFiberFromFragment(
|
9937
|
-
|
9938
|
-
|
9937
|
+
JSCompiler_object_inline_componentStack_2448,
|
9938
|
+
JSCompiler_object_inline_message_2445,
|
9939
9939
|
renderLanes,
|
9940
9940
|
null
|
9941
9941
|
)),
|
9942
|
-
(
|
9943
|
-
(
|
9942
|
+
(JSCompiler_object_inline_componentStack_2448.flags |= 2)),
|
9943
|
+
(JSCompiler_object_inline_componentStack_2448.return =
|
9944
9944
|
workInProgress),
|
9945
|
-
(
|
9946
|
-
(
|
9947
|
-
|
9948
|
-
(workInProgress.child =
|
9949
|
-
(
|
9950
|
-
|
9951
|
-
(
|
9952
|
-
(
|
9953
|
-
null ===
|
9954
|
-
? (
|
9945
|
+
(JSCompiler_object_inline_stack_2447.return = workInProgress),
|
9946
|
+
(JSCompiler_object_inline_stack_2447.sibling =
|
9947
|
+
JSCompiler_object_inline_componentStack_2448),
|
9948
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2447),
|
9949
|
+
(JSCompiler_object_inline_stack_2447 =
|
9950
|
+
JSCompiler_object_inline_componentStack_2448),
|
9951
|
+
(JSCompiler_object_inline_componentStack_2448 = workInProgress.child),
|
9952
|
+
(JSCompiler_object_inline_message_2445 = current.child.memoizedState),
|
9953
|
+
null === JSCompiler_object_inline_message_2445
|
9954
|
+
? (JSCompiler_object_inline_message_2445 =
|
9955
9955
|
mountSuspenseOffscreenState(renderLanes))
|
9956
9956
|
: ((JSCompiler_temp =
|
9957
|
-
|
9957
|
+
JSCompiler_object_inline_message_2445.cachePool),
|
9958
9958
|
null !== JSCompiler_temp
|
9959
9959
|
? ((instance = CacheContext._currentValue),
|
9960
9960
|
(JSCompiler_temp =
|
@@ -9962,37 +9962,37 @@
|
|
9962
9962
|
? { parent: instance, pool: instance }
|
9963
9963
|
: JSCompiler_temp))
|
9964
9964
|
: (JSCompiler_temp = getSuspendedCache()),
|
9965
|
-
(
|
9965
|
+
(JSCompiler_object_inline_message_2445 = {
|
9966
9966
|
baseLanes:
|
9967
|
-
|
9967
|
+
JSCompiler_object_inline_message_2445.baseLanes | renderLanes,
|
9968
9968
|
cachePool: JSCompiler_temp
|
9969
9969
|
})),
|
9970
|
-
(
|
9971
|
-
|
9972
|
-
(
|
9970
|
+
(JSCompiler_object_inline_componentStack_2448.memoizedState =
|
9971
|
+
JSCompiler_object_inline_message_2445),
|
9972
|
+
(JSCompiler_object_inline_componentStack_2448.childLanes =
|
9973
9973
|
getRemainingWorkInPrimaryTree(
|
9974
9974
|
current,
|
9975
|
-
|
9975
|
+
JSCompiler_object_inline_digest_2446,
|
9976
9976
|
renderLanes
|
9977
9977
|
)),
|
9978
9978
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9979
|
-
|
9979
|
+
JSCompiler_object_inline_stack_2447
|
9980
9980
|
);
|
9981
9981
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9982
9982
|
renderLanes = current.child;
|
9983
9983
|
current = renderLanes.sibling;
|
9984
9984
|
renderLanes = createWorkInProgress(renderLanes, {
|
9985
9985
|
mode: "visible",
|
9986
|
-
children:
|
9986
|
+
children: JSCompiler_object_inline_stack_2447.children
|
9987
9987
|
});
|
9988
9988
|
renderLanes.return = workInProgress;
|
9989
9989
|
renderLanes.sibling = null;
|
9990
9990
|
null !== current &&
|
9991
|
-
((
|
9992
|
-
null ===
|
9991
|
+
((JSCompiler_object_inline_digest_2446 = workInProgress.deletions),
|
9992
|
+
null === JSCompiler_object_inline_digest_2446
|
9993
9993
|
? ((workInProgress.deletions = [current]),
|
9994
9994
|
(workInProgress.flags |= 16))
|
9995
|
-
:
|
9995
|
+
: JSCompiler_object_inline_digest_2446.push(current));
|
9996
9996
|
workInProgress.child = renderLanes;
|
9997
9997
|
workInProgress.memoizedState = null;
|
9998
9998
|
return renderLanes;
|
@@ -11093,32 +11093,42 @@
|
|
11093
11093
|
function markUpdate(workInProgress) {
|
11094
11094
|
workInProgress.flags |= 4;
|
11095
11095
|
}
|
11096
|
+
function preloadInstanceAndSuspendIfNeeded(
|
11097
|
+
workInProgress,
|
11098
|
+
type,
|
11099
|
+
oldProps,
|
11100
|
+
newProps,
|
11101
|
+
renderLanes
|
11102
|
+
) {
|
11103
|
+
if ((type = (workInProgress.mode & SuspenseyImagesMode) !== NoMode))
|
11104
|
+
type = !1;
|
11105
|
+
if (type) {
|
11106
|
+
if (
|
11107
|
+
((workInProgress.flags |= 16777216),
|
11108
|
+
(renderLanes & 335544128) === renderLanes)
|
11109
|
+
)
|
11110
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
11111
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11112
|
+
else
|
11113
|
+
throw (
|
11114
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
11115
|
+
SuspenseyCommitException)
|
11116
|
+
);
|
11117
|
+
} else workInProgress.flags &= -16777217;
|
11118
|
+
}
|
11096
11119
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
11097
11120
|
if (
|
11098
11121
|
"stylesheet" !== resource.type ||
|
11099
11122
|
(resource.state.loading & Inserted) !== NotLoaded
|
11100
11123
|
)
|
11101
11124
|
workInProgress.flags &= -16777217;
|
11102
|
-
else if (
|
11103
|
-
((workInProgress.flags |=
|
11104
|
-
|
11105
|
-
resource = suspenseHandlerStackCursor.current;
|
11106
|
-
if (
|
11107
|
-
null !== resource &&
|
11108
|
-
((workInProgressRootRenderLanes & 4194048) ===
|
11109
|
-
workInProgressRootRenderLanes
|
11110
|
-
? null !== shellBoundary
|
11111
|
-
: ((workInProgressRootRenderLanes & 62914560) !==
|
11112
|
-
workInProgressRootRenderLanes &&
|
11113
|
-
0 === (workInProgressRootRenderLanes & 536870912)) ||
|
11114
|
-
resource !== shellBoundary)
|
11115
|
-
)
|
11125
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
11126
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11127
|
+
else
|
11116
11128
|
throw (
|
11117
11129
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
11118
11130
|
SuspenseyCommitException)
|
11119
11131
|
);
|
11120
|
-
workInProgress.flags |= 8192;
|
11121
|
-
}
|
11122
11132
|
}
|
11123
11133
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
11124
11134
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -11252,38 +11262,49 @@
|
|
11252
11262
|
bubbleProperties(workInProgress);
|
11253
11263
|
return null;
|
11254
11264
|
case 26:
|
11255
|
-
|
11256
|
-
|
11257
|
-
|
11258
|
-
|
11259
|
-
|
11260
|
-
|
11261
|
-
|
11262
|
-
|
11263
|
-
|
11264
|
-
|
11265
|
-
|
11266
|
-
|
11267
|
-
|
11268
|
-
|
11269
|
-
|
11270
|
-
|
11271
|
-
|
11272
|
-
|
11273
|
-
|
11274
|
-
|
11275
|
-
|
11276
|
-
(workInProgress.flags &= -16777217))
|
11277
|
-
: (current.memoizedProps !== newProps &&
|
11278
|
-
markUpdate(workInProgress),
|
11265
|
+
var type = workInProgress.type,
|
11266
|
+
nextResource = workInProgress.memoizedState;
|
11267
|
+
null === current
|
11268
|
+
? (markUpdate(workInProgress),
|
11269
|
+
null !== nextResource
|
11270
|
+
? (bubbleProperties(workInProgress),
|
11271
|
+
preloadResourceAndSuspendIfNeeded(
|
11272
|
+
workInProgress,
|
11273
|
+
nextResource
|
11274
|
+
))
|
11275
|
+
: (bubbleProperties(workInProgress),
|
11276
|
+
preloadInstanceAndSuspendIfNeeded(
|
11277
|
+
workInProgress,
|
11278
|
+
type,
|
11279
|
+
null,
|
11280
|
+
newProps,
|
11281
|
+
renderLanes
|
11282
|
+
)))
|
11283
|
+
: nextResource
|
11284
|
+
? nextResource !== current.memoizedState
|
11285
|
+
? (markUpdate(workInProgress),
|
11279
11286
|
bubbleProperties(workInProgress),
|
11280
|
-
(
|
11281
|
-
|
11282
|
-
|
11287
|
+
preloadResourceAndSuspendIfNeeded(
|
11288
|
+
workInProgress,
|
11289
|
+
nextResource
|
11290
|
+
))
|
11291
|
+
: (bubbleProperties(workInProgress),
|
11292
|
+
(workInProgress.flags &= -16777217))
|
11293
|
+
: ((current = current.memoizedProps),
|
11294
|
+
current !== newProps && markUpdate(workInProgress),
|
11295
|
+
bubbleProperties(workInProgress),
|
11296
|
+
preloadInstanceAndSuspendIfNeeded(
|
11297
|
+
workInProgress,
|
11298
|
+
type,
|
11299
|
+
current,
|
11300
|
+
newProps,
|
11301
|
+
renderLanes
|
11302
|
+
));
|
11303
|
+
return null;
|
11283
11304
|
case 27:
|
11284
11305
|
popHostContext(workInProgress);
|
11285
11306
|
renderLanes = requiredContext(rootInstanceStackCursor.current);
|
11286
|
-
|
11307
|
+
type = workInProgress.type;
|
11287
11308
|
if (null !== current && null != workInProgress.stateNode)
|
11288
11309
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11289
11310
|
else {
|
@@ -11299,7 +11320,7 @@
|
|
11299
11320
|
popHydrationState(workInProgress)
|
11300
11321
|
? prepareToHydrateHostInstance(workInProgress, current)
|
11301
11322
|
: ((current = resolveSingletonInstance(
|
11302
|
-
|
11323
|
+
type,
|
11303
11324
|
newProps,
|
11304
11325
|
renderLanes,
|
11305
11326
|
current,
|
@@ -11312,7 +11333,7 @@
|
|
11312
11333
|
return null;
|
11313
11334
|
case 5:
|
11314
11335
|
popHostContext(workInProgress);
|
11315
|
-
|
11336
|
+
type = workInProgress.type;
|
11316
11337
|
if (null !== current && null != workInProgress.stateNode)
|
11317
11338
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11318
11339
|
else {
|
@@ -11324,123 +11345,142 @@
|
|
11324
11345
|
bubbleProperties(workInProgress);
|
11325
11346
|
return null;
|
11326
11347
|
}
|
11327
|
-
|
11348
|
+
var _currentHostContext = getHostContext();
|
11328
11349
|
if (popHydrationState(workInProgress))
|
11329
|
-
prepareToHydrateHostInstance(workInProgress,
|
11350
|
+
prepareToHydrateHostInstance(workInProgress, _currentHostContext);
|
11330
11351
|
else {
|
11331
|
-
|
11332
|
-
validateDOMNesting(
|
11333
|
-
|
11334
|
-
|
11335
|
-
switch (
|
11352
|
+
nextResource = requiredContext(rootInstanceStackCursor.current);
|
11353
|
+
validateDOMNesting(type, _currentHostContext.ancestorInfo);
|
11354
|
+
_currentHostContext = _currentHostContext.context;
|
11355
|
+
nextResource = getOwnerDocumentFromRootContainer(nextResource);
|
11356
|
+
switch (_currentHostContext) {
|
11336
11357
|
case HostContextNamespaceSvg:
|
11337
|
-
|
11358
|
+
nextResource = nextResource.createElementNS(
|
11359
|
+
SVG_NAMESPACE,
|
11360
|
+
type
|
11361
|
+
);
|
11338
11362
|
break;
|
11339
11363
|
case HostContextNamespaceMath:
|
11340
|
-
|
11364
|
+
nextResource = nextResource.createElementNS(
|
11341
11365
|
MATH_NAMESPACE,
|
11342
|
-
|
11366
|
+
type
|
11343
11367
|
);
|
11344
11368
|
break;
|
11345
11369
|
default:
|
11346
|
-
switch (
|
11370
|
+
switch (type) {
|
11347
11371
|
case "svg":
|
11348
|
-
|
11372
|
+
nextResource = nextResource.createElementNS(
|
11349
11373
|
SVG_NAMESPACE,
|
11350
|
-
|
11374
|
+
type
|
11351
11375
|
);
|
11352
11376
|
break;
|
11353
11377
|
case "math":
|
11354
|
-
|
11378
|
+
nextResource = nextResource.createElementNS(
|
11355
11379
|
MATH_NAMESPACE,
|
11356
|
-
|
11380
|
+
type
|
11357
11381
|
);
|
11358
11382
|
break;
|
11359
11383
|
case "script":
|
11360
|
-
|
11361
|
-
|
11362
|
-
|
11384
|
+
nextResource = nextResource.createElement("div");
|
11385
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
11386
|
+
nextResource = nextResource.removeChild(
|
11387
|
+
nextResource.firstChild
|
11388
|
+
);
|
11363
11389
|
break;
|
11364
11390
|
case "select":
|
11365
|
-
|
11391
|
+
nextResource =
|
11366
11392
|
"string" === typeof newProps.is
|
11367
|
-
?
|
11368
|
-
|
11393
|
+
? nextResource.createElement("select", {
|
11394
|
+
is: newProps.is
|
11395
|
+
})
|
11396
|
+
: nextResource.createElement("select");
|
11369
11397
|
newProps.multiple
|
11370
|
-
? (
|
11371
|
-
: newProps.size && (
|
11398
|
+
? (nextResource.multiple = !0)
|
11399
|
+
: newProps.size && (nextResource.size = newProps.size);
|
11372
11400
|
break;
|
11373
11401
|
default:
|
11374
|
-
(
|
11402
|
+
(nextResource =
|
11375
11403
|
"string" === typeof newProps.is
|
11376
|
-
?
|
11404
|
+
? nextResource.createElement(type, {
|
11377
11405
|
is: newProps.is
|
11378
11406
|
})
|
11379
|
-
:
|
11380
|
-
-1 ===
|
11381
|
-
(
|
11407
|
+
: nextResource.createElement(type)),
|
11408
|
+
-1 === type.indexOf("-") &&
|
11409
|
+
(type !== type.toLowerCase() &&
|
11382
11410
|
console.error(
|
11383
11411
|
"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
|
11384
|
-
|
11412
|
+
type
|
11385
11413
|
),
|
11386
11414
|
"[object HTMLUnknownElement]" !==
|
11387
|
-
Object.prototype.toString.call(
|
11388
|
-
hasOwnProperty.call(
|
11389
|
-
|
11390
|
-
renderLanes
|
11391
|
-
) ||
|
11392
|
-
((warnedUnknownTags[renderLanes] = !0),
|
11415
|
+
Object.prototype.toString.call(nextResource) ||
|
11416
|
+
hasOwnProperty.call(warnedUnknownTags, type) ||
|
11417
|
+
((warnedUnknownTags[type] = !0),
|
11393
11418
|
console.error(
|
11394
11419
|
"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
|
11395
|
-
|
11420
|
+
type
|
11396
11421
|
)));
|
11397
11422
|
}
|
11398
11423
|
}
|
11399
|
-
|
11400
|
-
|
11401
|
-
a: for (
|
11402
|
-
|
11403
|
-
|
11424
|
+
nextResource[internalInstanceKey] = workInProgress;
|
11425
|
+
nextResource[internalPropsKey] = newProps;
|
11426
|
+
a: for (
|
11427
|
+
_currentHostContext = workInProgress.child;
|
11428
|
+
null !== _currentHostContext;
|
11429
|
+
|
11430
|
+
) {
|
11431
|
+
if (
|
11432
|
+
5 === _currentHostContext.tag ||
|
11433
|
+
6 === _currentHostContext.tag
|
11434
|
+
)
|
11435
|
+
nextResource.appendChild(_currentHostContext.stateNode);
|
11404
11436
|
else if (
|
11405
|
-
4 !==
|
11406
|
-
27 !==
|
11407
|
-
null !==
|
11437
|
+
4 !== _currentHostContext.tag &&
|
11438
|
+
27 !== _currentHostContext.tag &&
|
11439
|
+
null !== _currentHostContext.child
|
11408
11440
|
) {
|
11409
|
-
|
11410
|
-
|
11441
|
+
_currentHostContext.child.return = _currentHostContext;
|
11442
|
+
_currentHostContext = _currentHostContext.child;
|
11411
11443
|
continue;
|
11412
11444
|
}
|
11413
|
-
if (
|
11414
|
-
for (; null ===
|
11415
|
-
if (
|
11445
|
+
if (_currentHostContext === workInProgress) break a;
|
11446
|
+
for (; null === _currentHostContext.sibling; ) {
|
11447
|
+
if (
|
11448
|
+
null === _currentHostContext.return ||
|
11449
|
+
_currentHostContext.return === workInProgress
|
11450
|
+
)
|
11416
11451
|
break a;
|
11417
|
-
|
11452
|
+
_currentHostContext = _currentHostContext.return;
|
11418
11453
|
}
|
11419
|
-
|
11420
|
-
|
11454
|
+
_currentHostContext.sibling.return = _currentHostContext.return;
|
11455
|
+
_currentHostContext = _currentHostContext.sibling;
|
11421
11456
|
}
|
11422
|
-
workInProgress.stateNode =
|
11457
|
+
workInProgress.stateNode = nextResource;
|
11423
11458
|
a: switch (
|
11424
|
-
(setInitialProperties(
|
11425
|
-
renderLanes)
|
11459
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
11426
11460
|
) {
|
11427
11461
|
case "button":
|
11428
11462
|
case "input":
|
11429
11463
|
case "select":
|
11430
11464
|
case "textarea":
|
11431
|
-
|
11465
|
+
newProps = !!newProps.autoFocus;
|
11432
11466
|
break a;
|
11433
11467
|
case "img":
|
11434
|
-
|
11468
|
+
newProps = !0;
|
11435
11469
|
break a;
|
11436
11470
|
default:
|
11437
|
-
|
11471
|
+
newProps = !1;
|
11438
11472
|
}
|
11439
|
-
|
11473
|
+
newProps && markUpdate(workInProgress);
|
11440
11474
|
}
|
11441
11475
|
}
|
11442
11476
|
bubbleProperties(workInProgress);
|
11443
|
-
|
11477
|
+
preloadInstanceAndSuspendIfNeeded(
|
11478
|
+
workInProgress,
|
11479
|
+
workInProgress.type,
|
11480
|
+
null === current ? null : current.memoizedProps,
|
11481
|
+
workInProgress.pendingProps,
|
11482
|
+
renderLanes
|
11483
|
+
);
|
11444
11484
|
return null;
|
11445
11485
|
case 6:
|
11446
11486
|
if (current && null != workInProgress.stateNode)
|
@@ -11458,36 +11498,36 @@
|
|
11458
11498
|
if (popHydrationState(workInProgress)) {
|
11459
11499
|
current = workInProgress.stateNode;
|
11460
11500
|
renderLanes = workInProgress.memoizedProps;
|
11461
|
-
|
11501
|
+
type = !didSuspendOrErrorDEV;
|
11462
11502
|
newProps = null;
|
11463
|
-
|
11464
|
-
if (null !==
|
11465
|
-
switch (
|
11503
|
+
nextResource = hydrationParentFiber;
|
11504
|
+
if (null !== nextResource)
|
11505
|
+
switch (nextResource.tag) {
|
11466
11506
|
case 3:
|
11467
|
-
|
11468
|
-
((
|
11507
|
+
type &&
|
11508
|
+
((type = diffHydratedTextForDevWarnings(
|
11469
11509
|
current,
|
11470
11510
|
renderLanes,
|
11471
11511
|
newProps
|
11472
11512
|
)),
|
11473
|
-
null !==
|
11513
|
+
null !== type &&
|
11474
11514
|
(buildHydrationDiffNode(workInProgress, 0).serverProps =
|
11475
|
-
|
11515
|
+
type));
|
11476
11516
|
break;
|
11477
11517
|
case 27:
|
11478
11518
|
case 5:
|
11479
|
-
(newProps =
|
11480
|
-
|
11481
|
-
((
|
11519
|
+
(newProps = nextResource.memoizedProps),
|
11520
|
+
type &&
|
11521
|
+
((type = diffHydratedTextForDevWarnings(
|
11482
11522
|
current,
|
11483
11523
|
renderLanes,
|
11484
11524
|
newProps
|
11485
11525
|
)),
|
11486
|
-
null !==
|
11526
|
+
null !== type &&
|
11487
11527
|
(buildHydrationDiffNode(
|
11488
11528
|
workInProgress,
|
11489
11529
|
0
|
11490
|
-
).serverProps =
|
11530
|
+
).serverProps = type));
|
11491
11531
|
}
|
11492
11532
|
current[internalInstanceKey] = workInProgress;
|
11493
11533
|
current =
|
@@ -11499,11 +11539,11 @@
|
|
11499
11539
|
: !1;
|
11500
11540
|
current || throwOnHydrationMismatch(workInProgress, !0);
|
11501
11541
|
} else
|
11502
|
-
(
|
11503
|
-
null !=
|
11542
|
+
(type = renderLanes.ancestorInfo.current),
|
11543
|
+
null != type &&
|
11504
11544
|
validateTextNesting(
|
11505
11545
|
newProps,
|
11506
|
-
|
11546
|
+
type.tag,
|
11507
11547
|
renderLanes.ancestorInfo.implicitRootScope
|
11508
11548
|
),
|
11509
11549
|
(current =
|
@@ -11522,27 +11562,26 @@
|
|
11522
11562
|
(null !== current.memoizedState &&
|
11523
11563
|
null !== current.memoizedState.dehydrated)
|
11524
11564
|
) {
|
11525
|
-
|
11565
|
+
type = popHydrationState(workInProgress);
|
11526
11566
|
if (null !== newProps && null !== newProps.dehydrated) {
|
11527
11567
|
if (null === current) {
|
11528
|
-
if (!
|
11568
|
+
if (!type)
|
11529
11569
|
throw Error(
|
11530
11570
|
"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
|
11531
11571
|
);
|
11532
|
-
|
11533
|
-
|
11534
|
-
if (!
|
11572
|
+
type = workInProgress.memoizedState;
|
11573
|
+
type = null !== type ? type.dehydrated : null;
|
11574
|
+
if (!type)
|
11535
11575
|
throw Error(
|
11536
11576
|
"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
|
11537
11577
|
);
|
11538
|
-
|
11578
|
+
type[internalInstanceKey] = workInProgress;
|
11539
11579
|
bubbleProperties(workInProgress);
|
11540
11580
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11541
11581
|
null !== newProps &&
|
11542
|
-
((
|
11543
|
-
null !==
|
11544
|
-
(workInProgress.treeBaseDuration -=
|
11545
|
-
_type.treeBaseDuration));
|
11582
|
+
((type = workInProgress.child),
|
11583
|
+
null !== type &&
|
11584
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
11546
11585
|
} else
|
11547
11586
|
emitPendingHydrationWarnings(),
|
11548
11587
|
resetHydrationState(),
|
@@ -11552,18 +11591,18 @@
|
|
11552
11591
|
bubbleProperties(workInProgress),
|
11553
11592
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11554
11593
|
null !== newProps &&
|
11555
|
-
((
|
11556
|
-
null !==
|
11594
|
+
((type = workInProgress.child),
|
11595
|
+
null !== type &&
|
11557
11596
|
(workInProgress.treeBaseDuration -=
|
11558
|
-
|
11559
|
-
|
11597
|
+
type.treeBaseDuration));
|
11598
|
+
type = !1;
|
11560
11599
|
} else
|
11561
|
-
(
|
11600
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
11562
11601
|
null !== current &&
|
11563
11602
|
null !== current.memoizedState &&
|
11564
|
-
(current.memoizedState.hydrationErrors =
|
11565
|
-
(
|
11566
|
-
if (!
|
11603
|
+
(current.memoizedState.hydrationErrors = type),
|
11604
|
+
(type = !0);
|
11605
|
+
if (!type) {
|
11567
11606
|
if (workInProgress.flags & 256)
|
11568
11607
|
return popSuspenseHandler(workInProgress), workInProgress;
|
11569
11608
|
popSuspenseHandler(workInProgress);
|
@@ -11582,16 +11621,16 @@
|
|
11582
11621
|
current = null !== current && null !== current.memoizedState;
|
11583
11622
|
renderLanes &&
|
11584
11623
|
((newProps = workInProgress.child),
|
11585
|
-
(
|
11624
|
+
(type = null),
|
11586
11625
|
null !== newProps.alternate &&
|
11587
11626
|
null !== newProps.alternate.memoizedState &&
|
11588
11627
|
null !== newProps.alternate.memoizedState.cachePool &&
|
11589
|
-
(
|
11590
|
-
(
|
11628
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
11629
|
+
(nextResource = null),
|
11591
11630
|
null !== newProps.memoizedState &&
|
11592
11631
|
null !== newProps.memoizedState.cachePool &&
|
11593
|
-
(
|
11594
|
-
|
11632
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
11633
|
+
nextResource !== type && (newProps.flags |= 2048));
|
11595
11634
|
renderLanes !== current &&
|
11596
11635
|
renderLanes &&
|
11597
11636
|
(workInProgress.child.flags |= 8192);
|
@@ -11621,23 +11660,23 @@
|
|
11621
11660
|
);
|
11622
11661
|
case 19:
|
11623
11662
|
pop(suspenseStackCursor, workInProgress);
|
11624
|
-
|
11625
|
-
if (null ===
|
11663
|
+
type = workInProgress.memoizedState;
|
11664
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
11626
11665
|
newProps = 0 !== (workInProgress.flags & 128);
|
11627
|
-
|
11628
|
-
if (null ===
|
11629
|
-
if (newProps) cutOffTailIfNeeded(
|
11666
|
+
nextResource = type.rendering;
|
11667
|
+
if (null === nextResource)
|
11668
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
11630
11669
|
else {
|
11631
11670
|
if (
|
11632
11671
|
workInProgressRootExitStatus !== RootInProgress ||
|
11633
11672
|
(null !== current && 0 !== (current.flags & 128))
|
11634
11673
|
)
|
11635
11674
|
for (current = workInProgress.child; null !== current; ) {
|
11636
|
-
|
11637
|
-
if (null !==
|
11675
|
+
nextResource = findFirstSuspended(current);
|
11676
|
+
if (null !== nextResource) {
|
11638
11677
|
workInProgress.flags |= 128;
|
11639
|
-
cutOffTailIfNeeded(
|
11640
|
-
current =
|
11678
|
+
cutOffTailIfNeeded(type, !1);
|
11679
|
+
current = nextResource.updateQueue;
|
11641
11680
|
workInProgress.updateQueue = current;
|
11642
11681
|
scheduleRetryEffect(workInProgress, current);
|
11643
11682
|
workInProgress.subtreeFlags = 0;
|
@@ -11660,17 +11699,17 @@
|
|
11660
11699
|
}
|
11661
11700
|
current = current.sibling;
|
11662
11701
|
}
|
11663
|
-
null !==
|
11702
|
+
null !== type.tail &&
|
11664
11703
|
now$1() > workInProgressRootRenderTargetTime &&
|
11665
11704
|
((workInProgress.flags |= 128),
|
11666
11705
|
(newProps = !0),
|
11667
|
-
cutOffTailIfNeeded(
|
11706
|
+
cutOffTailIfNeeded(type, !1),
|
11668
11707
|
(workInProgress.lanes = 4194304));
|
11669
11708
|
}
|
11670
11709
|
else {
|
11671
11710
|
if (!newProps)
|
11672
11711
|
if (
|
11673
|
-
((current = findFirstSuspended(
|
11712
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
11674
11713
|
) {
|
11675
11714
|
if (
|
11676
11715
|
((workInProgress.flags |= 128),
|
@@ -11678,36 +11717,36 @@
|
|
11678
11717
|
(current = current.updateQueue),
|
11679
11718
|
(workInProgress.updateQueue = current),
|
11680
11719
|
scheduleRetryEffect(workInProgress, current),
|
11681
|
-
cutOffTailIfNeeded(
|
11682
|
-
null ===
|
11683
|
-
"hidden" ===
|
11684
|
-
!
|
11720
|
+
cutOffTailIfNeeded(type, !0),
|
11721
|
+
null === type.tail &&
|
11722
|
+
"hidden" === type.tailMode &&
|
11723
|
+
!nextResource.alternate &&
|
11685
11724
|
!isHydrating)
|
11686
11725
|
)
|
11687
11726
|
return bubbleProperties(workInProgress), null;
|
11688
11727
|
} else
|
11689
|
-
2 * now$1() -
|
11728
|
+
2 * now$1() - type.renderingStartTime >
|
11690
11729
|
workInProgressRootRenderTargetTime &&
|
11691
11730
|
536870912 !== renderLanes &&
|
11692
11731
|
((workInProgress.flags |= 128),
|
11693
11732
|
(newProps = !0),
|
11694
|
-
cutOffTailIfNeeded(
|
11733
|
+
cutOffTailIfNeeded(type, !1),
|
11695
11734
|
(workInProgress.lanes = 4194304));
|
11696
|
-
|
11697
|
-
? ((
|
11698
|
-
(workInProgress.child =
|
11699
|
-
: ((current =
|
11735
|
+
type.isBackwards
|
11736
|
+
? ((nextResource.sibling = workInProgress.child),
|
11737
|
+
(workInProgress.child = nextResource))
|
11738
|
+
: ((current = type.last),
|
11700
11739
|
null !== current
|
11701
|
-
? (current.sibling =
|
11702
|
-
: (workInProgress.child =
|
11703
|
-
(
|
11740
|
+
? (current.sibling = nextResource)
|
11741
|
+
: (workInProgress.child = nextResource),
|
11742
|
+
(type.last = nextResource));
|
11704
11743
|
}
|
11705
|
-
if (null !==
|
11744
|
+
if (null !== type.tail)
|
11706
11745
|
return (
|
11707
|
-
(current =
|
11708
|
-
(
|
11709
|
-
(
|
11710
|
-
(
|
11746
|
+
(current = type.tail),
|
11747
|
+
(type.rendering = current),
|
11748
|
+
(type.tail = current.sibling),
|
11749
|
+
(type.renderingStartTime = now$1()),
|
11711
11750
|
(current.sibling = null),
|
11712
11751
|
(renderLanes = suspenseStackCursor.current),
|
11713
11752
|
(renderLanes = newProps
|
@@ -14914,6 +14953,21 @@
|
|
14914
14953
|
);
|
14915
14954
|
}
|
14916
14955
|
}
|
14956
|
+
function shouldRemainOnPreviousScreen() {
|
14957
|
+
var handler = suspenseHandlerStackCursor.current;
|
14958
|
+
return null === handler
|
14959
|
+
? !0
|
14960
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
14961
|
+
workInProgressRootRenderLanes
|
14962
|
+
? null === shellBoundary
|
14963
|
+
? !0
|
14964
|
+
: !1
|
14965
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
14966
|
+
workInProgressRootRenderLanes ||
|
14967
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
14968
|
+
? handler === shellBoundary
|
14969
|
+
: !1;
|
14970
|
+
}
|
14917
14971
|
function pushDispatcher() {
|
14918
14972
|
var prevDispatcher = ReactSharedInternals.H;
|
14919
14973
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -22597,7 +22651,8 @@
|
|
22597
22651
|
ProfileMode = 2,
|
22598
22652
|
StrictLegacyMode = 8,
|
22599
22653
|
StrictEffectsMode = 16,
|
22600
|
-
NoStrictPassiveEffectsMode = 64
|
22654
|
+
NoStrictPassiveEffectsMode = 64,
|
22655
|
+
SuspenseyImagesMode = 32;
|
22601
22656
|
var hasBadMapPolyfill = !1;
|
22602
22657
|
try {
|
22603
22658
|
var nonExtensibleObject = Object.preventExtensions({});
|
@@ -24893,11 +24948,11 @@
|
|
24893
24948
|
};
|
24894
24949
|
(function () {
|
24895
24950
|
var isomorphicReactPackageVersion = React.version;
|
24896
|
-
if ("19.2.0-canary-
|
24951
|
+
if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
|
24897
24952
|
throw Error(
|
24898
24953
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24899
24954
|
(isomorphicReactPackageVersion +
|
24900
|
-
"\n - react-dom: 19.2.0-canary-
|
24955
|
+
"\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
|
24901
24956
|
);
|
24902
24957
|
})();
|
24903
24958
|
("function" === typeof Map &&
|
@@ -24934,10 +24989,10 @@
|
|
24934
24989
|
!(function () {
|
24935
24990
|
var internals = {
|
24936
24991
|
bundleType: 1,
|
24937
|
-
version: "19.2.0-canary-
|
24992
|
+
version: "19.2.0-canary-3fbfb9ba-20250409",
|
24938
24993
|
rendererPackageName: "react-dom",
|
24939
24994
|
currentDispatcherRef: ReactSharedInternals,
|
24940
|
-
reconcilerVersion: "19.2.0-canary-
|
24995
|
+
reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
|
24941
24996
|
};
|
24942
24997
|
internals.overrideHookState = overrideHookState;
|
24943
24998
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25081,7 +25136,7 @@
|
|
25081
25136
|
listenToAllSupportedEvents(container);
|
25082
25137
|
return new ReactDOMHydrationRoot(initialChildren);
|
25083
25138
|
};
|
25084
|
-
exports.version = "19.2.0-canary-
|
25139
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
25085
25140
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25086
25141
|
"function" ===
|
25087
25142
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|