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.
@@ -8976,32 +8976,32 @@
8976
8976
  return current;
8977
8977
  }
8978
8978
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8979
- var JSCompiler_object_inline_digest_2467;
8980
- var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps;
8979
+ var JSCompiler_object_inline_digest_2471;
8980
+ var JSCompiler_object_inline_stack_2472 = workInProgress.pendingProps;
8981
8981
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8982
- var JSCompiler_object_inline_componentStack_2469 = !1;
8982
+ var JSCompiler_object_inline_componentStack_2473 = !1;
8983
8983
  var didSuspend = 0 !== (workInProgress.flags & 128);
8984
- (JSCompiler_object_inline_digest_2467 = didSuspend) ||
8985
- (JSCompiler_object_inline_digest_2467 =
8984
+ (JSCompiler_object_inline_digest_2471 = didSuspend) ||
8985
+ (JSCompiler_object_inline_digest_2471 =
8986
8986
  null !== current && null === current.memoizedState
8987
8987
  ? !1
8988
8988
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8989
- JSCompiler_object_inline_digest_2467 &&
8990
- ((JSCompiler_object_inline_componentStack_2469 = !0),
8989
+ JSCompiler_object_inline_digest_2471 &&
8990
+ ((JSCompiler_object_inline_componentStack_2473 = !0),
8991
8991
  (workInProgress.flags &= -129));
8992
- JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32);
8992
+ JSCompiler_object_inline_digest_2471 = 0 !== (workInProgress.flags & 32);
8993
8993
  workInProgress.flags &= -33;
8994
8994
  if (null === current) {
8995
8995
  if (isHydrating) {
8996
- JSCompiler_object_inline_componentStack_2469
8996
+ JSCompiler_object_inline_componentStack_2473
8997
8997
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8998
8998
  : reuseSuspenseHandlerOnStack(workInProgress);
8999
8999
  if (isHydrating) {
9000
- var JSCompiler_object_inline_message_2466 = nextHydratableInstance;
9000
+ var JSCompiler_object_inline_message_2470 = nextHydratableInstance;
9001
9001
  var JSCompiler_temp;
9002
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) {
9002
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2470)) {
9003
9003
  c: {
9004
- var instance = JSCompiler_object_inline_message_2466;
9004
+ var instance = JSCompiler_object_inline_message_2470;
9005
9005
  for (
9006
9006
  JSCompiler_temp = rootOrSingletonContext;
9007
9007
  8 !== instance.nodeType;
@@ -9043,77 +9043,77 @@
9043
9043
  JSCompiler_temp &&
9044
9044
  (warnNonHydratedInstance(
9045
9045
  workInProgress,
9046
- JSCompiler_object_inline_message_2466
9046
+ JSCompiler_object_inline_message_2470
9047
9047
  ),
9048
9048
  throwOnHydrationMismatch(workInProgress));
9049
9049
  }
9050
- JSCompiler_object_inline_message_2466 = workInProgress.memoizedState;
9050
+ JSCompiler_object_inline_message_2470 = workInProgress.memoizedState;
9051
9051
  if (
9052
- null !== JSCompiler_object_inline_message_2466 &&
9053
- ((JSCompiler_object_inline_message_2466 =
9054
- JSCompiler_object_inline_message_2466.dehydrated),
9055
- null !== JSCompiler_object_inline_message_2466)
9052
+ null !== JSCompiler_object_inline_message_2470 &&
9053
+ ((JSCompiler_object_inline_message_2470 =
9054
+ JSCompiler_object_inline_message_2470.dehydrated),
9055
+ null !== JSCompiler_object_inline_message_2470)
9056
9056
  )
9057
9057
  return (
9058
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466)
9058
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470)
9059
9059
  ? (workInProgress.lanes = 32)
9060
9060
  : (workInProgress.lanes = 536870912),
9061
9061
  null
9062
9062
  );
9063
9063
  popSuspenseHandler(workInProgress);
9064
9064
  }
9065
- JSCompiler_object_inline_message_2466 =
9066
- JSCompiler_object_inline_stack_2468.children;
9067
- JSCompiler_object_inline_stack_2468 =
9068
- JSCompiler_object_inline_stack_2468.fallback;
9069
- if (JSCompiler_object_inline_componentStack_2469)
9065
+ JSCompiler_object_inline_message_2470 =
9066
+ JSCompiler_object_inline_stack_2472.children;
9067
+ JSCompiler_object_inline_stack_2472 =
9068
+ JSCompiler_object_inline_stack_2472.fallback;
9069
+ if (JSCompiler_object_inline_componentStack_2473)
9070
9070
  return (
9071
9071
  reuseSuspenseHandlerOnStack(workInProgress),
9072
- (JSCompiler_object_inline_componentStack_2469 =
9072
+ (JSCompiler_object_inline_componentStack_2473 =
9073
9073
  workInProgress.mode),
9074
- (JSCompiler_object_inline_message_2466 =
9074
+ (JSCompiler_object_inline_message_2470 =
9075
9075
  mountWorkInProgressOffscreenFiber(
9076
9076
  {
9077
9077
  mode: "hidden",
9078
- children: JSCompiler_object_inline_message_2466
9078
+ children: JSCompiler_object_inline_message_2470
9079
9079
  },
9080
- JSCompiler_object_inline_componentStack_2469
9080
+ JSCompiler_object_inline_componentStack_2473
9081
9081
  )),
9082
- (JSCompiler_object_inline_stack_2468 = createFiberFromFragment(
9083
- JSCompiler_object_inline_stack_2468,
9084
- JSCompiler_object_inline_componentStack_2469,
9082
+ (JSCompiler_object_inline_stack_2472 = createFiberFromFragment(
9083
+ JSCompiler_object_inline_stack_2472,
9084
+ JSCompiler_object_inline_componentStack_2473,
9085
9085
  renderLanes,
9086
9086
  null
9087
9087
  )),
9088
- (JSCompiler_object_inline_message_2466.return = workInProgress),
9089
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9090
- (JSCompiler_object_inline_message_2466.sibling =
9091
- JSCompiler_object_inline_stack_2468),
9092
- (workInProgress.child = JSCompiler_object_inline_message_2466),
9093
- (JSCompiler_object_inline_componentStack_2469 =
9088
+ (JSCompiler_object_inline_message_2470.return = workInProgress),
9089
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9090
+ (JSCompiler_object_inline_message_2470.sibling =
9091
+ JSCompiler_object_inline_stack_2472),
9092
+ (workInProgress.child = JSCompiler_object_inline_message_2470),
9093
+ (JSCompiler_object_inline_componentStack_2473 =
9094
9094
  workInProgress.child),
9095
- (JSCompiler_object_inline_componentStack_2469.memoizedState =
9095
+ (JSCompiler_object_inline_componentStack_2473.memoizedState =
9096
9096
  mountSuspenseOffscreenState(renderLanes)),
9097
- (JSCompiler_object_inline_componentStack_2469.childLanes =
9097
+ (JSCompiler_object_inline_componentStack_2473.childLanes =
9098
9098
  getRemainingWorkInPrimaryTree(
9099
9099
  current,
9100
- JSCompiler_object_inline_digest_2467,
9100
+ JSCompiler_object_inline_digest_2471,
9101
9101
  renderLanes
9102
9102
  )),
9103
9103
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9104
- JSCompiler_object_inline_stack_2468
9104
+ JSCompiler_object_inline_stack_2472
9105
9105
  );
9106
9106
  pushPrimaryTreeSuspenseHandler(workInProgress);
9107
9107
  return mountSuspensePrimaryChildren(
9108
9108
  workInProgress,
9109
- JSCompiler_object_inline_message_2466
9109
+ JSCompiler_object_inline_message_2470
9110
9110
  );
9111
9111
  }
9112
9112
  var prevState = current.memoizedState;
9113
9113
  if (
9114
9114
  null !== prevState &&
9115
- ((JSCompiler_object_inline_message_2466 = prevState.dehydrated),
9116
- null !== JSCompiler_object_inline_message_2466)
9115
+ ((JSCompiler_object_inline_message_2470 = prevState.dehydrated),
9116
+ null !== JSCompiler_object_inline_message_2470)
9117
9117
  ) {
9118
9118
  if (didSuspend)
9119
9119
  workInProgress.flags & 256
@@ -9130,94 +9130,94 @@
9130
9130
  (workInProgress.flags |= 128),
9131
9131
  (workInProgress = null))
9132
9132
  : (reuseSuspenseHandlerOnStack(workInProgress),
9133
- (JSCompiler_object_inline_componentStack_2469 =
9134
- JSCompiler_object_inline_stack_2468.fallback),
9135
- (JSCompiler_object_inline_message_2466 = workInProgress.mode),
9136
- (JSCompiler_object_inline_stack_2468 =
9133
+ (JSCompiler_object_inline_componentStack_2473 =
9134
+ JSCompiler_object_inline_stack_2472.fallback),
9135
+ (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9136
+ (JSCompiler_object_inline_stack_2472 =
9137
9137
  mountWorkInProgressOffscreenFiber(
9138
9138
  {
9139
9139
  mode: "visible",
9140
- children: JSCompiler_object_inline_stack_2468.children
9140
+ children: JSCompiler_object_inline_stack_2472.children
9141
9141
  },
9142
- JSCompiler_object_inline_message_2466
9142
+ JSCompiler_object_inline_message_2470
9143
9143
  )),
9144
- (JSCompiler_object_inline_componentStack_2469 =
9144
+ (JSCompiler_object_inline_componentStack_2473 =
9145
9145
  createFiberFromFragment(
9146
- JSCompiler_object_inline_componentStack_2469,
9147
- JSCompiler_object_inline_message_2466,
9146
+ JSCompiler_object_inline_componentStack_2473,
9147
+ JSCompiler_object_inline_message_2470,
9148
9148
  renderLanes,
9149
9149
  null
9150
9150
  )),
9151
- (JSCompiler_object_inline_componentStack_2469.flags |= 2),
9152
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9153
- (JSCompiler_object_inline_componentStack_2469.return =
9151
+ (JSCompiler_object_inline_componentStack_2473.flags |= 2),
9152
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9153
+ (JSCompiler_object_inline_componentStack_2473.return =
9154
9154
  workInProgress),
9155
- (JSCompiler_object_inline_stack_2468.sibling =
9156
- JSCompiler_object_inline_componentStack_2469),
9157
- (workInProgress.child = JSCompiler_object_inline_stack_2468),
9155
+ (JSCompiler_object_inline_stack_2472.sibling =
9156
+ JSCompiler_object_inline_componentStack_2473),
9157
+ (workInProgress.child = JSCompiler_object_inline_stack_2472),
9158
9158
  reconcileChildFibers(
9159
9159
  workInProgress,
9160
9160
  current.child,
9161
9161
  null,
9162
9162
  renderLanes
9163
9163
  ),
9164
- (JSCompiler_object_inline_stack_2468 = workInProgress.child),
9165
- (JSCompiler_object_inline_stack_2468.memoizedState =
9164
+ (JSCompiler_object_inline_stack_2472 = workInProgress.child),
9165
+ (JSCompiler_object_inline_stack_2472.memoizedState =
9166
9166
  mountSuspenseOffscreenState(renderLanes)),
9167
- (JSCompiler_object_inline_stack_2468.childLanes =
9167
+ (JSCompiler_object_inline_stack_2472.childLanes =
9168
9168
  getRemainingWorkInPrimaryTree(
9169
9169
  current,
9170
- JSCompiler_object_inline_digest_2467,
9170
+ JSCompiler_object_inline_digest_2471,
9171
9171
  renderLanes
9172
9172
  )),
9173
9173
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9174
9174
  (workInProgress =
9175
- JSCompiler_object_inline_componentStack_2469));
9175
+ JSCompiler_object_inline_componentStack_2473));
9176
9176
  else if (
9177
9177
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9178
9178
  isHydrating &&
9179
9179
  console.error(
9180
9180
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9181
9181
  ),
9182
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466))
9182
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470))
9183
9183
  ) {
9184
- JSCompiler_object_inline_digest_2467 =
9185
- JSCompiler_object_inline_message_2466.nextSibling &&
9186
- JSCompiler_object_inline_message_2466.nextSibling.dataset;
9187
- if (JSCompiler_object_inline_digest_2467) {
9188
- JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst;
9189
- var message = JSCompiler_object_inline_digest_2467.msg;
9190
- instance = JSCompiler_object_inline_digest_2467.stck;
9191
- var componentStack = JSCompiler_object_inline_digest_2467.cstck;
9184
+ JSCompiler_object_inline_digest_2471 =
9185
+ JSCompiler_object_inline_message_2470.nextSibling &&
9186
+ JSCompiler_object_inline_message_2470.nextSibling.dataset;
9187
+ if (JSCompiler_object_inline_digest_2471) {
9188
+ JSCompiler_temp = JSCompiler_object_inline_digest_2471.dgst;
9189
+ var message = JSCompiler_object_inline_digest_2471.msg;
9190
+ instance = JSCompiler_object_inline_digest_2471.stck;
9191
+ var componentStack = JSCompiler_object_inline_digest_2471.cstck;
9192
9192
  }
9193
- JSCompiler_object_inline_message_2466 = message;
9194
- JSCompiler_object_inline_digest_2467 = JSCompiler_temp;
9195
- JSCompiler_object_inline_stack_2468 = instance;
9196
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2469 =
9193
+ JSCompiler_object_inline_message_2470 = message;
9194
+ JSCompiler_object_inline_digest_2471 = JSCompiler_temp;
9195
+ JSCompiler_object_inline_stack_2472 = instance;
9196
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2473 =
9197
9197
  componentStack;
9198
- JSCompiler_object_inline_componentStack_2469 =
9199
- JSCompiler_object_inline_message_2466
9200
- ? Error(JSCompiler_object_inline_message_2466)
9198
+ JSCompiler_object_inline_componentStack_2473 =
9199
+ JSCompiler_object_inline_message_2470
9200
+ ? Error(JSCompiler_object_inline_message_2470)
9201
9201
  : Error(
9202
9202
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9203
9203
  );
9204
- JSCompiler_object_inline_componentStack_2469.stack =
9205
- JSCompiler_object_inline_stack_2468 || "";
9206
- JSCompiler_object_inline_componentStack_2469.digest =
9207
- JSCompiler_object_inline_digest_2467;
9208
- JSCompiler_object_inline_digest_2467 =
9204
+ JSCompiler_object_inline_componentStack_2473.stack =
9205
+ JSCompiler_object_inline_stack_2472 || "";
9206
+ JSCompiler_object_inline_componentStack_2473.digest =
9207
+ JSCompiler_object_inline_digest_2471;
9208
+ JSCompiler_object_inline_digest_2471 =
9209
9209
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9210
- JSCompiler_object_inline_stack_2468 = {
9211
- value: JSCompiler_object_inline_componentStack_2469,
9210
+ JSCompiler_object_inline_stack_2472 = {
9211
+ value: JSCompiler_object_inline_componentStack_2473,
9212
9212
  source: null,
9213
- stack: JSCompiler_object_inline_digest_2467
9213
+ stack: JSCompiler_object_inline_digest_2471
9214
9214
  };
9215
- "string" === typeof JSCompiler_object_inline_digest_2467 &&
9215
+ "string" === typeof JSCompiler_object_inline_digest_2471 &&
9216
9216
  CapturedStacks.set(
9217
- JSCompiler_object_inline_componentStack_2469,
9218
- JSCompiler_object_inline_stack_2468
9217
+ JSCompiler_object_inline_componentStack_2473,
9218
+ JSCompiler_object_inline_stack_2472
9219
9219
  );
9220
- queueHydrationError(JSCompiler_object_inline_stack_2468);
9220
+ queueHydrationError(JSCompiler_object_inline_stack_2472);
9221
9221
  workInProgress = retrySuspenseComponentWithoutHydrating(
9222
9222
  current,
9223
9223
  workInProgress,
@@ -9231,44 +9231,44 @@
9231
9231
  renderLanes,
9232
9232
  !1
9233
9233
  ),
9234
- (JSCompiler_object_inline_digest_2467 =
9234
+ (JSCompiler_object_inline_digest_2471 =
9235
9235
  0 !== (renderLanes & current.childLanes)),
9236
- didReceiveUpdate || JSCompiler_object_inline_digest_2467)
9236
+ didReceiveUpdate || JSCompiler_object_inline_digest_2471)
9237
9237
  ) {
9238
- JSCompiler_object_inline_digest_2467 = workInProgressRoot;
9238
+ JSCompiler_object_inline_digest_2471 = workInProgressRoot;
9239
9239
  if (
9240
- null !== JSCompiler_object_inline_digest_2467 &&
9241
- ((JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes),
9242
- (JSCompiler_object_inline_stack_2468 =
9243
- 0 !== (JSCompiler_object_inline_stack_2468 & 42)
9240
+ null !== JSCompiler_object_inline_digest_2471 &&
9241
+ ((JSCompiler_object_inline_stack_2472 = renderLanes & -renderLanes),
9242
+ (JSCompiler_object_inline_stack_2472 =
9243
+ 0 !== (JSCompiler_object_inline_stack_2472 & 42)
9244
9244
  ? 1
9245
9245
  : getBumpedLaneForHydrationByLane(
9246
- JSCompiler_object_inline_stack_2468
9246
+ JSCompiler_object_inline_stack_2472
9247
9247
  )),
9248
- (JSCompiler_object_inline_stack_2468 =
9248
+ (JSCompiler_object_inline_stack_2472 =
9249
9249
  0 !==
9250
- (JSCompiler_object_inline_stack_2468 &
9251
- (JSCompiler_object_inline_digest_2467.suspendedLanes |
9250
+ (JSCompiler_object_inline_stack_2472 &
9251
+ (JSCompiler_object_inline_digest_2471.suspendedLanes |
9252
9252
  renderLanes))
9253
9253
  ? 0
9254
- : JSCompiler_object_inline_stack_2468),
9255
- 0 !== JSCompiler_object_inline_stack_2468 &&
9256
- JSCompiler_object_inline_stack_2468 !== prevState.retryLane)
9254
+ : JSCompiler_object_inline_stack_2472),
9255
+ 0 !== JSCompiler_object_inline_stack_2472 &&
9256
+ JSCompiler_object_inline_stack_2472 !== prevState.retryLane)
9257
9257
  )
9258
9258
  throw (
9259
- ((prevState.retryLane = JSCompiler_object_inline_stack_2468),
9259
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2472),
9260
9260
  enqueueConcurrentRenderForLane(
9261
9261
  current,
9262
- JSCompiler_object_inline_stack_2468
9262
+ JSCompiler_object_inline_stack_2472
9263
9263
  ),
9264
9264
  scheduleUpdateOnFiber(
9265
- JSCompiler_object_inline_digest_2467,
9265
+ JSCompiler_object_inline_digest_2471,
9266
9266
  current,
9267
- JSCompiler_object_inline_stack_2468
9267
+ JSCompiler_object_inline_stack_2472
9268
9268
  ),
9269
9269
  SelectiveHydrationException)
9270
9270
  );
9271
- JSCompiler_object_inline_message_2466.data ===
9271
+ JSCompiler_object_inline_message_2470.data ===
9272
9272
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9273
9273
  workInProgress = retrySuspenseComponentWithoutHydrating(
9274
9274
  current,
@@ -9276,14 +9276,14 @@
9276
9276
  renderLanes
9277
9277
  );
9278
9278
  } else
9279
- JSCompiler_object_inline_message_2466.data ===
9279
+ JSCompiler_object_inline_message_2470.data ===
9280
9280
  SUSPENSE_PENDING_START_DATA
9281
9281
  ? ((workInProgress.flags |= 192),
9282
9282
  (workInProgress.child = current.child),
9283
9283
  (workInProgress = null))
9284
9284
  : ((current = prevState.treeContext),
9285
9285
  (nextHydratableInstance = getNextHydratable(
9286
- JSCompiler_object_inline_message_2466.nextSibling
9286
+ JSCompiler_object_inline_message_2470.nextSibling
9287
9287
  )),
9288
9288
  (hydrationParentFiber = workInProgress),
9289
9289
  (isHydrating = !0),
@@ -9301,57 +9301,57 @@
9301
9301
  (treeContextProvider = workInProgress)),
9302
9302
  (workInProgress = mountSuspensePrimaryChildren(
9303
9303
  workInProgress,
9304
- JSCompiler_object_inline_stack_2468.children
9304
+ JSCompiler_object_inline_stack_2472.children
9305
9305
  )),
9306
9306
  (workInProgress.flags |= 4096));
9307
9307
  return workInProgress;
9308
9308
  }
9309
- if (JSCompiler_object_inline_componentStack_2469)
9309
+ if (JSCompiler_object_inline_componentStack_2473)
9310
9310
  return (
9311
9311
  reuseSuspenseHandlerOnStack(workInProgress),
9312
- (JSCompiler_object_inline_componentStack_2469 =
9313
- JSCompiler_object_inline_stack_2468.fallback),
9314
- (JSCompiler_object_inline_message_2466 = workInProgress.mode),
9312
+ (JSCompiler_object_inline_componentStack_2473 =
9313
+ JSCompiler_object_inline_stack_2472.fallback),
9314
+ (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9315
9315
  (JSCompiler_temp = current.child),
9316
9316
  (instance = JSCompiler_temp.sibling),
9317
- (JSCompiler_object_inline_stack_2468 = createWorkInProgress(
9317
+ (JSCompiler_object_inline_stack_2472 = createWorkInProgress(
9318
9318
  JSCompiler_temp,
9319
9319
  {
9320
9320
  mode: "hidden",
9321
- children: JSCompiler_object_inline_stack_2468.children
9321
+ children: JSCompiler_object_inline_stack_2472.children
9322
9322
  }
9323
9323
  )),
9324
- (JSCompiler_object_inline_stack_2468.subtreeFlags =
9324
+ (JSCompiler_object_inline_stack_2472.subtreeFlags =
9325
9325
  JSCompiler_temp.subtreeFlags & 65011712),
9326
9326
  null !== instance
9327
- ? (JSCompiler_object_inline_componentStack_2469 =
9327
+ ? (JSCompiler_object_inline_componentStack_2473 =
9328
9328
  createWorkInProgress(
9329
9329
  instance,
9330
- JSCompiler_object_inline_componentStack_2469
9330
+ JSCompiler_object_inline_componentStack_2473
9331
9331
  ))
9332
- : ((JSCompiler_object_inline_componentStack_2469 =
9332
+ : ((JSCompiler_object_inline_componentStack_2473 =
9333
9333
  createFiberFromFragment(
9334
- JSCompiler_object_inline_componentStack_2469,
9335
- JSCompiler_object_inline_message_2466,
9334
+ JSCompiler_object_inline_componentStack_2473,
9335
+ JSCompiler_object_inline_message_2470,
9336
9336
  renderLanes,
9337
9337
  null
9338
9338
  )),
9339
- (JSCompiler_object_inline_componentStack_2469.flags |= 2)),
9340
- (JSCompiler_object_inline_componentStack_2469.return =
9339
+ (JSCompiler_object_inline_componentStack_2473.flags |= 2)),
9340
+ (JSCompiler_object_inline_componentStack_2473.return =
9341
9341
  workInProgress),
9342
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9343
- (JSCompiler_object_inline_stack_2468.sibling =
9344
- JSCompiler_object_inline_componentStack_2469),
9345
- (workInProgress.child = JSCompiler_object_inline_stack_2468),
9346
- (JSCompiler_object_inline_stack_2468 =
9347
- JSCompiler_object_inline_componentStack_2469),
9348
- (JSCompiler_object_inline_componentStack_2469 = workInProgress.child),
9349
- (JSCompiler_object_inline_message_2466 = current.child.memoizedState),
9350
- null === JSCompiler_object_inline_message_2466
9351
- ? (JSCompiler_object_inline_message_2466 =
9342
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9343
+ (JSCompiler_object_inline_stack_2472.sibling =
9344
+ JSCompiler_object_inline_componentStack_2473),
9345
+ (workInProgress.child = JSCompiler_object_inline_stack_2472),
9346
+ (JSCompiler_object_inline_stack_2472 =
9347
+ JSCompiler_object_inline_componentStack_2473),
9348
+ (JSCompiler_object_inline_componentStack_2473 = workInProgress.child),
9349
+ (JSCompiler_object_inline_message_2470 = current.child.memoizedState),
9350
+ null === JSCompiler_object_inline_message_2470
9351
+ ? (JSCompiler_object_inline_message_2470 =
9352
9352
  mountSuspenseOffscreenState(renderLanes))
9353
9353
  : ((JSCompiler_temp =
9354
- JSCompiler_object_inline_message_2466.cachePool),
9354
+ JSCompiler_object_inline_message_2470.cachePool),
9355
9355
  null !== JSCompiler_temp
9356
9356
  ? ((instance = CacheContext._currentValue),
9357
9357
  (JSCompiler_temp =
@@ -9359,37 +9359,37 @@
9359
9359
  ? { parent: instance, pool: instance }
9360
9360
  : JSCompiler_temp))
9361
9361
  : (JSCompiler_temp = getSuspendedCache()),
9362
- (JSCompiler_object_inline_message_2466 = {
9362
+ (JSCompiler_object_inline_message_2470 = {
9363
9363
  baseLanes:
9364
- JSCompiler_object_inline_message_2466.baseLanes | renderLanes,
9364
+ JSCompiler_object_inline_message_2470.baseLanes | renderLanes,
9365
9365
  cachePool: JSCompiler_temp
9366
9366
  })),
9367
- (JSCompiler_object_inline_componentStack_2469.memoizedState =
9368
- JSCompiler_object_inline_message_2466),
9369
- (JSCompiler_object_inline_componentStack_2469.childLanes =
9367
+ (JSCompiler_object_inline_componentStack_2473.memoizedState =
9368
+ JSCompiler_object_inline_message_2470),
9369
+ (JSCompiler_object_inline_componentStack_2473.childLanes =
9370
9370
  getRemainingWorkInPrimaryTree(
9371
9371
  current,
9372
- JSCompiler_object_inline_digest_2467,
9372
+ JSCompiler_object_inline_digest_2471,
9373
9373
  renderLanes
9374
9374
  )),
9375
9375
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9376
- JSCompiler_object_inline_stack_2468
9376
+ JSCompiler_object_inline_stack_2472
9377
9377
  );
9378
9378
  pushPrimaryTreeSuspenseHandler(workInProgress);
9379
9379
  renderLanes = current.child;
9380
9380
  current = renderLanes.sibling;
9381
9381
  renderLanes = createWorkInProgress(renderLanes, {
9382
9382
  mode: "visible",
9383
- children: JSCompiler_object_inline_stack_2468.children
9383
+ children: JSCompiler_object_inline_stack_2472.children
9384
9384
  });
9385
9385
  renderLanes.return = workInProgress;
9386
9386
  renderLanes.sibling = null;
9387
9387
  null !== current &&
9388
- ((JSCompiler_object_inline_digest_2467 = workInProgress.deletions),
9389
- null === JSCompiler_object_inline_digest_2467
9388
+ ((JSCompiler_object_inline_digest_2471 = workInProgress.deletions),
9389
+ null === JSCompiler_object_inline_digest_2471
9390
9390
  ? ((workInProgress.deletions = [current]),
9391
9391
  (workInProgress.flags |= 16))
9392
- : JSCompiler_object_inline_digest_2467.push(current));
9392
+ : JSCompiler_object_inline_digest_2471.push(current));
9393
9393
  workInProgress.child = renderLanes;
9394
9394
  workInProgress.memoizedState = null;
9395
9395
  return renderLanes;
@@ -15672,30 +15672,24 @@
15672
15672
  var prevExecutionContext = executionContext;
15673
15673
  executionContext |= CommitContext;
15674
15674
  try {
15675
- var rootContainer = root.containerInfo,
15676
- documentElement =
15675
+ var rootClone = root.gestureClone;
15676
+ if (null !== rootClone) {
15677
+ root.gestureClone = null;
15678
+ var rootContainer = root.containerInfo;
15679
+ var containerInstance =
15677
15680
  9 === rootContainer.nodeType
15678
- ? rootContainer.documentElement
15679
- : rootContainer.ownerDocument.documentElement;
15680
- null !== documentElement &&
15681
- "" === documentElement.style.viewTransitionName &&
15682
- ((documentElement.style.viewTransitionName = "none"),
15683
- documentElement.animate(
15684
- { opacity: [0, 0], pointerEvents: ["none", "none"] },
15685
- {
15686
- duration: 0,
15687
- fill: "forwards",
15688
- pseudoElement: "::view-transition-group(root)"
15689
- }
15690
- ),
15691
- documentElement.animate(
15692
- { width: [0, 0], height: [0, 0] },
15693
- {
15694
- duration: 0,
15695
- fill: "forwards",
15696
- pseudoElement: "::view-transition"
15697
- }
15698
- ));
15681
+ ? rootContainer.body
15682
+ : "HTML" === rootContainer.nodeName
15683
+ ? rootContainer.ownerDocument.body
15684
+ : rootContainer;
15685
+ var containerParent = containerInstance.parentNode;
15686
+ if (null === containerParent)
15687
+ throw Error(
15688
+ "Cannot use a useSwipeTransition() in a detached root."
15689
+ );
15690
+ containerParent.removeChild(rootClone);
15691
+ containerInstance.style.viewTransitionName = "root";
15692
+ }
15699
15693
  } finally {
15700
15694
  (executionContext = prevExecutionContext),
15701
15695
  (ReactDOMSharedInternals.p = previousPriority),
@@ -15736,11 +15730,16 @@
15736
15730
  var prevExecutionContext = executionContext;
15737
15731
  executionContext |= CommitContext;
15738
15732
  try {
15739
- var rootContainer = root.containerInfo,
15740
- documentElement =
15741
- 9 === rootContainer.nodeType
15742
- ? rootContainer.documentElement
15743
- : rootContainer.ownerDocument.documentElement;
15733
+ var rootContainer = root.containerInfo;
15734
+ var containerInstance =
15735
+ 9 === rootContainer.nodeType
15736
+ ? rootContainer.body
15737
+ : "HTML" === rootContainer.nodeName
15738
+ ? rootContainer.ownerDocument.body
15739
+ : rootContainer;
15740
+ "root" === containerInstance.style.viewTransitionName &&
15741
+ (containerInstance.style.viewTransitionName = "");
15742
+ var documentElement = containerInstance.ownerDocument.documentElement;
15744
15743
  null !== documentElement &&
15745
15744
  "none" === documentElement.style.viewTransitionName &&
15746
15745
  (documentElement.style.viewTransitionName = "");
@@ -17099,9 +17098,10 @@
17099
17098
  listeners.push(
17100
17099
  createDispatchListener(targetFiber, _instance3, stateNode)
17101
17100
  ));
17101
+ if (3 === targetFiber.tag) return listeners;
17102
17102
  targetFiber = targetFiber.return;
17103
17103
  }
17104
- return listeners;
17104
+ return [];
17105
17105
  }
17106
17106
  function getParent(inst) {
17107
17107
  if (null === inst) return null;
@@ -22527,10 +22527,11 @@
22527
22527
  TRANSITION_END = getVendorPrefixedEventName("transitionend"),
22528
22528
  topLevelEventsToReactNames = new Map(),
22529
22529
  simpleEventPluginEvents =
22530
- "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(
22530
+ "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(
22531
22531
  " "
22532
- ),
22533
- CapturedStacks = new WeakMap(),
22532
+ );
22533
+ simpleEventPluginEvents.push("scrollEnd");
22534
+ var CapturedStacks = new WeakMap(),
22534
22535
  OffscreenVisible = 1,
22535
22536
  OffscreenDetached = 2,
22536
22537
  OffscreenPassiveEffectsConnected = 4,
@@ -24833,11 +24834,11 @@
24833
24834
  };
24834
24835
  (function () {
24835
24836
  var isomorphicReactPackageVersion = React.version;
24836
- if ("19.1.0-canary-2980f277-20250301" !== isomorphicReactPackageVersion)
24837
+ if ("19.1.0-canary-e03ac20f-20250305" !== isomorphicReactPackageVersion)
24837
24838
  throw Error(
24838
24839
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24839
24840
  (isomorphicReactPackageVersion +
24840
- "\n - react-dom: 19.1.0-canary-2980f277-20250301\nLearn more: https://react.dev/warnings/version-mismatch")
24841
+ "\n - react-dom: 19.1.0-canary-e03ac20f-20250305\nLearn more: https://react.dev/warnings/version-mismatch")
24841
24842
  );
24842
24843
  })();
24843
24844
  ("function" === typeof Map &&
@@ -24874,10 +24875,10 @@
24874
24875
  !(function () {
24875
24876
  var internals = {
24876
24877
  bundleType: 1,
24877
- version: "19.1.0-canary-2980f277-20250301",
24878
+ version: "19.1.0-canary-e03ac20f-20250305",
24878
24879
  rendererPackageName: "react-dom",
24879
24880
  currentDispatcherRef: ReactSharedInternals,
24880
- reconcilerVersion: "19.1.0-canary-2980f277-20250301"
24881
+ reconcilerVersion: "19.1.0-canary-e03ac20f-20250305"
24881
24882
  };
24882
24883
  internals.overrideHookState = overrideHookState;
24883
24884
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25021,7 +25022,7 @@
25021
25022
  listenToAllSupportedEvents(container);
25022
25023
  return new ReactDOMHydrationRoot(initialChildren);
25023
25024
  };
25024
- exports.version = "19.1.0-canary-2980f277-20250301";
25025
+ exports.version = "19.1.0-canary-e03ac20f-20250305";
25025
25026
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25026
25027
  "function" ===
25027
25028
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&