mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Mark cascading updates (#31866)
A common source of performance problems is due to cascading renders from
calling `setState` in `useLayoutEffect` or `useEffect`. This marks the
entry from the update to when we start the render as red and `"Cascade"`
to highlight this.
<img width="964" alt="Screenshot 2024-12-19 at 10 54 59 PM"
src="https://github.com/user-attachments/assets/2bfa91e6-1dc1-4b7f-a659-50aaf2a97e83"
/>
In addition to this case, there's another case where you call `setState`
multiple times in the same event causing multiple renders. This might be
due to multiple `flushSync`, or spawned a microtasks from a
`useLayoutEffect`. In theory it could also be from a microtask scheduled
after the first `setState`. This one we can only detect if it's from an
event that has a `window.event` since otherwise it's hard to know if
we're still in the same event.
<img width="1210" alt="Screenshot 2024-12-19 at 11 38 44 PM"
src="https://github.com/user-attachments/assets/ee188bc4-8ebb-4e95-b5a5-4d724856c27d"
/>
I decided against making a ping in a microtask considered a cascade.
Because that should ideally be using the Suspense Optimization and so
wouldn't be considered multi-pass.
<img width="1284" alt="Screenshot 2024-12-19 at 11 07 30 PM"
src="https://github.com/user-attachments/assets/2d173750-a475-41a0-b6cf-679d15c4ca97"
/>
We might consider making the whole render phase and maybe commit phase
red but that should maybe reserved for actual errors. The "Blocked"
phase really represents the `setState` and so will have the stack trace
of the first update.
DiffTrain build for [1e9eb95db5](https://github.com/facebook/react/commit/1e9eb95db5b3a2064ecc26915a4e640b3a9bdaf5)
This commit is contained in:
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2289,11 +2289,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2339,6 +2337,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2477,13 +2478,13 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleCallback$3(ImmediatePriority, cb);
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -16894,10 +16895,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16931,7 +16932,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2181,11 +2181,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2231,6 +2229,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2369,13 +2370,13 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleCallback$3(ImmediatePriority, cb);
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -16657,10 +16658,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16694,7 +16695,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1348,7 +1348,7 @@ function ensureRootIsScheduled(root) {
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInMicrotask));
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask));
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -1395,7 +1395,7 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
function processRootScheduleInImmediateTask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
@@ -10777,24 +10777,24 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1501 = {
|
||||
var internals$jscomp$inline_1507 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1502 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1508 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1502.isDisabled &&
|
||||
hook$jscomp$inline_1502.supportsFiber
|
||||
!hook$jscomp$inline_1508.isDisabled &&
|
||||
hook$jscomp$inline_1508.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1502.inject(
|
||||
internals$jscomp$inline_1501
|
||||
(rendererID = hook$jscomp$inline_1508.inject(
|
||||
internals$jscomp$inline_1507
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1502);
|
||||
(injectedHook = hook$jscomp$inline_1508);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10808,4 +10808,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
|
||||
@@ -1195,7 +1195,7 @@ function ensureRootIsScheduled(root) {
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInMicrotask));
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask));
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -1242,7 +1242,7 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
function processRootScheduleInImmediateTask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
@@ -10493,24 +10493,24 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1480 = {
|
||||
var internals$jscomp$inline_1486 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1481 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1487 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1481.isDisabled &&
|
||||
hook$jscomp$inline_1481.supportsFiber
|
||||
!hook$jscomp$inline_1487.isDisabled &&
|
||||
hook$jscomp$inline_1487.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1481.inject(
|
||||
internals$jscomp$inline_1480
|
||||
(rendererID = hook$jscomp$inline_1487.inject(
|
||||
internals$jscomp$inline_1486
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1481);
|
||||
(injectedHook = hook$jscomp$inline_1487);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10524,4 +10524,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
|
||||
@@ -4078,11 +4078,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -4128,6 +4126,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -4272,16 +4273,19 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -27374,11 +27378,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-fe21c947-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-1e9eb95d-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-fe21c947-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-1e9eb95d-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27421,10 +27425,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28022,7 +28026,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -3965,11 +3965,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -4015,6 +4013,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -4159,16 +4160,19 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -27153,11 +27157,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-fe21c947-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-1e9eb95d-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-fe21c947-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-1e9eb95d-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27200,10 +27204,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27801,7 +27805,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2131,8 +2131,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -2179,6 +2178,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2304,11 +2306,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -17244,14 +17249,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-fe21c947-20250102" !==
|
||||
"19.1.0-www-classic-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770,
|
||||
"19.1.0-www-classic-fe21c947-20250102"
|
||||
"19.1.0-www-classic-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17269,10 +17274,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2307 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2308 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17637,4 +17642,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
|
||||
@@ -1982,8 +1982,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -2030,6 +2029,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2155,11 +2157,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -16975,14 +16980,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1760 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-fe21c947-20250102" !==
|
||||
"19.1.0-www-modern-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760,
|
||||
"19.1.0-www-modern-fe21c947-20250102"
|
||||
"19.1.0-www-modern-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17000,10 +17005,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2289 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2290 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17368,4 +17373,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
|
||||
@@ -2296,8 +2296,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2344,6 +2343,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2472,11 +2474,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
nestedUpdateScheduled = !1;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -17933,14 +17938,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1863 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-fe21c947-20250102" !==
|
||||
"19.1.0-www-classic-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1863
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1863,
|
||||
"19.1.0-www-classic-fe21c947-20250102"
|
||||
"19.1.0-www-classic-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17958,10 +17963,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1865 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1865.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18329,7 +18334,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2147,8 +2147,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2195,6 +2194,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2323,11 +2325,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
nestedUpdateScheduled = !1;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -17663,14 +17668,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1853 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-fe21c947-20250102" !==
|
||||
"19.1.0-www-modern-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1853
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1853,
|
||||
"19.1.0-www-modern-fe21c947-20250102"
|
||||
"19.1.0-www-modern-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17688,10 +17693,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1855 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1855.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18059,7 +18064,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -9150,5 +9150,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.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -8976,5 +8976,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.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -5898,4 +5898,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.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
|
||||
@@ -5810,4 +5810,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.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
|
||||
@@ -4119,11 +4119,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -4169,6 +4167,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -4313,16 +4314,19 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -27708,11 +27712,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-fe21c947-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-1e9eb95d-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-fe21c947-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-1e9eb95d-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27755,10 +27759,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28522,5 +28526,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -4006,11 +4006,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -4056,6 +4054,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -4200,16 +4201,19 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -27487,11 +27491,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-fe21c947-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-1e9eb95d-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-fe21c947-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-1e9eb95d-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27534,10 +27538,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28301,5 +28305,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -2217,8 +2217,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -2265,6 +2264,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2390,11 +2392,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -17573,14 +17578,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-fe21c947-20250102" !==
|
||||
"19.1.0-www-classic-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799,
|
||||
"19.1.0-www-classic-fe21c947-20250102"
|
||||
"19.1.0-www-classic-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17598,10 +17603,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2341 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2342 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -18117,4 +18122,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
|
||||
@@ -2068,8 +2068,7 @@ function ensureRootIsScheduled(root) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -2116,6 +2115,9 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -2241,11 +2243,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
});
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
@@ -17304,14 +17309,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1789 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-fe21c947-20250102" !==
|
||||
"19.1.0-www-modern-1e9eb95d-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1789
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1789,
|
||||
"19.1.0-www-modern-fe21c947-20250102"
|
||||
"19.1.0-www-modern-1e9eb95d-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17329,10 +17334,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2323 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2324 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17848,4 +17853,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
|
||||
@@ -2465,11 +2465,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2515,6 +2513,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2659,19 +2660,25 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
supportsMicrotasks
|
||||
? scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
})
|
||||
: scheduleCallback$3(ImmediatePriority, cb);
|
||||
: scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -19049,7 +19056,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -2371,11 +2371,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
@@ -2421,6 +2419,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2565,19 +2566,25 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
supportsMicrotasks
|
||||
? scheduleMicrotask(function () {
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
})
|
||||
: scheduleCallback$3(ImmediatePriority, cb);
|
||||
: scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -18823,7 +18830,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -1276,8 +1276,7 @@ module.exports = function ($$$config) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -1324,6 +1323,9 @@ module.exports = function ($$$config) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -1452,14 +1454,20 @@ module.exports = function ($$$config) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
supportsMicrotasks
|
||||
? scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
})
|
||||
: scheduleCallback$3(ImmediatePriority, cb);
|
||||
: scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -12805,7 +12813,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
@@ -12823,7 +12831,7 @@ module.exports = function ($$$config) {
|
||||
return internals;
|
||||
};
|
||||
exports.isAlreadyRendering = function () {
|
||||
return !1;
|
||||
return 0 !== (executionContext & 6);
|
||||
};
|
||||
exports.observeVisibleRects = function (
|
||||
hostRoot,
|
||||
|
||||
@@ -1142,8 +1142,7 @@ module.exports = function ($$$config) {
|
||||
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
||||
mightHavePendingSyncWork = !0;
|
||||
didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
@@ -1190,6 +1189,9 @@ module.exports = function ($$$config) {
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
@@ -1318,14 +1320,20 @@ module.exports = function ($$$config) {
|
||||
if (flushPassiveEffects()) return null;
|
||||
performWorkOnRoot(root, lanes, !0);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
supportsMicrotasks
|
||||
? scheduleMicrotask(function () {
|
||||
0 !== (executionContext & 6)
|
||||
? scheduleCallback$3(ImmediatePriority, cb)
|
||||
: cb();
|
||||
? scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
)
|
||||
: processRootScheduleInMicrotask();
|
||||
})
|
||||
: scheduleCallback$3(ImmediatePriority, cb);
|
||||
: scheduleCallback$3(
|
||||
ImmediatePriority,
|
||||
processRootScheduleInImmediateTask
|
||||
);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -12524,7 +12532,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
@@ -12542,7 +12550,7 @@ module.exports = function ($$$config) {
|
||||
return internals;
|
||||
};
|
||||
exports.isAlreadyRendering = function () {
|
||||
return !1;
|
||||
return 0 !== (executionContext & 6);
|
||||
};
|
||||
exports.observeVisibleRects = function (
|
||||
hostRoot,
|
||||
|
||||
@@ -2015,11 +2015,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
@@ -2063,6 +2061,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2197,13 +2198,13 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleCallback$3(ImmediatePriority, cb);
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -14954,10 +14955,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-fe21c947-20250102",
|
||||
version: "19.1.0-www-classic-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15092,5 +15093,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-classic-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -2015,11 +2015,9 @@ __DEV__ &&
|
||||
mightHavePendingSyncWork = !0;
|
||||
null !== ReactSharedInternals.actQueue
|
||||
? didScheduleMicrotask_act ||
|
||||
((didScheduleMicrotask_act = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask))
|
||||
((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
|
||||
: didScheduleMicrotask ||
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
@@ -2063,6 +2061,9 @@ __DEV__ &&
|
||||
isFlushingWork = !1;
|
||||
}
|
||||
}
|
||||
function processRootScheduleInImmediateTask() {
|
||||
processRootScheduleInMicrotask();
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork =
|
||||
didScheduleMicrotask_act =
|
||||
@@ -2197,13 +2198,13 @@ __DEV__ &&
|
||||
null !== callbackNode &&
|
||||
cancelCallback$1(callbackNode);
|
||||
}
|
||||
function scheduleImmediateTask(cb) {
|
||||
function scheduleImmediateRootScheduleTask() {
|
||||
null !== ReactSharedInternals.actQueue &&
|
||||
ReactSharedInternals.actQueue.push(function () {
|
||||
cb();
|
||||
processRootScheduleInMicrotask();
|
||||
return null;
|
||||
});
|
||||
scheduleCallback$3(ImmediatePriority, cb);
|
||||
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
|
||||
}
|
||||
function requestTransitionLane() {
|
||||
0 === currentEventTransitionLane &&
|
||||
@@ -14954,10 +14955,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-fe21c947-20250102",
|
||||
version: "19.1.0-www-modern-1e9eb95d-20250102",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-fe21c947-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-1e9eb95d-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15092,5 +15093,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-fe21c947-20250102";
|
||||
exports.version = "19.1.0-www-modern-1e9eb95d-20250102";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-classic-fe21c947-20250102
|
||||
19.1.0-www-classic-1e9eb95d-20250102
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-modern-fe21c947-20250102
|
||||
19.1.0-www-modern-1e9eb95d-20250102
|
||||
Reference in New Issue
Block a user