Skip to content

Commit

Permalink
ncc-compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
vercel-release-bot committed Jan 22, 2025
1 parent dfc70ba commit 9460fc2
Show file tree
Hide file tree
Showing 84 changed files with 8,112 additions and 2,613 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14846,14 +14846,31 @@
? props.name
: instance.autoName;
}
function getViewTransitionClassName(className, eventClassName) {
return null == eventClassName
? className
: "none" === eventClassName
? eventClassName
: null != className
? className + " " + eventClassName
: eventClassName;
function getClassNameByType(classByType) {
if (null == classByType || "string" === typeof classByType)
return classByType;
var className = null,
activeTypes = pendingTransitionTypes;
if (null !== activeTypes)
for (var i = 0; i < activeTypes.length; i++) {
var match = classByType[activeTypes[i]];
if (null != match) {
if ("none" === match) return "none";
className = null == className ? match : className + (" " + match);
}
}
return null == className ? classByType.default : className;
}
function getViewTransitionClassName(defaultClass, eventClass) {
defaultClass = getClassNameByType(defaultClass);
eventClass = getClassNameByType(eventClass);
return null == eventClass
? defaultClass
: "none" === eventClass
? eventClass
: null != defaultClass && "none" !== defaultClass
? defaultClass + " " + eventClass
: eventClass;
}
function markUpdate(workInProgress) {
workInProgress.flags |= 4;
Expand Down Expand Up @@ -17005,10 +17022,14 @@
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
pendingPassiveTransitions = transitions;
pendingRecoverableErrors = recoverableErrors;
pendingViewTransitionEvents = null;
pendingEffectsRenderEndTime = completedRenderEndTime;
pendingSuspendedCommitReason = suspendedCommitReason;
recoverableErrors = (lanes & 335544192) === lanes ? 10262 : 10256;
pendingViewTransitionEvents = null;
(lanes & 335544192) === lanes
? ((pendingTransitionTypes = ReactSharedInternals.V),
(ReactSharedInternals.V = null),
(recoverableErrors = 10262))
: ((pendingTransitionTypes = null), (recoverableErrors = 10256));
0 !== finishedWork.actualDuration ||
0 !== (finishedWork.subtreeFlags & recoverableErrors) ||
0 !== (finishedWork.flags & recoverableErrors)
Expand Down Expand Up @@ -17054,6 +17075,7 @@
(shouldStartViewTransition &&
startViewTransition(
root.containerInfo,
pendingTransitionTypes,
flushMutationEffects,
flushLayoutEffects,
flushAfterMutationEffects,
Expand Down Expand Up @@ -17351,13 +17373,17 @@
}
}
recoverableErrors = pendingViewTransitionEvents;
onRecoverableError = pendingTransitionTypes;
pendingTransitionTypes = null;
if (null !== recoverableErrors)
for (
pendingViewTransitionEvents = null, onRecoverableError = 0;
onRecoverableError < recoverableErrors.length;
onRecoverableError++
pendingViewTransitionEvents = null,
null === onRecoverableError && (onRecoverableError = []),
recoverableError = 0;
recoverableError < recoverableErrors.length;
recoverableError++
)
(0, recoverableErrors[onRecoverableError])();
(0, recoverableErrors[recoverableError])(onRecoverableError);
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
ensureRootIsScheduled(root);
suspendedCommitReason = root.pendingLanes;
Expand Down Expand Up @@ -21222,6 +21248,7 @@
}
function startViewTransition(
rootContainer,
transitionTypes,
mutationCallback,
layoutCallback,
afterMutationCallback,
Expand Down Expand Up @@ -21268,7 +21295,7 @@
);
afterMutationCallback();
},
types: null
types: transitionTypes
});
ownerDocument.__reactViewTransition = transition;
transition.ready.then(void 0, function (reason) {
Expand Down Expand Up @@ -26218,6 +26245,7 @@
pendingPassiveTransitions = null,
pendingRecoverableErrors = null,
pendingViewTransitionEvents = null,
pendingTransitionTypes = null,
pendingSuspendedCommitReason = IMMEDIATE_COMMIT,
NESTED_UPDATE_LIMIT = 50,
nestedUpdateCount = 0,
Expand Down Expand Up @@ -26794,11 +26822,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-5b51a2b9-20250116" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-9b62ee71-20250122" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-experimental-5b51a2b9-20250116\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-9b62ee71-20250122\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -26835,10 +26863,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-5b51a2b9-20250116",
version: "19.1.0-experimental-9b62ee71-20250122",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-5b51a2b9-20250116"
reconcilerVersion: "19.1.0-experimental-9b62ee71-20250122"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26982,7 +27010,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-5b51a2b9-20250116";
exports.version = "19.1.0-experimental-9b62ee71-20250122";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10455,14 +10455,31 @@ function getViewTransitionName(props, instance) {
? props.name
: instance.autoName;
}
function getViewTransitionClassName(className, eventClassName) {
return null == eventClassName
? className
: "none" === eventClassName
? eventClassName
: null != className
? className + " " + eventClassName
: eventClassName;
function getClassNameByType(classByType) {
if (null == classByType || "string" === typeof classByType)
return classByType;
var className = null,
activeTypes = pendingTransitionTypes;
if (null !== activeTypes)
for (var i = 0; i < activeTypes.length; i++) {
var match = classByType[activeTypes[i]];
if (null != match) {
if ("none" === match) return "none";
className = null == className ? match : className + (" " + match);
}
}
return null == className ? classByType.default : className;
}
function getViewTransitionClassName(defaultClass, eventClass) {
defaultClass = getClassNameByType(defaultClass);
eventClass = getClassNameByType(eventClass);
return null == eventClass
? defaultClass
: "none" === eventClass
? eventClass
: null != defaultClass && "none" !== defaultClass
? defaultClass + " " + eventClass
: eventClass;
}
function markUpdate(workInProgress) {
workInProgress.flags |= 4;
Expand Down Expand Up @@ -11142,6 +11159,7 @@ var DefaultAsyncDispatcher = {
pendingPassiveTransitions = null,
pendingRecoverableErrors = null,
pendingViewTransitionEvents = null,
pendingTransitionTypes = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
Expand Down Expand Up @@ -12010,7 +12028,11 @@ function commitRoot(
pendingPassiveTransitions = transitions;
pendingRecoverableErrors = recoverableErrors;
pendingViewTransitionEvents = null;
recoverableErrors = (lanes & 335544192) === lanes ? 10262 : 10256;
(lanes & 335544192) === lanes
? ((pendingTransitionTypes = ReactSharedInternals.V),
(ReactSharedInternals.V = null),
(recoverableErrors = 10262))
: ((pendingTransitionTypes = null), (recoverableErrors = 10256));
0 !== (finishedWork.subtreeFlags & recoverableErrors) ||
0 !== (finishedWork.flags & recoverableErrors)
? ((root.callbackNode = null),
Expand Down Expand Up @@ -12045,6 +12067,7 @@ function commitRoot(
(shouldStartViewTransition &&
startViewTransition(
root.containerInfo,
pendingTransitionTypes,
flushMutationEffects,
flushLayoutEffects,
flushAfterMutationEffects,
Expand Down Expand Up @@ -12257,13 +12280,17 @@ function flushSpawnedWork() {
}
}
recoverableErrors = pendingViewTransitionEvents;
onRecoverableError = pendingTransitionTypes;
pendingTransitionTypes = null;
if (null !== recoverableErrors)
for (
pendingViewTransitionEvents = null, onRecoverableError = 0;
onRecoverableError < recoverableErrors.length;
onRecoverableError++
pendingViewTransitionEvents = null,
null === onRecoverableError && (onRecoverableError = []),
recoverableError = 0;
recoverableError < recoverableErrors.length;
recoverableError++
)
(0, recoverableErrors[onRecoverableError])();
(0, recoverableErrors[recoverableError])(onRecoverableError);
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
ensureRootIsScheduled(root);
passiveSubtreeMask = root.pendingLanes;
Expand Down Expand Up @@ -14609,6 +14636,7 @@ function measureInstance(instance) {
}
function startViewTransition(
rootContainer,
transitionTypes,
mutationCallback,
layoutCallback,
afterMutationCallback,
Expand Down Expand Up @@ -14653,7 +14681,7 @@ function startViewTransition(
);
afterMutationCallback();
},
types: null
types: transitionTypes
});
ownerDocument.__reactViewTransition = transition;
transition.ready.then(spawnedWorkCallback, spawnedWorkCallback);
Expand Down Expand Up @@ -16373,14 +16401,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version;
if (
"19.1.0-experimental-5b51a2b9-20250116" !==
"19.1.0-experimental-9b62ee71-20250122" !==
isomorphicReactPackageVersion$jscomp$inline_1799
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1799,
"19.1.0-experimental-5b51a2b9-20250116"
"19.1.0-experimental-9b62ee71-20250122"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16402,10 +16430,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2330 = {
bundleType: 0,
version: "19.1.0-experimental-5b51a2b9-20250116",
version: "19.1.0-experimental-9b62ee71-20250122",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-5b51a2b9-20250116"
reconcilerVersion: "19.1.0-experimental-9b62ee71-20250122"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2331 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16511,4 +16539,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-5b51a2b9-20250116";
exports.version = "19.1.0-experimental-9b62ee71-20250122";
Loading

0 comments on commit 9460fc2

Please sign in to comment.