react-dom 19.3.0-canary-4fdf7cf2-20251003 → 19.3.0-canary-a4eb2dfa-20251006
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 +3292 -948
- package/cjs/react-dom-client.production.js +2657 -669
- package/cjs/react-dom-profiling.development.js +3292 -948
- package/cjs/react-dom-profiling.profiling.js +2879 -824
- package/cjs/react-dom-server-legacy.browser.development.js +153 -42
- package/cjs/react-dom-server-legacy.browser.production.js +476 -323
- package/cjs/react-dom-server-legacy.node.development.js +153 -42
- package/cjs/react-dom-server-legacy.node.production.js +476 -323
- package/cjs/react-dom-server.browser.development.js +230 -52
- package/cjs/react-dom-server.browser.production.js +530 -308
- package/cjs/react-dom-server.bun.development.js +225 -48
- package/cjs/react-dom-server.bun.production.js +527 -305
- package/cjs/react-dom-server.edge.development.js +230 -52
- package/cjs/react-dom-server.edge.production.js +530 -308
- package/cjs/react-dom-server.node.development.js +226 -46
- package/cjs/react-dom-server.node.production.js +524 -302
- 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
|
@@ -86,6 +86,8 @@
|
|
|
86
86
|
return "Suspense";
|
|
87
87
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
88
88
|
return "SuspenseList";
|
|
89
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
90
|
+
return "ViewTransition";
|
|
89
91
|
}
|
|
90
92
|
if ("object" === typeof type)
|
|
91
93
|
switch (type.$$typeof) {
|
|
@@ -1141,7 +1143,8 @@
|
|
|
1141
1143
|
return parentContext.insertionMode >= HTML_TABLE_MODE ||
|
|
1142
1144
|
parentContext.insertionMode < HTML_MODE
|
|
1143
1145
|
? createFormatContext(HTML_MODE, null, subtreeScope, null)
|
|
1144
|
-
: parentContext.
|
|
1146
|
+
: null !== parentContext.viewTransition ||
|
|
1147
|
+
parentContext.tagScope !== subtreeScope
|
|
1145
1148
|
? createFormatContext(
|
|
1146
1149
|
parentContext.insertionMode,
|
|
1147
1150
|
parentContext.selectedValue,
|
|
@@ -1164,7 +1167,8 @@
|
|
|
1164
1167
|
};
|
|
1165
1168
|
}
|
|
1166
1169
|
function getSuspenseFallbackFormatContext(resumableState, parentContext) {
|
|
1167
|
-
parentContext.tagScope & 32 &&
|
|
1170
|
+
parentContext.tagScope & 32 &&
|
|
1171
|
+
(resumableState.instructions |= NeedUpgradeToViewTransitions);
|
|
1168
1172
|
return createFormatContext(
|
|
1169
1173
|
parentContext.insertionMode,
|
|
1170
1174
|
parentContext.selectedValue,
|
|
@@ -1185,12 +1189,37 @@
|
|
|
1185
1189
|
resumableState
|
|
1186
1190
|
);
|
|
1187
1191
|
}
|
|
1192
|
+
function makeId(resumableState, treeId, localId) {
|
|
1193
|
+
resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
|
|
1194
|
+
0 < localId && (resumableState += "H" + localId.toString(32));
|
|
1195
|
+
return resumableState + "_";
|
|
1196
|
+
}
|
|
1188
1197
|
function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
1189
1198
|
if ("" === text) return textEmbedded;
|
|
1190
1199
|
textEmbedded && target.push(textSeparator);
|
|
1191
1200
|
target.push(stringToChunk(escapeTextForBrowser(text)));
|
|
1192
1201
|
return !0;
|
|
1193
1202
|
}
|
|
1203
|
+
function pushViewTransitionAttributes(target, formatContext) {
|
|
1204
|
+
formatContext = formatContext.viewTransition;
|
|
1205
|
+
null !== formatContext &&
|
|
1206
|
+
("auto" !== formatContext.name &&
|
|
1207
|
+
(pushStringAttribute(
|
|
1208
|
+
target,
|
|
1209
|
+
"vt-name",
|
|
1210
|
+
0 === formatContext.nameIdx
|
|
1211
|
+
? formatContext.name
|
|
1212
|
+
: formatContext.name + "_" + formatContext.nameIdx
|
|
1213
|
+
),
|
|
1214
|
+
formatContext.nameIdx++),
|
|
1215
|
+
pushStringAttribute(target, "vt-update", formatContext.update),
|
|
1216
|
+
"none" !== formatContext.enter &&
|
|
1217
|
+
pushStringAttribute(target, "vt-enter", formatContext.enter),
|
|
1218
|
+
"none" !== formatContext.exit &&
|
|
1219
|
+
pushStringAttribute(target, "vt-exit", formatContext.exit),
|
|
1220
|
+
"none" !== formatContext.share &&
|
|
1221
|
+
pushStringAttribute(target, "vt-share", formatContext.share));
|
|
1222
|
+
}
|
|
1194
1223
|
function pushStyleAttribute(target, style) {
|
|
1195
1224
|
if ("object" !== typeof style)
|
|
1196
1225
|
throw Error(
|
|
@@ -1753,7 +1782,7 @@
|
|
|
1753
1782
|
checkHtmlStringCoercion(styleText);
|
|
1754
1783
|
return ("" + styleText).replace(styleRegex, styleReplacer);
|
|
1755
1784
|
}
|
|
1756
|
-
function pushSelfClosing(target, props, tag) {
|
|
1785
|
+
function pushSelfClosing(target, props, tag, formatContext) {
|
|
1757
1786
|
target.push(startChunkForTag(tag));
|
|
1758
1787
|
for (var propKey in props)
|
|
1759
1788
|
if (hasOwnProperty.call(props, propKey)) {
|
|
@@ -1770,6 +1799,7 @@
|
|
|
1770
1799
|
pushAttribute(target, propKey, propValue);
|
|
1771
1800
|
}
|
|
1772
1801
|
}
|
|
1802
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1773
1803
|
target.push(endOfStartTagSelfClosing);
|
|
1774
1804
|
return null;
|
|
1775
1805
|
}
|
|
@@ -1847,7 +1877,7 @@
|
|
|
1847
1877
|
target.push(endChunkForTag("script"));
|
|
1848
1878
|
return null;
|
|
1849
1879
|
}
|
|
1850
|
-
function pushStartSingletonElement(target, props, tag) {
|
|
1880
|
+
function pushStartSingletonElement(target, props, tag, formatContext) {
|
|
1851
1881
|
target.push(startChunkForTag(tag));
|
|
1852
1882
|
var innerHTML = (tag = null),
|
|
1853
1883
|
propKey;
|
|
@@ -1866,11 +1896,12 @@
|
|
|
1866
1896
|
pushAttribute(target, propKey, propValue);
|
|
1867
1897
|
}
|
|
1868
1898
|
}
|
|
1899
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1869
1900
|
target.push(endOfStartTag);
|
|
1870
1901
|
pushInnerHTML(target, innerHTML, tag);
|
|
1871
1902
|
return tag;
|
|
1872
1903
|
}
|
|
1873
|
-
function pushStartGenericElement(target, props, tag) {
|
|
1904
|
+
function pushStartGenericElement(target, props, tag, formatContext) {
|
|
1874
1905
|
target.push(startChunkForTag(tag));
|
|
1875
1906
|
var innerHTML = (tag = null),
|
|
1876
1907
|
propKey;
|
|
@@ -1889,6 +1920,7 @@
|
|
|
1889
1920
|
pushAttribute(target, propKey, propValue);
|
|
1890
1921
|
}
|
|
1891
1922
|
}
|
|
1923
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1892
1924
|
target.push(endOfStartTag);
|
|
1893
1925
|
pushInnerHTML(target, innerHTML, tag);
|
|
1894
1926
|
return "string" === typeof tag
|
|
@@ -1994,6 +2026,7 @@
|
|
|
1994
2026
|
pushAttribute(target$jscomp$0, propKey, propValue);
|
|
1995
2027
|
}
|
|
1996
2028
|
}
|
|
2029
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1997
2030
|
target$jscomp$0.push(endOfStartTag);
|
|
1998
2031
|
pushInnerHTML(target$jscomp$0, innerHTML, children);
|
|
1999
2032
|
if ("string" === typeof children) {
|
|
@@ -2042,6 +2075,7 @@
|
|
|
2042
2075
|
);
|
|
2043
2076
|
}
|
|
2044
2077
|
}
|
|
2078
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2045
2079
|
target$jscomp$0.push(endOfStartTag);
|
|
2046
2080
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
|
|
2047
2081
|
return children$jscomp$0;
|
|
@@ -2155,6 +2189,7 @@
|
|
|
2155
2189
|
null === value$jscomp$0 &&
|
|
2156
2190
|
null !== defaultValue &&
|
|
2157
2191
|
(value$jscomp$0 = defaultValue);
|
|
2192
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2158
2193
|
target$jscomp$0.push(endOfStartTag);
|
|
2159
2194
|
if (null != children$jscomp$2) {
|
|
2160
2195
|
console.error(
|
|
@@ -2284,6 +2319,7 @@
|
|
|
2284
2319
|
? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
|
|
2285
2320
|
: null !== defaultValue$jscomp$0 &&
|
|
2286
2321
|
pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
|
|
2322
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2287
2323
|
target$jscomp$0.push(endOfStartTagSelfClosing);
|
|
2288
2324
|
null != formData &&
|
|
2289
2325
|
formData.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -2350,6 +2386,7 @@
|
|
|
2350
2386
|
formTarget$jscomp$0,
|
|
2351
2387
|
name$jscomp$0
|
|
2352
2388
|
);
|
|
2389
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2353
2390
|
target$jscomp$0.push(endOfStartTag);
|
|
2354
2391
|
null != formData$jscomp$0 &&
|
|
2355
2392
|
formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -2449,6 +2486,7 @@
|
|
|
2449
2486
|
pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
|
|
2450
2487
|
null != formTarget$jscomp$1 &&
|
|
2451
2488
|
pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
|
|
2489
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2452
2490
|
target$jscomp$0.push(endOfStartTag);
|
|
2453
2491
|
null !== formActionName &&
|
|
2454
2492
|
(target$jscomp$0.push(startHiddenInputChunk),
|
|
@@ -2487,6 +2525,7 @@
|
|
|
2487
2525
|
);
|
|
2488
2526
|
}
|
|
2489
2527
|
}
|
|
2528
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2490
2529
|
target$jscomp$0.push(endOfStartTag);
|
|
2491
2530
|
return null;
|
|
2492
2531
|
case "object":
|
|
@@ -2532,6 +2571,7 @@
|
|
|
2532
2571
|
);
|
|
2533
2572
|
}
|
|
2534
2573
|
}
|
|
2574
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2535
2575
|
target$jscomp$0.push(endOfStartTag);
|
|
2536
2576
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
|
|
2537
2577
|
if ("string" === typeof children$jscomp$5) {
|
|
@@ -2923,20 +2963,32 @@
|
|
|
2923
2963
|
var JSCompiler_inline_result$jscomp$8 = pushSelfClosing(
|
|
2924
2964
|
target$jscomp$0,
|
|
2925
2965
|
props,
|
|
2926
|
-
"meta"
|
|
2966
|
+
"meta",
|
|
2967
|
+
formatContext
|
|
2927
2968
|
);
|
|
2928
2969
|
else
|
|
2929
2970
|
textEmbedded && target$jscomp$0.push(textSeparator),
|
|
2930
2971
|
(JSCompiler_inline_result$jscomp$8 = isFallback$jscomp$1
|
|
2931
2972
|
? null
|
|
2932
2973
|
: "string" === typeof props.charSet
|
|
2933
|
-
? pushSelfClosing(
|
|
2974
|
+
? pushSelfClosing(
|
|
2975
|
+
renderState.charsetChunks,
|
|
2976
|
+
props,
|
|
2977
|
+
"meta",
|
|
2978
|
+
formatContext
|
|
2979
|
+
)
|
|
2934
2980
|
: "viewport" === props.name
|
|
2935
|
-
? pushSelfClosing(
|
|
2981
|
+
? pushSelfClosing(
|
|
2982
|
+
renderState.viewportChunks,
|
|
2983
|
+
props,
|
|
2984
|
+
"meta",
|
|
2985
|
+
formatContext
|
|
2986
|
+
)
|
|
2936
2987
|
: pushSelfClosing(
|
|
2937
2988
|
renderState.hoistableChunks,
|
|
2938
2989
|
props,
|
|
2939
|
-
"meta"
|
|
2990
|
+
"meta",
|
|
2991
|
+
formatContext
|
|
2940
2992
|
));
|
|
2941
2993
|
return JSCompiler_inline_result$jscomp$8;
|
|
2942
2994
|
case "listing":
|
|
@@ -2964,6 +3016,7 @@
|
|
|
2964
3016
|
);
|
|
2965
3017
|
}
|
|
2966
3018
|
}
|
|
3019
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2967
3020
|
target$jscomp$0.push(endOfStartTag);
|
|
2968
3021
|
if (null != innerHTML$jscomp$7) {
|
|
2969
3022
|
if (null != children$jscomp$10)
|
|
@@ -3082,7 +3135,7 @@
|
|
|
3082
3135
|
promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
|
|
3083
3136
|
}
|
|
3084
3137
|
}
|
|
3085
|
-
return pushSelfClosing(target$jscomp$0, props, "img");
|
|
3138
|
+
return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
|
|
3086
3139
|
case "base":
|
|
3087
3140
|
case "area":
|
|
3088
3141
|
case "br":
|
|
@@ -3094,7 +3147,7 @@
|
|
|
3094
3147
|
case "source":
|
|
3095
3148
|
case "track":
|
|
3096
3149
|
case "wbr":
|
|
3097
|
-
return pushSelfClosing(target$jscomp$0, props, type);
|
|
3150
|
+
return pushSelfClosing(target$jscomp$0, props, type, formatContext);
|
|
3098
3151
|
case "annotation-xml":
|
|
3099
3152
|
case "color-profile":
|
|
3100
3153
|
case "font-face":
|
|
@@ -3115,13 +3168,15 @@
|
|
|
3115
3168
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
|
3116
3169
|
preamble.headChunks,
|
|
3117
3170
|
props,
|
|
3118
|
-
"head"
|
|
3171
|
+
"head",
|
|
3172
|
+
formatContext
|
|
3119
3173
|
);
|
|
3120
3174
|
} else
|
|
3121
3175
|
JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
3122
3176
|
target$jscomp$0,
|
|
3123
3177
|
props,
|
|
3124
|
-
"head"
|
|
3178
|
+
"head",
|
|
3179
|
+
formatContext
|
|
3125
3180
|
);
|
|
3126
3181
|
return JSCompiler_inline_result$jscomp$9;
|
|
3127
3182
|
case "body":
|
|
@@ -3135,13 +3190,15 @@
|
|
|
3135
3190
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
|
3136
3191
|
preamble$jscomp$0.bodyChunks,
|
|
3137
3192
|
props,
|
|
3138
|
-
"body"
|
|
3193
|
+
"body",
|
|
3194
|
+
formatContext
|
|
3139
3195
|
);
|
|
3140
3196
|
} else
|
|
3141
3197
|
JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
3142
3198
|
target$jscomp$0,
|
|
3143
3199
|
props,
|
|
3144
|
-
"body"
|
|
3200
|
+
"body",
|
|
3201
|
+
formatContext
|
|
3145
3202
|
);
|
|
3146
3203
|
return JSCompiler_inline_result$jscomp$10;
|
|
3147
3204
|
case "html":
|
|
@@ -3155,13 +3212,15 @@
|
|
|
3155
3212
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
|
3156
3213
|
preamble$jscomp$1.htmlChunks,
|
|
3157
3214
|
props,
|
|
3158
|
-
"html"
|
|
3215
|
+
"html",
|
|
3216
|
+
formatContext
|
|
3159
3217
|
);
|
|
3160
3218
|
} else
|
|
3161
3219
|
JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
|
|
3162
3220
|
target$jscomp$0,
|
|
3163
3221
|
props,
|
|
3164
|
-
"html"
|
|
3222
|
+
"html",
|
|
3223
|
+
formatContext
|
|
3165
3224
|
);
|
|
3166
3225
|
return JSCompiler_inline_result$jscomp$11;
|
|
3167
3226
|
default:
|
|
@@ -3215,6 +3274,7 @@
|
|
|
3215
3274
|
}
|
|
3216
3275
|
}
|
|
3217
3276
|
}
|
|
3277
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
3218
3278
|
target$jscomp$0.push(endOfStartTag);
|
|
3219
3279
|
pushInnerHTML(
|
|
3220
3280
|
target$jscomp$0,
|
|
@@ -3224,7 +3284,12 @@
|
|
|
3224
3284
|
return children$jscomp$11;
|
|
3225
3285
|
}
|
|
3226
3286
|
}
|
|
3227
|
-
return pushStartGenericElement(
|
|
3287
|
+
return pushStartGenericElement(
|
|
3288
|
+
target$jscomp$0,
|
|
3289
|
+
props,
|
|
3290
|
+
type,
|
|
3291
|
+
formatContext
|
|
3292
|
+
);
|
|
3228
3293
|
}
|
|
3229
3294
|
function endChunkForTag(tag) {
|
|
3230
3295
|
var chunk = endTagCache.get(tag);
|
|
@@ -3769,6 +3834,8 @@
|
|
|
3769
3834
|
return "SuspenseList";
|
|
3770
3835
|
case REACT_ACTIVITY_TYPE:
|
|
3771
3836
|
return "Activity";
|
|
3837
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3838
|
+
return "ViewTransition";
|
|
3772
3839
|
}
|
|
3773
3840
|
if ("object" === typeof type)
|
|
3774
3841
|
switch (
|
|
@@ -3898,6 +3965,13 @@
|
|
|
3898
3965
|
),
|
|
3899
3966
|
(didWarnAboutNoopUpdateForComponent[warningKey] = !0));
|
|
3900
3967
|
}
|
|
3968
|
+
function getTreeId(context) {
|
|
3969
|
+
var overflow = context.overflow;
|
|
3970
|
+
context = context.id;
|
|
3971
|
+
return (
|
|
3972
|
+
(context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow
|
|
3973
|
+
);
|
|
3974
|
+
}
|
|
3901
3975
|
function pushTreeContext(baseContext, totalChildren, index) {
|
|
3902
3976
|
var baseIdWithLeadingBit = baseContext.id;
|
|
3903
3977
|
baseContext = baseContext.overflow;
|
|
@@ -4523,9 +4597,28 @@
|
|
|
4523
4597
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
4524
4598
|
case REACT_SUSPENSE_TYPE:
|
|
4525
4599
|
return describeBuiltInComponentFrame("Suspense");
|
|
4600
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
4601
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
4526
4602
|
}
|
|
4527
4603
|
return "";
|
|
4528
4604
|
}
|
|
4605
|
+
function getViewTransitionClassName(defaultClass, eventClass) {
|
|
4606
|
+
defaultClass =
|
|
4607
|
+
null == defaultClass || "string" === typeof defaultClass
|
|
4608
|
+
? defaultClass
|
|
4609
|
+
: defaultClass.default;
|
|
4610
|
+
eventClass =
|
|
4611
|
+
null == eventClass || "string" === typeof eventClass
|
|
4612
|
+
? eventClass
|
|
4613
|
+
: eventClass.default;
|
|
4614
|
+
return null == eventClass
|
|
4615
|
+
? "auto" === defaultClass
|
|
4616
|
+
? null
|
|
4617
|
+
: defaultClass
|
|
4618
|
+
: "auto" === eventClass
|
|
4619
|
+
? null
|
|
4620
|
+
: eventClass;
|
|
4621
|
+
}
|
|
4529
4622
|
function resetOwnerStackLimit() {
|
|
4530
4623
|
var now = getCurrentTime();
|
|
4531
4624
|
1e3 < now - lastResetTime &&
|
|
@@ -6088,6 +6181,76 @@
|
|
|
6088
6181
|
}
|
|
6089
6182
|
return;
|
|
6090
6183
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
6184
|
+
var prevContext$jscomp$0 = task.formatContext,
|
|
6185
|
+
prevKeyPath$jscomp$4 = task.keyPath;
|
|
6186
|
+
var resumableState$jscomp$0 = request.resumableState;
|
|
6187
|
+
if (null != props.name && "auto" !== props.name)
|
|
6188
|
+
var autoName = props.name;
|
|
6189
|
+
else {
|
|
6190
|
+
var treeId = getTreeId(task.treeContext);
|
|
6191
|
+
autoName = makeId(resumableState$jscomp$0, treeId, 0);
|
|
6192
|
+
}
|
|
6193
|
+
var resumableState$jscomp$1 = request.resumableState,
|
|
6194
|
+
update = getViewTransitionClassName(props.default, props.update),
|
|
6195
|
+
enter = getViewTransitionClassName(props.default, props.enter),
|
|
6196
|
+
exit = getViewTransitionClassName(props.default, props.exit),
|
|
6197
|
+
share = getViewTransitionClassName(props.default, props.share),
|
|
6198
|
+
name$jscomp$0 = props.name,
|
|
6199
|
+
autoName$jscomp$0 = autoName;
|
|
6200
|
+
null == update && (update = "auto");
|
|
6201
|
+
null == enter && (enter = "auto");
|
|
6202
|
+
null == exit && (exit = "auto");
|
|
6203
|
+
if (null == name$jscomp$0) {
|
|
6204
|
+
var parentViewTransition = prevContext$jscomp$0.viewTransition;
|
|
6205
|
+
null !== parentViewTransition
|
|
6206
|
+
? ((name$jscomp$0 = parentViewTransition.name),
|
|
6207
|
+
(share = parentViewTransition.share))
|
|
6208
|
+
: ((name$jscomp$0 = "auto"), (share = "none"));
|
|
6209
|
+
} else
|
|
6210
|
+
null == share && (share = "auto"),
|
|
6211
|
+
prevContext$jscomp$0.tagScope & 4 &&
|
|
6212
|
+
(resumableState$jscomp$1.instructions |=
|
|
6213
|
+
NeedUpgradeToViewTransitions);
|
|
6214
|
+
prevContext$jscomp$0.tagScope & 8
|
|
6215
|
+
? (resumableState$jscomp$1.instructions |=
|
|
6216
|
+
NeedUpgradeToViewTransitions)
|
|
6217
|
+
: (exit = "none");
|
|
6218
|
+
prevContext$jscomp$0.tagScope & 16
|
|
6219
|
+
? (resumableState$jscomp$1.instructions |=
|
|
6220
|
+
NeedUpgradeToViewTransitions)
|
|
6221
|
+
: (enter = "none");
|
|
6222
|
+
var viewTransition = {
|
|
6223
|
+
update: update,
|
|
6224
|
+
enter: enter,
|
|
6225
|
+
exit: exit,
|
|
6226
|
+
share: share,
|
|
6227
|
+
name: name$jscomp$0,
|
|
6228
|
+
autoName: autoName$jscomp$0,
|
|
6229
|
+
nameIdx: 0
|
|
6230
|
+
},
|
|
6231
|
+
subtreeScope = prevContext$jscomp$0.tagScope & -25;
|
|
6232
|
+
subtreeScope =
|
|
6233
|
+
"none" !== update ? subtreeScope | 32 : subtreeScope & -33;
|
|
6234
|
+
"none" !== enter && (subtreeScope |= 64);
|
|
6235
|
+
var JSCompiler_inline_result$jscomp$0 = createFormatContext(
|
|
6236
|
+
prevContext$jscomp$0.insertionMode,
|
|
6237
|
+
prevContext$jscomp$0.selectedValue,
|
|
6238
|
+
subtreeScope,
|
|
6239
|
+
viewTransition
|
|
6240
|
+
);
|
|
6241
|
+
task.formatContext = JSCompiler_inline_result$jscomp$0;
|
|
6242
|
+
task.keyPath = keyPath;
|
|
6243
|
+
if (null != props.name && "auto" !== props.name)
|
|
6244
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
6245
|
+
else {
|
|
6246
|
+
var prevTreeContext = task.treeContext;
|
|
6247
|
+
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
|
|
6248
|
+
renderNode(request, task, props.children, -1);
|
|
6249
|
+
task.treeContext = prevTreeContext;
|
|
6250
|
+
}
|
|
6251
|
+
task.formatContext = prevContext$jscomp$0;
|
|
6252
|
+
task.keyPath = prevKeyPath$jscomp$4;
|
|
6253
|
+
return;
|
|
6091
6254
|
case REACT_SCOPE_TYPE:
|
|
6092
6255
|
throw Error(
|
|
6093
6256
|
"ReactDOMServer does not yet support scope components."
|
|
@@ -6112,8 +6275,8 @@
|
|
|
6112
6275
|
(task.row = _prevRow);
|
|
6113
6276
|
}
|
|
6114
6277
|
} else {
|
|
6115
|
-
var prevKeyPath$jscomp$
|
|
6116
|
-
prevContext$jscomp$
|
|
6278
|
+
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
6279
|
+
prevContext$jscomp$1 = task.formatContext,
|
|
6117
6280
|
prevRow$jscomp$0 = task.row,
|
|
6118
6281
|
parentBoundary = task.blockedBoundary,
|
|
6119
6282
|
parentPreamble = task.blockedPreamble,
|
|
@@ -6182,7 +6345,7 @@
|
|
|
6182
6345
|
task.keyPath = fallbackKeyPath;
|
|
6183
6346
|
task.formatContext = getSuspenseFallbackFormatContext(
|
|
6184
6347
|
request.resumableState,
|
|
6185
|
-
prevContext$jscomp$
|
|
6348
|
+
prevContext$jscomp$1
|
|
6186
6349
|
);
|
|
6187
6350
|
task.componentStack =
|
|
6188
6351
|
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
|
@@ -6205,8 +6368,8 @@
|
|
|
6205
6368
|
} finally {
|
|
6206
6369
|
(task.blockedSegment = parentSegment),
|
|
6207
6370
|
(task.blockedPreamble = parentPreamble),
|
|
6208
|
-
(task.keyPath = prevKeyPath$jscomp$
|
|
6209
|
-
(task.formatContext = prevContext$jscomp$
|
|
6371
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
6372
|
+
(task.formatContext = prevContext$jscomp$1);
|
|
6210
6373
|
}
|
|
6211
6374
|
var suspendedPrimaryTask = createRenderTask(
|
|
6212
6375
|
request,
|
|
@@ -6240,7 +6403,7 @@
|
|
|
6240
6403
|
task.keyPath = keyPath;
|
|
6241
6404
|
task.formatContext = getSuspenseContentFormatContext(
|
|
6242
6405
|
request.resumableState,
|
|
6243
|
-
prevContext$jscomp$
|
|
6406
|
+
prevContext$jscomp$1
|
|
6244
6407
|
);
|
|
6245
6408
|
task.row = null;
|
|
6246
6409
|
contentRootSegment.status = 6;
|
|
@@ -6300,8 +6463,8 @@
|
|
|
6300
6463
|
(task.blockedPreamble = parentPreamble),
|
|
6301
6464
|
(task.hoistableState = parentHoistableState),
|
|
6302
6465
|
(task.blockedSegment = parentSegment),
|
|
6303
|
-
(task.keyPath = prevKeyPath$jscomp$
|
|
6304
|
-
(task.formatContext = prevContext$jscomp$
|
|
6466
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
6467
|
+
(task.formatContext = prevContext$jscomp$1),
|
|
6305
6468
|
(task.row = prevRow$jscomp$0);
|
|
6306
6469
|
}
|
|
6307
6470
|
var suspendedFallbackTask = createRenderTask(
|
|
@@ -6367,7 +6530,7 @@
|
|
|
6367
6530
|
var value$jscomp$0 = props.value,
|
|
6368
6531
|
children$jscomp$2 = props.children;
|
|
6369
6532
|
var prevSnapshot = task.context;
|
|
6370
|
-
var prevKeyPath$jscomp$
|
|
6533
|
+
var prevKeyPath$jscomp$6 = task.keyPath;
|
|
6371
6534
|
var prevValue = type._currentValue;
|
|
6372
6535
|
type._currentValue = value$jscomp$0;
|
|
6373
6536
|
void 0 !== type._currentRenderer &&
|
|
@@ -6407,10 +6570,10 @@
|
|
|
6407
6570
|
"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
|
|
6408
6571
|
);
|
|
6409
6572
|
type._currentRenderer = rendererSigil;
|
|
6410
|
-
var JSCompiler_inline_result$jscomp$
|
|
6573
|
+
var JSCompiler_inline_result$jscomp$1 = (currentActiveSnapshot =
|
|
6411
6574
|
prevSnapshot$jscomp$0.parent);
|
|
6412
|
-
task.context = JSCompiler_inline_result$jscomp$
|
|
6413
|
-
task.keyPath = prevKeyPath$jscomp$
|
|
6575
|
+
task.context = JSCompiler_inline_result$jscomp$1;
|
|
6576
|
+
task.keyPath = prevKeyPath$jscomp$6;
|
|
6414
6577
|
prevSnapshot !== task.context &&
|
|
6415
6578
|
console.error(
|
|
6416
6579
|
"Popping the context provider did not return back to the original snapshot. This is a bug in React."
|
|
@@ -6424,10 +6587,10 @@
|
|
|
6424
6587
|
"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
|
|
6425
6588
|
);
|
|
6426
6589
|
var newChildren = render(context$jscomp$0._currentValue),
|
|
6427
|
-
prevKeyPath$jscomp$
|
|
6590
|
+
prevKeyPath$jscomp$7 = task.keyPath;
|
|
6428
6591
|
task.keyPath = keyPath;
|
|
6429
6592
|
renderNodeDestructive(request, task, newChildren, -1);
|
|
6430
|
-
task.keyPath = prevKeyPath$jscomp$
|
|
6593
|
+
task.keyPath = prevKeyPath$jscomp$7;
|
|
6431
6594
|
return;
|
|
6432
6595
|
case REACT_LAZY_TYPE:
|
|
6433
6596
|
var Component = callLazyInitInDEV(type);
|
|
@@ -8187,7 +8350,10 @@
|
|
|
8187
8350
|
request = request.renderState;
|
|
8188
8351
|
i = boundary.rootSegmentID;
|
|
8189
8352
|
boundary = boundary.contentState;
|
|
8190
|
-
var requiresStyleInsertion = request.stylesToHoist
|
|
8353
|
+
var requiresStyleInsertion = request.stylesToHoist,
|
|
8354
|
+
requiresViewTransitions =
|
|
8355
|
+
(completedSegments.instructions & NeedUpgradeToViewTransitions) !==
|
|
8356
|
+
NothingSent;
|
|
8191
8357
|
request.stylesToHoist = !1;
|
|
8192
8358
|
writeChunk(destination, request.startInlineScript);
|
|
8193
8359
|
writeChunk(destination, endOfStartTag);
|
|
@@ -8200,6 +8366,14 @@
|
|
|
8200
8366
|
NothingSent &&
|
|
8201
8367
|
((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
|
8202
8368
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
8369
|
+
requiresViewTransitions &&
|
|
8370
|
+
(completedSegments.instructions & SentUpgradeToViewTransitions) ===
|
|
8371
|
+
NothingSent &&
|
|
8372
|
+
((completedSegments.instructions |= SentUpgradeToViewTransitions),
|
|
8373
|
+
writeChunk(
|
|
8374
|
+
destination,
|
|
8375
|
+
completeBoundaryUpgradeToViewTransitionsInstruction
|
|
8376
|
+
)),
|
|
8203
8377
|
(completedSegments.instructions & SentStyleInsertionFunction) ===
|
|
8204
8378
|
NothingSent
|
|
8205
8379
|
? ((completedSegments.instructions |= SentStyleInsertionFunction),
|
|
@@ -8212,6 +8386,14 @@
|
|
|
8212
8386
|
NothingSent &&
|
|
8213
8387
|
((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
|
8214
8388
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
8389
|
+
requiresViewTransitions &&
|
|
8390
|
+
(completedSegments.instructions & SentUpgradeToViewTransitions) ===
|
|
8391
|
+
NothingSent &&
|
|
8392
|
+
((completedSegments.instructions |= SentUpgradeToViewTransitions),
|
|
8393
|
+
writeChunk(
|
|
8394
|
+
destination,
|
|
8395
|
+
completeBoundaryUpgradeToViewTransitionsInstruction
|
|
8396
|
+
)),
|
|
8215
8397
|
writeChunk(destination, completeBoundaryScript1Partial));
|
|
8216
8398
|
completedSegments = stringToChunk(i.toString(16));
|
|
8217
8399
|
writeChunk(destination, request.boundaryPrefix);
|
|
@@ -8785,11 +8967,11 @@
|
|
|
8785
8967
|
}
|
|
8786
8968
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8787
8969
|
var isomorphicReactPackageVersion = React.version;
|
|
8788
|
-
if ("19.3.0-canary-
|
|
8970
|
+
if ("19.3.0-canary-a4eb2dfa-20251006" !== isomorphicReactPackageVersion)
|
|
8789
8971
|
throw Error(
|
|
8790
8972
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8791
8973
|
(isomorphicReactPackageVersion +
|
|
8792
|
-
"\n - react-dom: 19.3.0-canary-
|
|
8974
|
+
"\n - react-dom: 19.3.0-canary-a4eb2dfa-20251006\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8793
8975
|
);
|
|
8794
8976
|
}
|
|
8795
8977
|
var React = require("react"),
|
|
@@ -9883,6 +10065,8 @@
|
|
|
9883
10065
|
SentStyleInsertionFunction = 8,
|
|
9884
10066
|
SentCompletedShellId = 32,
|
|
9885
10067
|
SentMarkShellTime = 64,
|
|
10068
|
+
NeedUpgradeToViewTransitions = 128,
|
|
10069
|
+
SentUpgradeToViewTransitions = 256,
|
|
9886
10070
|
EXISTS = null,
|
|
9887
10071
|
PRELOAD_NO_CREDS = [];
|
|
9888
10072
|
Object.freeze(PRELOAD_NO_CREDS);
|
|
@@ -10027,12 +10211,12 @@
|
|
|
10027
10211
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
|
10028
10212
|
stringToPrecomputedChunk('" data-pid="');
|
|
10029
10213
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10214
|
+
'$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'
|
|
10215
|
+
),
|
|
10216
|
+
completeBoundaryUpgradeToViewTransitionsInstruction = stringToChunk(
|
|
10217
|
+
'$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
|
|
10218
|
+
),
|
|
10219
|
+
completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
|
10036
10220
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
|
10037
10221
|
'$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("'
|
|
10038
10222
|
),
|
|
@@ -10212,20 +10396,14 @@
|
|
|
10212
10396
|
return [!1, unsupportedStartTransition];
|
|
10213
10397
|
},
|
|
10214
10398
|
useId: function () {
|
|
10215
|
-
var treeId = currentlyRenderingTask.treeContext
|
|
10216
|
-
|
|
10217
|
-
treeId = treeId.id;
|
|
10218
|
-
treeId =
|
|
10219
|
-
(treeId & ~(1 << (32 - clz32(treeId) - 1))).toString(32) + overflow;
|
|
10220
|
-
var resumableState = currentResumableState;
|
|
10399
|
+
var treeId = getTreeId(currentlyRenderingTask.treeContext),
|
|
10400
|
+
resumableState = currentResumableState;
|
|
10221
10401
|
if (null === resumableState)
|
|
10222
10402
|
throw Error(
|
|
10223
10403
|
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
10224
10404
|
);
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
0 < overflow && (treeId += "H" + overflow.toString(32));
|
|
10228
|
-
return treeId + "_";
|
|
10405
|
+
var localId = localIdCounter++;
|
|
10406
|
+
return makeId(resumableState, treeId, localId);
|
|
10229
10407
|
},
|
|
10230
10408
|
useSyncExternalStore: function (
|
|
10231
10409
|
subscribe,
|
|
@@ -10598,5 +10776,5 @@
|
|
|
10598
10776
|
startWork(request);
|
|
10599
10777
|
});
|
|
10600
10778
|
};
|
|
10601
|
-
exports.version = "19.3.0-canary-
|
|
10779
|
+
exports.version = "19.3.0-canary-a4eb2dfa-20251006";
|
|
10602
10780
|
})();
|