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
@@ -601,8 +601,8 @@
|
|
601
601
|
if (lane & 8) return "InputContinuous";
|
602
602
|
if (lane & 16) return "DefaultHydration";
|
603
603
|
if (lane & 32) return "Default";
|
604
|
-
if (lane &
|
605
|
-
if (lane &
|
604
|
+
if (lane & 128) return "TransitionHydration";
|
605
|
+
if (lane & 4194048) return "Transition";
|
606
606
|
if (lane & 62914560) return "Retry";
|
607
607
|
if (lane & 67108864) return "SelectiveHydration";
|
608
608
|
if (lane & 134217728) return "IdleHydration";
|
@@ -629,6 +629,7 @@
|
|
629
629
|
case 64:
|
630
630
|
return 64;
|
631
631
|
case 128:
|
632
|
+
return 128;
|
632
633
|
case 256:
|
633
634
|
case 512:
|
634
635
|
case 1024:
|
@@ -643,7 +644,7 @@
|
|
643
644
|
case 524288:
|
644
645
|
case 1048576:
|
645
646
|
case 2097152:
|
646
|
-
return lanes &
|
647
|
+
return lanes & 4194048;
|
647
648
|
case 4194304:
|
648
649
|
case 8388608:
|
649
650
|
case 16777216:
|
@@ -705,7 +706,7 @@
|
|
705
706
|
((suspendedLanes = nextLanes & -nextLanes),
|
706
707
|
(rootHasPendingCommit = wipLanes & -wipLanes),
|
707
708
|
suspendedLanes >= rootHasPendingCommit ||
|
708
|
-
(32 === suspendedLanes && 0 !== (rootHasPendingCommit &
|
709
|
+
(32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))
|
709
710
|
? wipLanes
|
710
711
|
: nextLanes;
|
711
712
|
}
|
@@ -723,10 +724,10 @@
|
|
723
724
|
case 2:
|
724
725
|
case 4:
|
725
726
|
case 8:
|
727
|
+
case 64:
|
726
728
|
return currentTime + 250;
|
727
729
|
case 16:
|
728
730
|
case 32:
|
729
|
-
case 64:
|
730
731
|
case 128:
|
731
732
|
case 256:
|
732
733
|
case 512:
|
@@ -766,7 +767,7 @@
|
|
766
767
|
function claimNextTransitionLane() {
|
767
768
|
var lane = nextTransitionLane;
|
768
769
|
nextTransitionLane <<= 1;
|
769
|
-
0 === (nextTransitionLane &
|
770
|
+
0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
|
770
771
|
return lane;
|
771
772
|
}
|
772
773
|
function claimNextRetryLane() {
|
@@ -842,7 +843,7 @@
|
|
842
843
|
root.entanglements[spawnedLaneIndex] =
|
843
844
|
root.entanglements[spawnedLaneIndex] |
|
844
845
|
1073741824 |
|
845
|
-
(entangledLanes &
|
846
|
+
(entangledLanes & 4194090);
|
846
847
|
}
|
847
848
|
function markRootEntangled(root, entangledLanes) {
|
848
849
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
@@ -865,7 +866,6 @@
|
|
865
866
|
case 32:
|
866
867
|
lane = 16;
|
867
868
|
break;
|
868
|
-
case 128:
|
869
869
|
case 256:
|
870
870
|
case 512:
|
871
871
|
case 1024:
|
@@ -884,7 +884,7 @@
|
|
884
884
|
case 8388608:
|
885
885
|
case 16777216:
|
886
886
|
case 33554432:
|
887
|
-
lane =
|
887
|
+
lane = 128;
|
888
888
|
break;
|
889
889
|
case 268435456:
|
890
890
|
lane = 134217728;
|
@@ -1365,6 +1365,27 @@
|
|
1365
1365
|
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
1366
1366
|
return sampleLines;
|
1367
1367
|
}
|
1368
|
+
function formatOwnerStack(error) {
|
1369
|
+
var prevPrepareStackTrace = Error.prepareStackTrace;
|
1370
|
+
Error.prepareStackTrace = void 0;
|
1371
|
+
error = error.stack;
|
1372
|
+
Error.prepareStackTrace = prevPrepareStackTrace;
|
1373
|
+
error.startsWith("Error: react-stack-top-frame\n") &&
|
1374
|
+
(error = error.slice(29));
|
1375
|
+
prevPrepareStackTrace = error.indexOf("\n");
|
1376
|
+
-1 !== prevPrepareStackTrace &&
|
1377
|
+
(error = error.slice(prevPrepareStackTrace + 1));
|
1378
|
+
prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
|
1379
|
+
-1 !== prevPrepareStackTrace &&
|
1380
|
+
(prevPrepareStackTrace = error.lastIndexOf(
|
1381
|
+
"\n",
|
1382
|
+
prevPrepareStackTrace
|
1383
|
+
));
|
1384
|
+
if (-1 !== prevPrepareStackTrace)
|
1385
|
+
error = error.slice(0, prevPrepareStackTrace);
|
1386
|
+
else return "";
|
1387
|
+
return error;
|
1388
|
+
}
|
1368
1389
|
function describeFiber(fiber) {
|
1369
1390
|
switch (fiber.tag) {
|
1370
1391
|
case 26:
|
@@ -1413,29 +1434,96 @@
|
|
1413
1434
|
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
1414
1435
|
}
|
1415
1436
|
}
|
1437
|
+
function describeFunctionComponentFrameWithoutLineNumber(fn) {
|
1438
|
+
return (fn = fn ? fn.displayName || fn.name : "")
|
1439
|
+
? describeBuiltInComponentFrame(fn)
|
1440
|
+
: "";
|
1441
|
+
}
|
1416
1442
|
function getCurrentFiberOwnerNameInDevOrNull() {
|
1417
1443
|
if (null === current) return null;
|
1418
1444
|
var owner = current._debugOwner;
|
1419
1445
|
return null != owner ? getComponentNameFromOwner(owner) : null;
|
1420
1446
|
}
|
1421
1447
|
function getCurrentFiberStackInDev() {
|
1422
|
-
|
1448
|
+
if (null === current) return "";
|
1449
|
+
var workInProgress = current;
|
1450
|
+
try {
|
1451
|
+
var info = "";
|
1452
|
+
6 === workInProgress.tag && (workInProgress = workInProgress.return);
|
1453
|
+
switch (workInProgress.tag) {
|
1454
|
+
case 26:
|
1455
|
+
case 27:
|
1456
|
+
case 5:
|
1457
|
+
info += describeBuiltInComponentFrame(workInProgress.type);
|
1458
|
+
break;
|
1459
|
+
case 13:
|
1460
|
+
info += describeBuiltInComponentFrame("Suspense");
|
1461
|
+
break;
|
1462
|
+
case 19:
|
1463
|
+
info += describeBuiltInComponentFrame("SuspenseList");
|
1464
|
+
break;
|
1465
|
+
case 30:
|
1466
|
+
case 0:
|
1467
|
+
case 15:
|
1468
|
+
case 1:
|
1469
|
+
workInProgress._debugOwner ||
|
1470
|
+
"" !== info ||
|
1471
|
+
(info += describeFunctionComponentFrameWithoutLineNumber(
|
1472
|
+
workInProgress.type
|
1473
|
+
));
|
1474
|
+
break;
|
1475
|
+
case 11:
|
1476
|
+
workInProgress._debugOwner ||
|
1477
|
+
"" !== info ||
|
1478
|
+
(info += describeFunctionComponentFrameWithoutLineNumber(
|
1479
|
+
workInProgress.type.render
|
1480
|
+
));
|
1481
|
+
}
|
1482
|
+
for (; workInProgress; )
|
1483
|
+
if ("number" === typeof workInProgress.tag) {
|
1484
|
+
var fiber = workInProgress;
|
1485
|
+
workInProgress = fiber._debugOwner;
|
1486
|
+
var debugStack = fiber._debugStack;
|
1487
|
+
workInProgress &&
|
1488
|
+
debugStack &&
|
1489
|
+
("string" !== typeof debugStack &&
|
1490
|
+
(fiber._debugStack = debugStack = formatOwnerStack(debugStack)),
|
1491
|
+
"" !== debugStack && (info += "\n" + debugStack));
|
1492
|
+
} else if (null != workInProgress.debugStack) {
|
1493
|
+
var ownerStack = workInProgress.debugStack;
|
1494
|
+
(workInProgress = workInProgress.owner) &&
|
1495
|
+
ownerStack &&
|
1496
|
+
(info += "\n" + formatOwnerStack(ownerStack));
|
1497
|
+
} else break;
|
1498
|
+
var JSCompiler_inline_result = info;
|
1499
|
+
} catch (x) {
|
1500
|
+
JSCompiler_inline_result =
|
1501
|
+
"\nError generating stack: " + x.message + "\n" + x.stack;
|
1502
|
+
}
|
1503
|
+
return JSCompiler_inline_result;
|
1423
1504
|
}
|
1424
1505
|
function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {
|
1425
1506
|
var previousFiber = current;
|
1426
|
-
|
1427
|
-
null === fiber ? null : getCurrentFiberStackInDev;
|
1428
|
-
isRendering = !1;
|
1429
|
-
current = fiber;
|
1507
|
+
setCurrentFiber(fiber);
|
1430
1508
|
try {
|
1431
|
-
return
|
1509
|
+
return null !== fiber && fiber._debugTask
|
1510
|
+
? fiber._debugTask.run(
|
1511
|
+
callback.bind(null, arg0, arg1, arg2, arg3, arg4)
|
1512
|
+
)
|
1513
|
+
: callback(arg0, arg1, arg2, arg3, arg4);
|
1432
1514
|
} finally {
|
1433
|
-
|
1515
|
+
setCurrentFiber(previousFiber);
|
1434
1516
|
}
|
1435
1517
|
throw Error(
|
1436
1518
|
"runWithFiberInDEV should never be called in production. This is a bug in React."
|
1437
1519
|
);
|
1438
1520
|
}
|
1521
|
+
function setCurrentFiber(fiber) {
|
1522
|
+
ReactSharedInternals.getCurrentStack =
|
1523
|
+
null === fiber ? null : getCurrentFiberStackInDev;
|
1524
|
+
isRendering = !1;
|
1525
|
+
current = fiber;
|
1526
|
+
}
|
1439
1527
|
function getToStringValue(value) {
|
1440
1528
|
switch (typeof value) {
|
1441
1529
|
case "bigint":
|
@@ -2488,37 +2576,50 @@
|
|
2488
2576
|
: findInvalidAncestorForTag(childTag, ancestorInfo);
|
2489
2577
|
ancestorInfo = parentInfo || ancestorInfo;
|
2490
2578
|
if (!ancestorInfo) return !0;
|
2491
|
-
|
2492
|
-
|
2493
|
-
if (didWarn[
|
2494
|
-
didWarn[
|
2495
|
-
var ancestor = (
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2499
|
-
|
2500
|
-
|
2501
|
-
|
2502
|
-
|
2579
|
+
var ancestorTag = ancestorInfo.tag;
|
2580
|
+
ancestorInfo = String(!!parentInfo) + "|" + childTag + "|" + ancestorTag;
|
2581
|
+
if (didWarn[ancestorInfo]) return !1;
|
2582
|
+
didWarn[ancestorInfo] = !0;
|
2583
|
+
var ancestor = (ancestorInfo = current)
|
2584
|
+
? findAncestor(ancestorInfo.return, ancestorTag)
|
2585
|
+
: null,
|
2586
|
+
ancestorDescription =
|
2587
|
+
null !== ancestorInfo && null !== ancestor
|
2588
|
+
? describeAncestors(ancestor, ancestorInfo, null)
|
2589
|
+
: "",
|
2590
|
+
tagDisplayName = "<" + childTag + ">";
|
2503
2591
|
parentInfo
|
2504
2592
|
? ((parentInfo = ""),
|
2505
|
-
"table" ===
|
2593
|
+
"table" === ancestorTag &&
|
2506
2594
|
"tr" === childTag &&
|
2507
2595
|
(parentInfo +=
|
2508
2596
|
" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),
|
2509
2597
|
console.error(
|
2510
2598
|
"In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",
|
2511
|
-
|
2512
|
-
|
2599
|
+
tagDisplayName,
|
2600
|
+
ancestorTag,
|
2513
2601
|
parentInfo,
|
2514
|
-
|
2602
|
+
ancestorDescription
|
2515
2603
|
))
|
2516
2604
|
: console.error(
|
2517
2605
|
"In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2606
|
+
tagDisplayName,
|
2607
|
+
ancestorTag,
|
2608
|
+
ancestorDescription
|
2521
2609
|
);
|
2610
|
+
ancestorInfo &&
|
2611
|
+
((childTag = ancestorInfo.return),
|
2612
|
+
null === ancestor ||
|
2613
|
+
null === childTag ||
|
2614
|
+
(ancestor === childTag &&
|
2615
|
+
childTag._debugOwner === ancestorInfo._debugOwner) ||
|
2616
|
+
runWithFiberInDEV(ancestor, function () {
|
2617
|
+
console.error(
|
2618
|
+
"<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",
|
2619
|
+
ancestorTag,
|
2620
|
+
tagDisplayName
|
2621
|
+
);
|
2622
|
+
}));
|
2522
2623
|
return !1;
|
2523
2624
|
}
|
2524
2625
|
function validateTextNesting(childText, parentTag, implicitRootScope) {
|
@@ -3728,17 +3829,19 @@
|
|
3728
3829
|
(isHidden = !0)),
|
3729
3830
|
(sourceFiber = parent),
|
3730
3831
|
(parent = parent.return);
|
3731
|
-
|
3732
|
-
|
3733
|
-
|
3734
|
-
|
3735
|
-
|
3736
|
-
|
3737
|
-
|
3738
|
-
|
3739
|
-
|
3740
|
-
|
3741
|
-
|
3832
|
+
return 3 === sourceFiber.tag
|
3833
|
+
? ((parent = sourceFiber.stateNode),
|
3834
|
+
isHidden &&
|
3835
|
+
null !== update &&
|
3836
|
+
((isHidden = 31 - clz32(lane)),
|
3837
|
+
(sourceFiber = parent.hiddenUpdates),
|
3838
|
+
(alternate = sourceFiber[isHidden]),
|
3839
|
+
null === alternate
|
3840
|
+
? (sourceFiber[isHidden] = [update])
|
3841
|
+
: alternate.push(update),
|
3842
|
+
(update.lane = lane | 536870912)),
|
3843
|
+
parent)
|
3844
|
+
: null;
|
3742
3845
|
}
|
3743
3846
|
function getRootForUpdatedFiber(sourceFiber) {
|
3744
3847
|
if (nestedUpdateCount > NESTED_UPDATE_LIMIT)
|
@@ -4261,7 +4364,7 @@
|
|
4261
4364
|
}
|
4262
4365
|
function entangleTransitions(root, fiber, lane) {
|
4263
4366
|
fiber = fiber.updateQueue;
|
4264
|
-
if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane &
|
4367
|
+
if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {
|
4265
4368
|
var queueLanes = fiber.lanes;
|
4266
4369
|
queueLanes &= root.pendingLanes;
|
4267
4370
|
lane |= queueLanes;
|
@@ -5441,7 +5544,7 @@
|
|
5441
5544
|
throw Error(
|
5442
5545
|
"Expected a work-in-progress root. This is a bug in React. Please file an issue."
|
5443
5546
|
);
|
5444
|
-
0 !== (workInProgressRootRenderLanes &
|
5547
|
+
0 !== (workInProgressRootRenderLanes & 124) ||
|
5445
5548
|
pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
|
5446
5549
|
}
|
5447
5550
|
hook.memoizedState = nextSnapshot;
|
@@ -5524,7 +5627,7 @@
|
|
5524
5627
|
"Expected a work-in-progress root. This is a bug in React. Please file an issue."
|
5525
5628
|
);
|
5526
5629
|
isHydrating$jscomp$0 ||
|
5527
|
-
0 !== (renderLanes &
|
5630
|
+
0 !== (renderLanes & 124) ||
|
5528
5631
|
pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
5529
5632
|
}
|
5530
5633
|
return getServerSnapshot;
|
@@ -6467,7 +6570,7 @@
|
|
6467
6570
|
queue.pending = update;
|
6468
6571
|
}
|
6469
6572
|
function entangleTransitionUpdate(root, queue, lane) {
|
6470
|
-
if (0 !== (lane &
|
6573
|
+
if (0 !== (lane & 4194048)) {
|
6471
6574
|
var queueLanes = queue.lanes;
|
6472
6575
|
queueLanes &= root.pendingLanes;
|
6473
6576
|
lane |= queueLanes;
|
@@ -6631,6 +6734,7 @@
|
|
6631
6734
|
)),
|
6632
6735
|
(current.return = returnFiber),
|
6633
6736
|
(current._debugOwner = returnFiber),
|
6737
|
+
(current._debugTask = returnFiber._debugTask),
|
6634
6738
|
(current._debugInfo = currentDebugInfo),
|
6635
6739
|
current
|
6636
6740
|
);
|
@@ -6705,6 +6809,7 @@
|
|
6705
6809
|
)),
|
6706
6810
|
(current.return = returnFiber),
|
6707
6811
|
(current._debugOwner = returnFiber),
|
6812
|
+
(current._debugTask = returnFiber._debugTask),
|
6708
6813
|
(current._debugInfo = currentDebugInfo),
|
6709
6814
|
current
|
6710
6815
|
);
|
@@ -6727,6 +6832,7 @@
|
|
6727
6832
|
)),
|
6728
6833
|
(newChild.return = returnFiber),
|
6729
6834
|
(newChild._debugOwner = returnFiber),
|
6835
|
+
(newChild._debugTask = returnFiber._debugTask),
|
6730
6836
|
(newChild._debugInfo = currentDebugInfo),
|
6731
6837
|
newChild
|
6732
6838
|
);
|
@@ -6774,6 +6880,7 @@
|
|
6774
6880
|
)),
|
6775
6881
|
(lanes.return = returnFiber),
|
6776
6882
|
(lanes._debugOwner = returnFiber),
|
6883
|
+
(lanes._debugTask = returnFiber._debugTask),
|
6777
6884
|
(returnFiber = pushDebugInfo(newChild._debugInfo)),
|
6778
6885
|
(lanes._debugInfo = currentDebugInfo),
|
6779
6886
|
(currentDebugInfo = returnFiber),
|
@@ -7311,6 +7418,7 @@
|
|
7311
7418
|
)),
|
7312
7419
|
(lanes.return = returnFiber),
|
7313
7420
|
(lanes._debugOwner = returnFiber),
|
7421
|
+
(lanes._debugTask = returnFiber._debugTask),
|
7314
7422
|
(lanes._debugInfo = currentDebugInfo),
|
7315
7423
|
validateFragmentProps(newChild, lanes, returnFiber),
|
7316
7424
|
(returnFiber = lanes))
|
@@ -7477,6 +7585,7 @@
|
|
7477
7585
|
)),
|
7478
7586
|
(lanes.return = returnFiber),
|
7479
7587
|
(lanes._debugOwner = returnFiber),
|
7588
|
+
(lanes._debugTask = returnFiber._debugTask),
|
7480
7589
|
(lanes._debugInfo = currentDebugInfo),
|
7481
7590
|
(returnFiber = lanes)),
|
7482
7591
|
placeSingleChild(returnFiber)
|
@@ -7506,10 +7615,12 @@
|
|
7506
7615
|
fiber.return = returnFiber;
|
7507
7616
|
var debugInfo = (fiber._debugInfo = currentDebugInfo);
|
7508
7617
|
fiber._debugOwner = returnFiber._debugOwner;
|
7618
|
+
fiber._debugTask = returnFiber._debugTask;
|
7509
7619
|
if (null != debugInfo)
|
7510
7620
|
for (var i = debugInfo.length - 1; 0 <= i; i--)
|
7511
7621
|
if ("string" === typeof debugInfo[i].stack) {
|
7512
7622
|
fiber._debugOwner = debugInfo[i];
|
7623
|
+
fiber._debugTask = debugInfo[i].debugTask;
|
7513
7624
|
break;
|
7514
7625
|
}
|
7515
7626
|
return fiber;
|
@@ -7590,63 +7701,62 @@
|
|
7590
7701
|
}
|
7591
7702
|
return null;
|
7592
7703
|
}
|
7593
|
-
function defaultOnUncaughtError(error
|
7704
|
+
function defaultOnUncaughtError(error) {
|
7594
7705
|
reportGlobalError(error);
|
7595
|
-
|
7596
|
-
|
7597
|
-
|
7598
|
-
|
7599
|
-
|
7600
|
-
|
7601
|
-
|
7602
|
-
return componentStack;
|
7603
|
-
};
|
7604
|
-
try {
|
7605
|
-
console.warn(
|
7606
|
-
"%s\n\n%s\n",
|
7607
|
-
error,
|
7608
|
-
"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."
|
7609
|
-
);
|
7610
|
-
} finally {
|
7611
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
7612
|
-
}
|
7706
|
+
console.warn(
|
7707
|
+
"%s\n\n%s\n",
|
7708
|
+
componentName
|
7709
|
+
? "An error occurred in the <" + componentName + "> component."
|
7710
|
+
: "An error occurred in one of your React components.",
|
7711
|
+
"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."
|
7712
|
+
);
|
7613
7713
|
}
|
7614
|
-
function defaultOnCaughtError(error
|
7714
|
+
function defaultOnCaughtError(error) {
|
7615
7715
|
var componentNameMessage = componentName
|
7616
7716
|
? "The above error occurred in the <" + componentName + "> component."
|
7617
7717
|
: "The above error occurred in one of your React components.",
|
7618
7718
|
recreateMessage =
|
7619
7719
|
"React will try to recreate this component tree from scratch using the error boundary you provided, " +
|
7620
|
-
((errorBoundaryName || "Anonymous") + ".")
|
7621
|
-
|
7622
|
-
componentStack =
|
7623
|
-
null != errorInfo.componentStack ? errorInfo.componentStack : "";
|
7624
|
-
ReactSharedInternals.getCurrentStack = function () {
|
7625
|
-
return componentStack;
|
7626
|
-
};
|
7627
|
-
try {
|
7720
|
+
((errorBoundaryName || "Anonymous") + ".");
|
7721
|
+
if (
|
7628
7722
|
"object" === typeof error &&
|
7629
7723
|
null !== error &&
|
7630
7724
|
"string" === typeof error.environmentName
|
7631
|
-
|
7632
|
-
|
7633
|
-
|
7634
|
-
|
7635
|
-
|
7636
|
-
|
7637
|
-
|
7638
|
-
|
7639
|
-
|
7640
|
-
|
7641
|
-
|
7642
|
-
|
7643
|
-
error,
|
7644
|
-
|
7645
|
-
|
7725
|
+
) {
|
7726
|
+
var JSCompiler_inline_result = error.environmentName;
|
7727
|
+
error = [
|
7728
|
+
"%o\n\n%s\n\n%s\n",
|
7729
|
+
error,
|
7730
|
+
componentNameMessage,
|
7731
|
+
recreateMessage
|
7732
|
+
].slice(0);
|
7733
|
+
"string" === typeof error[0]
|
7734
|
+
? error.splice(
|
7735
|
+
0,
|
7736
|
+
1,
|
7737
|
+
badgeFormat + error[0],
|
7738
|
+
badgeStyle,
|
7739
|
+
pad + JSCompiler_inline_result + pad,
|
7740
|
+
resetStyle
|
7741
|
+
)
|
7742
|
+
: error.splice(
|
7743
|
+
0,
|
7744
|
+
0,
|
7745
|
+
badgeFormat,
|
7746
|
+
badgeStyle,
|
7747
|
+
pad + JSCompiler_inline_result + pad,
|
7748
|
+
resetStyle
|
7646
7749
|
);
|
7647
|
-
|
7648
|
-
|
7649
|
-
|
7750
|
+
error.unshift(console);
|
7751
|
+
JSCompiler_inline_result = bind.apply(console.error, error);
|
7752
|
+
JSCompiler_inline_result();
|
7753
|
+
} else
|
7754
|
+
console.error(
|
7755
|
+
"%o\n\n%s\n\n%s\n",
|
7756
|
+
error,
|
7757
|
+
componentNameMessage,
|
7758
|
+
recreateMessage
|
7759
|
+
);
|
7650
7760
|
}
|
7651
7761
|
function defaultOnRecoverableError(error) {
|
7652
7762
|
reportGlobalError(error);
|
@@ -8265,7 +8375,7 @@
|
|
8265
8375
|
return workInProgress.child;
|
8266
8376
|
}
|
8267
8377
|
function updateClassComponent(
|
8268
|
-
current
|
8378
|
+
current,
|
8269
8379
|
workInProgress,
|
8270
8380
|
Component,
|
8271
8381
|
nextProps,
|
@@ -8581,7 +8691,7 @@
|
|
8581
8691
|
(workInProgress.mode & StrictEffectsMode) !== NoMode &&
|
8582
8692
|
(workInProgress.flags |= 134217728);
|
8583
8693
|
_instance = !0;
|
8584
|
-
} else if (null === current
|
8694
|
+
} else if (null === current) {
|
8585
8695
|
_instance = workInProgress.stateNode;
|
8586
8696
|
var unresolvedOldProps = workInProgress.memoizedProps;
|
8587
8697
|
lane = resolveClassComponentProps(Component, unresolvedOldProps);
|
@@ -8661,7 +8771,7 @@
|
|
8661
8771
|
(_instance = !1));
|
8662
8772
|
} else {
|
8663
8773
|
_instance = workInProgress.stateNode;
|
8664
|
-
cloneUpdateQueue(current
|
8774
|
+
cloneUpdateQueue(current, workInProgress);
|
8665
8775
|
state = workInProgress.memoizedProps;
|
8666
8776
|
foundWillUpdateName = resolveClassComponentProps(Component, state);
|
8667
8777
|
_instance.props = foundWillUpdateName;
|
@@ -8694,9 +8804,9 @@
|
|
8694
8804
|
state !== newApiName ||
|
8695
8805
|
oldState !== newState ||
|
8696
8806
|
hasForceUpdate ||
|
8697
|
-
(null !== current
|
8698
|
-
null !== current
|
8699
|
-
checkIfContextChanged(current
|
8807
|
+
(null !== current &&
|
8808
|
+
null !== current.dependencies &&
|
8809
|
+
checkIfContextChanged(current.dependencies))
|
8700
8810
|
? ("function" === typeof unresolvedOldProps &&
|
8701
8811
|
(applyDerivedStateFromProps(
|
8702
8812
|
workInProgress,
|
@@ -8716,9 +8826,9 @@
|
|
8716
8826
|
newState,
|
8717
8827
|
lane
|
8718
8828
|
) ||
|
8719
|
-
(null !== current
|
8720
|
-
null !== current
|
8721
|
-
checkIfContextChanged(current
|
8829
|
+
(null !== current &&
|
8830
|
+
null !== current.dependencies &&
|
8831
|
+
checkIfContextChanged(current.dependencies)))
|
8722
8832
|
? (oldContext ||
|
8723
8833
|
("function" !== typeof _instance.UNSAFE_componentWillUpdate &&
|
8724
8834
|
"function" !== typeof _instance.componentWillUpdate) ||
|
@@ -8735,12 +8845,12 @@
|
|
8735
8845
|
"function" === typeof _instance.getSnapshotBeforeUpdate &&
|
8736
8846
|
(workInProgress.flags |= 1024))
|
8737
8847
|
: ("function" !== typeof _instance.componentDidUpdate ||
|
8738
|
-
(state === current
|
8739
|
-
oldState === current
|
8848
|
+
(state === current.memoizedProps &&
|
8849
|
+
oldState === current.memoizedState) ||
|
8740
8850
|
(workInProgress.flags |= 4),
|
8741
8851
|
"function" !== typeof _instance.getSnapshotBeforeUpdate ||
|
8742
|
-
(state === current
|
8743
|
-
oldState === current
|
8852
|
+
(state === current.memoizedProps &&
|
8853
|
+
oldState === current.memoizedState) ||
|
8744
8854
|
(workInProgress.flags |= 1024),
|
8745
8855
|
(workInProgress.memoizedProps = nextProps),
|
8746
8856
|
(workInProgress.memoizedState = newState)),
|
@@ -8749,24 +8859,21 @@
|
|
8749
8859
|
(_instance.context = lane),
|
8750
8860
|
(_instance = foundWillUpdateName))
|
8751
8861
|
: ("function" !== typeof _instance.componentDidUpdate ||
|
8752
|
-
(state === current
|
8753
|
-
oldState === current
|
8862
|
+
(state === current.memoizedProps &&
|
8863
|
+
oldState === current.memoizedState) ||
|
8754
8864
|
(workInProgress.flags |= 4),
|
8755
8865
|
"function" !== typeof _instance.getSnapshotBeforeUpdate ||
|
8756
|
-
(state === current
|
8757
|
-
oldState === current
|
8866
|
+
(state === current.memoizedProps &&
|
8867
|
+
oldState === current.memoizedState) ||
|
8758
8868
|
(workInProgress.flags |= 1024),
|
8759
8869
|
(_instance = !1));
|
8760
8870
|
}
|
8761
8871
|
lane = _instance;
|
8762
|
-
markRef(current
|
8872
|
+
markRef(current, workInProgress);
|
8763
8873
|
state = 0 !== (workInProgress.flags & 128);
|
8764
8874
|
if (lane || state) {
|
8765
8875
|
lane = workInProgress.stateNode;
|
8766
|
-
|
8767
|
-
null === workInProgress ? null : getCurrentFiberStackInDev;
|
8768
|
-
isRendering = !1;
|
8769
|
-
current = workInProgress;
|
8876
|
+
setCurrentFiber(workInProgress);
|
8770
8877
|
if (state && "function" !== typeof Component.getDerivedStateFromError)
|
8771
8878
|
(Component = null), (profilerStartTime = -1);
|
8772
8879
|
else {
|
@@ -8783,10 +8890,10 @@
|
|
8783
8890
|
markComponentRenderStopped();
|
8784
8891
|
}
|
8785
8892
|
workInProgress.flags |= 1;
|
8786
|
-
null !== current
|
8893
|
+
null !== current && state
|
8787
8894
|
? ((workInProgress.child = reconcileChildFibers(
|
8788
8895
|
workInProgress,
|
8789
|
-
current
|
8896
|
+
current.child,
|
8790
8897
|
null,
|
8791
8898
|
renderLanes
|
8792
8899
|
)),
|
@@ -8796,17 +8903,12 @@
|
|
8796
8903
|
Component,
|
8797
8904
|
renderLanes
|
8798
8905
|
)))
|
8799
|
-
: reconcileChildren(
|
8800
|
-
current$jscomp$0,
|
8801
|
-
workInProgress,
|
8802
|
-
Component,
|
8803
|
-
renderLanes
|
8804
|
-
);
|
8906
|
+
: reconcileChildren(current, workInProgress, Component, renderLanes);
|
8805
8907
|
workInProgress.memoizedState = lane.state;
|
8806
|
-
current
|
8908
|
+
current = workInProgress.child;
|
8807
8909
|
} else
|
8808
|
-
current
|
8809
|
-
current
|
8910
|
+
current = bailoutOnAlreadyFinishedWork(
|
8911
|
+
current,
|
8810
8912
|
workInProgress,
|
8811
8913
|
renderLanes
|
8812
8914
|
);
|
@@ -8819,7 +8921,7 @@
|
|
8819
8921
|
getComponentNameFromFiber(workInProgress) || "a component"
|
8820
8922
|
),
|
8821
8923
|
(didWarnAboutReassigningProps = !0));
|
8822
|
-
return current
|
8924
|
+
return current;
|
8823
8925
|
}
|
8824
8926
|
function mountHostRootWithoutHydrating(
|
8825
8927
|
current,
|
@@ -8871,32 +8973,32 @@
|
|
8871
8973
|
return current;
|
8872
8974
|
}
|
8873
8975
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8874
|
-
var
|
8875
|
-
var
|
8976
|
+
var JSCompiler_object_inline_digest_2427;
|
8977
|
+
var JSCompiler_object_inline_stack_2428 = workInProgress.pendingProps;
|
8876
8978
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8877
|
-
var
|
8979
|
+
var JSCompiler_object_inline_componentStack_2429 = !1;
|
8878
8980
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8879
|
-
(
|
8880
|
-
(
|
8981
|
+
(JSCompiler_object_inline_digest_2427 = didSuspend) ||
|
8982
|
+
(JSCompiler_object_inline_digest_2427 =
|
8881
8983
|
null !== current && null === current.memoizedState
|
8882
8984
|
? !1
|
8883
8985
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8884
|
-
|
8885
|
-
((
|
8986
|
+
JSCompiler_object_inline_digest_2427 &&
|
8987
|
+
((JSCompiler_object_inline_componentStack_2429 = !0),
|
8886
8988
|
(workInProgress.flags &= -129));
|
8887
|
-
|
8989
|
+
JSCompiler_object_inline_digest_2427 = 0 !== (workInProgress.flags & 32);
|
8888
8990
|
workInProgress.flags &= -33;
|
8889
8991
|
if (null === current) {
|
8890
8992
|
if (isHydrating) {
|
8891
|
-
|
8993
|
+
JSCompiler_object_inline_componentStack_2429
|
8892
8994
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8893
8995
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8894
8996
|
if (isHydrating) {
|
8895
|
-
var
|
8997
|
+
var JSCompiler_object_inline_message_2426 = nextHydratableInstance;
|
8896
8998
|
var JSCompiler_temp;
|
8897
|
-
if (!(JSCompiler_temp = !
|
8999
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2426)) {
|
8898
9000
|
c: {
|
8899
|
-
var instance =
|
9001
|
+
var instance = JSCompiler_object_inline_message_2426;
|
8900
9002
|
for (
|
8901
9003
|
JSCompiler_temp = rootOrSingletonContext;
|
8902
9004
|
8 !== instance.nodeType;
|
@@ -8938,77 +9040,77 @@
|
|
8938
9040
|
JSCompiler_temp &&
|
8939
9041
|
(warnNonHydratedInstance(
|
8940
9042
|
workInProgress,
|
8941
|
-
|
9043
|
+
JSCompiler_object_inline_message_2426
|
8942
9044
|
),
|
8943
9045
|
throwOnHydrationMismatch(workInProgress));
|
8944
9046
|
}
|
8945
|
-
|
9047
|
+
JSCompiler_object_inline_message_2426 = workInProgress.memoizedState;
|
8946
9048
|
if (
|
8947
|
-
null !==
|
8948
|
-
((
|
8949
|
-
|
8950
|
-
null !==
|
9049
|
+
null !== JSCompiler_object_inline_message_2426 &&
|
9050
|
+
((JSCompiler_object_inline_message_2426 =
|
9051
|
+
JSCompiler_object_inline_message_2426.dehydrated),
|
9052
|
+
null !== JSCompiler_object_inline_message_2426)
|
8951
9053
|
)
|
8952
9054
|
return (
|
8953
|
-
isSuspenseInstanceFallback(
|
9055
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2426)
|
8954
9056
|
? (workInProgress.lanes = 32)
|
8955
9057
|
: (workInProgress.lanes = 536870912),
|
8956
9058
|
null
|
8957
9059
|
);
|
8958
9060
|
popSuspenseHandler(workInProgress);
|
8959
9061
|
}
|
8960
|
-
|
8961
|
-
|
8962
|
-
|
8963
|
-
|
8964
|
-
if (
|
9062
|
+
JSCompiler_object_inline_message_2426 =
|
9063
|
+
JSCompiler_object_inline_stack_2428.children;
|
9064
|
+
JSCompiler_object_inline_stack_2428 =
|
9065
|
+
JSCompiler_object_inline_stack_2428.fallback;
|
9066
|
+
if (JSCompiler_object_inline_componentStack_2429)
|
8965
9067
|
return (
|
8966
9068
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8967
|
-
(
|
9069
|
+
(JSCompiler_object_inline_componentStack_2429 =
|
8968
9070
|
workInProgress.mode),
|
8969
|
-
(
|
9071
|
+
(JSCompiler_object_inline_message_2426 =
|
8970
9072
|
mountWorkInProgressOffscreenFiber(
|
8971
9073
|
{
|
8972
9074
|
mode: "hidden",
|
8973
|
-
children:
|
9075
|
+
children: JSCompiler_object_inline_message_2426
|
8974
9076
|
},
|
8975
|
-
|
9077
|
+
JSCompiler_object_inline_componentStack_2429
|
8976
9078
|
)),
|
8977
|
-
(
|
8978
|
-
|
8979
|
-
|
9079
|
+
(JSCompiler_object_inline_stack_2428 = createFiberFromFragment(
|
9080
|
+
JSCompiler_object_inline_stack_2428,
|
9081
|
+
JSCompiler_object_inline_componentStack_2429,
|
8980
9082
|
renderLanes,
|
8981
9083
|
null
|
8982
9084
|
)),
|
8983
|
-
(
|
8984
|
-
(
|
8985
|
-
(
|
8986
|
-
|
8987
|
-
(workInProgress.child =
|
8988
|
-
(
|
9085
|
+
(JSCompiler_object_inline_message_2426.return = workInProgress),
|
9086
|
+
(JSCompiler_object_inline_stack_2428.return = workInProgress),
|
9087
|
+
(JSCompiler_object_inline_message_2426.sibling =
|
9088
|
+
JSCompiler_object_inline_stack_2428),
|
9089
|
+
(workInProgress.child = JSCompiler_object_inline_message_2426),
|
9090
|
+
(JSCompiler_object_inline_componentStack_2429 =
|
8989
9091
|
workInProgress.child),
|
8990
|
-
(
|
9092
|
+
(JSCompiler_object_inline_componentStack_2429.memoizedState =
|
8991
9093
|
mountSuspenseOffscreenState(renderLanes)),
|
8992
|
-
(
|
9094
|
+
(JSCompiler_object_inline_componentStack_2429.childLanes =
|
8993
9095
|
getRemainingWorkInPrimaryTree(
|
8994
9096
|
current,
|
8995
|
-
|
9097
|
+
JSCompiler_object_inline_digest_2427,
|
8996
9098
|
renderLanes
|
8997
9099
|
)),
|
8998
9100
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8999
|
-
|
9101
|
+
JSCompiler_object_inline_stack_2428
|
9000
9102
|
);
|
9001
9103
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9002
9104
|
return mountSuspensePrimaryChildren(
|
9003
9105
|
workInProgress,
|
9004
|
-
|
9106
|
+
JSCompiler_object_inline_message_2426
|
9005
9107
|
);
|
9006
9108
|
}
|
9007
9109
|
var prevState = current.memoizedState;
|
9008
9110
|
if (
|
9009
9111
|
null !== prevState &&
|
9010
|
-
((
|
9011
|
-
null !==
|
9112
|
+
((JSCompiler_object_inline_message_2426 = prevState.dehydrated),
|
9113
|
+
null !== JSCompiler_object_inline_message_2426)
|
9012
9114
|
) {
|
9013
9115
|
if (didSuspend)
|
9014
9116
|
workInProgress.flags & 256
|
@@ -9025,94 +9127,94 @@
|
|
9025
9127
|
(workInProgress.flags |= 128),
|
9026
9128
|
(workInProgress = null))
|
9027
9129
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9028
|
-
(
|
9029
|
-
|
9030
|
-
(
|
9031
|
-
(
|
9130
|
+
(JSCompiler_object_inline_componentStack_2429 =
|
9131
|
+
JSCompiler_object_inline_stack_2428.fallback),
|
9132
|
+
(JSCompiler_object_inline_message_2426 = workInProgress.mode),
|
9133
|
+
(JSCompiler_object_inline_stack_2428 =
|
9032
9134
|
mountWorkInProgressOffscreenFiber(
|
9033
9135
|
{
|
9034
9136
|
mode: "visible",
|
9035
|
-
children:
|
9137
|
+
children: JSCompiler_object_inline_stack_2428.children
|
9036
9138
|
},
|
9037
|
-
|
9139
|
+
JSCompiler_object_inline_message_2426
|
9038
9140
|
)),
|
9039
|
-
(
|
9141
|
+
(JSCompiler_object_inline_componentStack_2429 =
|
9040
9142
|
createFiberFromFragment(
|
9041
|
-
|
9042
|
-
|
9143
|
+
JSCompiler_object_inline_componentStack_2429,
|
9144
|
+
JSCompiler_object_inline_message_2426,
|
9043
9145
|
renderLanes,
|
9044
9146
|
null
|
9045
9147
|
)),
|
9046
|
-
(
|
9047
|
-
(
|
9048
|
-
(
|
9148
|
+
(JSCompiler_object_inline_componentStack_2429.flags |= 2),
|
9149
|
+
(JSCompiler_object_inline_stack_2428.return = workInProgress),
|
9150
|
+
(JSCompiler_object_inline_componentStack_2429.return =
|
9049
9151
|
workInProgress),
|
9050
|
-
(
|
9051
|
-
|
9052
|
-
(workInProgress.child =
|
9152
|
+
(JSCompiler_object_inline_stack_2428.sibling =
|
9153
|
+
JSCompiler_object_inline_componentStack_2429),
|
9154
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2428),
|
9053
9155
|
reconcileChildFibers(
|
9054
9156
|
workInProgress,
|
9055
9157
|
current.child,
|
9056
9158
|
null,
|
9057
9159
|
renderLanes
|
9058
9160
|
),
|
9059
|
-
(
|
9060
|
-
(
|
9161
|
+
(JSCompiler_object_inline_stack_2428 = workInProgress.child),
|
9162
|
+
(JSCompiler_object_inline_stack_2428.memoizedState =
|
9061
9163
|
mountSuspenseOffscreenState(renderLanes)),
|
9062
|
-
(
|
9164
|
+
(JSCompiler_object_inline_stack_2428.childLanes =
|
9063
9165
|
getRemainingWorkInPrimaryTree(
|
9064
9166
|
current,
|
9065
|
-
|
9167
|
+
JSCompiler_object_inline_digest_2427,
|
9066
9168
|
renderLanes
|
9067
9169
|
)),
|
9068
9170
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9069
9171
|
(workInProgress =
|
9070
|
-
|
9172
|
+
JSCompiler_object_inline_componentStack_2429));
|
9071
9173
|
else if (
|
9072
9174
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9073
9175
|
isHydrating &&
|
9074
9176
|
console.error(
|
9075
9177
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9076
9178
|
),
|
9077
|
-
isSuspenseInstanceFallback(
|
9179
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2426))
|
9078
9180
|
) {
|
9079
|
-
|
9080
|
-
|
9081
|
-
|
9082
|
-
if (
|
9083
|
-
JSCompiler_temp =
|
9084
|
-
var message =
|
9085
|
-
instance =
|
9086
|
-
var componentStack =
|
9181
|
+
JSCompiler_object_inline_digest_2427 =
|
9182
|
+
JSCompiler_object_inline_message_2426.nextSibling &&
|
9183
|
+
JSCompiler_object_inline_message_2426.nextSibling.dataset;
|
9184
|
+
if (JSCompiler_object_inline_digest_2427) {
|
9185
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2427.dgst;
|
9186
|
+
var message = JSCompiler_object_inline_digest_2427.msg;
|
9187
|
+
instance = JSCompiler_object_inline_digest_2427.stck;
|
9188
|
+
var componentStack = JSCompiler_object_inline_digest_2427.cstck;
|
9087
9189
|
}
|
9088
|
-
|
9089
|
-
|
9090
|
-
|
9091
|
-
JSCompiler_temp =
|
9190
|
+
JSCompiler_object_inline_message_2426 = message;
|
9191
|
+
JSCompiler_object_inline_digest_2427 = JSCompiler_temp;
|
9192
|
+
JSCompiler_object_inline_stack_2428 = instance;
|
9193
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2429 =
|
9092
9194
|
componentStack;
|
9093
|
-
|
9094
|
-
|
9095
|
-
? Error(
|
9195
|
+
JSCompiler_object_inline_componentStack_2429 =
|
9196
|
+
JSCompiler_object_inline_message_2426
|
9197
|
+
? Error(JSCompiler_object_inline_message_2426)
|
9096
9198
|
: Error(
|
9097
9199
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9098
9200
|
);
|
9099
|
-
|
9100
|
-
|
9101
|
-
|
9102
|
-
|
9103
|
-
|
9201
|
+
JSCompiler_object_inline_componentStack_2429.stack =
|
9202
|
+
JSCompiler_object_inline_stack_2428 || "";
|
9203
|
+
JSCompiler_object_inline_componentStack_2429.digest =
|
9204
|
+
JSCompiler_object_inline_digest_2427;
|
9205
|
+
JSCompiler_object_inline_digest_2427 =
|
9104
9206
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9105
|
-
|
9106
|
-
value:
|
9207
|
+
JSCompiler_object_inline_stack_2428 = {
|
9208
|
+
value: JSCompiler_object_inline_componentStack_2429,
|
9107
9209
|
source: null,
|
9108
|
-
stack:
|
9210
|
+
stack: JSCompiler_object_inline_digest_2427
|
9109
9211
|
};
|
9110
|
-
"string" === typeof
|
9212
|
+
"string" === typeof JSCompiler_object_inline_digest_2427 &&
|
9111
9213
|
CapturedStacks.set(
|
9112
|
-
|
9113
|
-
|
9214
|
+
JSCompiler_object_inline_componentStack_2429,
|
9215
|
+
JSCompiler_object_inline_stack_2428
|
9114
9216
|
);
|
9115
|
-
queueHydrationError(
|
9217
|
+
queueHydrationError(JSCompiler_object_inline_stack_2428);
|
9116
9218
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9117
9219
|
current,
|
9118
9220
|
workInProgress,
|
@@ -9126,44 +9228,44 @@
|
|
9126
9228
|
renderLanes,
|
9127
9229
|
!1
|
9128
9230
|
),
|
9129
|
-
(
|
9231
|
+
(JSCompiler_object_inline_digest_2427 =
|
9130
9232
|
0 !== (renderLanes & current.childLanes)),
|
9131
|
-
didReceiveUpdate ||
|
9233
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2427)
|
9132
9234
|
) {
|
9133
|
-
|
9235
|
+
JSCompiler_object_inline_digest_2427 = workInProgressRoot;
|
9134
9236
|
if (
|
9135
|
-
null !==
|
9136
|
-
((
|
9137
|
-
(
|
9138
|
-
0 !== (
|
9237
|
+
null !== JSCompiler_object_inline_digest_2427 &&
|
9238
|
+
((JSCompiler_object_inline_stack_2428 = renderLanes & -renderLanes),
|
9239
|
+
(JSCompiler_object_inline_stack_2428 =
|
9240
|
+
0 !== (JSCompiler_object_inline_stack_2428 & 42)
|
9139
9241
|
? 1
|
9140
9242
|
: getBumpedLaneForHydrationByLane(
|
9141
|
-
|
9243
|
+
JSCompiler_object_inline_stack_2428
|
9142
9244
|
)),
|
9143
|
-
(
|
9245
|
+
(JSCompiler_object_inline_stack_2428 =
|
9144
9246
|
0 !==
|
9145
|
-
(
|
9146
|
-
(
|
9247
|
+
(JSCompiler_object_inline_stack_2428 &
|
9248
|
+
(JSCompiler_object_inline_digest_2427.suspendedLanes |
|
9147
9249
|
renderLanes))
|
9148
9250
|
? 0
|
9149
|
-
:
|
9150
|
-
0 !==
|
9151
|
-
|
9251
|
+
: JSCompiler_object_inline_stack_2428),
|
9252
|
+
0 !== JSCompiler_object_inline_stack_2428 &&
|
9253
|
+
JSCompiler_object_inline_stack_2428 !== prevState.retryLane)
|
9152
9254
|
)
|
9153
9255
|
throw (
|
9154
|
-
((prevState.retryLane =
|
9256
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2428),
|
9155
9257
|
enqueueConcurrentRenderForLane(
|
9156
9258
|
current,
|
9157
|
-
|
9259
|
+
JSCompiler_object_inline_stack_2428
|
9158
9260
|
),
|
9159
9261
|
scheduleUpdateOnFiber(
|
9160
|
-
|
9262
|
+
JSCompiler_object_inline_digest_2427,
|
9161
9263
|
current,
|
9162
|
-
|
9264
|
+
JSCompiler_object_inline_stack_2428
|
9163
9265
|
),
|
9164
9266
|
SelectiveHydrationException)
|
9165
9267
|
);
|
9166
|
-
|
9268
|
+
JSCompiler_object_inline_message_2426.data ===
|
9167
9269
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9168
9270
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9169
9271
|
current,
|
@@ -9171,14 +9273,14 @@
|
|
9171
9273
|
renderLanes
|
9172
9274
|
);
|
9173
9275
|
} else
|
9174
|
-
|
9276
|
+
JSCompiler_object_inline_message_2426.data ===
|
9175
9277
|
SUSPENSE_PENDING_START_DATA
|
9176
9278
|
? ((workInProgress.flags |= 192),
|
9177
9279
|
(workInProgress.child = current.child),
|
9178
9280
|
(workInProgress = null))
|
9179
9281
|
: ((current = prevState.treeContext),
|
9180
9282
|
(nextHydratableInstance = getNextHydratable(
|
9181
|
-
|
9283
|
+
JSCompiler_object_inline_message_2426.nextSibling
|
9182
9284
|
)),
|
9183
9285
|
(hydrationParentFiber = workInProgress),
|
9184
9286
|
(isHydrating = !0),
|
@@ -9196,57 +9298,57 @@
|
|
9196
9298
|
(treeContextProvider = workInProgress)),
|
9197
9299
|
(workInProgress = mountSuspensePrimaryChildren(
|
9198
9300
|
workInProgress,
|
9199
|
-
|
9301
|
+
JSCompiler_object_inline_stack_2428.children
|
9200
9302
|
)),
|
9201
9303
|
(workInProgress.flags |= 4096));
|
9202
9304
|
return workInProgress;
|
9203
9305
|
}
|
9204
|
-
if (
|
9306
|
+
if (JSCompiler_object_inline_componentStack_2429)
|
9205
9307
|
return (
|
9206
9308
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9207
|
-
(
|
9208
|
-
|
9209
|
-
(
|
9309
|
+
(JSCompiler_object_inline_componentStack_2429 =
|
9310
|
+
JSCompiler_object_inline_stack_2428.fallback),
|
9311
|
+
(JSCompiler_object_inline_message_2426 = workInProgress.mode),
|
9210
9312
|
(JSCompiler_temp = current.child),
|
9211
9313
|
(instance = JSCompiler_temp.sibling),
|
9212
|
-
(
|
9314
|
+
(JSCompiler_object_inline_stack_2428 = createWorkInProgress(
|
9213
9315
|
JSCompiler_temp,
|
9214
9316
|
{
|
9215
9317
|
mode: "hidden",
|
9216
|
-
children:
|
9318
|
+
children: JSCompiler_object_inline_stack_2428.children
|
9217
9319
|
}
|
9218
9320
|
)),
|
9219
|
-
(
|
9321
|
+
(JSCompiler_object_inline_stack_2428.subtreeFlags =
|
9220
9322
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9221
9323
|
null !== instance
|
9222
|
-
? (
|
9324
|
+
? (JSCompiler_object_inline_componentStack_2429 =
|
9223
9325
|
createWorkInProgress(
|
9224
9326
|
instance,
|
9225
|
-
|
9327
|
+
JSCompiler_object_inline_componentStack_2429
|
9226
9328
|
))
|
9227
|
-
: ((
|
9329
|
+
: ((JSCompiler_object_inline_componentStack_2429 =
|
9228
9330
|
createFiberFromFragment(
|
9229
|
-
|
9230
|
-
|
9331
|
+
JSCompiler_object_inline_componentStack_2429,
|
9332
|
+
JSCompiler_object_inline_message_2426,
|
9231
9333
|
renderLanes,
|
9232
9334
|
null
|
9233
9335
|
)),
|
9234
|
-
(
|
9235
|
-
(
|
9336
|
+
(JSCompiler_object_inline_componentStack_2429.flags |= 2)),
|
9337
|
+
(JSCompiler_object_inline_componentStack_2429.return =
|
9236
9338
|
workInProgress),
|
9237
|
-
(
|
9238
|
-
(
|
9239
|
-
|
9240
|
-
(workInProgress.child =
|
9241
|
-
(
|
9242
|
-
|
9243
|
-
(
|
9244
|
-
(
|
9245
|
-
null ===
|
9246
|
-
? (
|
9339
|
+
(JSCompiler_object_inline_stack_2428.return = workInProgress),
|
9340
|
+
(JSCompiler_object_inline_stack_2428.sibling =
|
9341
|
+
JSCompiler_object_inline_componentStack_2429),
|
9342
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2428),
|
9343
|
+
(JSCompiler_object_inline_stack_2428 =
|
9344
|
+
JSCompiler_object_inline_componentStack_2429),
|
9345
|
+
(JSCompiler_object_inline_componentStack_2429 = workInProgress.child),
|
9346
|
+
(JSCompiler_object_inline_message_2426 = current.child.memoizedState),
|
9347
|
+
null === JSCompiler_object_inline_message_2426
|
9348
|
+
? (JSCompiler_object_inline_message_2426 =
|
9247
9349
|
mountSuspenseOffscreenState(renderLanes))
|
9248
9350
|
: ((JSCompiler_temp =
|
9249
|
-
|
9351
|
+
JSCompiler_object_inline_message_2426.cachePool),
|
9250
9352
|
null !== JSCompiler_temp
|
9251
9353
|
? ((instance = CacheContext._currentValue),
|
9252
9354
|
(JSCompiler_temp =
|
@@ -9254,37 +9356,37 @@
|
|
9254
9356
|
? { parent: instance, pool: instance }
|
9255
9357
|
: JSCompiler_temp))
|
9256
9358
|
: (JSCompiler_temp = getSuspendedCache()),
|
9257
|
-
(
|
9359
|
+
(JSCompiler_object_inline_message_2426 = {
|
9258
9360
|
baseLanes:
|
9259
|
-
|
9361
|
+
JSCompiler_object_inline_message_2426.baseLanes | renderLanes,
|
9260
9362
|
cachePool: JSCompiler_temp
|
9261
9363
|
})),
|
9262
|
-
(
|
9263
|
-
|
9264
|
-
(
|
9364
|
+
(JSCompiler_object_inline_componentStack_2429.memoizedState =
|
9365
|
+
JSCompiler_object_inline_message_2426),
|
9366
|
+
(JSCompiler_object_inline_componentStack_2429.childLanes =
|
9265
9367
|
getRemainingWorkInPrimaryTree(
|
9266
9368
|
current,
|
9267
|
-
|
9369
|
+
JSCompiler_object_inline_digest_2427,
|
9268
9370
|
renderLanes
|
9269
9371
|
)),
|
9270
9372
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9271
|
-
|
9373
|
+
JSCompiler_object_inline_stack_2428
|
9272
9374
|
);
|
9273
9375
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9274
9376
|
renderLanes = current.child;
|
9275
9377
|
current = renderLanes.sibling;
|
9276
9378
|
renderLanes = createWorkInProgress(renderLanes, {
|
9277
9379
|
mode: "visible",
|
9278
|
-
children:
|
9380
|
+
children: JSCompiler_object_inline_stack_2428.children
|
9279
9381
|
});
|
9280
9382
|
renderLanes.return = workInProgress;
|
9281
9383
|
renderLanes.sibling = null;
|
9282
9384
|
null !== current &&
|
9283
|
-
((
|
9284
|
-
null ===
|
9385
|
+
((JSCompiler_object_inline_digest_2427 = workInProgress.deletions),
|
9386
|
+
null === JSCompiler_object_inline_digest_2427
|
9285
9387
|
? ((workInProgress.deletions = [current]),
|
9286
9388
|
(workInProgress.flags |= 16))
|
9287
|
-
:
|
9389
|
+
: JSCompiler_object_inline_digest_2427.push(current));
|
9288
9390
|
workInProgress.child = renderLanes;
|
9289
9391
|
workInProgress.memoizedState = null;
|
9290
9392
|
return renderLanes;
|
@@ -9697,6 +9799,8 @@
|
|
9697
9799
|
workInProgress.mode,
|
9698
9800
|
workInProgress.lanes
|
9699
9801
|
);
|
9802
|
+
renderLanes._debugStack = workInProgress._debugStack;
|
9803
|
+
renderLanes._debugTask = workInProgress._debugTask;
|
9700
9804
|
var returnFiber = workInProgress.return;
|
9701
9805
|
if (null === returnFiber) throw Error("Cannot swap the root fiber.");
|
9702
9806
|
current.alternate = null;
|
@@ -12822,7 +12926,11 @@
|
|
12822
12926
|
this.actualDuration = -0;
|
12823
12927
|
this.actualStartTime = -1.1;
|
12824
12928
|
this.treeBaseDuration = this.selfBaseDuration = -0;
|
12825
|
-
this.
|
12929
|
+
this._debugTask =
|
12930
|
+
this._debugStack =
|
12931
|
+
this._debugOwner =
|
12932
|
+
this._debugInfo =
|
12933
|
+
null;
|
12826
12934
|
this._debugNeedsRemount = !1;
|
12827
12935
|
this._debugHookTypes = null;
|
12828
12936
|
hasBadMapPolyfill ||
|
@@ -12846,6 +12954,8 @@
|
|
12846
12954
|
(workInProgress.type = current.type),
|
12847
12955
|
(workInProgress.stateNode = current.stateNode),
|
12848
12956
|
(workInProgress._debugOwner = current._debugOwner),
|
12957
|
+
(workInProgress._debugStack = current._debugStack),
|
12958
|
+
(workInProgress._debugTask = current._debugTask),
|
12849
12959
|
(workInProgress._debugHookTypes = current._debugHookTypes),
|
12850
12960
|
(workInProgress.alternate = current),
|
12851
12961
|
(current.alternate = workInProgress))
|
@@ -13065,6 +13175,8 @@
|
|
13065
13175
|
lanes
|
13066
13176
|
);
|
13067
13177
|
mode._debugOwner = element._owner;
|
13178
|
+
mode._debugStack = element._debugStack;
|
13179
|
+
mode._debugTask = element._debugTask;
|
13068
13180
|
return mode;
|
13069
13181
|
}
|
13070
13182
|
function createFiberFromFragment(elements, mode, lanes, key) {
|
@@ -13402,7 +13514,7 @@
|
|
13402
13514
|
resource = suspenseHandlerStackCursor.current;
|
13403
13515
|
if (
|
13404
13516
|
null !== resource &&
|
13405
|
-
((workInProgressRootRenderLanes &
|
13517
|
+
((workInProgressRootRenderLanes & 4194048) ===
|
13406
13518
|
workInProgressRootRenderLanes
|
13407
13519
|
? null !== shellBoundary
|
13408
13520
|
: ((workInProgressRootRenderLanes & 62914560) !==
|
@@ -14283,7 +14395,7 @@
|
|
14283
14395
|
throw Error("Should not already be working.");
|
14284
14396
|
var shouldTimeSlice =
|
14285
14397
|
(!forceSync &&
|
14286
|
-
0 === (lanes &
|
14398
|
+
0 === (lanes & 124) &&
|
14287
14399
|
0 === (lanes & root.expiredLanes)) ||
|
14288
14400
|
checkIfRootIsPrerendering(root, lanes),
|
14289
14401
|
exitStatus = shouldTimeSlice
|
@@ -14376,7 +14488,7 @@
|
|
14376
14488
|
case RootFatalErrored:
|
14377
14489
|
throw Error("Root did not complete. This is a bug in React.");
|
14378
14490
|
case RootSuspendedWithDelay:
|
14379
|
-
if ((lanes &
|
14491
|
+
if ((lanes & 4194048) !== lanes) break;
|
14380
14492
|
case RootSuspendedAtTheShell:
|
14381
14493
|
markRootSuspended(
|
14382
14494
|
shouldTimeSlice,
|
@@ -14728,7 +14840,7 @@
|
|
14728
14840
|
function renderDidSuspendDelayIfPossible() {
|
14729
14841
|
workInProgressRootExitStatus = RootSuspendedWithDelay;
|
14730
14842
|
workInProgressRootDidSkipSuspendedSiblings ||
|
14731
|
-
((workInProgressRootRenderLanes &
|
14843
|
+
((workInProgressRootRenderLanes & 4194048) !==
|
14732
14844
|
workInProgressRootRenderLanes &&
|
14733
14845
|
null !== suspenseHandlerStackCursor.current) ||
|
14734
14846
|
(workInProgressRootIsPrerendering = !0);
|
@@ -15536,7 +15648,7 @@
|
|
15536
15648
|
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
15537
15649
|
ensureRootIsScheduled(root);
|
15538
15650
|
remainingLanes = root.pendingLanes;
|
15539
|
-
0 !== (lanes &
|
15651
|
+
0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42)
|
15540
15652
|
? ((nestedUpdateScheduled = !0),
|
15541
15653
|
root === rootWithNestedUpdates
|
15542
15654
|
? nestedUpdateCount++
|
@@ -15924,8 +16036,8 @@
|
|
15924
16036
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
15925
16037
|
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
15926
16038
|
nextLanes =
|
15927
|
-
nextLanes &
|
15928
|
-
? (nextLanes &
|
16039
|
+
nextLanes & 201326741
|
16040
|
+
? (nextLanes & 201326741) | 1
|
15929
16041
|
: nextLanes
|
15930
16042
|
? nextLanes | 2
|
15931
16043
|
: 0;
|
@@ -16230,6 +16342,15 @@
|
|
16230
16342
|
});
|
16231
16343
|
}
|
16232
16344
|
}
|
16345
|
+
function executeDispatch(event, listener, currentTarget) {
|
16346
|
+
event.currentTarget = currentTarget;
|
16347
|
+
try {
|
16348
|
+
listener(event);
|
16349
|
+
} catch (error) {
|
16350
|
+
reportGlobalError(error);
|
16351
|
+
}
|
16352
|
+
event.currentTarget = null;
|
16353
|
+
}
|
16233
16354
|
function processDispatchQueue(dispatchQueue, eventSystemFlags) {
|
16234
16355
|
eventSystemFlags = 0 !== (eventSystemFlags & 4);
|
16235
16356
|
for (var i = 0; i < dispatchQueue.length; i++) {
|
@@ -16250,14 +16371,15 @@
|
|
16250
16371
|
_dispatchListeners$i = _dispatchListeners$i.listener;
|
16251
16372
|
if (instance !== previousInstance && event.isPropagationStopped())
|
16252
16373
|
break a;
|
16253
|
-
|
16254
|
-
|
16255
|
-
|
16256
|
-
|
16257
|
-
|
16258
|
-
|
16259
|
-
|
16260
|
-
|
16374
|
+
null !== instance
|
16375
|
+
? runWithFiberInDEV(
|
16376
|
+
instance,
|
16377
|
+
executeDispatch,
|
16378
|
+
event,
|
16379
|
+
_dispatchListeners$i,
|
16380
|
+
currentTarget
|
16381
|
+
)
|
16382
|
+
: executeDispatch(event, _dispatchListeners$i, currentTarget);
|
16261
16383
|
previousInstance = instance;
|
16262
16384
|
}
|
16263
16385
|
else
|
@@ -16272,14 +16394,15 @@
|
|
16272
16394
|
_dispatchListeners$i = _dispatchListeners$i.listener;
|
16273
16395
|
if (instance !== previousInstance && event.isPropagationStopped())
|
16274
16396
|
break a;
|
16275
|
-
|
16276
|
-
|
16277
|
-
|
16278
|
-
|
16279
|
-
|
16280
|
-
|
16281
|
-
|
16282
|
-
|
16397
|
+
null !== instance
|
16398
|
+
? runWithFiberInDEV(
|
16399
|
+
instance,
|
16400
|
+
executeDispatch,
|
16401
|
+
event,
|
16402
|
+
_dispatchListeners$i,
|
16403
|
+
currentTarget
|
16404
|
+
)
|
16405
|
+
: executeDispatch(event, _dispatchListeners$i, currentTarget);
|
16283
16406
|
previousInstance = instance;
|
16284
16407
|
}
|
16285
16408
|
}
|
@@ -20291,38 +20414,6 @@
|
|
20291
20414
|
resource.state.loading |= Inserted;
|
20292
20415
|
}
|
20293
20416
|
}
|
20294
|
-
function bindToConsole(methodName, args, badgeName) {
|
20295
|
-
var offset = 0;
|
20296
|
-
switch (methodName) {
|
20297
|
-
case "dir":
|
20298
|
-
case "dirxml":
|
20299
|
-
case "groupEnd":
|
20300
|
-
case "table":
|
20301
|
-
return bind.apply(console[methodName], [console].concat(args));
|
20302
|
-
case "assert":
|
20303
|
-
offset = 1;
|
20304
|
-
}
|
20305
|
-
args = args.slice(0);
|
20306
|
-
"string" === typeof args[offset]
|
20307
|
-
? args.splice(
|
20308
|
-
offset,
|
20309
|
-
1,
|
20310
|
-
badgeFormat + args[offset],
|
20311
|
-
badgeStyle,
|
20312
|
-
pad + badgeName + pad,
|
20313
|
-
resetStyle
|
20314
|
-
)
|
20315
|
-
: args.splice(
|
20316
|
-
offset,
|
20317
|
-
0,
|
20318
|
-
badgeFormat,
|
20319
|
-
badgeStyle,
|
20320
|
-
pad + badgeName + pad,
|
20321
|
-
resetStyle
|
20322
|
-
);
|
20323
|
-
args.unshift(console);
|
20324
|
-
return bind.apply(console[methodName], args);
|
20325
|
-
}
|
20326
20417
|
function FiberRootNode(
|
20327
20418
|
containerInfo,
|
20328
20419
|
tag,
|
@@ -21153,7 +21244,7 @@
|
|
21153
21244
|
clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
|
21154
21245
|
log = Math.log,
|
21155
21246
|
LN2 = Math.LN2,
|
21156
|
-
nextTransitionLane =
|
21247
|
+
nextTransitionLane = 256,
|
21157
21248
|
nextRetryLane = 4194304,
|
21158
21249
|
DiscreteEventPriority = 2,
|
21159
21250
|
ContinuousEventPriority = 8,
|
@@ -24665,11 +24756,11 @@
|
|
24665
24756
|
};
|
24666
24757
|
(function () {
|
24667
24758
|
var isomorphicReactPackageVersion = React.version;
|
24668
|
-
if ("19.1.0-canary-
|
24759
|
+
if ("19.1.0-canary-e670e72f-20250214" !== isomorphicReactPackageVersion)
|
24669
24760
|
throw Error(
|
24670
24761
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24671
24762
|
(isomorphicReactPackageVersion +
|
24672
|
-
"\n - react-dom: 19.1.0-canary-
|
24763
|
+
"\n - react-dom: 19.1.0-canary-e670e72f-20250214\nLearn more: https://react.dev/warnings/version-mismatch")
|
24673
24764
|
);
|
24674
24765
|
})();
|
24675
24766
|
("function" === typeof Map &&
|
@@ -24706,10 +24797,10 @@
|
|
24706
24797
|
!(function () {
|
24707
24798
|
var internals = {
|
24708
24799
|
bundleType: 1,
|
24709
|
-
version: "19.1.0-canary-
|
24800
|
+
version: "19.1.0-canary-e670e72f-20250214",
|
24710
24801
|
rendererPackageName: "react-dom",
|
24711
24802
|
currentDispatcherRef: ReactSharedInternals,
|
24712
|
-
reconcilerVersion: "19.1.0-canary-
|
24803
|
+
reconcilerVersion: "19.1.0-canary-e670e72f-20250214"
|
24713
24804
|
};
|
24714
24805
|
internals.overrideHookState = overrideHookState;
|
24715
24806
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24853,7 +24944,7 @@
|
|
24853
24944
|
listenToAllSupportedEvents(container);
|
24854
24945
|
return new ReactDOMHydrationRoot(initialChildren);
|
24855
24946
|
};
|
24856
|
-
exports.version = "19.1.0-canary-
|
24947
|
+
exports.version = "19.1.0-canary-e670e72f-20250214";
|
24857
24948
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24858
24949
|
"function" ===
|
24859
24950
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|