react-dom 19.0.0-rc-380f5d67-20241113 → 19.0.0-rc-e1ef8c95-20241115

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.
@@ -597,28 +597,40 @@ function getNextLanes(root, wipLanes) {
597
597
  var pendingLanes = root.pendingLanes;
598
598
  if (0 === pendingLanes) return 0;
599
599
  var nextLanes = 0,
600
- suspendedLanes = root.suspendedLanes;
601
- root = root.pingedLanes;
600
+ suspendedLanes = root.suspendedLanes,
601
+ pingedLanes = root.pingedLanes,
602
+ warmLanes = root.warmLanes;
603
+ root = 0 !== root.finishedLanes;
602
604
  var nonIdlePendingLanes = pendingLanes & 134217727;
603
605
  0 !== nonIdlePendingLanes
604
606
  ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
605
607
  0 !== pendingLanes
606
608
  ? (nextLanes = getHighestPriorityLanes(pendingLanes))
607
- : ((root &= nonIdlePendingLanes),
608
- 0 !== root && (nextLanes = getHighestPriorityLanes(root))))
609
- : ((pendingLanes &= ~suspendedLanes),
610
- 0 !== pendingLanes
611
- ? (nextLanes = getHighestPriorityLanes(pendingLanes))
612
- : 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
609
+ : ((pingedLanes &= nonIdlePendingLanes),
610
+ 0 !== pingedLanes
611
+ ? (nextLanes = getHighestPriorityLanes(pingedLanes))
612
+ : root ||
613
+ ((warmLanes = nonIdlePendingLanes & ~warmLanes),
614
+ 0 !== warmLanes &&
615
+ (nextLanes = getHighestPriorityLanes(warmLanes)))))
616
+ : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
617
+ 0 !== nonIdlePendingLanes
618
+ ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
619
+ : 0 !== pingedLanes
620
+ ? (nextLanes = getHighestPriorityLanes(pingedLanes))
621
+ : root ||
622
+ ((warmLanes = pendingLanes & ~warmLanes),
623
+ 0 !== warmLanes &&
624
+ (nextLanes = getHighestPriorityLanes(warmLanes))));
613
625
  return 0 === nextLanes
614
626
  ? 0
615
627
  : 0 !== wipLanes &&
616
628
  wipLanes !== nextLanes &&
617
629
  0 === (wipLanes & suspendedLanes) &&
618
630
  ((suspendedLanes = nextLanes & -nextLanes),
619
- (root = wipLanes & -wipLanes),
620
- suspendedLanes >= root ||
621
- (32 === suspendedLanes && 0 !== (root & 4194176)))
631
+ (warmLanes = wipLanes & -wipLanes),
632
+ suspendedLanes >= warmLanes ||
633
+ (32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
622
634
  ? wipLanes
623
635
  : nextLanes;
624
636
  }
@@ -692,7 +704,14 @@ function markRootUpdated$1(root, updateLane) {
692
704
  268435456 !== updateLane &&
693
705
  ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));
694
706
  }
695
- function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane) {
707
+ function markRootFinished(
708
+ root,
709
+ finishedLanes,
710
+ remainingLanes,
711
+ spawnedLane,
712
+ updatedLanes,
713
+ suspendedRetryLanes
714
+ ) {
696
715
  var previouslyPendingLanes = root.pendingLanes;
697
716
  root.pendingLanes = remainingLanes;
698
717
  root.suspendedLanes = 0;
@@ -702,31 +721,36 @@ function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane) {
702
721
  root.entangledLanes &= remainingLanes;
703
722
  root.errorRecoveryDisabledLanes &= remainingLanes;
704
723
  root.shellSuspendCounter = 0;
705
- finishedLanes = root.entanglements;
706
- var expirationTimes = root.expirationTimes,
724
+ var entanglements = root.entanglements,
725
+ expirationTimes = root.expirationTimes,
707
726
  hiddenUpdates = root.hiddenUpdates;
708
727
  for (
709
728
  remainingLanes = previouslyPendingLanes & ~remainingLanes;
710
729
  0 < remainingLanes;
711
730
 
712
731
  ) {
713
- var index$6 = 31 - clz32(remainingLanes);
714
- previouslyPendingLanes = 1 << index$6;
715
- finishedLanes[index$6] = 0;
716
- expirationTimes[index$6] = -1;
717
- var hiddenUpdatesForLane = hiddenUpdates[index$6];
732
+ var index$7 = 31 - clz32(remainingLanes),
733
+ lane = 1 << index$7;
734
+ entanglements[index$7] = 0;
735
+ expirationTimes[index$7] = -1;
736
+ var hiddenUpdatesForLane = hiddenUpdates[index$7];
718
737
  if (null !== hiddenUpdatesForLane)
719
738
  for (
720
- hiddenUpdates[index$6] = null, index$6 = 0;
721
- index$6 < hiddenUpdatesForLane.length;
722
- index$6++
739
+ hiddenUpdates[index$7] = null, index$7 = 0;
740
+ index$7 < hiddenUpdatesForLane.length;
741
+ index$7++
723
742
  ) {
724
- var update = hiddenUpdatesForLane[index$6];
743
+ var update = hiddenUpdatesForLane[index$7];
725
744
  null !== update && (update.lane &= -536870913);
726
745
  }
727
- remainingLanes &= ~previouslyPendingLanes;
746
+ remainingLanes &= ~lane;
728
747
  }
729
748
  0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
749
+ 0 !== suspendedRetryLanes &&
750
+ 0 === updatedLanes &&
751
+ 0 !== root.tag &&
752
+ (root.suspendedLanes |=
753
+ suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
730
754
  }
731
755
  function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
732
756
  root.pendingLanes |= spawnedLane;
@@ -741,10 +765,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
741
765
  function markRootEntangled(root, entangledLanes) {
742
766
  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
743
767
  for (root = root.entanglements; rootEntangledLanes; ) {
744
- var index$7 = 31 - clz32(rootEntangledLanes),
745
- lane = 1 << index$7;
746
- (lane & entangledLanes) | (root[index$7] & entangledLanes) &&
747
- (root[index$7] |= entangledLanes);
768
+ var index$8 = 31 - clz32(rootEntangledLanes),
769
+ lane = 1 << index$8;
770
+ (lane & entangledLanes) | (root[index$8] & entangledLanes) &&
771
+ (root[index$8] |= entangledLanes);
748
772
  rootEntangledLanes &= ~lane;
749
773
  }
750
774
  }
@@ -894,8 +918,8 @@ function setValueForAttribute(node, name, value) {
894
918
  node.removeAttribute(name);
895
919
  return;
896
920
  case "boolean":
897
- var prefix$9 = name.toLowerCase().slice(0, 5);
898
- if ("data-" !== prefix$9 && "aria-" !== prefix$9) {
921
+ var prefix$10 = name.toLowerCase().slice(0, 5);
922
+ if ("data-" !== prefix$10 && "aria-" !== prefix$10) {
899
923
  node.removeAttribute(name);
900
924
  return;
901
925
  }
@@ -1228,15 +1252,15 @@ function setValueForStyles(node, styles, prevStyles) {
1228
1252
  : "float" === styleName
1229
1253
  ? (node.cssFloat = "")
1230
1254
  : (node[styleName] = ""));
1231
- for (var styleName$15 in styles)
1232
- (styleName = styles[styleName$15]),
1233
- styles.hasOwnProperty(styleName$15) &&
1234
- prevStyles[styleName$15] !== styleName &&
1235
- setValueForStyle(node, styleName$15, styleName);
1236
- } else
1237
1255
  for (var styleName$16 in styles)
1238
- styles.hasOwnProperty(styleName$16) &&
1239
- setValueForStyle(node, styleName$16, styles[styleName$16]);
1256
+ (styleName = styles[styleName$16]),
1257
+ styles.hasOwnProperty(styleName$16) &&
1258
+ prevStyles[styleName$16] !== styleName &&
1259
+ setValueForStyle(node, styleName$16, styleName);
1260
+ } else
1261
+ for (var styleName$17 in styles)
1262
+ styles.hasOwnProperty(styleName$17) &&
1263
+ setValueForStyle(node, styleName$17, styles[styleName$17]);
1240
1264
  }
1241
1265
  function isCustomElement(tagName) {
1242
1266
  if (-1 === tagName.indexOf("-")) return !1;
@@ -1965,19 +1989,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
1965
1989
  }
1966
1990
  var isInputEventSupported = !1;
1967
1991
  if (canUseDOM) {
1968
- var JSCompiler_inline_result$jscomp$278;
1992
+ var JSCompiler_inline_result$jscomp$282;
1969
1993
  if (canUseDOM) {
1970
- var isSupported$jscomp$inline_413 = "oninput" in document;
1971
- if (!isSupported$jscomp$inline_413) {
1972
- var element$jscomp$inline_414 = document.createElement("div");
1973
- element$jscomp$inline_414.setAttribute("oninput", "return;");
1974
- isSupported$jscomp$inline_413 =
1975
- "function" === typeof element$jscomp$inline_414.oninput;
1994
+ var isSupported$jscomp$inline_417 = "oninput" in document;
1995
+ if (!isSupported$jscomp$inline_417) {
1996
+ var element$jscomp$inline_418 = document.createElement("div");
1997
+ element$jscomp$inline_418.setAttribute("oninput", "return;");
1998
+ isSupported$jscomp$inline_417 =
1999
+ "function" === typeof element$jscomp$inline_418.oninput;
1976
2000
  }
1977
- JSCompiler_inline_result$jscomp$278 = isSupported$jscomp$inline_413;
1978
- } else JSCompiler_inline_result$jscomp$278 = !1;
2001
+ JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_417;
2002
+ } else JSCompiler_inline_result$jscomp$282 = !1;
1979
2003
  isInputEventSupported =
1980
- JSCompiler_inline_result$jscomp$278 &&
2004
+ JSCompiler_inline_result$jscomp$282 &&
1981
2005
  (!document.documentMode || 9 < document.documentMode);
1982
2006
  }
1983
2007
  function stopWatchingForValueChange() {
@@ -3883,7 +3907,7 @@ function updateReducerImpl(hook, current, reducer) {
3883
3907
  var newBaseQueueFirst = (baseFirst = null),
3884
3908
  newBaseQueueLast = null,
3885
3909
  update = current,
3886
- didReadFromEntangledAsyncAction$53 = !1;
3910
+ didReadFromEntangledAsyncAction$54 = !1;
3887
3911
  do {
3888
3912
  var updateLane = update.lane & -536870913;
3889
3913
  if (
@@ -3904,11 +3928,11 @@ function updateReducerImpl(hook, current, reducer) {
3904
3928
  next: null
3905
3929
  }),
3906
3930
  updateLane === currentEntangledLane &&
3907
- (didReadFromEntangledAsyncAction$53 = !0);
3931
+ (didReadFromEntangledAsyncAction$54 = !0);
3908
3932
  else if ((renderLanes & revertLane) === revertLane) {
3909
3933
  update = update.next;
3910
3934
  revertLane === currentEntangledLane &&
3911
- (didReadFromEntangledAsyncAction$53 = !0);
3935
+ (didReadFromEntangledAsyncAction$54 = !0);
3912
3936
  continue;
3913
3937
  } else
3914
3938
  (updateLane = {
@@ -3954,7 +3978,7 @@ function updateReducerImpl(hook, current, reducer) {
3954
3978
  if (
3955
3979
  !objectIs(pendingQueue, hook.memoizedState) &&
3956
3980
  ((didReceiveUpdate = !0),
3957
- didReadFromEntangledAsyncAction$53 &&
3981
+ didReadFromEntangledAsyncAction$54 &&
3958
3982
  ((reducer = currentEntangledActionThenable), null !== reducer))
3959
3983
  )
3960
3984
  throw reducer;
@@ -4156,8 +4180,8 @@ function runActionStateAction(actionQueue, node) {
4156
4180
  try {
4157
4181
  (prevTransition = action(prevState, payload)),
4158
4182
  handleActionReturnValue(actionQueue, node, prevTransition);
4159
- } catch (error$59) {
4160
- onActionError(actionQueue, node, error$59);
4183
+ } catch (error$60) {
4184
+ onActionError(actionQueue, node, error$60);
4161
4185
  }
4162
4186
  }
4163
4187
  function handleActionReturnValue(actionQueue, node, returnValue) {
@@ -4588,10 +4612,10 @@ function refreshCache(fiber) {
4588
4612
  case 3:
4589
4613
  var lane = requestUpdateLane();
4590
4614
  fiber = createUpdate(lane);
4591
- var root$62 = enqueueUpdate(provider, fiber, lane);
4592
- null !== root$62 &&
4593
- (scheduleUpdateOnFiber(root$62, provider, lane),
4594
- entangleTransitions(root$62, provider, lane));
4615
+ var root$63 = enqueueUpdate(provider, fiber, lane);
4616
+ null !== root$63 &&
4617
+ (scheduleUpdateOnFiber(root$63, provider, lane),
4618
+ entangleTransitions(root$63, provider, lane));
4595
4619
  provider = { cache: createCache() };
4596
4620
  fiber.payload = provider;
4597
4621
  return;
@@ -5118,9 +5142,9 @@ function resolveClassComponentProps(Component, baseProps) {
5118
5142
  }
5119
5143
  if ((Component = Component.defaultProps)) {
5120
5144
  newProps === baseProps && (newProps = assign({}, newProps));
5121
- for (var propName$66 in Component)
5122
- void 0 === newProps[propName$66] &&
5123
- (newProps[propName$66] = Component[propName$66]);
5145
+ for (var propName$67 in Component)
5146
+ void 0 === newProps[propName$67] &&
5147
+ (newProps[propName$67] = Component[propName$67]);
5124
5148
  }
5125
5149
  return newProps;
5126
5150
  }
@@ -5166,9 +5190,9 @@ function logUncaughtError(root, errorInfo) {
5166
5190
  try {
5167
5191
  var onUncaughtError = root.onUncaughtError;
5168
5192
  onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });
5169
- } catch (e$67) {
5193
+ } catch (e$68) {
5170
5194
  setTimeout(function () {
5171
- throw e$67;
5195
+ throw e$68;
5172
5196
  });
5173
5197
  }
5174
5198
  }
@@ -5179,9 +5203,9 @@ function logCaughtError(root, boundary, errorInfo) {
5179
5203
  componentStack: errorInfo.stack,
5180
5204
  errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
5181
5205
  });
5182
- } catch (e$68) {
5206
+ } catch (e$69) {
5183
5207
  setTimeout(function () {
5184
- throw e$68;
5208
+ throw e$69;
5185
5209
  });
5186
5210
  }
5187
5211
  }
@@ -7571,8 +7595,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
7571
7595
  else if ("function" === typeof ref)
7572
7596
  try {
7573
7597
  ref(null);
7574
- } catch (error$111) {
7575
- captureCommitPhaseError(current, nearestMountedAncestor, error$111);
7598
+ } catch (error$112) {
7599
+ captureCommitPhaseError(current, nearestMountedAncestor, error$112);
7576
7600
  }
7577
7601
  else ref.current = null;
7578
7602
  }
@@ -7706,7 +7730,7 @@ function commitBeforeMutationEffects(root, firstChild) {
7706
7730
  selection = selection.focusOffset;
7707
7731
  try {
7708
7732
  JSCompiler_temp.nodeType, focusNode.nodeType;
7709
- } catch (e$19) {
7733
+ } catch (e$20) {
7710
7734
  JSCompiler_temp = null;
7711
7735
  break a;
7712
7736
  }
@@ -7868,11 +7892,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
7868
7892
  current,
7869
7893
  finishedRoot.__reactInternalSnapshotBeforeUpdate
7870
7894
  );
7871
- } catch (error$110) {
7895
+ } catch (error$111) {
7872
7896
  captureCommitPhaseError(
7873
7897
  finishedWork,
7874
7898
  finishedWork.return,
7875
- error$110
7899
+ error$111
7876
7900
  );
7877
7901
  }
7878
7902
  }
@@ -8026,7 +8050,7 @@ function commitDeletionEffectsOnFiber(
8026
8050
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
8027
8051
  case 6:
8028
8052
  prevHostParentIsContainer = hostParent;
8029
- var prevHostParentIsContainer$118 = hostParentIsContainer;
8053
+ var prevHostParentIsContainer$119 = hostParentIsContainer;
8030
8054
  hostParent = null;
8031
8055
  recursivelyTraverseDeletionEffects(
8032
8056
  finishedRoot,
@@ -8034,7 +8058,7 @@ function commitDeletionEffectsOnFiber(
8034
8058
  deletedFiber
8035
8059
  );
8036
8060
  hostParent = prevHostParentIsContainer;
8037
- hostParentIsContainer = prevHostParentIsContainer$118;
8061
+ hostParentIsContainer = prevHostParentIsContainer$119;
8038
8062
  if (null !== hostParent)
8039
8063
  if (hostParentIsContainer)
8040
8064
  try {
@@ -8667,21 +8691,21 @@ function commitReconciliationEffects(finishedWork) {
8667
8691
  insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8668
8692
  break;
8669
8693
  case 5:
8670
- var parent$112 = JSCompiler_inline_result.stateNode;
8694
+ var parent$113 = JSCompiler_inline_result.stateNode;
8671
8695
  JSCompiler_inline_result.flags & 32 &&
8672
- (setTextContent(parent$112, ""),
8696
+ (setTextContent(parent$113, ""),
8673
8697
  (JSCompiler_inline_result.flags &= -33));
8674
- var before$113 = getHostSibling(finishedWork);
8675
- insertOrAppendPlacementNode(finishedWork, before$113, parent$112);
8698
+ var before$114 = getHostSibling(finishedWork);
8699
+ insertOrAppendPlacementNode(finishedWork, before$114, parent$113);
8676
8700
  break;
8677
8701
  case 3:
8678
8702
  case 4:
8679
- var parent$114 = JSCompiler_inline_result.stateNode.containerInfo,
8680
- before$115 = getHostSibling(finishedWork);
8703
+ var parent$115 = JSCompiler_inline_result.stateNode.containerInfo,
8704
+ before$116 = getHostSibling(finishedWork);
8681
8705
  insertOrAppendPlacementNodeIntoContainer(
8682
8706
  finishedWork,
8683
- before$115,
8684
- parent$114
8707
+ before$116,
8708
+ parent$115
8685
8709
  );
8686
8710
  break;
8687
8711
  default:
@@ -9565,20 +9589,32 @@ function markUpdate(workInProgress) {
9565
9589
  function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
9566
9590
  if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
9567
9591
  workInProgress.flags &= -16777217;
9568
- else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
9569
- if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
9570
- else
9592
+ else if (((workInProgress.flags |= 16777216), !preloadResource(resource))) {
9593
+ resource = suspenseHandlerStackCursor.current;
9594
+ if (
9595
+ null !== resource &&
9596
+ ((workInProgressRootRenderLanes & 4194176) ===
9597
+ workInProgressRootRenderLanes
9598
+ ? null !== shellBoundary
9599
+ : ((workInProgressRootRenderLanes & 62914560) !==
9600
+ workInProgressRootRenderLanes &&
9601
+ 0 === (workInProgressRootRenderLanes & 536870912)) ||
9602
+ resource !== shellBoundary)
9603
+ )
9571
9604
  throw (
9572
9605
  ((suspendedThenable = noopSuspenseyCommitThenable),
9573
9606
  SuspenseyCommitException)
9574
9607
  );
9608
+ workInProgress.flags |= 8192;
9609
+ }
9575
9610
  }
9576
9611
  function scheduleRetryEffect(workInProgress, retryQueue) {
9577
9612
  null !== retryQueue && (workInProgress.flags |= 4);
9578
9613
  workInProgress.flags & 16384 &&
9579
9614
  ((retryQueue =
9580
9615
  22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
9581
- (workInProgress.lanes |= retryQueue));
9616
+ (workInProgress.lanes |= retryQueue),
9617
+ (workInProgressSuspendedRetryLanes |= retryQueue));
9582
9618
  }
9583
9619
  function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
9584
9620
  if (!isHydrating)
@@ -9595,14 +9631,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
9595
9631
  break;
9596
9632
  case "collapsed":
9597
9633
  lastTailNode = renderState.tail;
9598
- for (var lastTailNode$130 = null; null !== lastTailNode; )
9599
- null !== lastTailNode.alternate && (lastTailNode$130 = lastTailNode),
9634
+ for (var lastTailNode$131 = null; null !== lastTailNode; )
9635
+ null !== lastTailNode.alternate && (lastTailNode$131 = lastTailNode),
9600
9636
  (lastTailNode = lastTailNode.sibling);
9601
- null === lastTailNode$130
9637
+ null === lastTailNode$131
9602
9638
  ? hasRenderedATailFallback || null === renderState.tail
9603
9639
  ? (renderState.tail = null)
9604
9640
  : (renderState.tail.sibling = null)
9605
- : (lastTailNode$130.sibling = null);
9641
+ : (lastTailNode$131.sibling = null);
9606
9642
  }
9607
9643
  }
9608
9644
  function bubbleProperties(completedWork) {
@@ -9612,19 +9648,19 @@ function bubbleProperties(completedWork) {
9612
9648
  newChildLanes = 0,
9613
9649
  subtreeFlags = 0;
9614
9650
  if (didBailout)
9615
- for (var child$131 = completedWork.child; null !== child$131; )
9616
- (newChildLanes |= child$131.lanes | child$131.childLanes),
9617
- (subtreeFlags |= child$131.subtreeFlags & 31457280),
9618
- (subtreeFlags |= child$131.flags & 31457280),
9619
- (child$131.return = completedWork),
9620
- (child$131 = child$131.sibling);
9651
+ for (var child$132 = completedWork.child; null !== child$132; )
9652
+ (newChildLanes |= child$132.lanes | child$132.childLanes),
9653
+ (subtreeFlags |= child$132.subtreeFlags & 31457280),
9654
+ (subtreeFlags |= child$132.flags & 31457280),
9655
+ (child$132.return = completedWork),
9656
+ (child$132 = child$132.sibling);
9621
9657
  else
9622
- for (child$131 = completedWork.child; null !== child$131; )
9623
- (newChildLanes |= child$131.lanes | child$131.childLanes),
9624
- (subtreeFlags |= child$131.subtreeFlags),
9625
- (subtreeFlags |= child$131.flags),
9626
- (child$131.return = completedWork),
9627
- (child$131 = child$131.sibling);
9658
+ for (child$132 = completedWork.child; null !== child$132; )
9659
+ (newChildLanes |= child$132.lanes | child$132.childLanes),
9660
+ (subtreeFlags |= child$132.subtreeFlags),
9661
+ (subtreeFlags |= child$132.flags),
9662
+ (child$132.return = completedWork),
9663
+ (child$132 = child$132.sibling);
9628
9664
  completedWork.subtreeFlags |= subtreeFlags;
9629
9665
  completedWork.childLanes = newChildLanes;
9630
9666
  return didBailout;
@@ -9901,11 +9937,11 @@ function completeWork(current, workInProgress, renderLanes) {
9901
9937
  null !== newProps.alternate.memoizedState &&
9902
9938
  null !== newProps.alternate.memoizedState.cachePool &&
9903
9939
  (type = newProps.alternate.memoizedState.cachePool.pool);
9904
- var cache$143 = null;
9940
+ var cache$144 = null;
9905
9941
  null !== newProps.memoizedState &&
9906
9942
  null !== newProps.memoizedState.cachePool &&
9907
- (cache$143 = newProps.memoizedState.cachePool.pool);
9908
- cache$143 !== type && (newProps.flags |= 2048);
9943
+ (cache$144 = newProps.memoizedState.cachePool.pool);
9944
+ cache$144 !== type && (newProps.flags |= 2048);
9909
9945
  }
9910
9946
  renderLanes !== current &&
9911
9947
  renderLanes &&
@@ -9930,8 +9966,8 @@ function completeWork(current, workInProgress, renderLanes) {
9930
9966
  type = workInProgress.memoizedState;
9931
9967
  if (null === type) return bubbleProperties(workInProgress), null;
9932
9968
  newProps = 0 !== (workInProgress.flags & 128);
9933
- cache$143 = type.rendering;
9934
- if (null === cache$143)
9969
+ cache$144 = type.rendering;
9970
+ if (null === cache$144)
9935
9971
  if (newProps) cutOffTailIfNeeded(type, !1);
9936
9972
  else {
9937
9973
  if (
@@ -9939,11 +9975,11 @@ function completeWork(current, workInProgress, renderLanes) {
9939
9975
  (null !== current && 0 !== (current.flags & 128))
9940
9976
  )
9941
9977
  for (current = workInProgress.child; null !== current; ) {
9942
- cache$143 = findFirstSuspended(current);
9943
- if (null !== cache$143) {
9978
+ cache$144 = findFirstSuspended(current);
9979
+ if (null !== cache$144) {
9944
9980
  workInProgress.flags |= 128;
9945
9981
  cutOffTailIfNeeded(type, !1);
9946
- current = cache$143.updateQueue;
9982
+ current = cache$144.updateQueue;
9947
9983
  workInProgress.updateQueue = current;
9948
9984
  scheduleRetryEffect(workInProgress, current);
9949
9985
  workInProgress.subtreeFlags = 0;
@@ -9968,7 +10004,7 @@ function completeWork(current, workInProgress, renderLanes) {
9968
10004
  }
9969
10005
  else {
9970
10006
  if (!newProps)
9971
- if (((current = findFirstSuspended(cache$143)), null !== current)) {
10007
+ if (((current = findFirstSuspended(cache$144)), null !== current)) {
9972
10008
  if (
9973
10009
  ((workInProgress.flags |= 128),
9974
10010
  (newProps = !0),
@@ -9978,7 +10014,7 @@ function completeWork(current, workInProgress, renderLanes) {
9978
10014
  cutOffTailIfNeeded(type, !0),
9979
10015
  null === type.tail &&
9980
10016
  "hidden" === type.tailMode &&
9981
- !cache$143.alternate &&
10017
+ !cache$144.alternate &&
9982
10018
  !isHydrating)
9983
10019
  )
9984
10020
  return bubbleProperties(workInProgress), null;
@@ -9991,13 +10027,13 @@ function completeWork(current, workInProgress, renderLanes) {
9991
10027
  cutOffTailIfNeeded(type, !1),
9992
10028
  (workInProgress.lanes = 4194304));
9993
10029
  type.isBackwards
9994
- ? ((cache$143.sibling = workInProgress.child),
9995
- (workInProgress.child = cache$143))
10030
+ ? ((cache$144.sibling = workInProgress.child),
10031
+ (workInProgress.child = cache$144))
9996
10032
  : ((current = type.last),
9997
10033
  null !== current
9998
- ? (current.sibling = cache$143)
9999
- : (workInProgress.child = cache$143),
10000
- (type.last = cache$143));
10034
+ ? (current.sibling = cache$144)
10035
+ : (workInProgress.child = cache$144),
10036
+ (type.last = cache$144));
10001
10037
  }
10002
10038
  if (null !== type.tail)
10003
10039
  return (
@@ -10171,6 +10207,7 @@ var DefaultAsyncDispatcher = {
10171
10207
  workInProgressSuspendedReason = 0,
10172
10208
  workInProgressThrownValue = null,
10173
10209
  workInProgressRootDidSkipSuspendedSiblings = !1,
10210
+ workInProgressRootIsPrerendering = !1,
10174
10211
  workInProgressRootDidAttachPingListener = !1,
10175
10212
  entangledRenderLanes = 0,
10176
10213
  workInProgressRootExitStatus = 0,
@@ -10221,7 +10258,8 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
10221
10258
  markRootSuspended(
10222
10259
  root,
10223
10260
  workInProgressRootRenderLanes,
10224
- workInProgressDeferredLane
10261
+ workInProgressDeferredLane,
10262
+ !1
10225
10263
  );
10226
10264
  markRootUpdated$1(root, lane);
10227
10265
  if (0 === (executionContext & 2) || root !== workInProgressRoot)
@@ -10232,24 +10270,29 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
10232
10270
  markRootSuspended(
10233
10271
  root,
10234
10272
  workInProgressRootRenderLanes,
10235
- workInProgressDeferredLane
10273
+ workInProgressDeferredLane,
10274
+ !1
10236
10275
  )),
10237
10276
  ensureRootIsScheduled(root);
10238
10277
  }
10239
10278
  function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10240
10279
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
10241
- var exitStatus = (forceSync =
10280
+ var shouldTimeSlice =
10242
10281
  (!forceSync &&
10243
10282
  0 === (lanes & 60) &&
10244
10283
  0 === (lanes & root$jscomp$0.expiredLanes)) ||
10245
- !1)
10284
+ checkIfRootIsPrerendering(root$jscomp$0, lanes),
10285
+ exitStatus = shouldTimeSlice
10246
10286
  ? renderRootConcurrent(root$jscomp$0, lanes)
10247
10287
  : renderRootSync(root$jscomp$0, lanes, !0),
10248
- renderWasConcurrent = forceSync;
10288
+ renderWasConcurrent = shouldTimeSlice;
10249
10289
  do {
10250
- if (0 === exitStatus) break;
10251
- else if (6 === exitStatus) markRootSuspended(root$jscomp$0, lanes, 0);
10252
- else {
10290
+ if (0 === exitStatus) {
10291
+ workInProgressRootIsPrerendering &&
10292
+ !shouldTimeSlice &&
10293
+ markRootSuspended(root$jscomp$0, lanes, 0, !1);
10294
+ break;
10295
+ } else {
10253
10296
  forceSync = root$jscomp$0.current.alternate;
10254
10297
  if (
10255
10298
  renderWasConcurrent &&
@@ -10308,25 +10351,25 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10308
10351
  }
10309
10352
  if (1 === exitStatus) {
10310
10353
  prepareFreshStack(root$jscomp$0, 0);
10311
- markRootSuspended(root$jscomp$0, lanes, 0);
10354
+ markRootSuspended(root$jscomp$0, lanes, 0, !0);
10312
10355
  break;
10313
10356
  }
10314
10357
  a: {
10315
- renderWasConcurrent = root$jscomp$0;
10358
+ shouldTimeSlice = root$jscomp$0;
10316
10359
  switch (exitStatus) {
10317
10360
  case 0:
10318
10361
  case 1:
10319
10362
  throw Error(formatProdErrorMessage(345));
10320
10363
  case 4:
10321
- if ((lanes & 4194176) === lanes) {
10322
- markRootSuspended(
10323
- renderWasConcurrent,
10324
- lanes,
10325
- workInProgressDeferredLane
10326
- );
10327
- break a;
10328
- }
10329
- break;
10364
+ if ((lanes & 4194176) !== lanes) break;
10365
+ case 6:
10366
+ markRootSuspended(
10367
+ shouldTimeSlice,
10368
+ lanes,
10369
+ workInProgressDeferredLane,
10370
+ !workInProgressRootDidSkipSuspendedSiblings
10371
+ );
10372
+ break a;
10330
10373
  case 2:
10331
10374
  workInProgressRootRecoverableErrors = null;
10332
10375
  break;
@@ -10336,23 +10379,24 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10336
10379
  default:
10337
10380
  throw Error(formatProdErrorMessage(329));
10338
10381
  }
10339
- renderWasConcurrent.finishedWork = forceSync;
10340
- renderWasConcurrent.finishedLanes = lanes;
10382
+ shouldTimeSlice.finishedWork = forceSync;
10383
+ shouldTimeSlice.finishedLanes = lanes;
10341
10384
  if (
10342
10385
  (lanes & 62914560) === lanes &&
10343
- ((exitStatus = globalMostRecentFallbackTime + 300 - now()),
10344
- 10 < exitStatus)
10386
+ ((renderWasConcurrent = globalMostRecentFallbackTime + 300 - now()),
10387
+ 10 < renderWasConcurrent)
10345
10388
  ) {
10346
10389
  markRootSuspended(
10347
- renderWasConcurrent,
10390
+ shouldTimeSlice,
10348
10391
  lanes,
10349
- workInProgressDeferredLane
10392
+ workInProgressDeferredLane,
10393
+ !workInProgressRootDidSkipSuspendedSiblings
10350
10394
  );
10351
- if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
10352
- renderWasConcurrent.timeoutHandle = scheduleTimeout(
10395
+ if (0 !== getNextLanes(shouldTimeSlice, 0)) break a;
10396
+ shouldTimeSlice.timeoutHandle = scheduleTimeout(
10353
10397
  commitRootWhenReady.bind(
10354
10398
  null,
10355
- renderWasConcurrent,
10399
+ shouldTimeSlice,
10356
10400
  forceSync,
10357
10401
  workInProgressRootRecoverableErrors,
10358
10402
  workInProgressTransitions,
@@ -10366,12 +10410,12 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10366
10410
  -0,
10367
10411
  0
10368
10412
  ),
10369
- exitStatus
10413
+ renderWasConcurrent
10370
10414
  );
10371
10415
  break a;
10372
10416
  }
10373
10417
  commitRootWhenReady(
10374
- renderWasConcurrent,
10418
+ shouldTimeSlice,
10375
10419
  forceSync,
10376
10420
  workInProgressRootRecoverableErrors,
10377
10421
  workInProgressTransitions,
@@ -10414,11 +10458,8 @@ function commitRootWhenReady(
10414
10458
  completedRenderStartTime,
10415
10459
  completedRenderEndTime
10416
10460
  ) {
10417
- didSkipSuspendedSiblings = finishedWork.subtreeFlags;
10418
- if (
10419
- didSkipSuspendedSiblings & 8192 ||
10420
- 16785408 === (didSkipSuspendedSiblings & 16785408)
10421
- )
10461
+ var subtreeFlags = finishedWork.subtreeFlags;
10462
+ if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
10422
10463
  if (
10423
10464
  ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
10424
10465
  accumulateSuspenseyCommitOnFiber(finishedWork),
@@ -10440,7 +10481,7 @@ function commitRootWhenReady(
10440
10481
  completedRenderEndTime
10441
10482
  )
10442
10483
  );
10443
- markRootSuspended(root, lanes, spawnedLane);
10484
+ markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
10444
10485
  return;
10445
10486
  }
10446
10487
  commitRoot(
@@ -10490,19 +10531,22 @@ function isRenderConsistentWithExternalStores(finishedWork) {
10490
10531
  }
10491
10532
  return !0;
10492
10533
  }
10493
- function markRootSuspended(root, suspendedLanes, spawnedLane) {
10534
+ function markRootSuspended(
10535
+ root,
10536
+ suspendedLanes,
10537
+ spawnedLane,
10538
+ didAttemptEntireTree
10539
+ ) {
10494
10540
  suspendedLanes &= ~workInProgressRootPingedLanes;
10495
10541
  suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
10496
10542
  root.suspendedLanes |= suspendedLanes;
10497
10543
  root.pingedLanes &= ~suspendedLanes;
10498
- for (
10499
- var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
10500
- 0 < lanes;
10501
-
10502
- ) {
10503
- var index$5 = 31 - clz32(lanes),
10504
- lane = 1 << index$5;
10505
- expirationTimes[index$5] = -1;
10544
+ didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
10545
+ didAttemptEntireTree = root.expirationTimes;
10546
+ for (var lanes = suspendedLanes; 0 < lanes; ) {
10547
+ var index$6 = 31 - clz32(lanes),
10548
+ lane = 1 << index$6;
10549
+ didAttemptEntireTree[index$6] = -1;
10506
10550
  lanes &= ~lane;
10507
10551
  }
10508
10552
  0 !== spawnedLane &&
@@ -10546,7 +10590,7 @@ function prepareFreshStack(root, lanes) {
10546
10590
  workInProgressSuspendedReason = 0;
10547
10591
  workInProgressThrownValue = null;
10548
10592
  workInProgressRootDidSkipSuspendedSiblings = !1;
10549
- checkIfRootIsPrerendering(root, lanes);
10593
+ workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
10550
10594
  workInProgressRootDidAttachPingListener = !1;
10551
10595
  workInProgressSuspendedRetryLanes =
10552
10596
  workInProgressDeferredLane =
@@ -10566,9 +10610,9 @@ function prepareFreshStack(root, lanes) {
10566
10610
  0 < allEntangledLanes;
10567
10611
 
10568
10612
  ) {
10569
- var index$3 = 31 - clz32(allEntangledLanes),
10570
- lane = 1 << index$3;
10571
- lanes |= root[index$3];
10613
+ var index$4 = 31 - clz32(allEntangledLanes),
10614
+ lane = 1 << index$4;
10615
+ lanes |= root[index$4];
10572
10616
  allEntangledLanes &= ~lane;
10573
10617
  }
10574
10618
  entangledRenderLanes = lanes;
@@ -10580,12 +10624,7 @@ function handleThrow(root, thrownValue) {
10580
10624
  ReactSharedInternals.H = ContextOnlyDispatcher;
10581
10625
  thrownValue === SuspenseException
10582
10626
  ? ((thrownValue = getSuspendedThenable()),
10583
- (workInProgressSuspendedReason =
10584
- shouldRemainOnPreviousScreen() &&
10585
- 0 === (workInProgressRootSkippedLanes & 134217727) &&
10586
- 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)
10587
- ? 2
10588
- : 3))
10627
+ (workInProgressSuspendedReason = 3))
10589
10628
  : thrownValue === SuspenseyCommitException
10590
10629
  ? ((thrownValue = getSuspendedThenable()),
10591
10630
  (workInProgressSuspendedReason = 4))
@@ -10605,21 +10644,6 @@ function handleThrow(root, thrownValue) {
10605
10644
  createCapturedValueAtFiber(thrownValue, root.current)
10606
10645
  ));
10607
10646
  }
10608
- function shouldRemainOnPreviousScreen() {
10609
- var handler = suspenseHandlerStackCursor.current;
10610
- return null === handler
10611
- ? !0
10612
- : (workInProgressRootRenderLanes & 4194176) ===
10613
- workInProgressRootRenderLanes
10614
- ? null === shellBoundary
10615
- ? !0
10616
- : !1
10617
- : (workInProgressRootRenderLanes & 62914560) ===
10618
- workInProgressRootRenderLanes ||
10619
- 0 !== (workInProgressRootRenderLanes & 536870912)
10620
- ? handler === shellBoundary
10621
- : !1;
10622
- }
10623
10647
  function pushDispatcher() {
10624
10648
  var prevDispatcher = ReactSharedInternals.H;
10625
10649
  ReactSharedInternals.H = ContextOnlyDispatcher;
@@ -10632,16 +10656,22 @@ function pushAsyncDispatcher() {
10632
10656
  }
10633
10657
  function renderDidSuspendDelayIfPossible() {
10634
10658
  workInProgressRootExitStatus = 4;
10659
+ workInProgressRootDidSkipSuspendedSiblings ||
10660
+ ((workInProgressRootRenderLanes & 4194176) !==
10661
+ workInProgressRootRenderLanes &&
10662
+ null !== suspenseHandlerStackCursor.current) ||
10663
+ (workInProgressRootIsPrerendering = !0);
10635
10664
  (0 === (workInProgressRootSkippedLanes & 134217727) &&
10636
10665
  0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||
10637
10666
  null === workInProgressRoot ||
10638
10667
  markRootSuspended(
10639
10668
  workInProgressRoot,
10640
10669
  workInProgressRootRenderLanes,
10641
- workInProgressDeferredLane
10670
+ workInProgressDeferredLane,
10671
+ !1
10642
10672
  );
10643
10673
  }
10644
- function renderRootSync(root, lanes) {
10674
+ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
10645
10675
  var prevExecutionContext = executionContext;
10646
10676
  executionContext |= 2;
10647
10677
  var prevDispatcher = pushDispatcher(),
@@ -10668,6 +10698,13 @@ function renderRootSync(root, lanes) {
10668
10698
  workInProgressSuspendedReason = 0;
10669
10699
  workInProgressThrownValue = null;
10670
10700
  throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
10701
+ if (
10702
+ shouldYieldForPrerendering &&
10703
+ workInProgressRootIsPrerendering
10704
+ ) {
10705
+ exitStatus = 0;
10706
+ break a;
10707
+ }
10671
10708
  break;
10672
10709
  default:
10673
10710
  (reason = workInProgressSuspendedReason),
@@ -10679,8 +10716,8 @@ function renderRootSync(root, lanes) {
10679
10716
  workLoopSync();
10680
10717
  exitStatus = workInProgressRootExitStatus;
10681
10718
  break;
10682
- } catch (thrownValue$159) {
10683
- handleThrow(root, thrownValue$159);
10719
+ } catch (thrownValue$163) {
10720
+ handleThrow(root, thrownValue$163);
10684
10721
  }
10685
10722
  while (1);
10686
10723
  lanes && root.shellSuspendCounter++;
@@ -10706,7 +10743,10 @@ function renderRootConcurrent(root, lanes) {
10706
10743
  ? ((workInProgressTransitions = null),
10707
10744
  (workInProgressRootRenderTargetTime = now() + 500),
10708
10745
  prepareFreshStack(root, lanes))
10709
- : checkIfRootIsPrerendering(root, lanes);
10746
+ : (workInProgressRootIsPrerendering = checkIfRootIsPrerendering(
10747
+ root,
10748
+ lanes
10749
+ ));
10710
10750
  a: do
10711
10751
  try {
10712
10752
  if (0 !== workInProgressSuspendedReason && null !== workInProgress) {
@@ -10790,8 +10830,8 @@ function renderRootConcurrent(root, lanes) {
10790
10830
  }
10791
10831
  workLoopConcurrent();
10792
10832
  break;
10793
- } catch (thrownValue$161) {
10794
- handleThrow(root, thrownValue$161);
10833
+ } catch (thrownValue$165) {
10834
+ handleThrow(root, thrownValue$165);
10795
10835
  }
10796
10836
  while (1);
10797
10837
  lastContextDependency = currentlyRenderingFiber = null;
@@ -10849,7 +10889,12 @@ function replaySuspendedUnitOfWork(unitOfWork) {
10849
10889
  unitOfWork.memoizedProps = unitOfWork.pendingProps;
10850
10890
  null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);
10851
10891
  }
10852
- function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue) {
10892
+ function throwAndUnwindWorkLoop(
10893
+ root,
10894
+ unitOfWork,
10895
+ thrownValue,
10896
+ suspendedReason
10897
+ ) {
10853
10898
  lastContextDependency = currentlyRenderingFiber = null;
10854
10899
  resetHooksOnUnwind(unitOfWork);
10855
10900
  thenableState$1 = null;
@@ -10883,9 +10928,23 @@ function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue) {
10883
10928
  workInProgress = null;
10884
10929
  return;
10885
10930
  }
10886
- unitOfWork.flags & 32768
10887
- ? unwindUnitOfWork(unitOfWork, !0)
10888
- : completeUnitOfWork(unitOfWork);
10931
+ if (unitOfWork.flags & 32768) {
10932
+ if (isHydrating || 1 === suspendedReason) root = !0;
10933
+ else if (
10934
+ workInProgressRootIsPrerendering ||
10935
+ 0 !== (workInProgressRootRenderLanes & 536870912)
10936
+ )
10937
+ root = !1;
10938
+ else if (
10939
+ ((workInProgressRootDidSkipSuspendedSiblings = root = !0),
10940
+ 2 === suspendedReason || 3 === suspendedReason || 6 === suspendedReason)
10941
+ )
10942
+ (suspendedReason = suspenseHandlerStackCursor.current),
10943
+ null !== suspendedReason &&
10944
+ 13 === suspendedReason.tag &&
10945
+ (suspendedReason.flags |= 16384);
10946
+ unwindUnitOfWork(unitOfWork, root);
10947
+ } else completeUnitOfWork(unitOfWork);
10889
10948
  }
10890
10949
  function completeUnitOfWork(unitOfWork) {
10891
10950
  var completedWork = unitOfWork;
@@ -10980,7 +11039,9 @@ function commitRootImpl(
10980
11039
  transitions,
10981
11040
  didIncludeRenderPhaseUpdate,
10982
11041
  renderPriorityLevel,
10983
- spawnedLane
11042
+ spawnedLane,
11043
+ updatedLanes,
11044
+ suspendedRetryLanes
10984
11045
  ) {
10985
11046
  do flushPassiveEffects();
10986
11047
  while (null !== rootWithPendingPassiveEffects);
@@ -11000,7 +11061,9 @@ function commitRootImpl(
11000
11061
  root,
11001
11062
  didIncludeRenderPhaseUpdate,
11002
11063
  remainingLanes,
11003
- spawnedLane
11064
+ spawnedLane,
11065
+ updatedLanes,
11066
+ suspendedRetryLanes
11004
11067
  );
11005
11068
  root === workInProgressRoot &&
11006
11069
  ((workInProgress = workInProgressRoot = null),
@@ -11016,25 +11079,25 @@ function commitRootImpl(
11016
11079
  return null;
11017
11080
  }));
11018
11081
  transitions = 0 !== (finishedWork.flags & 15990);
11019
- if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
11020
- transitions = ReactSharedInternals.T;
11021
- ReactSharedInternals.T = null;
11022
- spawnedLane = ReactDOMSharedInternals.p;
11023
- ReactDOMSharedInternals.p = 2;
11024
- var prevExecutionContext = executionContext;
11025
- executionContext |= 4;
11026
- commitBeforeMutationEffects(root, finishedWork);
11027
- commitMutationEffectsOnFiber(finishedWork, root);
11028
- restoreSelection(selectionInformation, root.containerInfo);
11029
- _enabled = !!eventsEnabled;
11030
- selectionInformation = eventsEnabled = null;
11031
- root.current = finishedWork;
11032
- commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
11033
- requestPaint();
11034
- executionContext = prevExecutionContext;
11035
- ReactDOMSharedInternals.p = spawnedLane;
11036
- ReactSharedInternals.T = transitions;
11037
- } else root.current = finishedWork;
11082
+ 0 !== (finishedWork.subtreeFlags & 15990) || transitions
11083
+ ? ((transitions = ReactSharedInternals.T),
11084
+ (ReactSharedInternals.T = null),
11085
+ (spawnedLane = ReactDOMSharedInternals.p),
11086
+ (ReactDOMSharedInternals.p = 2),
11087
+ (updatedLanes = executionContext),
11088
+ (executionContext |= 4),
11089
+ commitBeforeMutationEffects(root, finishedWork),
11090
+ commitMutationEffectsOnFiber(finishedWork, root),
11091
+ restoreSelection(selectionInformation, root.containerInfo),
11092
+ (_enabled = !!eventsEnabled),
11093
+ (selectionInformation = eventsEnabled = null),
11094
+ (root.current = finishedWork),
11095
+ commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
11096
+ requestPaint(),
11097
+ (executionContext = updatedLanes),
11098
+ (ReactDOMSharedInternals.p = spawnedLane),
11099
+ (ReactSharedInternals.T = transitions))
11100
+ : (root.current = finishedWork);
11038
11101
  rootDoesHavePassiveEffects
11039
11102
  ? ((rootDoesHavePassiveEffects = !1),
11040
11103
  (rootWithPendingPassiveEffects = root),
@@ -11072,7 +11135,7 @@ function releaseRootPooledCache(root, remainingLanes) {
11072
11135
  }
11073
11136
  function flushPassiveEffects() {
11074
11137
  if (null !== rootWithPendingPassiveEffects) {
11075
- var root$165 = rootWithPendingPassiveEffects,
11138
+ var root$169 = rootWithPendingPassiveEffects,
11076
11139
  remainingLanes = pendingPassiveEffectsRemainingLanes;
11077
11140
  pendingPassiveEffectsRemainingLanes = 0;
11078
11141
  var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11111,7 +11174,7 @@ function flushPassiveEffects() {
11111
11174
  } finally {
11112
11175
  (ReactDOMSharedInternals.p = previousPriority),
11113
11176
  (ReactSharedInternals.T = prevTransition),
11114
- releaseRootPooledCache(root$165, remainingLanes);
11177
+ releaseRootPooledCache(root$169, remainingLanes);
11115
11178
  }
11116
11179
  }
11117
11180
  return !1;
@@ -11254,14 +11317,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11254
11317
  isFlushingWork = !0;
11255
11318
  do {
11256
11319
  var didPerformSomeWork = !1;
11257
- for (var root$167 = firstScheduledRoot; null !== root$167; ) {
11320
+ for (var root$171 = firstScheduledRoot; null !== root$171; ) {
11258
11321
  if (!onlyLegacy)
11259
11322
  if (0 !== syncTransitionLanes) {
11260
- var pendingLanes = root$167.pendingLanes;
11323
+ var pendingLanes = root$171.pendingLanes;
11261
11324
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
11262
11325
  else {
11263
- var suspendedLanes = root$167.suspendedLanes,
11264
- pingedLanes = root$167.pingedLanes;
11326
+ var suspendedLanes = root$171.suspendedLanes,
11327
+ pingedLanes = root$171.pingedLanes;
11265
11328
  JSCompiler_inline_result =
11266
11329
  (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
11267
11330
  JSCompiler_inline_result &=
@@ -11275,18 +11338,18 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11275
11338
  }
11276
11339
  0 !== JSCompiler_inline_result &&
11277
11340
  ((didPerformSomeWork = !0),
11278
- performSyncWorkOnRoot(root$167, JSCompiler_inline_result));
11341
+ performSyncWorkOnRoot(root$171, JSCompiler_inline_result));
11279
11342
  } else
11280
11343
  (JSCompiler_inline_result = workInProgressRootRenderLanes),
11281
11344
  (JSCompiler_inline_result = getNextLanes(
11282
- root$167,
11283
- root$167 === workInProgressRoot ? JSCompiler_inline_result : 0
11345
+ root$171,
11346
+ root$171 === workInProgressRoot ? JSCompiler_inline_result : 0
11284
11347
  )),
11285
11348
  0 === (JSCompiler_inline_result & 3) ||
11286
- checkIfRootIsPrerendering(root$167, JSCompiler_inline_result) ||
11349
+ checkIfRootIsPrerendering(root$171, JSCompiler_inline_result) ||
11287
11350
  ((didPerformSomeWork = !0),
11288
- performSyncWorkOnRoot(root$167, JSCompiler_inline_result));
11289
- root$167 = root$167.next;
11351
+ performSyncWorkOnRoot(root$171, JSCompiler_inline_result));
11352
+ root$171 = root$171.next;
11290
11353
  }
11291
11354
  } while (didPerformSomeWork);
11292
11355
  isFlushingWork = !1;
@@ -11327,12 +11390,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
11327
11390
  0 < lanes;
11328
11391
 
11329
11392
  ) {
11330
- var index$4 = 31 - clz32(lanes),
11331
- lane = 1 << index$4,
11332
- expirationTime = expirationTimes[index$4];
11393
+ var index$5 = 31 - clz32(lanes),
11394
+ lane = 1 << index$5,
11395
+ expirationTime = expirationTimes[index$5];
11333
11396
  if (-1 === expirationTime) {
11334
11397
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
11335
- expirationTimes[index$4] = computeExpirationTime(lane, currentTime);
11398
+ expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
11336
11399
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
11337
11400
  lanes &= ~lane;
11338
11401
  }
@@ -11355,37 +11418,37 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
11355
11418
  (root.callbackNode = null),
11356
11419
  (root.callbackPriority = 0)
11357
11420
  );
11358
- if (0 !== (suspendedLanes & 3))
11359
- return (
11360
- null !== pingedLanes &&
11361
- null !== pingedLanes &&
11362
- cancelCallback$1(pingedLanes),
11363
- (root.callbackPriority = 2),
11364
- (root.callbackNode = null),
11365
- 2
11366
- );
11367
- currentTime = suspendedLanes & -suspendedLanes;
11368
- if (currentTime === root.callbackPriority) return currentTime;
11369
- null !== pingedLanes && cancelCallback$1(pingedLanes);
11370
- switch (lanesToEventPriority(suspendedLanes)) {
11371
- case 2:
11372
- case 8:
11373
- suspendedLanes = UserBlockingPriority;
11374
- break;
11375
- case 32:
11376
- suspendedLanes = NormalPriority$1;
11377
- break;
11378
- case 268435456:
11379
- suspendedLanes = IdlePriority;
11380
- break;
11381
- default:
11382
- suspendedLanes = NormalPriority$1;
11383
- }
11384
- pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
11385
- suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
11386
- root.callbackPriority = currentTime;
11387
- root.callbackNode = suspendedLanes;
11388
- return currentTime;
11421
+ if (
11422
+ 0 === (suspendedLanes & 3) ||
11423
+ checkIfRootIsPrerendering(root, suspendedLanes)
11424
+ ) {
11425
+ currentTime = suspendedLanes & -suspendedLanes;
11426
+ if (currentTime === root.callbackPriority) return currentTime;
11427
+ null !== pingedLanes && cancelCallback$1(pingedLanes);
11428
+ switch (lanesToEventPriority(suspendedLanes)) {
11429
+ case 2:
11430
+ case 8:
11431
+ suspendedLanes = UserBlockingPriority;
11432
+ break;
11433
+ case 32:
11434
+ suspendedLanes = NormalPriority$1;
11435
+ break;
11436
+ case 268435456:
11437
+ suspendedLanes = IdlePriority;
11438
+ break;
11439
+ default:
11440
+ suspendedLanes = NormalPriority$1;
11441
+ }
11442
+ pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
11443
+ suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);
11444
+ root.callbackPriority = currentTime;
11445
+ root.callbackNode = suspendedLanes;
11446
+ return currentTime;
11447
+ }
11448
+ null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes);
11449
+ root.callbackPriority = 2;
11450
+ root.callbackNode = null;
11451
+ return 2;
11389
11452
  }
11390
11453
  function performWorkOnRootViaSchedulerTask(root, didTimeout) {
11391
11454
  var originalCallbackNode = root.callbackNode;
@@ -11514,20 +11577,20 @@ function extractEvents$1(
11514
11577
  }
11515
11578
  }
11516
11579
  for (
11517
- var i$jscomp$inline_1430 = 0;
11518
- i$jscomp$inline_1430 < simpleEventPluginEvents.length;
11519
- i$jscomp$inline_1430++
11580
+ var i$jscomp$inline_1438 = 0;
11581
+ i$jscomp$inline_1438 < simpleEventPluginEvents.length;
11582
+ i$jscomp$inline_1438++
11520
11583
  ) {
11521
- var eventName$jscomp$inline_1431 =
11522
- simpleEventPluginEvents[i$jscomp$inline_1430],
11523
- domEventName$jscomp$inline_1432 =
11524
- eventName$jscomp$inline_1431.toLowerCase(),
11525
- capitalizedEvent$jscomp$inline_1433 =
11526
- eventName$jscomp$inline_1431[0].toUpperCase() +
11527
- eventName$jscomp$inline_1431.slice(1);
11584
+ var eventName$jscomp$inline_1439 =
11585
+ simpleEventPluginEvents[i$jscomp$inline_1438],
11586
+ domEventName$jscomp$inline_1440 =
11587
+ eventName$jscomp$inline_1439.toLowerCase(),
11588
+ capitalizedEvent$jscomp$inline_1441 =
11589
+ eventName$jscomp$inline_1439[0].toUpperCase() +
11590
+ eventName$jscomp$inline_1439.slice(1);
11528
11591
  registerSimpleEvent(
11529
- domEventName$jscomp$inline_1432,
11530
- "on" + capitalizedEvent$jscomp$inline_1433
11592
+ domEventName$jscomp$inline_1440,
11593
+ "on" + capitalizedEvent$jscomp$inline_1441
11531
11594
  );
11532
11595
  }
11533
11596
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -12710,34 +12773,34 @@ function setInitialProperties(domElement, tag, props) {
12710
12773
  defaultChecked = null;
12711
12774
  for (hasSrc in props)
12712
12775
  if (props.hasOwnProperty(hasSrc)) {
12713
- var propValue$181 = props[hasSrc];
12714
- if (null != propValue$181)
12776
+ var propValue$185 = props[hasSrc];
12777
+ if (null != propValue$185)
12715
12778
  switch (hasSrc) {
12716
12779
  case "name":
12717
- hasSrcSet = propValue$181;
12780
+ hasSrcSet = propValue$185;
12718
12781
  break;
12719
12782
  case "type":
12720
- propValue = propValue$181;
12783
+ propValue = propValue$185;
12721
12784
  break;
12722
12785
  case "checked":
12723
- checked = propValue$181;
12786
+ checked = propValue$185;
12724
12787
  break;
12725
12788
  case "defaultChecked":
12726
- defaultChecked = propValue$181;
12789
+ defaultChecked = propValue$185;
12727
12790
  break;
12728
12791
  case "value":
12729
- propKey = propValue$181;
12792
+ propKey = propValue$185;
12730
12793
  break;
12731
12794
  case "defaultValue":
12732
- defaultValue = propValue$181;
12795
+ defaultValue = propValue$185;
12733
12796
  break;
12734
12797
  case "children":
12735
12798
  case "dangerouslySetInnerHTML":
12736
- if (null != propValue$181)
12799
+ if (null != propValue$185)
12737
12800
  throw Error(formatProdErrorMessage(137, tag));
12738
12801
  break;
12739
12802
  default:
12740
- setProp(domElement, tag, hasSrc, propValue$181, props, null);
12803
+ setProp(domElement, tag, hasSrc, propValue$185, props, null);
12741
12804
  }
12742
12805
  }
12743
12806
  initInput(
@@ -12874,14 +12937,14 @@ function setInitialProperties(domElement, tag, props) {
12874
12937
  return;
12875
12938
  default:
12876
12939
  if (isCustomElement(tag)) {
12877
- for (propValue$181 in props)
12878
- props.hasOwnProperty(propValue$181) &&
12879
- ((hasSrc = props[propValue$181]),
12940
+ for (propValue$185 in props)
12941
+ props.hasOwnProperty(propValue$185) &&
12942
+ ((hasSrc = props[propValue$185]),
12880
12943
  void 0 !== hasSrc &&
12881
12944
  setPropOnCustomElement(
12882
12945
  domElement,
12883
12946
  tag,
12884
- propValue$181,
12947
+ propValue$185,
12885
12948
  hasSrc,
12886
12949
  props,
12887
12950
  void 0
@@ -12929,14 +12992,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12929
12992
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
12930
12993
  }
12931
12994
  }
12932
- for (var propKey$198 in nextProps) {
12933
- var propKey = nextProps[propKey$198];
12934
- lastProp = lastProps[propKey$198];
12995
+ for (var propKey$202 in nextProps) {
12996
+ var propKey = nextProps[propKey$202];
12997
+ lastProp = lastProps[propKey$202];
12935
12998
  if (
12936
- nextProps.hasOwnProperty(propKey$198) &&
12999
+ nextProps.hasOwnProperty(propKey$202) &&
12937
13000
  (null != propKey || null != lastProp)
12938
13001
  )
12939
- switch (propKey$198) {
13002
+ switch (propKey$202) {
12940
13003
  case "type":
12941
13004
  type = propKey;
12942
13005
  break;
@@ -12965,7 +13028,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12965
13028
  setProp(
12966
13029
  domElement,
12967
13030
  tag,
12968
- propKey$198,
13031
+ propKey$202,
12969
13032
  propKey,
12970
13033
  nextProps,
12971
13034
  lastProp
@@ -12984,7 +13047,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12984
13047
  );
12985
13048
  return;
12986
13049
  case "select":
12987
- propKey = value = defaultValue = propKey$198 = null;
13050
+ propKey = value = defaultValue = propKey$202 = null;
12988
13051
  for (type in lastProps)
12989
13052
  if (
12990
13053
  ((lastDefaultValue = lastProps[type]),
@@ -13015,7 +13078,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13015
13078
  )
13016
13079
  switch (name) {
13017
13080
  case "value":
13018
- propKey$198 = type;
13081
+ propKey$202 = type;
13019
13082
  break;
13020
13083
  case "defaultValue":
13021
13084
  defaultValue = type;
@@ -13036,15 +13099,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13036
13099
  tag = defaultValue;
13037
13100
  lastProps = value;
13038
13101
  nextProps = propKey;
13039
- null != propKey$198
13040
- ? updateOptions(domElement, !!lastProps, propKey$198, !1)
13102
+ null != propKey$202
13103
+ ? updateOptions(domElement, !!lastProps, propKey$202, !1)
13041
13104
  : !!nextProps !== !!lastProps &&
13042
13105
  (null != tag
13043
13106
  ? updateOptions(domElement, !!lastProps, tag, !0)
13044
13107
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
13045
13108
  return;
13046
13109
  case "textarea":
13047
- propKey = propKey$198 = null;
13110
+ propKey = propKey$202 = null;
13048
13111
  for (defaultValue in lastProps)
13049
13112
  if (
13050
13113
  ((name = lastProps[defaultValue]),
@@ -13068,7 +13131,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13068
13131
  )
13069
13132
  switch (value) {
13070
13133
  case "value":
13071
- propKey$198 = name;
13134
+ propKey$202 = name;
13072
13135
  break;
13073
13136
  case "defaultValue":
13074
13137
  propKey = name;
@@ -13082,17 +13145,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13082
13145
  name !== type &&
13083
13146
  setProp(domElement, tag, value, name, nextProps, type);
13084
13147
  }
13085
- updateTextarea(domElement, propKey$198, propKey);
13148
+ updateTextarea(domElement, propKey$202, propKey);
13086
13149
  return;
13087
13150
  case "option":
13088
- for (var propKey$214 in lastProps)
13151
+ for (var propKey$218 in lastProps)
13089
13152
  if (
13090
- ((propKey$198 = lastProps[propKey$214]),
13091
- lastProps.hasOwnProperty(propKey$214) &&
13092
- null != propKey$198 &&
13093
- !nextProps.hasOwnProperty(propKey$214))
13153
+ ((propKey$202 = lastProps[propKey$218]),
13154
+ lastProps.hasOwnProperty(propKey$218) &&
13155
+ null != propKey$202 &&
13156
+ !nextProps.hasOwnProperty(propKey$218))
13094
13157
  )
13095
- switch (propKey$214) {
13158
+ switch (propKey$218) {
13096
13159
  case "selected":
13097
13160
  domElement.selected = !1;
13098
13161
  break;
@@ -13100,33 +13163,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13100
13163
  setProp(
13101
13164
  domElement,
13102
13165
  tag,
13103
- propKey$214,
13166
+ propKey$218,
13104
13167
  null,
13105
13168
  nextProps,
13106
- propKey$198
13169
+ propKey$202
13107
13170
  );
13108
13171
  }
13109
13172
  for (lastDefaultValue in nextProps)
13110
13173
  if (
13111
- ((propKey$198 = nextProps[lastDefaultValue]),
13174
+ ((propKey$202 = nextProps[lastDefaultValue]),
13112
13175
  (propKey = lastProps[lastDefaultValue]),
13113
13176
  nextProps.hasOwnProperty(lastDefaultValue) &&
13114
- propKey$198 !== propKey &&
13115
- (null != propKey$198 || null != propKey))
13177
+ propKey$202 !== propKey &&
13178
+ (null != propKey$202 || null != propKey))
13116
13179
  )
13117
13180
  switch (lastDefaultValue) {
13118
13181
  case "selected":
13119
13182
  domElement.selected =
13120
- propKey$198 &&
13121
- "function" !== typeof propKey$198 &&
13122
- "symbol" !== typeof propKey$198;
13183
+ propKey$202 &&
13184
+ "function" !== typeof propKey$202 &&
13185
+ "symbol" !== typeof propKey$202;
13123
13186
  break;
13124
13187
  default:
13125
13188
  setProp(
13126
13189
  domElement,
13127
13190
  tag,
13128
13191
  lastDefaultValue,
13129
- propKey$198,
13192
+ propKey$202,
13130
13193
  nextProps,
13131
13194
  propKey
13132
13195
  );
@@ -13147,24 +13210,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13147
13210
  case "track":
13148
13211
  case "wbr":
13149
13212
  case "menuitem":
13150
- for (var propKey$219 in lastProps)
13151
- (propKey$198 = lastProps[propKey$219]),
13152
- lastProps.hasOwnProperty(propKey$219) &&
13153
- null != propKey$198 &&
13154
- !nextProps.hasOwnProperty(propKey$219) &&
13155
- setProp(domElement, tag, propKey$219, null, nextProps, propKey$198);
13213
+ for (var propKey$223 in lastProps)
13214
+ (propKey$202 = lastProps[propKey$223]),
13215
+ lastProps.hasOwnProperty(propKey$223) &&
13216
+ null != propKey$202 &&
13217
+ !nextProps.hasOwnProperty(propKey$223) &&
13218
+ setProp(domElement, tag, propKey$223, null, nextProps, propKey$202);
13156
13219
  for (checked in nextProps)
13157
13220
  if (
13158
- ((propKey$198 = nextProps[checked]),
13221
+ ((propKey$202 = nextProps[checked]),
13159
13222
  (propKey = lastProps[checked]),
13160
13223
  nextProps.hasOwnProperty(checked) &&
13161
- propKey$198 !== propKey &&
13162
- (null != propKey$198 || null != propKey))
13224
+ propKey$202 !== propKey &&
13225
+ (null != propKey$202 || null != propKey))
13163
13226
  )
13164
13227
  switch (checked) {
13165
13228
  case "children":
13166
13229
  case "dangerouslySetInnerHTML":
13167
- if (null != propKey$198)
13230
+ if (null != propKey$202)
13168
13231
  throw Error(formatProdErrorMessage(137, tag));
13169
13232
  break;
13170
13233
  default:
@@ -13172,7 +13235,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13172
13235
  domElement,
13173
13236
  tag,
13174
13237
  checked,
13175
- propKey$198,
13238
+ propKey$202,
13176
13239
  nextProps,
13177
13240
  propKey
13178
13241
  );
@@ -13180,49 +13243,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13180
13243
  return;
13181
13244
  default:
13182
13245
  if (isCustomElement(tag)) {
13183
- for (var propKey$224 in lastProps)
13184
- (propKey$198 = lastProps[propKey$224]),
13185
- lastProps.hasOwnProperty(propKey$224) &&
13186
- void 0 !== propKey$198 &&
13187
- !nextProps.hasOwnProperty(propKey$224) &&
13246
+ for (var propKey$228 in lastProps)
13247
+ (propKey$202 = lastProps[propKey$228]),
13248
+ lastProps.hasOwnProperty(propKey$228) &&
13249
+ void 0 !== propKey$202 &&
13250
+ !nextProps.hasOwnProperty(propKey$228) &&
13188
13251
  setPropOnCustomElement(
13189
13252
  domElement,
13190
13253
  tag,
13191
- propKey$224,
13254
+ propKey$228,
13192
13255
  void 0,
13193
13256
  nextProps,
13194
- propKey$198
13257
+ propKey$202
13195
13258
  );
13196
13259
  for (defaultChecked in nextProps)
13197
- (propKey$198 = nextProps[defaultChecked]),
13260
+ (propKey$202 = nextProps[defaultChecked]),
13198
13261
  (propKey = lastProps[defaultChecked]),
13199
13262
  !nextProps.hasOwnProperty(defaultChecked) ||
13200
- propKey$198 === propKey ||
13201
- (void 0 === propKey$198 && void 0 === propKey) ||
13263
+ propKey$202 === propKey ||
13264
+ (void 0 === propKey$202 && void 0 === propKey) ||
13202
13265
  setPropOnCustomElement(
13203
13266
  domElement,
13204
13267
  tag,
13205
13268
  defaultChecked,
13206
- propKey$198,
13269
+ propKey$202,
13207
13270
  nextProps,
13208
13271
  propKey
13209
13272
  );
13210
13273
  return;
13211
13274
  }
13212
13275
  }
13213
- for (var propKey$229 in lastProps)
13214
- (propKey$198 = lastProps[propKey$229]),
13215
- lastProps.hasOwnProperty(propKey$229) &&
13216
- null != propKey$198 &&
13217
- !nextProps.hasOwnProperty(propKey$229) &&
13218
- setProp(domElement, tag, propKey$229, null, nextProps, propKey$198);
13276
+ for (var propKey$233 in lastProps)
13277
+ (propKey$202 = lastProps[propKey$233]),
13278
+ lastProps.hasOwnProperty(propKey$233) &&
13279
+ null != propKey$202 &&
13280
+ !nextProps.hasOwnProperty(propKey$233) &&
13281
+ setProp(domElement, tag, propKey$233, null, nextProps, propKey$202);
13219
13282
  for (lastProp in nextProps)
13220
- (propKey$198 = nextProps[lastProp]),
13283
+ (propKey$202 = nextProps[lastProp]),
13221
13284
  (propKey = lastProps[lastProp]),
13222
13285
  !nextProps.hasOwnProperty(lastProp) ||
13223
- propKey$198 === propKey ||
13224
- (null == propKey$198 && null == propKey) ||
13225
- setProp(domElement, tag, lastProp, propKey$198, nextProps, propKey);
13286
+ propKey$202 === propKey ||
13287
+ (null == propKey$202 && null == propKey) ||
13288
+ setProp(domElement, tag, lastProp, propKey$202, nextProps, propKey);
13226
13289
  }
13227
13290
  var eventsEnabled = null,
13228
13291
  selectionInformation = null;
@@ -13767,26 +13830,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
13767
13830
  "string" === typeof pendingProps.precedence
13768
13831
  ) {
13769
13832
  type = getStyleKey(pendingProps.href);
13770
- var styles$237 = getResourcesFromRoot(
13833
+ var styles$241 = getResourcesFromRoot(
13771
13834
  JSCompiler_inline_result
13772
13835
  ).hoistableStyles,
13773
- resource$238 = styles$237.get(type);
13774
- resource$238 ||
13836
+ resource$242 = styles$241.get(type);
13837
+ resource$242 ||
13775
13838
  ((JSCompiler_inline_result =
13776
13839
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
13777
- (resource$238 = {
13840
+ (resource$242 = {
13778
13841
  type: "stylesheet",
13779
13842
  instance: null,
13780
13843
  count: 0,
13781
13844
  state: { loading: 0, preload: null }
13782
13845
  }),
13783
- styles$237.set(type, resource$238),
13784
- (styles$237 = JSCompiler_inline_result.querySelector(
13846
+ styles$241.set(type, resource$242),
13847
+ (styles$241 = JSCompiler_inline_result.querySelector(
13785
13848
  getStylesheetSelectorFromKey(type)
13786
13849
  )) &&
13787
- !styles$237._p &&
13788
- ((resource$238.instance = styles$237),
13789
- (resource$238.state.loading = 5)),
13850
+ !styles$241._p &&
13851
+ ((resource$242.instance = styles$241),
13852
+ (resource$242.state.loading = 5)),
13790
13853
  preloadPropsMap.has(type) ||
13791
13854
  ((pendingProps = {
13792
13855
  rel: "preload",
@@ -13799,16 +13862,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
13799
13862
  referrerPolicy: pendingProps.referrerPolicy
13800
13863
  }),
13801
13864
  preloadPropsMap.set(type, pendingProps),
13802
- styles$237 ||
13865
+ styles$241 ||
13803
13866
  preloadStylesheet(
13804
13867
  JSCompiler_inline_result,
13805
13868
  type,
13806
13869
  pendingProps,
13807
- resource$238.state
13870
+ resource$242.state
13808
13871
  )));
13809
13872
  if (currentProps && null === currentResource)
13810
13873
  throw Error(formatProdErrorMessage(528, ""));
13811
- return resource$238;
13874
+ return resource$242;
13812
13875
  }
13813
13876
  if (currentProps && null !== currentResource)
13814
13877
  throw Error(formatProdErrorMessage(529, ""));
@@ -13905,37 +13968,37 @@ function acquireResource(hoistableRoot, resource, props) {
13905
13968
  return (resource.instance = instance);
13906
13969
  case "stylesheet":
13907
13970
  styleProps = getStyleKey(props.href);
13908
- var instance$243 = hoistableRoot.querySelector(
13971
+ var instance$247 = hoistableRoot.querySelector(
13909
13972
  getStylesheetSelectorFromKey(styleProps)
13910
13973
  );
13911
- if (instance$243)
13974
+ if (instance$247)
13912
13975
  return (
13913
13976
  (resource.state.loading |= 4),
13914
- (resource.instance = instance$243),
13915
- markNodeAsHoistable(instance$243),
13916
- instance$243
13977
+ (resource.instance = instance$247),
13978
+ markNodeAsHoistable(instance$247),
13979
+ instance$247
13917
13980
  );
13918
13981
  instance = stylesheetPropsFromRawProps(props);
13919
13982
  (styleProps = preloadPropsMap.get(styleProps)) &&
13920
13983
  adoptPreloadPropsForStylesheet(instance, styleProps);
13921
- instance$243 = (
13984
+ instance$247 = (
13922
13985
  hoistableRoot.ownerDocument || hoistableRoot
13923
13986
  ).createElement("link");
13924
- markNodeAsHoistable(instance$243);
13925
- var linkInstance = instance$243;
13987
+ markNodeAsHoistable(instance$247);
13988
+ var linkInstance = instance$247;
13926
13989
  linkInstance._p = new Promise(function (resolve, reject) {
13927
13990
  linkInstance.onload = resolve;
13928
13991
  linkInstance.onerror = reject;
13929
13992
  });
13930
- setInitialProperties(instance$243, "link", instance);
13993
+ setInitialProperties(instance$247, "link", instance);
13931
13994
  resource.state.loading |= 4;
13932
- insertStylesheet(instance$243, props.precedence, hoistableRoot);
13933
- return (resource.instance = instance$243);
13995
+ insertStylesheet(instance$247, props.precedence, hoistableRoot);
13996
+ return (resource.instance = instance$247);
13934
13997
  case "script":
13935
- instance$243 = getScriptKey(props.src);
13998
+ instance$247 = getScriptKey(props.src);
13936
13999
  if (
13937
14000
  (styleProps = hoistableRoot.querySelector(
13938
- getScriptSelectorFromKey(instance$243)
14001
+ getScriptSelectorFromKey(instance$247)
13939
14002
  ))
13940
14003
  )
13941
14004
  return (
@@ -13944,7 +14007,7 @@ function acquireResource(hoistableRoot, resource, props) {
13944
14007
  styleProps
13945
14008
  );
13946
14009
  instance = props;
13947
- if ((styleProps = preloadPropsMap.get(instance$243)))
14010
+ if ((styleProps = preloadPropsMap.get(instance$247)))
13948
14011
  (instance = assign({}, props)),
13949
14012
  adoptPreloadPropsForScript(instance, styleProps);
13950
14013
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -14968,16 +15031,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
14968
15031
  0 === i && attemptExplicitHydrationTarget(target);
14969
15032
  }
14970
15033
  };
14971
- var isomorphicReactPackageVersion$jscomp$inline_1677 = React.version;
15034
+ var isomorphicReactPackageVersion$jscomp$inline_1685 = React.version;
14972
15035
  if (
14973
- "19.0.0-rc-380f5d67-20241113" !==
14974
- isomorphicReactPackageVersion$jscomp$inline_1677
15036
+ "19.0.0-rc-e1ef8c95-20241115" !==
15037
+ isomorphicReactPackageVersion$jscomp$inline_1685
14975
15038
  )
14976
15039
  throw Error(
14977
15040
  formatProdErrorMessage(
14978
15041
  527,
14979
- isomorphicReactPackageVersion$jscomp$inline_1677,
14980
- "19.0.0-rc-380f5d67-20241113"
15042
+ isomorphicReactPackageVersion$jscomp$inline_1685,
15043
+ "19.0.0-rc-e1ef8c95-20241115"
14981
15044
  )
14982
15045
  );
14983
15046
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -14997,25 +15060,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
14997
15060
  null === componentOrElement ? null : componentOrElement.stateNode;
14998
15061
  return componentOrElement;
14999
15062
  };
15000
- var internals$jscomp$inline_2153 = {
15063
+ var internals$jscomp$inline_2164 = {
15001
15064
  bundleType: 0,
15002
- version: "19.0.0-rc-380f5d67-20241113",
15065
+ version: "19.0.0-rc-e1ef8c95-20241115",
15003
15066
  rendererPackageName: "react-dom",
15004
15067
  currentDispatcherRef: ReactSharedInternals,
15005
15068
  findFiberByHostInstance: getClosestInstanceFromNode,
15006
- reconcilerVersion: "19.0.0-rc-380f5d67-20241113"
15069
+ reconcilerVersion: "19.0.0-rc-e1ef8c95-20241115"
15007
15070
  };
15008
15071
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15009
- var hook$jscomp$inline_2154 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15072
+ var hook$jscomp$inline_2165 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15010
15073
  if (
15011
- !hook$jscomp$inline_2154.isDisabled &&
15012
- hook$jscomp$inline_2154.supportsFiber
15074
+ !hook$jscomp$inline_2165.isDisabled &&
15075
+ hook$jscomp$inline_2165.supportsFiber
15013
15076
  )
15014
15077
  try {
15015
- (rendererID = hook$jscomp$inline_2154.inject(
15016
- internals$jscomp$inline_2153
15078
+ (rendererID = hook$jscomp$inline_2165.inject(
15079
+ internals$jscomp$inline_2164
15017
15080
  )),
15018
- (injectedHook = hook$jscomp$inline_2154);
15081
+ (injectedHook = hook$jscomp$inline_2165);
15019
15082
  } catch (err) {}
15020
15083
  }
15021
15084
  exports.createRoot = function (container, options) {
@@ -15107,4 +15170,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15107
15170
  listenToAllSupportedEvents(container);
15108
15171
  return new ReactDOMHydrationRoot(initialChildren);
15109
15172
  };
15110
- exports.version = "19.0.0-rc-380f5d67-20241113";
15173
+ exports.version = "19.0.0-rc-e1ef8c95-20241115";