Skip to content

Commit

Permalink
ncc-compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 28, 2024
1 parent 1bb89a6 commit 51747e7
Show file tree
Hide file tree
Showing 56 changed files with 2,481 additions and 1,731 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24615,11 +24615,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-7771d3a7-20240827" !== 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.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24656,11 +24656,11 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-experimental-f90a6bcc-20240827",
version: "19.0.0-experimental-7771d3a7-20240827",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -24804,7 +24804,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
exports.version = "19.0.0-experimental-7771d3a7-20240827";
"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 @@ -15014,14 +15014,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1635 = React.version;
if (
"19.0.0-experimental-f90a6bcc-20240827" !==
"19.0.0-experimental-7771d3a7-20240827" !==
isomorphicReactPackageVersion$jscomp$inline_1635
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1635,
"19.0.0-experimental-f90a6bcc-20240827"
"19.0.0-experimental-7771d3a7-20240827"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15043,11 +15043,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2043 = {
bundleType: 0,
version: "19.0.0-experimental-f90a6bcc-20240827",
version: "19.0.0-experimental-7771d3a7-20240827",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2044 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15151,4 +15151,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
exports.version = "19.0.0-experimental-7771d3a7-20240827";
Original file line number Diff line number Diff line change
Expand Up @@ -24672,11 +24672,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-7771d3a7-20240827" !== 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.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24713,11 +24713,11 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-experimental-f90a6bcc-20240827",
version: "19.0.0-experimental-7771d3a7-20240827",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -25191,7 +25191,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
exports.version = "19.0.0-experimental-7771d3a7-20240827";
"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 @@ -15717,14 +15717,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version;
if (
"19.0.0-experimental-f90a6bcc-20240827" !==
"19.0.0-experimental-7771d3a7-20240827" !==
isomorphicReactPackageVersion$jscomp$inline_1724
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1724,
"19.0.0-experimental-f90a6bcc-20240827"
"19.0.0-experimental-7771d3a7-20240827"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15746,11 +15746,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1731 = {
bundleType: 0,
version: "19.0.0-experimental-f90a6bcc-20240827",
version: "19.0.0-experimental-7771d3a7-20240827",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827",
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
Expand Down Expand Up @@ -16030,7 +16030,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
exports.version = "19.0.0-experimental-7771d3a7-20240827";
"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 @@ -6300,6 +6300,57 @@
void 0 !== boundary &&
((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
}
function spawnNewSuspendedReplayTask(request, task, thenableState) {
return createReplayTask(
request,
thenableState,
task.replay,
task.node,
task.childIndex,
task.blockedBoundary,
task.hoistableState,
task.abortSet,
task.keyPath,
task.formatContext,
task.context,
task.treeContext,
task.componentStack,
task.isFallback,
emptyContextObject,
task.debugTask
);
}
function spawnNewSuspendedRenderTask(request, task, thenableState) {
var segment = task.blockedSegment,
newSegment = createPendingSegment(
request,
segment.chunks.length,
null,
task.formatContext,
segment.lastPushedText,
!0
);
segment.children.push(newSegment);
segment.lastPushedText = !1;
return createRenderTask(
request,
thenableState,
task.node,
task.childIndex,
task.blockedBoundary,
newSegment,
task.hoistableState,
task.abortSet,
task.keyPath,
task.formatContext,
task.context,
task.treeContext,
task.componentStack,
task.isFallback,
emptyContextObject,
task.debugTask
);
}
function renderNode(request, task, node, childIndex) {
var previousFormatContext = task.formatContext,
previousContext = task.context,
Expand All @@ -6318,39 +6369,39 @@
thrownValue === SuspenseException
? getSuspendedThenable()
: thrownValue),
"object" === typeof childIndex &&
null !== childIndex &&
"function" === typeof childIndex.then)
"object" === typeof childIndex && null !== childIndex)
) {
node = childIndex;
childIndex = getThenableStateAfterSuspending();
request = createReplayTask(
request,
childIndex,
task.replay,
task.node,
task.childIndex,
task.blockedBoundary,
task.hoistableState,
task.abortSet,
task.keyPath,
task.formatContext,
task.context,
task.treeContext,
task.componentStack,
task.isFallback,
emptyContextObject,
task.debugTask
).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
task.context = previousContext;
task.keyPath = previousKeyPath;
task.treeContext = previousTreeContext;
task.componentStack = previousComponentStack;
task.debugTask = previousDebugTask;
switchContext(previousContext);
return;
if ("function" === typeof childIndex.then) {
node = childIndex;
childIndex = getThenableStateAfterSuspending();
request = spawnNewSuspendedReplayTask(
request,
task,
childIndex
).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
task.context = previousContext;
task.keyPath = previousKeyPath;
task.treeContext = previousTreeContext;
task.componentStack = previousComponentStack;
task.debugTask = previousDebugTask;
switchContext(previousContext);
return;
}
if ("Maximum call stack size exceeded" === childIndex.message) {
node = getThenableStateAfterSuspending();
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
task.context = previousContext;
task.keyPath = previousKeyPath;
task.treeContext = previousTreeContext;
task.componentStack = previousComponentStack;
task.debugTask = previousDebugTask;
switchContext(previousContext);
return;
}
}
}
else {
Expand All @@ -6372,34 +6423,10 @@
if ("function" === typeof childIndex.then) {
node = childIndex;
childIndex = getThenableStateAfterSuspending();
segment = task.blockedSegment;
childrenLength = createPendingSegment(
request = spawnNewSuspendedRenderTask(
request,
segment.chunks.length,
null,
task.formatContext,
segment.lastPushedText,
!0
);
segment.children.push(childrenLength);
segment.lastPushedText = !1;
request = createRenderTask(
request,
childIndex,
task.node,
task.childIndex,
task.blockedBoundary,
childrenLength,
task.hoistableState,
task.abortSet,
task.keyPath,
task.formatContext,
task.context,
task.treeContext,
task.componentStack,
task.isFallback,
emptyContextObject,
task.debugTask
task,
childIndex
).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
Expand Down Expand Up @@ -6440,6 +6467,19 @@
switchContext(previousContext);
return;
}
if ("Maximum call stack size exceeded" === childIndex.message) {
node = getThenableStateAfterSuspending();
node = spawnNewSuspendedRenderTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
task.context = previousContext;
task.keyPath = previousKeyPath;
task.treeContext = previousTreeContext;
task.componentStack = previousComponentStack;
task.debugTask = previousDebugTask;
switchContext(previousContext);
return;
}
}
}
}
Expand Down Expand Up @@ -9251,5 +9291,5 @@
'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'
);
};
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
exports.version = "19.0.0-experimental-7771d3a7-20240827";
})();
Loading

0 comments on commit 51747e7

Please sign in to comment.