react-dom 19.2.0-canary-b9cfa0d3-20250505 → 19.2.0-canary-0ff1d13b-20250507
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 +206 -176
- package/cjs/react-dom-client.production.js +94 -91
- package/cjs/react-dom-profiling.development.js +206 -176
- package/cjs/react-dom-profiling.profiling.js +94 -91
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -1584,14 +1584,11 @@
|
|
1584
1584
|
("checkbox" === type || "radio" === type)
|
1585
1585
|
);
|
1586
1586
|
}
|
1587
|
-
function trackValueOnNode(node) {
|
1588
|
-
var
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
);
|
1593
|
-
checkFormFieldValueStringCoercion(node[valueField]);
|
1594
|
-
var currentValue = "" + node[valueField];
|
1587
|
+
function trackValueOnNode(node, valueField, currentValue) {
|
1588
|
+
var descriptor = Object.getOwnPropertyDescriptor(
|
1589
|
+
node.constructor.prototype,
|
1590
|
+
valueField
|
1591
|
+
);
|
1595
1592
|
if (
|
1596
1593
|
!node.hasOwnProperty(valueField) &&
|
1597
1594
|
"undefined" !== typeof descriptor &&
|
@@ -1630,7 +1627,14 @@
|
|
1630
1627
|
}
|
1631
1628
|
}
|
1632
1629
|
function track(node) {
|
1633
|
-
|
1630
|
+
if (!node._valueTracker) {
|
1631
|
+
var valueField = isCheckable(node) ? "checked" : "value";
|
1632
|
+
node._valueTracker = trackValueOnNode(
|
1633
|
+
node,
|
1634
|
+
valueField,
|
1635
|
+
"" + node[valueField]
|
1636
|
+
);
|
1637
|
+
}
|
1634
1638
|
}
|
1635
1639
|
function updateValueIfChanged(node) {
|
1636
1640
|
if (!node) return !1;
|
@@ -1753,8 +1757,10 @@
|
|
1753
1757
|
("submit" !== type && "reset" !== type) ||
|
1754
1758
|
(void 0 !== value && null !== value)
|
1755
1759
|
)
|
1756
|
-
)
|
1760
|
+
) {
|
1761
|
+
track(element);
|
1757
1762
|
return;
|
1763
|
+
}
|
1758
1764
|
defaultValue =
|
1759
1765
|
null != defaultValue ? "" + getToStringValue(defaultValue) : "";
|
1760
1766
|
value = null != value ? "" + getToStringValue(value) : defaultValue;
|
@@ -1773,6 +1779,7 @@
|
|
1773
1779
|
"symbol" !== typeof name &&
|
1774
1780
|
"boolean" !== typeof name &&
|
1775
1781
|
(checkAttributeStringCoercion(name, "name"), (element.name = name));
|
1782
|
+
track(element);
|
1776
1783
|
}
|
1777
1784
|
function setDefaultValue(node, type, value) {
|
1778
1785
|
("number" === type && getActiveElement(node.ownerDocument) === node) ||
|
@@ -1916,6 +1923,7 @@
|
|
1916
1923
|
"" !== children &&
|
1917
1924
|
null !== children &&
|
1918
1925
|
(element.value = children);
|
1926
|
+
track(element);
|
1919
1927
|
}
|
1920
1928
|
function findNotableNode(node, indent) {
|
1921
1929
|
return void 0 === node.serverProps &&
|
@@ -3793,24 +3801,6 @@
|
|
3793
3801
|
topLevelEventsToReactNames.set(domEventName, reactName);
|
3794
3802
|
registerTwoPhaseEvent(reactName, [domEventName]);
|
3795
3803
|
}
|
3796
|
-
function createCapturedValueAtFiber(value, source) {
|
3797
|
-
if ("object" === typeof value && null !== value) {
|
3798
|
-
var existing = CapturedStacks.get(value);
|
3799
|
-
if (void 0 !== existing) return existing;
|
3800
|
-
source = {
|
3801
|
-
value: value,
|
3802
|
-
source: source,
|
3803
|
-
stack: getStackByFiberInDevAndProd(source)
|
3804
|
-
};
|
3805
|
-
CapturedStacks.set(value, source);
|
3806
|
-
return source;
|
3807
|
-
}
|
3808
|
-
return {
|
3809
|
-
value: value,
|
3810
|
-
source: source,
|
3811
|
-
stack: getStackByFiberInDevAndProd(source)
|
3812
|
-
};
|
3813
|
-
}
|
3814
3804
|
function finishQueueingConcurrentUpdates() {
|
3815
3805
|
for (
|
3816
3806
|
var endIndex = concurrentQueuesIndex,
|
@@ -4344,6 +4334,24 @@
|
|
4344
4334
|
};
|
4345
4335
|
return mode;
|
4346
4336
|
}
|
4337
|
+
function createCapturedValueAtFiber(value, source) {
|
4338
|
+
if ("object" === typeof value && null !== value) {
|
4339
|
+
var existing = CapturedStacks.get(value);
|
4340
|
+
if (void 0 !== existing) return existing;
|
4341
|
+
source = {
|
4342
|
+
value: value,
|
4343
|
+
source: source,
|
4344
|
+
stack: getStackByFiberInDevAndProd(source)
|
4345
|
+
};
|
4346
|
+
CapturedStacks.set(value, source);
|
4347
|
+
return source;
|
4348
|
+
}
|
4349
|
+
return {
|
4350
|
+
value: value,
|
4351
|
+
source: source,
|
4352
|
+
stack: getStackByFiberInDevAndProd(source)
|
4353
|
+
};
|
4354
|
+
}
|
4347
4355
|
function pushTreeFork(workInProgress, totalChildren) {
|
4348
4356
|
warnIfNotHydrating();
|
4349
4357
|
forkStack[forkStackIndex++] = treeForkCount;
|
@@ -4545,7 +4553,6 @@
|
|
4545
4553
|
props.name,
|
4546
4554
|
!0
|
4547
4555
|
);
|
4548
|
-
track(didHydrate);
|
4549
4556
|
break;
|
4550
4557
|
case "option":
|
4551
4558
|
validateOptionProps(didHydrate, props);
|
@@ -4564,8 +4571,7 @@
|
|
4564
4571
|
props.value,
|
4565
4572
|
props.defaultValue,
|
4566
4573
|
props.children
|
4567
|
-
)
|
4568
|
-
track(didHydrate);
|
4574
|
+
);
|
4569
4575
|
}
|
4570
4576
|
type = props.children;
|
4571
4577
|
("string" !== typeof type &&
|
@@ -9687,24 +9693,24 @@
|
|
9687
9693
|
return current;
|
9688
9694
|
}
|
9689
9695
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9690
|
-
var
|
9691
|
-
var
|
9696
|
+
var JSCompiler_object_inline_digest_2546;
|
9697
|
+
var JSCompiler_object_inline_stack_2547 = workInProgress.pendingProps;
|
9692
9698
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9693
|
-
var
|
9699
|
+
var JSCompiler_object_inline_message_2545 = !1;
|
9694
9700
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9695
|
-
(
|
9696
|
-
(
|
9701
|
+
(JSCompiler_object_inline_digest_2546 = didSuspend) ||
|
9702
|
+
(JSCompiler_object_inline_digest_2546 =
|
9697
9703
|
null !== current && null === current.memoizedState
|
9698
9704
|
? !1
|
9699
9705
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9700
|
-
|
9701
|
-
((
|
9706
|
+
JSCompiler_object_inline_digest_2546 &&
|
9707
|
+
((JSCompiler_object_inline_message_2545 = !0),
|
9702
9708
|
(workInProgress.flags &= -129));
|
9703
|
-
|
9709
|
+
JSCompiler_object_inline_digest_2546 = 0 !== (workInProgress.flags & 32);
|
9704
9710
|
workInProgress.flags &= -33;
|
9705
9711
|
if (null === current) {
|
9706
9712
|
if (isHydrating) {
|
9707
|
-
|
9713
|
+
JSCompiler_object_inline_message_2545
|
9708
9714
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9709
9715
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9710
9716
|
(current = nextHydratableInstance)
|
@@ -9717,18 +9723,18 @@
|
|
9717
9723
|
? renderLanes
|
9718
9724
|
: null),
|
9719
9725
|
null !== renderLanes &&
|
9720
|
-
((
|
9726
|
+
((JSCompiler_object_inline_digest_2546 = {
|
9721
9727
|
dehydrated: renderLanes,
|
9722
9728
|
treeContext: getSuspendedTreeContext(),
|
9723
9729
|
retryLane: 536870912,
|
9724
9730
|
hydrationErrors: null
|
9725
9731
|
}),
|
9726
9732
|
(workInProgress.memoizedState =
|
9727
|
-
|
9728
|
-
(
|
9733
|
+
JSCompiler_object_inline_digest_2546),
|
9734
|
+
(JSCompiler_object_inline_digest_2546 =
|
9729
9735
|
createFiberFromDehydratedFragment(renderLanes)),
|
9730
|
-
(
|
9731
|
-
(workInProgress.child =
|
9736
|
+
(JSCompiler_object_inline_digest_2546.return = workInProgress),
|
9737
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2546),
|
9732
9738
|
(hydrationParentFiber = workInProgress),
|
9733
9739
|
(nextHydratableInstance = null)))
|
9734
9740
|
: (renderLanes = null);
|
@@ -9742,36 +9748,36 @@
|
|
9742
9748
|
: (workInProgress.lanes = 536870912);
|
9743
9749
|
return null;
|
9744
9750
|
}
|
9745
|
-
var nextPrimaryChildren =
|
9746
|
-
|
9747
|
-
|
9748
|
-
if (
|
9751
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2547.children;
|
9752
|
+
JSCompiler_object_inline_stack_2547 =
|
9753
|
+
JSCompiler_object_inline_stack_2547.fallback;
|
9754
|
+
if (JSCompiler_object_inline_message_2545) {
|
9749
9755
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9750
9756
|
var mode = workInProgress.mode;
|
9751
9757
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9752
9758
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9753
9759
|
mode
|
9754
9760
|
);
|
9755
|
-
|
9756
|
-
|
9761
|
+
JSCompiler_object_inline_stack_2547 = createFiberFromFragment(
|
9762
|
+
JSCompiler_object_inline_stack_2547,
|
9757
9763
|
mode,
|
9758
9764
|
renderLanes,
|
9759
9765
|
null
|
9760
9766
|
);
|
9761
9767
|
nextPrimaryChildren.return = workInProgress;
|
9762
|
-
|
9763
|
-
nextPrimaryChildren.sibling =
|
9768
|
+
JSCompiler_object_inline_stack_2547.return = workInProgress;
|
9769
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2547;
|
9764
9770
|
workInProgress.child = nextPrimaryChildren;
|
9765
9771
|
nextPrimaryChildren = workInProgress.child;
|
9766
9772
|
nextPrimaryChildren.memoizedState =
|
9767
9773
|
mountSuspenseOffscreenState(renderLanes);
|
9768
9774
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9769
9775
|
current,
|
9770
|
-
|
9776
|
+
JSCompiler_object_inline_digest_2546,
|
9771
9777
|
renderLanes
|
9772
9778
|
);
|
9773
9779
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9774
|
-
return
|
9780
|
+
return JSCompiler_object_inline_stack_2547;
|
9775
9781
|
}
|
9776
9782
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9777
9783
|
return mountSuspensePrimaryChildren(
|
@@ -9781,8 +9787,8 @@
|
|
9781
9787
|
}
|
9782
9788
|
var prevState = current.memoizedState;
|
9783
9789
|
if (null !== prevState) {
|
9784
|
-
var
|
9785
|
-
if (null !==
|
9790
|
+
var JSCompiler_object_inline_componentStack_2548 = prevState.dehydrated;
|
9791
|
+
if (null !== JSCompiler_object_inline_componentStack_2548) {
|
9786
9792
|
if (didSuspend)
|
9787
9793
|
workInProgress.flags & 256
|
9788
9794
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9799,13 +9805,13 @@
|
|
9799
9805
|
(workInProgress = null))
|
9800
9806
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9801
9807
|
(nextPrimaryChildren =
|
9802
|
-
|
9808
|
+
JSCompiler_object_inline_stack_2547.fallback),
|
9803
9809
|
(mode = workInProgress.mode),
|
9804
|
-
(
|
9810
|
+
(JSCompiler_object_inline_stack_2547 =
|
9805
9811
|
mountWorkInProgressOffscreenFiber(
|
9806
9812
|
{
|
9807
9813
|
mode: "visible",
|
9808
|
-
children:
|
9814
|
+
children: JSCompiler_object_inline_stack_2547.children
|
9809
9815
|
},
|
9810
9816
|
mode
|
9811
9817
|
)),
|
@@ -9816,24 +9822,24 @@
|
|
9816
9822
|
null
|
9817
9823
|
)),
|
9818
9824
|
(nextPrimaryChildren.flags |= 2),
|
9819
|
-
(
|
9825
|
+
(JSCompiler_object_inline_stack_2547.return = workInProgress),
|
9820
9826
|
(nextPrimaryChildren.return = workInProgress),
|
9821
|
-
(
|
9827
|
+
(JSCompiler_object_inline_stack_2547.sibling =
|
9822
9828
|
nextPrimaryChildren),
|
9823
|
-
(workInProgress.child =
|
9829
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2547),
|
9824
9830
|
reconcileChildFibers(
|
9825
9831
|
workInProgress,
|
9826
9832
|
current.child,
|
9827
9833
|
null,
|
9828
9834
|
renderLanes
|
9829
9835
|
),
|
9830
|
-
(
|
9831
|
-
(
|
9836
|
+
(JSCompiler_object_inline_stack_2547 = workInProgress.child),
|
9837
|
+
(JSCompiler_object_inline_stack_2547.memoizedState =
|
9832
9838
|
mountSuspenseOffscreenState(renderLanes)),
|
9833
|
-
(
|
9839
|
+
(JSCompiler_object_inline_stack_2547.childLanes =
|
9834
9840
|
getRemainingWorkInPrimaryTree(
|
9835
9841
|
current,
|
9836
|
-
|
9842
|
+
JSCompiler_object_inline_digest_2546,
|
9837
9843
|
renderLanes
|
9838
9844
|
)),
|
9839
9845
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9842,45 +9848,45 @@
|
|
9842
9848
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9843
9849
|
warnIfHydrating(),
|
9844
9850
|
isSuspenseInstanceFallback(
|
9845
|
-
|
9851
|
+
JSCompiler_object_inline_componentStack_2548
|
9846
9852
|
))
|
9847
9853
|
) {
|
9848
|
-
|
9849
|
-
|
9850
|
-
|
9851
|
-
if (
|
9852
|
-
nextPrimaryChildren =
|
9853
|
-
var message =
|
9854
|
-
mode =
|
9855
|
-
var componentStack =
|
9854
|
+
JSCompiler_object_inline_digest_2546 =
|
9855
|
+
JSCompiler_object_inline_componentStack_2548.nextSibling &&
|
9856
|
+
JSCompiler_object_inline_componentStack_2548.nextSibling.dataset;
|
9857
|
+
if (JSCompiler_object_inline_digest_2546) {
|
9858
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2546.dgst;
|
9859
|
+
var message = JSCompiler_object_inline_digest_2546.msg;
|
9860
|
+
mode = JSCompiler_object_inline_digest_2546.stck;
|
9861
|
+
var componentStack = JSCompiler_object_inline_digest_2546.cstck;
|
9856
9862
|
}
|
9857
|
-
|
9858
|
-
|
9859
|
-
|
9860
|
-
|
9861
|
-
nextPrimaryChildren =
|
9862
|
-
mode =
|
9863
|
+
JSCompiler_object_inline_message_2545 = message;
|
9864
|
+
JSCompiler_object_inline_digest_2546 = nextPrimaryChildren;
|
9865
|
+
JSCompiler_object_inline_stack_2547 = mode;
|
9866
|
+
JSCompiler_object_inline_componentStack_2548 = componentStack;
|
9867
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2545;
|
9868
|
+
mode = JSCompiler_object_inline_componentStack_2548;
|
9863
9869
|
nextPrimaryChildren = nextPrimaryChildren
|
9864
9870
|
? Error(nextPrimaryChildren)
|
9865
9871
|
: Error(
|
9866
9872
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9867
9873
|
);
|
9868
9874
|
nextPrimaryChildren.stack =
|
9869
|
-
|
9870
|
-
nextPrimaryChildren.digest =
|
9871
|
-
|
9875
|
+
JSCompiler_object_inline_stack_2547 || "";
|
9876
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2546;
|
9877
|
+
JSCompiler_object_inline_digest_2546 =
|
9872
9878
|
void 0 === mode ? null : mode;
|
9873
|
-
|
9879
|
+
JSCompiler_object_inline_stack_2547 = {
|
9874
9880
|
value: nextPrimaryChildren,
|
9875
9881
|
source: null,
|
9876
|
-
stack:
|
9882
|
+
stack: JSCompiler_object_inline_digest_2546
|
9877
9883
|
};
|
9878
|
-
"string" === typeof
|
9884
|
+
"string" === typeof JSCompiler_object_inline_digest_2546 &&
|
9879
9885
|
CapturedStacks.set(
|
9880
9886
|
nextPrimaryChildren,
|
9881
|
-
|
9887
|
+
JSCompiler_object_inline_stack_2547
|
9882
9888
|
);
|
9883
|
-
queueHydrationError(
|
9889
|
+
queueHydrationError(JSCompiler_object_inline_stack_2547);
|
9884
9890
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9885
9891
|
current,
|
9886
9892
|
workInProgress,
|
@@ -9894,35 +9900,35 @@
|
|
9894
9900
|
renderLanes,
|
9895
9901
|
!1
|
9896
9902
|
),
|
9897
|
-
(
|
9903
|
+
(JSCompiler_object_inline_digest_2546 =
|
9898
9904
|
0 !== (renderLanes & current.childLanes)),
|
9899
|
-
didReceiveUpdate ||
|
9905
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2546)
|
9900
9906
|
) {
|
9901
|
-
|
9907
|
+
JSCompiler_object_inline_digest_2546 = workInProgressRoot;
|
9902
9908
|
if (
|
9903
|
-
null !==
|
9904
|
-
((
|
9905
|
-
|
9909
|
+
null !== JSCompiler_object_inline_digest_2546 &&
|
9910
|
+
((JSCompiler_object_inline_stack_2547 = getBumpedLaneForHydration(
|
9911
|
+
JSCompiler_object_inline_digest_2546,
|
9906
9912
|
renderLanes
|
9907
9913
|
)),
|
9908
|
-
0 !==
|
9909
|
-
|
9914
|
+
0 !== JSCompiler_object_inline_stack_2547 &&
|
9915
|
+
JSCompiler_object_inline_stack_2547 !== prevState.retryLane)
|
9910
9916
|
)
|
9911
9917
|
throw (
|
9912
|
-
((prevState.retryLane =
|
9918
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2547),
|
9913
9919
|
enqueueConcurrentRenderForLane(
|
9914
9920
|
current,
|
9915
|
-
|
9921
|
+
JSCompiler_object_inline_stack_2547
|
9916
9922
|
),
|
9917
9923
|
scheduleUpdateOnFiber(
|
9918
|
-
|
9924
|
+
JSCompiler_object_inline_digest_2546,
|
9919
9925
|
current,
|
9920
|
-
|
9926
|
+
JSCompiler_object_inline_stack_2547
|
9921
9927
|
),
|
9922
9928
|
SelectiveHydrationException)
|
9923
9929
|
);
|
9924
9930
|
isSuspenseInstancePending(
|
9925
|
-
|
9931
|
+
JSCompiler_object_inline_componentStack_2548
|
9926
9932
|
) || renderDidSuspendDelayIfPossible();
|
9927
9933
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9928
9934
|
current,
|
@@ -9931,14 +9937,14 @@
|
|
9931
9937
|
);
|
9932
9938
|
} else
|
9933
9939
|
isSuspenseInstancePending(
|
9934
|
-
|
9940
|
+
JSCompiler_object_inline_componentStack_2548
|
9935
9941
|
)
|
9936
9942
|
? ((workInProgress.flags |= 192),
|
9937
9943
|
(workInProgress.child = current.child),
|
9938
9944
|
(workInProgress = null))
|
9939
9945
|
: ((current = prevState.treeContext),
|
9940
9946
|
(nextHydratableInstance = getNextHydratable(
|
9941
|
-
|
9947
|
+
JSCompiler_object_inline_componentStack_2548.nextSibling
|
9942
9948
|
)),
|
9943
9949
|
(hydrationParentFiber = workInProgress),
|
9944
9950
|
(isHydrating = !0),
|
@@ -9950,32 +9956,32 @@
|
|
9950
9956
|
restoreSuspendedTreeContext(workInProgress, current),
|
9951
9957
|
(workInProgress = mountSuspensePrimaryChildren(
|
9952
9958
|
workInProgress,
|
9953
|
-
|
9959
|
+
JSCompiler_object_inline_stack_2547.children
|
9954
9960
|
)),
|
9955
9961
|
(workInProgress.flags |= 4096));
|
9956
9962
|
return workInProgress;
|
9957
9963
|
}
|
9958
9964
|
}
|
9959
|
-
if (
|
9965
|
+
if (JSCompiler_object_inline_message_2545)
|
9960
9966
|
return (
|
9961
9967
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9962
|
-
(nextPrimaryChildren =
|
9968
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2547.fallback),
|
9963
9969
|
(mode = workInProgress.mode),
|
9964
9970
|
(componentStack = current.child),
|
9965
|
-
(
|
9971
|
+
(JSCompiler_object_inline_componentStack_2548 =
|
9966
9972
|
componentStack.sibling),
|
9967
|
-
(
|
9973
|
+
(JSCompiler_object_inline_stack_2547 = createWorkInProgress(
|
9968
9974
|
componentStack,
|
9969
9975
|
{
|
9970
9976
|
mode: "hidden",
|
9971
|
-
children:
|
9977
|
+
children: JSCompiler_object_inline_stack_2547.children
|
9972
9978
|
}
|
9973
9979
|
)),
|
9974
|
-
(
|
9980
|
+
(JSCompiler_object_inline_stack_2547.subtreeFlags =
|
9975
9981
|
componentStack.subtreeFlags & 65011712),
|
9976
|
-
null !==
|
9982
|
+
null !== JSCompiler_object_inline_componentStack_2548
|
9977
9983
|
? (nextPrimaryChildren = createWorkInProgress(
|
9978
|
-
|
9984
|
+
JSCompiler_object_inline_componentStack_2548,
|
9979
9985
|
nextPrimaryChildren
|
9980
9986
|
))
|
9981
9987
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -9986,24 +9992,24 @@
|
|
9986
9992
|
)),
|
9987
9993
|
(nextPrimaryChildren.flags |= 2)),
|
9988
9994
|
(nextPrimaryChildren.return = workInProgress),
|
9989
|
-
(
|
9990
|
-
(
|
9991
|
-
(workInProgress.child =
|
9992
|
-
(
|
9995
|
+
(JSCompiler_object_inline_stack_2547.return = workInProgress),
|
9996
|
+
(JSCompiler_object_inline_stack_2547.sibling = nextPrimaryChildren),
|
9997
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2547),
|
9998
|
+
(JSCompiler_object_inline_stack_2547 = nextPrimaryChildren),
|
9993
9999
|
(nextPrimaryChildren = workInProgress.child),
|
9994
10000
|
(mode = current.child.memoizedState),
|
9995
10001
|
null === mode
|
9996
10002
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
9997
10003
|
: ((componentStack = mode.cachePool),
|
9998
10004
|
null !== componentStack
|
9999
|
-
? ((
|
10005
|
+
? ((JSCompiler_object_inline_componentStack_2548 =
|
10000
10006
|
CacheContext._currentValue),
|
10001
10007
|
(componentStack =
|
10002
10008
|
componentStack.parent !==
|
10003
|
-
|
10009
|
+
JSCompiler_object_inline_componentStack_2548
|
10004
10010
|
? {
|
10005
|
-
parent:
|
10006
|
-
pool:
|
10011
|
+
parent: JSCompiler_object_inline_componentStack_2548,
|
10012
|
+
pool: JSCompiler_object_inline_componentStack_2548
|
10007
10013
|
}
|
10008
10014
|
: componentStack))
|
10009
10015
|
: (componentStack = getSuspendedCache()),
|
@@ -10014,27 +10020,27 @@
|
|
10014
10020
|
(nextPrimaryChildren.memoizedState = mode),
|
10015
10021
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10016
10022
|
current,
|
10017
|
-
|
10023
|
+
JSCompiler_object_inline_digest_2546,
|
10018
10024
|
renderLanes
|
10019
10025
|
)),
|
10020
10026
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10021
|
-
|
10027
|
+
JSCompiler_object_inline_stack_2547
|
10022
10028
|
);
|
10023
10029
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10024
10030
|
renderLanes = current.child;
|
10025
10031
|
current = renderLanes.sibling;
|
10026
10032
|
renderLanes = createWorkInProgress(renderLanes, {
|
10027
10033
|
mode: "visible",
|
10028
|
-
children:
|
10034
|
+
children: JSCompiler_object_inline_stack_2547.children
|
10029
10035
|
});
|
10030
10036
|
renderLanes.return = workInProgress;
|
10031
10037
|
renderLanes.sibling = null;
|
10032
10038
|
null !== current &&
|
10033
|
-
((
|
10034
|
-
null ===
|
10039
|
+
((JSCompiler_object_inline_digest_2546 = workInProgress.deletions),
|
10040
|
+
null === JSCompiler_object_inline_digest_2546
|
10035
10041
|
? ((workInProgress.deletions = [current]),
|
10036
10042
|
(workInProgress.flags |= 16))
|
10037
|
-
:
|
10043
|
+
: JSCompiler_object_inline_digest_2546.push(current));
|
10038
10044
|
workInProgress.child = renderLanes;
|
10039
10045
|
workInProgress.memoizedState = null;
|
10040
10046
|
return renderLanes;
|
@@ -13039,7 +13045,29 @@
|
|
13039
13045
|
case 26:
|
13040
13046
|
case 5:
|
13041
13047
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
13042
|
-
null === current
|
13048
|
+
if (null === current)
|
13049
|
+
if (flags & 4) commitHostMount(finishedWork);
|
13050
|
+
else if (flags & 64) {
|
13051
|
+
finishedRoot = finishedWork.type;
|
13052
|
+
current = finishedWork.memoizedProps;
|
13053
|
+
prevProps = finishedWork.stateNode;
|
13054
|
+
try {
|
13055
|
+
runWithFiberInDEV(
|
13056
|
+
finishedWork,
|
13057
|
+
commitHydratedInstance,
|
13058
|
+
prevProps,
|
13059
|
+
finishedRoot,
|
13060
|
+
current,
|
13061
|
+
finishedWork
|
13062
|
+
);
|
13063
|
+
} catch (error) {
|
13064
|
+
captureCommitPhaseError(
|
13065
|
+
finishedWork,
|
13066
|
+
finishedWork.return,
|
13067
|
+
error
|
13068
|
+
);
|
13069
|
+
}
|
13070
|
+
}
|
13043
13071
|
flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
|
13044
13072
|
break;
|
13045
13073
|
case 12:
|
@@ -17252,36 +17280,39 @@
|
|
17252
17280
|
accumulateTargetOnly = _instance2;
|
17253
17281
|
if (SyntheticEventCtor && reactEventType)
|
17254
17282
|
b: {
|
17255
|
-
inCapturePhase =
|
17256
|
-
reactEventName =
|
17257
|
-
instance =
|
17258
|
-
for (
|
17259
|
-
lastHostComponent = inCapturePhase;
|
17260
|
-
lastHostComponent;
|
17261
|
-
lastHostComponent = getParent(lastHostComponent)
|
17262
|
-
)
|
17263
|
-
instance++;
|
17283
|
+
inCapturePhase = getParent;
|
17284
|
+
reactEventName = SyntheticEventCtor;
|
17285
|
+
instance = reactEventType;
|
17264
17286
|
lastHostComponent = 0;
|
17265
17287
|
for (
|
17266
17288
|
_instance2 = reactEventName;
|
17267
17289
|
_instance2;
|
17268
|
-
_instance2 =
|
17290
|
+
_instance2 = inCapturePhase(_instance2)
|
17269
17291
|
)
|
17270
17292
|
lastHostComponent++;
|
17271
|
-
|
17272
|
-
|
17273
|
-
|
17274
|
-
|
17293
|
+
_instance2 = 0;
|
17294
|
+
for (
|
17295
|
+
var tempB = instance;
|
17296
|
+
tempB;
|
17297
|
+
tempB = inCapturePhase(tempB)
|
17298
|
+
)
|
17299
|
+
_instance2++;
|
17300
|
+
for (; 0 < lastHostComponent - _instance2; )
|
17301
|
+
(reactEventName = inCapturePhase(reactEventName)),
|
17275
17302
|
lastHostComponent--;
|
17276
|
-
for (;
|
17303
|
+
for (; 0 < _instance2 - lastHostComponent; )
|
17304
|
+
(instance = inCapturePhase(instance)), _instance2--;
|
17305
|
+
for (; lastHostComponent--; ) {
|
17277
17306
|
if (
|
17278
|
-
|
17279
|
-
(null !==
|
17280
|
-
|
17281
|
-
)
|
17307
|
+
reactEventName === instance ||
|
17308
|
+
(null !== instance &&
|
17309
|
+
reactEventName === instance.alternate)
|
17310
|
+
) {
|
17311
|
+
inCapturePhase = reactEventName;
|
17282
17312
|
break b;
|
17283
|
-
|
17284
|
-
reactEventName =
|
17313
|
+
}
|
17314
|
+
reactEventName = inCapturePhase(reactEventName);
|
17315
|
+
instance = inCapturePhase(instance);
|
17285
17316
|
}
|
17286
17317
|
inCapturePhase = null;
|
17287
17318
|
}
|
@@ -18292,7 +18323,6 @@
|
|
18292
18323
|
hasSrcSet,
|
18293
18324
|
!1
|
18294
18325
|
);
|
18295
|
-
track(domElement);
|
18296
18326
|
return;
|
18297
18327
|
case "select":
|
18298
18328
|
checkControlledValueProps("select", props);
|
@@ -18367,7 +18397,6 @@
|
|
18367
18397
|
}
|
18368
18398
|
validateTextareaProps(domElement, props);
|
18369
18399
|
initTextarea(domElement, hasSrc, hasSrcSet, propKey);
|
18370
|
-
track(domElement);
|
18371
18400
|
return;
|
18372
18401
|
case "option":
|
18373
18402
|
validateOptionProps(domElement, props);
|
@@ -19802,6 +19831,7 @@
|
|
19802
19831
|
: newProps.srcSet && (domElement.srcset = newProps.srcSet);
|
19803
19832
|
}
|
19804
19833
|
}
|
19834
|
+
function commitHydratedInstance() {}
|
19805
19835
|
function commitUpdate(domElement, type, oldProps, newProps) {
|
19806
19836
|
updateProperties(domElement, type, oldProps, newProps);
|
19807
19837
|
domElement[internalPropsKey] = newProps;
|
@@ -23085,8 +23115,22 @@
|
|
23085
23115
|
" "
|
23086
23116
|
);
|
23087
23117
|
simpleEventPluginEvents.push("scrollEnd");
|
23088
|
-
var
|
23089
|
-
|
23118
|
+
var lastResetTime = 0;
|
23119
|
+
if (
|
23120
|
+
"object" === typeof performance &&
|
23121
|
+
"function" === typeof performance.now
|
23122
|
+
) {
|
23123
|
+
var localPerformance = performance;
|
23124
|
+
var getCurrentTime = function () {
|
23125
|
+
return localPerformance.now();
|
23126
|
+
};
|
23127
|
+
} else {
|
23128
|
+
var localDate = Date;
|
23129
|
+
getCurrentTime = function () {
|
23130
|
+
return localDate.now();
|
23131
|
+
};
|
23132
|
+
}
|
23133
|
+
var OffscreenVisible = 1,
|
23090
23134
|
OffscreenPassiveEffectsConnected = 2,
|
23091
23135
|
concurrentQueues = [],
|
23092
23136
|
concurrentQueuesIndex = 0,
|
@@ -23110,7 +23154,8 @@
|
|
23110
23154
|
} catch (e$3) {
|
23111
23155
|
hasBadMapPolyfill = !0;
|
23112
23156
|
}
|
23113
|
-
var
|
23157
|
+
var CapturedStacks = new WeakMap(),
|
23158
|
+
forkStack = [],
|
23114
23159
|
forkStackIndex = 0,
|
23115
23160
|
treeForkProvider = null,
|
23116
23161
|
treeForkCount = 0,
|
@@ -23129,22 +23174,7 @@
|
|
23129
23174
|
HydrationMismatchException = Error(
|
23130
23175
|
"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
23131
23176
|
),
|
23132
|
-
|
23133
|
-
if (
|
23134
|
-
"object" === typeof performance &&
|
23135
|
-
"function" === typeof performance.now
|
23136
|
-
) {
|
23137
|
-
var localPerformance = performance;
|
23138
|
-
var getCurrentTime = function () {
|
23139
|
-
return localPerformance.now();
|
23140
|
-
};
|
23141
|
-
} else {
|
23142
|
-
var localDate = Date;
|
23143
|
-
getCurrentTime = function () {
|
23144
|
-
return localDate.now();
|
23145
|
-
};
|
23146
|
-
}
|
23147
|
-
var valueCursor = createCursor(null);
|
23177
|
+
valueCursor = createCursor(null);
|
23148
23178
|
var rendererCursorDEV = createCursor(null);
|
23149
23179
|
var rendererSigil = {};
|
23150
23180
|
var currentlyRenderingFiber$1 = null,
|
@@ -25400,11 +25430,11 @@
|
|
25400
25430
|
};
|
25401
25431
|
(function () {
|
25402
25432
|
var isomorphicReactPackageVersion = React.version;
|
25403
|
-
if ("19.2.0-canary-
|
25433
|
+
if ("19.2.0-canary-0ff1d13b-20250507" !== isomorphicReactPackageVersion)
|
25404
25434
|
throw Error(
|
25405
25435
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25406
25436
|
(isomorphicReactPackageVersion +
|
25407
|
-
"\n - react-dom: 19.2.0-canary-
|
25437
|
+
"\n - react-dom: 19.2.0-canary-0ff1d13b-20250507\nLearn more: https://react.dev/warnings/version-mismatch")
|
25408
25438
|
);
|
25409
25439
|
})();
|
25410
25440
|
("function" === typeof Map &&
|
@@ -25441,10 +25471,10 @@
|
|
25441
25471
|
!(function () {
|
25442
25472
|
var internals = {
|
25443
25473
|
bundleType: 1,
|
25444
|
-
version: "19.2.0-canary-
|
25474
|
+
version: "19.2.0-canary-0ff1d13b-20250507",
|
25445
25475
|
rendererPackageName: "react-dom",
|
25446
25476
|
currentDispatcherRef: ReactSharedInternals,
|
25447
|
-
reconcilerVersion: "19.2.0-canary-
|
25477
|
+
reconcilerVersion: "19.2.0-canary-0ff1d13b-20250507"
|
25448
25478
|
};
|
25449
25479
|
internals.overrideHookState = overrideHookState;
|
25450
25480
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25918,7 +25948,7 @@
|
|
25918
25948
|
exports.useFormStatus = function () {
|
25919
25949
|
return resolveDispatcher().useHostTransitionStatus();
|
25920
25950
|
};
|
25921
|
-
exports.version = "19.2.0-canary-
|
25951
|
+
exports.version = "19.2.0-canary-0ff1d13b-20250507";
|
25922
25952
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25923
25953
|
"function" ===
|
25924
25954
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|