react-dom 19.0.0-rc-1b1283ad-20241203 → 19.0.0-rc-de68d2f4-20241204

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.
@@ -7261,7 +7261,7 @@
7261
7261
  ((state = state.dehydrated),
7262
7262
  null === state ||
7263
7263
  state.data === SUSPENSE_PENDING_START_DATA ||
7264
- state.data === SUSPENSE_FALLBACK_START_DATA)
7264
+ isSuspenseInstanceFallback(state))
7265
7265
  )
7266
7266
  return node;
7267
7267
  } else if (
@@ -8688,32 +8688,32 @@
8688
8688
  return current;
8689
8689
  }
8690
8690
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8691
- var JSCompiler_object_inline_digest_2323;
8692
- var JSCompiler_object_inline_stack_2324 = workInProgress.pendingProps;
8691
+ var JSCompiler_object_inline_digest_2316;
8692
+ var JSCompiler_object_inline_stack_2317 = workInProgress.pendingProps;
8693
8693
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8694
- var JSCompiler_object_inline_componentStack_2325 = !1;
8694
+ var JSCompiler_object_inline_componentStack_2318 = !1;
8695
8695
  var didSuspend = 0 !== (workInProgress.flags & 128);
8696
- (JSCompiler_object_inline_digest_2323 = didSuspend) ||
8697
- (JSCompiler_object_inline_digest_2323 =
8696
+ (JSCompiler_object_inline_digest_2316 = didSuspend) ||
8697
+ (JSCompiler_object_inline_digest_2316 =
8698
8698
  null !== current && null === current.memoizedState
8699
8699
  ? !1
8700
8700
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8701
- JSCompiler_object_inline_digest_2323 &&
8702
- ((JSCompiler_object_inline_componentStack_2325 = !0),
8701
+ JSCompiler_object_inline_digest_2316 &&
8702
+ ((JSCompiler_object_inline_componentStack_2318 = !0),
8703
8703
  (workInProgress.flags &= -129));
8704
- JSCompiler_object_inline_digest_2323 = 0 !== (workInProgress.flags & 32);
8704
+ JSCompiler_object_inline_digest_2316 = 0 !== (workInProgress.flags & 32);
8705
8705
  workInProgress.flags &= -33;
8706
8706
  if (null === current) {
8707
8707
  if (isHydrating) {
8708
- JSCompiler_object_inline_componentStack_2325
8708
+ JSCompiler_object_inline_componentStack_2318
8709
8709
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8710
8710
  : reuseSuspenseHandlerOnStack(workInProgress);
8711
8711
  if (isHydrating) {
8712
- var JSCompiler_object_inline_message_2322 = nextHydratableInstance;
8712
+ var JSCompiler_object_inline_message_2315 = nextHydratableInstance;
8713
8713
  var JSCompiler_temp;
8714
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2322)) {
8714
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2315)) {
8715
8715
  c: {
8716
- var instance = JSCompiler_object_inline_message_2322;
8716
+ var instance = JSCompiler_object_inline_message_2315;
8717
8717
  for (
8718
8718
  JSCompiler_temp = rootOrSingletonContext;
8719
8719
  8 !== instance.nodeType;
@@ -8754,78 +8754,77 @@
8754
8754
  JSCompiler_temp &&
8755
8755
  (warnNonHydratedInstance(
8756
8756
  workInProgress,
8757
- JSCompiler_object_inline_message_2322
8757
+ JSCompiler_object_inline_message_2315
8758
8758
  ),
8759
8759
  throwOnHydrationMismatch(workInProgress));
8760
8760
  }
8761
- JSCompiler_object_inline_message_2322 = workInProgress.memoizedState;
8761
+ JSCompiler_object_inline_message_2315 = workInProgress.memoizedState;
8762
8762
  if (
8763
- null !== JSCompiler_object_inline_message_2322 &&
8764
- ((JSCompiler_object_inline_message_2322 =
8765
- JSCompiler_object_inline_message_2322.dehydrated),
8766
- null !== JSCompiler_object_inline_message_2322)
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)
8767
8767
  )
8768
8768
  return (
8769
- JSCompiler_object_inline_message_2322.data ===
8770
- SUSPENSE_FALLBACK_START_DATA
8769
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2315)
8771
8770
  ? (workInProgress.lanes = 16)
8772
8771
  : (workInProgress.lanes = 536870912),
8773
8772
  null
8774
8773
  );
8775
8774
  popSuspenseHandler(workInProgress);
8776
8775
  }
8777
- JSCompiler_object_inline_message_2322 =
8778
- JSCompiler_object_inline_stack_2324.children;
8779
- JSCompiler_object_inline_stack_2324 =
8780
- JSCompiler_object_inline_stack_2324.fallback;
8781
- if (JSCompiler_object_inline_componentStack_2325)
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)
8782
8781
  return (
8783
8782
  reuseSuspenseHandlerOnStack(workInProgress),
8784
- (JSCompiler_object_inline_componentStack_2325 =
8783
+ (JSCompiler_object_inline_componentStack_2318 =
8785
8784
  workInProgress.mode),
8786
- (JSCompiler_object_inline_message_2322 =
8785
+ (JSCompiler_object_inline_message_2315 =
8787
8786
  mountWorkInProgressOffscreenFiber(
8788
8787
  {
8789
8788
  mode: "hidden",
8790
- children: JSCompiler_object_inline_message_2322
8789
+ children: JSCompiler_object_inline_message_2315
8791
8790
  },
8792
- JSCompiler_object_inline_componentStack_2325
8791
+ JSCompiler_object_inline_componentStack_2318
8793
8792
  )),
8794
- (JSCompiler_object_inline_stack_2324 = createFiberFromFragment(
8795
- JSCompiler_object_inline_stack_2324,
8796
- JSCompiler_object_inline_componentStack_2325,
8793
+ (JSCompiler_object_inline_stack_2317 = createFiberFromFragment(
8794
+ JSCompiler_object_inline_stack_2317,
8795
+ JSCompiler_object_inline_componentStack_2318,
8797
8796
  renderLanes,
8798
8797
  null
8799
8798
  )),
8800
- (JSCompiler_object_inline_message_2322.return = workInProgress),
8801
- (JSCompiler_object_inline_stack_2324.return = workInProgress),
8802
- (JSCompiler_object_inline_message_2322.sibling =
8803
- JSCompiler_object_inline_stack_2324),
8804
- (workInProgress.child = JSCompiler_object_inline_message_2322),
8805
- (JSCompiler_object_inline_componentStack_2325 =
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 =
8806
8805
  workInProgress.child),
8807
- (JSCompiler_object_inline_componentStack_2325.memoizedState =
8806
+ (JSCompiler_object_inline_componentStack_2318.memoizedState =
8808
8807
  mountSuspenseOffscreenState(renderLanes)),
8809
- (JSCompiler_object_inline_componentStack_2325.childLanes =
8808
+ (JSCompiler_object_inline_componentStack_2318.childLanes =
8810
8809
  getRemainingWorkInPrimaryTree(
8811
8810
  current,
8812
- JSCompiler_object_inline_digest_2323,
8811
+ JSCompiler_object_inline_digest_2316,
8813
8812
  renderLanes
8814
8813
  )),
8815
8814
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8816
- JSCompiler_object_inline_stack_2324
8815
+ JSCompiler_object_inline_stack_2317
8817
8816
  );
8818
8817
  pushPrimaryTreeSuspenseHandler(workInProgress);
8819
8818
  return mountSuspensePrimaryChildren(
8820
8819
  workInProgress,
8821
- JSCompiler_object_inline_message_2322
8820
+ JSCompiler_object_inline_message_2315
8822
8821
  );
8823
8822
  }
8824
8823
  var prevState = current.memoizedState;
8825
8824
  if (
8826
8825
  null !== prevState &&
8827
- ((JSCompiler_object_inline_message_2322 = prevState.dehydrated),
8828
- null !== JSCompiler_object_inline_message_2322)
8826
+ ((JSCompiler_object_inline_message_2315 = prevState.dehydrated),
8827
+ null !== JSCompiler_object_inline_message_2315)
8829
8828
  ) {
8830
8829
  if (didSuspend)
8831
8830
  workInProgress.flags & 256
@@ -8842,95 +8841,94 @@
8842
8841
  (workInProgress.flags |= 128),
8843
8842
  (workInProgress = null))
8844
8843
  : (reuseSuspenseHandlerOnStack(workInProgress),
8845
- (JSCompiler_object_inline_componentStack_2325 =
8846
- JSCompiler_object_inline_stack_2324.fallback),
8847
- (JSCompiler_object_inline_message_2322 = workInProgress.mode),
8848
- (JSCompiler_object_inline_stack_2324 =
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 =
8849
8848
  mountWorkInProgressOffscreenFiber(
8850
8849
  {
8851
8850
  mode: "visible",
8852
- children: JSCompiler_object_inline_stack_2324.children
8851
+ children: JSCompiler_object_inline_stack_2317.children
8853
8852
  },
8854
- JSCompiler_object_inline_message_2322
8853
+ JSCompiler_object_inline_message_2315
8855
8854
  )),
8856
- (JSCompiler_object_inline_componentStack_2325 =
8855
+ (JSCompiler_object_inline_componentStack_2318 =
8857
8856
  createFiberFromFragment(
8858
- JSCompiler_object_inline_componentStack_2325,
8859
- JSCompiler_object_inline_message_2322,
8857
+ JSCompiler_object_inline_componentStack_2318,
8858
+ JSCompiler_object_inline_message_2315,
8860
8859
  renderLanes,
8861
8860
  null
8862
8861
  )),
8863
- (JSCompiler_object_inline_componentStack_2325.flags |= 2),
8864
- (JSCompiler_object_inline_stack_2324.return = workInProgress),
8865
- (JSCompiler_object_inline_componentStack_2325.return =
8862
+ (JSCompiler_object_inline_componentStack_2318.flags |= 2),
8863
+ (JSCompiler_object_inline_stack_2317.return = workInProgress),
8864
+ (JSCompiler_object_inline_componentStack_2318.return =
8866
8865
  workInProgress),
8867
- (JSCompiler_object_inline_stack_2324.sibling =
8868
- JSCompiler_object_inline_componentStack_2325),
8869
- (workInProgress.child = JSCompiler_object_inline_stack_2324),
8866
+ (JSCompiler_object_inline_stack_2317.sibling =
8867
+ JSCompiler_object_inline_componentStack_2318),
8868
+ (workInProgress.child = JSCompiler_object_inline_stack_2317),
8870
8869
  reconcileChildFibers(
8871
8870
  workInProgress,
8872
8871
  current.child,
8873
8872
  null,
8874
8873
  renderLanes
8875
8874
  ),
8876
- (JSCompiler_object_inline_stack_2324 = workInProgress.child),
8877
- (JSCompiler_object_inline_stack_2324.memoizedState =
8875
+ (JSCompiler_object_inline_stack_2317 = workInProgress.child),
8876
+ (JSCompiler_object_inline_stack_2317.memoizedState =
8878
8877
  mountSuspenseOffscreenState(renderLanes)),
8879
- (JSCompiler_object_inline_stack_2324.childLanes =
8878
+ (JSCompiler_object_inline_stack_2317.childLanes =
8880
8879
  getRemainingWorkInPrimaryTree(
8881
8880
  current,
8882
- JSCompiler_object_inline_digest_2323,
8881
+ JSCompiler_object_inline_digest_2316,
8883
8882
  renderLanes
8884
8883
  )),
8885
8884
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8886
8885
  (workInProgress =
8887
- JSCompiler_object_inline_componentStack_2325));
8886
+ JSCompiler_object_inline_componentStack_2318));
8888
8887
  else if (
8889
8888
  (pushPrimaryTreeSuspenseHandler(workInProgress),
8890
8889
  isHydrating &&
8891
8890
  console.error(
8892
8891
  "We should not be hydrating here. This is a bug in React. Please file a bug."
8893
8892
  ),
8894
- JSCompiler_object_inline_message_2322.data ===
8895
- SUSPENSE_FALLBACK_START_DATA)
8893
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2315))
8896
8894
  ) {
8897
- JSCompiler_object_inline_digest_2323 =
8898
- JSCompiler_object_inline_message_2322.nextSibling &&
8899
- JSCompiler_object_inline_message_2322.nextSibling.dataset;
8900
- if (JSCompiler_object_inline_digest_2323) {
8901
- JSCompiler_temp = JSCompiler_object_inline_digest_2323.dgst;
8902
- var message = JSCompiler_object_inline_digest_2323.msg;
8903
- instance = JSCompiler_object_inline_digest_2323.stck;
8904
- var componentStack = JSCompiler_object_inline_digest_2323.cstck;
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;
8905
8903
  }
8906
- JSCompiler_object_inline_message_2322 = message;
8907
- JSCompiler_object_inline_digest_2323 = JSCompiler_temp;
8908
- JSCompiler_object_inline_stack_2324 = instance;
8909
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2325 =
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 =
8910
8908
  componentStack;
8911
- JSCompiler_object_inline_componentStack_2325 =
8912
- JSCompiler_object_inline_message_2322
8913
- ? Error(JSCompiler_object_inline_message_2322)
8909
+ JSCompiler_object_inline_componentStack_2318 =
8910
+ JSCompiler_object_inline_message_2315
8911
+ ? Error(JSCompiler_object_inline_message_2315)
8914
8912
  : Error(
8915
8913
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
8916
8914
  );
8917
- JSCompiler_object_inline_componentStack_2325.stack =
8918
- JSCompiler_object_inline_stack_2324 || "";
8919
- JSCompiler_object_inline_componentStack_2325.digest =
8920
- JSCompiler_object_inline_digest_2323;
8921
- JSCompiler_object_inline_digest_2323 =
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 =
8922
8920
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
8923
- JSCompiler_object_inline_stack_2324 = {
8924
- value: JSCompiler_object_inline_componentStack_2325,
8921
+ JSCompiler_object_inline_stack_2317 = {
8922
+ value: JSCompiler_object_inline_componentStack_2318,
8925
8923
  source: null,
8926
- stack: JSCompiler_object_inline_digest_2323
8924
+ stack: JSCompiler_object_inline_digest_2316
8927
8925
  };
8928
- "string" === typeof JSCompiler_object_inline_digest_2323 &&
8926
+ "string" === typeof JSCompiler_object_inline_digest_2316 &&
8929
8927
  CapturedStacks.set(
8930
- JSCompiler_object_inline_componentStack_2325,
8931
- JSCompiler_object_inline_stack_2324
8928
+ JSCompiler_object_inline_componentStack_2318,
8929
+ JSCompiler_object_inline_stack_2317
8932
8930
  );
8933
- queueHydrationError(JSCompiler_object_inline_stack_2324);
8931
+ queueHydrationError(JSCompiler_object_inline_stack_2317);
8934
8932
  workInProgress = retrySuspenseComponentWithoutHydrating(
8935
8933
  current,
8936
8934
  workInProgress,
@@ -8944,25 +8942,25 @@
8944
8942
  renderLanes,
8945
8943
  !1
8946
8944
  ),
8947
- (JSCompiler_object_inline_digest_2323 =
8945
+ (JSCompiler_object_inline_digest_2316 =
8948
8946
  0 !== (renderLanes & current.childLanes)),
8949
- didReceiveUpdate || JSCompiler_object_inline_digest_2323)
8947
+ didReceiveUpdate || JSCompiler_object_inline_digest_2316)
8950
8948
  ) {
8951
- JSCompiler_object_inline_digest_2323 = workInProgressRoot;
8952
- if (null !== JSCompiler_object_inline_digest_2323) {
8953
- JSCompiler_object_inline_stack_2324 = renderLanes & -renderLanes;
8954
- if (0 !== (JSCompiler_object_inline_stack_2324 & 42))
8955
- JSCompiler_object_inline_stack_2324 = 1;
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;
8956
8954
  else
8957
- switch (JSCompiler_object_inline_stack_2324) {
8955
+ switch (JSCompiler_object_inline_stack_2317) {
8958
8956
  case 2:
8959
- JSCompiler_object_inline_stack_2324 = 1;
8957
+ JSCompiler_object_inline_stack_2317 = 1;
8960
8958
  break;
8961
8959
  case 8:
8962
- JSCompiler_object_inline_stack_2324 = 4;
8960
+ JSCompiler_object_inline_stack_2317 = 4;
8963
8961
  break;
8964
8962
  case 32:
8965
- JSCompiler_object_inline_stack_2324 = 16;
8963
+ JSCompiler_object_inline_stack_2317 = 16;
8966
8964
  break;
8967
8965
  case 128:
8968
8966
  case 256:
@@ -8983,40 +8981,40 @@
8983
8981
  case 8388608:
8984
8982
  case 16777216:
8985
8983
  case 33554432:
8986
- JSCompiler_object_inline_stack_2324 = 64;
8984
+ JSCompiler_object_inline_stack_2317 = 64;
8987
8985
  break;
8988
8986
  case 268435456:
8989
- JSCompiler_object_inline_stack_2324 = 134217728;
8987
+ JSCompiler_object_inline_stack_2317 = 134217728;
8990
8988
  break;
8991
8989
  default:
8992
- JSCompiler_object_inline_stack_2324 = 0;
8990
+ JSCompiler_object_inline_stack_2317 = 0;
8993
8991
  }
8994
- JSCompiler_object_inline_stack_2324 =
8992
+ JSCompiler_object_inline_stack_2317 =
8995
8993
  0 !==
8996
- (JSCompiler_object_inline_stack_2324 &
8997
- (JSCompiler_object_inline_digest_2323.suspendedLanes |
8994
+ (JSCompiler_object_inline_stack_2317 &
8995
+ (JSCompiler_object_inline_digest_2316.suspendedLanes |
8998
8996
  renderLanes))
8999
8997
  ? 0
9000
- : JSCompiler_object_inline_stack_2324;
8998
+ : JSCompiler_object_inline_stack_2317;
9001
8999
  if (
9002
- 0 !== JSCompiler_object_inline_stack_2324 &&
9003
- JSCompiler_object_inline_stack_2324 !== prevState.retryLane
9000
+ 0 !== JSCompiler_object_inline_stack_2317 &&
9001
+ JSCompiler_object_inline_stack_2317 !== prevState.retryLane
9004
9002
  )
9005
9003
  throw (
9006
- ((prevState.retryLane = JSCompiler_object_inline_stack_2324),
9004
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2317),
9007
9005
  enqueueConcurrentRenderForLane(
9008
9006
  current,
9009
- JSCompiler_object_inline_stack_2324
9007
+ JSCompiler_object_inline_stack_2317
9010
9008
  ),
9011
9009
  scheduleUpdateOnFiber(
9012
- JSCompiler_object_inline_digest_2323,
9010
+ JSCompiler_object_inline_digest_2316,
9013
9011
  current,
9014
- JSCompiler_object_inline_stack_2324
9012
+ JSCompiler_object_inline_stack_2317
9015
9013
  ),
9016
9014
  SelectiveHydrationException)
9017
9015
  );
9018
9016
  }
9019
- JSCompiler_object_inline_message_2322.data ===
9017
+ JSCompiler_object_inline_message_2315.data ===
9020
9018
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9021
9019
  workInProgress = retrySuspenseComponentWithoutHydrating(
9022
9020
  current,
@@ -9024,20 +9022,14 @@
9024
9022
  renderLanes
9025
9023
  );
9026
9024
  } else
9027
- JSCompiler_object_inline_message_2322.data ===
9025
+ JSCompiler_object_inline_message_2315.data ===
9028
9026
  SUSPENSE_PENDING_START_DATA
9029
- ? ((workInProgress.flags |= 128),
9027
+ ? ((workInProgress.flags |= 192),
9030
9028
  (workInProgress.child = current.child),
9031
- (workInProgress = retryDehydratedSuspenseBoundary.bind(
9032
- null,
9033
- current
9034
- )),
9035
- (JSCompiler_object_inline_message_2322._reactRetry =
9036
- workInProgress),
9037
9029
  (workInProgress = null))
9038
9030
  : ((current = prevState.treeContext),
9039
9031
  (nextHydratableInstance = getNextHydratable(
9040
- JSCompiler_object_inline_message_2322.nextSibling
9032
+ JSCompiler_object_inline_message_2315.nextSibling
9041
9033
  )),
9042
9034
  (hydrationParentFiber = workInProgress),
9043
9035
  (isHydrating = !0),
@@ -9055,57 +9047,57 @@
9055
9047
  (treeContextProvider = workInProgress)),
9056
9048
  (workInProgress = mountSuspensePrimaryChildren(
9057
9049
  workInProgress,
9058
- JSCompiler_object_inline_stack_2324.children
9050
+ JSCompiler_object_inline_stack_2317.children
9059
9051
  )),
9060
9052
  (workInProgress.flags |= 4096));
9061
9053
  return workInProgress;
9062
9054
  }
9063
- if (JSCompiler_object_inline_componentStack_2325)
9055
+ if (JSCompiler_object_inline_componentStack_2318)
9064
9056
  return (
9065
9057
  reuseSuspenseHandlerOnStack(workInProgress),
9066
- (JSCompiler_object_inline_componentStack_2325 =
9067
- JSCompiler_object_inline_stack_2324.fallback),
9068
- (JSCompiler_object_inline_message_2322 = workInProgress.mode),
9058
+ (JSCompiler_object_inline_componentStack_2318 =
9059
+ JSCompiler_object_inline_stack_2317.fallback),
9060
+ (JSCompiler_object_inline_message_2315 = workInProgress.mode),
9069
9061
  (JSCompiler_temp = current.child),
9070
9062
  (instance = JSCompiler_temp.sibling),
9071
- (JSCompiler_object_inline_stack_2324 = createWorkInProgress(
9063
+ (JSCompiler_object_inline_stack_2317 = createWorkInProgress(
9072
9064
  JSCompiler_temp,
9073
9065
  {
9074
9066
  mode: "hidden",
9075
- children: JSCompiler_object_inline_stack_2324.children
9067
+ children: JSCompiler_object_inline_stack_2317.children
9076
9068
  }
9077
9069
  )),
9078
- (JSCompiler_object_inline_stack_2324.subtreeFlags =
9070
+ (JSCompiler_object_inline_stack_2317.subtreeFlags =
9079
9071
  JSCompiler_temp.subtreeFlags & 31457280),
9080
9072
  null !== instance
9081
- ? (JSCompiler_object_inline_componentStack_2325 =
9073
+ ? (JSCompiler_object_inline_componentStack_2318 =
9082
9074
  createWorkInProgress(
9083
9075
  instance,
9084
- JSCompiler_object_inline_componentStack_2325
9076
+ JSCompiler_object_inline_componentStack_2318
9085
9077
  ))
9086
- : ((JSCompiler_object_inline_componentStack_2325 =
9078
+ : ((JSCompiler_object_inline_componentStack_2318 =
9087
9079
  createFiberFromFragment(
9088
- JSCompiler_object_inline_componentStack_2325,
9089
- JSCompiler_object_inline_message_2322,
9080
+ JSCompiler_object_inline_componentStack_2318,
9081
+ JSCompiler_object_inline_message_2315,
9090
9082
  renderLanes,
9091
9083
  null
9092
9084
  )),
9093
- (JSCompiler_object_inline_componentStack_2325.flags |= 2)),
9094
- (JSCompiler_object_inline_componentStack_2325.return =
9085
+ (JSCompiler_object_inline_componentStack_2318.flags |= 2)),
9086
+ (JSCompiler_object_inline_componentStack_2318.return =
9095
9087
  workInProgress),
9096
- (JSCompiler_object_inline_stack_2324.return = workInProgress),
9097
- (JSCompiler_object_inline_stack_2324.sibling =
9098
- JSCompiler_object_inline_componentStack_2325),
9099
- (workInProgress.child = JSCompiler_object_inline_stack_2324),
9100
- (JSCompiler_object_inline_stack_2324 =
9101
- JSCompiler_object_inline_componentStack_2325),
9102
- (JSCompiler_object_inline_componentStack_2325 = workInProgress.child),
9103
- (JSCompiler_object_inline_message_2322 = current.child.memoizedState),
9104
- null === JSCompiler_object_inline_message_2322
9105
- ? (JSCompiler_object_inline_message_2322 =
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 =
9106
9098
  mountSuspenseOffscreenState(renderLanes))
9107
9099
  : ((JSCompiler_temp =
9108
- JSCompiler_object_inline_message_2322.cachePool),
9100
+ JSCompiler_object_inline_message_2315.cachePool),
9109
9101
  null !== JSCompiler_temp
9110
9102
  ? ((instance = CacheContext._currentValue),
9111
9103
  (JSCompiler_temp =
@@ -9113,37 +9105,37 @@
9113
9105
  ? { parent: instance, pool: instance }
9114
9106
  : JSCompiler_temp))
9115
9107
  : (JSCompiler_temp = getSuspendedCache()),
9116
- (JSCompiler_object_inline_message_2322 = {
9108
+ (JSCompiler_object_inline_message_2315 = {
9117
9109
  baseLanes:
9118
- JSCompiler_object_inline_message_2322.baseLanes | renderLanes,
9110
+ JSCompiler_object_inline_message_2315.baseLanes | renderLanes,
9119
9111
  cachePool: JSCompiler_temp
9120
9112
  })),
9121
- (JSCompiler_object_inline_componentStack_2325.memoizedState =
9122
- JSCompiler_object_inline_message_2322),
9123
- (JSCompiler_object_inline_componentStack_2325.childLanes =
9113
+ (JSCompiler_object_inline_componentStack_2318.memoizedState =
9114
+ JSCompiler_object_inline_message_2315),
9115
+ (JSCompiler_object_inline_componentStack_2318.childLanes =
9124
9116
  getRemainingWorkInPrimaryTree(
9125
9117
  current,
9126
- JSCompiler_object_inline_digest_2323,
9118
+ JSCompiler_object_inline_digest_2316,
9127
9119
  renderLanes
9128
9120
  )),
9129
9121
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9130
- JSCompiler_object_inline_stack_2324
9122
+ JSCompiler_object_inline_stack_2317
9131
9123
  );
9132
9124
  pushPrimaryTreeSuspenseHandler(workInProgress);
9133
9125
  renderLanes = current.child;
9134
9126
  current = renderLanes.sibling;
9135
9127
  renderLanes = createWorkInProgress(renderLanes, {
9136
9128
  mode: "visible",
9137
- children: JSCompiler_object_inline_stack_2324.children
9129
+ children: JSCompiler_object_inline_stack_2317.children
9138
9130
  });
9139
9131
  renderLanes.return = workInProgress;
9140
9132
  renderLanes.sibling = null;
9141
9133
  null !== current &&
9142
- ((JSCompiler_object_inline_digest_2323 = workInProgress.deletions),
9143
- null === JSCompiler_object_inline_digest_2323
9134
+ ((JSCompiler_object_inline_digest_2316 = workInProgress.deletions),
9135
+ null === JSCompiler_object_inline_digest_2316
9144
9136
  ? ((workInProgress.deletions = [current]),
9145
9137
  (workInProgress.flags |= 16))
9146
- : JSCompiler_object_inline_digest_2323.push(current));
9138
+ : JSCompiler_object_inline_digest_2316.push(current));
9147
9139
  workInProgress.child = renderLanes;
9148
9140
  workInProgress.memoizedState = null;
9149
9141
  return renderLanes;
@@ -11567,6 +11559,16 @@
11567
11559
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
11568
11560
  flags & 4 &&
11569
11561
  commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
11562
+ flags & 64 &&
11563
+ ((finishedRoot = finishedWork.memoizedState),
11564
+ null !== finishedRoot &&
11565
+ ((finishedRoot = finishedRoot.dehydrated),
11566
+ null !== finishedRoot &&
11567
+ ((finishedWork = retryDehydratedSuspenseBoundary.bind(
11568
+ null,
11569
+ finishedWork
11570
+ )),
11571
+ registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
11570
11572
  break;
11571
11573
  case 22:
11572
11574
  prevProps =
@@ -19247,6 +19249,29 @@
19247
19249
  }
19248
19250
  return instance;
19249
19251
  }
19252
+ function isSuspenseInstanceFallback(instance) {
19253
+ return (
19254
+ instance.data === SUSPENSE_FALLBACK_START_DATA ||
19255
+ (instance.data === SUSPENSE_PENDING_START_DATA &&
19256
+ instance.ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE)
19257
+ );
19258
+ }
19259
+ function registerSuspenseInstanceRetry(instance, callback) {
19260
+ var ownerDocument = instance.ownerDocument;
19261
+ if (
19262
+ instance.data !== SUSPENSE_PENDING_START_DATA ||
19263
+ ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
19264
+ )
19265
+ callback();
19266
+ else {
19267
+ var listener = function () {
19268
+ callback();
19269
+ ownerDocument.removeEventListener("DOMContentLoaded", listener);
19270
+ };
19271
+ ownerDocument.addEventListener("DOMContentLoaded", listener);
19272
+ instance._reactRetry = listener;
19273
+ }
19274
+ }
19250
19275
  function getNextHydratable(node) {
19251
19276
  for (; null != node; node = node.nextSibling) {
19252
19277
  var nodeType = node.nodeType;
@@ -24101,6 +24126,7 @@
24101
24126
  SUSPENSE_FALLBACK_START_DATA = "$!",
24102
24127
  FORM_STATE_IS_MATCHING = "F!",
24103
24128
  FORM_STATE_IS_NOT_MATCHING = "F",
24129
+ DOCUMENT_READY_STATE_COMPLETE = "complete",
24104
24130
  STYLE = "style",
24105
24131
  HostContextNamespaceNone = 0,
24106
24132
  HostContextNamespaceSvg = 1,
@@ -24549,11 +24575,11 @@
24549
24575
  };
24550
24576
  (function () {
24551
24577
  var isomorphicReactPackageVersion = React.version;
24552
- if ("19.0.0-rc-1b1283ad-20241203" !== isomorphicReactPackageVersion)
24578
+ if ("19.0.0-rc-de68d2f4-20241204" !== isomorphicReactPackageVersion)
24553
24579
  throw Error(
24554
24580
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24555
24581
  (isomorphicReactPackageVersion +
24556
- "\n - react-dom: 19.0.0-rc-1b1283ad-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
24582
+ "\n - react-dom: 19.0.0-rc-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
24557
24583
  );
24558
24584
  })();
24559
24585
  ("function" === typeof Map &&
@@ -24590,11 +24616,11 @@
24590
24616
  !(function () {
24591
24617
  var internals = {
24592
24618
  bundleType: 1,
24593
- version: "19.0.0-rc-1b1283ad-20241203",
24619
+ version: "19.0.0-rc-de68d2f4-20241204",
24594
24620
  rendererPackageName: "react-dom",
24595
24621
  currentDispatcherRef: ReactSharedInternals,
24596
24622
  findFiberByHostInstance: getClosestInstanceFromNode,
24597
- reconcilerVersion: "19.0.0-rc-1b1283ad-20241203"
24623
+ reconcilerVersion: "19.0.0-rc-de68d2f4-20241204"
24598
24624
  };
24599
24625
  internals.overrideHookState = overrideHookState;
24600
24626
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24738,7 +24764,7 @@
24738
24764
  listenToAllSupportedEvents(container);
24739
24765
  return new ReactDOMHydrationRoot(initialChildren);
24740
24766
  };
24741
- exports.version = "19.0.0-rc-1b1283ad-20241203";
24767
+ exports.version = "19.0.0-rc-de68d2f4-20241204";
24742
24768
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
24743
24769
  "function" ===
24744
24770
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&