react-dom 19.1.0-canary-f83903bf-20250212 → 19.1.0-canary-32b0cad8-20250213

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.
@@ -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
- return null === current ? "" : getStackByFiberInDevAndProd(current);
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
- ReactSharedInternals.getCurrentStack =
1435
- null === fiber ? null : getCurrentFiberStackInDev;
1436
- isRendering = !1;
1437
- current = fiber;
1515
+ setCurrentFiber(fiber);
1438
1516
  try {
1439
- return callback(arg0, arg1, arg2, arg3, arg4);
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
- current = previousFiber;
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
- ancestorInfo = ancestorInfo.tag;
2500
- var warnKey = String(!!parentInfo) + "|" + childTag + "|" + ancestorInfo;
2501
- if (didWarn[warnKey]) return !1;
2502
- didWarn[warnKey] = !0;
2503
- var ancestor = (warnKey = current)
2504
- ? findAncestor(warnKey.return, ancestorInfo)
2505
- : null;
2506
- warnKey =
2507
- null !== warnKey && null !== ancestor
2508
- ? describeAncestors(ancestor, warnKey, null)
2509
- : "";
2510
- ancestor = "<" + childTag + ">";
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" === ancestorInfo &&
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
- ancestor,
2520
- ancestorInfo,
2607
+ tagDisplayName,
2608
+ ancestorTag,
2521
2609
  parentInfo,
2522
- warnKey
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
- ancestor,
2527
- ancestorInfo,
2528
- warnKey
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) {
@@ -6639,6 +6740,7 @@
6639
6740
  )),
6640
6741
  (current.return = returnFiber),
6641
6742
  (current._debugOwner = returnFiber),
6743
+ (current._debugTask = returnFiber._debugTask),
6642
6744
  (current._debugInfo = currentDebugInfo),
6643
6745
  current
6644
6746
  );
@@ -6713,6 +6815,7 @@
6713
6815
  )),
6714
6816
  (current.return = returnFiber),
6715
6817
  (current._debugOwner = returnFiber),
6818
+ (current._debugTask = returnFiber._debugTask),
6716
6819
  (current._debugInfo = currentDebugInfo),
6717
6820
  current
6718
6821
  );
@@ -6735,6 +6838,7 @@
6735
6838
  )),
6736
6839
  (newChild.return = returnFiber),
6737
6840
  (newChild._debugOwner = returnFiber),
6841
+ (newChild._debugTask = returnFiber._debugTask),
6738
6842
  (newChild._debugInfo = currentDebugInfo),
6739
6843
  newChild
6740
6844
  );
@@ -6782,6 +6886,7 @@
6782
6886
  )),
6783
6887
  (lanes.return = returnFiber),
6784
6888
  (lanes._debugOwner = returnFiber),
6889
+ (lanes._debugTask = returnFiber._debugTask),
6785
6890
  (returnFiber = pushDebugInfo(newChild._debugInfo)),
6786
6891
  (lanes._debugInfo = currentDebugInfo),
6787
6892
  (currentDebugInfo = returnFiber),
@@ -7319,6 +7424,7 @@
7319
7424
  )),
7320
7425
  (lanes.return = returnFiber),
7321
7426
  (lanes._debugOwner = returnFiber),
7427
+ (lanes._debugTask = returnFiber._debugTask),
7322
7428
  (lanes._debugInfo = currentDebugInfo),
7323
7429
  validateFragmentProps(newChild, lanes, returnFiber),
7324
7430
  (returnFiber = lanes))
@@ -7485,6 +7591,7 @@
7485
7591
  )),
7486
7592
  (lanes.return = returnFiber),
7487
7593
  (lanes._debugOwner = returnFiber),
7594
+ (lanes._debugTask = returnFiber._debugTask),
7488
7595
  (lanes._debugInfo = currentDebugInfo),
7489
7596
  (returnFiber = lanes)),
7490
7597
  placeSingleChild(returnFiber)
@@ -7514,10 +7621,12 @@
7514
7621
  fiber.return = returnFiber;
7515
7622
  var debugInfo = (fiber._debugInfo = currentDebugInfo);
7516
7623
  fiber._debugOwner = returnFiber._debugOwner;
7624
+ fiber._debugTask = returnFiber._debugTask;
7517
7625
  if (null != debugInfo)
7518
7626
  for (var i = debugInfo.length - 1; 0 <= i; i--)
7519
7627
  if ("string" === typeof debugInfo[i].stack) {
7520
7628
  fiber._debugOwner = debugInfo[i];
7629
+ fiber._debugTask = debugInfo[i].debugTask;
7521
7630
  break;
7522
7631
  }
7523
7632
  return fiber;
@@ -7598,63 +7707,62 @@
7598
7707
  }
7599
7708
  return null;
7600
7709
  }
7601
- function defaultOnUncaughtError(error, errorInfo) {
7710
+ function defaultOnUncaughtError(error) {
7602
7711
  reportGlobalError(error);
7603
- error = componentName
7604
- ? "An error occurred in the <" + componentName + "> component."
7605
- : "An error occurred in one of your React components.";
7606
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack,
7607
- componentStack =
7608
- null != errorInfo.componentStack ? errorInfo.componentStack : "";
7609
- ReactSharedInternals.getCurrentStack = function () {
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
- }
7712
+ console.warn(
7713
+ "%s\n\n%s\n",
7714
+ componentName
7715
+ ? "An error occurred in the <" + componentName + "> component."
7716
+ : "An error occurred in one of your React components.",
7717
+ "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."
7718
+ );
7621
7719
  }
7622
- function defaultOnCaughtError(error, errorInfo) {
7720
+ function defaultOnCaughtError(error) {
7623
7721
  var componentNameMessage = componentName
7624
7722
  ? "The above error occurred in the <" + componentName + "> component."
7625
7723
  : "The above error occurred in one of your React components.",
7626
7724
  recreateMessage =
7627
7725
  "React will try to recreate this component tree from scratch using the error boundary you provided, " +
7628
- ((errorBoundaryName || "Anonymous") + "."),
7629
- prevGetCurrentStack = ReactSharedInternals.getCurrentStack,
7630
- componentStack =
7631
- null != errorInfo.componentStack ? errorInfo.componentStack : "";
7632
- ReactSharedInternals.getCurrentStack = function () {
7633
- return componentStack;
7634
- };
7635
- try {
7726
+ ((errorBoundaryName || "Anonymous") + ".");
7727
+ if (
7636
7728
  "object" === typeof error &&
7637
7729
  null !== error &&
7638
7730
  "string" === typeof error.environmentName
7639
- ? bindToConsole(
7640
- "error",
7641
- [
7642
- "%o\n\n%s\n\n%s\n",
7643
- error,
7644
- componentNameMessage,
7645
- recreateMessage
7646
- ],
7647
- error.environmentName
7648
- )()
7649
- : console.error(
7650
- "%o\n\n%s\n\n%s\n",
7651
- error,
7652
- componentNameMessage,
7653
- recreateMessage
7731
+ ) {
7732
+ var JSCompiler_inline_result = error.environmentName;
7733
+ error = [
7734
+ "%o\n\n%s\n\n%s\n",
7735
+ error,
7736
+ componentNameMessage,
7737
+ recreateMessage
7738
+ ].slice(0);
7739
+ "string" === typeof error[0]
7740
+ ? error.splice(
7741
+ 0,
7742
+ 1,
7743
+ badgeFormat + error[0],
7744
+ badgeStyle,
7745
+ pad + JSCompiler_inline_result + pad,
7746
+ resetStyle
7747
+ )
7748
+ : error.splice(
7749
+ 0,
7750
+ 0,
7751
+ badgeFormat,
7752
+ badgeStyle,
7753
+ pad + JSCompiler_inline_result + pad,
7754
+ resetStyle
7654
7755
  );
7655
- } finally {
7656
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
7657
- }
7756
+ error.unshift(console);
7757
+ JSCompiler_inline_result = bind.apply(console.error, error);
7758
+ JSCompiler_inline_result();
7759
+ } else
7760
+ console.error(
7761
+ "%o\n\n%s\n\n%s\n",
7762
+ error,
7763
+ componentNameMessage,
7764
+ recreateMessage
7765
+ );
7658
7766
  }
7659
7767
  function defaultOnRecoverableError(error) {
7660
7768
  reportGlobalError(error);
@@ -8273,7 +8381,7 @@
8273
8381
  return workInProgress.child;
8274
8382
  }
8275
8383
  function updateClassComponent(
8276
- current$jscomp$0,
8384
+ current,
8277
8385
  workInProgress,
8278
8386
  Component,
8279
8387
  nextProps,
@@ -8589,7 +8697,7 @@
8589
8697
  (workInProgress.mode & StrictEffectsMode) !== NoMode &&
8590
8698
  (workInProgress.flags |= 134217728);
8591
8699
  _instance = !0;
8592
- } else if (null === current$jscomp$0) {
8700
+ } else if (null === current) {
8593
8701
  _instance = workInProgress.stateNode;
8594
8702
  var unresolvedOldProps = workInProgress.memoizedProps;
8595
8703
  lane = resolveClassComponentProps(Component, unresolvedOldProps);
@@ -8669,7 +8777,7 @@
8669
8777
  (_instance = !1));
8670
8778
  } else {
8671
8779
  _instance = workInProgress.stateNode;
8672
- cloneUpdateQueue(current$jscomp$0, workInProgress);
8780
+ cloneUpdateQueue(current, workInProgress);
8673
8781
  state = workInProgress.memoizedProps;
8674
8782
  foundWillUpdateName = resolveClassComponentProps(Component, state);
8675
8783
  _instance.props = foundWillUpdateName;
@@ -8702,9 +8810,9 @@
8702
8810
  state !== newApiName ||
8703
8811
  oldState !== newState ||
8704
8812
  hasForceUpdate ||
8705
- (null !== current$jscomp$0 &&
8706
- null !== current$jscomp$0.dependencies &&
8707
- checkIfContextChanged(current$jscomp$0.dependencies))
8813
+ (null !== current &&
8814
+ null !== current.dependencies &&
8815
+ checkIfContextChanged(current.dependencies))
8708
8816
  ? ("function" === typeof unresolvedOldProps &&
8709
8817
  (applyDerivedStateFromProps(
8710
8818
  workInProgress,
@@ -8724,9 +8832,9 @@
8724
8832
  newState,
8725
8833
  lane
8726
8834
  ) ||
8727
- (null !== current$jscomp$0 &&
8728
- null !== current$jscomp$0.dependencies &&
8729
- checkIfContextChanged(current$jscomp$0.dependencies)))
8835
+ (null !== current &&
8836
+ null !== current.dependencies &&
8837
+ checkIfContextChanged(current.dependencies)))
8730
8838
  ? (oldContext ||
8731
8839
  ("function" !== typeof _instance.UNSAFE_componentWillUpdate &&
8732
8840
  "function" !== typeof _instance.componentWillUpdate) ||
@@ -8743,12 +8851,12 @@
8743
8851
  "function" === typeof _instance.getSnapshotBeforeUpdate &&
8744
8852
  (workInProgress.flags |= 1024))
8745
8853
  : ("function" !== typeof _instance.componentDidUpdate ||
8746
- (state === current$jscomp$0.memoizedProps &&
8747
- oldState === current$jscomp$0.memoizedState) ||
8854
+ (state === current.memoizedProps &&
8855
+ oldState === current.memoizedState) ||
8748
8856
  (workInProgress.flags |= 4),
8749
8857
  "function" !== typeof _instance.getSnapshotBeforeUpdate ||
8750
- (state === current$jscomp$0.memoizedProps &&
8751
- oldState === current$jscomp$0.memoizedState) ||
8858
+ (state === current.memoizedProps &&
8859
+ oldState === current.memoizedState) ||
8752
8860
  (workInProgress.flags |= 1024),
8753
8861
  (workInProgress.memoizedProps = nextProps),
8754
8862
  (workInProgress.memoizedState = newState)),
@@ -8757,24 +8865,21 @@
8757
8865
  (_instance.context = lane),
8758
8866
  (_instance = foundWillUpdateName))
8759
8867
  : ("function" !== typeof _instance.componentDidUpdate ||
8760
- (state === current$jscomp$0.memoizedProps &&
8761
- oldState === current$jscomp$0.memoizedState) ||
8868
+ (state === current.memoizedProps &&
8869
+ oldState === current.memoizedState) ||
8762
8870
  (workInProgress.flags |= 4),
8763
8871
  "function" !== typeof _instance.getSnapshotBeforeUpdate ||
8764
- (state === current$jscomp$0.memoizedProps &&
8765
- oldState === current$jscomp$0.memoizedState) ||
8872
+ (state === current.memoizedProps &&
8873
+ oldState === current.memoizedState) ||
8766
8874
  (workInProgress.flags |= 1024),
8767
8875
  (_instance = !1));
8768
8876
  }
8769
8877
  lane = _instance;
8770
- markRef(current$jscomp$0, workInProgress);
8878
+ markRef(current, workInProgress);
8771
8879
  state = 0 !== (workInProgress.flags & 128);
8772
8880
  if (lane || state) {
8773
8881
  lane = workInProgress.stateNode;
8774
- ReactSharedInternals.getCurrentStack =
8775
- null === workInProgress ? null : getCurrentFiberStackInDev;
8776
- isRendering = !1;
8777
- current = workInProgress;
8882
+ setCurrentFiber(workInProgress);
8778
8883
  if (state && "function" !== typeof Component.getDerivedStateFromError)
8779
8884
  (Component = null), (profilerStartTime = -1);
8780
8885
  else {
@@ -8791,10 +8896,10 @@
8791
8896
  markComponentRenderStopped();
8792
8897
  }
8793
8898
  workInProgress.flags |= 1;
8794
- null !== current$jscomp$0 && state
8899
+ null !== current && state
8795
8900
  ? ((workInProgress.child = reconcileChildFibers(
8796
8901
  workInProgress,
8797
- current$jscomp$0.child,
8902
+ current.child,
8798
8903
  null,
8799
8904
  renderLanes
8800
8905
  )),
@@ -8804,17 +8909,12 @@
8804
8909
  Component,
8805
8910
  renderLanes
8806
8911
  )))
8807
- : reconcileChildren(
8808
- current$jscomp$0,
8809
- workInProgress,
8810
- Component,
8811
- renderLanes
8812
- );
8912
+ : reconcileChildren(current, workInProgress, Component, renderLanes);
8813
8913
  workInProgress.memoizedState = lane.state;
8814
- current$jscomp$0 = workInProgress.child;
8914
+ current = workInProgress.child;
8815
8915
  } else
8816
- current$jscomp$0 = bailoutOnAlreadyFinishedWork(
8817
- current$jscomp$0,
8916
+ current = bailoutOnAlreadyFinishedWork(
8917
+ current,
8818
8918
  workInProgress,
8819
8919
  renderLanes
8820
8920
  );
@@ -8827,7 +8927,7 @@
8827
8927
  getComponentNameFromFiber(workInProgress) || "a component"
8828
8928
  ),
8829
8929
  (didWarnAboutReassigningProps = !0));
8830
- return current$jscomp$0;
8930
+ return current;
8831
8931
  }
8832
8932
  function mountHostRootWithoutHydrating(
8833
8933
  current,
@@ -8879,32 +8979,32 @@
8879
8979
  return current;
8880
8980
  }
8881
8981
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8882
- var JSCompiler_object_inline_digest_2430;
8883
- var JSCompiler_object_inline_stack_2431 = workInProgress.pendingProps;
8982
+ var JSCompiler_object_inline_digest_2432;
8983
+ var JSCompiler_object_inline_stack_2433 = workInProgress.pendingProps;
8884
8984
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8885
- var JSCompiler_object_inline_componentStack_2432 = !1;
8985
+ var JSCompiler_object_inline_componentStack_2434 = !1;
8886
8986
  var didSuspend = 0 !== (workInProgress.flags & 128);
8887
- (JSCompiler_object_inline_digest_2430 = didSuspend) ||
8888
- (JSCompiler_object_inline_digest_2430 =
8987
+ (JSCompiler_object_inline_digest_2432 = didSuspend) ||
8988
+ (JSCompiler_object_inline_digest_2432 =
8889
8989
  null !== current && null === current.memoizedState
8890
8990
  ? !1
8891
8991
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8892
- JSCompiler_object_inline_digest_2430 &&
8893
- ((JSCompiler_object_inline_componentStack_2432 = !0),
8992
+ JSCompiler_object_inline_digest_2432 &&
8993
+ ((JSCompiler_object_inline_componentStack_2434 = !0),
8894
8994
  (workInProgress.flags &= -129));
8895
- JSCompiler_object_inline_digest_2430 = 0 !== (workInProgress.flags & 32);
8995
+ JSCompiler_object_inline_digest_2432 = 0 !== (workInProgress.flags & 32);
8896
8996
  workInProgress.flags &= -33;
8897
8997
  if (null === current) {
8898
8998
  if (isHydrating) {
8899
- JSCompiler_object_inline_componentStack_2432
8999
+ JSCompiler_object_inline_componentStack_2434
8900
9000
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8901
9001
  : reuseSuspenseHandlerOnStack(workInProgress);
8902
9002
  if (isHydrating) {
8903
- var JSCompiler_object_inline_message_2429 = nextHydratableInstance;
9003
+ var JSCompiler_object_inline_message_2431 = nextHydratableInstance;
8904
9004
  var JSCompiler_temp;
8905
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2429)) {
9005
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2431)) {
8906
9006
  c: {
8907
- var instance = JSCompiler_object_inline_message_2429;
9007
+ var instance = JSCompiler_object_inline_message_2431;
8908
9008
  for (
8909
9009
  JSCompiler_temp = rootOrSingletonContext;
8910
9010
  8 !== instance.nodeType;
@@ -8946,77 +9046,77 @@
8946
9046
  JSCompiler_temp &&
8947
9047
  (warnNonHydratedInstance(
8948
9048
  workInProgress,
8949
- JSCompiler_object_inline_message_2429
9049
+ JSCompiler_object_inline_message_2431
8950
9050
  ),
8951
9051
  throwOnHydrationMismatch(workInProgress));
8952
9052
  }
8953
- JSCompiler_object_inline_message_2429 = workInProgress.memoizedState;
9053
+ JSCompiler_object_inline_message_2431 = workInProgress.memoizedState;
8954
9054
  if (
8955
- null !== JSCompiler_object_inline_message_2429 &&
8956
- ((JSCompiler_object_inline_message_2429 =
8957
- JSCompiler_object_inline_message_2429.dehydrated),
8958
- null !== JSCompiler_object_inline_message_2429)
9055
+ null !== JSCompiler_object_inline_message_2431 &&
9056
+ ((JSCompiler_object_inline_message_2431 =
9057
+ JSCompiler_object_inline_message_2431.dehydrated),
9058
+ null !== JSCompiler_object_inline_message_2431)
8959
9059
  )
8960
9060
  return (
8961
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2429)
9061
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2431)
8962
9062
  ? (workInProgress.lanes = 32)
8963
9063
  : (workInProgress.lanes = 536870912),
8964
9064
  null
8965
9065
  );
8966
9066
  popSuspenseHandler(workInProgress);
8967
9067
  }
8968
- JSCompiler_object_inline_message_2429 =
8969
- JSCompiler_object_inline_stack_2431.children;
8970
- JSCompiler_object_inline_stack_2431 =
8971
- JSCompiler_object_inline_stack_2431.fallback;
8972
- if (JSCompiler_object_inline_componentStack_2432)
9068
+ JSCompiler_object_inline_message_2431 =
9069
+ JSCompiler_object_inline_stack_2433.children;
9070
+ JSCompiler_object_inline_stack_2433 =
9071
+ JSCompiler_object_inline_stack_2433.fallback;
9072
+ if (JSCompiler_object_inline_componentStack_2434)
8973
9073
  return (
8974
9074
  reuseSuspenseHandlerOnStack(workInProgress),
8975
- (JSCompiler_object_inline_componentStack_2432 =
9075
+ (JSCompiler_object_inline_componentStack_2434 =
8976
9076
  workInProgress.mode),
8977
- (JSCompiler_object_inline_message_2429 =
9077
+ (JSCompiler_object_inline_message_2431 =
8978
9078
  mountWorkInProgressOffscreenFiber(
8979
9079
  {
8980
9080
  mode: "hidden",
8981
- children: JSCompiler_object_inline_message_2429
9081
+ children: JSCompiler_object_inline_message_2431
8982
9082
  },
8983
- JSCompiler_object_inline_componentStack_2432
9083
+ JSCompiler_object_inline_componentStack_2434
8984
9084
  )),
8985
- (JSCompiler_object_inline_stack_2431 = createFiberFromFragment(
8986
- JSCompiler_object_inline_stack_2431,
8987
- JSCompiler_object_inline_componentStack_2432,
9085
+ (JSCompiler_object_inline_stack_2433 = createFiberFromFragment(
9086
+ JSCompiler_object_inline_stack_2433,
9087
+ JSCompiler_object_inline_componentStack_2434,
8988
9088
  renderLanes,
8989
9089
  null
8990
9090
  )),
8991
- (JSCompiler_object_inline_message_2429.return = workInProgress),
8992
- (JSCompiler_object_inline_stack_2431.return = workInProgress),
8993
- (JSCompiler_object_inline_message_2429.sibling =
8994
- JSCompiler_object_inline_stack_2431),
8995
- (workInProgress.child = JSCompiler_object_inline_message_2429),
8996
- (JSCompiler_object_inline_componentStack_2432 =
9091
+ (JSCompiler_object_inline_message_2431.return = workInProgress),
9092
+ (JSCompiler_object_inline_stack_2433.return = workInProgress),
9093
+ (JSCompiler_object_inline_message_2431.sibling =
9094
+ JSCompiler_object_inline_stack_2433),
9095
+ (workInProgress.child = JSCompiler_object_inline_message_2431),
9096
+ (JSCompiler_object_inline_componentStack_2434 =
8997
9097
  workInProgress.child),
8998
- (JSCompiler_object_inline_componentStack_2432.memoizedState =
9098
+ (JSCompiler_object_inline_componentStack_2434.memoizedState =
8999
9099
  mountSuspenseOffscreenState(renderLanes)),
9000
- (JSCompiler_object_inline_componentStack_2432.childLanes =
9100
+ (JSCompiler_object_inline_componentStack_2434.childLanes =
9001
9101
  getRemainingWorkInPrimaryTree(
9002
9102
  current,
9003
- JSCompiler_object_inline_digest_2430,
9103
+ JSCompiler_object_inline_digest_2432,
9004
9104
  renderLanes
9005
9105
  )),
9006
9106
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9007
- JSCompiler_object_inline_stack_2431
9107
+ JSCompiler_object_inline_stack_2433
9008
9108
  );
9009
9109
  pushPrimaryTreeSuspenseHandler(workInProgress);
9010
9110
  return mountSuspensePrimaryChildren(
9011
9111
  workInProgress,
9012
- JSCompiler_object_inline_message_2429
9112
+ JSCompiler_object_inline_message_2431
9013
9113
  );
9014
9114
  }
9015
9115
  var prevState = current.memoizedState;
9016
9116
  if (
9017
9117
  null !== prevState &&
9018
- ((JSCompiler_object_inline_message_2429 = prevState.dehydrated),
9019
- null !== JSCompiler_object_inline_message_2429)
9118
+ ((JSCompiler_object_inline_message_2431 = prevState.dehydrated),
9119
+ null !== JSCompiler_object_inline_message_2431)
9020
9120
  ) {
9021
9121
  if (didSuspend)
9022
9122
  workInProgress.flags & 256
@@ -9033,94 +9133,94 @@
9033
9133
  (workInProgress.flags |= 128),
9034
9134
  (workInProgress = null))
9035
9135
  : (reuseSuspenseHandlerOnStack(workInProgress),
9036
- (JSCompiler_object_inline_componentStack_2432 =
9037
- JSCompiler_object_inline_stack_2431.fallback),
9038
- (JSCompiler_object_inline_message_2429 = workInProgress.mode),
9039
- (JSCompiler_object_inline_stack_2431 =
9136
+ (JSCompiler_object_inline_componentStack_2434 =
9137
+ JSCompiler_object_inline_stack_2433.fallback),
9138
+ (JSCompiler_object_inline_message_2431 = workInProgress.mode),
9139
+ (JSCompiler_object_inline_stack_2433 =
9040
9140
  mountWorkInProgressOffscreenFiber(
9041
9141
  {
9042
9142
  mode: "visible",
9043
- children: JSCompiler_object_inline_stack_2431.children
9143
+ children: JSCompiler_object_inline_stack_2433.children
9044
9144
  },
9045
- JSCompiler_object_inline_message_2429
9145
+ JSCompiler_object_inline_message_2431
9046
9146
  )),
9047
- (JSCompiler_object_inline_componentStack_2432 =
9147
+ (JSCompiler_object_inline_componentStack_2434 =
9048
9148
  createFiberFromFragment(
9049
- JSCompiler_object_inline_componentStack_2432,
9050
- JSCompiler_object_inline_message_2429,
9149
+ JSCompiler_object_inline_componentStack_2434,
9150
+ JSCompiler_object_inline_message_2431,
9051
9151
  renderLanes,
9052
9152
  null
9053
9153
  )),
9054
- (JSCompiler_object_inline_componentStack_2432.flags |= 2),
9055
- (JSCompiler_object_inline_stack_2431.return = workInProgress),
9056
- (JSCompiler_object_inline_componentStack_2432.return =
9154
+ (JSCompiler_object_inline_componentStack_2434.flags |= 2),
9155
+ (JSCompiler_object_inline_stack_2433.return = workInProgress),
9156
+ (JSCompiler_object_inline_componentStack_2434.return =
9057
9157
  workInProgress),
9058
- (JSCompiler_object_inline_stack_2431.sibling =
9059
- JSCompiler_object_inline_componentStack_2432),
9060
- (workInProgress.child = JSCompiler_object_inline_stack_2431),
9158
+ (JSCompiler_object_inline_stack_2433.sibling =
9159
+ JSCompiler_object_inline_componentStack_2434),
9160
+ (workInProgress.child = JSCompiler_object_inline_stack_2433),
9061
9161
  reconcileChildFibers(
9062
9162
  workInProgress,
9063
9163
  current.child,
9064
9164
  null,
9065
9165
  renderLanes
9066
9166
  ),
9067
- (JSCompiler_object_inline_stack_2431 = workInProgress.child),
9068
- (JSCompiler_object_inline_stack_2431.memoizedState =
9167
+ (JSCompiler_object_inline_stack_2433 = workInProgress.child),
9168
+ (JSCompiler_object_inline_stack_2433.memoizedState =
9069
9169
  mountSuspenseOffscreenState(renderLanes)),
9070
- (JSCompiler_object_inline_stack_2431.childLanes =
9170
+ (JSCompiler_object_inline_stack_2433.childLanes =
9071
9171
  getRemainingWorkInPrimaryTree(
9072
9172
  current,
9073
- JSCompiler_object_inline_digest_2430,
9173
+ JSCompiler_object_inline_digest_2432,
9074
9174
  renderLanes
9075
9175
  )),
9076
9176
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9077
9177
  (workInProgress =
9078
- JSCompiler_object_inline_componentStack_2432));
9178
+ JSCompiler_object_inline_componentStack_2434));
9079
9179
  else if (
9080
9180
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9081
9181
  isHydrating &&
9082
9182
  console.error(
9083
9183
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9084
9184
  ),
9085
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2429))
9185
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2431))
9086
9186
  ) {
9087
- JSCompiler_object_inline_digest_2430 =
9088
- JSCompiler_object_inline_message_2429.nextSibling &&
9089
- JSCompiler_object_inline_message_2429.nextSibling.dataset;
9090
- if (JSCompiler_object_inline_digest_2430) {
9091
- JSCompiler_temp = JSCompiler_object_inline_digest_2430.dgst;
9092
- var message = JSCompiler_object_inline_digest_2430.msg;
9093
- instance = JSCompiler_object_inline_digest_2430.stck;
9094
- var componentStack = JSCompiler_object_inline_digest_2430.cstck;
9187
+ JSCompiler_object_inline_digest_2432 =
9188
+ JSCompiler_object_inline_message_2431.nextSibling &&
9189
+ JSCompiler_object_inline_message_2431.nextSibling.dataset;
9190
+ if (JSCompiler_object_inline_digest_2432) {
9191
+ JSCompiler_temp = JSCompiler_object_inline_digest_2432.dgst;
9192
+ var message = JSCompiler_object_inline_digest_2432.msg;
9193
+ instance = JSCompiler_object_inline_digest_2432.stck;
9194
+ var componentStack = JSCompiler_object_inline_digest_2432.cstck;
9095
9195
  }
9096
- JSCompiler_object_inline_message_2429 = message;
9097
- JSCompiler_object_inline_digest_2430 = JSCompiler_temp;
9098
- JSCompiler_object_inline_stack_2431 = instance;
9099
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2432 =
9196
+ JSCompiler_object_inline_message_2431 = message;
9197
+ JSCompiler_object_inline_digest_2432 = JSCompiler_temp;
9198
+ JSCompiler_object_inline_stack_2433 = instance;
9199
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2434 =
9100
9200
  componentStack;
9101
- JSCompiler_object_inline_componentStack_2432 =
9102
- JSCompiler_object_inline_message_2429
9103
- ? Error(JSCompiler_object_inline_message_2429)
9201
+ JSCompiler_object_inline_componentStack_2434 =
9202
+ JSCompiler_object_inline_message_2431
9203
+ ? Error(JSCompiler_object_inline_message_2431)
9104
9204
  : Error(
9105
9205
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9106
9206
  );
9107
- JSCompiler_object_inline_componentStack_2432.stack =
9108
- JSCompiler_object_inline_stack_2431 || "";
9109
- JSCompiler_object_inline_componentStack_2432.digest =
9110
- JSCompiler_object_inline_digest_2430;
9111
- JSCompiler_object_inline_digest_2430 =
9207
+ JSCompiler_object_inline_componentStack_2434.stack =
9208
+ JSCompiler_object_inline_stack_2433 || "";
9209
+ JSCompiler_object_inline_componentStack_2434.digest =
9210
+ JSCompiler_object_inline_digest_2432;
9211
+ JSCompiler_object_inline_digest_2432 =
9112
9212
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9113
- JSCompiler_object_inline_stack_2431 = {
9114
- value: JSCompiler_object_inline_componentStack_2432,
9213
+ JSCompiler_object_inline_stack_2433 = {
9214
+ value: JSCompiler_object_inline_componentStack_2434,
9115
9215
  source: null,
9116
- stack: JSCompiler_object_inline_digest_2430
9216
+ stack: JSCompiler_object_inline_digest_2432
9117
9217
  };
9118
- "string" === typeof JSCompiler_object_inline_digest_2430 &&
9218
+ "string" === typeof JSCompiler_object_inline_digest_2432 &&
9119
9219
  CapturedStacks.set(
9120
- JSCompiler_object_inline_componentStack_2432,
9121
- JSCompiler_object_inline_stack_2431
9220
+ JSCompiler_object_inline_componentStack_2434,
9221
+ JSCompiler_object_inline_stack_2433
9122
9222
  );
9123
- queueHydrationError(JSCompiler_object_inline_stack_2431);
9223
+ queueHydrationError(JSCompiler_object_inline_stack_2433);
9124
9224
  workInProgress = retrySuspenseComponentWithoutHydrating(
9125
9225
  current,
9126
9226
  workInProgress,
@@ -9134,44 +9234,44 @@
9134
9234
  renderLanes,
9135
9235
  !1
9136
9236
  ),
9137
- (JSCompiler_object_inline_digest_2430 =
9237
+ (JSCompiler_object_inline_digest_2432 =
9138
9238
  0 !== (renderLanes & current.childLanes)),
9139
- didReceiveUpdate || JSCompiler_object_inline_digest_2430)
9239
+ didReceiveUpdate || JSCompiler_object_inline_digest_2432)
9140
9240
  ) {
9141
- JSCompiler_object_inline_digest_2430 = workInProgressRoot;
9241
+ JSCompiler_object_inline_digest_2432 = workInProgressRoot;
9142
9242
  if (
9143
- null !== JSCompiler_object_inline_digest_2430 &&
9144
- ((JSCompiler_object_inline_stack_2431 = renderLanes & -renderLanes),
9145
- (JSCompiler_object_inline_stack_2431 =
9146
- 0 !== (JSCompiler_object_inline_stack_2431 & 42)
9243
+ null !== JSCompiler_object_inline_digest_2432 &&
9244
+ ((JSCompiler_object_inline_stack_2433 = renderLanes & -renderLanes),
9245
+ (JSCompiler_object_inline_stack_2433 =
9246
+ 0 !== (JSCompiler_object_inline_stack_2433 & 42)
9147
9247
  ? 1
9148
9248
  : getBumpedLaneForHydrationByLane(
9149
- JSCompiler_object_inline_stack_2431
9249
+ JSCompiler_object_inline_stack_2433
9150
9250
  )),
9151
- (JSCompiler_object_inline_stack_2431 =
9251
+ (JSCompiler_object_inline_stack_2433 =
9152
9252
  0 !==
9153
- (JSCompiler_object_inline_stack_2431 &
9154
- (JSCompiler_object_inline_digest_2430.suspendedLanes |
9253
+ (JSCompiler_object_inline_stack_2433 &
9254
+ (JSCompiler_object_inline_digest_2432.suspendedLanes |
9155
9255
  renderLanes))
9156
9256
  ? 0
9157
- : JSCompiler_object_inline_stack_2431),
9158
- 0 !== JSCompiler_object_inline_stack_2431 &&
9159
- JSCompiler_object_inline_stack_2431 !== prevState.retryLane)
9257
+ : JSCompiler_object_inline_stack_2433),
9258
+ 0 !== JSCompiler_object_inline_stack_2433 &&
9259
+ JSCompiler_object_inline_stack_2433 !== prevState.retryLane)
9160
9260
  )
9161
9261
  throw (
9162
- ((prevState.retryLane = JSCompiler_object_inline_stack_2431),
9262
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2433),
9163
9263
  enqueueConcurrentRenderForLane(
9164
9264
  current,
9165
- JSCompiler_object_inline_stack_2431
9265
+ JSCompiler_object_inline_stack_2433
9166
9266
  ),
9167
9267
  scheduleUpdateOnFiber(
9168
- JSCompiler_object_inline_digest_2430,
9268
+ JSCompiler_object_inline_digest_2432,
9169
9269
  current,
9170
- JSCompiler_object_inline_stack_2431
9270
+ JSCompiler_object_inline_stack_2433
9171
9271
  ),
9172
9272
  SelectiveHydrationException)
9173
9273
  );
9174
- JSCompiler_object_inline_message_2429.data ===
9274
+ JSCompiler_object_inline_message_2431.data ===
9175
9275
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9176
9276
  workInProgress = retrySuspenseComponentWithoutHydrating(
9177
9277
  current,
@@ -9179,14 +9279,14 @@
9179
9279
  renderLanes
9180
9280
  );
9181
9281
  } else
9182
- JSCompiler_object_inline_message_2429.data ===
9282
+ JSCompiler_object_inline_message_2431.data ===
9183
9283
  SUSPENSE_PENDING_START_DATA
9184
9284
  ? ((workInProgress.flags |= 192),
9185
9285
  (workInProgress.child = current.child),
9186
9286
  (workInProgress = null))
9187
9287
  : ((current = prevState.treeContext),
9188
9288
  (nextHydratableInstance = getNextHydratable(
9189
- JSCompiler_object_inline_message_2429.nextSibling
9289
+ JSCompiler_object_inline_message_2431.nextSibling
9190
9290
  )),
9191
9291
  (hydrationParentFiber = workInProgress),
9192
9292
  (isHydrating = !0),
@@ -9204,57 +9304,57 @@
9204
9304
  (treeContextProvider = workInProgress)),
9205
9305
  (workInProgress = mountSuspensePrimaryChildren(
9206
9306
  workInProgress,
9207
- JSCompiler_object_inline_stack_2431.children
9307
+ JSCompiler_object_inline_stack_2433.children
9208
9308
  )),
9209
9309
  (workInProgress.flags |= 4096));
9210
9310
  return workInProgress;
9211
9311
  }
9212
- if (JSCompiler_object_inline_componentStack_2432)
9312
+ if (JSCompiler_object_inline_componentStack_2434)
9213
9313
  return (
9214
9314
  reuseSuspenseHandlerOnStack(workInProgress),
9215
- (JSCompiler_object_inline_componentStack_2432 =
9216
- JSCompiler_object_inline_stack_2431.fallback),
9217
- (JSCompiler_object_inline_message_2429 = workInProgress.mode),
9315
+ (JSCompiler_object_inline_componentStack_2434 =
9316
+ JSCompiler_object_inline_stack_2433.fallback),
9317
+ (JSCompiler_object_inline_message_2431 = workInProgress.mode),
9218
9318
  (JSCompiler_temp = current.child),
9219
9319
  (instance = JSCompiler_temp.sibling),
9220
- (JSCompiler_object_inline_stack_2431 = createWorkInProgress(
9320
+ (JSCompiler_object_inline_stack_2433 = createWorkInProgress(
9221
9321
  JSCompiler_temp,
9222
9322
  {
9223
9323
  mode: "hidden",
9224
- children: JSCompiler_object_inline_stack_2431.children
9324
+ children: JSCompiler_object_inline_stack_2433.children
9225
9325
  }
9226
9326
  )),
9227
- (JSCompiler_object_inline_stack_2431.subtreeFlags =
9327
+ (JSCompiler_object_inline_stack_2433.subtreeFlags =
9228
9328
  JSCompiler_temp.subtreeFlags & 65011712),
9229
9329
  null !== instance
9230
- ? (JSCompiler_object_inline_componentStack_2432 =
9330
+ ? (JSCompiler_object_inline_componentStack_2434 =
9231
9331
  createWorkInProgress(
9232
9332
  instance,
9233
- JSCompiler_object_inline_componentStack_2432
9333
+ JSCompiler_object_inline_componentStack_2434
9234
9334
  ))
9235
- : ((JSCompiler_object_inline_componentStack_2432 =
9335
+ : ((JSCompiler_object_inline_componentStack_2434 =
9236
9336
  createFiberFromFragment(
9237
- JSCompiler_object_inline_componentStack_2432,
9238
- JSCompiler_object_inline_message_2429,
9337
+ JSCompiler_object_inline_componentStack_2434,
9338
+ JSCompiler_object_inline_message_2431,
9239
9339
  renderLanes,
9240
9340
  null
9241
9341
  )),
9242
- (JSCompiler_object_inline_componentStack_2432.flags |= 2)),
9243
- (JSCompiler_object_inline_componentStack_2432.return =
9342
+ (JSCompiler_object_inline_componentStack_2434.flags |= 2)),
9343
+ (JSCompiler_object_inline_componentStack_2434.return =
9244
9344
  workInProgress),
9245
- (JSCompiler_object_inline_stack_2431.return = workInProgress),
9246
- (JSCompiler_object_inline_stack_2431.sibling =
9247
- JSCompiler_object_inline_componentStack_2432),
9248
- (workInProgress.child = JSCompiler_object_inline_stack_2431),
9249
- (JSCompiler_object_inline_stack_2431 =
9250
- JSCompiler_object_inline_componentStack_2432),
9251
- (JSCompiler_object_inline_componentStack_2432 = workInProgress.child),
9252
- (JSCompiler_object_inline_message_2429 = current.child.memoizedState),
9253
- null === JSCompiler_object_inline_message_2429
9254
- ? (JSCompiler_object_inline_message_2429 =
9345
+ (JSCompiler_object_inline_stack_2433.return = workInProgress),
9346
+ (JSCompiler_object_inline_stack_2433.sibling =
9347
+ JSCompiler_object_inline_componentStack_2434),
9348
+ (workInProgress.child = JSCompiler_object_inline_stack_2433),
9349
+ (JSCompiler_object_inline_stack_2433 =
9350
+ JSCompiler_object_inline_componentStack_2434),
9351
+ (JSCompiler_object_inline_componentStack_2434 = workInProgress.child),
9352
+ (JSCompiler_object_inline_message_2431 = current.child.memoizedState),
9353
+ null === JSCompiler_object_inline_message_2431
9354
+ ? (JSCompiler_object_inline_message_2431 =
9255
9355
  mountSuspenseOffscreenState(renderLanes))
9256
9356
  : ((JSCompiler_temp =
9257
- JSCompiler_object_inline_message_2429.cachePool),
9357
+ JSCompiler_object_inline_message_2431.cachePool),
9258
9358
  null !== JSCompiler_temp
9259
9359
  ? ((instance = CacheContext._currentValue),
9260
9360
  (JSCompiler_temp =
@@ -9262,37 +9362,37 @@
9262
9362
  ? { parent: instance, pool: instance }
9263
9363
  : JSCompiler_temp))
9264
9364
  : (JSCompiler_temp = getSuspendedCache()),
9265
- (JSCompiler_object_inline_message_2429 = {
9365
+ (JSCompiler_object_inline_message_2431 = {
9266
9366
  baseLanes:
9267
- JSCompiler_object_inline_message_2429.baseLanes | renderLanes,
9367
+ JSCompiler_object_inline_message_2431.baseLanes | renderLanes,
9268
9368
  cachePool: JSCompiler_temp
9269
9369
  })),
9270
- (JSCompiler_object_inline_componentStack_2432.memoizedState =
9271
- JSCompiler_object_inline_message_2429),
9272
- (JSCompiler_object_inline_componentStack_2432.childLanes =
9370
+ (JSCompiler_object_inline_componentStack_2434.memoizedState =
9371
+ JSCompiler_object_inline_message_2431),
9372
+ (JSCompiler_object_inline_componentStack_2434.childLanes =
9273
9373
  getRemainingWorkInPrimaryTree(
9274
9374
  current,
9275
- JSCompiler_object_inline_digest_2430,
9375
+ JSCompiler_object_inline_digest_2432,
9276
9376
  renderLanes
9277
9377
  )),
9278
9378
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9279
- JSCompiler_object_inline_stack_2431
9379
+ JSCompiler_object_inline_stack_2433
9280
9380
  );
9281
9381
  pushPrimaryTreeSuspenseHandler(workInProgress);
9282
9382
  renderLanes = current.child;
9283
9383
  current = renderLanes.sibling;
9284
9384
  renderLanes = createWorkInProgress(renderLanes, {
9285
9385
  mode: "visible",
9286
- children: JSCompiler_object_inline_stack_2431.children
9386
+ children: JSCompiler_object_inline_stack_2433.children
9287
9387
  });
9288
9388
  renderLanes.return = workInProgress;
9289
9389
  renderLanes.sibling = null;
9290
9390
  null !== current &&
9291
- ((JSCompiler_object_inline_digest_2430 = workInProgress.deletions),
9292
- null === JSCompiler_object_inline_digest_2430
9391
+ ((JSCompiler_object_inline_digest_2432 = workInProgress.deletions),
9392
+ null === JSCompiler_object_inline_digest_2432
9293
9393
  ? ((workInProgress.deletions = [current]),
9294
9394
  (workInProgress.flags |= 16))
9295
- : JSCompiler_object_inline_digest_2430.push(current));
9395
+ : JSCompiler_object_inline_digest_2432.push(current));
9296
9396
  workInProgress.child = renderLanes;
9297
9397
  workInProgress.memoizedState = null;
9298
9398
  return renderLanes;
@@ -9705,6 +9805,8 @@
9705
9805
  workInProgress.mode,
9706
9806
  workInProgress.lanes
9707
9807
  );
9808
+ renderLanes._debugStack = workInProgress._debugStack;
9809
+ renderLanes._debugTask = workInProgress._debugTask;
9708
9810
  var returnFiber = workInProgress.return;
9709
9811
  if (null === returnFiber) throw Error("Cannot swap the root fiber.");
9710
9812
  current.alternate = null;
@@ -12830,7 +12932,11 @@
12830
12932
  this.actualDuration = -0;
12831
12933
  this.actualStartTime = -1.1;
12832
12934
  this.treeBaseDuration = this.selfBaseDuration = -0;
12833
- this._debugOwner = this._debugInfo = null;
12935
+ this._debugTask =
12936
+ this._debugStack =
12937
+ this._debugOwner =
12938
+ this._debugInfo =
12939
+ null;
12834
12940
  this._debugNeedsRemount = !1;
12835
12941
  this._debugHookTypes = null;
12836
12942
  hasBadMapPolyfill ||
@@ -12854,6 +12960,8 @@
12854
12960
  (workInProgress.type = current.type),
12855
12961
  (workInProgress.stateNode = current.stateNode),
12856
12962
  (workInProgress._debugOwner = current._debugOwner),
12963
+ (workInProgress._debugStack = current._debugStack),
12964
+ (workInProgress._debugTask = current._debugTask),
12857
12965
  (workInProgress._debugHookTypes = current._debugHookTypes),
12858
12966
  (workInProgress.alternate = current),
12859
12967
  (current.alternate = workInProgress))
@@ -13073,6 +13181,8 @@
13073
13181
  lanes
13074
13182
  );
13075
13183
  mode._debugOwner = element._owner;
13184
+ mode._debugStack = element._debugStack;
13185
+ mode._debugTask = element._debugTask;
13076
13186
  return mode;
13077
13187
  }
13078
13188
  function createFiberFromFragment(elements, mode, lanes, key) {
@@ -16242,6 +16352,15 @@
16242
16352
  });
16243
16353
  }
16244
16354
  }
16355
+ function executeDispatch(event, listener, currentTarget) {
16356
+ event.currentTarget = currentTarget;
16357
+ try {
16358
+ listener(event);
16359
+ } catch (error) {
16360
+ reportGlobalError(error);
16361
+ }
16362
+ event.currentTarget = null;
16363
+ }
16245
16364
  function processDispatchQueue(dispatchQueue, eventSystemFlags) {
16246
16365
  eventSystemFlags = 0 !== (eventSystemFlags & 4);
16247
16366
  for (var i = 0; i < dispatchQueue.length; i++) {
@@ -16262,14 +16381,15 @@
16262
16381
  _dispatchListeners$i = _dispatchListeners$i.listener;
16263
16382
  if (instance !== previousInstance && event.isPropagationStopped())
16264
16383
  break a;
16265
- previousInstance = event;
16266
- previousInstance.currentTarget = currentTarget;
16267
- try {
16268
- _dispatchListeners$i(previousInstance);
16269
- } catch (error) {
16270
- reportGlobalError(error);
16271
- }
16272
- previousInstance.currentTarget = null;
16384
+ null !== instance
16385
+ ? runWithFiberInDEV(
16386
+ instance,
16387
+ executeDispatch,
16388
+ event,
16389
+ _dispatchListeners$i,
16390
+ currentTarget
16391
+ )
16392
+ : executeDispatch(event, _dispatchListeners$i, currentTarget);
16273
16393
  previousInstance = instance;
16274
16394
  }
16275
16395
  else
@@ -16284,14 +16404,15 @@
16284
16404
  _dispatchListeners$i = _dispatchListeners$i.listener;
16285
16405
  if (instance !== previousInstance && event.isPropagationStopped())
16286
16406
  break a;
16287
- previousInstance = event;
16288
- previousInstance.currentTarget = currentTarget;
16289
- try {
16290
- _dispatchListeners$i(previousInstance);
16291
- } catch (error) {
16292
- reportGlobalError(error);
16293
- }
16294
- previousInstance.currentTarget = null;
16407
+ null !== instance
16408
+ ? runWithFiberInDEV(
16409
+ instance,
16410
+ executeDispatch,
16411
+ event,
16412
+ _dispatchListeners$i,
16413
+ currentTarget
16414
+ )
16415
+ : executeDispatch(event, _dispatchListeners$i, currentTarget);
16295
16416
  previousInstance = instance;
16296
16417
  }
16297
16418
  }
@@ -20303,38 +20424,6 @@
20303
20424
  resource.state.loading |= Inserted;
20304
20425
  }
20305
20426
  }
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
20427
  function FiberRootNode(
20339
20428
  containerInfo,
20340
20429
  tag,
@@ -24722,11 +24811,11 @@
24722
24811
  };
24723
24812
  (function () {
24724
24813
  var isomorphicReactPackageVersion = React.version;
24725
- if ("19.1.0-canary-f83903bf-20250212" !== isomorphicReactPackageVersion)
24814
+ if ("19.1.0-canary-32b0cad8-20250213" !== isomorphicReactPackageVersion)
24726
24815
  throw Error(
24727
24816
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24728
24817
  (isomorphicReactPackageVersion +
24729
- "\n - react-dom: 19.1.0-canary-f83903bf-20250212\nLearn more: https://react.dev/warnings/version-mismatch")
24818
+ "\n - react-dom: 19.1.0-canary-32b0cad8-20250213\nLearn more: https://react.dev/warnings/version-mismatch")
24730
24819
  );
24731
24820
  })();
24732
24821
  ("function" === typeof Map &&
@@ -24763,10 +24852,10 @@
24763
24852
  !(function () {
24764
24853
  var internals = {
24765
24854
  bundleType: 1,
24766
- version: "19.1.0-canary-f83903bf-20250212",
24855
+ version: "19.1.0-canary-32b0cad8-20250213",
24767
24856
  rendererPackageName: "react-dom",
24768
24857
  currentDispatcherRef: ReactSharedInternals,
24769
- reconcilerVersion: "19.1.0-canary-f83903bf-20250212"
24858
+ reconcilerVersion: "19.1.0-canary-32b0cad8-20250213"
24770
24859
  };
24771
24860
  internals.overrideHookState = overrideHookState;
24772
24861
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25240,7 +25329,7 @@
25240
25329
  exports.useFormStatus = function () {
25241
25330
  return resolveDispatcher().useHostTransitionStatus();
25242
25331
  };
25243
- exports.version = "19.1.0-canary-f83903bf-20250212";
25332
+ exports.version = "19.1.0-canary-32b0cad8-20250213";
25244
25333
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25245
25334
  "function" ===
25246
25335
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&