react-dom 19.1.0-canary-7eb8234f-20241218 → 19.1.0-canary-9463d51e-20241219

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.
@@ -2125,19 +2125,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2125
2125
  }
2126
2126
  var isInputEventSupported = !1;
2127
2127
  if (canUseDOM) {
2128
- var JSCompiler_inline_result$jscomp$295;
2128
+ var JSCompiler_inline_result$jscomp$296;
2129
2129
  if (canUseDOM) {
2130
- var isSupported$jscomp$inline_426 = "oninput" in document;
2131
- if (!isSupported$jscomp$inline_426) {
2132
- var element$jscomp$inline_427 = document.createElement("div");
2133
- element$jscomp$inline_427.setAttribute("oninput", "return;");
2134
- isSupported$jscomp$inline_426 =
2135
- "function" === typeof element$jscomp$inline_427.oninput;
2130
+ var isSupported$jscomp$inline_427 = "oninput" in document;
2131
+ if (!isSupported$jscomp$inline_427) {
2132
+ var element$jscomp$inline_428 = document.createElement("div");
2133
+ element$jscomp$inline_428.setAttribute("oninput", "return;");
2134
+ isSupported$jscomp$inline_427 =
2135
+ "function" === typeof element$jscomp$inline_428.oninput;
2136
2136
  }
2137
- JSCompiler_inline_result$jscomp$295 = isSupported$jscomp$inline_426;
2138
- } else JSCompiler_inline_result$jscomp$295 = !1;
2137
+ JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_427;
2138
+ } else JSCompiler_inline_result$jscomp$296 = !1;
2139
2139
  isInputEventSupported =
2140
- JSCompiler_inline_result$jscomp$295 &&
2140
+ JSCompiler_inline_result$jscomp$296 &&
2141
2141
  (!document.documentMode || 9 < document.documentMode);
2142
2142
  }
2143
2143
  function stopWatchingForValueChange() {
@@ -3461,6 +3461,18 @@ function resetHydrationState() {
3461
3461
  nextHydratableInstance = hydrationParentFiber = null;
3462
3462
  isHydrating = !1;
3463
3463
  }
3464
+ function upgradeHydrationErrorsToRecoverable() {
3465
+ var queuedErrors = hydrationErrors;
3466
+ null !== queuedErrors &&
3467
+ (null === workInProgressRootRecoverableErrors
3468
+ ? (workInProgressRootRecoverableErrors = queuedErrors)
3469
+ : workInProgressRootRecoverableErrors.push.apply(
3470
+ workInProgressRootRecoverableErrors,
3471
+ queuedErrors
3472
+ ),
3473
+ (hydrationErrors = null));
3474
+ return queuedErrors;
3475
+ }
3464
3476
  function queueHydrationError(error) {
3465
3477
  null === hydrationErrors
3466
3478
  ? (hydrationErrors = [error])
@@ -6597,7 +6609,12 @@ function mountHostRootWithoutHydrating(
6597
6609
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
6598
6610
  return workInProgress.child;
6599
6611
  }
6600
- var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 };
6612
+ var SUSPENDED_MARKER = {
6613
+ dehydrated: null,
6614
+ treeContext: null,
6615
+ retryLane: 0,
6616
+ hydrationErrors: null
6617
+ };
6601
6618
  function mountSuspenseOffscreenState(renderLanes) {
6602
6619
  return { baseLanes: renderLanes, cachePool: getSuspendedCache() };
6603
6620
  }
@@ -6660,7 +6677,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6660
6677
  null !== treeContextProvider
6661
6678
  ? { id: treeContextId, overflow: treeContextOverflow }
6662
6679
  : null,
6663
- retryLane: 536870912
6680
+ retryLane: 536870912,
6681
+ hydrationErrors: null
6664
6682
  }),
6665
6683
  (JSCompiler_temp$jscomp$0 = createFiberImplClass(
6666
6684
  18,
@@ -9458,6 +9476,14 @@ function commitPassiveMountOnFiber(
9458
9476
  committedTransitions
9459
9477
  );
9460
9478
  break;
9479
+ case 13:
9480
+ recursivelyTraversePassiveMountEffects(
9481
+ finishedRoot,
9482
+ finishedWork,
9483
+ committedLanes,
9484
+ committedTransitions
9485
+ );
9486
+ break;
9461
9487
  case 23:
9462
9488
  break;
9463
9489
  case 22:
@@ -10225,9 +10251,7 @@ function completeWork(current, workInProgress, renderLanes) {
10225
10251
  (current.memoizedState.isDehydrated &&
10226
10252
  0 === (workInProgress.flags & 256)) ||
10227
10253
  ((workInProgress.flags |= 1024),
10228
- null !== hydrationErrors &&
10229
- (queueRecoverableErrors(hydrationErrors),
10230
- (hydrationErrors = null)));
10254
+ upgradeHydrationErrorsToRecoverable());
10231
10255
  bubbleProperties(workInProgress);
10232
10256
  return null;
10233
10257
  case 26:
@@ -10452,8 +10476,10 @@ function completeWork(current, workInProgress, renderLanes) {
10452
10476
  (workInProgress.treeBaseDuration -= type.treeBaseDuration));
10453
10477
  type = !1;
10454
10478
  } else
10455
- null !== hydrationErrors &&
10456
- (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)),
10479
+ (type = upgradeHydrationErrorsToRecoverable()),
10480
+ null !== current &&
10481
+ null !== current.memoizedState &&
10482
+ (current.memoizedState.hydrationErrors = type),
10457
10483
  (type = !0);
10458
10484
  if (!type) {
10459
10485
  if (workInProgress.flags & 256)
@@ -10479,11 +10505,11 @@ function completeWork(current, workInProgress, renderLanes) {
10479
10505
  null !== newProps.alternate.memoizedState &&
10480
10506
  null !== newProps.alternate.memoizedState.cachePool &&
10481
10507
  (type = newProps.alternate.memoizedState.cachePool.pool);
10482
- var cache$159 = null;
10508
+ var cache$160 = null;
10483
10509
  null !== newProps.memoizedState &&
10484
10510
  null !== newProps.memoizedState.cachePool &&
10485
- (cache$159 = newProps.memoizedState.cachePool.pool);
10486
- cache$159 !== type && (newProps.flags |= 2048);
10511
+ (cache$160 = newProps.memoizedState.cachePool.pool);
10512
+ cache$160 !== type && (newProps.flags |= 2048);
10487
10513
  }
10488
10514
  renderLanes !== current &&
10489
10515
  renderLanes &&
@@ -10513,8 +10539,8 @@ function completeWork(current, workInProgress, renderLanes) {
10513
10539
  type = workInProgress.memoizedState;
10514
10540
  if (null === type) return bubbleProperties(workInProgress), null;
10515
10541
  newProps = 0 !== (workInProgress.flags & 128);
10516
- cache$159 = type.rendering;
10517
- if (null === cache$159)
10542
+ cache$160 = type.rendering;
10543
+ if (null === cache$160)
10518
10544
  if (newProps) cutOffTailIfNeeded(type, !1);
10519
10545
  else {
10520
10546
  if (
@@ -10522,11 +10548,11 @@ function completeWork(current, workInProgress, renderLanes) {
10522
10548
  (null !== current && 0 !== (current.flags & 128))
10523
10549
  )
10524
10550
  for (current = workInProgress.child; null !== current; ) {
10525
- cache$159 = findFirstSuspended(current);
10526
- if (null !== cache$159) {
10551
+ cache$160 = findFirstSuspended(current);
10552
+ if (null !== cache$160) {
10527
10553
  workInProgress.flags |= 128;
10528
10554
  cutOffTailIfNeeded(type, !1);
10529
- current = cache$159.updateQueue;
10555
+ current = cache$160.updateQueue;
10530
10556
  workInProgress.updateQueue = current;
10531
10557
  scheduleRetryEffect(workInProgress, current);
10532
10558
  workInProgress.subtreeFlags = 0;
@@ -10551,7 +10577,7 @@ function completeWork(current, workInProgress, renderLanes) {
10551
10577
  }
10552
10578
  else {
10553
10579
  if (!newProps)
10554
- if (((current = findFirstSuspended(cache$159)), null !== current)) {
10580
+ if (((current = findFirstSuspended(cache$160)), null !== current)) {
10555
10581
  if (
10556
10582
  ((workInProgress.flags |= 128),
10557
10583
  (newProps = !0),
@@ -10561,7 +10587,7 @@ function completeWork(current, workInProgress, renderLanes) {
10561
10587
  cutOffTailIfNeeded(type, !0),
10562
10588
  null === type.tail &&
10563
10589
  "hidden" === type.tailMode &&
10564
- !cache$159.alternate &&
10590
+ !cache$160.alternate &&
10565
10591
  !isHydrating)
10566
10592
  )
10567
10593
  return bubbleProperties(workInProgress), null;
@@ -10574,13 +10600,13 @@ function completeWork(current, workInProgress, renderLanes) {
10574
10600
  cutOffTailIfNeeded(type, !1),
10575
10601
  (workInProgress.lanes = 4194304));
10576
10602
  type.isBackwards
10577
- ? ((cache$159.sibling = workInProgress.child),
10578
- (workInProgress.child = cache$159))
10603
+ ? ((cache$160.sibling = workInProgress.child),
10604
+ (workInProgress.child = cache$160))
10579
10605
  : ((current = type.last),
10580
10606
  null !== current
10581
- ? (current.sibling = cache$159)
10582
- : (workInProgress.child = cache$159),
10583
- (type.last = cache$159));
10607
+ ? (current.sibling = cache$160)
10608
+ : (workInProgress.child = cache$160),
10609
+ (type.last = cache$160));
10584
10610
  }
10585
10611
  if (null !== type.tail)
10586
10612
  return (
@@ -10899,7 +10925,12 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10899
10925
  renderWasConcurrent = workInProgressRootRecoverableErrors;
10900
10926
  workInProgressRootRecoverableErrors = exitStatus;
10901
10927
  null !== renderWasConcurrent &&
10902
- queueRecoverableErrors(renderWasConcurrent);
10928
+ (null === workInProgressRootRecoverableErrors
10929
+ ? (workInProgressRootRecoverableErrors = renderWasConcurrent)
10930
+ : workInProgressRootRecoverableErrors.push.apply(
10931
+ workInProgressRootRecoverableErrors,
10932
+ renderWasConcurrent
10933
+ ));
10903
10934
  }
10904
10935
  exitStatus = JSCompiler_inline_result;
10905
10936
  }
@@ -10996,14 +11027,6 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10996
11027
  } while (1);
10997
11028
  ensureRootIsScheduled(root$jscomp$0);
10998
11029
  }
10999
- function queueRecoverableErrors(errors) {
11000
- null === workInProgressRootRecoverableErrors
11001
- ? (workInProgressRootRecoverableErrors = errors)
11002
- : workInProgressRootRecoverableErrors.push.apply(
11003
- workInProgressRootRecoverableErrors,
11004
- errors
11005
- );
11006
- }
11007
11030
  function commitRootWhenReady(
11008
11031
  root,
11009
11032
  finishedWork,
@@ -11321,8 +11344,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
11321
11344
  workLoopSync();
11322
11345
  memoizedUpdaters = workInProgressRootExitStatus;
11323
11346
  break;
11324
- } catch (thrownValue$178) {
11325
- handleThrow(root, thrownValue$178);
11347
+ } catch (thrownValue$179) {
11348
+ handleThrow(root, thrownValue$179);
11326
11349
  }
11327
11350
  while (1);
11328
11351
  lanes && root.shellSuspendCounter++;
@@ -11445,8 +11468,8 @@ function renderRootConcurrent(root, lanes) {
11445
11468
  }
11446
11469
  workLoopConcurrent();
11447
11470
  break;
11448
- } catch (thrownValue$180) {
11449
- handleThrow(root, thrownValue$180);
11471
+ } catch (thrownValue$181) {
11472
+ handleThrow(root, thrownValue$181);
11450
11473
  }
11451
11474
  while (1);
11452
11475
  lastContextDependency = currentlyRenderingFiber$1 = null;
@@ -11798,7 +11821,7 @@ function releaseRootPooledCache(root, remainingLanes) {
11798
11821
  }
11799
11822
  function flushPassiveEffects() {
11800
11823
  if (null !== rootWithPendingPassiveEffects) {
11801
- var root$184 = rootWithPendingPassiveEffects,
11824
+ var root$185 = rootWithPendingPassiveEffects,
11802
11825
  remainingLanes = pendingPassiveEffectsRemainingLanes;
11803
11826
  pendingPassiveEffectsRemainingLanes = 0;
11804
11827
  var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11848,7 +11871,7 @@ function flushPassiveEffects() {
11848
11871
  } finally {
11849
11872
  (ReactDOMSharedInternals.p = previousPriority),
11850
11873
  (ReactSharedInternals.T = prevTransition),
11851
- releaseRootPooledCache(root$184, remainingLanes);
11874
+ releaseRootPooledCache(root$185, remainingLanes);
11852
11875
  }
11853
11876
  }
11854
11877
  return !1;
@@ -11998,14 +12021,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11998
12021
  isFlushingWork = !0;
11999
12022
  do {
12000
12023
  var didPerformSomeWork = !1;
12001
- for (var root$186 = firstScheduledRoot; null !== root$186; ) {
12024
+ for (var root$187 = firstScheduledRoot; null !== root$187; ) {
12002
12025
  if (!onlyLegacy)
12003
12026
  if (0 !== syncTransitionLanes) {
12004
- var pendingLanes = root$186.pendingLanes;
12027
+ var pendingLanes = root$187.pendingLanes;
12005
12028
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
12006
12029
  else {
12007
- var suspendedLanes = root$186.suspendedLanes,
12008
- pingedLanes = root$186.pingedLanes;
12030
+ var suspendedLanes = root$187.suspendedLanes,
12031
+ pingedLanes = root$187.pingedLanes;
12009
12032
  JSCompiler_inline_result =
12010
12033
  (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
12011
12034
  JSCompiler_inline_result &=
@@ -12019,18 +12042,18 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12019
12042
  }
12020
12043
  0 !== JSCompiler_inline_result &&
12021
12044
  ((didPerformSomeWork = !0),
12022
- performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
12045
+ performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
12023
12046
  } else
12024
12047
  (JSCompiler_inline_result = workInProgressRootRenderLanes),
12025
12048
  (JSCompiler_inline_result = getNextLanes(
12026
- root$186,
12027
- root$186 === workInProgressRoot ? JSCompiler_inline_result : 0
12049
+ root$187,
12050
+ root$187 === workInProgressRoot ? JSCompiler_inline_result : 0
12028
12051
  )),
12029
12052
  0 === (JSCompiler_inline_result & 3) ||
12030
- checkIfRootIsPrerendering(root$186, JSCompiler_inline_result) ||
12053
+ checkIfRootIsPrerendering(root$187, JSCompiler_inline_result) ||
12031
12054
  ((didPerformSomeWork = !0),
12032
- performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
12033
- root$186 = root$186.next;
12055
+ performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
12056
+ root$187 = root$187.next;
12034
12057
  }
12035
12058
  } while (didPerformSomeWork);
12036
12059
  isFlushingWork = !1;
@@ -12263,20 +12286,20 @@ function extractEvents$1(
12263
12286
  }
12264
12287
  }
12265
12288
  for (
12266
- var i$jscomp$inline_1518 = 0;
12267
- i$jscomp$inline_1518 < simpleEventPluginEvents.length;
12268
- i$jscomp$inline_1518++
12289
+ var i$jscomp$inline_1521 = 0;
12290
+ i$jscomp$inline_1521 < simpleEventPluginEvents.length;
12291
+ i$jscomp$inline_1521++
12269
12292
  ) {
12270
- var eventName$jscomp$inline_1519 =
12271
- simpleEventPluginEvents[i$jscomp$inline_1518],
12272
- domEventName$jscomp$inline_1520 =
12273
- eventName$jscomp$inline_1519.toLowerCase(),
12274
- capitalizedEvent$jscomp$inline_1521 =
12275
- eventName$jscomp$inline_1519[0].toUpperCase() +
12276
- eventName$jscomp$inline_1519.slice(1);
12293
+ var eventName$jscomp$inline_1522 =
12294
+ simpleEventPluginEvents[i$jscomp$inline_1521],
12295
+ domEventName$jscomp$inline_1523 =
12296
+ eventName$jscomp$inline_1522.toLowerCase(),
12297
+ capitalizedEvent$jscomp$inline_1524 =
12298
+ eventName$jscomp$inline_1522[0].toUpperCase() +
12299
+ eventName$jscomp$inline_1522.slice(1);
12277
12300
  registerSimpleEvent(
12278
- domEventName$jscomp$inline_1520,
12279
- "on" + capitalizedEvent$jscomp$inline_1521
12301
+ domEventName$jscomp$inline_1523,
12302
+ "on" + capitalizedEvent$jscomp$inline_1524
12280
12303
  );
12281
12304
  }
12282
12305
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -13459,34 +13482,34 @@ function setInitialProperties(domElement, tag, props) {
13459
13482
  defaultChecked = null;
13460
13483
  for (hasSrc in props)
13461
13484
  if (props.hasOwnProperty(hasSrc)) {
13462
- var propValue$200 = props[hasSrc];
13463
- if (null != propValue$200)
13485
+ var propValue$201 = props[hasSrc];
13486
+ if (null != propValue$201)
13464
13487
  switch (hasSrc) {
13465
13488
  case "name":
13466
- hasSrcSet = propValue$200;
13489
+ hasSrcSet = propValue$201;
13467
13490
  break;
13468
13491
  case "type":
13469
- propValue = propValue$200;
13492
+ propValue = propValue$201;
13470
13493
  break;
13471
13494
  case "checked":
13472
- checked = propValue$200;
13495
+ checked = propValue$201;
13473
13496
  break;
13474
13497
  case "defaultChecked":
13475
- defaultChecked = propValue$200;
13498
+ defaultChecked = propValue$201;
13476
13499
  break;
13477
13500
  case "value":
13478
- propKey = propValue$200;
13501
+ propKey = propValue$201;
13479
13502
  break;
13480
13503
  case "defaultValue":
13481
- defaultValue = propValue$200;
13504
+ defaultValue = propValue$201;
13482
13505
  break;
13483
13506
  case "children":
13484
13507
  case "dangerouslySetInnerHTML":
13485
- if (null != propValue$200)
13508
+ if (null != propValue$201)
13486
13509
  throw Error(formatProdErrorMessage(137, tag));
13487
13510
  break;
13488
13511
  default:
13489
- setProp(domElement, tag, hasSrc, propValue$200, props, null);
13512
+ setProp(domElement, tag, hasSrc, propValue$201, props, null);
13490
13513
  }
13491
13514
  }
13492
13515
  initInput(
@@ -13623,14 +13646,14 @@ function setInitialProperties(domElement, tag, props) {
13623
13646
  return;
13624
13647
  default:
13625
13648
  if (isCustomElement(tag)) {
13626
- for (propValue$200 in props)
13627
- props.hasOwnProperty(propValue$200) &&
13628
- ((hasSrc = props[propValue$200]),
13649
+ for (propValue$201 in props)
13650
+ props.hasOwnProperty(propValue$201) &&
13651
+ ((hasSrc = props[propValue$201]),
13629
13652
  void 0 !== hasSrc &&
13630
13653
  setPropOnCustomElement(
13631
13654
  domElement,
13632
13655
  tag,
13633
- propValue$200,
13656
+ propValue$201,
13634
13657
  hasSrc,
13635
13658
  props,
13636
13659
  void 0
@@ -13678,14 +13701,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13678
13701
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
13679
13702
  }
13680
13703
  }
13681
- for (var propKey$217 in nextProps) {
13682
- var propKey = nextProps[propKey$217];
13683
- lastProp = lastProps[propKey$217];
13704
+ for (var propKey$218 in nextProps) {
13705
+ var propKey = nextProps[propKey$218];
13706
+ lastProp = lastProps[propKey$218];
13684
13707
  if (
13685
- nextProps.hasOwnProperty(propKey$217) &&
13708
+ nextProps.hasOwnProperty(propKey$218) &&
13686
13709
  (null != propKey || null != lastProp)
13687
13710
  )
13688
- switch (propKey$217) {
13711
+ switch (propKey$218) {
13689
13712
  case "type":
13690
13713
  type = propKey;
13691
13714
  break;
@@ -13714,7 +13737,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13714
13737
  setProp(
13715
13738
  domElement,
13716
13739
  tag,
13717
- propKey$217,
13740
+ propKey$218,
13718
13741
  propKey,
13719
13742
  nextProps,
13720
13743
  lastProp
@@ -13733,7 +13756,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13733
13756
  );
13734
13757
  return;
13735
13758
  case "select":
13736
- propKey = value = defaultValue = propKey$217 = null;
13759
+ propKey = value = defaultValue = propKey$218 = null;
13737
13760
  for (type in lastProps)
13738
13761
  if (
13739
13762
  ((lastDefaultValue = lastProps[type]),
@@ -13764,7 +13787,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13764
13787
  )
13765
13788
  switch (name) {
13766
13789
  case "value":
13767
- propKey$217 = type;
13790
+ propKey$218 = type;
13768
13791
  break;
13769
13792
  case "defaultValue":
13770
13793
  defaultValue = type;
@@ -13785,15 +13808,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13785
13808
  tag = defaultValue;
13786
13809
  lastProps = value;
13787
13810
  nextProps = propKey;
13788
- null != propKey$217
13789
- ? updateOptions(domElement, !!lastProps, propKey$217, !1)
13811
+ null != propKey$218
13812
+ ? updateOptions(domElement, !!lastProps, propKey$218, !1)
13790
13813
  : !!nextProps !== !!lastProps &&
13791
13814
  (null != tag
13792
13815
  ? updateOptions(domElement, !!lastProps, tag, !0)
13793
13816
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
13794
13817
  return;
13795
13818
  case "textarea":
13796
- propKey = propKey$217 = null;
13819
+ propKey = propKey$218 = null;
13797
13820
  for (defaultValue in lastProps)
13798
13821
  if (
13799
13822
  ((name = lastProps[defaultValue]),
@@ -13817,7 +13840,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13817
13840
  )
13818
13841
  switch (value) {
13819
13842
  case "value":
13820
- propKey$217 = name;
13843
+ propKey$218 = name;
13821
13844
  break;
13822
13845
  case "defaultValue":
13823
13846
  propKey = name;
@@ -13831,17 +13854,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13831
13854
  name !== type &&
13832
13855
  setProp(domElement, tag, value, name, nextProps, type);
13833
13856
  }
13834
- updateTextarea(domElement, propKey$217, propKey);
13857
+ updateTextarea(domElement, propKey$218, propKey);
13835
13858
  return;
13836
13859
  case "option":
13837
- for (var propKey$233 in lastProps)
13860
+ for (var propKey$234 in lastProps)
13838
13861
  if (
13839
- ((propKey$217 = lastProps[propKey$233]),
13840
- lastProps.hasOwnProperty(propKey$233) &&
13841
- null != propKey$217 &&
13842
- !nextProps.hasOwnProperty(propKey$233))
13862
+ ((propKey$218 = lastProps[propKey$234]),
13863
+ lastProps.hasOwnProperty(propKey$234) &&
13864
+ null != propKey$218 &&
13865
+ !nextProps.hasOwnProperty(propKey$234))
13843
13866
  )
13844
- switch (propKey$233) {
13867
+ switch (propKey$234) {
13845
13868
  case "selected":
13846
13869
  domElement.selected = !1;
13847
13870
  break;
@@ -13849,33 +13872,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13849
13872
  setProp(
13850
13873
  domElement,
13851
13874
  tag,
13852
- propKey$233,
13875
+ propKey$234,
13853
13876
  null,
13854
13877
  nextProps,
13855
- propKey$217
13878
+ propKey$218
13856
13879
  );
13857
13880
  }
13858
13881
  for (lastDefaultValue in nextProps)
13859
13882
  if (
13860
- ((propKey$217 = nextProps[lastDefaultValue]),
13883
+ ((propKey$218 = nextProps[lastDefaultValue]),
13861
13884
  (propKey = lastProps[lastDefaultValue]),
13862
13885
  nextProps.hasOwnProperty(lastDefaultValue) &&
13863
- propKey$217 !== propKey &&
13864
- (null != propKey$217 || null != propKey))
13886
+ propKey$218 !== propKey &&
13887
+ (null != propKey$218 || null != propKey))
13865
13888
  )
13866
13889
  switch (lastDefaultValue) {
13867
13890
  case "selected":
13868
13891
  domElement.selected =
13869
- propKey$217 &&
13870
- "function" !== typeof propKey$217 &&
13871
- "symbol" !== typeof propKey$217;
13892
+ propKey$218 &&
13893
+ "function" !== typeof propKey$218 &&
13894
+ "symbol" !== typeof propKey$218;
13872
13895
  break;
13873
13896
  default:
13874
13897
  setProp(
13875
13898
  domElement,
13876
13899
  tag,
13877
13900
  lastDefaultValue,
13878
- propKey$217,
13901
+ propKey$218,
13879
13902
  nextProps,
13880
13903
  propKey
13881
13904
  );
@@ -13896,24 +13919,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13896
13919
  case "track":
13897
13920
  case "wbr":
13898
13921
  case "menuitem":
13899
- for (var propKey$238 in lastProps)
13900
- (propKey$217 = lastProps[propKey$238]),
13901
- lastProps.hasOwnProperty(propKey$238) &&
13902
- null != propKey$217 &&
13903
- !nextProps.hasOwnProperty(propKey$238) &&
13904
- setProp(domElement, tag, propKey$238, null, nextProps, propKey$217);
13922
+ for (var propKey$239 in lastProps)
13923
+ (propKey$218 = lastProps[propKey$239]),
13924
+ lastProps.hasOwnProperty(propKey$239) &&
13925
+ null != propKey$218 &&
13926
+ !nextProps.hasOwnProperty(propKey$239) &&
13927
+ setProp(domElement, tag, propKey$239, null, nextProps, propKey$218);
13905
13928
  for (checked in nextProps)
13906
13929
  if (
13907
- ((propKey$217 = nextProps[checked]),
13930
+ ((propKey$218 = nextProps[checked]),
13908
13931
  (propKey = lastProps[checked]),
13909
13932
  nextProps.hasOwnProperty(checked) &&
13910
- propKey$217 !== propKey &&
13911
- (null != propKey$217 || null != propKey))
13933
+ propKey$218 !== propKey &&
13934
+ (null != propKey$218 || null != propKey))
13912
13935
  )
13913
13936
  switch (checked) {
13914
13937
  case "children":
13915
13938
  case "dangerouslySetInnerHTML":
13916
- if (null != propKey$217)
13939
+ if (null != propKey$218)
13917
13940
  throw Error(formatProdErrorMessage(137, tag));
13918
13941
  break;
13919
13942
  default:
@@ -13921,7 +13944,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13921
13944
  domElement,
13922
13945
  tag,
13923
13946
  checked,
13924
- propKey$217,
13947
+ propKey$218,
13925
13948
  nextProps,
13926
13949
  propKey
13927
13950
  );
@@ -13929,49 +13952,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13929
13952
  return;
13930
13953
  default:
13931
13954
  if (isCustomElement(tag)) {
13932
- for (var propKey$243 in lastProps)
13933
- (propKey$217 = lastProps[propKey$243]),
13934
- lastProps.hasOwnProperty(propKey$243) &&
13935
- void 0 !== propKey$217 &&
13936
- !nextProps.hasOwnProperty(propKey$243) &&
13955
+ for (var propKey$244 in lastProps)
13956
+ (propKey$218 = lastProps[propKey$244]),
13957
+ lastProps.hasOwnProperty(propKey$244) &&
13958
+ void 0 !== propKey$218 &&
13959
+ !nextProps.hasOwnProperty(propKey$244) &&
13937
13960
  setPropOnCustomElement(
13938
13961
  domElement,
13939
13962
  tag,
13940
- propKey$243,
13963
+ propKey$244,
13941
13964
  void 0,
13942
13965
  nextProps,
13943
- propKey$217
13966
+ propKey$218
13944
13967
  );
13945
13968
  for (defaultChecked in nextProps)
13946
- (propKey$217 = nextProps[defaultChecked]),
13969
+ (propKey$218 = nextProps[defaultChecked]),
13947
13970
  (propKey = lastProps[defaultChecked]),
13948
13971
  !nextProps.hasOwnProperty(defaultChecked) ||
13949
- propKey$217 === propKey ||
13950
- (void 0 === propKey$217 && void 0 === propKey) ||
13972
+ propKey$218 === propKey ||
13973
+ (void 0 === propKey$218 && void 0 === propKey) ||
13951
13974
  setPropOnCustomElement(
13952
13975
  domElement,
13953
13976
  tag,
13954
13977
  defaultChecked,
13955
- propKey$217,
13978
+ propKey$218,
13956
13979
  nextProps,
13957
13980
  propKey
13958
13981
  );
13959
13982
  return;
13960
13983
  }
13961
13984
  }
13962
- for (var propKey$248 in lastProps)
13963
- (propKey$217 = lastProps[propKey$248]),
13964
- lastProps.hasOwnProperty(propKey$248) &&
13965
- null != propKey$217 &&
13966
- !nextProps.hasOwnProperty(propKey$248) &&
13967
- setProp(domElement, tag, propKey$248, null, nextProps, propKey$217);
13985
+ for (var propKey$249 in lastProps)
13986
+ (propKey$218 = lastProps[propKey$249]),
13987
+ lastProps.hasOwnProperty(propKey$249) &&
13988
+ null != propKey$218 &&
13989
+ !nextProps.hasOwnProperty(propKey$249) &&
13990
+ setProp(domElement, tag, propKey$249, null, nextProps, propKey$218);
13968
13991
  for (lastProp in nextProps)
13969
- (propKey$217 = nextProps[lastProp]),
13992
+ (propKey$218 = nextProps[lastProp]),
13970
13993
  (propKey = lastProps[lastProp]),
13971
13994
  !nextProps.hasOwnProperty(lastProp) ||
13972
- propKey$217 === propKey ||
13973
- (null == propKey$217 && null == propKey) ||
13974
- setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey);
13995
+ propKey$218 === propKey ||
13996
+ (null == propKey$218 && null == propKey) ||
13997
+ setProp(domElement, tag, lastProp, propKey$218, nextProps, propKey);
13975
13998
  }
13976
13999
  var eventsEnabled = null,
13977
14000
  selectionInformation = null;
@@ -14535,26 +14558,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14535
14558
  "string" === typeof pendingProps.precedence
14536
14559
  ) {
14537
14560
  type = getStyleKey(pendingProps.href);
14538
- var styles$256 = getResourcesFromRoot(
14561
+ var styles$257 = getResourcesFromRoot(
14539
14562
  JSCompiler_inline_result
14540
14563
  ).hoistableStyles,
14541
- resource$257 = styles$256.get(type);
14542
- resource$257 ||
14564
+ resource$258 = styles$257.get(type);
14565
+ resource$258 ||
14543
14566
  ((JSCompiler_inline_result =
14544
14567
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14545
- (resource$257 = {
14568
+ (resource$258 = {
14546
14569
  type: "stylesheet",
14547
14570
  instance: null,
14548
14571
  count: 0,
14549
14572
  state: { loading: 0, preload: null }
14550
14573
  }),
14551
- styles$256.set(type, resource$257),
14552
- (styles$256 = JSCompiler_inline_result.querySelector(
14574
+ styles$257.set(type, resource$258),
14575
+ (styles$257 = JSCompiler_inline_result.querySelector(
14553
14576
  getStylesheetSelectorFromKey(type)
14554
14577
  )) &&
14555
- !styles$256._p &&
14556
- ((resource$257.instance = styles$256),
14557
- (resource$257.state.loading = 5)),
14578
+ !styles$257._p &&
14579
+ ((resource$258.instance = styles$257),
14580
+ (resource$258.state.loading = 5)),
14558
14581
  preloadPropsMap.has(type) ||
14559
14582
  ((pendingProps = {
14560
14583
  rel: "preload",
@@ -14567,16 +14590,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14567
14590
  referrerPolicy: pendingProps.referrerPolicy
14568
14591
  }),
14569
14592
  preloadPropsMap.set(type, pendingProps),
14570
- styles$256 ||
14593
+ styles$257 ||
14571
14594
  preloadStylesheet(
14572
14595
  JSCompiler_inline_result,
14573
14596
  type,
14574
14597
  pendingProps,
14575
- resource$257.state
14598
+ resource$258.state
14576
14599
  )));
14577
14600
  if (currentProps && null === currentResource)
14578
14601
  throw Error(formatProdErrorMessage(528, ""));
14579
- return resource$257;
14602
+ return resource$258;
14580
14603
  }
14581
14604
  if (currentProps && null !== currentResource)
14582
14605
  throw Error(formatProdErrorMessage(529, ""));
@@ -14673,37 +14696,37 @@ function acquireResource(hoistableRoot, resource, props) {
14673
14696
  return (resource.instance = instance);
14674
14697
  case "stylesheet":
14675
14698
  styleProps = getStyleKey(props.href);
14676
- var instance$262 = hoistableRoot.querySelector(
14699
+ var instance$263 = hoistableRoot.querySelector(
14677
14700
  getStylesheetSelectorFromKey(styleProps)
14678
14701
  );
14679
- if (instance$262)
14702
+ if (instance$263)
14680
14703
  return (
14681
14704
  (resource.state.loading |= 4),
14682
- (resource.instance = instance$262),
14683
- markNodeAsHoistable(instance$262),
14684
- instance$262
14705
+ (resource.instance = instance$263),
14706
+ markNodeAsHoistable(instance$263),
14707
+ instance$263
14685
14708
  );
14686
14709
  instance = stylesheetPropsFromRawProps(props);
14687
14710
  (styleProps = preloadPropsMap.get(styleProps)) &&
14688
14711
  adoptPreloadPropsForStylesheet(instance, styleProps);
14689
- instance$262 = (
14712
+ instance$263 = (
14690
14713
  hoistableRoot.ownerDocument || hoistableRoot
14691
14714
  ).createElement("link");
14692
- markNodeAsHoistable(instance$262);
14693
- var linkInstance = instance$262;
14715
+ markNodeAsHoistable(instance$263);
14716
+ var linkInstance = instance$263;
14694
14717
  linkInstance._p = new Promise(function (resolve, reject) {
14695
14718
  linkInstance.onload = resolve;
14696
14719
  linkInstance.onerror = reject;
14697
14720
  });
14698
- setInitialProperties(instance$262, "link", instance);
14721
+ setInitialProperties(instance$263, "link", instance);
14699
14722
  resource.state.loading |= 4;
14700
- insertStylesheet(instance$262, props.precedence, hoistableRoot);
14701
- return (resource.instance = instance$262);
14723
+ insertStylesheet(instance$263, props.precedence, hoistableRoot);
14724
+ return (resource.instance = instance$263);
14702
14725
  case "script":
14703
- instance$262 = getScriptKey(props.src);
14726
+ instance$263 = getScriptKey(props.src);
14704
14727
  if (
14705
14728
  (styleProps = hoistableRoot.querySelector(
14706
- getScriptSelectorFromKey(instance$262)
14729
+ getScriptSelectorFromKey(instance$263)
14707
14730
  ))
14708
14731
  )
14709
14732
  return (
@@ -14712,7 +14735,7 @@ function acquireResource(hoistableRoot, resource, props) {
14712
14735
  styleProps
14713
14736
  );
14714
14737
  instance = props;
14715
- if ((styleProps = preloadPropsMap.get(instance$262)))
14738
+ if ((styleProps = preloadPropsMap.get(instance$263)))
14716
14739
  (instance = assign({}, props)),
14717
14740
  adoptPreloadPropsForScript(instance, styleProps);
14718
14741
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -15756,16 +15779,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15756
15779
  0 === i && attemptExplicitHydrationTarget(target);
15757
15780
  }
15758
15781
  };
15759
- var isomorphicReactPackageVersion$jscomp$inline_1767 = React.version;
15782
+ var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
15760
15783
  if (
15761
- "19.1.0-canary-7eb8234f-20241218" !==
15762
- isomorphicReactPackageVersion$jscomp$inline_1767
15784
+ "19.1.0-canary-9463d51e-20241219" !==
15785
+ isomorphicReactPackageVersion$jscomp$inline_1770
15763
15786
  )
15764
15787
  throw Error(
15765
15788
  formatProdErrorMessage(
15766
15789
  527,
15767
- isomorphicReactPackageVersion$jscomp$inline_1767,
15768
- "19.1.0-canary-7eb8234f-20241218"
15790
+ isomorphicReactPackageVersion$jscomp$inline_1770,
15791
+ "19.1.0-canary-9463d51e-20241219"
15769
15792
  )
15770
15793
  );
15771
15794
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15785,17 +15808,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15785
15808
  null === componentOrElement ? null : componentOrElement.stateNode;
15786
15809
  return componentOrElement;
15787
15810
  };
15788
- var internals$jscomp$inline_1774 = {
15811
+ var internals$jscomp$inline_1777 = {
15789
15812
  bundleType: 0,
15790
- version: "19.1.0-canary-7eb8234f-20241218",
15813
+ version: "19.1.0-canary-9463d51e-20241219",
15791
15814
  rendererPackageName: "react-dom",
15792
15815
  currentDispatcherRef: ReactSharedInternals,
15793
- reconcilerVersion: "19.1.0-canary-7eb8234f-20241218",
15816
+ reconcilerVersion: "19.1.0-canary-9463d51e-20241219",
15794
15817
  getLaneLabelMap: function () {
15795
15818
  for (
15796
- var map = new Map(), lane = 1, index$279 = 0;
15797
- 31 > index$279;
15798
- index$279++
15819
+ var map = new Map(), lane = 1, index$280 = 0;
15820
+ 31 > index$280;
15821
+ index$280++
15799
15822
  ) {
15800
15823
  var label = getLabelForLane(lane);
15801
15824
  map.set(lane, label);
@@ -15808,16 +15831,16 @@ var internals$jscomp$inline_1774 = {
15808
15831
  }
15809
15832
  };
15810
15833
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15811
- var hook$jscomp$inline_2208 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15834
+ var hook$jscomp$inline_2214 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15812
15835
  if (
15813
- !hook$jscomp$inline_2208.isDisabled &&
15814
- hook$jscomp$inline_2208.supportsFiber
15836
+ !hook$jscomp$inline_2214.isDisabled &&
15837
+ hook$jscomp$inline_2214.supportsFiber
15815
15838
  )
15816
15839
  try {
15817
- (rendererID = hook$jscomp$inline_2208.inject(
15818
- internals$jscomp$inline_1774
15840
+ (rendererID = hook$jscomp$inline_2214.inject(
15841
+ internals$jscomp$inline_1777
15819
15842
  )),
15820
- (injectedHook = hook$jscomp$inline_2208);
15843
+ (injectedHook = hook$jscomp$inline_2214);
15821
15844
  } catch (err) {}
15822
15845
  }
15823
15846
  function noop() {}
@@ -16072,7 +16095,7 @@ exports.useFormState = function (action, initialState, permalink) {
16072
16095
  exports.useFormStatus = function () {
16073
16096
  return ReactSharedInternals.H.useHostTransitionStatus();
16074
16097
  };
16075
- exports.version = "19.1.0-canary-7eb8234f-20241218";
16098
+ exports.version = "19.1.0-canary-9463d51e-20241219";
16076
16099
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16077
16100
  "function" ===
16078
16101
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&