react-dom 19.2.0-canary-4448b187-20250515 → 19.2.0-canary-c4676e72-20250520
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.
- package/cjs/react-dom-client.development.js +73 -56
- package/cjs/react-dom-client.production.js +33 -32
- package/cjs/react-dom-profiling.development.js +73 -56
- package/cjs/react-dom-profiling.profiling.js +33 -32
- package/cjs/react-dom-server-legacy.browser.development.js +456 -173
- package/cjs/react-dom-server-legacy.browser.production.js +376 -123
- package/cjs/react-dom-server-legacy.node.development.js +456 -173
- package/cjs/react-dom-server-legacy.node.production.js +376 -123
- package/cjs/react-dom-server.browser.development.js +455 -172
- package/cjs/react-dom-server.browser.production.js +355 -103
- package/cjs/react-dom-server.bun.development.js +478 -180
- package/cjs/react-dom-server.bun.production.js +375 -108
- package/cjs/react-dom-server.edge.development.js +455 -172
- package/cjs/react-dom-server.edge.production.js +355 -103
- package/cjs/react-dom-server.node.development.js +455 -169
- package/cjs/react-dom-server.node.production.js +355 -103
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -29,8 +29,15 @@ var React = require("react"),
|
|
29
29
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
30
30
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
31
31
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
32
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator
|
33
|
-
|
32
|
+
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
33
|
+
function getIteratorFn(maybeIterable) {
|
34
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
35
|
+
maybeIterable =
|
36
|
+
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
37
|
+
maybeIterable["@@iterator"];
|
38
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
39
|
+
}
|
40
|
+
var isArrayImpl = Array.isArray,
|
34
41
|
scheduleMicrotask = queueMicrotask;
|
35
42
|
function flushBuffered(destination) {
|
36
43
|
"function" === typeof destination.flush && destination.flush();
|
@@ -538,7 +545,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
538
545
|
nameIdx: 0
|
539
546
|
};
|
540
547
|
}
|
541
|
-
function getSuspenseFallbackFormatContext(parentContext) {
|
548
|
+
function getSuspenseFallbackFormatContext(resumableState, parentContext) {
|
549
|
+
parentContext.tagScope & 32 && (resumableState.instructions |= 128);
|
542
550
|
return createFormatContext(
|
543
551
|
parentContext.insertionMode,
|
544
552
|
parentContext.selectedValue,
|
@@ -546,7 +554,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
|
|
546
554
|
getSuspenseViewTransition(parentContext.viewTransition)
|
547
555
|
);
|
548
556
|
}
|
549
|
-
function getSuspenseContentFormatContext(parentContext) {
|
557
|
+
function getSuspenseContentFormatContext(resumableState, parentContext) {
|
550
558
|
return createFormatContext(
|
551
559
|
parentContext.insertionMode,
|
552
560
|
parentContext.selectedValue,
|
@@ -560,6 +568,9 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
560
568
|
target.push(escapeTextForBrowser(text));
|
561
569
|
return !0;
|
562
570
|
}
|
571
|
+
function pushSegmentFinale(target, renderState, lastPushedText, textEmbedded) {
|
572
|
+
lastPushedText && textEmbedded && target.push("\x3c!-- --\x3e");
|
573
|
+
}
|
563
574
|
var styleNameCache = new Map();
|
564
575
|
function pushStyleAttribute(target, style) {
|
565
576
|
if ("object" !== typeof style)
|
@@ -3717,6 +3728,7 @@ function createRequest(
|
|
3717
3728
|
rootFormatContext,
|
3718
3729
|
null,
|
3719
3730
|
emptyTreeContext,
|
3731
|
+
null,
|
3720
3732
|
null
|
3721
3733
|
);
|
3722
3734
|
pushComponentStack(children);
|
@@ -3738,15 +3750,17 @@ function pingTask(request, task) {
|
|
3738
3750
|
}
|
3739
3751
|
function createSuspenseBoundary(
|
3740
3752
|
request,
|
3753
|
+
row,
|
3741
3754
|
fallbackAbortableTasks,
|
3742
3755
|
contentPreamble,
|
3743
3756
|
fallbackPreamble
|
3744
3757
|
) {
|
3745
|
-
|
3758
|
+
fallbackAbortableTasks = {
|
3746
3759
|
status: 0,
|
3747
3760
|
rootSegmentID: -1,
|
3748
3761
|
parentFlushed: !1,
|
3749
3762
|
pendingTasks: 0,
|
3763
|
+
row: row,
|
3750
3764
|
completedSegments: [],
|
3751
3765
|
byteSize: 0,
|
3752
3766
|
fallbackAbortableTasks: fallbackAbortableTasks,
|
@@ -3758,6 +3772,14 @@ function createSuspenseBoundary(
|
|
3758
3772
|
trackedContentKeyPath: null,
|
3759
3773
|
trackedFallbackNode: null
|
3760
3774
|
};
|
3775
|
+
null !== row &&
|
3776
|
+
(row.pendingTasks++,
|
3777
|
+
(row = row.boundaries),
|
3778
|
+
null !== row &&
|
3779
|
+
(request.allPendingTasks++,
|
3780
|
+
fallbackAbortableTasks.pendingTasks++,
|
3781
|
+
row.push(fallbackAbortableTasks)));
|
3782
|
+
return fallbackAbortableTasks;
|
3761
3783
|
}
|
3762
3784
|
function createRenderTask(
|
3763
3785
|
request,
|
@@ -3773,12 +3795,14 @@ function createRenderTask(
|
|
3773
3795
|
formatContext,
|
3774
3796
|
context,
|
3775
3797
|
treeContext,
|
3798
|
+
row,
|
3776
3799
|
componentStack
|
3777
3800
|
) {
|
3778
3801
|
request.allPendingTasks++;
|
3779
3802
|
null === blockedBoundary
|
3780
3803
|
? request.pendingRootTasks++
|
3781
3804
|
: blockedBoundary.pendingTasks++;
|
3805
|
+
null !== row && row.pendingTasks++;
|
3782
3806
|
var task = {
|
3783
3807
|
replay: null,
|
3784
3808
|
node: node,
|
@@ -3795,6 +3819,7 @@ function createRenderTask(
|
|
3795
3819
|
formatContext: formatContext,
|
3796
3820
|
context: context,
|
3797
3821
|
treeContext: treeContext,
|
3822
|
+
row: row,
|
3798
3823
|
componentStack: componentStack,
|
3799
3824
|
thenableState: thenableState
|
3800
3825
|
};
|
@@ -3814,12 +3839,14 @@ function createReplayTask(
|
|
3814
3839
|
formatContext,
|
3815
3840
|
context,
|
3816
3841
|
treeContext,
|
3842
|
+
row,
|
3817
3843
|
componentStack
|
3818
3844
|
) {
|
3819
3845
|
request.allPendingTasks++;
|
3820
3846
|
null === blockedBoundary
|
3821
3847
|
? request.pendingRootTasks++
|
3822
3848
|
: blockedBoundary.pendingTasks++;
|
3849
|
+
null !== row && row.pendingTasks++;
|
3823
3850
|
replay.pendingTasks++;
|
3824
3851
|
var task = {
|
3825
3852
|
replay: replay,
|
@@ -3837,6 +3864,7 @@ function createReplayTask(
|
|
3837
3864
|
formatContext: formatContext,
|
3838
3865
|
context: context,
|
3839
3866
|
treeContext: treeContext,
|
3867
|
+
row: row,
|
3840
3868
|
componentStack: componentStack,
|
3841
3869
|
thenableState: thenableState
|
3842
3870
|
};
|
@@ -3914,6 +3942,132 @@ function fatalError(request, error) {
|
|
3914
3942
|
? ((request.status = 14), closeWithError(request.destination, error))
|
3915
3943
|
: ((request.status = 13), (request.fatalError = error));
|
3916
3944
|
}
|
3945
|
+
function finishSuspenseListRow(request, row) {
|
3946
|
+
for (row = row.next; null !== row; ) {
|
3947
|
+
var unblockedBoundaries = row.boundaries;
|
3948
|
+
if (null !== unblockedBoundaries) {
|
3949
|
+
row.boundaries = null;
|
3950
|
+
for (var i = 0; i < unblockedBoundaries.length; i++)
|
3951
|
+
finishedTask(request, unblockedBoundaries[i], null, null);
|
3952
|
+
}
|
3953
|
+
row.pendingTasks--;
|
3954
|
+
if (0 < row.pendingTasks) break;
|
3955
|
+
row = row.next;
|
3956
|
+
}
|
3957
|
+
}
|
3958
|
+
function createSuspenseListRow(previousRow) {
|
3959
|
+
var newRow = { pendingTasks: 1, boundaries: null, next: null };
|
3960
|
+
null !== previousRow &&
|
3961
|
+
0 < previousRow.pendingTasks &&
|
3962
|
+
(newRow.pendingTasks++,
|
3963
|
+
(newRow.boundaries = []),
|
3964
|
+
(previousRow.next = newRow));
|
3965
|
+
return newRow;
|
3966
|
+
}
|
3967
|
+
function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
3968
|
+
keyPath = task.keyPath;
|
3969
|
+
var prevTreeContext = task.treeContext,
|
3970
|
+
prevRow = task.row,
|
3971
|
+
totalChildren = rows.length,
|
3972
|
+
previousSuspenseListRow = null;
|
3973
|
+
if (null !== task.replay) {
|
3974
|
+
var resumeSlots = task.replay.slots;
|
3975
|
+
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
3976
|
+
for (var n = 0; n < totalChildren; n++) {
|
3977
|
+
var i = "backwards" !== revealOrder ? n : totalChildren - 1 - n,
|
3978
|
+
node = rows[i];
|
3979
|
+
task.row = previousSuspenseListRow = createSuspenseListRow(
|
3980
|
+
previousSuspenseListRow
|
3981
|
+
);
|
3982
|
+
task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
|
3983
|
+
var resumeSegmentID = resumeSlots[i];
|
3984
|
+
"number" === typeof resumeSegmentID
|
3985
|
+
? (resumeNode(request, task, resumeSegmentID, node, i),
|
3986
|
+
delete resumeSlots[i])
|
3987
|
+
: renderNode(request, task, node, i);
|
3988
|
+
0 === --previousSuspenseListRow.pendingTasks &&
|
3989
|
+
finishSuspenseListRow(request, previousSuspenseListRow);
|
3990
|
+
}
|
3991
|
+
else
|
3992
|
+
for (resumeSlots = 0; resumeSlots < totalChildren; resumeSlots++)
|
3993
|
+
(n =
|
3994
|
+
"backwards" !== revealOrder
|
3995
|
+
? resumeSlots
|
3996
|
+
: totalChildren - 1 - resumeSlots),
|
3997
|
+
(i = rows[n]),
|
3998
|
+
(task.row = previousSuspenseListRow =
|
3999
|
+
createSuspenseListRow(previousSuspenseListRow)),
|
4000
|
+
(task.treeContext = pushTreeContext(
|
4001
|
+
prevTreeContext,
|
4002
|
+
totalChildren,
|
4003
|
+
n
|
4004
|
+
)),
|
4005
|
+
renderNode(request, task, i, n),
|
4006
|
+
0 === --previousSuspenseListRow.pendingTasks &&
|
4007
|
+
finishSuspenseListRow(request, previousSuspenseListRow);
|
4008
|
+
} else if ("backwards" !== revealOrder)
|
4009
|
+
for (revealOrder = 0; revealOrder < totalChildren; revealOrder++)
|
4010
|
+
(resumeSlots = rows[revealOrder]),
|
4011
|
+
(task.row = previousSuspenseListRow =
|
4012
|
+
createSuspenseListRow(previousSuspenseListRow)),
|
4013
|
+
(task.treeContext = pushTreeContext(
|
4014
|
+
prevTreeContext,
|
4015
|
+
totalChildren,
|
4016
|
+
revealOrder
|
4017
|
+
)),
|
4018
|
+
renderNode(request, task, resumeSlots, revealOrder),
|
4019
|
+
0 === --previousSuspenseListRow.pendingTasks &&
|
4020
|
+
finishSuspenseListRow(request, previousSuspenseListRow);
|
4021
|
+
else {
|
4022
|
+
revealOrder = task.blockedSegment;
|
4023
|
+
resumeSlots = revealOrder.children.length;
|
4024
|
+
n = revealOrder.chunks.length;
|
4025
|
+
for (i = totalChildren - 1; 0 <= i; i--) {
|
4026
|
+
node = rows[i];
|
4027
|
+
task.row = previousSuspenseListRow = createSuspenseListRow(
|
4028
|
+
previousSuspenseListRow
|
4029
|
+
);
|
4030
|
+
task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
|
4031
|
+
resumeSegmentID = createPendingSegment(
|
4032
|
+
request,
|
4033
|
+
n,
|
4034
|
+
null,
|
4035
|
+
task.formatContext,
|
4036
|
+
0 === i ? revealOrder.lastPushedText : !0,
|
4037
|
+
!0
|
4038
|
+
);
|
4039
|
+
revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
|
4040
|
+
task.blockedSegment = resumeSegmentID;
|
4041
|
+
try {
|
4042
|
+
renderNode(request, task, node, i),
|
4043
|
+
pushSegmentFinale(
|
4044
|
+
resumeSegmentID.chunks,
|
4045
|
+
request.renderState,
|
4046
|
+
resumeSegmentID.lastPushedText,
|
4047
|
+
resumeSegmentID.textEmbedded
|
4048
|
+
),
|
4049
|
+
(resumeSegmentID.status = 1),
|
4050
|
+
finishedSegment(request, task.blockedBoundary, resumeSegmentID),
|
4051
|
+
0 === --previousSuspenseListRow.pendingTasks &&
|
4052
|
+
finishSuspenseListRow(request, previousSuspenseListRow);
|
4053
|
+
} catch (thrownValue) {
|
4054
|
+
throw (
|
4055
|
+
((resumeSegmentID.status = 12 === request.status ? 3 : 4),
|
4056
|
+
thrownValue)
|
4057
|
+
);
|
4058
|
+
}
|
4059
|
+
}
|
4060
|
+
task.blockedSegment = revealOrder;
|
4061
|
+
revealOrder.lastPushedText = !1;
|
4062
|
+
}
|
4063
|
+
null !== prevRow &&
|
4064
|
+
null !== previousSuspenseListRow &&
|
4065
|
+
0 < previousSuspenseListRow.pendingTasks &&
|
4066
|
+
(prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
|
4067
|
+
task.treeContext = prevTreeContext;
|
4068
|
+
task.row = prevRow;
|
4069
|
+
task.keyPath = keyPath;
|
4070
|
+
}
|
3917
4071
|
function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
|
3918
4072
|
var prevThenableState = task.thenableState;
|
3919
4073
|
task.thenableState = null;
|
@@ -3981,9 +4135,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
3981
4135
|
var defaultProps = type.defaultProps;
|
3982
4136
|
if (defaultProps) {
|
3983
4137
|
newProps === props && (newProps = assign({}, newProps, props));
|
3984
|
-
for (var propName$
|
3985
|
-
void 0 === newProps[propName$
|
3986
|
-
(newProps[propName$
|
4138
|
+
for (var propName$42 in defaultProps)
|
4139
|
+
void 0 === newProps[propName$42] &&
|
4140
|
+
(newProps[propName$42] = defaultProps[propName$42]);
|
3987
4141
|
}
|
3988
4142
|
props = newProps;
|
3989
4143
|
newProps = emptyContextObject;
|
@@ -4043,16 +4197,16 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4043
4197
|
defaultProps = ref ? type[0] : newProps.state;
|
4044
4198
|
initialState = !0;
|
4045
4199
|
for (ref = ref ? 1 : 0; ref < type.length; ref++)
|
4046
|
-
(propName$
|
4047
|
-
(propName$
|
4048
|
-
"function" === typeof propName$
|
4049
|
-
? propName$
|
4050
|
-
: propName$
|
4051
|
-
null != propName$
|
4200
|
+
(propName$42 = type[ref]),
|
4201
|
+
(propName$42 =
|
4202
|
+
"function" === typeof propName$42
|
4203
|
+
? propName$42.call(newProps, defaultProps, props, void 0)
|
4204
|
+
: propName$42),
|
4205
|
+
null != propName$42 &&
|
4052
4206
|
(initialState
|
4053
4207
|
? ((initialState = !1),
|
4054
|
-
(defaultProps = assign({}, defaultProps, propName$
|
4055
|
-
: assign(defaultProps, propName$
|
4208
|
+
(defaultProps = assign({}, defaultProps, propName$42)))
|
4209
|
+
: assign(defaultProps, propName$42));
|
4056
4210
|
newProps.state = defaultProps;
|
4057
4211
|
}
|
4058
4212
|
else defaultProps.queue = null;
|
@@ -4127,6 +4281,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4127
4281
|
task.formatContext,
|
4128
4282
|
task.context,
|
4129
4283
|
task.treeContext,
|
4284
|
+
task.row,
|
4130
4285
|
task.componentStack
|
4131
4286
|
)),
|
4132
4287
|
pushComponentStack(keyPath),
|
@@ -4206,10 +4361,30 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4206
4361
|
(type.lastPushedText = !1));
|
4207
4362
|
return;
|
4208
4363
|
case REACT_SUSPENSE_LIST_TYPE:
|
4209
|
-
|
4210
|
-
|
4211
|
-
|
4212
|
-
|
4364
|
+
a: {
|
4365
|
+
type = props.children;
|
4366
|
+
props = props.revealOrder;
|
4367
|
+
if ("forwards" === props || "backwards" === props) {
|
4368
|
+
if (isArrayImpl(type)) {
|
4369
|
+
renderSuspenseListRows(request, task, keyPath, type, props);
|
4370
|
+
break a;
|
4371
|
+
}
|
4372
|
+
if ((newProps = getIteratorFn(type)))
|
4373
|
+
if ((newProps = newProps.call(type))) {
|
4374
|
+
defaultProps = newProps.next();
|
4375
|
+
if (!defaultProps.done) {
|
4376
|
+
do defaultProps = newProps.next();
|
4377
|
+
while (!defaultProps.done);
|
4378
|
+
renderSuspenseListRows(request, task, keyPath, type, props);
|
4379
|
+
}
|
4380
|
+
break a;
|
4381
|
+
}
|
4382
|
+
}
|
4383
|
+
props = task.keyPath;
|
4384
|
+
task.keyPath = keyPath;
|
4385
|
+
renderNodeDestructive(request, task, type, -1);
|
4386
|
+
task.keyPath = props;
|
4387
|
+
}
|
4213
4388
|
return;
|
4214
4389
|
case REACT_VIEW_TRANSITION_TYPE:
|
4215
4390
|
case REACT_SCOPE_TYPE:
|
@@ -4218,18 +4393,26 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4218
4393
|
a: if (null !== task.replay) {
|
4219
4394
|
type = task.keyPath;
|
4220
4395
|
newProps = task.formatContext;
|
4396
|
+
defaultProps = task.row;
|
4221
4397
|
task.keyPath = keyPath;
|
4222
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4398
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4399
|
+
request.resumableState,
|
4400
|
+
newProps
|
4401
|
+
);
|
4402
|
+
task.row = null;
|
4223
4403
|
keyPath = props.children;
|
4224
4404
|
try {
|
4225
4405
|
renderNode(request, task, keyPath, -1);
|
4226
4406
|
} finally {
|
4227
|
-
(task.keyPath = type),
|
4407
|
+
(task.keyPath = type),
|
4408
|
+
(task.formatContext = newProps),
|
4409
|
+
(task.row = defaultProps);
|
4228
4410
|
}
|
4229
4411
|
} else {
|
4230
4412
|
type = task.keyPath;
|
4231
4413
|
ref = task.formatContext;
|
4232
|
-
|
4414
|
+
var prevRow = task.row;
|
4415
|
+
propName$42 = task.blockedBoundary;
|
4233
4416
|
propName = task.blockedPreamble;
|
4234
4417
|
var parentHoistableState = task.hoistableState,
|
4235
4418
|
parentSegment = task.blockedSegment,
|
@@ -4240,11 +4423,18 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4240
4423
|
2 > task.formatContext.insertionMode
|
4241
4424
|
? createSuspenseBoundary(
|
4242
4425
|
request,
|
4426
|
+
task.row,
|
4243
4427
|
fallbackAbortSet,
|
4244
4428
|
createPreambleState(),
|
4245
4429
|
createPreambleState()
|
4246
4430
|
)
|
4247
|
-
: createSuspenseBoundary(
|
4431
|
+
: createSuspenseBoundary(
|
4432
|
+
request,
|
4433
|
+
task.row,
|
4434
|
+
fallbackAbortSet,
|
4435
|
+
null,
|
4436
|
+
null
|
4437
|
+
);
|
4248
4438
|
null !== request.trackedPostpones &&
|
4249
4439
|
(newBoundary.trackedContentKeyPath = keyPath);
|
4250
4440
|
var boundarySegment = createPendingSegment(
|
@@ -4274,15 +4464,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4274
4464
|
task.blockedSegment = boundarySegment;
|
4275
4465
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
4276
4466
|
task.keyPath = newProps;
|
4277
|
-
task.formatContext = getSuspenseFallbackFormatContext(
|
4467
|
+
task.formatContext = getSuspenseFallbackFormatContext(
|
4468
|
+
request.resumableState,
|
4469
|
+
ref
|
4470
|
+
);
|
4278
4471
|
boundarySegment.status = 6;
|
4279
4472
|
try {
|
4280
4473
|
renderNode(request, task, fallback, -1),
|
4281
|
-
|
4282
|
-
boundarySegment.
|
4283
|
-
|
4474
|
+
pushSegmentFinale(
|
4475
|
+
boundarySegment.chunks,
|
4476
|
+
request.renderState,
|
4477
|
+
boundarySegment.lastPushedText,
|
4478
|
+
boundarySegment.textEmbedded
|
4479
|
+
),
|
4284
4480
|
(boundarySegment.status = 1),
|
4285
|
-
finishedSegment(request, propName$
|
4481
|
+
finishedSegment(request, propName$42, boundarySegment);
|
4286
4482
|
} catch (thrownValue) {
|
4287
4483
|
throw (
|
4288
4484
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
@@ -4305,9 +4501,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4305
4501
|
newBoundary.contentState,
|
4306
4502
|
task.abortSet,
|
4307
4503
|
keyPath,
|
4308
|
-
getSuspenseContentFormatContext(
|
4504
|
+
getSuspenseContentFormatContext(
|
4505
|
+
request.resumableState,
|
4506
|
+
task.formatContext
|
4507
|
+
),
|
4309
4508
|
task.context,
|
4310
4509
|
task.treeContext,
|
4510
|
+
null,
|
4311
4511
|
task.componentStack
|
4312
4512
|
);
|
4313
4513
|
pushComponentStack(task);
|
@@ -4318,14 +4518,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4318
4518
|
task.hoistableState = newBoundary.contentState;
|
4319
4519
|
task.blockedSegment = contentRootSegment;
|
4320
4520
|
task.keyPath = keyPath;
|
4321
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4521
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4522
|
+
request.resumableState,
|
4523
|
+
ref
|
4524
|
+
);
|
4525
|
+
task.row = null;
|
4322
4526
|
contentRootSegment.status = 6;
|
4323
4527
|
try {
|
4324
4528
|
if (
|
4325
4529
|
(renderNode(request, task, props, -1),
|
4326
|
-
|
4327
|
-
contentRootSegment.
|
4328
|
-
|
4530
|
+
pushSegmentFinale(
|
4531
|
+
contentRootSegment.chunks,
|
4532
|
+
request.renderState,
|
4533
|
+
contentRootSegment.lastPushedText,
|
4534
|
+
contentRootSegment.textEmbedded
|
4535
|
+
),
|
4329
4536
|
(contentRootSegment.status = 1),
|
4330
4537
|
finishedSegment(request, newBoundary, contentRootSegment),
|
4331
4538
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
@@ -4333,18 +4540,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4333
4540
|
0 === newBoundary.status &&
|
4334
4541
|
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
4335
4542
|
) {
|
4543
|
+
null !== prevRow &&
|
4544
|
+
0 === --prevRow.pendingTasks &&
|
4545
|
+
finishSuspenseListRow(request, prevRow);
|
4336
4546
|
0 === request.pendingRootTasks &&
|
4337
4547
|
task.blockedPreamble &&
|
4338
4548
|
preparePreamble(request);
|
4339
4549
|
break a;
|
4340
4550
|
}
|
4341
|
-
} catch (thrownValue$
|
4551
|
+
} catch (thrownValue$30) {
|
4342
4552
|
(newBoundary.status = 4),
|
4343
4553
|
12 === request.status
|
4344
4554
|
? ((contentRootSegment.status = 3),
|
4345
4555
|
(newProps = request.fatalError))
|
4346
4556
|
: ((contentRootSegment.status = 4),
|
4347
|
-
(newProps = thrownValue$
|
4557
|
+
(newProps = thrownValue$30)),
|
4348
4558
|
(defaultProps = getThrownInfo(task.componentStack)),
|
4349
4559
|
(initialState = logRecoverableError(
|
4350
4560
|
request,
|
@@ -4354,27 +4564,32 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4354
4564
|
(newBoundary.errorDigest = initialState),
|
4355
4565
|
untrackBoundary(request, newBoundary);
|
4356
4566
|
} finally {
|
4357
|
-
(task.blockedBoundary = propName$
|
4567
|
+
(task.blockedBoundary = propName$42),
|
4358
4568
|
(task.blockedPreamble = propName),
|
4359
4569
|
(task.hoistableState = parentHoistableState),
|
4360
4570
|
(task.blockedSegment = parentSegment),
|
4361
4571
|
(task.keyPath = type),
|
4362
|
-
(task.formatContext = ref)
|
4572
|
+
(task.formatContext = ref),
|
4573
|
+
(task.row = prevRow);
|
4363
4574
|
}
|
4364
4575
|
task = createRenderTask(
|
4365
4576
|
request,
|
4366
4577
|
null,
|
4367
4578
|
fallback,
|
4368
4579
|
-1,
|
4369
|
-
propName$
|
4580
|
+
propName$42,
|
4370
4581
|
boundarySegment,
|
4371
4582
|
newBoundary.fallbackPreamble,
|
4372
4583
|
newBoundary.fallbackState,
|
4373
4584
|
fallbackAbortSet,
|
4374
4585
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
4375
|
-
getSuspenseFallbackFormatContext(
|
4586
|
+
getSuspenseFallbackFormatContext(
|
4587
|
+
request.resumableState,
|
4588
|
+
task.formatContext
|
4589
|
+
),
|
4376
4590
|
task.context,
|
4377
4591
|
task.treeContext,
|
4592
|
+
task.row,
|
4378
4593
|
task.componentStack
|
4379
4594
|
);
|
4380
4595
|
pushComponentStack(task);
|
@@ -4594,6 +4809,7 @@ function retryNode(request, task) {
|
|
4594
4809
|
null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
|
4595
4810
|
var prevKeyPath = task.keyPath,
|
4596
4811
|
prevContext = task.formatContext,
|
4812
|
+
prevRow = task.row,
|
4597
4813
|
previousReplaySet = task.replay,
|
4598
4814
|
parentBoundary = task.blockedBoundary,
|
4599
4815
|
parentHoistableState = task.hoistableState,
|
@@ -4604,12 +4820,14 @@ function retryNode(request, task) {
|
|
4604
4820
|
2 > task.formatContext.insertionMode
|
4605
4821
|
? createSuspenseBoundary(
|
4606
4822
|
request,
|
4823
|
+
task.row,
|
4607
4824
|
fallbackAbortSet,
|
4608
4825
|
createPreambleState(),
|
4609
4826
|
createPreambleState()
|
4610
4827
|
)
|
4611
4828
|
: createSuspenseBoundary(
|
4612
4829
|
request,
|
4830
|
+
task.row,
|
4613
4831
|
fallbackAbortSet,
|
4614
4832
|
null,
|
4615
4833
|
null
|
@@ -4619,8 +4837,11 @@ function retryNode(request, task) {
|
|
4619
4837
|
task.blockedBoundary = props;
|
4620
4838
|
task.hoistableState = props.contentState;
|
4621
4839
|
task.keyPath = key;
|
4622
|
-
task.formatContext =
|
4623
|
-
|
4840
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4841
|
+
request.resumableState,
|
4842
|
+
prevContext
|
4843
|
+
);
|
4844
|
+
task.row = null;
|
4624
4845
|
task.replay = {
|
4625
4846
|
nodes: ref,
|
4626
4847
|
slots: name,
|
@@ -4657,9 +4878,10 @@ function retryNode(request, task) {
|
|
4657
4878
|
(task.hoistableState = parentHoistableState),
|
4658
4879
|
(task.replay = previousReplaySet),
|
4659
4880
|
(task.keyPath = prevKeyPath),
|
4660
|
-
(task.formatContext = prevContext)
|
4881
|
+
(task.formatContext = prevContext),
|
4882
|
+
(task.row = prevRow);
|
4661
4883
|
}
|
4662
|
-
|
4884
|
+
childNodes = createReplayTask(
|
4663
4885
|
request,
|
4664
4886
|
null,
|
4665
4887
|
{
|
@@ -4673,13 +4895,17 @@ function retryNode(request, task) {
|
|
4673
4895
|
props.fallbackState,
|
4674
4896
|
fallbackAbortSet,
|
4675
4897
|
[key[0], "Suspense Fallback", key[2]],
|
4676
|
-
getSuspenseFallbackFormatContext(
|
4898
|
+
getSuspenseFallbackFormatContext(
|
4899
|
+
request.resumableState,
|
4900
|
+
task.formatContext
|
4901
|
+
),
|
4677
4902
|
task.context,
|
4678
4903
|
task.treeContext,
|
4904
|
+
task.row,
|
4679
4905
|
task.componentStack
|
4680
4906
|
);
|
4681
|
-
pushComponentStack(
|
4682
|
-
request.pingedTasks.push(
|
4907
|
+
pushComponentStack(childNodes);
|
4908
|
+
request.pingedTasks.push(childNodes);
|
4683
4909
|
}
|
4684
4910
|
}
|
4685
4911
|
childIndex.splice(node, 1);
|
@@ -4704,22 +4930,17 @@ function retryNode(request, task) {
|
|
4704
4930
|
renderChildrenArray(request, task, node, childIndex);
|
4705
4931
|
return;
|
4706
4932
|
}
|
4707
|
-
|
4708
|
-
|
4709
|
-
|
4710
|
-
|
4711
|
-
|
4712
|
-
|
4713
|
-
|
4714
|
-
|
4715
|
-
|
4716
|
-
|
4717
|
-
do props.push(node.value), (node = childNodes.next());
|
4718
|
-
while (!node.done);
|
4719
|
-
renderChildrenArray(request, task, props, childIndex);
|
4933
|
+
if ((childNodes = getIteratorFn(node)))
|
4934
|
+
if ((childNodes = childNodes.call(node))) {
|
4935
|
+
node = childNodes.next();
|
4936
|
+
if (!node.done) {
|
4937
|
+
props = [];
|
4938
|
+
do props.push(node.value), (node = childNodes.next());
|
4939
|
+
while (!node.done);
|
4940
|
+
renderChildrenArray(request, task, props, childIndex);
|
4941
|
+
}
|
4942
|
+
return;
|
4720
4943
|
}
|
4721
|
-
return;
|
4722
|
-
}
|
4723
4944
|
if ("function" === typeof node.then)
|
4724
4945
|
return (
|
4725
4946
|
(task.thenableState = null),
|
@@ -4862,6 +5083,7 @@ function spawnNewSuspendedReplayTask(request, task, thenableState) {
|
|
4862
5083
|
task.formatContext,
|
4863
5084
|
task.context,
|
4864
5085
|
task.treeContext,
|
5086
|
+
task.row,
|
4865
5087
|
task.componentStack
|
4866
5088
|
);
|
4867
5089
|
}
|
@@ -4891,6 +5113,7 @@ function spawnNewSuspendedRenderTask(request, task, thenableState) {
|
|
4891
5113
|
task.formatContext,
|
4892
5114
|
task.context,
|
4893
5115
|
task.treeContext,
|
5116
|
+
task.row,
|
4894
5117
|
task.componentStack
|
4895
5118
|
);
|
4896
5119
|
}
|
@@ -4944,15 +5167,15 @@ function renderNode(request, task, node, childIndex) {
|
|
4944
5167
|
chunkLength = segment.chunks.length;
|
4945
5168
|
try {
|
4946
5169
|
return renderNodeDestructive(request, task, node, childIndex);
|
4947
|
-
} catch (thrownValue$
|
5170
|
+
} catch (thrownValue$58) {
|
4948
5171
|
if (
|
4949
5172
|
(resetHooksState(),
|
4950
5173
|
(segment.children.length = childrenLength),
|
4951
5174
|
(segment.chunks.length = chunkLength),
|
4952
5175
|
(node =
|
4953
|
-
thrownValue$
|
5176
|
+
thrownValue$58 === SuspenseException
|
4954
5177
|
? getSuspendedThenable()
|
4955
|
-
: thrownValue$
|
5178
|
+
: thrownValue$58),
|
4956
5179
|
"object" === typeof node && null !== node)
|
4957
5180
|
) {
|
4958
5181
|
if ("function" === typeof node.then) {
|
@@ -4990,9 +5213,10 @@ function renderNode(request, task, node, childIndex) {
|
|
4990
5213
|
throw node;
|
4991
5214
|
}
|
4992
5215
|
function abortTaskSoft(task) {
|
4993
|
-
var boundary = task.blockedBoundary
|
4994
|
-
|
4995
|
-
null !==
|
5216
|
+
var boundary = task.blockedBoundary,
|
5217
|
+
segment = task.blockedSegment;
|
5218
|
+
null !== segment &&
|
5219
|
+
((segment.status = 3), finishedTask(this, boundary, task.row, segment));
|
4996
5220
|
}
|
4997
5221
|
function abortRemainingReplayNodes(
|
4998
5222
|
request$jscomp$0,
|
@@ -5019,6 +5243,7 @@ function abortRemainingReplayNodes(
|
|
5019
5243
|
errorDigest = errorDigest$jscomp$0,
|
5020
5244
|
resumedBoundary = createSuspenseBoundary(
|
5021
5245
|
request,
|
5246
|
+
null,
|
5022
5247
|
new Set(),
|
5023
5248
|
null,
|
5024
5249
|
null
|
@@ -5052,6 +5277,10 @@ function abortTask(task, request, error) {
|
|
5052
5277
|
if (6 === segment.status) return;
|
5053
5278
|
segment.status = 3;
|
5054
5279
|
}
|
5280
|
+
segment = task.row;
|
5281
|
+
null !== segment &&
|
5282
|
+
0 === --segment.pendingTasks &&
|
5283
|
+
finishSuspenseListRow(request, segment);
|
5055
5284
|
segment = getThrownInfo(task.componentStack);
|
5056
5285
|
if (null === boundary) {
|
5057
5286
|
if (13 !== request.status && 14 !== request.status) {
|
@@ -5196,7 +5425,11 @@ function finishedSegment(request, boundary, segment) {
|
|
5196
5425
|
: (boundary.byteSize += segmentByteSize);
|
5197
5426
|
}
|
5198
5427
|
}
|
5199
|
-
function finishedTask(request, boundary, segment) {
|
5428
|
+
function finishedTask(request, boundary, row, segment) {
|
5429
|
+
null !== row &&
|
5430
|
+
0 === --row.pendingTasks &&
|
5431
|
+
finishSuspenseListRow(request, row);
|
5432
|
+
request.allPendingTasks--;
|
5200
5433
|
if (null === boundary) {
|
5201
5434
|
if (null !== segment && segment.parentFlushed) {
|
5202
5435
|
if (null !== request.completedRootSegment)
|
@@ -5224,7 +5457,11 @@ function finishedTask(request, boundary, segment) {
|
|
5224
5457
|
abortTaskSoft,
|
5225
5458
|
request
|
5226
5459
|
),
|
5227
|
-
boundary.fallbackAbortableTasks.clear()
|
5460
|
+
boundary.fallbackAbortableTasks.clear(),
|
5461
|
+
(row = boundary.row),
|
5462
|
+
null !== row &&
|
5463
|
+
0 === --row.pendingTasks &&
|
5464
|
+
finishSuspenseListRow(request, row)),
|
5228
5465
|
0 === request.pendingRootTasks &&
|
5229
5466
|
null === request.trackedPostpones &&
|
5230
5467
|
null !== boundary.contentPreamble &&
|
@@ -5236,7 +5473,6 @@ function finishedTask(request, boundary, segment) {
|
|
5236
5473
|
1 === boundary.completedSegments.length &&
|
5237
5474
|
boundary.parentFlushed &&
|
5238
5475
|
request.partialBoundaries.push(boundary)));
|
5239
|
-
request.allPendingTasks--;
|
5240
5476
|
0 === request.allPendingTasks && completeAll(request);
|
5241
5477
|
}
|
5242
5478
|
function performWork(request$jscomp$2) {
|
@@ -5280,7 +5516,12 @@ function performWork(request$jscomp$2) {
|
|
5280
5516
|
);
|
5281
5517
|
task.replay.pendingTasks--;
|
5282
5518
|
task.abortSet.delete(task);
|
5283
|
-
finishedTask(
|
5519
|
+
finishedTask(
|
5520
|
+
request$jscomp$0,
|
5521
|
+
task.blockedBoundary,
|
5522
|
+
task.row,
|
5523
|
+
null
|
5524
|
+
);
|
5284
5525
|
} catch (thrownValue) {
|
5285
5526
|
resetHooksState();
|
5286
5527
|
var x =
|
@@ -5342,13 +5583,21 @@ function performWork(request$jscomp$2) {
|
|
5342
5583
|
chunkLength = request$jscomp$1.chunks.length;
|
5343
5584
|
try {
|
5344
5585
|
retryNode(request, task),
|
5345
|
-
|
5346
|
-
request$jscomp$1.
|
5347
|
-
request
|
5586
|
+
pushSegmentFinale(
|
5587
|
+
request$jscomp$1.chunks,
|
5588
|
+
request.renderState,
|
5589
|
+
request$jscomp$1.lastPushedText,
|
5590
|
+
request$jscomp$1.textEmbedded
|
5591
|
+
),
|
5348
5592
|
task.abortSet.delete(task),
|
5349
5593
|
(request$jscomp$1.status = 1),
|
5350
5594
|
finishedSegment(request, task.blockedBoundary, request$jscomp$1),
|
5351
|
-
finishedTask(
|
5595
|
+
finishedTask(
|
5596
|
+
request,
|
5597
|
+
task.blockedBoundary,
|
5598
|
+
task.row,
|
5599
|
+
request$jscomp$1
|
5600
|
+
);
|
5352
5601
|
} catch (thrownValue) {
|
5353
5602
|
resetHooksState();
|
5354
5603
|
request$jscomp$1.children.length = childrenLength;
|
@@ -5372,7 +5621,12 @@ function performWork(request$jscomp$2) {
|
|
5372
5621
|
var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
|
5373
5622
|
task.abortSet.delete(task);
|
5374
5623
|
request$jscomp$1.status = 4;
|
5375
|
-
var boundary$jscomp$0 = task.blockedBoundary
|
5624
|
+
var boundary$jscomp$0 = task.blockedBoundary,
|
5625
|
+
row = task.row;
|
5626
|
+
null !== row &&
|
5627
|
+
0 === --row.pendingTasks &&
|
5628
|
+
finishSuspenseListRow(request, row);
|
5629
|
+
request.allPendingTasks--;
|
5376
5630
|
request$jscomp$0 = logRecoverableError(
|
5377
5631
|
request,
|
5378
5632
|
x$jscomp$0,
|
@@ -5391,7 +5645,6 @@ function performWork(request$jscomp$2) {
|
|
5391
5645
|
null === request.trackedPostpones &&
|
5392
5646
|
null !== boundary$jscomp$0.contentPreamble &&
|
5393
5647
|
preparePreamble(request)));
|
5394
|
-
request.allPendingTasks--;
|
5395
5648
|
0 === request.allPendingTasks && completeAll(request);
|
5396
5649
|
}
|
5397
5650
|
} finally {
|
@@ -5536,17 +5789,21 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5536
5789
|
if (null === boundary)
|
5537
5790
|
return flushSubtree(request, destination, segment, hoistableState);
|
5538
5791
|
boundary.parentFlushed = !0;
|
5539
|
-
if (4 === boundary.status)
|
5540
|
-
|
5541
|
-
|
5542
|
-
|
5543
|
-
|
5544
|
-
|
5545
|
-
|
5546
|
-
|
5547
|
-
|
5548
|
-
|
5549
|
-
|
5792
|
+
if (4 === boundary.status) {
|
5793
|
+
var row = boundary.row;
|
5794
|
+
null !== row &&
|
5795
|
+
0 === --row.pendingTasks &&
|
5796
|
+
finishSuspenseListRow(request, row);
|
5797
|
+
boundary = boundary.errorDigest;
|
5798
|
+
destination.write("\x3c!--$!--\x3e");
|
5799
|
+
writeChunk(destination, "<template");
|
5800
|
+
boundary &&
|
5801
|
+
(writeChunk(destination, ' data-dgst="'),
|
5802
|
+
writeChunk(destination, escapeTextForBrowser(boundary)),
|
5803
|
+
writeChunk(destination, '"'));
|
5804
|
+
destination.write("></template>");
|
5805
|
+
flushSubtree(request, destination, segment, hoistableState);
|
5806
|
+
} else if (1 !== boundary.status)
|
5550
5807
|
0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++),
|
5551
5808
|
0 < boundary.completedSegments.length &&
|
5552
5809
|
request.partialBoundaries.push(boundary),
|
@@ -5581,6 +5838,11 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
5581
5838
|
((segment = boundary.contentState),
|
5582
5839
|
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
5583
5840
|
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
5841
|
+
segment = boundary.row;
|
5842
|
+
null !== segment &&
|
5843
|
+
500 < boundary.byteSize &&
|
5844
|
+
0 === --segment.pendingTasks &&
|
5845
|
+
finishSuspenseListRow(request, segment);
|
5584
5846
|
destination.write("\x3c!--$--\x3e");
|
5585
5847
|
segment = boundary.completedSegments;
|
5586
5848
|
if (1 !== segment.length)
|
@@ -5615,6 +5877,11 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5615
5877
|
completedSegments[i]
|
5616
5878
|
);
|
5617
5879
|
completedSegments.length = 0;
|
5880
|
+
completedSegments = boundary.row;
|
5881
|
+
null !== completedSegments &&
|
5882
|
+
500 < boundary.byteSize &&
|
5883
|
+
0 === --completedSegments.pendingTasks &&
|
5884
|
+
finishSuspenseListRow(request, completedSegments);
|
5618
5885
|
writeHoistablesForBoundary(
|
5619
5886
|
destination,
|
5620
5887
|
boundary.contentState,
|
@@ -5639,7 +5906,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5639
5906
|
((completedSegments.instructions |= 2),
|
5640
5907
|
writeChunk(
|
5641
5908
|
destination,
|
5642
|
-
'$RB=[];$
|
5909
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
5643
5910
|
)),
|
5644
5911
|
0 === (completedSegments.instructions & 8)
|
5645
5912
|
? ((completedSegments.instructions |= 8),
|
@@ -5648,13 +5915,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5648
5915
|
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
5649
5916
|
))
|
5650
5917
|
: writeChunk(destination, '$RR("'))
|
5651
|
-
: 0 === (completedSegments.instructions & 2)
|
5652
|
-
|
5918
|
+
: (0 === (completedSegments.instructions & 2) &&
|
5919
|
+
((completedSegments.instructions |= 2),
|
5653
5920
|
writeChunk(
|
5654
5921
|
destination,
|
5655
|
-
'$RB=[];$
|
5656
|
-
))
|
5657
|
-
|
5922
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
5923
|
+
)),
|
5924
|
+
writeChunk(destination, '$RC("'));
|
5658
5925
|
completedSegments = i.toString(16);
|
5659
5926
|
writeChunk(destination, request.boundaryPrefix);
|
5660
5927
|
writeChunk(destination, completedSegments);
|
@@ -5898,12 +6165,12 @@ function flushCompletedQueues(request, destination) {
|
|
5898
6165
|
completedBoundaries.splice(0, i);
|
5899
6166
|
var partialBoundaries = request.partialBoundaries;
|
5900
6167
|
for (i = 0; i < partialBoundaries.length; i++) {
|
5901
|
-
var boundary$
|
6168
|
+
var boundary$62 = partialBoundaries[i];
|
5902
6169
|
a: {
|
5903
6170
|
clientRenderedBoundaries = request;
|
5904
6171
|
boundary = destination;
|
5905
|
-
flushedByteSize = boundary$
|
5906
|
-
var completedSegments = boundary$
|
6172
|
+
flushedByteSize = boundary$62.byteSize;
|
6173
|
+
var completedSegments = boundary$62.completedSegments;
|
5907
6174
|
for (
|
5908
6175
|
JSCompiler_inline_result = 0;
|
5909
6176
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -5913,7 +6180,7 @@ function flushCompletedQueues(request, destination) {
|
|
5913
6180
|
!flushPartiallyCompletedSegment(
|
5914
6181
|
clientRenderedBoundaries,
|
5915
6182
|
boundary,
|
5916
|
-
boundary$
|
6183
|
+
boundary$62,
|
5917
6184
|
completedSegments[JSCompiler_inline_result]
|
5918
6185
|
)
|
5919
6186
|
) {
|
@@ -5925,7 +6192,7 @@ function flushCompletedQueues(request, destination) {
|
|
5925
6192
|
completedSegments.splice(0, JSCompiler_inline_result);
|
5926
6193
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
5927
6194
|
boundary,
|
5928
|
-
boundary$
|
6195
|
+
boundary$62.contentState,
|
5929
6196
|
clientRenderedBoundaries.renderState
|
5930
6197
|
);
|
5931
6198
|
}
|
@@ -6006,19 +6273,19 @@ function abort(request, reason) {
|
|
6006
6273
|
}
|
6007
6274
|
null !== request.destination &&
|
6008
6275
|
flushCompletedQueues(request, request.destination);
|
6009
|
-
} catch (error$
|
6010
|
-
logRecoverableError(request, error$
|
6276
|
+
} catch (error$64) {
|
6277
|
+
logRecoverableError(request, error$64, {}), fatalError(request, error$64);
|
6011
6278
|
}
|
6012
6279
|
}
|
6013
|
-
var isomorphicReactPackageVersion$jscomp$
|
6280
|
+
var isomorphicReactPackageVersion$jscomp$inline_799 = React.version;
|
6014
6281
|
if (
|
6015
|
-
"19.2.0-canary-
|
6016
|
-
isomorphicReactPackageVersion$jscomp$
|
6282
|
+
"19.2.0-canary-c4676e72-20250520" !==
|
6283
|
+
isomorphicReactPackageVersion$jscomp$inline_799
|
6017
6284
|
)
|
6018
6285
|
throw Error(
|
6019
6286
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6020
|
-
(isomorphicReactPackageVersion$jscomp$
|
6021
|
-
"\n - react-dom: 19.2.0-canary-
|
6287
|
+
(isomorphicReactPackageVersion$jscomp$inline_799 +
|
6288
|
+
"\n - react-dom: 19.2.0-canary-c4676e72-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
6022
6289
|
);
|
6023
6290
|
exports.renderToReadableStream = function (children, options) {
|
6024
6291
|
return new Promise(function (resolve, reject) {
|
@@ -6109,4 +6376,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6109
6376
|
startWork(request);
|
6110
6377
|
});
|
6111
6378
|
};
|
6112
|
-
exports.version = "19.2.0-canary-
|
6379
|
+
exports.version = "19.2.0-canary-c4676e72-20250520";
|