react-dom 19.1.0-canary-37906d4d-20250127 → 19.1.0-canary-bb9a24d9-20250130

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.
@@ -2014,19 +2014,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2014
2014
  }
2015
2015
  var isInputEventSupported = !1;
2016
2016
  if (canUseDOM) {
2017
- var JSCompiler_inline_result$jscomp$279;
2017
+ var JSCompiler_inline_result$jscomp$281;
2018
2018
  if (canUseDOM) {
2019
- var isSupported$jscomp$inline_414 = "oninput" in document;
2020
- if (!isSupported$jscomp$inline_414) {
2021
- var element$jscomp$inline_415 = document.createElement("div");
2022
- element$jscomp$inline_415.setAttribute("oninput", "return;");
2023
- isSupported$jscomp$inline_414 =
2024
- "function" === typeof element$jscomp$inline_415.oninput;
2019
+ var isSupported$jscomp$inline_416 = "oninput" in document;
2020
+ if (!isSupported$jscomp$inline_416) {
2021
+ var element$jscomp$inline_417 = document.createElement("div");
2022
+ element$jscomp$inline_417.setAttribute("oninput", "return;");
2023
+ isSupported$jscomp$inline_416 =
2024
+ "function" === typeof element$jscomp$inline_417.oninput;
2025
2025
  }
2026
- JSCompiler_inline_result$jscomp$279 = isSupported$jscomp$inline_414;
2027
- } else JSCompiler_inline_result$jscomp$279 = !1;
2026
+ JSCompiler_inline_result$jscomp$281 = isSupported$jscomp$inline_416;
2027
+ } else JSCompiler_inline_result$jscomp$281 = !1;
2028
2028
  isInputEventSupported =
2029
- JSCompiler_inline_result$jscomp$279 &&
2029
+ JSCompiler_inline_result$jscomp$281 &&
2030
2030
  (!document.documentMode || 9 < document.documentMode);
2031
2031
  }
2032
2032
  function stopWatchingForValueChange() {
@@ -7003,21 +7003,14 @@ function beginWork(current, workInProgress, renderLanes) {
7003
7003
  (nextHydratableInstance = getNextHydratable(
7004
7004
  lazyComponent.firstChild
7005
7005
  ))),
7006
- (lazyComponent = workInProgress.pendingProps.children),
7007
- null !== current || isHydrating
7008
- ? reconcileChildren(
7009
- current,
7010
- workInProgress,
7011
- lazyComponent,
7012
- renderLanes
7013
- )
7014
- : (workInProgress.child = reconcileChildFibers(
7015
- workInProgress,
7016
- null,
7017
- lazyComponent,
7018
- renderLanes
7019
- )),
7006
+ reconcileChildren(
7007
+ current,
7008
+ workInProgress,
7009
+ workInProgress.pendingProps.children,
7010
+ renderLanes
7011
+ ),
7020
7012
  markRef(current, workInProgress),
7013
+ null === current && (workInProgress.flags |= 4194304),
7021
7014
  workInProgress.child
7022
7015
  );
7023
7016
  case 5:
@@ -7412,7 +7405,7 @@ function isHostParent(fiber) {
7412
7405
  5 === fiber.tag ||
7413
7406
  3 === fiber.tag ||
7414
7407
  26 === fiber.tag ||
7415
- 27 === fiber.tag ||
7408
+ (27 === fiber.tag && "head" === fiber.type) ||
7416
7409
  4 === fiber.tag
7417
7410
  );
7418
7411
  }
@@ -7425,12 +7418,10 @@ function getHostSibling(fiber) {
7425
7418
  fiber.sibling.return = fiber.return;
7426
7419
  for (
7427
7420
  fiber = fiber.sibling;
7428
- 5 !== fiber.tag &&
7429
- 6 !== fiber.tag &&
7430
- 27 !== fiber.tag &&
7431
- 18 !== fiber.tag;
7421
+ 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
7432
7422
 
7433
7423
  ) {
7424
+ if (27 === fiber.tag && "head" === fiber.type) continue a;
7434
7425
  if (fiber.flags & 2) continue a;
7435
7426
  if (null === fiber.child || 4 === fiber.tag) continue a;
7436
7427
  else (fiber.child.return = fiber), (fiber = fiber.child);
@@ -7441,19 +7432,45 @@ function getHostSibling(fiber) {
7441
7432
  function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
7442
7433
  var tag = node.tag;
7443
7434
  if (5 === tag || 6 === tag)
7444
- (node = node.stateNode),
7445
- before
7446
- ? 8 === parent.nodeType
7447
- ? parent.parentNode.insertBefore(node, before)
7448
- : parent.insertBefore(node, before)
7449
- : (8 === parent.nodeType
7450
- ? ((before = parent.parentNode), before.insertBefore(node, parent))
7451
- : ((before = parent), before.appendChild(node)),
7452
- (parent = parent._reactRootContainer),
7453
- (null !== parent && void 0 !== parent) ||
7454
- null !== before.onclick ||
7455
- (before.onclick = noop$1));
7456
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
7435
+ if (((node = node.stateNode), before)) {
7436
+ switch (parent.nodeType) {
7437
+ case 8:
7438
+ parent = parent.parentNode;
7439
+ break;
7440
+ case 9:
7441
+ parent = parent.body;
7442
+ break;
7443
+ default:
7444
+ parent =
7445
+ "HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
7446
+ }
7447
+ parent.insertBefore(node, before);
7448
+ } else
7449
+ a: {
7450
+ switch (parent.nodeType) {
7451
+ case 8:
7452
+ before = parent.parentNode;
7453
+ before.insertBefore(node, parent);
7454
+ break a;
7455
+ case 9:
7456
+ before = parent.body;
7457
+ break;
7458
+ default:
7459
+ before =
7460
+ "HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
7461
+ }
7462
+ before.appendChild(node);
7463
+ parent = parent._reactRootContainer;
7464
+ (null !== parent && void 0 !== parent) ||
7465
+ null !== before.onclick ||
7466
+ (before.onclick = noop$1);
7467
+ }
7468
+ else if (
7469
+ 4 !== tag &&
7470
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
7471
+ (node = node.child),
7472
+ null !== node)
7473
+ )
7457
7474
  for (
7458
7475
  insertOrAppendPlacementNodeIntoContainer(node, before, parent),
7459
7476
  node = node.sibling;
@@ -7468,7 +7485,12 @@ function insertOrAppendPlacementNode(node, before, parent) {
7468
7485
  if (5 === tag || 6 === tag)
7469
7486
  (node = node.stateNode),
7470
7487
  before ? parent.insertBefore(node, before) : parent.appendChild(node);
7471
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
7488
+ else if (
7489
+ 4 !== tag &&
7490
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
7491
+ (node = node.child),
7492
+ null !== node)
7493
+ )
7472
7494
  for (
7473
7495
  insertOrAppendPlacementNode(node, before, parent), node = node.sibling;
7474
7496
  null !== node;
@@ -7476,6 +7498,23 @@ function insertOrAppendPlacementNode(node, before, parent) {
7476
7498
  )
7477
7499
  insertOrAppendPlacementNode(node, before, parent), (node = node.sibling);
7478
7500
  }
7501
+ function commitHostSingletonAcquisition(finishedWork) {
7502
+ var singleton = finishedWork.stateNode,
7503
+ props = finishedWork.memoizedProps;
7504
+ try {
7505
+ for (
7506
+ var type = finishedWork.type, attributes = singleton.attributes;
7507
+ attributes.length;
7508
+
7509
+ )
7510
+ singleton.removeAttributeNode(attributes[0]);
7511
+ setInitialProperties(singleton, type, props);
7512
+ singleton[internalInstanceKey] = finishedWork;
7513
+ singleton[internalPropsKey] = props;
7514
+ } catch (error) {
7515
+ captureCommitPhaseError(finishedWork, finishedWork.return, error);
7516
+ }
7517
+ }
7479
7518
  var offscreenSubtreeIsHidden = !1,
7480
7519
  offscreenSubtreeWasHidden = !1,
7481
7520
  needsFormReset = !1,
@@ -7696,11 +7735,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
7696
7735
  }
7697
7736
  }
7698
7737
  break;
7699
- case 26:
7700
- recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
7701
- flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
7702
- break;
7703
7738
  case 27:
7739
+ null === current &&
7740
+ flags & 4 &&
7741
+ commitHostSingletonAcquisition(finishedWork);
7742
+ case 26:
7704
7743
  case 5:
7705
7744
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
7706
7745
  null === current && flags & 4 && commitHostMount(finishedWork);
@@ -7811,20 +7850,14 @@ function commitDeletionEffectsOnFiber(
7811
7850
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
7812
7851
  var prevHostParent = hostParent,
7813
7852
  prevHostParentIsContainer = hostParentIsContainer;
7814
- hostParent = deletedFiber.stateNode;
7853
+ "head" === deletedFiber.type &&
7854
+ ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));
7815
7855
  recursivelyTraverseDeletionEffects(
7816
7856
  finishedRoot,
7817
7857
  nearestMountedAncestor,
7818
7858
  deletedFiber
7819
7859
  );
7820
- deletedFiber = deletedFiber.stateNode;
7821
- for (
7822
- nearestMountedAncestor = deletedFiber.attributes;
7823
- nearestMountedAncestor.length;
7824
-
7825
- )
7826
- deletedFiber.removeAttributeNode(nearestMountedAncestor[0]);
7827
- detachDeletedInstance(deletedFiber);
7860
+ releaseSingletonInstance(deletedFiber.stateNode);
7828
7861
  hostParent = prevHostParent;
7829
7862
  hostParentIsContainer = prevHostParentIsContainer;
7830
7863
  break;
@@ -7832,24 +7865,33 @@ function commitDeletionEffectsOnFiber(
7832
7865
  offscreenSubtreeWasHidden ||
7833
7866
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
7834
7867
  case 6:
7835
- prevHostParentIsContainer = hostParent;
7836
- var prevHostParentIsContainer$119 = hostParentIsContainer;
7868
+ prevHostParent = hostParent;
7869
+ prevHostParentIsContainer = hostParentIsContainer;
7837
7870
  hostParent = null;
7838
7871
  recursivelyTraverseDeletionEffects(
7839
7872
  finishedRoot,
7840
7873
  nearestMountedAncestor,
7841
7874
  deletedFiber
7842
7875
  );
7843
- hostParent = prevHostParentIsContainer;
7844
- hostParentIsContainer = prevHostParentIsContainer$119;
7876
+ hostParent = prevHostParent;
7877
+ hostParentIsContainer = prevHostParentIsContainer;
7845
7878
  if (null !== hostParent)
7846
7879
  if (hostParentIsContainer)
7847
7880
  try {
7848
- (finishedRoot = hostParent),
7849
- (prevHostParent = deletedFiber.stateNode),
7850
- 8 === finishedRoot.nodeType
7851
- ? finishedRoot.parentNode.removeChild(prevHostParent)
7852
- : finishedRoot.removeChild(prevHostParent);
7881
+ switch (hostParent.nodeType) {
7882
+ case 8:
7883
+ var parentNode = hostParent.parentNode;
7884
+ break;
7885
+ case 9:
7886
+ parentNode = hostParent.body;
7887
+ break;
7888
+ default:
7889
+ parentNode =
7890
+ "HTML" === hostParent.nodeName
7891
+ ? hostParent.ownerDocument.body
7892
+ : hostParent;
7893
+ }
7894
+ parentNode.removeChild(deletedFiber.stateNode);
7853
7895
  } catch (error) {
7854
7896
  captureCommitPhaseError(
7855
7897
  deletedFiber,
@@ -7871,16 +7913,19 @@ function commitDeletionEffectsOnFiber(
7871
7913
  case 18:
7872
7914
  null !== hostParent &&
7873
7915
  (hostParentIsContainer
7874
- ? ((nearestMountedAncestor = hostParent),
7916
+ ? ((finishedRoot = hostParent),
7875
7917
  (deletedFiber = deletedFiber.stateNode),
7876
- 8 === nearestMountedAncestor.nodeType
7877
- ? clearSuspenseBoundary(
7878
- nearestMountedAncestor.parentNode,
7879
- deletedFiber
7880
- )
7881
- : 1 === nearestMountedAncestor.nodeType &&
7882
- clearSuspenseBoundary(nearestMountedAncestor, deletedFiber),
7883
- retryIfBlockedOn(nearestMountedAncestor))
7918
+ 8 === finishedRoot.nodeType
7919
+ ? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber)
7920
+ : 9 === finishedRoot.nodeType
7921
+ ? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
7922
+ : "HTML" === finishedRoot.nodeName
7923
+ ? clearSuspenseBoundary(
7924
+ finishedRoot.ownerDocument.body,
7925
+ deletedFiber
7926
+ )
7927
+ : clearSuspenseBoundary(finishedRoot, deletedFiber),
7928
+ retryIfBlockedOn(finishedRoot))
7884
7929
  : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
7885
7930
  break;
7886
7931
  case 4:
@@ -8008,6 +8053,12 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
8008
8053
  a: for (; null !== parent; ) {
8009
8054
  switch (parent.tag) {
8010
8055
  case 27:
8056
+ if ("head" === parent.type) {
8057
+ hostParent = parent.stateNode;
8058
+ hostParentIsContainer = !1;
8059
+ break a;
8060
+ }
8061
+ break;
8011
8062
  case 5:
8012
8063
  hostParent = parent.stateNode;
8013
8064
  hostParentIsContainer = !1;
@@ -8224,36 +8275,20 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8224
8275
  }
8225
8276
  break;
8226
8277
  case 27:
8227
- if (flags & 4 && null === finishedWork.alternate) {
8228
- hoistableRoot = finishedWork.stateNode;
8229
- currentResource = finishedWork.memoizedProps;
8230
- try {
8231
- for (var node = hoistableRoot.firstChild; node; ) {
8232
- var nextNode = node.nextSibling,
8233
- nodeName = node.nodeName;
8234
- node[internalHoistableMarker] ||
8235
- "HEAD" === nodeName ||
8236
- "BODY" === nodeName ||
8237
- "SCRIPT" === nodeName ||
8238
- "STYLE" === nodeName ||
8239
- ("LINK" === nodeName &&
8240
- "stylesheet" === node.rel.toLowerCase()) ||
8241
- hoistableRoot.removeChild(node);
8242
- node = nextNode;
8243
- }
8244
- for (
8245
- var type = finishedWork.type, attributes = hoistableRoot.attributes;
8246
- attributes.length;
8247
-
8248
- )
8249
- hoistableRoot.removeAttributeNode(attributes[0]);
8250
- setInitialProperties(hoistableRoot, type, currentResource);
8251
- hoistableRoot[internalInstanceKey] = finishedWork;
8252
- hoistableRoot[internalPropsKey] = currentResource;
8253
- } catch (error) {
8254
- captureCommitPhaseError(finishedWork, finishedWork.return, error);
8255
- }
8256
- }
8278
+ recursivelyTraverseMutationEffects(root, finishedWork);
8279
+ commitReconciliationEffects(finishedWork);
8280
+ flags & 512 &&
8281
+ (offscreenSubtreeWasHidden ||
8282
+ null === current ||
8283
+ safelyDetachRef(current, current.return));
8284
+ null !== current &&
8285
+ flags & 4 &&
8286
+ commitHostUpdate(
8287
+ finishedWork,
8288
+ finishedWork.memoizedProps,
8289
+ current.memoizedProps
8290
+ );
8291
+ break;
8257
8292
  case 5:
8258
8293
  recursivelyTraverseMutationEffects(root, finishedWork);
8259
8294
  commitReconciliationEffects(finishedWork);
@@ -8341,15 +8376,15 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8341
8376
  (offscreenSubtreeWasHidden ||
8342
8377
  null === current ||
8343
8378
  safelyDetachRef(current, current.return));
8344
- node = null !== finishedWork.memoizedState;
8345
- nextNode = null !== current && null !== current.memoizedState;
8346
- nodeName = offscreenSubtreeIsHidden;
8347
- type = offscreenSubtreeWasHidden;
8348
- offscreenSubtreeIsHidden = nodeName || node;
8349
- offscreenSubtreeWasHidden = type || nextNode;
8379
+ hoistableRoot = null !== finishedWork.memoizedState;
8380
+ var wasHidden = null !== current && null !== current.memoizedState,
8381
+ prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
8382
+ prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
8383
+ offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
8384
+ offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
8350
8385
  recursivelyTraverseMutationEffects(root, finishedWork);
8351
- offscreenSubtreeWasHidden = type;
8352
- offscreenSubtreeIsHidden = nodeName;
8386
+ offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
8387
+ offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
8353
8388
  commitReconciliationEffects(finishedWork);
8354
8389
  root = finishedWork.stateNode;
8355
8390
  root._current = finishedWork;
@@ -8357,57 +8392,55 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8357
8392
  root._visibility |= root._pendingVisibility & 2;
8358
8393
  if (
8359
8394
  flags & 8192 &&
8360
- ((root._visibility = node
8395
+ ((root._visibility = hoistableRoot
8361
8396
  ? root._visibility & -2
8362
8397
  : root._visibility | 1),
8363
- node &&
8364
- ((root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden),
8365
- null === current ||
8366
- nextNode ||
8367
- root ||
8398
+ hoistableRoot &&
8399
+ (null === current ||
8400
+ wasHidden ||
8401
+ offscreenSubtreeIsHidden ||
8402
+ offscreenSubtreeWasHidden ||
8368
8403
  recursivelyTraverseDisappearLayoutEffects(finishedWork)),
8369
8404
  null === finishedWork.memoizedProps ||
8370
8405
  "manual" !== finishedWork.memoizedProps.mode)
8371
8406
  )
8372
8407
  a: for (current = null, root = finishedWork; ; ) {
8373
- if (5 === root.tag || 26 === root.tag || 27 === root.tag) {
8408
+ if (5 === root.tag || 26 === root.tag) {
8374
8409
  if (null === current) {
8375
- nextNode = current = root;
8410
+ wasHidden = current = root;
8376
8411
  try {
8377
- if (((hoistableRoot = nextNode.stateNode), node))
8378
- (currentResource = hoistableRoot.style),
8379
- "function" === typeof currentResource.setProperty
8380
- ? currentResource.setProperty(
8381
- "display",
8382
- "none",
8383
- "important"
8384
- )
8385
- : (currentResource.display = "none");
8412
+ if (((currentResource = wasHidden.stateNode), hoistableRoot))
8413
+ (maybeNodes = currentResource.style),
8414
+ "function" === typeof maybeNodes.setProperty
8415
+ ? maybeNodes.setProperty("display", "none", "important")
8416
+ : (maybeNodes.display = "none");
8386
8417
  else {
8387
- maybeNodes = nextNode.stateNode;
8388
- i = nextNode.memoizedProps.style;
8389
- var display =
8390
- void 0 !== i && null !== i && i.hasOwnProperty("display")
8391
- ? i.display
8392
- : null;
8393
- maybeNodes.style.display =
8418
+ i = wasHidden.stateNode;
8419
+ var styleProp = wasHidden.memoizedProps.style,
8420
+ display =
8421
+ void 0 !== styleProp &&
8422
+ null !== styleProp &&
8423
+ styleProp.hasOwnProperty("display")
8424
+ ? styleProp.display
8425
+ : null;
8426
+ i.style.display =
8394
8427
  null == display || "boolean" === typeof display
8395
8428
  ? ""
8396
8429
  : ("" + display).trim();
8397
8430
  }
8398
8431
  } catch (error) {
8399
- captureCommitPhaseError(nextNode, nextNode.return, error);
8432
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
8400
8433
  }
8401
8434
  }
8402
8435
  } else if (6 === root.tag) {
8403
8436
  if (null === current) {
8404
- nextNode = root;
8437
+ wasHidden = root;
8405
8438
  try {
8406
- nextNode.stateNode.nodeValue = node
8439
+ wasHidden.stateNode.nodeValue = hoistableRoot
8407
8440
  ? ""
8408
- : nextNode.memoizedProps;
8441
+ : wasHidden.memoizedProps;
8409
8442
  } catch (error) {
8410
- captureCommitPhaseError(nextNode, nextNode.return, error);
8443
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
8411
8444
  }
8412
8445
  }
8413
8446
  } else if (
@@ -8459,44 +8492,42 @@ function commitReconciliationEffects(finishedWork) {
8459
8492
  var flags = finishedWork.flags;
8460
8493
  if (flags & 2) {
8461
8494
  try {
8462
- if (27 !== finishedWork.tag) {
8463
- a: {
8464
- for (var parent = finishedWork.return; null !== parent; ) {
8465
- if (isHostParent(parent)) {
8466
- var JSCompiler_inline_result = parent;
8467
- break a;
8468
- }
8469
- parent = parent.return;
8495
+ a: {
8496
+ for (var parent = finishedWork.return; null !== parent; ) {
8497
+ if (isHostParent(parent)) {
8498
+ var JSCompiler_inline_result = parent;
8499
+ break a;
8470
8500
  }
8471
- throw Error(formatProdErrorMessage(160));
8472
- }
8473
- switch (JSCompiler_inline_result.tag) {
8474
- case 27:
8475
- var parent$jscomp$0 = JSCompiler_inline_result.stateNode,
8476
- before = getHostSibling(finishedWork);
8477
- insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8478
- break;
8479
- case 5:
8480
- var parent$113 = JSCompiler_inline_result.stateNode;
8481
- JSCompiler_inline_result.flags & 32 &&
8482
- (setTextContent(parent$113, ""),
8483
- (JSCompiler_inline_result.flags &= -33));
8484
- var before$114 = getHostSibling(finishedWork);
8485
- insertOrAppendPlacementNode(finishedWork, before$114, parent$113);
8486
- break;
8487
- case 3:
8488
- case 4:
8489
- var parent$115 = JSCompiler_inline_result.stateNode.containerInfo,
8490
- before$116 = getHostSibling(finishedWork);
8491
- insertOrAppendPlacementNodeIntoContainer(
8492
- finishedWork,
8493
- before$116,
8494
- parent$115
8495
- );
8496
- break;
8497
- default:
8498
- throw Error(formatProdErrorMessage(161));
8501
+ parent = parent.return;
8499
8502
  }
8503
+ throw Error(formatProdErrorMessage(160));
8504
+ }
8505
+ switch (JSCompiler_inline_result.tag) {
8506
+ case 27:
8507
+ var parent$jscomp$0 = JSCompiler_inline_result.stateNode,
8508
+ before = getHostSibling(finishedWork);
8509
+ insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8510
+ break;
8511
+ case 5:
8512
+ var parent$113 = JSCompiler_inline_result.stateNode;
8513
+ JSCompiler_inline_result.flags & 32 &&
8514
+ (setTextContent(parent$113, ""),
8515
+ (JSCompiler_inline_result.flags &= -33));
8516
+ var before$114 = getHostSibling(finishedWork);
8517
+ insertOrAppendPlacementNode(finishedWork, before$114, parent$113);
8518
+ break;
8519
+ case 3:
8520
+ case 4:
8521
+ var parent$115 = JSCompiler_inline_result.stateNode.containerInfo,
8522
+ before$116 = getHostSibling(finishedWork);
8523
+ insertOrAppendPlacementNodeIntoContainer(
8524
+ finishedWork,
8525
+ before$116,
8526
+ parent$115
8527
+ );
8528
+ break;
8529
+ default:
8530
+ throw Error(formatProdErrorMessage(161));
8500
8531
  }
8501
8532
  } catch (error) {
8502
8533
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
@@ -8542,8 +8573,9 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
8542
8573
  );
8543
8574
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
8544
8575
  break;
8545
- case 26:
8546
8576
  case 27:
8577
+ releaseSingletonInstance(finishedWork.stateNode);
8578
+ case 26:
8547
8579
  case 5:
8548
8580
  safelyDetachRef(finishedWork, finishedWork.return);
8549
8581
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
@@ -8618,8 +8650,9 @@ function recursivelyTraverseReappearLayoutEffects(
8618
8650
  commitClassCallbacks(finishedWork);
8619
8651
  safelyAttachRef(finishedWork, finishedWork.return);
8620
8652
  break;
8621
- case 26:
8622
8653
  case 27:
8654
+ commitHostSingletonAcquisition(finishedWork);
8655
+ case 26:
8623
8656
  case 5:
8624
8657
  recursivelyTraverseReappearLayoutEffects(
8625
8658
  finishedRoot,
@@ -9595,14 +9628,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
9595
9628
  break;
9596
9629
  case "collapsed":
9597
9630
  lastTailNode = renderState.tail;
9598
- for (var lastTailNode$131 = null; null !== lastTailNode; )
9599
- null !== lastTailNode.alternate && (lastTailNode$131 = lastTailNode),
9631
+ for (var lastTailNode$133 = null; null !== lastTailNode; )
9632
+ null !== lastTailNode.alternate && (lastTailNode$133 = lastTailNode),
9600
9633
  (lastTailNode = lastTailNode.sibling);
9601
- null === lastTailNode$131
9634
+ null === lastTailNode$133
9602
9635
  ? hasRenderedATailFallback || null === renderState.tail
9603
9636
  ? (renderState.tail = null)
9604
9637
  : (renderState.tail.sibling = null)
9605
- : (lastTailNode$131.sibling = null);
9638
+ : (lastTailNode$133.sibling = null);
9606
9639
  }
9607
9640
  }
9608
9641
  function bubbleProperties(completedWork) {
@@ -9612,19 +9645,19 @@ function bubbleProperties(completedWork) {
9612
9645
  newChildLanes = 0,
9613
9646
  subtreeFlags = 0;
9614
9647
  if (didBailout)
9615
- for (var child$132 = completedWork.child; null !== child$132; )
9616
- (newChildLanes |= child$132.lanes | child$132.childLanes),
9617
- (subtreeFlags |= child$132.subtreeFlags & 65011712),
9618
- (subtreeFlags |= child$132.flags & 65011712),
9619
- (child$132.return = completedWork),
9620
- (child$132 = child$132.sibling);
9648
+ for (var child$134 = completedWork.child; null !== child$134; )
9649
+ (newChildLanes |= child$134.lanes | child$134.childLanes),
9650
+ (subtreeFlags |= child$134.subtreeFlags & 65011712),
9651
+ (subtreeFlags |= child$134.flags & 65011712),
9652
+ (child$134.return = completedWork),
9653
+ (child$134 = child$134.sibling);
9621
9654
  else
9622
- for (child$132 = completedWork.child; null !== child$132; )
9623
- (newChildLanes |= child$132.lanes | child$132.childLanes),
9624
- (subtreeFlags |= child$132.subtreeFlags),
9625
- (subtreeFlags |= child$132.flags),
9626
- (child$132.return = completedWork),
9627
- (child$132 = child$132.sibling);
9655
+ for (child$134 = completedWork.child; null !== child$134; )
9656
+ (newChildLanes |= child$134.lanes | child$134.childLanes),
9657
+ (subtreeFlags |= child$134.subtreeFlags),
9658
+ (subtreeFlags |= child$134.flags),
9659
+ (child$134.return = completedWork),
9660
+ (child$134 = child$134.sibling);
9628
9661
  completedWork.subtreeFlags |= subtreeFlags;
9629
9662
  completedWork.childLanes = newChildLanes;
9630
9663
  return didBailout;
@@ -9901,11 +9934,11 @@ function completeWork(current, workInProgress, renderLanes) {
9901
9934
  null !== newProps.alternate.memoizedState &&
9902
9935
  null !== newProps.alternate.memoizedState.cachePool &&
9903
9936
  (type = newProps.alternate.memoizedState.cachePool.pool);
9904
- var cache$145 = null;
9937
+ var cache$147 = null;
9905
9938
  null !== newProps.memoizedState &&
9906
9939
  null !== newProps.memoizedState.cachePool &&
9907
- (cache$145 = newProps.memoizedState.cachePool.pool);
9908
- cache$145 !== type && (newProps.flags |= 2048);
9940
+ (cache$147 = newProps.memoizedState.cachePool.pool);
9941
+ cache$147 !== type && (newProps.flags |= 2048);
9909
9942
  }
9910
9943
  renderLanes !== current &&
9911
9944
  renderLanes &&
@@ -9930,8 +9963,8 @@ function completeWork(current, workInProgress, renderLanes) {
9930
9963
  type = workInProgress.memoizedState;
9931
9964
  if (null === type) return bubbleProperties(workInProgress), null;
9932
9965
  newProps = 0 !== (workInProgress.flags & 128);
9933
- cache$145 = type.rendering;
9934
- if (null === cache$145)
9966
+ cache$147 = type.rendering;
9967
+ if (null === cache$147)
9935
9968
  if (newProps) cutOffTailIfNeeded(type, !1);
9936
9969
  else {
9937
9970
  if (
@@ -9939,11 +9972,11 @@ function completeWork(current, workInProgress, renderLanes) {
9939
9972
  (null !== current && 0 !== (current.flags & 128))
9940
9973
  )
9941
9974
  for (current = workInProgress.child; null !== current; ) {
9942
- cache$145 = findFirstSuspended(current);
9943
- if (null !== cache$145) {
9975
+ cache$147 = findFirstSuspended(current);
9976
+ if (null !== cache$147) {
9944
9977
  workInProgress.flags |= 128;
9945
9978
  cutOffTailIfNeeded(type, !1);
9946
- current = cache$145.updateQueue;
9979
+ current = cache$147.updateQueue;
9947
9980
  workInProgress.updateQueue = current;
9948
9981
  scheduleRetryEffect(workInProgress, current);
9949
9982
  workInProgress.subtreeFlags = 0;
@@ -9968,7 +10001,7 @@ function completeWork(current, workInProgress, renderLanes) {
9968
10001
  }
9969
10002
  else {
9970
10003
  if (!newProps)
9971
- if (((current = findFirstSuspended(cache$145)), null !== current)) {
10004
+ if (((current = findFirstSuspended(cache$147)), null !== current)) {
9972
10005
  if (
9973
10006
  ((workInProgress.flags |= 128),
9974
10007
  (newProps = !0),
@@ -9978,7 +10011,7 @@ function completeWork(current, workInProgress, renderLanes) {
9978
10011
  cutOffTailIfNeeded(type, !0),
9979
10012
  null === type.tail &&
9980
10013
  "hidden" === type.tailMode &&
9981
- !cache$145.alternate &&
10014
+ !cache$147.alternate &&
9982
10015
  !isHydrating)
9983
10016
  )
9984
10017
  return bubbleProperties(workInProgress), null;
@@ -9991,13 +10024,13 @@ function completeWork(current, workInProgress, renderLanes) {
9991
10024
  cutOffTailIfNeeded(type, !1),
9992
10025
  (workInProgress.lanes = 4194304));
9993
10026
  type.isBackwards
9994
- ? ((cache$145.sibling = workInProgress.child),
9995
- (workInProgress.child = cache$145))
10027
+ ? ((cache$147.sibling = workInProgress.child),
10028
+ (workInProgress.child = cache$147))
9996
10029
  : ((current = type.last),
9997
10030
  null !== current
9998
- ? (current.sibling = cache$145)
9999
- : (workInProgress.child = cache$145),
10000
- (type.last = cache$145));
10031
+ ? (current.sibling = cache$147)
10032
+ : (workInProgress.child = cache$147),
10033
+ (type.last = cache$147));
10001
10034
  }
10002
10035
  if (null !== type.tail)
10003
10036
  return (
@@ -10698,8 +10731,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
10698
10731
  workLoopSync();
10699
10732
  exitStatus = workInProgressRootExitStatus;
10700
10733
  break;
10701
- } catch (thrownValue$164) {
10702
- handleThrow(root, thrownValue$164);
10734
+ } catch (thrownValue$166) {
10735
+ handleThrow(root, thrownValue$166);
10703
10736
  }
10704
10737
  while (1);
10705
10738
  lanes && root.shellSuspendCounter++;
@@ -10814,8 +10847,8 @@ function renderRootConcurrent(root, lanes) {
10814
10847
  }
10815
10848
  workLoopConcurrentByScheduler();
10816
10849
  break;
10817
- } catch (thrownValue$166) {
10818
- handleThrow(root, thrownValue$166);
10850
+ } catch (thrownValue$168) {
10851
+ handleThrow(root, thrownValue$168);
10819
10852
  }
10820
10853
  while (1);
10821
10854
  lastContextDependency = currentlyRenderingFiber$1 = null;
@@ -11456,14 +11489,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11456
11489
  isFlushingWork = !0;
11457
11490
  do {
11458
11491
  var didPerformSomeWork = !1;
11459
- for (var root$171 = firstScheduledRoot; null !== root$171; ) {
11492
+ for (var root$173 = firstScheduledRoot; null !== root$173; ) {
11460
11493
  if (!onlyLegacy)
11461
11494
  if (0 !== syncTransitionLanes) {
11462
- var pendingLanes = root$171.pendingLanes;
11495
+ var pendingLanes = root$173.pendingLanes;
11463
11496
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
11464
11497
  else {
11465
- var suspendedLanes = root$171.suspendedLanes,
11466
- pingedLanes = root$171.pingedLanes;
11498
+ var suspendedLanes = root$173.suspendedLanes,
11499
+ pingedLanes = root$173.pingedLanes;
11467
11500
  JSCompiler_inline_result =
11468
11501
  (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
11469
11502
  JSCompiler_inline_result &=
@@ -11477,20 +11510,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11477
11510
  }
11478
11511
  0 !== JSCompiler_inline_result &&
11479
11512
  ((didPerformSomeWork = !0),
11480
- performSyncWorkOnRoot(root$171, JSCompiler_inline_result));
11513
+ performSyncWorkOnRoot(root$173, JSCompiler_inline_result));
11481
11514
  } else
11482
11515
  (JSCompiler_inline_result = workInProgressRootRenderLanes),
11483
11516
  (JSCompiler_inline_result = getNextLanes(
11484
- root$171,
11485
- root$171 === workInProgressRoot ? JSCompiler_inline_result : 0,
11486
- null !== root$171.cancelPendingCommit ||
11487
- -1 !== root$171.timeoutHandle
11517
+ root$173,
11518
+ root$173 === workInProgressRoot ? JSCompiler_inline_result : 0,
11519
+ null !== root$173.cancelPendingCommit ||
11520
+ -1 !== root$173.timeoutHandle
11488
11521
  )),
11489
11522
  0 === (JSCompiler_inline_result & 3) ||
11490
- checkIfRootIsPrerendering(root$171, JSCompiler_inline_result) ||
11523
+ checkIfRootIsPrerendering(root$173, JSCompiler_inline_result) ||
11491
11524
  ((didPerformSomeWork = !0),
11492
- performSyncWorkOnRoot(root$171, JSCompiler_inline_result));
11493
- root$171 = root$171.next;
11525
+ performSyncWorkOnRoot(root$173, JSCompiler_inline_result));
11526
+ root$173 = root$173.next;
11494
11527
  }
11495
11528
  } while (didPerformSomeWork);
11496
11529
  isFlushingWork = !1;
@@ -11730,20 +11763,20 @@ function extractEvents$1(
11730
11763
  }
11731
11764
  }
11732
11765
  for (
11733
- var i$jscomp$inline_1490 = 0;
11734
- i$jscomp$inline_1490 < simpleEventPluginEvents.length;
11735
- i$jscomp$inline_1490++
11766
+ var i$jscomp$inline_1492 = 0;
11767
+ i$jscomp$inline_1492 < simpleEventPluginEvents.length;
11768
+ i$jscomp$inline_1492++
11736
11769
  ) {
11737
- var eventName$jscomp$inline_1491 =
11738
- simpleEventPluginEvents[i$jscomp$inline_1490],
11739
- domEventName$jscomp$inline_1492 =
11740
- eventName$jscomp$inline_1491.toLowerCase(),
11741
- capitalizedEvent$jscomp$inline_1493 =
11742
- eventName$jscomp$inline_1491[0].toUpperCase() +
11743
- eventName$jscomp$inline_1491.slice(1);
11770
+ var eventName$jscomp$inline_1493 =
11771
+ simpleEventPluginEvents[i$jscomp$inline_1492],
11772
+ domEventName$jscomp$inline_1494 =
11773
+ eventName$jscomp$inline_1493.toLowerCase(),
11774
+ capitalizedEvent$jscomp$inline_1495 =
11775
+ eventName$jscomp$inline_1493[0].toUpperCase() +
11776
+ eventName$jscomp$inline_1493.slice(1);
11744
11777
  registerSimpleEvent(
11745
- domEventName$jscomp$inline_1492,
11746
- "on" + capitalizedEvent$jscomp$inline_1493
11778
+ domEventName$jscomp$inline_1494,
11779
+ "on" + capitalizedEvent$jscomp$inline_1495
11747
11780
  );
11748
11781
  }
11749
11782
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -12926,34 +12959,34 @@ function setInitialProperties(domElement, tag, props) {
12926
12959
  defaultChecked = null;
12927
12960
  for (hasSrc in props)
12928
12961
  if (props.hasOwnProperty(hasSrc)) {
12929
- var propValue$185 = props[hasSrc];
12930
- if (null != propValue$185)
12962
+ var propValue$187 = props[hasSrc];
12963
+ if (null != propValue$187)
12931
12964
  switch (hasSrc) {
12932
12965
  case "name":
12933
- hasSrcSet = propValue$185;
12966
+ hasSrcSet = propValue$187;
12934
12967
  break;
12935
12968
  case "type":
12936
- propValue = propValue$185;
12969
+ propValue = propValue$187;
12937
12970
  break;
12938
12971
  case "checked":
12939
- checked = propValue$185;
12972
+ checked = propValue$187;
12940
12973
  break;
12941
12974
  case "defaultChecked":
12942
- defaultChecked = propValue$185;
12975
+ defaultChecked = propValue$187;
12943
12976
  break;
12944
12977
  case "value":
12945
- propKey = propValue$185;
12978
+ propKey = propValue$187;
12946
12979
  break;
12947
12980
  case "defaultValue":
12948
- defaultValue = propValue$185;
12981
+ defaultValue = propValue$187;
12949
12982
  break;
12950
12983
  case "children":
12951
12984
  case "dangerouslySetInnerHTML":
12952
- if (null != propValue$185)
12985
+ if (null != propValue$187)
12953
12986
  throw Error(formatProdErrorMessage(137, tag));
12954
12987
  break;
12955
12988
  default:
12956
- setProp(domElement, tag, hasSrc, propValue$185, props, null);
12989
+ setProp(domElement, tag, hasSrc, propValue$187, props, null);
12957
12990
  }
12958
12991
  }
12959
12992
  initInput(
@@ -13090,14 +13123,14 @@ function setInitialProperties(domElement, tag, props) {
13090
13123
  return;
13091
13124
  default:
13092
13125
  if (isCustomElement(tag)) {
13093
- for (propValue$185 in props)
13094
- props.hasOwnProperty(propValue$185) &&
13095
- ((hasSrc = props[propValue$185]),
13126
+ for (propValue$187 in props)
13127
+ props.hasOwnProperty(propValue$187) &&
13128
+ ((hasSrc = props[propValue$187]),
13096
13129
  void 0 !== hasSrc &&
13097
13130
  setPropOnCustomElement(
13098
13131
  domElement,
13099
13132
  tag,
13100
- propValue$185,
13133
+ propValue$187,
13101
13134
  hasSrc,
13102
13135
  props,
13103
13136
  void 0
@@ -13145,14 +13178,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13145
13178
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
13146
13179
  }
13147
13180
  }
13148
- for (var propKey$202 in nextProps) {
13149
- var propKey = nextProps[propKey$202];
13150
- lastProp = lastProps[propKey$202];
13181
+ for (var propKey$204 in nextProps) {
13182
+ var propKey = nextProps[propKey$204];
13183
+ lastProp = lastProps[propKey$204];
13151
13184
  if (
13152
- nextProps.hasOwnProperty(propKey$202) &&
13185
+ nextProps.hasOwnProperty(propKey$204) &&
13153
13186
  (null != propKey || null != lastProp)
13154
13187
  )
13155
- switch (propKey$202) {
13188
+ switch (propKey$204) {
13156
13189
  case "type":
13157
13190
  type = propKey;
13158
13191
  break;
@@ -13181,7 +13214,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13181
13214
  setProp(
13182
13215
  domElement,
13183
13216
  tag,
13184
- propKey$202,
13217
+ propKey$204,
13185
13218
  propKey,
13186
13219
  nextProps,
13187
13220
  lastProp
@@ -13200,7 +13233,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13200
13233
  );
13201
13234
  return;
13202
13235
  case "select":
13203
- propKey = value = defaultValue = propKey$202 = null;
13236
+ propKey = value = defaultValue = propKey$204 = null;
13204
13237
  for (type in lastProps)
13205
13238
  if (
13206
13239
  ((lastDefaultValue = lastProps[type]),
@@ -13231,7 +13264,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13231
13264
  )
13232
13265
  switch (name) {
13233
13266
  case "value":
13234
- propKey$202 = type;
13267
+ propKey$204 = type;
13235
13268
  break;
13236
13269
  case "defaultValue":
13237
13270
  defaultValue = type;
@@ -13252,15 +13285,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13252
13285
  tag = defaultValue;
13253
13286
  lastProps = value;
13254
13287
  nextProps = propKey;
13255
- null != propKey$202
13256
- ? updateOptions(domElement, !!lastProps, propKey$202, !1)
13288
+ null != propKey$204
13289
+ ? updateOptions(domElement, !!lastProps, propKey$204, !1)
13257
13290
  : !!nextProps !== !!lastProps &&
13258
13291
  (null != tag
13259
13292
  ? updateOptions(domElement, !!lastProps, tag, !0)
13260
13293
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
13261
13294
  return;
13262
13295
  case "textarea":
13263
- propKey = propKey$202 = null;
13296
+ propKey = propKey$204 = null;
13264
13297
  for (defaultValue in lastProps)
13265
13298
  if (
13266
13299
  ((name = lastProps[defaultValue]),
@@ -13284,7 +13317,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13284
13317
  )
13285
13318
  switch (value) {
13286
13319
  case "value":
13287
- propKey$202 = name;
13320
+ propKey$204 = name;
13288
13321
  break;
13289
13322
  case "defaultValue":
13290
13323
  propKey = name;
@@ -13298,17 +13331,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13298
13331
  name !== type &&
13299
13332
  setProp(domElement, tag, value, name, nextProps, type);
13300
13333
  }
13301
- updateTextarea(domElement, propKey$202, propKey);
13334
+ updateTextarea(domElement, propKey$204, propKey);
13302
13335
  return;
13303
13336
  case "option":
13304
- for (var propKey$218 in lastProps)
13337
+ for (var propKey$220 in lastProps)
13305
13338
  if (
13306
- ((propKey$202 = lastProps[propKey$218]),
13307
- lastProps.hasOwnProperty(propKey$218) &&
13308
- null != propKey$202 &&
13309
- !nextProps.hasOwnProperty(propKey$218))
13339
+ ((propKey$204 = lastProps[propKey$220]),
13340
+ lastProps.hasOwnProperty(propKey$220) &&
13341
+ null != propKey$204 &&
13342
+ !nextProps.hasOwnProperty(propKey$220))
13310
13343
  )
13311
- switch (propKey$218) {
13344
+ switch (propKey$220) {
13312
13345
  case "selected":
13313
13346
  domElement.selected = !1;
13314
13347
  break;
@@ -13316,33 +13349,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13316
13349
  setProp(
13317
13350
  domElement,
13318
13351
  tag,
13319
- propKey$218,
13352
+ propKey$220,
13320
13353
  null,
13321
13354
  nextProps,
13322
- propKey$202
13355
+ propKey$204
13323
13356
  );
13324
13357
  }
13325
13358
  for (lastDefaultValue in nextProps)
13326
13359
  if (
13327
- ((propKey$202 = nextProps[lastDefaultValue]),
13360
+ ((propKey$204 = nextProps[lastDefaultValue]),
13328
13361
  (propKey = lastProps[lastDefaultValue]),
13329
13362
  nextProps.hasOwnProperty(lastDefaultValue) &&
13330
- propKey$202 !== propKey &&
13331
- (null != propKey$202 || null != propKey))
13363
+ propKey$204 !== propKey &&
13364
+ (null != propKey$204 || null != propKey))
13332
13365
  )
13333
13366
  switch (lastDefaultValue) {
13334
13367
  case "selected":
13335
13368
  domElement.selected =
13336
- propKey$202 &&
13337
- "function" !== typeof propKey$202 &&
13338
- "symbol" !== typeof propKey$202;
13369
+ propKey$204 &&
13370
+ "function" !== typeof propKey$204 &&
13371
+ "symbol" !== typeof propKey$204;
13339
13372
  break;
13340
13373
  default:
13341
13374
  setProp(
13342
13375
  domElement,
13343
13376
  tag,
13344
13377
  lastDefaultValue,
13345
- propKey$202,
13378
+ propKey$204,
13346
13379
  nextProps,
13347
13380
  propKey
13348
13381
  );
@@ -13363,24 +13396,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13363
13396
  case "track":
13364
13397
  case "wbr":
13365
13398
  case "menuitem":
13366
- for (var propKey$223 in lastProps)
13367
- (propKey$202 = lastProps[propKey$223]),
13368
- lastProps.hasOwnProperty(propKey$223) &&
13369
- null != propKey$202 &&
13370
- !nextProps.hasOwnProperty(propKey$223) &&
13371
- setProp(domElement, tag, propKey$223, null, nextProps, propKey$202);
13399
+ for (var propKey$225 in lastProps)
13400
+ (propKey$204 = lastProps[propKey$225]),
13401
+ lastProps.hasOwnProperty(propKey$225) &&
13402
+ null != propKey$204 &&
13403
+ !nextProps.hasOwnProperty(propKey$225) &&
13404
+ setProp(domElement, tag, propKey$225, null, nextProps, propKey$204);
13372
13405
  for (checked in nextProps)
13373
13406
  if (
13374
- ((propKey$202 = nextProps[checked]),
13407
+ ((propKey$204 = nextProps[checked]),
13375
13408
  (propKey = lastProps[checked]),
13376
13409
  nextProps.hasOwnProperty(checked) &&
13377
- propKey$202 !== propKey &&
13378
- (null != propKey$202 || null != propKey))
13410
+ propKey$204 !== propKey &&
13411
+ (null != propKey$204 || null != propKey))
13379
13412
  )
13380
13413
  switch (checked) {
13381
13414
  case "children":
13382
13415
  case "dangerouslySetInnerHTML":
13383
- if (null != propKey$202)
13416
+ if (null != propKey$204)
13384
13417
  throw Error(formatProdErrorMessage(137, tag));
13385
13418
  break;
13386
13419
  default:
@@ -13388,7 +13421,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13388
13421
  domElement,
13389
13422
  tag,
13390
13423
  checked,
13391
- propKey$202,
13424
+ propKey$204,
13392
13425
  nextProps,
13393
13426
  propKey
13394
13427
  );
@@ -13396,49 +13429,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13396
13429
  return;
13397
13430
  default:
13398
13431
  if (isCustomElement(tag)) {
13399
- for (var propKey$228 in lastProps)
13400
- (propKey$202 = lastProps[propKey$228]),
13401
- lastProps.hasOwnProperty(propKey$228) &&
13402
- void 0 !== propKey$202 &&
13403
- !nextProps.hasOwnProperty(propKey$228) &&
13432
+ for (var propKey$230 in lastProps)
13433
+ (propKey$204 = lastProps[propKey$230]),
13434
+ lastProps.hasOwnProperty(propKey$230) &&
13435
+ void 0 !== propKey$204 &&
13436
+ !nextProps.hasOwnProperty(propKey$230) &&
13404
13437
  setPropOnCustomElement(
13405
13438
  domElement,
13406
13439
  tag,
13407
- propKey$228,
13440
+ propKey$230,
13408
13441
  void 0,
13409
13442
  nextProps,
13410
- propKey$202
13443
+ propKey$204
13411
13444
  );
13412
13445
  for (defaultChecked in nextProps)
13413
- (propKey$202 = nextProps[defaultChecked]),
13446
+ (propKey$204 = nextProps[defaultChecked]),
13414
13447
  (propKey = lastProps[defaultChecked]),
13415
13448
  !nextProps.hasOwnProperty(defaultChecked) ||
13416
- propKey$202 === propKey ||
13417
- (void 0 === propKey$202 && void 0 === propKey) ||
13449
+ propKey$204 === propKey ||
13450
+ (void 0 === propKey$204 && void 0 === propKey) ||
13418
13451
  setPropOnCustomElement(
13419
13452
  domElement,
13420
13453
  tag,
13421
13454
  defaultChecked,
13422
- propKey$202,
13455
+ propKey$204,
13423
13456
  nextProps,
13424
13457
  propKey
13425
13458
  );
13426
13459
  return;
13427
13460
  }
13428
13461
  }
13429
- for (var propKey$233 in lastProps)
13430
- (propKey$202 = lastProps[propKey$233]),
13431
- lastProps.hasOwnProperty(propKey$233) &&
13432
- null != propKey$202 &&
13433
- !nextProps.hasOwnProperty(propKey$233) &&
13434
- setProp(domElement, tag, propKey$233, null, nextProps, propKey$202);
13462
+ for (var propKey$235 in lastProps)
13463
+ (propKey$204 = lastProps[propKey$235]),
13464
+ lastProps.hasOwnProperty(propKey$235) &&
13465
+ null != propKey$204 &&
13466
+ !nextProps.hasOwnProperty(propKey$235) &&
13467
+ setProp(domElement, tag, propKey$235, null, nextProps, propKey$204);
13435
13468
  for (lastProp in nextProps)
13436
- (propKey$202 = nextProps[lastProp]),
13469
+ (propKey$204 = nextProps[lastProp]),
13437
13470
  (propKey = lastProps[lastProp]),
13438
13471
  !nextProps.hasOwnProperty(lastProp) ||
13439
- propKey$202 === propKey ||
13440
- (null == propKey$202 && null == propKey) ||
13441
- setProp(domElement, tag, lastProp, propKey$202, nextProps, propKey);
13472
+ propKey$204 === propKey ||
13473
+ (null == propKey$204 && null == propKey) ||
13474
+ setProp(domElement, tag, lastProp, propKey$204, nextProps, propKey);
13442
13475
  }
13443
13476
  var eventsEnabled = null,
13444
13477
  selectionInformation = null;
@@ -13705,6 +13738,11 @@ function resolveSingletonInstance(type, props, rootContainerInstance) {
13705
13738
  throw Error(formatProdErrorMessage(451));
13706
13739
  }
13707
13740
  }
13741
+ function releaseSingletonInstance(instance) {
13742
+ for (var attributes = instance.attributes; attributes.length; )
13743
+ instance.removeAttributeNode(attributes[0]);
13744
+ detachDeletedInstance(instance);
13745
+ }
13708
13746
  var preloadPropsMap = new Map(),
13709
13747
  preconnectsSet = new Set();
13710
13748
  function getHoistableRoot(container) {
@@ -14004,26 +14042,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14004
14042
  "string" === typeof pendingProps.precedence
14005
14043
  ) {
14006
14044
  type = getStyleKey(pendingProps.href);
14007
- var styles$241 = getResourcesFromRoot(
14045
+ var styles$243 = getResourcesFromRoot(
14008
14046
  JSCompiler_inline_result
14009
14047
  ).hoistableStyles,
14010
- resource$242 = styles$241.get(type);
14011
- resource$242 ||
14048
+ resource$244 = styles$243.get(type);
14049
+ resource$244 ||
14012
14050
  ((JSCompiler_inline_result =
14013
14051
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14014
- (resource$242 = {
14052
+ (resource$244 = {
14015
14053
  type: "stylesheet",
14016
14054
  instance: null,
14017
14055
  count: 0,
14018
14056
  state: { loading: 0, preload: null }
14019
14057
  }),
14020
- styles$241.set(type, resource$242),
14021
- (styles$241 = JSCompiler_inline_result.querySelector(
14058
+ styles$243.set(type, resource$244),
14059
+ (styles$243 = JSCompiler_inline_result.querySelector(
14022
14060
  getStylesheetSelectorFromKey(type)
14023
14061
  )) &&
14024
- !styles$241._p &&
14025
- ((resource$242.instance = styles$241),
14026
- (resource$242.state.loading = 5)),
14062
+ !styles$243._p &&
14063
+ ((resource$244.instance = styles$243),
14064
+ (resource$244.state.loading = 5)),
14027
14065
  preloadPropsMap.has(type) ||
14028
14066
  ((pendingProps = {
14029
14067
  rel: "preload",
@@ -14036,16 +14074,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14036
14074
  referrerPolicy: pendingProps.referrerPolicy
14037
14075
  }),
14038
14076
  preloadPropsMap.set(type, pendingProps),
14039
- styles$241 ||
14077
+ styles$243 ||
14040
14078
  preloadStylesheet(
14041
14079
  JSCompiler_inline_result,
14042
14080
  type,
14043
14081
  pendingProps,
14044
- resource$242.state
14082
+ resource$244.state
14045
14083
  )));
14046
14084
  if (currentProps && null === currentResource)
14047
14085
  throw Error(formatProdErrorMessage(528, ""));
14048
- return resource$242;
14086
+ return resource$244;
14049
14087
  }
14050
14088
  if (currentProps && null !== currentResource)
14051
14089
  throw Error(formatProdErrorMessage(529, ""));
@@ -14142,37 +14180,37 @@ function acquireResource(hoistableRoot, resource, props) {
14142
14180
  return (resource.instance = instance);
14143
14181
  case "stylesheet":
14144
14182
  styleProps = getStyleKey(props.href);
14145
- var instance$247 = hoistableRoot.querySelector(
14183
+ var instance$249 = hoistableRoot.querySelector(
14146
14184
  getStylesheetSelectorFromKey(styleProps)
14147
14185
  );
14148
- if (instance$247)
14186
+ if (instance$249)
14149
14187
  return (
14150
14188
  (resource.state.loading |= 4),
14151
- (resource.instance = instance$247),
14152
- markNodeAsHoistable(instance$247),
14153
- instance$247
14189
+ (resource.instance = instance$249),
14190
+ markNodeAsHoistable(instance$249),
14191
+ instance$249
14154
14192
  );
14155
14193
  instance = stylesheetPropsFromRawProps(props);
14156
14194
  (styleProps = preloadPropsMap.get(styleProps)) &&
14157
14195
  adoptPreloadPropsForStylesheet(instance, styleProps);
14158
- instance$247 = (
14196
+ instance$249 = (
14159
14197
  hoistableRoot.ownerDocument || hoistableRoot
14160
14198
  ).createElement("link");
14161
- markNodeAsHoistable(instance$247);
14162
- var linkInstance = instance$247;
14199
+ markNodeAsHoistable(instance$249);
14200
+ var linkInstance = instance$249;
14163
14201
  linkInstance._p = new Promise(function (resolve, reject) {
14164
14202
  linkInstance.onload = resolve;
14165
14203
  linkInstance.onerror = reject;
14166
14204
  });
14167
- setInitialProperties(instance$247, "link", instance);
14205
+ setInitialProperties(instance$249, "link", instance);
14168
14206
  resource.state.loading |= 4;
14169
- insertStylesheet(instance$247, props.precedence, hoistableRoot);
14170
- return (resource.instance = instance$247);
14207
+ insertStylesheet(instance$249, props.precedence, hoistableRoot);
14208
+ return (resource.instance = instance$249);
14171
14209
  case "script":
14172
- instance$247 = getScriptKey(props.src);
14210
+ instance$249 = getScriptKey(props.src);
14173
14211
  if (
14174
14212
  (styleProps = hoistableRoot.querySelector(
14175
- getScriptSelectorFromKey(instance$247)
14213
+ getScriptSelectorFromKey(instance$249)
14176
14214
  ))
14177
14215
  )
14178
14216
  return (
@@ -14181,7 +14219,7 @@ function acquireResource(hoistableRoot, resource, props) {
14181
14219
  styleProps
14182
14220
  );
14183
14221
  instance = props;
14184
- if ((styleProps = preloadPropsMap.get(instance$247)))
14222
+ if ((styleProps = preloadPropsMap.get(instance$249)))
14185
14223
  (instance = assign({}, props)),
14186
14224
  adoptPreloadPropsForScript(instance, styleProps);
14187
14225
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -15200,16 +15238,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15200
15238
  0 === i && attemptExplicitHydrationTarget(target);
15201
15239
  }
15202
15240
  };
15203
- var isomorphicReactPackageVersion$jscomp$inline_1737 = React.version;
15241
+ var isomorphicReactPackageVersion$jscomp$inline_1739 = React.version;
15204
15242
  if (
15205
- "19.1.0-canary-37906d4d-20250127" !==
15206
- isomorphicReactPackageVersion$jscomp$inline_1737
15243
+ "19.1.0-canary-bb9a24d9-20250130" !==
15244
+ isomorphicReactPackageVersion$jscomp$inline_1739
15207
15245
  )
15208
15246
  throw Error(
15209
15247
  formatProdErrorMessage(
15210
15248
  527,
15211
- isomorphicReactPackageVersion$jscomp$inline_1737,
15212
- "19.1.0-canary-37906d4d-20250127"
15249
+ isomorphicReactPackageVersion$jscomp$inline_1739,
15250
+ "19.1.0-canary-bb9a24d9-20250130"
15213
15251
  )
15214
15252
  );
15215
15253
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15229,24 +15267,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15229
15267
  null === componentOrElement ? null : componentOrElement.stateNode;
15230
15268
  return componentOrElement;
15231
15269
  };
15232
- var internals$jscomp$inline_2214 = {
15270
+ var internals$jscomp$inline_2216 = {
15233
15271
  bundleType: 0,
15234
- version: "19.1.0-canary-37906d4d-20250127",
15272
+ version: "19.1.0-canary-bb9a24d9-20250130",
15235
15273
  rendererPackageName: "react-dom",
15236
15274
  currentDispatcherRef: ReactSharedInternals,
15237
- reconcilerVersion: "19.1.0-canary-37906d4d-20250127"
15275
+ reconcilerVersion: "19.1.0-canary-bb9a24d9-20250130"
15238
15276
  };
15239
15277
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15240
- var hook$jscomp$inline_2215 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15278
+ var hook$jscomp$inline_2217 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15241
15279
  if (
15242
- !hook$jscomp$inline_2215.isDisabled &&
15243
- hook$jscomp$inline_2215.supportsFiber
15280
+ !hook$jscomp$inline_2217.isDisabled &&
15281
+ hook$jscomp$inline_2217.supportsFiber
15244
15282
  )
15245
15283
  try {
15246
- (rendererID = hook$jscomp$inline_2215.inject(
15247
- internals$jscomp$inline_2214
15284
+ (rendererID = hook$jscomp$inline_2217.inject(
15285
+ internals$jscomp$inline_2216
15248
15286
  )),
15249
- (injectedHook = hook$jscomp$inline_2215);
15287
+ (injectedHook = hook$jscomp$inline_2217);
15250
15288
  } catch (err) {}
15251
15289
  }
15252
15290
  exports.createRoot = function (container, options) {
@@ -15340,4 +15378,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15340
15378
  listenToAllSupportedEvents(container);
15341
15379
  return new ReactDOMHydrationRoot(initialChildren);
15342
15380
  };
15343
- exports.version = "19.1.0-canary-37906d4d-20250127";
15381
+ exports.version = "19.1.0-canary-bb9a24d9-20250130";