react-dom 19.1.0-canary-7130d0c6-20241212 → 19.1.0-canary-e06c72fc-20241215

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.
@@ -489,13 +489,11 @@
489
489
  return describeBuiltInComponentFrame("SuspenseList");
490
490
  case 0:
491
491
  case 15:
492
- return (fiber = describeNativeComponentFrame(fiber.type, !1)), fiber;
492
+ return describeNativeComponentFrame(fiber.type, !1);
493
493
  case 11:
494
- return (
495
- (fiber = describeNativeComponentFrame(fiber.type.render, !1)), fiber
496
- );
494
+ return describeNativeComponentFrame(fiber.type.render, !1);
497
495
  case 1:
498
- return (fiber = describeNativeComponentFrame(fiber.type, !0)), fiber;
496
+ return describeNativeComponentFrame(fiber.type, !0);
499
497
  default:
500
498
  return "";
501
499
  }
@@ -1184,6 +1182,46 @@
1184
1182
  rootEntangledLanes &= ~lane;
1185
1183
  }
1186
1184
  }
1185
+ function getBumpedLaneForHydrationByLane(lane) {
1186
+ switch (lane) {
1187
+ case 2:
1188
+ lane = 1;
1189
+ break;
1190
+ case 8:
1191
+ lane = 4;
1192
+ break;
1193
+ case 32:
1194
+ lane = 16;
1195
+ break;
1196
+ case 128:
1197
+ case 256:
1198
+ case 512:
1199
+ case 1024:
1200
+ case 2048:
1201
+ case 4096:
1202
+ case 8192:
1203
+ case 16384:
1204
+ case 32768:
1205
+ case 65536:
1206
+ case 131072:
1207
+ case 262144:
1208
+ case 524288:
1209
+ case 1048576:
1210
+ case 2097152:
1211
+ case 4194304:
1212
+ case 8388608:
1213
+ case 16777216:
1214
+ case 33554432:
1215
+ lane = 64;
1216
+ break;
1217
+ case 268435456:
1218
+ lane = 134217728;
1219
+ break;
1220
+ default:
1221
+ lane = 0;
1222
+ }
1223
+ return lane;
1224
+ }
1187
1225
  function addFiberToLanesMap(root, fiber, lanes) {
1188
1226
  if (isDevToolsPresent)
1189
1227
  for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
@@ -4845,6 +4883,9 @@
4845
4883
  }
4846
4884
  return workInProgressHook;
4847
4885
  }
4886
+ function createFunctionComponentUpdateQueue() {
4887
+ return { lastEffect: null, events: null, stores: null, memoCache: null };
4888
+ }
4848
4889
  function useThenable(thenable) {
4849
4890
  var index = thenableIndexCounter$1;
4850
4891
  thenableIndexCounter$1 += 1;
@@ -8688,32 +8729,32 @@
8688
8729
  return current;
8689
8730
  }
8690
8731
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8691
- var JSCompiler_object_inline_digest_2316;
8692
- var JSCompiler_object_inline_stack_2317 = workInProgress.pendingProps;
8732
+ var JSCompiler_object_inline_digest_2307;
8733
+ var JSCompiler_object_inline_stack_2308 = workInProgress.pendingProps;
8693
8734
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8694
- var JSCompiler_object_inline_componentStack_2318 = !1;
8735
+ var JSCompiler_object_inline_componentStack_2309 = !1;
8695
8736
  var didSuspend = 0 !== (workInProgress.flags & 128);
8696
- (JSCompiler_object_inline_digest_2316 = didSuspend) ||
8697
- (JSCompiler_object_inline_digest_2316 =
8737
+ (JSCompiler_object_inline_digest_2307 = didSuspend) ||
8738
+ (JSCompiler_object_inline_digest_2307 =
8698
8739
  null !== current && null === current.memoizedState
8699
8740
  ? !1
8700
8741
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8701
- JSCompiler_object_inline_digest_2316 &&
8702
- ((JSCompiler_object_inline_componentStack_2318 = !0),
8742
+ JSCompiler_object_inline_digest_2307 &&
8743
+ ((JSCompiler_object_inline_componentStack_2309 = !0),
8703
8744
  (workInProgress.flags &= -129));
8704
- JSCompiler_object_inline_digest_2316 = 0 !== (workInProgress.flags & 32);
8745
+ JSCompiler_object_inline_digest_2307 = 0 !== (workInProgress.flags & 32);
8705
8746
  workInProgress.flags &= -33;
8706
8747
  if (null === current) {
8707
8748
  if (isHydrating) {
8708
- JSCompiler_object_inline_componentStack_2318
8749
+ JSCompiler_object_inline_componentStack_2309
8709
8750
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8710
8751
  : reuseSuspenseHandlerOnStack(workInProgress);
8711
8752
  if (isHydrating) {
8712
- var JSCompiler_object_inline_message_2315 = nextHydratableInstance;
8753
+ var JSCompiler_object_inline_message_2306 = nextHydratableInstance;
8713
8754
  var JSCompiler_temp;
8714
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2315)) {
8755
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2306)) {
8715
8756
  c: {
8716
- var instance = JSCompiler_object_inline_message_2315;
8757
+ var instance = JSCompiler_object_inline_message_2306;
8717
8758
  for (
8718
8759
  JSCompiler_temp = rootOrSingletonContext;
8719
8760
  8 !== instance.nodeType;
@@ -8754,77 +8795,77 @@
8754
8795
  JSCompiler_temp &&
8755
8796
  (warnNonHydratedInstance(
8756
8797
  workInProgress,
8757
- JSCompiler_object_inline_message_2315
8798
+ JSCompiler_object_inline_message_2306
8758
8799
  ),
8759
8800
  throwOnHydrationMismatch(workInProgress));
8760
8801
  }
8761
- JSCompiler_object_inline_message_2315 = workInProgress.memoizedState;
8802
+ JSCompiler_object_inline_message_2306 = workInProgress.memoizedState;
8762
8803
  if (
8763
- null !== JSCompiler_object_inline_message_2315 &&
8764
- ((JSCompiler_object_inline_message_2315 =
8765
- JSCompiler_object_inline_message_2315.dehydrated),
8766
- null !== JSCompiler_object_inline_message_2315)
8804
+ null !== JSCompiler_object_inline_message_2306 &&
8805
+ ((JSCompiler_object_inline_message_2306 =
8806
+ JSCompiler_object_inline_message_2306.dehydrated),
8807
+ null !== JSCompiler_object_inline_message_2306)
8767
8808
  )
8768
8809
  return (
8769
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2315)
8770
- ? (workInProgress.lanes = 16)
8810
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2306)
8811
+ ? (workInProgress.lanes = 32)
8771
8812
  : (workInProgress.lanes = 536870912),
8772
8813
  null
8773
8814
  );
8774
8815
  popSuspenseHandler(workInProgress);
8775
8816
  }
8776
- JSCompiler_object_inline_message_2315 =
8777
- JSCompiler_object_inline_stack_2317.children;
8778
- JSCompiler_object_inline_stack_2317 =
8779
- JSCompiler_object_inline_stack_2317.fallback;
8780
- if (JSCompiler_object_inline_componentStack_2318)
8817
+ JSCompiler_object_inline_message_2306 =
8818
+ JSCompiler_object_inline_stack_2308.children;
8819
+ JSCompiler_object_inline_stack_2308 =
8820
+ JSCompiler_object_inline_stack_2308.fallback;
8821
+ if (JSCompiler_object_inline_componentStack_2309)
8781
8822
  return (
8782
8823
  reuseSuspenseHandlerOnStack(workInProgress),
8783
- (JSCompiler_object_inline_componentStack_2318 =
8824
+ (JSCompiler_object_inline_componentStack_2309 =
8784
8825
  workInProgress.mode),
8785
- (JSCompiler_object_inline_message_2315 =
8826
+ (JSCompiler_object_inline_message_2306 =
8786
8827
  mountWorkInProgressOffscreenFiber(
8787
8828
  {
8788
8829
  mode: "hidden",
8789
- children: JSCompiler_object_inline_message_2315
8830
+ children: JSCompiler_object_inline_message_2306
8790
8831
  },
8791
- JSCompiler_object_inline_componentStack_2318
8832
+ JSCompiler_object_inline_componentStack_2309
8792
8833
  )),
8793
- (JSCompiler_object_inline_stack_2317 = createFiberFromFragment(
8794
- JSCompiler_object_inline_stack_2317,
8795
- JSCompiler_object_inline_componentStack_2318,
8834
+ (JSCompiler_object_inline_stack_2308 = createFiberFromFragment(
8835
+ JSCompiler_object_inline_stack_2308,
8836
+ JSCompiler_object_inline_componentStack_2309,
8796
8837
  renderLanes,
8797
8838
  null
8798
8839
  )),
8799
- (JSCompiler_object_inline_message_2315.return = workInProgress),
8800
- (JSCompiler_object_inline_stack_2317.return = workInProgress),
8801
- (JSCompiler_object_inline_message_2315.sibling =
8802
- JSCompiler_object_inline_stack_2317),
8803
- (workInProgress.child = JSCompiler_object_inline_message_2315),
8804
- (JSCompiler_object_inline_componentStack_2318 =
8840
+ (JSCompiler_object_inline_message_2306.return = workInProgress),
8841
+ (JSCompiler_object_inline_stack_2308.return = workInProgress),
8842
+ (JSCompiler_object_inline_message_2306.sibling =
8843
+ JSCompiler_object_inline_stack_2308),
8844
+ (workInProgress.child = JSCompiler_object_inline_message_2306),
8845
+ (JSCompiler_object_inline_componentStack_2309 =
8805
8846
  workInProgress.child),
8806
- (JSCompiler_object_inline_componentStack_2318.memoizedState =
8847
+ (JSCompiler_object_inline_componentStack_2309.memoizedState =
8807
8848
  mountSuspenseOffscreenState(renderLanes)),
8808
- (JSCompiler_object_inline_componentStack_2318.childLanes =
8849
+ (JSCompiler_object_inline_componentStack_2309.childLanes =
8809
8850
  getRemainingWorkInPrimaryTree(
8810
8851
  current,
8811
- JSCompiler_object_inline_digest_2316,
8852
+ JSCompiler_object_inline_digest_2307,
8812
8853
  renderLanes
8813
8854
  )),
8814
8855
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8815
- JSCompiler_object_inline_stack_2317
8856
+ JSCompiler_object_inline_stack_2308
8816
8857
  );
8817
8858
  pushPrimaryTreeSuspenseHandler(workInProgress);
8818
8859
  return mountSuspensePrimaryChildren(
8819
8860
  workInProgress,
8820
- JSCompiler_object_inline_message_2315
8861
+ JSCompiler_object_inline_message_2306
8821
8862
  );
8822
8863
  }
8823
8864
  var prevState = current.memoizedState;
8824
8865
  if (
8825
8866
  null !== prevState &&
8826
- ((JSCompiler_object_inline_message_2315 = prevState.dehydrated),
8827
- null !== JSCompiler_object_inline_message_2315)
8867
+ ((JSCompiler_object_inline_message_2306 = prevState.dehydrated),
8868
+ null !== JSCompiler_object_inline_message_2306)
8828
8869
  ) {
8829
8870
  if (didSuspend)
8830
8871
  workInProgress.flags & 256
@@ -8841,94 +8882,94 @@
8841
8882
  (workInProgress.flags |= 128),
8842
8883
  (workInProgress = null))
8843
8884
  : (reuseSuspenseHandlerOnStack(workInProgress),
8844
- (JSCompiler_object_inline_componentStack_2318 =
8845
- JSCompiler_object_inline_stack_2317.fallback),
8846
- (JSCompiler_object_inline_message_2315 = workInProgress.mode),
8847
- (JSCompiler_object_inline_stack_2317 =
8885
+ (JSCompiler_object_inline_componentStack_2309 =
8886
+ JSCompiler_object_inline_stack_2308.fallback),
8887
+ (JSCompiler_object_inline_message_2306 = workInProgress.mode),
8888
+ (JSCompiler_object_inline_stack_2308 =
8848
8889
  mountWorkInProgressOffscreenFiber(
8849
8890
  {
8850
8891
  mode: "visible",
8851
- children: JSCompiler_object_inline_stack_2317.children
8892
+ children: JSCompiler_object_inline_stack_2308.children
8852
8893
  },
8853
- JSCompiler_object_inline_message_2315
8894
+ JSCompiler_object_inline_message_2306
8854
8895
  )),
8855
- (JSCompiler_object_inline_componentStack_2318 =
8896
+ (JSCompiler_object_inline_componentStack_2309 =
8856
8897
  createFiberFromFragment(
8857
- JSCompiler_object_inline_componentStack_2318,
8858
- JSCompiler_object_inline_message_2315,
8898
+ JSCompiler_object_inline_componentStack_2309,
8899
+ JSCompiler_object_inline_message_2306,
8859
8900
  renderLanes,
8860
8901
  null
8861
8902
  )),
8862
- (JSCompiler_object_inline_componentStack_2318.flags |= 2),
8863
- (JSCompiler_object_inline_stack_2317.return = workInProgress),
8864
- (JSCompiler_object_inline_componentStack_2318.return =
8903
+ (JSCompiler_object_inline_componentStack_2309.flags |= 2),
8904
+ (JSCompiler_object_inline_stack_2308.return = workInProgress),
8905
+ (JSCompiler_object_inline_componentStack_2309.return =
8865
8906
  workInProgress),
8866
- (JSCompiler_object_inline_stack_2317.sibling =
8867
- JSCompiler_object_inline_componentStack_2318),
8868
- (workInProgress.child = JSCompiler_object_inline_stack_2317),
8907
+ (JSCompiler_object_inline_stack_2308.sibling =
8908
+ JSCompiler_object_inline_componentStack_2309),
8909
+ (workInProgress.child = JSCompiler_object_inline_stack_2308),
8869
8910
  reconcileChildFibers(
8870
8911
  workInProgress,
8871
8912
  current.child,
8872
8913
  null,
8873
8914
  renderLanes
8874
8915
  ),
8875
- (JSCompiler_object_inline_stack_2317 = workInProgress.child),
8876
- (JSCompiler_object_inline_stack_2317.memoizedState =
8916
+ (JSCompiler_object_inline_stack_2308 = workInProgress.child),
8917
+ (JSCompiler_object_inline_stack_2308.memoizedState =
8877
8918
  mountSuspenseOffscreenState(renderLanes)),
8878
- (JSCompiler_object_inline_stack_2317.childLanes =
8919
+ (JSCompiler_object_inline_stack_2308.childLanes =
8879
8920
  getRemainingWorkInPrimaryTree(
8880
8921
  current,
8881
- JSCompiler_object_inline_digest_2316,
8922
+ JSCompiler_object_inline_digest_2307,
8882
8923
  renderLanes
8883
8924
  )),
8884
8925
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8885
8926
  (workInProgress =
8886
- JSCompiler_object_inline_componentStack_2318));
8927
+ JSCompiler_object_inline_componentStack_2309));
8887
8928
  else if (
8888
8929
  (pushPrimaryTreeSuspenseHandler(workInProgress),
8889
8930
  isHydrating &&
8890
8931
  console.error(
8891
8932
  "We should not be hydrating here. This is a bug in React. Please file a bug."
8892
8933
  ),
8893
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2315))
8934
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2306))
8894
8935
  ) {
8895
- JSCompiler_object_inline_digest_2316 =
8896
- JSCompiler_object_inline_message_2315.nextSibling &&
8897
- JSCompiler_object_inline_message_2315.nextSibling.dataset;
8898
- if (JSCompiler_object_inline_digest_2316) {
8899
- JSCompiler_temp = JSCompiler_object_inline_digest_2316.dgst;
8900
- var message = JSCompiler_object_inline_digest_2316.msg;
8901
- instance = JSCompiler_object_inline_digest_2316.stck;
8902
- var componentStack = JSCompiler_object_inline_digest_2316.cstck;
8936
+ JSCompiler_object_inline_digest_2307 =
8937
+ JSCompiler_object_inline_message_2306.nextSibling &&
8938
+ JSCompiler_object_inline_message_2306.nextSibling.dataset;
8939
+ if (JSCompiler_object_inline_digest_2307) {
8940
+ JSCompiler_temp = JSCompiler_object_inline_digest_2307.dgst;
8941
+ var message = JSCompiler_object_inline_digest_2307.msg;
8942
+ instance = JSCompiler_object_inline_digest_2307.stck;
8943
+ var componentStack = JSCompiler_object_inline_digest_2307.cstck;
8903
8944
  }
8904
- JSCompiler_object_inline_message_2315 = message;
8905
- JSCompiler_object_inline_digest_2316 = JSCompiler_temp;
8906
- JSCompiler_object_inline_stack_2317 = instance;
8907
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2318 =
8945
+ JSCompiler_object_inline_message_2306 = message;
8946
+ JSCompiler_object_inline_digest_2307 = JSCompiler_temp;
8947
+ JSCompiler_object_inline_stack_2308 = instance;
8948
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2309 =
8908
8949
  componentStack;
8909
- JSCompiler_object_inline_componentStack_2318 =
8910
- JSCompiler_object_inline_message_2315
8911
- ? Error(JSCompiler_object_inline_message_2315)
8950
+ JSCompiler_object_inline_componentStack_2309 =
8951
+ JSCompiler_object_inline_message_2306
8952
+ ? Error(JSCompiler_object_inline_message_2306)
8912
8953
  : Error(
8913
8954
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
8914
8955
  );
8915
- JSCompiler_object_inline_componentStack_2318.stack =
8916
- JSCompiler_object_inline_stack_2317 || "";
8917
- JSCompiler_object_inline_componentStack_2318.digest =
8918
- JSCompiler_object_inline_digest_2316;
8919
- JSCompiler_object_inline_digest_2316 =
8956
+ JSCompiler_object_inline_componentStack_2309.stack =
8957
+ JSCompiler_object_inline_stack_2308 || "";
8958
+ JSCompiler_object_inline_componentStack_2309.digest =
8959
+ JSCompiler_object_inline_digest_2307;
8960
+ JSCompiler_object_inline_digest_2307 =
8920
8961
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
8921
- JSCompiler_object_inline_stack_2317 = {
8922
- value: JSCompiler_object_inline_componentStack_2318,
8962
+ JSCompiler_object_inline_stack_2308 = {
8963
+ value: JSCompiler_object_inline_componentStack_2309,
8923
8964
  source: null,
8924
- stack: JSCompiler_object_inline_digest_2316
8965
+ stack: JSCompiler_object_inline_digest_2307
8925
8966
  };
8926
- "string" === typeof JSCompiler_object_inline_digest_2316 &&
8967
+ "string" === typeof JSCompiler_object_inline_digest_2307 &&
8927
8968
  CapturedStacks.set(
8928
- JSCompiler_object_inline_componentStack_2318,
8929
- JSCompiler_object_inline_stack_2317
8969
+ JSCompiler_object_inline_componentStack_2309,
8970
+ JSCompiler_object_inline_stack_2308
8930
8971
  );
8931
- queueHydrationError(JSCompiler_object_inline_stack_2317);
8972
+ queueHydrationError(JSCompiler_object_inline_stack_2308);
8932
8973
  workInProgress = retrySuspenseComponentWithoutHydrating(
8933
8974
  current,
8934
8975
  workInProgress,
@@ -8942,79 +8983,44 @@
8942
8983
  renderLanes,
8943
8984
  !1
8944
8985
  ),
8945
- (JSCompiler_object_inline_digest_2316 =
8986
+ (JSCompiler_object_inline_digest_2307 =
8946
8987
  0 !== (renderLanes & current.childLanes)),
8947
- didReceiveUpdate || JSCompiler_object_inline_digest_2316)
8988
+ didReceiveUpdate || JSCompiler_object_inline_digest_2307)
8948
8989
  ) {
8949
- JSCompiler_object_inline_digest_2316 = workInProgressRoot;
8950
- if (null !== JSCompiler_object_inline_digest_2316) {
8951
- JSCompiler_object_inline_stack_2317 = renderLanes & -renderLanes;
8952
- if (0 !== (JSCompiler_object_inline_stack_2317 & 42))
8953
- JSCompiler_object_inline_stack_2317 = 1;
8954
- else
8955
- switch (JSCompiler_object_inline_stack_2317) {
8956
- case 2:
8957
- JSCompiler_object_inline_stack_2317 = 1;
8958
- break;
8959
- case 8:
8960
- JSCompiler_object_inline_stack_2317 = 4;
8961
- break;
8962
- case 32:
8963
- JSCompiler_object_inline_stack_2317 = 16;
8964
- break;
8965
- case 128:
8966
- case 256:
8967
- case 512:
8968
- case 1024:
8969
- case 2048:
8970
- case 4096:
8971
- case 8192:
8972
- case 16384:
8973
- case 32768:
8974
- case 65536:
8975
- case 131072:
8976
- case 262144:
8977
- case 524288:
8978
- case 1048576:
8979
- case 2097152:
8980
- case 4194304:
8981
- case 8388608:
8982
- case 16777216:
8983
- case 33554432:
8984
- JSCompiler_object_inline_stack_2317 = 64;
8985
- break;
8986
- case 268435456:
8987
- JSCompiler_object_inline_stack_2317 = 134217728;
8988
- break;
8989
- default:
8990
- JSCompiler_object_inline_stack_2317 = 0;
8991
- }
8992
- JSCompiler_object_inline_stack_2317 =
8990
+ JSCompiler_object_inline_digest_2307 = workInProgressRoot;
8991
+ if (
8992
+ null !== JSCompiler_object_inline_digest_2307 &&
8993
+ ((JSCompiler_object_inline_stack_2308 = renderLanes & -renderLanes),
8994
+ (JSCompiler_object_inline_stack_2308 =
8995
+ 0 !== (JSCompiler_object_inline_stack_2308 & 42)
8996
+ ? 1
8997
+ : getBumpedLaneForHydrationByLane(
8998
+ JSCompiler_object_inline_stack_2308
8999
+ )),
9000
+ (JSCompiler_object_inline_stack_2308 =
8993
9001
  0 !==
8994
- (JSCompiler_object_inline_stack_2317 &
8995
- (JSCompiler_object_inline_digest_2316.suspendedLanes |
9002
+ (JSCompiler_object_inline_stack_2308 &
9003
+ (JSCompiler_object_inline_digest_2307.suspendedLanes |
8996
9004
  renderLanes))
8997
9005
  ? 0
8998
- : JSCompiler_object_inline_stack_2317;
8999
- if (
9000
- 0 !== JSCompiler_object_inline_stack_2317 &&
9001
- JSCompiler_object_inline_stack_2317 !== prevState.retryLane
9002
- )
9003
- throw (
9004
- ((prevState.retryLane = JSCompiler_object_inline_stack_2317),
9005
- enqueueConcurrentRenderForLane(
9006
- current,
9007
- JSCompiler_object_inline_stack_2317
9008
- ),
9009
- scheduleUpdateOnFiber(
9010
- JSCompiler_object_inline_digest_2316,
9011
- current,
9012
- JSCompiler_object_inline_stack_2317
9013
- ),
9014
- SelectiveHydrationException)
9015
- );
9016
- }
9017
- JSCompiler_object_inline_message_2315.data ===
9006
+ : JSCompiler_object_inline_stack_2308),
9007
+ 0 !== JSCompiler_object_inline_stack_2308 &&
9008
+ JSCompiler_object_inline_stack_2308 !== prevState.retryLane)
9009
+ )
9010
+ throw (
9011
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2308),
9012
+ enqueueConcurrentRenderForLane(
9013
+ current,
9014
+ JSCompiler_object_inline_stack_2308
9015
+ ),
9016
+ scheduleUpdateOnFiber(
9017
+ JSCompiler_object_inline_digest_2307,
9018
+ current,
9019
+ JSCompiler_object_inline_stack_2308
9020
+ ),
9021
+ SelectiveHydrationException)
9022
+ );
9023
+ JSCompiler_object_inline_message_2306.data ===
9018
9024
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9019
9025
  workInProgress = retrySuspenseComponentWithoutHydrating(
9020
9026
  current,
@@ -9022,14 +9028,14 @@
9022
9028
  renderLanes
9023
9029
  );
9024
9030
  } else
9025
- JSCompiler_object_inline_message_2315.data ===
9031
+ JSCompiler_object_inline_message_2306.data ===
9026
9032
  SUSPENSE_PENDING_START_DATA
9027
9033
  ? ((workInProgress.flags |= 192),
9028
9034
  (workInProgress.child = current.child),
9029
9035
  (workInProgress = null))
9030
9036
  : ((current = prevState.treeContext),
9031
9037
  (nextHydratableInstance = getNextHydratable(
9032
- JSCompiler_object_inline_message_2315.nextSibling
9038
+ JSCompiler_object_inline_message_2306.nextSibling
9033
9039
  )),
9034
9040
  (hydrationParentFiber = workInProgress),
9035
9041
  (isHydrating = !0),
@@ -9047,57 +9053,57 @@
9047
9053
  (treeContextProvider = workInProgress)),
9048
9054
  (workInProgress = mountSuspensePrimaryChildren(
9049
9055
  workInProgress,
9050
- JSCompiler_object_inline_stack_2317.children
9056
+ JSCompiler_object_inline_stack_2308.children
9051
9057
  )),
9052
9058
  (workInProgress.flags |= 4096));
9053
9059
  return workInProgress;
9054
9060
  }
9055
- if (JSCompiler_object_inline_componentStack_2318)
9061
+ if (JSCompiler_object_inline_componentStack_2309)
9056
9062
  return (
9057
9063
  reuseSuspenseHandlerOnStack(workInProgress),
9058
- (JSCompiler_object_inline_componentStack_2318 =
9059
- JSCompiler_object_inline_stack_2317.fallback),
9060
- (JSCompiler_object_inline_message_2315 = workInProgress.mode),
9064
+ (JSCompiler_object_inline_componentStack_2309 =
9065
+ JSCompiler_object_inline_stack_2308.fallback),
9066
+ (JSCompiler_object_inline_message_2306 = workInProgress.mode),
9061
9067
  (JSCompiler_temp = current.child),
9062
9068
  (instance = JSCompiler_temp.sibling),
9063
- (JSCompiler_object_inline_stack_2317 = createWorkInProgress(
9069
+ (JSCompiler_object_inline_stack_2308 = createWorkInProgress(
9064
9070
  JSCompiler_temp,
9065
9071
  {
9066
9072
  mode: "hidden",
9067
- children: JSCompiler_object_inline_stack_2317.children
9073
+ children: JSCompiler_object_inline_stack_2308.children
9068
9074
  }
9069
9075
  )),
9070
- (JSCompiler_object_inline_stack_2317.subtreeFlags =
9076
+ (JSCompiler_object_inline_stack_2308.subtreeFlags =
9071
9077
  JSCompiler_temp.subtreeFlags & 31457280),
9072
9078
  null !== instance
9073
- ? (JSCompiler_object_inline_componentStack_2318 =
9079
+ ? (JSCompiler_object_inline_componentStack_2309 =
9074
9080
  createWorkInProgress(
9075
9081
  instance,
9076
- JSCompiler_object_inline_componentStack_2318
9082
+ JSCompiler_object_inline_componentStack_2309
9077
9083
  ))
9078
- : ((JSCompiler_object_inline_componentStack_2318 =
9084
+ : ((JSCompiler_object_inline_componentStack_2309 =
9079
9085
  createFiberFromFragment(
9080
- JSCompiler_object_inline_componentStack_2318,
9081
- JSCompiler_object_inline_message_2315,
9086
+ JSCompiler_object_inline_componentStack_2309,
9087
+ JSCompiler_object_inline_message_2306,
9082
9088
  renderLanes,
9083
9089
  null
9084
9090
  )),
9085
- (JSCompiler_object_inline_componentStack_2318.flags |= 2)),
9086
- (JSCompiler_object_inline_componentStack_2318.return =
9091
+ (JSCompiler_object_inline_componentStack_2309.flags |= 2)),
9092
+ (JSCompiler_object_inline_componentStack_2309.return =
9087
9093
  workInProgress),
9088
- (JSCompiler_object_inline_stack_2317.return = workInProgress),
9089
- (JSCompiler_object_inline_stack_2317.sibling =
9090
- JSCompiler_object_inline_componentStack_2318),
9091
- (workInProgress.child = JSCompiler_object_inline_stack_2317),
9092
- (JSCompiler_object_inline_stack_2317 =
9093
- JSCompiler_object_inline_componentStack_2318),
9094
- (JSCompiler_object_inline_componentStack_2318 = workInProgress.child),
9095
- (JSCompiler_object_inline_message_2315 = current.child.memoizedState),
9096
- null === JSCompiler_object_inline_message_2315
9097
- ? (JSCompiler_object_inline_message_2315 =
9094
+ (JSCompiler_object_inline_stack_2308.return = workInProgress),
9095
+ (JSCompiler_object_inline_stack_2308.sibling =
9096
+ JSCompiler_object_inline_componentStack_2309),
9097
+ (workInProgress.child = JSCompiler_object_inline_stack_2308),
9098
+ (JSCompiler_object_inline_stack_2308 =
9099
+ JSCompiler_object_inline_componentStack_2309),
9100
+ (JSCompiler_object_inline_componentStack_2309 = workInProgress.child),
9101
+ (JSCompiler_object_inline_message_2306 = current.child.memoizedState),
9102
+ null === JSCompiler_object_inline_message_2306
9103
+ ? (JSCompiler_object_inline_message_2306 =
9098
9104
  mountSuspenseOffscreenState(renderLanes))
9099
9105
  : ((JSCompiler_temp =
9100
- JSCompiler_object_inline_message_2315.cachePool),
9106
+ JSCompiler_object_inline_message_2306.cachePool),
9101
9107
  null !== JSCompiler_temp
9102
9108
  ? ((instance = CacheContext._currentValue),
9103
9109
  (JSCompiler_temp =
@@ -9105,37 +9111,37 @@
9105
9111
  ? { parent: instance, pool: instance }
9106
9112
  : JSCompiler_temp))
9107
9113
  : (JSCompiler_temp = getSuspendedCache()),
9108
- (JSCompiler_object_inline_message_2315 = {
9114
+ (JSCompiler_object_inline_message_2306 = {
9109
9115
  baseLanes:
9110
- JSCompiler_object_inline_message_2315.baseLanes | renderLanes,
9116
+ JSCompiler_object_inline_message_2306.baseLanes | renderLanes,
9111
9117
  cachePool: JSCompiler_temp
9112
9118
  })),
9113
- (JSCompiler_object_inline_componentStack_2318.memoizedState =
9114
- JSCompiler_object_inline_message_2315),
9115
- (JSCompiler_object_inline_componentStack_2318.childLanes =
9119
+ (JSCompiler_object_inline_componentStack_2309.memoizedState =
9120
+ JSCompiler_object_inline_message_2306),
9121
+ (JSCompiler_object_inline_componentStack_2309.childLanes =
9116
9122
  getRemainingWorkInPrimaryTree(
9117
9123
  current,
9118
- JSCompiler_object_inline_digest_2316,
9124
+ JSCompiler_object_inline_digest_2307,
9119
9125
  renderLanes
9120
9126
  )),
9121
9127
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9122
- JSCompiler_object_inline_stack_2317
9128
+ JSCompiler_object_inline_stack_2308
9123
9129
  );
9124
9130
  pushPrimaryTreeSuspenseHandler(workInProgress);
9125
9131
  renderLanes = current.child;
9126
9132
  current = renderLanes.sibling;
9127
9133
  renderLanes = createWorkInProgress(renderLanes, {
9128
9134
  mode: "visible",
9129
- children: JSCompiler_object_inline_stack_2317.children
9135
+ children: JSCompiler_object_inline_stack_2308.children
9130
9136
  });
9131
9137
  renderLanes.return = workInProgress;
9132
9138
  renderLanes.sibling = null;
9133
9139
  null !== current &&
9134
- ((JSCompiler_object_inline_digest_2316 = workInProgress.deletions),
9135
- null === JSCompiler_object_inline_digest_2316
9140
+ ((JSCompiler_object_inline_digest_2307 = workInProgress.deletions),
9141
+ null === JSCompiler_object_inline_digest_2307
9136
9142
  ? ((workInProgress.deletions = [current]),
9137
9143
  (workInProgress.flags |= 16))
9138
- : JSCompiler_object_inline_digest_2316.push(current));
9144
+ : JSCompiler_object_inline_digest_2307.push(current));
9139
9145
  workInProgress.child = renderLanes;
9140
9146
  workInProgress.memoizedState = null;
9141
9147
  return renderLanes;
@@ -18133,7 +18139,7 @@
18133
18139
  console.error(
18134
18140
  "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
18135
18141
  );
18136
- else if (canDiffStyleForHydrationWarning) {
18142
+ else {
18137
18143
  var clientValue;
18138
18144
  var delimiter = (clientValue = ""),
18139
18145
  styleName;
@@ -18552,42 +18558,36 @@
18552
18558
  }
18553
18559
  case "src":
18554
18560
  case "href":
18555
- if (
18556
- !(
18557
- "" !== propKey ||
18558
- ("a" === tag && "href" === value) ||
18559
- ("object" === tag && "data" === value)
18560
- )
18561
- ) {
18562
- "src" === value
18563
- ? console.error(
18564
- 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18565
- value,
18566
- value
18567
- )
18568
- : console.error(
18569
- 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18570
- value,
18571
- value
18572
- );
18573
- hydrateSanitizedAttribute(
18574
- domElement,
18575
- value,
18576
- value,
18577
- null,
18578
- extraAttributes,
18579
- serverDifferences
18580
- );
18581
- continue;
18582
- }
18583
- hydrateSanitizedAttribute(
18584
- domElement,
18585
- value,
18586
- value,
18587
- propKey,
18588
- extraAttributes,
18589
- serverDifferences
18590
- );
18561
+ "" !== propKey ||
18562
+ ("a" === tag && "href" === value) ||
18563
+ ("object" === tag && "data" === value)
18564
+ ? hydrateSanitizedAttribute(
18565
+ domElement,
18566
+ value,
18567
+ value,
18568
+ propKey,
18569
+ extraAttributes,
18570
+ serverDifferences
18571
+ )
18572
+ : ("src" === value
18573
+ ? console.error(
18574
+ 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18575
+ value,
18576
+ value
18577
+ )
18578
+ : console.error(
18579
+ 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18580
+ value,
18581
+ value
18582
+ ),
18583
+ hydrateSanitizedAttribute(
18584
+ domElement,
18585
+ value,
18586
+ value,
18587
+ null,
18588
+ extraAttributes,
18589
+ serverDifferences
18590
+ ));
18591
18591
  continue;
18592
18592
  case "action":
18593
18593
  case "formAction":
@@ -20739,8 +20739,12 @@
20739
20739
  queuedTarget.blockedOn = targetInst;
20740
20740
  runWithPriority(queuedTarget.priority, function () {
20741
20741
  if (13 === nearestMounted.tag) {
20742
- var lane = requestUpdateLane(nearestMounted),
20743
- root = enqueueConcurrentRenderForLane(nearestMounted, lane);
20742
+ var lane = requestUpdateLane(nearestMounted);
20743
+ lane = getBumpedLaneForHydrationByLane(lane);
20744
+ var root = enqueueConcurrentRenderForLane(
20745
+ nearestMounted,
20746
+ lane
20747
+ );
20744
20748
  null !== root &&
20745
20749
  scheduleUpdateOnFiber(root, nearestMounted, lane);
20746
20750
  markRetryLaneIfNotHydrated(nearestMounted, lane);
@@ -20956,7 +20960,6 @@
20956
20960
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
20957
20961
  REACT_LAZY_TYPE = Symbol.for("react.lazy");
20958
20962
  Symbol.for("react.scope");
20959
- Symbol.for("react.debug_trace_mode");
20960
20963
  var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
20961
20964
  Symbol.for("react.legacy_hidden");
20962
20965
  Symbol.for("react.tracing_marker");
@@ -21039,11 +21042,6 @@
21039
21042
  allNativeEvents = new Set(),
21040
21043
  registrationNameDependencies = {},
21041
21044
  possibleRegistrationNames = {},
21042
- canUseDOM = !(
21043
- "undefined" === typeof window ||
21044
- "undefined" === typeof window.document ||
21045
- "undefined" === typeof window.document.createElement
21046
- ),
21047
21045
  hasReadOnlyValue = {
21048
21046
  button: !0,
21049
21047
  checkbox: !0,
@@ -21090,8 +21088,6 @@
21090
21088
  containerTagInScope: null
21091
21089
  },
21092
21090
  didWarn = {},
21093
- MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21094
- SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21095
21091
  shorthandToLonghand = {
21096
21092
  animation:
21097
21093
  "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
@@ -21242,6 +21238,8 @@
21242
21238
  " "
21243
21239
  )
21244
21240
  ),
21241
+ MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21242
+ SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21245
21243
  aliases = new Map([
21246
21244
  ["acceptCharset", "accept-charset"],
21247
21245
  ["htmlFor", "for"],
@@ -21890,6 +21888,11 @@
21890
21888
  restoreTarget = null,
21891
21889
  restoreQueue = null,
21892
21890
  isInsideEventHandler = !1,
21891
+ canUseDOM = !(
21892
+ "undefined" === typeof window ||
21893
+ "undefined" === typeof window.document ||
21894
+ "undefined" === typeof window.document.createElement
21895
+ ),
21893
21896
  passiveBrowserEventsSupported = !1;
21894
21897
  if (canUseDOM)
21895
21898
  try {
@@ -22540,36 +22543,33 @@
22540
22543
  currentHookNameInDev = null,
22541
22544
  hookTypesDev = null,
22542
22545
  hookTypesUpdateIndexDev = -1,
22543
- ignorePreviousDependencies = !1;
22544
- var createFunctionComponentUpdateQueue = function () {
22545
- return { lastEffect: null, events: null, stores: null, memoCache: null };
22546
- };
22547
- var ContextOnlyDispatcher = {
22548
- readContext: readContext,
22549
- use: use,
22550
- useCallback: throwInvalidHookError,
22551
- useContext: throwInvalidHookError,
22552
- useEffect: throwInvalidHookError,
22553
- useImperativeHandle: throwInvalidHookError,
22554
- useLayoutEffect: throwInvalidHookError,
22555
- useInsertionEffect: throwInvalidHookError,
22556
- useMemo: throwInvalidHookError,
22557
- useReducer: throwInvalidHookError,
22558
- useRef: throwInvalidHookError,
22559
- useState: throwInvalidHookError,
22560
- useDebugValue: throwInvalidHookError,
22561
- useDeferredValue: throwInvalidHookError,
22562
- useTransition: throwInvalidHookError,
22563
- useSyncExternalStore: throwInvalidHookError,
22564
- useId: throwInvalidHookError
22565
- };
22566
- ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
22567
- ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
22568
- ContextOnlyDispatcher.useHostTransitionStatus = throwInvalidHookError;
22569
- ContextOnlyDispatcher.useFormState = throwInvalidHookError;
22570
- ContextOnlyDispatcher.useActionState = throwInvalidHookError;
22571
- ContextOnlyDispatcher.useOptimistic = throwInvalidHookError;
22572
- var HooksDispatcherOnMountInDEV = null,
22546
+ ignorePreviousDependencies = !1,
22547
+ ContextOnlyDispatcher = {
22548
+ readContext: readContext,
22549
+ use: use,
22550
+ useCallback: throwInvalidHookError,
22551
+ useContext: throwInvalidHookError,
22552
+ useEffect: throwInvalidHookError,
22553
+ useImperativeHandle: throwInvalidHookError,
22554
+ useLayoutEffect: throwInvalidHookError,
22555
+ useInsertionEffect: throwInvalidHookError,
22556
+ useMemo: throwInvalidHookError,
22557
+ useReducer: throwInvalidHookError,
22558
+ useRef: throwInvalidHookError,
22559
+ useState: throwInvalidHookError,
22560
+ useDebugValue: throwInvalidHookError,
22561
+ useDeferredValue: throwInvalidHookError,
22562
+ useTransition: throwInvalidHookError,
22563
+ useSyncExternalStore: throwInvalidHookError,
22564
+ useId: throwInvalidHookError,
22565
+ useHostTransitionStatus: throwInvalidHookError,
22566
+ useFormState: throwInvalidHookError,
22567
+ useActionState: throwInvalidHookError,
22568
+ useOptimistic: throwInvalidHookError,
22569
+ useMemoCache: throwInvalidHookError,
22570
+ useCacheRefresh: throwInvalidHookError
22571
+ },
22572
+ HooksDispatcherOnMountInDEV = null,
22573
22573
  HooksDispatcherOnMountWithHookTypesInDEV = null,
22574
22574
  HooksDispatcherOnUpdateInDEV = null,
22575
22575
  HooksDispatcherOnRerenderInDEV = null,
@@ -22687,34 +22687,30 @@
22687
22687
  mountHookTypesDev();
22688
22688
  return mountId();
22689
22689
  },
22690
+ useFormState: function (action, initialState) {
22691
+ currentHookNameInDev = "useFormState";
22692
+ mountHookTypesDev();
22693
+ warnOnUseFormStateInDev();
22694
+ return mountActionState(action, initialState);
22695
+ },
22696
+ useActionState: function (action, initialState) {
22697
+ currentHookNameInDev = "useActionState";
22698
+ mountHookTypesDev();
22699
+ return mountActionState(action, initialState);
22700
+ },
22701
+ useOptimistic: function (passthrough) {
22702
+ currentHookNameInDev = "useOptimistic";
22703
+ mountHookTypesDev();
22704
+ return mountOptimistic(passthrough);
22705
+ },
22706
+ useHostTransitionStatus: useHostTransitionStatus,
22707
+ useMemoCache: useMemoCache,
22690
22708
  useCacheRefresh: function () {
22691
22709
  currentHookNameInDev = "useCacheRefresh";
22692
22710
  mountHookTypesDev();
22693
22711
  return mountRefresh();
22694
22712
  }
22695
22713
  };
22696
- HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
22697
- HooksDispatcherOnMountInDEV.useHostTransitionStatus =
22698
- useHostTransitionStatus;
22699
- HooksDispatcherOnMountInDEV.useFormState = function (action, initialState) {
22700
- currentHookNameInDev = "useFormState";
22701
- mountHookTypesDev();
22702
- warnOnUseFormStateInDev();
22703
- return mountActionState(action, initialState);
22704
- };
22705
- HooksDispatcherOnMountInDEV.useActionState = function (
22706
- action,
22707
- initialState
22708
- ) {
22709
- currentHookNameInDev = "useActionState";
22710
- mountHookTypesDev();
22711
- return mountActionState(action, initialState);
22712
- };
22713
- HooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) {
22714
- currentHookNameInDev = "useOptimistic";
22715
- mountHookTypesDev();
22716
- return mountOptimistic(passthrough);
22717
- };
22718
22714
  HooksDispatcherOnMountWithHookTypesInDEV = {
22719
22715
  readContext: function (context) {
22720
22716
  return readContext(context);
@@ -22820,39 +22816,30 @@
22820
22816
  updateHookTypesDev();
22821
22817
  return mountId();
22822
22818
  },
22819
+ useActionState: function (action, initialState) {
22820
+ currentHookNameInDev = "useActionState";
22821
+ updateHookTypesDev();
22822
+ return mountActionState(action, initialState);
22823
+ },
22824
+ useFormState: function (action, initialState) {
22825
+ currentHookNameInDev = "useFormState";
22826
+ updateHookTypesDev();
22827
+ warnOnUseFormStateInDev();
22828
+ return mountActionState(action, initialState);
22829
+ },
22830
+ useOptimistic: function (passthrough) {
22831
+ currentHookNameInDev = "useOptimistic";
22832
+ updateHookTypesDev();
22833
+ return mountOptimistic(passthrough);
22834
+ },
22835
+ useHostTransitionStatus: useHostTransitionStatus,
22836
+ useMemoCache: useMemoCache,
22823
22837
  useCacheRefresh: function () {
22824
22838
  currentHookNameInDev = "useCacheRefresh";
22825
22839
  updateHookTypesDev();
22826
22840
  return mountRefresh();
22827
22841
  }
22828
22842
  };
22829
- HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
22830
- HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus =
22831
- useHostTransitionStatus;
22832
- HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function (
22833
- action,
22834
- initialState
22835
- ) {
22836
- currentHookNameInDev = "useFormState";
22837
- updateHookTypesDev();
22838
- warnOnUseFormStateInDev();
22839
- return mountActionState(action, initialState);
22840
- };
22841
- HooksDispatcherOnMountWithHookTypesInDEV.useActionState = function (
22842
- action,
22843
- initialState
22844
- ) {
22845
- currentHookNameInDev = "useActionState";
22846
- updateHookTypesDev();
22847
- return mountActionState(action, initialState);
22848
- };
22849
- HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function (
22850
- passthrough
22851
- ) {
22852
- currentHookNameInDev = "useOptimistic";
22853
- updateHookTypesDev();
22854
- return mountOptimistic(passthrough);
22855
- };
22856
22843
  HooksDispatcherOnUpdateInDEV = {
22857
22844
  readContext: function (context) {
22858
22845
  return readContext(context);
@@ -22958,34 +22945,30 @@
22958
22945
  updateHookTypesDev();
22959
22946
  return updateWorkInProgressHook().memoizedState;
22960
22947
  },
22948
+ useFormState: function (action) {
22949
+ currentHookNameInDev = "useFormState";
22950
+ updateHookTypesDev();
22951
+ warnOnUseFormStateInDev();
22952
+ return updateActionState(action);
22953
+ },
22954
+ useActionState: function (action) {
22955
+ currentHookNameInDev = "useActionState";
22956
+ updateHookTypesDev();
22957
+ return updateActionState(action);
22958
+ },
22959
+ useOptimistic: function (passthrough, reducer) {
22960
+ currentHookNameInDev = "useOptimistic";
22961
+ updateHookTypesDev();
22962
+ return updateOptimistic(passthrough, reducer);
22963
+ },
22964
+ useHostTransitionStatus: useHostTransitionStatus,
22965
+ useMemoCache: useMemoCache,
22961
22966
  useCacheRefresh: function () {
22962
22967
  currentHookNameInDev = "useCacheRefresh";
22963
22968
  updateHookTypesDev();
22964
22969
  return updateWorkInProgressHook().memoizedState;
22965
22970
  }
22966
22971
  };
22967
- HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
22968
- HooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
22969
- useHostTransitionStatus;
22970
- HooksDispatcherOnUpdateInDEV.useFormState = function (action) {
22971
- currentHookNameInDev = "useFormState";
22972
- updateHookTypesDev();
22973
- warnOnUseFormStateInDev();
22974
- return updateActionState(action);
22975
- };
22976
- HooksDispatcherOnUpdateInDEV.useActionState = function (action) {
22977
- currentHookNameInDev = "useActionState";
22978
- updateHookTypesDev();
22979
- return updateActionState(action);
22980
- };
22981
- HooksDispatcherOnUpdateInDEV.useOptimistic = function (
22982
- passthrough,
22983
- reducer
22984
- ) {
22985
- currentHookNameInDev = "useOptimistic";
22986
- updateHookTypesDev();
22987
- return updateOptimistic(passthrough, reducer);
22988
- };
22989
22972
  HooksDispatcherOnRerenderInDEV = {
22990
22973
  readContext: function (context) {
22991
22974
  return readContext(context);
@@ -23091,34 +23074,30 @@
23091
23074
  updateHookTypesDev();
23092
23075
  return updateWorkInProgressHook().memoizedState;
23093
23076
  },
23077
+ useFormState: function (action) {
23078
+ currentHookNameInDev = "useFormState";
23079
+ updateHookTypesDev();
23080
+ warnOnUseFormStateInDev();
23081
+ return rerenderActionState(action);
23082
+ },
23083
+ useActionState: function (action) {
23084
+ currentHookNameInDev = "useActionState";
23085
+ updateHookTypesDev();
23086
+ return rerenderActionState(action);
23087
+ },
23088
+ useOptimistic: function (passthrough, reducer) {
23089
+ currentHookNameInDev = "useOptimistic";
23090
+ updateHookTypesDev();
23091
+ return rerenderOptimistic(passthrough, reducer);
23092
+ },
23093
+ useHostTransitionStatus: useHostTransitionStatus,
23094
+ useMemoCache: useMemoCache,
23094
23095
  useCacheRefresh: function () {
23095
23096
  currentHookNameInDev = "useCacheRefresh";
23096
23097
  updateHookTypesDev();
23097
23098
  return updateWorkInProgressHook().memoizedState;
23098
23099
  }
23099
23100
  };
23100
- HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
23101
- HooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23102
- useHostTransitionStatus;
23103
- HooksDispatcherOnRerenderInDEV.useFormState = function (action) {
23104
- currentHookNameInDev = "useFormState";
23105
- updateHookTypesDev();
23106
- warnOnUseFormStateInDev();
23107
- return rerenderActionState(action);
23108
- };
23109
- HooksDispatcherOnRerenderInDEV.useActionState = function (action) {
23110
- currentHookNameInDev = "useActionState";
23111
- updateHookTypesDev();
23112
- return rerenderActionState(action);
23113
- };
23114
- HooksDispatcherOnRerenderInDEV.useOptimistic = function (
23115
- passthrough,
23116
- reducer
23117
- ) {
23118
- currentHookNameInDev = "useOptimistic";
23119
- updateHookTypesDev();
23120
- return rerenderOptimistic(passthrough, reducer);
23121
- };
23122
23101
  InvalidNestedHooksDispatcherOnMountInDEV = {
23123
23102
  readContext: function (context) {
23124
23103
  warnInvalidContextAccess();
@@ -23243,44 +23222,35 @@
23243
23222
  mountHookTypesDev();
23244
23223
  return mountId();
23245
23224
  },
23246
- useCacheRefresh: function () {
23247
- currentHookNameInDev = "useCacheRefresh";
23225
+ useFormState: function (action, initialState) {
23226
+ currentHookNameInDev = "useFormState";
23227
+ warnInvalidHookAccess();
23248
23228
  mountHookTypesDev();
23249
- return mountRefresh();
23229
+ return mountActionState(action, initialState);
23230
+ },
23231
+ useActionState: function (action, initialState) {
23232
+ currentHookNameInDev = "useActionState";
23233
+ warnInvalidHookAccess();
23234
+ mountHookTypesDev();
23235
+ return mountActionState(action, initialState);
23236
+ },
23237
+ useOptimistic: function (passthrough) {
23238
+ currentHookNameInDev = "useOptimistic";
23239
+ warnInvalidHookAccess();
23240
+ mountHookTypesDev();
23241
+ return mountOptimistic(passthrough);
23250
23242
  },
23251
23243
  useMemoCache: function (size) {
23252
23244
  warnInvalidHookAccess();
23253
23245
  return useMemoCache(size);
23246
+ },
23247
+ useHostTransitionStatus: useHostTransitionStatus,
23248
+ useCacheRefresh: function () {
23249
+ currentHookNameInDev = "useCacheRefresh";
23250
+ mountHookTypesDev();
23251
+ return mountRefresh();
23254
23252
  }
23255
23253
  };
23256
- InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus =
23257
- useHostTransitionStatus;
23258
- InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function (
23259
- action,
23260
- initialState
23261
- ) {
23262
- currentHookNameInDev = "useFormState";
23263
- warnInvalidHookAccess();
23264
- mountHookTypesDev();
23265
- return mountActionState(action, initialState);
23266
- };
23267
- InvalidNestedHooksDispatcherOnMountInDEV.useActionState = function (
23268
- action,
23269
- initialState
23270
- ) {
23271
- currentHookNameInDev = "useActionState";
23272
- warnInvalidHookAccess();
23273
- mountHookTypesDev();
23274
- return mountActionState(action, initialState);
23275
- };
23276
- InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function (
23277
- passthrough
23278
- ) {
23279
- currentHookNameInDev = "useOptimistic";
23280
- warnInvalidHookAccess();
23281
- mountHookTypesDev();
23282
- return mountOptimistic(passthrough);
23283
- };
23284
23254
  InvalidNestedHooksDispatcherOnUpdateInDEV = {
23285
23255
  readContext: function (context) {
23286
23256
  warnInvalidContextAccess();
@@ -23405,41 +23375,35 @@
23405
23375
  updateHookTypesDev();
23406
23376
  return updateWorkInProgressHook().memoizedState;
23407
23377
  },
23408
- useCacheRefresh: function () {
23409
- currentHookNameInDev = "useCacheRefresh";
23378
+ useFormState: function (action) {
23379
+ currentHookNameInDev = "useFormState";
23380
+ warnInvalidHookAccess();
23410
23381
  updateHookTypesDev();
23411
- return updateWorkInProgressHook().memoizedState;
23382
+ return updateActionState(action);
23383
+ },
23384
+ useActionState: function (action) {
23385
+ currentHookNameInDev = "useActionState";
23386
+ warnInvalidHookAccess();
23387
+ updateHookTypesDev();
23388
+ return updateActionState(action);
23389
+ },
23390
+ useOptimistic: function (passthrough, reducer) {
23391
+ currentHookNameInDev = "useOptimistic";
23392
+ warnInvalidHookAccess();
23393
+ updateHookTypesDev();
23394
+ return updateOptimistic(passthrough, reducer);
23412
23395
  },
23413
23396
  useMemoCache: function (size) {
23414
23397
  warnInvalidHookAccess();
23415
23398
  return useMemoCache(size);
23399
+ },
23400
+ useHostTransitionStatus: useHostTransitionStatus,
23401
+ useCacheRefresh: function () {
23402
+ currentHookNameInDev = "useCacheRefresh";
23403
+ updateHookTypesDev();
23404
+ return updateWorkInProgressHook().memoizedState;
23416
23405
  }
23417
23406
  };
23418
- InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
23419
- useHostTransitionStatus;
23420
- InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function (action) {
23421
- currentHookNameInDev = "useFormState";
23422
- warnInvalidHookAccess();
23423
- updateHookTypesDev();
23424
- return updateActionState(action);
23425
- };
23426
- InvalidNestedHooksDispatcherOnUpdateInDEV.useActionState = function (
23427
- action
23428
- ) {
23429
- currentHookNameInDev = "useActionState";
23430
- warnInvalidHookAccess();
23431
- updateHookTypesDev();
23432
- return updateActionState(action);
23433
- };
23434
- InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function (
23435
- passthrough,
23436
- reducer
23437
- ) {
23438
- currentHookNameInDev = "useOptimistic";
23439
- warnInvalidHookAccess();
23440
- updateHookTypesDev();
23441
- return updateOptimistic(passthrough, reducer);
23442
- };
23443
23407
  InvalidNestedHooksDispatcherOnRerenderInDEV = {
23444
23408
  readContext: function (context) {
23445
23409
  warnInvalidContextAccess();
@@ -23564,43 +23528,35 @@
23564
23528
  updateHookTypesDev();
23565
23529
  return updateWorkInProgressHook().memoizedState;
23566
23530
  },
23567
- useCacheRefresh: function () {
23568
- currentHookNameInDev = "useCacheRefresh";
23531
+ useFormState: function (action) {
23532
+ currentHookNameInDev = "useFormState";
23533
+ warnInvalidHookAccess();
23569
23534
  updateHookTypesDev();
23570
- return updateWorkInProgressHook().memoizedState;
23535
+ return rerenderActionState(action);
23536
+ },
23537
+ useActionState: function (action) {
23538
+ currentHookNameInDev = "useActionState";
23539
+ warnInvalidHookAccess();
23540
+ updateHookTypesDev();
23541
+ return rerenderActionState(action);
23542
+ },
23543
+ useOptimistic: function (passthrough, reducer) {
23544
+ currentHookNameInDev = "useOptimistic";
23545
+ warnInvalidHookAccess();
23546
+ updateHookTypesDev();
23547
+ return rerenderOptimistic(passthrough, reducer);
23571
23548
  },
23572
23549
  useMemoCache: function (size) {
23573
23550
  warnInvalidHookAccess();
23574
23551
  return useMemoCache(size);
23552
+ },
23553
+ useHostTransitionStatus: useHostTransitionStatus,
23554
+ useCacheRefresh: function () {
23555
+ currentHookNameInDev = "useCacheRefresh";
23556
+ updateHookTypesDev();
23557
+ return updateWorkInProgressHook().memoizedState;
23575
23558
  }
23576
23559
  };
23577
- InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23578
- useHostTransitionStatus;
23579
- InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function (
23580
- action
23581
- ) {
23582
- currentHookNameInDev = "useFormState";
23583
- warnInvalidHookAccess();
23584
- updateHookTypesDev();
23585
- return rerenderActionState(action);
23586
- };
23587
- InvalidNestedHooksDispatcherOnRerenderInDEV.useActionState = function (
23588
- action
23589
- ) {
23590
- currentHookNameInDev = "useActionState";
23591
- warnInvalidHookAccess();
23592
- updateHookTypesDev();
23593
- return rerenderActionState(action);
23594
- };
23595
- InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function (
23596
- passthrough,
23597
- reducer
23598
- ) {
23599
- currentHookNameInDev = "useOptimistic";
23600
- warnInvalidHookAccess();
23601
- updateHookTypesDev();
23602
- return rerenderOptimistic(passthrough, reducer);
23603
- };
23604
23560
  var callComponent = {
23605
23561
  "react-stack-bottom-frame": function (Component, props, secondArg) {
23606
23562
  var wasRendering = isRendering;
@@ -24112,7 +24068,6 @@
24112
24068
  didWarnFormActionMethod = !1,
24113
24069
  didWarnPopoverTargetObject = !1;
24114
24070
  var didWarnForNewBooleanPropsWithEmptyValue = {};
24115
- var canDiffStyleForHydrationWarning = !0;
24116
24071
  var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
24117
24072
  NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
24118
24073
  xlinkNamespace = "http://www.w3.org/1999/xlink",
@@ -24575,11 +24530,11 @@
24575
24530
  };
24576
24531
  (function () {
24577
24532
  var isomorphicReactPackageVersion = React.version;
24578
- if ("19.1.0-canary-7130d0c6-20241212" !== isomorphicReactPackageVersion)
24533
+ if ("19.1.0-canary-e06c72fc-20241215" !== isomorphicReactPackageVersion)
24579
24534
  throw Error(
24580
24535
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24581
24536
  (isomorphicReactPackageVersion +
24582
- "\n - react-dom: 19.1.0-canary-7130d0c6-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
24537
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
24583
24538
  );
24584
24539
  })();
24585
24540
  ("function" === typeof Map &&
@@ -24616,10 +24571,10 @@
24616
24571
  !(function () {
24617
24572
  var internals = {
24618
24573
  bundleType: 1,
24619
- version: "19.1.0-canary-7130d0c6-20241212",
24574
+ version: "19.1.0-canary-e06c72fc-20241215",
24620
24575
  rendererPackageName: "react-dom",
24621
24576
  currentDispatcherRef: ReactSharedInternals,
24622
- reconcilerVersion: "19.1.0-canary-7130d0c6-20241212"
24577
+ reconcilerVersion: "19.1.0-canary-e06c72fc-20241215"
24623
24578
  };
24624
24579
  internals.overrideHookState = overrideHookState;
24625
24580
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24753,17 +24708,19 @@
24753
24708
  initialChildren.context = getContextForSubtree(null);
24754
24709
  options = initialChildren.current;
24755
24710
  isStrictMode = requestUpdateLane(options);
24711
+ isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
24756
24712
  identifierPrefix = createUpdate(isStrictMode);
24757
24713
  identifierPrefix.callback = null;
24758
24714
  enqueueUpdate(options, identifierPrefix, isStrictMode);
24759
- initialChildren.current.lanes = isStrictMode;
24760
- markRootUpdated$1(initialChildren, isStrictMode);
24715
+ options = isStrictMode;
24716
+ initialChildren.current.lanes = options;
24717
+ markRootUpdated$1(initialChildren, options);
24761
24718
  ensureRootIsScheduled(initialChildren);
24762
24719
  container[internalContainerInstanceKey] = initialChildren.current;
24763
24720
  listenToAllSupportedEvents(container);
24764
24721
  return new ReactDOMHydrationRoot(initialChildren);
24765
24722
  };
24766
- exports.version = "19.1.0-canary-7130d0c6-20241212";
24723
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
24767
24724
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
24768
24725
  "function" ===
24769
24726
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&