react-dom 19.1.0-canary-cbbe8666-20250213 → 19.1.0-canary-e670e72f-20250214
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 +433 -342
- package/cjs/react-dom-client.production.js +37 -35
- package/cjs/react-dom-profiling.development.js +433 -342
- package/cjs/react-dom-profiling.profiling.js +39 -37
- package/cjs/react-dom-server-legacy.browser.development.js +589 -432
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +589 -432
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +588 -431
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +569 -428
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +588 -431
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +588 -431
- 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
@@ -609,8 +609,8 @@
|
|
609
609
|
if (lane & 8) return "InputContinuous";
|
610
610
|
if (lane & 16) return "DefaultHydration";
|
611
611
|
if (lane & 32) return "Default";
|
612
|
-
if (lane &
|
613
|
-
if (lane &
|
612
|
+
if (lane & 128) return "TransitionHydration";
|
613
|
+
if (lane & 4194048) return "Transition";
|
614
614
|
if (lane & 62914560) return "Retry";
|
615
615
|
if (lane & 67108864) return "SelectiveHydration";
|
616
616
|
if (lane & 134217728) return "IdleHydration";
|
@@ -637,6 +637,7 @@
|
|
637
637
|
case 64:
|
638
638
|
return 64;
|
639
639
|
case 128:
|
640
|
+
return 128;
|
640
641
|
case 256:
|
641
642
|
case 512:
|
642
643
|
case 1024:
|
@@ -651,7 +652,7 @@
|
|
651
652
|
case 524288:
|
652
653
|
case 1048576:
|
653
654
|
case 2097152:
|
654
|
-
return lanes &
|
655
|
+
return lanes & 4194048;
|
655
656
|
case 4194304:
|
656
657
|
case 8388608:
|
657
658
|
case 16777216:
|
@@ -713,7 +714,7 @@
|
|
713
714
|
((suspendedLanes = nextLanes & -nextLanes),
|
714
715
|
(rootHasPendingCommit = wipLanes & -wipLanes),
|
715
716
|
suspendedLanes >= rootHasPendingCommit ||
|
716
|
-
(32 === suspendedLanes && 0 !== (rootHasPendingCommit &
|
717
|
+
(32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))
|
717
718
|
? wipLanes
|
718
719
|
: nextLanes;
|
719
720
|
}
|
@@ -731,10 +732,10 @@
|
|
731
732
|
case 2:
|
732
733
|
case 4:
|
733
734
|
case 8:
|
735
|
+
case 64:
|
734
736
|
return currentTime + 250;
|
735
737
|
case 16:
|
736
738
|
case 32:
|
737
|
-
case 64:
|
738
739
|
case 128:
|
739
740
|
case 256:
|
740
741
|
case 512:
|
@@ -774,7 +775,7 @@
|
|
774
775
|
function claimNextTransitionLane() {
|
775
776
|
var lane = nextTransitionLane;
|
776
777
|
nextTransitionLane <<= 1;
|
777
|
-
0 === (nextTransitionLane &
|
778
|
+
0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
|
778
779
|
return lane;
|
779
780
|
}
|
780
781
|
function claimNextRetryLane() {
|
@@ -850,7 +851,7 @@
|
|
850
851
|
root.entanglements[spawnedLaneIndex] =
|
851
852
|
root.entanglements[spawnedLaneIndex] |
|
852
853
|
1073741824 |
|
853
|
-
(entangledLanes &
|
854
|
+
(entangledLanes & 4194090);
|
854
855
|
}
|
855
856
|
function markRootEntangled(root, entangledLanes) {
|
856
857
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
@@ -873,7 +874,6 @@
|
|
873
874
|
case 32:
|
874
875
|
lane = 16;
|
875
876
|
break;
|
876
|
-
case 128:
|
877
877
|
case 256:
|
878
878
|
case 512:
|
879
879
|
case 1024:
|
@@ -892,7 +892,7 @@
|
|
892
892
|
case 8388608:
|
893
893
|
case 16777216:
|
894
894
|
case 33554432:
|
895
|
-
lane =
|
895
|
+
lane = 128;
|
896
896
|
break;
|
897
897
|
case 268435456:
|
898
898
|
lane = 134217728;
|
@@ -1373,6 +1373,27 @@
|
|
1373
1373
|
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
1374
1374
|
return sampleLines;
|
1375
1375
|
}
|
1376
|
+
function formatOwnerStack(error) {
|
1377
|
+
var prevPrepareStackTrace = Error.prepareStackTrace;
|
1378
|
+
Error.prepareStackTrace = void 0;
|
1379
|
+
error = error.stack;
|
1380
|
+
Error.prepareStackTrace = prevPrepareStackTrace;
|
1381
|
+
error.startsWith("Error: react-stack-top-frame\n") &&
|
1382
|
+
(error = error.slice(29));
|
1383
|
+
prevPrepareStackTrace = error.indexOf("\n");
|
1384
|
+
-1 !== prevPrepareStackTrace &&
|
1385
|
+
(error = error.slice(prevPrepareStackTrace + 1));
|
1386
|
+
prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
|
1387
|
+
-1 !== prevPrepareStackTrace &&
|
1388
|
+
(prevPrepareStackTrace = error.lastIndexOf(
|
1389
|
+
"\n",
|
1390
|
+
prevPrepareStackTrace
|
1391
|
+
));
|
1392
|
+
if (-1 !== prevPrepareStackTrace)
|
1393
|
+
error = error.slice(0, prevPrepareStackTrace);
|
1394
|
+
else return "";
|
1395
|
+
return error;
|
1396
|
+
}
|
1376
1397
|
function describeFiber(fiber) {
|
1377
1398
|
switch (fiber.tag) {
|
1378
1399
|
case 26:
|
@@ -1421,29 +1442,96 @@
|
|
1421
1442
|
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
1422
1443
|
}
|
1423
1444
|
}
|
1445
|
+
function describeFunctionComponentFrameWithoutLineNumber(fn) {
|
1446
|
+
return (fn = fn ? fn.displayName || fn.name : "")
|
1447
|
+
? describeBuiltInComponentFrame(fn)
|
1448
|
+
: "";
|
1449
|
+
}
|
1424
1450
|
function getCurrentFiberOwnerNameInDevOrNull() {
|
1425
1451
|
if (null === current) return null;
|
1426
1452
|
var owner = current._debugOwner;
|
1427
1453
|
return null != owner ? getComponentNameFromOwner(owner) : null;
|
1428
1454
|
}
|
1429
1455
|
function getCurrentFiberStackInDev() {
|
1430
|
-
|
1456
|
+
if (null === current) return "";
|
1457
|
+
var workInProgress = current;
|
1458
|
+
try {
|
1459
|
+
var info = "";
|
1460
|
+
6 === workInProgress.tag && (workInProgress = workInProgress.return);
|
1461
|
+
switch (workInProgress.tag) {
|
1462
|
+
case 26:
|
1463
|
+
case 27:
|
1464
|
+
case 5:
|
1465
|
+
info += describeBuiltInComponentFrame(workInProgress.type);
|
1466
|
+
break;
|
1467
|
+
case 13:
|
1468
|
+
info += describeBuiltInComponentFrame("Suspense");
|
1469
|
+
break;
|
1470
|
+
case 19:
|
1471
|
+
info += describeBuiltInComponentFrame("SuspenseList");
|
1472
|
+
break;
|
1473
|
+
case 30:
|
1474
|
+
case 0:
|
1475
|
+
case 15:
|
1476
|
+
case 1:
|
1477
|
+
workInProgress._debugOwner ||
|
1478
|
+
"" !== info ||
|
1479
|
+
(info += describeFunctionComponentFrameWithoutLineNumber(
|
1480
|
+
workInProgress.type
|
1481
|
+
));
|
1482
|
+
break;
|
1483
|
+
case 11:
|
1484
|
+
workInProgress._debugOwner ||
|
1485
|
+
"" !== info ||
|
1486
|
+
(info += describeFunctionComponentFrameWithoutLineNumber(
|
1487
|
+
workInProgress.type.render
|
1488
|
+
));
|
1489
|
+
}
|
1490
|
+
for (; workInProgress; )
|
1491
|
+
if ("number" === typeof workInProgress.tag) {
|
1492
|
+
var fiber = workInProgress;
|
1493
|
+
workInProgress = fiber._debugOwner;
|
1494
|
+
var debugStack = fiber._debugStack;
|
1495
|
+
workInProgress &&
|
1496
|
+
debugStack &&
|
1497
|
+
("string" !== typeof debugStack &&
|
1498
|
+
(fiber._debugStack = debugStack = formatOwnerStack(debugStack)),
|
1499
|
+
"" !== debugStack && (info += "\n" + debugStack));
|
1500
|
+
} else if (null != workInProgress.debugStack) {
|
1501
|
+
var ownerStack = workInProgress.debugStack;
|
1502
|
+
(workInProgress = workInProgress.owner) &&
|
1503
|
+
ownerStack &&
|
1504
|
+
(info += "\n" + formatOwnerStack(ownerStack));
|
1505
|
+
} else break;
|
1506
|
+
var JSCompiler_inline_result = info;
|
1507
|
+
} catch (x) {
|
1508
|
+
JSCompiler_inline_result =
|
1509
|
+
"\nError generating stack: " + x.message + "\n" + x.stack;
|
1510
|
+
}
|
1511
|
+
return JSCompiler_inline_result;
|
1431
1512
|
}
|
1432
1513
|
function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {
|
1433
1514
|
var previousFiber = current;
|
1434
|
-
|
1435
|
-
null === fiber ? null : getCurrentFiberStackInDev;
|
1436
|
-
isRendering = !1;
|
1437
|
-
current = fiber;
|
1515
|
+
setCurrentFiber(fiber);
|
1438
1516
|
try {
|
1439
|
-
return
|
1517
|
+
return null !== fiber && fiber._debugTask
|
1518
|
+
? fiber._debugTask.run(
|
1519
|
+
callback.bind(null, arg0, arg1, arg2, arg3, arg4)
|
1520
|
+
)
|
1521
|
+
: callback(arg0, arg1, arg2, arg3, arg4);
|
1440
1522
|
} finally {
|
1441
|
-
|
1523
|
+
setCurrentFiber(previousFiber);
|
1442
1524
|
}
|
1443
1525
|
throw Error(
|
1444
1526
|
"runWithFiberInDEV should never be called in production. This is a bug in React."
|
1445
1527
|
);
|
1446
1528
|
}
|
1529
|
+
function setCurrentFiber(fiber) {
|
1530
|
+
ReactSharedInternals.getCurrentStack =
|
1531
|
+
null === fiber ? null : getCurrentFiberStackInDev;
|
1532
|
+
isRendering = !1;
|
1533
|
+
current = fiber;
|
1534
|
+
}
|
1447
1535
|
function getToStringValue(value) {
|
1448
1536
|
switch (typeof value) {
|
1449
1537
|
case "bigint":
|
@@ -2496,37 +2584,50 @@
|
|
2496
2584
|
: findInvalidAncestorForTag(childTag, ancestorInfo);
|
2497
2585
|
ancestorInfo = parentInfo || ancestorInfo;
|
2498
2586
|
if (!ancestorInfo) return !0;
|
2499
|
-
|
2500
|
-
|
2501
|
-
if (didWarn[
|
2502
|
-
didWarn[
|
2503
|
-
var ancestor = (
|
2504
|
-
|
2505
|
-
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2587
|
+
var ancestorTag = ancestorInfo.tag;
|
2588
|
+
ancestorInfo = String(!!parentInfo) + "|" + childTag + "|" + ancestorTag;
|
2589
|
+
if (didWarn[ancestorInfo]) return !1;
|
2590
|
+
didWarn[ancestorInfo] = !0;
|
2591
|
+
var ancestor = (ancestorInfo = current)
|
2592
|
+
? findAncestor(ancestorInfo.return, ancestorTag)
|
2593
|
+
: null,
|
2594
|
+
ancestorDescription =
|
2595
|
+
null !== ancestorInfo && null !== ancestor
|
2596
|
+
? describeAncestors(ancestor, ancestorInfo, null)
|
2597
|
+
: "",
|
2598
|
+
tagDisplayName = "<" + childTag + ">";
|
2511
2599
|
parentInfo
|
2512
2600
|
? ((parentInfo = ""),
|
2513
|
-
"table" ===
|
2601
|
+
"table" === ancestorTag &&
|
2514
2602
|
"tr" === childTag &&
|
2515
2603
|
(parentInfo +=
|
2516
2604
|
" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),
|
2517
2605
|
console.error(
|
2518
2606
|
"In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",
|
2519
|
-
|
2520
|
-
|
2607
|
+
tagDisplayName,
|
2608
|
+
ancestorTag,
|
2521
2609
|
parentInfo,
|
2522
|
-
|
2610
|
+
ancestorDescription
|
2523
2611
|
))
|
2524
2612
|
: console.error(
|
2525
2613
|
"In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2614
|
+
tagDisplayName,
|
2615
|
+
ancestorTag,
|
2616
|
+
ancestorDescription
|
2529
2617
|
);
|
2618
|
+
ancestorInfo &&
|
2619
|
+
((childTag = ancestorInfo.return),
|
2620
|
+
null === ancestor ||
|
2621
|
+
null === childTag ||
|
2622
|
+
(ancestor === childTag &&
|
2623
|
+
childTag._debugOwner === ancestorInfo._debugOwner) ||
|
2624
|
+
runWithFiberInDEV(ancestor, function () {
|
2625
|
+
console.error(
|
2626
|
+
"<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",
|
2627
|
+
ancestorTag,
|
2628
|
+
tagDisplayName
|
2629
|
+
);
|
2630
|
+
}));
|
2530
2631
|
return !1;
|
2531
2632
|
}
|
2532
2633
|
function validateTextNesting(childText, parentTag, implicitRootScope) {
|
@@ -3736,17 +3837,19 @@
|
|
3736
3837
|
(isHidden = !0)),
|
3737
3838
|
(sourceFiber = parent),
|
3738
3839
|
(parent = parent.return);
|
3739
|
-
|
3740
|
-
|
3741
|
-
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3840
|
+
return 3 === sourceFiber.tag
|
3841
|
+
? ((parent = sourceFiber.stateNode),
|
3842
|
+
isHidden &&
|
3843
|
+
null !== update &&
|
3844
|
+
((isHidden = 31 - clz32(lane)),
|
3845
|
+
(sourceFiber = parent.hiddenUpdates),
|
3846
|
+
(alternate = sourceFiber[isHidden]),
|
3847
|
+
null === alternate
|
3848
|
+
? (sourceFiber[isHidden] = [update])
|
3849
|
+
: alternate.push(update),
|
3850
|
+
(update.lane = lane | 536870912)),
|
3851
|
+
parent)
|
3852
|
+
: null;
|
3750
3853
|
}
|
3751
3854
|
function getRootForUpdatedFiber(sourceFiber) {
|
3752
3855
|
if (nestedUpdateCount > NESTED_UPDATE_LIMIT)
|
@@ -4269,7 +4372,7 @@
|
|
4269
4372
|
}
|
4270
4373
|
function entangleTransitions(root, fiber, lane) {
|
4271
4374
|
fiber = fiber.updateQueue;
|
4272
|
-
if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane &
|
4375
|
+
if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {
|
4273
4376
|
var queueLanes = fiber.lanes;
|
4274
4377
|
queueLanes &= root.pendingLanes;
|
4275
4378
|
lane |= queueLanes;
|
@@ -5449,7 +5552,7 @@
|
|
5449
5552
|
throw Error(
|
5450
5553
|
"Expected a work-in-progress root. This is a bug in React. Please file an issue."
|
5451
5554
|
);
|
5452
|
-
0 !== (workInProgressRootRenderLanes &
|
5555
|
+
0 !== (workInProgressRootRenderLanes & 124) ||
|
5453
5556
|
pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
|
5454
5557
|
}
|
5455
5558
|
hook.memoizedState = nextSnapshot;
|
@@ -5532,7 +5635,7 @@
|
|
5532
5635
|
"Expected a work-in-progress root. This is a bug in React. Please file an issue."
|
5533
5636
|
);
|
5534
5637
|
isHydrating$jscomp$0 ||
|
5535
|
-
0 !== (renderLanes &
|
5638
|
+
0 !== (renderLanes & 124) ||
|
5536
5639
|
pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
5537
5640
|
}
|
5538
5641
|
return getServerSnapshot;
|
@@ -6475,7 +6578,7 @@
|
|
6475
6578
|
queue.pending = update;
|
6476
6579
|
}
|
6477
6580
|
function entangleTransitionUpdate(root, queue, lane) {
|
6478
|
-
if (0 !== (lane &
|
6581
|
+
if (0 !== (lane & 4194048)) {
|
6479
6582
|
var queueLanes = queue.lanes;
|
6480
6583
|
queueLanes &= root.pendingLanes;
|
6481
6584
|
lane |= queueLanes;
|
@@ -6639,6 +6742,7 @@
|
|
6639
6742
|
)),
|
6640
6743
|
(current.return = returnFiber),
|
6641
6744
|
(current._debugOwner = returnFiber),
|
6745
|
+
(current._debugTask = returnFiber._debugTask),
|
6642
6746
|
(current._debugInfo = currentDebugInfo),
|
6643
6747
|
current
|
6644
6748
|
);
|
@@ -6713,6 +6817,7 @@
|
|
6713
6817
|
)),
|
6714
6818
|
(current.return = returnFiber),
|
6715
6819
|
(current._debugOwner = returnFiber),
|
6820
|
+
(current._debugTask = returnFiber._debugTask),
|
6716
6821
|
(current._debugInfo = currentDebugInfo),
|
6717
6822
|
current
|
6718
6823
|
);
|
@@ -6735,6 +6840,7 @@
|
|
6735
6840
|
)),
|
6736
6841
|
(newChild.return = returnFiber),
|
6737
6842
|
(newChild._debugOwner = returnFiber),
|
6843
|
+
(newChild._debugTask = returnFiber._debugTask),
|
6738
6844
|
(newChild._debugInfo = currentDebugInfo),
|
6739
6845
|
newChild
|
6740
6846
|
);
|
@@ -6782,6 +6888,7 @@
|
|
6782
6888
|
)),
|
6783
6889
|
(lanes.return = returnFiber),
|
6784
6890
|
(lanes._debugOwner = returnFiber),
|
6891
|
+
(lanes._debugTask = returnFiber._debugTask),
|
6785
6892
|
(returnFiber = pushDebugInfo(newChild._debugInfo)),
|
6786
6893
|
(lanes._debugInfo = currentDebugInfo),
|
6787
6894
|
(currentDebugInfo = returnFiber),
|
@@ -7319,6 +7426,7 @@
|
|
7319
7426
|
)),
|
7320
7427
|
(lanes.return = returnFiber),
|
7321
7428
|
(lanes._debugOwner = returnFiber),
|
7429
|
+
(lanes._debugTask = returnFiber._debugTask),
|
7322
7430
|
(lanes._debugInfo = currentDebugInfo),
|
7323
7431
|
validateFragmentProps(newChild, lanes, returnFiber),
|
7324
7432
|
(returnFiber = lanes))
|
@@ -7485,6 +7593,7 @@
|
|
7485
7593
|
)),
|
7486
7594
|
(lanes.return = returnFiber),
|
7487
7595
|
(lanes._debugOwner = returnFiber),
|
7596
|
+
(lanes._debugTask = returnFiber._debugTask),
|
7488
7597
|
(lanes._debugInfo = currentDebugInfo),
|
7489
7598
|
(returnFiber = lanes)),
|
7490
7599
|
placeSingleChild(returnFiber)
|
@@ -7514,10 +7623,12 @@
|
|
7514
7623
|
fiber.return = returnFiber;
|
7515
7624
|
var debugInfo = (fiber._debugInfo = currentDebugInfo);
|
7516
7625
|
fiber._debugOwner = returnFiber._debugOwner;
|
7626
|
+
fiber._debugTask = returnFiber._debugTask;
|
7517
7627
|
if (null != debugInfo)
|
7518
7628
|
for (var i = debugInfo.length - 1; 0 <= i; i--)
|
7519
7629
|
if ("string" === typeof debugInfo[i].stack) {
|
7520
7630
|
fiber._debugOwner = debugInfo[i];
|
7631
|
+
fiber._debugTask = debugInfo[i].debugTask;
|
7521
7632
|
break;
|
7522
7633
|
}
|
7523
7634
|
return fiber;
|
@@ -7598,63 +7709,62 @@
|
|
7598
7709
|
}
|
7599
7710
|
return null;
|
7600
7711
|
}
|
7601
|
-
function defaultOnUncaughtError(error
|
7712
|
+
function defaultOnUncaughtError(error) {
|
7602
7713
|
reportGlobalError(error);
|
7603
|
-
|
7604
|
-
|
7605
|
-
|
7606
|
-
|
7607
|
-
|
7608
|
-
|
7609
|
-
|
7610
|
-
return componentStack;
|
7611
|
-
};
|
7612
|
-
try {
|
7613
|
-
console.warn(
|
7614
|
-
"%s\n\n%s\n",
|
7615
|
-
error,
|
7616
|
-
"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."
|
7617
|
-
);
|
7618
|
-
} finally {
|
7619
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
7620
|
-
}
|
7714
|
+
console.warn(
|
7715
|
+
"%s\n\n%s\n",
|
7716
|
+
componentName
|
7717
|
+
? "An error occurred in the <" + componentName + "> component."
|
7718
|
+
: "An error occurred in one of your React components.",
|
7719
|
+
"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."
|
7720
|
+
);
|
7621
7721
|
}
|
7622
|
-
function defaultOnCaughtError(error
|
7722
|
+
function defaultOnCaughtError(error) {
|
7623
7723
|
var componentNameMessage = componentName
|
7624
7724
|
? "The above error occurred in the <" + componentName + "> component."
|
7625
7725
|
: "The above error occurred in one of your React components.",
|
7626
7726
|
recreateMessage =
|
7627
7727
|
"React will try to recreate this component tree from scratch using the error boundary you provided, " +
|
7628
|
-
((errorBoundaryName || "Anonymous") + ".")
|
7629
|
-
|
7630
|
-
componentStack =
|
7631
|
-
null != errorInfo.componentStack ? errorInfo.componentStack : "";
|
7632
|
-
ReactSharedInternals.getCurrentStack = function () {
|
7633
|
-
return componentStack;
|
7634
|
-
};
|
7635
|
-
try {
|
7728
|
+
((errorBoundaryName || "Anonymous") + ".");
|
7729
|
+
if (
|
7636
7730
|
"object" === typeof error &&
|
7637
7731
|
null !== error &&
|
7638
7732
|
"string" === typeof error.environmentName
|
7639
|
-
|
7640
|
-
|
7641
|
-
|
7642
|
-
|
7643
|
-
|
7644
|
-
|
7645
|
-
|
7646
|
-
|
7647
|
-
|
7648
|
-
|
7649
|
-
|
7650
|
-
|
7651
|
-
error,
|
7652
|
-
|
7653
|
-
|
7733
|
+
) {
|
7734
|
+
var JSCompiler_inline_result = error.environmentName;
|
7735
|
+
error = [
|
7736
|
+
"%o\n\n%s\n\n%s\n",
|
7737
|
+
error,
|
7738
|
+
componentNameMessage,
|
7739
|
+
recreateMessage
|
7740
|
+
].slice(0);
|
7741
|
+
"string" === typeof error[0]
|
7742
|
+
? error.splice(
|
7743
|
+
0,
|
7744
|
+
1,
|
7745
|
+
badgeFormat + error[0],
|
7746
|
+
badgeStyle,
|
7747
|
+
pad + JSCompiler_inline_result + pad,
|
7748
|
+
resetStyle
|
7749
|
+
)
|
7750
|
+
: error.splice(
|
7751
|
+
0,
|
7752
|
+
0,
|
7753
|
+
badgeFormat,
|
7754
|
+
badgeStyle,
|
7755
|
+
pad + JSCompiler_inline_result + pad,
|
7756
|
+
resetStyle
|
7654
7757
|
);
|
7655
|
-
|
7656
|
-
|
7657
|
-
|
7758
|
+
error.unshift(console);
|
7759
|
+
JSCompiler_inline_result = bind.apply(console.error, error);
|
7760
|
+
JSCompiler_inline_result();
|
7761
|
+
} else
|
7762
|
+
console.error(
|
7763
|
+
"%o\n\n%s\n\n%s\n",
|
7764
|
+
error,
|
7765
|
+
componentNameMessage,
|
7766
|
+
recreateMessage
|
7767
|
+
);
|
7658
7768
|
}
|
7659
7769
|
function defaultOnRecoverableError(error) {
|
7660
7770
|
reportGlobalError(error);
|
@@ -8273,7 +8383,7 @@
|
|
8273
8383
|
return workInProgress.child;
|
8274
8384
|
}
|
8275
8385
|
function updateClassComponent(
|
8276
|
-
current
|
8386
|
+
current,
|
8277
8387
|
workInProgress,
|
8278
8388
|
Component,
|
8279
8389
|
nextProps,
|
@@ -8589,7 +8699,7 @@
|
|
8589
8699
|
(workInProgress.mode & StrictEffectsMode) !== NoMode &&
|
8590
8700
|
(workInProgress.flags |= 134217728);
|
8591
8701
|
_instance = !0;
|
8592
|
-
} else if (null === current
|
8702
|
+
} else if (null === current) {
|
8593
8703
|
_instance = workInProgress.stateNode;
|
8594
8704
|
var unresolvedOldProps = workInProgress.memoizedProps;
|
8595
8705
|
lane = resolveClassComponentProps(Component, unresolvedOldProps);
|
@@ -8669,7 +8779,7 @@
|
|
8669
8779
|
(_instance = !1));
|
8670
8780
|
} else {
|
8671
8781
|
_instance = workInProgress.stateNode;
|
8672
|
-
cloneUpdateQueue(current
|
8782
|
+
cloneUpdateQueue(current, workInProgress);
|
8673
8783
|
state = workInProgress.memoizedProps;
|
8674
8784
|
foundWillUpdateName = resolveClassComponentProps(Component, state);
|
8675
8785
|
_instance.props = foundWillUpdateName;
|
@@ -8702,9 +8812,9 @@
|
|
8702
8812
|
state !== newApiName ||
|
8703
8813
|
oldState !== newState ||
|
8704
8814
|
hasForceUpdate ||
|
8705
|
-
(null !== current
|
8706
|
-
null !== current
|
8707
|
-
checkIfContextChanged(current
|
8815
|
+
(null !== current &&
|
8816
|
+
null !== current.dependencies &&
|
8817
|
+
checkIfContextChanged(current.dependencies))
|
8708
8818
|
? ("function" === typeof unresolvedOldProps &&
|
8709
8819
|
(applyDerivedStateFromProps(
|
8710
8820
|
workInProgress,
|
@@ -8724,9 +8834,9 @@
|
|
8724
8834
|
newState,
|
8725
8835
|
lane
|
8726
8836
|
) ||
|
8727
|
-
(null !== current
|
8728
|
-
null !== current
|
8729
|
-
checkIfContextChanged(current
|
8837
|
+
(null !== current &&
|
8838
|
+
null !== current.dependencies &&
|
8839
|
+
checkIfContextChanged(current.dependencies)))
|
8730
8840
|
? (oldContext ||
|
8731
8841
|
("function" !== typeof _instance.UNSAFE_componentWillUpdate &&
|
8732
8842
|
"function" !== typeof _instance.componentWillUpdate) ||
|
@@ -8743,12 +8853,12 @@
|
|
8743
8853
|
"function" === typeof _instance.getSnapshotBeforeUpdate &&
|
8744
8854
|
(workInProgress.flags |= 1024))
|
8745
8855
|
: ("function" !== typeof _instance.componentDidUpdate ||
|
8746
|
-
(state === current
|
8747
|
-
oldState === current
|
8856
|
+
(state === current.memoizedProps &&
|
8857
|
+
oldState === current.memoizedState) ||
|
8748
8858
|
(workInProgress.flags |= 4),
|
8749
8859
|
"function" !== typeof _instance.getSnapshotBeforeUpdate ||
|
8750
|
-
(state === current
|
8751
|
-
oldState === current
|
8860
|
+
(state === current.memoizedProps &&
|
8861
|
+
oldState === current.memoizedState) ||
|
8752
8862
|
(workInProgress.flags |= 1024),
|
8753
8863
|
(workInProgress.memoizedProps = nextProps),
|
8754
8864
|
(workInProgress.memoizedState = newState)),
|
@@ -8757,24 +8867,21 @@
|
|
8757
8867
|
(_instance.context = lane),
|
8758
8868
|
(_instance = foundWillUpdateName))
|
8759
8869
|
: ("function" !== typeof _instance.componentDidUpdate ||
|
8760
|
-
(state === current
|
8761
|
-
oldState === current
|
8870
|
+
(state === current.memoizedProps &&
|
8871
|
+
oldState === current.memoizedState) ||
|
8762
8872
|
(workInProgress.flags |= 4),
|
8763
8873
|
"function" !== typeof _instance.getSnapshotBeforeUpdate ||
|
8764
|
-
(state === current
|
8765
|
-
oldState === current
|
8874
|
+
(state === current.memoizedProps &&
|
8875
|
+
oldState === current.memoizedState) ||
|
8766
8876
|
(workInProgress.flags |= 1024),
|
8767
8877
|
(_instance = !1));
|
8768
8878
|
}
|
8769
8879
|
lane = _instance;
|
8770
|
-
markRef(current
|
8880
|
+
markRef(current, workInProgress);
|
8771
8881
|
state = 0 !== (workInProgress.flags & 128);
|
8772
8882
|
if (lane || state) {
|
8773
8883
|
lane = workInProgress.stateNode;
|
8774
|
-
|
8775
|
-
null === workInProgress ? null : getCurrentFiberStackInDev;
|
8776
|
-
isRendering = !1;
|
8777
|
-
current = workInProgress;
|
8884
|
+
setCurrentFiber(workInProgress);
|
8778
8885
|
if (state && "function" !== typeof Component.getDerivedStateFromError)
|
8779
8886
|
(Component = null), (profilerStartTime = -1);
|
8780
8887
|
else {
|
@@ -8791,10 +8898,10 @@
|
|
8791
8898
|
markComponentRenderStopped();
|
8792
8899
|
}
|
8793
8900
|
workInProgress.flags |= 1;
|
8794
|
-
null !== current
|
8901
|
+
null !== current && state
|
8795
8902
|
? ((workInProgress.child = reconcileChildFibers(
|
8796
8903
|
workInProgress,
|
8797
|
-
current
|
8904
|
+
current.child,
|
8798
8905
|
null,
|
8799
8906
|
renderLanes
|
8800
8907
|
)),
|
@@ -8804,17 +8911,12 @@
|
|
8804
8911
|
Component,
|
8805
8912
|
renderLanes
|
8806
8913
|
)))
|
8807
|
-
: reconcileChildren(
|
8808
|
-
current$jscomp$0,
|
8809
|
-
workInProgress,
|
8810
|
-
Component,
|
8811
|
-
renderLanes
|
8812
|
-
);
|
8914
|
+
: reconcileChildren(current, workInProgress, Component, renderLanes);
|
8813
8915
|
workInProgress.memoizedState = lane.state;
|
8814
|
-
current
|
8916
|
+
current = workInProgress.child;
|
8815
8917
|
} else
|
8816
|
-
current
|
8817
|
-
current
|
8918
|
+
current = bailoutOnAlreadyFinishedWork(
|
8919
|
+
current,
|
8818
8920
|
workInProgress,
|
8819
8921
|
renderLanes
|
8820
8922
|
);
|
@@ -8827,7 +8929,7 @@
|
|
8827
8929
|
getComponentNameFromFiber(workInProgress) || "a component"
|
8828
8930
|
),
|
8829
8931
|
(didWarnAboutReassigningProps = !0));
|
8830
|
-
return current
|
8932
|
+
return current;
|
8831
8933
|
}
|
8832
8934
|
function mountHostRootWithoutHydrating(
|
8833
8935
|
current,
|
@@ -8879,32 +8981,32 @@
|
|
8879
8981
|
return current;
|
8880
8982
|
}
|
8881
8983
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8882
|
-
var
|
8883
|
-
var
|
8984
|
+
var JSCompiler_object_inline_digest_2432;
|
8985
|
+
var JSCompiler_object_inline_stack_2433 = workInProgress.pendingProps;
|
8884
8986
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8885
|
-
var
|
8987
|
+
var JSCompiler_object_inline_componentStack_2434 = !1;
|
8886
8988
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8887
|
-
(
|
8888
|
-
(
|
8989
|
+
(JSCompiler_object_inline_digest_2432 = didSuspend) ||
|
8990
|
+
(JSCompiler_object_inline_digest_2432 =
|
8889
8991
|
null !== current && null === current.memoizedState
|
8890
8992
|
? !1
|
8891
8993
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8892
|
-
|
8893
|
-
((
|
8994
|
+
JSCompiler_object_inline_digest_2432 &&
|
8995
|
+
((JSCompiler_object_inline_componentStack_2434 = !0),
|
8894
8996
|
(workInProgress.flags &= -129));
|
8895
|
-
|
8997
|
+
JSCompiler_object_inline_digest_2432 = 0 !== (workInProgress.flags & 32);
|
8896
8998
|
workInProgress.flags &= -33;
|
8897
8999
|
if (null === current) {
|
8898
9000
|
if (isHydrating) {
|
8899
|
-
|
9001
|
+
JSCompiler_object_inline_componentStack_2434
|
8900
9002
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8901
9003
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8902
9004
|
if (isHydrating) {
|
8903
|
-
var
|
9005
|
+
var JSCompiler_object_inline_message_2431 = nextHydratableInstance;
|
8904
9006
|
var JSCompiler_temp;
|
8905
|
-
if (!(JSCompiler_temp = !
|
9007
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2431)) {
|
8906
9008
|
c: {
|
8907
|
-
var instance =
|
9009
|
+
var instance = JSCompiler_object_inline_message_2431;
|
8908
9010
|
for (
|
8909
9011
|
JSCompiler_temp = rootOrSingletonContext;
|
8910
9012
|
8 !== instance.nodeType;
|
@@ -8946,77 +9048,77 @@
|
|
8946
9048
|
JSCompiler_temp &&
|
8947
9049
|
(warnNonHydratedInstance(
|
8948
9050
|
workInProgress,
|
8949
|
-
|
9051
|
+
JSCompiler_object_inline_message_2431
|
8950
9052
|
),
|
8951
9053
|
throwOnHydrationMismatch(workInProgress));
|
8952
9054
|
}
|
8953
|
-
|
9055
|
+
JSCompiler_object_inline_message_2431 = workInProgress.memoizedState;
|
8954
9056
|
if (
|
8955
|
-
null !==
|
8956
|
-
((
|
8957
|
-
|
8958
|
-
null !==
|
9057
|
+
null !== JSCompiler_object_inline_message_2431 &&
|
9058
|
+
((JSCompiler_object_inline_message_2431 =
|
9059
|
+
JSCompiler_object_inline_message_2431.dehydrated),
|
9060
|
+
null !== JSCompiler_object_inline_message_2431)
|
8959
9061
|
)
|
8960
9062
|
return (
|
8961
|
-
isSuspenseInstanceFallback(
|
9063
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2431)
|
8962
9064
|
? (workInProgress.lanes = 32)
|
8963
9065
|
: (workInProgress.lanes = 536870912),
|
8964
9066
|
null
|
8965
9067
|
);
|
8966
9068
|
popSuspenseHandler(workInProgress);
|
8967
9069
|
}
|
8968
|
-
|
8969
|
-
|
8970
|
-
|
8971
|
-
|
8972
|
-
if (
|
9070
|
+
JSCompiler_object_inline_message_2431 =
|
9071
|
+
JSCompiler_object_inline_stack_2433.children;
|
9072
|
+
JSCompiler_object_inline_stack_2433 =
|
9073
|
+
JSCompiler_object_inline_stack_2433.fallback;
|
9074
|
+
if (JSCompiler_object_inline_componentStack_2434)
|
8973
9075
|
return (
|
8974
9076
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8975
|
-
(
|
9077
|
+
(JSCompiler_object_inline_componentStack_2434 =
|
8976
9078
|
workInProgress.mode),
|
8977
|
-
(
|
9079
|
+
(JSCompiler_object_inline_message_2431 =
|
8978
9080
|
mountWorkInProgressOffscreenFiber(
|
8979
9081
|
{
|
8980
9082
|
mode: "hidden",
|
8981
|
-
children:
|
9083
|
+
children: JSCompiler_object_inline_message_2431
|
8982
9084
|
},
|
8983
|
-
|
9085
|
+
JSCompiler_object_inline_componentStack_2434
|
8984
9086
|
)),
|
8985
|
-
(
|
8986
|
-
|
8987
|
-
|
9087
|
+
(JSCompiler_object_inline_stack_2433 = createFiberFromFragment(
|
9088
|
+
JSCompiler_object_inline_stack_2433,
|
9089
|
+
JSCompiler_object_inline_componentStack_2434,
|
8988
9090
|
renderLanes,
|
8989
9091
|
null
|
8990
9092
|
)),
|
8991
|
-
(
|
8992
|
-
(
|
8993
|
-
(
|
8994
|
-
|
8995
|
-
(workInProgress.child =
|
8996
|
-
(
|
9093
|
+
(JSCompiler_object_inline_message_2431.return = workInProgress),
|
9094
|
+
(JSCompiler_object_inline_stack_2433.return = workInProgress),
|
9095
|
+
(JSCompiler_object_inline_message_2431.sibling =
|
9096
|
+
JSCompiler_object_inline_stack_2433),
|
9097
|
+
(workInProgress.child = JSCompiler_object_inline_message_2431),
|
9098
|
+
(JSCompiler_object_inline_componentStack_2434 =
|
8997
9099
|
workInProgress.child),
|
8998
|
-
(
|
9100
|
+
(JSCompiler_object_inline_componentStack_2434.memoizedState =
|
8999
9101
|
mountSuspenseOffscreenState(renderLanes)),
|
9000
|
-
(
|
9102
|
+
(JSCompiler_object_inline_componentStack_2434.childLanes =
|
9001
9103
|
getRemainingWorkInPrimaryTree(
|
9002
9104
|
current,
|
9003
|
-
|
9105
|
+
JSCompiler_object_inline_digest_2432,
|
9004
9106
|
renderLanes
|
9005
9107
|
)),
|
9006
9108
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9007
|
-
|
9109
|
+
JSCompiler_object_inline_stack_2433
|
9008
9110
|
);
|
9009
9111
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9010
9112
|
return mountSuspensePrimaryChildren(
|
9011
9113
|
workInProgress,
|
9012
|
-
|
9114
|
+
JSCompiler_object_inline_message_2431
|
9013
9115
|
);
|
9014
9116
|
}
|
9015
9117
|
var prevState = current.memoizedState;
|
9016
9118
|
if (
|
9017
9119
|
null !== prevState &&
|
9018
|
-
((
|
9019
|
-
null !==
|
9120
|
+
((JSCompiler_object_inline_message_2431 = prevState.dehydrated),
|
9121
|
+
null !== JSCompiler_object_inline_message_2431)
|
9020
9122
|
) {
|
9021
9123
|
if (didSuspend)
|
9022
9124
|
workInProgress.flags & 256
|
@@ -9033,94 +9135,94 @@
|
|
9033
9135
|
(workInProgress.flags |= 128),
|
9034
9136
|
(workInProgress = null))
|
9035
9137
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9036
|
-
(
|
9037
|
-
|
9038
|
-
(
|
9039
|
-
(
|
9138
|
+
(JSCompiler_object_inline_componentStack_2434 =
|
9139
|
+
JSCompiler_object_inline_stack_2433.fallback),
|
9140
|
+
(JSCompiler_object_inline_message_2431 = workInProgress.mode),
|
9141
|
+
(JSCompiler_object_inline_stack_2433 =
|
9040
9142
|
mountWorkInProgressOffscreenFiber(
|
9041
9143
|
{
|
9042
9144
|
mode: "visible",
|
9043
|
-
children:
|
9145
|
+
children: JSCompiler_object_inline_stack_2433.children
|
9044
9146
|
},
|
9045
|
-
|
9147
|
+
JSCompiler_object_inline_message_2431
|
9046
9148
|
)),
|
9047
|
-
(
|
9149
|
+
(JSCompiler_object_inline_componentStack_2434 =
|
9048
9150
|
createFiberFromFragment(
|
9049
|
-
|
9050
|
-
|
9151
|
+
JSCompiler_object_inline_componentStack_2434,
|
9152
|
+
JSCompiler_object_inline_message_2431,
|
9051
9153
|
renderLanes,
|
9052
9154
|
null
|
9053
9155
|
)),
|
9054
|
-
(
|
9055
|
-
(
|
9056
|
-
(
|
9156
|
+
(JSCompiler_object_inline_componentStack_2434.flags |= 2),
|
9157
|
+
(JSCompiler_object_inline_stack_2433.return = workInProgress),
|
9158
|
+
(JSCompiler_object_inline_componentStack_2434.return =
|
9057
9159
|
workInProgress),
|
9058
|
-
(
|
9059
|
-
|
9060
|
-
(workInProgress.child =
|
9160
|
+
(JSCompiler_object_inline_stack_2433.sibling =
|
9161
|
+
JSCompiler_object_inline_componentStack_2434),
|
9162
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2433),
|
9061
9163
|
reconcileChildFibers(
|
9062
9164
|
workInProgress,
|
9063
9165
|
current.child,
|
9064
9166
|
null,
|
9065
9167
|
renderLanes
|
9066
9168
|
),
|
9067
|
-
(
|
9068
|
-
(
|
9169
|
+
(JSCompiler_object_inline_stack_2433 = workInProgress.child),
|
9170
|
+
(JSCompiler_object_inline_stack_2433.memoizedState =
|
9069
9171
|
mountSuspenseOffscreenState(renderLanes)),
|
9070
|
-
(
|
9172
|
+
(JSCompiler_object_inline_stack_2433.childLanes =
|
9071
9173
|
getRemainingWorkInPrimaryTree(
|
9072
9174
|
current,
|
9073
|
-
|
9175
|
+
JSCompiler_object_inline_digest_2432,
|
9074
9176
|
renderLanes
|
9075
9177
|
)),
|
9076
9178
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9077
9179
|
(workInProgress =
|
9078
|
-
|
9180
|
+
JSCompiler_object_inline_componentStack_2434));
|
9079
9181
|
else if (
|
9080
9182
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9081
9183
|
isHydrating &&
|
9082
9184
|
console.error(
|
9083
9185
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9084
9186
|
),
|
9085
|
-
isSuspenseInstanceFallback(
|
9187
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2431))
|
9086
9188
|
) {
|
9087
|
-
|
9088
|
-
|
9089
|
-
|
9090
|
-
if (
|
9091
|
-
JSCompiler_temp =
|
9092
|
-
var message =
|
9093
|
-
instance =
|
9094
|
-
var componentStack =
|
9189
|
+
JSCompiler_object_inline_digest_2432 =
|
9190
|
+
JSCompiler_object_inline_message_2431.nextSibling &&
|
9191
|
+
JSCompiler_object_inline_message_2431.nextSibling.dataset;
|
9192
|
+
if (JSCompiler_object_inline_digest_2432) {
|
9193
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2432.dgst;
|
9194
|
+
var message = JSCompiler_object_inline_digest_2432.msg;
|
9195
|
+
instance = JSCompiler_object_inline_digest_2432.stck;
|
9196
|
+
var componentStack = JSCompiler_object_inline_digest_2432.cstck;
|
9095
9197
|
}
|
9096
|
-
|
9097
|
-
|
9098
|
-
|
9099
|
-
JSCompiler_temp =
|
9198
|
+
JSCompiler_object_inline_message_2431 = message;
|
9199
|
+
JSCompiler_object_inline_digest_2432 = JSCompiler_temp;
|
9200
|
+
JSCompiler_object_inline_stack_2433 = instance;
|
9201
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2434 =
|
9100
9202
|
componentStack;
|
9101
|
-
|
9102
|
-
|
9103
|
-
? Error(
|
9203
|
+
JSCompiler_object_inline_componentStack_2434 =
|
9204
|
+
JSCompiler_object_inline_message_2431
|
9205
|
+
? Error(JSCompiler_object_inline_message_2431)
|
9104
9206
|
: Error(
|
9105
9207
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9106
9208
|
);
|
9107
|
-
|
9108
|
-
|
9109
|
-
|
9110
|
-
|
9111
|
-
|
9209
|
+
JSCompiler_object_inline_componentStack_2434.stack =
|
9210
|
+
JSCompiler_object_inline_stack_2433 || "";
|
9211
|
+
JSCompiler_object_inline_componentStack_2434.digest =
|
9212
|
+
JSCompiler_object_inline_digest_2432;
|
9213
|
+
JSCompiler_object_inline_digest_2432 =
|
9112
9214
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9113
|
-
|
9114
|
-
value:
|
9215
|
+
JSCompiler_object_inline_stack_2433 = {
|
9216
|
+
value: JSCompiler_object_inline_componentStack_2434,
|
9115
9217
|
source: null,
|
9116
|
-
stack:
|
9218
|
+
stack: JSCompiler_object_inline_digest_2432
|
9117
9219
|
};
|
9118
|
-
"string" === typeof
|
9220
|
+
"string" === typeof JSCompiler_object_inline_digest_2432 &&
|
9119
9221
|
CapturedStacks.set(
|
9120
|
-
|
9121
|
-
|
9222
|
+
JSCompiler_object_inline_componentStack_2434,
|
9223
|
+
JSCompiler_object_inline_stack_2433
|
9122
9224
|
);
|
9123
|
-
queueHydrationError(
|
9225
|
+
queueHydrationError(JSCompiler_object_inline_stack_2433);
|
9124
9226
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9125
9227
|
current,
|
9126
9228
|
workInProgress,
|
@@ -9134,44 +9236,44 @@
|
|
9134
9236
|
renderLanes,
|
9135
9237
|
!1
|
9136
9238
|
),
|
9137
|
-
(
|
9239
|
+
(JSCompiler_object_inline_digest_2432 =
|
9138
9240
|
0 !== (renderLanes & current.childLanes)),
|
9139
|
-
didReceiveUpdate ||
|
9241
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2432)
|
9140
9242
|
) {
|
9141
|
-
|
9243
|
+
JSCompiler_object_inline_digest_2432 = workInProgressRoot;
|
9142
9244
|
if (
|
9143
|
-
null !==
|
9144
|
-
((
|
9145
|
-
(
|
9146
|
-
0 !== (
|
9245
|
+
null !== JSCompiler_object_inline_digest_2432 &&
|
9246
|
+
((JSCompiler_object_inline_stack_2433 = renderLanes & -renderLanes),
|
9247
|
+
(JSCompiler_object_inline_stack_2433 =
|
9248
|
+
0 !== (JSCompiler_object_inline_stack_2433 & 42)
|
9147
9249
|
? 1
|
9148
9250
|
: getBumpedLaneForHydrationByLane(
|
9149
|
-
|
9251
|
+
JSCompiler_object_inline_stack_2433
|
9150
9252
|
)),
|
9151
|
-
(
|
9253
|
+
(JSCompiler_object_inline_stack_2433 =
|
9152
9254
|
0 !==
|
9153
|
-
(
|
9154
|
-
(
|
9255
|
+
(JSCompiler_object_inline_stack_2433 &
|
9256
|
+
(JSCompiler_object_inline_digest_2432.suspendedLanes |
|
9155
9257
|
renderLanes))
|
9156
9258
|
? 0
|
9157
|
-
:
|
9158
|
-
0 !==
|
9159
|
-
|
9259
|
+
: JSCompiler_object_inline_stack_2433),
|
9260
|
+
0 !== JSCompiler_object_inline_stack_2433 &&
|
9261
|
+
JSCompiler_object_inline_stack_2433 !== prevState.retryLane)
|
9160
9262
|
)
|
9161
9263
|
throw (
|
9162
|
-
((prevState.retryLane =
|
9264
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2433),
|
9163
9265
|
enqueueConcurrentRenderForLane(
|
9164
9266
|
current,
|
9165
|
-
|
9267
|
+
JSCompiler_object_inline_stack_2433
|
9166
9268
|
),
|
9167
9269
|
scheduleUpdateOnFiber(
|
9168
|
-
|
9270
|
+
JSCompiler_object_inline_digest_2432,
|
9169
9271
|
current,
|
9170
|
-
|
9272
|
+
JSCompiler_object_inline_stack_2433
|
9171
9273
|
),
|
9172
9274
|
SelectiveHydrationException)
|
9173
9275
|
);
|
9174
|
-
|
9276
|
+
JSCompiler_object_inline_message_2431.data ===
|
9175
9277
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9176
9278
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9177
9279
|
current,
|
@@ -9179,14 +9281,14 @@
|
|
9179
9281
|
renderLanes
|
9180
9282
|
);
|
9181
9283
|
} else
|
9182
|
-
|
9284
|
+
JSCompiler_object_inline_message_2431.data ===
|
9183
9285
|
SUSPENSE_PENDING_START_DATA
|
9184
9286
|
? ((workInProgress.flags |= 192),
|
9185
9287
|
(workInProgress.child = current.child),
|
9186
9288
|
(workInProgress = null))
|
9187
9289
|
: ((current = prevState.treeContext),
|
9188
9290
|
(nextHydratableInstance = getNextHydratable(
|
9189
|
-
|
9291
|
+
JSCompiler_object_inline_message_2431.nextSibling
|
9190
9292
|
)),
|
9191
9293
|
(hydrationParentFiber = workInProgress),
|
9192
9294
|
(isHydrating = !0),
|
@@ -9204,57 +9306,57 @@
|
|
9204
9306
|
(treeContextProvider = workInProgress)),
|
9205
9307
|
(workInProgress = mountSuspensePrimaryChildren(
|
9206
9308
|
workInProgress,
|
9207
|
-
|
9309
|
+
JSCompiler_object_inline_stack_2433.children
|
9208
9310
|
)),
|
9209
9311
|
(workInProgress.flags |= 4096));
|
9210
9312
|
return workInProgress;
|
9211
9313
|
}
|
9212
|
-
if (
|
9314
|
+
if (JSCompiler_object_inline_componentStack_2434)
|
9213
9315
|
return (
|
9214
9316
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9215
|
-
(
|
9216
|
-
|
9217
|
-
(
|
9317
|
+
(JSCompiler_object_inline_componentStack_2434 =
|
9318
|
+
JSCompiler_object_inline_stack_2433.fallback),
|
9319
|
+
(JSCompiler_object_inline_message_2431 = workInProgress.mode),
|
9218
9320
|
(JSCompiler_temp = current.child),
|
9219
9321
|
(instance = JSCompiler_temp.sibling),
|
9220
|
-
(
|
9322
|
+
(JSCompiler_object_inline_stack_2433 = createWorkInProgress(
|
9221
9323
|
JSCompiler_temp,
|
9222
9324
|
{
|
9223
9325
|
mode: "hidden",
|
9224
|
-
children:
|
9326
|
+
children: JSCompiler_object_inline_stack_2433.children
|
9225
9327
|
}
|
9226
9328
|
)),
|
9227
|
-
(
|
9329
|
+
(JSCompiler_object_inline_stack_2433.subtreeFlags =
|
9228
9330
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9229
9331
|
null !== instance
|
9230
|
-
? (
|
9332
|
+
? (JSCompiler_object_inline_componentStack_2434 =
|
9231
9333
|
createWorkInProgress(
|
9232
9334
|
instance,
|
9233
|
-
|
9335
|
+
JSCompiler_object_inline_componentStack_2434
|
9234
9336
|
))
|
9235
|
-
: ((
|
9337
|
+
: ((JSCompiler_object_inline_componentStack_2434 =
|
9236
9338
|
createFiberFromFragment(
|
9237
|
-
|
9238
|
-
|
9339
|
+
JSCompiler_object_inline_componentStack_2434,
|
9340
|
+
JSCompiler_object_inline_message_2431,
|
9239
9341
|
renderLanes,
|
9240
9342
|
null
|
9241
9343
|
)),
|
9242
|
-
(
|
9243
|
-
(
|
9344
|
+
(JSCompiler_object_inline_componentStack_2434.flags |= 2)),
|
9345
|
+
(JSCompiler_object_inline_componentStack_2434.return =
|
9244
9346
|
workInProgress),
|
9245
|
-
(
|
9246
|
-
(
|
9247
|
-
|
9248
|
-
(workInProgress.child =
|
9249
|
-
(
|
9250
|
-
|
9251
|
-
(
|
9252
|
-
(
|
9253
|
-
null ===
|
9254
|
-
? (
|
9347
|
+
(JSCompiler_object_inline_stack_2433.return = workInProgress),
|
9348
|
+
(JSCompiler_object_inline_stack_2433.sibling =
|
9349
|
+
JSCompiler_object_inline_componentStack_2434),
|
9350
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2433),
|
9351
|
+
(JSCompiler_object_inline_stack_2433 =
|
9352
|
+
JSCompiler_object_inline_componentStack_2434),
|
9353
|
+
(JSCompiler_object_inline_componentStack_2434 = workInProgress.child),
|
9354
|
+
(JSCompiler_object_inline_message_2431 = current.child.memoizedState),
|
9355
|
+
null === JSCompiler_object_inline_message_2431
|
9356
|
+
? (JSCompiler_object_inline_message_2431 =
|
9255
9357
|
mountSuspenseOffscreenState(renderLanes))
|
9256
9358
|
: ((JSCompiler_temp =
|
9257
|
-
|
9359
|
+
JSCompiler_object_inline_message_2431.cachePool),
|
9258
9360
|
null !== JSCompiler_temp
|
9259
9361
|
? ((instance = CacheContext._currentValue),
|
9260
9362
|
(JSCompiler_temp =
|
@@ -9262,37 +9364,37 @@
|
|
9262
9364
|
? { parent: instance, pool: instance }
|
9263
9365
|
: JSCompiler_temp))
|
9264
9366
|
: (JSCompiler_temp = getSuspendedCache()),
|
9265
|
-
(
|
9367
|
+
(JSCompiler_object_inline_message_2431 = {
|
9266
9368
|
baseLanes:
|
9267
|
-
|
9369
|
+
JSCompiler_object_inline_message_2431.baseLanes | renderLanes,
|
9268
9370
|
cachePool: JSCompiler_temp
|
9269
9371
|
})),
|
9270
|
-
(
|
9271
|
-
|
9272
|
-
(
|
9372
|
+
(JSCompiler_object_inline_componentStack_2434.memoizedState =
|
9373
|
+
JSCompiler_object_inline_message_2431),
|
9374
|
+
(JSCompiler_object_inline_componentStack_2434.childLanes =
|
9273
9375
|
getRemainingWorkInPrimaryTree(
|
9274
9376
|
current,
|
9275
|
-
|
9377
|
+
JSCompiler_object_inline_digest_2432,
|
9276
9378
|
renderLanes
|
9277
9379
|
)),
|
9278
9380
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9279
|
-
|
9381
|
+
JSCompiler_object_inline_stack_2433
|
9280
9382
|
);
|
9281
9383
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9282
9384
|
renderLanes = current.child;
|
9283
9385
|
current = renderLanes.sibling;
|
9284
9386
|
renderLanes = createWorkInProgress(renderLanes, {
|
9285
9387
|
mode: "visible",
|
9286
|
-
children:
|
9388
|
+
children: JSCompiler_object_inline_stack_2433.children
|
9287
9389
|
});
|
9288
9390
|
renderLanes.return = workInProgress;
|
9289
9391
|
renderLanes.sibling = null;
|
9290
9392
|
null !== current &&
|
9291
|
-
((
|
9292
|
-
null ===
|
9393
|
+
((JSCompiler_object_inline_digest_2432 = workInProgress.deletions),
|
9394
|
+
null === JSCompiler_object_inline_digest_2432
|
9293
9395
|
? ((workInProgress.deletions = [current]),
|
9294
9396
|
(workInProgress.flags |= 16))
|
9295
|
-
:
|
9397
|
+
: JSCompiler_object_inline_digest_2432.push(current));
|
9296
9398
|
workInProgress.child = renderLanes;
|
9297
9399
|
workInProgress.memoizedState = null;
|
9298
9400
|
return renderLanes;
|
@@ -9705,6 +9807,8 @@
|
|
9705
9807
|
workInProgress.mode,
|
9706
9808
|
workInProgress.lanes
|
9707
9809
|
);
|
9810
|
+
renderLanes._debugStack = workInProgress._debugStack;
|
9811
|
+
renderLanes._debugTask = workInProgress._debugTask;
|
9708
9812
|
var returnFiber = workInProgress.return;
|
9709
9813
|
if (null === returnFiber) throw Error("Cannot swap the root fiber.");
|
9710
9814
|
current.alternate = null;
|
@@ -12830,7 +12934,11 @@
|
|
12830
12934
|
this.actualDuration = -0;
|
12831
12935
|
this.actualStartTime = -1.1;
|
12832
12936
|
this.treeBaseDuration = this.selfBaseDuration = -0;
|
12833
|
-
this.
|
12937
|
+
this._debugTask =
|
12938
|
+
this._debugStack =
|
12939
|
+
this._debugOwner =
|
12940
|
+
this._debugInfo =
|
12941
|
+
null;
|
12834
12942
|
this._debugNeedsRemount = !1;
|
12835
12943
|
this._debugHookTypes = null;
|
12836
12944
|
hasBadMapPolyfill ||
|
@@ -12854,6 +12962,8 @@
|
|
12854
12962
|
(workInProgress.type = current.type),
|
12855
12963
|
(workInProgress.stateNode = current.stateNode),
|
12856
12964
|
(workInProgress._debugOwner = current._debugOwner),
|
12965
|
+
(workInProgress._debugStack = current._debugStack),
|
12966
|
+
(workInProgress._debugTask = current._debugTask),
|
12857
12967
|
(workInProgress._debugHookTypes = current._debugHookTypes),
|
12858
12968
|
(workInProgress.alternate = current),
|
12859
12969
|
(current.alternate = workInProgress))
|
@@ -13073,6 +13183,8 @@
|
|
13073
13183
|
lanes
|
13074
13184
|
);
|
13075
13185
|
mode._debugOwner = element._owner;
|
13186
|
+
mode._debugStack = element._debugStack;
|
13187
|
+
mode._debugTask = element._debugTask;
|
13076
13188
|
return mode;
|
13077
13189
|
}
|
13078
13190
|
function createFiberFromFragment(elements, mode, lanes, key) {
|
@@ -13410,7 +13522,7 @@
|
|
13410
13522
|
resource = suspenseHandlerStackCursor.current;
|
13411
13523
|
if (
|
13412
13524
|
null !== resource &&
|
13413
|
-
((workInProgressRootRenderLanes &
|
13525
|
+
((workInProgressRootRenderLanes & 4194048) ===
|
13414
13526
|
workInProgressRootRenderLanes
|
13415
13527
|
? null !== shellBoundary
|
13416
13528
|
: ((workInProgressRootRenderLanes & 62914560) !==
|
@@ -14291,7 +14403,7 @@
|
|
14291
14403
|
throw Error("Should not already be working.");
|
14292
14404
|
var shouldTimeSlice =
|
14293
14405
|
(!forceSync &&
|
14294
|
-
0 === (lanes &
|
14406
|
+
0 === (lanes & 124) &&
|
14295
14407
|
0 === (lanes & root.expiredLanes)) ||
|
14296
14408
|
checkIfRootIsPrerendering(root, lanes),
|
14297
14409
|
exitStatus = shouldTimeSlice
|
@@ -14384,7 +14496,7 @@
|
|
14384
14496
|
case RootFatalErrored:
|
14385
14497
|
throw Error("Root did not complete. This is a bug in React.");
|
14386
14498
|
case RootSuspendedWithDelay:
|
14387
|
-
if ((lanes &
|
14499
|
+
if ((lanes & 4194048) !== lanes) break;
|
14388
14500
|
case RootSuspendedAtTheShell:
|
14389
14501
|
markRootSuspended(
|
14390
14502
|
shouldTimeSlice,
|
@@ -14740,7 +14852,7 @@
|
|
14740
14852
|
function renderDidSuspendDelayIfPossible() {
|
14741
14853
|
workInProgressRootExitStatus = RootSuspendedWithDelay;
|
14742
14854
|
workInProgressRootDidSkipSuspendedSiblings ||
|
14743
|
-
((workInProgressRootRenderLanes &
|
14855
|
+
((workInProgressRootRenderLanes & 4194048) !==
|
14744
14856
|
workInProgressRootRenderLanes &&
|
14745
14857
|
null !== suspenseHandlerStackCursor.current) ||
|
14746
14858
|
(workInProgressRootIsPrerendering = !0);
|
@@ -15548,7 +15660,7 @@
|
|
15548
15660
|
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
15549
15661
|
ensureRootIsScheduled(root);
|
15550
15662
|
remainingLanes = root.pendingLanes;
|
15551
|
-
0 !== (lanes &
|
15663
|
+
0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42)
|
15552
15664
|
? ((nestedUpdateScheduled = !0),
|
15553
15665
|
root === rootWithNestedUpdates
|
15554
15666
|
? nestedUpdateCount++
|
@@ -15936,8 +16048,8 @@
|
|
15936
16048
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
15937
16049
|
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
15938
16050
|
nextLanes =
|
15939
|
-
nextLanes &
|
15940
|
-
? (nextLanes &
|
16051
|
+
nextLanes & 201326741
|
16052
|
+
? (nextLanes & 201326741) | 1
|
15941
16053
|
: nextLanes
|
15942
16054
|
? nextLanes | 2
|
15943
16055
|
: 0;
|
@@ -16242,6 +16354,15 @@
|
|
16242
16354
|
});
|
16243
16355
|
}
|
16244
16356
|
}
|
16357
|
+
function executeDispatch(event, listener, currentTarget) {
|
16358
|
+
event.currentTarget = currentTarget;
|
16359
|
+
try {
|
16360
|
+
listener(event);
|
16361
|
+
} catch (error) {
|
16362
|
+
reportGlobalError(error);
|
16363
|
+
}
|
16364
|
+
event.currentTarget = null;
|
16365
|
+
}
|
16245
16366
|
function processDispatchQueue(dispatchQueue, eventSystemFlags) {
|
16246
16367
|
eventSystemFlags = 0 !== (eventSystemFlags & 4);
|
16247
16368
|
for (var i = 0; i < dispatchQueue.length; i++) {
|
@@ -16262,14 +16383,15 @@
|
|
16262
16383
|
_dispatchListeners$i = _dispatchListeners$i.listener;
|
16263
16384
|
if (instance !== previousInstance && event.isPropagationStopped())
|
16264
16385
|
break a;
|
16265
|
-
|
16266
|
-
|
16267
|
-
|
16268
|
-
|
16269
|
-
|
16270
|
-
|
16271
|
-
|
16272
|
-
|
16386
|
+
null !== instance
|
16387
|
+
? runWithFiberInDEV(
|
16388
|
+
instance,
|
16389
|
+
executeDispatch,
|
16390
|
+
event,
|
16391
|
+
_dispatchListeners$i,
|
16392
|
+
currentTarget
|
16393
|
+
)
|
16394
|
+
: executeDispatch(event, _dispatchListeners$i, currentTarget);
|
16273
16395
|
previousInstance = instance;
|
16274
16396
|
}
|
16275
16397
|
else
|
@@ -16284,14 +16406,15 @@
|
|
16284
16406
|
_dispatchListeners$i = _dispatchListeners$i.listener;
|
16285
16407
|
if (instance !== previousInstance && event.isPropagationStopped())
|
16286
16408
|
break a;
|
16287
|
-
|
16288
|
-
|
16289
|
-
|
16290
|
-
|
16291
|
-
|
16292
|
-
|
16293
|
-
|
16294
|
-
|
16409
|
+
null !== instance
|
16410
|
+
? runWithFiberInDEV(
|
16411
|
+
instance,
|
16412
|
+
executeDispatch,
|
16413
|
+
event,
|
16414
|
+
_dispatchListeners$i,
|
16415
|
+
currentTarget
|
16416
|
+
)
|
16417
|
+
: executeDispatch(event, _dispatchListeners$i, currentTarget);
|
16295
16418
|
previousInstance = instance;
|
16296
16419
|
}
|
16297
16420
|
}
|
@@ -20303,38 +20426,6 @@
|
|
20303
20426
|
resource.state.loading |= Inserted;
|
20304
20427
|
}
|
20305
20428
|
}
|
20306
|
-
function bindToConsole(methodName, args, badgeName) {
|
20307
|
-
var offset = 0;
|
20308
|
-
switch (methodName) {
|
20309
|
-
case "dir":
|
20310
|
-
case "dirxml":
|
20311
|
-
case "groupEnd":
|
20312
|
-
case "table":
|
20313
|
-
return bind.apply(console[methodName], [console].concat(args));
|
20314
|
-
case "assert":
|
20315
|
-
offset = 1;
|
20316
|
-
}
|
20317
|
-
args = args.slice(0);
|
20318
|
-
"string" === typeof args[offset]
|
20319
|
-
? args.splice(
|
20320
|
-
offset,
|
20321
|
-
1,
|
20322
|
-
badgeFormat + args[offset],
|
20323
|
-
badgeStyle,
|
20324
|
-
pad + badgeName + pad,
|
20325
|
-
resetStyle
|
20326
|
-
)
|
20327
|
-
: args.splice(
|
20328
|
-
offset,
|
20329
|
-
0,
|
20330
|
-
badgeFormat,
|
20331
|
-
badgeStyle,
|
20332
|
-
pad + badgeName + pad,
|
20333
|
-
resetStyle
|
20334
|
-
);
|
20335
|
-
args.unshift(console);
|
20336
|
-
return bind.apply(console[methodName], args);
|
20337
|
-
}
|
20338
20429
|
function FiberRootNode(
|
20339
20430
|
containerInfo,
|
20340
20431
|
tag,
|
@@ -21210,7 +21301,7 @@
|
|
21210
21301
|
clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
|
21211
21302
|
log = Math.log,
|
21212
21303
|
LN2 = Math.LN2,
|
21213
|
-
nextTransitionLane =
|
21304
|
+
nextTransitionLane = 256,
|
21214
21305
|
nextRetryLane = 4194304,
|
21215
21306
|
DiscreteEventPriority = 2,
|
21216
21307
|
ContinuousEventPriority = 8,
|
@@ -24722,11 +24813,11 @@
|
|
24722
24813
|
};
|
24723
24814
|
(function () {
|
24724
24815
|
var isomorphicReactPackageVersion = React.version;
|
24725
|
-
if ("19.1.0-canary-
|
24816
|
+
if ("19.1.0-canary-e670e72f-20250214" !== isomorphicReactPackageVersion)
|
24726
24817
|
throw Error(
|
24727
24818
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24728
24819
|
(isomorphicReactPackageVersion +
|
24729
|
-
"\n - react-dom: 19.1.0-canary-
|
24820
|
+
"\n - react-dom: 19.1.0-canary-e670e72f-20250214\nLearn more: https://react.dev/warnings/version-mismatch")
|
24730
24821
|
);
|
24731
24822
|
})();
|
24732
24823
|
("function" === typeof Map &&
|
@@ -24763,10 +24854,10 @@
|
|
24763
24854
|
!(function () {
|
24764
24855
|
var internals = {
|
24765
24856
|
bundleType: 1,
|
24766
|
-
version: "19.1.0-canary-
|
24857
|
+
version: "19.1.0-canary-e670e72f-20250214",
|
24767
24858
|
rendererPackageName: "react-dom",
|
24768
24859
|
currentDispatcherRef: ReactSharedInternals,
|
24769
|
-
reconcilerVersion: "19.1.0-canary-
|
24860
|
+
reconcilerVersion: "19.1.0-canary-e670e72f-20250214"
|
24770
24861
|
};
|
24771
24862
|
internals.overrideHookState = overrideHookState;
|
24772
24863
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25240,7 +25331,7 @@
|
|
25240
25331
|
exports.useFormStatus = function () {
|
25241
25332
|
return resolveDispatcher().useHostTransitionStatus();
|
25242
25333
|
};
|
25243
|
-
exports.version = "19.1.0-canary-
|
25334
|
+
exports.version = "19.1.0-canary-e670e72f-20250214";
|
25244
25335
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25245
25336
|
"function" ===
|
25246
25337
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|