react-dom 19.1.0-canary-2980f277-20250301 → 19.1.0-canary-e03ac20f-20250305

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.
@@ -8984,32 +8984,32 @@
8984
8984
  return current;
8985
8985
  }
8986
8986
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8987
- var JSCompiler_object_inline_digest_2472;
8988
- var JSCompiler_object_inline_stack_2473 = workInProgress.pendingProps;
8987
+ var JSCompiler_object_inline_digest_2476;
8988
+ var JSCompiler_object_inline_stack_2477 = workInProgress.pendingProps;
8989
8989
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8990
- var JSCompiler_object_inline_componentStack_2474 = !1;
8990
+ var JSCompiler_object_inline_componentStack_2478 = !1;
8991
8991
  var didSuspend = 0 !== (workInProgress.flags & 128);
8992
- (JSCompiler_object_inline_digest_2472 = didSuspend) ||
8993
- (JSCompiler_object_inline_digest_2472 =
8992
+ (JSCompiler_object_inline_digest_2476 = didSuspend) ||
8993
+ (JSCompiler_object_inline_digest_2476 =
8994
8994
  null !== current && null === current.memoizedState
8995
8995
  ? !1
8996
8996
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8997
- JSCompiler_object_inline_digest_2472 &&
8998
- ((JSCompiler_object_inline_componentStack_2474 = !0),
8997
+ JSCompiler_object_inline_digest_2476 &&
8998
+ ((JSCompiler_object_inline_componentStack_2478 = !0),
8999
8999
  (workInProgress.flags &= -129));
9000
- JSCompiler_object_inline_digest_2472 = 0 !== (workInProgress.flags & 32);
9000
+ JSCompiler_object_inline_digest_2476 = 0 !== (workInProgress.flags & 32);
9001
9001
  workInProgress.flags &= -33;
9002
9002
  if (null === current) {
9003
9003
  if (isHydrating) {
9004
- JSCompiler_object_inline_componentStack_2474
9004
+ JSCompiler_object_inline_componentStack_2478
9005
9005
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9006
9006
  : reuseSuspenseHandlerOnStack(workInProgress);
9007
9007
  if (isHydrating) {
9008
- var JSCompiler_object_inline_message_2471 = nextHydratableInstance;
9008
+ var JSCompiler_object_inline_message_2475 = nextHydratableInstance;
9009
9009
  var JSCompiler_temp;
9010
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2471)) {
9010
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2475)) {
9011
9011
  c: {
9012
- var instance = JSCompiler_object_inline_message_2471;
9012
+ var instance = JSCompiler_object_inline_message_2475;
9013
9013
  for (
9014
9014
  JSCompiler_temp = rootOrSingletonContext;
9015
9015
  8 !== instance.nodeType;
@@ -9051,77 +9051,77 @@
9051
9051
  JSCompiler_temp &&
9052
9052
  (warnNonHydratedInstance(
9053
9053
  workInProgress,
9054
- JSCompiler_object_inline_message_2471
9054
+ JSCompiler_object_inline_message_2475
9055
9055
  ),
9056
9056
  throwOnHydrationMismatch(workInProgress));
9057
9057
  }
9058
- JSCompiler_object_inline_message_2471 = workInProgress.memoizedState;
9058
+ JSCompiler_object_inline_message_2475 = workInProgress.memoizedState;
9059
9059
  if (
9060
- null !== JSCompiler_object_inline_message_2471 &&
9061
- ((JSCompiler_object_inline_message_2471 =
9062
- JSCompiler_object_inline_message_2471.dehydrated),
9063
- null !== JSCompiler_object_inline_message_2471)
9060
+ null !== JSCompiler_object_inline_message_2475 &&
9061
+ ((JSCompiler_object_inline_message_2475 =
9062
+ JSCompiler_object_inline_message_2475.dehydrated),
9063
+ null !== JSCompiler_object_inline_message_2475)
9064
9064
  )
9065
9065
  return (
9066
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2471)
9066
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475)
9067
9067
  ? (workInProgress.lanes = 32)
9068
9068
  : (workInProgress.lanes = 536870912),
9069
9069
  null
9070
9070
  );
9071
9071
  popSuspenseHandler(workInProgress);
9072
9072
  }
9073
- JSCompiler_object_inline_message_2471 =
9074
- JSCompiler_object_inline_stack_2473.children;
9075
- JSCompiler_object_inline_stack_2473 =
9076
- JSCompiler_object_inline_stack_2473.fallback;
9077
- if (JSCompiler_object_inline_componentStack_2474)
9073
+ JSCompiler_object_inline_message_2475 =
9074
+ JSCompiler_object_inline_stack_2477.children;
9075
+ JSCompiler_object_inline_stack_2477 =
9076
+ JSCompiler_object_inline_stack_2477.fallback;
9077
+ if (JSCompiler_object_inline_componentStack_2478)
9078
9078
  return (
9079
9079
  reuseSuspenseHandlerOnStack(workInProgress),
9080
- (JSCompiler_object_inline_componentStack_2474 =
9080
+ (JSCompiler_object_inline_componentStack_2478 =
9081
9081
  workInProgress.mode),
9082
- (JSCompiler_object_inline_message_2471 =
9082
+ (JSCompiler_object_inline_message_2475 =
9083
9083
  mountWorkInProgressOffscreenFiber(
9084
9084
  {
9085
9085
  mode: "hidden",
9086
- children: JSCompiler_object_inline_message_2471
9086
+ children: JSCompiler_object_inline_message_2475
9087
9087
  },
9088
- JSCompiler_object_inline_componentStack_2474
9088
+ JSCompiler_object_inline_componentStack_2478
9089
9089
  )),
9090
- (JSCompiler_object_inline_stack_2473 = createFiberFromFragment(
9091
- JSCompiler_object_inline_stack_2473,
9092
- JSCompiler_object_inline_componentStack_2474,
9090
+ (JSCompiler_object_inline_stack_2477 = createFiberFromFragment(
9091
+ JSCompiler_object_inline_stack_2477,
9092
+ JSCompiler_object_inline_componentStack_2478,
9093
9093
  renderLanes,
9094
9094
  null
9095
9095
  )),
9096
- (JSCompiler_object_inline_message_2471.return = workInProgress),
9097
- (JSCompiler_object_inline_stack_2473.return = workInProgress),
9098
- (JSCompiler_object_inline_message_2471.sibling =
9099
- JSCompiler_object_inline_stack_2473),
9100
- (workInProgress.child = JSCompiler_object_inline_message_2471),
9101
- (JSCompiler_object_inline_componentStack_2474 =
9096
+ (JSCompiler_object_inline_message_2475.return = workInProgress),
9097
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9098
+ (JSCompiler_object_inline_message_2475.sibling =
9099
+ JSCompiler_object_inline_stack_2477),
9100
+ (workInProgress.child = JSCompiler_object_inline_message_2475),
9101
+ (JSCompiler_object_inline_componentStack_2478 =
9102
9102
  workInProgress.child),
9103
- (JSCompiler_object_inline_componentStack_2474.memoizedState =
9103
+ (JSCompiler_object_inline_componentStack_2478.memoizedState =
9104
9104
  mountSuspenseOffscreenState(renderLanes)),
9105
- (JSCompiler_object_inline_componentStack_2474.childLanes =
9105
+ (JSCompiler_object_inline_componentStack_2478.childLanes =
9106
9106
  getRemainingWorkInPrimaryTree(
9107
9107
  current,
9108
- JSCompiler_object_inline_digest_2472,
9108
+ JSCompiler_object_inline_digest_2476,
9109
9109
  renderLanes
9110
9110
  )),
9111
9111
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9112
- JSCompiler_object_inline_stack_2473
9112
+ JSCompiler_object_inline_stack_2477
9113
9113
  );
9114
9114
  pushPrimaryTreeSuspenseHandler(workInProgress);
9115
9115
  return mountSuspensePrimaryChildren(
9116
9116
  workInProgress,
9117
- JSCompiler_object_inline_message_2471
9117
+ JSCompiler_object_inline_message_2475
9118
9118
  );
9119
9119
  }
9120
9120
  var prevState = current.memoizedState;
9121
9121
  if (
9122
9122
  null !== prevState &&
9123
- ((JSCompiler_object_inline_message_2471 = prevState.dehydrated),
9124
- null !== JSCompiler_object_inline_message_2471)
9123
+ ((JSCompiler_object_inline_message_2475 = prevState.dehydrated),
9124
+ null !== JSCompiler_object_inline_message_2475)
9125
9125
  ) {
9126
9126
  if (didSuspend)
9127
9127
  workInProgress.flags & 256
@@ -9138,94 +9138,94 @@
9138
9138
  (workInProgress.flags |= 128),
9139
9139
  (workInProgress = null))
9140
9140
  : (reuseSuspenseHandlerOnStack(workInProgress),
9141
- (JSCompiler_object_inline_componentStack_2474 =
9142
- JSCompiler_object_inline_stack_2473.fallback),
9143
- (JSCompiler_object_inline_message_2471 = workInProgress.mode),
9144
- (JSCompiler_object_inline_stack_2473 =
9141
+ (JSCompiler_object_inline_componentStack_2478 =
9142
+ JSCompiler_object_inline_stack_2477.fallback),
9143
+ (JSCompiler_object_inline_message_2475 = workInProgress.mode),
9144
+ (JSCompiler_object_inline_stack_2477 =
9145
9145
  mountWorkInProgressOffscreenFiber(
9146
9146
  {
9147
9147
  mode: "visible",
9148
- children: JSCompiler_object_inline_stack_2473.children
9148
+ children: JSCompiler_object_inline_stack_2477.children
9149
9149
  },
9150
- JSCompiler_object_inline_message_2471
9150
+ JSCompiler_object_inline_message_2475
9151
9151
  )),
9152
- (JSCompiler_object_inline_componentStack_2474 =
9152
+ (JSCompiler_object_inline_componentStack_2478 =
9153
9153
  createFiberFromFragment(
9154
- JSCompiler_object_inline_componentStack_2474,
9155
- JSCompiler_object_inline_message_2471,
9154
+ JSCompiler_object_inline_componentStack_2478,
9155
+ JSCompiler_object_inline_message_2475,
9156
9156
  renderLanes,
9157
9157
  null
9158
9158
  )),
9159
- (JSCompiler_object_inline_componentStack_2474.flags |= 2),
9160
- (JSCompiler_object_inline_stack_2473.return = workInProgress),
9161
- (JSCompiler_object_inline_componentStack_2474.return =
9159
+ (JSCompiler_object_inline_componentStack_2478.flags |= 2),
9160
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9161
+ (JSCompiler_object_inline_componentStack_2478.return =
9162
9162
  workInProgress),
9163
- (JSCompiler_object_inline_stack_2473.sibling =
9164
- JSCompiler_object_inline_componentStack_2474),
9165
- (workInProgress.child = JSCompiler_object_inline_stack_2473),
9163
+ (JSCompiler_object_inline_stack_2477.sibling =
9164
+ JSCompiler_object_inline_componentStack_2478),
9165
+ (workInProgress.child = JSCompiler_object_inline_stack_2477),
9166
9166
  reconcileChildFibers(
9167
9167
  workInProgress,
9168
9168
  current.child,
9169
9169
  null,
9170
9170
  renderLanes
9171
9171
  ),
9172
- (JSCompiler_object_inline_stack_2473 = workInProgress.child),
9173
- (JSCompiler_object_inline_stack_2473.memoizedState =
9172
+ (JSCompiler_object_inline_stack_2477 = workInProgress.child),
9173
+ (JSCompiler_object_inline_stack_2477.memoizedState =
9174
9174
  mountSuspenseOffscreenState(renderLanes)),
9175
- (JSCompiler_object_inline_stack_2473.childLanes =
9175
+ (JSCompiler_object_inline_stack_2477.childLanes =
9176
9176
  getRemainingWorkInPrimaryTree(
9177
9177
  current,
9178
- JSCompiler_object_inline_digest_2472,
9178
+ JSCompiler_object_inline_digest_2476,
9179
9179
  renderLanes
9180
9180
  )),
9181
9181
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9182
9182
  (workInProgress =
9183
- JSCompiler_object_inline_componentStack_2474));
9183
+ JSCompiler_object_inline_componentStack_2478));
9184
9184
  else if (
9185
9185
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9186
9186
  isHydrating &&
9187
9187
  console.error(
9188
9188
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9189
9189
  ),
9190
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2471))
9190
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475))
9191
9191
  ) {
9192
- JSCompiler_object_inline_digest_2472 =
9193
- JSCompiler_object_inline_message_2471.nextSibling &&
9194
- JSCompiler_object_inline_message_2471.nextSibling.dataset;
9195
- if (JSCompiler_object_inline_digest_2472) {
9196
- JSCompiler_temp = JSCompiler_object_inline_digest_2472.dgst;
9197
- var message = JSCompiler_object_inline_digest_2472.msg;
9198
- instance = JSCompiler_object_inline_digest_2472.stck;
9199
- var componentStack = JSCompiler_object_inline_digest_2472.cstck;
9192
+ JSCompiler_object_inline_digest_2476 =
9193
+ JSCompiler_object_inline_message_2475.nextSibling &&
9194
+ JSCompiler_object_inline_message_2475.nextSibling.dataset;
9195
+ if (JSCompiler_object_inline_digest_2476) {
9196
+ JSCompiler_temp = JSCompiler_object_inline_digest_2476.dgst;
9197
+ var message = JSCompiler_object_inline_digest_2476.msg;
9198
+ instance = JSCompiler_object_inline_digest_2476.stck;
9199
+ var componentStack = JSCompiler_object_inline_digest_2476.cstck;
9200
9200
  }
9201
- JSCompiler_object_inline_message_2471 = message;
9202
- JSCompiler_object_inline_digest_2472 = JSCompiler_temp;
9203
- JSCompiler_object_inline_stack_2473 = instance;
9204
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2474 =
9201
+ JSCompiler_object_inline_message_2475 = message;
9202
+ JSCompiler_object_inline_digest_2476 = JSCompiler_temp;
9203
+ JSCompiler_object_inline_stack_2477 = instance;
9204
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2478 =
9205
9205
  componentStack;
9206
- JSCompiler_object_inline_componentStack_2474 =
9207
- JSCompiler_object_inline_message_2471
9208
- ? Error(JSCompiler_object_inline_message_2471)
9206
+ JSCompiler_object_inline_componentStack_2478 =
9207
+ JSCompiler_object_inline_message_2475
9208
+ ? Error(JSCompiler_object_inline_message_2475)
9209
9209
  : Error(
9210
9210
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9211
9211
  );
9212
- JSCompiler_object_inline_componentStack_2474.stack =
9213
- JSCompiler_object_inline_stack_2473 || "";
9214
- JSCompiler_object_inline_componentStack_2474.digest =
9215
- JSCompiler_object_inline_digest_2472;
9216
- JSCompiler_object_inline_digest_2472 =
9212
+ JSCompiler_object_inline_componentStack_2478.stack =
9213
+ JSCompiler_object_inline_stack_2477 || "";
9214
+ JSCompiler_object_inline_componentStack_2478.digest =
9215
+ JSCompiler_object_inline_digest_2476;
9216
+ JSCompiler_object_inline_digest_2476 =
9217
9217
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9218
- JSCompiler_object_inline_stack_2473 = {
9219
- value: JSCompiler_object_inline_componentStack_2474,
9218
+ JSCompiler_object_inline_stack_2477 = {
9219
+ value: JSCompiler_object_inline_componentStack_2478,
9220
9220
  source: null,
9221
- stack: JSCompiler_object_inline_digest_2472
9221
+ stack: JSCompiler_object_inline_digest_2476
9222
9222
  };
9223
- "string" === typeof JSCompiler_object_inline_digest_2472 &&
9223
+ "string" === typeof JSCompiler_object_inline_digest_2476 &&
9224
9224
  CapturedStacks.set(
9225
- JSCompiler_object_inline_componentStack_2474,
9226
- JSCompiler_object_inline_stack_2473
9225
+ JSCompiler_object_inline_componentStack_2478,
9226
+ JSCompiler_object_inline_stack_2477
9227
9227
  );
9228
- queueHydrationError(JSCompiler_object_inline_stack_2473);
9228
+ queueHydrationError(JSCompiler_object_inline_stack_2477);
9229
9229
  workInProgress = retrySuspenseComponentWithoutHydrating(
9230
9230
  current,
9231
9231
  workInProgress,
@@ -9239,44 +9239,44 @@
9239
9239
  renderLanes,
9240
9240
  !1
9241
9241
  ),
9242
- (JSCompiler_object_inline_digest_2472 =
9242
+ (JSCompiler_object_inline_digest_2476 =
9243
9243
  0 !== (renderLanes & current.childLanes)),
9244
- didReceiveUpdate || JSCompiler_object_inline_digest_2472)
9244
+ didReceiveUpdate || JSCompiler_object_inline_digest_2476)
9245
9245
  ) {
9246
- JSCompiler_object_inline_digest_2472 = workInProgressRoot;
9246
+ JSCompiler_object_inline_digest_2476 = workInProgressRoot;
9247
9247
  if (
9248
- null !== JSCompiler_object_inline_digest_2472 &&
9249
- ((JSCompiler_object_inline_stack_2473 = renderLanes & -renderLanes),
9250
- (JSCompiler_object_inline_stack_2473 =
9251
- 0 !== (JSCompiler_object_inline_stack_2473 & 42)
9248
+ null !== JSCompiler_object_inline_digest_2476 &&
9249
+ ((JSCompiler_object_inline_stack_2477 = renderLanes & -renderLanes),
9250
+ (JSCompiler_object_inline_stack_2477 =
9251
+ 0 !== (JSCompiler_object_inline_stack_2477 & 42)
9252
9252
  ? 1
9253
9253
  : getBumpedLaneForHydrationByLane(
9254
- JSCompiler_object_inline_stack_2473
9254
+ JSCompiler_object_inline_stack_2477
9255
9255
  )),
9256
- (JSCompiler_object_inline_stack_2473 =
9256
+ (JSCompiler_object_inline_stack_2477 =
9257
9257
  0 !==
9258
- (JSCompiler_object_inline_stack_2473 &
9259
- (JSCompiler_object_inline_digest_2472.suspendedLanes |
9258
+ (JSCompiler_object_inline_stack_2477 &
9259
+ (JSCompiler_object_inline_digest_2476.suspendedLanes |
9260
9260
  renderLanes))
9261
9261
  ? 0
9262
- : JSCompiler_object_inline_stack_2473),
9263
- 0 !== JSCompiler_object_inline_stack_2473 &&
9264
- JSCompiler_object_inline_stack_2473 !== prevState.retryLane)
9262
+ : JSCompiler_object_inline_stack_2477),
9263
+ 0 !== JSCompiler_object_inline_stack_2477 &&
9264
+ JSCompiler_object_inline_stack_2477 !== prevState.retryLane)
9265
9265
  )
9266
9266
  throw (
9267
- ((prevState.retryLane = JSCompiler_object_inline_stack_2473),
9267
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2477),
9268
9268
  enqueueConcurrentRenderForLane(
9269
9269
  current,
9270
- JSCompiler_object_inline_stack_2473
9270
+ JSCompiler_object_inline_stack_2477
9271
9271
  ),
9272
9272
  scheduleUpdateOnFiber(
9273
- JSCompiler_object_inline_digest_2472,
9273
+ JSCompiler_object_inline_digest_2476,
9274
9274
  current,
9275
- JSCompiler_object_inline_stack_2473
9275
+ JSCompiler_object_inline_stack_2477
9276
9276
  ),
9277
9277
  SelectiveHydrationException)
9278
9278
  );
9279
- JSCompiler_object_inline_message_2471.data ===
9279
+ JSCompiler_object_inline_message_2475.data ===
9280
9280
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9281
9281
  workInProgress = retrySuspenseComponentWithoutHydrating(
9282
9282
  current,
@@ -9284,14 +9284,14 @@
9284
9284
  renderLanes
9285
9285
  );
9286
9286
  } else
9287
- JSCompiler_object_inline_message_2471.data ===
9287
+ JSCompiler_object_inline_message_2475.data ===
9288
9288
  SUSPENSE_PENDING_START_DATA
9289
9289
  ? ((workInProgress.flags |= 192),
9290
9290
  (workInProgress.child = current.child),
9291
9291
  (workInProgress = null))
9292
9292
  : ((current = prevState.treeContext),
9293
9293
  (nextHydratableInstance = getNextHydratable(
9294
- JSCompiler_object_inline_message_2471.nextSibling
9294
+ JSCompiler_object_inline_message_2475.nextSibling
9295
9295
  )),
9296
9296
  (hydrationParentFiber = workInProgress),
9297
9297
  (isHydrating = !0),
@@ -9309,57 +9309,57 @@
9309
9309
  (treeContextProvider = workInProgress)),
9310
9310
  (workInProgress = mountSuspensePrimaryChildren(
9311
9311
  workInProgress,
9312
- JSCompiler_object_inline_stack_2473.children
9312
+ JSCompiler_object_inline_stack_2477.children
9313
9313
  )),
9314
9314
  (workInProgress.flags |= 4096));
9315
9315
  return workInProgress;
9316
9316
  }
9317
- if (JSCompiler_object_inline_componentStack_2474)
9317
+ if (JSCompiler_object_inline_componentStack_2478)
9318
9318
  return (
9319
9319
  reuseSuspenseHandlerOnStack(workInProgress),
9320
- (JSCompiler_object_inline_componentStack_2474 =
9321
- JSCompiler_object_inline_stack_2473.fallback),
9322
- (JSCompiler_object_inline_message_2471 = workInProgress.mode),
9320
+ (JSCompiler_object_inline_componentStack_2478 =
9321
+ JSCompiler_object_inline_stack_2477.fallback),
9322
+ (JSCompiler_object_inline_message_2475 = workInProgress.mode),
9323
9323
  (JSCompiler_temp = current.child),
9324
9324
  (instance = JSCompiler_temp.sibling),
9325
- (JSCompiler_object_inline_stack_2473 = createWorkInProgress(
9325
+ (JSCompiler_object_inline_stack_2477 = createWorkInProgress(
9326
9326
  JSCompiler_temp,
9327
9327
  {
9328
9328
  mode: "hidden",
9329
- children: JSCompiler_object_inline_stack_2473.children
9329
+ children: JSCompiler_object_inline_stack_2477.children
9330
9330
  }
9331
9331
  )),
9332
- (JSCompiler_object_inline_stack_2473.subtreeFlags =
9332
+ (JSCompiler_object_inline_stack_2477.subtreeFlags =
9333
9333
  JSCompiler_temp.subtreeFlags & 65011712),
9334
9334
  null !== instance
9335
- ? (JSCompiler_object_inline_componentStack_2474 =
9335
+ ? (JSCompiler_object_inline_componentStack_2478 =
9336
9336
  createWorkInProgress(
9337
9337
  instance,
9338
- JSCompiler_object_inline_componentStack_2474
9338
+ JSCompiler_object_inline_componentStack_2478
9339
9339
  ))
9340
- : ((JSCompiler_object_inline_componentStack_2474 =
9340
+ : ((JSCompiler_object_inline_componentStack_2478 =
9341
9341
  createFiberFromFragment(
9342
- JSCompiler_object_inline_componentStack_2474,
9343
- JSCompiler_object_inline_message_2471,
9342
+ JSCompiler_object_inline_componentStack_2478,
9343
+ JSCompiler_object_inline_message_2475,
9344
9344
  renderLanes,
9345
9345
  null
9346
9346
  )),
9347
- (JSCompiler_object_inline_componentStack_2474.flags |= 2)),
9348
- (JSCompiler_object_inline_componentStack_2474.return =
9347
+ (JSCompiler_object_inline_componentStack_2478.flags |= 2)),
9348
+ (JSCompiler_object_inline_componentStack_2478.return =
9349
9349
  workInProgress),
9350
- (JSCompiler_object_inline_stack_2473.return = workInProgress),
9351
- (JSCompiler_object_inline_stack_2473.sibling =
9352
- JSCompiler_object_inline_componentStack_2474),
9353
- (workInProgress.child = JSCompiler_object_inline_stack_2473),
9354
- (JSCompiler_object_inline_stack_2473 =
9355
- JSCompiler_object_inline_componentStack_2474),
9356
- (JSCompiler_object_inline_componentStack_2474 = workInProgress.child),
9357
- (JSCompiler_object_inline_message_2471 = current.child.memoizedState),
9358
- null === JSCompiler_object_inline_message_2471
9359
- ? (JSCompiler_object_inline_message_2471 =
9350
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9351
+ (JSCompiler_object_inline_stack_2477.sibling =
9352
+ JSCompiler_object_inline_componentStack_2478),
9353
+ (workInProgress.child = JSCompiler_object_inline_stack_2477),
9354
+ (JSCompiler_object_inline_stack_2477 =
9355
+ JSCompiler_object_inline_componentStack_2478),
9356
+ (JSCompiler_object_inline_componentStack_2478 = workInProgress.child),
9357
+ (JSCompiler_object_inline_message_2475 = current.child.memoizedState),
9358
+ null === JSCompiler_object_inline_message_2475
9359
+ ? (JSCompiler_object_inline_message_2475 =
9360
9360
  mountSuspenseOffscreenState(renderLanes))
9361
9361
  : ((JSCompiler_temp =
9362
- JSCompiler_object_inline_message_2471.cachePool),
9362
+ JSCompiler_object_inline_message_2475.cachePool),
9363
9363
  null !== JSCompiler_temp
9364
9364
  ? ((instance = CacheContext._currentValue),
9365
9365
  (JSCompiler_temp =
@@ -9367,37 +9367,37 @@
9367
9367
  ? { parent: instance, pool: instance }
9368
9368
  : JSCompiler_temp))
9369
9369
  : (JSCompiler_temp = getSuspendedCache()),
9370
- (JSCompiler_object_inline_message_2471 = {
9370
+ (JSCompiler_object_inline_message_2475 = {
9371
9371
  baseLanes:
9372
- JSCompiler_object_inline_message_2471.baseLanes | renderLanes,
9372
+ JSCompiler_object_inline_message_2475.baseLanes | renderLanes,
9373
9373
  cachePool: JSCompiler_temp
9374
9374
  })),
9375
- (JSCompiler_object_inline_componentStack_2474.memoizedState =
9376
- JSCompiler_object_inline_message_2471),
9377
- (JSCompiler_object_inline_componentStack_2474.childLanes =
9375
+ (JSCompiler_object_inline_componentStack_2478.memoizedState =
9376
+ JSCompiler_object_inline_message_2475),
9377
+ (JSCompiler_object_inline_componentStack_2478.childLanes =
9378
9378
  getRemainingWorkInPrimaryTree(
9379
9379
  current,
9380
- JSCompiler_object_inline_digest_2472,
9380
+ JSCompiler_object_inline_digest_2476,
9381
9381
  renderLanes
9382
9382
  )),
9383
9383
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9384
- JSCompiler_object_inline_stack_2473
9384
+ JSCompiler_object_inline_stack_2477
9385
9385
  );
9386
9386
  pushPrimaryTreeSuspenseHandler(workInProgress);
9387
9387
  renderLanes = current.child;
9388
9388
  current = renderLanes.sibling;
9389
9389
  renderLanes = createWorkInProgress(renderLanes, {
9390
9390
  mode: "visible",
9391
- children: JSCompiler_object_inline_stack_2473.children
9391
+ children: JSCompiler_object_inline_stack_2477.children
9392
9392
  });
9393
9393
  renderLanes.return = workInProgress;
9394
9394
  renderLanes.sibling = null;
9395
9395
  null !== current &&
9396
- ((JSCompiler_object_inline_digest_2472 = workInProgress.deletions),
9397
- null === JSCompiler_object_inline_digest_2472
9396
+ ((JSCompiler_object_inline_digest_2476 = workInProgress.deletions),
9397
+ null === JSCompiler_object_inline_digest_2476
9398
9398
  ? ((workInProgress.deletions = [current]),
9399
9399
  (workInProgress.flags |= 16))
9400
- : JSCompiler_object_inline_digest_2472.push(current));
9400
+ : JSCompiler_object_inline_digest_2476.push(current));
9401
9401
  workInProgress.child = renderLanes;
9402
9402
  workInProgress.memoizedState = null;
9403
9403
  return renderLanes;
@@ -15684,30 +15684,24 @@
15684
15684
  var prevExecutionContext = executionContext;
15685
15685
  executionContext |= CommitContext;
15686
15686
  try {
15687
- var rootContainer = root.containerInfo,
15688
- documentElement =
15687
+ var rootClone = root.gestureClone;
15688
+ if (null !== rootClone) {
15689
+ root.gestureClone = null;
15690
+ var rootContainer = root.containerInfo;
15691
+ var containerInstance =
15689
15692
  9 === rootContainer.nodeType
15690
- ? rootContainer.documentElement
15691
- : rootContainer.ownerDocument.documentElement;
15692
- null !== documentElement &&
15693
- "" === documentElement.style.viewTransitionName &&
15694
- ((documentElement.style.viewTransitionName = "none"),
15695
- documentElement.animate(
15696
- { opacity: [0, 0], pointerEvents: ["none", "none"] },
15697
- {
15698
- duration: 0,
15699
- fill: "forwards",
15700
- pseudoElement: "::view-transition-group(root)"
15701
- }
15702
- ),
15703
- documentElement.animate(
15704
- { width: [0, 0], height: [0, 0] },
15705
- {
15706
- duration: 0,
15707
- fill: "forwards",
15708
- pseudoElement: "::view-transition"
15709
- }
15710
- ));
15693
+ ? rootContainer.body
15694
+ : "HTML" === rootContainer.nodeName
15695
+ ? rootContainer.ownerDocument.body
15696
+ : rootContainer;
15697
+ var containerParent = containerInstance.parentNode;
15698
+ if (null === containerParent)
15699
+ throw Error(
15700
+ "Cannot use a useSwipeTransition() in a detached root."
15701
+ );
15702
+ containerParent.removeChild(rootClone);
15703
+ containerInstance.style.viewTransitionName = "root";
15704
+ }
15711
15705
  } finally {
15712
15706
  (executionContext = prevExecutionContext),
15713
15707
  (ReactDOMSharedInternals.p = previousPriority),
@@ -15748,11 +15742,16 @@
15748
15742
  var prevExecutionContext = executionContext;
15749
15743
  executionContext |= CommitContext;
15750
15744
  try {
15751
- var rootContainer = root.containerInfo,
15752
- documentElement =
15753
- 9 === rootContainer.nodeType
15754
- ? rootContainer.documentElement
15755
- : rootContainer.ownerDocument.documentElement;
15745
+ var rootContainer = root.containerInfo;
15746
+ var containerInstance =
15747
+ 9 === rootContainer.nodeType
15748
+ ? rootContainer.body
15749
+ : "HTML" === rootContainer.nodeName
15750
+ ? rootContainer.ownerDocument.body
15751
+ : rootContainer;
15752
+ "root" === containerInstance.style.viewTransitionName &&
15753
+ (containerInstance.style.viewTransitionName = "");
15754
+ var documentElement = containerInstance.ownerDocument.documentElement;
15756
15755
  null !== documentElement &&
15757
15756
  "none" === documentElement.style.viewTransitionName &&
15758
15757
  (documentElement.style.viewTransitionName = "");
@@ -17111,9 +17110,10 @@
17111
17110
  listeners.push(
17112
17111
  createDispatchListener(targetFiber, _instance3, stateNode)
17113
17112
  ));
17113
+ if (3 === targetFiber.tag) return listeners;
17114
17114
  targetFiber = targetFiber.return;
17115
17115
  }
17116
- return listeners;
17116
+ return [];
17117
17117
  }
17118
17118
  function getParent(inst) {
17119
17119
  if (null === inst) return null;
@@ -22584,10 +22584,11 @@
22584
22584
  TRANSITION_END = getVendorPrefixedEventName("transitionend"),
22585
22585
  topLevelEventsToReactNames = new Map(),
22586
22586
  simpleEventPluginEvents =
22587
- "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(
22587
+ "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
22588
22588
  " "
22589
- ),
22590
- CapturedStacks = new WeakMap(),
22589
+ );
22590
+ simpleEventPluginEvents.push("scrollEnd");
22591
+ var CapturedStacks = new WeakMap(),
22591
22592
  OffscreenVisible = 1,
22592
22593
  OffscreenDetached = 2,
22593
22594
  OffscreenPassiveEffectsConnected = 4,
@@ -24890,11 +24891,11 @@
24890
24891
  };
24891
24892
  (function () {
24892
24893
  var isomorphicReactPackageVersion = React.version;
24893
- if ("19.1.0-canary-2980f277-20250301" !== isomorphicReactPackageVersion)
24894
+ if ("19.1.0-canary-e03ac20f-20250305" !== isomorphicReactPackageVersion)
24894
24895
  throw Error(
24895
24896
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24896
24897
  (isomorphicReactPackageVersion +
24897
- "\n - react-dom: 19.1.0-canary-2980f277-20250301\nLearn more: https://react.dev/warnings/version-mismatch")
24898
+ "\n - react-dom: 19.1.0-canary-e03ac20f-20250305\nLearn more: https://react.dev/warnings/version-mismatch")
24898
24899
  );
24899
24900
  })();
24900
24901
  ("function" === typeof Map &&
@@ -24931,10 +24932,10 @@
24931
24932
  !(function () {
24932
24933
  var internals = {
24933
24934
  bundleType: 1,
24934
- version: "19.1.0-canary-2980f277-20250301",
24935
+ version: "19.1.0-canary-e03ac20f-20250305",
24935
24936
  rendererPackageName: "react-dom",
24936
24937
  currentDispatcherRef: ReactSharedInternals,
24937
- reconcilerVersion: "19.1.0-canary-2980f277-20250301"
24938
+ reconcilerVersion: "19.1.0-canary-e03ac20f-20250305"
24938
24939
  };
24939
24940
  internals.overrideHookState = overrideHookState;
24940
24941
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25408,7 +25409,7 @@
25408
25409
  exports.useFormStatus = function () {
25409
25410
  return resolveDispatcher().useHostTransitionStatus();
25410
25411
  };
25411
- exports.version = "19.1.0-canary-2980f277-20250301";
25412
+ exports.version = "19.1.0-canary-e03ac20f-20250305";
25412
25413
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25413
25414
  "function" ===
25414
25415
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&