react-dom 19.1.0-canary-3b009b4c-20250102 → 19.1.0-canary-7b402084-20250107

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.
@@ -2096,19 +2096,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2096
2096
  }
2097
2097
  var isInputEventSupported = !1;
2098
2098
  if (canUseDOM) {
2099
- var JSCompiler_inline_result$jscomp$297;
2099
+ var JSCompiler_inline_result$jscomp$296;
2100
2100
  if (canUseDOM) {
2101
- var isSupported$jscomp$inline_429 = "oninput" in document;
2102
- if (!isSupported$jscomp$inline_429) {
2103
- var element$jscomp$inline_430 = document.createElement("div");
2104
- element$jscomp$inline_430.setAttribute("oninput", "return;");
2105
- isSupported$jscomp$inline_429 =
2106
- "function" === typeof element$jscomp$inline_430.oninput;
2101
+ var isSupported$jscomp$inline_428 = "oninput" in document;
2102
+ if (!isSupported$jscomp$inline_428) {
2103
+ var element$jscomp$inline_429 = document.createElement("div");
2104
+ element$jscomp$inline_429.setAttribute("oninput", "return;");
2105
+ isSupported$jscomp$inline_428 =
2106
+ "function" === typeof element$jscomp$inline_429.oninput;
2107
2107
  }
2108
- JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_429;
2109
- } else JSCompiler_inline_result$jscomp$297 = !1;
2108
+ JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_428;
2109
+ } else JSCompiler_inline_result$jscomp$296 = !1;
2110
2110
  isInputEventSupported =
2111
- JSCompiler_inline_result$jscomp$297 &&
2111
+ JSCompiler_inline_result$jscomp$296 &&
2112
2112
  (!document.documentMode || 9 < document.documentMode);
2113
2113
  }
2114
2114
  function stopWatchingForValueChange() {
@@ -8666,7 +8666,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8666
8666
  if (
8667
8667
  ((hoistableRoot = maybeNodes[i]),
8668
8668
  hoistableRoot.getAttribute("href") ===
8669
- (null == current.href ? null : current.href) &&
8669
+ (null == current.href || "" === current.href
8670
+ ? null
8671
+ : current.href) &&
8670
8672
  hoistableRoot.getAttribute("rel") ===
8671
8673
  (null == current.rel ? null : current.rel) &&
8672
8674
  hoistableRoot.getAttribute("title") ===
@@ -10677,10 +10679,13 @@ var DefaultAsyncDispatcher = {
10677
10679
  workInProgressRootRenderTargetTime = Infinity,
10678
10680
  workInProgressTransitions = null,
10679
10681
  legacyErrorBoundariesThatAlreadyFailed = null,
10680
- rootWithPendingPassiveEffects = null,
10681
- pendingPassiveEffectsLanes = 0,
10682
- pendingPassiveEffectsRemainingLanes = 0,
10682
+ pendingEffectsStatus = 0,
10683
+ pendingEffectsRoot = null,
10684
+ pendingFinishedWork = null,
10685
+ pendingEffectsLanes = 0,
10686
+ pendingEffectsRemainingLanes = 0,
10683
10687
  pendingPassiveTransitions = null,
10688
+ pendingRecoverableErrors = null,
10684
10689
  nestedUpdateCount = 0,
10685
10690
  rootWithNestedUpdates = null;
10686
10691
  function requestUpdateLane() {
@@ -11548,8 +11553,8 @@ function commitRoot(
11548
11553
  suspendedRetryLanes
11549
11554
  ) {
11550
11555
  root.cancelPendingCommit = null;
11551
- do flushPassiveEffects();
11552
- while (null !== rootWithPendingPassiveEffects);
11556
+ do flushPendingEffects();
11557
+ while (0 !== pendingEffectsStatus);
11553
11558
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
11554
11559
  null !== injectedProfilingHooks &&
11555
11560
  "function" === typeof injectedProfilingHooks.markCommitStarted &&
@@ -11570,11 +11575,15 @@ function commitRoot(
11570
11575
  root === workInProgressRoot &&
11571
11576
  ((workInProgress = workInProgressRoot = null),
11572
11577
  (workInProgressRootRenderLanes = 0));
11578
+ pendingFinishedWork = finishedWork;
11579
+ pendingEffectsRoot = root;
11580
+ pendingEffectsLanes = lanes;
11581
+ pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
11582
+ pendingPassiveTransitions = transitions;
11583
+ pendingRecoverableErrors = recoverableErrors;
11573
11584
  0 !== (finishedWork.subtreeFlags & 10256) ||
11574
11585
  0 !== (finishedWork.flags & 10256)
11575
- ? ((pendingPassiveEffectsRemainingLanes = didIncludeRenderPhaseUpdate),
11576
- (pendingPassiveTransitions = transitions),
11577
- (root.callbackNode = null),
11586
+ ? ((root.callbackNode = null),
11578
11587
  (root.callbackPriority = 0),
11579
11588
  scheduleCallback$1(NormalPriority$1, function () {
11580
11589
  flushPassiveEffects(!0);
@@ -11582,238 +11591,260 @@ function commitRoot(
11582
11591
  }))
11583
11592
  : ((root.callbackNode = null), (root.callbackPriority = 0));
11584
11593
  commitStartTime = now();
11585
- transitions = 0 !== (finishedWork.flags & 13878);
11586
- if (0 !== (finishedWork.subtreeFlags & 13878) || transitions) {
11587
- transitions = ReactSharedInternals.T;
11594
+ lanes = 0 !== (finishedWork.flags & 13878);
11595
+ if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
11596
+ lanes = ReactSharedInternals.T;
11588
11597
  ReactSharedInternals.T = null;
11589
- spawnedLane = ReactDOMSharedInternals.p;
11598
+ recoverableErrors = ReactDOMSharedInternals.p;
11590
11599
  ReactDOMSharedInternals.p = 2;
11591
- updatedLanes = executionContext;
11600
+ transitions = executionContext;
11592
11601
  executionContext |= 4;
11593
11602
  try {
11594
11603
  commitBeforeMutationEffects(root, finishedWork);
11595
11604
  } finally {
11596
- (executionContext = updatedLanes),
11597
- (ReactDOMSharedInternals.p = spawnedLane),
11598
- (ReactSharedInternals.T = transitions);
11605
+ (executionContext = transitions),
11606
+ (ReactDOMSharedInternals.p = recoverableErrors),
11607
+ (ReactSharedInternals.T = lanes);
11599
11608
  }
11600
11609
  }
11601
- flushMutationEffects(root, finishedWork, lanes);
11602
- flushLayoutEffects(root, finishedWork, lanes, recoverableErrors);
11603
- }
11604
- }
11605
- function flushMutationEffects(root, finishedWork, lanes) {
11606
- var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
11607
- if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
11608
- rootMutationHasEffect = ReactSharedInternals.T;
11609
- ReactSharedInternals.T = null;
11610
- var previousPriority = ReactDOMSharedInternals.p;
11611
- ReactDOMSharedInternals.p = 2;
11612
- var prevExecutionContext = executionContext;
11613
- executionContext |= 4;
11614
- try {
11615
- inProgressLanes = lanes;
11616
- inProgressRoot = root;
11617
- commitMutationEffectsOnFiber(finishedWork, root);
11618
- inProgressRoot = inProgressLanes = null;
11619
- lanes = selectionInformation;
11620
- var curFocusedElem = getActiveElementDeep(root.containerInfo),
11621
- priorFocusedElem = lanes.focusedElem,
11622
- priorSelectionRange = lanes.selectionRange;
11623
- if (
11624
- curFocusedElem !== priorFocusedElem &&
11625
- priorFocusedElem &&
11626
- priorFocusedElem.ownerDocument &&
11627
- containsNode(
11628
- priorFocusedElem.ownerDocument.documentElement,
11629
- priorFocusedElem
11630
- )
11631
- ) {
11610
+ pendingEffectsStatus = 1;
11611
+ flushMutationEffects();
11612
+ flushLayoutEffects();
11613
+ }
11614
+ }
11615
+ function flushMutationEffects() {
11616
+ if (1 === pendingEffectsStatus) {
11617
+ pendingEffectsStatus = 0;
11618
+ var root = pendingEffectsRoot,
11619
+ finishedWork = pendingFinishedWork,
11620
+ lanes = pendingEffectsLanes,
11621
+ rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
11622
+ if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
11623
+ rootMutationHasEffect = ReactSharedInternals.T;
11624
+ ReactSharedInternals.T = null;
11625
+ var previousPriority = ReactDOMSharedInternals.p;
11626
+ ReactDOMSharedInternals.p = 2;
11627
+ var prevExecutionContext = executionContext;
11628
+ executionContext |= 4;
11629
+ try {
11630
+ inProgressLanes = lanes;
11631
+ inProgressRoot = root;
11632
+ commitMutationEffectsOnFiber(finishedWork, root);
11633
+ inProgressRoot = inProgressLanes = null;
11634
+ lanes = selectionInformation;
11635
+ var curFocusedElem = getActiveElementDeep(root.containerInfo),
11636
+ priorFocusedElem = lanes.focusedElem,
11637
+ priorSelectionRange = lanes.selectionRange;
11632
11638
  if (
11633
- null !== priorSelectionRange &&
11634
- hasSelectionCapabilities(priorFocusedElem)
11639
+ curFocusedElem !== priorFocusedElem &&
11640
+ priorFocusedElem &&
11641
+ priorFocusedElem.ownerDocument &&
11642
+ containsNode(
11643
+ priorFocusedElem.ownerDocument.documentElement,
11644
+ priorFocusedElem
11645
+ )
11635
11646
  ) {
11636
- var start = priorSelectionRange.start,
11637
- end = priorSelectionRange.end;
11638
- void 0 === end && (end = start);
11639
- if ("selectionStart" in priorFocusedElem)
11640
- (priorFocusedElem.selectionStart = start),
11641
- (priorFocusedElem.selectionEnd = Math.min(
11642
- end,
11643
- priorFocusedElem.value.length
11644
- ));
11645
- else {
11646
- var doc = priorFocusedElem.ownerDocument || document,
11647
- win = (doc && doc.defaultView) || window;
11648
- if (win.getSelection) {
11649
- var selection = win.getSelection(),
11650
- length = priorFocusedElem.textContent.length,
11651
- start$jscomp$0 = Math.min(priorSelectionRange.start, length),
11652
- end$jscomp$0 =
11653
- void 0 === priorSelectionRange.end
11654
- ? start$jscomp$0
11655
- : Math.min(priorSelectionRange.end, length);
11656
- !selection.extend &&
11657
- start$jscomp$0 > end$jscomp$0 &&
11658
- ((curFocusedElem = end$jscomp$0),
11659
- (end$jscomp$0 = start$jscomp$0),
11660
- (start$jscomp$0 = curFocusedElem));
11661
- var startMarker = getNodeForCharacterOffset(
11662
- priorFocusedElem,
11663
- start$jscomp$0
11664
- ),
11665
- endMarker = getNodeForCharacterOffset(
11666
- priorFocusedElem,
11667
- end$jscomp$0
11668
- );
11669
- if (
11670
- startMarker &&
11671
- endMarker &&
11672
- (1 !== selection.rangeCount ||
11673
- selection.anchorNode !== startMarker.node ||
11674
- selection.anchorOffset !== startMarker.offset ||
11675
- selection.focusNode !== endMarker.node ||
11676
- selection.focusOffset !== endMarker.offset)
11677
- ) {
11678
- var range = doc.createRange();
11679
- range.setStart(startMarker.node, startMarker.offset);
11680
- selection.removeAllRanges();
11681
- start$jscomp$0 > end$jscomp$0
11682
- ? (selection.addRange(range),
11683
- selection.extend(endMarker.node, endMarker.offset))
11684
- : (range.setEnd(endMarker.node, endMarker.offset),
11685
- selection.addRange(range));
11647
+ if (
11648
+ null !== priorSelectionRange &&
11649
+ hasSelectionCapabilities(priorFocusedElem)
11650
+ ) {
11651
+ var start = priorSelectionRange.start,
11652
+ end = priorSelectionRange.end;
11653
+ void 0 === end && (end = start);
11654
+ if ("selectionStart" in priorFocusedElem)
11655
+ (priorFocusedElem.selectionStart = start),
11656
+ (priorFocusedElem.selectionEnd = Math.min(
11657
+ end,
11658
+ priorFocusedElem.value.length
11659
+ ));
11660
+ else {
11661
+ var doc = priorFocusedElem.ownerDocument || document,
11662
+ win = (doc && doc.defaultView) || window;
11663
+ if (win.getSelection) {
11664
+ var selection = win.getSelection(),
11665
+ length = priorFocusedElem.textContent.length,
11666
+ start$jscomp$0 = Math.min(priorSelectionRange.start, length),
11667
+ end$jscomp$0 =
11668
+ void 0 === priorSelectionRange.end
11669
+ ? start$jscomp$0
11670
+ : Math.min(priorSelectionRange.end, length);
11671
+ !selection.extend &&
11672
+ start$jscomp$0 > end$jscomp$0 &&
11673
+ ((curFocusedElem = end$jscomp$0),
11674
+ (end$jscomp$0 = start$jscomp$0),
11675
+ (start$jscomp$0 = curFocusedElem));
11676
+ var startMarker = getNodeForCharacterOffset(
11677
+ priorFocusedElem,
11678
+ start$jscomp$0
11679
+ ),
11680
+ endMarker = getNodeForCharacterOffset(
11681
+ priorFocusedElem,
11682
+ end$jscomp$0
11683
+ );
11684
+ if (
11685
+ startMarker &&
11686
+ endMarker &&
11687
+ (1 !== selection.rangeCount ||
11688
+ selection.anchorNode !== startMarker.node ||
11689
+ selection.anchorOffset !== startMarker.offset ||
11690
+ selection.focusNode !== endMarker.node ||
11691
+ selection.focusOffset !== endMarker.offset)
11692
+ ) {
11693
+ var range = doc.createRange();
11694
+ range.setStart(startMarker.node, startMarker.offset);
11695
+ selection.removeAllRanges();
11696
+ start$jscomp$0 > end$jscomp$0
11697
+ ? (selection.addRange(range),
11698
+ selection.extend(endMarker.node, endMarker.offset))
11699
+ : (range.setEnd(endMarker.node, endMarker.offset),
11700
+ selection.addRange(range));
11701
+ }
11686
11702
  }
11687
11703
  }
11688
11704
  }
11705
+ doc = [];
11706
+ for (
11707
+ selection = priorFocusedElem;
11708
+ (selection = selection.parentNode);
11709
+
11710
+ )
11711
+ 1 === selection.nodeType &&
11712
+ doc.push({
11713
+ element: selection,
11714
+ left: selection.scrollLeft,
11715
+ top: selection.scrollTop
11716
+ });
11717
+ "function" === typeof priorFocusedElem.focus &&
11718
+ priorFocusedElem.focus();
11719
+ for (
11720
+ priorFocusedElem = 0;
11721
+ priorFocusedElem < doc.length;
11722
+ priorFocusedElem++
11723
+ ) {
11724
+ var info = doc[priorFocusedElem];
11725
+ info.element.scrollLeft = info.left;
11726
+ info.element.scrollTop = info.top;
11727
+ }
11689
11728
  }
11690
- doc = [];
11691
- for (selection = priorFocusedElem; (selection = selection.parentNode); )
11692
- 1 === selection.nodeType &&
11693
- doc.push({
11694
- element: selection,
11695
- left: selection.scrollLeft,
11696
- top: selection.scrollTop
11697
- });
11698
- "function" === typeof priorFocusedElem.focus &&
11699
- priorFocusedElem.focus();
11700
- for (
11701
- priorFocusedElem = 0;
11702
- priorFocusedElem < doc.length;
11703
- priorFocusedElem++
11704
- ) {
11705
- var info = doc[priorFocusedElem];
11706
- info.element.scrollLeft = info.left;
11707
- info.element.scrollTop = info.top;
11708
- }
11729
+ _enabled = !!eventsEnabled;
11730
+ selectionInformation = eventsEnabled = null;
11731
+ } finally {
11732
+ (executionContext = prevExecutionContext),
11733
+ (ReactDOMSharedInternals.p = previousPriority),
11734
+ (ReactSharedInternals.T = rootMutationHasEffect);
11709
11735
  }
11710
- _enabled = !!eventsEnabled;
11711
- selectionInformation = eventsEnabled = null;
11712
- } finally {
11713
- (executionContext = prevExecutionContext),
11714
- (ReactDOMSharedInternals.p = previousPriority),
11715
- (ReactSharedInternals.T = rootMutationHasEffect);
11716
11736
  }
11717
- }
11718
- root.current = finishedWork;
11719
- }
11720
- function flushLayoutEffects(root, finishedWork, lanes, recoverableErrors) {
11721
- var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
11722
- if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
11723
- rootHasLayoutEffect = ReactSharedInternals.T;
11724
- ReactSharedInternals.T = null;
11725
- var previousPriority = ReactDOMSharedInternals.p;
11726
- ReactDOMSharedInternals.p = 2;
11727
- var prevExecutionContext = executionContext;
11728
- executionContext |= 4;
11729
- try {
11730
- null !== injectedProfilingHooks &&
11731
- "function" === typeof injectedProfilingHooks.markLayoutEffectsStarted &&
11732
- injectedProfilingHooks.markLayoutEffectsStarted(lanes),
11733
- (inProgressLanes = lanes),
11734
- (inProgressRoot = root),
11735
- commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
11736
- (inProgressRoot = inProgressLanes = null),
11737
+ root.current = finishedWork;
11738
+ pendingEffectsStatus = 2;
11739
+ }
11740
+ }
11741
+ function flushLayoutEffects() {
11742
+ if (2 === pendingEffectsStatus) {
11743
+ pendingEffectsStatus = 0;
11744
+ var root = pendingEffectsRoot,
11745
+ finishedWork = pendingFinishedWork,
11746
+ lanes = pendingEffectsLanes,
11747
+ recoverableErrors = pendingRecoverableErrors,
11748
+ rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
11749
+ if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
11750
+ rootHasLayoutEffect = ReactSharedInternals.T;
11751
+ ReactSharedInternals.T = null;
11752
+ var previousPriority = ReactDOMSharedInternals.p;
11753
+ ReactDOMSharedInternals.p = 2;
11754
+ var prevExecutionContext = executionContext;
11755
+ executionContext |= 4;
11756
+ try {
11737
11757
  null !== injectedProfilingHooks &&
11738
11758
  "function" ===
11739
- typeof injectedProfilingHooks.markLayoutEffectsStopped &&
11740
- injectedProfilingHooks.markLayoutEffectsStopped();
11741
- } finally {
11742
- (executionContext = prevExecutionContext),
11743
- (ReactDOMSharedInternals.p = previousPriority),
11744
- (ReactSharedInternals.T = rootHasLayoutEffect);
11745
- }
11746
- }
11747
- requestPaint();
11748
- 0 !== (finishedWork.subtreeFlags & 10256) ||
11749
- 0 !== (finishedWork.flags & 10256)
11750
- ? ((rootWithPendingPassiveEffects = root),
11751
- (pendingPassiveEffectsLanes = lanes))
11752
- : releaseRootPooledCache(root, root.pendingLanes);
11753
- rootHasLayoutEffect = root.pendingLanes;
11754
- 0 === rootHasLayoutEffect && (legacyErrorBoundariesThatAlreadyFailed = null);
11755
- rootHasLayoutEffect = lanesToEventPriority(lanes);
11756
- finishedWork = finishedWork.stateNode;
11757
- if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
11758
- try {
11759
- var didError = 128 === (finishedWork.current.flags & 128);
11760
- switch (rootHasLayoutEffect) {
11761
- case 2:
11762
- var schedulerPriority = ImmediatePriority;
11763
- break;
11764
- case 8:
11765
- schedulerPriority = UserBlockingPriority;
11766
- break;
11767
- case 32:
11768
- schedulerPriority = NormalPriority$1;
11769
- break;
11770
- case 268435456:
11771
- schedulerPriority = IdlePriority;
11772
- break;
11773
- default:
11774
- schedulerPriority = NormalPriority$1;
11759
+ typeof injectedProfilingHooks.markLayoutEffectsStarted &&
11760
+ injectedProfilingHooks.markLayoutEffectsStarted(lanes),
11761
+ (inProgressLanes = lanes),
11762
+ (inProgressRoot = root),
11763
+ commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
11764
+ (inProgressRoot = inProgressLanes = null),
11765
+ null !== injectedProfilingHooks &&
11766
+ "function" ===
11767
+ typeof injectedProfilingHooks.markLayoutEffectsStopped &&
11768
+ injectedProfilingHooks.markLayoutEffectsStopped();
11769
+ } finally {
11770
+ (executionContext = prevExecutionContext),
11771
+ (ReactDOMSharedInternals.p = previousPriority),
11772
+ (ReactSharedInternals.T = rootHasLayoutEffect);
11775
11773
  }
11776
- injectedHook.onCommitFiberRoot(
11777
- rendererID,
11778
- finishedWork,
11779
- schedulerPriority,
11780
- didError
11781
- );
11782
- } catch (err) {}
11783
- isDevToolsPresent && root.memoizedUpdaters.clear();
11784
- if (null !== recoverableErrors) {
11785
- didError = ReactSharedInternals.T;
11786
- schedulerPriority = ReactDOMSharedInternals.p;
11787
- ReactDOMSharedInternals.p = 2;
11788
- ReactSharedInternals.T = null;
11789
- try {
11790
- var onRecoverableError = root.onRecoverableError;
11791
- for (
11792
- finishedWork = 0;
11793
- finishedWork < recoverableErrors.length;
11794
- finishedWork++
11795
- ) {
11796
- var recoverableError = recoverableErrors[finishedWork];
11797
- onRecoverableError(recoverableError.value, {
11798
- componentStack: recoverableError.stack
11799
- });
11774
+ }
11775
+ requestPaint();
11776
+ 0 !== (finishedWork.subtreeFlags & 10256) ||
11777
+ 0 !== (finishedWork.flags & 10256)
11778
+ ? (pendingEffectsStatus = 3)
11779
+ : ((pendingEffectsStatus = 0),
11780
+ (pendingEffectsRoot = null),
11781
+ releaseRootPooledCache(root, root.pendingLanes));
11782
+ rootHasLayoutEffect = root.pendingLanes;
11783
+ 0 === rootHasLayoutEffect &&
11784
+ (legacyErrorBoundariesThatAlreadyFailed = null);
11785
+ rootHasLayoutEffect = lanesToEventPriority(lanes);
11786
+ finishedWork = finishedWork.stateNode;
11787
+ if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
11788
+ try {
11789
+ var didError = 128 === (finishedWork.current.flags & 128);
11790
+ switch (rootHasLayoutEffect) {
11791
+ case 2:
11792
+ var schedulerPriority = ImmediatePriority;
11793
+ break;
11794
+ case 8:
11795
+ schedulerPriority = UserBlockingPriority;
11796
+ break;
11797
+ case 32:
11798
+ schedulerPriority = NormalPriority$1;
11799
+ break;
11800
+ case 268435456:
11801
+ schedulerPriority = IdlePriority;
11802
+ break;
11803
+ default:
11804
+ schedulerPriority = NormalPriority$1;
11805
+ }
11806
+ injectedHook.onCommitFiberRoot(
11807
+ rendererID,
11808
+ finishedWork,
11809
+ schedulerPriority,
11810
+ didError
11811
+ );
11812
+ } catch (err) {}
11813
+ isDevToolsPresent && root.memoizedUpdaters.clear();
11814
+ if (null !== recoverableErrors) {
11815
+ didError = ReactSharedInternals.T;
11816
+ schedulerPriority = ReactDOMSharedInternals.p;
11817
+ ReactDOMSharedInternals.p = 2;
11818
+ ReactSharedInternals.T = null;
11819
+ try {
11820
+ var onRecoverableError = root.onRecoverableError;
11821
+ for (
11822
+ finishedWork = 0;
11823
+ finishedWork < recoverableErrors.length;
11824
+ finishedWork++
11825
+ ) {
11826
+ var recoverableError = recoverableErrors[finishedWork];
11827
+ onRecoverableError(recoverableError.value, {
11828
+ componentStack: recoverableError.stack
11829
+ });
11830
+ }
11831
+ } finally {
11832
+ (ReactSharedInternals.T = didError),
11833
+ (ReactDOMSharedInternals.p = schedulerPriority);
11800
11834
  }
11801
- } finally {
11802
- (ReactSharedInternals.T = didError),
11803
- (ReactDOMSharedInternals.p = schedulerPriority);
11804
11835
  }
11836
+ 0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
11837
+ ensureRootIsScheduled(root);
11838
+ rootHasLayoutEffect = root.pendingLanes;
11839
+ 0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
11840
+ ? ((nestedUpdateScheduled = !0),
11841
+ root === rootWithNestedUpdates
11842
+ ? nestedUpdateCount++
11843
+ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
11844
+ : (nestedUpdateCount = 0);
11845
+ flushSyncWorkAcrossRoots_impl(0, !1);
11846
+ markCommitStopped();
11805
11847
  }
11806
- 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
11807
- ensureRootIsScheduled(root);
11808
- rootHasLayoutEffect = root.pendingLanes;
11809
- 0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
11810
- ? ((nestedUpdateScheduled = !0),
11811
- root === rootWithNestedUpdates
11812
- ? nestedUpdateCount++
11813
- : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
11814
- : (nestedUpdateCount = 0);
11815
- flushSyncWorkAcrossRoots_impl(0, !1);
11816
- markCommitStopped();
11817
11848
  }
11818
11849
  function releaseRootPooledCache(root, remainingLanes) {
11819
11850
  0 === (root.pooledCacheLanes &= remainingLanes) &&
@@ -11821,62 +11852,63 @@ function releaseRootPooledCache(root, remainingLanes) {
11821
11852
  null != remainingLanes &&
11822
11853
  ((root.pooledCache = null), releaseCache(remainingLanes)));
11823
11854
  }
11855
+ function flushPendingEffects(wasDelayedCommit) {
11856
+ flushMutationEffects();
11857
+ flushLayoutEffects();
11858
+ return flushPassiveEffects(wasDelayedCommit);
11859
+ }
11824
11860
  function flushPassiveEffects() {
11825
- if (null !== rootWithPendingPassiveEffects) {
11826
- var root$186 = rootWithPendingPassiveEffects,
11827
- remainingLanes = pendingPassiveEffectsRemainingLanes;
11828
- pendingPassiveEffectsRemainingLanes = 0;
11829
- var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
11830
- prevTransition = ReactSharedInternals.T,
11831
- previousPriority = ReactDOMSharedInternals.p;
11832
- try {
11833
- ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;
11834
- ReactSharedInternals.T = null;
11835
- if (null === rootWithPendingPassiveEffects)
11836
- var JSCompiler_inline_result = !1;
11837
- else {
11838
- renderPriority = pendingPassiveTransitions;
11839
- pendingPassiveTransitions = null;
11840
- var root = rootWithPendingPassiveEffects,
11841
- lanes = pendingPassiveEffectsLanes;
11842
- rootWithPendingPassiveEffects = null;
11843
- pendingPassiveEffectsLanes = 0;
11844
- if (0 !== (executionContext & 6))
11845
- throw Error(formatProdErrorMessage(331));
11846
- null !== injectedProfilingHooks &&
11847
- "function" ===
11848
- typeof injectedProfilingHooks.markPassiveEffectsStarted &&
11849
- injectedProfilingHooks.markPassiveEffectsStarted(lanes);
11850
- var prevExecutionContext = executionContext;
11851
- executionContext |= 4;
11852
- commitPassiveUnmountOnFiber(root.current);
11853
- commitPassiveMountOnFiber(root, root.current, lanes, renderPriority);
11854
- null !== injectedProfilingHooks &&
11855
- "function" ===
11856
- typeof injectedProfilingHooks.markPassiveEffectsStopped &&
11857
- injectedProfilingHooks.markPassiveEffectsStopped();
11858
- executionContext = prevExecutionContext;
11859
- flushSyncWorkAcrossRoots_impl(0, !1);
11860
- if (
11861
- injectedHook &&
11862
- "function" === typeof injectedHook.onPostCommitFiberRoot
11863
- )
11864
- try {
11865
- injectedHook.onPostCommitFiberRoot(rendererID, root);
11866
- } catch (err) {}
11867
- var stateNode = root.current.stateNode;
11868
- stateNode.effectDuration = 0;
11869
- stateNode.passiveEffectDuration = 0;
11870
- JSCompiler_inline_result = !0;
11871
- }
11872
- return JSCompiler_inline_result;
11873
- } finally {
11874
- (ReactDOMSharedInternals.p = previousPriority),
11875
- (ReactSharedInternals.T = prevTransition),
11876
- releaseRootPooledCache(root$186, remainingLanes);
11877
- }
11861
+ if (3 !== pendingEffectsStatus) return !1;
11862
+ var root = pendingEffectsRoot,
11863
+ remainingLanes = pendingEffectsRemainingLanes;
11864
+ pendingEffectsRemainingLanes = 0;
11865
+ var renderPriority = lanesToEventPriority(pendingEffectsLanes),
11866
+ prevTransition = ReactSharedInternals.T,
11867
+ previousPriority = ReactDOMSharedInternals.p;
11868
+ try {
11869
+ ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;
11870
+ ReactSharedInternals.T = null;
11871
+ renderPriority = pendingPassiveTransitions;
11872
+ pendingPassiveTransitions = null;
11873
+ var root$jscomp$0 = pendingEffectsRoot,
11874
+ lanes = pendingEffectsLanes;
11875
+ pendingEffectsStatus = 0;
11876
+ pendingEffectsRoot = null;
11877
+ pendingEffectsLanes = 0;
11878
+ if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));
11879
+ null !== injectedProfilingHooks &&
11880
+ "function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
11881
+ injectedProfilingHooks.markPassiveEffectsStarted(lanes);
11882
+ var prevExecutionContext = executionContext;
11883
+ executionContext |= 4;
11884
+ commitPassiveUnmountOnFiber(root$jscomp$0.current);
11885
+ commitPassiveMountOnFiber(
11886
+ root$jscomp$0,
11887
+ root$jscomp$0.current,
11888
+ lanes,
11889
+ renderPriority
11890
+ );
11891
+ null !== injectedProfilingHooks &&
11892
+ "function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
11893
+ injectedProfilingHooks.markPassiveEffectsStopped();
11894
+ executionContext = prevExecutionContext;
11895
+ flushSyncWorkAcrossRoots_impl(0, !1);
11896
+ if (
11897
+ injectedHook &&
11898
+ "function" === typeof injectedHook.onPostCommitFiberRoot
11899
+ )
11900
+ try {
11901
+ injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
11902
+ } catch (err) {}
11903
+ var stateNode = root$jscomp$0.current.stateNode;
11904
+ stateNode.effectDuration = 0;
11905
+ stateNode.passiveEffectDuration = 0;
11906
+ return !0;
11907
+ } finally {
11908
+ (ReactDOMSharedInternals.p = previousPriority),
11909
+ (ReactSharedInternals.T = prevTransition),
11910
+ releaseRootPooledCache(root, remainingLanes);
11878
11911
  }
11879
- return !1;
11880
11912
  }
11881
11913
  function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
11882
11914
  sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
@@ -12022,14 +12054,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12022
12054
  isFlushingWork = !0;
12023
12055
  do {
12024
12056
  var didPerformSomeWork = !1;
12025
- for (var root$188 = firstScheduledRoot; null !== root$188; ) {
12057
+ for (var root$187 = firstScheduledRoot; null !== root$187; ) {
12026
12058
  if (!onlyLegacy)
12027
12059
  if (0 !== syncTransitionLanes) {
12028
- var pendingLanes = root$188.pendingLanes;
12060
+ var pendingLanes = root$187.pendingLanes;
12029
12061
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
12030
12062
  else {
12031
- var suspendedLanes = root$188.suspendedLanes,
12032
- pingedLanes = root$188.pingedLanes;
12063
+ var suspendedLanes = root$187.suspendedLanes,
12064
+ pingedLanes = root$187.pingedLanes;
12033
12065
  JSCompiler_inline_result =
12034
12066
  (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
12035
12067
  JSCompiler_inline_result &=
@@ -12043,20 +12075,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12043
12075
  }
12044
12076
  0 !== JSCompiler_inline_result &&
12045
12077
  ((didPerformSomeWork = !0),
12046
- performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
12078
+ performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
12047
12079
  } else
12048
12080
  (JSCompiler_inline_result = workInProgressRootRenderLanes),
12049
12081
  (JSCompiler_inline_result = getNextLanes(
12050
- root$188,
12051
- root$188 === workInProgressRoot ? JSCompiler_inline_result : 0,
12052
- null !== root$188.cancelPendingCommit ||
12053
- -1 !== root$188.timeoutHandle
12082
+ root$187,
12083
+ root$187 === workInProgressRoot ? JSCompiler_inline_result : 0,
12084
+ null !== root$187.cancelPendingCommit ||
12085
+ -1 !== root$187.timeoutHandle
12054
12086
  )),
12055
12087
  0 === (JSCompiler_inline_result & 3) ||
12056
- checkIfRootIsPrerendering(root$188, JSCompiler_inline_result) ||
12088
+ checkIfRootIsPrerendering(root$187, JSCompiler_inline_result) ||
12057
12089
  ((didPerformSomeWork = !0),
12058
- performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
12059
- root$188 = root$188.next;
12090
+ performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
12091
+ root$187 = root$187.next;
12060
12092
  }
12061
12093
  } while (didPerformSomeWork);
12062
12094
  isFlushingWork = !1;
@@ -12165,8 +12197,10 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
12165
12197
  }
12166
12198
  function performWorkOnRootViaSchedulerTask(root, didTimeout) {
12167
12199
  nestedUpdateScheduled = currentUpdateIsNested = !1;
12200
+ if (0 !== pendingEffectsStatus && 3 !== pendingEffectsStatus)
12201
+ return (root.callbackNode = null), (root.callbackPriority = 0), null;
12168
12202
  var originalCallbackNode = root.callbackNode;
12169
- if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode)
12203
+ if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
12170
12204
  return null;
12171
12205
  var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
12172
12206
  workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
@@ -12182,7 +12216,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
12182
12216
  : null;
12183
12217
  }
12184
12218
  function performSyncWorkOnRoot(root, lanes) {
12185
- if (flushPassiveEffects()) return null;
12219
+ if (flushPendingEffects()) return null;
12186
12220
  currentUpdateIsNested = nestedUpdateScheduled;
12187
12221
  nestedUpdateScheduled = !1;
12188
12222
  performWorkOnRoot(root, lanes, !0);
@@ -12297,20 +12331,20 @@ function extractEvents$1(
12297
12331
  }
12298
12332
  }
12299
12333
  for (
12300
- var i$jscomp$inline_1553 = 0;
12301
- i$jscomp$inline_1553 < simpleEventPluginEvents.length;
12302
- i$jscomp$inline_1553++
12334
+ var i$jscomp$inline_1552 = 0;
12335
+ i$jscomp$inline_1552 < simpleEventPluginEvents.length;
12336
+ i$jscomp$inline_1552++
12303
12337
  ) {
12304
- var eventName$jscomp$inline_1554 =
12305
- simpleEventPluginEvents[i$jscomp$inline_1553],
12306
- domEventName$jscomp$inline_1555 =
12307
- eventName$jscomp$inline_1554.toLowerCase(),
12308
- capitalizedEvent$jscomp$inline_1556 =
12309
- eventName$jscomp$inline_1554[0].toUpperCase() +
12310
- eventName$jscomp$inline_1554.slice(1);
12338
+ var eventName$jscomp$inline_1553 =
12339
+ simpleEventPluginEvents[i$jscomp$inline_1552],
12340
+ domEventName$jscomp$inline_1554 =
12341
+ eventName$jscomp$inline_1553.toLowerCase(),
12342
+ capitalizedEvent$jscomp$inline_1555 =
12343
+ eventName$jscomp$inline_1553[0].toUpperCase() +
12344
+ eventName$jscomp$inline_1553.slice(1);
12311
12345
  registerSimpleEvent(
12312
- domEventName$jscomp$inline_1555,
12313
- "on" + capitalizedEvent$jscomp$inline_1556
12346
+ domEventName$jscomp$inline_1554,
12347
+ "on" + capitalizedEvent$jscomp$inline_1555
12314
12348
  );
12315
12349
  }
12316
12350
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -13493,34 +13527,34 @@ function setInitialProperties(domElement, tag, props) {
13493
13527
  defaultChecked = null;
13494
13528
  for (hasSrc in props)
13495
13529
  if (props.hasOwnProperty(hasSrc)) {
13496
- var propValue$202 = props[hasSrc];
13497
- if (null != propValue$202)
13530
+ var propValue$201 = props[hasSrc];
13531
+ if (null != propValue$201)
13498
13532
  switch (hasSrc) {
13499
13533
  case "name":
13500
- hasSrcSet = propValue$202;
13534
+ hasSrcSet = propValue$201;
13501
13535
  break;
13502
13536
  case "type":
13503
- propValue = propValue$202;
13537
+ propValue = propValue$201;
13504
13538
  break;
13505
13539
  case "checked":
13506
- checked = propValue$202;
13540
+ checked = propValue$201;
13507
13541
  break;
13508
13542
  case "defaultChecked":
13509
- defaultChecked = propValue$202;
13543
+ defaultChecked = propValue$201;
13510
13544
  break;
13511
13545
  case "value":
13512
- propKey = propValue$202;
13546
+ propKey = propValue$201;
13513
13547
  break;
13514
13548
  case "defaultValue":
13515
- defaultValue = propValue$202;
13549
+ defaultValue = propValue$201;
13516
13550
  break;
13517
13551
  case "children":
13518
13552
  case "dangerouslySetInnerHTML":
13519
- if (null != propValue$202)
13553
+ if (null != propValue$201)
13520
13554
  throw Error(formatProdErrorMessage(137, tag));
13521
13555
  break;
13522
13556
  default:
13523
- setProp(domElement, tag, hasSrc, propValue$202, props, null);
13557
+ setProp(domElement, tag, hasSrc, propValue$201, props, null);
13524
13558
  }
13525
13559
  }
13526
13560
  initInput(
@@ -13657,14 +13691,14 @@ function setInitialProperties(domElement, tag, props) {
13657
13691
  return;
13658
13692
  default:
13659
13693
  if (isCustomElement(tag)) {
13660
- for (propValue$202 in props)
13661
- props.hasOwnProperty(propValue$202) &&
13662
- ((hasSrc = props[propValue$202]),
13694
+ for (propValue$201 in props)
13695
+ props.hasOwnProperty(propValue$201) &&
13696
+ ((hasSrc = props[propValue$201]),
13663
13697
  void 0 !== hasSrc &&
13664
13698
  setPropOnCustomElement(
13665
13699
  domElement,
13666
13700
  tag,
13667
- propValue$202,
13701
+ propValue$201,
13668
13702
  hasSrc,
13669
13703
  props,
13670
13704
  void 0
@@ -13712,14 +13746,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13712
13746
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
13713
13747
  }
13714
13748
  }
13715
- for (var propKey$219 in nextProps) {
13716
- var propKey = nextProps[propKey$219];
13717
- lastProp = lastProps[propKey$219];
13749
+ for (var propKey$218 in nextProps) {
13750
+ var propKey = nextProps[propKey$218];
13751
+ lastProp = lastProps[propKey$218];
13718
13752
  if (
13719
- nextProps.hasOwnProperty(propKey$219) &&
13753
+ nextProps.hasOwnProperty(propKey$218) &&
13720
13754
  (null != propKey || null != lastProp)
13721
13755
  )
13722
- switch (propKey$219) {
13756
+ switch (propKey$218) {
13723
13757
  case "type":
13724
13758
  type = propKey;
13725
13759
  break;
@@ -13748,7 +13782,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13748
13782
  setProp(
13749
13783
  domElement,
13750
13784
  tag,
13751
- propKey$219,
13785
+ propKey$218,
13752
13786
  propKey,
13753
13787
  nextProps,
13754
13788
  lastProp
@@ -13767,7 +13801,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13767
13801
  );
13768
13802
  return;
13769
13803
  case "select":
13770
- propKey = value = defaultValue = propKey$219 = null;
13804
+ propKey = value = defaultValue = propKey$218 = null;
13771
13805
  for (type in lastProps)
13772
13806
  if (
13773
13807
  ((lastDefaultValue = lastProps[type]),
@@ -13798,7 +13832,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13798
13832
  )
13799
13833
  switch (name) {
13800
13834
  case "value":
13801
- propKey$219 = type;
13835
+ propKey$218 = type;
13802
13836
  break;
13803
13837
  case "defaultValue":
13804
13838
  defaultValue = type;
@@ -13819,15 +13853,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13819
13853
  tag = defaultValue;
13820
13854
  lastProps = value;
13821
13855
  nextProps = propKey;
13822
- null != propKey$219
13823
- ? updateOptions(domElement, !!lastProps, propKey$219, !1)
13856
+ null != propKey$218
13857
+ ? updateOptions(domElement, !!lastProps, propKey$218, !1)
13824
13858
  : !!nextProps !== !!lastProps &&
13825
13859
  (null != tag
13826
13860
  ? updateOptions(domElement, !!lastProps, tag, !0)
13827
13861
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
13828
13862
  return;
13829
13863
  case "textarea":
13830
- propKey = propKey$219 = null;
13864
+ propKey = propKey$218 = null;
13831
13865
  for (defaultValue in lastProps)
13832
13866
  if (
13833
13867
  ((name = lastProps[defaultValue]),
@@ -13851,7 +13885,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13851
13885
  )
13852
13886
  switch (value) {
13853
13887
  case "value":
13854
- propKey$219 = name;
13888
+ propKey$218 = name;
13855
13889
  break;
13856
13890
  case "defaultValue":
13857
13891
  propKey = name;
@@ -13865,17 +13899,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13865
13899
  name !== type &&
13866
13900
  setProp(domElement, tag, value, name, nextProps, type);
13867
13901
  }
13868
- updateTextarea(domElement, propKey$219, propKey);
13902
+ updateTextarea(domElement, propKey$218, propKey);
13869
13903
  return;
13870
13904
  case "option":
13871
- for (var propKey$235 in lastProps)
13905
+ for (var propKey$234 in lastProps)
13872
13906
  if (
13873
- ((propKey$219 = lastProps[propKey$235]),
13874
- lastProps.hasOwnProperty(propKey$235) &&
13875
- null != propKey$219 &&
13876
- !nextProps.hasOwnProperty(propKey$235))
13907
+ ((propKey$218 = lastProps[propKey$234]),
13908
+ lastProps.hasOwnProperty(propKey$234) &&
13909
+ null != propKey$218 &&
13910
+ !nextProps.hasOwnProperty(propKey$234))
13877
13911
  )
13878
- switch (propKey$235) {
13912
+ switch (propKey$234) {
13879
13913
  case "selected":
13880
13914
  domElement.selected = !1;
13881
13915
  break;
@@ -13883,33 +13917,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13883
13917
  setProp(
13884
13918
  domElement,
13885
13919
  tag,
13886
- propKey$235,
13920
+ propKey$234,
13887
13921
  null,
13888
13922
  nextProps,
13889
- propKey$219
13923
+ propKey$218
13890
13924
  );
13891
13925
  }
13892
13926
  for (lastDefaultValue in nextProps)
13893
13927
  if (
13894
- ((propKey$219 = nextProps[lastDefaultValue]),
13928
+ ((propKey$218 = nextProps[lastDefaultValue]),
13895
13929
  (propKey = lastProps[lastDefaultValue]),
13896
13930
  nextProps.hasOwnProperty(lastDefaultValue) &&
13897
- propKey$219 !== propKey &&
13898
- (null != propKey$219 || null != propKey))
13931
+ propKey$218 !== propKey &&
13932
+ (null != propKey$218 || null != propKey))
13899
13933
  )
13900
13934
  switch (lastDefaultValue) {
13901
13935
  case "selected":
13902
13936
  domElement.selected =
13903
- propKey$219 &&
13904
- "function" !== typeof propKey$219 &&
13905
- "symbol" !== typeof propKey$219;
13937
+ propKey$218 &&
13938
+ "function" !== typeof propKey$218 &&
13939
+ "symbol" !== typeof propKey$218;
13906
13940
  break;
13907
13941
  default:
13908
13942
  setProp(
13909
13943
  domElement,
13910
13944
  tag,
13911
13945
  lastDefaultValue,
13912
- propKey$219,
13946
+ propKey$218,
13913
13947
  nextProps,
13914
13948
  propKey
13915
13949
  );
@@ -13930,24 +13964,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13930
13964
  case "track":
13931
13965
  case "wbr":
13932
13966
  case "menuitem":
13933
- for (var propKey$240 in lastProps)
13934
- (propKey$219 = lastProps[propKey$240]),
13935
- lastProps.hasOwnProperty(propKey$240) &&
13936
- null != propKey$219 &&
13937
- !nextProps.hasOwnProperty(propKey$240) &&
13938
- setProp(domElement, tag, propKey$240, null, nextProps, propKey$219);
13967
+ for (var propKey$239 in lastProps)
13968
+ (propKey$218 = lastProps[propKey$239]),
13969
+ lastProps.hasOwnProperty(propKey$239) &&
13970
+ null != propKey$218 &&
13971
+ !nextProps.hasOwnProperty(propKey$239) &&
13972
+ setProp(domElement, tag, propKey$239, null, nextProps, propKey$218);
13939
13973
  for (checked in nextProps)
13940
13974
  if (
13941
- ((propKey$219 = nextProps[checked]),
13975
+ ((propKey$218 = nextProps[checked]),
13942
13976
  (propKey = lastProps[checked]),
13943
13977
  nextProps.hasOwnProperty(checked) &&
13944
- propKey$219 !== propKey &&
13945
- (null != propKey$219 || null != propKey))
13978
+ propKey$218 !== propKey &&
13979
+ (null != propKey$218 || null != propKey))
13946
13980
  )
13947
13981
  switch (checked) {
13948
13982
  case "children":
13949
13983
  case "dangerouslySetInnerHTML":
13950
- if (null != propKey$219)
13984
+ if (null != propKey$218)
13951
13985
  throw Error(formatProdErrorMessage(137, tag));
13952
13986
  break;
13953
13987
  default:
@@ -13955,7 +13989,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13955
13989
  domElement,
13956
13990
  tag,
13957
13991
  checked,
13958
- propKey$219,
13992
+ propKey$218,
13959
13993
  nextProps,
13960
13994
  propKey
13961
13995
  );
@@ -13963,49 +13997,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13963
13997
  return;
13964
13998
  default:
13965
13999
  if (isCustomElement(tag)) {
13966
- for (var propKey$245 in lastProps)
13967
- (propKey$219 = lastProps[propKey$245]),
13968
- lastProps.hasOwnProperty(propKey$245) &&
13969
- void 0 !== propKey$219 &&
13970
- !nextProps.hasOwnProperty(propKey$245) &&
14000
+ for (var propKey$244 in lastProps)
14001
+ (propKey$218 = lastProps[propKey$244]),
14002
+ lastProps.hasOwnProperty(propKey$244) &&
14003
+ void 0 !== propKey$218 &&
14004
+ !nextProps.hasOwnProperty(propKey$244) &&
13971
14005
  setPropOnCustomElement(
13972
14006
  domElement,
13973
14007
  tag,
13974
- propKey$245,
14008
+ propKey$244,
13975
14009
  void 0,
13976
14010
  nextProps,
13977
- propKey$219
14011
+ propKey$218
13978
14012
  );
13979
14013
  for (defaultChecked in nextProps)
13980
- (propKey$219 = nextProps[defaultChecked]),
14014
+ (propKey$218 = nextProps[defaultChecked]),
13981
14015
  (propKey = lastProps[defaultChecked]),
13982
14016
  !nextProps.hasOwnProperty(defaultChecked) ||
13983
- propKey$219 === propKey ||
13984
- (void 0 === propKey$219 && void 0 === propKey) ||
14017
+ propKey$218 === propKey ||
14018
+ (void 0 === propKey$218 && void 0 === propKey) ||
13985
14019
  setPropOnCustomElement(
13986
14020
  domElement,
13987
14021
  tag,
13988
14022
  defaultChecked,
13989
- propKey$219,
14023
+ propKey$218,
13990
14024
  nextProps,
13991
14025
  propKey
13992
14026
  );
13993
14027
  return;
13994
14028
  }
13995
14029
  }
13996
- for (var propKey$250 in lastProps)
13997
- (propKey$219 = lastProps[propKey$250]),
13998
- lastProps.hasOwnProperty(propKey$250) &&
13999
- null != propKey$219 &&
14000
- !nextProps.hasOwnProperty(propKey$250) &&
14001
- setProp(domElement, tag, propKey$250, null, nextProps, propKey$219);
14030
+ for (var propKey$249 in lastProps)
14031
+ (propKey$218 = lastProps[propKey$249]),
14032
+ lastProps.hasOwnProperty(propKey$249) &&
14033
+ null != propKey$218 &&
14034
+ !nextProps.hasOwnProperty(propKey$249) &&
14035
+ setProp(domElement, tag, propKey$249, null, nextProps, propKey$218);
14002
14036
  for (lastProp in nextProps)
14003
- (propKey$219 = nextProps[lastProp]),
14037
+ (propKey$218 = nextProps[lastProp]),
14004
14038
  (propKey = lastProps[lastProp]),
14005
14039
  !nextProps.hasOwnProperty(lastProp) ||
14006
- propKey$219 === propKey ||
14007
- (null == propKey$219 && null == propKey) ||
14008
- setProp(domElement, tag, lastProp, propKey$219, nextProps, propKey);
14040
+ propKey$218 === propKey ||
14041
+ (null == propKey$218 && null == propKey) ||
14042
+ setProp(domElement, tag, lastProp, propKey$218, nextProps, propKey);
14009
14043
  }
14010
14044
  var eventsEnabled = null,
14011
14045
  selectionInformation = null;
@@ -14151,7 +14185,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) {
14151
14185
  else if (
14152
14186
  name !== anyProps.rel ||
14153
14187
  instance.getAttribute("href") !==
14154
- (null == anyProps.href ? null : anyProps.href) ||
14188
+ (null == anyProps.href || "" === anyProps.href
14189
+ ? null
14190
+ : anyProps.href) ||
14155
14191
  instance.getAttribute("crossorigin") !==
14156
14192
  (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) ||
14157
14193
  instance.getAttribute("title") !==
@@ -14569,26 +14605,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14569
14605
  "string" === typeof pendingProps.precedence
14570
14606
  ) {
14571
14607
  type = getStyleKey(pendingProps.href);
14572
- var styles$258 = getResourcesFromRoot(
14608
+ var styles$257 = getResourcesFromRoot(
14573
14609
  JSCompiler_inline_result
14574
14610
  ).hoistableStyles,
14575
- resource$259 = styles$258.get(type);
14576
- resource$259 ||
14611
+ resource$258 = styles$257.get(type);
14612
+ resource$258 ||
14577
14613
  ((JSCompiler_inline_result =
14578
14614
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14579
- (resource$259 = {
14615
+ (resource$258 = {
14580
14616
  type: "stylesheet",
14581
14617
  instance: null,
14582
14618
  count: 0,
14583
14619
  state: { loading: 0, preload: null }
14584
14620
  }),
14585
- styles$258.set(type, resource$259),
14586
- (styles$258 = JSCompiler_inline_result.querySelector(
14621
+ styles$257.set(type, resource$258),
14622
+ (styles$257 = JSCompiler_inline_result.querySelector(
14587
14623
  getStylesheetSelectorFromKey(type)
14588
14624
  )) &&
14589
- !styles$258._p &&
14590
- ((resource$259.instance = styles$258),
14591
- (resource$259.state.loading = 5)),
14625
+ !styles$257._p &&
14626
+ ((resource$258.instance = styles$257),
14627
+ (resource$258.state.loading = 5)),
14592
14628
  preloadPropsMap.has(type) ||
14593
14629
  ((pendingProps = {
14594
14630
  rel: "preload",
@@ -14601,16 +14637,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14601
14637
  referrerPolicy: pendingProps.referrerPolicy
14602
14638
  }),
14603
14639
  preloadPropsMap.set(type, pendingProps),
14604
- styles$258 ||
14640
+ styles$257 ||
14605
14641
  preloadStylesheet(
14606
14642
  JSCompiler_inline_result,
14607
14643
  type,
14608
14644
  pendingProps,
14609
- resource$259.state
14645
+ resource$258.state
14610
14646
  )));
14611
14647
  if (currentProps && null === currentResource)
14612
14648
  throw Error(formatProdErrorMessage(528, ""));
14613
- return resource$259;
14649
+ return resource$258;
14614
14650
  }
14615
14651
  if (currentProps && null !== currentResource)
14616
14652
  throw Error(formatProdErrorMessage(529, ""));
@@ -14707,37 +14743,37 @@ function acquireResource(hoistableRoot, resource, props) {
14707
14743
  return (resource.instance = instance);
14708
14744
  case "stylesheet":
14709
14745
  styleProps = getStyleKey(props.href);
14710
- var instance$264 = hoistableRoot.querySelector(
14746
+ var instance$263 = hoistableRoot.querySelector(
14711
14747
  getStylesheetSelectorFromKey(styleProps)
14712
14748
  );
14713
- if (instance$264)
14749
+ if (instance$263)
14714
14750
  return (
14715
14751
  (resource.state.loading |= 4),
14716
- (resource.instance = instance$264),
14717
- markNodeAsHoistable(instance$264),
14718
- instance$264
14752
+ (resource.instance = instance$263),
14753
+ markNodeAsHoistable(instance$263),
14754
+ instance$263
14719
14755
  );
14720
14756
  instance = stylesheetPropsFromRawProps(props);
14721
14757
  (styleProps = preloadPropsMap.get(styleProps)) &&
14722
14758
  adoptPreloadPropsForStylesheet(instance, styleProps);
14723
- instance$264 = (
14759
+ instance$263 = (
14724
14760
  hoistableRoot.ownerDocument || hoistableRoot
14725
14761
  ).createElement("link");
14726
- markNodeAsHoistable(instance$264);
14727
- var linkInstance = instance$264;
14762
+ markNodeAsHoistable(instance$263);
14763
+ var linkInstance = instance$263;
14728
14764
  linkInstance._p = new Promise(function (resolve, reject) {
14729
14765
  linkInstance.onload = resolve;
14730
14766
  linkInstance.onerror = reject;
14731
14767
  });
14732
- setInitialProperties(instance$264, "link", instance);
14768
+ setInitialProperties(instance$263, "link", instance);
14733
14769
  resource.state.loading |= 4;
14734
- insertStylesheet(instance$264, props.precedence, hoistableRoot);
14735
- return (resource.instance = instance$264);
14770
+ insertStylesheet(instance$263, props.precedence, hoistableRoot);
14771
+ return (resource.instance = instance$263);
14736
14772
  case "script":
14737
- instance$264 = getScriptKey(props.src);
14773
+ instance$263 = getScriptKey(props.src);
14738
14774
  if (
14739
14775
  (styleProps = hoistableRoot.querySelector(
14740
- getScriptSelectorFromKey(instance$264)
14776
+ getScriptSelectorFromKey(instance$263)
14741
14777
  ))
14742
14778
  )
14743
14779
  return (
@@ -14746,7 +14782,7 @@ function acquireResource(hoistableRoot, resource, props) {
14746
14782
  styleProps
14747
14783
  );
14748
14784
  instance = props;
14749
- if ((styleProps = preloadPropsMap.get(instance$264)))
14785
+ if ((styleProps = preloadPropsMap.get(instance$263)))
14750
14786
  (instance = assign({}, props)),
14751
14787
  adoptPreloadPropsForScript(instance, styleProps);
14752
14788
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -15761,7 +15797,6 @@ ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
15761
15797
  if (null !== root) {
15762
15798
  this._internalRoot = null;
15763
15799
  var container = root.containerInfo;
15764
- 0 === root.tag && flushPassiveEffects();
15765
15800
  updateContainerImpl(root.current, 2, null, root, null, null);
15766
15801
  flushSyncWork$1();
15767
15802
  container[internalContainerInstanceKey] = null;
@@ -15785,16 +15820,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15785
15820
  0 === i && attemptExplicitHydrationTarget(target);
15786
15821
  }
15787
15822
  };
15788
- var isomorphicReactPackageVersion$jscomp$inline_1802 = React.version;
15823
+ var isomorphicReactPackageVersion$jscomp$inline_1801 = React.version;
15789
15824
  if (
15790
- "19.1.0-canary-3b009b4c-20250102" !==
15791
- isomorphicReactPackageVersion$jscomp$inline_1802
15825
+ "19.1.0-canary-7b402084-20250107" !==
15826
+ isomorphicReactPackageVersion$jscomp$inline_1801
15792
15827
  )
15793
15828
  throw Error(
15794
15829
  formatProdErrorMessage(
15795
15830
  527,
15796
- isomorphicReactPackageVersion$jscomp$inline_1802,
15797
- "19.1.0-canary-3b009b4c-20250102"
15831
+ isomorphicReactPackageVersion$jscomp$inline_1801,
15832
+ "19.1.0-canary-7b402084-20250107"
15798
15833
  )
15799
15834
  );
15800
15835
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15814,17 +15849,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15814
15849
  null === componentOrElement ? null : componentOrElement.stateNode;
15815
15850
  return componentOrElement;
15816
15851
  };
15817
- var internals$jscomp$inline_1809 = {
15852
+ var internals$jscomp$inline_1808 = {
15818
15853
  bundleType: 0,
15819
- version: "19.1.0-canary-3b009b4c-20250102",
15854
+ version: "19.1.0-canary-7b402084-20250107",
15820
15855
  rendererPackageName: "react-dom",
15821
15856
  currentDispatcherRef: ReactSharedInternals,
15822
- reconcilerVersion: "19.1.0-canary-3b009b4c-20250102",
15857
+ reconcilerVersion: "19.1.0-canary-7b402084-20250107",
15823
15858
  getLaneLabelMap: function () {
15824
15859
  for (
15825
- var map = new Map(), lane = 1, index$281 = 0;
15826
- 31 > index$281;
15827
- index$281++
15860
+ var map = new Map(), lane = 1, index$280 = 0;
15861
+ 31 > index$280;
15862
+ index$280++
15828
15863
  ) {
15829
15864
  var label = getLabelForLane(lane);
15830
15865
  map.set(lane, label);
@@ -15837,16 +15872,16 @@ var internals$jscomp$inline_1809 = {
15837
15872
  }
15838
15873
  };
15839
15874
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15840
- var hook$jscomp$inline_2239 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15875
+ var hook$jscomp$inline_2238 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15841
15876
  if (
15842
- !hook$jscomp$inline_2239.isDisabled &&
15843
- hook$jscomp$inline_2239.supportsFiber
15877
+ !hook$jscomp$inline_2238.isDisabled &&
15878
+ hook$jscomp$inline_2238.supportsFiber
15844
15879
  )
15845
15880
  try {
15846
- (rendererID = hook$jscomp$inline_2239.inject(
15847
- internals$jscomp$inline_1809
15881
+ (rendererID = hook$jscomp$inline_2238.inject(
15882
+ internals$jscomp$inline_1808
15848
15883
  )),
15849
- (injectedHook = hook$jscomp$inline_2239);
15884
+ (injectedHook = hook$jscomp$inline_2238);
15850
15885
  } catch (err) {}
15851
15886
  }
15852
15887
  function noop() {}
@@ -16101,7 +16136,7 @@ exports.useFormState = function (action, initialState, permalink) {
16101
16136
  exports.useFormStatus = function () {
16102
16137
  return ReactSharedInternals.H.useHostTransitionStatus();
16103
16138
  };
16104
- exports.version = "19.1.0-canary-3b009b4c-20250102";
16139
+ exports.version = "19.1.0-canary-7b402084-20250107";
16105
16140
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16106
16141
  "function" ===
16107
16142
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&