mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Create virtual Fiber when an error occurs during reconcilation (#29804)
This lets us rethrow it in the conceptual place of the child.
There's currently a problem when we suspend or throw in the child fiber
reconciliation phase. This work is done by the parent component, so if
it suspends or errors it is as if that component errored or suspended.
However, conceptually it's like a child suspended or errored.
In theory any thing can throw but it is really mainly due to either
`React.lazy` (both in the element.type position and node position),
`Thenable`s or the `Thenable`s that make up `AsyncIterable`s.
Mainly this happens because a Server Component that errors turns into a
`React.lazy`. In practice this means that if you have a Server Component
as the direct child of an Error Boundary. Errors inside of it won't be
caught.
We used to have the same problem with Thenables and Suspense but because
it's now always nested inside an inner Offscreen boundary that shields
it by being one level nested. However, when we have raw Offscreen
(Activity) boundaries they should also be able to catch the suspense if
it's in a hidden state so the problem returns. This fixes it for thrown
promises but it doesn't fix it for SuspenseException. I'm not sure this
is even the right strategy for Suspense though. It kind of relies on the
node never actually mounting/committing.
It's conceptually a little tricky because the current component can
inspect the children and make decisions based on them. Such as
SuspenseList.
The other thing that this PR tries to address is that it sets the
foundation for dealing with error reporting for Server Components that
errored. If something client side errors it'll be a stack like Server
(DebugInfo) -> Fiber -> Fiber -> Server -> (DebugInfo) -> Fiber.
However, all error reporting relies on it eventually terminating into a
Fiber that is responsible for the error. To avoid having to fork too
much it would be nice if I could create a Fiber to associate with the
error so that even a Server component error in this case ultimately
terminates in a Fiber.
DiffTrain build for [270229f0c3](https://github.com/facebook/react/commit/270229f0c337dc652f07ef27d2254bb922bfaa9e)
This commit is contained in:
@@ -1 +1 @@
|
||||
01a40570c3cd852593c9bc88978b11cb9a2c5720
|
||||
270229f0c337dc652f07ef27d2254bb922bfaa9e
|
||||
|
||||
@@ -1 +1 @@
|
||||
01a40570c3cd852593c9bc88978b11cb9a2c5720
|
||||
270229f0c337dc652f07ef27d2254bb922bfaa9e
|
||||
|
||||
@@ -1980,7 +1980,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1960,7 +1960,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -3842,16 +3842,32 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -8575,6 +8591,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -9588,6 +9607,8 @@ __DEV__ &&
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -16922,14 +16943,14 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-art"
|
||||
});
|
||||
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,
|
||||
|
||||
@@ -3741,16 +3741,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -8265,6 +8273,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -16362,14 +16373,14 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-art"
|
||||
});
|
||||
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,
|
||||
|
||||
@@ -2454,15 +2454,32 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -6105,6 +6122,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -6968,6 +6988,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -10681,19 +10703,19 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component),
|
||||
devToolsConfig$jscomp$inline_1159 = {
|
||||
devToolsConfig$jscomp$inline_1165 = {
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-art"
|
||||
};
|
||||
var internals$jscomp$inline_1371 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1159.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1159.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1159.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1159.rendererConfig,
|
||||
var internals$jscomp$inline_1377 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1165.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1165.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1165.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1165.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -10710,26 +10732,26 @@ var internals$jscomp$inline_1371 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1159.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1165.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1372 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1378 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1372.isDisabled &&
|
||||
hook$jscomp$inline_1372.supportsFiber
|
||||
!hook$jscomp$inline_1378.isDisabled &&
|
||||
hook$jscomp$inline_1378.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1372.inject(
|
||||
internals$jscomp$inline_1371
|
||||
(rendererID = hook$jscomp$inline_1378.inject(
|
||||
internals$jscomp$inline_1377
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1372);
|
||||
(injectedHook = hook$jscomp$inline_1378);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
|
||||
@@ -2250,15 +2250,24 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -5682,6 +5691,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -10144,19 +10156,19 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component),
|
||||
devToolsConfig$jscomp$inline_1123 = {
|
||||
devToolsConfig$jscomp$inline_1129 = {
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-art"
|
||||
};
|
||||
var internals$jscomp$inline_1357 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1123.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1123.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1123.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1123.rendererConfig,
|
||||
var internals$jscomp$inline_1363 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1129.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1129.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1129.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1129.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -10173,26 +10185,26 @@ var internals$jscomp$inline_1357 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1123.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1129.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1358 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1364 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1358.isDisabled &&
|
||||
hook$jscomp$inline_1358.supportsFiber
|
||||
!hook$jscomp$inline_1364.isDisabled &&
|
||||
hook$jscomp$inline_1364.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1358.inject(
|
||||
internals$jscomp$inline_1357
|
||||
(rendererID = hook$jscomp$inline_1364.inject(
|
||||
internals$jscomp$inline_1363
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1358);
|
||||
(injectedHook = hook$jscomp$inline_1364);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
|
||||
@@ -5469,16 +5469,32 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -9028,32 +9044,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2431;
|
||||
var JSCompiler_object_inline_stack_2432 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2436;
|
||||
var JSCompiler_object_inline_stack_2437 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2433 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2438 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2431 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2431 =
|
||||
(JSCompiler_object_inline_digest_2436 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2436 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2431 &&
|
||||
((JSCompiler_object_inline_componentStack_2433 = !0),
|
||||
JSCompiler_object_inline_digest_2436 &&
|
||||
((JSCompiler_object_inline_componentStack_2438 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2431 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2436 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2433
|
||||
JSCompiler_object_inline_componentStack_2438
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2430 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2435 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2430)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2435)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2430;
|
||||
var instance = JSCompiler_object_inline_message_2435;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9094,19 +9110,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2430
|
||||
JSCompiler_object_inline_message_2435
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2430 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2435 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2430 &&
|
||||
((JSCompiler_object_inline_message_2430 =
|
||||
JSCompiler_object_inline_message_2430.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2430)
|
||||
null !== JSCompiler_object_inline_message_2435 &&
|
||||
((JSCompiler_object_inline_message_2435 =
|
||||
JSCompiler_object_inline_message_2435.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2435)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2430.data ===
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = DefaultHydrationLane)
|
||||
: (workInProgress.lanes = OffscreenLane),
|
||||
@@ -9114,27 +9130,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2430 =
|
||||
JSCompiler_object_inline_stack_2432.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2432.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2433)
|
||||
JSCompiler_object_inline_message_2435 =
|
||||
JSCompiler_object_inline_stack_2437.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2437.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2438)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2432 =
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2433 =
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2433.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2438.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2433.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2438.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9147,9 +9163,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2433.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2438.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2433.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2438.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9157,46 +9173,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2432
|
||||
JSCompiler_object_inline_stack_2437
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2432.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2437.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2432 =
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2433 =
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2433.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2438.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2433.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2438.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2432
|
||||
JSCompiler_object_inline_stack_2437
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2430
|
||||
JSCompiler_object_inline_message_2435
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2430 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2430)
|
||||
((JSCompiler_object_inline_message_2435 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2435)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9213,32 +9229,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2433 =
|
||||
JSCompiler_object_inline_stack_2432.fallback),
|
||||
(JSCompiler_object_inline_message_2430 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2432 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_stack_2437.fallback),
|
||||
(JSCompiler_object_inline_message_2435 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2437 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2432.children
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2433 =
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2433,
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2433.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2432.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2433.return =
|
||||
(JSCompiler_object_inline_componentStack_2438.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2437.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2438.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2432.sibling =
|
||||
JSCompiler_object_inline_componentStack_2433),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2432),
|
||||
(JSCompiler_object_inline_stack_2437.sibling =
|
||||
JSCompiler_object_inline_componentStack_2438),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2437),
|
||||
(disableLegacyMode || 0 !== (workInProgress.mode & 1)) &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -9246,62 +9262,62 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2432 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2432.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2437 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2437.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2432.childLanes =
|
||||
(JSCompiler_object_inline_stack_2437.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2433));
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2438));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2430.data ===
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2431 =
|
||||
JSCompiler_object_inline_message_2430.nextSibling &&
|
||||
JSCompiler_object_inline_message_2430.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2431) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2431.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2431.msg;
|
||||
instance = JSCompiler_object_inline_digest_2431.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2431.cstck;
|
||||
JSCompiler_object_inline_digest_2436 =
|
||||
JSCompiler_object_inline_message_2435.nextSibling &&
|
||||
JSCompiler_object_inline_message_2435.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2436) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2436.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2436.msg;
|
||||
instance = JSCompiler_object_inline_digest_2436.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2436.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2430 = message;
|
||||
JSCompiler_object_inline_digest_2431 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2432 = instance;
|
||||
JSCompiler_object_inline_componentStack_2433 = componentStack;
|
||||
JSCompiler_object_inline_message_2430 =
|
||||
JSCompiler_object_inline_message_2430
|
||||
? Error(JSCompiler_object_inline_message_2430)
|
||||
JSCompiler_object_inline_message_2435 = message;
|
||||
JSCompiler_object_inline_digest_2436 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2437 = instance;
|
||||
JSCompiler_object_inline_componentStack_2438 = componentStack;
|
||||
JSCompiler_object_inline_message_2435 =
|
||||
JSCompiler_object_inline_message_2435
|
||||
? Error(JSCompiler_object_inline_message_2435)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2430.stack =
|
||||
JSCompiler_object_inline_stack_2432 || "";
|
||||
JSCompiler_object_inline_message_2430.digest =
|
||||
JSCompiler_object_inline_digest_2431;
|
||||
JSCompiler_object_inline_digest_2431 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2433
|
||||
JSCompiler_object_inline_message_2435.stack =
|
||||
JSCompiler_object_inline_stack_2437 || "";
|
||||
JSCompiler_object_inline_message_2435.digest =
|
||||
JSCompiler_object_inline_digest_2436;
|
||||
JSCompiler_object_inline_digest_2436 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2438
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2433;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2431 &&
|
||||
: JSCompiler_object_inline_componentStack_2438;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2436 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_digest_2431
|
||||
JSCompiler_object_inline_message_2435,
|
||||
JSCompiler_object_inline_digest_2436
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2430,
|
||||
value: JSCompiler_object_inline_message_2435,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2431
|
||||
stack: JSCompiler_object_inline_digest_2436
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9317,29 +9333,29 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2431 =
|
||||
(JSCompiler_object_inline_digest_2436 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2431)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2436)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2431 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2431) {
|
||||
JSCompiler_object_inline_stack_2432 = renderLanes & -renderLanes;
|
||||
JSCompiler_object_inline_digest_2436 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2436) {
|
||||
JSCompiler_object_inline_stack_2437 = renderLanes & -renderLanes;
|
||||
if (
|
||||
enableUnifiedSyncLane &&
|
||||
0 !== (JSCompiler_object_inline_stack_2432 & SyncUpdateLanes)
|
||||
0 !== (JSCompiler_object_inline_stack_2437 & SyncUpdateLanes)
|
||||
)
|
||||
JSCompiler_object_inline_stack_2432 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2437 = SyncHydrationLane;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2432) {
|
||||
switch (JSCompiler_object_inline_stack_2437) {
|
||||
case SyncLane:
|
||||
JSCompiler_object_inline_stack_2432 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2437 = SyncHydrationLane;
|
||||
break;
|
||||
case InputContinuousLane:
|
||||
JSCompiler_object_inline_stack_2432 =
|
||||
JSCompiler_object_inline_stack_2437 =
|
||||
InputContinuousHydrationLane;
|
||||
break;
|
||||
case DefaultLane:
|
||||
JSCompiler_object_inline_stack_2432 = DefaultHydrationLane;
|
||||
JSCompiler_object_inline_stack_2437 = DefaultHydrationLane;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9360,40 +9376,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2432 = TransitionHydrationLane;
|
||||
JSCompiler_object_inline_stack_2437 = TransitionHydrationLane;
|
||||
break;
|
||||
case IdleLane:
|
||||
JSCompiler_object_inline_stack_2432 = IdleHydrationLane;
|
||||
JSCompiler_object_inline_stack_2437 = IdleHydrationLane;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2432 = 0;
|
||||
JSCompiler_object_inline_stack_2437 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2432 =
|
||||
JSCompiler_object_inline_stack_2437 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2432 &
|
||||
(JSCompiler_object_inline_digest_2431.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2437 &
|
||||
(JSCompiler_object_inline_digest_2436.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2432;
|
||||
: JSCompiler_object_inline_stack_2437;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2432 &&
|
||||
JSCompiler_object_inline_stack_2432 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2437 &&
|
||||
JSCompiler_object_inline_stack_2437 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2432),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2437),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2432
|
||||
JSCompiler_object_inline_stack_2437
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2432
|
||||
JSCompiler_object_inline_stack_2437
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2430.data ===
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9401,7 +9417,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2430.data ===
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9409,12 +9425,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2430._reactRetry =
|
||||
(JSCompiler_object_inline_message_2435._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2430.nextSibling
|
||||
JSCompiler_object_inline_message_2435.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9432,73 +9448,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2432.children
|
||||
JSCompiler_object_inline_stack_2437.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2433)
|
||||
if (JSCompiler_object_inline_componentStack_2438)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2433 =
|
||||
JSCompiler_object_inline_stack_2432.fallback),
|
||||
(JSCompiler_object_inline_message_2430 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_stack_2437.fallback),
|
||||
(JSCompiler_object_inline_message_2435 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2432.children
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
0 !== (JSCompiler_object_inline_message_2430 & 1) ||
|
||||
0 !== (JSCompiler_object_inline_message_2435 & 1) ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2432 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2437 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2432.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2437.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2432 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2432.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2432.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2437 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2437.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2437.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & 2 &&
|
||||
((JSCompiler_object_inline_stack_2432.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2432.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2432.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2437.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2437.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2437.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2432.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2437.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2433 =
|
||||
? (JSCompiler_object_inline_componentStack_2438 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2433
|
||||
JSCompiler_object_inline_componentStack_2438
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2433 =
|
||||
: ((JSCompiler_object_inline_componentStack_2438 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2433,
|
||||
JSCompiler_object_inline_message_2430,
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2433.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2433.return =
|
||||
(JSCompiler_object_inline_componentStack_2438.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2438.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2432.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2432.sibling =
|
||||
JSCompiler_object_inline_componentStack_2433),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2432),
|
||||
(JSCompiler_object_inline_stack_2432 =
|
||||
JSCompiler_object_inline_componentStack_2433),
|
||||
(JSCompiler_object_inline_componentStack_2433 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2430 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2430
|
||||
? (JSCompiler_object_inline_message_2430 =
|
||||
(JSCompiler_object_inline_stack_2437.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2437.sibling =
|
||||
JSCompiler_object_inline_componentStack_2438),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2437),
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
JSCompiler_object_inline_componentStack_2438),
|
||||
(JSCompiler_object_inline_componentStack_2438 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2435 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2435
|
||||
? (JSCompiler_object_inline_message_2435 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2430.cachePool),
|
||||
JSCompiler_object_inline_message_2435.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9506,73 +9522,73 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2430 = {
|
||||
(JSCompiler_object_inline_message_2435 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2430.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2435.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2433.memoizedState =
|
||||
JSCompiler_object_inline_message_2430),
|
||||
(JSCompiler_object_inline_componentStack_2438.memoizedState =
|
||||
JSCompiler_object_inline_message_2435),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2430 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2435 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2430 &&
|
||||
null !== JSCompiler_object_inline_message_2435 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2433.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2438.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2433.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2430,
|
||||
? (JSCompiler_object_inline_componentStack_2438.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2435,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2433.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2430,
|
||||
? (JSCompiler_object_inline_componentStack_2438.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2435,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack ? componentStack.retryQueue : null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2430),
|
||||
JSCompiler_object_inline_message_2435),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2433.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2438.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2432
|
||||
JSCompiler_object_inline_stack_2437
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2431 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2431.sibling;
|
||||
JSCompiler_object_inline_digest_2431 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2431,
|
||||
JSCompiler_object_inline_digest_2436 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2436.sibling;
|
||||
JSCompiler_object_inline_digest_2436 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2432.children
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
0 !== (workInProgress.mode & 1) ||
|
||||
(JSCompiler_object_inline_digest_2431.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2431.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2431.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2436.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2436.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2436.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2431;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2436;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2431;
|
||||
return JSCompiler_object_inline_digest_2436;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -10847,6 +10863,9 @@ __DEV__ &&
|
||||
} else JSCompiler_inline_result$jscomp$4 = null;
|
||||
return JSCompiler_inline_result$jscomp$4;
|
||||
}
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -12053,6 +12072,8 @@ __DEV__ &&
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -27338,11 +27359,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-01a40570c3-20240611" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-270229f0c3-20240611" !== 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-www-classic-01a40570c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-270229f0c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27408,12 +27429,12 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
}) &&
|
||||
canUseDOM &&
|
||||
@@ -28084,7 +28105,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -5336,16 +5336,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -8746,32 +8754,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2450;
|
||||
var JSCompiler_object_inline_stack_2451 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2455;
|
||||
var JSCompiler_object_inline_stack_2456 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2452 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2457 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2450 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2450 =
|
||||
(JSCompiler_object_inline_digest_2455 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2455 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2450 &&
|
||||
((JSCompiler_object_inline_componentStack_2452 = !0),
|
||||
JSCompiler_object_inline_digest_2455 &&
|
||||
((JSCompiler_object_inline_componentStack_2457 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2450 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2455 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2452
|
||||
JSCompiler_object_inline_componentStack_2457
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2449 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2454 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2449)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2454)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2449;
|
||||
var instance = JSCompiler_object_inline_message_2454;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8812,19 +8820,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2449
|
||||
JSCompiler_object_inline_message_2454
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2449 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2454 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2449 &&
|
||||
((JSCompiler_object_inline_message_2449 =
|
||||
JSCompiler_object_inline_message_2449.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2449)
|
||||
null !== JSCompiler_object_inline_message_2454 &&
|
||||
((JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_message_2454.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2454)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2449.data ===
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = DefaultHydrationLane)
|
||||
: (workInProgress.lanes = OffscreenLane),
|
||||
@@ -8832,27 +8840,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2449 =
|
||||
JSCompiler_object_inline_stack_2451.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2451.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2452)
|
||||
JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_stack_2456.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2456.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2457)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2451 =
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2449,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2452 =
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2452.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2452.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2450,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -8865,9 +8873,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2452.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2457.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2452.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -8875,46 +8883,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2451
|
||||
JSCompiler_object_inline_stack_2456
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2451.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2456.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2451 =
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2449,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2452 =
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2452.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2452.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2450,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2451
|
||||
JSCompiler_object_inline_stack_2456
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2449
|
||||
JSCompiler_object_inline_message_2454
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2449 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2449)
|
||||
((JSCompiler_object_inline_message_2454 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2454)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -8931,93 +8939,93 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2452 =
|
||||
JSCompiler_object_inline_stack_2451.fallback),
|
||||
(JSCompiler_object_inline_message_2449 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2451 =
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
JSCompiler_object_inline_stack_2456.fallback),
|
||||
(JSCompiler_object_inline_message_2454 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2451.children
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2449
|
||||
JSCompiler_object_inline_message_2454
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2452 =
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2452,
|
||||
JSCompiler_object_inline_message_2449,
|
||||
JSCompiler_object_inline_componentStack_2457,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2452.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2451.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2452.return =
|
||||
(JSCompiler_object_inline_componentStack_2457.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2456.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2457.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2451.sibling =
|
||||
JSCompiler_object_inline_componentStack_2452),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2451),
|
||||
(JSCompiler_object_inline_stack_2456.sibling =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2456),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2451 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2451.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2456 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2456.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2451.childLanes =
|
||||
(JSCompiler_object_inline_stack_2456.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2450,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2452));
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2457));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2449.data ===
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2450 =
|
||||
JSCompiler_object_inline_message_2449.nextSibling &&
|
||||
JSCompiler_object_inline_message_2449.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2450) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2450.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2450.msg;
|
||||
instance = JSCompiler_object_inline_digest_2450.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2450.cstck;
|
||||
JSCompiler_object_inline_digest_2455 =
|
||||
JSCompiler_object_inline_message_2454.nextSibling &&
|
||||
JSCompiler_object_inline_message_2454.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2455) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2455.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2455.msg;
|
||||
instance = JSCompiler_object_inline_digest_2455.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2455.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2449 = message;
|
||||
JSCompiler_object_inline_digest_2450 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2451 = instance;
|
||||
JSCompiler_object_inline_componentStack_2452 = componentStack;
|
||||
JSCompiler_object_inline_message_2449 =
|
||||
JSCompiler_object_inline_message_2449
|
||||
? Error(JSCompiler_object_inline_message_2449)
|
||||
JSCompiler_object_inline_message_2454 = message;
|
||||
JSCompiler_object_inline_digest_2455 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2456 = instance;
|
||||
JSCompiler_object_inline_componentStack_2457 = componentStack;
|
||||
JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_message_2454
|
||||
? Error(JSCompiler_object_inline_message_2454)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2449.stack =
|
||||
JSCompiler_object_inline_stack_2451 || "";
|
||||
JSCompiler_object_inline_message_2449.digest =
|
||||
JSCompiler_object_inline_digest_2450;
|
||||
JSCompiler_object_inline_digest_2450 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2452
|
||||
JSCompiler_object_inline_message_2454.stack =
|
||||
JSCompiler_object_inline_stack_2456 || "";
|
||||
JSCompiler_object_inline_message_2454.digest =
|
||||
JSCompiler_object_inline_digest_2455;
|
||||
JSCompiler_object_inline_digest_2455 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2457
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2452;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2450 &&
|
||||
: JSCompiler_object_inline_componentStack_2457;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2455 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2449,
|
||||
JSCompiler_object_inline_digest_2450
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_digest_2455
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2449,
|
||||
value: JSCompiler_object_inline_message_2454,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2450
|
||||
stack: JSCompiler_object_inline_digest_2455
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9033,29 +9041,29 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2450 =
|
||||
(JSCompiler_object_inline_digest_2455 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2450)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2455)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2450 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2450) {
|
||||
JSCompiler_object_inline_stack_2451 = renderLanes & -renderLanes;
|
||||
JSCompiler_object_inline_digest_2455 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2455) {
|
||||
JSCompiler_object_inline_stack_2456 = renderLanes & -renderLanes;
|
||||
if (
|
||||
enableUnifiedSyncLane &&
|
||||
0 !== (JSCompiler_object_inline_stack_2451 & SyncUpdateLanes)
|
||||
0 !== (JSCompiler_object_inline_stack_2456 & SyncUpdateLanes)
|
||||
)
|
||||
JSCompiler_object_inline_stack_2451 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2456 = SyncHydrationLane;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2451) {
|
||||
switch (JSCompiler_object_inline_stack_2456) {
|
||||
case SyncLane:
|
||||
JSCompiler_object_inline_stack_2451 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2456 = SyncHydrationLane;
|
||||
break;
|
||||
case InputContinuousLane:
|
||||
JSCompiler_object_inline_stack_2451 =
|
||||
JSCompiler_object_inline_stack_2456 =
|
||||
InputContinuousHydrationLane;
|
||||
break;
|
||||
case DefaultLane:
|
||||
JSCompiler_object_inline_stack_2451 = DefaultHydrationLane;
|
||||
JSCompiler_object_inline_stack_2456 = DefaultHydrationLane;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9076,40 +9084,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2451 = TransitionHydrationLane;
|
||||
JSCompiler_object_inline_stack_2456 = TransitionHydrationLane;
|
||||
break;
|
||||
case IdleLane:
|
||||
JSCompiler_object_inline_stack_2451 = IdleHydrationLane;
|
||||
JSCompiler_object_inline_stack_2456 = IdleHydrationLane;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2451 = 0;
|
||||
JSCompiler_object_inline_stack_2456 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2451 =
|
||||
JSCompiler_object_inline_stack_2456 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2451 &
|
||||
(JSCompiler_object_inline_digest_2450.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2456 &
|
||||
(JSCompiler_object_inline_digest_2455.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2451;
|
||||
: JSCompiler_object_inline_stack_2456;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2451 &&
|
||||
JSCompiler_object_inline_stack_2451 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2456 &&
|
||||
JSCompiler_object_inline_stack_2456 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2451),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2456),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2451
|
||||
JSCompiler_object_inline_stack_2456
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2450,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2451
|
||||
JSCompiler_object_inline_stack_2456
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2449.data ===
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9117,7 +9125,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2449.data ===
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9125,12 +9133,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2449._reactRetry =
|
||||
(JSCompiler_object_inline_message_2454._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2449.nextSibling
|
||||
JSCompiler_object_inline_message_2454.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9148,57 +9156,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2451.children
|
||||
JSCompiler_object_inline_stack_2456.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2452)
|
||||
if (JSCompiler_object_inline_componentStack_2457)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2452 =
|
||||
JSCompiler_object_inline_stack_2451.fallback),
|
||||
(JSCompiler_object_inline_message_2449 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
JSCompiler_object_inline_stack_2456.fallback),
|
||||
(JSCompiler_object_inline_message_2454 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2451 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2456 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2451.children
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2451.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2456.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2452 =
|
||||
? (JSCompiler_object_inline_componentStack_2457 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2452
|
||||
JSCompiler_object_inline_componentStack_2457
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2452 =
|
||||
: ((JSCompiler_object_inline_componentStack_2457 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2452,
|
||||
JSCompiler_object_inline_message_2449,
|
||||
JSCompiler_object_inline_componentStack_2457,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2452.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2452.return =
|
||||
(JSCompiler_object_inline_componentStack_2457.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2457.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2451.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2451.sibling =
|
||||
JSCompiler_object_inline_componentStack_2452),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2451),
|
||||
(JSCompiler_object_inline_stack_2451 =
|
||||
JSCompiler_object_inline_componentStack_2452),
|
||||
(JSCompiler_object_inline_componentStack_2452 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2449 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2449
|
||||
? (JSCompiler_object_inline_message_2449 =
|
||||
(JSCompiler_object_inline_stack_2456.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456.sibling =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2456),
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(JSCompiler_object_inline_componentStack_2457 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2454 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2454
|
||||
? (JSCompiler_object_inline_message_2454 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2449.cachePool),
|
||||
JSCompiler_object_inline_message_2454.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9206,64 +9214,64 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2449 = {
|
||||
(JSCompiler_object_inline_message_2454 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2449.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2454.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2452.memoizedState =
|
||||
JSCompiler_object_inline_message_2449),
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
JSCompiler_object_inline_message_2454),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2449 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2454 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2449 &&
|
||||
null !== JSCompiler_object_inline_message_2454 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2452.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2457.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2452.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2449,
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2454,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2452.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2449,
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2454,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack ? componentStack.retryQueue : null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2449),
|
||||
JSCompiler_object_inline_message_2454),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2452.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2450,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2451
|
||||
JSCompiler_object_inline_stack_2456
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2451.children
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2450 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2450
|
||||
((JSCompiler_object_inline_digest_2455 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2455
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2450.push(current));
|
||||
: JSCompiler_object_inline_digest_2455.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -10495,6 +10503,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -26495,11 +26506,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-01a40570c3-20240611" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-270229f0c3-20240611" !== 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-www-modern-01a40570c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-270229f0c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26564,12 +26575,12 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
}) &&
|
||||
canUseDOM &&
|
||||
@@ -27171,7 +27182,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -3154,15 +3154,32 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -7278,6 +7295,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -8286,6 +8306,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -13123,19 +13145,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$372;
|
||||
var JSCompiler_inline_result$jscomp$373;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1540 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1540) {
|
||||
var element$jscomp$inline_1541 = document.createElement("div");
|
||||
element$jscomp$inline_1541.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1540 =
|
||||
"function" === typeof element$jscomp$inline_1541.oninput;
|
||||
var isSupported$jscomp$inline_1546 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1546) {
|
||||
var element$jscomp$inline_1547 = document.createElement("div");
|
||||
element$jscomp$inline_1547.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1546 =
|
||||
"function" === typeof element$jscomp$inline_1547.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$372 = isSupported$jscomp$inline_1540;
|
||||
} else JSCompiler_inline_result$jscomp$372 = !1;
|
||||
JSCompiler_inline_result$jscomp$373 = isSupported$jscomp$inline_1546;
|
||||
} else JSCompiler_inline_result$jscomp$373 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$372 &&
|
||||
JSCompiler_inline_result$jscomp$373 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -13544,20 +13566,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1581 = 0;
|
||||
i$jscomp$inline_1581 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1581++
|
||||
var i$jscomp$inline_1587 = 0;
|
||||
i$jscomp$inline_1587 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1587++
|
||||
) {
|
||||
var eventName$jscomp$inline_1582 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1581],
|
||||
domEventName$jscomp$inline_1583 =
|
||||
eventName$jscomp$inline_1582.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1584 =
|
||||
eventName$jscomp$inline_1582[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1582.slice(1);
|
||||
var eventName$jscomp$inline_1588 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1587],
|
||||
domEventName$jscomp$inline_1589 =
|
||||
eventName$jscomp$inline_1588.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1590 =
|
||||
eventName$jscomp$inline_1588[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1588.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1583,
|
||||
"on" + capitalizedEvent$jscomp$inline_1584
|
||||
domEventName$jscomp$inline_1589,
|
||||
"on" + capitalizedEvent$jscomp$inline_1590
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17124,16 +17146,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1754 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1760 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1754
|
||||
"19.0.0-www-classic-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1754,
|
||||
"19.0.0-www-classic-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760,
|
||||
"19.0.0-www-classic-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17176,17 +17198,17 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1761 = {
|
||||
var devToolsConfig$jscomp$inline_1767 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2205 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1761.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1761.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1761.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1761.rendererConfig,
|
||||
var internals$jscomp$inline_2211 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1767.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1767.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1767.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1767.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -17202,26 +17224,26 @@ var internals$jscomp$inline_2205 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1761.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1767.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2206 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2212 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2206.isDisabled &&
|
||||
hook$jscomp$inline_2206.supportsFiber
|
||||
!hook$jscomp$inline_2212.isDisabled &&
|
||||
hook$jscomp$inline_2212.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2206.inject(
|
||||
internals$jscomp$inline_2205
|
||||
(rendererID = hook$jscomp$inline_2212.inject(
|
||||
internals$jscomp$inline_2211
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2206);
|
||||
(injectedHook = hook$jscomp$inline_2212);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17692,4 +17714,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
|
||||
@@ -2940,15 +2940,24 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -6814,6 +6823,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -12495,19 +12507,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$359;
|
||||
var JSCompiler_inline_result$jscomp$360;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1511 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1511) {
|
||||
var element$jscomp$inline_1512 = document.createElement("div");
|
||||
element$jscomp$inline_1512.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1511 =
|
||||
"function" === typeof element$jscomp$inline_1512.oninput;
|
||||
var isSupported$jscomp$inline_1517 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1517) {
|
||||
var element$jscomp$inline_1518 = document.createElement("div");
|
||||
element$jscomp$inline_1518.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1517 =
|
||||
"function" === typeof element$jscomp$inline_1518.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$359 = isSupported$jscomp$inline_1511;
|
||||
} else JSCompiler_inline_result$jscomp$359 = !1;
|
||||
JSCompiler_inline_result$jscomp$360 = isSupported$jscomp$inline_1517;
|
||||
} else JSCompiler_inline_result$jscomp$360 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$359 &&
|
||||
JSCompiler_inline_result$jscomp$360 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -12916,20 +12928,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1552 = 0;
|
||||
i$jscomp$inline_1552 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1552++
|
||||
var i$jscomp$inline_1558 = 0;
|
||||
i$jscomp$inline_1558 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1558++
|
||||
) {
|
||||
var eventName$jscomp$inline_1553 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1552],
|
||||
domEventName$jscomp$inline_1554 =
|
||||
eventName$jscomp$inline_1553.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1555 =
|
||||
eventName$jscomp$inline_1553[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1553.slice(1);
|
||||
var eventName$jscomp$inline_1559 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1558],
|
||||
domEventName$jscomp$inline_1560 =
|
||||
eventName$jscomp$inline_1559.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1561 =
|
||||
eventName$jscomp$inline_1559[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1559.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1554,
|
||||
"on" + capitalizedEvent$jscomp$inline_1555
|
||||
domEventName$jscomp$inline_1560,
|
||||
"on" + capitalizedEvent$jscomp$inline_1561
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -16449,16 +16461,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1725 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1725
|
||||
"19.0.0-www-modern-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1731
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1725,
|
||||
"19.0.0-www-modern-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1731,
|
||||
"19.0.0-www-modern-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16474,17 +16486,17 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1727 = {
|
||||
var devToolsConfig$jscomp$inline_1733 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2196 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1727.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1727.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1727.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1727.rendererConfig,
|
||||
var internals$jscomp$inline_2202 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1733.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1733.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1733.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1733.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -16500,26 +16512,26 @@ var internals$jscomp$inline_2196 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1727.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1733.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2197 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2203 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2197.isDisabled &&
|
||||
hook$jscomp$inline_2197.supportsFiber
|
||||
!hook$jscomp$inline_2203.isDisabled &&
|
||||
hook$jscomp$inline_2203.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2197.inject(
|
||||
internals$jscomp$inline_2196
|
||||
(rendererID = hook$jscomp$inline_2203.inject(
|
||||
internals$jscomp$inline_2202
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2197);
|
||||
(injectedHook = hook$jscomp$inline_2203);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -16881,4 +16893,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
|
||||
@@ -3290,15 +3290,32 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -7526,6 +7543,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -8591,6 +8611,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -13890,19 +13912,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$393;
|
||||
var JSCompiler_inline_result$jscomp$394;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1627 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1627) {
|
||||
var element$jscomp$inline_1628 = document.createElement("div");
|
||||
element$jscomp$inline_1628.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1627 =
|
||||
"function" === typeof element$jscomp$inline_1628.oninput;
|
||||
var isSupported$jscomp$inline_1633 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1633) {
|
||||
var element$jscomp$inline_1634 = document.createElement("div");
|
||||
element$jscomp$inline_1634.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1633 =
|
||||
"function" === typeof element$jscomp$inline_1634.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$393 = isSupported$jscomp$inline_1627;
|
||||
} else JSCompiler_inline_result$jscomp$393 = !1;
|
||||
JSCompiler_inline_result$jscomp$394 = isSupported$jscomp$inline_1633;
|
||||
} else JSCompiler_inline_result$jscomp$394 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$393 &&
|
||||
JSCompiler_inline_result$jscomp$394 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -14311,20 +14333,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1668 = 0;
|
||||
i$jscomp$inline_1668 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1668++
|
||||
var i$jscomp$inline_1674 = 0;
|
||||
i$jscomp$inline_1674 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1674++
|
||||
) {
|
||||
var eventName$jscomp$inline_1669 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1668],
|
||||
domEventName$jscomp$inline_1670 =
|
||||
eventName$jscomp$inline_1669.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1671 =
|
||||
eventName$jscomp$inline_1669[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1669.slice(1);
|
||||
var eventName$jscomp$inline_1675 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1674],
|
||||
domEventName$jscomp$inline_1676 =
|
||||
eventName$jscomp$inline_1675.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1677 =
|
||||
eventName$jscomp$inline_1675[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1675.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1670,
|
||||
"on" + capitalizedEvent$jscomp$inline_1671
|
||||
domEventName$jscomp$inline_1676,
|
||||
"on" + capitalizedEvent$jscomp$inline_1677
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17891,16 +17913,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1841 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1847 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1841
|
||||
"19.0.0-www-classic-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1847
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1841,
|
||||
"19.0.0-www-classic-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1847,
|
||||
"19.0.0-www-classic-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17943,10 +17965,10 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1848 = {
|
||||
var devToolsConfig$jscomp$inline_1854 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
(function (internals) {
|
||||
@@ -17964,10 +17986,10 @@ var devToolsConfig$jscomp$inline_1848 = {
|
||||
} catch (err) {}
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: devToolsConfig$jscomp$inline_1848.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1848.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1848.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1848.rendererConfig,
|
||||
bundleType: devToolsConfig$jscomp$inline_1854.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1854.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1854.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1854.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -17983,14 +18005,14 @@ var devToolsConfig$jscomp$inline_1848 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1848.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1854.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
this._internalRoot = internalRoot;
|
||||
@@ -18460,7 +18482,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -3076,15 +3076,24 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -7045,6 +7054,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -13245,19 +13257,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$380;
|
||||
var JSCompiler_inline_result$jscomp$381;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1598 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1598) {
|
||||
var element$jscomp$inline_1599 = document.createElement("div");
|
||||
element$jscomp$inline_1599.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1598 =
|
||||
"function" === typeof element$jscomp$inline_1599.oninput;
|
||||
var isSupported$jscomp$inline_1604 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1604) {
|
||||
var element$jscomp$inline_1605 = document.createElement("div");
|
||||
element$jscomp$inline_1605.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1604 =
|
||||
"function" === typeof element$jscomp$inline_1605.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$380 = isSupported$jscomp$inline_1598;
|
||||
} else JSCompiler_inline_result$jscomp$380 = !1;
|
||||
JSCompiler_inline_result$jscomp$381 = isSupported$jscomp$inline_1604;
|
||||
} else JSCompiler_inline_result$jscomp$381 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$380 &&
|
||||
JSCompiler_inline_result$jscomp$381 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -13666,20 +13678,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1639 = 0;
|
||||
i$jscomp$inline_1639 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1639++
|
||||
var i$jscomp$inline_1645 = 0;
|
||||
i$jscomp$inline_1645 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1645++
|
||||
) {
|
||||
var eventName$jscomp$inline_1640 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1639],
|
||||
domEventName$jscomp$inline_1641 =
|
||||
eventName$jscomp$inline_1640.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1642 =
|
||||
eventName$jscomp$inline_1640[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1640.slice(1);
|
||||
var eventName$jscomp$inline_1646 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1645],
|
||||
domEventName$jscomp$inline_1647 =
|
||||
eventName$jscomp$inline_1646.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1648 =
|
||||
eventName$jscomp$inline_1646[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1646.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1641,
|
||||
"on" + capitalizedEvent$jscomp$inline_1642
|
||||
domEventName$jscomp$inline_1647,
|
||||
"on" + capitalizedEvent$jscomp$inline_1648
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17199,16 +17211,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1812 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1818 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1812
|
||||
"19.0.0-www-modern-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1818
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1812,
|
||||
"19.0.0-www-modern-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1818,
|
||||
"19.0.0-www-modern-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17224,10 +17236,10 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1814 = {
|
||||
var devToolsConfig$jscomp$inline_1820 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
(function (internals) {
|
||||
@@ -17245,10 +17257,10 @@ var devToolsConfig$jscomp$inline_1814 = {
|
||||
} catch (err) {}
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: devToolsConfig$jscomp$inline_1814.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1814.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1814.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1814.rendererConfig,
|
||||
bundleType: devToolsConfig$jscomp$inline_1820.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1820.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1820.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1820.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -17264,14 +17276,14 @@ var devToolsConfig$jscomp$inline_1814 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1814.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1820.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
this._internalRoot = internalRoot;
|
||||
@@ -17632,7 +17644,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8721,5 +8721,5 @@ __DEV__ &&
|
||||
'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-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
})();
|
||||
|
||||
@@ -8677,5 +8677,5 @@ __DEV__ &&
|
||||
'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-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
})();
|
||||
|
||||
@@ -5719,4 +5719,4 @@ exports.renderToString = function (children, options) {
|
||||
'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-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
|
||||
@@ -5697,4 +5697,4 @@ exports.renderToString = function (children, options) {
|
||||
'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-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
|
||||
@@ -5510,16 +5510,32 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -9069,32 +9085,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2465;
|
||||
var JSCompiler_object_inline_stack_2466 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2470;
|
||||
var JSCompiler_object_inline_stack_2471 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2467 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2472 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2465 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2465 =
|
||||
(JSCompiler_object_inline_digest_2470 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2470 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2465 &&
|
||||
((JSCompiler_object_inline_componentStack_2467 = !0),
|
||||
JSCompiler_object_inline_digest_2470 &&
|
||||
((JSCompiler_object_inline_componentStack_2472 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2465 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2470 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2467
|
||||
JSCompiler_object_inline_componentStack_2472
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2464 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2469 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2464)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2469)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2464;
|
||||
var instance = JSCompiler_object_inline_message_2469;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9135,19 +9151,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2464
|
||||
JSCompiler_object_inline_message_2469
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2464 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2469 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2464 &&
|
||||
((JSCompiler_object_inline_message_2464 =
|
||||
JSCompiler_object_inline_message_2464.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2464)
|
||||
null !== JSCompiler_object_inline_message_2469 &&
|
||||
((JSCompiler_object_inline_message_2469 =
|
||||
JSCompiler_object_inline_message_2469.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2469)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2464.data ===
|
||||
JSCompiler_object_inline_message_2469.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = DefaultHydrationLane)
|
||||
: (workInProgress.lanes = OffscreenLane),
|
||||
@@ -9155,27 +9171,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2464 =
|
||||
JSCompiler_object_inline_stack_2466.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2466.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2467)
|
||||
JSCompiler_object_inline_message_2469 =
|
||||
JSCompiler_object_inline_stack_2471.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2471.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2472)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2466 =
|
||||
(JSCompiler_object_inline_stack_2471 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_message_2469,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2467 =
|
||||
(JSCompiler_object_inline_componentStack_2472 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2467.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2472.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2467.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2472.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9188,9 +9204,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2467.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2472.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2467.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2472.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9198,46 +9214,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2466
|
||||
JSCompiler_object_inline_stack_2471
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2466.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2471.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2466 =
|
||||
(JSCompiler_object_inline_stack_2471 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_message_2469,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2467 =
|
||||
(JSCompiler_object_inline_componentStack_2472 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2467.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2472.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2467.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2472.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2466
|
||||
JSCompiler_object_inline_stack_2471
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2464
|
||||
JSCompiler_object_inline_message_2469
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2464 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2464)
|
||||
((JSCompiler_object_inline_message_2469 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2469)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9254,32 +9270,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2467 =
|
||||
JSCompiler_object_inline_stack_2466.fallback),
|
||||
(JSCompiler_object_inline_message_2464 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2466 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2472 =
|
||||
JSCompiler_object_inline_stack_2471.fallback),
|
||||
(JSCompiler_object_inline_message_2469 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2471 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2466.children
|
||||
children: JSCompiler_object_inline_stack_2471.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_message_2469,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2467 =
|
||||
(JSCompiler_object_inline_componentStack_2472 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2467,
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_componentStack_2472,
|
||||
JSCompiler_object_inline_message_2469,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2467.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2466.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2467.return =
|
||||
(JSCompiler_object_inline_componentStack_2472.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2471.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2472.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2466.sibling =
|
||||
JSCompiler_object_inline_componentStack_2467),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2466),
|
||||
(JSCompiler_object_inline_stack_2471.sibling =
|
||||
JSCompiler_object_inline_componentStack_2472),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2471),
|
||||
(disableLegacyMode || 0 !== (workInProgress.mode & 1)) &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -9287,62 +9303,62 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2466 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2466.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2471 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2471.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2466.childLanes =
|
||||
(JSCompiler_object_inline_stack_2471.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2467));
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2472));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2464.data ===
|
||||
JSCompiler_object_inline_message_2469.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2465 =
|
||||
JSCompiler_object_inline_message_2464.nextSibling &&
|
||||
JSCompiler_object_inline_message_2464.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2465) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2465.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2465.msg;
|
||||
instance = JSCompiler_object_inline_digest_2465.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2465.cstck;
|
||||
JSCompiler_object_inline_digest_2470 =
|
||||
JSCompiler_object_inline_message_2469.nextSibling &&
|
||||
JSCompiler_object_inline_message_2469.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2470) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2470.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2470.msg;
|
||||
instance = JSCompiler_object_inline_digest_2470.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2470.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2464 = message;
|
||||
JSCompiler_object_inline_digest_2465 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2466 = instance;
|
||||
JSCompiler_object_inline_componentStack_2467 = componentStack;
|
||||
JSCompiler_object_inline_message_2464 =
|
||||
JSCompiler_object_inline_message_2464
|
||||
? Error(JSCompiler_object_inline_message_2464)
|
||||
JSCompiler_object_inline_message_2469 = message;
|
||||
JSCompiler_object_inline_digest_2470 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2471 = instance;
|
||||
JSCompiler_object_inline_componentStack_2472 = componentStack;
|
||||
JSCompiler_object_inline_message_2469 =
|
||||
JSCompiler_object_inline_message_2469
|
||||
? Error(JSCompiler_object_inline_message_2469)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2464.stack =
|
||||
JSCompiler_object_inline_stack_2466 || "";
|
||||
JSCompiler_object_inline_message_2464.digest =
|
||||
JSCompiler_object_inline_digest_2465;
|
||||
JSCompiler_object_inline_digest_2465 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2467
|
||||
JSCompiler_object_inline_message_2469.stack =
|
||||
JSCompiler_object_inline_stack_2471 || "";
|
||||
JSCompiler_object_inline_message_2469.digest =
|
||||
JSCompiler_object_inline_digest_2470;
|
||||
JSCompiler_object_inline_digest_2470 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2472
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2467;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2465 &&
|
||||
: JSCompiler_object_inline_componentStack_2472;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2470 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_digest_2465
|
||||
JSCompiler_object_inline_message_2469,
|
||||
JSCompiler_object_inline_digest_2470
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2464,
|
||||
value: JSCompiler_object_inline_message_2469,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2465
|
||||
stack: JSCompiler_object_inline_digest_2470
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9358,29 +9374,29 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2465 =
|
||||
(JSCompiler_object_inline_digest_2470 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2465)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2470)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2465 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2465) {
|
||||
JSCompiler_object_inline_stack_2466 = renderLanes & -renderLanes;
|
||||
JSCompiler_object_inline_digest_2470 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2470) {
|
||||
JSCompiler_object_inline_stack_2471 = renderLanes & -renderLanes;
|
||||
if (
|
||||
enableUnifiedSyncLane &&
|
||||
0 !== (JSCompiler_object_inline_stack_2466 & SyncUpdateLanes)
|
||||
0 !== (JSCompiler_object_inline_stack_2471 & SyncUpdateLanes)
|
||||
)
|
||||
JSCompiler_object_inline_stack_2466 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2471 = SyncHydrationLane;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2466) {
|
||||
switch (JSCompiler_object_inline_stack_2471) {
|
||||
case SyncLane:
|
||||
JSCompiler_object_inline_stack_2466 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2471 = SyncHydrationLane;
|
||||
break;
|
||||
case InputContinuousLane:
|
||||
JSCompiler_object_inline_stack_2466 =
|
||||
JSCompiler_object_inline_stack_2471 =
|
||||
InputContinuousHydrationLane;
|
||||
break;
|
||||
case DefaultLane:
|
||||
JSCompiler_object_inline_stack_2466 = DefaultHydrationLane;
|
||||
JSCompiler_object_inline_stack_2471 = DefaultHydrationLane;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9401,40 +9417,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2466 = TransitionHydrationLane;
|
||||
JSCompiler_object_inline_stack_2471 = TransitionHydrationLane;
|
||||
break;
|
||||
case IdleLane:
|
||||
JSCompiler_object_inline_stack_2466 = IdleHydrationLane;
|
||||
JSCompiler_object_inline_stack_2471 = IdleHydrationLane;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2466 = 0;
|
||||
JSCompiler_object_inline_stack_2471 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2466 =
|
||||
JSCompiler_object_inline_stack_2471 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2466 &
|
||||
(JSCompiler_object_inline_digest_2465.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2471 &
|
||||
(JSCompiler_object_inline_digest_2470.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2466;
|
||||
: JSCompiler_object_inline_stack_2471;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2466 &&
|
||||
JSCompiler_object_inline_stack_2466 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2471 &&
|
||||
JSCompiler_object_inline_stack_2471 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2466),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2471),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2466
|
||||
JSCompiler_object_inline_stack_2471
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2466
|
||||
JSCompiler_object_inline_stack_2471
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2464.data ===
|
||||
JSCompiler_object_inline_message_2469.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9442,7 +9458,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2464.data ===
|
||||
JSCompiler_object_inline_message_2469.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9450,12 +9466,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2464._reactRetry =
|
||||
(JSCompiler_object_inline_message_2469._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2464.nextSibling
|
||||
JSCompiler_object_inline_message_2469.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9473,73 +9489,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2466.children
|
||||
JSCompiler_object_inline_stack_2471.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2467)
|
||||
if (JSCompiler_object_inline_componentStack_2472)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2467 =
|
||||
JSCompiler_object_inline_stack_2466.fallback),
|
||||
(JSCompiler_object_inline_message_2464 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2472 =
|
||||
JSCompiler_object_inline_stack_2471.fallback),
|
||||
(JSCompiler_object_inline_message_2469 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2466.children
|
||||
children: JSCompiler_object_inline_stack_2471.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
0 !== (JSCompiler_object_inline_message_2464 & 1) ||
|
||||
0 !== (JSCompiler_object_inline_message_2469 & 1) ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2466 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2471 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2466.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2471.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2466 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2466.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2466.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2471 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2471.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2471.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & 2 &&
|
||||
((JSCompiler_object_inline_stack_2466.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2466.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2466.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2471.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2471.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2471.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2466.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2471.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2467 =
|
||||
? (JSCompiler_object_inline_componentStack_2472 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2467
|
||||
JSCompiler_object_inline_componentStack_2472
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2467 =
|
||||
: ((JSCompiler_object_inline_componentStack_2472 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2467,
|
||||
JSCompiler_object_inline_message_2464,
|
||||
JSCompiler_object_inline_componentStack_2472,
|
||||
JSCompiler_object_inline_message_2469,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2467.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2467.return =
|
||||
(JSCompiler_object_inline_componentStack_2472.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2472.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2466.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2466.sibling =
|
||||
JSCompiler_object_inline_componentStack_2467),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2466),
|
||||
(JSCompiler_object_inline_stack_2466 =
|
||||
JSCompiler_object_inline_componentStack_2467),
|
||||
(JSCompiler_object_inline_componentStack_2467 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2464 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2464
|
||||
? (JSCompiler_object_inline_message_2464 =
|
||||
(JSCompiler_object_inline_stack_2471.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2471.sibling =
|
||||
JSCompiler_object_inline_componentStack_2472),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2471),
|
||||
(JSCompiler_object_inline_stack_2471 =
|
||||
JSCompiler_object_inline_componentStack_2472),
|
||||
(JSCompiler_object_inline_componentStack_2472 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2469 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2469
|
||||
? (JSCompiler_object_inline_message_2469 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2464.cachePool),
|
||||
JSCompiler_object_inline_message_2469.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9547,73 +9563,73 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2464 = {
|
||||
(JSCompiler_object_inline_message_2469 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2464.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2469.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2467.memoizedState =
|
||||
JSCompiler_object_inline_message_2464),
|
||||
(JSCompiler_object_inline_componentStack_2472.memoizedState =
|
||||
JSCompiler_object_inline_message_2469),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2464 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2469 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2464 &&
|
||||
null !== JSCompiler_object_inline_message_2469 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2467.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2472.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2467.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2464,
|
||||
? (JSCompiler_object_inline_componentStack_2472.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2469,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2467.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2464,
|
||||
? (JSCompiler_object_inline_componentStack_2472.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2469,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack ? componentStack.retryQueue : null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2464),
|
||||
JSCompiler_object_inline_message_2469),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2467.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2472.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2466
|
||||
JSCompiler_object_inline_stack_2471
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2465 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2465.sibling;
|
||||
JSCompiler_object_inline_digest_2465 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2465,
|
||||
JSCompiler_object_inline_digest_2470 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2470.sibling;
|
||||
JSCompiler_object_inline_digest_2470 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2470,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2466.children
|
||||
children: JSCompiler_object_inline_stack_2471.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
0 !== (workInProgress.mode & 1) ||
|
||||
(JSCompiler_object_inline_digest_2465.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2465.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2465.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2470.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2470.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2470.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2465;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2470;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2465;
|
||||
return JSCompiler_object_inline_digest_2470;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -10888,6 +10904,9 @@ __DEV__ &&
|
||||
} else JSCompiler_inline_result$jscomp$4 = null;
|
||||
return JSCompiler_inline_result$jscomp$4;
|
||||
}
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -12094,6 +12113,8 @@ __DEV__ &&
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -27672,11 +27693,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-01a40570c3-20240611" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-270229f0c3-20240611" !== 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-www-classic-01a40570c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-270229f0c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27742,12 +27763,12 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
}) &&
|
||||
canUseDOM &&
|
||||
@@ -28584,5 +28605,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
})();
|
||||
|
||||
@@ -5377,16 +5377,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -8787,32 +8795,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2484;
|
||||
var JSCompiler_object_inline_stack_2485 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2489;
|
||||
var JSCompiler_object_inline_stack_2490 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2486 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2491 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2484 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2484 =
|
||||
(JSCompiler_object_inline_digest_2489 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2489 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2484 &&
|
||||
((JSCompiler_object_inline_componentStack_2486 = !0),
|
||||
JSCompiler_object_inline_digest_2489 &&
|
||||
((JSCompiler_object_inline_componentStack_2491 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2484 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2489 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2486
|
||||
JSCompiler_object_inline_componentStack_2491
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2483 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2488 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2483)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2488)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2483;
|
||||
var instance = JSCompiler_object_inline_message_2488;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8853,19 +8861,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2483
|
||||
JSCompiler_object_inline_message_2488
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2483 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2488 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2483 &&
|
||||
((JSCompiler_object_inline_message_2483 =
|
||||
JSCompiler_object_inline_message_2483.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2483)
|
||||
null !== JSCompiler_object_inline_message_2488 &&
|
||||
((JSCompiler_object_inline_message_2488 =
|
||||
JSCompiler_object_inline_message_2488.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2488)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2483.data ===
|
||||
JSCompiler_object_inline_message_2488.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = DefaultHydrationLane)
|
||||
: (workInProgress.lanes = OffscreenLane),
|
||||
@@ -8873,27 +8881,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2483 =
|
||||
JSCompiler_object_inline_stack_2485.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2485.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2486)
|
||||
JSCompiler_object_inline_message_2488 =
|
||||
JSCompiler_object_inline_stack_2490.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2490.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2491)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2485 =
|
||||
(JSCompiler_object_inline_stack_2490 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2483,
|
||||
JSCompiler_object_inline_message_2488,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2486 =
|
||||
(JSCompiler_object_inline_componentStack_2491 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2486.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2491.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2486.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2491.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2484,
|
||||
JSCompiler_object_inline_digest_2489,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -8906,9 +8914,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2486.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2491.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2486.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2491.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -8916,46 +8924,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2485
|
||||
JSCompiler_object_inline_stack_2490
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2485.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2490.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2485 =
|
||||
(JSCompiler_object_inline_stack_2490 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2483,
|
||||
JSCompiler_object_inline_message_2488,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2486 =
|
||||
(JSCompiler_object_inline_componentStack_2491 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2486.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2491.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2486.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2491.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2484,
|
||||
JSCompiler_object_inline_digest_2489,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2485
|
||||
JSCompiler_object_inline_stack_2490
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2483
|
||||
JSCompiler_object_inline_message_2488
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2483 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2483)
|
||||
((JSCompiler_object_inline_message_2488 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2488)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -8972,93 +8980,93 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2486 =
|
||||
JSCompiler_object_inline_stack_2485.fallback),
|
||||
(JSCompiler_object_inline_message_2483 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2485 =
|
||||
(JSCompiler_object_inline_componentStack_2491 =
|
||||
JSCompiler_object_inline_stack_2490.fallback),
|
||||
(JSCompiler_object_inline_message_2488 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2490 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2485.children
|
||||
children: JSCompiler_object_inline_stack_2490.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2483
|
||||
JSCompiler_object_inline_message_2488
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2486 =
|
||||
(JSCompiler_object_inline_componentStack_2491 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2486,
|
||||
JSCompiler_object_inline_message_2483,
|
||||
JSCompiler_object_inline_componentStack_2491,
|
||||
JSCompiler_object_inline_message_2488,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2486.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2485.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2486.return =
|
||||
(JSCompiler_object_inline_componentStack_2491.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2490.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2491.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2485.sibling =
|
||||
JSCompiler_object_inline_componentStack_2486),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2485),
|
||||
(JSCompiler_object_inline_stack_2490.sibling =
|
||||
JSCompiler_object_inline_componentStack_2491),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2490),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2485 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2485.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2490 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2490.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2485.childLanes =
|
||||
(JSCompiler_object_inline_stack_2490.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2484,
|
||||
JSCompiler_object_inline_digest_2489,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2486));
|
||||
(workInProgress = JSCompiler_object_inline_componentStack_2491));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2483.data ===
|
||||
JSCompiler_object_inline_message_2488.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2484 =
|
||||
JSCompiler_object_inline_message_2483.nextSibling &&
|
||||
JSCompiler_object_inline_message_2483.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2484) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2484.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2484.msg;
|
||||
instance = JSCompiler_object_inline_digest_2484.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2484.cstck;
|
||||
JSCompiler_object_inline_digest_2489 =
|
||||
JSCompiler_object_inline_message_2488.nextSibling &&
|
||||
JSCompiler_object_inline_message_2488.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2489) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2489.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2489.msg;
|
||||
instance = JSCompiler_object_inline_digest_2489.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2489.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2483 = message;
|
||||
JSCompiler_object_inline_digest_2484 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2485 = instance;
|
||||
JSCompiler_object_inline_componentStack_2486 = componentStack;
|
||||
JSCompiler_object_inline_message_2483 =
|
||||
JSCompiler_object_inline_message_2483
|
||||
? Error(JSCompiler_object_inline_message_2483)
|
||||
JSCompiler_object_inline_message_2488 = message;
|
||||
JSCompiler_object_inline_digest_2489 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2490 = instance;
|
||||
JSCompiler_object_inline_componentStack_2491 = componentStack;
|
||||
JSCompiler_object_inline_message_2488 =
|
||||
JSCompiler_object_inline_message_2488
|
||||
? Error(JSCompiler_object_inline_message_2488)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2483.stack =
|
||||
JSCompiler_object_inline_stack_2485 || "";
|
||||
JSCompiler_object_inline_message_2483.digest =
|
||||
JSCompiler_object_inline_digest_2484;
|
||||
JSCompiler_object_inline_digest_2484 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2486
|
||||
JSCompiler_object_inline_message_2488.stack =
|
||||
JSCompiler_object_inline_stack_2490 || "";
|
||||
JSCompiler_object_inline_message_2488.digest =
|
||||
JSCompiler_object_inline_digest_2489;
|
||||
JSCompiler_object_inline_digest_2489 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2491
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2486;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2484 &&
|
||||
: JSCompiler_object_inline_componentStack_2491;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2489 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2483,
|
||||
JSCompiler_object_inline_digest_2484
|
||||
JSCompiler_object_inline_message_2488,
|
||||
JSCompiler_object_inline_digest_2489
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2483,
|
||||
value: JSCompiler_object_inline_message_2488,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2484
|
||||
stack: JSCompiler_object_inline_digest_2489
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9074,29 +9082,29 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2484 =
|
||||
(JSCompiler_object_inline_digest_2489 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2484)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2489)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2484 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2484) {
|
||||
JSCompiler_object_inline_stack_2485 = renderLanes & -renderLanes;
|
||||
JSCompiler_object_inline_digest_2489 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2489) {
|
||||
JSCompiler_object_inline_stack_2490 = renderLanes & -renderLanes;
|
||||
if (
|
||||
enableUnifiedSyncLane &&
|
||||
0 !== (JSCompiler_object_inline_stack_2485 & SyncUpdateLanes)
|
||||
0 !== (JSCompiler_object_inline_stack_2490 & SyncUpdateLanes)
|
||||
)
|
||||
JSCompiler_object_inline_stack_2485 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2490 = SyncHydrationLane;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2485) {
|
||||
switch (JSCompiler_object_inline_stack_2490) {
|
||||
case SyncLane:
|
||||
JSCompiler_object_inline_stack_2485 = SyncHydrationLane;
|
||||
JSCompiler_object_inline_stack_2490 = SyncHydrationLane;
|
||||
break;
|
||||
case InputContinuousLane:
|
||||
JSCompiler_object_inline_stack_2485 =
|
||||
JSCompiler_object_inline_stack_2490 =
|
||||
InputContinuousHydrationLane;
|
||||
break;
|
||||
case DefaultLane:
|
||||
JSCompiler_object_inline_stack_2485 = DefaultHydrationLane;
|
||||
JSCompiler_object_inline_stack_2490 = DefaultHydrationLane;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9117,40 +9125,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2485 = TransitionHydrationLane;
|
||||
JSCompiler_object_inline_stack_2490 = TransitionHydrationLane;
|
||||
break;
|
||||
case IdleLane:
|
||||
JSCompiler_object_inline_stack_2485 = IdleHydrationLane;
|
||||
JSCompiler_object_inline_stack_2490 = IdleHydrationLane;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2485 = 0;
|
||||
JSCompiler_object_inline_stack_2490 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2485 =
|
||||
JSCompiler_object_inline_stack_2490 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2485 &
|
||||
(JSCompiler_object_inline_digest_2484.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2490 &
|
||||
(JSCompiler_object_inline_digest_2489.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2485;
|
||||
: JSCompiler_object_inline_stack_2490;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2485 &&
|
||||
JSCompiler_object_inline_stack_2485 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2490 &&
|
||||
JSCompiler_object_inline_stack_2490 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2485),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2490),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2485
|
||||
JSCompiler_object_inline_stack_2490
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2484,
|
||||
JSCompiler_object_inline_digest_2489,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2485
|
||||
JSCompiler_object_inline_stack_2490
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2483.data ===
|
||||
JSCompiler_object_inline_message_2488.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9158,7 +9166,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2483.data ===
|
||||
JSCompiler_object_inline_message_2488.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9166,12 +9174,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2483._reactRetry =
|
||||
(JSCompiler_object_inline_message_2488._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2483.nextSibling
|
||||
JSCompiler_object_inline_message_2488.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9189,57 +9197,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2485.children
|
||||
JSCompiler_object_inline_stack_2490.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2486)
|
||||
if (JSCompiler_object_inline_componentStack_2491)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2486 =
|
||||
JSCompiler_object_inline_stack_2485.fallback),
|
||||
(JSCompiler_object_inline_message_2483 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2491 =
|
||||
JSCompiler_object_inline_stack_2490.fallback),
|
||||
(JSCompiler_object_inline_message_2488 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2485 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2490 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2485.children
|
||||
children: JSCompiler_object_inline_stack_2490.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2485.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2490.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2486 =
|
||||
? (JSCompiler_object_inline_componentStack_2491 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2486
|
||||
JSCompiler_object_inline_componentStack_2491
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2486 =
|
||||
: ((JSCompiler_object_inline_componentStack_2491 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2486,
|
||||
JSCompiler_object_inline_message_2483,
|
||||
JSCompiler_object_inline_componentStack_2491,
|
||||
JSCompiler_object_inline_message_2488,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2486.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2486.return =
|
||||
(JSCompiler_object_inline_componentStack_2491.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2491.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2485.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2485.sibling =
|
||||
JSCompiler_object_inline_componentStack_2486),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2485),
|
||||
(JSCompiler_object_inline_stack_2485 =
|
||||
JSCompiler_object_inline_componentStack_2486),
|
||||
(JSCompiler_object_inline_componentStack_2486 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2483 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2483
|
||||
? (JSCompiler_object_inline_message_2483 =
|
||||
(JSCompiler_object_inline_stack_2490.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2490.sibling =
|
||||
JSCompiler_object_inline_componentStack_2491),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2490),
|
||||
(JSCompiler_object_inline_stack_2490 =
|
||||
JSCompiler_object_inline_componentStack_2491),
|
||||
(JSCompiler_object_inline_componentStack_2491 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2488 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2488
|
||||
? (JSCompiler_object_inline_message_2488 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2483.cachePool),
|
||||
JSCompiler_object_inline_message_2488.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9247,64 +9255,64 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2483 = {
|
||||
(JSCompiler_object_inline_message_2488 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2483.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2488.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2486.memoizedState =
|
||||
JSCompiler_object_inline_message_2483),
|
||||
(JSCompiler_object_inline_componentStack_2491.memoizedState =
|
||||
JSCompiler_object_inline_message_2488),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2483 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2488 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2483 &&
|
||||
null !== JSCompiler_object_inline_message_2488 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2486.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2491.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2486.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2483,
|
||||
? (JSCompiler_object_inline_componentStack_2491.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2488,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2486.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2483,
|
||||
? (JSCompiler_object_inline_componentStack_2491.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2488,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack ? componentStack.retryQueue : null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2483),
|
||||
JSCompiler_object_inline_message_2488),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2486.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2491.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2484,
|
||||
JSCompiler_object_inline_digest_2489,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2485
|
||||
JSCompiler_object_inline_stack_2490
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2485.children
|
||||
children: JSCompiler_object_inline_stack_2490.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2484 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2484
|
||||
((JSCompiler_object_inline_digest_2489 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2489
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2484.push(current));
|
||||
: JSCompiler_object_inline_digest_2489.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -10536,6 +10544,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -26829,11 +26840,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-01a40570c3-20240611" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-270229f0c3-20240611" !== 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-www-modern-01a40570c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-270229f0c3-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26898,12 +26909,12 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
}) &&
|
||||
canUseDOM &&
|
||||
@@ -27671,5 +27682,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
})();
|
||||
|
||||
@@ -3240,15 +3240,32 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -7364,6 +7381,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -8372,6 +8392,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -13395,19 +13417,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$375;
|
||||
var JSCompiler_inline_result$jscomp$376;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1570 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1570) {
|
||||
var element$jscomp$inline_1571 = document.createElement("div");
|
||||
element$jscomp$inline_1571.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1570 =
|
||||
"function" === typeof element$jscomp$inline_1571.oninput;
|
||||
var isSupported$jscomp$inline_1576 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1576) {
|
||||
var element$jscomp$inline_1577 = document.createElement("div");
|
||||
element$jscomp$inline_1577.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1576 =
|
||||
"function" === typeof element$jscomp$inline_1577.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$375 = isSupported$jscomp$inline_1570;
|
||||
} else JSCompiler_inline_result$jscomp$375 = !1;
|
||||
JSCompiler_inline_result$jscomp$376 = isSupported$jscomp$inline_1576;
|
||||
} else JSCompiler_inline_result$jscomp$376 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$375 &&
|
||||
JSCompiler_inline_result$jscomp$376 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -13816,20 +13838,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1611 = 0;
|
||||
i$jscomp$inline_1611 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1611++
|
||||
var i$jscomp$inline_1617 = 0;
|
||||
i$jscomp$inline_1617 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1617++
|
||||
) {
|
||||
var eventName$jscomp$inline_1612 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1611],
|
||||
domEventName$jscomp$inline_1613 =
|
||||
eventName$jscomp$inline_1612.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1614 =
|
||||
eventName$jscomp$inline_1612[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1612.slice(1);
|
||||
var eventName$jscomp$inline_1618 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1617],
|
||||
domEventName$jscomp$inline_1619 =
|
||||
eventName$jscomp$inline_1618.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1620 =
|
||||
eventName$jscomp$inline_1618[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1618.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1613,
|
||||
"on" + capitalizedEvent$jscomp$inline_1614
|
||||
domEventName$jscomp$inline_1619,
|
||||
"on" + capitalizedEvent$jscomp$inline_1620
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17453,16 +17475,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1784 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1790 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1784
|
||||
"19.0.0-www-classic-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1790
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1784,
|
||||
"19.0.0-www-classic-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1790,
|
||||
"19.0.0-www-classic-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17505,17 +17527,17 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1791 = {
|
||||
var devToolsConfig$jscomp$inline_1797 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2240 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1791.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1791.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1791.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1791.rendererConfig,
|
||||
var internals$jscomp$inline_2246 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1797.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1797.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1797.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1797.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -17531,26 +17553,26 @@ var internals$jscomp$inline_2240 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1791.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1797.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2241 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2247 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2241.isDisabled &&
|
||||
hook$jscomp$inline_2241.supportsFiber
|
||||
!hook$jscomp$inline_2247.isDisabled &&
|
||||
hook$jscomp$inline_2247.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2241.inject(
|
||||
internals$jscomp$inline_2240
|
||||
(rendererID = hook$jscomp$inline_2247.inject(
|
||||
internals$jscomp$inline_2246
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2241);
|
||||
(injectedHook = hook$jscomp$inline_2247);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -18172,4 +18194,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-classic-270229f0c3-20240611";
|
||||
|
||||
@@ -3085,15 +3085,24 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reconcileChildFibers = createChildReconciler(!0),
|
||||
@@ -6959,6 +6968,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -12826,19 +12838,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$362;
|
||||
var JSCompiler_inline_result$jscomp$363;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1541 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1541) {
|
||||
var element$jscomp$inline_1542 = document.createElement("div");
|
||||
element$jscomp$inline_1542.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1541 =
|
||||
"function" === typeof element$jscomp$inline_1542.oninput;
|
||||
var isSupported$jscomp$inline_1547 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1547) {
|
||||
var element$jscomp$inline_1548 = document.createElement("div");
|
||||
element$jscomp$inline_1548.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1547 =
|
||||
"function" === typeof element$jscomp$inline_1548.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$362 = isSupported$jscomp$inline_1541;
|
||||
} else JSCompiler_inline_result$jscomp$362 = !1;
|
||||
JSCompiler_inline_result$jscomp$363 = isSupported$jscomp$inline_1547;
|
||||
} else JSCompiler_inline_result$jscomp$363 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$362 &&
|
||||
JSCompiler_inline_result$jscomp$363 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -13247,20 +13259,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1582 = 0;
|
||||
i$jscomp$inline_1582 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1582++
|
||||
var i$jscomp$inline_1588 = 0;
|
||||
i$jscomp$inline_1588 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1588++
|
||||
) {
|
||||
var eventName$jscomp$inline_1583 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1582],
|
||||
domEventName$jscomp$inline_1584 =
|
||||
eventName$jscomp$inline_1583.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1585 =
|
||||
eventName$jscomp$inline_1583[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1583.slice(1);
|
||||
var eventName$jscomp$inline_1589 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1588],
|
||||
domEventName$jscomp$inline_1590 =
|
||||
eventName$jscomp$inline_1589.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1591 =
|
||||
eventName$jscomp$inline_1589[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1589.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1584,
|
||||
"on" + capitalizedEvent$jscomp$inline_1585
|
||||
domEventName$jscomp$inline_1590,
|
||||
"on" + capitalizedEvent$jscomp$inline_1591
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -16837,16 +16849,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1755 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1761 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-01a40570c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1755
|
||||
"19.0.0-www-modern-270229f0c3-20240611" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1761
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1755,
|
||||
"19.0.0-www-modern-01a40570c3-20240611"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1761,
|
||||
"19.0.0-www-modern-270229f0c3-20240611"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16862,17 +16874,17 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var devToolsConfig$jscomp$inline_1757 = {
|
||||
var devToolsConfig$jscomp$inline_1763 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2231 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1757.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1757.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1757.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1757.rendererConfig,
|
||||
var internals$jscomp$inline_2237 = {
|
||||
bundleType: devToolsConfig$jscomp$inline_1763.bundleType,
|
||||
version: devToolsConfig$jscomp$inline_1763.version,
|
||||
rendererPackageName: devToolsConfig$jscomp$inline_1763.rendererPackageName,
|
||||
rendererConfig: devToolsConfig$jscomp$inline_1763.rendererConfig,
|
||||
overrideHookState: null,
|
||||
overrideHookStateDeletePath: null,
|
||||
overrideHookStateRenamePath: null,
|
||||
@@ -16888,26 +16900,26 @@ var internals$jscomp$inline_2231 = {
|
||||
return null === fiber ? null : fiber.stateNode;
|
||||
},
|
||||
findFiberByHostInstance:
|
||||
devToolsConfig$jscomp$inline_1757.findFiberByHostInstance ||
|
||||
devToolsConfig$jscomp$inline_1763.findFiberByHostInstance ||
|
||||
emptyFindFiberByHostInstance,
|
||||
findHostInstancesForRefresh: null,
|
||||
scheduleRefresh: null,
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2232 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2238 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2232.isDisabled &&
|
||||
hook$jscomp$inline_2232.supportsFiber
|
||||
!hook$jscomp$inline_2238.isDisabled &&
|
||||
hook$jscomp$inline_2238.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2232.inject(
|
||||
internals$jscomp$inline_2231
|
||||
(rendererID = hook$jscomp$inline_2238.inject(
|
||||
internals$jscomp$inline_2237
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2232);
|
||||
(injectedHook = hook$jscomp$inline_2238);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17420,4 +17432,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-01a40570c3-20240611";
|
||||
exports.version = "19.0.0-www-modern-270229f0c3-20240611";
|
||||
|
||||
@@ -3896,16 +3896,32 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -9127,6 +9143,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -10514,6 +10533,8 @@ __DEV__ &&
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -18980,7 +19001,7 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
};
|
||||
exports.isAlreadyRendering = function () {
|
||||
|
||||
@@ -3795,16 +3795,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -8784,6 +8792,9 @@ __DEV__ &&
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -18369,7 +18380,7 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
};
|
||||
exports.isAlreadyRendering = function () {
|
||||
|
||||
@@ -2314,15 +2314,32 @@ module.exports = function ($$$config) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (
|
||||
x === SuspenseException ||
|
||||
(!disableLegacyMode &&
|
||||
0 === (returnFiber.mode & 1) &&
|
||||
"object" === typeof x &&
|
||||
null !== x &&
|
||||
"function" === typeof x.then)
|
||||
)
|
||||
throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -6039,6 +6056,9 @@ module.exports = function ($$$config) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -7228,6 +7248,8 @@ module.exports = function ($$$config) {
|
||||
bubbleProperties(workInProgress)),
|
||||
null
|
||||
);
|
||||
case 29:
|
||||
if (!disableLegacyMode) return null;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -12673,7 +12695,7 @@ module.exports = function ($$$config) {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
|
||||
devToolsConfig = !1;
|
||||
|
||||
@@ -2173,15 +2173,24 @@ module.exports = function ($$$config) {
|
||||
: deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -5670,6 +5679,9 @@ module.exports = function ($$$config) {
|
||||
: (workInProgress = null),
|
||||
workInProgress
|
||||
);
|
||||
break;
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(formatProdErrorMessage(156, workInProgress.tag));
|
||||
}
|
||||
@@ -12174,7 +12186,7 @@ module.exports = function ($$$config) {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
};
|
||||
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
|
||||
devToolsConfig = !1;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1090() {
|
||||
function JSCompiler_object_inline_createNodeMock_1095() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -3379,16 +3379,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -7476,6 +7484,8 @@ __DEV__ &&
|
||||
),
|
||||
workInProgress.child
|
||||
);
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -14710,20 +14720,20 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-classic-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-classic-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: function () {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-01a40570c3-20240611",
|
||||
version: "19.0.0-www-classic-270229f0c3-20240611",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
});
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1090,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1095,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1090() {
|
||||
function JSCompiler_object_inline_createNodeMock_1095() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -3379,16 +3379,24 @@ __DEV__ &&
|
||||
return deleteRemainingChildren(returnFiber, currentFirstChild);
|
||||
}
|
||||
return function (returnFiber, currentFirstChild, newChild, lanes) {
|
||||
thenableIndexCounter$1 = 0;
|
||||
returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return returnFiber;
|
||||
try {
|
||||
thenableIndexCounter$1 = 0;
|
||||
var firstChildFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
newChild,
|
||||
lanes,
|
||||
null
|
||||
);
|
||||
thenableState$1 = null;
|
||||
return firstChildFiber;
|
||||
} catch (x) {
|
||||
if (x === SuspenseException) throw x;
|
||||
currentFirstChild = createFiber(29, x, null, returnFiber.mode);
|
||||
currentFirstChild.lanes = lanes;
|
||||
currentFirstChild.return = returnFiber;
|
||||
return currentFirstChild;
|
||||
}
|
||||
};
|
||||
}
|
||||
function pushHiddenContext(fiber, context) {
|
||||
@@ -7476,6 +7484,8 @@ __DEV__ &&
|
||||
),
|
||||
workInProgress.child
|
||||
);
|
||||
case 29:
|
||||
throw workInProgress.pendingProps;
|
||||
}
|
||||
throw Error(
|
||||
"Unknown unit of work tag (" +
|
||||
@@ -14710,20 +14720,20 @@ __DEV__ &&
|
||||
scheduleRoot: scheduleRoot,
|
||||
setRefreshHandler: setRefreshHandler,
|
||||
getCurrentFiber: getCurrentFiberForDevTools,
|
||||
reconcilerVersion: "19.0.0-www-modern-01a40570c3-20240611"
|
||||
reconcilerVersion: "19.0.0-www-modern-270229f0c3-20240611"
|
||||
});
|
||||
})({
|
||||
findFiberByHostInstance: function () {
|
||||
throw Error("TestRenderer does not support findFiberByHostInstance()");
|
||||
},
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-01a40570c3-20240611",
|
||||
version: "19.0.0-www-modern-270229f0c3-20240611",
|
||||
rendererPackageName: "react-test-renderer"
|
||||
});
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1090,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1095,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1,
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-classic-01a40570c3-20240611
|
||||
19.0.0-www-classic-270229f0c3-20240611
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-modern-01a40570c3-20240611
|
||||
19.0.0-www-modern-270229f0c3-20240611
|
||||
Reference in New Issue
Block a user