react-markup 0.0.0-experimental-d415fd3e-20250919 → 0.0.0-experimental-1eca9a27-20250922
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.
|
@@ -5289,7 +5289,13 @@
|
|
|
5289
5289
|
i < path.length;
|
|
5290
5290
|
i++
|
|
5291
5291
|
) {
|
|
5292
|
-
for (
|
|
5292
|
+
for (
|
|
5293
|
+
;
|
|
5294
|
+
"object" === typeof value &&
|
|
5295
|
+
null !== value &&
|
|
5296
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
5297
|
+
|
|
5298
|
+
)
|
|
5293
5299
|
if (((value = value._payload), value === handler.chunk))
|
|
5294
5300
|
value = handler.value;
|
|
5295
5301
|
else {
|
|
@@ -5328,6 +5334,30 @@
|
|
|
5328
5334
|
}
|
|
5329
5335
|
value = value[path[i]];
|
|
5330
5336
|
}
|
|
5337
|
+
for (
|
|
5338
|
+
;
|
|
5339
|
+
"object" === typeof value &&
|
|
5340
|
+
null !== value &&
|
|
5341
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
5342
|
+
|
|
5343
|
+
)
|
|
5344
|
+
if (((path = value._payload), path === handler.chunk))
|
|
5345
|
+
value = handler.value;
|
|
5346
|
+
else {
|
|
5347
|
+
switch (path.status) {
|
|
5348
|
+
case "resolved_model":
|
|
5349
|
+
initializeModelChunk(path);
|
|
5350
|
+
break;
|
|
5351
|
+
case "resolved_module":
|
|
5352
|
+
initializeModuleChunk(path);
|
|
5353
|
+
}
|
|
5354
|
+
switch (path.status) {
|
|
5355
|
+
case "fulfilled":
|
|
5356
|
+
value = path.value;
|
|
5357
|
+
continue;
|
|
5358
|
+
}
|
|
5359
|
+
break;
|
|
5360
|
+
}
|
|
5331
5361
|
response = map(response, value, parentObject, key);
|
|
5332
5362
|
parentObject[key] = response;
|
|
5333
5363
|
"" === key && null === handler.value && (handler.value = response);
|
|
@@ -5495,23 +5525,29 @@
|
|
|
5495
5525
|
parentChunk.push(existingDebugInfo);
|
|
5496
5526
|
}
|
|
5497
5527
|
function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5528
|
+
var path = reference.split(":");
|
|
5529
|
+
reference = parseInt(path[0], 16);
|
|
5530
|
+
reference = getChunk(response, reference);
|
|
5501
5531
|
null !== initializingChunk &&
|
|
5502
5532
|
isArrayImpl(initializingChunk._children) &&
|
|
5503
|
-
initializingChunk._children.push(
|
|
5504
|
-
switch (
|
|
5533
|
+
initializingChunk._children.push(reference);
|
|
5534
|
+
switch (reference.status) {
|
|
5505
5535
|
case "resolved_model":
|
|
5506
|
-
initializeModelChunk(
|
|
5536
|
+
initializeModelChunk(reference);
|
|
5507
5537
|
break;
|
|
5508
5538
|
case "resolved_module":
|
|
5509
|
-
initializeModuleChunk(
|
|
5539
|
+
initializeModuleChunk(reference);
|
|
5510
5540
|
}
|
|
5511
|
-
switch (
|
|
5541
|
+
switch (reference.status) {
|
|
5512
5542
|
case "fulfilled":
|
|
5513
|
-
for (var value =
|
|
5514
|
-
for (
|
|
5543
|
+
for (var value = reference.value, i = 1; i < path.length; i++) {
|
|
5544
|
+
for (
|
|
5545
|
+
;
|
|
5546
|
+
"object" === typeof value &&
|
|
5547
|
+
null !== value &&
|
|
5548
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
5549
|
+
|
|
5550
|
+
) {
|
|
5515
5551
|
value = value._payload;
|
|
5516
5552
|
switch (value.status) {
|
|
5517
5553
|
case "resolved_model":
|
|
@@ -5532,7 +5568,7 @@
|
|
|
5532
5568
|
key,
|
|
5533
5569
|
response,
|
|
5534
5570
|
map,
|
|
5535
|
-
|
|
5571
|
+
path.slice(i - 1),
|
|
5536
5572
|
!1
|
|
5537
5573
|
);
|
|
5538
5574
|
case "halted":
|
|
@@ -5568,22 +5604,44 @@
|
|
|
5568
5604
|
);
|
|
5569
5605
|
}
|
|
5570
5606
|
}
|
|
5571
|
-
value = value[
|
|
5607
|
+
value = value[path[i]];
|
|
5608
|
+
}
|
|
5609
|
+
for (
|
|
5610
|
+
;
|
|
5611
|
+
"object" === typeof value &&
|
|
5612
|
+
null !== value &&
|
|
5613
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
5614
|
+
|
|
5615
|
+
) {
|
|
5616
|
+
path = value._payload;
|
|
5617
|
+
switch (path.status) {
|
|
5618
|
+
case "resolved_model":
|
|
5619
|
+
initializeModelChunk(path);
|
|
5620
|
+
break;
|
|
5621
|
+
case "resolved_module":
|
|
5622
|
+
initializeModuleChunk(path);
|
|
5623
|
+
}
|
|
5624
|
+
switch (path.status) {
|
|
5625
|
+
case "fulfilled":
|
|
5626
|
+
value = path.value;
|
|
5627
|
+
continue;
|
|
5628
|
+
}
|
|
5629
|
+
break;
|
|
5572
5630
|
}
|
|
5573
5631
|
response = map(response, value, parentObject, key);
|
|
5574
5632
|
(parentObject[0] !== REACT_ELEMENT_TYPE ||
|
|
5575
5633
|
("4" !== key && "5" !== key)) &&
|
|
5576
|
-
transferReferencedDebugInfo(initializingChunk,
|
|
5634
|
+
transferReferencedDebugInfo(initializingChunk, reference, response);
|
|
5577
5635
|
return response;
|
|
5578
5636
|
case "pending":
|
|
5579
5637
|
case "blocked":
|
|
5580
5638
|
return waitForReference(
|
|
5581
|
-
|
|
5639
|
+
reference,
|
|
5582
5640
|
parentObject,
|
|
5583
5641
|
key,
|
|
5584
5642
|
response,
|
|
5585
5643
|
map,
|
|
5586
|
-
|
|
5644
|
+
path,
|
|
5587
5645
|
!1
|
|
5588
5646
|
);
|
|
5589
5647
|
case "halted":
|
|
@@ -5605,12 +5663,12 @@
|
|
|
5605
5663
|
initializingHandler
|
|
5606
5664
|
? ((initializingHandler.errored = !0),
|
|
5607
5665
|
(initializingHandler.value = null),
|
|
5608
|
-
(initializingHandler.reason =
|
|
5666
|
+
(initializingHandler.reason = reference.reason))
|
|
5609
5667
|
: (initializingHandler = {
|
|
5610
5668
|
parent: null,
|
|
5611
5669
|
chunk: null,
|
|
5612
5670
|
value: null,
|
|
5613
|
-
reason:
|
|
5671
|
+
reason: reference.reason,
|
|
5614
5672
|
deps: 0,
|
|
5615
5673
|
errored: !0
|
|
5616
5674
|
}),
|
|
@@ -16998,5 +17056,5 @@
|
|
|
16998
17056
|
});
|
|
16999
17057
|
});
|
|
17000
17058
|
};
|
|
17001
|
-
exports.version = "19.2.0-experimental-
|
|
17059
|
+
exports.version = "19.2.0-experimental-1eca9a27-20250922";
|
|
17002
17060
|
})();
|
|
@@ -2664,7 +2664,13 @@ function fulfillReference(reference, value) {
|
|
|
2664
2664
|
i < path.length;
|
|
2665
2665
|
i++
|
|
2666
2666
|
) {
|
|
2667
|
-
for (
|
|
2667
|
+
for (
|
|
2668
|
+
;
|
|
2669
|
+
"object" === typeof value &&
|
|
2670
|
+
null !== value &&
|
|
2671
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
2672
|
+
|
|
2673
|
+
)
|
|
2668
2674
|
if (((value = value._payload), value === handler.chunk))
|
|
2669
2675
|
value = handler.value;
|
|
2670
2676
|
else {
|
|
@@ -2703,9 +2709,33 @@ function fulfillReference(reference, value) {
|
|
|
2703
2709
|
}
|
|
2704
2710
|
value = value[path[i]];
|
|
2705
2711
|
}
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2712
|
+
for (
|
|
2713
|
+
;
|
|
2714
|
+
"object" === typeof value &&
|
|
2715
|
+
null !== value &&
|
|
2716
|
+
value.$$typeof === REACT_LAZY_TYPE;
|
|
2717
|
+
|
|
2718
|
+
)
|
|
2719
|
+
if (((reference = value._payload), reference === handler.chunk))
|
|
2720
|
+
value = handler.value;
|
|
2721
|
+
else {
|
|
2722
|
+
switch (reference.status) {
|
|
2723
|
+
case "resolved_model":
|
|
2724
|
+
initializeModelChunk(reference);
|
|
2725
|
+
break;
|
|
2726
|
+
case "resolved_module":
|
|
2727
|
+
initializeModuleChunk(reference);
|
|
2728
|
+
}
|
|
2729
|
+
switch (reference.status) {
|
|
2730
|
+
case "fulfilled":
|
|
2731
|
+
value = reference.value;
|
|
2732
|
+
continue;
|
|
2733
|
+
}
|
|
2734
|
+
break;
|
|
2735
|
+
}
|
|
2736
|
+
response = map(response, value, parentObject, key);
|
|
2737
|
+
parentObject[key] = response;
|
|
2738
|
+
"" === key && null === handler.value && (handler.value = response);
|
|
2709
2739
|
if (
|
|
2710
2740
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
2711
2741
|
"object" === typeof handler.value &&
|
|
@@ -2714,7 +2744,7 @@ function fulfillReference(reference, value) {
|
|
|
2714
2744
|
)
|
|
2715
2745
|
switch (((parentObject = handler.value), key)) {
|
|
2716
2746
|
case "3":
|
|
2717
|
-
parentObject.props =
|
|
2747
|
+
parentObject.props = response;
|
|
2718
2748
|
}
|
|
2719
2749
|
handler.deps--;
|
|
2720
2750
|
0 === handler.deps &&
|
|
@@ -2799,30 +2829,36 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2799
2829
|
}
|
|
2800
2830
|
switch (id.status) {
|
|
2801
2831
|
case "fulfilled":
|
|
2802
|
-
|
|
2803
|
-
for (
|
|
2804
|
-
for (
|
|
2805
|
-
|
|
2806
|
-
|
|
2832
|
+
id = id.value;
|
|
2833
|
+
for (var i = 1; i < reference.length; i++) {
|
|
2834
|
+
for (
|
|
2835
|
+
;
|
|
2836
|
+
"object" === typeof id &&
|
|
2837
|
+
null !== id &&
|
|
2838
|
+
id.$$typeof === REACT_LAZY_TYPE;
|
|
2839
|
+
|
|
2840
|
+
) {
|
|
2841
|
+
id = id._payload;
|
|
2842
|
+
switch (id.status) {
|
|
2807
2843
|
case "resolved_model":
|
|
2808
|
-
initializeModelChunk(
|
|
2844
|
+
initializeModelChunk(id);
|
|
2809
2845
|
break;
|
|
2810
2846
|
case "resolved_module":
|
|
2811
|
-
initializeModuleChunk(
|
|
2847
|
+
initializeModuleChunk(id);
|
|
2812
2848
|
}
|
|
2813
|
-
switch (
|
|
2849
|
+
switch (id.status) {
|
|
2814
2850
|
case "fulfilled":
|
|
2815
|
-
|
|
2851
|
+
id = id.value;
|
|
2816
2852
|
break;
|
|
2817
2853
|
case "blocked":
|
|
2818
2854
|
case "pending":
|
|
2819
2855
|
return waitForReference(
|
|
2820
|
-
|
|
2856
|
+
id,
|
|
2821
2857
|
parentObject,
|
|
2822
2858
|
key,
|
|
2823
2859
|
response,
|
|
2824
2860
|
map,
|
|
2825
|
-
reference.slice(
|
|
2861
|
+
reference.slice(i - 1)
|
|
2826
2862
|
);
|
|
2827
2863
|
case "halted":
|
|
2828
2864
|
return (
|
|
@@ -2843,12 +2879,12 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2843
2879
|
initializingHandler
|
|
2844
2880
|
? ((initializingHandler.errored = !0),
|
|
2845
2881
|
(initializingHandler.value = null),
|
|
2846
|
-
(initializingHandler.reason =
|
|
2882
|
+
(initializingHandler.reason = id.reason))
|
|
2847
2883
|
: (initializingHandler = {
|
|
2848
2884
|
parent: null,
|
|
2849
2885
|
chunk: null,
|
|
2850
2886
|
value: null,
|
|
2851
|
-
reason:
|
|
2887
|
+
reason: id.reason,
|
|
2852
2888
|
deps: 0,
|
|
2853
2889
|
errored: !0
|
|
2854
2890
|
}),
|
|
@@ -2856,9 +2892,31 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2856
2892
|
);
|
|
2857
2893
|
}
|
|
2858
2894
|
}
|
|
2859
|
-
|
|
2895
|
+
id = id[reference[i]];
|
|
2896
|
+
}
|
|
2897
|
+
for (
|
|
2898
|
+
;
|
|
2899
|
+
"object" === typeof id &&
|
|
2900
|
+
null !== id &&
|
|
2901
|
+
id.$$typeof === REACT_LAZY_TYPE;
|
|
2902
|
+
|
|
2903
|
+
) {
|
|
2904
|
+
reference = id._payload;
|
|
2905
|
+
switch (reference.status) {
|
|
2906
|
+
case "resolved_model":
|
|
2907
|
+
initializeModelChunk(reference);
|
|
2908
|
+
break;
|
|
2909
|
+
case "resolved_module":
|
|
2910
|
+
initializeModuleChunk(reference);
|
|
2911
|
+
}
|
|
2912
|
+
switch (reference.status) {
|
|
2913
|
+
case "fulfilled":
|
|
2914
|
+
id = reference.value;
|
|
2915
|
+
continue;
|
|
2916
|
+
}
|
|
2917
|
+
break;
|
|
2860
2918
|
}
|
|
2861
|
-
return map(response,
|
|
2919
|
+
return map(response, id, parentObject, key);
|
|
2862
2920
|
case "pending":
|
|
2863
2921
|
case "blocked":
|
|
2864
2922
|
return waitForReference(id, parentObject, key, response, map, reference);
|
|
@@ -3089,8 +3147,8 @@ function startReadableStream(response, id, type) {
|
|
|
3089
3147
|
(previousBlockedChunk = chunk));
|
|
3090
3148
|
} else {
|
|
3091
3149
|
chunk = previousBlockedChunk;
|
|
3092
|
-
var chunk$
|
|
3093
|
-
chunk$
|
|
3150
|
+
var chunk$63 = new ReactPromise("pending", null, null);
|
|
3151
|
+
chunk$63.then(
|
|
3094
3152
|
function (v) {
|
|
3095
3153
|
return controller.enqueue(v);
|
|
3096
3154
|
},
|
|
@@ -3098,10 +3156,10 @@ function startReadableStream(response, id, type) {
|
|
|
3098
3156
|
return controller.error(e);
|
|
3099
3157
|
}
|
|
3100
3158
|
);
|
|
3101
|
-
previousBlockedChunk = chunk$
|
|
3159
|
+
previousBlockedChunk = chunk$63;
|
|
3102
3160
|
chunk.then(function () {
|
|
3103
|
-
previousBlockedChunk === chunk$
|
|
3104
|
-
resolveModelChunk(response, chunk$
|
|
3161
|
+
previousBlockedChunk === chunk$63 && (previousBlockedChunk = null);
|
|
3162
|
+
resolveModelChunk(response, chunk$63, json);
|
|
3105
3163
|
});
|
|
3106
3164
|
}
|
|
3107
3165
|
},
|
|
@@ -4118,8 +4176,8 @@ function pushAttribute(target, name, value) {
|
|
|
4118
4176
|
case "symbol":
|
|
4119
4177
|
return;
|
|
4120
4178
|
case "boolean":
|
|
4121
|
-
var prefix$
|
|
4122
|
-
if ("data-" !== prefix$
|
|
4179
|
+
var prefix$73 = name.toLowerCase().slice(0, 5);
|
|
4180
|
+
if ("data-" !== prefix$73 && "aria-" !== prefix$73) return;
|
|
4123
4181
|
}
|
|
4124
4182
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
4125
4183
|
}
|
|
@@ -4906,10 +4964,10 @@ function pushStartInstance$1(
|
|
|
4906
4964
|
styleQueue.sheets.set(href, resource);
|
|
4907
4965
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4908
4966
|
} else if (styleQueue) {
|
|
4909
|
-
var resource$
|
|
4910
|
-
resource$
|
|
4967
|
+
var resource$74 = styleQueue.sheets.get(href);
|
|
4968
|
+
resource$74 &&
|
|
4911
4969
|
hoistableState &&
|
|
4912
|
-
hoistableState.stylesheets.add(resource$
|
|
4970
|
+
hoistableState.stylesheets.add(resource$74);
|
|
4913
4971
|
}
|
|
4914
4972
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4915
4973
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -6219,10 +6277,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
6219
6277
|
var nextPostbackStateKey = null,
|
|
6220
6278
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
6221
6279
|
request = request.formState;
|
|
6222
|
-
var isSignatureEqual$
|
|
6223
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
6280
|
+
var isSignatureEqual$77 = action.$$IS_SIGNATURE_EQUAL;
|
|
6281
|
+
if (null !== request && "function" === typeof isSignatureEqual$77) {
|
|
6224
6282
|
var postbackKey = request[1];
|
|
6225
|
-
isSignatureEqual$
|
|
6283
|
+
isSignatureEqual$77.call(action, request[2], request[3]) &&
|
|
6226
6284
|
((nextPostbackStateKey =
|
|
6227
6285
|
void 0 !== permalink
|
|
6228
6286
|
? "p" + permalink
|
|
@@ -6264,11 +6322,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
6264
6322
|
});
|
|
6265
6323
|
return [initialState, action, !1];
|
|
6266
6324
|
}
|
|
6267
|
-
var boundAction$
|
|
6325
|
+
var boundAction$78 = action.bind(null, initialState);
|
|
6268
6326
|
return [
|
|
6269
6327
|
initialState,
|
|
6270
6328
|
function (payload) {
|
|
6271
|
-
boundAction$
|
|
6329
|
+
boundAction$78(payload);
|
|
6272
6330
|
},
|
|
6273
6331
|
!1
|
|
6274
6332
|
];
|
|
@@ -6999,9 +7057,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6999
7057
|
var defaultProps = type.defaultProps;
|
|
7000
7058
|
if (defaultProps) {
|
|
7001
7059
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
7002
|
-
for (var propName$
|
|
7003
|
-
void 0 === newProps[propName$
|
|
7004
|
-
(newProps[propName$
|
|
7060
|
+
for (var propName$100 in defaultProps)
|
|
7061
|
+
void 0 === newProps[propName$100] &&
|
|
7062
|
+
(newProps[propName$100] = defaultProps[propName$100]);
|
|
7005
7063
|
}
|
|
7006
7064
|
var JSCompiler_inline_result = newProps;
|
|
7007
7065
|
var context = emptyContextObject,
|
|
@@ -7168,13 +7226,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7168
7226
|
textEmbedded
|
|
7169
7227
|
);
|
|
7170
7228
|
segment.lastPushedText = !1;
|
|
7171
|
-
var prevContext$
|
|
7172
|
-
prevKeyPath$
|
|
7229
|
+
var prevContext$98 = task.formatContext,
|
|
7230
|
+
prevKeyPath$99 = task.keyPath;
|
|
7173
7231
|
task.keyPath = keyPath;
|
|
7174
7232
|
if (
|
|
7175
7233
|
3 ===
|
|
7176
7234
|
(task.formatContext = getChildFormatContext(
|
|
7177
|
-
prevContext$
|
|
7235
|
+
prevContext$98,
|
|
7178
7236
|
type,
|
|
7179
7237
|
props
|
|
7180
7238
|
)).insertionMode
|
|
@@ -7197,8 +7255,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7197
7255
|
task.blockedSegment = segment;
|
|
7198
7256
|
}
|
|
7199
7257
|
} else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
|
|
7200
|
-
task.formatContext = prevContext$
|
|
7201
|
-
task.keyPath = prevKeyPath$
|
|
7258
|
+
task.formatContext = prevContext$98;
|
|
7259
|
+
task.keyPath = prevKeyPath$99;
|
|
7202
7260
|
a: {
|
|
7203
7261
|
var target$jscomp$0 = segment.chunks,
|
|
7204
7262
|
resumableState$jscomp$0 = request.resumableState;
|
|
@@ -7223,19 +7281,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7223
7281
|
case "wbr":
|
|
7224
7282
|
break a;
|
|
7225
7283
|
case "body":
|
|
7226
|
-
if (1 >= prevContext$
|
|
7284
|
+
if (1 >= prevContext$98.insertionMode) {
|
|
7227
7285
|
resumableState$jscomp$0.hasBody = !0;
|
|
7228
7286
|
break a;
|
|
7229
7287
|
}
|
|
7230
7288
|
break;
|
|
7231
7289
|
case "html":
|
|
7232
|
-
if (0 === prevContext$
|
|
7290
|
+
if (0 === prevContext$98.insertionMode) {
|
|
7233
7291
|
resumableState$jscomp$0.hasHtml = !0;
|
|
7234
7292
|
break a;
|
|
7235
7293
|
}
|
|
7236
7294
|
break;
|
|
7237
7295
|
case "head":
|
|
7238
|
-
if (1 >= prevContext$
|
|
7296
|
+
if (1 >= prevContext$98.insertionMode) break a;
|
|
7239
7297
|
}
|
|
7240
7298
|
target$jscomp$0.push(endChunkForTag(type));
|
|
7241
7299
|
}
|
|
@@ -7263,10 +7321,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7263
7321
|
}
|
|
7264
7322
|
} else if ("hidden" !== props.mode) {
|
|
7265
7323
|
segment$jscomp$0.lastPushedText = !1;
|
|
7266
|
-
var prevKeyPath$
|
|
7324
|
+
var prevKeyPath$102 = task.keyPath;
|
|
7267
7325
|
task.keyPath = keyPath;
|
|
7268
7326
|
renderNode(request, task, props.children, -1);
|
|
7269
|
-
task.keyPath = prevKeyPath$
|
|
7327
|
+
task.keyPath = prevKeyPath$102;
|
|
7270
7328
|
segment$jscomp$0.lastPushedText = !1;
|
|
7271
7329
|
}
|
|
7272
7330
|
return;
|
|
@@ -7309,35 +7367,35 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7309
7367
|
}
|
|
7310
7368
|
}
|
|
7311
7369
|
if ("function" === typeof children$jscomp$0[ASYNC_ITERATOR]) {
|
|
7312
|
-
var iterator$
|
|
7313
|
-
if (iterator$
|
|
7370
|
+
var iterator$93 = children$jscomp$0[ASYNC_ITERATOR]();
|
|
7371
|
+
if (iterator$93) {
|
|
7314
7372
|
var prevThenableState = task.thenableState;
|
|
7315
7373
|
task.thenableState = null;
|
|
7316
7374
|
thenableIndexCounter = 0;
|
|
7317
7375
|
thenableState = prevThenableState;
|
|
7318
7376
|
var rows = [],
|
|
7319
7377
|
done = !1;
|
|
7320
|
-
if (iterator$
|
|
7378
|
+
if (iterator$93 === children$jscomp$0)
|
|
7321
7379
|
for (
|
|
7322
|
-
var step$
|
|
7323
|
-
void 0 !== step$
|
|
7380
|
+
var step$94 = readPreviousThenableFromState();
|
|
7381
|
+
void 0 !== step$94;
|
|
7324
7382
|
|
|
7325
7383
|
) {
|
|
7326
|
-
if (step$
|
|
7384
|
+
if (step$94.done) {
|
|
7327
7385
|
done = !0;
|
|
7328
7386
|
break;
|
|
7329
7387
|
}
|
|
7330
|
-
rows.push(step$
|
|
7331
|
-
step$
|
|
7388
|
+
rows.push(step$94.value);
|
|
7389
|
+
step$94 = readPreviousThenableFromState();
|
|
7332
7390
|
}
|
|
7333
7391
|
if (!done)
|
|
7334
7392
|
for (
|
|
7335
|
-
var step$
|
|
7336
|
-
!step$
|
|
7393
|
+
var step$95 = unwrapThenable(iterator$93.next());
|
|
7394
|
+
!step$95.done;
|
|
7337
7395
|
|
|
7338
7396
|
)
|
|
7339
|
-
rows.push(step$
|
|
7340
|
-
(step$
|
|
7397
|
+
rows.push(step$95.value),
|
|
7398
|
+
(step$95 = unwrapThenable(iterator$93.next()));
|
|
7341
7399
|
renderSuspenseListRows(
|
|
7342
7400
|
request,
|
|
7343
7401
|
task,
|
|
@@ -7350,7 +7408,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7350
7408
|
}
|
|
7351
7409
|
}
|
|
7352
7410
|
if ("together" === revealOrder) {
|
|
7353
|
-
var prevKeyPath$
|
|
7411
|
+
var prevKeyPath$96 = task.keyPath,
|
|
7354
7412
|
prevRow = task.row,
|
|
7355
7413
|
newRow = (task.row = createSuspenseListRow(null));
|
|
7356
7414
|
newRow.boundaries = [];
|
|
@@ -7359,7 +7417,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7359
7417
|
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
7360
7418
|
0 === --newRow.pendingTasks &&
|
|
7361
7419
|
finishSuspenseListRow(request, newRow);
|
|
7362
|
-
task.keyPath = prevKeyPath$
|
|
7420
|
+
task.keyPath = prevKeyPath$96;
|
|
7363
7421
|
task.row = prevRow;
|
|
7364
7422
|
null !== prevRow &&
|
|
7365
7423
|
0 < newRow.pendingTasks &&
|
|
@@ -7397,22 +7455,22 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7397
7455
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
7398
7456
|
case REACT_SUSPENSE_TYPE:
|
|
7399
7457
|
a: if (null !== task.replay) {
|
|
7400
|
-
var prevKeyPath$
|
|
7401
|
-
prevContext$
|
|
7402
|
-
prevRow$
|
|
7458
|
+
var prevKeyPath$80 = task.keyPath,
|
|
7459
|
+
prevContext$81 = task.formatContext,
|
|
7460
|
+
prevRow$82 = task.row;
|
|
7403
7461
|
task.keyPath = keyPath;
|
|
7404
7462
|
task.formatContext = getSuspenseContentFormatContext(
|
|
7405
7463
|
request.resumableState,
|
|
7406
|
-
prevContext$
|
|
7464
|
+
prevContext$81
|
|
7407
7465
|
);
|
|
7408
7466
|
task.row = null;
|
|
7409
|
-
var content$
|
|
7467
|
+
var content$83 = props.children;
|
|
7410
7468
|
try {
|
|
7411
|
-
renderNode(request, task, content$
|
|
7469
|
+
renderNode(request, task, content$83, -1);
|
|
7412
7470
|
} finally {
|
|
7413
|
-
(task.keyPath = prevKeyPath$
|
|
7414
|
-
(task.formatContext = prevContext$
|
|
7415
|
-
(task.row = prevRow$
|
|
7471
|
+
(task.keyPath = prevKeyPath$80),
|
|
7472
|
+
(task.formatContext = prevContext$81),
|
|
7473
|
+
(task.row = prevRow$82);
|
|
7416
7474
|
}
|
|
7417
7475
|
} else {
|
|
7418
7476
|
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
@@ -7559,12 +7617,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7559
7617
|
null !== prevRow$jscomp$0 &&
|
|
7560
7618
|
prevRow$jscomp$0.together &&
|
|
7561
7619
|
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
7562
|
-
} catch (thrownValue$
|
|
7620
|
+
} catch (thrownValue$84) {
|
|
7563
7621
|
newBoundary.status = 4;
|
|
7564
7622
|
if (12 === request.status) {
|
|
7565
7623
|
contentRootSegment.status = 3;
|
|
7566
7624
|
var error = request.fatalError;
|
|
7567
|
-
} else (contentRootSegment.status = 4), (error = thrownValue$
|
|
7625
|
+
} else (contentRootSegment.status = 4), (error = thrownValue$84);
|
|
7568
7626
|
var thrownInfo = getThrownInfo(task.componentStack);
|
|
7569
7627
|
if (
|
|
7570
7628
|
"object" === typeof error &&
|
|
@@ -8311,21 +8369,21 @@ function renderNode(request, task, node, childIndex) {
|
|
|
8311
8369
|
chunkLength = segment.chunks.length;
|
|
8312
8370
|
try {
|
|
8313
8371
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
8314
|
-
} catch (thrownValue$
|
|
8372
|
+
} catch (thrownValue$123) {
|
|
8315
8373
|
if (
|
|
8316
8374
|
(resetHooksState(),
|
|
8317
8375
|
(segment.children.length = childrenLength),
|
|
8318
8376
|
(segment.chunks.length = chunkLength),
|
|
8319
8377
|
(node =
|
|
8320
|
-
thrownValue$
|
|
8378
|
+
thrownValue$123 === SuspenseException
|
|
8321
8379
|
? getSuspendedThenable()
|
|
8322
|
-
: thrownValue$
|
|
8380
|
+
: thrownValue$123),
|
|
8323
8381
|
12 !== request.status && "object" === typeof node && null !== node)
|
|
8324
8382
|
) {
|
|
8325
8383
|
if ("function" === typeof node.then) {
|
|
8326
8384
|
segment = node;
|
|
8327
8385
|
node =
|
|
8328
|
-
thrownValue$
|
|
8386
|
+
thrownValue$123 === SuspenseException
|
|
8329
8387
|
? getThenableStateAfterSuspending()
|
|
8330
8388
|
: null;
|
|
8331
8389
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
@@ -8368,7 +8426,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
8368
8426
|
}
|
|
8369
8427
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
8370
8428
|
segment =
|
|
8371
|
-
thrownValue$
|
|
8429
|
+
thrownValue$123 === SuspenseException
|
|
8372
8430
|
? getThenableStateAfterSuspending()
|
|
8373
8431
|
: null;
|
|
8374
8432
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
@@ -8527,16 +8585,16 @@ function abortTask(task, request, error) {
|
|
|
8527
8585
|
0 === request.pendingRootTasks && completeShell(request);
|
|
8528
8586
|
}
|
|
8529
8587
|
} else {
|
|
8530
|
-
var trackedPostpones$
|
|
8588
|
+
var trackedPostpones$126 = request.trackedPostpones;
|
|
8531
8589
|
if (4 !== boundary.status) {
|
|
8532
|
-
if (null !== trackedPostpones$
|
|
8590
|
+
if (null !== trackedPostpones$126 && null !== segment)
|
|
8533
8591
|
return (
|
|
8534
8592
|
"object" === typeof error &&
|
|
8535
8593
|
null !== error &&
|
|
8536
8594
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
8537
8595
|
? logPostpone(request, error.message, errorInfo)
|
|
8538
8596
|
: logRecoverableError(request, error, errorInfo),
|
|
8539
|
-
trackPostpone(request, trackedPostpones$
|
|
8597
|
+
trackPostpone(request, trackedPostpones$126, task, segment),
|
|
8540
8598
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
8541
8599
|
return abortTask(fallbackTask, request, error);
|
|
8542
8600
|
}),
|
|
@@ -8914,13 +8972,13 @@ function performWork(request$jscomp$1) {
|
|
|
8914
8972
|
null !== request.trackedPostpones &&
|
|
8915
8973
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
8916
8974
|
) {
|
|
8917
|
-
var trackedPostpones$
|
|
8975
|
+
var trackedPostpones$132 = request.trackedPostpones;
|
|
8918
8976
|
task.abortSet.delete(task);
|
|
8919
8977
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
8920
8978
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
8921
8979
|
trackPostpone(
|
|
8922
8980
|
request,
|
|
8923
|
-
trackedPostpones$
|
|
8981
|
+
trackedPostpones$132,
|
|
8924
8982
|
task,
|
|
8925
8983
|
segment$jscomp$0
|
|
8926
8984
|
);
|
|
@@ -9524,12 +9582,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
9524
9582
|
completedBoundaries.splice(0, i);
|
|
9525
9583
|
var partialBoundaries = request.partialBoundaries;
|
|
9526
9584
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
9527
|
-
var boundary$
|
|
9585
|
+
var boundary$136 = partialBoundaries[i];
|
|
9528
9586
|
a: {
|
|
9529
9587
|
clientRenderedBoundaries = request;
|
|
9530
9588
|
boundary = destination;
|
|
9531
|
-
flushedByteSize = boundary$
|
|
9532
|
-
var completedSegments = boundary$
|
|
9589
|
+
flushedByteSize = boundary$136.byteSize;
|
|
9590
|
+
var completedSegments = boundary$136.completedSegments;
|
|
9533
9591
|
for (
|
|
9534
9592
|
JSCompiler_inline_result = 0;
|
|
9535
9593
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -9539,7 +9597,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9539
9597
|
!flushPartiallyCompletedSegment(
|
|
9540
9598
|
clientRenderedBoundaries,
|
|
9541
9599
|
boundary,
|
|
9542
|
-
boundary$
|
|
9600
|
+
boundary$136,
|
|
9543
9601
|
completedSegments[JSCompiler_inline_result]
|
|
9544
9602
|
)
|
|
9545
9603
|
) {
|
|
@@ -9549,10 +9607,10 @@ function flushCompletedQueues(request, destination) {
|
|
|
9549
9607
|
break a;
|
|
9550
9608
|
}
|
|
9551
9609
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
9552
|
-
var row = boundary$
|
|
9610
|
+
var row = boundary$136.row;
|
|
9553
9611
|
null !== row &&
|
|
9554
9612
|
row.together &&
|
|
9555
|
-
1 === boundary$
|
|
9613
|
+
1 === boundary$136.pendingTasks &&
|
|
9556
9614
|
(1 === row.pendingTasks
|
|
9557
9615
|
? unblockSuspenseListRow(
|
|
9558
9616
|
clientRenderedBoundaries,
|
|
@@ -9562,7 +9620,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9562
9620
|
: row.pendingTasks--);
|
|
9563
9621
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
9564
9622
|
boundary,
|
|
9565
|
-
boundary$
|
|
9623
|
+
boundary$136.contentState,
|
|
9566
9624
|
clientRenderedBoundaries.renderState
|
|
9567
9625
|
);
|
|
9568
9626
|
}
|
|
@@ -9633,8 +9691,8 @@ function abort(request, reason) {
|
|
|
9633
9691
|
}
|
|
9634
9692
|
null !== request.destination &&
|
|
9635
9693
|
flushCompletedQueues(request, request.destination);
|
|
9636
|
-
} catch (error$
|
|
9637
|
-
logRecoverableError(request, error$
|
|
9694
|
+
} catch (error$138) {
|
|
9695
|
+
logRecoverableError(request, error$138, {}), fatalError(request, error$138);
|
|
9638
9696
|
}
|
|
9639
9697
|
}
|
|
9640
9698
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -9665,20 +9723,20 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9665
9723
|
void 0,
|
|
9666
9724
|
void 0
|
|
9667
9725
|
),
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9726
|
+
JSCompiler_object_inline__rowState_2218 = 0,
|
|
9727
|
+
JSCompiler_object_inline__rowID_2219 = 0,
|
|
9728
|
+
JSCompiler_object_inline__rowTag_2220 = 0,
|
|
9729
|
+
JSCompiler_object_inline__rowLength_2221 = 0,
|
|
9730
|
+
JSCompiler_object_inline__buffer_2222 = [],
|
|
9673
9731
|
flightDestination = {
|
|
9674
9732
|
push: function (chunk) {
|
|
9675
9733
|
if (null !== chunk) {
|
|
9676
9734
|
for (
|
|
9677
9735
|
var i = 0,
|
|
9678
|
-
rowState =
|
|
9679
|
-
rowID =
|
|
9680
|
-
rowTag =
|
|
9681
|
-
rowLength =
|
|
9736
|
+
rowState = JSCompiler_object_inline__rowState_2218,
|
|
9737
|
+
rowID = JSCompiler_object_inline__rowID_2219,
|
|
9738
|
+
rowTag = JSCompiler_object_inline__rowTag_2220,
|
|
9739
|
+
rowLength = JSCompiler_object_inline__rowLength_2221,
|
|
9682
9740
|
chunkLength = chunk.length;
|
|
9683
9741
|
i < chunkLength;
|
|
9684
9742
|
|
|
@@ -9739,7 +9797,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9739
9797
|
lastIdx = chunk.length;
|
|
9740
9798
|
}
|
|
9741
9799
|
if (-1 < lastIdx) {
|
|
9742
|
-
if (0 <
|
|
9800
|
+
if (0 < JSCompiler_object_inline__buffer_2222.length)
|
|
9743
9801
|
throw Error(
|
|
9744
9802
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
9745
9803
|
);
|
|
@@ -9826,16 +9884,16 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9826
9884
|
i = lastIdx;
|
|
9827
9885
|
3 === rowState && i++;
|
|
9828
9886
|
rowLength = rowID = rowTag = rowState = 0;
|
|
9829
|
-
|
|
9887
|
+
JSCompiler_object_inline__buffer_2222.length = 0;
|
|
9830
9888
|
} else if (chunk.length !== i)
|
|
9831
9889
|
throw Error(
|
|
9832
9890
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
9833
9891
|
);
|
|
9834
9892
|
}
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9893
|
+
JSCompiler_object_inline__rowState_2218 = rowState;
|
|
9894
|
+
JSCompiler_object_inline__rowID_2219 = rowID;
|
|
9895
|
+
JSCompiler_object_inline__rowTag_2220 = rowTag;
|
|
9896
|
+
JSCompiler_object_inline__rowLength_2221 = rowLength;
|
|
9839
9897
|
} else reportGlobalError(flightResponse, Error("Connection closed."));
|
|
9840
9898
|
return !0;
|
|
9841
9899
|
},
|
|
@@ -9946,4 +10004,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9946
10004
|
});
|
|
9947
10005
|
});
|
|
9948
10006
|
};
|
|
9949
|
-
exports.version = "19.2.0-experimental-
|
|
10007
|
+
exports.version = "19.2.0-experimental-1eca9a27-20250922";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-markup",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-1eca9a27-20250922",
|
|
4
4
|
"description": "React package generating embedded markup such as e-mails with support for Server Components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://react.dev/",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"react": "0.0.0-experimental-
|
|
20
|
+
"react": "0.0.0-experimental-1eca9a27-20250922"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|