|
7 | 7 | * @noflow
|
8 | 8 | * @nolint
|
9 | 9 | * @preventMunge
|
10 |
| - * @generated SignedSource<<bc893b40f5241ccc5739e11d06773023>> |
| 10 | + * @generated SignedSource<<97008c538e5b8f1fb99d5ffc107ddbb3>> |
11 | 11 | */
|
12 | 12 |
|
13 | 13 | /*
|
@@ -454,11 +454,7 @@ __DEV__ &&
|
454 | 454 | break;
|
455 | 455 | default:
|
456 | 456 | if (
|
457 |
| - ((nextRootInstance = |
458 |
| - 8 === nextRootContext |
459 |
| - ? nextRootInstance.parentNode |
460 |
| - : nextRootInstance), |
461 |
| - (nextRootContext = nextRootInstance.tagName), |
| 457 | + ((nextRootContext = nextRootInstance.tagName), |
462 | 458 | (nextRootInstance = nextRootInstance.namespaceURI))
|
463 | 459 | )
|
464 | 460 | (nextRootInstance = getOwnHostContext(nextRootInstance)),
|
@@ -11589,48 +11585,31 @@ __DEV__ &&
|
11589 | 11585 | function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
11590 | 11586 | var tag = node.tag;
|
11591 | 11587 | if (5 === tag || 6 === tag)
|
11592 |
| - if (((node = node.stateNode), before)) { |
11593 |
| - switch (parent.nodeType) { |
11594 |
| - case 8: |
11595 |
| - parent = parent.parentNode; |
11596 |
| - break; |
11597 |
| - case 9: |
11598 |
| - parent = parent.body; |
11599 |
| - break; |
11600 |
| - default: |
11601 |
| - parent = |
11602 |
| - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; |
11603 |
| - } |
11604 |
| - supportsMoveBefore |
11605 |
| - ? parent.moveBefore(node, before) |
11606 |
| - : parent.insertBefore(node, before); |
11607 |
| - } else |
11608 |
| - a: { |
11609 |
| - before = parent; |
11610 |
| - switch (before.nodeType) { |
11611 |
| - case 8: |
11612 |
| - parent = before.parentNode; |
11613 |
| - supportsMoveBefore |
11614 |
| - ? parent.moveBefore(node, before) |
11615 |
| - : parent.insertBefore(node, before); |
11616 |
| - break a; |
11617 |
| - case 9: |
11618 |
| - parent = before.body; |
11619 |
| - break; |
11620 |
| - default: |
11621 |
| - parent = |
11622 |
| - "HTML" === before.nodeName |
| 11588 | + (node = node.stateNode), |
| 11589 | + before |
| 11590 | + ? ((parent = |
| 11591 | + 9 === parent.nodeType |
| 11592 | + ? parent.body |
| 11593 | + : "HTML" === parent.nodeName |
| 11594 | + ? parent.ownerDocument.body |
| 11595 | + : parent), |
| 11596 | + supportsMoveBefore |
| 11597 | + ? parent.moveBefore(node, before) |
| 11598 | + : parent.insertBefore(node, before)) |
| 11599 | + : ((before = parent), |
| 11600 | + (parent = |
| 11601 | + 9 === before.nodeType |
| 11602 | + ? before.body |
| 11603 | + : "HTML" === before.nodeName |
11623 | 11604 | ? before.ownerDocument.body
|
11624 |
| - : before; |
11625 |
| - } |
11626 |
| - supportsMoveBefore |
11627 |
| - ? parent.moveBefore(node, null) |
11628 |
| - : parent.appendChild(node); |
11629 |
| - before = before._reactRootContainer; |
11630 |
| - (null !== before && void 0 !== before) || |
11631 |
| - null !== parent.onclick || |
11632 |
| - (parent.onclick = noop$1); |
11633 |
| - } |
| 11605 | + : before), |
| 11606 | + supportsMoveBefore |
| 11607 | + ? parent.moveBefore(node, null) |
| 11608 | + : parent.appendChild(node), |
| 11609 | + (before = before._reactRootContainer), |
| 11610 | + (null !== before && void 0 !== before) || |
| 11611 | + null !== parent.onclick || |
| 11612 | + (parent.onclick = noop$1)); |
11634 | 11613 | else if (
|
11635 | 11614 | 4 !== tag &&
|
11636 | 11615 | (27 === tag &&
|
@@ -12225,26 +12204,14 @@ __DEV__ &&
|
12225 | 12204 | null !== hostParent &&
|
12226 | 12205 | (hostParentIsContainer
|
12227 | 12206 | ? ((nearestMountedAncestor = hostParent),
|
12228 |
| - (deletedFiber = deletedFiber.stateNode), |
12229 |
| - 8 === nearestMountedAncestor.nodeType |
12230 |
| - ? clearSuspenseBoundary( |
12231 |
| - nearestMountedAncestor.parentNode, |
12232 |
| - deletedFiber |
12233 |
| - ) |
12234 |
| - : 9 === nearestMountedAncestor.nodeType |
12235 |
| - ? clearSuspenseBoundary( |
12236 |
| - nearestMountedAncestor.body, |
12237 |
| - deletedFiber |
12238 |
| - ) |
| 12207 | + clearSuspenseBoundary( |
| 12208 | + 9 === nearestMountedAncestor.nodeType |
| 12209 | + ? nearestMountedAncestor.body |
12239 | 12210 | : "HTML" === nearestMountedAncestor.nodeName
|
12240 |
| - ? clearSuspenseBoundary( |
12241 |
| - nearestMountedAncestor.ownerDocument.body, |
12242 |
| - deletedFiber |
12243 |
| - ) |
12244 |
| - : clearSuspenseBoundary( |
12245 |
| - nearestMountedAncestor, |
12246 |
| - deletedFiber |
12247 |
| - ), |
| 12211 | + ? nearestMountedAncestor.ownerDocument.body |
| 12212 | + : nearestMountedAncestor, |
| 12213 | + deletedFiber.stateNode |
| 12214 | + ), |
12248 | 12215 | retryIfBlockedOn(nearestMountedAncestor))
|
12249 | 12216 | : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
|
12250 | 12217 | break;
|
@@ -17535,23 +17502,15 @@ __DEV__ &&
|
17535 | 17502 | var nodeTag = targetInst$jscomp$0.tag;
|
17536 | 17503 | if (3 === nodeTag || 4 === nodeTag) {
|
17537 | 17504 | var container = targetInst$jscomp$0.stateNode.containerInfo;
|
17538 |
| - if ( |
17539 |
| - container === targetContainer || |
17540 |
| - (8 === container.nodeType && |
17541 |
| - container.parentNode === targetContainer) |
17542 |
| - ) |
17543 |
| - break; |
| 17505 | + if (container === targetContainer) break; |
17544 | 17506 | if (4 === nodeTag)
|
17545 | 17507 | for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {
|
17546 | 17508 | var grandTag = nodeTag.tag;
|
17547 |
| - if (3 === grandTag || 4 === grandTag) |
17548 |
| - if ( |
17549 |
| - ((grandTag = nodeTag.stateNode.containerInfo), |
17550 |
| - grandTag === targetContainer || |
17551 |
| - (8 === grandTag.nodeType && |
17552 |
| - grandTag.parentNode === targetContainer)) |
17553 |
| - ) |
17554 |
| - return; |
| 17509 | + if ( |
| 17510 | + (3 === grandTag || 4 === grandTag) && |
| 17511 | + nodeTag.stateNode.containerInfo === targetContainer |
| 17512 | + ) |
| 17513 | + return; |
17555 | 17514 | nodeTag = nodeTag.return;
|
17556 | 17515 | }
|
17557 | 17516 | for (; null !== container; ) {
|
@@ -20359,20 +20318,12 @@ __DEV__ &&
|
20359 | 20318 | parentInstance.removeChild(child);
|
20360 | 20319 | }
|
20361 | 20320 | function removeChildFromContainer(container, child) {
|
20362 |
| - switch (container.nodeType) { |
20363 |
| - case 8: |
20364 |
| - container = container.parentNode; |
20365 |
| - break; |
20366 |
| - case 9: |
20367 |
| - container = container.body; |
20368 |
| - break; |
20369 |
| - default: |
20370 |
| - container = |
20371 |
| - "HTML" === container.nodeName |
20372 |
| - ? container.ownerDocument.body |
20373 |
| - : container; |
20374 |
| - } |
20375 |
| - container.removeChild(child); |
| 20321 | + (9 === container.nodeType |
| 20322 | + ? container.body |
| 20323 | + : "HTML" === container.nodeName |
| 20324 | + ? container.ownerDocument.body |
| 20325 | + : container |
| 20326 | + ).removeChild(child); |
20376 | 20327 | }
|
20377 | 20328 | function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
20378 | 20329 | var node = suspenseInstance,
|
@@ -26052,11 +26003,11 @@ __DEV__ &&
|
26052 | 26003 | };
|
26053 | 26004 | (function () {
|
26054 | 26005 | var isomorphicReactPackageVersion = React.version;
|
26055 |
| - if ("19.1.0-native-fb-8bda7155-20250204" !== isomorphicReactPackageVersion) |
| 26006 | + if ("19.1.0-native-fb-0605cd9f-20250204" !== isomorphicReactPackageVersion) |
26056 | 26007 | throw Error(
|
26057 | 26008 | 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
26058 | 26009 | (isomorphicReactPackageVersion +
|
26059 |
| - "\n - react-dom: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") |
| 26010 | + "\n - react-dom: 19.1.0-native-fb-0605cd9f-20250204\nLearn more: https://react.dev/warnings/version-mismatch") |
26060 | 26011 | );
|
26061 | 26012 | })();
|
26062 | 26013 | ("function" === typeof Map &&
|
@@ -26093,10 +26044,10 @@ __DEV__ &&
|
26093 | 26044 | !(function () {
|
26094 | 26045 | var internals = {
|
26095 | 26046 | bundleType: 1,
|
26096 |
| - version: "19.1.0-native-fb-8bda7155-20250204", |
| 26047 | + version: "19.1.0-native-fb-0605cd9f-20250204", |
26097 | 26048 | rendererPackageName: "react-dom",
|
26098 | 26049 | currentDispatcherRef: ReactSharedInternals,
|
26099 |
| - reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" |
| 26050 | + reconcilerVersion: "19.1.0-native-fb-0605cd9f-20250204" |
26100 | 26051 | };
|
26101 | 26052 | internals.overrideHookState = overrideHookState;
|
26102 | 26053 | internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -26179,9 +26130,7 @@ __DEV__ &&
|
26179 | 26130 | null
|
26180 | 26131 | );
|
26181 | 26132 | container[internalContainerInstanceKey] = options.current;
|
26182 |
| - listenToAllSupportedEvents( |
26183 |
| - 8 === container.nodeType ? container.parentNode : container |
26184 |
| - ); |
| 26133 | + listenToAllSupportedEvents(container); |
26185 | 26134 | return new ReactDOMRoot(options);
|
26186 | 26135 | };
|
26187 | 26136 | exports.hydrateRoot = function (container, initialChildren, options) {
|
@@ -26242,5 +26191,5 @@ __DEV__ &&
|
26242 | 26191 | listenToAllSupportedEvents(container);
|
26243 | 26192 | return new ReactDOMHydrationRoot(initialChildren);
|
26244 | 26193 | };
|
26245 |
| - exports.version = "19.1.0-native-fb-8bda7155-20250204"; |
| 26194 | + exports.version = "19.1.0-native-fb-0605cd9f-20250204"; |
26246 | 26195 | })();
|
0 commit comments