react-markup 0.0.0-experimental-ef979d47-20241218 → 0.0.0-experimental-65e06cb7-20241218

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.
@@ -179,6 +179,14 @@
179
179
  suspendedThenable$1 = null;
180
180
  return thenable;
181
181
  }
182
+ function prepareToUseHooksForComponent(
183
+ prevThenableState,
184
+ componentDebugInfo
185
+ ) {
186
+ thenableIndexCounter$1 = 0;
187
+ thenableState$1 = prevThenableState;
188
+ currentComponentDebugInfo = componentDebugInfo;
189
+ }
182
190
  function getThenableStateAfterSuspending$1() {
183
191
  var state = thenableState$1 || [];
184
192
  state._componentDebugInfo = currentComponentDebugInfo;
@@ -823,10 +831,8 @@
823
831
  ? defaultFilterStackFrame
824
832
  : filterStackFrame;
825
833
  this.didWarnForKey = null;
826
- type = this.timeOrigin = performance.now();
827
- emitTimeOriginChunk(this, type + performance.timeOrigin);
828
- model = createTask(this, model, null, !1, abortSet, null, null, null);
829
- pingedTasks.push(model);
834
+ type = createTask(this, model, null, !1, abortSet, null, null, null);
835
+ pingedTasks.push(type);
830
836
  }
831
837
  function noop$3() {}
832
838
  function serializeThenable(request, task, thenable) {
@@ -850,7 +856,21 @@
850
856
  newTask.id
851
857
  );
852
858
  case "rejected":
853
- return erroredTask$1(request, newTask, thenable.reason), newTask.id;
859
+ task = thenable.reason;
860
+ if (
861
+ "object" === typeof task &&
862
+ null !== task &&
863
+ task.$$typeof === REACT_POSTPONE_TYPE
864
+ )
865
+ logPostpone$1(request, task.message, newTask),
866
+ emitPostponeChunk(request, newTask.id, task);
867
+ else {
868
+ var digest = logRecoverableError$1(request, task, null);
869
+ emitErrorChunk(request, newTask.id, digest, task);
870
+ }
871
+ newTask.status = ERRORED$2;
872
+ request.abortableTasks.delete(newTask);
873
+ return newTask.id;
854
874
  default:
855
875
  if (request.status === ABORTING$1)
856
876
  return (
@@ -882,11 +902,24 @@
882
902
  pingTask$1(request, newTask);
883
903
  },
884
904
  function (reason) {
885
- newTask.status === PENDING$3 &&
886
- (erroredTask$1(request, newTask, reason), enqueueFlush(request));
905
+ if (newTask.status === PENDING$3) {
906
+ if (
907
+ "object" === typeof reason &&
908
+ null !== reason &&
909
+ reason.$$typeof === REACT_POSTPONE_TYPE
910
+ )
911
+ logPostpone$1(request, reason.message, newTask),
912
+ emitPostponeChunk(request, newTask.id, reason);
913
+ else {
914
+ var _digest = logRecoverableError$1(request, reason, newTask);
915
+ emitErrorChunk(request, newTask.id, _digest, reason);
916
+ }
917
+ newTask.status = ERRORED$2;
918
+ request.abortableTasks.delete(newTask);
919
+ enqueueFlush(request);
920
+ }
887
921
  }
888
922
  );
889
- newTask.timed = !0;
890
923
  return newTask.id;
891
924
  }
892
925
  function serializeReadableStream(request, task, stream) {
@@ -910,22 +943,38 @@
910
943
  }
911
944
  }
912
945
  function error(reason) {
913
- aborted ||
914
- ((aborted = !0),
915
- request.abortListeners.delete(abortStream),
916
- erroredTask$1(request, streamTask, reason),
917
- enqueueFlush(request),
918
- reader.cancel(reason).then(error, error));
946
+ if (!aborted) {
947
+ aborted = !0;
948
+ request.abortListeners.delete(abortStream);
949
+ var digest = logRecoverableError$1(request, reason, streamTask);
950
+ emitErrorChunk(request, streamTask.id, digest, reason);
951
+ enqueueFlush(request);
952
+ reader.cancel(reason).then(error, error);
953
+ }
919
954
  }
920
955
  function abortStream(reason) {
921
- aborted ||
922
- ((aborted = !0),
923
- request.abortListeners.delete(abortStream),
924
- request.type === PRERENDER
925
- ? request.pendingChunks--
926
- : (erroredTask$1(request, streamTask, reason),
927
- enqueueFlush(request)),
928
- reader.cancel(reason).then(error, error));
956
+ if (!aborted) {
957
+ aborted = !0;
958
+ request.abortListeners.delete(abortStream);
959
+ if (
960
+ "object" === typeof reason &&
961
+ null !== reason &&
962
+ reason.$$typeof === REACT_POSTPONE_TYPE
963
+ )
964
+ logPostpone$1(request, reason.message, streamTask),
965
+ request.type === PRERENDER
966
+ ? request.pendingChunks--
967
+ : (emitPostponeChunk(request, streamTask.id, reason),
968
+ enqueueFlush(request));
969
+ else {
970
+ var digest = logRecoverableError$1(request, reason, streamTask);
971
+ request.type === PRERENDER
972
+ ? request.pendingChunks--
973
+ : (emitErrorChunk(request, streamTask.id, digest, reason),
974
+ enqueueFlush(request));
975
+ }
976
+ reader.cancel(reason).then(error, error);
977
+ }
929
978
  }
930
979
  var supportsBYOB = stream.supportsBYOB;
931
980
  if (void 0 === supportsBYOB)
@@ -989,24 +1038,40 @@
989
1038
  }
990
1039
  }
991
1040
  function error(reason) {
992
- aborted ||
993
- ((aborted = !0),
994
- request.abortListeners.delete(abortIterable),
995
- erroredTask$1(request, streamTask, reason),
996
- enqueueFlush(request),
1041
+ if (!aborted) {
1042
+ aborted = !0;
1043
+ request.abortListeners.delete(abortIterable);
1044
+ var digest = logRecoverableError$1(request, reason, streamTask);
1045
+ emitErrorChunk(request, streamTask.id, digest, reason);
1046
+ enqueueFlush(request);
997
1047
  "function" === typeof iterator.throw &&
998
- iterator.throw(reason).then(error, error));
1048
+ iterator.throw(reason).then(error, error);
1049
+ }
999
1050
  }
1000
1051
  function abortIterable(reason) {
1001
- aborted ||
1002
- ((aborted = !0),
1003
- request.abortListeners.delete(abortIterable),
1004
- request.type === PRERENDER
1005
- ? request.pendingChunks--
1006
- : (erroredTask$1(request, streamTask, reason),
1007
- enqueueFlush(request)),
1052
+ if (!aborted) {
1053
+ aborted = !0;
1054
+ request.abortListeners.delete(abortIterable);
1055
+ if (
1056
+ "object" === typeof reason &&
1057
+ null !== reason &&
1058
+ reason.$$typeof === REACT_POSTPONE_TYPE
1059
+ )
1060
+ logPostpone$1(request, reason.message, streamTask),
1061
+ request.type === PRERENDER
1062
+ ? request.pendingChunks--
1063
+ : (emitPostponeChunk(request, streamTask.id, reason),
1064
+ enqueueFlush(request));
1065
+ else {
1066
+ var digest = logRecoverableError$1(request, reason, streamTask);
1067
+ request.type === PRERENDER
1068
+ ? request.pendingChunks--
1069
+ : (emitErrorChunk(request, streamTask.id, digest, reason),
1070
+ enqueueFlush(request));
1071
+ }
1008
1072
  "function" === typeof iterator.throw &&
1009
- iterator.throw(reason).then(error, error));
1073
+ iterator.throw(reason).then(error, error);
1074
+ }
1010
1075
  }
1011
1076
  var isIterator = iterable === iterator,
1012
1077
  streamTask = createTask(
@@ -1083,71 +1148,6 @@
1083
1148
  currentOwner = null;
1084
1149
  }
1085
1150
  }
1086
- function processServerComponentReturnValue(
1087
- request,
1088
- task,
1089
- Component,
1090
- result
1091
- ) {
1092
- if (
1093
- "object" !== typeof result ||
1094
- null === result ||
1095
- isClientReference(result)
1096
- )
1097
- return result;
1098
- if ("function" === typeof result.then)
1099
- return (
1100
- result.then(function (resolvedValue) {
1101
- "object" === typeof resolvedValue &&
1102
- null !== resolvedValue &&
1103
- resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1104
- (resolvedValue._store.validated = 1);
1105
- }, voidHandler),
1106
- "fulfilled" === result.status
1107
- ? result.value
1108
- : createLazyWrapperAroundWakeable(result)
1109
- );
1110
- result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
1111
- var iteratorFn = getIteratorFn(result);
1112
- if (iteratorFn) {
1113
- var multiShot = _defineProperty({}, Symbol.iterator, function () {
1114
- var iterator = iteratorFn.call(result);
1115
- iterator !== result ||
1116
- ("[object GeneratorFunction]" ===
1117
- Object.prototype.toString.call(Component) &&
1118
- "[object Generator]" ===
1119
- Object.prototype.toString.call(result)) ||
1120
- callWithDebugContextInDEV(request, task, function () {
1121
- console.error(
1122
- "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. "
1123
- );
1124
- });
1125
- return iterator;
1126
- });
1127
- multiShot._debugInfo = result._debugInfo;
1128
- return multiShot;
1129
- }
1130
- return "function" !== typeof result[ASYNC_ITERATOR] ||
1131
- ("function" === typeof ReadableStream &&
1132
- result instanceof ReadableStream)
1133
- ? result
1134
- : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () {
1135
- var iterator = result[ASYNC_ITERATOR]();
1136
- iterator !== result ||
1137
- ("[object AsyncGeneratorFunction]" ===
1138
- Object.prototype.toString.call(Component) &&
1139
- "[object AsyncGenerator]" ===
1140
- Object.prototype.toString.call(result)) ||
1141
- callWithDebugContextInDEV(request, task, function () {
1142
- console.error(
1143
- "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. "
1144
- );
1145
- });
1146
- return iterator;
1147
- })),
1148
- (multiShot._debugInfo = result._debugInfo),
1149
- multiShot);
1150
- }
1151
1151
  function renderFunctionComponent$1(
1152
1152
  request,
1153
1153
  task,
@@ -1180,16 +1180,12 @@
1180
1180
  componentDebugInfo.debugStack = task.debugStack;
1181
1181
  componentDebugInfo.debugTask = task.debugTask;
1182
1182
  outlineComponentInfo(request, componentDebugInfo);
1183
- task.timed = !0;
1184
- emitTimingChunk(request, componentDebugID, performance.now());
1185
1183
  emitDebugChunk(request, componentDebugID, componentDebugInfo);
1186
1184
  task.environmentName = componentEnv;
1187
1185
  2 === validated &&
1188
1186
  warnForMissingKey$1(request, key, componentDebugInfo, task.debugTask);
1189
1187
  }
1190
- thenableIndexCounter$1 = 0;
1191
- thenableState$1 = prevThenableState;
1192
- currentComponentDebugInfo = componentDebugInfo;
1188
+ prepareToUseHooksForComponent(prevThenableState, componentDebugInfo);
1193
1189
  props = task.debugTask
1194
1190
  ? task.debugTask.run(
1195
1191
  callComponentInDEV$1.bind(
@@ -1209,21 +1205,74 @@
1209
1205
  props.then(voidHandler, voidHandler),
1210
1206
  null)
1211
1207
  );
1212
- props = processServerComponentReturnValue(
1213
- request,
1214
- task,
1215
- Component,
1216
- props
1217
- );
1218
- Component = task.keyPath;
1219
- validated = task.implicitSlot;
1208
+ if (
1209
+ "object" === typeof props &&
1210
+ null !== props &&
1211
+ !isClientReference(props)
1212
+ ) {
1213
+ if ("function" === typeof props.then) {
1214
+ validated = props;
1215
+ validated.then(function (resolvedValue) {
1216
+ "object" === typeof resolvedValue &&
1217
+ null !== resolvedValue &&
1218
+ resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1219
+ (resolvedValue._store.validated = 1);
1220
+ }, voidHandler);
1221
+ if ("fulfilled" === validated.status) return validated.value;
1222
+ props = createLazyWrapperAroundWakeable(props);
1223
+ }
1224
+ var iteratorFn = getIteratorFn(props);
1225
+ if (iteratorFn) {
1226
+ var iterableChild = props;
1227
+ props = _defineProperty({}, Symbol.iterator, function () {
1228
+ var iterator = iteratorFn.call(iterableChild);
1229
+ iterator !== iterableChild ||
1230
+ ("[object GeneratorFunction]" ===
1231
+ Object.prototype.toString.call(Component) &&
1232
+ "[object Generator]" ===
1233
+ Object.prototype.toString.call(iterableChild)) ||
1234
+ callWithDebugContextInDEV(request, task, function () {
1235
+ console.error(
1236
+ "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. "
1237
+ );
1238
+ });
1239
+ return iterator;
1240
+ });
1241
+ props._debugInfo = iterableChild._debugInfo;
1242
+ } else if (
1243
+ "function" !== typeof props[ASYNC_ITERATOR] ||
1244
+ ("function" === typeof ReadableStream &&
1245
+ props instanceof ReadableStream)
1246
+ )
1247
+ props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1);
1248
+ else {
1249
+ var _iterableChild = props;
1250
+ props = _defineProperty({}, ASYNC_ITERATOR, function () {
1251
+ var iterator = _iterableChild[ASYNC_ITERATOR]();
1252
+ iterator !== _iterableChild ||
1253
+ ("[object AsyncGeneratorFunction]" ===
1254
+ Object.prototype.toString.call(Component) &&
1255
+ "[object AsyncGenerator]" ===
1256
+ Object.prototype.toString.call(_iterableChild)) ||
1257
+ callWithDebugContextInDEV(request, task, function () {
1258
+ console.error(
1259
+ "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. "
1260
+ );
1261
+ });
1262
+ return iterator;
1263
+ });
1264
+ props._debugInfo = _iterableChild._debugInfo;
1265
+ }
1266
+ }
1267
+ validated = task.keyPath;
1268
+ prevThenableState = task.implicitSlot;
1220
1269
  null !== key
1221
- ? (task.keyPath = null === Component ? key : Component + "," + key)
1222
- : null === Component && (task.implicitSlot = !0);
1223
- request = renderModelDestructive(request, task, emptyRoot, "", props);
1224
- task.keyPath = Component;
1225
- task.implicitSlot = validated;
1226
- return request;
1270
+ ? (task.keyPath = null === validated ? key : validated + "," + key)
1271
+ : null === validated && (task.implicitSlot = !0);
1272
+ key = renderModelDestructive(request, task, emptyRoot, "", props);
1273
+ task.keyPath = validated;
1274
+ task.implicitSlot = prevThenableState;
1275
+ return key;
1227
1276
  }
1228
1277
  function warnForMissingKey$1(request, key, componentDebugInfo, debugTask) {
1229
1278
  function logKeyError() {
@@ -1425,7 +1474,6 @@
1425
1474
  return task;
1426
1475
  }
1427
1476
  function pingTask$1(request, task) {
1428
- task.timed = !0;
1429
1477
  var pingedTasks = request.pingedTasks;
1430
1478
  pingedTasks.push(task);
1431
1479
  1 === pingedTasks.length &&
@@ -1484,8 +1532,7 @@
1484
1532
  });
1485
1533
  return renderModel(request, task, parent, parentPropertyName, value);
1486
1534
  },
1487
- thenableState: null,
1488
- timed: !1
1535
+ thenableState: null
1489
1536
  };
1490
1537
  task.environmentName = request.environmentName();
1491
1538
  task.debugOwner = debugOwner;
@@ -1569,21 +1616,38 @@
1569
1616
  );
1570
1617
  }
1571
1618
  function error(reason) {
1572
- aborted ||
1573
- ((aborted = !0),
1574
- request.abortListeners.delete(abortBlob),
1575
- erroredTask$1(request, newTask, reason),
1576
- enqueueFlush(request),
1577
- reader.cancel(reason).then(error, error));
1619
+ if (!aborted) {
1620
+ aborted = !0;
1621
+ request.abortListeners.delete(abortBlob);
1622
+ var digest = logRecoverableError$1(request, reason, newTask);
1623
+ emitErrorChunk(request, newTask.id, digest, reason);
1624
+ enqueueFlush(request);
1625
+ reader.cancel(reason).then(error, error);
1626
+ }
1578
1627
  }
1579
1628
  function abortBlob(reason) {
1580
- aborted ||
1581
- ((aborted = !0),
1582
- request.abortListeners.delete(abortBlob),
1583
- request.type === PRERENDER
1584
- ? request.pendingChunks--
1585
- : (erroredTask$1(request, newTask, reason), enqueueFlush(request)),
1586
- reader.cancel(reason).then(error, error));
1629
+ if (!aborted) {
1630
+ aborted = !0;
1631
+ request.abortListeners.delete(abortBlob);
1632
+ if (
1633
+ "object" === typeof reason &&
1634
+ null !== reason &&
1635
+ reason.$$typeof === REACT_POSTPONE_TYPE
1636
+ )
1637
+ logPostpone$1(request, reason.message, newTask),
1638
+ request.type === PRERENDER
1639
+ ? request.pendingChunks--
1640
+ : (emitPostponeChunk(request, newTask.id, reason),
1641
+ enqueueFlush(request));
1642
+ else {
1643
+ var digest = logRecoverableError$1(request, reason, newTask);
1644
+ request.type === PRERENDER
1645
+ ? request.pendingChunks--
1646
+ : (emitErrorChunk(request, newTask.id, digest, reason),
1647
+ enqueueFlush(request));
1648
+ }
1649
+ reader.cancel(reason).then(error, error);
1650
+ }
1587
1651
  }
1588
1652
  var model = [blob.type],
1589
1653
  newTask = createTask(
@@ -1631,42 +1695,45 @@
1631
1695
  thrownValue === SuspenseException$1
1632
1696
  ? getSuspendedThenable$1()
1633
1697
  : thrownValue;
1634
- if (
1635
- "object" === typeof key &&
1636
- null !== key &&
1637
- "function" === typeof key.then
1638
- )
1639
- return (
1640
- (request = createTask(
1641
- request,
1642
- task.model,
1643
- task.keyPath,
1644
- task.implicitSlot,
1645
- request.abortableTasks,
1646
- task.debugOwner,
1647
- task.debugStack,
1648
- task.debugTask
1649
- )),
1650
- (value = request.ping),
1651
- key.then(value, value),
1652
- (request.thenableState = getThenableStateAfterSuspending$1()),
1653
- (task.keyPath = prevKeyPath),
1654
- (task.implicitSlot = prevImplicitSlot),
1655
- parent
1656
- ? "$L" + request.id.toString(16)
1657
- : serializeByValueID$1(request.id)
1658
- );
1698
+ if ("object" === typeof key && null !== key) {
1699
+ if ("function" === typeof key.then)
1700
+ return (
1701
+ (request = createTask(
1702
+ request,
1703
+ task.model,
1704
+ task.keyPath,
1705
+ task.implicitSlot,
1706
+ request.abortableTasks,
1707
+ task.debugOwner,
1708
+ task.debugStack,
1709
+ task.debugTask
1710
+ )),
1711
+ (value = request.ping),
1712
+ key.then(value, value),
1713
+ (request.thenableState = getThenableStateAfterSuspending$1()),
1714
+ (task.keyPath = prevKeyPath),
1715
+ (task.implicitSlot = prevImplicitSlot),
1716
+ parent
1717
+ ? "$L" + request.id.toString(16)
1718
+ : serializeByValueID$1(request.id)
1719
+ );
1720
+ if (key.$$typeof === REACT_POSTPONE_TYPE)
1721
+ return (
1722
+ request.pendingChunks++,
1723
+ (value = request.nextChunkId++),
1724
+ logPostpone$1(request, key.message, task),
1725
+ emitPostponeChunk(request, value, key),
1726
+ (task.keyPath = prevKeyPath),
1727
+ (task.implicitSlot = prevImplicitSlot),
1728
+ parent ? "$L" + value.toString(16) : serializeByValueID$1(value)
1729
+ );
1730
+ }
1659
1731
  task.keyPath = prevKeyPath;
1660
1732
  task.implicitSlot = prevImplicitSlot;
1661
1733
  request.pendingChunks++;
1662
1734
  prevKeyPath = request.nextChunkId++;
1663
- "object" === typeof key &&
1664
- null !== key &&
1665
- key.$$typeof === REACT_POSTPONE_TYPE
1666
- ? (logPostpone$1(request, key.message, task),
1667
- emitPostponeChunk(request, prevKeyPath, key))
1668
- : ((task = logRecoverableError$1(request, key, task)),
1669
- emitErrorChunk(request, prevKeyPath, task, key));
1735
+ task = logRecoverableError$1(request, key, task);
1736
+ emitErrorChunk(request, prevKeyPath, task, key);
1670
1737
  return parent
1671
1738
  ? "$L" + prevKeyPath.toString(16)
1672
1739
  : serializeByValueID$1(prevKeyPath);
@@ -2413,24 +2480,12 @@
2413
2480
  }
2414
2481
  request.completedRegularChunks.push(":W" + json + "\n");
2415
2482
  }
2416
- function emitTimeOriginChunk(request, timeOrigin) {
2417
- request.pendingChunks++;
2418
- request.completedRegularChunks.push(":N" + timeOrigin + "\n");
2419
- }
2420
2483
  function forwardDebugInfo(request, id, debugInfo) {
2421
2484
  for (var i = 0; i < debugInfo.length; i++)
2422
- "number" === typeof debugInfo[i].time
2423
- ? emitTimingChunk(request, id, debugInfo[i].time)
2424
- : (request.pendingChunks++,
2425
- "string" === typeof debugInfo[i].name &&
2426
- outlineComponentInfo(request, debugInfo[i]),
2427
- emitDebugChunk(request, id, debugInfo[i]));
2428
- }
2429
- function emitTimingChunk(request, id, timestamp) {
2430
- request.pendingChunks++;
2431
- timestamp -= request.timeOrigin;
2432
- id = id.toString(16) + ':D{"time":' + timestamp + "}\n";
2433
- request.completedRegularChunks.push(id);
2485
+ request.pendingChunks++,
2486
+ "string" === typeof debugInfo[i].name &&
2487
+ outlineComponentInfo(request, debugInfo[i]),
2488
+ emitDebugChunk(request, id, debugInfo[i]);
2434
2489
  }
2435
2490
  function emitChunk(request, task, value) {
2436
2491
  var id = task.id;
@@ -2463,22 +2518,6 @@
2463
2518
  : ((value = stringify(value, task.toJSON)),
2464
2519
  emitModelChunk(request, task.id, value));
2465
2520
  }
2466
- function erroredTask$1(request, task, error) {
2467
- task.timed && emitTimingChunk(request, task.id, performance.now());
2468
- request.abortableTasks.delete(task);
2469
- task.status = ERRORED$2;
2470
- if (
2471
- "object" === typeof error &&
2472
- null !== error &&
2473
- error.$$typeof === REACT_POSTPONE_TYPE
2474
- )
2475
- logPostpone$1(request, error.message, task),
2476
- emitPostponeChunk(request, task.id, error);
2477
- else {
2478
- var digest = logRecoverableError$1(request, error, task);
2479
- emitErrorChunk(request, task.id, digest, error);
2480
- }
2481
- }
2482
2521
  function retryTask$1(request, task) {
2483
2522
  if (task.status === PENDING$3) {
2484
2523
  var prevDebugID = debugID;
@@ -2497,19 +2536,22 @@
2497
2536
  modelRoot = resolvedModel;
2498
2537
  task.keyPath = null;
2499
2538
  task.implicitSlot = !1;
2500
- var currentEnv = (0, request.environmentName)();
2501
- currentEnv !== task.environmentName &&
2502
- (request.pendingChunks++,
2503
- emitDebugChunk(request, task.id, { env: currentEnv }));
2504
- task.timed && emitTimingChunk(request, task.id, performance.now());
2505
- if ("object" === typeof resolvedModel && null !== resolvedModel)
2539
+ if ("object" === typeof resolvedModel && null !== resolvedModel) {
2506
2540
  request.writtenObjects.set(
2507
2541
  resolvedModel,
2508
2542
  serializeByValueID$1(task.id)
2509
- ),
2510
- emitChunk(request, task, resolvedModel);
2511
- else {
2512
- var json = stringify(resolvedModel);
2543
+ );
2544
+ var currentEnv = (0, request.environmentName)();
2545
+ currentEnv !== task.environmentName &&
2546
+ (request.pendingChunks++,
2547
+ emitDebugChunk(request, task.id, { env: currentEnv }));
2548
+ emitChunk(request, task, resolvedModel);
2549
+ } else {
2550
+ var json = stringify(resolvedModel),
2551
+ _currentEnv = (0, request.environmentName)();
2552
+ _currentEnv !== task.environmentName &&
2553
+ (request.pendingChunks++,
2554
+ emitDebugChunk(request, task.id, { env: _currentEnv }));
2513
2555
  emitModelChunk(request, task.id, json);
2514
2556
  }
2515
2557
  request.abortableTasks.delete(task);
@@ -2531,16 +2573,26 @@
2531
2573
  thrownValue === SuspenseException$1
2532
2574
  ? getSuspendedThenable$1()
2533
2575
  : thrownValue;
2534
- if (
2535
- "object" === typeof x &&
2536
- null !== x &&
2537
- "function" === typeof x.then
2538
- ) {
2539
- task.status = PENDING$3;
2540
- task.thenableState = getThenableStateAfterSuspending$1();
2541
- var ping = task.ping;
2542
- x.then(ping, ping);
2543
- } else erroredTask$1(request, task, x);
2576
+ if ("object" === typeof x && null !== x) {
2577
+ if ("function" === typeof x.then) {
2578
+ task.status = PENDING$3;
2579
+ task.thenableState = getThenableStateAfterSuspending$1();
2580
+ var ping = task.ping;
2581
+ x.then(ping, ping);
2582
+ return;
2583
+ }
2584
+ if (x.$$typeof === REACT_POSTPONE_TYPE) {
2585
+ request.abortableTasks.delete(task);
2586
+ task.status = ERRORED$2;
2587
+ logPostpone$1(request, x.message, task);
2588
+ emitPostponeChunk(request, task.id, x);
2589
+ return;
2590
+ }
2591
+ }
2592
+ request.abortableTasks.delete(task);
2593
+ task.status = ERRORED$2;
2594
+ var digest = logRecoverableError$1(request, x, task);
2595
+ emitErrorChunk(request, task.id, digest, x);
2544
2596
  }
2545
2597
  } finally {
2546
2598
  debugID = prevDebugID;
@@ -2585,7 +2637,6 @@
2585
2637
  function abortTask$1(task, request, errorId) {
2586
2638
  task.status !== RENDERING$1 &&
2587
2639
  ((task.status = ABORTED$1),
2588
- task.timed && emitTimingChunk(request, task.id, performance.now()),
2589
2640
  (errorId = serializeByValueID$1(errorId)),
2590
2641
  (task = encodeReferenceChunk(request, task.id, errorId)),
2591
2642
  request.completedErrorChunks.push(task));
@@ -2670,25 +2721,29 @@
2670
2721
  11 >= request.status && (request.status = ABORTING$1);
2671
2722
  var abortableTasks = request.abortableTasks;
2672
2723
  if (0 < abortableTasks.size) {
2673
- if (request.type === PRERENDER)
2674
- abortableTasks.forEach(function (task) {
2675
- task.status !== RENDERING$1 &&
2676
- ((task.status = ABORTED$1), request.pendingChunks--);
2677
- });
2678
- else if (
2724
+ if (
2679
2725
  "object" === typeof reason &&
2680
2726
  null !== reason &&
2681
2727
  reason.$$typeof === REACT_POSTPONE_TYPE
2682
- ) {
2683
- logPostpone$1(request, reason.message, null);
2684
- var errorId = request.nextChunkId++;
2685
- request.fatalError = errorId;
2686
- request.pendingChunks++;
2687
- emitPostponeChunk(request, errorId, reason);
2688
- abortableTasks.forEach(function (task) {
2689
- return abortTask$1(task, request, errorId);
2690
- });
2691
- } else {
2728
+ )
2729
+ if (
2730
+ (logPostpone$1(request, reason.message, null),
2731
+ request.type === PRERENDER)
2732
+ )
2733
+ abortableTasks.forEach(function (task) {
2734
+ task.status !== RENDERING$1 &&
2735
+ ((task.status = ABORTED$1), request.pendingChunks--);
2736
+ });
2737
+ else {
2738
+ var errorId = request.nextChunkId++;
2739
+ request.fatalError = errorId;
2740
+ request.pendingChunks++;
2741
+ emitPostponeChunk(request, errorId, reason);
2742
+ abortableTasks.forEach(function (task) {
2743
+ return abortTask$1(task, request, errorId);
2744
+ });
2745
+ }
2746
+ else {
2692
2747
  var error =
2693
2748
  void 0 === reason
2694
2749
  ? Error(
@@ -2701,14 +2756,21 @@
2701
2756
  "The render was aborted by the server with a promise."
2702
2757
  )
2703
2758
  : reason,
2704
- digest = logRecoverableError$1(request, error, null),
2705
- _errorId2 = request.nextChunkId++;
2706
- request.fatalError = _errorId2;
2707
- request.pendingChunks++;
2708
- emitErrorChunk(request, _errorId2, digest, error);
2709
- abortableTasks.forEach(function (task) {
2710
- return abortTask$1(task, request, _errorId2);
2711
- });
2759
+ digest = logRecoverableError$1(request, error, null);
2760
+ if (request.type === PRERENDER)
2761
+ abortableTasks.forEach(function (task) {
2762
+ task.status !== RENDERING$1 &&
2763
+ ((task.status = ABORTED$1), request.pendingChunks--);
2764
+ });
2765
+ else {
2766
+ var _errorId2 = request.nextChunkId++;
2767
+ request.fatalError = _errorId2;
2768
+ request.pendingChunks++;
2769
+ emitErrorChunk(request, _errorId2, digest, error);
2770
+ abortableTasks.forEach(function (task) {
2771
+ return abortTask$1(task, request, _errorId2);
2772
+ });
2773
+ }
2712
2774
  }
2713
2775
  abortableTasks.clear();
2714
2776
  var onAllReady = request.onAllReady;
@@ -3477,7 +3539,6 @@
3477
3539
  this.value = value;
3478
3540
  this.reason = reason;
3479
3541
  this._response = response;
3480
- this._children = [];
3481
3542
  this._debugInfo = null;
3482
3543
  }
3483
3544
  function readChunk(chunk) {
@@ -3570,14 +3631,12 @@
3570
3631
  }
3571
3632
  }
3572
3633
  function initializeModelChunk(chunk) {
3573
- var prevHandler = initializingHandler,
3574
- prevChunk = initializingChunk;
3634
+ var prevHandler = initializingHandler;
3575
3635
  initializingHandler = null;
3576
3636
  var resolvedModel = chunk.value;
3577
3637
  chunk.status = "blocked";
3578
3638
  chunk.value = null;
3579
3639
  chunk.reason = null;
3580
- initializingChunk = chunk;
3581
3640
  try {
3582
3641
  var value = JSON.parse(resolvedModel, chunk._response._fromJSON),
3583
3642
  resolveListeners = chunk.value;
@@ -3598,7 +3657,7 @@
3598
3657
  } catch (error) {
3599
3658
  (chunk.status = "rejected"), (chunk.reason = error);
3600
3659
  } finally {
3601
- (initializingHandler = prevHandler), (initializingChunk = prevChunk);
3660
+ initializingHandler = prevHandler;
3602
3661
  }
3603
3662
  }
3604
3663
  function initializeModuleChunk(chunk) {
@@ -3614,15 +3673,6 @@
3614
3673
  response._chunks.forEach(function (chunk) {
3615
3674
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
3616
3675
  });
3617
- supportsUserTiming &&
3618
- performance.mark("Server Components Track", componentsTrackMarker);
3619
- flushComponentPerformance(
3620
- response,
3621
- getChunk(response, 0),
3622
- 0,
3623
- -Infinity,
3624
- -Infinity
3625
- );
3626
3676
  }
3627
3677
  function nullRefGetter() {
3628
3678
  return null;
@@ -3763,9 +3813,6 @@
3763
3813
  reference = reference.split(":");
3764
3814
  var id = parseInt(reference[0], 16);
3765
3815
  id = getChunk(response, id);
3766
- null !== initializingChunk &&
3767
- isArrayImpl(initializingChunk._children) &&
3768
- initializingChunk._children.push(id);
3769
3816
  switch (id.status) {
3770
3817
  case "resolved_model":
3771
3818
  initializeModelChunk(id);
@@ -3874,19 +3921,12 @@
3874
3921
  return (
3875
3922
  (parentObject = parseInt(value.slice(2), 16)),
3876
3923
  (response = getChunk(response, parentObject)),
3877
- null !== initializingChunk &&
3878
- isArrayImpl(initializingChunk._children) &&
3879
- initializingChunk._children.push(response),
3880
3924
  createLazyChunkWrapper(response)
3881
3925
  );
3882
3926
  case "@":
3883
3927
  if (2 === value.length) return new Promise(function () {});
3884
3928
  parentObject = parseInt(value.slice(2), 16);
3885
- response = getChunk(response, parentObject);
3886
- null !== initializingChunk &&
3887
- isArrayImpl(initializingChunk._children) &&
3888
- initializingChunk._children.push(response);
3889
- return response;
3929
+ return getChunk(response, parentObject);
3890
3930
  case "S":
3891
3931
  return Symbol.for(value.slice(2));
3892
3932
  case "F":
@@ -4023,7 +4063,6 @@
4023
4063
  this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
4024
4064
  this._buffer = [];
4025
4065
  this._tempRefs = temporaryReferences;
4026
- this._timeOrigin = 0;
4027
4066
  this._debugRootOwner = bundlerConfig =
4028
4067
  void 0 === ReactSharedInteralsServer ||
4029
4068
  null === ReactSharedInteralsServer.A
@@ -4440,20 +4479,15 @@
4440
4479
  initializeFakeStack(response, debugInfo.owner));
4441
4480
  }
4442
4481
  function resolveDebugInfo(response, id, debugInfo) {
4443
- var env =
4444
- void 0 === debugInfo.env
4445
- ? response._rootEnvironmentName
4446
- : debugInfo.env;
4447
- void 0 !== debugInfo.stack &&
4448
- initializeFakeTask(response, debugInfo, env);
4482
+ initializeFakeTask(
4483
+ response,
4484
+ debugInfo,
4485
+ void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env
4486
+ );
4449
4487
  null === debugInfo.owner && null != response._debugRootOwner
4450
- ? ((env = debugInfo),
4451
- (env.owner = response._debugRootOwner),
4452
- (env.debugStack = response._debugRootStack))
4453
- : void 0 !== debugInfo.stack &&
4454
- initializeFakeStack(response, debugInfo);
4455
- "number" === typeof debugInfo.time &&
4456
- (debugInfo = { time: debugInfo.time + response._timeOrigin });
4488
+ ? ((debugInfo.owner = response._debugRootOwner),
4489
+ (debugInfo.debugStack = response._debugRootStack))
4490
+ : initializeFakeStack(response, debugInfo);
4457
4491
  response = getChunk(response, id);
4458
4492
  (response._debugInfo || (response._debugInfo = [])).push(debugInfo);
4459
4493
  }
@@ -4479,134 +4513,6 @@
4479
4513
  );
4480
4514
  }
4481
4515
  }
4482
- function flushComponentPerformance(
4483
- response,
4484
- root,
4485
- trackIdx$jscomp$0,
4486
- trackTime,
4487
- parentEndTime
4488
- ) {
4489
- if (!isArrayImpl(root._children)) {
4490
- response = root._children;
4491
- var previousEndTime = response.endTime;
4492
- if (
4493
- -Infinity < parentEndTime &&
4494
- parentEndTime < previousEndTime &&
4495
- null !== response.component
4496
- ) {
4497
- var trackIdx = trackIdx$jscomp$0;
4498
- root = parentEndTime;
4499
- supportsUserTiming &&
4500
- 0 <= previousEndTime &&
4501
- 10 > trackIdx &&
4502
- ((parentEndTime = response.component.name),
4503
- (reusableComponentDevToolDetails.color = "tertiary-light"),
4504
- (reusableComponentDevToolDetails.track = trackNames[trackIdx]),
4505
- (reusableComponentOptions.start = 0 > root ? 0 : root),
4506
- (reusableComponentOptions.end = previousEndTime),
4507
- performance.measure(
4508
- parentEndTime + " [deduped]",
4509
- reusableComponentOptions
4510
- ));
4511
- }
4512
- response.track = trackIdx$jscomp$0;
4513
- return response;
4514
- }
4515
- var children = root._children;
4516
- "resolved_model" === root.status && initializeModelChunk(root);
4517
- if ((previousEndTime = root._debugInfo)) {
4518
- for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++)
4519
- if ("string" === typeof previousEndTime[trackIdx].name) {
4520
- var startTimeInfo = previousEndTime[trackIdx - 1];
4521
- if ("number" === typeof startTimeInfo.time) {
4522
- trackIdx = startTimeInfo.time;
4523
- trackIdx < trackTime && trackIdx$jscomp$0++;
4524
- trackTime = trackIdx;
4525
- break;
4526
- }
4527
- }
4528
- for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--)
4529
- (startTimeInfo = previousEndTime[trackIdx]),
4530
- "number" === typeof startTimeInfo.time &&
4531
- startTimeInfo.time > parentEndTime &&
4532
- (parentEndTime = startTimeInfo.time);
4533
- }
4534
- trackIdx = {
4535
- track: trackIdx$jscomp$0,
4536
- endTime: -Infinity,
4537
- component: null
4538
- };
4539
- root._children = trackIdx;
4540
- root = -Infinity;
4541
- startTimeInfo = trackIdx$jscomp$0;
4542
- var childTrackTime = trackTime;
4543
- for (trackTime = 0; trackTime < children.length; trackTime++) {
4544
- childTrackTime = flushComponentPerformance(
4545
- response,
4546
- children[trackTime],
4547
- startTimeInfo,
4548
- childTrackTime,
4549
- parentEndTime
4550
- );
4551
- null !== childTrackTime.component &&
4552
- (trackIdx.component = childTrackTime.component);
4553
- startTimeInfo = childTrackTime.track;
4554
- var childEndTime = childTrackTime.endTime;
4555
- childTrackTime = childEndTime;
4556
- childEndTime > root && (root = childEndTime);
4557
- }
4558
- if (previousEndTime)
4559
- for (
4560
- parentEndTime = 0, children = previousEndTime.length - 1;
4561
- 0 <= children;
4562
- children--
4563
- )
4564
- if (
4565
- ((trackTime = previousEndTime[children]),
4566
- "number" === typeof trackTime.time &&
4567
- ((parentEndTime = trackTime.time),
4568
- parentEndTime > root && (root = parentEndTime)),
4569
- "string" === typeof trackTime.name &&
4570
- 0 < children &&
4571
- ((childTrackTime = previousEndTime[children - 1]),
4572
- "number" === typeof childTrackTime.time))
4573
- ) {
4574
- startTimeInfo = trackIdx$jscomp$0;
4575
- childTrackTime = childTrackTime.time;
4576
- childEndTime = root;
4577
- if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) {
4578
- var env = trackTime.env,
4579
- name = trackTime.name,
4580
- isPrimaryEnv = env === response._rootEnvironmentName,
4581
- selfTime = parentEndTime - childTrackTime;
4582
- reusableComponentDevToolDetails.color =
4583
- 0.5 > selfTime
4584
- ? isPrimaryEnv
4585
- ? "primary-light"
4586
- : "secondary-light"
4587
- : 50 > selfTime
4588
- ? isPrimaryEnv
4589
- ? "primary"
4590
- : "secondary"
4591
- : 500 > selfTime
4592
- ? isPrimaryEnv
4593
- ? "primary-dark"
4594
- : "secondary-dark"
4595
- : "error";
4596
- reusableComponentDevToolDetails.track = trackNames[startTimeInfo];
4597
- reusableComponentOptions.start =
4598
- 0 > childTrackTime ? 0 : childTrackTime;
4599
- reusableComponentOptions.end = childEndTime;
4600
- performance.measure(
4601
- isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]",
4602
- reusableComponentOptions
4603
- );
4604
- }
4605
- trackIdx.component = trackTime;
4606
- }
4607
- trackIdx.endTime = root;
4608
- return trackIdx;
4609
- }
4610
4516
  function processFullStringRow(response, id, tag, row) {
4611
4517
  switch (tag) {
4612
4518
  case 73:
@@ -4628,9 +4534,6 @@
4628
4534
  case 84:
4629
4535
  resolveText(response, id, row);
4630
4536
  break;
4631
- case 78:
4632
- response._timeOrigin = +row - performance.timeOrigin;
4633
- break;
4634
4537
  case 68:
4635
4538
  tag = new ReactPromise("resolved_model", row, null, response);
4636
4539
  initializeModelChunk(tag);
@@ -6830,7 +6733,7 @@
6830
6733
  : children$jscomp$6;
6831
6734
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
6832
6735
  ? console.error(
6833
- "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
6736
+ "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
6834
6737
  children$jscomp$6.length
6835
6738
  )
6836
6739
  : "function" === typeof child || "symbol" === typeof child
@@ -8390,7 +8293,7 @@
8390
8293
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
8391
8294
  if ("function" === typeof type)
8392
8295
  return type.prototype && type.prototype.isReactComponent
8393
- ? describeNativeComponentFrame(type, !0)
8296
+ ? ((type = describeNativeComponentFrame(type, !0)), type)
8394
8297
  : describeNativeComponentFrame(type, !1);
8395
8298
  if ("object" === typeof type && null !== type) {
8396
8299
  switch (type.$$typeof) {
@@ -9442,6 +9345,7 @@
9442
9345
  } else {
9443
9346
  switch (type) {
9444
9347
  case REACT_LEGACY_HIDDEN_TYPE:
9348
+ case REACT_DEBUG_TRACING_MODE_TYPE:
9445
9349
  case REACT_STRICT_MODE_TYPE:
9446
9350
  case REACT_PROFILER_TYPE:
9447
9351
  case REACT_FRAGMENT_TYPE:
@@ -11855,6 +11759,7 @@
11855
11759
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
11856
11760
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
11857
11761
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
11762
+ REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
11858
11763
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
11859
11764
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
11860
11765
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
@@ -11900,10 +11805,6 @@
11900
11805
  ":"
11901
11806
  );
11902
11807
  },
11903
- useHostTransitionStatus: unsupportedHook,
11904
- useOptimistic: unsupportedHook,
11905
- useFormState: unsupportedHook,
11906
- useActionState: unsupportedHook,
11907
11808
  useSyncExternalStore: unsupportedHook,
11908
11809
  useCacheRefresh: function () {
11909
11810
  return unsupportedRefresh$1;
@@ -12051,33 +11952,6 @@
12051
11952
  fakeServerFunctionIdx = 0,
12052
11953
  FunctionBind = Function.prototype.bind,
12053
11954
  ArraySlice = Array.prototype.slice,
12054
- supportsUserTiming =
12055
- "undefined" !== typeof performance &&
12056
- "function" === typeof performance.measure,
12057
- componentsTrackMarker = {
12058
- startTime: 0.001,
12059
- detail: {
12060
- devtools: {
12061
- color: "primary-light",
12062
- track: "Primary",
12063
- trackGroup: "Server Components \u269b"
12064
- }
12065
- }
12066
- },
12067
- reusableComponentDevToolDetails = {
12068
- color: "primary",
12069
- track: "",
12070
- trackGroup: "Server Components \u269b"
12071
- },
12072
- reusableComponentOptions = {
12073
- start: -0,
12074
- end: -0,
12075
- detail: { devtools: reusableComponentDevToolDetails }
12076
- },
12077
- trackNames =
12078
- "Primary Parallel Parallel\u200b Parallel\u200b\u200b Parallel\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b".split(
12079
- " "
12080
- ),
12081
11955
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
12082
11956
  ReactSharedInteralsServer =
12083
11957
  React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -12111,7 +11985,6 @@
12111
11985
  }
12112
11986
  };
12113
11987
  var initializingHandler = null,
12114
- initializingChunk = null,
12115
11988
  supportsCreateTask = !!console.createTask,
12116
11989
  fakeFunctionCache = new Map(),
12117
11990
  fakeFunctionIdx = 0,
@@ -13023,29 +12896,29 @@
13023
12896
  return treeId + ":";
13024
12897
  },
13025
12898
  useSyncExternalStore: clientHookNotSupported,
13026
- useOptimistic: function (passthrough) {
13027
- resolveCurrentlyRenderingComponent();
13028
- return [passthrough, unsupportedSetOptimisticState];
12899
+ useCacheRefresh: function () {
12900
+ return unsupportedRefresh;
13029
12901
  },
13030
- useActionState: useActionState,
13031
- useFormState: useActionState,
13032
- useHostTransitionStatus: function () {
13033
- resolveCurrentlyRenderingComponent();
13034
- return NotPending;
12902
+ useEffectEvent: function () {
12903
+ return throwOnUseEffectEventCall;
13035
12904
  },
13036
12905
  useMemoCache: function (size) {
13037
12906
  for (var data = Array(size), i = 0; i < size; i++)
13038
12907
  data[i] = REACT_MEMO_CACHE_SENTINEL;
13039
12908
  return data;
13040
12909
  },
13041
- useCacheRefresh: function () {
13042
- return unsupportedRefresh;
12910
+ useHostTransitionStatus: function () {
12911
+ resolveCurrentlyRenderingComponent();
12912
+ return NotPending;
13043
12913
  },
13044
- useEffectEvent: function () {
13045
- return throwOnUseEffectEventCall;
12914
+ useOptimistic: function (passthrough) {
12915
+ resolveCurrentlyRenderingComponent();
12916
+ return [passthrough, unsupportedSetOptimisticState];
13046
12917
  }
13047
- },
13048
- currentResumableState = null,
12918
+ };
12919
+ HooksDispatcher.useFormState = useActionState;
12920
+ HooksDispatcher.useActionState = useActionState;
12921
+ var currentResumableState = null,
13049
12922
  currentTaskInDEV = null,
13050
12923
  DefaultAsyncDispatcher = {
13051
12924
  getCacheForType: function () {
@@ -13296,5 +13169,5 @@
13296
13169
  });
13297
13170
  });
13298
13171
  };
13299
- exports.version = "19.1.0-experimental-ef979d47-20241218";
13172
+ exports.version = "19.0.0-experimental-65e06cb7-20241218";
13300
13173
  })();