react-dom 19.2.0-canary-b10cb4c0-20250403 → 19.2.0-canary-540cd652-20250403
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 +240 -191
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +240 -191
- package/cjs/react-dom-profiling.profiling.js +120 -76
- 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
@@ -3142,7 +3142,8 @@ function releaseCache(cache) {
|
|
3142
3142
|
var now = Scheduler.unstable_now,
|
3143
3143
|
commitStartTime = -0,
|
3144
3144
|
profilerStartTime = -1.1,
|
3145
|
-
profilerEffectDuration = -0
|
3145
|
+
profilerEffectDuration = -0,
|
3146
|
+
componentEffectStartTime = -1.1;
|
3146
3147
|
function pushNestedEffectDurations() {
|
3147
3148
|
var prevEffectDuration = profilerEffectDuration;
|
3148
3149
|
profilerEffectDuration = 0;
|
@@ -3158,6 +3159,14 @@ function bubbleNestedEffectDurations(prevEffectDuration) {
|
|
3158
3159
|
profilerEffectDuration += prevEffectDuration;
|
3159
3160
|
return elapsedTime;
|
3160
3161
|
}
|
3162
|
+
function pushComponentEffectStart() {
|
3163
|
+
var prevEffectStart = componentEffectStartTime;
|
3164
|
+
componentEffectStartTime = -1.1;
|
3165
|
+
return prevEffectStart;
|
3166
|
+
}
|
3167
|
+
function popComponentEffectStart(prevEffectStart) {
|
3168
|
+
0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);
|
3169
|
+
}
|
3161
3170
|
var currentUpdateIsNested = !1,
|
3162
3171
|
nestedUpdateScheduled = !1;
|
3163
3172
|
function startProfilerTimer(fiber) {
|
@@ -3188,6 +3197,8 @@ function recordEffectDuration() {
|
|
3188
3197
|
}
|
3189
3198
|
function startEffectTimer() {
|
3190
3199
|
profilerStartTime = now();
|
3200
|
+
0 > componentEffectStartTime &&
|
3201
|
+
(componentEffectStartTime = profilerStartTime);
|
3191
3202
|
}
|
3192
3203
|
function transferActualDuration(fiber) {
|
3193
3204
|
for (var child = fiber.child; child; )
|
@@ -9131,7 +9142,8 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
9131
9142
|
}
|
9132
9143
|
}
|
9133
9144
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
9134
|
-
var
|
9145
|
+
var prevEffectStart = pushComponentEffectStart(),
|
9146
|
+
flags = finishedWork.flags;
|
9135
9147
|
switch (finishedWork.tag) {
|
9136
9148
|
case 0:
|
9137
9149
|
case 11:
|
@@ -9286,6 +9298,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
9286
9298
|
default:
|
9287
9299
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
9288
9300
|
}
|
9301
|
+
popComponentEffectStart(prevEffectStart);
|
9289
9302
|
}
|
9290
9303
|
function detachFiberAfterEffects(fiber) {
|
9291
9304
|
var alternate = fiber.alternate;
|
@@ -9326,6 +9339,7 @@ function commitDeletionEffectsOnFiber(
|
|
9326
9339
|
try {
|
9327
9340
|
injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);
|
9328
9341
|
} catch (err) {}
|
9342
|
+
var prevEffectStart = pushComponentEffectStart();
|
9329
9343
|
switch (deletedFiber.tag) {
|
9330
9344
|
case 26:
|
9331
9345
|
offscreenSubtreeWasHidden ||
|
@@ -9481,6 +9495,7 @@ function commitDeletionEffectsOnFiber(
|
|
9481
9495
|
deletedFiber
|
9482
9496
|
);
|
9483
9497
|
}
|
9498
|
+
popComponentEffectStart(prevEffectStart);
|
9484
9499
|
}
|
9485
9500
|
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
9486
9501
|
if (
|
@@ -9538,6 +9553,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9538
9553
|
var childToDelete = deletions[i],
|
9539
9554
|
root = root$jscomp$0,
|
9540
9555
|
returnFiber = parentFiber,
|
9556
|
+
prevEffectStart = pushComponentEffectStart(),
|
9541
9557
|
parent = returnFiber;
|
9542
9558
|
a: for (; null !== parent; ) {
|
9543
9559
|
switch (parent.tag) {
|
@@ -9564,6 +9580,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9564
9580
|
commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);
|
9565
9581
|
hostParent = null;
|
9566
9582
|
hostParentIsContainer = !1;
|
9583
|
+
popComponentEffectStart(prevEffectStart);
|
9567
9584
|
root = childToDelete.alternate;
|
9568
9585
|
null !== root && (root.return = null);
|
9569
9586
|
childToDelete.return = null;
|
@@ -9575,7 +9592,8 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9575
9592
|
}
|
9576
9593
|
var currentHoistableRoot = null;
|
9577
9594
|
function commitMutationEffectsOnFiber(finishedWork, root) {
|
9578
|
-
var
|
9595
|
+
var prevEffectStart = pushComponentEffectStart(),
|
9596
|
+
current = finishedWork.alternate,
|
9579
9597
|
flags = finishedWork.flags;
|
9580
9598
|
switch (finishedWork.tag) {
|
9581
9599
|
case 0:
|
@@ -9973,6 +9991,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
9973
9991
|
recursivelyTraverseMutationEffects(root, finishedWork),
|
9974
9992
|
commitReconciliationEffects(finishedWork);
|
9975
9993
|
}
|
9994
|
+
popComponentEffectStart(prevEffectStart);
|
9976
9995
|
}
|
9977
9996
|
function commitReconciliationEffects(finishedWork) {
|
9978
9997
|
var flags = finishedWork.flags;
|
@@ -10040,7 +10059,8 @@ function recursivelyTraverseLayoutEffects(root, parentFiber) {
|
|
10040
10059
|
}
|
10041
10060
|
function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
10042
10061
|
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
10043
|
-
var finishedWork = parentFiber
|
10062
|
+
var finishedWork = parentFiber,
|
10063
|
+
prevEffectStart = pushComponentEffectStart();
|
10044
10064
|
switch (finishedWork.tag) {
|
10045
10065
|
case 0:
|
10046
10066
|
case 11:
|
@@ -10077,6 +10097,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
|
10077
10097
|
default:
|
10078
10098
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
10079
10099
|
}
|
10100
|
+
popComponentEffectStart(prevEffectStart);
|
10080
10101
|
parentFiber = parentFiber.sibling;
|
10081
10102
|
}
|
10082
10103
|
}
|
@@ -10091,6 +10112,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
|
10091
10112
|
var current = parentFiber.alternate,
|
10092
10113
|
finishedRoot = finishedRoot$jscomp$0,
|
10093
10114
|
finishedWork = parentFiber,
|
10115
|
+
prevEffectStart = pushComponentEffectStart(),
|
10094
10116
|
flags = finishedWork.flags;
|
10095
10117
|
switch (finishedWork.tag) {
|
10096
10118
|
case 0:
|
@@ -10204,6 +10226,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
|
10204
10226
|
includeWorkInProgressEffects
|
10205
10227
|
);
|
10206
10228
|
}
|
10229
|
+
popComponentEffectStart(prevEffectStart);
|
10207
10230
|
parentFiber = parentFiber.sibling;
|
10208
10231
|
}
|
10209
10232
|
}
|
@@ -10251,7 +10274,8 @@ function commitPassiveMountOnFiber(
|
|
10251
10274
|
committedLanes,
|
10252
10275
|
committedTransitions
|
10253
10276
|
) {
|
10254
|
-
var
|
10277
|
+
var prevEffectStart = pushComponentEffectStart(),
|
10278
|
+
flags = finishedWork.flags;
|
10255
10279
|
switch (finishedWork.tag) {
|
10256
10280
|
case 0:
|
10257
10281
|
case 11:
|
@@ -10273,7 +10297,7 @@ function commitPassiveMountOnFiber(
|
|
10273
10297
|
);
|
10274
10298
|
break;
|
10275
10299
|
case 3:
|
10276
|
-
var
|
10300
|
+
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
10277
10301
|
recursivelyTraversePassiveMountEffects(
|
10278
10302
|
finishedRoot,
|
10279
10303
|
finishedWork,
|
@@ -10288,8 +10312,9 @@ function commitPassiveMountOnFiber(
|
|
10288
10312
|
finishedWork !== committedLanes &&
|
10289
10313
|
(finishedWork.refCount++,
|
10290
10314
|
null != committedLanes && releaseCache(committedLanes)));
|
10291
|
-
finishedRoot.passiveEffectDuration +=
|
10292
|
-
|
10315
|
+
finishedRoot.passiveEffectDuration += popNestedEffectDurations(
|
10316
|
+
prevProfilerEffectDuration
|
10317
|
+
);
|
10293
10318
|
break;
|
10294
10319
|
case 12:
|
10295
10320
|
if (flags & 2048) {
|
@@ -10304,9 +10329,9 @@ function commitPassiveMountOnFiber(
|
|
10304
10329
|
finishedRoot.passiveEffectDuration +=
|
10305
10330
|
bubbleNestedEffectDurations(flags);
|
10306
10331
|
try {
|
10307
|
-
|
10308
|
-
var id =
|
10309
|
-
onPostCommit =
|
10332
|
+
prevProfilerEffectDuration = finishedWork.memoizedProps;
|
10333
|
+
var id = prevProfilerEffectDuration.id,
|
10334
|
+
onPostCommit = prevProfilerEffectDuration.onPostCommit,
|
10310
10335
|
phase = null === finishedWork.alternate ? "mount" : "update";
|
10311
10336
|
currentUpdateIsNested && (phase = "nested-update");
|
10312
10337
|
"function" === typeof onPostCommit &&
|
@@ -10338,10 +10363,10 @@ function commitPassiveMountOnFiber(
|
|
10338
10363
|
case 23:
|
10339
10364
|
break;
|
10340
10365
|
case 22:
|
10341
|
-
|
10366
|
+
prevProfilerEffectDuration = finishedWork.stateNode;
|
10342
10367
|
id = finishedWork.alternate;
|
10343
10368
|
null !== finishedWork.memoizedState
|
10344
|
-
?
|
10369
|
+
? prevProfilerEffectDuration._visibility & 2
|
10345
10370
|
? recursivelyTraversePassiveMountEffects(
|
10346
10371
|
finishedRoot,
|
10347
10372
|
finishedWork,
|
@@ -10349,14 +10374,14 @@ function commitPassiveMountOnFiber(
|
|
10349
10374
|
committedTransitions
|
10350
10375
|
)
|
10351
10376
|
: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork)
|
10352
|
-
:
|
10377
|
+
: prevProfilerEffectDuration._visibility & 2
|
10353
10378
|
? recursivelyTraversePassiveMountEffects(
|
10354
10379
|
finishedRoot,
|
10355
10380
|
finishedWork,
|
10356
10381
|
committedLanes,
|
10357
10382
|
committedTransitions
|
10358
10383
|
)
|
10359
|
-
: ((
|
10384
|
+
: ((prevProfilerEffectDuration._visibility |= 2),
|
10360
10385
|
recursivelyTraverseReconnectPassiveEffects(
|
10361
10386
|
finishedRoot,
|
10362
10387
|
finishedWork,
|
@@ -10384,6 +10409,7 @@ function commitPassiveMountOnFiber(
|
|
10384
10409
|
committedTransitions
|
10385
10410
|
);
|
10386
10411
|
}
|
10412
|
+
popComponentEffectStart(prevEffectStart);
|
10387
10413
|
}
|
10388
10414
|
function recursivelyTraverseReconnectPassiveEffects(
|
10389
10415
|
finishedRoot$jscomp$0,
|
@@ -10399,6 +10425,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
|
10399
10425
|
finishedWork = parentFiber,
|
10400
10426
|
committedLanes = committedLanes$jscomp$0,
|
10401
10427
|
committedTransitions = committedTransitions$jscomp$0,
|
10428
|
+
prevEffectStart = pushComponentEffectStart(),
|
10402
10429
|
flags = finishedWork.flags;
|
10403
10430
|
switch (finishedWork.tag) {
|
10404
10431
|
case 0:
|
@@ -10466,6 +10493,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
|
10466
10493
|
includeWorkInProgressEffects
|
10467
10494
|
);
|
10468
10495
|
}
|
10496
|
+
popComponentEffectStart(prevEffectStart);
|
10469
10497
|
parentFiber = parentFiber.sibling;
|
10470
10498
|
}
|
10471
10499
|
}
|
@@ -10561,12 +10589,14 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) {
|
|
10561
10589
|
if (0 !== (parentFiber.flags & 16)) {
|
10562
10590
|
if (null !== deletions)
|
10563
10591
|
for (var i = 0; i < deletions.length; i++) {
|
10564
|
-
var childToDelete = deletions[i]
|
10592
|
+
var childToDelete = deletions[i],
|
10593
|
+
prevEffectStart = pushComponentEffectStart();
|
10565
10594
|
nextEffect = childToDelete;
|
10566
10595
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10567
10596
|
childToDelete,
|
10568
10597
|
parentFiber
|
10569
10598
|
);
|
10599
|
+
popComponentEffectStart(prevEffectStart);
|
10570
10600
|
}
|
10571
10601
|
detachAlternateSiblings(parentFiber);
|
10572
10602
|
}
|
@@ -10576,6 +10606,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) {
|
|
10576
10606
|
(parentFiber = parentFiber.sibling);
|
10577
10607
|
}
|
10578
10608
|
function commitPassiveUnmountOnFiber(finishedWork) {
|
10609
|
+
var prevEffectStart = pushComponentEffectStart();
|
10579
10610
|
switch (finishedWork.tag) {
|
10580
10611
|
case 0:
|
10581
10612
|
case 11:
|
@@ -10585,46 +10616,51 @@ function commitPassiveUnmountOnFiber(finishedWork) {
|
|
10585
10616
|
commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9);
|
10586
10617
|
break;
|
10587
10618
|
case 3:
|
10588
|
-
var
|
10619
|
+
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
10589
10620
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10590
|
-
finishedWork.stateNode.passiveEffectDuration +=
|
10591
|
-
|
10621
|
+
finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations(
|
10622
|
+
prevProfilerEffectDuration
|
10623
|
+
);
|
10592
10624
|
break;
|
10593
10625
|
case 12:
|
10594
|
-
|
10626
|
+
prevProfilerEffectDuration = pushNestedEffectDurations();
|
10595
10627
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10596
10628
|
finishedWork.stateNode.passiveEffectDuration +=
|
10597
|
-
bubbleNestedEffectDurations(
|
10629
|
+
bubbleNestedEffectDurations(prevProfilerEffectDuration);
|
10598
10630
|
break;
|
10599
10631
|
case 22:
|
10600
|
-
|
10632
|
+
prevProfilerEffectDuration = finishedWork.stateNode;
|
10601
10633
|
null !== finishedWork.memoizedState &&
|
10602
|
-
|
10634
|
+
prevProfilerEffectDuration._visibility & 2 &&
|
10603
10635
|
(null === finishedWork.return || 13 !== finishedWork.return.tag)
|
10604
|
-
? ((
|
10636
|
+
? ((prevProfilerEffectDuration._visibility &= -3),
|
10605
10637
|
recursivelyTraverseDisconnectPassiveEffects(finishedWork))
|
10606
10638
|
: recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10607
10639
|
break;
|
10608
10640
|
default:
|
10609
10641
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10610
10642
|
}
|
10643
|
+
popComponentEffectStart(prevEffectStart);
|
10611
10644
|
}
|
10612
10645
|
function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
10613
10646
|
var deletions = parentFiber.deletions;
|
10614
10647
|
if (0 !== (parentFiber.flags & 16)) {
|
10615
10648
|
if (null !== deletions)
|
10616
10649
|
for (var i = 0; i < deletions.length; i++) {
|
10617
|
-
var childToDelete = deletions[i]
|
10650
|
+
var childToDelete = deletions[i],
|
10651
|
+
prevEffectStart = pushComponentEffectStart();
|
10618
10652
|
nextEffect = childToDelete;
|
10619
10653
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10620
10654
|
childToDelete,
|
10621
10655
|
parentFiber
|
10622
10656
|
);
|
10657
|
+
popComponentEffectStart(prevEffectStart);
|
10623
10658
|
}
|
10624
10659
|
detachAlternateSiblings(parentFiber);
|
10625
10660
|
}
|
10626
10661
|
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
10627
10662
|
deletions = parentFiber;
|
10663
|
+
i = pushComponentEffectStart();
|
10628
10664
|
switch (deletions.tag) {
|
10629
10665
|
case 0:
|
10630
10666
|
case 11:
|
@@ -10633,23 +10669,26 @@ function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
|
10633
10669
|
recursivelyTraverseDisconnectPassiveEffects(deletions);
|
10634
10670
|
break;
|
10635
10671
|
case 22:
|
10636
|
-
|
10637
|
-
|
10638
|
-
((
|
10672
|
+
childToDelete = deletions.stateNode;
|
10673
|
+
childToDelete._visibility & 2 &&
|
10674
|
+
((childToDelete._visibility &= -3),
|
10639
10675
|
recursivelyTraverseDisconnectPassiveEffects(deletions));
|
10640
10676
|
break;
|
10641
10677
|
default:
|
10642
10678
|
recursivelyTraverseDisconnectPassiveEffects(deletions);
|
10643
10679
|
}
|
10680
|
+
popComponentEffectStart(i);
|
10644
10681
|
parentFiber = parentFiber.sibling;
|
10645
10682
|
}
|
10646
10683
|
}
|
10647
10684
|
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10648
10685
|
deletedSubtreeRoot,
|
10649
|
-
nearestMountedAncestor
|
10686
|
+
nearestMountedAncestor$jscomp$0
|
10650
10687
|
) {
|
10651
10688
|
for (; null !== nextEffect; ) {
|
10652
|
-
var fiber = nextEffect
|
10689
|
+
var fiber = nextEffect,
|
10690
|
+
nearestMountedAncestor = nearestMountedAncestor$jscomp$0,
|
10691
|
+
prevEffectStart = pushComponentEffectStart();
|
10653
10692
|
switch (fiber.tag) {
|
10654
10693
|
case 0:
|
10655
10694
|
case 11:
|
@@ -10658,32 +10697,31 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
|
10658
10697
|
break;
|
10659
10698
|
case 23:
|
10660
10699
|
case 22:
|
10661
|
-
|
10662
|
-
null !== fiber.memoizedState &&
|
10663
|
-
|
10664
|
-
|
10665
|
-
var cache = fiber.memoizedState.cachePool.pool;
|
10666
|
-
null != cache && cache.refCount++;
|
10667
|
-
}
|
10700
|
+
null !== fiber.memoizedState &&
|
10701
|
+
null !== fiber.memoizedState.cachePool &&
|
10702
|
+
((nearestMountedAncestor = fiber.memoizedState.cachePool.pool),
|
10703
|
+
null != nearestMountedAncestor && nearestMountedAncestor.refCount++);
|
10668
10704
|
break;
|
10669
10705
|
case 24:
|
10670
10706
|
releaseCache(fiber.memoizedState.cache);
|
10671
10707
|
}
|
10672
|
-
|
10673
|
-
|
10708
|
+
popComponentEffectStart(prevEffectStart);
|
10709
|
+
prevEffectStart = fiber.child;
|
10710
|
+
if (null !== prevEffectStart)
|
10711
|
+
(prevEffectStart.return = fiber), (nextEffect = prevEffectStart);
|
10674
10712
|
else
|
10675
10713
|
a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {
|
10676
|
-
|
10677
|
-
|
10678
|
-
|
10679
|
-
detachFiberAfterEffects(
|
10680
|
-
if (
|
10714
|
+
prevEffectStart = nextEffect;
|
10715
|
+
nearestMountedAncestor = prevEffectStart.sibling;
|
10716
|
+
var returnFiber = prevEffectStart.return;
|
10717
|
+
detachFiberAfterEffects(prevEffectStart);
|
10718
|
+
if (prevEffectStart === fiber) {
|
10681
10719
|
nextEffect = null;
|
10682
10720
|
break a;
|
10683
10721
|
}
|
10684
|
-
if (null !==
|
10685
|
-
|
10686
|
-
nextEffect =
|
10722
|
+
if (null !== nearestMountedAncestor) {
|
10723
|
+
nearestMountedAncestor.return = returnFiber;
|
10724
|
+
nextEffect = nearestMountedAncestor;
|
10687
10725
|
break a;
|
10688
10726
|
}
|
10689
10727
|
nextEffect = returnFiber;
|
@@ -11675,6 +11713,7 @@ function flushMutationEffects() {
|
|
11675
11713
|
try {
|
11676
11714
|
inProgressLanes = lanes;
|
11677
11715
|
inProgressRoot = root;
|
11716
|
+
componentEffectStartTime = -1.1;
|
11678
11717
|
commitMutationEffectsOnFiber(finishedWork, root);
|
11679
11718
|
inProgressRoot = inProgressLanes = null;
|
11680
11719
|
lanes = selectionInformation;
|
@@ -11805,6 +11844,7 @@ function flushLayoutEffects() {
|
|
11805
11844
|
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
11806
11845
|
(inProgressLanes = lanes),
|
11807
11846
|
(inProgressRoot = root),
|
11847
|
+
(componentEffectStartTime = -1.1),
|
11808
11848
|
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
11809
11849
|
(inProgressRoot = inProgressLanes = null),
|
11810
11850
|
null !== injectedProfilingHooks &&
|
@@ -11936,10 +11976,14 @@ function flushPassiveEffects() {
|
|
11936
11976
|
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
11937
11977
|
var prevExecutionContext = executionContext;
|
11938
11978
|
executionContext |= 4;
|
11939
|
-
|
11979
|
+
var finishedWork = root$jscomp$0.current;
|
11980
|
+
componentEffectStartTime = -1.1;
|
11981
|
+
commitPassiveUnmountOnFiber(finishedWork);
|
11982
|
+
var finishedWork$jscomp$0 = root$jscomp$0.current;
|
11983
|
+
componentEffectStartTime = -1.1;
|
11940
11984
|
commitPassiveMountOnFiber(
|
11941
11985
|
root$jscomp$0,
|
11942
|
-
|
11986
|
+
finishedWork$jscomp$0,
|
11943
11987
|
lanes,
|
11944
11988
|
renderPriority
|
11945
11989
|
);
|
@@ -12387,20 +12431,20 @@ function extractEvents$1(
|
|
12387
12431
|
}
|
12388
12432
|
}
|
12389
12433
|
for (
|
12390
|
-
var i$jscomp$
|
12391
|
-
i$jscomp$
|
12392
|
-
i$jscomp$
|
12434
|
+
var i$jscomp$inline_1618 = 0;
|
12435
|
+
i$jscomp$inline_1618 < simpleEventPluginEvents.length;
|
12436
|
+
i$jscomp$inline_1618++
|
12393
12437
|
) {
|
12394
|
-
var eventName$jscomp$
|
12395
|
-
simpleEventPluginEvents[i$jscomp$
|
12396
|
-
domEventName$jscomp$
|
12397
|
-
eventName$jscomp$
|
12398
|
-
capitalizedEvent$jscomp$
|
12399
|
-
eventName$jscomp$
|
12400
|
-
eventName$jscomp$
|
12438
|
+
var eventName$jscomp$inline_1619 =
|
12439
|
+
simpleEventPluginEvents[i$jscomp$inline_1618],
|
12440
|
+
domEventName$jscomp$inline_1620 =
|
12441
|
+
eventName$jscomp$inline_1619.toLowerCase(),
|
12442
|
+
capitalizedEvent$jscomp$inline_1621 =
|
12443
|
+
eventName$jscomp$inline_1619[0].toUpperCase() +
|
12444
|
+
eventName$jscomp$inline_1619.slice(1);
|
12401
12445
|
registerSimpleEvent(
|
12402
|
-
domEventName$jscomp$
|
12403
|
-
"on" + capitalizedEvent$jscomp$
|
12446
|
+
domEventName$jscomp$inline_1620,
|
12447
|
+
"on" + capitalizedEvent$jscomp$inline_1621
|
12404
12448
|
);
|
12405
12449
|
}
|
12406
12450
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15915,16 +15959,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15915
15959
|
0 === i && attemptExplicitHydrationTarget(target);
|
15916
15960
|
}
|
15917
15961
|
};
|
15918
|
-
var isomorphicReactPackageVersion$jscomp$
|
15962
|
+
var isomorphicReactPackageVersion$jscomp$inline_1877 = React.version;
|
15919
15963
|
if (
|
15920
|
-
"19.2.0-canary-
|
15921
|
-
isomorphicReactPackageVersion$jscomp$
|
15964
|
+
"19.2.0-canary-540cd652-20250403" !==
|
15965
|
+
isomorphicReactPackageVersion$jscomp$inline_1877
|
15922
15966
|
)
|
15923
15967
|
throw Error(
|
15924
15968
|
formatProdErrorMessage(
|
15925
15969
|
527,
|
15926
|
-
isomorphicReactPackageVersion$jscomp$
|
15927
|
-
"19.2.0-canary-
|
15970
|
+
isomorphicReactPackageVersion$jscomp$inline_1877,
|
15971
|
+
"19.2.0-canary-540cd652-20250403"
|
15928
15972
|
)
|
15929
15973
|
);
|
15930
15974
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15944,12 +15988,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15944
15988
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15945
15989
|
return componentOrElement;
|
15946
15990
|
};
|
15947
|
-
var internals$jscomp$
|
15991
|
+
var internals$jscomp$inline_1884 = {
|
15948
15992
|
bundleType: 0,
|
15949
|
-
version: "19.2.0-canary-
|
15993
|
+
version: "19.2.0-canary-540cd652-20250403",
|
15950
15994
|
rendererPackageName: "react-dom",
|
15951
15995
|
currentDispatcherRef: ReactSharedInternals,
|
15952
|
-
reconcilerVersion: "19.2.0-canary-
|
15996
|
+
reconcilerVersion: "19.2.0-canary-540cd652-20250403",
|
15953
15997
|
getLaneLabelMap: function () {
|
15954
15998
|
for (
|
15955
15999
|
var map = new Map(), lane = 1, index$282 = 0;
|
@@ -15967,16 +16011,16 @@ var internals$jscomp$inline_1882 = {
|
|
15967
16011
|
}
|
15968
16012
|
};
|
15969
16013
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15970
|
-
var hook$jscomp$
|
16014
|
+
var hook$jscomp$inline_2316 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15971
16015
|
if (
|
15972
|
-
!hook$jscomp$
|
15973
|
-
hook$jscomp$
|
16016
|
+
!hook$jscomp$inline_2316.isDisabled &&
|
16017
|
+
hook$jscomp$inline_2316.supportsFiber
|
15974
16018
|
)
|
15975
16019
|
try {
|
15976
|
-
(rendererID = hook$jscomp$
|
15977
|
-
internals$jscomp$
|
16020
|
+
(rendererID = hook$jscomp$inline_2316.inject(
|
16021
|
+
internals$jscomp$inline_1884
|
15978
16022
|
)),
|
15979
|
-
(injectedHook = hook$jscomp$
|
16023
|
+
(injectedHook = hook$jscomp$inline_2316);
|
15980
16024
|
} catch (err) {}
|
15981
16025
|
}
|
15982
16026
|
function noop() {}
|
@@ -16229,7 +16273,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16229
16273
|
exports.useFormStatus = function () {
|
16230
16274
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16231
16275
|
};
|
16232
|
-
exports.version = "19.2.0-canary-
|
16276
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
16233
16277
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16234
16278
|
"function" ===
|
16235
16279
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -9031,5 +9031,5 @@
|
|
9031
9031
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9032
9032
|
);
|
9033
9033
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9034
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
9035
9035
|
})();
|
@@ -5889,4 +5889,4 @@ exports.renderToString = function (children, options) {
|
|
5889
5889
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
5890
5890
|
);
|
5891
5891
|
};
|
5892
|
-
exports.version = "19.2.0-canary-
|
5892
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
@@ -9031,5 +9031,5 @@
|
|
9031
9031
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9032
9032
|
);
|
9033
9033
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9034
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
9035
9035
|
})();
|
@@ -5969,4 +5969,4 @@ exports.renderToString = function (children, options) {
|
|
5969
5969
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
5970
5970
|
);
|
5971
5971
|
};
|
5972
|
-
exports.version = "19.2.0-canary-
|
5972
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
@@ -7746,11 +7746,11 @@
|
|
7746
7746
|
}
|
7747
7747
|
function ensureCorrectIsomorphicReactVersion() {
|
7748
7748
|
var isomorphicReactPackageVersion = React.version;
|
7749
|
-
if ("19.2.0-canary-
|
7749
|
+
if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion)
|
7750
7750
|
throw Error(
|
7751
7751
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7752
7752
|
(isomorphicReactPackageVersion +
|
7753
|
-
"\n - react-dom: 19.2.0-canary-
|
7753
|
+
"\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch")
|
7754
7754
|
);
|
7755
7755
|
}
|
7756
7756
|
var React = require("react"),
|
@@ -9420,5 +9420,5 @@
|
|
9420
9420
|
startWork(request);
|
9421
9421
|
});
|
9422
9422
|
};
|
9423
|
-
exports.version = "19.2.0-canary-
|
9423
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
9424
9424
|
})();
|
@@ -6229,12 +6229,12 @@ function abort(request, reason) {
|
|
6229
6229
|
}
|
6230
6230
|
function ensureCorrectIsomorphicReactVersion() {
|
6231
6231
|
var isomorphicReactPackageVersion = React.version;
|
6232
|
-
if ("19.2.0-canary-
|
6232
|
+
if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion)
|
6233
6233
|
throw Error(
|
6234
6234
|
formatProdErrorMessage(
|
6235
6235
|
527,
|
6236
6236
|
isomorphicReactPackageVersion,
|
6237
|
-
"19.2.0-canary-
|
6237
|
+
"19.2.0-canary-540cd652-20250403"
|
6238
6238
|
)
|
6239
6239
|
);
|
6240
6240
|
}
|
@@ -6381,4 +6381,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6381
6381
|
startWork(request);
|
6382
6382
|
});
|
6383
6383
|
};
|
6384
|
-
exports.version = "19.2.0-canary-
|
6384
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
@@ -8637,13 +8637,13 @@ function abort(request, reason) {
|
|
8637
8637
|
}
|
8638
8638
|
var isomorphicReactPackageVersion$jscomp$inline_743 = React.version;
|
8639
8639
|
if (
|
8640
|
-
"19.2.0-canary-
|
8640
|
+
"19.2.0-canary-540cd652-20250403" !==
|
8641
8641
|
isomorphicReactPackageVersion$jscomp$inline_743
|
8642
8642
|
)
|
8643
8643
|
throw Error(
|
8644
8644
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8645
8645
|
(isomorphicReactPackageVersion$jscomp$inline_743 +
|
8646
|
-
"\n - react-dom: 19.2.0-canary-
|
8646
|
+
"\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch")
|
8647
8647
|
);
|
8648
8648
|
exports.renderToReadableStream = function (children, options) {
|
8649
8649
|
return new Promise(function (resolve, reject) {
|
@@ -8736,4 +8736,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
8736
8736
|
startWork(request$jscomp$0);
|
8737
8737
|
});
|
8738
8738
|
};
|
8739
|
-
exports.version = "19.2.0-canary-
|
8739
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
@@ -5867,13 +5867,13 @@ function abort(request, reason) {
|
|
5867
5867
|
}
|
5868
5868
|
var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
|
5869
5869
|
if (
|
5870
|
-
"19.2.0-canary-
|
5870
|
+
"19.2.0-canary-540cd652-20250403" !==
|
5871
5871
|
isomorphicReactPackageVersion$jscomp$inline_761
|
5872
5872
|
)
|
5873
5873
|
throw Error(
|
5874
5874
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5875
5875
|
(isomorphicReactPackageVersion$jscomp$inline_761 +
|
5876
|
-
"\n - react-dom: 19.2.0-canary-
|
5876
|
+
"\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch")
|
5877
5877
|
);
|
5878
5878
|
exports.renderToReadableStream = function (children, options) {
|
5879
5879
|
return new Promise(function (resolve, reject) {
|
@@ -5964,4 +5964,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
5964
5964
|
startWork(request);
|
5965
5965
|
});
|
5966
5966
|
};
|
5967
|
-
exports.version = "19.2.0-canary-
|
5967
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
@@ -7769,11 +7769,11 @@
|
|
7769
7769
|
}
|
7770
7770
|
function ensureCorrectIsomorphicReactVersion() {
|
7771
7771
|
var isomorphicReactPackageVersion = React.version;
|
7772
|
-
if ("19.2.0-canary-
|
7772
|
+
if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion)
|
7773
7773
|
throw Error(
|
7774
7774
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7775
7775
|
(isomorphicReactPackageVersion +
|
7776
|
-
"\n - react-dom: 19.2.0-canary-
|
7776
|
+
"\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch")
|
7777
7777
|
);
|
7778
7778
|
}
|
7779
7779
|
var React = require("react"),
|
@@ -9439,5 +9439,5 @@
|
|
9439
9439
|
startWork(request);
|
9440
9440
|
});
|
9441
9441
|
};
|
9442
|
-
exports.version = "19.2.0-canary-
|
9442
|
+
exports.version = "19.2.0-canary-540cd652-20250403";
|
9443
9443
|
})();
|