Skip to content

Commit b22a3d8

Browse files
committed
ncc-compiled
1 parent 8dff92e commit b22a3d8

File tree

84 files changed

+569
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+569
-241
lines changed

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22786,16 +22786,41 @@
2278622786
normalizeMarkupForTextOrAttribute(serverValue) !== clientValue &&
2278722787
(serverDifferences[propName] = serverValue));
2278822788
}
22789+
function hasViewTransition(htmlElement) {
22790+
return !!(
22791+
htmlElement.getAttribute("vt-share") ||
22792+
htmlElement.getAttribute("vt-exit") ||
22793+
htmlElement.getAttribute("vt-enter") ||
22794+
htmlElement.getAttribute("vt-update")
22795+
);
22796+
}
22797+
function isExpectedViewTransitionName(htmlElement) {
22798+
if (!hasViewTransition(htmlElement)) return !1;
22799+
var expectedVtName = htmlElement.getAttribute("vt-name");
22800+
htmlElement = htmlElement.style["view-transition-name"];
22801+
return expectedVtName
22802+
? expectedVtName === htmlElement
22803+
: htmlElement.startsWith("_T_");
22804+
}
2278922805
function warnForExtraAttributes(
2279022806
domElement,
2279122807
attributeNames,
2279222808
serverDifferences
2279322809
) {
2279422810
attributeNames.forEach(function (attributeName) {
22795-
serverDifferences[getPropNameFromAttributeName(attributeName)] =
22796-
"style" === attributeName
22797-
? getStylesObjectFromElement(domElement)
22798-
: domElement.getAttribute(attributeName);
22811+
"style" === attributeName
22812+
? "" !== domElement.getAttribute(attributeName) &&
22813+
((attributeName = domElement.style),
22814+
(((1 === attributeName.length &&
22815+
"view-transition-name" === attributeName[0]) ||
22816+
(2 === attributeName.length &&
22817+
"view-transition-class" === attributeName[0] &&
22818+
"view-transition-name" === attributeName[1])) &&
22819+
isExpectedViewTransitionName(domElement)) ||
22820+
(serverDifferences.style =
22821+
getStylesObjectFromElement(domElement)))
22822+
: (serverDifferences[getPropNameFromAttributeName(attributeName)] =
22823+
domElement.getAttribute(attributeName));
2279922824
});
2280022825
}
2280122826
function warnForInvalidEventListener(registrationName, listener) {
@@ -24123,12 +24148,16 @@
2412324148
}
2412424149
}
2412524150
function getStylesObjectFromElement(domElement) {
24126-
var serverValueInObjectForm = {};
24127-
domElement = domElement.style;
24128-
for (var i = 0; i < domElement.length; i++) {
24129-
var styleName = domElement[i];
24130-
serverValueInObjectForm[styleName] =
24131-
domElement.getPropertyValue(styleName);
24151+
for (
24152+
var serverValueInObjectForm = {}, style = domElement.style, i = 0;
24153+
i < style.length;
24154+
i++
24155+
) {
24156+
var styleName = style[i];
24157+
("view-transition-name" === styleName &&
24158+
isExpectedViewTransitionName(domElement)) ||
24159+
(serverValueInObjectForm[styleName] =
24160+
style.getPropertyValue(styleName));
2413224161
}
2413324162
return serverValueInObjectForm;
2413424163
}
@@ -24178,7 +24207,10 @@
2417824207
value$jscomp$0 = domElement.getAttribute("style");
2417924208
value$jscomp$0 !== clientValue &&
2418024209
((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),
24181-
normalizeMarkupForTextOrAttribute(value$jscomp$0) !== clientValue &&
24210+
(value$jscomp$0 = normalizeMarkupForTextOrAttribute(value$jscomp$0)),
24211+
value$jscomp$0 === clientValue ||
24212+
(";" === value$jscomp$0[value$jscomp$0.length - 1] &&
24213+
hasViewTransition(domElement)) ||
2418224214
(serverDifferences.style = getStylesObjectFromElement(domElement)));
2418324215
}
2418424216
}
@@ -32436,11 +32468,11 @@
3243632468
};
3243732469
(function () {
3243832470
var isomorphicReactPackageVersion = React.version;
32439-
if ("19.3.0-experimental-b45bb335-20251211" !== isomorphicReactPackageVersion)
32471+
if ("19.3.0-experimental-f93b9fd4-20251217" !== isomorphicReactPackageVersion)
3244032472
throw Error(
3244132473
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3244232474
(isomorphicReactPackageVersion +
32443-
"\n - react-dom: 19.3.0-experimental-b45bb335-20251211\nLearn more: https://react.dev/warnings/version-mismatch")
32475+
"\n - react-dom: 19.3.0-experimental-f93b9fd4-20251217\nLearn more: https://react.dev/warnings/version-mismatch")
3244432476
);
3244532477
})();
3244632478
("function" === typeof Map &&
@@ -32477,10 +32509,10 @@
3247732509
!(function () {
3247832510
var internals = {
3247932511
bundleType: 1,
32480-
version: "19.3.0-experimental-b45bb335-20251211",
32512+
version: "19.3.0-experimental-f93b9fd4-20251217",
3248132513
rendererPackageName: "react-dom",
3248232514
currentDispatcherRef: ReactSharedInternals,
32483-
reconcilerVersion: "19.3.0-experimental-b45bb335-20251211"
32515+
reconcilerVersion: "19.3.0-experimental-f93b9fd4-20251217"
3248432516
};
3248532517
internals.overrideHookState = overrideHookState;
3248632518
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32628,7 +32660,7 @@
3262832660
listenToAllSupportedEvents(container);
3262932661
return new ReactDOMHydrationRoot(initialChildren);
3263032662
};
32631-
exports.version = "19.3.0-experimental-b45bb335-20251211";
32663+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
3263232664
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3263332665
"function" ===
3263432666
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19657,14 +19657,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1965719657
};
1965819658
var isomorphicReactPackageVersion$jscomp$inline_2214 = React.version;
1965919659
if (
19660-
"19.3.0-experimental-b45bb335-20251211" !==
19660+
"19.3.0-experimental-f93b9fd4-20251217" !==
1966119661
isomorphicReactPackageVersion$jscomp$inline_2214
1966219662
)
1966319663
throw Error(
1966419664
formatProdErrorMessage(
1966519665
527,
1966619666
isomorphicReactPackageVersion$jscomp$inline_2214,
19667-
"19.3.0-experimental-b45bb335-20251211"
19667+
"19.3.0-experimental-f93b9fd4-20251217"
1966819668
)
1966919669
);
1967019670
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19686,10 +19686,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1968619686
};
1968719687
var internals$jscomp$inline_2917 = {
1968819688
bundleType: 0,
19689-
version: "19.3.0-experimental-b45bb335-20251211",
19689+
version: "19.3.0-experimental-f93b9fd4-20251217",
1969019690
rendererPackageName: "react-dom",
1969119691
currentDispatcherRef: ReactSharedInternals,
19692-
reconcilerVersion: "19.3.0-experimental-b45bb335-20251211"
19692+
reconcilerVersion: "19.3.0-experimental-f93b9fd4-20251217"
1969319693
};
1969419694
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1969519695
var hook$jscomp$inline_2918 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19796,4 +19796,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1979619796
listenToAllSupportedEvents(container);
1979719797
return new ReactDOMHydrationRoot(initialChildren);
1979819798
};
19799-
exports.version = "19.3.0-experimental-b45bb335-20251211";
19799+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22794,16 +22794,41 @@
2279422794
normalizeMarkupForTextOrAttribute(serverValue) !== clientValue &&
2279522795
(serverDifferences[propName] = serverValue));
2279622796
}
22797+
function hasViewTransition(htmlElement) {
22798+
return !!(
22799+
htmlElement.getAttribute("vt-share") ||
22800+
htmlElement.getAttribute("vt-exit") ||
22801+
htmlElement.getAttribute("vt-enter") ||
22802+
htmlElement.getAttribute("vt-update")
22803+
);
22804+
}
22805+
function isExpectedViewTransitionName(htmlElement) {
22806+
if (!hasViewTransition(htmlElement)) return !1;
22807+
var expectedVtName = htmlElement.getAttribute("vt-name");
22808+
htmlElement = htmlElement.style["view-transition-name"];
22809+
return expectedVtName
22810+
? expectedVtName === htmlElement
22811+
: htmlElement.startsWith("_T_");
22812+
}
2279722813
function warnForExtraAttributes(
2279822814
domElement,
2279922815
attributeNames,
2280022816
serverDifferences
2280122817
) {
2280222818
attributeNames.forEach(function (attributeName) {
22803-
serverDifferences[getPropNameFromAttributeName(attributeName)] =
22804-
"style" === attributeName
22805-
? getStylesObjectFromElement(domElement)
22806-
: domElement.getAttribute(attributeName);
22819+
"style" === attributeName
22820+
? "" !== domElement.getAttribute(attributeName) &&
22821+
((attributeName = domElement.style),
22822+
(((1 === attributeName.length &&
22823+
"view-transition-name" === attributeName[0]) ||
22824+
(2 === attributeName.length &&
22825+
"view-transition-class" === attributeName[0] &&
22826+
"view-transition-name" === attributeName[1])) &&
22827+
isExpectedViewTransitionName(domElement)) ||
22828+
(serverDifferences.style =
22829+
getStylesObjectFromElement(domElement)))
22830+
: (serverDifferences[getPropNameFromAttributeName(attributeName)] =
22831+
domElement.getAttribute(attributeName));
2280722832
});
2280822833
}
2280922834
function warnForInvalidEventListener(registrationName, listener) {
@@ -24131,12 +24156,16 @@
2413124156
}
2413224157
}
2413324158
function getStylesObjectFromElement(domElement) {
24134-
var serverValueInObjectForm = {};
24135-
domElement = domElement.style;
24136-
for (var i = 0; i < domElement.length; i++) {
24137-
var styleName = domElement[i];
24138-
serverValueInObjectForm[styleName] =
24139-
domElement.getPropertyValue(styleName);
24159+
for (
24160+
var serverValueInObjectForm = {}, style = domElement.style, i = 0;
24161+
i < style.length;
24162+
i++
24163+
) {
24164+
var styleName = style[i];
24165+
("view-transition-name" === styleName &&
24166+
isExpectedViewTransitionName(domElement)) ||
24167+
(serverValueInObjectForm[styleName] =
24168+
style.getPropertyValue(styleName));
2414024169
}
2414124170
return serverValueInObjectForm;
2414224171
}
@@ -24186,7 +24215,10 @@
2418624215
value$jscomp$0 = domElement.getAttribute("style");
2418724216
value$jscomp$0 !== clientValue &&
2418824217
((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),
24189-
normalizeMarkupForTextOrAttribute(value$jscomp$0) !== clientValue &&
24218+
(value$jscomp$0 = normalizeMarkupForTextOrAttribute(value$jscomp$0)),
24219+
value$jscomp$0 === clientValue ||
24220+
(";" === value$jscomp$0[value$jscomp$0.length - 1] &&
24221+
hasViewTransition(domElement)) ||
2419024222
(serverDifferences.style = getStylesObjectFromElement(domElement)));
2419124223
}
2419224224
}
@@ -32493,11 +32525,11 @@
3249332525
};
3249432526
(function () {
3249532527
var isomorphicReactPackageVersion = React.version;
32496-
if ("19.3.0-experimental-b45bb335-20251211" !== isomorphicReactPackageVersion)
32528+
if ("19.3.0-experimental-f93b9fd4-20251217" !== isomorphicReactPackageVersion)
3249732529
throw Error(
3249832530
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3249932531
(isomorphicReactPackageVersion +
32500-
"\n - react-dom: 19.3.0-experimental-b45bb335-20251211\nLearn more: https://react.dev/warnings/version-mismatch")
32532+
"\n - react-dom: 19.3.0-experimental-f93b9fd4-20251217\nLearn more: https://react.dev/warnings/version-mismatch")
3250132533
);
3250232534
})();
3250332535
("function" === typeof Map &&
@@ -32534,10 +32566,10 @@
3253432566
!(function () {
3253532567
var internals = {
3253632568
bundleType: 1,
32537-
version: "19.3.0-experimental-b45bb335-20251211",
32569+
version: "19.3.0-experimental-f93b9fd4-20251217",
3253832570
rendererPackageName: "react-dom",
3253932571
currentDispatcherRef: ReactSharedInternals,
32540-
reconcilerVersion: "19.3.0-experimental-b45bb335-20251211"
32572+
reconcilerVersion: "19.3.0-experimental-f93b9fd4-20251217"
3254132573
};
3254232574
internals.overrideHookState = overrideHookState;
3254332575
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33015,7 +33047,7 @@
3301533047
exports.useFormStatus = function () {
3301633048
return resolveDispatcher().useHostTransitionStatus();
3301733049
};
33018-
exports.version = "19.3.0-experimental-b45bb335-20251211";
33050+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
3301933051
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3302033052
"function" ===
3302133053
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21717,14 +21717,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2171721717
};
2171821718
var isomorphicReactPackageVersion$jscomp$inline_2510 = React.version;
2171921719
if (
21720-
"19.3.0-experimental-b45bb335-20251211" !==
21720+
"19.3.0-experimental-f93b9fd4-20251217" !==
2172121721
isomorphicReactPackageVersion$jscomp$inline_2510
2172221722
)
2172321723
throw Error(
2172421724
formatProdErrorMessage(
2172521725
527,
2172621726
isomorphicReactPackageVersion$jscomp$inline_2510,
21727-
"19.3.0-experimental-b45bb335-20251211"
21727+
"19.3.0-experimental-f93b9fd4-20251217"
2172821728
)
2172921729
);
2173021730
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21746,10 +21746,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2174621746
};
2174721747
var internals$jscomp$inline_3226 = {
2174821748
bundleType: 0,
21749-
version: "19.3.0-experimental-b45bb335-20251211",
21749+
version: "19.3.0-experimental-f93b9fd4-20251217",
2175021750
rendererPackageName: "react-dom",
2175121751
currentDispatcherRef: ReactSharedInternals,
21752-
reconcilerVersion: "19.3.0-experimental-b45bb335-20251211"
21752+
reconcilerVersion: "19.3.0-experimental-f93b9fd4-20251217"
2175321753
};
2175421754
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2175521755
var hook$jscomp$inline_3227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -22017,7 +22017,7 @@ exports.useFormState = function (action, initialState, permalink) {
2201722017
exports.useFormStatus = function () {
2201822018
return ReactSharedInternals.H.useHostTransitionStatus();
2201922019
};
22020-
exports.version = "19.3.0-experimental-b45bb335-20251211";
22020+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
2202122021
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2202222022
"function" ===
2202322023
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10411,5 +10411,5 @@
1041110411
'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'
1041210412
);
1041310413
};
10414-
exports.version = "19.3.0-experimental-b45bb335-20251211";
10414+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
1041510415
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7035,4 +7035,4 @@ exports.renderToString = function (children, options) {
70357035
'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'
70367036
);
70377037
};
7038-
exports.version = "19.3.0-experimental-b45bb335-20251211";
7038+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10411,5 +10411,5 @@
1041110411
'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'
1041210412
);
1041310413
};
10414-
exports.version = "19.3.0-experimental-b45bb335-20251211";
10414+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
1041510415
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7138,4 +7138,4 @@ exports.renderToString = function (children, options) {
71387138
'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'
71397139
);
71407140
};
7141-
exports.version = "19.3.0-experimental-b45bb335-20251211";
7141+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9390,11 +9390,11 @@
93909390
}
93919391
function ensureCorrectIsomorphicReactVersion() {
93929392
var isomorphicReactPackageVersion = React.version;
9393-
if ("19.3.0-experimental-b45bb335-20251211" !== isomorphicReactPackageVersion)
9393+
if ("19.3.0-experimental-f93b9fd4-20251217" !== isomorphicReactPackageVersion)
93949394
throw Error(
93959395
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
93969396
(isomorphicReactPackageVersion +
9397-
"\n - react-dom: 19.3.0-experimental-b45bb335-20251211\nLearn more: https://react.dev/warnings/version-mismatch")
9397+
"\n - react-dom: 19.3.0-experimental-f93b9fd4-20251217\nLearn more: https://react.dev/warnings/version-mismatch")
93989398
);
93999399
}
94009400
var React = require("next/dist/compiled/react-experimental"),
@@ -11214,5 +11214,5 @@
1121411214
startWork(request);
1121511215
});
1121611216
};
11217-
exports.version = "19.3.0-experimental-b45bb335-20251211";
11217+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";
1121811218
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7688,12 +7688,12 @@ function getPostponedState(request) {
76887688
}
76897689
function ensureCorrectIsomorphicReactVersion() {
76907690
var isomorphicReactPackageVersion = React.version;
7691-
if ("19.3.0-experimental-b45bb335-20251211" !== isomorphicReactPackageVersion)
7691+
if ("19.3.0-experimental-f93b9fd4-20251217" !== isomorphicReactPackageVersion)
76927692
throw Error(
76937693
formatProdErrorMessage(
76947694
527,
76957695
isomorphicReactPackageVersion,
7696-
"19.3.0-experimental-b45bb335-20251211"
7696+
"19.3.0-experimental-f93b9fd4-20251217"
76977697
)
76987698
);
76997699
}
@@ -7944,4 +7944,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
79447944
startWork(request);
79457945
});
79467946
};
7947-
exports.version = "19.3.0-experimental-b45bb335-20251211";
7947+
exports.version = "19.3.0-experimental-f93b9fd4-20251217";

0 commit comments

Comments
 (0)