react-dom 19.1.0-canary-4dff0e62-20241213 → 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
  }
@@ -4893,6 +4891,9 @@
4893
4891
  }
4894
4892
  return workInProgressHook;
4895
4893
  }
4894
+ function createFunctionComponentUpdateQueue() {
4895
+ return { lastEffect: null, events: null, stores: null, memoCache: null };
4896
+ }
4896
4897
  function useThenable(thenable) {
4897
4898
  var index = thenableIndexCounter$1;
4898
4899
  thenableIndexCounter$1 += 1;
@@ -8736,32 +8737,32 @@
8736
8737
  return current;
8737
8738
  }
8738
8739
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8739
- var JSCompiler_object_inline_digest_2321;
8740
- var JSCompiler_object_inline_stack_2322 = workInProgress.pendingProps;
8740
+ var JSCompiler_object_inline_digest_2312;
8741
+ var JSCompiler_object_inline_stack_2313 = workInProgress.pendingProps;
8741
8742
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8742
- var JSCompiler_object_inline_componentStack_2323 = !1;
8743
+ var JSCompiler_object_inline_componentStack_2314 = !1;
8743
8744
  var didSuspend = 0 !== (workInProgress.flags & 128);
8744
- (JSCompiler_object_inline_digest_2321 = didSuspend) ||
8745
- (JSCompiler_object_inline_digest_2321 =
8745
+ (JSCompiler_object_inline_digest_2312 = didSuspend) ||
8746
+ (JSCompiler_object_inline_digest_2312 =
8746
8747
  null !== current && null === current.memoizedState
8747
8748
  ? !1
8748
8749
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8749
- JSCompiler_object_inline_digest_2321 &&
8750
- ((JSCompiler_object_inline_componentStack_2323 = !0),
8750
+ JSCompiler_object_inline_digest_2312 &&
8751
+ ((JSCompiler_object_inline_componentStack_2314 = !0),
8751
8752
  (workInProgress.flags &= -129));
8752
- JSCompiler_object_inline_digest_2321 = 0 !== (workInProgress.flags & 32);
8753
+ JSCompiler_object_inline_digest_2312 = 0 !== (workInProgress.flags & 32);
8753
8754
  workInProgress.flags &= -33;
8754
8755
  if (null === current) {
8755
8756
  if (isHydrating) {
8756
- JSCompiler_object_inline_componentStack_2323
8757
+ JSCompiler_object_inline_componentStack_2314
8757
8758
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8758
8759
  : reuseSuspenseHandlerOnStack(workInProgress);
8759
8760
  if (isHydrating) {
8760
- var JSCompiler_object_inline_message_2320 = nextHydratableInstance;
8761
+ var JSCompiler_object_inline_message_2311 = nextHydratableInstance;
8761
8762
  var JSCompiler_temp;
8762
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2320)) {
8763
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2311)) {
8763
8764
  c: {
8764
- var instance = JSCompiler_object_inline_message_2320;
8765
+ var instance = JSCompiler_object_inline_message_2311;
8765
8766
  for (
8766
8767
  JSCompiler_temp = rootOrSingletonContext;
8767
8768
  8 !== instance.nodeType;
@@ -8802,77 +8803,77 @@
8802
8803
  JSCompiler_temp &&
8803
8804
  (warnNonHydratedInstance(
8804
8805
  workInProgress,
8805
- JSCompiler_object_inline_message_2320
8806
+ JSCompiler_object_inline_message_2311
8806
8807
  ),
8807
8808
  throwOnHydrationMismatch(workInProgress));
8808
8809
  }
8809
- JSCompiler_object_inline_message_2320 = workInProgress.memoizedState;
8810
+ JSCompiler_object_inline_message_2311 = workInProgress.memoizedState;
8810
8811
  if (
8811
- null !== JSCompiler_object_inline_message_2320 &&
8812
- ((JSCompiler_object_inline_message_2320 =
8813
- JSCompiler_object_inline_message_2320.dehydrated),
8814
- null !== JSCompiler_object_inline_message_2320)
8812
+ null !== JSCompiler_object_inline_message_2311 &&
8813
+ ((JSCompiler_object_inline_message_2311 =
8814
+ JSCompiler_object_inline_message_2311.dehydrated),
8815
+ null !== JSCompiler_object_inline_message_2311)
8815
8816
  )
8816
8817
  return (
8817
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320)
8818
- ? (workInProgress.lanes = 16)
8818
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2311)
8819
+ ? (workInProgress.lanes = 32)
8819
8820
  : (workInProgress.lanes = 536870912),
8820
8821
  null
8821
8822
  );
8822
8823
  popSuspenseHandler(workInProgress);
8823
8824
  }
8824
- JSCompiler_object_inline_message_2320 =
8825
- JSCompiler_object_inline_stack_2322.children;
8826
- JSCompiler_object_inline_stack_2322 =
8827
- JSCompiler_object_inline_stack_2322.fallback;
8828
- if (JSCompiler_object_inline_componentStack_2323)
8825
+ JSCompiler_object_inline_message_2311 =
8826
+ JSCompiler_object_inline_stack_2313.children;
8827
+ JSCompiler_object_inline_stack_2313 =
8828
+ JSCompiler_object_inline_stack_2313.fallback;
8829
+ if (JSCompiler_object_inline_componentStack_2314)
8829
8830
  return (
8830
8831
  reuseSuspenseHandlerOnStack(workInProgress),
8831
- (JSCompiler_object_inline_componentStack_2323 =
8832
+ (JSCompiler_object_inline_componentStack_2314 =
8832
8833
  workInProgress.mode),
8833
- (JSCompiler_object_inline_message_2320 =
8834
+ (JSCompiler_object_inline_message_2311 =
8834
8835
  mountWorkInProgressOffscreenFiber(
8835
8836
  {
8836
8837
  mode: "hidden",
8837
- children: JSCompiler_object_inline_message_2320
8838
+ children: JSCompiler_object_inline_message_2311
8838
8839
  },
8839
- JSCompiler_object_inline_componentStack_2323
8840
+ JSCompiler_object_inline_componentStack_2314
8840
8841
  )),
8841
- (JSCompiler_object_inline_stack_2322 = createFiberFromFragment(
8842
- JSCompiler_object_inline_stack_2322,
8843
- JSCompiler_object_inline_componentStack_2323,
8842
+ (JSCompiler_object_inline_stack_2313 = createFiberFromFragment(
8843
+ JSCompiler_object_inline_stack_2313,
8844
+ JSCompiler_object_inline_componentStack_2314,
8844
8845
  renderLanes,
8845
8846
  null
8846
8847
  )),
8847
- (JSCompiler_object_inline_message_2320.return = workInProgress),
8848
- (JSCompiler_object_inline_stack_2322.return = workInProgress),
8849
- (JSCompiler_object_inline_message_2320.sibling =
8850
- JSCompiler_object_inline_stack_2322),
8851
- (workInProgress.child = JSCompiler_object_inline_message_2320),
8852
- (JSCompiler_object_inline_componentStack_2323 =
8848
+ (JSCompiler_object_inline_message_2311.return = workInProgress),
8849
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
8850
+ (JSCompiler_object_inline_message_2311.sibling =
8851
+ JSCompiler_object_inline_stack_2313),
8852
+ (workInProgress.child = JSCompiler_object_inline_message_2311),
8853
+ (JSCompiler_object_inline_componentStack_2314 =
8853
8854
  workInProgress.child),
8854
- (JSCompiler_object_inline_componentStack_2323.memoizedState =
8855
+ (JSCompiler_object_inline_componentStack_2314.memoizedState =
8855
8856
  mountSuspenseOffscreenState(renderLanes)),
8856
- (JSCompiler_object_inline_componentStack_2323.childLanes =
8857
+ (JSCompiler_object_inline_componentStack_2314.childLanes =
8857
8858
  getRemainingWorkInPrimaryTree(
8858
8859
  current,
8859
- JSCompiler_object_inline_digest_2321,
8860
+ JSCompiler_object_inline_digest_2312,
8860
8861
  renderLanes
8861
8862
  )),
8862
8863
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8863
- JSCompiler_object_inline_stack_2322
8864
+ JSCompiler_object_inline_stack_2313
8864
8865
  );
8865
8866
  pushPrimaryTreeSuspenseHandler(workInProgress);
8866
8867
  return mountSuspensePrimaryChildren(
8867
8868
  workInProgress,
8868
- JSCompiler_object_inline_message_2320
8869
+ JSCompiler_object_inline_message_2311
8869
8870
  );
8870
8871
  }
8871
8872
  var prevState = current.memoizedState;
8872
8873
  if (
8873
8874
  null !== prevState &&
8874
- ((JSCompiler_object_inline_message_2320 = prevState.dehydrated),
8875
- null !== JSCompiler_object_inline_message_2320)
8875
+ ((JSCompiler_object_inline_message_2311 = prevState.dehydrated),
8876
+ null !== JSCompiler_object_inline_message_2311)
8876
8877
  ) {
8877
8878
  if (didSuspend)
8878
8879
  workInProgress.flags & 256
@@ -8889,94 +8890,94 @@
8889
8890
  (workInProgress.flags |= 128),
8890
8891
  (workInProgress = null))
8891
8892
  : (reuseSuspenseHandlerOnStack(workInProgress),
8892
- (JSCompiler_object_inline_componentStack_2323 =
8893
- JSCompiler_object_inline_stack_2322.fallback),
8894
- (JSCompiler_object_inline_message_2320 = workInProgress.mode),
8895
- (JSCompiler_object_inline_stack_2322 =
8893
+ (JSCompiler_object_inline_componentStack_2314 =
8894
+ JSCompiler_object_inline_stack_2313.fallback),
8895
+ (JSCompiler_object_inline_message_2311 = workInProgress.mode),
8896
+ (JSCompiler_object_inline_stack_2313 =
8896
8897
  mountWorkInProgressOffscreenFiber(
8897
8898
  {
8898
8899
  mode: "visible",
8899
- children: JSCompiler_object_inline_stack_2322.children
8900
+ children: JSCompiler_object_inline_stack_2313.children
8900
8901
  },
8901
- JSCompiler_object_inline_message_2320
8902
+ JSCompiler_object_inline_message_2311
8902
8903
  )),
8903
- (JSCompiler_object_inline_componentStack_2323 =
8904
+ (JSCompiler_object_inline_componentStack_2314 =
8904
8905
  createFiberFromFragment(
8905
- JSCompiler_object_inline_componentStack_2323,
8906
- JSCompiler_object_inline_message_2320,
8906
+ JSCompiler_object_inline_componentStack_2314,
8907
+ JSCompiler_object_inline_message_2311,
8907
8908
  renderLanes,
8908
8909
  null
8909
8910
  )),
8910
- (JSCompiler_object_inline_componentStack_2323.flags |= 2),
8911
- (JSCompiler_object_inline_stack_2322.return = workInProgress),
8912
- (JSCompiler_object_inline_componentStack_2323.return =
8911
+ (JSCompiler_object_inline_componentStack_2314.flags |= 2),
8912
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
8913
+ (JSCompiler_object_inline_componentStack_2314.return =
8913
8914
  workInProgress),
8914
- (JSCompiler_object_inline_stack_2322.sibling =
8915
- JSCompiler_object_inline_componentStack_2323),
8916
- (workInProgress.child = JSCompiler_object_inline_stack_2322),
8915
+ (JSCompiler_object_inline_stack_2313.sibling =
8916
+ JSCompiler_object_inline_componentStack_2314),
8917
+ (workInProgress.child = JSCompiler_object_inline_stack_2313),
8917
8918
  reconcileChildFibers(
8918
8919
  workInProgress,
8919
8920
  current.child,
8920
8921
  null,
8921
8922
  renderLanes
8922
8923
  ),
8923
- (JSCompiler_object_inline_stack_2322 = workInProgress.child),
8924
- (JSCompiler_object_inline_stack_2322.memoizedState =
8924
+ (JSCompiler_object_inline_stack_2313 = workInProgress.child),
8925
+ (JSCompiler_object_inline_stack_2313.memoizedState =
8925
8926
  mountSuspenseOffscreenState(renderLanes)),
8926
- (JSCompiler_object_inline_stack_2322.childLanes =
8927
+ (JSCompiler_object_inline_stack_2313.childLanes =
8927
8928
  getRemainingWorkInPrimaryTree(
8928
8929
  current,
8929
- JSCompiler_object_inline_digest_2321,
8930
+ JSCompiler_object_inline_digest_2312,
8930
8931
  renderLanes
8931
8932
  )),
8932
8933
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8933
8934
  (workInProgress =
8934
- JSCompiler_object_inline_componentStack_2323));
8935
+ JSCompiler_object_inline_componentStack_2314));
8935
8936
  else if (
8936
8937
  (pushPrimaryTreeSuspenseHandler(workInProgress),
8937
8938
  isHydrating &&
8938
8939
  console.error(
8939
8940
  "We should not be hydrating here. This is a bug in React. Please file a bug."
8940
8941
  ),
8941
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320))
8942
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2311))
8942
8943
  ) {
8943
- JSCompiler_object_inline_digest_2321 =
8944
- JSCompiler_object_inline_message_2320.nextSibling &&
8945
- JSCompiler_object_inline_message_2320.nextSibling.dataset;
8946
- if (JSCompiler_object_inline_digest_2321) {
8947
- JSCompiler_temp = JSCompiler_object_inline_digest_2321.dgst;
8948
- var message = JSCompiler_object_inline_digest_2321.msg;
8949
- instance = JSCompiler_object_inline_digest_2321.stck;
8950
- var componentStack = JSCompiler_object_inline_digest_2321.cstck;
8944
+ JSCompiler_object_inline_digest_2312 =
8945
+ JSCompiler_object_inline_message_2311.nextSibling &&
8946
+ JSCompiler_object_inline_message_2311.nextSibling.dataset;
8947
+ if (JSCompiler_object_inline_digest_2312) {
8948
+ JSCompiler_temp = JSCompiler_object_inline_digest_2312.dgst;
8949
+ var message = JSCompiler_object_inline_digest_2312.msg;
8950
+ instance = JSCompiler_object_inline_digest_2312.stck;
8951
+ var componentStack = JSCompiler_object_inline_digest_2312.cstck;
8951
8952
  }
8952
- JSCompiler_object_inline_message_2320 = message;
8953
- JSCompiler_object_inline_digest_2321 = JSCompiler_temp;
8954
- JSCompiler_object_inline_stack_2322 = instance;
8955
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2323 =
8953
+ JSCompiler_object_inline_message_2311 = message;
8954
+ JSCompiler_object_inline_digest_2312 = JSCompiler_temp;
8955
+ JSCompiler_object_inline_stack_2313 = instance;
8956
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2314 =
8956
8957
  componentStack;
8957
- JSCompiler_object_inline_componentStack_2323 =
8958
- JSCompiler_object_inline_message_2320
8959
- ? Error(JSCompiler_object_inline_message_2320)
8958
+ JSCompiler_object_inline_componentStack_2314 =
8959
+ JSCompiler_object_inline_message_2311
8960
+ ? Error(JSCompiler_object_inline_message_2311)
8960
8961
  : Error(
8961
8962
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
8962
8963
  );
8963
- JSCompiler_object_inline_componentStack_2323.stack =
8964
- JSCompiler_object_inline_stack_2322 || "";
8965
- JSCompiler_object_inline_componentStack_2323.digest =
8966
- JSCompiler_object_inline_digest_2321;
8967
- JSCompiler_object_inline_digest_2321 =
8964
+ JSCompiler_object_inline_componentStack_2314.stack =
8965
+ JSCompiler_object_inline_stack_2313 || "";
8966
+ JSCompiler_object_inline_componentStack_2314.digest =
8967
+ JSCompiler_object_inline_digest_2312;
8968
+ JSCompiler_object_inline_digest_2312 =
8968
8969
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
8969
- JSCompiler_object_inline_stack_2322 = {
8970
- value: JSCompiler_object_inline_componentStack_2323,
8970
+ JSCompiler_object_inline_stack_2313 = {
8971
+ value: JSCompiler_object_inline_componentStack_2314,
8971
8972
  source: null,
8972
- stack: JSCompiler_object_inline_digest_2321
8973
+ stack: JSCompiler_object_inline_digest_2312
8973
8974
  };
8974
- "string" === typeof JSCompiler_object_inline_digest_2321 &&
8975
+ "string" === typeof JSCompiler_object_inline_digest_2312 &&
8975
8976
  CapturedStacks.set(
8976
- JSCompiler_object_inline_componentStack_2323,
8977
- JSCompiler_object_inline_stack_2322
8977
+ JSCompiler_object_inline_componentStack_2314,
8978
+ JSCompiler_object_inline_stack_2313
8978
8979
  );
8979
- queueHydrationError(JSCompiler_object_inline_stack_2322);
8980
+ queueHydrationError(JSCompiler_object_inline_stack_2313);
8980
8981
  workInProgress = retrySuspenseComponentWithoutHydrating(
8981
8982
  current,
8982
8983
  workInProgress,
@@ -8990,44 +8991,44 @@
8990
8991
  renderLanes,
8991
8992
  !1
8992
8993
  ),
8993
- (JSCompiler_object_inline_digest_2321 =
8994
+ (JSCompiler_object_inline_digest_2312 =
8994
8995
  0 !== (renderLanes & current.childLanes)),
8995
- didReceiveUpdate || JSCompiler_object_inline_digest_2321)
8996
+ didReceiveUpdate || JSCompiler_object_inline_digest_2312)
8996
8997
  ) {
8997
- JSCompiler_object_inline_digest_2321 = workInProgressRoot;
8998
+ JSCompiler_object_inline_digest_2312 = workInProgressRoot;
8998
8999
  if (
8999
- null !== JSCompiler_object_inline_digest_2321 &&
9000
- ((JSCompiler_object_inline_stack_2322 = renderLanes & -renderLanes),
9001
- (JSCompiler_object_inline_stack_2322 =
9002
- 0 !== (JSCompiler_object_inline_stack_2322 & 42)
9000
+ null !== JSCompiler_object_inline_digest_2312 &&
9001
+ ((JSCompiler_object_inline_stack_2313 = renderLanes & -renderLanes),
9002
+ (JSCompiler_object_inline_stack_2313 =
9003
+ 0 !== (JSCompiler_object_inline_stack_2313 & 42)
9003
9004
  ? 1
9004
9005
  : getBumpedLaneForHydrationByLane(
9005
- JSCompiler_object_inline_stack_2322
9006
+ JSCompiler_object_inline_stack_2313
9006
9007
  )),
9007
- (JSCompiler_object_inline_stack_2322 =
9008
+ (JSCompiler_object_inline_stack_2313 =
9008
9009
  0 !==
9009
- (JSCompiler_object_inline_stack_2322 &
9010
- (JSCompiler_object_inline_digest_2321.suspendedLanes |
9010
+ (JSCompiler_object_inline_stack_2313 &
9011
+ (JSCompiler_object_inline_digest_2312.suspendedLanes |
9011
9012
  renderLanes))
9012
9013
  ? 0
9013
- : JSCompiler_object_inline_stack_2322),
9014
- 0 !== JSCompiler_object_inline_stack_2322 &&
9015
- JSCompiler_object_inline_stack_2322 !== prevState.retryLane)
9014
+ : JSCompiler_object_inline_stack_2313),
9015
+ 0 !== JSCompiler_object_inline_stack_2313 &&
9016
+ JSCompiler_object_inline_stack_2313 !== prevState.retryLane)
9016
9017
  )
9017
9018
  throw (
9018
- ((prevState.retryLane = JSCompiler_object_inline_stack_2322),
9019
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2313),
9019
9020
  enqueueConcurrentRenderForLane(
9020
9021
  current,
9021
- JSCompiler_object_inline_stack_2322
9022
+ JSCompiler_object_inline_stack_2313
9022
9023
  ),
9023
9024
  scheduleUpdateOnFiber(
9024
- JSCompiler_object_inline_digest_2321,
9025
+ JSCompiler_object_inline_digest_2312,
9025
9026
  current,
9026
- JSCompiler_object_inline_stack_2322
9027
+ JSCompiler_object_inline_stack_2313
9027
9028
  ),
9028
9029
  SelectiveHydrationException)
9029
9030
  );
9030
- JSCompiler_object_inline_message_2320.data ===
9031
+ JSCompiler_object_inline_message_2311.data ===
9031
9032
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9032
9033
  workInProgress = retrySuspenseComponentWithoutHydrating(
9033
9034
  current,
@@ -9035,14 +9036,14 @@
9035
9036
  renderLanes
9036
9037
  );
9037
9038
  } else
9038
- JSCompiler_object_inline_message_2320.data ===
9039
+ JSCompiler_object_inline_message_2311.data ===
9039
9040
  SUSPENSE_PENDING_START_DATA
9040
9041
  ? ((workInProgress.flags |= 192),
9041
9042
  (workInProgress.child = current.child),
9042
9043
  (workInProgress = null))
9043
9044
  : ((current = prevState.treeContext),
9044
9045
  (nextHydratableInstance = getNextHydratable(
9045
- JSCompiler_object_inline_message_2320.nextSibling
9046
+ JSCompiler_object_inline_message_2311.nextSibling
9046
9047
  )),
9047
9048
  (hydrationParentFiber = workInProgress),
9048
9049
  (isHydrating = !0),
@@ -9060,57 +9061,57 @@
9060
9061
  (treeContextProvider = workInProgress)),
9061
9062
  (workInProgress = mountSuspensePrimaryChildren(
9062
9063
  workInProgress,
9063
- JSCompiler_object_inline_stack_2322.children
9064
+ JSCompiler_object_inline_stack_2313.children
9064
9065
  )),
9065
9066
  (workInProgress.flags |= 4096));
9066
9067
  return workInProgress;
9067
9068
  }
9068
- if (JSCompiler_object_inline_componentStack_2323)
9069
+ if (JSCompiler_object_inline_componentStack_2314)
9069
9070
  return (
9070
9071
  reuseSuspenseHandlerOnStack(workInProgress),
9071
- (JSCompiler_object_inline_componentStack_2323 =
9072
- JSCompiler_object_inline_stack_2322.fallback),
9073
- (JSCompiler_object_inline_message_2320 = workInProgress.mode),
9072
+ (JSCompiler_object_inline_componentStack_2314 =
9073
+ JSCompiler_object_inline_stack_2313.fallback),
9074
+ (JSCompiler_object_inline_message_2311 = workInProgress.mode),
9074
9075
  (JSCompiler_temp = current.child),
9075
9076
  (instance = JSCompiler_temp.sibling),
9076
- (JSCompiler_object_inline_stack_2322 = createWorkInProgress(
9077
+ (JSCompiler_object_inline_stack_2313 = createWorkInProgress(
9077
9078
  JSCompiler_temp,
9078
9079
  {
9079
9080
  mode: "hidden",
9080
- children: JSCompiler_object_inline_stack_2322.children
9081
+ children: JSCompiler_object_inline_stack_2313.children
9081
9082
  }
9082
9083
  )),
9083
- (JSCompiler_object_inline_stack_2322.subtreeFlags =
9084
+ (JSCompiler_object_inline_stack_2313.subtreeFlags =
9084
9085
  JSCompiler_temp.subtreeFlags & 31457280),
9085
9086
  null !== instance
9086
- ? (JSCompiler_object_inline_componentStack_2323 =
9087
+ ? (JSCompiler_object_inline_componentStack_2314 =
9087
9088
  createWorkInProgress(
9088
9089
  instance,
9089
- JSCompiler_object_inline_componentStack_2323
9090
+ JSCompiler_object_inline_componentStack_2314
9090
9091
  ))
9091
- : ((JSCompiler_object_inline_componentStack_2323 =
9092
+ : ((JSCompiler_object_inline_componentStack_2314 =
9092
9093
  createFiberFromFragment(
9093
- JSCompiler_object_inline_componentStack_2323,
9094
- JSCompiler_object_inline_message_2320,
9094
+ JSCompiler_object_inline_componentStack_2314,
9095
+ JSCompiler_object_inline_message_2311,
9095
9096
  renderLanes,
9096
9097
  null
9097
9098
  )),
9098
- (JSCompiler_object_inline_componentStack_2323.flags |= 2)),
9099
- (JSCompiler_object_inline_componentStack_2323.return =
9099
+ (JSCompiler_object_inline_componentStack_2314.flags |= 2)),
9100
+ (JSCompiler_object_inline_componentStack_2314.return =
9100
9101
  workInProgress),
9101
- (JSCompiler_object_inline_stack_2322.return = workInProgress),
9102
- (JSCompiler_object_inline_stack_2322.sibling =
9103
- JSCompiler_object_inline_componentStack_2323),
9104
- (workInProgress.child = JSCompiler_object_inline_stack_2322),
9105
- (JSCompiler_object_inline_stack_2322 =
9106
- JSCompiler_object_inline_componentStack_2323),
9107
- (JSCompiler_object_inline_componentStack_2323 = workInProgress.child),
9108
- (JSCompiler_object_inline_message_2320 = current.child.memoizedState),
9109
- null === JSCompiler_object_inline_message_2320
9110
- ? (JSCompiler_object_inline_message_2320 =
9102
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
9103
+ (JSCompiler_object_inline_stack_2313.sibling =
9104
+ JSCompiler_object_inline_componentStack_2314),
9105
+ (workInProgress.child = JSCompiler_object_inline_stack_2313),
9106
+ (JSCompiler_object_inline_stack_2313 =
9107
+ JSCompiler_object_inline_componentStack_2314),
9108
+ (JSCompiler_object_inline_componentStack_2314 = workInProgress.child),
9109
+ (JSCompiler_object_inline_message_2311 = current.child.memoizedState),
9110
+ null === JSCompiler_object_inline_message_2311
9111
+ ? (JSCompiler_object_inline_message_2311 =
9111
9112
  mountSuspenseOffscreenState(renderLanes))
9112
9113
  : ((JSCompiler_temp =
9113
- JSCompiler_object_inline_message_2320.cachePool),
9114
+ JSCompiler_object_inline_message_2311.cachePool),
9114
9115
  null !== JSCompiler_temp
9115
9116
  ? ((instance = CacheContext._currentValue),
9116
9117
  (JSCompiler_temp =
@@ -9118,37 +9119,37 @@
9118
9119
  ? { parent: instance, pool: instance }
9119
9120
  : JSCompiler_temp))
9120
9121
  : (JSCompiler_temp = getSuspendedCache()),
9121
- (JSCompiler_object_inline_message_2320 = {
9122
+ (JSCompiler_object_inline_message_2311 = {
9122
9123
  baseLanes:
9123
- JSCompiler_object_inline_message_2320.baseLanes | renderLanes,
9124
+ JSCompiler_object_inline_message_2311.baseLanes | renderLanes,
9124
9125
  cachePool: JSCompiler_temp
9125
9126
  })),
9126
- (JSCompiler_object_inline_componentStack_2323.memoizedState =
9127
- JSCompiler_object_inline_message_2320),
9128
- (JSCompiler_object_inline_componentStack_2323.childLanes =
9127
+ (JSCompiler_object_inline_componentStack_2314.memoizedState =
9128
+ JSCompiler_object_inline_message_2311),
9129
+ (JSCompiler_object_inline_componentStack_2314.childLanes =
9129
9130
  getRemainingWorkInPrimaryTree(
9130
9131
  current,
9131
- JSCompiler_object_inline_digest_2321,
9132
+ JSCompiler_object_inline_digest_2312,
9132
9133
  renderLanes
9133
9134
  )),
9134
9135
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9135
- JSCompiler_object_inline_stack_2322
9136
+ JSCompiler_object_inline_stack_2313
9136
9137
  );
9137
9138
  pushPrimaryTreeSuspenseHandler(workInProgress);
9138
9139
  renderLanes = current.child;
9139
9140
  current = renderLanes.sibling;
9140
9141
  renderLanes = createWorkInProgress(renderLanes, {
9141
9142
  mode: "visible",
9142
- children: JSCompiler_object_inline_stack_2322.children
9143
+ children: JSCompiler_object_inline_stack_2313.children
9143
9144
  });
9144
9145
  renderLanes.return = workInProgress;
9145
9146
  renderLanes.sibling = null;
9146
9147
  null !== current &&
9147
- ((JSCompiler_object_inline_digest_2321 = workInProgress.deletions),
9148
- null === JSCompiler_object_inline_digest_2321
9148
+ ((JSCompiler_object_inline_digest_2312 = workInProgress.deletions),
9149
+ null === JSCompiler_object_inline_digest_2312
9149
9150
  ? ((workInProgress.deletions = [current]),
9150
9151
  (workInProgress.flags |= 16))
9151
- : JSCompiler_object_inline_digest_2321.push(current));
9152
+ : JSCompiler_object_inline_digest_2312.push(current));
9152
9153
  workInProgress.child = renderLanes;
9153
9154
  workInProgress.memoizedState = null;
9154
9155
  return renderLanes;
@@ -18150,7 +18151,7 @@
18150
18151
  console.error(
18151
18152
  "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
18152
18153
  );
18153
- else if (canDiffStyleForHydrationWarning) {
18154
+ else {
18154
18155
  var clientValue;
18155
18156
  var delimiter = (clientValue = ""),
18156
18157
  styleName;
@@ -18569,42 +18570,36 @@
18569
18570
  }
18570
18571
  case "src":
18571
18572
  case "href":
18572
- if (
18573
- !(
18574
- "" !== propKey ||
18575
- ("a" === tag && "href" === value) ||
18576
- ("object" === tag && "data" === value)
18577
- )
18578
- ) {
18579
- "src" === value
18580
- ? console.error(
18581
- '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.',
18582
- value,
18583
- value
18584
- )
18585
- : console.error(
18586
- '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.',
18587
- value,
18588
- value
18589
- );
18590
- hydrateSanitizedAttribute(
18591
- domElement,
18592
- value,
18593
- value,
18594
- null,
18595
- extraAttributes,
18596
- serverDifferences
18597
- );
18598
- continue;
18599
- }
18600
- hydrateSanitizedAttribute(
18601
- domElement,
18602
- value,
18603
- value,
18604
- propKey,
18605
- extraAttributes,
18606
- serverDifferences
18607
- );
18573
+ "" !== propKey ||
18574
+ ("a" === tag && "href" === value) ||
18575
+ ("object" === tag && "data" === value)
18576
+ ? hydrateSanitizedAttribute(
18577
+ domElement,
18578
+ value,
18579
+ value,
18580
+ propKey,
18581
+ extraAttributes,
18582
+ serverDifferences
18583
+ )
18584
+ : ("src" === value
18585
+ ? console.error(
18586
+ '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.',
18587
+ value,
18588
+ value
18589
+ )
18590
+ : console.error(
18591
+ '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.',
18592
+ value,
18593
+ value
18594
+ ),
18595
+ hydrateSanitizedAttribute(
18596
+ domElement,
18597
+ value,
18598
+ value,
18599
+ null,
18600
+ extraAttributes,
18601
+ serverDifferences
18602
+ ));
18608
18603
  continue;
18609
18604
  case "action":
18610
18605
  case "formAction":
@@ -21022,7 +21017,6 @@
21022
21017
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
21023
21018
  REACT_LAZY_TYPE = Symbol.for("react.lazy");
21024
21019
  Symbol.for("react.scope");
21025
- Symbol.for("react.debug_trace_mode");
21026
21020
  var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
21027
21021
  Symbol.for("react.legacy_hidden");
21028
21022
  Symbol.for("react.tracing_marker");
@@ -21105,11 +21099,6 @@
21105
21099
  allNativeEvents = new Set(),
21106
21100
  registrationNameDependencies = {},
21107
21101
  possibleRegistrationNames = {},
21108
- canUseDOM = !(
21109
- "undefined" === typeof window ||
21110
- "undefined" === typeof window.document ||
21111
- "undefined" === typeof window.document.createElement
21112
- ),
21113
21102
  hasReadOnlyValue = {
21114
21103
  button: !0,
21115
21104
  checkbox: !0,
@@ -21156,8 +21145,6 @@
21156
21145
  containerTagInScope: null
21157
21146
  },
21158
21147
  didWarn = {},
21159
- MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21160
- SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21161
21148
  shorthandToLonghand = {
21162
21149
  animation:
21163
21150
  "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
@@ -21308,6 +21295,8 @@
21308
21295
  " "
21309
21296
  )
21310
21297
  ),
21298
+ MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21299
+ SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21311
21300
  aliases = new Map([
21312
21301
  ["acceptCharset", "accept-charset"],
21313
21302
  ["htmlFor", "for"],
@@ -21956,6 +21945,11 @@
21956
21945
  restoreTarget = null,
21957
21946
  restoreQueue = null,
21958
21947
  isInsideEventHandler = !1,
21948
+ canUseDOM = !(
21949
+ "undefined" === typeof window ||
21950
+ "undefined" === typeof window.document ||
21951
+ "undefined" === typeof window.document.createElement
21952
+ ),
21959
21953
  passiveBrowserEventsSupported = !1;
21960
21954
  if (canUseDOM)
21961
21955
  try {
@@ -22606,36 +22600,33 @@
22606
22600
  currentHookNameInDev = null,
22607
22601
  hookTypesDev = null,
22608
22602
  hookTypesUpdateIndexDev = -1,
22609
- ignorePreviousDependencies = !1;
22610
- var createFunctionComponentUpdateQueue = function () {
22611
- return { lastEffect: null, events: null, stores: null, memoCache: null };
22612
- };
22613
- var ContextOnlyDispatcher = {
22614
- readContext: readContext,
22615
- use: use,
22616
- useCallback: throwInvalidHookError,
22617
- useContext: throwInvalidHookError,
22618
- useEffect: throwInvalidHookError,
22619
- useImperativeHandle: throwInvalidHookError,
22620
- useLayoutEffect: throwInvalidHookError,
22621
- useInsertionEffect: throwInvalidHookError,
22622
- useMemo: throwInvalidHookError,
22623
- useReducer: throwInvalidHookError,
22624
- useRef: throwInvalidHookError,
22625
- useState: throwInvalidHookError,
22626
- useDebugValue: throwInvalidHookError,
22627
- useDeferredValue: throwInvalidHookError,
22628
- useTransition: throwInvalidHookError,
22629
- useSyncExternalStore: throwInvalidHookError,
22630
- useId: throwInvalidHookError
22631
- };
22632
- ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
22633
- ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
22634
- ContextOnlyDispatcher.useHostTransitionStatus = throwInvalidHookError;
22635
- ContextOnlyDispatcher.useFormState = throwInvalidHookError;
22636
- ContextOnlyDispatcher.useActionState = throwInvalidHookError;
22637
- ContextOnlyDispatcher.useOptimistic = throwInvalidHookError;
22638
- var HooksDispatcherOnMountInDEV = null,
22603
+ ignorePreviousDependencies = !1,
22604
+ ContextOnlyDispatcher = {
22605
+ readContext: readContext,
22606
+ use: use,
22607
+ useCallback: throwInvalidHookError,
22608
+ useContext: throwInvalidHookError,
22609
+ useEffect: throwInvalidHookError,
22610
+ useImperativeHandle: throwInvalidHookError,
22611
+ useLayoutEffect: throwInvalidHookError,
22612
+ useInsertionEffect: throwInvalidHookError,
22613
+ useMemo: throwInvalidHookError,
22614
+ useReducer: throwInvalidHookError,
22615
+ useRef: throwInvalidHookError,
22616
+ useState: throwInvalidHookError,
22617
+ useDebugValue: throwInvalidHookError,
22618
+ useDeferredValue: throwInvalidHookError,
22619
+ useTransition: throwInvalidHookError,
22620
+ useSyncExternalStore: throwInvalidHookError,
22621
+ useId: throwInvalidHookError,
22622
+ useHostTransitionStatus: throwInvalidHookError,
22623
+ useFormState: throwInvalidHookError,
22624
+ useActionState: throwInvalidHookError,
22625
+ useOptimistic: throwInvalidHookError,
22626
+ useMemoCache: throwInvalidHookError,
22627
+ useCacheRefresh: throwInvalidHookError
22628
+ },
22629
+ HooksDispatcherOnMountInDEV = null,
22639
22630
  HooksDispatcherOnMountWithHookTypesInDEV = null,
22640
22631
  HooksDispatcherOnUpdateInDEV = null,
22641
22632
  HooksDispatcherOnRerenderInDEV = null,
@@ -22753,34 +22744,30 @@
22753
22744
  mountHookTypesDev();
22754
22745
  return mountId();
22755
22746
  },
22747
+ useFormState: function (action, initialState) {
22748
+ currentHookNameInDev = "useFormState";
22749
+ mountHookTypesDev();
22750
+ warnOnUseFormStateInDev();
22751
+ return mountActionState(action, initialState);
22752
+ },
22753
+ useActionState: function (action, initialState) {
22754
+ currentHookNameInDev = "useActionState";
22755
+ mountHookTypesDev();
22756
+ return mountActionState(action, initialState);
22757
+ },
22758
+ useOptimistic: function (passthrough) {
22759
+ currentHookNameInDev = "useOptimistic";
22760
+ mountHookTypesDev();
22761
+ return mountOptimistic(passthrough);
22762
+ },
22763
+ useHostTransitionStatus: useHostTransitionStatus,
22764
+ useMemoCache: useMemoCache,
22756
22765
  useCacheRefresh: function () {
22757
22766
  currentHookNameInDev = "useCacheRefresh";
22758
22767
  mountHookTypesDev();
22759
22768
  return mountRefresh();
22760
22769
  }
22761
22770
  };
22762
- HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
22763
- HooksDispatcherOnMountInDEV.useHostTransitionStatus =
22764
- useHostTransitionStatus;
22765
- HooksDispatcherOnMountInDEV.useFormState = function (action, initialState) {
22766
- currentHookNameInDev = "useFormState";
22767
- mountHookTypesDev();
22768
- warnOnUseFormStateInDev();
22769
- return mountActionState(action, initialState);
22770
- };
22771
- HooksDispatcherOnMountInDEV.useActionState = function (
22772
- action,
22773
- initialState
22774
- ) {
22775
- currentHookNameInDev = "useActionState";
22776
- mountHookTypesDev();
22777
- return mountActionState(action, initialState);
22778
- };
22779
- HooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) {
22780
- currentHookNameInDev = "useOptimistic";
22781
- mountHookTypesDev();
22782
- return mountOptimistic(passthrough);
22783
- };
22784
22771
  HooksDispatcherOnMountWithHookTypesInDEV = {
22785
22772
  readContext: function (context) {
22786
22773
  return readContext(context);
@@ -22886,39 +22873,30 @@
22886
22873
  updateHookTypesDev();
22887
22874
  return mountId();
22888
22875
  },
22876
+ useActionState: function (action, initialState) {
22877
+ currentHookNameInDev = "useActionState";
22878
+ updateHookTypesDev();
22879
+ return mountActionState(action, initialState);
22880
+ },
22881
+ useFormState: function (action, initialState) {
22882
+ currentHookNameInDev = "useFormState";
22883
+ updateHookTypesDev();
22884
+ warnOnUseFormStateInDev();
22885
+ return mountActionState(action, initialState);
22886
+ },
22887
+ useOptimistic: function (passthrough) {
22888
+ currentHookNameInDev = "useOptimistic";
22889
+ updateHookTypesDev();
22890
+ return mountOptimistic(passthrough);
22891
+ },
22892
+ useHostTransitionStatus: useHostTransitionStatus,
22893
+ useMemoCache: useMemoCache,
22889
22894
  useCacheRefresh: function () {
22890
22895
  currentHookNameInDev = "useCacheRefresh";
22891
22896
  updateHookTypesDev();
22892
22897
  return mountRefresh();
22893
22898
  }
22894
22899
  };
22895
- HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
22896
- HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus =
22897
- useHostTransitionStatus;
22898
- HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function (
22899
- action,
22900
- initialState
22901
- ) {
22902
- currentHookNameInDev = "useFormState";
22903
- updateHookTypesDev();
22904
- warnOnUseFormStateInDev();
22905
- return mountActionState(action, initialState);
22906
- };
22907
- HooksDispatcherOnMountWithHookTypesInDEV.useActionState = function (
22908
- action,
22909
- initialState
22910
- ) {
22911
- currentHookNameInDev = "useActionState";
22912
- updateHookTypesDev();
22913
- return mountActionState(action, initialState);
22914
- };
22915
- HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function (
22916
- passthrough
22917
- ) {
22918
- currentHookNameInDev = "useOptimistic";
22919
- updateHookTypesDev();
22920
- return mountOptimistic(passthrough);
22921
- };
22922
22900
  HooksDispatcherOnUpdateInDEV = {
22923
22901
  readContext: function (context) {
22924
22902
  return readContext(context);
@@ -23024,34 +23002,30 @@
23024
23002
  updateHookTypesDev();
23025
23003
  return updateWorkInProgressHook().memoizedState;
23026
23004
  },
23005
+ useFormState: function (action) {
23006
+ currentHookNameInDev = "useFormState";
23007
+ updateHookTypesDev();
23008
+ warnOnUseFormStateInDev();
23009
+ return updateActionState(action);
23010
+ },
23011
+ useActionState: function (action) {
23012
+ currentHookNameInDev = "useActionState";
23013
+ updateHookTypesDev();
23014
+ return updateActionState(action);
23015
+ },
23016
+ useOptimistic: function (passthrough, reducer) {
23017
+ currentHookNameInDev = "useOptimistic";
23018
+ updateHookTypesDev();
23019
+ return updateOptimistic(passthrough, reducer);
23020
+ },
23021
+ useHostTransitionStatus: useHostTransitionStatus,
23022
+ useMemoCache: useMemoCache,
23027
23023
  useCacheRefresh: function () {
23028
23024
  currentHookNameInDev = "useCacheRefresh";
23029
23025
  updateHookTypesDev();
23030
23026
  return updateWorkInProgressHook().memoizedState;
23031
23027
  }
23032
23028
  };
23033
- HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
23034
- HooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
23035
- useHostTransitionStatus;
23036
- HooksDispatcherOnUpdateInDEV.useFormState = function (action) {
23037
- currentHookNameInDev = "useFormState";
23038
- updateHookTypesDev();
23039
- warnOnUseFormStateInDev();
23040
- return updateActionState(action);
23041
- };
23042
- HooksDispatcherOnUpdateInDEV.useActionState = function (action) {
23043
- currentHookNameInDev = "useActionState";
23044
- updateHookTypesDev();
23045
- return updateActionState(action);
23046
- };
23047
- HooksDispatcherOnUpdateInDEV.useOptimistic = function (
23048
- passthrough,
23049
- reducer
23050
- ) {
23051
- currentHookNameInDev = "useOptimistic";
23052
- updateHookTypesDev();
23053
- return updateOptimistic(passthrough, reducer);
23054
- };
23055
23029
  HooksDispatcherOnRerenderInDEV = {
23056
23030
  readContext: function (context) {
23057
23031
  return readContext(context);
@@ -23157,34 +23131,30 @@
23157
23131
  updateHookTypesDev();
23158
23132
  return updateWorkInProgressHook().memoizedState;
23159
23133
  },
23134
+ useFormState: function (action) {
23135
+ currentHookNameInDev = "useFormState";
23136
+ updateHookTypesDev();
23137
+ warnOnUseFormStateInDev();
23138
+ return rerenderActionState(action);
23139
+ },
23140
+ useActionState: function (action) {
23141
+ currentHookNameInDev = "useActionState";
23142
+ updateHookTypesDev();
23143
+ return rerenderActionState(action);
23144
+ },
23145
+ useOptimistic: function (passthrough, reducer) {
23146
+ currentHookNameInDev = "useOptimistic";
23147
+ updateHookTypesDev();
23148
+ return rerenderOptimistic(passthrough, reducer);
23149
+ },
23150
+ useHostTransitionStatus: useHostTransitionStatus,
23151
+ useMemoCache: useMemoCache,
23160
23152
  useCacheRefresh: function () {
23161
23153
  currentHookNameInDev = "useCacheRefresh";
23162
23154
  updateHookTypesDev();
23163
23155
  return updateWorkInProgressHook().memoizedState;
23164
23156
  }
23165
23157
  };
23166
- HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
23167
- HooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23168
- useHostTransitionStatus;
23169
- HooksDispatcherOnRerenderInDEV.useFormState = function (action) {
23170
- currentHookNameInDev = "useFormState";
23171
- updateHookTypesDev();
23172
- warnOnUseFormStateInDev();
23173
- return rerenderActionState(action);
23174
- };
23175
- HooksDispatcherOnRerenderInDEV.useActionState = function (action) {
23176
- currentHookNameInDev = "useActionState";
23177
- updateHookTypesDev();
23178
- return rerenderActionState(action);
23179
- };
23180
- HooksDispatcherOnRerenderInDEV.useOptimistic = function (
23181
- passthrough,
23182
- reducer
23183
- ) {
23184
- currentHookNameInDev = "useOptimistic";
23185
- updateHookTypesDev();
23186
- return rerenderOptimistic(passthrough, reducer);
23187
- };
23188
23158
  InvalidNestedHooksDispatcherOnMountInDEV = {
23189
23159
  readContext: function (context) {
23190
23160
  warnInvalidContextAccess();
@@ -23309,44 +23279,35 @@
23309
23279
  mountHookTypesDev();
23310
23280
  return mountId();
23311
23281
  },
23312
- useCacheRefresh: function () {
23313
- currentHookNameInDev = "useCacheRefresh";
23282
+ useFormState: function (action, initialState) {
23283
+ currentHookNameInDev = "useFormState";
23284
+ warnInvalidHookAccess();
23314
23285
  mountHookTypesDev();
23315
- return mountRefresh();
23286
+ return mountActionState(action, initialState);
23287
+ },
23288
+ useActionState: function (action, initialState) {
23289
+ currentHookNameInDev = "useActionState";
23290
+ warnInvalidHookAccess();
23291
+ mountHookTypesDev();
23292
+ return mountActionState(action, initialState);
23293
+ },
23294
+ useOptimistic: function (passthrough) {
23295
+ currentHookNameInDev = "useOptimistic";
23296
+ warnInvalidHookAccess();
23297
+ mountHookTypesDev();
23298
+ return mountOptimistic(passthrough);
23316
23299
  },
23317
23300
  useMemoCache: function (size) {
23318
23301
  warnInvalidHookAccess();
23319
23302
  return useMemoCache(size);
23303
+ },
23304
+ useHostTransitionStatus: useHostTransitionStatus,
23305
+ useCacheRefresh: function () {
23306
+ currentHookNameInDev = "useCacheRefresh";
23307
+ mountHookTypesDev();
23308
+ return mountRefresh();
23320
23309
  }
23321
23310
  };
23322
- InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus =
23323
- useHostTransitionStatus;
23324
- InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function (
23325
- action,
23326
- initialState
23327
- ) {
23328
- currentHookNameInDev = "useFormState";
23329
- warnInvalidHookAccess();
23330
- mountHookTypesDev();
23331
- return mountActionState(action, initialState);
23332
- };
23333
- InvalidNestedHooksDispatcherOnMountInDEV.useActionState = function (
23334
- action,
23335
- initialState
23336
- ) {
23337
- currentHookNameInDev = "useActionState";
23338
- warnInvalidHookAccess();
23339
- mountHookTypesDev();
23340
- return mountActionState(action, initialState);
23341
- };
23342
- InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function (
23343
- passthrough
23344
- ) {
23345
- currentHookNameInDev = "useOptimistic";
23346
- warnInvalidHookAccess();
23347
- mountHookTypesDev();
23348
- return mountOptimistic(passthrough);
23349
- };
23350
23311
  InvalidNestedHooksDispatcherOnUpdateInDEV = {
23351
23312
  readContext: function (context) {
23352
23313
  warnInvalidContextAccess();
@@ -23471,41 +23432,35 @@
23471
23432
  updateHookTypesDev();
23472
23433
  return updateWorkInProgressHook().memoizedState;
23473
23434
  },
23474
- useCacheRefresh: function () {
23475
- currentHookNameInDev = "useCacheRefresh";
23435
+ useFormState: function (action) {
23436
+ currentHookNameInDev = "useFormState";
23437
+ warnInvalidHookAccess();
23476
23438
  updateHookTypesDev();
23477
- return updateWorkInProgressHook().memoizedState;
23439
+ return updateActionState(action);
23440
+ },
23441
+ useActionState: function (action) {
23442
+ currentHookNameInDev = "useActionState";
23443
+ warnInvalidHookAccess();
23444
+ updateHookTypesDev();
23445
+ return updateActionState(action);
23446
+ },
23447
+ useOptimistic: function (passthrough, reducer) {
23448
+ currentHookNameInDev = "useOptimistic";
23449
+ warnInvalidHookAccess();
23450
+ updateHookTypesDev();
23451
+ return updateOptimistic(passthrough, reducer);
23478
23452
  },
23479
23453
  useMemoCache: function (size) {
23480
23454
  warnInvalidHookAccess();
23481
23455
  return useMemoCache(size);
23456
+ },
23457
+ useHostTransitionStatus: useHostTransitionStatus,
23458
+ useCacheRefresh: function () {
23459
+ currentHookNameInDev = "useCacheRefresh";
23460
+ updateHookTypesDev();
23461
+ return updateWorkInProgressHook().memoizedState;
23482
23462
  }
23483
23463
  };
23484
- InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
23485
- useHostTransitionStatus;
23486
- InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function (action) {
23487
- currentHookNameInDev = "useFormState";
23488
- warnInvalidHookAccess();
23489
- updateHookTypesDev();
23490
- return updateActionState(action);
23491
- };
23492
- InvalidNestedHooksDispatcherOnUpdateInDEV.useActionState = function (
23493
- action
23494
- ) {
23495
- currentHookNameInDev = "useActionState";
23496
- warnInvalidHookAccess();
23497
- updateHookTypesDev();
23498
- return updateActionState(action);
23499
- };
23500
- InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function (
23501
- passthrough,
23502
- reducer
23503
- ) {
23504
- currentHookNameInDev = "useOptimistic";
23505
- warnInvalidHookAccess();
23506
- updateHookTypesDev();
23507
- return updateOptimistic(passthrough, reducer);
23508
- };
23509
23464
  InvalidNestedHooksDispatcherOnRerenderInDEV = {
23510
23465
  readContext: function (context) {
23511
23466
  warnInvalidContextAccess();
@@ -23630,43 +23585,35 @@
23630
23585
  updateHookTypesDev();
23631
23586
  return updateWorkInProgressHook().memoizedState;
23632
23587
  },
23633
- useCacheRefresh: function () {
23634
- currentHookNameInDev = "useCacheRefresh";
23588
+ useFormState: function (action) {
23589
+ currentHookNameInDev = "useFormState";
23590
+ warnInvalidHookAccess();
23635
23591
  updateHookTypesDev();
23636
- return updateWorkInProgressHook().memoizedState;
23592
+ return rerenderActionState(action);
23593
+ },
23594
+ useActionState: function (action) {
23595
+ currentHookNameInDev = "useActionState";
23596
+ warnInvalidHookAccess();
23597
+ updateHookTypesDev();
23598
+ return rerenderActionState(action);
23599
+ },
23600
+ useOptimistic: function (passthrough, reducer) {
23601
+ currentHookNameInDev = "useOptimistic";
23602
+ warnInvalidHookAccess();
23603
+ updateHookTypesDev();
23604
+ return rerenderOptimistic(passthrough, reducer);
23637
23605
  },
23638
23606
  useMemoCache: function (size) {
23639
23607
  warnInvalidHookAccess();
23640
23608
  return useMemoCache(size);
23609
+ },
23610
+ useHostTransitionStatus: useHostTransitionStatus,
23611
+ useCacheRefresh: function () {
23612
+ currentHookNameInDev = "useCacheRefresh";
23613
+ updateHookTypesDev();
23614
+ return updateWorkInProgressHook().memoizedState;
23641
23615
  }
23642
23616
  };
23643
- InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23644
- useHostTransitionStatus;
23645
- InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function (
23646
- action
23647
- ) {
23648
- currentHookNameInDev = "useFormState";
23649
- warnInvalidHookAccess();
23650
- updateHookTypesDev();
23651
- return rerenderActionState(action);
23652
- };
23653
- InvalidNestedHooksDispatcherOnRerenderInDEV.useActionState = function (
23654
- action
23655
- ) {
23656
- currentHookNameInDev = "useActionState";
23657
- warnInvalidHookAccess();
23658
- updateHookTypesDev();
23659
- return rerenderActionState(action);
23660
- };
23661
- InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function (
23662
- passthrough,
23663
- reducer
23664
- ) {
23665
- currentHookNameInDev = "useOptimistic";
23666
- warnInvalidHookAccess();
23667
- updateHookTypesDev();
23668
- return rerenderOptimistic(passthrough, reducer);
23669
- };
23670
23617
  var callComponent = {
23671
23618
  "react-stack-bottom-frame": function (Component, props, secondArg) {
23672
23619
  var wasRendering = isRendering;
@@ -24178,7 +24125,6 @@
24178
24125
  didWarnFormActionMethod = !1,
24179
24126
  didWarnPopoverTargetObject = !1;
24180
24127
  var didWarnForNewBooleanPropsWithEmptyValue = {};
24181
- var canDiffStyleForHydrationWarning = !0;
24182
24128
  var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
24183
24129
  NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
24184
24130
  xlinkNamespace = "http://www.w3.org/1999/xlink",
@@ -24641,11 +24587,11 @@
24641
24587
  };
24642
24588
  (function () {
24643
24589
  var isomorphicReactPackageVersion = React.version;
24644
- if ("19.1.0-canary-4dff0e62-20241213" !== isomorphicReactPackageVersion)
24590
+ if ("19.1.0-canary-e06c72fc-20241215" !== isomorphicReactPackageVersion)
24645
24591
  throw Error(
24646
24592
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24647
24593
  (isomorphicReactPackageVersion +
24648
- "\n - react-dom: 19.1.0-canary-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
24594
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
24649
24595
  );
24650
24596
  })();
24651
24597
  ("function" === typeof Map &&
@@ -24682,10 +24628,10 @@
24682
24628
  !(function () {
24683
24629
  var internals = {
24684
24630
  bundleType: 1,
24685
- version: "19.1.0-canary-4dff0e62-20241213",
24631
+ version: "19.1.0-canary-e06c72fc-20241215",
24686
24632
  rendererPackageName: "react-dom",
24687
24633
  currentDispatcherRef: ReactSharedInternals,
24688
- reconcilerVersion: "19.1.0-canary-4dff0e62-20241213"
24634
+ reconcilerVersion: "19.1.0-canary-e06c72fc-20241215"
24689
24635
  };
24690
24636
  internals.overrideHookState = overrideHookState;
24691
24637
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25161,7 +25107,7 @@
25161
25107
  exports.useFormStatus = function () {
25162
25108
  return resolveDispatcher().useHostTransitionStatus();
25163
25109
  };
25164
- exports.version = "19.1.0-canary-4dff0e62-20241213";
25110
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
25165
25111
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25166
25112
  "function" ===
25167
25113
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&