Update canary channel label to "beta" (#28905)

During the beta period, canaries will be published as
`19.0.0-beta-<COMMIT_SHA>-<DATE>`. They will also be tagged as `beta`
when published to npm.

DiffTrain build for [f8a8eac86b](https://github.com/facebook/react/commit/f8a8eac86bac406724f327325f804e65e594dd68)
This commit is contained in:
acdlite
2024-04-25 17:19:14 +00:00
parent 0433358c3b
commit aef84c3f17
21 changed files with 1030 additions and 1132 deletions
+1 -1
View File
@@ -1 +1 @@
d285b3acbade77f9b17e6171dbda69ff4a033878
f8a8eac86bac406724f327325f804e65e594dd68
@@ -63,7 +63,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = '19.0.0-www-classic-bcf613fa';
var ReactVersion = '19.0.0-www-classic-58e69eb4';
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -2751,7 +2751,7 @@ function commitTextUpdate(textInstance, oldText, newText) {// Noop
}
function commitMount(instance, type, newProps) {// Noop
}
function commitUpdate(instance, updatePayload, type, oldProps, newProps) {
function commitUpdate(instance, type, oldProps, newProps) {
instance._applyProps(instance, newProps, oldProps);
}
function hideInstance(instance) {
@@ -20204,13 +20204,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
+4 -7
View File
@@ -63,7 +63,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = '19.0.0-www-modern-f2d0174f';
var ReactVersion = '19.0.0-www-modern-870f626b';
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -2748,7 +2748,7 @@ function commitTextUpdate(textInstance, oldText, newText) {// Noop
}
function commitMount(instance, type, newProps) {// Noop
}
function commitUpdate(instance, updatePayload, type, oldProps, newProps) {
function commitUpdate(instance, type, oldProps, newProps) {
instance._applyProps(instance, newProps, oldProps);
}
function hideInstance(instance) {
@@ -19707,13 +19707,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
+15 -16
View File
@@ -7939,7 +7939,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && ((flags = finishedWork.stateNode), null != flags)) {
var newProps = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : newProps;
finishedWork.updateQueue = null;
try {
flags._applyProps(flags, newProps, current);
} catch (error$117) {
@@ -10622,19 +10621,19 @@ var slice = Array.prototype.slice,
};
return Text;
})(React.Component),
devToolsConfig$jscomp$inline_1123 = {
devToolsConfig$jscomp$inline_1122 = {
findFiberByHostInstance: function () {
return null;
},
bundleType: 0,
version: "19.0.0-www-classic-7fa474dd",
version: "19.0.0-www-classic-43e809e4",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1331 = {
bundleType: devToolsConfig$jscomp$inline_1123.bundleType,
version: devToolsConfig$jscomp$inline_1123.version,
rendererPackageName: devToolsConfig$jscomp$inline_1123.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1123.rendererConfig,
var internals$jscomp$inline_1330 = {
bundleType: devToolsConfig$jscomp$inline_1122.bundleType,
version: devToolsConfig$jscomp$inline_1122.version,
rendererPackageName: devToolsConfig$jscomp$inline_1122.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1122.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -10651,26 +10650,26 @@ var internals$jscomp$inline_1331 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1123.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1122.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-7fa474dd"
reconcilerVersion: "19.0.0-www-classic-43e809e4"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1332 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1331 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1332.isDisabled &&
hook$jscomp$inline_1332.supportsFiber
!hook$jscomp$inline_1331.isDisabled &&
hook$jscomp$inline_1331.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1332.inject(
internals$jscomp$inline_1331
(rendererID = hook$jscomp$inline_1331.inject(
internals$jscomp$inline_1330
)),
(injectedHook = hook$jscomp$inline_1332);
(injectedHook = hook$jscomp$inline_1331);
} catch (err) {}
}
var Path = Mode$1.Path;
+15 -16
View File
@@ -7494,7 +7494,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && ((flags = finishedWork.stateNode), null != flags)) {
var newProps = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : newProps;
finishedWork.updateQueue = null;
try {
flags._applyProps(flags, newProps, current);
} catch (error$108) {
@@ -10101,19 +10100,19 @@ var slice = Array.prototype.slice,
};
return Text;
})(React.Component),
devToolsConfig$jscomp$inline_1088 = {
devToolsConfig$jscomp$inline_1087 = {
findFiberByHostInstance: function () {
return null;
},
bundleType: 0,
version: "19.0.0-www-modern-f1a1a01e",
version: "19.0.0-www-modern-3903b043",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1316 = {
bundleType: devToolsConfig$jscomp$inline_1088.bundleType,
version: devToolsConfig$jscomp$inline_1088.version,
rendererPackageName: devToolsConfig$jscomp$inline_1088.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1088.rendererConfig,
var internals$jscomp$inline_1315 = {
bundleType: devToolsConfig$jscomp$inline_1087.bundleType,
version: devToolsConfig$jscomp$inline_1087.version,
rendererPackageName: devToolsConfig$jscomp$inline_1087.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1087.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -10130,26 +10129,26 @@ var internals$jscomp$inline_1316 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1088.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1087.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-f1a1a01e"
reconcilerVersion: "19.0.0-www-modern-3903b043"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1317 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1316 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1317.isDisabled &&
hook$jscomp$inline_1317.supportsFiber
!hook$jscomp$inline_1316.isDisabled &&
hook$jscomp$inline_1316.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1317.inject(
internals$jscomp$inline_1316
(rendererID = hook$jscomp$inline_1316.inject(
internals$jscomp$inline_1315
)),
(injectedHook = hook$jscomp$inline_1317);
(injectedHook = hook$jscomp$inline_1316);
} catch (err) {}
}
var Path = Mode$1.Path;
+5 -12
View File
@@ -24610,12 +24610,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -24683,13 +24679,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -30836,7 +30829,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-classic-330cad5d';
var ReactVersion = '19.0.0-www-classic-aef99ffd';
function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
@@ -37781,7 +37774,7 @@ function commitMount(domElement, type, newProps, internalInstanceHandle) {
}
}
}
function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(domElement, type, oldProps, newProps, internalInstanceHandle) {
// Diff and update the properties.
updateProperties(domElement, type, oldProps, newProps); // Update the props handle so that we know which props are the ones with
// with current event handlers.
+5 -12
View File
@@ -24065,12 +24065,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -24138,13 +24134,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -30011,7 +30004,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-modern-3bb2ced5';
var ReactVersion = '19.0.0-www-modern-afa6a0fd';
function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
@@ -36936,7 +36929,7 @@ function commitMount(domElement, type, newProps, internalInstanceHandle) {
}
}
}
function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(domElement, type, oldProps, newProps, internalInstanceHandle) {
// Diff and update the properties.
updateProperties(domElement, type, oldProps, newProps); // Update the props handle so that we know which props are the ones with
// with current event handlers.
+155 -158
View File
@@ -8484,7 +8484,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$200) {
} catch (e$199) {
JSCompiler_temp = null;
break a;
}
@@ -9597,8 +9597,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -9616,7 +9615,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$165
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -9659,12 +9657,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$169) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$169);
} catch (error$168) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$168);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -9679,8 +9676,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$170) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$170);
} catch (error$169) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$169);
}
}
break;
@@ -9694,8 +9691,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$171) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$171);
} catch (error$170) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$170);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -9727,8 +9724,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$173) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$173);
} catch (error$172) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$172);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -10375,9 +10372,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$180 = finishedWork.stateNode;
var instance$179 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$180._visibility & 4
? instance$179._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10390,7 +10387,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$180._visibility |= 4),
: ((instance$179._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10398,7 +10395,7 @@ function recursivelyTraverseReconnectPassiveEffects(
committedTransitions,
includeWorkInProgressEffects
))
: ((instance$180._visibility |= 4),
: ((instance$179._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10411,7 +10408,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$180
instance$179
);
break;
case 24:
@@ -11371,8 +11368,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$188) {
handleThrow(root, thrownValue$188);
} catch (thrownValue$187) {
handleThrow(root, thrownValue$187);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -11477,8 +11474,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$190) {
handleThrow(root, thrownValue$190);
} catch (thrownValue$189) {
handleThrow(root, thrownValue$189);
}
while (1);
resetContextDependencies();
@@ -11707,12 +11704,12 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$194 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$193 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$194 &&
shouldFireAfterActiveInstanceBlur$193 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -11784,7 +11781,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$195 = rootWithPendingPassiveEffects,
var root$194 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11799,7 +11796,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$195, remainingLanes);
releaseRootPooledCache(root$194, remainingLanes);
}
}
return !1;
@@ -13080,19 +13077,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$352;
var JSCompiler_inline_result$jscomp$351;
if (canUseDOM) {
var isSupported$jscomp$inline_1506 = "oninput" in document;
if (!isSupported$jscomp$inline_1506) {
var element$jscomp$inline_1507 = document.createElement("div");
element$jscomp$inline_1507.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1506 =
"function" === typeof element$jscomp$inline_1507.oninput;
var isSupported$jscomp$inline_1503 = "oninput" in document;
if (!isSupported$jscomp$inline_1503) {
var element$jscomp$inline_1504 = document.createElement("div");
element$jscomp$inline_1504.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1503 =
"function" === typeof element$jscomp$inline_1504.oninput;
}
JSCompiler_inline_result$jscomp$352 = isSupported$jscomp$inline_1506;
} else JSCompiler_inline_result$jscomp$352 = !1;
JSCompiler_inline_result$jscomp$351 = isSupported$jscomp$inline_1503;
} else JSCompiler_inline_result$jscomp$351 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$352 &&
JSCompiler_inline_result$jscomp$351 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -13470,20 +13467,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1547 = 0;
i$jscomp$inline_1547 < simpleEventPluginEvents.length;
i$jscomp$inline_1547++
var i$jscomp$inline_1544 = 0;
i$jscomp$inline_1544 < simpleEventPluginEvents.length;
i$jscomp$inline_1544++
) {
var eventName$jscomp$inline_1548 =
simpleEventPluginEvents[i$jscomp$inline_1547],
domEventName$jscomp$inline_1549 =
eventName$jscomp$inline_1548.toLowerCase(),
capitalizedEvent$jscomp$inline_1550 =
eventName$jscomp$inline_1548[0].toUpperCase() +
eventName$jscomp$inline_1548.slice(1);
var eventName$jscomp$inline_1545 =
simpleEventPluginEvents[i$jscomp$inline_1544],
domEventName$jscomp$inline_1546 =
eventName$jscomp$inline_1545.toLowerCase(),
capitalizedEvent$jscomp$inline_1547 =
eventName$jscomp$inline_1545[0].toUpperCase() +
eventName$jscomp$inline_1545.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1549,
"on" + capitalizedEvent$jscomp$inline_1550
domEventName$jscomp$inline_1546,
"on" + capitalizedEvent$jscomp$inline_1547
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -14952,14 +14949,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$227 in nextProps) {
var propKey = nextProps[propKey$227];
lastProp = lastProps[propKey$227];
for (var propKey$226 in nextProps) {
var propKey = nextProps[propKey$226];
lastProp = lastProps[propKey$226];
if (
nextProps.hasOwnProperty(propKey$227) &&
nextProps.hasOwnProperty(propKey$226) &&
(null != propKey || null != lastProp)
)
switch (propKey$227) {
switch (propKey$226) {
case "type":
type = propKey;
break;
@@ -14988,7 +14985,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$227,
propKey$226,
propKey,
nextProps,
lastProp
@@ -15007,7 +15004,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$227 = null;
propKey = value = defaultValue = propKey$226 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -15038,7 +15035,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$227 = type;
propKey$226 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -15059,15 +15056,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$227
? updateOptions(domElement, !!lastProps, propKey$227, !1)
null != propKey$226
? updateOptions(domElement, !!lastProps, propKey$226, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$227 = null;
propKey = propKey$226 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -15091,7 +15088,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$227 = name;
propKey$226 = name;
break;
case "defaultValue":
propKey = name;
@@ -15105,17 +15102,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$227, propKey);
updateTextarea(domElement, propKey$226, propKey);
return;
case "option":
for (var propKey$243 in lastProps)
for (var propKey$242 in lastProps)
if (
((propKey$227 = lastProps[propKey$243]),
lastProps.hasOwnProperty(propKey$243) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$243))
((propKey$226 = lastProps[propKey$242]),
lastProps.hasOwnProperty(propKey$242) &&
null != propKey$226 &&
!nextProps.hasOwnProperty(propKey$242))
)
switch (propKey$243) {
switch (propKey$242) {
case "selected":
domElement.selected = !1;
break;
@@ -15123,33 +15120,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$243,
propKey$242,
null,
nextProps,
propKey$227
propKey$226
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$227 = nextProps[lastDefaultValue]),
((propKey$226 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$227 !== propKey &&
(null != propKey$227 || null != propKey))
propKey$226 !== propKey &&
(null != propKey$226 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$227 &&
"function" !== typeof propKey$227 &&
"symbol" !== typeof propKey$227;
propKey$226 &&
"function" !== typeof propKey$226 &&
"symbol" !== typeof propKey$226;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$227,
propKey$226,
nextProps,
propKey
);
@@ -15170,24 +15167,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$248 in lastProps)
(propKey$227 = lastProps[propKey$248]),
lastProps.hasOwnProperty(propKey$248) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$248) &&
setProp(domElement, tag, propKey$248, null, nextProps, propKey$227);
for (var propKey$247 in lastProps)
(propKey$226 = lastProps[propKey$247]),
lastProps.hasOwnProperty(propKey$247) &&
null != propKey$226 &&
!nextProps.hasOwnProperty(propKey$247) &&
setProp(domElement, tag, propKey$247, null, nextProps, propKey$226);
for (checked in nextProps)
if (
((propKey$227 = nextProps[checked]),
((propKey$226 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$227 !== propKey &&
(null != propKey$227 || null != propKey))
propKey$226 !== propKey &&
(null != propKey$226 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$227)
if (null != propKey$226)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -15195,7 +15192,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$227,
propKey$226,
nextProps,
propKey
);
@@ -15203,49 +15200,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$253 in lastProps)
(propKey$227 = lastProps[propKey$253]),
lastProps.hasOwnProperty(propKey$253) &&
void 0 !== propKey$227 &&
!nextProps.hasOwnProperty(propKey$253) &&
for (var propKey$252 in lastProps)
(propKey$226 = lastProps[propKey$252]),
lastProps.hasOwnProperty(propKey$252) &&
void 0 !== propKey$226 &&
!nextProps.hasOwnProperty(propKey$252) &&
setPropOnCustomElement(
domElement,
tag,
propKey$253,
propKey$252,
void 0,
nextProps,
propKey$227
propKey$226
);
for (defaultChecked in nextProps)
(propKey$227 = nextProps[defaultChecked]),
(propKey$226 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$227 === propKey ||
(void 0 === propKey$227 && void 0 === propKey) ||
propKey$226 === propKey ||
(void 0 === propKey$226 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$227,
propKey$226,
nextProps,
propKey
);
return;
}
}
for (var propKey$258 in lastProps)
(propKey$227 = lastProps[propKey$258]),
lastProps.hasOwnProperty(propKey$258) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$258) &&
setProp(domElement, tag, propKey$258, null, nextProps, propKey$227);
for (var propKey$257 in lastProps)
(propKey$226 = lastProps[propKey$257]),
lastProps.hasOwnProperty(propKey$257) &&
null != propKey$226 &&
!nextProps.hasOwnProperty(propKey$257) &&
setProp(domElement, tag, propKey$257, null, nextProps, propKey$226);
for (lastProp in nextProps)
(propKey$227 = nextProps[lastProp]),
(propKey$226 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$227 === propKey ||
(null == propKey$227 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$227, nextProps, propKey);
propKey$226 === propKey ||
(null == propKey$226 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$226, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -15824,17 +15821,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$266 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$267 = styles$266.get(type);
resource$267 ||
var styles$265 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$266 = styles$265.get(type);
resource$266 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$267 = {
(resource$266 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$266.set(type, resource$267),
styles$265.set(type, resource$266),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -15849,9 +15846,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$267.state
resource$266.state
));
return resource$267;
return resource$266;
}
return null;
case "script":
@@ -15947,37 +15944,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$271 = hoistableRoot.querySelector(
var instance$270 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$271)
if (instance$270)
return (
(resource.state.loading |= 4),
(resource.instance = instance$271),
markNodeAsHoistable(instance$271),
instance$271
(resource.instance = instance$270),
markNodeAsHoistable(instance$270),
instance$270
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$271 = (
instance$270 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$271);
var linkInstance = instance$271;
markNodeAsHoistable(instance$270);
var linkInstance = instance$270;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$271, "link", instance);
setInitialProperties(instance$270, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$271, props.precedence, hoistableRoot);
return (resource.instance = instance$271);
insertStylesheet(instance$270, props.precedence, hoistableRoot);
return (resource.instance = instance$270);
case "script":
instance$271 = getScriptKey(props.src);
instance$270 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$271)
getScriptSelectorFromKey(instance$270)
))
)
return (
@@ -15986,7 +15983,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$271)))
if ((styleProps = preloadPropsMap.get(instance$270)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -16998,17 +16995,17 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1725 = {
var devToolsConfig$jscomp$inline_1722 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-4a0aa6db",
version: "19.0.0-www-classic-be434bf3",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2169 = {
bundleType: devToolsConfig$jscomp$inline_1725.bundleType,
version: devToolsConfig$jscomp$inline_1725.version,
rendererPackageName: devToolsConfig$jscomp$inline_1725.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1725.rendererConfig,
var internals$jscomp$inline_2166 = {
bundleType: devToolsConfig$jscomp$inline_1722.bundleType,
version: devToolsConfig$jscomp$inline_1722.version,
rendererPackageName: devToolsConfig$jscomp$inline_1722.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1722.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -17024,26 +17021,26 @@ var internals$jscomp$inline_2169 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1725.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1722.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-4a0aa6db"
reconcilerVersion: "19.0.0-www-classic-be434bf3"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2170 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2167 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2170.isDisabled &&
hook$jscomp$inline_2170.supportsFiber
!hook$jscomp$inline_2167.isDisabled &&
hook$jscomp$inline_2167.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2170.inject(
internals$jscomp$inline_2169
(rendererID = hook$jscomp$inline_2167.inject(
internals$jscomp$inline_2166
)),
(injectedHook = hook$jscomp$inline_2170);
(injectedHook = hook$jscomp$inline_2167);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -17117,11 +17114,11 @@ function legacyCreateRootFromDOMContainer(
if ("function" === typeof callback) {
var originalCallback = callback;
callback = function () {
var instance = getPublicRootInstance(root$292);
var instance = getPublicRootInstance(root$291);
originalCallback.call(instance);
};
}
var root$292 = createHydrationContainer(
var root$291 = createHydrationContainer(
initialChildren,
callback,
container,
@@ -17136,23 +17133,23 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$292;
container[internalContainerInstanceKey] = root$292.current;
container._reactRootContainer = root$291;
container[internalContainerInstanceKey] = root$291.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
flushSyncWork();
return root$292;
return root$291;
}
clearContainer(container);
if ("function" === typeof callback) {
var originalCallback$293 = callback;
var originalCallback$292 = callback;
callback = function () {
var instance = getPublicRootInstance(root$294);
originalCallback$293.call(instance);
var instance = getPublicRootInstance(root$293);
originalCallback$292.call(instance);
};
}
var root$294 = createFiberRoot(
var root$293 = createFiberRoot(
container,
0,
!1,
@@ -17167,14 +17164,14 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$294;
container[internalContainerInstanceKey] = root$294.current;
container._reactRootContainer = root$293;
container[internalContainerInstanceKey] = root$293.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
updateContainerSync(initialChildren, root$294, parentComponent, callback);
updateContainerSync(initialChildren, root$293, parentComponent, callback);
flushSyncWork();
return root$294;
return root$293;
}
function legacyRenderSubtreeIntoContainer(
parentComponent,
@@ -17535,4 +17532,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-4a0aa6db";
exports.version = "19.0.0-www-classic-be434bf3";
+141 -144
View File
@@ -8008,7 +8008,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$191) {
} catch (e$190) {
JSCompiler_temp = null;
break a;
}
@@ -9123,8 +9123,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -9142,7 +9141,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$156
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -9185,12 +9183,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$160) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$160);
} catch (error$159) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$159);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -9205,8 +9202,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$161) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$161);
} catch (error$160) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$160);
}
}
break;
@@ -9220,8 +9217,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$162) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$162);
} catch (error$161) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$161);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -9253,8 +9250,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$164) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$164);
} catch (error$163) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$163);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -9890,9 +9887,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$171 = finishedWork.stateNode;
var instance$170 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$171._visibility & 4
? instance$170._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -9904,7 +9901,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$171._visibility |= 4),
: ((instance$170._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -9917,7 +9914,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$171
instance$170
);
break;
case 24:
@@ -10858,8 +10855,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$179) {
handleThrow(root, thrownValue$179);
} catch (thrownValue$178) {
handleThrow(root, thrownValue$178);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -10964,8 +10961,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$181) {
handleThrow(root, thrownValue$181);
} catch (thrownValue$180) {
handleThrow(root, thrownValue$180);
}
while (1);
resetContextDependencies();
@@ -11190,12 +11187,12 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$185 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$184 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$185 &&
shouldFireAfterActiveInstanceBlur$184 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -11265,7 +11262,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$186 = rootWithPendingPassiveEffects,
var root$185 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11280,7 +11277,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$186, remainingLanes);
releaseRootPooledCache(root$185, remainingLanes);
}
}
return !1;
@@ -12467,19 +12464,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$339;
var JSCompiler_inline_result$jscomp$338;
if (canUseDOM) {
var isSupported$jscomp$inline_1478 = "oninput" in document;
if (!isSupported$jscomp$inline_1478) {
var element$jscomp$inline_1479 = document.createElement("div");
element$jscomp$inline_1479.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1478 =
"function" === typeof element$jscomp$inline_1479.oninput;
var isSupported$jscomp$inline_1475 = "oninput" in document;
if (!isSupported$jscomp$inline_1475) {
var element$jscomp$inline_1476 = document.createElement("div");
element$jscomp$inline_1476.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1475 =
"function" === typeof element$jscomp$inline_1476.oninput;
}
JSCompiler_inline_result$jscomp$339 = isSupported$jscomp$inline_1478;
} else JSCompiler_inline_result$jscomp$339 = !1;
JSCompiler_inline_result$jscomp$338 = isSupported$jscomp$inline_1475;
} else JSCompiler_inline_result$jscomp$338 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$339 &&
JSCompiler_inline_result$jscomp$338 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -12857,20 +12854,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1519 = 0;
i$jscomp$inline_1519 < simpleEventPluginEvents.length;
i$jscomp$inline_1519++
var i$jscomp$inline_1516 = 0;
i$jscomp$inline_1516 < simpleEventPluginEvents.length;
i$jscomp$inline_1516++
) {
var eventName$jscomp$inline_1520 =
simpleEventPluginEvents[i$jscomp$inline_1519],
domEventName$jscomp$inline_1521 =
eventName$jscomp$inline_1520.toLowerCase(),
capitalizedEvent$jscomp$inline_1522 =
eventName$jscomp$inline_1520[0].toUpperCase() +
eventName$jscomp$inline_1520.slice(1);
var eventName$jscomp$inline_1517 =
simpleEventPluginEvents[i$jscomp$inline_1516],
domEventName$jscomp$inline_1518 =
eventName$jscomp$inline_1517.toLowerCase(),
capitalizedEvent$jscomp$inline_1519 =
eventName$jscomp$inline_1517[0].toUpperCase() +
eventName$jscomp$inline_1517.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1521,
"on" + capitalizedEvent$jscomp$inline_1522
domEventName$jscomp$inline_1518,
"on" + capitalizedEvent$jscomp$inline_1519
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -14338,14 +14335,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$218 in nextProps) {
var propKey = nextProps[propKey$218];
lastProp = lastProps[propKey$218];
for (var propKey$217 in nextProps) {
var propKey = nextProps[propKey$217];
lastProp = lastProps[propKey$217];
if (
nextProps.hasOwnProperty(propKey$218) &&
nextProps.hasOwnProperty(propKey$217) &&
(null != propKey || null != lastProp)
)
switch (propKey$218) {
switch (propKey$217) {
case "type":
type = propKey;
break;
@@ -14374,7 +14371,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$218,
propKey$217,
propKey,
nextProps,
lastProp
@@ -14393,7 +14390,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$218 = null;
propKey = value = defaultValue = propKey$217 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -14424,7 +14421,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$218 = type;
propKey$217 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -14445,15 +14442,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$218
? updateOptions(domElement, !!lastProps, propKey$218, !1)
null != propKey$217
? updateOptions(domElement, !!lastProps, propKey$217, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$218 = null;
propKey = propKey$217 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -14477,7 +14474,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$218 = name;
propKey$217 = name;
break;
case "defaultValue":
propKey = name;
@@ -14491,17 +14488,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$218, propKey);
updateTextarea(domElement, propKey$217, propKey);
return;
case "option":
for (var propKey$234 in lastProps)
for (var propKey$233 in lastProps)
if (
((propKey$218 = lastProps[propKey$234]),
lastProps.hasOwnProperty(propKey$234) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$234))
((propKey$217 = lastProps[propKey$233]),
lastProps.hasOwnProperty(propKey$233) &&
null != propKey$217 &&
!nextProps.hasOwnProperty(propKey$233))
)
switch (propKey$234) {
switch (propKey$233) {
case "selected":
domElement.selected = !1;
break;
@@ -14509,33 +14506,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$234,
propKey$233,
null,
nextProps,
propKey$218
propKey$217
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$218 = nextProps[lastDefaultValue]),
((propKey$217 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$218 !== propKey &&
(null != propKey$218 || null != propKey))
propKey$217 !== propKey &&
(null != propKey$217 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$218 &&
"function" !== typeof propKey$218 &&
"symbol" !== typeof propKey$218;
propKey$217 &&
"function" !== typeof propKey$217 &&
"symbol" !== typeof propKey$217;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$218,
propKey$217,
nextProps,
propKey
);
@@ -14556,24 +14553,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$239 in lastProps)
(propKey$218 = lastProps[propKey$239]),
lastProps.hasOwnProperty(propKey$239) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$239) &&
setProp(domElement, tag, propKey$239, null, nextProps, propKey$218);
for (var propKey$238 in lastProps)
(propKey$217 = lastProps[propKey$238]),
lastProps.hasOwnProperty(propKey$238) &&
null != propKey$217 &&
!nextProps.hasOwnProperty(propKey$238) &&
setProp(domElement, tag, propKey$238, null, nextProps, propKey$217);
for (checked in nextProps)
if (
((propKey$218 = nextProps[checked]),
((propKey$217 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$218 !== propKey &&
(null != propKey$218 || null != propKey))
propKey$217 !== propKey &&
(null != propKey$217 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$218)
if (null != propKey$217)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -14581,7 +14578,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$218,
propKey$217,
nextProps,
propKey
);
@@ -14589,49 +14586,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$244 in lastProps)
(propKey$218 = lastProps[propKey$244]),
lastProps.hasOwnProperty(propKey$244) &&
void 0 !== propKey$218 &&
!nextProps.hasOwnProperty(propKey$244) &&
for (var propKey$243 in lastProps)
(propKey$217 = lastProps[propKey$243]),
lastProps.hasOwnProperty(propKey$243) &&
void 0 !== propKey$217 &&
!nextProps.hasOwnProperty(propKey$243) &&
setPropOnCustomElement(
domElement,
tag,
propKey$244,
propKey$243,
void 0,
nextProps,
propKey$218
propKey$217
);
for (defaultChecked in nextProps)
(propKey$218 = nextProps[defaultChecked]),
(propKey$217 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$218 === propKey ||
(void 0 === propKey$218 && void 0 === propKey) ||
propKey$217 === propKey ||
(void 0 === propKey$217 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$218,
propKey$217,
nextProps,
propKey
);
return;
}
}
for (var propKey$249 in lastProps)
(propKey$218 = lastProps[propKey$249]),
lastProps.hasOwnProperty(propKey$249) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$249) &&
setProp(domElement, tag, propKey$249, null, nextProps, propKey$218);
for (var propKey$248 in lastProps)
(propKey$217 = lastProps[propKey$248]),
lastProps.hasOwnProperty(propKey$248) &&
null != propKey$217 &&
!nextProps.hasOwnProperty(propKey$248) &&
setProp(domElement, tag, propKey$248, null, nextProps, propKey$217);
for (lastProp in nextProps)
(propKey$218 = nextProps[lastProp]),
(propKey$217 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$218 === propKey ||
(null == propKey$218 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$218, nextProps, propKey);
propKey$217 === propKey ||
(null == propKey$217 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -15201,17 +15198,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$257 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$258 = styles$257.get(type);
resource$258 ||
var styles$256 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$257 = styles$256.get(type);
resource$257 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$258 = {
(resource$257 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$257.set(type, resource$258),
styles$256.set(type, resource$257),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -15226,9 +15223,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$258.state
resource$257.state
));
return resource$258;
return resource$257;
}
return null;
case "script":
@@ -15324,37 +15321,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$262 = hoistableRoot.querySelector(
var instance$261 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$262)
if (instance$261)
return (
(resource.state.loading |= 4),
(resource.instance = instance$262),
markNodeAsHoistable(instance$262),
instance$262
(resource.instance = instance$261),
markNodeAsHoistable(instance$261),
instance$261
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$262 = (
instance$261 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$262);
var linkInstance = instance$262;
markNodeAsHoistable(instance$261);
var linkInstance = instance$261;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$262, "link", instance);
setInitialProperties(instance$261, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$262, props.precedence, hoistableRoot);
return (resource.instance = instance$262);
insertStylesheet(instance$261, props.precedence, hoistableRoot);
return (resource.instance = instance$261);
case "script":
instance$262 = getScriptKey(props.src);
instance$261 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$262)
getScriptSelectorFromKey(instance$261)
))
)
return (
@@ -15363,7 +15360,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$262)))
if ((styleProps = preloadPropsMap.get(instance$261)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -16365,17 +16362,17 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1692 = {
var devToolsConfig$jscomp$inline_1689 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-5d32f0b5",
version: "19.0.0-www-modern-f0700704",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2159 = {
bundleType: devToolsConfig$jscomp$inline_1692.bundleType,
version: devToolsConfig$jscomp$inline_1692.version,
rendererPackageName: devToolsConfig$jscomp$inline_1692.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1692.rendererConfig,
var internals$jscomp$inline_2156 = {
bundleType: devToolsConfig$jscomp$inline_1689.bundleType,
version: devToolsConfig$jscomp$inline_1689.version,
rendererPackageName: devToolsConfig$jscomp$inline_1689.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1689.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -16391,26 +16388,26 @@ var internals$jscomp$inline_2159 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1692.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1689.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-5d32f0b5"
reconcilerVersion: "19.0.0-www-modern-f0700704"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2160 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2157 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2160.isDisabled &&
hook$jscomp$inline_2160.supportsFiber
!hook$jscomp$inline_2157.isDisabled &&
hook$jscomp$inline_2157.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2160.inject(
internals$jscomp$inline_2159
(rendererID = hook$jscomp$inline_2157.inject(
internals$jscomp$inline_2156
)),
(injectedHook = hook$jscomp$inline_2160);
(injectedHook = hook$jscomp$inline_2157);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -16772,4 +16769,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-5d32f0b5";
exports.version = "19.0.0-www-modern-f0700704";
@@ -8829,7 +8829,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$221) {
} catch (e$220) {
JSCompiler_temp = null;
break a;
}
@@ -10143,8 +10143,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -10162,7 +10161,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$184
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -10205,12 +10203,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$188) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$188);
} catch (error$187) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$187);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -10225,8 +10222,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$189) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$189);
} catch (error$188) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$188);
}
}
break;
@@ -10240,8 +10237,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$190) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$190);
} catch (error$189) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$189);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -10273,8 +10270,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$192) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$192);
} catch (error$191) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$191);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -10646,8 +10643,8 @@ function commitHookPassiveMountEffects(finishedWork, hookFlags) {
} else
try {
commitHookEffectListMount(hookFlags, finishedWork);
} catch (error$195) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$195);
} catch (error$194) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$194);
}
}
function commitOffscreenPassiveMountEffects(current, finishedWork, instance) {
@@ -10946,9 +10943,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$200 = finishedWork.stateNode;
var instance$199 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$200._visibility & 4
? instance$199._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10961,7 +10958,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$200._visibility |= 4),
: ((instance$199._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10969,7 +10966,7 @@ function recursivelyTraverseReconnectPassiveEffects(
committedTransitions,
includeWorkInProgressEffects
))
: ((instance$200._visibility |= 4),
: ((instance$199._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10982,7 +10979,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$200
instance$199
);
break;
case 24:
@@ -12005,8 +12002,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$208) {
handleThrow(root, thrownValue$208);
} catch (thrownValue$207) {
handleThrow(root, thrownValue$207);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -12122,8 +12119,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$210) {
handleThrow(root, thrownValue$210);
} catch (thrownValue$209) {
handleThrow(root, thrownValue$209);
}
while (1);
resetContextDependencies();
@@ -12386,13 +12383,13 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$214 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$213 = commitBeforeMutationEffects(
root,
finishedWork
);
commitTime = now();
commitMutationEffects(root, finishedWork, lanes);
shouldFireAfterActiveInstanceBlur$214 &&
shouldFireAfterActiveInstanceBlur$213 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -12477,7 +12474,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$215 = rootWithPendingPassiveEffects,
var root$214 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -12492,7 +12489,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$215, remainingLanes);
releaseRootPooledCache(root$214, remainingLanes);
}
}
return !1;
@@ -13828,19 +13825,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$373;
var JSCompiler_inline_result$jscomp$372;
if (canUseDOM) {
var isSupported$jscomp$inline_1592 = "oninput" in document;
if (!isSupported$jscomp$inline_1592) {
var element$jscomp$inline_1593 = document.createElement("div");
element$jscomp$inline_1593.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1592 =
"function" === typeof element$jscomp$inline_1593.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$373 = isSupported$jscomp$inline_1592;
} else JSCompiler_inline_result$jscomp$373 = !1;
JSCompiler_inline_result$jscomp$372 = isSupported$jscomp$inline_1589;
} else JSCompiler_inline_result$jscomp$372 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$373 &&
JSCompiler_inline_result$jscomp$372 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -14218,20 +14215,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1633 = 0;
i$jscomp$inline_1633 < simpleEventPluginEvents.length;
i$jscomp$inline_1633++
var i$jscomp$inline_1630 = 0;
i$jscomp$inline_1630 < simpleEventPluginEvents.length;
i$jscomp$inline_1630++
) {
var eventName$jscomp$inline_1634 =
simpleEventPluginEvents[i$jscomp$inline_1633],
domEventName$jscomp$inline_1635 =
eventName$jscomp$inline_1634.toLowerCase(),
capitalizedEvent$jscomp$inline_1636 =
eventName$jscomp$inline_1634[0].toUpperCase() +
eventName$jscomp$inline_1634.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_1635,
"on" + capitalizedEvent$jscomp$inline_1636
domEventName$jscomp$inline_1632,
"on" + capitalizedEvent$jscomp$inline_1633
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15700,14 +15697,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$248 in nextProps) {
var propKey = nextProps[propKey$248];
lastProp = lastProps[propKey$248];
for (var propKey$247 in nextProps) {
var propKey = nextProps[propKey$247];
lastProp = lastProps[propKey$247];
if (
nextProps.hasOwnProperty(propKey$248) &&
nextProps.hasOwnProperty(propKey$247) &&
(null != propKey || null != lastProp)
)
switch (propKey$248) {
switch (propKey$247) {
case "type":
type = propKey;
break;
@@ -15736,7 +15733,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$248,
propKey$247,
propKey,
nextProps,
lastProp
@@ -15755,7 +15752,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$248 = null;
propKey = value = defaultValue = propKey$247 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -15786,7 +15783,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$248 = type;
propKey$247 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -15807,15 +15804,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$248
? updateOptions(domElement, !!lastProps, propKey$248, !1)
null != propKey$247
? updateOptions(domElement, !!lastProps, propKey$247, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$248 = null;
propKey = propKey$247 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -15839,7 +15836,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$248 = name;
propKey$247 = name;
break;
case "defaultValue":
propKey = name;
@@ -15853,17 +15850,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$248, propKey);
updateTextarea(domElement, propKey$247, propKey);
return;
case "option":
for (var propKey$264 in lastProps)
for (var propKey$263 in lastProps)
if (
((propKey$248 = lastProps[propKey$264]),
lastProps.hasOwnProperty(propKey$264) &&
null != propKey$248 &&
!nextProps.hasOwnProperty(propKey$264))
((propKey$247 = lastProps[propKey$263]),
lastProps.hasOwnProperty(propKey$263) &&
null != propKey$247 &&
!nextProps.hasOwnProperty(propKey$263))
)
switch (propKey$264) {
switch (propKey$263) {
case "selected":
domElement.selected = !1;
break;
@@ -15871,33 +15868,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$264,
propKey$263,
null,
nextProps,
propKey$248
propKey$247
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$248 = nextProps[lastDefaultValue]),
((propKey$247 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$248 !== propKey &&
(null != propKey$248 || null != propKey))
propKey$247 !== propKey &&
(null != propKey$247 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$248 &&
"function" !== typeof propKey$248 &&
"symbol" !== typeof propKey$248;
propKey$247 &&
"function" !== typeof propKey$247 &&
"symbol" !== typeof propKey$247;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$248,
propKey$247,
nextProps,
propKey
);
@@ -15918,24 +15915,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$269 in lastProps)
(propKey$248 = lastProps[propKey$269]),
lastProps.hasOwnProperty(propKey$269) &&
null != propKey$248 &&
!nextProps.hasOwnProperty(propKey$269) &&
setProp(domElement, tag, propKey$269, null, nextProps, propKey$248);
for (var propKey$268 in lastProps)
(propKey$247 = lastProps[propKey$268]),
lastProps.hasOwnProperty(propKey$268) &&
null != propKey$247 &&
!nextProps.hasOwnProperty(propKey$268) &&
setProp(domElement, tag, propKey$268, null, nextProps, propKey$247);
for (checked in nextProps)
if (
((propKey$248 = nextProps[checked]),
((propKey$247 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$248 !== propKey &&
(null != propKey$248 || null != propKey))
propKey$247 !== propKey &&
(null != propKey$247 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$248)
if (null != propKey$247)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -15943,7 +15940,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$248,
propKey$247,
nextProps,
propKey
);
@@ -15951,49 +15948,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$274 in lastProps)
(propKey$248 = lastProps[propKey$274]),
lastProps.hasOwnProperty(propKey$274) &&
void 0 !== propKey$248 &&
!nextProps.hasOwnProperty(propKey$274) &&
for (var propKey$273 in lastProps)
(propKey$247 = lastProps[propKey$273]),
lastProps.hasOwnProperty(propKey$273) &&
void 0 !== propKey$247 &&
!nextProps.hasOwnProperty(propKey$273) &&
setPropOnCustomElement(
domElement,
tag,
propKey$274,
propKey$273,
void 0,
nextProps,
propKey$248
propKey$247
);
for (defaultChecked in nextProps)
(propKey$248 = nextProps[defaultChecked]),
(propKey$247 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$248 === propKey ||
(void 0 === propKey$248 && void 0 === propKey) ||
propKey$247 === propKey ||
(void 0 === propKey$247 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$248,
propKey$247,
nextProps,
propKey
);
return;
}
}
for (var propKey$279 in lastProps)
(propKey$248 = lastProps[propKey$279]),
lastProps.hasOwnProperty(propKey$279) &&
null != propKey$248 &&
!nextProps.hasOwnProperty(propKey$279) &&
setProp(domElement, tag, propKey$279, null, nextProps, propKey$248);
for (var propKey$278 in lastProps)
(propKey$247 = lastProps[propKey$278]),
lastProps.hasOwnProperty(propKey$278) &&
null != propKey$247 &&
!nextProps.hasOwnProperty(propKey$278) &&
setProp(domElement, tag, propKey$278, null, nextProps, propKey$247);
for (lastProp in nextProps)
(propKey$248 = nextProps[lastProp]),
(propKey$247 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$248 === propKey ||
(null == propKey$248 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$248, nextProps, propKey);
propKey$247 === propKey ||
(null == propKey$247 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$247, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -16572,17 +16569,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$287 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$288 = styles$287.get(type);
resource$288 ||
var styles$286 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$287 = styles$286.get(type);
resource$287 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$288 = {
(resource$287 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$287.set(type, resource$288),
styles$286.set(type, resource$287),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -16597,9 +16594,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$288.state
resource$287.state
));
return resource$288;
return resource$287;
}
return null;
case "script":
@@ -16695,37 +16692,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$292 = hoistableRoot.querySelector(
var instance$291 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$292)
if (instance$291)
return (
(resource.state.loading |= 4),
(resource.instance = instance$292),
markNodeAsHoistable(instance$292),
instance$292
(resource.instance = instance$291),
markNodeAsHoistable(instance$291),
instance$291
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$292 = (
instance$291 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$292);
var linkInstance = instance$292;
markNodeAsHoistable(instance$291);
var linkInstance = instance$291;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$292, "link", instance);
setInitialProperties(instance$291, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$292, props.precedence, hoistableRoot);
return (resource.instance = instance$292);
insertStylesheet(instance$291, props.precedence, hoistableRoot);
return (resource.instance = instance$291);
case "script":
instance$292 = getScriptKey(props.src);
instance$291 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$292)
getScriptSelectorFromKey(instance$291)
))
)
return (
@@ -16734,7 +16731,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$292)))
if ((styleProps = preloadPropsMap.get(instance$291)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -17746,10 +17743,10 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1811 = {
var devToolsConfig$jscomp$inline_1808 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-193f2253",
version: "19.0.0-www-classic-1f432af0",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -17767,10 +17764,10 @@ var devToolsConfig$jscomp$inline_1811 = {
} catch (err) {}
return hook.checkDCE ? !0 : !1;
})({
bundleType: devToolsConfig$jscomp$inline_1811.bundleType,
version: devToolsConfig$jscomp$inline_1811.version,
rendererPackageName: devToolsConfig$jscomp$inline_1811.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1811.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1808.bundleType,
version: devToolsConfig$jscomp$inline_1808.version,
rendererPackageName: devToolsConfig$jscomp$inline_1808.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1808.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -17786,14 +17783,14 @@ var devToolsConfig$jscomp$inline_1811 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1811.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1808.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-193f2253"
reconcilerVersion: "19.0.0-www-classic-1f432af0"
});
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
@@ -17866,11 +17863,11 @@ function legacyCreateRootFromDOMContainer(
if ("function" === typeof callback) {
var originalCallback = callback;
callback = function () {
var instance = getPublicRootInstance(root$313);
var instance = getPublicRootInstance(root$312);
originalCallback.call(instance);
};
}
var root$313 = createHydrationContainer(
var root$312 = createHydrationContainer(
initialChildren,
callback,
container,
@@ -17885,23 +17882,23 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$313;
container[internalContainerInstanceKey] = root$313.current;
container._reactRootContainer = root$312;
container[internalContainerInstanceKey] = root$312.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
flushSyncWork();
return root$313;
return root$312;
}
clearContainer(container);
if ("function" === typeof callback) {
var originalCallback$314 = callback;
var originalCallback$313 = callback;
callback = function () {
var instance = getPublicRootInstance(root$315);
originalCallback$314.call(instance);
var instance = getPublicRootInstance(root$314);
originalCallback$313.call(instance);
};
}
var root$315 = createFiberRoot(
var root$314 = createFiberRoot(
container,
0,
!1,
@@ -17916,14 +17913,14 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$315;
container[internalContainerInstanceKey] = root$315.current;
container._reactRootContainer = root$314;
container[internalContainerInstanceKey] = root$314.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
updateContainerSync(initialChildren, root$315, parentComponent, callback);
updateContainerSync(initialChildren, root$314, parentComponent, callback);
flushSyncWork();
return root$315;
return root$314;
}
function legacyRenderSubtreeIntoContainer(
parentComponent,
@@ -18284,7 +18281,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-193f2253";
exports.version = "19.0.0-www-classic-1f432af0";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+136 -139
View File
@@ -8336,7 +8336,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$212) {
} catch (e$211) {
JSCompiler_temp = null;
break a;
}
@@ -9652,8 +9652,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -9671,7 +9670,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$175
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -9714,12 +9712,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$179) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$179);
} catch (error$178) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$178);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -9734,8 +9731,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$180) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$180);
} catch (error$179) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$179);
}
}
break;
@@ -9749,8 +9746,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$181) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$181);
} catch (error$180) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$180);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -9782,8 +9779,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$183) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$183);
} catch (error$182) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$182);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -10152,8 +10149,8 @@ function commitHookPassiveMountEffects(finishedWork, hookFlags) {
} else
try {
commitHookEffectListMount(hookFlags, finishedWork);
} catch (error$186) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$186);
} catch (error$185) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$185);
}
}
function commitOffscreenPassiveMountEffects(current, finishedWork, instance) {
@@ -10444,9 +10441,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$191 = finishedWork.stateNode;
var instance$190 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$191._visibility & 4
? instance$190._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10458,7 +10455,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$191._visibility |= 4),
: ((instance$190._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10471,7 +10468,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$191
instance$190
);
break;
case 24:
@@ -11475,8 +11472,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$199) {
handleThrow(root, thrownValue$199);
} catch (thrownValue$198) {
handleThrow(root, thrownValue$198);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -11592,8 +11589,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$201) {
handleThrow(root, thrownValue$201);
} catch (thrownValue$200) {
handleThrow(root, thrownValue$200);
}
while (1);
resetContextDependencies();
@@ -11852,13 +11849,13 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$205 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$204 = commitBeforeMutationEffects(
root,
finishedWork
);
commitTime = now();
commitMutationEffects(root, finishedWork, lanes);
shouldFireAfterActiveInstanceBlur$205 &&
shouldFireAfterActiveInstanceBlur$204 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -11941,7 +11938,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$206 = rootWithPendingPassiveEffects,
var root$205 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11956,7 +11953,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$206, remainingLanes);
releaseRootPooledCache(root$205, remainingLanes);
}
}
return !1;
@@ -13198,19 +13195,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$360;
var JSCompiler_inline_result$jscomp$359;
if (canUseDOM) {
var isSupported$jscomp$inline_1564 = "oninput" in document;
if (!isSupported$jscomp$inline_1564) {
var element$jscomp$inline_1565 = document.createElement("div");
element$jscomp$inline_1565.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1564 =
"function" === typeof element$jscomp$inline_1565.oninput;
var isSupported$jscomp$inline_1561 = "oninput" in document;
if (!isSupported$jscomp$inline_1561) {
var element$jscomp$inline_1562 = document.createElement("div");
element$jscomp$inline_1562.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1561 =
"function" === typeof element$jscomp$inline_1562.oninput;
}
JSCompiler_inline_result$jscomp$360 = isSupported$jscomp$inline_1564;
} else JSCompiler_inline_result$jscomp$360 = !1;
JSCompiler_inline_result$jscomp$359 = isSupported$jscomp$inline_1561;
} else JSCompiler_inline_result$jscomp$359 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$360 &&
JSCompiler_inline_result$jscomp$359 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -13588,20 +13585,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1605 = 0;
i$jscomp$inline_1605 < simpleEventPluginEvents.length;
i$jscomp$inline_1605++
var i$jscomp$inline_1602 = 0;
i$jscomp$inline_1602 < simpleEventPluginEvents.length;
i$jscomp$inline_1602++
) {
var eventName$jscomp$inline_1606 =
simpleEventPluginEvents[i$jscomp$inline_1605],
domEventName$jscomp$inline_1607 =
eventName$jscomp$inline_1606.toLowerCase(),
capitalizedEvent$jscomp$inline_1608 =
eventName$jscomp$inline_1606[0].toUpperCase() +
eventName$jscomp$inline_1606.slice(1);
var eventName$jscomp$inline_1603 =
simpleEventPluginEvents[i$jscomp$inline_1602],
domEventName$jscomp$inline_1604 =
eventName$jscomp$inline_1603.toLowerCase(),
capitalizedEvent$jscomp$inline_1605 =
eventName$jscomp$inline_1603[0].toUpperCase() +
eventName$jscomp$inline_1603.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1607,
"on" + capitalizedEvent$jscomp$inline_1608
domEventName$jscomp$inline_1604,
"on" + capitalizedEvent$jscomp$inline_1605
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15069,14 +15066,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$239 in nextProps) {
var propKey = nextProps[propKey$239];
lastProp = lastProps[propKey$239];
for (var propKey$238 in nextProps) {
var propKey = nextProps[propKey$238];
lastProp = lastProps[propKey$238];
if (
nextProps.hasOwnProperty(propKey$239) &&
nextProps.hasOwnProperty(propKey$238) &&
(null != propKey || null != lastProp)
)
switch (propKey$239) {
switch (propKey$238) {
case "type":
type = propKey;
break;
@@ -15105,7 +15102,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$239,
propKey$238,
propKey,
nextProps,
lastProp
@@ -15124,7 +15121,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$239 = null;
propKey = value = defaultValue = propKey$238 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -15155,7 +15152,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$239 = type;
propKey$238 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -15176,15 +15173,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$239
? updateOptions(domElement, !!lastProps, propKey$239, !1)
null != propKey$238
? updateOptions(domElement, !!lastProps, propKey$238, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$239 = null;
propKey = propKey$238 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -15208,7 +15205,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$239 = name;
propKey$238 = name;
break;
case "defaultValue":
propKey = name;
@@ -15222,17 +15219,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$239, propKey);
updateTextarea(domElement, propKey$238, propKey);
return;
case "option":
for (var propKey$255 in lastProps)
for (var propKey$254 in lastProps)
if (
((propKey$239 = lastProps[propKey$255]),
lastProps.hasOwnProperty(propKey$255) &&
null != propKey$239 &&
!nextProps.hasOwnProperty(propKey$255))
((propKey$238 = lastProps[propKey$254]),
lastProps.hasOwnProperty(propKey$254) &&
null != propKey$238 &&
!nextProps.hasOwnProperty(propKey$254))
)
switch (propKey$255) {
switch (propKey$254) {
case "selected":
domElement.selected = !1;
break;
@@ -15240,33 +15237,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$255,
propKey$254,
null,
nextProps,
propKey$239
propKey$238
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$239 = nextProps[lastDefaultValue]),
((propKey$238 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$239 !== propKey &&
(null != propKey$239 || null != propKey))
propKey$238 !== propKey &&
(null != propKey$238 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$239 &&
"function" !== typeof propKey$239 &&
"symbol" !== typeof propKey$239;
propKey$238 &&
"function" !== typeof propKey$238 &&
"symbol" !== typeof propKey$238;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$239,
propKey$238,
nextProps,
propKey
);
@@ -15287,24 +15284,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$260 in lastProps)
(propKey$239 = lastProps[propKey$260]),
lastProps.hasOwnProperty(propKey$260) &&
null != propKey$239 &&
!nextProps.hasOwnProperty(propKey$260) &&
setProp(domElement, tag, propKey$260, null, nextProps, propKey$239);
for (var propKey$259 in lastProps)
(propKey$238 = lastProps[propKey$259]),
lastProps.hasOwnProperty(propKey$259) &&
null != propKey$238 &&
!nextProps.hasOwnProperty(propKey$259) &&
setProp(domElement, tag, propKey$259, null, nextProps, propKey$238);
for (checked in nextProps)
if (
((propKey$239 = nextProps[checked]),
((propKey$238 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$239 !== propKey &&
(null != propKey$239 || null != propKey))
propKey$238 !== propKey &&
(null != propKey$238 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$239)
if (null != propKey$238)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -15312,7 +15309,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$239,
propKey$238,
nextProps,
propKey
);
@@ -15320,49 +15317,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$265 in lastProps)
(propKey$239 = lastProps[propKey$265]),
lastProps.hasOwnProperty(propKey$265) &&
void 0 !== propKey$239 &&
!nextProps.hasOwnProperty(propKey$265) &&
for (var propKey$264 in lastProps)
(propKey$238 = lastProps[propKey$264]),
lastProps.hasOwnProperty(propKey$264) &&
void 0 !== propKey$238 &&
!nextProps.hasOwnProperty(propKey$264) &&
setPropOnCustomElement(
domElement,
tag,
propKey$265,
propKey$264,
void 0,
nextProps,
propKey$239
propKey$238
);
for (defaultChecked in nextProps)
(propKey$239 = nextProps[defaultChecked]),
(propKey$238 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$239 === propKey ||
(void 0 === propKey$239 && void 0 === propKey) ||
propKey$238 === propKey ||
(void 0 === propKey$238 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$239,
propKey$238,
nextProps,
propKey
);
return;
}
}
for (var propKey$270 in lastProps)
(propKey$239 = lastProps[propKey$270]),
lastProps.hasOwnProperty(propKey$270) &&
null != propKey$239 &&
!nextProps.hasOwnProperty(propKey$270) &&
setProp(domElement, tag, propKey$270, null, nextProps, propKey$239);
for (var propKey$269 in lastProps)
(propKey$238 = lastProps[propKey$269]),
lastProps.hasOwnProperty(propKey$269) &&
null != propKey$238 &&
!nextProps.hasOwnProperty(propKey$269) &&
setProp(domElement, tag, propKey$269, null, nextProps, propKey$238);
for (lastProp in nextProps)
(propKey$239 = nextProps[lastProp]),
(propKey$238 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$239 === propKey ||
(null == propKey$239 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$239, nextProps, propKey);
propKey$238 === propKey ||
(null == propKey$238 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$238, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -15932,17 +15929,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$278 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$279 = styles$278.get(type);
resource$279 ||
var styles$277 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$278 = styles$277.get(type);
resource$278 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$279 = {
(resource$278 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$278.set(type, resource$279),
styles$277.set(type, resource$278),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -15957,9 +15954,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$279.state
resource$278.state
));
return resource$279;
return resource$278;
}
return null;
case "script":
@@ -16055,37 +16052,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$283 = hoistableRoot.querySelector(
var instance$282 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$283)
if (instance$282)
return (
(resource.state.loading |= 4),
(resource.instance = instance$283),
markNodeAsHoistable(instance$283),
instance$283
(resource.instance = instance$282),
markNodeAsHoistable(instance$282),
instance$282
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$283 = (
instance$282 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$283);
var linkInstance = instance$283;
markNodeAsHoistable(instance$282);
var linkInstance = instance$282;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$283, "link", instance);
setInitialProperties(instance$282, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$283, props.precedence, hoistableRoot);
return (resource.instance = instance$283);
insertStylesheet(instance$282, props.precedence, hoistableRoot);
return (resource.instance = instance$282);
case "script":
instance$283 = getScriptKey(props.src);
instance$282 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$283)
getScriptSelectorFromKey(instance$282)
))
)
return (
@@ -16094,7 +16091,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$283)))
if ((styleProps = preloadPropsMap.get(instance$282)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -17096,10 +17093,10 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1778 = {
var devToolsConfig$jscomp$inline_1775 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-18e566dc",
version: "19.0.0-www-modern-dc4f98b5",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -17117,10 +17114,10 @@ var devToolsConfig$jscomp$inline_1778 = {
} catch (err) {}
return hook.checkDCE ? !0 : !1;
})({
bundleType: devToolsConfig$jscomp$inline_1778.bundleType,
version: devToolsConfig$jscomp$inline_1778.version,
rendererPackageName: devToolsConfig$jscomp$inline_1778.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1778.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1775.bundleType,
version: devToolsConfig$jscomp$inline_1775.version,
rendererPackageName: devToolsConfig$jscomp$inline_1775.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1775.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -17136,14 +17133,14 @@ var devToolsConfig$jscomp$inline_1778 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1778.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1775.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-18e566dc"
reconcilerVersion: "19.0.0-www-modern-dc4f98b5"
});
function ReactDOMRoot(internalRoot) {
this._internalRoot = internalRoot;
@@ -17504,7 +17501,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-18e566dc";
exports.version = "19.0.0-www-modern-dc4f98b5";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -24748,12 +24748,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -24821,13 +24817,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -31399,7 +31392,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-classic-017bae97';
var ReactVersion = '19.0.0-www-classic-cee61911';
function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
@@ -38344,7 +38337,7 @@ function commitMount(domElement, type, newProps, internalInstanceHandle) {
}
}
}
function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(domElement, type, oldProps, newProps, internalInstanceHandle) {
// Diff and update the properties.
updateProperties(domElement, type, oldProps, newProps); // Update the props handle so that we know which props are the ones with
// with current event handlers.
@@ -24203,12 +24203,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -24276,13 +24272,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -30574,7 +30567,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-modern-d1cd2d1b';
var ReactVersion = '19.0.0-www-modern-53476f61';
function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
@@ -37499,7 +37492,7 @@ function commitMount(domElement, type, newProps, internalInstanceHandle) {
}
}
}
function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(domElement, type, oldProps, newProps, internalInstanceHandle) {
// Diff and update the properties.
updateProperties(domElement, type, oldProps, newProps); // Update the props handle so that we know which props are the ones with
// with current event handlers.
@@ -8570,7 +8570,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$201) {
} catch (e$200) {
JSCompiler_temp = null;
break a;
}
@@ -9683,8 +9683,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -9702,7 +9701,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$165
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -9745,12 +9743,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$169) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$169);
} catch (error$168) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$168);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -9765,8 +9762,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$170) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$170);
} catch (error$169) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$169);
}
}
break;
@@ -9780,8 +9777,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$171) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$171);
} catch (error$170) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$170);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -9813,8 +9810,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$173) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$173);
} catch (error$172) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$172);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -10461,9 +10458,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$180 = finishedWork.stateNode;
var instance$179 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$180._visibility & 4
? instance$179._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10476,7 +10473,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$180._visibility |= 4),
: ((instance$179._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10484,7 +10481,7 @@ function recursivelyTraverseReconnectPassiveEffects(
committedTransitions,
includeWorkInProgressEffects
))
: ((instance$180._visibility |= 4),
: ((instance$179._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10497,7 +10494,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$180
instance$179
);
break;
case 24:
@@ -11643,8 +11640,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$189) {
handleThrow(root, thrownValue$189);
} catch (thrownValue$188) {
handleThrow(root, thrownValue$188);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -11749,8 +11746,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$191) {
handleThrow(root, thrownValue$191);
} catch (thrownValue$190) {
handleThrow(root, thrownValue$190);
}
while (1);
resetContextDependencies();
@@ -11979,12 +11976,12 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$195 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$194 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$195 &&
shouldFireAfterActiveInstanceBlur$194 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -12056,7 +12053,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$196 = rootWithPendingPassiveEffects,
var root$195 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -12071,7 +12068,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$196, remainingLanes);
releaseRootPooledCache(root$195, remainingLanes);
}
}
return !1;
@@ -13352,19 +13349,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$354;
var JSCompiler_inline_result$jscomp$353;
if (canUseDOM) {
var isSupported$jscomp$inline_1535 = "oninput" in document;
if (!isSupported$jscomp$inline_1535) {
var element$jscomp$inline_1536 = document.createElement("div");
element$jscomp$inline_1536.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1535 =
"function" === typeof element$jscomp$inline_1536.oninput;
var isSupported$jscomp$inline_1532 = "oninput" in document;
if (!isSupported$jscomp$inline_1532) {
var element$jscomp$inline_1533 = document.createElement("div");
element$jscomp$inline_1533.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1532 =
"function" === typeof element$jscomp$inline_1533.oninput;
}
JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1535;
} else JSCompiler_inline_result$jscomp$354 = !1;
JSCompiler_inline_result$jscomp$353 = isSupported$jscomp$inline_1532;
} else JSCompiler_inline_result$jscomp$353 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$354 &&
JSCompiler_inline_result$jscomp$353 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -13742,20 +13739,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1576 = 0;
i$jscomp$inline_1576 < simpleEventPluginEvents.length;
i$jscomp$inline_1576++
var i$jscomp$inline_1573 = 0;
i$jscomp$inline_1573 < simpleEventPluginEvents.length;
i$jscomp$inline_1573++
) {
var eventName$jscomp$inline_1577 =
simpleEventPluginEvents[i$jscomp$inline_1576],
domEventName$jscomp$inline_1578 =
eventName$jscomp$inline_1577.toLowerCase(),
capitalizedEvent$jscomp$inline_1579 =
eventName$jscomp$inline_1577[0].toUpperCase() +
eventName$jscomp$inline_1577.slice(1);
var eventName$jscomp$inline_1574 =
simpleEventPluginEvents[i$jscomp$inline_1573],
domEventName$jscomp$inline_1575 =
eventName$jscomp$inline_1574.toLowerCase(),
capitalizedEvent$jscomp$inline_1576 =
eventName$jscomp$inline_1574[0].toUpperCase() +
eventName$jscomp$inline_1574.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1578,
"on" + capitalizedEvent$jscomp$inline_1579
domEventName$jscomp$inline_1575,
"on" + capitalizedEvent$jscomp$inline_1576
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15224,14 +15221,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$228 in nextProps) {
var propKey = nextProps[propKey$228];
lastProp = lastProps[propKey$228];
for (var propKey$227 in nextProps) {
var propKey = nextProps[propKey$227];
lastProp = lastProps[propKey$227];
if (
nextProps.hasOwnProperty(propKey$228) &&
nextProps.hasOwnProperty(propKey$227) &&
(null != propKey || null != lastProp)
)
switch (propKey$228) {
switch (propKey$227) {
case "type":
type = propKey;
break;
@@ -15260,7 +15257,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$228,
propKey$227,
propKey,
nextProps,
lastProp
@@ -15279,7 +15276,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$228 = null;
propKey = value = defaultValue = propKey$227 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -15310,7 +15307,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$228 = type;
propKey$227 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -15331,15 +15328,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$228
? updateOptions(domElement, !!lastProps, propKey$228, !1)
null != propKey$227
? updateOptions(domElement, !!lastProps, propKey$227, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$228 = null;
propKey = propKey$227 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -15363,7 +15360,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$228 = name;
propKey$227 = name;
break;
case "defaultValue":
propKey = name;
@@ -15377,17 +15374,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$228, propKey);
updateTextarea(domElement, propKey$227, propKey);
return;
case "option":
for (var propKey$244 in lastProps)
for (var propKey$243 in lastProps)
if (
((propKey$228 = lastProps[propKey$244]),
lastProps.hasOwnProperty(propKey$244) &&
null != propKey$228 &&
!nextProps.hasOwnProperty(propKey$244))
((propKey$227 = lastProps[propKey$243]),
lastProps.hasOwnProperty(propKey$243) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$243))
)
switch (propKey$244) {
switch (propKey$243) {
case "selected":
domElement.selected = !1;
break;
@@ -15395,33 +15392,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$244,
propKey$243,
null,
nextProps,
propKey$228
propKey$227
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$228 = nextProps[lastDefaultValue]),
((propKey$227 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$228 !== propKey &&
(null != propKey$228 || null != propKey))
propKey$227 !== propKey &&
(null != propKey$227 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$228 &&
"function" !== typeof propKey$228 &&
"symbol" !== typeof propKey$228;
propKey$227 &&
"function" !== typeof propKey$227 &&
"symbol" !== typeof propKey$227;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$228,
propKey$227,
nextProps,
propKey
);
@@ -15442,24 +15439,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$249 in lastProps)
(propKey$228 = lastProps[propKey$249]),
lastProps.hasOwnProperty(propKey$249) &&
null != propKey$228 &&
!nextProps.hasOwnProperty(propKey$249) &&
setProp(domElement, tag, propKey$249, null, nextProps, propKey$228);
for (var propKey$248 in lastProps)
(propKey$227 = lastProps[propKey$248]),
lastProps.hasOwnProperty(propKey$248) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$248) &&
setProp(domElement, tag, propKey$248, null, nextProps, propKey$227);
for (checked in nextProps)
if (
((propKey$228 = nextProps[checked]),
((propKey$227 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$228 !== propKey &&
(null != propKey$228 || null != propKey))
propKey$227 !== propKey &&
(null != propKey$227 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$228)
if (null != propKey$227)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -15467,7 +15464,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$228,
propKey$227,
nextProps,
propKey
);
@@ -15475,49 +15472,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$254 in lastProps)
(propKey$228 = lastProps[propKey$254]),
lastProps.hasOwnProperty(propKey$254) &&
void 0 !== propKey$228 &&
!nextProps.hasOwnProperty(propKey$254) &&
for (var propKey$253 in lastProps)
(propKey$227 = lastProps[propKey$253]),
lastProps.hasOwnProperty(propKey$253) &&
void 0 !== propKey$227 &&
!nextProps.hasOwnProperty(propKey$253) &&
setPropOnCustomElement(
domElement,
tag,
propKey$254,
propKey$253,
void 0,
nextProps,
propKey$228
propKey$227
);
for (defaultChecked in nextProps)
(propKey$228 = nextProps[defaultChecked]),
(propKey$227 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$228 === propKey ||
(void 0 === propKey$228 && void 0 === propKey) ||
propKey$227 === propKey ||
(void 0 === propKey$227 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$228,
propKey$227,
nextProps,
propKey
);
return;
}
}
for (var propKey$259 in lastProps)
(propKey$228 = lastProps[propKey$259]),
lastProps.hasOwnProperty(propKey$259) &&
null != propKey$228 &&
!nextProps.hasOwnProperty(propKey$259) &&
setProp(domElement, tag, propKey$259, null, nextProps, propKey$228);
for (var propKey$258 in lastProps)
(propKey$227 = lastProps[propKey$258]),
lastProps.hasOwnProperty(propKey$258) &&
null != propKey$227 &&
!nextProps.hasOwnProperty(propKey$258) &&
setProp(domElement, tag, propKey$258, null, nextProps, propKey$227);
for (lastProp in nextProps)
(propKey$228 = nextProps[lastProp]),
(propKey$227 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$228 === propKey ||
(null == propKey$228 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$228, nextProps, propKey);
propKey$227 === propKey ||
(null == propKey$227 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$227, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -16153,17 +16150,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$267 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$268 = styles$267.get(type);
resource$268 ||
var styles$266 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$267 = styles$266.get(type);
resource$267 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$268 = {
(resource$267 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$267.set(type, resource$268),
styles$266.set(type, resource$267),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -16178,9 +16175,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$268.state
resource$267.state
));
return resource$268;
return resource$267;
}
return null;
case "script":
@@ -16276,37 +16273,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$272 = hoistableRoot.querySelector(
var instance$271 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$272)
if (instance$271)
return (
(resource.state.loading |= 4),
(resource.instance = instance$272),
markNodeAsHoistable(instance$272),
instance$272
(resource.instance = instance$271),
markNodeAsHoistable(instance$271),
instance$271
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$272 = (
instance$271 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$272);
var linkInstance = instance$272;
markNodeAsHoistable(instance$271);
var linkInstance = instance$271;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$272, "link", instance);
setInitialProperties(instance$271, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$272, props.precedence, hoistableRoot);
return (resource.instance = instance$272);
insertStylesheet(instance$271, props.precedence, hoistableRoot);
return (resource.instance = instance$271);
case "script":
instance$272 = getScriptKey(props.src);
instance$271 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$272)
getScriptSelectorFromKey(instance$271)
))
)
return (
@@ -16315,7 +16312,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$272)))
if ((styleProps = preloadPropsMap.get(instance$271)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -17327,17 +17324,17 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1754 = {
var devToolsConfig$jscomp$inline_1751 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-9442cd50",
version: "19.0.0-www-classic-f6d31036",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2203 = {
bundleType: devToolsConfig$jscomp$inline_1754.bundleType,
version: devToolsConfig$jscomp$inline_1754.version,
rendererPackageName: devToolsConfig$jscomp$inline_1754.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1754.rendererConfig,
var internals$jscomp$inline_2200 = {
bundleType: devToolsConfig$jscomp$inline_1751.bundleType,
version: devToolsConfig$jscomp$inline_1751.version,
rendererPackageName: devToolsConfig$jscomp$inline_1751.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1751.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -17353,26 +17350,26 @@ var internals$jscomp$inline_2203 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1754.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1751.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-9442cd50"
reconcilerVersion: "19.0.0-www-classic-f6d31036"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2204 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2201 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2204.isDisabled &&
hook$jscomp$inline_2204.supportsFiber
!hook$jscomp$inline_2201.isDisabled &&
hook$jscomp$inline_2201.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2204.inject(
internals$jscomp$inline_2203
(rendererID = hook$jscomp$inline_2201.inject(
internals$jscomp$inline_2200
)),
(injectedHook = hook$jscomp$inline_2204);
(injectedHook = hook$jscomp$inline_2201);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -17446,11 +17443,11 @@ function legacyCreateRootFromDOMContainer(
if ("function" === typeof callback) {
var originalCallback = callback;
callback = function () {
var instance = getPublicRootInstance(root$293);
var instance = getPublicRootInstance(root$292);
originalCallback.call(instance);
};
}
var root$293 = createHydrationContainer(
var root$292 = createHydrationContainer(
initialChildren,
callback,
container,
@@ -17465,23 +17462,23 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$293;
container[internalContainerInstanceKey] = root$293.current;
container._reactRootContainer = root$292;
container[internalContainerInstanceKey] = root$292.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
flushSyncWork();
return root$293;
return root$292;
}
clearContainer(container);
if ("function" === typeof callback) {
var originalCallback$294 = callback;
var originalCallback$293 = callback;
callback = function () {
var instance = getPublicRootInstance(root$295);
originalCallback$294.call(instance);
var instance = getPublicRootInstance(root$294);
originalCallback$293.call(instance);
};
}
var root$295 = createFiberRoot(
var root$294 = createFiberRoot(
container,
0,
!1,
@@ -17496,14 +17493,14 @@ function legacyCreateRootFromDOMContainer(
null,
null
);
container._reactRootContainer = root$295;
container[internalContainerInstanceKey] = root$295.current;
container._reactRootContainer = root$294;
container[internalContainerInstanceKey] = root$294.current;
listenToAllSupportedEvents(
8 === container.nodeType ? container.parentNode : container
);
updateContainerSync(initialChildren, root$295, parentComponent, callback);
updateContainerSync(initialChildren, root$294, parentComponent, callback);
flushSyncWork();
return root$295;
return root$294;
}
function legacyRenderSubtreeIntoContainer(
parentComponent,
@@ -18015,4 +18012,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-9442cd50";
exports.version = "19.0.0-www-classic-f6d31036";
@@ -8153,7 +8153,7 @@ function commitBeforeMutationEffects(root, firstChild) {
selection = selection.focusOffset;
try {
JSCompiler_temp.nodeType, focusNode.nodeType;
} catch (e$192) {
} catch (e$191) {
JSCompiler_temp = null;
break a;
}
@@ -9268,8 +9268,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
flags,
finishedWork.memoizedProps
);
else if (null === flags && null !== finishedWork.stateNode) {
finishedWork.updateQueue = null;
else if (null === flags && null !== finishedWork.stateNode)
try {
var domElement = finishedWork.stateNode,
newProps = finishedWork.memoizedProps;
@@ -9287,7 +9286,6 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
error$156
);
}
}
break;
case 27:
if (flags & 4 && null === finishedWork.alternate) {
@@ -9330,12 +9328,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
maybeNodes = finishedWork.type;
finishedWork.updateQueue = null;
try {
updateProperties(root, maybeNodes, current, hoistableRoot),
(root[internalPropsKey] = hoistableRoot);
} catch (error$160) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$160);
} catch (error$159) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$159);
}
}
flags & 1024 && (needsFormReset = !0);
@@ -9350,8 +9347,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
current = finishedWork.memoizedProps;
try {
flags.nodeValue = current;
} catch (error$161) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$161);
} catch (error$160) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$160);
}
}
break;
@@ -9365,8 +9362,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
try {
retryIfBlockedOn(root.containerInfo);
} catch (error$162) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$162);
} catch (error$161) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$161);
}
needsFormReset &&
((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -9398,8 +9395,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$164) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$164);
} catch (error$163) {
captureCommitPhaseError(finishedWork, finishedWork.return, error$163);
}
flags = finishedWork.updateQueue;
null !== flags &&
@@ -10035,9 +10032,9 @@ function recursivelyTraverseReconnectPassiveEffects(
);
break;
case 22:
var instance$171 = finishedWork.stateNode;
var instance$170 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$171._visibility & 4
? instance$170._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10049,7 +10046,7 @@ function recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork
)
: ((instance$171._visibility |= 4),
: ((instance$170._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -10062,7 +10059,7 @@ function recursivelyTraverseReconnectPassiveEffects(
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$171
instance$170
);
break;
case 24:
@@ -11189,8 +11186,8 @@ function renderRootSync(root, lanes) {
}
workLoopSync();
break;
} catch (thrownValue$180) {
handleThrow(root, thrownValue$180);
} catch (thrownValue$179) {
handleThrow(root, thrownValue$179);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -11295,8 +11292,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrent();
break;
} catch (thrownValue$182) {
handleThrow(root, thrownValue$182);
} catch (thrownValue$181) {
handleThrow(root, thrownValue$181);
}
while (1);
resetContextDependencies();
@@ -11521,12 +11518,12 @@ function commitRootImpl(
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$186 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$185 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$186 &&
shouldFireAfterActiveInstanceBlur$185 &&
((_enabled = !0),
dispatchAfterDetachedBlur(selectionInformation.focusedElem),
(_enabled = !1));
@@ -11596,7 +11593,7 @@ function releaseRootPooledCache(root, remainingLanes) {
}
function flushPassiveEffects() {
if (null !== rootWithPendingPassiveEffects) {
var root$187 = rootWithPendingPassiveEffects,
var root$186 = rootWithPendingPassiveEffects,
remainingLanes = pendingPassiveEffectsRemainingLanes;
pendingPassiveEffectsRemainingLanes = 0;
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -11611,7 +11608,7 @@ function flushPassiveEffects() {
} finally {
(Internals.p = previousPriority),
(ReactSharedInternals.T = prevTransition),
releaseRootPooledCache(root$187, remainingLanes);
releaseRootPooledCache(root$186, remainingLanes);
}
}
return !1;
@@ -12798,19 +12795,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
}
var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$341;
var JSCompiler_inline_result$jscomp$340;
if (canUseDOM) {
var isSupported$jscomp$inline_1507 = "oninput" in document;
if (!isSupported$jscomp$inline_1507) {
var element$jscomp$inline_1508 = document.createElement("div");
element$jscomp$inline_1508.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1507 =
"function" === typeof element$jscomp$inline_1508.oninput;
var isSupported$jscomp$inline_1504 = "oninput" in document;
if (!isSupported$jscomp$inline_1504) {
var element$jscomp$inline_1505 = document.createElement("div");
element$jscomp$inline_1505.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1504 =
"function" === typeof element$jscomp$inline_1505.oninput;
}
JSCompiler_inline_result$jscomp$341 = isSupported$jscomp$inline_1507;
} else JSCompiler_inline_result$jscomp$341 = !1;
JSCompiler_inline_result$jscomp$340 = isSupported$jscomp$inline_1504;
} else JSCompiler_inline_result$jscomp$340 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$341 &&
JSCompiler_inline_result$jscomp$340 &&
(!document.documentMode || 9 < document.documentMode);
}
function stopWatchingForValueChange() {
@@ -13188,20 +13185,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1548 = 0;
i$jscomp$inline_1548 < simpleEventPluginEvents.length;
i$jscomp$inline_1548++
var i$jscomp$inline_1545 = 0;
i$jscomp$inline_1545 < simpleEventPluginEvents.length;
i$jscomp$inline_1545++
) {
var eventName$jscomp$inline_1549 =
simpleEventPluginEvents[i$jscomp$inline_1548],
domEventName$jscomp$inline_1550 =
eventName$jscomp$inline_1549.toLowerCase(),
capitalizedEvent$jscomp$inline_1551 =
eventName$jscomp$inline_1549[0].toUpperCase() +
eventName$jscomp$inline_1549.slice(1);
var eventName$jscomp$inline_1546 =
simpleEventPluginEvents[i$jscomp$inline_1545],
domEventName$jscomp$inline_1547 =
eventName$jscomp$inline_1546.toLowerCase(),
capitalizedEvent$jscomp$inline_1548 =
eventName$jscomp$inline_1546[0].toUpperCase() +
eventName$jscomp$inline_1546.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1550,
"on" + capitalizedEvent$jscomp$inline_1551
domEventName$jscomp$inline_1547,
"on" + capitalizedEvent$jscomp$inline_1548
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -14669,14 +14666,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(domElement, tag, propKey, null, nextProps, lastProp);
}
}
for (var propKey$219 in nextProps) {
var propKey = nextProps[propKey$219];
lastProp = lastProps[propKey$219];
for (var propKey$218 in nextProps) {
var propKey = nextProps[propKey$218];
lastProp = lastProps[propKey$218];
if (
nextProps.hasOwnProperty(propKey$219) &&
nextProps.hasOwnProperty(propKey$218) &&
(null != propKey || null != lastProp)
)
switch (propKey$219) {
switch (propKey$218) {
case "type":
type = propKey;
break;
@@ -14705,7 +14702,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$219,
propKey$218,
propKey,
nextProps,
lastProp
@@ -14724,7 +14721,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
);
return;
case "select":
propKey = value = defaultValue = propKey$219 = null;
propKey = value = defaultValue = propKey$218 = null;
for (type in lastProps)
if (
((lastDefaultValue = lastProps[type]),
@@ -14755,7 +14752,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (name) {
case "value":
propKey$219 = type;
propKey$218 = type;
break;
case "defaultValue":
defaultValue = type;
@@ -14776,15 +14773,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
tag = defaultValue;
lastProps = value;
nextProps = propKey;
null != propKey$219
? updateOptions(domElement, !!lastProps, propKey$219, !1)
null != propKey$218
? updateOptions(domElement, !!lastProps, propKey$218, !1)
: !!nextProps !== !!lastProps &&
(null != tag
? updateOptions(domElement, !!lastProps, tag, !0)
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
return;
case "textarea":
propKey = propKey$219 = null;
propKey = propKey$218 = null;
for (defaultValue in lastProps)
if (
((name = lastProps[defaultValue]),
@@ -14808,7 +14805,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
)
switch (value) {
case "value":
propKey$219 = name;
propKey$218 = name;
break;
case "defaultValue":
propKey = name;
@@ -14822,17 +14819,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
name !== type &&
setProp(domElement, tag, value, name, nextProps, type);
}
updateTextarea(domElement, propKey$219, propKey);
updateTextarea(domElement, propKey$218, propKey);
return;
case "option":
for (var propKey$235 in lastProps)
for (var propKey$234 in lastProps)
if (
((propKey$219 = lastProps[propKey$235]),
lastProps.hasOwnProperty(propKey$235) &&
null != propKey$219 &&
!nextProps.hasOwnProperty(propKey$235))
((propKey$218 = lastProps[propKey$234]),
lastProps.hasOwnProperty(propKey$234) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$234))
)
switch (propKey$235) {
switch (propKey$234) {
case "selected":
domElement.selected = !1;
break;
@@ -14840,33 +14837,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
setProp(
domElement,
tag,
propKey$235,
propKey$234,
null,
nextProps,
propKey$219
propKey$218
);
}
for (lastDefaultValue in nextProps)
if (
((propKey$219 = nextProps[lastDefaultValue]),
((propKey$218 = nextProps[lastDefaultValue]),
(propKey = lastProps[lastDefaultValue]),
nextProps.hasOwnProperty(lastDefaultValue) &&
propKey$219 !== propKey &&
(null != propKey$219 || null != propKey))
propKey$218 !== propKey &&
(null != propKey$218 || null != propKey))
)
switch (lastDefaultValue) {
case "selected":
domElement.selected =
propKey$219 &&
"function" !== typeof propKey$219 &&
"symbol" !== typeof propKey$219;
propKey$218 &&
"function" !== typeof propKey$218 &&
"symbol" !== typeof propKey$218;
break;
default:
setProp(
domElement,
tag,
lastDefaultValue,
propKey$219,
propKey$218,
nextProps,
propKey
);
@@ -14887,24 +14884,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
case "track":
case "wbr":
case "menuitem":
for (var propKey$240 in lastProps)
(propKey$219 = lastProps[propKey$240]),
lastProps.hasOwnProperty(propKey$240) &&
null != propKey$219 &&
!nextProps.hasOwnProperty(propKey$240) &&
setProp(domElement, tag, propKey$240, null, nextProps, propKey$219);
for (var propKey$239 in lastProps)
(propKey$218 = lastProps[propKey$239]),
lastProps.hasOwnProperty(propKey$239) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$239) &&
setProp(domElement, tag, propKey$239, null, nextProps, propKey$218);
for (checked in nextProps)
if (
((propKey$219 = nextProps[checked]),
((propKey$218 = nextProps[checked]),
(propKey = lastProps[checked]),
nextProps.hasOwnProperty(checked) &&
propKey$219 !== propKey &&
(null != propKey$219 || null != propKey))
propKey$218 !== propKey &&
(null != propKey$218 || null != propKey))
)
switch (checked) {
case "children":
case "dangerouslySetInnerHTML":
if (null != propKey$219)
if (null != propKey$218)
throw Error(formatProdErrorMessage(137, tag));
break;
default:
@@ -14912,7 +14909,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
domElement,
tag,
checked,
propKey$219,
propKey$218,
nextProps,
propKey
);
@@ -14920,49 +14917,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
return;
default:
if (isCustomElement(tag)) {
for (var propKey$245 in lastProps)
(propKey$219 = lastProps[propKey$245]),
lastProps.hasOwnProperty(propKey$245) &&
void 0 !== propKey$219 &&
!nextProps.hasOwnProperty(propKey$245) &&
for (var propKey$244 in lastProps)
(propKey$218 = lastProps[propKey$244]),
lastProps.hasOwnProperty(propKey$244) &&
void 0 !== propKey$218 &&
!nextProps.hasOwnProperty(propKey$244) &&
setPropOnCustomElement(
domElement,
tag,
propKey$245,
propKey$244,
void 0,
nextProps,
propKey$219
propKey$218
);
for (defaultChecked in nextProps)
(propKey$219 = nextProps[defaultChecked]),
(propKey$218 = nextProps[defaultChecked]),
(propKey = lastProps[defaultChecked]),
!nextProps.hasOwnProperty(defaultChecked) ||
propKey$219 === propKey ||
(void 0 === propKey$219 && void 0 === propKey) ||
propKey$218 === propKey ||
(void 0 === propKey$218 && void 0 === propKey) ||
setPropOnCustomElement(
domElement,
tag,
defaultChecked,
propKey$219,
propKey$218,
nextProps,
propKey
);
return;
}
}
for (var propKey$250 in lastProps)
(propKey$219 = lastProps[propKey$250]),
lastProps.hasOwnProperty(propKey$250) &&
null != propKey$219 &&
!nextProps.hasOwnProperty(propKey$250) &&
setProp(domElement, tag, propKey$250, null, nextProps, propKey$219);
for (var propKey$249 in lastProps)
(propKey$218 = lastProps[propKey$249]),
lastProps.hasOwnProperty(propKey$249) &&
null != propKey$218 &&
!nextProps.hasOwnProperty(propKey$249) &&
setProp(domElement, tag, propKey$249, null, nextProps, propKey$218);
for (lastProp in nextProps)
(propKey$219 = nextProps[lastProp]),
(propKey$218 = nextProps[lastProp]),
(propKey = lastProps[lastProp]),
!nextProps.hasOwnProperty(lastProp) ||
propKey$219 === propKey ||
(null == propKey$219 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$219, nextProps, propKey);
propKey$218 === propKey ||
(null == propKey$218 && null == propKey) ||
setProp(domElement, tag, lastProp, propKey$218, nextProps, propKey);
}
var eventsEnabled = null,
selectionInformation = null;
@@ -15589,17 +15586,17 @@ function getResource(type, currentProps, pendingProps) {
"string" === typeof pendingProps.precedence
) {
type = getStyleKey(pendingProps.href);
var styles$258 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$259 = styles$258.get(type);
resource$259 ||
var styles$257 = getResourcesFromRoot(currentProps).hoistableStyles,
resource$258 = styles$257.get(type);
resource$258 ||
((currentProps = currentProps.ownerDocument || currentProps),
(resource$259 = {
(resource$258 = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null }
}),
styles$258.set(type, resource$259),
styles$257.set(type, resource$258),
preloadPropsMap.has(type) ||
preloadStylesheet(
currentProps,
@@ -15614,9 +15611,9 @@ function getResource(type, currentProps, pendingProps) {
hrefLang: pendingProps.hrefLang,
referrerPolicy: pendingProps.referrerPolicy
},
resource$259.state
resource$258.state
));
return resource$259;
return resource$258;
}
return null;
case "script":
@@ -15712,37 +15709,37 @@ function acquireResource(hoistableRoot, resource, props) {
return (resource.instance = instance);
case "stylesheet":
styleProps = getStyleKey(props.href);
var instance$263 = hoistableRoot.querySelector(
var instance$262 = hoistableRoot.querySelector(
getStylesheetSelectorFromKey(styleProps)
);
if (instance$263)
if (instance$262)
return (
(resource.state.loading |= 4),
(resource.instance = instance$263),
markNodeAsHoistable(instance$263),
instance$263
(resource.instance = instance$262),
markNodeAsHoistable(instance$262),
instance$262
);
instance = stylesheetPropsFromRawProps(props);
(styleProps = preloadPropsMap.get(styleProps)) &&
adoptPreloadPropsForStylesheet(instance, styleProps);
instance$263 = (
instance$262 = (
hoistableRoot.ownerDocument || hoistableRoot
).createElement("link");
markNodeAsHoistable(instance$263);
var linkInstance = instance$263;
markNodeAsHoistable(instance$262);
var linkInstance = instance$262;
linkInstance._p = new Promise(function (resolve, reject) {
linkInstance.onload = resolve;
linkInstance.onerror = reject;
});
setInitialProperties(instance$263, "link", instance);
setInitialProperties(instance$262, "link", instance);
resource.state.loading |= 4;
insertStylesheet(instance$263, props.precedence, hoistableRoot);
return (resource.instance = instance$263);
insertStylesheet(instance$262, props.precedence, hoistableRoot);
return (resource.instance = instance$262);
case "script":
instance$263 = getScriptKey(props.src);
instance$262 = getScriptKey(props.src);
if (
(styleProps = hoistableRoot.querySelector(
getScriptSelectorFromKey(instance$263)
getScriptSelectorFromKey(instance$262)
))
)
return (
@@ -15751,7 +15748,7 @@ function acquireResource(hoistableRoot, resource, props) {
styleProps
);
instance = props;
if ((styleProps = preloadPropsMap.get(instance$263)))
if ((styleProps = preloadPropsMap.get(instance$262)))
(instance = assign({}, props)),
adoptPreloadPropsForScript(instance, styleProps);
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -16753,17 +16750,17 @@ Internals.Events = [
return fn(a);
}
];
var devToolsConfig$jscomp$inline_1721 = {
var devToolsConfig$jscomp$inline_1718 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-801e67ba",
version: "19.0.0-www-modern-630d3c14",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2193 = {
bundleType: devToolsConfig$jscomp$inline_1721.bundleType,
version: devToolsConfig$jscomp$inline_1721.version,
rendererPackageName: devToolsConfig$jscomp$inline_1721.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1721.rendererConfig,
var internals$jscomp$inline_2190 = {
bundleType: devToolsConfig$jscomp$inline_1718.bundleType,
version: devToolsConfig$jscomp$inline_1718.version,
rendererPackageName: devToolsConfig$jscomp$inline_1718.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1718.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -16779,26 +16776,26 @@ var internals$jscomp$inline_2193 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1721.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1718.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-801e67ba"
reconcilerVersion: "19.0.0-www-modern-630d3c14"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2194 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2191 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2194.isDisabled &&
hook$jscomp$inline_2194.supportsFiber
!hook$jscomp$inline_2191.isDisabled &&
hook$jscomp$inline_2191.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2194.inject(
internals$jscomp$inline_2193
(rendererID = hook$jscomp$inline_2191.inject(
internals$jscomp$inline_2190
)),
(injectedHook = hook$jscomp$inline_2194);
(injectedHook = hook$jscomp$inline_2191);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -17311,4 +17308,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-801e67ba";
exports.version = "19.0.0-www-modern-630d3c14";
@@ -21908,12 +21908,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -21981,13 +21977,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -28655,7 +28648,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-classic-d8527d63';
var ReactVersion = '19.0.0-www-classic-70aa1ec6';
/*
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol
@@ -21413,12 +21413,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
acquireResource(hoistableRoot, newResource, finishedWork.memoizedProps);
}
} else if (newResource === null && finishedWork.stateNode !== null) {
// We may have an update on a Hoistable element
var updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(finishedWork.stateNode, updatePayload, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
commitUpdate(finishedWork.stateNode, finishedWork.type, current.memoizedProps, finishedWork.memoizedProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -21486,13 +21482,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -27921,7 +27914,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-modern-c15ac874';
var ReactVersion = '19.0.0-www-modern-93eabe05';
/*
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol
@@ -8401,13 +8401,10 @@ module.exports = function ($$$config) {
root,
finishedWork.memoizedProps
);
else if (null === root && null !== finishedWork.stateNode) {
flags = finishedWork.updateQueue;
finishedWork.updateQueue = null;
else if (null === root && null !== finishedWork.stateNode)
try {
commitUpdate(
finishedWork.stateNode,
flags,
finishedWork.type,
current.memoizedProps,
finishedWork.memoizedProps,
@@ -8420,7 +8417,6 @@ module.exports = function ($$$config) {
error$147
);
}
}
break;
}
case 27:
@@ -8462,22 +8458,13 @@ module.exports = function ($$$config) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
props = finishedWork.type;
var updatePayload$150 = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(
root,
updatePayload$150,
props,
current,
hoistableRoot,
finishedWork
);
} catch (error$151) {
commitUpdate(root, props, current, hoistableRoot, finishedWork);
} catch (error$150) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$151
error$150
);
}
}
@@ -8495,11 +8482,11 @@ module.exports = function ($$$config) {
current = null !== current ? current.memoizedProps : root;
try {
commitTextUpdate(flags, current, root);
} catch (error$152) {
} catch (error$151) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$152
error$151
);
}
}
@@ -8522,11 +8509,11 @@ module.exports = function ($$$config) {
)
try {
commitHydratedContainer(root.containerInfo);
} catch (error$153) {
} catch (error$152) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$153
error$152
);
}
if (supportsPersistence) {
@@ -8534,11 +8521,11 @@ module.exports = function ($$$config) {
current = root.pendingChildren;
try {
replaceContainerChildren(flags, current);
} catch (error$154) {
} catch (error$153) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$154
error$153
);
}
}
@@ -8563,11 +8550,11 @@ module.exports = function ($$$config) {
current = current.pendingChildren;
try {
replaceContainerChildren(flags, current);
} catch (error$158) {
} catch (error$157) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$158
error$157
);
}
}
@@ -8583,20 +8570,19 @@ module.exports = function ($$$config) {
: root && !current && (globalMostRecentFallbackTime = now()));
if (flags & 4) {
try {
if (
null !== finishedWork.memoizedState &&
((updatePayload$150 =
finishedWork.memoizedProps.suspenseCallback),
"function" === typeof updatePayload$150)
) {
var retryQueue = finishedWork.updateQueue;
null !== retryQueue && updatePayload$150(new Set(retryQueue));
if (null !== finishedWork.memoizedState) {
var suspenseCallback =
finishedWork.memoizedProps.suspenseCallback;
if ("function" === typeof suspenseCallback) {
var retryQueue = finishedWork.updateQueue;
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$159) {
} catch (error$158) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$159
error$158
);
}
flags = finishedWork.updateQueue;
@@ -8609,13 +8595,13 @@ module.exports = function ($$$config) {
flags & 512 &&
null !== current &&
safelyDetachRef(current, current.return);
updatePayload$150 = null !== finishedWork.memoizedState;
suspenseCallback = null !== finishedWork.memoizedState;
retryQueue = null !== current && null !== current.memoizedState;
if (finishedWork.mode & 1) {
var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
offscreenSubtreeIsHidden =
prevOffscreenSubtreeIsHidden || updatePayload$150;
prevOffscreenSubtreeIsHidden || suspenseCallback;
offscreenSubtreeWasHidden =
prevOffscreenSubtreeWasHidden || retryQueue;
recursivelyTraverseMutationEffects(root, finishedWork);
@@ -8629,10 +8615,10 @@ module.exports = function ($$$config) {
root._visibility |= root._pendingVisibility & 2;
if (
flags & 8192 &&
((root._visibility = updatePayload$150
((root._visibility = suspenseCallback
? root._visibility & -2
: root._visibility | 1),
updatePayload$150 &&
suspenseCallback &&
((root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden),
null === current ||
retryQueue ||
@@ -8654,7 +8640,7 @@ module.exports = function ($$$config) {
current = root;
try {
(hoistableRoot = root.stateNode),
updatePayload$150
suspenseCallback
? hideInstance(hoistableRoot)
: unhideInstance(root.stateNode, root.memoizedProps);
} catch (error) {
@@ -8669,7 +8655,7 @@ module.exports = function ($$$config) {
if (null === current)
try {
(props = root.stateNode),
updatePayload$150
suspenseCallback
? hideTextInstance(props)
: unhideTextInstance(props, root.memoizedProps);
} catch (error$136) {
@@ -9261,9 +9247,9 @@ module.exports = function ($$$config) {
);
break;
case 22:
var instance$165 = finishedWork.stateNode;
var instance$164 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$165._visibility & 4
? instance$164._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -9276,7 +9262,7 @@ module.exports = function ($$$config) {
finishedRoot,
finishedWork
)
: ((instance$165._visibility |= 4),
: ((instance$164._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -9284,7 +9270,7 @@ module.exports = function ($$$config) {
committedTransitions,
includeWorkInProgressEffects
))
: ((instance$165._visibility |= 4),
: ((instance$164._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -9297,7 +9283,7 @@ module.exports = function ($$$config) {
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$165
instance$164
);
break;
case 24:
@@ -10360,8 +10346,8 @@ module.exports = function ($$$config) {
}
workLoopSync();
break;
} catch (thrownValue$176) {
handleThrow(root, thrownValue$176);
} catch (thrownValue$175) {
handleThrow(root, thrownValue$175);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -10468,8 +10454,8 @@ module.exports = function ($$$config) {
}
workLoopConcurrent();
break;
} catch (thrownValue$178) {
handleThrow(root, thrownValue$178);
} catch (thrownValue$177) {
handleThrow(root, thrownValue$177);
}
while (1);
resetContextDependencies();
@@ -10708,12 +10694,12 @@ module.exports = function ($$$config) {
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$182 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$181 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$182 && afterActiveInstanceBlur();
shouldFireAfterActiveInstanceBlur$181 && afterActiveInstanceBlur();
resetAfterCommit(root.containerInfo);
root.current = finishedWork;
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
@@ -12636,7 +12622,7 @@ module.exports = function ($$$config) {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-6828a4f8"
reconcilerVersion: "19.0.0-www-classic-baab5f8d"
};
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
devToolsConfig = !1;
@@ -8006,13 +8006,10 @@ module.exports = function ($$$config) {
root,
finishedWork.memoizedProps
);
else if (null === root && null !== finishedWork.stateNode) {
flags = finishedWork.updateQueue;
finishedWork.updateQueue = null;
else if (null === root && null !== finishedWork.stateNode)
try {
commitUpdate(
finishedWork.stateNode,
flags,
finishedWork.type,
current.memoizedProps,
finishedWork.memoizedProps,
@@ -8025,7 +8022,6 @@ module.exports = function ($$$config) {
error$138
);
}
}
break;
}
case 27:
@@ -8067,22 +8063,13 @@ module.exports = function ($$$config) {
hoistableRoot = finishedWork.memoizedProps;
current = null !== current ? current.memoizedProps : hoistableRoot;
props = finishedWork.type;
var updatePayload$141 = finishedWork.updateQueue;
finishedWork.updateQueue = null;
try {
commitUpdate(
root,
updatePayload$141,
props,
current,
hoistableRoot,
finishedWork
);
} catch (error$142) {
commitUpdate(root, props, current, hoistableRoot, finishedWork);
} catch (error$141) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$142
error$141
);
}
}
@@ -8100,11 +8087,11 @@ module.exports = function ($$$config) {
current = null !== current ? current.memoizedProps : root;
try {
commitTextUpdate(flags, current, root);
} catch (error$143) {
} catch (error$142) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$143
error$142
);
}
}
@@ -8127,11 +8114,11 @@ module.exports = function ($$$config) {
)
try {
commitHydratedContainer(root.containerInfo);
} catch (error$144) {
} catch (error$143) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$144
error$143
);
}
if (supportsPersistence) {
@@ -8139,11 +8126,11 @@ module.exports = function ($$$config) {
current = root.pendingChildren;
try {
replaceContainerChildren(flags, current);
} catch (error$145) {
} catch (error$144) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$145
error$144
);
}
}
@@ -8168,11 +8155,11 @@ module.exports = function ($$$config) {
current = current.pendingChildren;
try {
replaceContainerChildren(flags, current);
} catch (error$149) {
} catch (error$148) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$149
error$148
);
}
}
@@ -8188,20 +8175,19 @@ module.exports = function ($$$config) {
: root && !current && (globalMostRecentFallbackTime = now()));
if (flags & 4) {
try {
if (
null !== finishedWork.memoizedState &&
((updatePayload$141 =
finishedWork.memoizedProps.suspenseCallback),
"function" === typeof updatePayload$141)
) {
var retryQueue = finishedWork.updateQueue;
null !== retryQueue && updatePayload$141(new Set(retryQueue));
if (null !== finishedWork.memoizedState) {
var suspenseCallback =
finishedWork.memoizedProps.suspenseCallback;
if ("function" === typeof suspenseCallback) {
var retryQueue = finishedWork.updateQueue;
null !== retryQueue && suspenseCallback(new Set(retryQueue));
}
}
} catch (error$150) {
} catch (error$149) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$150
error$149
);
}
flags = finishedWork.updateQueue;
@@ -8214,12 +8200,12 @@ module.exports = function ($$$config) {
flags & 512 &&
null !== current &&
safelyDetachRef(current, current.return);
updatePayload$141 = null !== finishedWork.memoizedState;
suspenseCallback = null !== finishedWork.memoizedState;
retryQueue = null !== current && null !== current.memoizedState;
var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
offscreenSubtreeIsHidden =
prevOffscreenSubtreeIsHidden || updatePayload$141;
prevOffscreenSubtreeIsHidden || suspenseCallback;
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || retryQueue;
recursivelyTraverseMutationEffects(root, finishedWork);
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
@@ -8231,10 +8217,10 @@ module.exports = function ($$$config) {
root._visibility |= root._pendingVisibility & 2;
if (
flags & 8192 &&
((root._visibility = updatePayload$141
((root._visibility = suspenseCallback
? root._visibility & -2
: root._visibility | 1),
updatePayload$141 &&
suspenseCallback &&
((root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden),
null === current ||
retryQueue ||
@@ -8255,7 +8241,7 @@ module.exports = function ($$$config) {
current = root;
try {
(hoistableRoot = root.stateNode),
updatePayload$141
suspenseCallback
? hideInstance(hoistableRoot)
: unhideInstance(root.stateNode, root.memoizedProps);
} catch (error) {
@@ -8270,7 +8256,7 @@ module.exports = function ($$$config) {
if (null === current)
try {
(props = root.stateNode),
updatePayload$141
suspenseCallback
? hideTextInstance(props)
: unhideTextInstance(props, root.memoizedProps);
} catch (error$127) {
@@ -8854,9 +8840,9 @@ module.exports = function ($$$config) {
);
break;
case 22:
var instance$156 = finishedWork.stateNode;
var instance$155 = finishedWork.stateNode;
null !== finishedWork.memoizedState
? instance$156._visibility & 4
? instance$155._visibility & 4
? recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -8868,7 +8854,7 @@ module.exports = function ($$$config) {
finishedRoot,
finishedWork
)
: ((instance$156._visibility |= 4),
: ((instance$155._visibility |= 4),
recursivelyTraverseReconnectPassiveEffects(
finishedRoot,
finishedWork,
@@ -8881,7 +8867,7 @@ module.exports = function ($$$config) {
commitOffscreenPassiveMountEffects(
finishedWork.alternate,
finishedWork,
instance$156
instance$155
);
break;
case 24:
@@ -9935,8 +9921,8 @@ module.exports = function ($$$config) {
}
workLoopSync();
break;
} catch (thrownValue$167) {
handleThrow(root, thrownValue$167);
} catch (thrownValue$166) {
handleThrow(root, thrownValue$166);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -10043,8 +10029,8 @@ module.exports = function ($$$config) {
}
workLoopConcurrent();
break;
} catch (thrownValue$169) {
handleThrow(root, thrownValue$169);
} catch (thrownValue$168) {
handleThrow(root, thrownValue$168);
}
while (1);
resetContextDependencies();
@@ -10279,12 +10265,12 @@ module.exports = function ($$$config) {
var prevExecutionContext = executionContext;
executionContext |= 4;
ReactSharedInternals.owner = null;
var shouldFireAfterActiveInstanceBlur$173 = commitBeforeMutationEffects(
var shouldFireAfterActiveInstanceBlur$172 = commitBeforeMutationEffects(
root,
finishedWork
);
commitMutationEffectsOnFiber(finishedWork, root);
shouldFireAfterActiveInstanceBlur$173 && afterActiveInstanceBlur();
shouldFireAfterActiveInstanceBlur$172 && afterActiveInstanceBlur();
resetAfterCommit(root.containerInfo);
root.current = finishedWork;
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
@@ -12153,7 +12139,7 @@ module.exports = function ($$$config) {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-0fe86052"
reconcilerVersion: "19.0.0-www-modern-4ae24703"
};
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
devToolsConfig = !1;
@@ -2075,7 +2075,7 @@ function shouldAttemptEagerTransition() {
var scheduleTimeout = setTimeout;
var cancelTimeout = clearTimeout;
var noTimeout = -1; // -------------------
function commitUpdate(instance, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(instance, type, oldProps, newProps, internalInstanceHandle) {
instance.type = type;
instance.props = newProps;
}
@@ -17930,13 +17930,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -23117,7 +23114,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-classic-61f7bcb2';
var ReactVersion = '19.0.0-www-classic-06511870';
/*
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol
@@ -2075,7 +2075,7 @@ function shouldAttemptEagerTransition() {
var scheduleTimeout = setTimeout;
var cancelTimeout = clearTimeout;
var noTimeout = -1; // -------------------
function commitUpdate(instance, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
function commitUpdate(instance, type, oldProps, newProps, internalInstanceHandle) {
instance.type = type;
instance.props = newProps;
}
@@ -17930,13 +17930,10 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
// this case.
var oldProps = current !== null ? current.memoizedProps : newProps;
var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.
var _updatePayload = finishedWork.updateQueue;
finishedWork.updateQueue = null;
var type = finishedWork.type;
try {
commitUpdate(_instance2, _updatePayload, type, oldProps, newProps, finishedWork);
commitUpdate(_instance2, type, oldProps, newProps, finishedWork);
} catch (error) {
captureCommitPhaseError(finishedWork, finishedWork.return, error);
}
@@ -23117,7 +23114,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition
return root;
}
var ReactVersion = '19.0.0-www-modern-61f7bcb2';
var ReactVersion = '19.0.0-www-modern-06511870';
/*
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol