|
4322 | 4322 | this.rootFormatContext = rootFormatContext;
|
4323 | 4323 | this.progressiveChunkSize =
|
4324 | 4324 | void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
4325 |
| - this.status = 0; |
| 4325 | + this.status = 10; |
4326 | 4326 | this.fatalError = null;
|
4327 | 4327 | this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
4328 | 4328 | this.completedRootSegment = null;
|
|
4696 | 4696 | : (errorInfo(error), onFatalError(error));
|
4697 | 4697 | null !== request.destination
|
4698 | 4698 | ? ((request.status = CLOSED), request.destination.destroy(error))
|
4699 |
| - : ((request.status = 2), (request.fatalError = error)); |
| 4699 | + : ((request.status = 13), (request.fatalError = error)); |
4700 | 4700 | }
|
4701 | 4701 | function renderWithHooks(
|
4702 | 4702 | request,
|
|
5129 | 5129 | } else internalInstance.queue = null;
|
5130 | 5130 | }
|
5131 | 5131 | var nextChildren = callRenderInDEV(instance);
|
5132 |
| - if (1 === request.status) throw null; |
| 5132 | + if (12 === request.status) throw null; |
5133 | 5133 | instance.props !== resolvedProps &&
|
5134 | 5134 | (didWarnAboutReassigningProps ||
|
5135 | 5135 | console.error(
|
|
5161 | 5161 | props,
|
5162 | 5162 | void 0
|
5163 | 5163 | );
|
5164 |
| - if (1 === request.status) throw null; |
| 5164 | + if (12 === request.status) throw null; |
5165 | 5165 | var hasId = 0 !== localIdCounter,
|
5166 | 5166 | actionStateCount = actionStateCounter,
|
5167 | 5167 | actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;
|
|
5385 | 5385 | (boundarySegment.status = COMPLETED);
|
5386 | 5386 | } catch (thrownValue) {
|
5387 | 5387 | throw (
|
5388 |
| - ((boundarySegment.status = 1 === request.status ? 3 : 4), |
| 5388 | + ((boundarySegment.status = 12 === request.status ? 3 : 4), |
5389 | 5389 | thrownValue)
|
5390 | 5390 | );
|
5391 | 5391 | } finally {
|
|
5437 | 5437 | }
|
5438 | 5438 | } catch (thrownValue$2) {
|
5439 | 5439 | newBoundary.status = CLIENT_RENDERED;
|
5440 |
| - if (1 === request.status) { |
| 5440 | + if (12 === request.status) { |
5441 | 5441 | contentRootSegment.status = 3;
|
5442 | 5442 | var error = request.fatalError;
|
5443 | 5443 | } else
|
|
5598 | 5598 | return;
|
5599 | 5599 | case REACT_LAZY_TYPE:
|
5600 | 5600 | var Component = callLazyInitInDEV(type);
|
5601 |
| - if (1 === request.status) throw null; |
| 5601 | + if (12 === request.status) throw null; |
5602 | 5602 | renderElement(request, task, keyPath, Component, props, ref);
|
5603 | 5603 | return;
|
5604 | 5604 | }
|
|
5890 | 5890 | );
|
5891 | 5891 | case REACT_LAZY_TYPE:
|
5892 | 5892 | node = callLazyInitInDEV(node);
|
5893 |
| - if (1 === request.status) throw null; |
| 5893 | + if (12 === request.status) throw null; |
5894 | 5894 | renderNodeDestructive(request, task, node, childIndex);
|
5895 | 5895 | return;
|
5896 | 5896 | }
|
|
6600 | 6600 | }
|
6601 | 6601 | var errorInfo = getThrownInfo(task.componentStack);
|
6602 | 6602 | if (null === boundary) {
|
6603 |
| - if (2 !== request.status && request.status !== CLOSED) { |
| 6603 | + if (13 !== request.status && request.status !== CLOSED) { |
6604 | 6604 | boundary = task.replay;
|
6605 | 6605 | if (null === boundary) {
|
6606 | 6606 | "object" === typeof error &&
|
|
6833 | 6833 | 0 === request.allPendingTasks && completeAll(request);
|
6834 | 6834 | }
|
6835 | 6835 | function performWork(request$jscomp$1) {
|
6836 |
| - if (request$jscomp$1.status !== CLOSED && 2 !== request$jscomp$1.status) { |
| 6836 | + if ( |
| 6837 | + request$jscomp$1.status !== CLOSED && |
| 6838 | + 13 !== request$jscomp$1.status |
| 6839 | + ) { |
6837 | 6840 | var prevContext = currentActiveSnapshot,
|
6838 | 6841 | prevDispatcher = ReactSharedInternals.H;
|
6839 | 6842 | ReactSharedInternals.H = HooksDispatcher;
|
|
6901 | 6904 | erroredReplay(
|
6902 | 6905 | request$jscomp$0,
|
6903 | 6906 | request.blockedBoundary,
|
6904 |
| - 1 === request$jscomp$0.status |
| 6907 | + 12 === request$jscomp$0.status |
6905 | 6908 | ? request$jscomp$0.fatalError
|
6906 | 6909 | : x,
|
6907 | 6910 | errorInfo,
|
|
6954 | 6957 | var x$jscomp$0 =
|
6955 | 6958 | thrownValue === SuspenseException
|
6956 | 6959 | ? getSuspendedThenable()
|
6957 |
| - : 1 === request.status |
| 6960 | + : 12 === request.status |
6958 | 6961 | ? request.fatalError
|
6959 | 6962 | : thrownValue;
|
6960 | 6963 | if (
|
6961 |
| - 1 === request.status && |
| 6964 | + 12 === request.status && |
6962 | 6965 | null !== request.trackedPostpones
|
6963 | 6966 | ) {
|
6964 | 6967 | var trackedPostpones = request.trackedPostpones,
|
|
7705 | 7708 | }
|
7706 | 7709 | function startWork(request) {
|
7707 | 7710 | request.flushScheduled = null !== request.destination;
|
7708 |
| - null !== request.trackedPostpones |
7709 |
| - ? performWork(request) |
7710 |
| - : (performWork(request), |
7711 |
| - safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks)); |
| 7711 | + performWork(request); |
| 7712 | + 10 === request.status && (request.status = 11); |
| 7713 | + null === request.trackedPostpones && |
| 7714 | + safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks); |
7712 | 7715 | }
|
7713 | 7716 | function enqueueFlush(request) {
|
7714 | 7717 | if (
|
|
7724 | 7727 | }
|
7725 | 7728 | }
|
7726 | 7729 | function startFlowing(request, destination) {
|
7727 |
| - if (2 === request.status) |
| 7730 | + if (13 === request.status) |
7728 | 7731 | (request.status = CLOSED), destination.destroy(request.fatalError);
|
7729 | 7732 | else if (request.status !== CLOSED && null === request.destination) {
|
7730 | 7733 | request.destination = destination;
|
|
7738 | 7741 | }
|
7739 | 7742 | }
|
7740 | 7743 | function abort(request, reason) {
|
7741 |
| - 0 === request.status && (request.status = 1); |
| 7744 | + if (11 === request.status || 10 === request.status) request.status = 12; |
7742 | 7745 | try {
|
7743 | 7746 | var abortableTasks = request.abortableTasks;
|
7744 | 7747 | if (0 < abortableTasks.size) {
|
|
9263 | 9266 | COMPLETED = 1,
|
9264 | 9267 | FLUSHED = 2,
|
9265 | 9268 | POSTPONED = 5,
|
9266 |
| - CLOSED = 3, |
| 9269 | + CLOSED = 14, |
9267 | 9270 | currentRequest = null,
|
9268 | 9271 | didWarnAboutBadClass = {},
|
9269 | 9272 | didWarnAboutContextTypes = {},
|
|
9288 | 9291 | 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9289 | 9292 | );
|
9290 | 9293 | };
|
9291 |
| - exports.version = "19.0.0-experimental-778e1ed2-20240926"; |
| 9294 | + exports.version = "19.0.0-experimental-67fee58b-20240926"; |
9292 | 9295 | })();
|
0 commit comments