mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Avoid return value from commitBeforeMutationEffects (#31922)
This is behind an unusual flag (enableCreateEventHandleAPI) that doesn't
serve a special return value. I'll be collecting other flags from this
phase too.
We can just use the global flag and reset it before the next mutation
phase. Unlike focusedInstanceHandle this doesn't leak any memory in the
meantime.
DiffTrain build for [d8b903f49e](https://github.com/facebook/react/commit/d8b903f49edebdd9ed081ff0514c28fe130cd510)
This commit is contained in:
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -712,18 +712,6 @@ __DEV__ &&
|
||||
null === memoizedState.dehydrated
|
||||
);
|
||||
}
|
||||
function doesFiberContain(parentFiber, childFiber) {
|
||||
for (
|
||||
var parentFiberAlternate = parentFiber.alternate;
|
||||
null !== childFiber;
|
||||
|
||||
) {
|
||||
if (childFiber === parentFiber || childFiber === parentFiberAlternate)
|
||||
return !0;
|
||||
childFiber = childFiber.return;
|
||||
}
|
||||
return !1;
|
||||
}
|
||||
function childrenAsString(children) {
|
||||
return children
|
||||
? "string" === typeof children
|
||||
@@ -10206,66 +10194,35 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = null;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++)
|
||||
doesFiberContain(firstChild[i], focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = root = nextEffect;
|
||||
i = firstChild.alternate;
|
||||
var flags = firstChild.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
var JSCompiler_temp;
|
||||
if ((JSCompiler_temp = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== i &&
|
||||
((JSCompiler_temp = i.memoizedState),
|
||||
null === JSCompiler_temp ||
|
||||
null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = firstChild.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(firstChild, focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
}
|
||||
switch (firstChild.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
child = fiber = nextEffect;
|
||||
var current = child.alternate,
|
||||
flags = child.flags;
|
||||
switch (child.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (flags & 4) &&
|
||||
((firstChild = firstChild.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
((child = child.updateQueue),
|
||||
(child = null !== child ? child.events : null),
|
||||
null !== child)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(flags = firstChild[i]), (flags.ref.impl = flags.nextImpl);
|
||||
for (current = 0; current < child.length; current++)
|
||||
(flags = child[current]), (flags.ref.impl = flags.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
0 !== (flags & 1024) &&
|
||||
null !== i &&
|
||||
commitClassSnapshot(firstChild, i);
|
||||
null !== current &&
|
||||
commitClassSnapshot(child, current);
|
||||
break;
|
||||
case 3:
|
||||
break;
|
||||
@@ -10282,19 +10239,15 @@ __DEV__ &&
|
||||
"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
|
||||
);
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return root;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -13455,7 +13408,8 @@ __DEV__ &&
|
||||
(currentUpdatePriority = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
@@ -16590,8 +16544,6 @@ __DEV__ &&
|
||||
nextEffect = null,
|
||||
inProgressLanes = null,
|
||||
inProgressRoot = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1,
|
||||
hostParent = null,
|
||||
hostParentIsContainer = !1,
|
||||
suspenseyCommitFlag = 8192,
|
||||
@@ -16903,10 +16855,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16940,7 +16892,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -698,18 +698,6 @@ __DEV__ &&
|
||||
null === memoizedState.dehydrated
|
||||
);
|
||||
}
|
||||
function doesFiberContain(parentFiber, childFiber) {
|
||||
for (
|
||||
var parentFiberAlternate = parentFiber.alternate;
|
||||
null !== childFiber;
|
||||
|
||||
) {
|
||||
if (childFiber === parentFiber || childFiber === parentFiberAlternate)
|
||||
return !0;
|
||||
childFiber = childFiber.return;
|
||||
}
|
||||
return !1;
|
||||
}
|
||||
function childrenAsString(children) {
|
||||
return children
|
||||
? "string" === typeof children
|
||||
@@ -10010,66 +9998,35 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = null;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++)
|
||||
doesFiberContain(firstChild[i], focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = root = nextEffect;
|
||||
i = firstChild.alternate;
|
||||
var flags = firstChild.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
var JSCompiler_temp;
|
||||
if ((JSCompiler_temp = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== i &&
|
||||
((JSCompiler_temp = i.memoizedState),
|
||||
null === JSCompiler_temp ||
|
||||
null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = firstChild.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(firstChild, focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
}
|
||||
switch (firstChild.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
child = fiber = nextEffect;
|
||||
var current = child.alternate,
|
||||
flags = child.flags;
|
||||
switch (child.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (flags & 4) &&
|
||||
((firstChild = firstChild.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
((child = child.updateQueue),
|
||||
(child = null !== child ? child.events : null),
|
||||
null !== child)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(flags = firstChild[i]), (flags.ref.impl = flags.nextImpl);
|
||||
for (current = 0; current < child.length; current++)
|
||||
(flags = child[current]), (flags.ref.impl = flags.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
0 !== (flags & 1024) &&
|
||||
null !== i &&
|
||||
commitClassSnapshot(firstChild, i);
|
||||
null !== current &&
|
||||
commitClassSnapshot(child, current);
|
||||
break;
|
||||
case 3:
|
||||
break;
|
||||
@@ -10086,19 +10043,15 @@ __DEV__ &&
|
||||
"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
|
||||
);
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return root;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -13255,7 +13208,8 @@ __DEV__ &&
|
||||
(currentUpdatePriority = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
@@ -16353,8 +16307,6 @@ __DEV__ &&
|
||||
nextEffect = null,
|
||||
inProgressLanes = null,
|
||||
inProgressRoot = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1,
|
||||
hostParent = null,
|
||||
hostParentIsContainer = !1,
|
||||
suspenseyCommitFlag = 8192,
|
||||
@@ -16666,10 +16618,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16703,7 +16655,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -449,18 +449,6 @@ function isFiberSuspenseAndTimedOut(fiber) {
|
||||
null === memoizedState.dehydrated
|
||||
);
|
||||
}
|
||||
function doesFiberContain(parentFiber, childFiber) {
|
||||
for (
|
||||
var parentFiberAlternate = parentFiber.alternate;
|
||||
null !== childFiber;
|
||||
|
||||
) {
|
||||
if (childFiber === parentFiber || childFiber === parentFiberAlternate)
|
||||
return !0;
|
||||
childFiber = childFiber.return;
|
||||
}
|
||||
return !1;
|
||||
}
|
||||
var isArrayImpl = Array.isArray,
|
||||
TYPES = {
|
||||
CLIPPING_RECTANGLE: "ClippingRectangle",
|
||||
@@ -7282,87 +7270,59 @@ function insertOrAppendPlacementNode(node, before, parent) {
|
||||
var offscreenSubtreeIsHidden = !1,
|
||||
offscreenSubtreeWasHidden = !1,
|
||||
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = null;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++)
|
||||
doesFiberContain(firstChild[i], focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
nextEffect = null;
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.alternate;
|
||||
i = root.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
var JSCompiler_temp;
|
||||
if ((JSCompiler_temp = 13 === root.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== firstChild &&
|
||||
((JSCompiler_temp = firstChild.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = root.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(root, focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
}
|
||||
switch (root.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
child = void 0;
|
||||
var finishedWork = fiber,
|
||||
current = finishedWork.alternate,
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (i & 4) &&
|
||||
((firstChild = root.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
0 !== (flags & 4) &&
|
||||
((child = finishedWork.updateQueue),
|
||||
(child = null !== child ? child.events : null),
|
||||
null !== child)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(JSCompiler_temp = firstChild[i]),
|
||||
(JSCompiler_temp.ref.impl = JSCompiler_temp.nextImpl);
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < child.length;
|
||||
finishedWork++
|
||||
)
|
||||
(flags = child[finishedWork]),
|
||||
(flags.ref.impl = flags.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (i & 1024) && null !== firstChild) {
|
||||
i = void 0;
|
||||
JSCompiler_temp = root;
|
||||
var prevProps = firstChild.memoizedProps;
|
||||
firstChild = firstChild.memoizedState;
|
||||
var instance = JSCompiler_temp.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== current) {
|
||||
flags = current.memoizedProps;
|
||||
current = current.memoizedState;
|
||||
var instance = finishedWork.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
JSCompiler_temp.type,
|
||||
prevProps,
|
||||
JSCompiler_temp.elementType === JSCompiler_temp.type
|
||||
finishedWork.type,
|
||||
flags,
|
||||
finishedWork.elementType === finishedWork.type
|
||||
);
|
||||
i = instance.getSnapshotBeforeUpdate(
|
||||
child = instance.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
firstChild
|
||||
current
|
||||
);
|
||||
instance.__reactInternalSnapshotBeforeUpdate = i;
|
||||
instance.__reactInternalSnapshotBeforeUpdate = child;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
JSCompiler_temp,
|
||||
JSCompiler_temp.return,
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error
|
||||
);
|
||||
}
|
||||
@@ -7378,21 +7338,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (i & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -9997,7 +9953,8 @@ function commitRootImpl(
|
||||
(currentUpdatePriority = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -10785,24 +10742,24 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1507 = {
|
||||
var internals$jscomp$inline_1509 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1508 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1510 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1508.isDisabled &&
|
||||
hook$jscomp$inline_1508.supportsFiber
|
||||
!hook$jscomp$inline_1510.isDisabled &&
|
||||
hook$jscomp$inline_1510.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1508.inject(
|
||||
internals$jscomp$inline_1507
|
||||
(rendererID = hook$jscomp$inline_1510.inject(
|
||||
internals$jscomp$inline_1509
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1508);
|
||||
(injectedHook = hook$jscomp$inline_1510);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10816,4 +10773,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
|
||||
@@ -370,18 +370,6 @@ function isFiberSuspenseAndTimedOut(fiber) {
|
||||
null === memoizedState.dehydrated
|
||||
);
|
||||
}
|
||||
function doesFiberContain(parentFiber, childFiber) {
|
||||
for (
|
||||
var parentFiberAlternate = parentFiber.alternate;
|
||||
null !== childFiber;
|
||||
|
||||
) {
|
||||
if (childFiber === parentFiber || childFiber === parentFiberAlternate)
|
||||
return !0;
|
||||
childFiber = childFiber.return;
|
||||
}
|
||||
return !1;
|
||||
}
|
||||
var isArrayImpl = Array.isArray,
|
||||
TYPES = {
|
||||
CLIPPING_RECTANGLE: "ClippingRectangle",
|
||||
@@ -7042,87 +7030,59 @@ function insertOrAppendPlacementNode(node, before, parent) {
|
||||
var offscreenSubtreeIsHidden = !1,
|
||||
offscreenSubtreeWasHidden = !1,
|
||||
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = null;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++)
|
||||
doesFiberContain(firstChild[i], focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
nextEffect = null;
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.alternate;
|
||||
i = root.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
var JSCompiler_temp;
|
||||
if ((JSCompiler_temp = 13 === root.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== firstChild &&
|
||||
((JSCompiler_temp = firstChild.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = root.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(root, focusedInstanceHandle) &&
|
||||
(shouldFireAfterActiveInstanceBlur = !0);
|
||||
}
|
||||
switch (root.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
child = void 0;
|
||||
var finishedWork = fiber,
|
||||
current = finishedWork.alternate,
|
||||
flags = finishedWork.flags;
|
||||
switch (finishedWork.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (i & 4) &&
|
||||
((firstChild = root.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
0 !== (flags & 4) &&
|
||||
((child = finishedWork.updateQueue),
|
||||
(child = null !== child ? child.events : null),
|
||||
null !== child)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(JSCompiler_temp = firstChild[i]),
|
||||
(JSCompiler_temp.ref.impl = JSCompiler_temp.nextImpl);
|
||||
for (
|
||||
finishedWork = 0;
|
||||
finishedWork < child.length;
|
||||
finishedWork++
|
||||
)
|
||||
(flags = child[finishedWork]),
|
||||
(flags.ref.impl = flags.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (i & 1024) && null !== firstChild) {
|
||||
i = void 0;
|
||||
JSCompiler_temp = root;
|
||||
var prevProps = firstChild.memoizedProps;
|
||||
firstChild = firstChild.memoizedState;
|
||||
var instance = JSCompiler_temp.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== current) {
|
||||
flags = current.memoizedProps;
|
||||
current = current.memoizedState;
|
||||
var instance = finishedWork.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
JSCompiler_temp.type,
|
||||
prevProps,
|
||||
JSCompiler_temp.elementType === JSCompiler_temp.type
|
||||
finishedWork.type,
|
||||
flags,
|
||||
finishedWork.elementType === finishedWork.type
|
||||
);
|
||||
i = instance.getSnapshotBeforeUpdate(
|
||||
child = instance.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
firstChild
|
||||
current
|
||||
);
|
||||
instance.__reactInternalSnapshotBeforeUpdate = i;
|
||||
instance.__reactInternalSnapshotBeforeUpdate = child;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
JSCompiler_temp,
|
||||
JSCompiler_temp.return,
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error
|
||||
);
|
||||
}
|
||||
@@ -7138,21 +7098,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (i & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -9753,7 +9709,8 @@ function commitRootImpl(
|
||||
(currentUpdatePriority = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -10501,24 +10458,24 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1486 = {
|
||||
var internals$jscomp$inline_1488 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1487 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1489 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1487.isDisabled &&
|
||||
hook$jscomp$inline_1487.supportsFiber
|
||||
!hook$jscomp$inline_1489.isDisabled &&
|
||||
hook$jscomp$inline_1489.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1487.inject(
|
||||
internals$jscomp$inline_1486
|
||||
(rendererID = hook$jscomp$inline_1489.inject(
|
||||
internals$jscomp$inline_1488
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1487);
|
||||
(injectedHook = hook$jscomp$inline_1489);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10532,4 +10489,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
|
||||
@@ -12967,6 +12967,7 @@ __DEV__ &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
@@ -13078,10 +13079,7 @@ __DEV__ &&
|
||||
nextEffect = firstChild.return;
|
||||
}
|
||||
}
|
||||
firstChild = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return firstChild;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -16620,44 +16618,41 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = DiscreteEventPriority;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -27386,11 +27381,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-d8b903f4-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-d8b903f4-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27433,10 +27428,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28034,7 +28029,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -12766,6 +12766,7 @@ __DEV__ &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
@@ -12877,10 +12878,7 @@ __DEV__ &&
|
||||
nextEffect = firstChild.return;
|
||||
}
|
||||
}
|
||||
firstChild = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return firstChild;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -16415,44 +16413,41 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = DiscreteEventPriority;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -27165,11 +27160,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-d8b903f4-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-d8b903f4-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27212,10 +27207,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27813,7 +27808,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8691,191 +8691,105 @@ var offscreenSubtreeIsHidden = !1,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
root = root.containerInfo;
|
||||
eventsEnabled = _enabled;
|
||||
root = getActiveElementDeep(root);
|
||||
if (hasSelectionCapabilities(root)) {
|
||||
if ("selectionStart" in root)
|
||||
var JSCompiler_temp = {
|
||||
start: root.selectionStart,
|
||||
end: root.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = root.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$202) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = root,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === root) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };
|
||||
root = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
if (null !== root)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
doesFiberContain(anchorOffset, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(anchorOffset));
|
||||
root = firstChild.child;
|
||||
if (0 !== (firstChild.subtreeFlags & 9236) && null !== root)
|
||||
(root.return = firstChild), (nextEffect = root);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.alternate;
|
||||
JSCompiler_temp = firstChild.flags;
|
||||
if (
|
||||
(anchorOffset =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
) {
|
||||
if ((anchorOffset = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== root &&
|
||||
((anchorOffset = root.memoizedState),
|
||||
null === anchorOffset || null !== anchorOffset.dehydrated)
|
||||
) {
|
||||
anchorOffset = firstChild.memoizedState;
|
||||
anchorOffset =
|
||||
null !== anchorOffset && null === anchorOffset.dehydrated;
|
||||
break a;
|
||||
}
|
||||
anchorOffset = !1;
|
||||
}
|
||||
anchorOffset =
|
||||
anchorOffset && doesFiberContain(firstChild, focusedInstanceHandle);
|
||||
}
|
||||
anchorOffset &&
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(firstChild));
|
||||
switch (firstChild.tag) {
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (JSCompiler_temp & 4) &&
|
||||
((root = firstChild.updateQueue),
|
||||
(root = null !== root ? root.events : null),
|
||||
null !== root)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
(anchorOffset.ref.impl = anchorOffset.nextImpl);
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (JSCompiler_temp & 1024) && null !== root) {
|
||||
JSCompiler_temp = void 0;
|
||||
anchorOffset = firstChild;
|
||||
focusNode = root.memoizedProps;
|
||||
root = root.memoizedState;
|
||||
selection = anchorOffset.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
anchorOffset.type,
|
||||
focusNode,
|
||||
anchorOffset.elementType === anchorOffset.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
JSCompiler_temp = selection.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
root
|
||||
deletion
|
||||
);
|
||||
selection.__reactInternalSnapshotBeforeUpdate = JSCompiler_temp;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate = deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
anchorOffset,
|
||||
anchorOffset.return,
|
||||
error
|
||||
);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
if (
|
||||
((root = firstChild.stateNode.containerInfo),
|
||||
(JSCompiler_temp = root.nodeType),
|
||||
9 === JSCompiler_temp)
|
||||
if (0 !== (flags & 1024))
|
||||
b: if (
|
||||
((deletions = i.stateNode.containerInfo),
|
||||
(i = deletions.nodeType),
|
||||
9 === i)
|
||||
)
|
||||
clearContainerSparingly(root);
|
||||
else if (1 === JSCompiler_temp)
|
||||
switch (root.nodeName) {
|
||||
clearContainerSparingly(deletions);
|
||||
else if (1 === i)
|
||||
switch (deletions.nodeName) {
|
||||
case "HEAD":
|
||||
case "HTML":
|
||||
case "BODY":
|
||||
clearContainerSparingly(root);
|
||||
break;
|
||||
clearContainerSparingly(deletions);
|
||||
break b;
|
||||
default:
|
||||
root.textContent = "";
|
||||
deletions.textContent = "";
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
@@ -8886,22 +8800,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
root = firstChild.sibling;
|
||||
if (null !== root) {
|
||||
root.return = firstChild.return;
|
||||
nextEffect = root;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = firstChild.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -11904,32 +11813,33 @@ function commitRootImpl(
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = 2;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$196 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$196 &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -11986,7 +11896,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$197 = rootWithPendingPassiveEffects,
|
||||
var root$196 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
pendingPassiveEffectsRemainingLanes = 0;
|
||||
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
||||
@@ -12001,7 +11911,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
releaseRootPooledCache(root$197, remainingLanes);
|
||||
releaseRootPooledCache(root$196, remainingLanes);
|
||||
}
|
||||
}
|
||||
return !1;
|
||||
@@ -13238,14 +13148,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$352;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1556 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1556) {
|
||||
var element$jscomp$inline_1557 = document.createElement("div");
|
||||
element$jscomp$inline_1557.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1556 =
|
||||
"function" === typeof element$jscomp$inline_1557.oninput;
|
||||
var isSupported$jscomp$inline_1560 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1560) {
|
||||
var element$jscomp$inline_1561 = document.createElement("div");
|
||||
element$jscomp$inline_1561.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1560 =
|
||||
"function" === typeof element$jscomp$inline_1561.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$352 = isSupported$jscomp$inline_1556;
|
||||
JSCompiler_inline_result$jscomp$352 = isSupported$jscomp$inline_1560;
|
||||
} else JSCompiler_inline_result$jscomp$352 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$352 &&
|
||||
@@ -13659,20 +13569,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1597 = 0;
|
||||
i$jscomp$inline_1597 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1597++
|
||||
var i$jscomp$inline_1601 = 0;
|
||||
i$jscomp$inline_1601 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1601++
|
||||
) {
|
||||
var eventName$jscomp$inline_1598 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1597],
|
||||
domEventName$jscomp$inline_1599 =
|
||||
eventName$jscomp$inline_1598.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1600 =
|
||||
eventName$jscomp$inline_1598[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1598.slice(1);
|
||||
var eventName$jscomp$inline_1602 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1601],
|
||||
domEventName$jscomp$inline_1603 =
|
||||
eventName$jscomp$inline_1602.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1604 =
|
||||
eventName$jscomp$inline_1602[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1602.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1599,
|
||||
"on" + capitalizedEvent$jscomp$inline_1600
|
||||
domEventName$jscomp$inline_1603,
|
||||
"on" + capitalizedEvent$jscomp$inline_1604
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14965,34 +14875,34 @@ function setInitialProperties(domElement, tag, props) {
|
||||
defaultChecked = null;
|
||||
for (hasSrc in props)
|
||||
if (props.hasOwnProperty(hasSrc)) {
|
||||
var propValue$216 = props[hasSrc];
|
||||
if (null != propValue$216)
|
||||
var propValue$215 = props[hasSrc];
|
||||
if (null != propValue$215)
|
||||
switch (hasSrc) {
|
||||
case "name":
|
||||
hasSrcSet = propValue$216;
|
||||
hasSrcSet = propValue$215;
|
||||
break;
|
||||
case "type":
|
||||
propValue = propValue$216;
|
||||
propValue = propValue$215;
|
||||
break;
|
||||
case "checked":
|
||||
checked = propValue$216;
|
||||
checked = propValue$215;
|
||||
break;
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue$216;
|
||||
defaultChecked = propValue$215;
|
||||
break;
|
||||
case "value":
|
||||
propKey = propValue$216;
|
||||
propKey = propValue$215;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = propValue$216;
|
||||
defaultValue = propValue$215;
|
||||
break;
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propValue$216)
|
||||
if (null != propValue$215)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
setProp(domElement, tag, hasSrc, propValue$216, props, null);
|
||||
setProp(domElement, tag, hasSrc, propValue$215, props, null);
|
||||
}
|
||||
}
|
||||
initInput(
|
||||
@@ -15129,14 +15039,14 @@ function setInitialProperties(domElement, tag, props) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (propValue$216 in props)
|
||||
props.hasOwnProperty(propValue$216) &&
|
||||
((hasSrc = props[propValue$216]),
|
||||
for (propValue$215 in props)
|
||||
props.hasOwnProperty(propValue$215) &&
|
||||
((hasSrc = props[propValue$215]),
|
||||
void 0 !== hasSrc &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propValue$216,
|
||||
propValue$215,
|
||||
hasSrc,
|
||||
props,
|
||||
void 0
|
||||
@@ -15184,14 +15094,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
||||
}
|
||||
}
|
||||
for (var propKey$233 in nextProps) {
|
||||
var propKey = nextProps[propKey$233];
|
||||
lastProp = lastProps[propKey$233];
|
||||
for (var propKey$232 in nextProps) {
|
||||
var propKey = nextProps[propKey$232];
|
||||
lastProp = lastProps[propKey$232];
|
||||
if (
|
||||
nextProps.hasOwnProperty(propKey$233) &&
|
||||
nextProps.hasOwnProperty(propKey$232) &&
|
||||
(null != propKey || null != lastProp)
|
||||
)
|
||||
switch (propKey$233) {
|
||||
switch (propKey$232) {
|
||||
case "type":
|
||||
type = propKey;
|
||||
break;
|
||||
@@ -15220,7 +15130,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
propKey,
|
||||
nextProps,
|
||||
lastProp
|
||||
@@ -15239,7 +15149,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
);
|
||||
return;
|
||||
case "select":
|
||||
propKey = value = defaultValue = propKey$233 = null;
|
||||
propKey = value = defaultValue = propKey$232 = null;
|
||||
for (type in lastProps)
|
||||
if (
|
||||
((lastDefaultValue = lastProps[type]),
|
||||
@@ -15270,7 +15180,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (name) {
|
||||
case "value":
|
||||
propKey$233 = type;
|
||||
propKey$232 = type;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = type;
|
||||
@@ -15291,15 +15201,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
tag = defaultValue;
|
||||
lastProps = value;
|
||||
nextProps = propKey;
|
||||
null != propKey$233
|
||||
? updateOptions(domElement, !!lastProps, propKey$233, !1)
|
||||
null != propKey$232
|
||||
? updateOptions(domElement, !!lastProps, propKey$232, !1)
|
||||
: !!nextProps !== !!lastProps &&
|
||||
(null != tag
|
||||
? updateOptions(domElement, !!lastProps, tag, !0)
|
||||
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
||||
return;
|
||||
case "textarea":
|
||||
propKey = propKey$233 = null;
|
||||
propKey = propKey$232 = null;
|
||||
for (defaultValue in lastProps)
|
||||
if (
|
||||
((name = lastProps[defaultValue]),
|
||||
@@ -15323,7 +15233,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (value) {
|
||||
case "value":
|
||||
propKey$233 = name;
|
||||
propKey$232 = name;
|
||||
break;
|
||||
case "defaultValue":
|
||||
propKey = name;
|
||||
@@ -15337,17 +15247,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
name !== type &&
|
||||
setProp(domElement, tag, value, name, nextProps, type);
|
||||
}
|
||||
updateTextarea(domElement, propKey$233, propKey);
|
||||
updateTextarea(domElement, propKey$232, propKey);
|
||||
return;
|
||||
case "option":
|
||||
for (var propKey$249 in lastProps)
|
||||
for (var propKey$248 in lastProps)
|
||||
if (
|
||||
((propKey$233 = lastProps[propKey$249]),
|
||||
lastProps.hasOwnProperty(propKey$249) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$249))
|
||||
((propKey$232 = lastProps[propKey$248]),
|
||||
lastProps.hasOwnProperty(propKey$248) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$248))
|
||||
)
|
||||
switch (propKey$249) {
|
||||
switch (propKey$248) {
|
||||
case "selected":
|
||||
domElement.selected = !1;
|
||||
break;
|
||||
@@ -15355,33 +15265,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$249,
|
||||
propKey$248,
|
||||
null,
|
||||
nextProps,
|
||||
propKey$233
|
||||
propKey$232
|
||||
);
|
||||
}
|
||||
for (lastDefaultValue in nextProps)
|
||||
if (
|
||||
((propKey$233 = nextProps[lastDefaultValue]),
|
||||
((propKey$232 = nextProps[lastDefaultValue]),
|
||||
(propKey = lastProps[lastDefaultValue]),
|
||||
nextProps.hasOwnProperty(lastDefaultValue) &&
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
propKey$232 !== propKey &&
|
||||
(null != propKey$232 || null != propKey))
|
||||
)
|
||||
switch (lastDefaultValue) {
|
||||
case "selected":
|
||||
domElement.selected =
|
||||
propKey$233 &&
|
||||
"function" !== typeof propKey$233 &&
|
||||
"symbol" !== typeof propKey$233;
|
||||
propKey$232 &&
|
||||
"function" !== typeof propKey$232 &&
|
||||
"symbol" !== typeof propKey$232;
|
||||
break;
|
||||
default:
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
lastDefaultValue,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15402,24 +15312,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
case "track":
|
||||
case "wbr":
|
||||
case "menuitem":
|
||||
for (var propKey$254 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$254]),
|
||||
lastProps.hasOwnProperty(propKey$254) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$254) &&
|
||||
setProp(domElement, tag, propKey$254, null, nextProps, propKey$233);
|
||||
for (var propKey$253 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$253]),
|
||||
lastProps.hasOwnProperty(propKey$253) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$253) &&
|
||||
setProp(domElement, tag, propKey$253, null, nextProps, propKey$232);
|
||||
for (checked in nextProps)
|
||||
if (
|
||||
((propKey$233 = nextProps[checked]),
|
||||
((propKey$232 = nextProps[checked]),
|
||||
(propKey = lastProps[checked]),
|
||||
nextProps.hasOwnProperty(checked) &&
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
propKey$232 !== propKey &&
|
||||
(null != propKey$232 || null != propKey))
|
||||
)
|
||||
switch (checked) {
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propKey$233)
|
||||
if (null != propKey$232)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
@@ -15427,7 +15337,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
domElement,
|
||||
tag,
|
||||
checked,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15435,49 +15345,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (var propKey$259 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$259]),
|
||||
lastProps.hasOwnProperty(propKey$259) &&
|
||||
void 0 !== propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$259) &&
|
||||
for (var propKey$258 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$258]),
|
||||
lastProps.hasOwnProperty(propKey$258) &&
|
||||
void 0 !== propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$258) &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$259,
|
||||
propKey$258,
|
||||
void 0,
|
||||
nextProps,
|
||||
propKey$233
|
||||
propKey$232
|
||||
);
|
||||
for (defaultChecked in nextProps)
|
||||
(propKey$233 = nextProps[defaultChecked]),
|
||||
(propKey$232 = nextProps[defaultChecked]),
|
||||
(propKey = lastProps[defaultChecked]),
|
||||
!nextProps.hasOwnProperty(defaultChecked) ||
|
||||
propKey$233 === propKey ||
|
||||
(void 0 === propKey$233 && void 0 === propKey) ||
|
||||
propKey$232 === propKey ||
|
||||
(void 0 === propKey$232 && void 0 === propKey) ||
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
defaultChecked,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var propKey$264 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$264]),
|
||||
lastProps.hasOwnProperty(propKey$264) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$264) &&
|
||||
setProp(domElement, tag, propKey$264, null, nextProps, propKey$233);
|
||||
for (var propKey$263 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$263]),
|
||||
lastProps.hasOwnProperty(propKey$263) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$263) &&
|
||||
setProp(domElement, tag, propKey$263, null, nextProps, propKey$232);
|
||||
for (lastProp in nextProps)
|
||||
(propKey$233 = nextProps[lastProp]),
|
||||
(propKey$232 = nextProps[lastProp]),
|
||||
(propKey = lastProps[lastProp]),
|
||||
!nextProps.hasOwnProperty(lastProp) ||
|
||||
propKey$233 === propKey ||
|
||||
(null == propKey$233 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$233, nextProps, propKey);
|
||||
propKey$232 === propKey ||
|
||||
(null == propKey$232 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$232, nextProps, propKey);
|
||||
}
|
||||
var eventsEnabled = null,
|
||||
selectionInformation = null;
|
||||
@@ -15510,6 +15420,85 @@ function getChildHostContextProd(parentNamespace, type) {
|
||||
? 0
|
||||
: parentNamespace;
|
||||
}
|
||||
function prepareForCommit(containerInfo) {
|
||||
eventsEnabled = _enabled;
|
||||
containerInfo = getActiveElementDeep(containerInfo);
|
||||
if (hasSelectionCapabilities(containerInfo)) {
|
||||
if ("selectionStart" in containerInfo)
|
||||
var JSCompiler_temp = {
|
||||
start: containerInfo.selectionStart,
|
||||
end: containerInfo.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = containerInfo.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$201) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = containerInfo,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === containerInfo) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = {
|
||||
focusedElem: containerInfo,
|
||||
selectionRange: JSCompiler_temp
|
||||
};
|
||||
containerInfo = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(containerInfo = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
return containerInfo;
|
||||
}
|
||||
function beforeActiveInstanceBlur(internalInstanceHandle) {
|
||||
_enabled = !0;
|
||||
var target = selectionInformation.focusedElem,
|
||||
@@ -16074,26 +16063,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
"string" === typeof pendingProps.precedence
|
||||
) {
|
||||
type = getStyleKey(pendingProps.href);
|
||||
var styles$272 = getResourcesFromRoot(
|
||||
var styles$271 = getResourcesFromRoot(
|
||||
JSCompiler_inline_result
|
||||
).hoistableStyles,
|
||||
resource$273 = styles$272.get(type);
|
||||
resource$273 ||
|
||||
resource$272 = styles$271.get(type);
|
||||
resource$272 ||
|
||||
((JSCompiler_inline_result =
|
||||
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
||||
(resource$273 = {
|
||||
(resource$272 = {
|
||||
type: "stylesheet",
|
||||
instance: null,
|
||||
count: 0,
|
||||
state: { loading: 0, preload: null }
|
||||
}),
|
||||
styles$272.set(type, resource$273),
|
||||
(styles$272 = JSCompiler_inline_result.querySelector(
|
||||
styles$271.set(type, resource$272),
|
||||
(styles$271 = JSCompiler_inline_result.querySelector(
|
||||
getStylesheetSelectorFromKey(type)
|
||||
)) &&
|
||||
!styles$272._p &&
|
||||
((resource$273.instance = styles$272),
|
||||
(resource$273.state.loading = 5)),
|
||||
!styles$271._p &&
|
||||
((resource$272.instance = styles$271),
|
||||
(resource$272.state.loading = 5)),
|
||||
preloadPropsMap.has(type) ||
|
||||
((pendingProps = {
|
||||
rel: "preload",
|
||||
@@ -16106,16 +16095,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
referrerPolicy: pendingProps.referrerPolicy
|
||||
}),
|
||||
preloadPropsMap.set(type, pendingProps),
|
||||
styles$272 ||
|
||||
styles$271 ||
|
||||
preloadStylesheet(
|
||||
JSCompiler_inline_result,
|
||||
type,
|
||||
pendingProps,
|
||||
resource$273.state
|
||||
resource$272.state
|
||||
)));
|
||||
if (currentProps && null === currentResource)
|
||||
throw Error(formatProdErrorMessage(528, ""));
|
||||
return resource$273;
|
||||
return resource$272;
|
||||
}
|
||||
if (currentProps && null !== currentResource)
|
||||
throw Error(formatProdErrorMessage(529, ""));
|
||||
@@ -16212,37 +16201,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
return (resource.instance = instance);
|
||||
case "stylesheet":
|
||||
styleProps = getStyleKey(props.href);
|
||||
var instance$278 = hoistableRoot.querySelector(
|
||||
var instance$277 = hoistableRoot.querySelector(
|
||||
getStylesheetSelectorFromKey(styleProps)
|
||||
);
|
||||
if (instance$278)
|
||||
if (instance$277)
|
||||
return (
|
||||
(resource.state.loading |= 4),
|
||||
(resource.instance = instance$278),
|
||||
markNodeAsHoistable(instance$278),
|
||||
instance$278
|
||||
(resource.instance = instance$277),
|
||||
markNodeAsHoistable(instance$277),
|
||||
instance$277
|
||||
);
|
||||
instance = stylesheetPropsFromRawProps(props);
|
||||
(styleProps = preloadPropsMap.get(styleProps)) &&
|
||||
adoptPreloadPropsForStylesheet(instance, styleProps);
|
||||
instance$278 = (
|
||||
instance$277 = (
|
||||
hoistableRoot.ownerDocument || hoistableRoot
|
||||
).createElement("link");
|
||||
markNodeAsHoistable(instance$278);
|
||||
var linkInstance = instance$278;
|
||||
markNodeAsHoistable(instance$277);
|
||||
var linkInstance = instance$277;
|
||||
linkInstance._p = new Promise(function (resolve, reject) {
|
||||
linkInstance.onload = resolve;
|
||||
linkInstance.onerror = reject;
|
||||
});
|
||||
setInitialProperties(instance$278, "link", instance);
|
||||
setInitialProperties(instance$277, "link", instance);
|
||||
resource.state.loading |= 4;
|
||||
insertStylesheet(instance$278, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$278);
|
||||
insertStylesheet(instance$277, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$277);
|
||||
case "script":
|
||||
instance$278 = getScriptKey(props.src);
|
||||
instance$277 = getScriptKey(props.src);
|
||||
if (
|
||||
(styleProps = hoistableRoot.querySelector(
|
||||
getScriptSelectorFromKey(instance$278)
|
||||
getScriptSelectorFromKey(instance$277)
|
||||
))
|
||||
)
|
||||
return (
|
||||
@@ -16251,7 +16240,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
styleProps
|
||||
);
|
||||
instance = props;
|
||||
if ((styleProps = preloadPropsMap.get(instance$278)))
|
||||
if ((styleProps = preloadPropsMap.get(instance$277)))
|
||||
(instance = assign({}, props)),
|
||||
adoptPreloadPropsForScript(instance, styleProps);
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
@@ -17255,16 +17244,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1777 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-6ca7fbe8-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770
|
||||
"19.1.0-www-classic-d8b903f4-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1777
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770,
|
||||
"19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1777,
|
||||
"19.1.0-www-classic-d8b903f4-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17280,24 +17269,24 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2307 = {
|
||||
var internals$jscomp$inline_2318 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2308 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2308.isDisabled &&
|
||||
hook$jscomp$inline_2308.supportsFiber
|
||||
!hook$jscomp$inline_2319.isDisabled &&
|
||||
hook$jscomp$inline_2319.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2308.inject(
|
||||
internals$jscomp$inline_2307
|
||||
(rendererID = hook$jscomp$inline_2319.inject(
|
||||
internals$jscomp$inline_2318
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2308);
|
||||
(injectedHook = hook$jscomp$inline_2319);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17650,4 +17639,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
|
||||
@@ -8442,191 +8442,105 @@ var offscreenSubtreeIsHidden = !1,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
root = root.containerInfo;
|
||||
eventsEnabled = _enabled;
|
||||
root = getActiveElementDeep(root);
|
||||
if (hasSelectionCapabilities(root)) {
|
||||
if ("selectionStart" in root)
|
||||
var JSCompiler_temp = {
|
||||
start: root.selectionStart,
|
||||
end: root.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = root.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$202) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = root,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === root) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };
|
||||
root = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
if (null !== root)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
doesFiberContain(anchorOffset, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(anchorOffset));
|
||||
root = firstChild.child;
|
||||
if (0 !== (firstChild.subtreeFlags & 9236) && null !== root)
|
||||
(root.return = firstChild), (nextEffect = root);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.alternate;
|
||||
JSCompiler_temp = firstChild.flags;
|
||||
if (
|
||||
(anchorOffset =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
) {
|
||||
if ((anchorOffset = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== root &&
|
||||
((anchorOffset = root.memoizedState),
|
||||
null === anchorOffset || null !== anchorOffset.dehydrated)
|
||||
) {
|
||||
anchorOffset = firstChild.memoizedState;
|
||||
anchorOffset =
|
||||
null !== anchorOffset && null === anchorOffset.dehydrated;
|
||||
break a;
|
||||
}
|
||||
anchorOffset = !1;
|
||||
}
|
||||
anchorOffset =
|
||||
anchorOffset && doesFiberContain(firstChild, focusedInstanceHandle);
|
||||
}
|
||||
anchorOffset &&
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(firstChild));
|
||||
switch (firstChild.tag) {
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (JSCompiler_temp & 4) &&
|
||||
((root = firstChild.updateQueue),
|
||||
(root = null !== root ? root.events : null),
|
||||
null !== root)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
(anchorOffset.ref.impl = anchorOffset.nextImpl);
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (JSCompiler_temp & 1024) && null !== root) {
|
||||
JSCompiler_temp = void 0;
|
||||
anchorOffset = firstChild;
|
||||
focusNode = root.memoizedProps;
|
||||
root = root.memoizedState;
|
||||
selection = anchorOffset.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
anchorOffset.type,
|
||||
focusNode,
|
||||
anchorOffset.elementType === anchorOffset.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
JSCompiler_temp = selection.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
root
|
||||
deletion
|
||||
);
|
||||
selection.__reactInternalSnapshotBeforeUpdate = JSCompiler_temp;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate = deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
anchorOffset,
|
||||
anchorOffset.return,
|
||||
error
|
||||
);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
if (
|
||||
((root = firstChild.stateNode.containerInfo),
|
||||
(JSCompiler_temp = root.nodeType),
|
||||
9 === JSCompiler_temp)
|
||||
if (0 !== (flags & 1024))
|
||||
b: if (
|
||||
((deletions = i.stateNode.containerInfo),
|
||||
(i = deletions.nodeType),
|
||||
9 === i)
|
||||
)
|
||||
clearContainerSparingly(root);
|
||||
else if (1 === JSCompiler_temp)
|
||||
switch (root.nodeName) {
|
||||
clearContainerSparingly(deletions);
|
||||
else if (1 === i)
|
||||
switch (deletions.nodeName) {
|
||||
case "HEAD":
|
||||
case "HTML":
|
||||
case "BODY":
|
||||
clearContainerSparingly(root);
|
||||
break;
|
||||
clearContainerSparingly(deletions);
|
||||
break b;
|
||||
default:
|
||||
root.textContent = "";
|
||||
deletions.textContent = "";
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
@@ -8637,22 +8551,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
root = firstChild.sibling;
|
||||
if (null !== root) {
|
||||
root.return = firstChild.return;
|
||||
nextEffect = root;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = firstChild.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -11651,32 +11560,33 @@ function commitRootImpl(
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = 2;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$196 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$196 &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -11733,7 +11643,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$197 = rootWithPendingPassiveEffects,
|
||||
var root$196 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
pendingPassiveEffectsRemainingLanes = 0;
|
||||
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
||||
@@ -11748,7 +11658,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
releaseRootPooledCache(root$197, remainingLanes);
|
||||
releaseRootPooledCache(root$196, remainingLanes);
|
||||
}
|
||||
}
|
||||
return !1;
|
||||
@@ -12974,14 +12884,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$355;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1546 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1546) {
|
||||
var element$jscomp$inline_1547 = document.createElement("div");
|
||||
element$jscomp$inline_1547.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1546 =
|
||||
"function" === typeof element$jscomp$inline_1547.oninput;
|
||||
var isSupported$jscomp$inline_1550 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1550) {
|
||||
var element$jscomp$inline_1551 = document.createElement("div");
|
||||
element$jscomp$inline_1551.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1550 =
|
||||
"function" === typeof element$jscomp$inline_1551.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$355 = isSupported$jscomp$inline_1546;
|
||||
JSCompiler_inline_result$jscomp$355 = isSupported$jscomp$inline_1550;
|
||||
} else JSCompiler_inline_result$jscomp$355 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$355 &&
|
||||
@@ -13395,20 +13305,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1587 = 0;
|
||||
i$jscomp$inline_1587 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1587++
|
||||
var i$jscomp$inline_1591 = 0;
|
||||
i$jscomp$inline_1591 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1591++
|
||||
) {
|
||||
var eventName$jscomp$inline_1588 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1587],
|
||||
domEventName$jscomp$inline_1589 =
|
||||
eventName$jscomp$inline_1588.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1590 =
|
||||
eventName$jscomp$inline_1588[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1588.slice(1);
|
||||
var eventName$jscomp$inline_1592 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1591],
|
||||
domEventName$jscomp$inline_1593 =
|
||||
eventName$jscomp$inline_1592.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1594 =
|
||||
eventName$jscomp$inline_1592[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1592.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1589,
|
||||
"on" + capitalizedEvent$jscomp$inline_1590
|
||||
domEventName$jscomp$inline_1593,
|
||||
"on" + capitalizedEvent$jscomp$inline_1594
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14697,34 +14607,34 @@ function setInitialProperties(domElement, tag, props) {
|
||||
defaultChecked = null;
|
||||
for (hasSrc in props)
|
||||
if (props.hasOwnProperty(hasSrc)) {
|
||||
var propValue$216 = props[hasSrc];
|
||||
if (null != propValue$216)
|
||||
var propValue$215 = props[hasSrc];
|
||||
if (null != propValue$215)
|
||||
switch (hasSrc) {
|
||||
case "name":
|
||||
hasSrcSet = propValue$216;
|
||||
hasSrcSet = propValue$215;
|
||||
break;
|
||||
case "type":
|
||||
propKey = propValue$216;
|
||||
propKey = propValue$215;
|
||||
break;
|
||||
case "checked":
|
||||
checked = propValue$216;
|
||||
checked = propValue$215;
|
||||
break;
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue$216;
|
||||
defaultChecked = propValue$215;
|
||||
break;
|
||||
case "value":
|
||||
propValue = propValue$216;
|
||||
propValue = propValue$215;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = propValue$216;
|
||||
defaultValue = propValue$215;
|
||||
break;
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propValue$216)
|
||||
if (null != propValue$215)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
setProp(domElement, tag, hasSrc, propValue$216, props, null);
|
||||
setProp(domElement, tag, hasSrc, propValue$215, props, null);
|
||||
}
|
||||
}
|
||||
initInput(
|
||||
@@ -14860,14 +14770,14 @@ function setInitialProperties(domElement, tag, props) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (propValue$216 in props)
|
||||
props.hasOwnProperty(propValue$216) &&
|
||||
((hasSrc = props[propValue$216]),
|
||||
for (propValue$215 in props)
|
||||
props.hasOwnProperty(propValue$215) &&
|
||||
((hasSrc = props[propValue$215]),
|
||||
void 0 !== hasSrc &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propValue$216,
|
||||
propValue$215,
|
||||
hasSrc,
|
||||
props,
|
||||
void 0
|
||||
@@ -14915,14 +14825,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
||||
}
|
||||
}
|
||||
for (var propKey$233 in nextProps) {
|
||||
var propKey = nextProps[propKey$233];
|
||||
lastProp = lastProps[propKey$233];
|
||||
for (var propKey$232 in nextProps) {
|
||||
var propKey = nextProps[propKey$232];
|
||||
lastProp = lastProps[propKey$232];
|
||||
if (
|
||||
nextProps.hasOwnProperty(propKey$233) &&
|
||||
nextProps.hasOwnProperty(propKey$232) &&
|
||||
(null != propKey || null != lastProp)
|
||||
)
|
||||
switch (propKey$233) {
|
||||
switch (propKey$232) {
|
||||
case "type":
|
||||
type = propKey;
|
||||
break;
|
||||
@@ -14951,7 +14861,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
propKey,
|
||||
nextProps,
|
||||
lastProp
|
||||
@@ -14970,7 +14880,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
);
|
||||
return;
|
||||
case "select":
|
||||
propKey = value = defaultValue = propKey$233 = null;
|
||||
propKey = value = defaultValue = propKey$232 = null;
|
||||
for (type in lastProps)
|
||||
if (
|
||||
((lastDefaultValue = lastProps[type]),
|
||||
@@ -15001,7 +14911,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (name) {
|
||||
case "value":
|
||||
propKey$233 = type;
|
||||
propKey$232 = type;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = type;
|
||||
@@ -15022,15 +14932,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
tag = defaultValue;
|
||||
lastProps = value;
|
||||
nextProps = propKey;
|
||||
null != propKey$233
|
||||
? updateOptions(domElement, !!lastProps, propKey$233, !1)
|
||||
null != propKey$232
|
||||
? updateOptions(domElement, !!lastProps, propKey$232, !1)
|
||||
: !!nextProps !== !!lastProps &&
|
||||
(null != tag
|
||||
? updateOptions(domElement, !!lastProps, tag, !0)
|
||||
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
||||
return;
|
||||
case "textarea":
|
||||
propKey = propKey$233 = null;
|
||||
propKey = propKey$232 = null;
|
||||
for (defaultValue in lastProps)
|
||||
if (
|
||||
((name = lastProps[defaultValue]),
|
||||
@@ -15054,7 +14964,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (value) {
|
||||
case "value":
|
||||
propKey$233 = name;
|
||||
propKey$232 = name;
|
||||
break;
|
||||
case "defaultValue":
|
||||
propKey = name;
|
||||
@@ -15068,17 +14978,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
name !== type &&
|
||||
setProp(domElement, tag, value, name, nextProps, type);
|
||||
}
|
||||
updateTextarea(domElement, propKey$233, propKey);
|
||||
updateTextarea(domElement, propKey$232, propKey);
|
||||
return;
|
||||
case "option":
|
||||
for (var propKey$249 in lastProps)
|
||||
for (var propKey$248 in lastProps)
|
||||
if (
|
||||
((propKey$233 = lastProps[propKey$249]),
|
||||
lastProps.hasOwnProperty(propKey$249) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$249))
|
||||
((propKey$232 = lastProps[propKey$248]),
|
||||
lastProps.hasOwnProperty(propKey$248) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$248))
|
||||
)
|
||||
switch (propKey$249) {
|
||||
switch (propKey$248) {
|
||||
case "selected":
|
||||
domElement.selected = !1;
|
||||
break;
|
||||
@@ -15086,33 +14996,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$249,
|
||||
propKey$248,
|
||||
null,
|
||||
nextProps,
|
||||
propKey$233
|
||||
propKey$232
|
||||
);
|
||||
}
|
||||
for (lastDefaultValue in nextProps)
|
||||
if (
|
||||
((propKey$233 = nextProps[lastDefaultValue]),
|
||||
((propKey$232 = nextProps[lastDefaultValue]),
|
||||
(propKey = lastProps[lastDefaultValue]),
|
||||
nextProps.hasOwnProperty(lastDefaultValue) &&
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
propKey$232 !== propKey &&
|
||||
(null != propKey$232 || null != propKey))
|
||||
)
|
||||
switch (lastDefaultValue) {
|
||||
case "selected":
|
||||
domElement.selected =
|
||||
propKey$233 &&
|
||||
"function" !== typeof propKey$233 &&
|
||||
"symbol" !== typeof propKey$233;
|
||||
propKey$232 &&
|
||||
"function" !== typeof propKey$232 &&
|
||||
"symbol" !== typeof propKey$232;
|
||||
break;
|
||||
default:
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
lastDefaultValue,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15133,24 +15043,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
case "track":
|
||||
case "wbr":
|
||||
case "menuitem":
|
||||
for (var propKey$254 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$254]),
|
||||
lastProps.hasOwnProperty(propKey$254) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$254) &&
|
||||
setProp(domElement, tag, propKey$254, null, nextProps, propKey$233);
|
||||
for (var propKey$253 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$253]),
|
||||
lastProps.hasOwnProperty(propKey$253) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$253) &&
|
||||
setProp(domElement, tag, propKey$253, null, nextProps, propKey$232);
|
||||
for (checked in nextProps)
|
||||
if (
|
||||
((propKey$233 = nextProps[checked]),
|
||||
((propKey$232 = nextProps[checked]),
|
||||
(propKey = lastProps[checked]),
|
||||
nextProps.hasOwnProperty(checked) &&
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
propKey$232 !== propKey &&
|
||||
(null != propKey$232 || null != propKey))
|
||||
)
|
||||
switch (checked) {
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propKey$233)
|
||||
if (null != propKey$232)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
@@ -15158,7 +15068,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
domElement,
|
||||
tag,
|
||||
checked,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15166,49 +15076,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (var propKey$259 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$259]),
|
||||
lastProps.hasOwnProperty(propKey$259) &&
|
||||
void 0 !== propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$259) &&
|
||||
for (var propKey$258 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$258]),
|
||||
lastProps.hasOwnProperty(propKey$258) &&
|
||||
void 0 !== propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$258) &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$259,
|
||||
propKey$258,
|
||||
void 0,
|
||||
nextProps,
|
||||
propKey$233
|
||||
propKey$232
|
||||
);
|
||||
for (defaultChecked in nextProps)
|
||||
(propKey$233 = nextProps[defaultChecked]),
|
||||
(propKey$232 = nextProps[defaultChecked]),
|
||||
(propKey = lastProps[defaultChecked]),
|
||||
!nextProps.hasOwnProperty(defaultChecked) ||
|
||||
propKey$233 === propKey ||
|
||||
(void 0 === propKey$233 && void 0 === propKey) ||
|
||||
propKey$232 === propKey ||
|
||||
(void 0 === propKey$232 && void 0 === propKey) ||
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
defaultChecked,
|
||||
propKey$233,
|
||||
propKey$232,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var propKey$264 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$264]),
|
||||
lastProps.hasOwnProperty(propKey$264) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$264) &&
|
||||
setProp(domElement, tag, propKey$264, null, nextProps, propKey$233);
|
||||
for (var propKey$263 in lastProps)
|
||||
(propKey$232 = lastProps[propKey$263]),
|
||||
lastProps.hasOwnProperty(propKey$263) &&
|
||||
null != propKey$232 &&
|
||||
!nextProps.hasOwnProperty(propKey$263) &&
|
||||
setProp(domElement, tag, propKey$263, null, nextProps, propKey$232);
|
||||
for (lastProp in nextProps)
|
||||
(propKey$233 = nextProps[lastProp]),
|
||||
(propKey$232 = nextProps[lastProp]),
|
||||
(propKey = lastProps[lastProp]),
|
||||
!nextProps.hasOwnProperty(lastProp) ||
|
||||
propKey$233 === propKey ||
|
||||
(null == propKey$233 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$233, nextProps, propKey);
|
||||
propKey$232 === propKey ||
|
||||
(null == propKey$232 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$232, nextProps, propKey);
|
||||
}
|
||||
var eventsEnabled = null,
|
||||
selectionInformation = null;
|
||||
@@ -15241,6 +15151,85 @@ function getChildHostContextProd(parentNamespace, type) {
|
||||
? 0
|
||||
: parentNamespace;
|
||||
}
|
||||
function prepareForCommit(containerInfo) {
|
||||
eventsEnabled = _enabled;
|
||||
containerInfo = getActiveElementDeep(containerInfo);
|
||||
if (hasSelectionCapabilities(containerInfo)) {
|
||||
if ("selectionStart" in containerInfo)
|
||||
var JSCompiler_temp = {
|
||||
start: containerInfo.selectionStart,
|
||||
end: containerInfo.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = containerInfo.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$201) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = containerInfo,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === containerInfo) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = {
|
||||
focusedElem: containerInfo,
|
||||
selectionRange: JSCompiler_temp
|
||||
};
|
||||
containerInfo = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(containerInfo = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
return containerInfo;
|
||||
}
|
||||
function beforeActiveInstanceBlur(internalInstanceHandle) {
|
||||
_enabled = !0;
|
||||
var target = selectionInformation.focusedElem,
|
||||
@@ -15805,26 +15794,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
"string" === typeof pendingProps.precedence
|
||||
) {
|
||||
type = getStyleKey(pendingProps.href);
|
||||
var styles$272 = getResourcesFromRoot(
|
||||
var styles$271 = getResourcesFromRoot(
|
||||
JSCompiler_inline_result
|
||||
).hoistableStyles,
|
||||
resource$273 = styles$272.get(type);
|
||||
resource$273 ||
|
||||
resource$272 = styles$271.get(type);
|
||||
resource$272 ||
|
||||
((JSCompiler_inline_result =
|
||||
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
||||
(resource$273 = {
|
||||
(resource$272 = {
|
||||
type: "stylesheet",
|
||||
instance: null,
|
||||
count: 0,
|
||||
state: { loading: 0, preload: null }
|
||||
}),
|
||||
styles$272.set(type, resource$273),
|
||||
(styles$272 = JSCompiler_inline_result.querySelector(
|
||||
styles$271.set(type, resource$272),
|
||||
(styles$271 = JSCompiler_inline_result.querySelector(
|
||||
getStylesheetSelectorFromKey(type)
|
||||
)) &&
|
||||
!styles$272._p &&
|
||||
((resource$273.instance = styles$272),
|
||||
(resource$273.state.loading = 5)),
|
||||
!styles$271._p &&
|
||||
((resource$272.instance = styles$271),
|
||||
(resource$272.state.loading = 5)),
|
||||
preloadPropsMap.has(type) ||
|
||||
((pendingProps = {
|
||||
rel: "preload",
|
||||
@@ -15837,16 +15826,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
referrerPolicy: pendingProps.referrerPolicy
|
||||
}),
|
||||
preloadPropsMap.set(type, pendingProps),
|
||||
styles$272 ||
|
||||
styles$271 ||
|
||||
preloadStylesheet(
|
||||
JSCompiler_inline_result,
|
||||
type,
|
||||
pendingProps,
|
||||
resource$273.state
|
||||
resource$272.state
|
||||
)));
|
||||
if (currentProps && null === currentResource)
|
||||
throw Error(formatProdErrorMessage(528, ""));
|
||||
return resource$273;
|
||||
return resource$272;
|
||||
}
|
||||
if (currentProps && null !== currentResource)
|
||||
throw Error(formatProdErrorMessage(529, ""));
|
||||
@@ -15943,37 +15932,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
return (resource.instance = instance);
|
||||
case "stylesheet":
|
||||
styleProps = getStyleKey(props.href);
|
||||
var instance$278 = hoistableRoot.querySelector(
|
||||
var instance$277 = hoistableRoot.querySelector(
|
||||
getStylesheetSelectorFromKey(styleProps)
|
||||
);
|
||||
if (instance$278)
|
||||
if (instance$277)
|
||||
return (
|
||||
(resource.state.loading |= 4),
|
||||
(resource.instance = instance$278),
|
||||
markNodeAsHoistable(instance$278),
|
||||
instance$278
|
||||
(resource.instance = instance$277),
|
||||
markNodeAsHoistable(instance$277),
|
||||
instance$277
|
||||
);
|
||||
instance = stylesheetPropsFromRawProps(props);
|
||||
(styleProps = preloadPropsMap.get(styleProps)) &&
|
||||
adoptPreloadPropsForStylesheet(instance, styleProps);
|
||||
instance$278 = (
|
||||
instance$277 = (
|
||||
hoistableRoot.ownerDocument || hoistableRoot
|
||||
).createElement("link");
|
||||
markNodeAsHoistable(instance$278);
|
||||
var linkInstance = instance$278;
|
||||
markNodeAsHoistable(instance$277);
|
||||
var linkInstance = instance$277;
|
||||
linkInstance._p = new Promise(function (resolve, reject) {
|
||||
linkInstance.onload = resolve;
|
||||
linkInstance.onerror = reject;
|
||||
});
|
||||
setInitialProperties(instance$278, "link", instance);
|
||||
setInitialProperties(instance$277, "link", instance);
|
||||
resource.state.loading |= 4;
|
||||
insertStylesheet(instance$278, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$278);
|
||||
insertStylesheet(instance$277, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$277);
|
||||
case "script":
|
||||
instance$278 = getScriptKey(props.src);
|
||||
instance$277 = getScriptKey(props.src);
|
||||
if (
|
||||
(styleProps = hoistableRoot.querySelector(
|
||||
getScriptSelectorFromKey(instance$278)
|
||||
getScriptSelectorFromKey(instance$277)
|
||||
))
|
||||
)
|
||||
return (
|
||||
@@ -15982,7 +15971,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
styleProps
|
||||
);
|
||||
instance = props;
|
||||
if ((styleProps = preloadPropsMap.get(instance$278)))
|
||||
if ((styleProps = preloadPropsMap.get(instance$277)))
|
||||
(instance = assign({}, props)),
|
||||
adoptPreloadPropsForScript(instance, styleProps);
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
@@ -16986,16 +16975,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1760 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1767 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-6ca7fbe8-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760
|
||||
"19.1.0-www-modern-d8b903f4-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1760,
|
||||
"19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767,
|
||||
"19.1.0-www-modern-d8b903f4-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17011,24 +17000,24 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2289 = {
|
||||
var internals$jscomp$inline_2300 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2290 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2301 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2290.isDisabled &&
|
||||
hook$jscomp$inline_2290.supportsFiber
|
||||
!hook$jscomp$inline_2301.isDisabled &&
|
||||
hook$jscomp$inline_2301.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2290.inject(
|
||||
internals$jscomp$inline_2289
|
||||
(rendererID = hook$jscomp$inline_2301.inject(
|
||||
internals$jscomp$inline_2300
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2290);
|
||||
(injectedHook = hook$jscomp$inline_2301);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17381,4 +17370,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -9150,5 +9150,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -8976,5 +8976,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -5898,4 +5898,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
|
||||
@@ -5810,4 +5810,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
|
||||
@@ -13008,6 +13008,7 @@ __DEV__ &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
@@ -13119,10 +13120,7 @@ __DEV__ &&
|
||||
nextEffect = firstChild.return;
|
||||
}
|
||||
}
|
||||
firstChild = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return firstChild;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -16843,44 +16841,41 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = DiscreteEventPriority;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -27720,11 +27715,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-d8b903f4-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-d8b903f4-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27767,10 +27762,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28534,5 +28529,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -12807,6 +12807,7 @@ __DEV__ &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
@@ -12918,10 +12919,7 @@ __DEV__ &&
|
||||
nextEffect = firstChild.return;
|
||||
}
|
||||
}
|
||||
firstChild = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return firstChild;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -16638,44 +16636,41 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = DiscreteEventPriority;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -27499,11 +27494,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-6ca7fbe8-20250102" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-d8b903f4-20250102" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-6ca7fbe8-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-d8b903f4-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27546,10 +27541,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28313,5 +28308,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -8777,191 +8777,105 @@ var offscreenSubtreeIsHidden = !1,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
root = root.containerInfo;
|
||||
eventsEnabled = _enabled;
|
||||
root = getActiveElementDeep(root);
|
||||
if (hasSelectionCapabilities(root)) {
|
||||
if ("selectionStart" in root)
|
||||
var JSCompiler_temp = {
|
||||
start: root.selectionStart,
|
||||
end: root.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = root.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$203) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = root,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === root) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };
|
||||
root = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
if (null !== root)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
doesFiberContain(anchorOffset, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(anchorOffset));
|
||||
root = firstChild.child;
|
||||
if (0 !== (firstChild.subtreeFlags & 9236) && null !== root)
|
||||
(root.return = firstChild), (nextEffect = root);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.alternate;
|
||||
JSCompiler_temp = firstChild.flags;
|
||||
if (
|
||||
(anchorOffset =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
) {
|
||||
if ((anchorOffset = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== root &&
|
||||
((anchorOffset = root.memoizedState),
|
||||
null === anchorOffset || null !== anchorOffset.dehydrated)
|
||||
) {
|
||||
anchorOffset = firstChild.memoizedState;
|
||||
anchorOffset =
|
||||
null !== anchorOffset && null === anchorOffset.dehydrated;
|
||||
break a;
|
||||
}
|
||||
anchorOffset = !1;
|
||||
}
|
||||
anchorOffset =
|
||||
anchorOffset && doesFiberContain(firstChild, focusedInstanceHandle);
|
||||
}
|
||||
anchorOffset &&
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(firstChild));
|
||||
switch (firstChild.tag) {
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (JSCompiler_temp & 4) &&
|
||||
((root = firstChild.updateQueue),
|
||||
(root = null !== root ? root.events : null),
|
||||
null !== root)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
(anchorOffset.ref.impl = anchorOffset.nextImpl);
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (JSCompiler_temp & 1024) && null !== root) {
|
||||
JSCompiler_temp = void 0;
|
||||
anchorOffset = firstChild;
|
||||
focusNode = root.memoizedProps;
|
||||
root = root.memoizedState;
|
||||
selection = anchorOffset.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
anchorOffset.type,
|
||||
focusNode,
|
||||
anchorOffset.elementType === anchorOffset.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
JSCompiler_temp = selection.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
root
|
||||
deletion
|
||||
);
|
||||
selection.__reactInternalSnapshotBeforeUpdate = JSCompiler_temp;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate = deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
anchorOffset,
|
||||
anchorOffset.return,
|
||||
error
|
||||
);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
if (
|
||||
((root = firstChild.stateNode.containerInfo),
|
||||
(JSCompiler_temp = root.nodeType),
|
||||
9 === JSCompiler_temp)
|
||||
if (0 !== (flags & 1024))
|
||||
b: if (
|
||||
((deletions = i.stateNode.containerInfo),
|
||||
(i = deletions.nodeType),
|
||||
9 === i)
|
||||
)
|
||||
clearContainerSparingly(root);
|
||||
else if (1 === JSCompiler_temp)
|
||||
switch (root.nodeName) {
|
||||
clearContainerSparingly(deletions);
|
||||
else if (1 === i)
|
||||
switch (deletions.nodeName) {
|
||||
case "HEAD":
|
||||
case "HTML":
|
||||
case "BODY":
|
||||
clearContainerSparingly(root);
|
||||
break;
|
||||
clearContainerSparingly(deletions);
|
||||
break b;
|
||||
default:
|
||||
root.textContent = "";
|
||||
deletions.textContent = "";
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
@@ -8972,22 +8886,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
root = firstChild.sibling;
|
||||
if (null !== root) {
|
||||
root.return = firstChild.return;
|
||||
nextEffect = root;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = firstChild.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -12176,32 +12085,33 @@ function commitRootImpl(
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = 2;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$197 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$197 &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12258,7 +12168,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$198 = rootWithPendingPassiveEffects,
|
||||
var root$197 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
pendingPassiveEffectsRemainingLanes = 0;
|
||||
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
||||
@@ -12273,7 +12183,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
releaseRootPooledCache(root$198, remainingLanes);
|
||||
releaseRootPooledCache(root$197, remainingLanes);
|
||||
}
|
||||
}
|
||||
return !1;
|
||||
@@ -13510,14 +13420,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$354;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1585 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1585) {
|
||||
var element$jscomp$inline_1586 = document.createElement("div");
|
||||
element$jscomp$inline_1586.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1585 =
|
||||
"function" === typeof element$jscomp$inline_1586.oninput;
|
||||
var isSupported$jscomp$inline_1589 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1589) {
|
||||
var element$jscomp$inline_1590 = document.createElement("div");
|
||||
element$jscomp$inline_1590.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1589 =
|
||||
"function" === typeof element$jscomp$inline_1590.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1585;
|
||||
JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1589;
|
||||
} else JSCompiler_inline_result$jscomp$354 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$354 &&
|
||||
@@ -13931,20 +13841,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1626 = 0;
|
||||
i$jscomp$inline_1626 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1626++
|
||||
var i$jscomp$inline_1630 = 0;
|
||||
i$jscomp$inline_1630 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1630++
|
||||
) {
|
||||
var eventName$jscomp$inline_1627 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1626],
|
||||
domEventName$jscomp$inline_1628 =
|
||||
eventName$jscomp$inline_1627.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1629 =
|
||||
eventName$jscomp$inline_1627[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1627.slice(1);
|
||||
var eventName$jscomp$inline_1631 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1630],
|
||||
domEventName$jscomp$inline_1632 =
|
||||
eventName$jscomp$inline_1631.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1633 =
|
||||
eventName$jscomp$inline_1631[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1631.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1628,
|
||||
"on" + capitalizedEvent$jscomp$inline_1629
|
||||
domEventName$jscomp$inline_1632,
|
||||
"on" + capitalizedEvent$jscomp$inline_1633
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -15237,34 +15147,34 @@ function setInitialProperties(domElement, tag, props) {
|
||||
defaultChecked = null;
|
||||
for (hasSrc in props)
|
||||
if (props.hasOwnProperty(hasSrc)) {
|
||||
var propValue$217 = props[hasSrc];
|
||||
if (null != propValue$217)
|
||||
var propValue$216 = props[hasSrc];
|
||||
if (null != propValue$216)
|
||||
switch (hasSrc) {
|
||||
case "name":
|
||||
hasSrcSet = propValue$217;
|
||||
hasSrcSet = propValue$216;
|
||||
break;
|
||||
case "type":
|
||||
propValue = propValue$217;
|
||||
propValue = propValue$216;
|
||||
break;
|
||||
case "checked":
|
||||
checked = propValue$217;
|
||||
checked = propValue$216;
|
||||
break;
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue$217;
|
||||
defaultChecked = propValue$216;
|
||||
break;
|
||||
case "value":
|
||||
propKey = propValue$217;
|
||||
propKey = propValue$216;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = propValue$217;
|
||||
defaultValue = propValue$216;
|
||||
break;
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propValue$217)
|
||||
if (null != propValue$216)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
setProp(domElement, tag, hasSrc, propValue$217, props, null);
|
||||
setProp(domElement, tag, hasSrc, propValue$216, props, null);
|
||||
}
|
||||
}
|
||||
initInput(
|
||||
@@ -15401,14 +15311,14 @@ function setInitialProperties(domElement, tag, props) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (propValue$217 in props)
|
||||
props.hasOwnProperty(propValue$217) &&
|
||||
((hasSrc = props[propValue$217]),
|
||||
for (propValue$216 in props)
|
||||
props.hasOwnProperty(propValue$216) &&
|
||||
((hasSrc = props[propValue$216]),
|
||||
void 0 !== hasSrc &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propValue$217,
|
||||
propValue$216,
|
||||
hasSrc,
|
||||
props,
|
||||
void 0
|
||||
@@ -15456,14 +15366,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
||||
}
|
||||
}
|
||||
for (var propKey$234 in nextProps) {
|
||||
var propKey = nextProps[propKey$234];
|
||||
lastProp = lastProps[propKey$234];
|
||||
for (var propKey$233 in nextProps) {
|
||||
var propKey = nextProps[propKey$233];
|
||||
lastProp = lastProps[propKey$233];
|
||||
if (
|
||||
nextProps.hasOwnProperty(propKey$234) &&
|
||||
nextProps.hasOwnProperty(propKey$233) &&
|
||||
(null != propKey || null != lastProp)
|
||||
)
|
||||
switch (propKey$234) {
|
||||
switch (propKey$233) {
|
||||
case "type":
|
||||
type = propKey;
|
||||
break;
|
||||
@@ -15492,7 +15402,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
propKey,
|
||||
nextProps,
|
||||
lastProp
|
||||
@@ -15511,7 +15421,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
);
|
||||
return;
|
||||
case "select":
|
||||
propKey = value = defaultValue = propKey$234 = null;
|
||||
propKey = value = defaultValue = propKey$233 = null;
|
||||
for (type in lastProps)
|
||||
if (
|
||||
((lastDefaultValue = lastProps[type]),
|
||||
@@ -15542,7 +15452,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (name) {
|
||||
case "value":
|
||||
propKey$234 = type;
|
||||
propKey$233 = type;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = type;
|
||||
@@ -15563,15 +15473,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
tag = defaultValue;
|
||||
lastProps = value;
|
||||
nextProps = propKey;
|
||||
null != propKey$234
|
||||
? updateOptions(domElement, !!lastProps, propKey$234, !1)
|
||||
null != propKey$233
|
||||
? updateOptions(domElement, !!lastProps, propKey$233, !1)
|
||||
: !!nextProps !== !!lastProps &&
|
||||
(null != tag
|
||||
? updateOptions(domElement, !!lastProps, tag, !0)
|
||||
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
||||
return;
|
||||
case "textarea":
|
||||
propKey = propKey$234 = null;
|
||||
propKey = propKey$233 = null;
|
||||
for (defaultValue in lastProps)
|
||||
if (
|
||||
((name = lastProps[defaultValue]),
|
||||
@@ -15595,7 +15505,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (value) {
|
||||
case "value":
|
||||
propKey$234 = name;
|
||||
propKey$233 = name;
|
||||
break;
|
||||
case "defaultValue":
|
||||
propKey = name;
|
||||
@@ -15609,17 +15519,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
name !== type &&
|
||||
setProp(domElement, tag, value, name, nextProps, type);
|
||||
}
|
||||
updateTextarea(domElement, propKey$234, propKey);
|
||||
updateTextarea(domElement, propKey$233, propKey);
|
||||
return;
|
||||
case "option":
|
||||
for (var propKey$250 in lastProps)
|
||||
for (var propKey$249 in lastProps)
|
||||
if (
|
||||
((propKey$234 = lastProps[propKey$250]),
|
||||
lastProps.hasOwnProperty(propKey$250) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$250))
|
||||
((propKey$233 = lastProps[propKey$249]),
|
||||
lastProps.hasOwnProperty(propKey$249) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$249))
|
||||
)
|
||||
switch (propKey$250) {
|
||||
switch (propKey$249) {
|
||||
case "selected":
|
||||
domElement.selected = !1;
|
||||
break;
|
||||
@@ -15627,33 +15537,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$250,
|
||||
propKey$249,
|
||||
null,
|
||||
nextProps,
|
||||
propKey$234
|
||||
propKey$233
|
||||
);
|
||||
}
|
||||
for (lastDefaultValue in nextProps)
|
||||
if (
|
||||
((propKey$234 = nextProps[lastDefaultValue]),
|
||||
((propKey$233 = nextProps[lastDefaultValue]),
|
||||
(propKey = lastProps[lastDefaultValue]),
|
||||
nextProps.hasOwnProperty(lastDefaultValue) &&
|
||||
propKey$234 !== propKey &&
|
||||
(null != propKey$234 || null != propKey))
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
)
|
||||
switch (lastDefaultValue) {
|
||||
case "selected":
|
||||
domElement.selected =
|
||||
propKey$234 &&
|
||||
"function" !== typeof propKey$234 &&
|
||||
"symbol" !== typeof propKey$234;
|
||||
propKey$233 &&
|
||||
"function" !== typeof propKey$233 &&
|
||||
"symbol" !== typeof propKey$233;
|
||||
break;
|
||||
default:
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
lastDefaultValue,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15674,24 +15584,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
case "track":
|
||||
case "wbr":
|
||||
case "menuitem":
|
||||
for (var propKey$255 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$255]),
|
||||
lastProps.hasOwnProperty(propKey$255) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$255) &&
|
||||
setProp(domElement, tag, propKey$255, null, nextProps, propKey$234);
|
||||
for (var propKey$254 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$254]),
|
||||
lastProps.hasOwnProperty(propKey$254) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$254) &&
|
||||
setProp(domElement, tag, propKey$254, null, nextProps, propKey$233);
|
||||
for (checked in nextProps)
|
||||
if (
|
||||
((propKey$234 = nextProps[checked]),
|
||||
((propKey$233 = nextProps[checked]),
|
||||
(propKey = lastProps[checked]),
|
||||
nextProps.hasOwnProperty(checked) &&
|
||||
propKey$234 !== propKey &&
|
||||
(null != propKey$234 || null != propKey))
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
)
|
||||
switch (checked) {
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propKey$234)
|
||||
if (null != propKey$233)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
@@ -15699,7 +15609,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
domElement,
|
||||
tag,
|
||||
checked,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15707,49 +15617,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (var propKey$260 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$260]),
|
||||
lastProps.hasOwnProperty(propKey$260) &&
|
||||
void 0 !== propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$260) &&
|
||||
for (var propKey$259 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$259]),
|
||||
lastProps.hasOwnProperty(propKey$259) &&
|
||||
void 0 !== propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$259) &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$260,
|
||||
propKey$259,
|
||||
void 0,
|
||||
nextProps,
|
||||
propKey$234
|
||||
propKey$233
|
||||
);
|
||||
for (defaultChecked in nextProps)
|
||||
(propKey$234 = nextProps[defaultChecked]),
|
||||
(propKey$233 = nextProps[defaultChecked]),
|
||||
(propKey = lastProps[defaultChecked]),
|
||||
!nextProps.hasOwnProperty(defaultChecked) ||
|
||||
propKey$234 === propKey ||
|
||||
(void 0 === propKey$234 && void 0 === propKey) ||
|
||||
propKey$233 === propKey ||
|
||||
(void 0 === propKey$233 && void 0 === propKey) ||
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
defaultChecked,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var propKey$265 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$265]),
|
||||
lastProps.hasOwnProperty(propKey$265) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$265) &&
|
||||
setProp(domElement, tag, propKey$265, null, nextProps, propKey$234);
|
||||
for (var propKey$264 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$264]),
|
||||
lastProps.hasOwnProperty(propKey$264) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$264) &&
|
||||
setProp(domElement, tag, propKey$264, null, nextProps, propKey$233);
|
||||
for (lastProp in nextProps)
|
||||
(propKey$234 = nextProps[lastProp]),
|
||||
(propKey$233 = nextProps[lastProp]),
|
||||
(propKey = lastProps[lastProp]),
|
||||
!nextProps.hasOwnProperty(lastProp) ||
|
||||
propKey$234 === propKey ||
|
||||
(null == propKey$234 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$234, nextProps, propKey);
|
||||
propKey$233 === propKey ||
|
||||
(null == propKey$233 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$233, nextProps, propKey);
|
||||
}
|
||||
var eventsEnabled = null,
|
||||
selectionInformation = null;
|
||||
@@ -15782,6 +15692,85 @@ function getChildHostContextProd(parentNamespace, type) {
|
||||
? 0
|
||||
: parentNamespace;
|
||||
}
|
||||
function prepareForCommit(containerInfo) {
|
||||
eventsEnabled = _enabled;
|
||||
containerInfo = getActiveElementDeep(containerInfo);
|
||||
if (hasSelectionCapabilities(containerInfo)) {
|
||||
if ("selectionStart" in containerInfo)
|
||||
var JSCompiler_temp = {
|
||||
start: containerInfo.selectionStart,
|
||||
end: containerInfo.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = containerInfo.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$202) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = containerInfo,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === containerInfo) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = {
|
||||
focusedElem: containerInfo,
|
||||
selectionRange: JSCompiler_temp
|
||||
};
|
||||
containerInfo = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(containerInfo = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
return containerInfo;
|
||||
}
|
||||
function beforeActiveInstanceBlur(internalInstanceHandle) {
|
||||
_enabled = !0;
|
||||
var target = selectionInformation.focusedElem,
|
||||
@@ -16403,26 +16392,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
"string" === typeof pendingProps.precedence
|
||||
) {
|
||||
type = getStyleKey(pendingProps.href);
|
||||
var styles$273 = getResourcesFromRoot(
|
||||
var styles$272 = getResourcesFromRoot(
|
||||
JSCompiler_inline_result
|
||||
).hoistableStyles,
|
||||
resource$274 = styles$273.get(type);
|
||||
resource$274 ||
|
||||
resource$273 = styles$272.get(type);
|
||||
resource$273 ||
|
||||
((JSCompiler_inline_result =
|
||||
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
||||
(resource$274 = {
|
||||
(resource$273 = {
|
||||
type: "stylesheet",
|
||||
instance: null,
|
||||
count: 0,
|
||||
state: { loading: 0, preload: null }
|
||||
}),
|
||||
styles$273.set(type, resource$274),
|
||||
(styles$273 = JSCompiler_inline_result.querySelector(
|
||||
styles$272.set(type, resource$273),
|
||||
(styles$272 = JSCompiler_inline_result.querySelector(
|
||||
getStylesheetSelectorFromKey(type)
|
||||
)) &&
|
||||
!styles$273._p &&
|
||||
((resource$274.instance = styles$273),
|
||||
(resource$274.state.loading = 5)),
|
||||
!styles$272._p &&
|
||||
((resource$273.instance = styles$272),
|
||||
(resource$273.state.loading = 5)),
|
||||
preloadPropsMap.has(type) ||
|
||||
((pendingProps = {
|
||||
rel: "preload",
|
||||
@@ -16435,16 +16424,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
referrerPolicy: pendingProps.referrerPolicy
|
||||
}),
|
||||
preloadPropsMap.set(type, pendingProps),
|
||||
styles$273 ||
|
||||
styles$272 ||
|
||||
preloadStylesheet(
|
||||
JSCompiler_inline_result,
|
||||
type,
|
||||
pendingProps,
|
||||
resource$274.state
|
||||
resource$273.state
|
||||
)));
|
||||
if (currentProps && null === currentResource)
|
||||
throw Error(formatProdErrorMessage(528, ""));
|
||||
return resource$274;
|
||||
return resource$273;
|
||||
}
|
||||
if (currentProps && null !== currentResource)
|
||||
throw Error(formatProdErrorMessage(529, ""));
|
||||
@@ -16541,37 +16530,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
return (resource.instance = instance);
|
||||
case "stylesheet":
|
||||
styleProps = getStyleKey(props.href);
|
||||
var instance$279 = hoistableRoot.querySelector(
|
||||
var instance$278 = hoistableRoot.querySelector(
|
||||
getStylesheetSelectorFromKey(styleProps)
|
||||
);
|
||||
if (instance$279)
|
||||
if (instance$278)
|
||||
return (
|
||||
(resource.state.loading |= 4),
|
||||
(resource.instance = instance$279),
|
||||
markNodeAsHoistable(instance$279),
|
||||
instance$279
|
||||
(resource.instance = instance$278),
|
||||
markNodeAsHoistable(instance$278),
|
||||
instance$278
|
||||
);
|
||||
instance = stylesheetPropsFromRawProps(props);
|
||||
(styleProps = preloadPropsMap.get(styleProps)) &&
|
||||
adoptPreloadPropsForStylesheet(instance, styleProps);
|
||||
instance$279 = (
|
||||
instance$278 = (
|
||||
hoistableRoot.ownerDocument || hoistableRoot
|
||||
).createElement("link");
|
||||
markNodeAsHoistable(instance$279);
|
||||
var linkInstance = instance$279;
|
||||
markNodeAsHoistable(instance$278);
|
||||
var linkInstance = instance$278;
|
||||
linkInstance._p = new Promise(function (resolve, reject) {
|
||||
linkInstance.onload = resolve;
|
||||
linkInstance.onerror = reject;
|
||||
});
|
||||
setInitialProperties(instance$279, "link", instance);
|
||||
setInitialProperties(instance$278, "link", instance);
|
||||
resource.state.loading |= 4;
|
||||
insertStylesheet(instance$279, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$279);
|
||||
insertStylesheet(instance$278, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$278);
|
||||
case "script":
|
||||
instance$279 = getScriptKey(props.src);
|
||||
instance$278 = getScriptKey(props.src);
|
||||
if (
|
||||
(styleProps = hoistableRoot.querySelector(
|
||||
getScriptSelectorFromKey(instance$279)
|
||||
getScriptSelectorFromKey(instance$278)
|
||||
))
|
||||
)
|
||||
return (
|
||||
@@ -16580,7 +16569,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
styleProps
|
||||
);
|
||||
instance = props;
|
||||
if ((styleProps = preloadPropsMap.get(instance$279)))
|
||||
if ((styleProps = preloadPropsMap.get(instance$278)))
|
||||
(instance = assign({}, props)),
|
||||
adoptPreloadPropsForScript(instance, styleProps);
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
@@ -17584,16 +17573,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1806 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-6ca7fbe8-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799
|
||||
"19.1.0-www-classic-d8b903f4-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1806
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799,
|
||||
"19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1806,
|
||||
"19.1.0-www-classic-d8b903f4-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17609,24 +17598,24 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2341 = {
|
||||
var internals$jscomp$inline_2352 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2342 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2353 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2342.isDisabled &&
|
||||
hook$jscomp$inline_2342.supportsFiber
|
||||
!hook$jscomp$inline_2353.isDisabled &&
|
||||
hook$jscomp$inline_2353.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2342.inject(
|
||||
internals$jscomp$inline_2341
|
||||
(rendererID = hook$jscomp$inline_2353.inject(
|
||||
internals$jscomp$inline_2352
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2342);
|
||||
(injectedHook = hook$jscomp$inline_2353);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -18130,4 +18119,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
|
||||
@@ -8528,191 +8528,105 @@ var offscreenSubtreeIsHidden = !1,
|
||||
nextEffect = null,
|
||||
focusedInstanceHandle = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
root = root.containerInfo;
|
||||
eventsEnabled = _enabled;
|
||||
root = getActiveElementDeep(root);
|
||||
if (hasSelectionCapabilities(root)) {
|
||||
if ("selectionStart" in root)
|
||||
var JSCompiler_temp = {
|
||||
start: root.selectionStart,
|
||||
end: root.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = root.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$203) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = root,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === root) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };
|
||||
root = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(root = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
focusedInstanceHandle = root;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.deletions;
|
||||
if (null !== root)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
doesFiberContain(anchorOffset, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(anchorOffset));
|
||||
root = firstChild.child;
|
||||
if (0 !== (firstChild.subtreeFlags & 9236) && null !== root)
|
||||
(root.return = firstChild), (nextEffect = root);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = nextEffect;
|
||||
root = firstChild.alternate;
|
||||
JSCompiler_temp = firstChild.flags;
|
||||
if (
|
||||
(anchorOffset =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
) {
|
||||
if ((anchorOffset = 13 === firstChild.tag))
|
||||
a: {
|
||||
if (
|
||||
null !== root &&
|
||||
((anchorOffset = root.memoizedState),
|
||||
null === anchorOffset || null !== anchorOffset.dehydrated)
|
||||
) {
|
||||
anchorOffset = firstChild.memoizedState;
|
||||
anchorOffset =
|
||||
null !== anchorOffset && null === anchorOffset.dehydrated;
|
||||
break a;
|
||||
}
|
||||
anchorOffset = !1;
|
||||
}
|
||||
anchorOffset =
|
||||
anchorOffset && doesFiberContain(firstChild, focusedInstanceHandle);
|
||||
}
|
||||
anchorOffset &&
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(firstChild));
|
||||
switch (firstChild.tag) {
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp || null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (JSCompiler_temp & 4) &&
|
||||
((root = firstChild.updateQueue),
|
||||
(root = null !== root ? root.events : null),
|
||||
null !== root)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (
|
||||
JSCompiler_temp = 0;
|
||||
JSCompiler_temp < root.length;
|
||||
JSCompiler_temp++
|
||||
)
|
||||
(anchorOffset = root[JSCompiler_temp]),
|
||||
(anchorOffset.ref.impl = anchorOffset.nextImpl);
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (JSCompiler_temp & 1024) && null !== root) {
|
||||
JSCompiler_temp = void 0;
|
||||
anchorOffset = firstChild;
|
||||
focusNode = root.memoizedProps;
|
||||
root = root.memoizedState;
|
||||
selection = anchorOffset.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
anchorOffset.type,
|
||||
focusNode,
|
||||
anchorOffset.elementType === anchorOffset.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
JSCompiler_temp = selection.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
root
|
||||
deletion
|
||||
);
|
||||
selection.__reactInternalSnapshotBeforeUpdate = JSCompiler_temp;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate = deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
anchorOffset,
|
||||
anchorOffset.return,
|
||||
error
|
||||
);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
if (
|
||||
((root = firstChild.stateNode.containerInfo),
|
||||
(JSCompiler_temp = root.nodeType),
|
||||
9 === JSCompiler_temp)
|
||||
if (0 !== (flags & 1024))
|
||||
b: if (
|
||||
((deletions = i.stateNode.containerInfo),
|
||||
(i = deletions.nodeType),
|
||||
9 === i)
|
||||
)
|
||||
clearContainerSparingly(root);
|
||||
else if (1 === JSCompiler_temp)
|
||||
switch (root.nodeName) {
|
||||
clearContainerSparingly(deletions);
|
||||
else if (1 === i)
|
||||
switch (deletions.nodeName) {
|
||||
case "HEAD":
|
||||
case "HTML":
|
||||
case "BODY":
|
||||
clearContainerSparingly(root);
|
||||
break;
|
||||
clearContainerSparingly(deletions);
|
||||
break b;
|
||||
default:
|
||||
root.textContent = "";
|
||||
deletions.textContent = "";
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
@@ -8723,22 +8637,17 @@ function commitBeforeMutationEffects(root, firstChild) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (JSCompiler_temp & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
root = firstChild.sibling;
|
||||
if (null !== root) {
|
||||
root.return = firstChild.return;
|
||||
nextEffect = root;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = firstChild.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -11923,32 +11832,33 @@ function commitRootImpl(
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = Internals.p;
|
||||
Internals.p = 2;
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$197 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$197 &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1));
|
||||
restoreSelection(selectionInformation, root.containerInfo);
|
||||
_enabled = !!eventsEnabled;
|
||||
selectionInformation = eventsEnabled = null;
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
Internals.p = updatedLanes;
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = Internals.p),
|
||||
(Internals.p = 2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur &&
|
||||
((_enabled = !0),
|
||||
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
|
||||
(_enabled = !1)),
|
||||
restoreSelection(selectionInformation, root.containerInfo),
|
||||
(_enabled = !!eventsEnabled),
|
||||
(selectionInformation = eventsEnabled = null),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
(Internals.p = updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12005,7 +11915,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
}
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$198 = rootWithPendingPassiveEffects,
|
||||
var root$197 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
pendingPassiveEffectsRemainingLanes = 0;
|
||||
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
||||
@@ -12020,7 +11930,7 @@ function flushPassiveEffects(wasDelayedCommit) {
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
releaseRootPooledCache(root$198, remainingLanes);
|
||||
releaseRootPooledCache(root$197, remainingLanes);
|
||||
}
|
||||
}
|
||||
return !1;
|
||||
@@ -13246,14 +13156,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$357;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1575 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1575) {
|
||||
var element$jscomp$inline_1576 = document.createElement("div");
|
||||
element$jscomp$inline_1576.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1575 =
|
||||
"function" === typeof element$jscomp$inline_1576.oninput;
|
||||
var isSupported$jscomp$inline_1579 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1579) {
|
||||
var element$jscomp$inline_1580 = document.createElement("div");
|
||||
element$jscomp$inline_1580.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1579 =
|
||||
"function" === typeof element$jscomp$inline_1580.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$357 = isSupported$jscomp$inline_1575;
|
||||
JSCompiler_inline_result$jscomp$357 = isSupported$jscomp$inline_1579;
|
||||
} else JSCompiler_inline_result$jscomp$357 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$357 &&
|
||||
@@ -13667,20 +13577,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1616 = 0;
|
||||
i$jscomp$inline_1616 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1616++
|
||||
var i$jscomp$inline_1620 = 0;
|
||||
i$jscomp$inline_1620 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1620++
|
||||
) {
|
||||
var eventName$jscomp$inline_1617 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1616],
|
||||
domEventName$jscomp$inline_1618 =
|
||||
eventName$jscomp$inline_1617.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1619 =
|
||||
eventName$jscomp$inline_1617[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1617.slice(1);
|
||||
var eventName$jscomp$inline_1621 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1620],
|
||||
domEventName$jscomp$inline_1622 =
|
||||
eventName$jscomp$inline_1621.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1623 =
|
||||
eventName$jscomp$inline_1621[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1621.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1618,
|
||||
"on" + capitalizedEvent$jscomp$inline_1619
|
||||
domEventName$jscomp$inline_1622,
|
||||
"on" + capitalizedEvent$jscomp$inline_1623
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14969,34 +14879,34 @@ function setInitialProperties(domElement, tag, props) {
|
||||
defaultChecked = null;
|
||||
for (hasSrc in props)
|
||||
if (props.hasOwnProperty(hasSrc)) {
|
||||
var propValue$217 = props[hasSrc];
|
||||
if (null != propValue$217)
|
||||
var propValue$216 = props[hasSrc];
|
||||
if (null != propValue$216)
|
||||
switch (hasSrc) {
|
||||
case "name":
|
||||
hasSrcSet = propValue$217;
|
||||
hasSrcSet = propValue$216;
|
||||
break;
|
||||
case "type":
|
||||
propKey = propValue$217;
|
||||
propKey = propValue$216;
|
||||
break;
|
||||
case "checked":
|
||||
checked = propValue$217;
|
||||
checked = propValue$216;
|
||||
break;
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue$217;
|
||||
defaultChecked = propValue$216;
|
||||
break;
|
||||
case "value":
|
||||
propValue = propValue$217;
|
||||
propValue = propValue$216;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = propValue$217;
|
||||
defaultValue = propValue$216;
|
||||
break;
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propValue$217)
|
||||
if (null != propValue$216)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
setProp(domElement, tag, hasSrc, propValue$217, props, null);
|
||||
setProp(domElement, tag, hasSrc, propValue$216, props, null);
|
||||
}
|
||||
}
|
||||
initInput(
|
||||
@@ -15132,14 +15042,14 @@ function setInitialProperties(domElement, tag, props) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (propValue$217 in props)
|
||||
props.hasOwnProperty(propValue$217) &&
|
||||
((hasSrc = props[propValue$217]),
|
||||
for (propValue$216 in props)
|
||||
props.hasOwnProperty(propValue$216) &&
|
||||
((hasSrc = props[propValue$216]),
|
||||
void 0 !== hasSrc &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propValue$217,
|
||||
propValue$216,
|
||||
hasSrc,
|
||||
props,
|
||||
void 0
|
||||
@@ -15187,14 +15097,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
||||
}
|
||||
}
|
||||
for (var propKey$234 in nextProps) {
|
||||
var propKey = nextProps[propKey$234];
|
||||
lastProp = lastProps[propKey$234];
|
||||
for (var propKey$233 in nextProps) {
|
||||
var propKey = nextProps[propKey$233];
|
||||
lastProp = lastProps[propKey$233];
|
||||
if (
|
||||
nextProps.hasOwnProperty(propKey$234) &&
|
||||
nextProps.hasOwnProperty(propKey$233) &&
|
||||
(null != propKey || null != lastProp)
|
||||
)
|
||||
switch (propKey$234) {
|
||||
switch (propKey$233) {
|
||||
case "type":
|
||||
type = propKey;
|
||||
break;
|
||||
@@ -15223,7 +15133,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
propKey,
|
||||
nextProps,
|
||||
lastProp
|
||||
@@ -15242,7 +15152,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
);
|
||||
return;
|
||||
case "select":
|
||||
propKey = value = defaultValue = propKey$234 = null;
|
||||
propKey = value = defaultValue = propKey$233 = null;
|
||||
for (type in lastProps)
|
||||
if (
|
||||
((lastDefaultValue = lastProps[type]),
|
||||
@@ -15273,7 +15183,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (name) {
|
||||
case "value":
|
||||
propKey$234 = type;
|
||||
propKey$233 = type;
|
||||
break;
|
||||
case "defaultValue":
|
||||
defaultValue = type;
|
||||
@@ -15294,15 +15204,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
tag = defaultValue;
|
||||
lastProps = value;
|
||||
nextProps = propKey;
|
||||
null != propKey$234
|
||||
? updateOptions(domElement, !!lastProps, propKey$234, !1)
|
||||
null != propKey$233
|
||||
? updateOptions(domElement, !!lastProps, propKey$233, !1)
|
||||
: !!nextProps !== !!lastProps &&
|
||||
(null != tag
|
||||
? updateOptions(domElement, !!lastProps, tag, !0)
|
||||
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
||||
return;
|
||||
case "textarea":
|
||||
propKey = propKey$234 = null;
|
||||
propKey = propKey$233 = null;
|
||||
for (defaultValue in lastProps)
|
||||
if (
|
||||
((name = lastProps[defaultValue]),
|
||||
@@ -15326,7 +15236,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
)
|
||||
switch (value) {
|
||||
case "value":
|
||||
propKey$234 = name;
|
||||
propKey$233 = name;
|
||||
break;
|
||||
case "defaultValue":
|
||||
propKey = name;
|
||||
@@ -15340,17 +15250,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
name !== type &&
|
||||
setProp(domElement, tag, value, name, nextProps, type);
|
||||
}
|
||||
updateTextarea(domElement, propKey$234, propKey);
|
||||
updateTextarea(domElement, propKey$233, propKey);
|
||||
return;
|
||||
case "option":
|
||||
for (var propKey$250 in lastProps)
|
||||
for (var propKey$249 in lastProps)
|
||||
if (
|
||||
((propKey$234 = lastProps[propKey$250]),
|
||||
lastProps.hasOwnProperty(propKey$250) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$250))
|
||||
((propKey$233 = lastProps[propKey$249]),
|
||||
lastProps.hasOwnProperty(propKey$249) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$249))
|
||||
)
|
||||
switch (propKey$250) {
|
||||
switch (propKey$249) {
|
||||
case "selected":
|
||||
domElement.selected = !1;
|
||||
break;
|
||||
@@ -15358,33 +15268,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$250,
|
||||
propKey$249,
|
||||
null,
|
||||
nextProps,
|
||||
propKey$234
|
||||
propKey$233
|
||||
);
|
||||
}
|
||||
for (lastDefaultValue in nextProps)
|
||||
if (
|
||||
((propKey$234 = nextProps[lastDefaultValue]),
|
||||
((propKey$233 = nextProps[lastDefaultValue]),
|
||||
(propKey = lastProps[lastDefaultValue]),
|
||||
nextProps.hasOwnProperty(lastDefaultValue) &&
|
||||
propKey$234 !== propKey &&
|
||||
(null != propKey$234 || null != propKey))
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
)
|
||||
switch (lastDefaultValue) {
|
||||
case "selected":
|
||||
domElement.selected =
|
||||
propKey$234 &&
|
||||
"function" !== typeof propKey$234 &&
|
||||
"symbol" !== typeof propKey$234;
|
||||
propKey$233 &&
|
||||
"function" !== typeof propKey$233 &&
|
||||
"symbol" !== typeof propKey$233;
|
||||
break;
|
||||
default:
|
||||
setProp(
|
||||
domElement,
|
||||
tag,
|
||||
lastDefaultValue,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15405,24 +15315,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
case "track":
|
||||
case "wbr":
|
||||
case "menuitem":
|
||||
for (var propKey$255 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$255]),
|
||||
lastProps.hasOwnProperty(propKey$255) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$255) &&
|
||||
setProp(domElement, tag, propKey$255, null, nextProps, propKey$234);
|
||||
for (var propKey$254 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$254]),
|
||||
lastProps.hasOwnProperty(propKey$254) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$254) &&
|
||||
setProp(domElement, tag, propKey$254, null, nextProps, propKey$233);
|
||||
for (checked in nextProps)
|
||||
if (
|
||||
((propKey$234 = nextProps[checked]),
|
||||
((propKey$233 = nextProps[checked]),
|
||||
(propKey = lastProps[checked]),
|
||||
nextProps.hasOwnProperty(checked) &&
|
||||
propKey$234 !== propKey &&
|
||||
(null != propKey$234 || null != propKey))
|
||||
propKey$233 !== propKey &&
|
||||
(null != propKey$233 || null != propKey))
|
||||
)
|
||||
switch (checked) {
|
||||
case "children":
|
||||
case "dangerouslySetInnerHTML":
|
||||
if (null != propKey$234)
|
||||
if (null != propKey$233)
|
||||
throw Error(formatProdErrorMessage(137, tag));
|
||||
break;
|
||||
default:
|
||||
@@ -15430,7 +15340,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
domElement,
|
||||
tag,
|
||||
checked,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
@@ -15438,49 +15348,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
||||
return;
|
||||
default:
|
||||
if (isCustomElement(tag)) {
|
||||
for (var propKey$260 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$260]),
|
||||
lastProps.hasOwnProperty(propKey$260) &&
|
||||
void 0 !== propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$260) &&
|
||||
for (var propKey$259 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$259]),
|
||||
lastProps.hasOwnProperty(propKey$259) &&
|
||||
void 0 !== propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$259) &&
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
propKey$260,
|
||||
propKey$259,
|
||||
void 0,
|
||||
nextProps,
|
||||
propKey$234
|
||||
propKey$233
|
||||
);
|
||||
for (defaultChecked in nextProps)
|
||||
(propKey$234 = nextProps[defaultChecked]),
|
||||
(propKey$233 = nextProps[defaultChecked]),
|
||||
(propKey = lastProps[defaultChecked]),
|
||||
!nextProps.hasOwnProperty(defaultChecked) ||
|
||||
propKey$234 === propKey ||
|
||||
(void 0 === propKey$234 && void 0 === propKey) ||
|
||||
propKey$233 === propKey ||
|
||||
(void 0 === propKey$233 && void 0 === propKey) ||
|
||||
setPropOnCustomElement(
|
||||
domElement,
|
||||
tag,
|
||||
defaultChecked,
|
||||
propKey$234,
|
||||
propKey$233,
|
||||
nextProps,
|
||||
propKey
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var propKey$265 in lastProps)
|
||||
(propKey$234 = lastProps[propKey$265]),
|
||||
lastProps.hasOwnProperty(propKey$265) &&
|
||||
null != propKey$234 &&
|
||||
!nextProps.hasOwnProperty(propKey$265) &&
|
||||
setProp(domElement, tag, propKey$265, null, nextProps, propKey$234);
|
||||
for (var propKey$264 in lastProps)
|
||||
(propKey$233 = lastProps[propKey$264]),
|
||||
lastProps.hasOwnProperty(propKey$264) &&
|
||||
null != propKey$233 &&
|
||||
!nextProps.hasOwnProperty(propKey$264) &&
|
||||
setProp(domElement, tag, propKey$264, null, nextProps, propKey$233);
|
||||
for (lastProp in nextProps)
|
||||
(propKey$234 = nextProps[lastProp]),
|
||||
(propKey$233 = nextProps[lastProp]),
|
||||
(propKey = lastProps[lastProp]),
|
||||
!nextProps.hasOwnProperty(lastProp) ||
|
||||
propKey$234 === propKey ||
|
||||
(null == propKey$234 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$234, nextProps, propKey);
|
||||
propKey$233 === propKey ||
|
||||
(null == propKey$233 && null == propKey) ||
|
||||
setProp(domElement, tag, lastProp, propKey$233, nextProps, propKey);
|
||||
}
|
||||
var eventsEnabled = null,
|
||||
selectionInformation = null;
|
||||
@@ -15513,6 +15423,85 @@ function getChildHostContextProd(parentNamespace, type) {
|
||||
? 0
|
||||
: parentNamespace;
|
||||
}
|
||||
function prepareForCommit(containerInfo) {
|
||||
eventsEnabled = _enabled;
|
||||
containerInfo = getActiveElementDeep(containerInfo);
|
||||
if (hasSelectionCapabilities(containerInfo)) {
|
||||
if ("selectionStart" in containerInfo)
|
||||
var JSCompiler_temp = {
|
||||
start: containerInfo.selectionStart,
|
||||
end: containerInfo.selectionEnd
|
||||
};
|
||||
else
|
||||
a: {
|
||||
JSCompiler_temp =
|
||||
((JSCompiler_temp = containerInfo.ownerDocument) &&
|
||||
JSCompiler_temp.defaultView) ||
|
||||
window;
|
||||
var selection =
|
||||
JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
|
||||
if (selection && 0 !== selection.rangeCount) {
|
||||
JSCompiler_temp = selection.anchorNode;
|
||||
var anchorOffset = selection.anchorOffset,
|
||||
focusNode = selection.focusNode;
|
||||
selection = selection.focusOffset;
|
||||
try {
|
||||
JSCompiler_temp.nodeType, focusNode.nodeType;
|
||||
} catch (e$202) {
|
||||
JSCompiler_temp = null;
|
||||
break a;
|
||||
}
|
||||
var length = 0,
|
||||
start = -1,
|
||||
end = -1,
|
||||
indexWithinAnchor = 0,
|
||||
indexWithinFocus = 0,
|
||||
node = containerInfo,
|
||||
parentNode = null;
|
||||
b: for (;;) {
|
||||
for (var next; ; ) {
|
||||
node !== JSCompiler_temp ||
|
||||
(0 !== anchorOffset && 3 !== node.nodeType) ||
|
||||
(start = length + anchorOffset);
|
||||
node !== focusNode ||
|
||||
(0 !== selection && 3 !== node.nodeType) ||
|
||||
(end = length + selection);
|
||||
3 === node.nodeType && (length += node.nodeValue.length);
|
||||
if (null === (next = node.firstChild)) break;
|
||||
parentNode = node;
|
||||
node = next;
|
||||
}
|
||||
for (;;) {
|
||||
if (node === containerInfo) break b;
|
||||
parentNode === JSCompiler_temp &&
|
||||
++indexWithinAnchor === anchorOffset &&
|
||||
(start = length);
|
||||
parentNode === focusNode &&
|
||||
++indexWithinFocus === selection &&
|
||||
(end = length);
|
||||
if (null !== (next = node.nextSibling)) break;
|
||||
node = parentNode;
|
||||
parentNode = node.parentNode;
|
||||
}
|
||||
node = next;
|
||||
}
|
||||
JSCompiler_temp =
|
||||
-1 === start || -1 === end ? null : { start: start, end: end };
|
||||
} else JSCompiler_temp = null;
|
||||
}
|
||||
JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
|
||||
} else JSCompiler_temp = null;
|
||||
selectionInformation = {
|
||||
focusedElem: containerInfo,
|
||||
selectionRange: JSCompiler_temp
|
||||
};
|
||||
containerInfo = null;
|
||||
JSCompiler_temp = selectionInformation.focusedElem;
|
||||
null !== JSCompiler_temp &&
|
||||
(containerInfo = getClosestInstanceFromNode(JSCompiler_temp));
|
||||
_enabled = !1;
|
||||
return containerInfo;
|
||||
}
|
||||
function beforeActiveInstanceBlur(internalInstanceHandle) {
|
||||
_enabled = !0;
|
||||
var target = selectionInformation.focusedElem,
|
||||
@@ -16134,26 +16123,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
"string" === typeof pendingProps.precedence
|
||||
) {
|
||||
type = getStyleKey(pendingProps.href);
|
||||
var styles$273 = getResourcesFromRoot(
|
||||
var styles$272 = getResourcesFromRoot(
|
||||
JSCompiler_inline_result
|
||||
).hoistableStyles,
|
||||
resource$274 = styles$273.get(type);
|
||||
resource$274 ||
|
||||
resource$273 = styles$272.get(type);
|
||||
resource$273 ||
|
||||
((JSCompiler_inline_result =
|
||||
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
||||
(resource$274 = {
|
||||
(resource$273 = {
|
||||
type: "stylesheet",
|
||||
instance: null,
|
||||
count: 0,
|
||||
state: { loading: 0, preload: null }
|
||||
}),
|
||||
styles$273.set(type, resource$274),
|
||||
(styles$273 = JSCompiler_inline_result.querySelector(
|
||||
styles$272.set(type, resource$273),
|
||||
(styles$272 = JSCompiler_inline_result.querySelector(
|
||||
getStylesheetSelectorFromKey(type)
|
||||
)) &&
|
||||
!styles$273._p &&
|
||||
((resource$274.instance = styles$273),
|
||||
(resource$274.state.loading = 5)),
|
||||
!styles$272._p &&
|
||||
((resource$273.instance = styles$272),
|
||||
(resource$273.state.loading = 5)),
|
||||
preloadPropsMap.has(type) ||
|
||||
((pendingProps = {
|
||||
rel: "preload",
|
||||
@@ -16166,16 +16155,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
||||
referrerPolicy: pendingProps.referrerPolicy
|
||||
}),
|
||||
preloadPropsMap.set(type, pendingProps),
|
||||
styles$273 ||
|
||||
styles$272 ||
|
||||
preloadStylesheet(
|
||||
JSCompiler_inline_result,
|
||||
type,
|
||||
pendingProps,
|
||||
resource$274.state
|
||||
resource$273.state
|
||||
)));
|
||||
if (currentProps && null === currentResource)
|
||||
throw Error(formatProdErrorMessage(528, ""));
|
||||
return resource$274;
|
||||
return resource$273;
|
||||
}
|
||||
if (currentProps && null !== currentResource)
|
||||
throw Error(formatProdErrorMessage(529, ""));
|
||||
@@ -16272,37 +16261,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
return (resource.instance = instance);
|
||||
case "stylesheet":
|
||||
styleProps = getStyleKey(props.href);
|
||||
var instance$279 = hoistableRoot.querySelector(
|
||||
var instance$278 = hoistableRoot.querySelector(
|
||||
getStylesheetSelectorFromKey(styleProps)
|
||||
);
|
||||
if (instance$279)
|
||||
if (instance$278)
|
||||
return (
|
||||
(resource.state.loading |= 4),
|
||||
(resource.instance = instance$279),
|
||||
markNodeAsHoistable(instance$279),
|
||||
instance$279
|
||||
(resource.instance = instance$278),
|
||||
markNodeAsHoistable(instance$278),
|
||||
instance$278
|
||||
);
|
||||
instance = stylesheetPropsFromRawProps(props);
|
||||
(styleProps = preloadPropsMap.get(styleProps)) &&
|
||||
adoptPreloadPropsForStylesheet(instance, styleProps);
|
||||
instance$279 = (
|
||||
instance$278 = (
|
||||
hoistableRoot.ownerDocument || hoistableRoot
|
||||
).createElement("link");
|
||||
markNodeAsHoistable(instance$279);
|
||||
var linkInstance = instance$279;
|
||||
markNodeAsHoistable(instance$278);
|
||||
var linkInstance = instance$278;
|
||||
linkInstance._p = new Promise(function (resolve, reject) {
|
||||
linkInstance.onload = resolve;
|
||||
linkInstance.onerror = reject;
|
||||
});
|
||||
setInitialProperties(instance$279, "link", instance);
|
||||
setInitialProperties(instance$278, "link", instance);
|
||||
resource.state.loading |= 4;
|
||||
insertStylesheet(instance$279, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$279);
|
||||
insertStylesheet(instance$278, props.precedence, hoistableRoot);
|
||||
return (resource.instance = instance$278);
|
||||
case "script":
|
||||
instance$279 = getScriptKey(props.src);
|
||||
instance$278 = getScriptKey(props.src);
|
||||
if (
|
||||
(styleProps = hoistableRoot.querySelector(
|
||||
getScriptSelectorFromKey(instance$279)
|
||||
getScriptSelectorFromKey(instance$278)
|
||||
))
|
||||
)
|
||||
return (
|
||||
@@ -16311,7 +16300,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
||||
styleProps
|
||||
);
|
||||
instance = props;
|
||||
if ((styleProps = preloadPropsMap.get(instance$279)))
|
||||
if ((styleProps = preloadPropsMap.get(instance$278)))
|
||||
(instance = assign({}, props)),
|
||||
adoptPreloadPropsForScript(instance, styleProps);
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
@@ -17315,16 +17304,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1789 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1796 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-6ca7fbe8-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1789
|
||||
"19.1.0-www-modern-d8b903f4-20250102" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1796
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1789,
|
||||
"19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1796,
|
||||
"19.1.0-www-modern-d8b903f4-20250102"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17340,24 +17329,24 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2323 = {
|
||||
var internals$jscomp$inline_2334 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2324 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2335 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2324.isDisabled &&
|
||||
hook$jscomp$inline_2324.supportsFiber
|
||||
!hook$jscomp$inline_2335.isDisabled &&
|
||||
hook$jscomp$inline_2335.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2324.inject(
|
||||
internals$jscomp$inline_2323
|
||||
(rendererID = hook$jscomp$inline_2335.inject(
|
||||
internals$jscomp$inline_2334
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2324);
|
||||
(injectedHook = hook$jscomp$inline_2335);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17861,4 +17850,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
|
||||
@@ -11245,6 +11245,7 @@ __DEV__ &&
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = prepareForCommit(root.containerInfo);
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
@@ -11339,10 +11340,7 @@ __DEV__ &&
|
||||
nextEffect = root.return;
|
||||
}
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return root;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -14984,39 +14982,36 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = getCurrentUpdatePriority();
|
||||
setCurrentUpdatePriority(2);
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = getCurrentUpdatePriority()),
|
||||
setCurrentUpdatePriority(2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
setCurrentUpdatePriority(updatedLanes);
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
setCurrentUpdatePriority(updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -19064,7 +19059,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -11063,6 +11063,7 @@ __DEV__ &&
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = prepareForCommit(root.containerInfo);
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
@@ -11157,10 +11158,7 @@ __DEV__ &&
|
||||
nextEffect = root.return;
|
||||
}
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return root;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -14798,39 +14796,36 @@ __DEV__ &&
|
||||
(root.cancelPendingCommit = null));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = getCurrentUpdatePriority();
|
||||
setCurrentUpdatePriority(2);
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= CommitContext;
|
||||
var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffects(root, finishedWork, lanes);
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = getCurrentUpdatePriority()),
|
||||
setCurrentUpdatePriority(2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
(root.current = finishedWork),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes);
|
||||
commitLayoutEffects(finishedWork, root, lanes);
|
||||
enableSchedulingProfiler &&
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
||||
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
||||
commitLayoutEffects(finishedWork, root, lanes),
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped();
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
setCurrentUpdatePriority(updatedLanes);
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
enableSchedulingProfiler &&
|
||||
null !== injectedProfilingHooks &&
|
||||
"function" ===
|
||||
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
||||
injectedProfilingHooks.markLayoutEffectsStopped(),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
setCurrentUpdatePriority(updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
(transitions = spawnedLane)
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -18838,7 +18833,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -7655,92 +7655,94 @@ module.exports = function ($$$config) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = prepareForCommit(root.containerInfo);
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++) {
|
||||
var deletion = firstChild[i];
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.alternate;
|
||||
i = root.flags;
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
(deletion =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((deletion = 13 === root.tag))
|
||||
a: {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== firstChild &&
|
||||
((deletion = firstChild.memoizedState),
|
||||
null === deletion || null !== deletion.dehydrated)
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp ||
|
||||
null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
deletion = root.memoizedState;
|
||||
deletion = null !== deletion && null === deletion.dehydrated;
|
||||
break a;
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
deletion = !1;
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
deletion =
|
||||
deletion && doesFiberContain(root, focusedInstanceHandle);
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
deletion &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(root));
|
||||
switch (root.tag) {
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (i & 4) &&
|
||||
((firstChild = root.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(deletion = firstChild[i]),
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (i & 1024) && null !== firstChild) {
|
||||
i = void 0;
|
||||
deletion = root;
|
||||
var prevProps = firstChild.memoizedProps;
|
||||
firstChild = firstChild.memoizedState;
|
||||
var instance = deletion.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
deletion.type,
|
||||
prevProps,
|
||||
deletion.elementType === deletion.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
i = instance.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
firstChild
|
||||
deletion
|
||||
);
|
||||
instance.__reactInternalSnapshotBeforeUpdate = i;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate =
|
||||
deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(deletion, deletion.return, error);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
0 !== (i & 1024) &&
|
||||
0 !== (flags & 1024) &&
|
||||
supportsMutation &&
|
||||
clearContainer(root.stateNode.containerInfo);
|
||||
clearContainer(i.stateNode.containerInfo);
|
||||
break;
|
||||
case 5:
|
||||
case 26:
|
||||
@@ -7750,21 +7752,18 @@ module.exports = function ($$$config) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (i & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -10861,27 +10860,28 @@ module.exports = function ($$$config) {
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = getCurrentUpdatePriority();
|
||||
setCurrentUpdatePriority(2);
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$180 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$180 && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
setCurrentUpdatePriority(updatedLanes);
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = getCurrentUpdatePriority()),
|
||||
setCurrentUpdatePriority(2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
setCurrentUpdatePriority(updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12821,7 +12821,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -7417,92 +7417,94 @@ module.exports = function ($$$config) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
focusedInstanceHandle = prepareForCommit(root.containerInfo);
|
||||
for (nextEffect = firstChild; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.deletions;
|
||||
if (null !== firstChild)
|
||||
for (var i = 0; i < firstChild.length; i++) {
|
||||
var deletion = firstChild[i];
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
deletions = fiber.deletions;
|
||||
if (null !== deletions)
|
||||
for (var i = 0; i < deletions.length; i++) {
|
||||
var deletion = deletions[i];
|
||||
doesFiberContain(deletion, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(deletion));
|
||||
}
|
||||
firstChild = root.child;
|
||||
if (0 !== (root.subtreeFlags & 9236) && null !== firstChild)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
deletions = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 9236) && null !== deletions)
|
||||
(deletions.return = fiber), (nextEffect = deletions);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
root = nextEffect;
|
||||
firstChild = root.alternate;
|
||||
i = root.flags;
|
||||
a: for (; null !== nextEffect; ) {
|
||||
fiber = nextEffect;
|
||||
deletions = void 0;
|
||||
var JSCompiler_temp;
|
||||
i = fiber;
|
||||
deletion = i.alternate;
|
||||
var flags = i.flags;
|
||||
if (
|
||||
(deletion =
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle)
|
||||
!shouldFireAfterActiveInstanceBlur &&
|
||||
null !== focusedInstanceHandle
|
||||
) {
|
||||
if ((deletion = 13 === root.tag))
|
||||
a: {
|
||||
if ((JSCompiler_temp = 13 === i.tag))
|
||||
b: {
|
||||
if (
|
||||
null !== firstChild &&
|
||||
((deletion = firstChild.memoizedState),
|
||||
null === deletion || null !== deletion.dehydrated)
|
||||
null !== deletion &&
|
||||
((JSCompiler_temp = deletion.memoizedState),
|
||||
null === JSCompiler_temp ||
|
||||
null !== JSCompiler_temp.dehydrated)
|
||||
) {
|
||||
deletion = root.memoizedState;
|
||||
deletion = null !== deletion && null === deletion.dehydrated;
|
||||
break a;
|
||||
JSCompiler_temp = i.memoizedState;
|
||||
JSCompiler_temp =
|
||||
null !== JSCompiler_temp &&
|
||||
null === JSCompiler_temp.dehydrated;
|
||||
break b;
|
||||
}
|
||||
deletion = !1;
|
||||
JSCompiler_temp = !1;
|
||||
}
|
||||
deletion =
|
||||
deletion && doesFiberContain(root, focusedInstanceHandle);
|
||||
JSCompiler_temp &&
|
||||
doesFiberContain(i, focusedInstanceHandle) &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(i));
|
||||
}
|
||||
deletion &&
|
||||
((shouldFireAfterActiveInstanceBlur = !0),
|
||||
beforeActiveInstanceBlur(root));
|
||||
switch (root.tag) {
|
||||
switch (i.tag) {
|
||||
case 0:
|
||||
if (
|
||||
0 !== (i & 4) &&
|
||||
((firstChild = root.updateQueue),
|
||||
(firstChild = null !== firstChild ? firstChild.events : null),
|
||||
null !== firstChild)
|
||||
0 !== (flags & 4) &&
|
||||
((deletions = i.updateQueue),
|
||||
(deletions = null !== deletions ? deletions.events : null),
|
||||
null !== deletions)
|
||||
)
|
||||
for (i = 0; i < firstChild.length; i++)
|
||||
(deletion = firstChild[i]),
|
||||
for (i = 0; i < deletions.length; i++)
|
||||
(deletion = deletions[i]),
|
||||
(deletion.ref.impl = deletion.nextImpl);
|
||||
break;
|
||||
case 11:
|
||||
case 15:
|
||||
break;
|
||||
case 1:
|
||||
if (0 !== (i & 1024) && null !== firstChild) {
|
||||
i = void 0;
|
||||
deletion = root;
|
||||
var prevProps = firstChild.memoizedProps;
|
||||
firstChild = firstChild.memoizedState;
|
||||
var instance = deletion.stateNode;
|
||||
if (0 !== (flags & 1024) && null !== deletion) {
|
||||
flags = deletion.memoizedProps;
|
||||
deletion = deletion.memoizedState;
|
||||
JSCompiler_temp = i.stateNode;
|
||||
try {
|
||||
var resolvedPrevProps = resolveClassComponentProps(
|
||||
deletion.type,
|
||||
prevProps,
|
||||
deletion.elementType === deletion.type
|
||||
i.type,
|
||||
flags,
|
||||
i.elementType === i.type
|
||||
);
|
||||
i = instance.getSnapshotBeforeUpdate(
|
||||
deletions = JSCompiler_temp.getSnapshotBeforeUpdate(
|
||||
resolvedPrevProps,
|
||||
firstChild
|
||||
deletion
|
||||
);
|
||||
instance.__reactInternalSnapshotBeforeUpdate = i;
|
||||
JSCompiler_temp.__reactInternalSnapshotBeforeUpdate =
|
||||
deletions;
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(deletion, deletion.return, error);
|
||||
captureCommitPhaseError(i, i.return, error);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
0 !== (i & 1024) &&
|
||||
0 !== (flags & 1024) &&
|
||||
supportsMutation &&
|
||||
clearContainer(root.stateNode.containerInfo);
|
||||
clearContainer(i.stateNode.containerInfo);
|
||||
break;
|
||||
case 5:
|
||||
case 26:
|
||||
@@ -7512,21 +7514,18 @@ module.exports = function ($$$config) {
|
||||
case 17:
|
||||
break;
|
||||
default:
|
||||
if (0 !== (i & 1024)) throw Error(formatProdErrorMessage(163));
|
||||
if (0 !== (flags & 1024))
|
||||
throw Error(formatProdErrorMessage(163));
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
deletions = fiber.sibling;
|
||||
if (null !== deletions) {
|
||||
deletions.return = fiber.return;
|
||||
nextEffect = deletions;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
}
|
||||
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
focusedInstanceHandle = null;
|
||||
return resolvedPrevProps;
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -10619,27 +10618,28 @@ module.exports = function ($$$config) {
|
||||
(root.callbackPriority = 0),
|
||||
(root.cancelPendingCommit = null));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
|
||||
transitions = ReactSharedInternals.T;
|
||||
ReactSharedInternals.T = null;
|
||||
updatedLanes = getCurrentUpdatePriority();
|
||||
setCurrentUpdatePriority(2);
|
||||
suspendedRetryLanes = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$180 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$180 && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
requestPaint();
|
||||
executionContext = suspendedRetryLanes;
|
||||
setCurrentUpdatePriority(updatedLanes);
|
||||
ReactSharedInternals.T = transitions;
|
||||
} else root.current = finishedWork;
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
(ReactSharedInternals.T = null),
|
||||
(updatedLanes = getCurrentUpdatePriority()),
|
||||
setCurrentUpdatePriority(2),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(focusedInstanceHandle = prepareForCommit(root.containerInfo)),
|
||||
(shouldFireAfterActiveInstanceBlur = !1),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
(focusedInstanceHandle = null),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
shouldFireAfterActiveInstanceBlur && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
requestPaint(),
|
||||
(executionContext = suspendedRetryLanes),
|
||||
setCurrentUpdatePriority(updatedLanes),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: (root.current = finishedWork);
|
||||
spawnedLane
|
||||
? ((spawnedLane = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12540,7 +12540,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -9120,20 +9120,18 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
for (nextEffect = firstChild; null !== nextEffect; )
|
||||
if (
|
||||
((root = nextEffect),
|
||||
(firstChild = root.child),
|
||||
0 !== (root.subtreeFlags & 1024) && null !== firstChild)
|
||||
)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 1024) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = root = nextEffect;
|
||||
var current = firstChild.alternate,
|
||||
flags = firstChild.flags;
|
||||
switch (firstChild.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
child = fiber = nextEffect;
|
||||
var current = child.alternate,
|
||||
flags = child.flags;
|
||||
switch (child.tag) {
|
||||
case 0:
|
||||
break;
|
||||
case 11:
|
||||
@@ -9142,11 +9140,11 @@ __DEV__ &&
|
||||
case 1:
|
||||
0 !== (flags & 1024) &&
|
||||
null !== current &&
|
||||
commitClassSnapshot(firstChild, current);
|
||||
commitClassSnapshot(child, current);
|
||||
break;
|
||||
case 3:
|
||||
0 !== (flags & 1024) &&
|
||||
firstChild.stateNode.containerInfo.children.splice(0);
|
||||
child.stateNode.containerInfo.children.splice(0);
|
||||
break;
|
||||
case 5:
|
||||
case 26:
|
||||
@@ -9161,17 +9159,15 @@ __DEV__ &&
|
||||
"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
|
||||
);
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
return root;
|
||||
}
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -11716,7 +11712,8 @@ __DEV__ &&
|
||||
(currentUpdatePriority = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -14660,7 +14657,6 @@ __DEV__ &&
|
||||
offscreenSubtreeWasHidden = !1,
|
||||
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
||||
nextEffect = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1,
|
||||
hostParent = null,
|
||||
hostParentIsContainer = !1,
|
||||
suspenseyCommitFlag = 8192,
|
||||
@@ -14963,10 +14959,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-classic-d8b903f4-20250102",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-classic-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15101,5 +15097,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-classic-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -9120,20 +9120,18 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
}
|
||||
function commitBeforeMutationEffects(root, firstChild) {
|
||||
for (nextEffect = firstChild; null !== nextEffect; )
|
||||
if (
|
||||
((root = nextEffect),
|
||||
(firstChild = root.child),
|
||||
0 !== (root.subtreeFlags & 1024) && null !== firstChild)
|
||||
)
|
||||
(firstChild.return = root), (nextEffect = firstChild);
|
||||
function commitBeforeMutationEffects_begin() {
|
||||
for (; null !== nextEffect; ) {
|
||||
var fiber = nextEffect,
|
||||
child = fiber.child;
|
||||
if (0 !== (fiber.subtreeFlags & 1024) && null !== child)
|
||||
(child.return = fiber), (nextEffect = child);
|
||||
else
|
||||
for (; null !== nextEffect; ) {
|
||||
firstChild = root = nextEffect;
|
||||
var current = firstChild.alternate,
|
||||
flags = firstChild.flags;
|
||||
switch (firstChild.tag) {
|
||||
a: for (; null !== nextEffect; ) {
|
||||
child = fiber = nextEffect;
|
||||
var current = child.alternate,
|
||||
flags = child.flags;
|
||||
switch (child.tag) {
|
||||
case 0:
|
||||
break;
|
||||
case 11:
|
||||
@@ -9142,11 +9140,11 @@ __DEV__ &&
|
||||
case 1:
|
||||
0 !== (flags & 1024) &&
|
||||
null !== current &&
|
||||
commitClassSnapshot(firstChild, current);
|
||||
commitClassSnapshot(child, current);
|
||||
break;
|
||||
case 3:
|
||||
0 !== (flags & 1024) &&
|
||||
firstChild.stateNode.containerInfo.children.splice(0);
|
||||
child.stateNode.containerInfo.children.splice(0);
|
||||
break;
|
||||
case 5:
|
||||
case 26:
|
||||
@@ -9161,17 +9159,15 @@ __DEV__ &&
|
||||
"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
|
||||
);
|
||||
}
|
||||
firstChild = root.sibling;
|
||||
if (null !== firstChild) {
|
||||
firstChild.return = root.return;
|
||||
nextEffect = firstChild;
|
||||
break;
|
||||
child = fiber.sibling;
|
||||
if (null !== child) {
|
||||
child.return = fiber.return;
|
||||
nextEffect = child;
|
||||
break a;
|
||||
}
|
||||
nextEffect = root.return;
|
||||
nextEffect = fiber.return;
|
||||
}
|
||||
root = shouldFireAfterActiveInstanceBlur;
|
||||
shouldFireAfterActiveInstanceBlur = !1;
|
||||
return root;
|
||||
}
|
||||
}
|
||||
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
var flags = finishedWork.flags;
|
||||
@@ -11716,7 +11712,8 @@ __DEV__ &&
|
||||
(currentUpdatePriority = DiscreteEventPriority),
|
||||
(suspendedRetryLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(nextEffect = finishedWork),
|
||||
commitBeforeMutationEffects_begin(),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -14660,7 +14657,6 @@ __DEV__ &&
|
||||
offscreenSubtreeWasHidden = !1,
|
||||
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
||||
nextEffect = null,
|
||||
shouldFireAfterActiveInstanceBlur = !1,
|
||||
hostParent = null,
|
||||
hostParentIsContainer = !1,
|
||||
suspenseyCommitFlag = 8192,
|
||||
@@ -14963,10 +14959,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6ca7fbe8-20250102",
|
||||
version: "19.1.0-www-modern-d8b903f4-20250102",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6ca7fbe8-20250102"
|
||||
reconcilerVersion: "19.1.0-www-modern-d8b903f4-20250102"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15101,5 +15097,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6ca7fbe8-20250102";
|
||||
exports.version = "19.1.0-www-modern-d8b903f4-20250102";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-classic-6ca7fbe8-20250102
|
||||
19.1.0-www-classic-d8b903f4-20250102
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-modern-6ca7fbe8-20250102
|
||||
19.1.0-www-modern-d8b903f4-20250102
|
||||
Reference in New Issue
Block a user