react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-20250409
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 +386 -331
- package/cjs/react-dom-client.production.js +225 -176
- package/cjs/react-dom-profiling.development.js +386 -331
- package/cjs/react-dom-profiling.profiling.js +231 -183
- package/cjs/react-dom-server-legacy.browser.development.js +36 -8
- package/cjs/react-dom-server-legacy.browser.production.js +57 -37
- package/cjs/react-dom-server-legacy.node.development.js +36 -8
- package/cjs/react-dom-server-legacy.node.production.js +57 -37
- package/cjs/react-dom-server.browser.development.js +37 -10
- package/cjs/react-dom-server.browser.production.js +41 -17
- package/cjs/react-dom-server.bun.development.js +38 -13
- package/cjs/react-dom-server.bun.production.js +37 -20
- package/cjs/react-dom-server.edge.development.js +37 -10
- package/cjs/react-dom-server.edge.production.js +41 -17
- package/cjs/react-dom-server.node.development.js +37 -10
- package/cjs/react-dom-server.node.production.js +41 -17
- 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
@@ -5314,18 +5314,46 @@
|
|
5314
5314
|
task.keyPath = prevKeyPath$jscomp$1;
|
5315
5315
|
return;
|
5316
5316
|
case REACT_ACTIVITY_TYPE:
|
5317
|
-
|
5318
|
-
|
5319
|
-
|
5320
|
-
|
5321
|
-
|
5317
|
+
var segment$jscomp$0 = task.blockedSegment;
|
5318
|
+
if (null === segment$jscomp$0) {
|
5319
|
+
if ("hidden" !== props.mode) {
|
5320
|
+
var prevKeyPath$jscomp$2 = task.keyPath;
|
5321
|
+
task.keyPath = keyPath;
|
5322
|
+
renderNode(request, task, props.children, -1);
|
5323
|
+
task.keyPath = prevKeyPath$jscomp$2;
|
5324
|
+
}
|
5325
|
+
} else {
|
5326
|
+
request.renderState.generateStaticMarkup ||
|
5327
|
+
segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
|
5328
|
+
segment$jscomp$0.lastPushedText = !1;
|
5329
|
+
if ("hidden" !== props.mode) {
|
5330
|
+
var _prevKeyPath3 = task.keyPath;
|
5331
|
+
task.keyPath = keyPath;
|
5332
|
+
renderNode(request, task, props.children, -1);
|
5333
|
+
task.keyPath = _prevKeyPath3;
|
5334
|
+
}
|
5335
|
+
if (!request.renderState.generateStaticMarkup) {
|
5336
|
+
var target$jscomp$0 = segment$jscomp$0.chunks,
|
5337
|
+
preambleState = task.blockedPreamble;
|
5338
|
+
if (preambleState) {
|
5339
|
+
var contribution = preambleState.contribution;
|
5340
|
+
contribution !== NoContribution &&
|
5341
|
+
target$jscomp$0.push(
|
5342
|
+
boundaryPreambleContributionChunkStart,
|
5343
|
+
"" + contribution,
|
5344
|
+
boundaryPreambleContributionChunkEnd
|
5345
|
+
);
|
5346
|
+
}
|
5347
|
+
target$jscomp$0.push("\x3c!--/&--\x3e");
|
5348
|
+
}
|
5349
|
+
segment$jscomp$0.lastPushedText = !1;
|
5322
5350
|
}
|
5323
5351
|
return;
|
5324
5352
|
case REACT_SUSPENSE_LIST_TYPE:
|
5325
|
-
var
|
5353
|
+
var _prevKeyPath4 = task.keyPath;
|
5326
5354
|
task.keyPath = keyPath;
|
5327
5355
|
renderNodeDestructive(request, task, props.children, -1);
|
5328
|
-
task.keyPath =
|
5356
|
+
task.keyPath = _prevKeyPath4;
|
5329
5357
|
return;
|
5330
5358
|
case REACT_VIEW_TRANSITION_TYPE:
|
5331
5359
|
case REACT_SCOPE_TYPE:
|
@@ -9031,5 +9059,5 @@
|
|
9031
9059
|
'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'
|
9032
9060
|
);
|
9033
9061
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9062
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
9035
9063
|
})();
|
@@ -2646,17 +2646,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2646
2646
|
"\x3c/script>"
|
2647
2647
|
);
|
2648
2648
|
bootstrapScriptContent = idPrefix + "P:";
|
2649
|
-
var
|
2649
|
+
var JSCompiler_object_inline_segmentPrefix_1567 = idPrefix + "S:";
|
2650
2650
|
idPrefix += "B:";
|
2651
|
-
var
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
|
2659
|
-
|
2651
|
+
var JSCompiler_object_inline_preamble_1570 = createPreambleState(),
|
2652
|
+
JSCompiler_object_inline_preconnects_1580 = new Set(),
|
2653
|
+
JSCompiler_object_inline_fontPreloads_1581 = new Set(),
|
2654
|
+
JSCompiler_object_inline_highImagePreloads_1582 = new Set(),
|
2655
|
+
JSCompiler_object_inline_styles_1583 = new Map(),
|
2656
|
+
JSCompiler_object_inline_bootstrapScripts_1584 = new Set(),
|
2657
|
+
JSCompiler_object_inline_scripts_1585 = new Set(),
|
2658
|
+
JSCompiler_object_inline_bulkPreloads_1586 = new Set(),
|
2659
|
+
JSCompiler_object_inline_preloads_1587 = {
|
2660
2660
|
images: new Map(),
|
2661
2661
|
stylesheets: new Map(),
|
2662
2662
|
scripts: new Map(),
|
@@ -2693,7 +2693,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2693
2693
|
scriptConfig.moduleScriptResources[href] = null;
|
2694
2694
|
scriptConfig = [];
|
2695
2695
|
pushLinkImpl(scriptConfig, props);
|
2696
|
-
|
2696
|
+
JSCompiler_object_inline_bootstrapScripts_1584.add(scriptConfig);
|
2697
2697
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
|
2698
2698
|
"string" === typeof integrity &&
|
2699
2699
|
bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity));
|
@@ -2734,7 +2734,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2734
2734
|
(props.moduleScriptResources[scriptConfig] = null),
|
2735
2735
|
(props = []),
|
2736
2736
|
pushLinkImpl(props, integrity),
|
2737
|
-
|
2737
|
+
JSCompiler_object_inline_bootstrapScripts_1584.add(props),
|
2738
2738
|
bootstrapChunks.push(
|
2739
2739
|
'<script type="module" src="',
|
2740
2740
|
escapeTextForBrowser(i)
|
@@ -2749,10 +2749,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2749
2749
|
bootstrapChunks.push('" async="">\x3c/script>');
|
2750
2750
|
return {
|
2751
2751
|
placeholderPrefix: bootstrapScriptContent,
|
2752
|
-
segmentPrefix:
|
2752
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1567,
|
2753
2753
|
boundaryPrefix: idPrefix,
|
2754
2754
|
startInlineScript: "<script>",
|
2755
|
-
preamble:
|
2755
|
+
preamble: JSCompiler_object_inline_preamble_1570,
|
2756
2756
|
externalRuntimeScript: null,
|
2757
2757
|
bootstrapChunks: bootstrapChunks,
|
2758
2758
|
importMapChunks: [],
|
@@ -2768,14 +2768,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2768
2768
|
charsetChunks: [],
|
2769
2769
|
viewportChunks: [],
|
2770
2770
|
hoistableChunks: [],
|
2771
|
-
preconnects:
|
2772
|
-
fontPreloads:
|
2773
|
-
highImagePreloads:
|
2774
|
-
styles:
|
2775
|
-
bootstrapScripts:
|
2776
|
-
scripts:
|
2777
|
-
bulkPreloads:
|
2778
|
-
preloads:
|
2771
|
+
preconnects: JSCompiler_object_inline_preconnects_1580,
|
2772
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1581,
|
2773
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1582,
|
2774
|
+
styles: JSCompiler_object_inline_styles_1583,
|
2775
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1584,
|
2776
|
+
scripts: JSCompiler_object_inline_scripts_1585,
|
2777
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1586,
|
2778
|
+
preloads: JSCompiler_object_inline_preloads_1587,
|
2779
2779
|
stylesToHoist: !1,
|
2780
2780
|
generateStaticMarkup: generateStaticMarkup
|
2781
2781
|
};
|
@@ -4085,11 +4085,31 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4085
4085
|
task.keyPath = type;
|
4086
4086
|
return;
|
4087
4087
|
case REACT_ACTIVITY_TYPE:
|
4088
|
-
|
4089
|
-
|
4090
|
-
|
4091
|
-
|
4092
|
-
|
4088
|
+
type = task.blockedSegment;
|
4089
|
+
if (null === type)
|
4090
|
+
"hidden" !== props.mode &&
|
4091
|
+
((type = task.keyPath),
|
4092
|
+
(task.keyPath = keyPath),
|
4093
|
+
renderNode(request, task, props.children, -1),
|
4094
|
+
(task.keyPath = type));
|
4095
|
+
else {
|
4096
|
+
request.renderState.generateStaticMarkup ||
|
4097
|
+
type.chunks.push("\x3c!--&--\x3e");
|
4098
|
+
type.lastPushedText = !1;
|
4099
|
+
"hidden" !== props.mode &&
|
4100
|
+
((newProps = task.keyPath),
|
4101
|
+
(task.keyPath = keyPath),
|
4102
|
+
renderNode(request, task, props.children, -1),
|
4103
|
+
(task.keyPath = newProps));
|
4104
|
+
if (!request.renderState.generateStaticMarkup) {
|
4105
|
+
request = type.chunks;
|
4106
|
+
if ((task = task.blockedPreamble))
|
4107
|
+
(task = task.contribution),
|
4108
|
+
0 !== task && request.push("\x3c!--", "" + task, "--\x3e");
|
4109
|
+
request.push("\x3c!--/&--\x3e");
|
4110
|
+
}
|
4111
|
+
type.lastPushedText = !1;
|
4112
|
+
}
|
4093
4113
|
return;
|
4094
4114
|
case REACT_SUSPENSE_LIST_TYPE:
|
4095
4115
|
type = task.keyPath;
|
@@ -4812,15 +4832,15 @@ function renderNode(request, task, node, childIndex) {
|
|
4812
4832
|
chunkLength = segment.chunks.length;
|
4813
4833
|
try {
|
4814
4834
|
return renderNodeDestructive(request, task, node, childIndex);
|
4815
|
-
} catch (thrownValue$
|
4835
|
+
} catch (thrownValue$50) {
|
4816
4836
|
if (
|
4817
4837
|
(resetHooksState(),
|
4818
4838
|
(segment.children.length = childrenLength),
|
4819
4839
|
(segment.chunks.length = chunkLength),
|
4820
4840
|
(node =
|
4821
|
-
thrownValue$
|
4841
|
+
thrownValue$50 === SuspenseException
|
4822
4842
|
? getSuspendedThenable()
|
4823
|
-
: thrownValue$
|
4843
|
+
: thrownValue$50),
|
4824
4844
|
"object" === typeof node && null !== node)
|
4825
4845
|
) {
|
4826
4846
|
if ("function" === typeof node.then) {
|
@@ -5712,11 +5732,11 @@ function flushCompletedQueues(request, destination) {
|
|
5712
5732
|
completedBoundaries.splice(0, i);
|
5713
5733
|
var partialBoundaries = request.partialBoundaries;
|
5714
5734
|
for (i = 0; i < partialBoundaries.length; i++) {
|
5715
|
-
var boundary$
|
5735
|
+
var boundary$53 = partialBoundaries[i];
|
5716
5736
|
a: {
|
5717
5737
|
clientRenderedBoundaries = request;
|
5718
5738
|
boundary = destination;
|
5719
|
-
var completedSegments = boundary$
|
5739
|
+
var completedSegments = boundary$53.completedSegments;
|
5720
5740
|
for (
|
5721
5741
|
JSCompiler_inline_result = 0;
|
5722
5742
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -5726,7 +5746,7 @@ function flushCompletedQueues(request, destination) {
|
|
5726
5746
|
!flushPartiallyCompletedSegment(
|
5727
5747
|
clientRenderedBoundaries,
|
5728
5748
|
boundary,
|
5729
|
-
boundary$
|
5749
|
+
boundary$53,
|
5730
5750
|
completedSegments[JSCompiler_inline_result]
|
5731
5751
|
)
|
5732
5752
|
) {
|
@@ -5738,7 +5758,7 @@ function flushCompletedQueues(request, destination) {
|
|
5738
5758
|
completedSegments.splice(0, JSCompiler_inline_result);
|
5739
5759
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
5740
5760
|
boundary,
|
5741
|
-
boundary$
|
5761
|
+
boundary$53.contentState,
|
5742
5762
|
clientRenderedBoundaries.renderState
|
5743
5763
|
);
|
5744
5764
|
}
|
@@ -5822,8 +5842,8 @@ function abort(request, reason) {
|
|
5822
5842
|
}
|
5823
5843
|
null !== request.destination &&
|
5824
5844
|
flushCompletedQueues(request, request.destination);
|
5825
|
-
} catch (error$
|
5826
|
-
logRecoverableError(request, error$
|
5845
|
+
} catch (error$55) {
|
5846
|
+
logRecoverableError(request, error$55, {}), fatalError(request, error$55);
|
5827
5847
|
}
|
5828
5848
|
}
|
5829
5849
|
function onError() {}
|
@@ -5889,4 +5909,4 @@ exports.renderToString = function (children, options) {
|
|
5889
5909
|
'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'
|
5890
5910
|
);
|
5891
5911
|
};
|
5892
|
-
exports.version = "19.2.0-canary-
|
5912
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
@@ -5314,18 +5314,46 @@
|
|
5314
5314
|
task.keyPath = prevKeyPath$jscomp$1;
|
5315
5315
|
return;
|
5316
5316
|
case REACT_ACTIVITY_TYPE:
|
5317
|
-
|
5318
|
-
|
5319
|
-
|
5320
|
-
|
5321
|
-
|
5317
|
+
var segment$jscomp$0 = task.blockedSegment;
|
5318
|
+
if (null === segment$jscomp$0) {
|
5319
|
+
if ("hidden" !== props.mode) {
|
5320
|
+
var prevKeyPath$jscomp$2 = task.keyPath;
|
5321
|
+
task.keyPath = keyPath;
|
5322
|
+
renderNode(request, task, props.children, -1);
|
5323
|
+
task.keyPath = prevKeyPath$jscomp$2;
|
5324
|
+
}
|
5325
|
+
} else {
|
5326
|
+
request.renderState.generateStaticMarkup ||
|
5327
|
+
segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
|
5328
|
+
segment$jscomp$0.lastPushedText = !1;
|
5329
|
+
if ("hidden" !== props.mode) {
|
5330
|
+
var _prevKeyPath3 = task.keyPath;
|
5331
|
+
task.keyPath = keyPath;
|
5332
|
+
renderNode(request, task, props.children, -1);
|
5333
|
+
task.keyPath = _prevKeyPath3;
|
5334
|
+
}
|
5335
|
+
if (!request.renderState.generateStaticMarkup) {
|
5336
|
+
var target$jscomp$0 = segment$jscomp$0.chunks,
|
5337
|
+
preambleState = task.blockedPreamble;
|
5338
|
+
if (preambleState) {
|
5339
|
+
var contribution = preambleState.contribution;
|
5340
|
+
contribution !== NoContribution &&
|
5341
|
+
target$jscomp$0.push(
|
5342
|
+
boundaryPreambleContributionChunkStart,
|
5343
|
+
"" + contribution,
|
5344
|
+
boundaryPreambleContributionChunkEnd
|
5345
|
+
);
|
5346
|
+
}
|
5347
|
+
target$jscomp$0.push("\x3c!--/&--\x3e");
|
5348
|
+
}
|
5349
|
+
segment$jscomp$0.lastPushedText = !1;
|
5322
5350
|
}
|
5323
5351
|
return;
|
5324
5352
|
case REACT_SUSPENSE_LIST_TYPE:
|
5325
|
-
var
|
5353
|
+
var _prevKeyPath4 = task.keyPath;
|
5326
5354
|
task.keyPath = keyPath;
|
5327
5355
|
renderNodeDestructive(request, task, props.children, -1);
|
5328
|
-
task.keyPath =
|
5356
|
+
task.keyPath = _prevKeyPath4;
|
5329
5357
|
return;
|
5330
5358
|
case REACT_VIEW_TRANSITION_TYPE:
|
5331
5359
|
case REACT_SCOPE_TYPE:
|
@@ -9031,5 +9059,5 @@
|
|
9031
9059
|
'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 "renderToPipeableStream" which supports Suspense on the server'
|
9032
9060
|
);
|
9033
9061
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9062
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
9035
9063
|
})();
|
@@ -2665,17 +2665,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2665
2665
|
"\x3c/script>"
|
2666
2666
|
);
|
2667
2667
|
bootstrapScriptContent = idPrefix + "P:";
|
2668
|
-
var
|
2668
|
+
var JSCompiler_object_inline_segmentPrefix_1567 = idPrefix + "S:";
|
2669
2669
|
idPrefix += "B:";
|
2670
|
-
var
|
2671
|
-
|
2672
|
-
|
2673
|
-
|
2674
|
-
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2670
|
+
var JSCompiler_object_inline_preamble_1570 = createPreambleState(),
|
2671
|
+
JSCompiler_object_inline_preconnects_1580 = new Set(),
|
2672
|
+
JSCompiler_object_inline_fontPreloads_1581 = new Set(),
|
2673
|
+
JSCompiler_object_inline_highImagePreloads_1582 = new Set(),
|
2674
|
+
JSCompiler_object_inline_styles_1583 = new Map(),
|
2675
|
+
JSCompiler_object_inline_bootstrapScripts_1584 = new Set(),
|
2676
|
+
JSCompiler_object_inline_scripts_1585 = new Set(),
|
2677
|
+
JSCompiler_object_inline_bulkPreloads_1586 = new Set(),
|
2678
|
+
JSCompiler_object_inline_preloads_1587 = {
|
2679
2679
|
images: new Map(),
|
2680
2680
|
stylesheets: new Map(),
|
2681
2681
|
scripts: new Map(),
|
@@ -2712,7 +2712,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2712
2712
|
scriptConfig.moduleScriptResources[href] = null;
|
2713
2713
|
scriptConfig = [];
|
2714
2714
|
pushLinkImpl(scriptConfig, props);
|
2715
|
-
|
2715
|
+
JSCompiler_object_inline_bootstrapScripts_1584.add(scriptConfig);
|
2716
2716
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
|
2717
2717
|
"string" === typeof integrity &&
|
2718
2718
|
bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity));
|
@@ -2753,7 +2753,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2753
2753
|
(props.moduleScriptResources[scriptConfig] = null),
|
2754
2754
|
(props = []),
|
2755
2755
|
pushLinkImpl(props, integrity),
|
2756
|
-
|
2756
|
+
JSCompiler_object_inline_bootstrapScripts_1584.add(props),
|
2757
2757
|
bootstrapChunks.push(
|
2758
2758
|
'<script type="module" src="',
|
2759
2759
|
escapeTextForBrowser(i)
|
@@ -2768,10 +2768,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2768
2768
|
bootstrapChunks.push('" async="">\x3c/script>');
|
2769
2769
|
return {
|
2770
2770
|
placeholderPrefix: bootstrapScriptContent,
|
2771
|
-
segmentPrefix:
|
2771
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1567,
|
2772
2772
|
boundaryPrefix: idPrefix,
|
2773
2773
|
startInlineScript: "<script>",
|
2774
|
-
preamble:
|
2774
|
+
preamble: JSCompiler_object_inline_preamble_1570,
|
2775
2775
|
externalRuntimeScript: null,
|
2776
2776
|
bootstrapChunks: bootstrapChunks,
|
2777
2777
|
importMapChunks: [],
|
@@ -2787,14 +2787,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2787
2787
|
charsetChunks: [],
|
2788
2788
|
viewportChunks: [],
|
2789
2789
|
hoistableChunks: [],
|
2790
|
-
preconnects:
|
2791
|
-
fontPreloads:
|
2792
|
-
highImagePreloads:
|
2793
|
-
styles:
|
2794
|
-
bootstrapScripts:
|
2795
|
-
scripts:
|
2796
|
-
bulkPreloads:
|
2797
|
-
preloads:
|
2790
|
+
preconnects: JSCompiler_object_inline_preconnects_1580,
|
2791
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1581,
|
2792
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1582,
|
2793
|
+
styles: JSCompiler_object_inline_styles_1583,
|
2794
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1584,
|
2795
|
+
scripts: JSCompiler_object_inline_scripts_1585,
|
2796
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1586,
|
2797
|
+
preloads: JSCompiler_object_inline_preloads_1587,
|
2798
2798
|
stylesToHoist: !1,
|
2799
2799
|
generateStaticMarkup: generateStaticMarkup
|
2800
2800
|
};
|
@@ -4132,11 +4132,31 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4132
4132
|
task.keyPath = type;
|
4133
4133
|
return;
|
4134
4134
|
case REACT_ACTIVITY_TYPE:
|
4135
|
-
|
4136
|
-
|
4137
|
-
|
4138
|
-
|
4139
|
-
|
4135
|
+
type = task.blockedSegment;
|
4136
|
+
if (null === type)
|
4137
|
+
"hidden" !== props.mode &&
|
4138
|
+
((type = task.keyPath),
|
4139
|
+
(task.keyPath = keyPath),
|
4140
|
+
renderNode(request, task, props.children, -1),
|
4141
|
+
(task.keyPath = type));
|
4142
|
+
else {
|
4143
|
+
request.renderState.generateStaticMarkup ||
|
4144
|
+
type.chunks.push("\x3c!--&--\x3e");
|
4145
|
+
type.lastPushedText = !1;
|
4146
|
+
"hidden" !== props.mode &&
|
4147
|
+
((newProps = task.keyPath),
|
4148
|
+
(task.keyPath = keyPath),
|
4149
|
+
renderNode(request, task, props.children, -1),
|
4150
|
+
(task.keyPath = newProps));
|
4151
|
+
if (!request.renderState.generateStaticMarkup) {
|
4152
|
+
request = type.chunks;
|
4153
|
+
if ((task = task.blockedPreamble))
|
4154
|
+
(task = task.contribution),
|
4155
|
+
0 !== task && request.push("\x3c!--", "" + task, "--\x3e");
|
4156
|
+
request.push("\x3c!--/&--\x3e");
|
4157
|
+
}
|
4158
|
+
type.lastPushedText = !1;
|
4159
|
+
}
|
4140
4160
|
return;
|
4141
4161
|
case REACT_SUSPENSE_LIST_TYPE:
|
4142
4162
|
type = task.keyPath;
|
@@ -4872,15 +4892,15 @@ function renderNode(request, task, node, childIndex) {
|
|
4872
4892
|
chunkLength = segment.chunks.length;
|
4873
4893
|
try {
|
4874
4894
|
return renderNodeDestructive(request, task, node, childIndex);
|
4875
|
-
} catch (thrownValue$
|
4895
|
+
} catch (thrownValue$50) {
|
4876
4896
|
if (
|
4877
4897
|
(resetHooksState(),
|
4878
4898
|
(segment.children.length = childrenLength),
|
4879
4899
|
(segment.chunks.length = chunkLength),
|
4880
4900
|
(node =
|
4881
|
-
thrownValue$
|
4901
|
+
thrownValue$50 === SuspenseException
|
4882
4902
|
? getSuspendedThenable()
|
4883
|
-
: thrownValue$
|
4903
|
+
: thrownValue$50),
|
4884
4904
|
"object" === typeof node && null !== node)
|
4885
4905
|
) {
|
4886
4906
|
if ("function" === typeof node.then) {
|
@@ -5789,11 +5809,11 @@ function flushCompletedQueues(request, destination) {
|
|
5789
5809
|
completedBoundaries.splice(0, i);
|
5790
5810
|
var partialBoundaries = request.partialBoundaries;
|
5791
5811
|
for (i = 0; i < partialBoundaries.length; i++) {
|
5792
|
-
var boundary$
|
5812
|
+
var boundary$53 = partialBoundaries[i];
|
5793
5813
|
a: {
|
5794
5814
|
clientRenderedBoundaries = request;
|
5795
5815
|
boundary = destination;
|
5796
|
-
var completedSegments = boundary$
|
5816
|
+
var completedSegments = boundary$53.completedSegments;
|
5797
5817
|
for (
|
5798
5818
|
JSCompiler_inline_result = 0;
|
5799
5819
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -5803,7 +5823,7 @@ function flushCompletedQueues(request, destination) {
|
|
5803
5823
|
!flushPartiallyCompletedSegment(
|
5804
5824
|
clientRenderedBoundaries,
|
5805
5825
|
boundary,
|
5806
|
-
boundary$
|
5826
|
+
boundary$53,
|
5807
5827
|
completedSegments[JSCompiler_inline_result]
|
5808
5828
|
)
|
5809
5829
|
) {
|
@@ -5815,7 +5835,7 @@ function flushCompletedQueues(request, destination) {
|
|
5815
5835
|
completedSegments.splice(0, JSCompiler_inline_result);
|
5816
5836
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
5817
5837
|
boundary,
|
5818
|
-
boundary$
|
5838
|
+
boundary$53.contentState,
|
5819
5839
|
clientRenderedBoundaries.renderState
|
5820
5840
|
);
|
5821
5841
|
}
|
@@ -5899,8 +5919,8 @@ function abort(request, reason) {
|
|
5899
5919
|
}
|
5900
5920
|
null !== request.destination &&
|
5901
5921
|
flushCompletedQueues(request, request.destination);
|
5902
|
-
} catch (error$
|
5903
|
-
logRecoverableError(request, error$
|
5922
|
+
} catch (error$55) {
|
5923
|
+
logRecoverableError(request, error$55, {}), fatalError(request, error$55);
|
5904
5924
|
}
|
5905
5925
|
}
|
5906
5926
|
function onError() {}
|
@@ -5969,4 +5989,4 @@ exports.renderToString = function (children, options) {
|
|
5969
5989
|
'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 "renderToPipeableStream" which supports Suspense on the server'
|
5970
5990
|
);
|
5971
5991
|
};
|
5972
|
-
exports.version = "19.2.0-canary-
|
5992
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
@@ -5503,18 +5503,43 @@
|
|
5503
5503
|
task.keyPath = prevKeyPath$jscomp$1;
|
5504
5504
|
return;
|
5505
5505
|
case REACT_ACTIVITY_TYPE:
|
5506
|
-
|
5507
|
-
|
5508
|
-
|
5509
|
-
|
5510
|
-
|
5506
|
+
var segment$jscomp$0 = task.blockedSegment;
|
5507
|
+
if (null === segment$jscomp$0) {
|
5508
|
+
if ("hidden" !== props.mode) {
|
5509
|
+
var prevKeyPath$jscomp$2 = task.keyPath;
|
5510
|
+
task.keyPath = keyPath;
|
5511
|
+
renderNode(request, task, props.children, -1);
|
5512
|
+
task.keyPath = prevKeyPath$jscomp$2;
|
5513
|
+
}
|
5514
|
+
} else {
|
5515
|
+
segment$jscomp$0.chunks.push(startActivityBoundary);
|
5516
|
+
segment$jscomp$0.lastPushedText = !1;
|
5517
|
+
if ("hidden" !== props.mode) {
|
5518
|
+
var _prevKeyPath3 = task.keyPath;
|
5519
|
+
task.keyPath = keyPath;
|
5520
|
+
renderNode(request, task, props.children, -1);
|
5521
|
+
task.keyPath = _prevKeyPath3;
|
5522
|
+
}
|
5523
|
+
var target$jscomp$0 = segment$jscomp$0.chunks,
|
5524
|
+
preambleState = task.blockedPreamble;
|
5525
|
+
if (preambleState) {
|
5526
|
+
var contribution = preambleState.contribution;
|
5527
|
+
contribution !== NoContribution &&
|
5528
|
+
target$jscomp$0.push(
|
5529
|
+
boundaryPreambleContributionChunkStart,
|
5530
|
+
stringToChunk("" + contribution),
|
5531
|
+
boundaryPreambleContributionChunkEnd
|
5532
|
+
);
|
5533
|
+
}
|
5534
|
+
target$jscomp$0.push(endActivityBoundary);
|
5535
|
+
segment$jscomp$0.lastPushedText = !1;
|
5511
5536
|
}
|
5512
5537
|
return;
|
5513
5538
|
case REACT_SUSPENSE_LIST_TYPE:
|
5514
|
-
var
|
5539
|
+
var _prevKeyPath4 = task.keyPath;
|
5515
5540
|
task.keyPath = keyPath;
|
5516
5541
|
renderNodeDestructive(request, task, props.children, -1);
|
5517
|
-
task.keyPath =
|
5542
|
+
task.keyPath = _prevKeyPath4;
|
5518
5543
|
return;
|
5519
5544
|
case REACT_VIEW_TRANSITION_TYPE:
|
5520
5545
|
case REACT_SCOPE_TYPE:
|
@@ -7746,11 +7771,11 @@
|
|
7746
7771
|
}
|
7747
7772
|
function ensureCorrectIsomorphicReactVersion() {
|
7748
7773
|
var isomorphicReactPackageVersion = React.version;
|
7749
|
-
if ("19.2.0-canary-
|
7774
|
+
if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
|
7750
7775
|
throw Error(
|
7751
7776
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7752
7777
|
(isomorphicReactPackageVersion +
|
7753
|
-
"\n - react-dom: 19.2.0-canary-
|
7778
|
+
"\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
|
7754
7779
|
);
|
7755
7780
|
}
|
7756
7781
|
var React = require("react"),
|
@@ -8910,6 +8935,8 @@
|
|
8910
8935
|
endTagCache = new Map(),
|
8911
8936
|
placeholder1 = stringToPrecomputedChunk('<template id="'),
|
8912
8937
|
placeholder2 = stringToPrecomputedChunk('"></template>'),
|
8938
|
+
startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
|
8939
|
+
endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
|
8913
8940
|
startCompletedSuspenseBoundary =
|
8914
8941
|
stringToPrecomputedChunk("\x3c!--$--\x3e"),
|
8915
8942
|
startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
|
@@ -9420,5 +9447,5 @@
|
|
9420
9447
|
startWork(request);
|
9421
9448
|
});
|
9422
9449
|
};
|
9423
|
-
exports.version = "19.2.0-canary-
|
9450
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
9424
9451
|
})();
|