react-dom 19.1.0-canary-37906d4d-20250127 → 19.1.0-canary-c492f975-20250128

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.
@@ -8856,32 +8856,32 @@
8856
8856
  return current;
8857
8857
  }
8858
8858
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8859
- var JSCompiler_object_inline_digest_2400;
8860
- var JSCompiler_object_inline_stack_2401 = workInProgress.pendingProps;
8859
+ var JSCompiler_object_inline_digest_2393;
8860
+ var JSCompiler_object_inline_stack_2394 = workInProgress.pendingProps;
8861
8861
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8862
- var JSCompiler_object_inline_componentStack_2402 = !1;
8862
+ var JSCompiler_object_inline_componentStack_2395 = !1;
8863
8863
  var didSuspend = 0 !== (workInProgress.flags & 128);
8864
- (JSCompiler_object_inline_digest_2400 = didSuspend) ||
8865
- (JSCompiler_object_inline_digest_2400 =
8864
+ (JSCompiler_object_inline_digest_2393 = didSuspend) ||
8865
+ (JSCompiler_object_inline_digest_2393 =
8866
8866
  null !== current && null === current.memoizedState
8867
8867
  ? !1
8868
8868
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8869
- JSCompiler_object_inline_digest_2400 &&
8870
- ((JSCompiler_object_inline_componentStack_2402 = !0),
8869
+ JSCompiler_object_inline_digest_2393 &&
8870
+ ((JSCompiler_object_inline_componentStack_2395 = !0),
8871
8871
  (workInProgress.flags &= -129));
8872
- JSCompiler_object_inline_digest_2400 = 0 !== (workInProgress.flags & 32);
8872
+ JSCompiler_object_inline_digest_2393 = 0 !== (workInProgress.flags & 32);
8873
8873
  workInProgress.flags &= -33;
8874
8874
  if (null === current) {
8875
8875
  if (isHydrating) {
8876
- JSCompiler_object_inline_componentStack_2402
8876
+ JSCompiler_object_inline_componentStack_2395
8877
8877
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8878
8878
  : reuseSuspenseHandlerOnStack(workInProgress);
8879
8879
  if (isHydrating) {
8880
- var JSCompiler_object_inline_message_2399 = nextHydratableInstance;
8880
+ var JSCompiler_object_inline_message_2392 = nextHydratableInstance;
8881
8881
  var JSCompiler_temp;
8882
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2399)) {
8882
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2392)) {
8883
8883
  c: {
8884
- var instance = JSCompiler_object_inline_message_2399;
8884
+ var instance = JSCompiler_object_inline_message_2392;
8885
8885
  for (
8886
8886
  JSCompiler_temp = rootOrSingletonContext;
8887
8887
  8 !== instance.nodeType;
@@ -8923,77 +8923,77 @@
8923
8923
  JSCompiler_temp &&
8924
8924
  (warnNonHydratedInstance(
8925
8925
  workInProgress,
8926
- JSCompiler_object_inline_message_2399
8926
+ JSCompiler_object_inline_message_2392
8927
8927
  ),
8928
8928
  throwOnHydrationMismatch(workInProgress));
8929
8929
  }
8930
- JSCompiler_object_inline_message_2399 = workInProgress.memoizedState;
8930
+ JSCompiler_object_inline_message_2392 = workInProgress.memoizedState;
8931
8931
  if (
8932
- null !== JSCompiler_object_inline_message_2399 &&
8933
- ((JSCompiler_object_inline_message_2399 =
8934
- JSCompiler_object_inline_message_2399.dehydrated),
8935
- null !== JSCompiler_object_inline_message_2399)
8932
+ null !== JSCompiler_object_inline_message_2392 &&
8933
+ ((JSCompiler_object_inline_message_2392 =
8934
+ JSCompiler_object_inline_message_2392.dehydrated),
8935
+ null !== JSCompiler_object_inline_message_2392)
8936
8936
  )
8937
8937
  return (
8938
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2399)
8938
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2392)
8939
8939
  ? (workInProgress.lanes = 32)
8940
8940
  : (workInProgress.lanes = 536870912),
8941
8941
  null
8942
8942
  );
8943
8943
  popSuspenseHandler(workInProgress);
8944
8944
  }
8945
- JSCompiler_object_inline_message_2399 =
8946
- JSCompiler_object_inline_stack_2401.children;
8947
- JSCompiler_object_inline_stack_2401 =
8948
- JSCompiler_object_inline_stack_2401.fallback;
8949
- if (JSCompiler_object_inline_componentStack_2402)
8945
+ JSCompiler_object_inline_message_2392 =
8946
+ JSCompiler_object_inline_stack_2394.children;
8947
+ JSCompiler_object_inline_stack_2394 =
8948
+ JSCompiler_object_inline_stack_2394.fallback;
8949
+ if (JSCompiler_object_inline_componentStack_2395)
8950
8950
  return (
8951
8951
  reuseSuspenseHandlerOnStack(workInProgress),
8952
- (JSCompiler_object_inline_componentStack_2402 =
8952
+ (JSCompiler_object_inline_componentStack_2395 =
8953
8953
  workInProgress.mode),
8954
- (JSCompiler_object_inline_message_2399 =
8954
+ (JSCompiler_object_inline_message_2392 =
8955
8955
  mountWorkInProgressOffscreenFiber(
8956
8956
  {
8957
8957
  mode: "hidden",
8958
- children: JSCompiler_object_inline_message_2399
8958
+ children: JSCompiler_object_inline_message_2392
8959
8959
  },
8960
- JSCompiler_object_inline_componentStack_2402
8960
+ JSCompiler_object_inline_componentStack_2395
8961
8961
  )),
8962
- (JSCompiler_object_inline_stack_2401 = createFiberFromFragment(
8963
- JSCompiler_object_inline_stack_2401,
8964
- JSCompiler_object_inline_componentStack_2402,
8962
+ (JSCompiler_object_inline_stack_2394 = createFiberFromFragment(
8963
+ JSCompiler_object_inline_stack_2394,
8964
+ JSCompiler_object_inline_componentStack_2395,
8965
8965
  renderLanes,
8966
8966
  null
8967
8967
  )),
8968
- (JSCompiler_object_inline_message_2399.return = workInProgress),
8969
- (JSCompiler_object_inline_stack_2401.return = workInProgress),
8970
- (JSCompiler_object_inline_message_2399.sibling =
8971
- JSCompiler_object_inline_stack_2401),
8972
- (workInProgress.child = JSCompiler_object_inline_message_2399),
8973
- (JSCompiler_object_inline_componentStack_2402 =
8968
+ (JSCompiler_object_inline_message_2392.return = workInProgress),
8969
+ (JSCompiler_object_inline_stack_2394.return = workInProgress),
8970
+ (JSCompiler_object_inline_message_2392.sibling =
8971
+ JSCompiler_object_inline_stack_2394),
8972
+ (workInProgress.child = JSCompiler_object_inline_message_2392),
8973
+ (JSCompiler_object_inline_componentStack_2395 =
8974
8974
  workInProgress.child),
8975
- (JSCompiler_object_inline_componentStack_2402.memoizedState =
8975
+ (JSCompiler_object_inline_componentStack_2395.memoizedState =
8976
8976
  mountSuspenseOffscreenState(renderLanes)),
8977
- (JSCompiler_object_inline_componentStack_2402.childLanes =
8977
+ (JSCompiler_object_inline_componentStack_2395.childLanes =
8978
8978
  getRemainingWorkInPrimaryTree(
8979
8979
  current,
8980
- JSCompiler_object_inline_digest_2400,
8980
+ JSCompiler_object_inline_digest_2393,
8981
8981
  renderLanes
8982
8982
  )),
8983
8983
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8984
- JSCompiler_object_inline_stack_2401
8984
+ JSCompiler_object_inline_stack_2394
8985
8985
  );
8986
8986
  pushPrimaryTreeSuspenseHandler(workInProgress);
8987
8987
  return mountSuspensePrimaryChildren(
8988
8988
  workInProgress,
8989
- JSCompiler_object_inline_message_2399
8989
+ JSCompiler_object_inline_message_2392
8990
8990
  );
8991
8991
  }
8992
8992
  var prevState = current.memoizedState;
8993
8993
  if (
8994
8994
  null !== prevState &&
8995
- ((JSCompiler_object_inline_message_2399 = prevState.dehydrated),
8996
- null !== JSCompiler_object_inline_message_2399)
8995
+ ((JSCompiler_object_inline_message_2392 = prevState.dehydrated),
8996
+ null !== JSCompiler_object_inline_message_2392)
8997
8997
  ) {
8998
8998
  if (didSuspend)
8999
8999
  workInProgress.flags & 256
@@ -9010,94 +9010,94 @@
9010
9010
  (workInProgress.flags |= 128),
9011
9011
  (workInProgress = null))
9012
9012
  : (reuseSuspenseHandlerOnStack(workInProgress),
9013
- (JSCompiler_object_inline_componentStack_2402 =
9014
- JSCompiler_object_inline_stack_2401.fallback),
9015
- (JSCompiler_object_inline_message_2399 = workInProgress.mode),
9016
- (JSCompiler_object_inline_stack_2401 =
9013
+ (JSCompiler_object_inline_componentStack_2395 =
9014
+ JSCompiler_object_inline_stack_2394.fallback),
9015
+ (JSCompiler_object_inline_message_2392 = workInProgress.mode),
9016
+ (JSCompiler_object_inline_stack_2394 =
9017
9017
  mountWorkInProgressOffscreenFiber(
9018
9018
  {
9019
9019
  mode: "visible",
9020
- children: JSCompiler_object_inline_stack_2401.children
9020
+ children: JSCompiler_object_inline_stack_2394.children
9021
9021
  },
9022
- JSCompiler_object_inline_message_2399
9022
+ JSCompiler_object_inline_message_2392
9023
9023
  )),
9024
- (JSCompiler_object_inline_componentStack_2402 =
9024
+ (JSCompiler_object_inline_componentStack_2395 =
9025
9025
  createFiberFromFragment(
9026
- JSCompiler_object_inline_componentStack_2402,
9027
- JSCompiler_object_inline_message_2399,
9026
+ JSCompiler_object_inline_componentStack_2395,
9027
+ JSCompiler_object_inline_message_2392,
9028
9028
  renderLanes,
9029
9029
  null
9030
9030
  )),
9031
- (JSCompiler_object_inline_componentStack_2402.flags |= 2),
9032
- (JSCompiler_object_inline_stack_2401.return = workInProgress),
9033
- (JSCompiler_object_inline_componentStack_2402.return =
9031
+ (JSCompiler_object_inline_componentStack_2395.flags |= 2),
9032
+ (JSCompiler_object_inline_stack_2394.return = workInProgress),
9033
+ (JSCompiler_object_inline_componentStack_2395.return =
9034
9034
  workInProgress),
9035
- (JSCompiler_object_inline_stack_2401.sibling =
9036
- JSCompiler_object_inline_componentStack_2402),
9037
- (workInProgress.child = JSCompiler_object_inline_stack_2401),
9035
+ (JSCompiler_object_inline_stack_2394.sibling =
9036
+ JSCompiler_object_inline_componentStack_2395),
9037
+ (workInProgress.child = JSCompiler_object_inline_stack_2394),
9038
9038
  reconcileChildFibers(
9039
9039
  workInProgress,
9040
9040
  current.child,
9041
9041
  null,
9042
9042
  renderLanes
9043
9043
  ),
9044
- (JSCompiler_object_inline_stack_2401 = workInProgress.child),
9045
- (JSCompiler_object_inline_stack_2401.memoizedState =
9044
+ (JSCompiler_object_inline_stack_2394 = workInProgress.child),
9045
+ (JSCompiler_object_inline_stack_2394.memoizedState =
9046
9046
  mountSuspenseOffscreenState(renderLanes)),
9047
- (JSCompiler_object_inline_stack_2401.childLanes =
9047
+ (JSCompiler_object_inline_stack_2394.childLanes =
9048
9048
  getRemainingWorkInPrimaryTree(
9049
9049
  current,
9050
- JSCompiler_object_inline_digest_2400,
9050
+ JSCompiler_object_inline_digest_2393,
9051
9051
  renderLanes
9052
9052
  )),
9053
9053
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9054
9054
  (workInProgress =
9055
- JSCompiler_object_inline_componentStack_2402));
9055
+ JSCompiler_object_inline_componentStack_2395));
9056
9056
  else if (
9057
9057
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9058
9058
  isHydrating &&
9059
9059
  console.error(
9060
9060
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9061
9061
  ),
9062
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2399))
9062
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2392))
9063
9063
  ) {
9064
- JSCompiler_object_inline_digest_2400 =
9065
- JSCompiler_object_inline_message_2399.nextSibling &&
9066
- JSCompiler_object_inline_message_2399.nextSibling.dataset;
9067
- if (JSCompiler_object_inline_digest_2400) {
9068
- JSCompiler_temp = JSCompiler_object_inline_digest_2400.dgst;
9069
- var message = JSCompiler_object_inline_digest_2400.msg;
9070
- instance = JSCompiler_object_inline_digest_2400.stck;
9071
- var componentStack = JSCompiler_object_inline_digest_2400.cstck;
9064
+ JSCompiler_object_inline_digest_2393 =
9065
+ JSCompiler_object_inline_message_2392.nextSibling &&
9066
+ JSCompiler_object_inline_message_2392.nextSibling.dataset;
9067
+ if (JSCompiler_object_inline_digest_2393) {
9068
+ JSCompiler_temp = JSCompiler_object_inline_digest_2393.dgst;
9069
+ var message = JSCompiler_object_inline_digest_2393.msg;
9070
+ instance = JSCompiler_object_inline_digest_2393.stck;
9071
+ var componentStack = JSCompiler_object_inline_digest_2393.cstck;
9072
9072
  }
9073
- JSCompiler_object_inline_message_2399 = message;
9074
- JSCompiler_object_inline_digest_2400 = JSCompiler_temp;
9075
- JSCompiler_object_inline_stack_2401 = instance;
9076
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2402 =
9073
+ JSCompiler_object_inline_message_2392 = message;
9074
+ JSCompiler_object_inline_digest_2393 = JSCompiler_temp;
9075
+ JSCompiler_object_inline_stack_2394 = instance;
9076
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2395 =
9077
9077
  componentStack;
9078
- JSCompiler_object_inline_componentStack_2402 =
9079
- JSCompiler_object_inline_message_2399
9080
- ? Error(JSCompiler_object_inline_message_2399)
9078
+ JSCompiler_object_inline_componentStack_2395 =
9079
+ JSCompiler_object_inline_message_2392
9080
+ ? Error(JSCompiler_object_inline_message_2392)
9081
9081
  : Error(
9082
9082
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9083
9083
  );
9084
- JSCompiler_object_inline_componentStack_2402.stack =
9085
- JSCompiler_object_inline_stack_2401 || "";
9086
- JSCompiler_object_inline_componentStack_2402.digest =
9087
- JSCompiler_object_inline_digest_2400;
9088
- JSCompiler_object_inline_digest_2400 =
9084
+ JSCompiler_object_inline_componentStack_2395.stack =
9085
+ JSCompiler_object_inline_stack_2394 || "";
9086
+ JSCompiler_object_inline_componentStack_2395.digest =
9087
+ JSCompiler_object_inline_digest_2393;
9088
+ JSCompiler_object_inline_digest_2393 =
9089
9089
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9090
- JSCompiler_object_inline_stack_2401 = {
9091
- value: JSCompiler_object_inline_componentStack_2402,
9090
+ JSCompiler_object_inline_stack_2394 = {
9091
+ value: JSCompiler_object_inline_componentStack_2395,
9092
9092
  source: null,
9093
- stack: JSCompiler_object_inline_digest_2400
9093
+ stack: JSCompiler_object_inline_digest_2393
9094
9094
  };
9095
- "string" === typeof JSCompiler_object_inline_digest_2400 &&
9095
+ "string" === typeof JSCompiler_object_inline_digest_2393 &&
9096
9096
  CapturedStacks.set(
9097
- JSCompiler_object_inline_componentStack_2402,
9098
- JSCompiler_object_inline_stack_2401
9097
+ JSCompiler_object_inline_componentStack_2395,
9098
+ JSCompiler_object_inline_stack_2394
9099
9099
  );
9100
- queueHydrationError(JSCompiler_object_inline_stack_2401);
9100
+ queueHydrationError(JSCompiler_object_inline_stack_2394);
9101
9101
  workInProgress = retrySuspenseComponentWithoutHydrating(
9102
9102
  current,
9103
9103
  workInProgress,
@@ -9111,44 +9111,44 @@
9111
9111
  renderLanes,
9112
9112
  !1
9113
9113
  ),
9114
- (JSCompiler_object_inline_digest_2400 =
9114
+ (JSCompiler_object_inline_digest_2393 =
9115
9115
  0 !== (renderLanes & current.childLanes)),
9116
- didReceiveUpdate || JSCompiler_object_inline_digest_2400)
9116
+ didReceiveUpdate || JSCompiler_object_inline_digest_2393)
9117
9117
  ) {
9118
- JSCompiler_object_inline_digest_2400 = workInProgressRoot;
9118
+ JSCompiler_object_inline_digest_2393 = workInProgressRoot;
9119
9119
  if (
9120
- null !== JSCompiler_object_inline_digest_2400 &&
9121
- ((JSCompiler_object_inline_stack_2401 = renderLanes & -renderLanes),
9122
- (JSCompiler_object_inline_stack_2401 =
9123
- 0 !== (JSCompiler_object_inline_stack_2401 & 42)
9120
+ null !== JSCompiler_object_inline_digest_2393 &&
9121
+ ((JSCompiler_object_inline_stack_2394 = renderLanes & -renderLanes),
9122
+ (JSCompiler_object_inline_stack_2394 =
9123
+ 0 !== (JSCompiler_object_inline_stack_2394 & 42)
9124
9124
  ? 1
9125
9125
  : getBumpedLaneForHydrationByLane(
9126
- JSCompiler_object_inline_stack_2401
9126
+ JSCompiler_object_inline_stack_2394
9127
9127
  )),
9128
- (JSCompiler_object_inline_stack_2401 =
9128
+ (JSCompiler_object_inline_stack_2394 =
9129
9129
  0 !==
9130
- (JSCompiler_object_inline_stack_2401 &
9131
- (JSCompiler_object_inline_digest_2400.suspendedLanes |
9130
+ (JSCompiler_object_inline_stack_2394 &
9131
+ (JSCompiler_object_inline_digest_2393.suspendedLanes |
9132
9132
  renderLanes))
9133
9133
  ? 0
9134
- : JSCompiler_object_inline_stack_2401),
9135
- 0 !== JSCompiler_object_inline_stack_2401 &&
9136
- JSCompiler_object_inline_stack_2401 !== prevState.retryLane)
9134
+ : JSCompiler_object_inline_stack_2394),
9135
+ 0 !== JSCompiler_object_inline_stack_2394 &&
9136
+ JSCompiler_object_inline_stack_2394 !== prevState.retryLane)
9137
9137
  )
9138
9138
  throw (
9139
- ((prevState.retryLane = JSCompiler_object_inline_stack_2401),
9139
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2394),
9140
9140
  enqueueConcurrentRenderForLane(
9141
9141
  current,
9142
- JSCompiler_object_inline_stack_2401
9142
+ JSCompiler_object_inline_stack_2394
9143
9143
  ),
9144
9144
  scheduleUpdateOnFiber(
9145
- JSCompiler_object_inline_digest_2400,
9145
+ JSCompiler_object_inline_digest_2393,
9146
9146
  current,
9147
- JSCompiler_object_inline_stack_2401
9147
+ JSCompiler_object_inline_stack_2394
9148
9148
  ),
9149
9149
  SelectiveHydrationException)
9150
9150
  );
9151
- JSCompiler_object_inline_message_2399.data ===
9151
+ JSCompiler_object_inline_message_2392.data ===
9152
9152
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9153
9153
  workInProgress = retrySuspenseComponentWithoutHydrating(
9154
9154
  current,
@@ -9156,14 +9156,14 @@
9156
9156
  renderLanes
9157
9157
  );
9158
9158
  } else
9159
- JSCompiler_object_inline_message_2399.data ===
9159
+ JSCompiler_object_inline_message_2392.data ===
9160
9160
  SUSPENSE_PENDING_START_DATA
9161
9161
  ? ((workInProgress.flags |= 192),
9162
9162
  (workInProgress.child = current.child),
9163
9163
  (workInProgress = null))
9164
9164
  : ((current = prevState.treeContext),
9165
9165
  (nextHydratableInstance = getNextHydratable(
9166
- JSCompiler_object_inline_message_2399.nextSibling
9166
+ JSCompiler_object_inline_message_2392.nextSibling
9167
9167
  )),
9168
9168
  (hydrationParentFiber = workInProgress),
9169
9169
  (isHydrating = !0),
@@ -9181,57 +9181,57 @@
9181
9181
  (treeContextProvider = workInProgress)),
9182
9182
  (workInProgress = mountSuspensePrimaryChildren(
9183
9183
  workInProgress,
9184
- JSCompiler_object_inline_stack_2401.children
9184
+ JSCompiler_object_inline_stack_2394.children
9185
9185
  )),
9186
9186
  (workInProgress.flags |= 4096));
9187
9187
  return workInProgress;
9188
9188
  }
9189
- if (JSCompiler_object_inline_componentStack_2402)
9189
+ if (JSCompiler_object_inline_componentStack_2395)
9190
9190
  return (
9191
9191
  reuseSuspenseHandlerOnStack(workInProgress),
9192
- (JSCompiler_object_inline_componentStack_2402 =
9193
- JSCompiler_object_inline_stack_2401.fallback),
9194
- (JSCompiler_object_inline_message_2399 = workInProgress.mode),
9192
+ (JSCompiler_object_inline_componentStack_2395 =
9193
+ JSCompiler_object_inline_stack_2394.fallback),
9194
+ (JSCompiler_object_inline_message_2392 = workInProgress.mode),
9195
9195
  (JSCompiler_temp = current.child),
9196
9196
  (instance = JSCompiler_temp.sibling),
9197
- (JSCompiler_object_inline_stack_2401 = createWorkInProgress(
9197
+ (JSCompiler_object_inline_stack_2394 = createWorkInProgress(
9198
9198
  JSCompiler_temp,
9199
9199
  {
9200
9200
  mode: "hidden",
9201
- children: JSCompiler_object_inline_stack_2401.children
9201
+ children: JSCompiler_object_inline_stack_2394.children
9202
9202
  }
9203
9203
  )),
9204
- (JSCompiler_object_inline_stack_2401.subtreeFlags =
9204
+ (JSCompiler_object_inline_stack_2394.subtreeFlags =
9205
9205
  JSCompiler_temp.subtreeFlags & 65011712),
9206
9206
  null !== instance
9207
- ? (JSCompiler_object_inline_componentStack_2402 =
9207
+ ? (JSCompiler_object_inline_componentStack_2395 =
9208
9208
  createWorkInProgress(
9209
9209
  instance,
9210
- JSCompiler_object_inline_componentStack_2402
9210
+ JSCompiler_object_inline_componentStack_2395
9211
9211
  ))
9212
- : ((JSCompiler_object_inline_componentStack_2402 =
9212
+ : ((JSCompiler_object_inline_componentStack_2395 =
9213
9213
  createFiberFromFragment(
9214
- JSCompiler_object_inline_componentStack_2402,
9215
- JSCompiler_object_inline_message_2399,
9214
+ JSCompiler_object_inline_componentStack_2395,
9215
+ JSCompiler_object_inline_message_2392,
9216
9216
  renderLanes,
9217
9217
  null
9218
9218
  )),
9219
- (JSCompiler_object_inline_componentStack_2402.flags |= 2)),
9220
- (JSCompiler_object_inline_componentStack_2402.return =
9219
+ (JSCompiler_object_inline_componentStack_2395.flags |= 2)),
9220
+ (JSCompiler_object_inline_componentStack_2395.return =
9221
9221
  workInProgress),
9222
- (JSCompiler_object_inline_stack_2401.return = workInProgress),
9223
- (JSCompiler_object_inline_stack_2401.sibling =
9224
- JSCompiler_object_inline_componentStack_2402),
9225
- (workInProgress.child = JSCompiler_object_inline_stack_2401),
9226
- (JSCompiler_object_inline_stack_2401 =
9227
- JSCompiler_object_inline_componentStack_2402),
9228
- (JSCompiler_object_inline_componentStack_2402 = workInProgress.child),
9229
- (JSCompiler_object_inline_message_2399 = current.child.memoizedState),
9230
- null === JSCompiler_object_inline_message_2399
9231
- ? (JSCompiler_object_inline_message_2399 =
9222
+ (JSCompiler_object_inline_stack_2394.return = workInProgress),
9223
+ (JSCompiler_object_inline_stack_2394.sibling =
9224
+ JSCompiler_object_inline_componentStack_2395),
9225
+ (workInProgress.child = JSCompiler_object_inline_stack_2394),
9226
+ (JSCompiler_object_inline_stack_2394 =
9227
+ JSCompiler_object_inline_componentStack_2395),
9228
+ (JSCompiler_object_inline_componentStack_2395 = workInProgress.child),
9229
+ (JSCompiler_object_inline_message_2392 = current.child.memoizedState),
9230
+ null === JSCompiler_object_inline_message_2392
9231
+ ? (JSCompiler_object_inline_message_2392 =
9232
9232
  mountSuspenseOffscreenState(renderLanes))
9233
9233
  : ((JSCompiler_temp =
9234
- JSCompiler_object_inline_message_2399.cachePool),
9234
+ JSCompiler_object_inline_message_2392.cachePool),
9235
9235
  null !== JSCompiler_temp
9236
9236
  ? ((instance = CacheContext._currentValue),
9237
9237
  (JSCompiler_temp =
@@ -9239,37 +9239,37 @@
9239
9239
  ? { parent: instance, pool: instance }
9240
9240
  : JSCompiler_temp))
9241
9241
  : (JSCompiler_temp = getSuspendedCache()),
9242
- (JSCompiler_object_inline_message_2399 = {
9242
+ (JSCompiler_object_inline_message_2392 = {
9243
9243
  baseLanes:
9244
- JSCompiler_object_inline_message_2399.baseLanes | renderLanes,
9244
+ JSCompiler_object_inline_message_2392.baseLanes | renderLanes,
9245
9245
  cachePool: JSCompiler_temp
9246
9246
  })),
9247
- (JSCompiler_object_inline_componentStack_2402.memoizedState =
9248
- JSCompiler_object_inline_message_2399),
9249
- (JSCompiler_object_inline_componentStack_2402.childLanes =
9247
+ (JSCompiler_object_inline_componentStack_2395.memoizedState =
9248
+ JSCompiler_object_inline_message_2392),
9249
+ (JSCompiler_object_inline_componentStack_2395.childLanes =
9250
9250
  getRemainingWorkInPrimaryTree(
9251
9251
  current,
9252
- JSCompiler_object_inline_digest_2400,
9252
+ JSCompiler_object_inline_digest_2393,
9253
9253
  renderLanes
9254
9254
  )),
9255
9255
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9256
- JSCompiler_object_inline_stack_2401
9256
+ JSCompiler_object_inline_stack_2394
9257
9257
  );
9258
9258
  pushPrimaryTreeSuspenseHandler(workInProgress);
9259
9259
  renderLanes = current.child;
9260
9260
  current = renderLanes.sibling;
9261
9261
  renderLanes = createWorkInProgress(renderLanes, {
9262
9262
  mode: "visible",
9263
- children: JSCompiler_object_inline_stack_2401.children
9263
+ children: JSCompiler_object_inline_stack_2394.children
9264
9264
  });
9265
9265
  renderLanes.return = workInProgress;
9266
9266
  renderLanes.sibling = null;
9267
9267
  null !== current &&
9268
- ((JSCompiler_object_inline_digest_2400 = workInProgress.deletions),
9269
- null === JSCompiler_object_inline_digest_2400
9268
+ ((JSCompiler_object_inline_digest_2393 = workInProgress.deletions),
9269
+ null === JSCompiler_object_inline_digest_2393
9270
9270
  ? ((workInProgress.deletions = [current]),
9271
9271
  (workInProgress.flags |= 16))
9272
- : JSCompiler_object_inline_digest_2400.push(current));
9272
+ : JSCompiler_object_inline_digest_2393.push(current));
9273
9273
  workInProgress.child = renderLanes;
9274
9274
  workInProgress.memoizedState = null;
9275
9275
  return renderLanes;
@@ -10008,21 +10008,14 @@
10008
10008
  (nextHydratableInstance = getNextHydratable(
10009
10009
  prevSibling.firstChild
10010
10010
  ))),
10011
- (returnFiber = workInProgress.pendingProps.children),
10012
- null !== current || isHydrating
10013
- ? reconcileChildren(
10014
- current,
10015
- workInProgress,
10016
- returnFiber,
10017
- renderLanes
10018
- )
10019
- : (workInProgress.child = reconcileChildFibers(
10020
- workInProgress,
10021
- null,
10022
- returnFiber,
10023
- renderLanes
10024
- )),
10011
+ reconcileChildren(
10012
+ current,
10013
+ workInProgress,
10014
+ workInProgress.pendingProps.children,
10015
+ renderLanes
10016
+ ),
10025
10017
  markRef(current, workInProgress),
10018
+ null === current && (workInProgress.flags |= 4194304),
10026
10019
  workInProgress.child
10027
10020
  );
10028
10021
  case 5:
@@ -10787,7 +10780,7 @@
10787
10780
  5 === fiber.tag ||
10788
10781
  3 === fiber.tag ||
10789
10782
  26 === fiber.tag ||
10790
- 27 === fiber.tag ||
10783
+ (27 === fiber.tag && "head" === fiber.type) ||
10791
10784
  4 === fiber.tag
10792
10785
  );
10793
10786
  }
@@ -10800,12 +10793,10 @@
10800
10793
  fiber.sibling.return = fiber.return;
10801
10794
  for (
10802
10795
  fiber = fiber.sibling;
10803
- 5 !== fiber.tag &&
10804
- 6 !== fiber.tag &&
10805
- 27 !== fiber.tag &&
10806
- 18 !== fiber.tag;
10796
+ 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
10807
10797
 
10808
10798
  ) {
10799
+ if (27 === fiber.tag && "head" === fiber.type) continue a;
10809
10800
  if (fiber.flags & 2) continue a;
10810
10801
  if (null === fiber.child || 4 === fiber.tag) continue a;
10811
10802
  else (fiber.child.return = fiber), (fiber = fiber.child);
@@ -10816,20 +10807,47 @@
10816
10807
  function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
10817
10808
  var tag = node.tag;
10818
10809
  if (5 === tag || 6 === tag)
10819
- (node = node.stateNode),
10820
- before
10821
- ? 8 === parent.nodeType
10822
- ? parent.parentNode.insertBefore(node, before)
10823
- : parent.insertBefore(node, before)
10824
- : (8 === parent.nodeType
10825
- ? ((before = parent.parentNode),
10826
- before.insertBefore(node, parent))
10827
- : ((before = parent), before.appendChild(node)),
10828
- (parent = parent._reactRootContainer),
10829
- (null !== parent && void 0 !== parent) ||
10830
- null !== before.onclick ||
10831
- (before.onclick = noop$2));
10832
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
10810
+ if (((node = node.stateNode), before)) {
10811
+ switch (parent.nodeType) {
10812
+ case 8:
10813
+ parent = parent.parentNode;
10814
+ break;
10815
+ case 9:
10816
+ parent = parent.body;
10817
+ break;
10818
+ default:
10819
+ parent =
10820
+ "HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
10821
+ }
10822
+ parent.insertBefore(node, before);
10823
+ } else
10824
+ a: {
10825
+ switch (parent.nodeType) {
10826
+ case 8:
10827
+ before = parent.parentNode;
10828
+ before.insertBefore(node, parent);
10829
+ break a;
10830
+ case 9:
10831
+ before = parent.body;
10832
+ break;
10833
+ default:
10834
+ before =
10835
+ "HTML" === parent.nodeName
10836
+ ? parent.ownerDocument.body
10837
+ : parent;
10838
+ }
10839
+ before.appendChild(node);
10840
+ parent = parent._reactRootContainer;
10841
+ (null !== parent && void 0 !== parent) ||
10842
+ null !== before.onclick ||
10843
+ (before.onclick = noop$2);
10844
+ }
10845
+ else if (
10846
+ 4 !== tag &&
10847
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
10848
+ (node = node.child),
10849
+ null !== node)
10850
+ )
10833
10851
  for (
10834
10852
  insertOrAppendPlacementNodeIntoContainer(node, before, parent),
10835
10853
  node = node.sibling;
@@ -10844,7 +10862,12 @@
10844
10862
  if (5 === tag || 6 === tag)
10845
10863
  (node = node.stateNode),
10846
10864
  before ? parent.insertBefore(node, before) : parent.appendChild(node);
10847
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
10865
+ else if (
10866
+ 4 !== tag &&
10867
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
10868
+ (node = node.child),
10869
+ null !== node)
10870
+ )
10848
10871
  for (
10849
10872
  insertOrAppendPlacementNode(node, before, parent),
10850
10873
  node = node.sibling;
@@ -10855,47 +10878,61 @@
10855
10878
  (node = node.sibling);
10856
10879
  }
10857
10880
  function commitPlacement(finishedWork) {
10858
- if (27 !== finishedWork.tag) {
10859
- a: {
10860
- for (var parent = finishedWork.return; null !== parent; ) {
10861
- if (isHostParent(parent)) {
10862
- var parentFiber = parent;
10863
- break a;
10864
- }
10865
- parent = parent.return;
10881
+ a: {
10882
+ for (var parent = finishedWork.return; null !== parent; ) {
10883
+ if (isHostParent(parent)) {
10884
+ var parentFiber = parent;
10885
+ break a;
10866
10886
  }
10887
+ parent = parent.return;
10888
+ }
10889
+ throw Error(
10890
+ "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
10891
+ );
10892
+ }
10893
+ switch (parentFiber.tag) {
10894
+ case 27:
10895
+ parent = parentFiber.stateNode;
10896
+ parentFiber = getHostSibling(finishedWork);
10897
+ insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
10898
+ break;
10899
+ case 5:
10900
+ parent = parentFiber.stateNode;
10901
+ parentFiber.flags & 32 &&
10902
+ (resetTextContent(parent), (parentFiber.flags &= -33));
10903
+ parentFiber = getHostSibling(finishedWork);
10904
+ insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
10905
+ break;
10906
+ case 3:
10907
+ case 4:
10908
+ parent = parentFiber.stateNode.containerInfo;
10909
+ parentFiber = getHostSibling(finishedWork);
10910
+ insertOrAppendPlacementNodeIntoContainer(
10911
+ finishedWork,
10912
+ parentFiber,
10913
+ parent
10914
+ );
10915
+ break;
10916
+ default:
10867
10917
  throw Error(
10868
- "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
10918
+ "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
10869
10919
  );
10870
- }
10871
- switch (parentFiber.tag) {
10872
- case 27:
10873
- parent = parentFiber.stateNode;
10874
- parentFiber = getHostSibling(finishedWork);
10875
- insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
10876
- break;
10877
- case 5:
10878
- parent = parentFiber.stateNode;
10879
- parentFiber.flags & 32 &&
10880
- (resetTextContent(parent), (parentFiber.flags &= -33));
10881
- parentFiber = getHostSibling(finishedWork);
10882
- insertOrAppendPlacementNode(finishedWork, parentFiber, parent);
10883
- break;
10884
- case 3:
10885
- case 4:
10886
- parent = parentFiber.stateNode.containerInfo;
10887
- parentFiber = getHostSibling(finishedWork);
10888
- insertOrAppendPlacementNodeIntoContainer(
10889
- finishedWork,
10890
- parentFiber,
10891
- parent
10892
- );
10893
- break;
10894
- default:
10895
- throw Error(
10896
- "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
10897
- );
10898
- }
10920
+ }
10921
+ }
10922
+ function commitHostSingletonAcquisition(finishedWork) {
10923
+ var singleton = finishedWork.stateNode,
10924
+ props = finishedWork.memoizedProps;
10925
+ try {
10926
+ runWithFiberInDEV(
10927
+ finishedWork,
10928
+ acquireSingletonInstance,
10929
+ finishedWork.type,
10930
+ props,
10931
+ singleton,
10932
+ finishedWork
10933
+ );
10934
+ } catch (error) {
10935
+ captureCommitPhaseError(finishedWork, finishedWork.return, error);
10899
10936
  }
10900
10937
  }
10901
10938
  function commitBeforeMutationEffects(root, firstChild) {
@@ -11152,11 +11189,11 @@
11152
11189
  }
11153
11190
  finishedRoot.effectDuration += popNestedEffectDurations(current);
11154
11191
  break;
11155
- case 26:
11156
- recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
11157
- flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
11158
- break;
11159
11192
  case 27:
11193
+ null === current &&
11194
+ flags & 4 &&
11195
+ commitHostSingletonAcquisition(finishedWork);
11196
+ case 26:
11160
11197
  case 5:
11161
11198
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
11162
11199
  null === current && flags & 4 && commitHostMount(finishedWork);
@@ -11299,16 +11336,19 @@
11299
11336
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
11300
11337
  var prevHostParent = hostParent,
11301
11338
  prevHostParentIsContainer = hostParentIsContainer;
11302
- hostParent = deletedFiber.stateNode;
11339
+ "head" === deletedFiber.type &&
11340
+ ((hostParent = deletedFiber.stateNode),
11341
+ (hostParentIsContainer = !1));
11303
11342
  recursivelyTraverseDeletionEffects(
11304
11343
  finishedRoot,
11305
11344
  nearestMountedAncestor,
11306
11345
  deletedFiber
11307
11346
  );
11308
- deletedFiber = deletedFiber.stateNode;
11309
- for (finishedRoot = deletedFiber.attributes; finishedRoot.length; )
11310
- deletedFiber.removeAttributeNode(finishedRoot[0]);
11311
- detachDeletedInstance(deletedFiber);
11347
+ runWithFiberInDEV(
11348
+ deletedFiber,
11349
+ releaseSingletonInstance,
11350
+ deletedFiber.stateNode
11351
+ );
11312
11352
  hostParent = prevHostParent;
11313
11353
  hostParentIsContainer = prevHostParentIsContainer;
11314
11354
  break;
@@ -11365,8 +11405,14 @@
11365
11405
  (deletedFiber = deletedFiber.stateNode),
11366
11406
  8 === finishedRoot.nodeType
11367
11407
  ? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber)
11368
- : 1 === finishedRoot.nodeType &&
11369
- clearSuspenseBoundary(finishedRoot, deletedFiber),
11408
+ : 9 === finishedRoot.nodeType
11409
+ ? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
11410
+ : "HTML" === finishedRoot.nodeName
11411
+ ? clearSuspenseBoundary(
11412
+ finishedRoot.ownerDocument.body,
11413
+ deletedFiber
11414
+ )
11415
+ : clearSuspenseBoundary(finishedRoot, deletedFiber),
11370
11416
  retryIfBlockedOn(finishedRoot))
11371
11417
  : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
11372
11418
  break;
@@ -11520,6 +11566,12 @@
11520
11566
  a: for (; null !== parent; ) {
11521
11567
  switch (parent.tag) {
11522
11568
  case 27:
11569
+ if ("head" === parent.type) {
11570
+ hostParent = parent.stateNode;
11571
+ hostParentIsContainer = !1;
11572
+ break a;
11573
+ }
11574
+ break;
11523
11575
  case 5:
11524
11576
  hostParent = parent.stateNode;
11525
11577
  hostParentIsContainer = !1;
@@ -11758,35 +11810,20 @@
11758
11810
  );
11759
11811
  break;
11760
11812
  case 27:
11761
- if (flags & 4 && null === finishedWork.alternate) {
11762
- hoistableRoot = finishedWork.stateNode;
11763
- maybeNodes = finishedWork.memoizedProps;
11764
- try {
11765
- for (i = hoistableRoot.firstChild; i; ) {
11766
- var nextNode = i.nextSibling,
11767
- nodeName = i.nodeName;
11768
- i[internalHoistableMarker] ||
11769
- "HEAD" === nodeName ||
11770
- "BODY" === nodeName ||
11771
- "SCRIPT" === nodeName ||
11772
- "STYLE" === nodeName ||
11773
- ("LINK" === nodeName &&
11774
- "stylesheet" === i.rel.toLowerCase()) ||
11775
- hoistableRoot.removeChild(i);
11776
- i = nextNode;
11777
- }
11778
- runWithFiberInDEV(
11779
- finishedWork,
11780
- acquireSingletonInstance,
11781
- finishedWork.type,
11782
- maybeNodes,
11783
- hoistableRoot,
11784
- finishedWork
11785
- );
11786
- } catch (error) {
11787
- captureCommitPhaseError(finishedWork, finishedWork.return, error);
11788
- }
11789
- }
11813
+ recursivelyTraverseMutationEffects(root, finishedWork);
11814
+ commitReconciliationEffects(finishedWork);
11815
+ flags & 512 &&
11816
+ (offscreenSubtreeWasHidden ||
11817
+ null === current ||
11818
+ safelyDetachRef(current, current.return));
11819
+ null !== current &&
11820
+ flags & 4 &&
11821
+ commitHostUpdate(
11822
+ finishedWork,
11823
+ finishedWork.memoizedProps,
11824
+ current.memoizedProps
11825
+ );
11826
+ break;
11790
11827
  case 5:
11791
11828
  recursivelyTraverseMutationEffects(root, finishedWork);
11792
11829
  commitReconciliationEffects(finishedWork);
@@ -11901,15 +11938,17 @@
11901
11938
  (offscreenSubtreeWasHidden ||
11902
11939
  null === current ||
11903
11940
  safelyDetachRef(current, current.return));
11904
- i = null !== finishedWork.memoizedState;
11905
- nextNode = null !== current && null !== current.memoizedState;
11906
- nodeName = offscreenSubtreeIsHidden;
11907
- var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
11908
- offscreenSubtreeIsHidden = nodeName || i;
11909
- offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || nextNode;
11941
+ hoistableRoot = null !== finishedWork.memoizedState;
11942
+ var wasHidden = null !== current && null !== current.memoizedState,
11943
+ prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
11944
+ prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
11945
+ offscreenSubtreeIsHidden =
11946
+ prevOffscreenSubtreeIsHidden || hoistableRoot;
11947
+ offscreenSubtreeWasHidden =
11948
+ prevOffscreenSubtreeWasHidden || wasHidden;
11910
11949
  recursivelyTraverseMutationEffects(root, finishedWork);
11911
11950
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
11912
- offscreenSubtreeIsHidden = nodeName;
11951
+ offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
11913
11952
  commitReconciliationEffects(finishedWork);
11914
11953
  root = finishedWork.stateNode;
11915
11954
  root._current = finishedWork;
@@ -11917,59 +11956,51 @@
11917
11956
  root._visibility |= root._pendingVisibility & OffscreenDetached;
11918
11957
  if (
11919
11958
  flags & 8192 &&
11920
- ((root._visibility = i
11959
+ ((root._visibility = hoistableRoot
11921
11960
  ? root._visibility & ~OffscreenVisible
11922
11961
  : root._visibility | OffscreenVisible),
11923
- i &&
11924
- ((root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden),
11925
- null === current ||
11926
- nextNode ||
11927
- root ||
11962
+ hoistableRoot &&
11963
+ (null === current ||
11964
+ wasHidden ||
11965
+ offscreenSubtreeIsHidden ||
11966
+ offscreenSubtreeWasHidden ||
11928
11967
  recursivelyTraverseDisappearLayoutEffects(finishedWork)),
11929
11968
  null === finishedWork.memoizedProps ||
11930
11969
  "manual" !== finishedWork.memoizedProps.mode)
11931
11970
  )
11932
11971
  a: for (current = null, root = finishedWork; ; ) {
11933
- if (5 === root.tag || 26 === root.tag || 27 === root.tag) {
11972
+ if (5 === root.tag || 26 === root.tag) {
11934
11973
  if (null === current) {
11935
- nextNode = current = root;
11974
+ wasHidden = current = root;
11936
11975
  try {
11937
- (hoistableRoot = nextNode.stateNode),
11938
- i
11939
- ? runWithFiberInDEV(
11940
- nextNode,
11941
- hideInstance,
11942
- hoistableRoot
11943
- )
11976
+ (maybeNodes = wasHidden.stateNode),
11977
+ hoistableRoot
11978
+ ? runWithFiberInDEV(wasHidden, hideInstance, maybeNodes)
11944
11979
  : runWithFiberInDEV(
11945
- nextNode,
11980
+ wasHidden,
11946
11981
  unhideInstance,
11947
- nextNode.stateNode,
11948
- nextNode.memoizedProps
11982
+ wasHidden.stateNode,
11983
+ wasHidden.memoizedProps
11949
11984
  );
11950
11985
  } catch (error) {
11951
- captureCommitPhaseError(nextNode, nextNode.return, error);
11986
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
11952
11987
  }
11953
11988
  }
11954
11989
  } else if (6 === root.tag) {
11955
11990
  if (null === current) {
11956
- nextNode = root;
11991
+ wasHidden = root;
11957
11992
  try {
11958
- (maybeNodes = nextNode.stateNode),
11959
- i
11960
- ? runWithFiberInDEV(
11961
- nextNode,
11962
- hideTextInstance,
11963
- maybeNodes
11964
- )
11993
+ (i = wasHidden.stateNode),
11994
+ hoistableRoot
11995
+ ? runWithFiberInDEV(wasHidden, hideTextInstance, i)
11965
11996
  : runWithFiberInDEV(
11966
- nextNode,
11997
+ wasHidden,
11967
11998
  unhideTextInstance,
11968
- maybeNodes,
11969
- nextNode.memoizedProps
11999
+ i,
12000
+ wasHidden.memoizedProps
11970
12001
  );
11971
12002
  } catch (error) {
11972
- captureCommitPhaseError(nextNode, nextNode.return, error);
12003
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
11973
12004
  }
11974
12005
  }
11975
12006
  } else if (
@@ -12069,8 +12100,13 @@
12069
12100
  );
12070
12101
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
12071
12102
  break;
12072
- case 26:
12073
12103
  case 27:
12104
+ runWithFiberInDEV(
12105
+ finishedWork,
12106
+ releaseSingletonInstance,
12107
+ finishedWork.stateNode
12108
+ );
12109
+ case 26:
12074
12110
  case 5:
12075
12111
  safelyDetachRef(finishedWork, finishedWork.return);
12076
12112
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
@@ -12140,8 +12176,9 @@
12140
12176
  commitClassCallbacks(finishedWork);
12141
12177
  safelyAttachRef(finishedWork, finishedWork.return);
12142
12178
  break;
12143
- case 26:
12144
12179
  case 27:
12180
+ commitHostSingletonAcquisition(finishedWork);
12181
+ case 26:
12145
12182
  case 5:
12146
12183
  recursivelyTraverseReappearLayoutEffects(
12147
12184
  finishedRoot,
@@ -19179,9 +19216,20 @@
19179
19216
  parentInstance.removeChild(child);
19180
19217
  }
19181
19218
  function removeChildFromContainer(container, child) {
19182
- 8 === container.nodeType
19183
- ? container.parentNode.removeChild(child)
19184
- : container.removeChild(child);
19219
+ switch (container.nodeType) {
19220
+ case 8:
19221
+ container = container.parentNode;
19222
+ break;
19223
+ case 9:
19224
+ container = container.body;
19225
+ break;
19226
+ default:
19227
+ container =
19228
+ "HTML" === container.nodeName
19229
+ ? container.ownerDocument.body
19230
+ : container;
19231
+ }
19232
+ container.removeChild(child);
19185
19233
  }
19186
19234
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
19187
19235
  var node = suspenseInstance,
@@ -19527,6 +19575,11 @@
19527
19575
  instance[internalInstanceKey] = internalInstanceHandle;
19528
19576
  instance[internalPropsKey] = props;
19529
19577
  }
19578
+ function releaseSingletonInstance(instance) {
19579
+ for (var attributes = instance.attributes; attributes.length; )
19580
+ instance.removeAttributeNode(attributes[0]);
19581
+ detachDeletedInstance(instance);
19582
+ }
19530
19583
  function getHoistableRoot(container) {
19531
19584
  return "function" === typeof container.getRootNode
19532
19585
  ? container.getRootNode()
@@ -24627,11 +24680,11 @@
24627
24680
  };
24628
24681
  (function () {
24629
24682
  var isomorphicReactPackageVersion = React.version;
24630
- if ("19.1.0-canary-37906d4d-20250127" !== isomorphicReactPackageVersion)
24683
+ if ("19.1.0-canary-c492f975-20250128" !== isomorphicReactPackageVersion)
24631
24684
  throw Error(
24632
24685
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24633
24686
  (isomorphicReactPackageVersion +
24634
- "\n - react-dom: 19.1.0-canary-37906d4d-20250127\nLearn more: https://react.dev/warnings/version-mismatch")
24687
+ "\n - react-dom: 19.1.0-canary-c492f975-20250128\nLearn more: https://react.dev/warnings/version-mismatch")
24635
24688
  );
24636
24689
  })();
24637
24690
  ("function" === typeof Map &&
@@ -24668,10 +24721,10 @@
24668
24721
  !(function () {
24669
24722
  var internals = {
24670
24723
  bundleType: 1,
24671
- version: "19.1.0-canary-37906d4d-20250127",
24724
+ version: "19.1.0-canary-c492f975-20250128",
24672
24725
  rendererPackageName: "react-dom",
24673
24726
  currentDispatcherRef: ReactSharedInternals,
24674
- reconcilerVersion: "19.1.0-canary-37906d4d-20250127"
24727
+ reconcilerVersion: "19.1.0-canary-c492f975-20250128"
24675
24728
  };
24676
24729
  internals.overrideHookState = overrideHookState;
24677
24730
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25147,7 +25200,7 @@
25147
25200
  exports.useFormStatus = function () {
25148
25201
  return resolveDispatcher().useHostTransitionStatus();
25149
25202
  };
25150
- exports.version = "19.1.0-canary-37906d4d-20250127";
25203
+ exports.version = "19.1.0-canary-c492f975-20250128";
25151
25204
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25152
25205
  "function" ===
25153
25206
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&