mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Upgrade React from 040f8286-20250402 to 33661467-20250407 (#77899)
[diff facebook/[email protected]](https://github.com/facebook/react/compare/040f8286...33661467) <details> <summary>React upstream changes</summary> - https://github.com/facebook/react/pull/32823 - https://github.com/facebook/react/pull/32822 - https://github.com/facebook/react/pull/32825 - https://github.com/facebook/react/pull/32821 - https://github.com/facebook/react/pull/32819 - https://github.com/facebook/react/pull/32816 - https://github.com/facebook/react/pull/32815 - https://github.com/facebook/react/pull/32812 - https://github.com/facebook/react/pull/32762 - https://github.com/facebook/react/pull/32808 - https://github.com/facebook/react/pull/32807 </details>
This commit is contained in:
+15
-15
@@ -227,16 +227,16 @@
|
||||
"pretty-ms": "7.0.0",
|
||||
"random-seed": "0.3.0",
|
||||
"react": "19.0.0",
|
||||
"react-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"react-builtin": "npm:[email protected]33661467-20250407",
|
||||
"react-dom": "19.0.0",
|
||||
"react-dom-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"react-dom-experimental-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"react-experimental-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"react-is-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"react-server-dom-turbopack": "19.2.0-canary-040f8286-20250402",
|
||||
"react-server-dom-turbopack-experimental": "npm:[email protected]040f8286-20250402",
|
||||
"react-server-dom-webpack": "19.2.0-canary-040f8286-20250402",
|
||||
"react-server-dom-webpack-experimental": "npm:[email protected]040f8286-20250402",
|
||||
"react-dom-builtin": "npm:[email protected]33661467-20250407",
|
||||
"react-dom-experimental-builtin": "npm:[email protected]33661467-20250407",
|
||||
"react-experimental-builtin": "npm:[email protected]33661467-20250407",
|
||||
"react-is-builtin": "npm:[email protected]33661467-20250407",
|
||||
"react-server-dom-turbopack": "19.2.0-canary-33661467-20250407",
|
||||
"react-server-dom-turbopack-experimental": "npm:[email protected]33661467-20250407",
|
||||
"react-server-dom-webpack": "19.2.0-canary-33661467-20250407",
|
||||
"react-server-dom-webpack-experimental": "npm:[email protected]33661467-20250407",
|
||||
"react-ssr-prepass": "1.0.8",
|
||||
"react-virtualized": "9.22.3",
|
||||
"relay-compiler": "13.0.2",
|
||||
@@ -246,8 +246,8 @@
|
||||
"resolve-from": "5.0.0",
|
||||
"sass": "1.54.0",
|
||||
"satori": "0.12.2",
|
||||
"scheduler-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"scheduler-experimental-builtin": "npm:[email protected]040f8286-20250402",
|
||||
"scheduler-builtin": "npm:[email protected]33661467-20250407",
|
||||
"scheduler-experimental-builtin": "npm:[email protected]33661467-20250407",
|
||||
"seedrandom": "3.0.5",
|
||||
"semver": "7.3.7",
|
||||
"shell-quote": "1.7.3",
|
||||
@@ -290,10 +290,10 @@
|
||||
"@types/react": "19.0.8",
|
||||
"@types/react-dom": "19.0.3",
|
||||
"jest-snapshot": "30.0.0-alpha.6",
|
||||
"react": "19.2.0-canary-040f8286-20250402",
|
||||
"react-dom": "19.2.0-canary-040f8286-20250402",
|
||||
"react-is": "19.2.0-canary-040f8286-20250402",
|
||||
"scheduler": "0.27.0-canary-040f8286-20250402"
|
||||
"react": "19.2.0-canary-33661467-20250407",
|
||||
"react-dom": "19.2.0-canary-33661467-20250407",
|
||||
"react-is": "19.2.0-canary-33661467-20250407",
|
||||
"scheduler": "0.27.0-canary-33661467-20250407"
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"[email protected]": "patches/[email protected]",
|
||||
|
||||
+865
-455
File diff suppressed because it is too large
Load Diff
+452
-312
File diff suppressed because it is too large
Load Diff
+865
-455
File diff suppressed because it is too large
Load Diff
+780
-419
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -9621,5 +9621,5 @@
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+1
-1
@@ -6351,4 +6351,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.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+1
-1
@@ -9621,5 +9621,5 @@
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+1
-1
@@ -6445,4 +6445,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 "renderToPipeableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+3
-3
@@ -8517,11 +8517,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== 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.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
var React = require("next/dist/compiled/react-experimental"),
|
||||
@@ -10319,5 +10319,5 @@
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+3
-3
@@ -6892,12 +6892,12 @@ function getPostponedState(request) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion,
|
||||
"19.2.0-experimental-040f8286-20250402"
|
||||
"19.2.0-experimental-33661467-20250407"
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -7152,4 +7152,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+3
-3
@@ -6370,13 +6370,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_818 = React.version;
|
||||
if (
|
||||
"19.2.0-experimental-040f8286-20250402" !==
|
||||
"19.2.0-experimental-33661467-20250407" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_818
|
||||
)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion$jscomp$inline_818 +
|
||||
"\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
exports.renderToReadableStream = function (children, options) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
@@ -6467,4 +6467,4 @@ exports.renderToReadableStream = function (children, options) {
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+3
-3
@@ -8540,11 +8540,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== 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.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
var React = require("next/dist/compiled/react-experimental"),
|
||||
@@ -10349,5 +10349,5 @@ const setTimeoutOrImmediate =
|
||||
? globalThis['set' + 'Immediate']
|
||||
: setTimeout;
|
||||
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+3
-3
@@ -7001,11 +7001,11 @@ function getPostponedState(request) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== 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.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
ensureCorrectIsomorphicReactVersion();
|
||||
@@ -7270,4 +7270,4 @@ const setTimeoutOrImmediate =
|
||||
? globalThis['set' + 'Immediate']
|
||||
: setTimeout;
|
||||
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+3
-3
@@ -8404,11 +8404,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== 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.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
function createDrainHandler(destination, request) {
|
||||
@@ -10199,5 +10199,5 @@
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+3
-3
@@ -6880,11 +6880,11 @@ function getPostponedState(request) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-experimental-33661467-20250407" !== 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.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-experimental-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
ensureCorrectIsomorphicReactVersion();
|
||||
@@ -7135,4 +7135,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) {
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+865
-455
File diff suppressed because it is too large
Load Diff
+452
-312
File diff suppressed because it is too large
Load Diff
@@ -416,7 +416,7 @@
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
+1
-1
@@ -336,5 +336,5 @@
|
||||
}))
|
||||
: Internals.d.m(href));
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
+1
-1
@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
|
||||
});
|
||||
} else Internals.d.m(href);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
@@ -72,10 +72,10 @@
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"scheduler": "0.0.0-experimental-040f8286-20250402"
|
||||
"scheduler": "0.0.0-experimental-33661467-20250407"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "0.0.0-experimental-040f8286-20250402"
|
||||
"react": "0.0.0-experimental-33661467-20250407"
|
||||
},
|
||||
"browser": {
|
||||
"./server.js": "./server.browser.js",
|
||||
|
||||
@@ -4879,6 +4879,14 @@
|
||||
profilerEffectDuration += prevEffectDuration;
|
||||
return elapsedTime;
|
||||
}
|
||||
function pushComponentEffectStart() {
|
||||
var prevEffectStart = componentEffectStartTime;
|
||||
componentEffectStartTime = -1.1;
|
||||
return prevEffectStart;
|
||||
}
|
||||
function popComponentEffectStart(prevEffectStart) {
|
||||
0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);
|
||||
}
|
||||
function startProfilerTimer(fiber) {
|
||||
profilerStartTime = now();
|
||||
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
|
||||
@@ -4907,6 +4915,8 @@
|
||||
}
|
||||
function startEffectTimer() {
|
||||
profilerStartTime = now();
|
||||
0 > componentEffectStartTime &&
|
||||
(componentEffectStartTime = profilerStartTime);
|
||||
}
|
||||
function transferActualDuration(fiber) {
|
||||
for (var child = fiber.child; child; )
|
||||
@@ -7801,7 +7811,7 @@
|
||||
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
|
||||
hook
|
||||
);
|
||||
if (0 === (renderLanes & 42))
|
||||
if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824))
|
||||
return (didReceiveUpdate = !0), (hook.memoizedState = value);
|
||||
hook = requestDeferredLane();
|
||||
currentlyRenderingFiber.lanes |= hook;
|
||||
@@ -9569,32 +9579,32 @@
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2436;
|
||||
var JSCompiler_object_inline_stack_2437 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2466;
|
||||
var JSCompiler_object_inline_stack_2467 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2438 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2468 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2436 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2436 =
|
||||
(JSCompiler_object_inline_digest_2466 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2466 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2436 &&
|
||||
((JSCompiler_object_inline_componentStack_2438 = !0),
|
||||
JSCompiler_object_inline_digest_2466 &&
|
||||
((JSCompiler_object_inline_componentStack_2468 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2436 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2466 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2438
|
||||
JSCompiler_object_inline_componentStack_2468
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2435 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2465 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2435)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2465)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2435;
|
||||
var instance = JSCompiler_object_inline_message_2465;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
8 !== instance.nodeType;
|
||||
@@ -9636,77 +9646,77 @@
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2435
|
||||
JSCompiler_object_inline_message_2465
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2435 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2465 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2435 &&
|
||||
((JSCompiler_object_inline_message_2435 =
|
||||
JSCompiler_object_inline_message_2435.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2435)
|
||||
null !== JSCompiler_object_inline_message_2465 &&
|
||||
((JSCompiler_object_inline_message_2465 =
|
||||
JSCompiler_object_inline_message_2465.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2465)
|
||||
)
|
||||
return (
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2435)
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2465)
|
||||
? (workInProgress.lanes = 32)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
null
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2435 =
|
||||
JSCompiler_object_inline_stack_2437.children;
|
||||
JSCompiler_object_inline_stack_2437 =
|
||||
JSCompiler_object_inline_stack_2437.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2438)
|
||||
JSCompiler_object_inline_message_2465 =
|
||||
JSCompiler_object_inline_stack_2467.children;
|
||||
JSCompiler_object_inline_stack_2467 =
|
||||
JSCompiler_object_inline_stack_2467.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2468)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
(JSCompiler_object_inline_componentStack_2468 =
|
||||
workInProgress.mode),
|
||||
(JSCompiler_object_inline_message_2435 =
|
||||
(JSCompiler_object_inline_message_2465 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_message_2435
|
||||
children: JSCompiler_object_inline_message_2465
|
||||
},
|
||||
JSCompiler_object_inline_componentStack_2438
|
||||
JSCompiler_object_inline_componentStack_2468
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2437 = createFiberFromFragment(
|
||||
JSCompiler_object_inline_stack_2437,
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
(JSCompiler_object_inline_stack_2467 = createFiberFromFragment(
|
||||
JSCompiler_object_inline_stack_2467,
|
||||
JSCompiler_object_inline_componentStack_2468,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2435.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2437.return = workInProgress),
|
||||
(JSCompiler_object_inline_message_2435.sibling =
|
||||
JSCompiler_object_inline_stack_2437),
|
||||
(workInProgress.child = JSCompiler_object_inline_message_2435),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
(JSCompiler_object_inline_message_2465.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2467.return = workInProgress),
|
||||
(JSCompiler_object_inline_message_2465.sibling =
|
||||
JSCompiler_object_inline_stack_2467),
|
||||
(workInProgress.child = JSCompiler_object_inline_message_2465),
|
||||
(JSCompiler_object_inline_componentStack_2468 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2438.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2468.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2438.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2468.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
JSCompiler_object_inline_digest_2466,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_stack_2467
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2435
|
||||
JSCompiler_object_inline_message_2465
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2435 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2435)
|
||||
((JSCompiler_object_inline_message_2465 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2465)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9723,94 +9733,94 @@
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_stack_2437.fallback),
|
||||
(JSCompiler_object_inline_message_2435 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
(JSCompiler_object_inline_componentStack_2468 =
|
||||
JSCompiler_object_inline_stack_2467.fallback),
|
||||
(JSCompiler_object_inline_message_2465 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2467 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
children: JSCompiler_object_inline_stack_2467.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2435
|
||||
JSCompiler_object_inline_message_2465
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
(JSCompiler_object_inline_componentStack_2468 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
JSCompiler_object_inline_componentStack_2468,
|
||||
JSCompiler_object_inline_message_2465,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2438.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2437.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2438.return =
|
||||
(JSCompiler_object_inline_componentStack_2468.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2467.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2468.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2437.sibling =
|
||||
JSCompiler_object_inline_componentStack_2438),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2437),
|
||||
(JSCompiler_object_inline_stack_2467.sibling =
|
||||
JSCompiler_object_inline_componentStack_2468),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2467),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2437 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2437.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2467 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2467.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2437.childLanes =
|
||||
(JSCompiler_object_inline_stack_2467.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
JSCompiler_object_inline_digest_2466,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2438));
|
||||
JSCompiler_object_inline_componentStack_2468));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
console.error(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2435))
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2465))
|
||||
) {
|
||||
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_digest_2466 =
|
||||
JSCompiler_object_inline_message_2465.nextSibling &&
|
||||
JSCompiler_object_inline_message_2465.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2466) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2466.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2466.msg;
|
||||
instance = JSCompiler_object_inline_digest_2466.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2466.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2435 = message;
|
||||
JSCompiler_object_inline_digest_2436 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2437 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_message_2465 = message;
|
||||
JSCompiler_object_inline_digest_2466 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2467 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2468 =
|
||||
componentStack;
|
||||
JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_message_2435
|
||||
? Error(JSCompiler_object_inline_message_2435)
|
||||
JSCompiler_object_inline_componentStack_2468 =
|
||||
JSCompiler_object_inline_message_2465
|
||||
? Error(JSCompiler_object_inline_message_2465)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_componentStack_2438.stack =
|
||||
JSCompiler_object_inline_stack_2437 || "";
|
||||
JSCompiler_object_inline_componentStack_2438.digest =
|
||||
JSCompiler_object_inline_digest_2436;
|
||||
JSCompiler_object_inline_digest_2436 =
|
||||
JSCompiler_object_inline_componentStack_2468.stack =
|
||||
JSCompiler_object_inline_stack_2467 || "";
|
||||
JSCompiler_object_inline_componentStack_2468.digest =
|
||||
JSCompiler_object_inline_digest_2466;
|
||||
JSCompiler_object_inline_digest_2466 =
|
||||
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2437 = {
|
||||
value: JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_stack_2467 = {
|
||||
value: JSCompiler_object_inline_componentStack_2468,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2436
|
||||
stack: JSCompiler_object_inline_digest_2466
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2436 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2466 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_componentStack_2468,
|
||||
JSCompiler_object_inline_stack_2467
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2437);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2467);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -9824,44 +9834,44 @@
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2436 =
|
||||
(JSCompiler_object_inline_digest_2466 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2436)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2466)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2436 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2466 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2436 &&
|
||||
((JSCompiler_object_inline_stack_2437 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
0 !== (JSCompiler_object_inline_stack_2437 & 42)
|
||||
null !== JSCompiler_object_inline_digest_2466 &&
|
||||
((JSCompiler_object_inline_stack_2467 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2467 =
|
||||
0 !== (JSCompiler_object_inline_stack_2467 & 42)
|
||||
? 1
|
||||
: getBumpedLaneForHydrationByLane(
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_stack_2467
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2437 =
|
||||
(JSCompiler_object_inline_stack_2467 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2437 &
|
||||
(JSCompiler_object_inline_digest_2436.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2467 &
|
||||
(JSCompiler_object_inline_digest_2466.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2437),
|
||||
0 !== JSCompiler_object_inline_stack_2437 &&
|
||||
JSCompiler_object_inline_stack_2437 !== prevState.retryLane)
|
||||
: JSCompiler_object_inline_stack_2467),
|
||||
0 !== JSCompiler_object_inline_stack_2467 &&
|
||||
JSCompiler_object_inline_stack_2467 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2437),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2467),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_stack_2467
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
JSCompiler_object_inline_digest_2466,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_stack_2467
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
JSCompiler_object_inline_message_2465.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9869,14 +9879,14 @@
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2435.data ===
|
||||
JSCompiler_object_inline_message_2465.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2435.nextSibling
|
||||
JSCompiler_object_inline_message_2465.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9894,57 +9904,57 @@
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2437.children
|
||||
JSCompiler_object_inline_stack_2467.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2438)
|
||||
if (JSCompiler_object_inline_componentStack_2468)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2438 =
|
||||
JSCompiler_object_inline_stack_2437.fallback),
|
||||
(JSCompiler_object_inline_message_2435 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2468 =
|
||||
JSCompiler_object_inline_stack_2467.fallback),
|
||||
(JSCompiler_object_inline_message_2465 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2437 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2467 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
children: JSCompiler_object_inline_stack_2467.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2437.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2467.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 65011712),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2438 =
|
||||
? (JSCompiler_object_inline_componentStack_2468 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2438
|
||||
JSCompiler_object_inline_componentStack_2468
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2438 =
|
||||
: ((JSCompiler_object_inline_componentStack_2468 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2438,
|
||||
JSCompiler_object_inline_message_2435,
|
||||
JSCompiler_object_inline_componentStack_2468,
|
||||
JSCompiler_object_inline_message_2465,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2438.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2438.return =
|
||||
(JSCompiler_object_inline_componentStack_2468.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2468.return =
|
||||
workInProgress),
|
||||
(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 =
|
||||
(JSCompiler_object_inline_stack_2467.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2467.sibling =
|
||||
JSCompiler_object_inline_componentStack_2468),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2467),
|
||||
(JSCompiler_object_inline_stack_2467 =
|
||||
JSCompiler_object_inline_componentStack_2468),
|
||||
(JSCompiler_object_inline_componentStack_2468 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2465 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2465
|
||||
? (JSCompiler_object_inline_message_2465 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2435.cachePool),
|
||||
JSCompiler_object_inline_message_2465.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9952,37 +9962,37 @@
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2435 = {
|
||||
(JSCompiler_object_inline_message_2465 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2435.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2465.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2438.memoizedState =
|
||||
JSCompiler_object_inline_message_2435),
|
||||
(JSCompiler_object_inline_componentStack_2438.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2468.memoizedState =
|
||||
JSCompiler_object_inline_message_2465),
|
||||
(JSCompiler_object_inline_componentStack_2468.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2436,
|
||||
JSCompiler_object_inline_digest_2466,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2437
|
||||
JSCompiler_object_inline_stack_2467
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2437.children
|
||||
children: JSCompiler_object_inline_stack_2467.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2436 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2436
|
||||
((JSCompiler_object_inline_digest_2466 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2466
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2436.push(current));
|
||||
: JSCompiler_object_inline_digest_2466.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -12628,7 +12638,8 @@
|
||||
}
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -12815,6 +12826,7 @@
|
||||
default:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function detachFiberAfterEffects(fiber) {
|
||||
var alternate = fiber.alternate;
|
||||
@@ -12868,6 +12880,7 @@
|
||||
err
|
||||
));
|
||||
}
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (deletedFiber.tag) {
|
||||
case 26:
|
||||
offscreenSubtreeWasHidden ||
|
||||
@@ -13041,6 +13054,7 @@
|
||||
deletedFiber
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
||||
if (
|
||||
@@ -13109,6 +13123,7 @@
|
||||
var root = root$jscomp$0,
|
||||
returnFiber = parentFiber,
|
||||
deletedFiber = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart(),
|
||||
parent = returnFiber;
|
||||
a: for (; null !== parent; ) {
|
||||
switch (parent.tag) {
|
||||
@@ -13138,6 +13153,7 @@
|
||||
commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);
|
||||
hostParent = null;
|
||||
hostParentIsContainer = !1;
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
root = deletedFiber;
|
||||
returnFiber = root.alternate;
|
||||
null !== returnFiber && (returnFiber.return = null);
|
||||
@@ -13149,7 +13165,8 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
var current = finishedWork.alternate,
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
current = finishedWork.alternate,
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
@@ -13587,6 +13604,7 @@
|
||||
recursivelyTraverseMutationEffects(root, finishedWork),
|
||||
commitReconciliationEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitReconciliationEffects(finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -13616,6 +13634,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function disappearLayoutEffects(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13660,6 +13679,7 @@
|
||||
default:
|
||||
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
||||
for (parentFiber = parentFiber.child; null !== parentFiber; )
|
||||
@@ -13672,7 +13692,8 @@
|
||||
finishedWork,
|
||||
includeWorkInProgressEffects
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13790,6 +13811,7 @@
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseReappearLayoutEffects(
|
||||
finishedRoot,
|
||||
@@ -13851,7 +13873,8 @@
|
||||
committedLanes,
|
||||
committedTransitions
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13874,7 +13897,7 @@
|
||||
);
|
||||
break;
|
||||
case 3:
|
||||
var prevEffectDuration = pushNestedEffectDurations();
|
||||
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -13889,8 +13912,9 @@
|
||||
finishedWork !== committedLanes &&
|
||||
(retainCache(finishedWork),
|
||||
null != committedLanes && releaseCache(committedLanes)));
|
||||
finishedRoot.passiveEffectDuration +=
|
||||
popNestedEffectDurations(prevEffectDuration);
|
||||
finishedRoot.passiveEffectDuration += popNestedEffectDurations(
|
||||
prevProfilerEffectDuration
|
||||
);
|
||||
break;
|
||||
case 12:
|
||||
if (flags & 2048) {
|
||||
@@ -13935,10 +13959,11 @@
|
||||
case 23:
|
||||
break;
|
||||
case 22:
|
||||
prevEffectDuration = finishedWork.stateNode;
|
||||
prevProfilerEffectDuration = finishedWork.stateNode;
|
||||
var _current = finishedWork.alternate;
|
||||
null !== finishedWork.memoizedState
|
||||
? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
|
||||
? prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected
|
||||
? recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -13949,14 +13974,15 @@
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
|
||||
: prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected
|
||||
? recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
committedLanes,
|
||||
committedTransitions
|
||||
)
|
||||
: ((prevEffectDuration._visibility |=
|
||||
: ((prevProfilerEffectDuration._visibility |=
|
||||
OffscreenPassiveEffectsConnected),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
@@ -13986,6 +14012,7 @@
|
||||
committedTransitions
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
@@ -14014,7 +14041,8 @@
|
||||
committedTransitions,
|
||||
includeWorkInProgressEffects
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14081,6 +14109,7 @@
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseAtomicPassiveEffects(
|
||||
finishedRoot$jscomp$0,
|
||||
@@ -14187,12 +14216,14 @@
|
||||
if (0 !== (parentFiber.flags & 16)) {
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var childToDelete = deletions[i];
|
||||
var childToDelete = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
nextEffect = childToDelete;
|
||||
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
childToDelete,
|
||||
parentFiber
|
||||
);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
detachAlternateSiblings(parentFiber);
|
||||
}
|
||||
@@ -14202,6 +14233,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function commitPassiveUnmountOnFiber(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14215,23 +14247,24 @@
|
||||
);
|
||||
break;
|
||||
case 3:
|
||||
var prevEffectDuration = pushNestedEffectDurations();
|
||||
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
finishedWork.stateNode.passiveEffectDuration +=
|
||||
popNestedEffectDurations(prevEffectDuration);
|
||||
popNestedEffectDurations(prevProfilerEffectDuration);
|
||||
break;
|
||||
case 12:
|
||||
prevEffectDuration = pushNestedEffectDurations();
|
||||
prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
finishedWork.stateNode.passiveEffectDuration +=
|
||||
bubbleNestedEffectDurations(prevEffectDuration);
|
||||
bubbleNestedEffectDurations(prevProfilerEffectDuration);
|
||||
break;
|
||||
case 22:
|
||||
prevEffectDuration = finishedWork.stateNode;
|
||||
prevProfilerEffectDuration = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState &&
|
||||
prevEffectDuration._visibility & OffscreenPassiveEffectsConnected &&
|
||||
prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected &&
|
||||
(null === finishedWork.return || 13 !== finishedWork.return.tag)
|
||||
? ((prevEffectDuration._visibility &=
|
||||
? ((prevProfilerEffectDuration._visibility &=
|
||||
~OffscreenPassiveEffectsConnected),
|
||||
recursivelyTraverseDisconnectPassiveEffects(finishedWork))
|
||||
: recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
@@ -14239,18 +14272,21 @@
|
||||
default:
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
||||
var deletions = parentFiber.deletions;
|
||||
if (0 !== (parentFiber.flags & 16)) {
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var childToDelete = deletions[i];
|
||||
var childToDelete = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
nextEffect = childToDelete;
|
||||
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
childToDelete,
|
||||
parentFiber
|
||||
);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
detachAlternateSiblings(parentFiber);
|
||||
}
|
||||
@@ -14259,6 +14295,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function disconnectPassiveEffect(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14279,14 +14316,17 @@
|
||||
default:
|
||||
recursivelyTraverseDisconnectPassiveEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
deletedSubtreeRoot,
|
||||
nearestMountedAncestor
|
||||
nearestMountedAncestor$jscomp$0
|
||||
) {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
current = fiber;
|
||||
current = fiber,
|
||||
nearestMountedAncestor = nearestMountedAncestor$jscomp$0,
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
switch (current.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14307,24 +14347,26 @@
|
||||
case 24:
|
||||
releaseCache(current.memoizedState.cache);
|
||||
}
|
||||
current = fiber.child;
|
||||
if (null !== current) (current.return = fiber), (nextEffect = current);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
prevEffectStart = fiber.child;
|
||||
if (null !== prevEffectStart)
|
||||
(prevEffectStart.return = fiber), (nextEffect = prevEffectStart);
|
||||
else
|
||||
a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {
|
||||
current = nextEffect;
|
||||
var sibling = current.sibling,
|
||||
returnFiber = current.return;
|
||||
detachFiberAfterEffects(current);
|
||||
if (current === fiber) {
|
||||
prevEffectStart = nextEffect;
|
||||
current = prevEffectStart.sibling;
|
||||
nearestMountedAncestor = prevEffectStart.return;
|
||||
detachFiberAfterEffects(prevEffectStart);
|
||||
if (prevEffectStart === fiber) {
|
||||
nextEffect = null;
|
||||
break a;
|
||||
}
|
||||
if (null !== sibling) {
|
||||
sibling.return = returnFiber;
|
||||
nextEffect = sibling;
|
||||
if (null !== current) {
|
||||
current.return = nearestMountedAncestor;
|
||||
nextEffect = current;
|
||||
break a;
|
||||
}
|
||||
nextEffect = returnFiber;
|
||||
nextEffect = nearestMountedAncestor;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15073,7 +15115,11 @@
|
||||
case 5:
|
||||
case 27:
|
||||
var hostFiber = workInProgress;
|
||||
if (resource ? preloadResource(resource) : 1) {
|
||||
if (
|
||||
resource
|
||||
? preloadResource(resource)
|
||||
: hostFiber.stateNode.complete
|
||||
) {
|
||||
workInProgressSuspendedReason = NotSuspended;
|
||||
workInProgressThrownValue = null;
|
||||
var sibling = hostFiber.sibling;
|
||||
@@ -15448,6 +15494,7 @@
|
||||
try {
|
||||
inProgressLanes = lanes;
|
||||
inProgressRoot = root;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
inProgressRoot = inProgressLanes = null;
|
||||
lanes = selectionInformation;
|
||||
@@ -15581,6 +15628,7 @@
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
(inProgressLanes = lanes),
|
||||
(inProgressRoot = root),
|
||||
(componentEffectStartTime = -1.1),
|
||||
commitLayoutEffectOnFiber(
|
||||
root,
|
||||
finishedWork.alternate,
|
||||
@@ -15758,10 +15806,14 @@
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
||||
var finishedWork = root$jscomp$0.current;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitPassiveUnmountOnFiber(finishedWork);
|
||||
var finishedWork$jscomp$0 = root$jscomp$0.current;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitPassiveMountOnFiber(
|
||||
root$jscomp$0,
|
||||
root$jscomp$0.current,
|
||||
finishedWork$jscomp$0,
|
||||
lanes,
|
||||
priority
|
||||
);
|
||||
@@ -22629,6 +22681,7 @@
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
componentEffectStartTime = -1.1,
|
||||
currentUpdateIsNested = !1,
|
||||
nestedUpdateScheduled = !1,
|
||||
currentEntangledListeners = null,
|
||||
@@ -24840,11 +24893,11 @@
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -24881,10 +24934,10 @@
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-canary-040f8286-20250402",
|
||||
version: "19.2.0-canary-33661467-20250407",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-canary-040f8286-20250402"
|
||||
reconcilerVersion: "19.2.0-canary-33661467-20250407"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -25028,7 +25081,7 @@
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2016,19 +2016,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
||||
}
|
||||
var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$282;
|
||||
var JSCompiler_inline_result$jscomp$284;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_417 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_417) {
|
||||
var element$jscomp$inline_418 = document.createElement("div");
|
||||
element$jscomp$inline_418.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_417 =
|
||||
"function" === typeof element$jscomp$inline_418.oninput;
|
||||
var isSupported$jscomp$inline_420 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_420) {
|
||||
var element$jscomp$inline_421 = document.createElement("div");
|
||||
element$jscomp$inline_421.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_420 =
|
||||
"function" === typeof element$jscomp$inline_421.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_417;
|
||||
} else JSCompiler_inline_result$jscomp$282 = !1;
|
||||
JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_420;
|
||||
} else JSCompiler_inline_result$jscomp$284 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$282 &&
|
||||
JSCompiler_inline_result$jscomp$284 &&
|
||||
(!document.documentMode || 9 < document.documentMode);
|
||||
}
|
||||
function stopWatchingForValueChange() {
|
||||
@@ -5105,7 +5105,7 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
|
||||
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
|
||||
hook
|
||||
);
|
||||
if (0 === (renderLanes & 42))
|
||||
if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824))
|
||||
return (didReceiveUpdate = !0), (hook.memoizedState = value);
|
||||
hook = requestDeferredLane();
|
||||
currentlyRenderingFiber.lanes |= hook;
|
||||
@@ -7830,7 +7830,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
case 27:
|
||||
popHostContext(workInProgress);
|
||||
renderLanes = rootInstanceStackCursor.current;
|
||||
var type = workInProgress.type;
|
||||
var type$116 = workInProgress.type;
|
||||
if (null !== current && null != workInProgress.stateNode)
|
||||
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
||||
else {
|
||||
@@ -7843,7 +7843,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
current = contextStackCursor.current;
|
||||
popHydrationState(workInProgress)
|
||||
? prepareToHydrateHostInstance(workInProgress, current)
|
||||
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
||||
: ((current = resolveSingletonInstance(
|
||||
type$116,
|
||||
newProps,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.stateNode = current),
|
||||
markUpdate(workInProgress));
|
||||
}
|
||||
@@ -7865,18 +7869,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
if (popHydrationState(workInProgress))
|
||||
prepareToHydrateHostInstance(workInProgress, current);
|
||||
else {
|
||||
type = getOwnerDocumentFromRootContainer(
|
||||
type$116 = getOwnerDocumentFromRootContainer(
|
||||
rootInstanceStackCursor.current
|
||||
);
|
||||
switch (current) {
|
||||
case 1:
|
||||
current = type.createElementNS(
|
||||
current = type$116.createElementNS(
|
||||
"http://www.w3.org/2000/svg",
|
||||
renderLanes
|
||||
);
|
||||
break;
|
||||
case 2:
|
||||
current = type.createElementNS(
|
||||
current = type$116.createElementNS(
|
||||
"http://www.w3.org/1998/Math/MathML",
|
||||
renderLanes
|
||||
);
|
||||
@@ -7884,27 +7888,27 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
default:
|
||||
switch (renderLanes) {
|
||||
case "svg":
|
||||
current = type.createElementNS(
|
||||
current = type$116.createElementNS(
|
||||
"http://www.w3.org/2000/svg",
|
||||
renderLanes
|
||||
);
|
||||
break;
|
||||
case "math":
|
||||
current = type.createElementNS(
|
||||
current = type$116.createElementNS(
|
||||
"http://www.w3.org/1998/Math/MathML",
|
||||
renderLanes
|
||||
);
|
||||
break;
|
||||
case "script":
|
||||
current = type.createElement("div");
|
||||
current = type$116.createElement("div");
|
||||
current.innerHTML = "<script>\x3c/script>";
|
||||
current = current.removeChild(current.firstChild);
|
||||
break;
|
||||
case "select":
|
||||
current =
|
||||
"string" === typeof newProps.is
|
||||
? type.createElement("select", { is: newProps.is })
|
||||
: type.createElement("select");
|
||||
? type$116.createElement("select", { is: newProps.is })
|
||||
: type$116.createElement("select");
|
||||
newProps.multiple
|
||||
? (current.multiple = !0)
|
||||
: newProps.size && (current.size = newProps.size);
|
||||
@@ -7912,28 +7916,35 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
default:
|
||||
current =
|
||||
"string" === typeof newProps.is
|
||||
? type.createElement(renderLanes, { is: newProps.is })
|
||||
: type.createElement(renderLanes);
|
||||
? type$116.createElement(renderLanes, { is: newProps.is })
|
||||
: type$116.createElement(renderLanes);
|
||||
}
|
||||
}
|
||||
current[internalInstanceKey] = workInProgress;
|
||||
current[internalPropsKey] = newProps;
|
||||
a: for (type = workInProgress.child; null !== type; ) {
|
||||
if (5 === type.tag || 6 === type.tag)
|
||||
current.appendChild(type.stateNode);
|
||||
else if (4 !== type.tag && 27 !== type.tag && null !== type.child) {
|
||||
type.child.return = type;
|
||||
type = type.child;
|
||||
a: for (type$116 = workInProgress.child; null !== type$116; ) {
|
||||
if (5 === type$116.tag || 6 === type$116.tag)
|
||||
current.appendChild(type$116.stateNode);
|
||||
else if (
|
||||
4 !== type$116.tag &&
|
||||
27 !== type$116.tag &&
|
||||
null !== type$116.child
|
||||
) {
|
||||
type$116.child.return = type$116;
|
||||
type$116 = type$116.child;
|
||||
continue;
|
||||
}
|
||||
if (type === workInProgress) break a;
|
||||
for (; null === type.sibling; ) {
|
||||
if (null === type.return || type.return === workInProgress)
|
||||
if (type$116 === workInProgress) break a;
|
||||
for (; null === type$116.sibling; ) {
|
||||
if (
|
||||
null === type$116.return ||
|
||||
type$116.return === workInProgress
|
||||
)
|
||||
break a;
|
||||
type = type.return;
|
||||
type$116 = type$116.return;
|
||||
}
|
||||
type.sibling.return = type.return;
|
||||
type = type.sibling;
|
||||
type$116.sibling.return = type$116.return;
|
||||
type$116 = type$116.sibling;
|
||||
}
|
||||
workInProgress.stateNode = current;
|
||||
a: switch (
|
||||
@@ -7968,12 +7979,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
current = workInProgress.stateNode;
|
||||
renderLanes = workInProgress.memoizedProps;
|
||||
newProps = null;
|
||||
type = hydrationParentFiber;
|
||||
if (null !== type)
|
||||
switch (type.tag) {
|
||||
type$116 = hydrationParentFiber;
|
||||
if (null !== type$116)
|
||||
switch (type$116.tag) {
|
||||
case 27:
|
||||
case 5:
|
||||
newProps = type.memoizedProps;
|
||||
newProps = type$116.memoizedProps;
|
||||
}
|
||||
current[internalInstanceKey] = workInProgress;
|
||||
current =
|
||||
@@ -8000,28 +8011,28 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
(null !== current.memoizedState &&
|
||||
null !== current.memoizedState.dehydrated)
|
||||
) {
|
||||
type = popHydrationState(workInProgress);
|
||||
type$116 = popHydrationState(workInProgress);
|
||||
if (null !== newProps && null !== newProps.dehydrated) {
|
||||
if (null === current) {
|
||||
if (!type) throw Error(formatProdErrorMessage(318));
|
||||
type = workInProgress.memoizedState;
|
||||
type = null !== type ? type.dehydrated : null;
|
||||
if (!type) throw Error(formatProdErrorMessage(317));
|
||||
type[internalInstanceKey] = workInProgress;
|
||||
if (!type$116) throw Error(formatProdErrorMessage(318));
|
||||
type$116 = workInProgress.memoizedState;
|
||||
type$116 = null !== type$116 ? type$116.dehydrated : null;
|
||||
if (!type$116) throw Error(formatProdErrorMessage(317));
|
||||
type$116[internalInstanceKey] = workInProgress;
|
||||
} else
|
||||
resetHydrationState(),
|
||||
0 === (workInProgress.flags & 128) &&
|
||||
(workInProgress.memoizedState = null),
|
||||
(workInProgress.flags |= 4);
|
||||
bubbleProperties(workInProgress);
|
||||
type = !1;
|
||||
type$116 = !1;
|
||||
} else
|
||||
(type = upgradeHydrationErrorsToRecoverable()),
|
||||
(type$116 = upgradeHydrationErrorsToRecoverable()),
|
||||
null !== current &&
|
||||
null !== current.memoizedState &&
|
||||
(current.memoizedState.hydrationErrors = type),
|
||||
(type = !0);
|
||||
if (!type) {
|
||||
(current.memoizedState.hydrationErrors = type$116),
|
||||
(type$116 = !0);
|
||||
if (!type$116) {
|
||||
if (workInProgress.flags & 256)
|
||||
return popSuspenseHandler(workInProgress), workInProgress;
|
||||
popSuspenseHandler(workInProgress);
|
||||
@@ -8035,16 +8046,16 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
current = null !== current && null !== current.memoizedState;
|
||||
if (renderLanes) {
|
||||
newProps = workInProgress.child;
|
||||
type = null;
|
||||
type$116 = null;
|
||||
null !== newProps.alternate &&
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(type = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$127 = null;
|
||||
(type$116 = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$128 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$127 = newProps.memoizedState.cachePool.pool);
|
||||
cache$127 !== type && (newProps.flags |= 2048);
|
||||
(cache$128 = newProps.memoizedState.cachePool.pool);
|
||||
cache$128 !== type$116 && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
renderLanes &&
|
||||
@@ -8066,23 +8077,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 19:
|
||||
pop(suspenseStackCursor);
|
||||
type = workInProgress.memoizedState;
|
||||
if (null === type) return bubbleProperties(workInProgress), null;
|
||||
type$116 = workInProgress.memoizedState;
|
||||
if (null === type$116) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$127 = type.rendering;
|
||||
if (null === cache$127)
|
||||
if (newProps) cutOffTailIfNeeded(type, !1);
|
||||
cache$128 = type$116.rendering;
|
||||
if (null === cache$128)
|
||||
if (newProps) cutOffTailIfNeeded(type$116, !1);
|
||||
else {
|
||||
if (
|
||||
0 !== workInProgressRootExitStatus ||
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$127 = findFirstSuspended(current);
|
||||
if (null !== cache$127) {
|
||||
cache$128 = findFirstSuspended(current);
|
||||
if (null !== cache$128) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(type, !1);
|
||||
current = cache$127.updateQueue;
|
||||
cutOffTailIfNeeded(type$116, !1);
|
||||
current = cache$128.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -8098,52 +8109,52 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
current = current.sibling;
|
||||
}
|
||||
null !== type.tail &&
|
||||
null !== type$116.tail &&
|
||||
now() > workInProgressRootRenderTargetTime &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
cutOffTailIfNeeded(type$116, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$127)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$128)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
(current = current.updateQueue),
|
||||
(workInProgress.updateQueue = current),
|
||||
scheduleRetryEffect(workInProgress, current),
|
||||
cutOffTailIfNeeded(type, !0),
|
||||
null === type.tail &&
|
||||
"hidden" === type.tailMode &&
|
||||
!cache$127.alternate &&
|
||||
cutOffTailIfNeeded(type$116, !0),
|
||||
null === type$116.tail &&
|
||||
"hidden" === type$116.tailMode &&
|
||||
!cache$128.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
2 * now() - type.renderingStartTime >
|
||||
2 * now() - type$116.renderingStartTime >
|
||||
workInProgressRootRenderTargetTime &&
|
||||
536870912 !== renderLanes &&
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
cutOffTailIfNeeded(type, !1),
|
||||
cutOffTailIfNeeded(type$116, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
type.isBackwards
|
||||
? ((cache$127.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$127))
|
||||
: ((current = type.last),
|
||||
type$116.isBackwards
|
||||
? ((cache$128.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$128))
|
||||
: ((current = type$116.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$127)
|
||||
: (workInProgress.child = cache$127),
|
||||
(type.last = cache$127));
|
||||
? (current.sibling = cache$128)
|
||||
: (workInProgress.child = cache$128),
|
||||
(type$116.last = cache$128));
|
||||
}
|
||||
if (null !== type.tail)
|
||||
if (null !== type$116.tail)
|
||||
return (
|
||||
(workInProgress = type.tail),
|
||||
(type.rendering = workInProgress),
|
||||
(type.tail = workInProgress.sibling),
|
||||
(type.renderingStartTime = now()),
|
||||
(workInProgress = type$116.tail),
|
||||
(type$116.rendering = workInProgress),
|
||||
(type$116.tail = workInProgress.sibling),
|
||||
(type$116.renderingStartTime = now()),
|
||||
(workInProgress.sibling = null),
|
||||
(current = suspenseStackCursor.current),
|
||||
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
||||
@@ -8422,8 +8433,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$143) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$143);
|
||||
} catch (error$144) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$144);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -8749,11 +8760,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$142) {
|
||||
} catch (error$143) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$142
|
||||
error$143
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -9535,20 +9546,20 @@ function commitReconciliationEffects(finishedWork) {
|
||||
insertOrAppendPlacementNode(finishedWork, before, parent);
|
||||
break;
|
||||
case 5:
|
||||
var parent$144 = hostParentFiber.stateNode;
|
||||
var parent$145 = hostParentFiber.stateNode;
|
||||
hostParentFiber.flags & 32 &&
|
||||
(setTextContent(parent$144, ""), (hostParentFiber.flags &= -33));
|
||||
var before$145 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$145, parent$144);
|
||||
(setTextContent(parent$145, ""), (hostParentFiber.flags &= -33));
|
||||
var before$146 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$146, parent$145);
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$146 = hostParentFiber.stateNode.containerInfo,
|
||||
before$147 = getHostSibling(finishedWork);
|
||||
var parent$147 = hostParentFiber.stateNode.containerInfo,
|
||||
before$148 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$147,
|
||||
parent$146
|
||||
before$148,
|
||||
parent$147
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -10734,8 +10745,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
||||
workLoopSync();
|
||||
exitStatus = workInProgressRootExitStatus;
|
||||
break;
|
||||
} catch (thrownValue$167) {
|
||||
handleThrow(root, thrownValue$167);
|
||||
} catch (thrownValue$168) {
|
||||
handleThrow(root, thrownValue$168);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -10816,7 +10827,11 @@ function renderRootConcurrent(root, lanes) {
|
||||
case 5:
|
||||
case 27:
|
||||
var hostFiber = workInProgress;
|
||||
if (resource ? preloadResource(resource) : 1) {
|
||||
if (
|
||||
resource
|
||||
? preloadResource(resource)
|
||||
: hostFiber.stateNode.complete
|
||||
) {
|
||||
workInProgressSuspendedReason = 0;
|
||||
workInProgressThrownValue = null;
|
||||
var sibling = hostFiber.sibling;
|
||||
@@ -10850,8 +10865,8 @@ function renderRootConcurrent(root, lanes) {
|
||||
}
|
||||
workLoopConcurrentByScheduler();
|
||||
break;
|
||||
} catch (thrownValue$169) {
|
||||
handleThrow(root, thrownValue$169);
|
||||
} catch (thrownValue$170) {
|
||||
handleThrow(root, thrownValue$170);
|
||||
}
|
||||
while (1);
|
||||
lastContextDependency = currentlyRenderingFiber$1 = null;
|
||||
@@ -11486,14 +11501,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root$174 = firstScheduledRoot; null !== root$174; ) {
|
||||
for (var root$175 = firstScheduledRoot; null !== root$175; ) {
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root$174.pendingLanes;
|
||||
var pendingLanes = root$175.pendingLanes;
|
||||
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
||||
else {
|
||||
var suspendedLanes = root$174.suspendedLanes,
|
||||
pingedLanes = root$174.pingedLanes;
|
||||
var suspendedLanes = root$175.suspendedLanes,
|
||||
pingedLanes = root$175.pingedLanes;
|
||||
JSCompiler_inline_result =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
JSCompiler_inline_result &=
|
||||
@@ -11507,20 +11522,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
}
|
||||
0 !== JSCompiler_inline_result &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root$174, JSCompiler_inline_result));
|
||||
performSyncWorkOnRoot(root$175, JSCompiler_inline_result));
|
||||
} else
|
||||
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
||||
(JSCompiler_inline_result = getNextLanes(
|
||||
root$174,
|
||||
root$174 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
||||
null !== root$174.cancelPendingCommit ||
|
||||
-1 !== root$174.timeoutHandle
|
||||
root$175,
|
||||
root$175 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
||||
null !== root$175.cancelPendingCommit ||
|
||||
-1 !== root$175.timeoutHandle
|
||||
)),
|
||||
0 === (JSCompiler_inline_result & 3) ||
|
||||
checkIfRootIsPrerendering(root$174, JSCompiler_inline_result) ||
|
||||
checkIfRootIsPrerendering(root$175, JSCompiler_inline_result) ||
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root$174, JSCompiler_inline_result));
|
||||
root$174 = root$174.next;
|
||||
performSyncWorkOnRoot(root$175, JSCompiler_inline_result));
|
||||
root$175 = root$175.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
isFlushingWork = !1;
|
||||
@@ -11761,20 +11776,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1522 = 0;
|
||||
i$jscomp$inline_1522 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1522++
|
||||
var i$jscomp$inline_1524 = 0;
|
||||
i$jscomp$inline_1524 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1524++
|
||||
) {
|
||||
var eventName$jscomp$inline_1523 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1522],
|
||||
domEventName$jscomp$inline_1524 =
|
||||
eventName$jscomp$inline_1523.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1525 =
|
||||
eventName$jscomp$inline_1523[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1523.slice(1);
|
||||
var eventName$jscomp$inline_1525 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1524],
|
||||
domEventName$jscomp$inline_1526 =
|
||||
eventName$jscomp$inline_1525.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1527 =
|
||||
eventName$jscomp$inline_1525[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1525.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1524,
|
||||
"on" + capitalizedEvent$jscomp$inline_1525
|
||||
domEventName$jscomp$inline_1526,
|
||||
"on" + capitalizedEvent$jscomp$inline_1527
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -12951,34 +12966,34 @@ function setInitialProperties(domElement, tag, props) {
|
||||
defaultChecked = null;
|
||||
for (hasSrc in props)
|
||||
if (props.hasOwnProperty(hasSrc)) {
|
||||
var propValue$188 = props[hasSrc];
|
||||
if (null != propValue$188)
|
||||
var propValue$189 = props[hasSrc];
|
||||
if (null != propValue$189)
|
||||
switch (hasSrc) {
|
||||
case "name":
|
||||
hasSrcSet = propValue$188;
|
||||
hasSrcSet = propValue$189;
|
||||
break;
|
||||
case "type":
|
||||
propValue = propValue$188;
|
||||
propValue = propValue$189;
|
||||
break;
|
||||
case "checked":
|
||||
checked = propValue$188;
|
||||
checked = propValue$189;
|
||||
break;
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue$188;
|
||||
defaultChecked = propValue$189;
|
||||
break;
|
||||
case "value":
|
||||
propKey = propValue$188;
|
||||
propKey = propValue$189;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = propValue$188;
|
||||
defaultValue = propValue$189;
|
||||
break;
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propValue$188)
|
||||
if (null != propValue$189)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
setProp(domElement, tag, hasSrc, propValue$188, props, null);
|
||||
setProp(domElement, tag, hasSrc, propValue$189, props, null);
|
||||
}
|
||||
}
|
||||
initInput(
|
||||
@@ -13117,14 +13132,14 @@ function setInitialProperties(domElement, tag, props) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (propValue$188 in props)
|
||||
props.hasOwnProperty(propValue$188) &&
|
||||
((hasSrc = props[propValue$188]),
|
||||
for (propValue$189 in props)
|
||||
props.hasOwnProperty(propValue$189) &&
|
||||
((hasSrc = props[propValue$189]),
|
||||
void 0 !== hasSrc &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propValue$188,
|
||||
propValue$189,
|
||||
hasSrc,
|
||||
props,
|
||||
void 0
|
||||
@@ -13172,14 +13187,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
||||
}
|
||||
}
|
||||
for (var propKey$205 in nextProps) {
|
||||
var propKey = nextProps[propKey$205];
|
||||
lastProp = lastProps[propKey$205];
|
||||
for (var propKey$206 in nextProps) {
|
||||
var propKey = nextProps[propKey$206];
|
||||
lastProp = lastProps[propKey$206];
|
||||
if (
|
||||
nextProps.hasOwnProperty(propKey$205) &&
|
||||
nextProps.hasOwnProperty(propKey$206) &&
|
||||
(null != propKey || null != lastProp)
|
||||
)
|
||||
switch (propKey$205) {
|
||||
switch (propKey$206) {
|
||||
case "type":
|
||||
type = propKey;
|
||||
break;
|
||||
@@ -13208,7 +13223,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$205,
|
||||
propKey$206,
|
||||
propKey,
|
||||
nextProps,
|
||||
lastProp
|
||||
@@ -13227,7 +13242,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
);
|
||||
return;
|
||||
case "select":
|
||||
propKey = value = defaultValue = propKey$205 = null;
|
||||
propKey = value = defaultValue = propKey$206 = null;
|
||||
for (type in lastProps)
|
||||
if (
|
||||
((lastDefaultValue = lastProps[type]),
|
||||
@@ -13258,7 +13273,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (name) {
|
||||
case "value":
|
||||
propKey$205 = type;
|
||||
propKey$206 = type;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = type;
|
||||
@@ -13279,15 +13294,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
tag = defaultValue;
|
||||
lastProps = value;
|
||||
nextProps = propKey;
|
||||
null != propKey$205
|
||||
? updateOptions(domElement, !!lastProps, propKey$205, !1)
|
||||
null != propKey$206
|
||||
? updateOptions(domElement, !!lastProps, propKey$206, !1)
|
||||
: !!nextProps !== !!lastProps &&
|
||||
(null != tag
|
||||
? updateOptions(domElement, !!lastProps, tag, !0)
|
||||
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
||||
return;
|
||||
case "textarea":
|
||||
propKey = propKey$205 = null;
|
||||
propKey = propKey$206 = null;
|
||||
for (defaultValue in lastProps)
|
||||
if (
|
||||
((name = lastProps[defaultValue]),
|
||||
@@ -13311,7 +13326,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (value) {
|
||||
case "value":
|
||||
propKey$205 = name;
|
||||
propKey$206 = name;
|
||||
break;
|
||||
case "defaultValue":
|
||||
propKey = name;
|
||||
@@ -13325,17 +13340,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
name !== type &&
|
||||
setProp(domElement, tag, value, name, nextProps, type);
|
||||
}
|
||||
updateTextarea(domElement, propKey$205, propKey);
|
||||
updateTextarea(domElement, propKey$206, propKey);
|
||||
return;
|
||||
case "option":
|
||||
for (var propKey$221 in lastProps)
|
||||
for (var propKey$222 in lastProps)
|
||||
if (
|
||||
((propKey$205 = lastProps[propKey$221]),
|
||||
lastProps.hasOwnProperty(propKey$221) &&
|
||||
null != propKey$205 &&
|
||||
!nextProps.hasOwnProperty(propKey$221))
|
||||
((propKey$206 = lastProps[propKey$222]),
|
||||
lastProps.hasOwnProperty(propKey$222) &&
|
||||
null != propKey$206 &&
|
||||
!nextProps.hasOwnProperty(propKey$222))
|
||||
)
|
||||
switch (propKey$221) {
|
||||
switch (propKey$222) {
|
||||
case "selected":
|
||||
domElement.selected = !1;
|
||||
break;
|
||||
@@ -13343,33 +13358,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$221,
|
||||
propKey$222,
|
||||
null,
|
||||
nextProps,
|
||||
propKey$205
|
||||
propKey$206
|
||||
);
|
||||
}
|
||||
for (lastDefaultValue in nextProps)
|
||||
if (
|
||||
((propKey$205 = nextProps[lastDefaultValue]),
|
||||
((propKey$206 = nextProps[lastDefaultValue]),
|
||||
(propKey = lastProps[lastDefaultValue]),
|
||||
nextProps.hasOwnProperty(lastDefaultValue) &&
|
||||
propKey$205 !== propKey &&
|
||||
(null != propKey$205 || null != propKey))
|
||||
propKey$206 !== propKey &&
|
||||
(null != propKey$206 || null != propKey))
|
||||
)
|
||||
switch (lastDefaultValue) {
|
||||
case "selected":
|
||||
domElement.selected =
|
||||
propKey$205 &&
|
||||
"function" !== typeof propKey$205 &&
|
||||
"symbol" !== typeof propKey$205;
|
||||
propKey$206 &&
|
||||
"function" !== typeof propKey$206 &&
|
||||
"symbol" !== typeof propKey$206;
|
||||
break;
|
||||
default:
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
lastDefaultValue,
|
||||
propKey$205,
|
||||
propKey$206,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -13390,24 +13405,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
case "track":
|
||||
case "wbr":
|
||||
case "menuitem":
|
||||
for (var propKey$226 in lastProps)
|
||||
(propKey$205 = lastProps[propKey$226]),
|
||||
lastProps.hasOwnProperty(propKey$226) &&
|
||||
null != propKey$205 &&
|
||||
!nextProps.hasOwnProperty(propKey$226) &&
|
||||
setProp(domElement, tag, propKey$226, null, nextProps, propKey$205);
|
||||
for (var propKey$227 in lastProps)
|
||||
(propKey$206 = lastProps[propKey$227]),
|
||||
lastProps.hasOwnProperty(propKey$227) &&
|
||||
null != propKey$206 &&
|
||||
!nextProps.hasOwnProperty(propKey$227) &&
|
||||
setProp(domElement, tag, propKey$227, null, nextProps, propKey$206);
|
||||
for (checked in nextProps)
|
||||
if (
|
||||
((propKey$205 = nextProps[checked]),
|
||||
((propKey$206 = nextProps[checked]),
|
||||
(propKey = lastProps[checked]),
|
||||
nextProps.hasOwnProperty(checked) &&
|
||||
propKey$205 !== propKey &&
|
||||
(null != propKey$205 || null != propKey))
|
||||
propKey$206 !== propKey &&
|
||||
(null != propKey$206 || null != propKey))
|
||||
)
|
||||
switch (checked) {
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propKey$205)
|
||||
if (null != propKey$206)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
@@ -13415,7 +13430,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
domElement,
|
||||
tag,
|
||||
checked,
|
||||
propKey$205,
|
||||
propKey$206,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -13423,49 +13438,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (var propKey$231 in lastProps)
|
||||
(propKey$205 = lastProps[propKey$231]),
|
||||
lastProps.hasOwnProperty(propKey$231) &&
|
||||
void 0 !== propKey$205 &&
|
||||
!nextProps.hasOwnProperty(propKey$231) &&
|
||||
for (var propKey$232 in lastProps)
|
||||
(propKey$206 = lastProps[propKey$232]),
|
||||
lastProps.hasOwnProperty(propKey$232) &&
|
||||
void 0 !== propKey$206 &&
|
||||
!nextProps.hasOwnProperty(propKey$232) &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$231,
|
||||
propKey$232,
|
||||
void 0,
|
||||
nextProps,
|
||||
propKey$205
|
||||
propKey$206
|
||||
);
|
||||
for (defaultChecked in nextProps)
|
||||
(propKey$205 = nextProps[defaultChecked]),
|
||||
(propKey$206 = nextProps[defaultChecked]),
|
||||
(propKey = lastProps[defaultChecked]),
|
||||
!nextProps.hasOwnProperty(defaultChecked) ||
|
||||
propKey$205 === propKey ||
|
||||
(void 0 === propKey$205 && void 0 === propKey) ||
|
||||
propKey$206 === propKey ||
|
||||
(void 0 === propKey$206 && void 0 === propKey) ||
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
defaultChecked,
|
||||
propKey$205,
|
||||
propKey$206,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var propKey$236 in lastProps)
|
||||
(propKey$205 = lastProps[propKey$236]),
|
||||
lastProps.hasOwnProperty(propKey$236) &&
|
||||
null != propKey$205 &&
|
||||
!nextProps.hasOwnProperty(propKey$236) &&
|
||||
setProp(domElement, tag, propKey$236, null, nextProps, propKey$205);
|
||||
for (var propKey$237 in lastProps)
|
||||
(propKey$206 = lastProps[propKey$237]),
|
||||
lastProps.hasOwnProperty(propKey$237) &&
|
||||
null != propKey$206 &&
|
||||
!nextProps.hasOwnProperty(propKey$237) &&
|
||||
setProp(domElement, tag, propKey$237, null, nextProps, propKey$206);
|
||||
for (lastProp in nextProps)
|
||||
(propKey$205 = nextProps[lastProp]),
|
||||
(propKey$206 = nextProps[lastProp]),
|
||||
(propKey = lastProps[lastProp]),
|
||||
!nextProps.hasOwnProperty(lastProp) ||
|
||||
propKey$205 === propKey ||
|
||||
(null == propKey$205 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$205, nextProps, propKey);
|
||||
propKey$206 === propKey ||
|
||||
(null == propKey$206 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$206, nextProps, propKey);
|
||||
}
|
||||
var eventsEnabled = null,
|
||||
selectionInformation = null;
|
||||
@@ -14074,26 +14089,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
"string" === typeof pendingProps.precedence
|
||||
) {
|
||||
type = getStyleKey(pendingProps.href);
|
||||
var styles$244 = getResourcesFromRoot(
|
||||
var styles$246 = getResourcesFromRoot(
|
||||
JSCompiler_inline_result
|
||||
).hoistableStyles,
|
||||
resource$245 = styles$244.get(type);
|
||||
resource$245 ||
|
||||
resource$247 = styles$246.get(type);
|
||||
resource$247 ||
|
||||
((JSCompiler_inline_result =
|
||||
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
||||
(resource$245 = {
|
||||
(resource$247 = {
|
||||
type: "stylesheet",
|
||||
instance: null,
|
||||
count: 0,
|
||||
state: { loading: 0, preload: null }
|
||||
}),
|
||||
styles$244.set(type, resource$245),
|
||||
(styles$244 = JSCompiler_inline_result.querySelector(
|
||||
styles$246.set(type, resource$247),
|
||||
(styles$246 = JSCompiler_inline_result.querySelector(
|
||||
getStylesheetSelectorFromKey(type)
|
||||
)) &&
|
||||
!styles$244._p &&
|
||||
((resource$245.instance = styles$244),
|
||||
(resource$245.state.loading = 5)),
|
||||
!styles$246._p &&
|
||||
((resource$247.instance = styles$246),
|
||||
(resource$247.state.loading = 5)),
|
||||
preloadPropsMap.has(type) ||
|
||||
((pendingProps = {
|
||||
rel: "preload",
|
||||
@@ -14106,16 +14121,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
referrerPolicy: pendingProps.referrerPolicy
|
||||
}),
|
||||
preloadPropsMap.set(type, pendingProps),
|
||||
styles$244 ||
|
||||
styles$246 ||
|
||||
preloadStylesheet(
|
||||
JSCompiler_inline_result,
|
||||
type,
|
||||
pendingProps,
|
||||
resource$245.state
|
||||
resource$247.state
|
||||
)));
|
||||
if (currentProps && null === currentResource)
|
||||
throw Error(formatProdErrorMessage(528, ""));
|
||||
return resource$245;
|
||||
return resource$247;
|
||||
}
|
||||
if (currentProps && null !== currentResource)
|
||||
throw Error(formatProdErrorMessage(529, ""));
|
||||
@@ -14212,37 +14227,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
return (resource.instance = instance);
|
||||
case "stylesheet":
|
||||
styleProps = getStyleKey(props.href);
|
||||
var instance$250 = hoistableRoot.querySelector(
|
||||
var instance$252 = hoistableRoot.querySelector(
|
||||
getStylesheetSelectorFromKey(styleProps)
|
||||
);
|
||||
if (instance$250)
|
||||
if (instance$252)
|
||||
return (
|
||||
(resource.state.loading |= 4),
|
||||
(resource.instance = instance$250),
|
||||
markNodeAsHoistable(instance$250),
|
||||
instance$250
|
||||
(resource.instance = instance$252),
|
||||
markNodeAsHoistable(instance$252),
|
||||
instance$252
|
||||
);
|
||||
instance = stylesheetPropsFromRawProps(props);
|
||||
(styleProps = preloadPropsMap.get(styleProps)) &&
|
||||
adoptPreloadPropsForStylesheet(instance, styleProps);
|
||||
instance$250 = (
|
||||
instance$252 = (
|
||||
hoistableRoot.ownerDocument || hoistableRoot
|
||||
).createElement("link");
|
||||
markNodeAsHoistable(instance$250);
|
||||
var linkInstance = instance$250;
|
||||
markNodeAsHoistable(instance$252);
|
||||
var linkInstance = instance$252;
|
||||
linkInstance._p = new Promise(function (resolve, reject) {
|
||||
linkInstance.onload = resolve;
|
||||
linkInstance.onerror = reject;
|
||||
});
|
||||
setInitialProperties(instance$250, "link", instance);
|
||||
setInitialProperties(instance$252, "link", instance);
|
||||
resource.state.loading |= 4;
|
||||
insertStylesheet(instance$250, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$250);
|
||||
insertStylesheet(instance$252, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$252);
|
||||
case "script":
|
||||
instance$250 = getScriptKey(props.src);
|
||||
instance$252 = getScriptKey(props.src);
|
||||
if (
|
||||
(styleProps = hoistableRoot.querySelector(
|
||||
getScriptSelectorFromKey(instance$250)
|
||||
getScriptSelectorFromKey(instance$252)
|
||||
))
|
||||
)
|
||||
return (
|
||||
@@ -14251,7 +14266,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
styleProps
|
||||
);
|
||||
instance = props;
|
||||
if ((styleProps = preloadPropsMap.get(instance$250)))
|
||||
if ((styleProps = preloadPropsMap.get(instance$252)))
|
||||
(instance = assign({}, props)),
|
||||
adoptPreloadPropsForScript(instance, styleProps);
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
@@ -15270,16 +15285,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1779 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
|
||||
if (
|
||||
"19.2.0-canary-040f8286-20250402" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1779
|
||||
"19.2.0-canary-33661467-20250407" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1781
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1779,
|
||||
"19.2.0-canary-040f8286-20250402"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1781,
|
||||
"19.2.0-canary-33661467-20250407"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -15299,24 +15314,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2250 = {
|
||||
var internals$jscomp$inline_2255 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-canary-040f8286-20250402",
|
||||
version: "19.2.0-canary-33661467-20250407",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-canary-040f8286-20250402"
|
||||
reconcilerVersion: "19.2.0-canary-33661467-20250407"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2251 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2256 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2251.isDisabled &&
|
||||
hook$jscomp$inline_2251.supportsFiber
|
||||
!hook$jscomp$inline_2256.isDisabled &&
|
||||
hook$jscomp$inline_2256.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2251.inject(
|
||||
internals$jscomp$inline_2250
|
||||
(rendererID = hook$jscomp$inline_2256.inject(
|
||||
internals$jscomp$inline_2255
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2251);
|
||||
(injectedHook = hook$jscomp$inline_2256);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -15408,4 +15423,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -4887,6 +4887,14 @@
|
||||
profilerEffectDuration += prevEffectDuration;
|
||||
return elapsedTime;
|
||||
}
|
||||
function pushComponentEffectStart() {
|
||||
var prevEffectStart = componentEffectStartTime;
|
||||
componentEffectStartTime = -1.1;
|
||||
return prevEffectStart;
|
||||
}
|
||||
function popComponentEffectStart(prevEffectStart) {
|
||||
0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);
|
||||
}
|
||||
function startProfilerTimer(fiber) {
|
||||
profilerStartTime = now();
|
||||
0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
|
||||
@@ -4915,6 +4923,8 @@
|
||||
}
|
||||
function startEffectTimer() {
|
||||
profilerStartTime = now();
|
||||
0 > componentEffectStartTime &&
|
||||
(componentEffectStartTime = profilerStartTime);
|
||||
}
|
||||
function transferActualDuration(fiber) {
|
||||
for (var child = fiber.child; child; )
|
||||
@@ -7809,7 +7819,7 @@
|
||||
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
|
||||
hook
|
||||
);
|
||||
if (0 === (renderLanes & 42))
|
||||
if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824))
|
||||
return (didReceiveUpdate = !0), (hook.memoizedState = value);
|
||||
hook = requestDeferredLane();
|
||||
currentlyRenderingFiber.lanes |= hook;
|
||||
@@ -9577,32 +9587,32 @@
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2441;
|
||||
var JSCompiler_object_inline_stack_2442 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2471;
|
||||
var JSCompiler_object_inline_stack_2472 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2443 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2473 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2441 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2441 =
|
||||
(JSCompiler_object_inline_digest_2471 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2471 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2441 &&
|
||||
((JSCompiler_object_inline_componentStack_2443 = !0),
|
||||
JSCompiler_object_inline_digest_2471 &&
|
||||
((JSCompiler_object_inline_componentStack_2473 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2441 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2471 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2443
|
||||
JSCompiler_object_inline_componentStack_2473
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2440 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2470 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2440)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2470)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2440;
|
||||
var instance = JSCompiler_object_inline_message_2470;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
8 !== instance.nodeType;
|
||||
@@ -9644,77 +9654,77 @@
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2440
|
||||
JSCompiler_object_inline_message_2470
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2440 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2470 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2440 &&
|
||||
((JSCompiler_object_inline_message_2440 =
|
||||
JSCompiler_object_inline_message_2440.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2440)
|
||||
null !== JSCompiler_object_inline_message_2470 &&
|
||||
((JSCompiler_object_inline_message_2470 =
|
||||
JSCompiler_object_inline_message_2470.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2470)
|
||||
)
|
||||
return (
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2440)
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470)
|
||||
? (workInProgress.lanes = 32)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
null
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2440 =
|
||||
JSCompiler_object_inline_stack_2442.children;
|
||||
JSCompiler_object_inline_stack_2442 =
|
||||
JSCompiler_object_inline_stack_2442.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2443)
|
||||
JSCompiler_object_inline_message_2470 =
|
||||
JSCompiler_object_inline_stack_2472.children;
|
||||
JSCompiler_object_inline_stack_2472 =
|
||||
JSCompiler_object_inline_stack_2472.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2473)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
(JSCompiler_object_inline_componentStack_2473 =
|
||||
workInProgress.mode),
|
||||
(JSCompiler_object_inline_message_2440 =
|
||||
(JSCompiler_object_inline_message_2470 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_message_2440
|
||||
children: JSCompiler_object_inline_message_2470
|
||||
},
|
||||
JSCompiler_object_inline_componentStack_2443
|
||||
JSCompiler_object_inline_componentStack_2473
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2442 = createFiberFromFragment(
|
||||
JSCompiler_object_inline_stack_2442,
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
(JSCompiler_object_inline_stack_2472 = createFiberFromFragment(
|
||||
JSCompiler_object_inline_stack_2472,
|
||||
JSCompiler_object_inline_componentStack_2473,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2440.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2442.return = workInProgress),
|
||||
(JSCompiler_object_inline_message_2440.sibling =
|
||||
JSCompiler_object_inline_stack_2442),
|
||||
(workInProgress.child = JSCompiler_object_inline_message_2440),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
(JSCompiler_object_inline_message_2470.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
||||
(JSCompiler_object_inline_message_2470.sibling =
|
||||
JSCompiler_object_inline_stack_2472),
|
||||
(workInProgress.child = JSCompiler_object_inline_message_2470),
|
||||
(JSCompiler_object_inline_componentStack_2473 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2443.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2473.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2443.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2473.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
JSCompiler_object_inline_digest_2471,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_stack_2472
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2440
|
||||
JSCompiler_object_inline_message_2470
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2440 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2440)
|
||||
((JSCompiler_object_inline_message_2470 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2470)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9731,94 +9741,94 @@
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_stack_2442.fallback),
|
||||
(JSCompiler_object_inline_message_2440 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
(JSCompiler_object_inline_componentStack_2473 =
|
||||
JSCompiler_object_inline_stack_2472.fallback),
|
||||
(JSCompiler_object_inline_message_2470 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2472 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
children: JSCompiler_object_inline_stack_2472.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2440
|
||||
JSCompiler_object_inline_message_2470
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
(JSCompiler_object_inline_componentStack_2473 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
JSCompiler_object_inline_componentStack_2473,
|
||||
JSCompiler_object_inline_message_2470,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2443.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2442.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2443.return =
|
||||
(JSCompiler_object_inline_componentStack_2473.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2473.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2442.sibling =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2442),
|
||||
(JSCompiler_object_inline_stack_2472.sibling =
|
||||
JSCompiler_object_inline_componentStack_2473),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2472),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2442 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2442.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2472 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2472.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2442.childLanes =
|
||||
(JSCompiler_object_inline_stack_2472.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
JSCompiler_object_inline_digest_2471,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2443));
|
||||
JSCompiler_object_inline_componentStack_2473));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
console.error(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2440))
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2441 =
|
||||
JSCompiler_object_inline_message_2440.nextSibling &&
|
||||
JSCompiler_object_inline_message_2440.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2441) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2441.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2441.msg;
|
||||
instance = JSCompiler_object_inline_digest_2441.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2441.cstck;
|
||||
JSCompiler_object_inline_digest_2471 =
|
||||
JSCompiler_object_inline_message_2470.nextSibling &&
|
||||
JSCompiler_object_inline_message_2470.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2471) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2471.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2471.msg;
|
||||
instance = JSCompiler_object_inline_digest_2471.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2471.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2440 = message;
|
||||
JSCompiler_object_inline_digest_2441 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2442 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_message_2470 = message;
|
||||
JSCompiler_object_inline_digest_2471 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2472 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2473 =
|
||||
componentStack;
|
||||
JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_message_2440
|
||||
? Error(JSCompiler_object_inline_message_2440)
|
||||
JSCompiler_object_inline_componentStack_2473 =
|
||||
JSCompiler_object_inline_message_2470
|
||||
? Error(JSCompiler_object_inline_message_2470)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_componentStack_2443.stack =
|
||||
JSCompiler_object_inline_stack_2442 || "";
|
||||
JSCompiler_object_inline_componentStack_2443.digest =
|
||||
JSCompiler_object_inline_digest_2441;
|
||||
JSCompiler_object_inline_digest_2441 =
|
||||
JSCompiler_object_inline_componentStack_2473.stack =
|
||||
JSCompiler_object_inline_stack_2472 || "";
|
||||
JSCompiler_object_inline_componentStack_2473.digest =
|
||||
JSCompiler_object_inline_digest_2471;
|
||||
JSCompiler_object_inline_digest_2471 =
|
||||
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2442 = {
|
||||
value: JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_stack_2472 = {
|
||||
value: JSCompiler_object_inline_componentStack_2473,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2441
|
||||
stack: JSCompiler_object_inline_digest_2471
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2441 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2471 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_componentStack_2473,
|
||||
JSCompiler_object_inline_stack_2472
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2442);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2472);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -9832,44 +9842,44 @@
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2441 =
|
||||
(JSCompiler_object_inline_digest_2471 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2441)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2471)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2441 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2471 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2441 &&
|
||||
((JSCompiler_object_inline_stack_2442 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
0 !== (JSCompiler_object_inline_stack_2442 & 42)
|
||||
null !== JSCompiler_object_inline_digest_2471 &&
|
||||
((JSCompiler_object_inline_stack_2472 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2472 =
|
||||
0 !== (JSCompiler_object_inline_stack_2472 & 42)
|
||||
? 1
|
||||
: getBumpedLaneForHydrationByLane(
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_stack_2472
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
(JSCompiler_object_inline_stack_2472 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2442 &
|
||||
(JSCompiler_object_inline_digest_2441.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2472 &
|
||||
(JSCompiler_object_inline_digest_2471.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2442),
|
||||
0 !== JSCompiler_object_inline_stack_2442 &&
|
||||
JSCompiler_object_inline_stack_2442 !== prevState.retryLane)
|
||||
: JSCompiler_object_inline_stack_2472),
|
||||
0 !== JSCompiler_object_inline_stack_2472 &&
|
||||
JSCompiler_object_inline_stack_2472 !== prevState.retryLane)
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2442),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2472),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_stack_2472
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
JSCompiler_object_inline_digest_2471,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_stack_2472
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
JSCompiler_object_inline_message_2470.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9877,14 +9887,14 @@
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
JSCompiler_object_inline_message_2470.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2440.nextSibling
|
||||
JSCompiler_object_inline_message_2470.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9902,57 +9912,57 @@
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2442.children
|
||||
JSCompiler_object_inline_stack_2472.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2443)
|
||||
if (JSCompiler_object_inline_componentStack_2473)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_stack_2442.fallback),
|
||||
(JSCompiler_object_inline_message_2440 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2473 =
|
||||
JSCompiler_object_inline_stack_2472.fallback),
|
||||
(JSCompiler_object_inline_message_2470 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2442 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2472 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
children: JSCompiler_object_inline_stack_2472.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2442.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2472.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 65011712),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2443 =
|
||||
? (JSCompiler_object_inline_componentStack_2473 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2443
|
||||
JSCompiler_object_inline_componentStack_2473
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2443 =
|
||||
: ((JSCompiler_object_inline_componentStack_2473 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
JSCompiler_object_inline_componentStack_2473,
|
||||
JSCompiler_object_inline_message_2470,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2443.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2443.return =
|
||||
(JSCompiler_object_inline_componentStack_2473.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2473.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2442.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2442.sibling =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2442),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(JSCompiler_object_inline_componentStack_2443 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2440 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2440
|
||||
? (JSCompiler_object_inline_message_2440 =
|
||||
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2472.sibling =
|
||||
JSCompiler_object_inline_componentStack_2473),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2472),
|
||||
(JSCompiler_object_inline_stack_2472 =
|
||||
JSCompiler_object_inline_componentStack_2473),
|
||||
(JSCompiler_object_inline_componentStack_2473 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2470 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2470
|
||||
? (JSCompiler_object_inline_message_2470 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2440.cachePool),
|
||||
JSCompiler_object_inline_message_2470.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9960,37 +9970,37 @@
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2440 = {
|
||||
(JSCompiler_object_inline_message_2470 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2440.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2470.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2443.memoizedState =
|
||||
JSCompiler_object_inline_message_2440),
|
||||
(JSCompiler_object_inline_componentStack_2443.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2473.memoizedState =
|
||||
JSCompiler_object_inline_message_2470),
|
||||
(JSCompiler_object_inline_componentStack_2473.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
JSCompiler_object_inline_digest_2471,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2442
|
||||
JSCompiler_object_inline_stack_2472
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
children: JSCompiler_object_inline_stack_2472.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2441 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2441
|
||||
((JSCompiler_object_inline_digest_2471 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2471
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2441.push(current));
|
||||
: JSCompiler_object_inline_digest_2471.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -12636,7 +12646,8 @@
|
||||
}
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -12823,6 +12834,7 @@
|
||||
default:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function detachFiberAfterEffects(fiber) {
|
||||
var alternate = fiber.alternate;
|
||||
@@ -12876,6 +12888,7 @@
|
||||
err
|
||||
));
|
||||
}
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (deletedFiber.tag) {
|
||||
case 26:
|
||||
offscreenSubtreeWasHidden ||
|
||||
@@ -13049,6 +13062,7 @@
|
||||
deletedFiber
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
||||
if (
|
||||
@@ -13117,6 +13131,7 @@
|
||||
var root = root$jscomp$0,
|
||||
returnFiber = parentFiber,
|
||||
deletedFiber = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart(),
|
||||
parent = returnFiber;
|
||||
a: for (; null !== parent; ) {
|
||||
switch (parent.tag) {
|
||||
@@ -13146,6 +13161,7 @@
|
||||
commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);
|
||||
hostParent = null;
|
||||
hostParentIsContainer = !1;
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
root = deletedFiber;
|
||||
returnFiber = root.alternate;
|
||||
null !== returnFiber && (returnFiber.return = null);
|
||||
@@ -13157,7 +13173,8 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
var current = finishedWork.alternate,
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
current = finishedWork.alternate,
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
@@ -13595,6 +13612,7 @@
|
||||
recursivelyTraverseMutationEffects(root, finishedWork),
|
||||
commitReconciliationEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitReconciliationEffects(finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -13624,6 +13642,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function disappearLayoutEffects(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13668,6 +13687,7 @@
|
||||
default:
|
||||
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
||||
for (parentFiber = parentFiber.child; null !== parentFiber; )
|
||||
@@ -13680,7 +13700,8 @@
|
||||
finishedWork,
|
||||
includeWorkInProgressEffects
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13798,6 +13819,7 @@
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseReappearLayoutEffects(
|
||||
finishedRoot,
|
||||
@@ -13859,7 +13881,8 @@
|
||||
committedLanes,
|
||||
committedTransitions
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -13882,7 +13905,7 @@
|
||||
);
|
||||
break;
|
||||
case 3:
|
||||
var prevEffectDuration = pushNestedEffectDurations();
|
||||
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -13897,8 +13920,9 @@
|
||||
finishedWork !== committedLanes &&
|
||||
(retainCache(finishedWork),
|
||||
null != committedLanes && releaseCache(committedLanes)));
|
||||
finishedRoot.passiveEffectDuration +=
|
||||
popNestedEffectDurations(prevEffectDuration);
|
||||
finishedRoot.passiveEffectDuration += popNestedEffectDurations(
|
||||
prevProfilerEffectDuration
|
||||
);
|
||||
break;
|
||||
case 12:
|
||||
if (flags & 2048) {
|
||||
@@ -13943,10 +13967,11 @@
|
||||
case 23:
|
||||
break;
|
||||
case 22:
|
||||
prevEffectDuration = finishedWork.stateNode;
|
||||
prevProfilerEffectDuration = finishedWork.stateNode;
|
||||
var _current = finishedWork.alternate;
|
||||
null !== finishedWork.memoizedState
|
||||
? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
|
||||
? prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected
|
||||
? recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -13957,14 +13982,15 @@
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
|
||||
: prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected
|
||||
? recursivelyTraversePassiveMountEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
committedLanes,
|
||||
committedTransitions
|
||||
)
|
||||
: ((prevEffectDuration._visibility |=
|
||||
: ((prevProfilerEffectDuration._visibility |=
|
||||
OffscreenPassiveEffectsConnected),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
@@ -13994,6 +14020,7 @@
|
||||
committedTransitions
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
@@ -14022,7 +14049,8 @@
|
||||
committedTransitions,
|
||||
includeWorkInProgressEffects
|
||||
) {
|
||||
var flags = finishedWork.flags;
|
||||
var prevEffectStart = pushComponentEffectStart(),
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14089,6 +14117,7 @@
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseAtomicPassiveEffects(
|
||||
finishedRoot$jscomp$0,
|
||||
@@ -14195,12 +14224,14 @@
|
||||
if (0 !== (parentFiber.flags & 16)) {
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var childToDelete = deletions[i];
|
||||
var childToDelete = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
nextEffect = childToDelete;
|
||||
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
childToDelete,
|
||||
parentFiber
|
||||
);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
detachAlternateSiblings(parentFiber);
|
||||
}
|
||||
@@ -14210,6 +14241,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function commitPassiveUnmountOnFiber(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14223,23 +14255,24 @@
|
||||
);
|
||||
break;
|
||||
case 3:
|
||||
var prevEffectDuration = pushNestedEffectDurations();
|
||||
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
finishedWork.stateNode.passiveEffectDuration +=
|
||||
popNestedEffectDurations(prevEffectDuration);
|
||||
popNestedEffectDurations(prevProfilerEffectDuration);
|
||||
break;
|
||||
case 12:
|
||||
prevEffectDuration = pushNestedEffectDurations();
|
||||
prevProfilerEffectDuration = pushNestedEffectDurations();
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
finishedWork.stateNode.passiveEffectDuration +=
|
||||
bubbleNestedEffectDurations(prevEffectDuration);
|
||||
bubbleNestedEffectDurations(prevProfilerEffectDuration);
|
||||
break;
|
||||
case 22:
|
||||
prevEffectDuration = finishedWork.stateNode;
|
||||
prevProfilerEffectDuration = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState &&
|
||||
prevEffectDuration._visibility & OffscreenPassiveEffectsConnected &&
|
||||
prevProfilerEffectDuration._visibility &
|
||||
OffscreenPassiveEffectsConnected &&
|
||||
(null === finishedWork.return || 13 !== finishedWork.return.tag)
|
||||
? ((prevEffectDuration._visibility &=
|
||||
? ((prevProfilerEffectDuration._visibility &=
|
||||
~OffscreenPassiveEffectsConnected),
|
||||
recursivelyTraverseDisconnectPassiveEffects(finishedWork))
|
||||
: recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
@@ -14247,18 +14280,21 @@
|
||||
default:
|
||||
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
||||
var deletions = parentFiber.deletions;
|
||||
if (0 !== (parentFiber.flags & 16)) {
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var childToDelete = deletions[i];
|
||||
var childToDelete = deletions[i],
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
nextEffect = childToDelete;
|
||||
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
childToDelete,
|
||||
parentFiber
|
||||
);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
detachAlternateSiblings(parentFiber);
|
||||
}
|
||||
@@ -14267,6 +14303,7 @@
|
||||
(parentFiber = parentFiber.sibling);
|
||||
}
|
||||
function disconnectPassiveEffect(finishedWork) {
|
||||
var prevEffectStart = pushComponentEffectStart();
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14287,14 +14324,17 @@
|
||||
default:
|
||||
recursivelyTraverseDisconnectPassiveEffects(finishedWork);
|
||||
}
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
}
|
||||
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
||||
deletedSubtreeRoot,
|
||||
nearestMountedAncestor
|
||||
nearestMountedAncestor$jscomp$0
|
||||
) {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
current = fiber;
|
||||
current = fiber,
|
||||
nearestMountedAncestor = nearestMountedAncestor$jscomp$0,
|
||||
prevEffectStart = pushComponentEffectStart();
|
||||
switch (current.tag) {
|
||||
case 0:
|
||||
case 11:
|
||||
@@ -14315,24 +14355,26 @@
|
||||
case 24:
|
||||
releaseCache(current.memoizedState.cache);
|
||||
}
|
||||
current = fiber.child;
|
||||
if (null !== current) (current.return = fiber), (nextEffect = current);
|
||||
popComponentEffectStart(prevEffectStart);
|
||||
prevEffectStart = fiber.child;
|
||||
if (null !== prevEffectStart)
|
||||
(prevEffectStart.return = fiber), (nextEffect = prevEffectStart);
|
||||
else
|
||||
a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {
|
||||
current = nextEffect;
|
||||
var sibling = current.sibling,
|
||||
returnFiber = current.return;
|
||||
detachFiberAfterEffects(current);
|
||||
if (current === fiber) {
|
||||
prevEffectStart = nextEffect;
|
||||
current = prevEffectStart.sibling;
|
||||
nearestMountedAncestor = prevEffectStart.return;
|
||||
detachFiberAfterEffects(prevEffectStart);
|
||||
if (prevEffectStart === fiber) {
|
||||
nextEffect = null;
|
||||
break a;
|
||||
}
|
||||
if (null !== sibling) {
|
||||
sibling.return = returnFiber;
|
||||
nextEffect = sibling;
|
||||
if (null !== current) {
|
||||
current.return = nearestMountedAncestor;
|
||||
nextEffect = current;
|
||||
break a;
|
||||
}
|
||||
nextEffect = returnFiber;
|
||||
nextEffect = nearestMountedAncestor;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15085,7 +15127,11 @@
|
||||
case 5:
|
||||
case 27:
|
||||
var hostFiber = workInProgress;
|
||||
if (resource ? preloadResource(resource) : 1) {
|
||||
if (
|
||||
resource
|
||||
? preloadResource(resource)
|
||||
: hostFiber.stateNode.complete
|
||||
) {
|
||||
workInProgressSuspendedReason = NotSuspended;
|
||||
workInProgressThrownValue = null;
|
||||
var sibling = hostFiber.sibling;
|
||||
@@ -15460,6 +15506,7 @@
|
||||
try {
|
||||
inProgressLanes = lanes;
|
||||
inProgressRoot = root;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
inProgressRoot = inProgressLanes = null;
|
||||
lanes = selectionInformation;
|
||||
@@ -15593,6 +15640,7 @@
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
(inProgressLanes = lanes),
|
||||
(inProgressRoot = root),
|
||||
(componentEffectStartTime = -1.1),
|
||||
commitLayoutEffectOnFiber(
|
||||
root,
|
||||
finishedWork.alternate,
|
||||
@@ -15770,10 +15818,14 @@
|
||||
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
||||
var finishedWork = root$jscomp$0.current;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitPassiveUnmountOnFiber(finishedWork);
|
||||
var finishedWork$jscomp$0 = root$jscomp$0.current;
|
||||
componentEffectStartTime = -1.1;
|
||||
commitPassiveMountOnFiber(
|
||||
root$jscomp$0,
|
||||
root$jscomp$0.current,
|
||||
finishedWork$jscomp$0,
|
||||
lanes,
|
||||
priority
|
||||
);
|
||||
@@ -22686,6 +22738,7 @@
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
componentEffectStartTime = -1.1,
|
||||
currentUpdateIsNested = !1,
|
||||
nestedUpdateScheduled = !1,
|
||||
currentEntangledListeners = null,
|
||||
@@ -24897,11 +24950,11 @@
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -24938,10 +24991,10 @@
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-canary-040f8286-20250402",
|
||||
version: "19.2.0-canary-33661467-20250407",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-canary-040f8286-20250402"
|
||||
reconcilerVersion: "19.2.0-canary-33661467-20250407"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -25415,7 +25468,7 @@
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -9031,5 +9031,5 @@
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
+1
-1
@@ -5889,4 +5889,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.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
+1
-1
@@ -9031,5 +9031,5 @@
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -5969,4 +5969,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 "renderToPipeableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -7746,11 +7746,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
var React = require("next/dist/compiled/react"),
|
||||
@@ -9420,5 +9420,5 @@
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -6229,12 +6229,12 @@ function abort(request, reason) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion,
|
||||
"19.2.0-canary-040f8286-20250402"
|
||||
"19.2.0-canary-33661467-20250407"
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -6381,4 +6381,4 @@ exports.renderToReadableStream = function (children, options) {
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -5867,13 +5867,13 @@ function abort(request, reason) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
|
||||
if (
|
||||
"19.2.0-canary-040f8286-20250402" !==
|
||||
"19.2.0-canary-33661467-20250407" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_761
|
||||
)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion$jscomp$inline_761 +
|
||||
"\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
exports.renderToReadableStream = function (children, options) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
@@ -5964,4 +5964,4 @@ exports.renderToReadableStream = function (children, options) {
|
||||
startWork(request);
|
||||
});
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -7769,11 +7769,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
var React = require("next/dist/compiled/react"),
|
||||
@@ -9450,5 +9450,5 @@ const setTimeoutOrImmediate =
|
||||
? globalThis['set' + 'Immediate']
|
||||
: setTimeout;
|
||||
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -6324,11 +6324,11 @@ function abort(request, reason) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
ensureCorrectIsomorphicReactVersion();
|
||||
@@ -6485,4 +6485,4 @@ const setTimeoutOrImmediate =
|
||||
? globalThis['set' + 'Immediate']
|
||||
: setTimeout;
|
||||
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -7644,11 +7644,11 @@
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
function createDrainHandler(destination, request) {
|
||||
@@ -9313,5 +9313,5 @@
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -6216,11 +6216,11 @@ function abort(request, reason) {
|
||||
}
|
||||
function ensureCorrectIsomorphicReactVersion() {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-canary-33661467-20250407" !== 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.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
}
|
||||
ensureCorrectIsomorphicReactVersion();
|
||||
@@ -6369,4 +6369,4 @@ exports.renderToPipeableStream = function (children, options) {
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -336,5 +336,5 @@
|
||||
}))
|
||||
: Internals.d.m(href));
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
|
||||
});
|
||||
} else Internals.d.m(href);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -67,10 +67,10 @@
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"scheduler": "0.27.0-canary-040f8286-20250402"
|
||||
"scheduler": "0.27.0-canary-33661467-20250407"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "19.2.0-canary-040f8286-20250402"
|
||||
"react": "19.2.0-canary-33661467-20250407"
|
||||
},
|
||||
"browser": {
|
||||
"./server.js": "./server.browser.js",
|
||||
|
||||
@@ -1326,7 +1326,7 @@
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -603,4 +603,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
@@ -992,5 +992,5 @@
|
||||
exports.useMemo = function (create, deps) {
|
||||
return resolveDispatcher().useMemo(create, deps);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -567,4 +567,4 @@ exports.useId = function () {
|
||||
exports.useMemo = function (create, deps) {
|
||||
return ReactSharedInternals.H.useMemo(create, deps);
|
||||
};
|
||||
exports.version = "19.2.0-experimental-040f8286-20250402";
|
||||
exports.version = "19.2.0-experimental-33661467-20250407";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-is",
|
||||
"version": "19.2.0-canary-040f8286-20250402",
|
||||
"version": "19.2.0-canary-33661467-20250407",
|
||||
"description": "Brand checking of React Elements.",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
+2
-2
@@ -2927,10 +2927,10 @@
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: 1,
|
||||
version: "19.2.0-experimental-040f8286-20250402",
|
||||
version: "19.2.0-experimental-33661467-20250407",
|
||||
rendererPackageName: "react-server-dom-turbopack",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-experimental-040f8286-20250402",
|
||||
reconcilerVersion: "19.2.0-experimental-33661467-20250407",
|
||||
getCurrentComponentInfo: function () {
|
||||
return currentOwnerInDEV;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"neo-async": "^2.6.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "0.0.0-experimental-040f8286-20250402",
|
||||
"react-dom": "0.0.0-experimental-040f8286-20250402"
|
||||
"react": "0.0.0-experimental-33661467-20250407",
|
||||
"react-dom": "0.0.0-experimental-33661467-20250407"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -2678,10 +2678,10 @@
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: 1,
|
||||
version: "19.2.0-canary-040f8286-20250402",
|
||||
version: "19.2.0-canary-33661467-20250407",
|
||||
rendererPackageName: "react-server-dom-turbopack",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-canary-040f8286-20250402",
|
||||
reconcilerVersion: "19.2.0-canary-33661467-20250407",
|
||||
getCurrentComponentInfo: function () {
|
||||
return currentOwnerInDEV;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"neo-async": "^2.6.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "19.2.0-canary-040f8286-20250402",
|
||||
"react-dom": "19.2.0-canary-040f8286-20250402"
|
||||
"react": "19.2.0-canary-33661467-20250407",
|
||||
"react-dom": "19.2.0-canary-33661467-20250407"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -2942,10 +2942,10 @@
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: 1,
|
||||
version: "19.2.0-experimental-040f8286-20250402",
|
||||
version: "19.2.0-experimental-33661467-20250407",
|
||||
rendererPackageName: "react-server-dom-webpack",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-experimental-040f8286-20250402",
|
||||
reconcilerVersion: "19.2.0-experimental-33661467-20250407",
|
||||
getCurrentComponentInfo: function () {
|
||||
return currentOwnerInDEV;
|
||||
}
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
"webpack-sources": "^3.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "0.0.0-experimental-040f8286-20250402",
|
||||
"react-dom": "0.0.0-experimental-040f8286-20250402",
|
||||
"react": "0.0.0-experimental-33661467-20250407",
|
||||
"react-dom": "0.0.0-experimental-33661467-20250407",
|
||||
"webpack": "^5.59.0"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -2693,10 +2693,10 @@
|
||||
return hook.checkDCE ? !0 : !1;
|
||||
})({
|
||||
bundleType: 1,
|
||||
version: "19.2.0-canary-040f8286-20250402",
|
||||
version: "19.2.0-canary-33661467-20250407",
|
||||
rendererPackageName: "react-server-dom-webpack",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-canary-040f8286-20250402",
|
||||
reconcilerVersion: "19.2.0-canary-33661467-20250407",
|
||||
getCurrentComponentInfo: function () {
|
||||
return currentOwnerInDEV;
|
||||
}
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
"webpack-sources": "^3.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "19.2.0-canary-040f8286-20250402",
|
||||
"react-dom": "19.2.0-canary-040f8286-20250402",
|
||||
"react": "19.2.0-canary-33661467-20250407",
|
||||
"react-dom": "19.2.0-canary-33661467-20250407",
|
||||
"webpack": "^5.59.0"
|
||||
}
|
||||
}
|
||||
@@ -1242,7 +1242,7 @@
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -541,4 +541,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -811,5 +811,5 @@
|
||||
exports.useMemo = function (create, deps) {
|
||||
return resolveDispatcher().useMemo(create, deps);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
})();
|
||||
|
||||
@@ -426,4 +426,4 @@ exports.useId = function () {
|
||||
exports.useMemo = function (create, deps) {
|
||||
return ReactSharedInternals.H.useMemo(create, deps);
|
||||
};
|
||||
exports.version = "19.2.0-canary-040f8286-20250402";
|
||||
exports.version = "19.2.0-canary-33661467-20250407";
|
||||
|
||||
@@ -1 +1 @@
|
||||
(()=>{var t={812:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a<i.length;a++)i[a]===t?t=null:_.push(i[a]);i=_}function e(_,a,f){t=a?_:n(n({},t),_);for(var o=i,c=0;c<o.length;c++)o[c](t,f)}return t=t||{},{action:function(i){function r(t){e(t,!1,i)}return function(){for(var _=arguments,a=[t],f=0;f<arguments.length;f++)a.push(_[f]);var o=i.apply(this,a);if(null!=o)return o.then?o.then(r):r(o)}},setState:e,subscribe:function(t){return i.push(t),function(){u(t)}},unsubscribe:u,getState:function(){return t}}}}};var i={};function __nccwpck_require__(_){var a=i[_];if(a!==undefined){return a.exports}var f=i[_]={exports:{}};var o=true;try{t[_](f,f.exports,__nccwpck_require__);o=false}finally{if(o)delete i[_]}return f.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var _=__nccwpck_require__(812);module.exports=_})();
|
||||
(()=>{var t={59:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a<i.length;a++)i[a]===t?t=null:_.push(i[a]);i=_}function e(_,a,f){t=a?_:n(n({},t),_);for(var o=i,c=0;c<o.length;c++)o[c](t,f)}return t=t||{},{action:function(i){function r(t){e(t,!1,i)}return function(){for(var _=arguments,a=[t],f=0;f<arguments.length;f++)a.push(_[f]);var o=i.apply(this,a);if(null!=o)return o.then?o.then(r):r(o)}},setState:e,subscribe:function(t){return i.push(t),function(){u(t)}},unsubscribe:u,getState:function(){return t}}}}};var i={};function __nccwpck_require__(_){var a=i[_];if(a!==undefined){return a.exports}var f=i[_]={exports:{}};var o=true;try{t[_](f,f.exports,__nccwpck_require__);o=false}finally{if(o)delete i[_]}return f.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var _=__nccwpck_require__(59);module.exports=_})();
|
||||
Generated
+229
-229
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user