mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Treat unwrapping React.lazy more like a use() (#34031)
While we want to get rid of React.lazy's special wrapper type and just
use a Promise for the type, we still have the wrapper.
However, this is still conceptually the same as a Usable in that it
should be have the same if you `use(promise)` or render a Promise as a
child or type position.
This PR makes it behave like a `use()` when we unwrap them. We could
move to a model where it actually reaches the internal of the Lazy's
Promise when it unwraps but for now I leave the lazy API signature
intact by just catching the Promise and then "use()" that.
This lets us align on the semantics with `use()` such as the suspense
yield optimization. It also lets us warn or fork based on legacy
throw-a-Promise behavior where as `React.lazy` is not deprecated.
DiffTrain build for [9be531cd37](https://github.com/facebook/react/commit/9be531cd37f5558c72f7de360eb921b0074e8544)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-7ee75712-20250728
|
||||
19.2.0-native-fb-9be531cd-20250729
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f4314b10c90f612f07c1a8921c36174d>>
|
||||
* @generated SignedSource<<61185d542c129be47371da0352cb6dba>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<862558c0ee2b17a1270adf23ef518eff>>
|
||||
* @generated SignedSource<<84636765ccb52c0b590bfd7a8025b0dd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<862558c0ee2b17a1270adf23ef518eff>>
|
||||
* @generated SignedSource<<84636765ccb52c0b590bfd7a8025b0dd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
Vendored
+47
-34
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9df518a4baa849fbecf159bac0061d49>>
|
||||
* @generated SignedSource<<437184afd2011127714d49b733bba695>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6044,6 +6044,19 @@ __DEV__ &&
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
return callLazyInitInDEV(lazyType);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw (
|
||||
((suspendedThenable = x),
|
||||
(needsToResetSuspendedThenableDEV = !0),
|
||||
SuspenseException)
|
||||
);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
throw Error(
|
||||
@@ -6259,7 +6272,7 @@ __DEV__ &&
|
||||
("object" === typeof elementType &&
|
||||
null !== elementType &&
|
||||
elementType.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(elementType) === current.type))
|
||||
resolveLazy(elementType) === current.type))
|
||||
)
|
||||
return (
|
||||
(current = useFiber(current, element.props)),
|
||||
@@ -6360,7 +6373,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = createChild(returnFiber, newChild, lanes);
|
||||
currentDebugInfo = _prevDebugInfo;
|
||||
return returnFiber;
|
||||
@@ -6436,7 +6449,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = updateSlot(
|
||||
returnFiber,
|
||||
oldFiber,
|
||||
@@ -6530,7 +6543,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
@@ -6608,7 +6621,7 @@ __DEV__ &&
|
||||
});
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
(child = callLazyInitInDEV(child)),
|
||||
(child = resolveLazy(child)),
|
||||
warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
|
||||
}
|
||||
return knownKeys;
|
||||
@@ -6887,7 +6900,7 @@ __DEV__ &&
|
||||
("object" === typeof key &&
|
||||
null !== key &&
|
||||
key.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(key) === currentFirstChild.type)
|
||||
resolveLazy(key) === currentFirstChild.type)
|
||||
) {
|
||||
deleteRemainingChildren(
|
||||
returnFiber,
|
||||
@@ -6979,7 +6992,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -11762,8 +11775,8 @@ __DEV__ &&
|
||||
a: {
|
||||
var elementType = workInProgress.elementType;
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
var props = workInProgress.pendingProps;
|
||||
var Component = callLazyInitInDEV(elementType);
|
||||
var props = workInProgress.pendingProps,
|
||||
Component = resolveLazy(elementType);
|
||||
workInProgress.type = Component;
|
||||
if ("function" === typeof Component)
|
||||
if (shouldConstruct(Component)) {
|
||||
@@ -26783,25 +26796,7 @@ __DEV__ &&
|
||||
pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
||||
pendingLegacyContextWarning = new Map();
|
||||
};
|
||||
var SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
callComponent = {
|
||||
var callComponent = {
|
||||
react_stack_bottom_frame: function (Component, props, secondArg) {
|
||||
var wasRendering = isRendering;
|
||||
isRendering = !0;
|
||||
@@ -26918,6 +26913,24 @@ __DEV__ &&
|
||||
},
|
||||
callLazyInitInDEV =
|
||||
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
||||
SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
thenableState$1 = null,
|
||||
thenableIndexCounter$1 = 0,
|
||||
currentDebugInfo = null,
|
||||
@@ -29012,11 +29025,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-7ee75712-20250728" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-7ee75712-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29053,10 +29066,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29194,5 +29207,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+156
-151
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<52d6e4bd60ed5108609457aa26c35686>>
|
||||
* @generated SignedSource<<c7743635ed7df7643b55be3df1aebea6>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3476,6 +3476,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
|
||||
@@ -3515,10 +3525,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
)
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -3695,9 +3701,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -3744,8 +3751,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -3806,14 +3812,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -4124,8 +4131,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7688,59 +7694,58 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -7754,7 +7759,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7762,7 +7767,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -7772,7 +7777,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current) throw Error(formatProdErrorMessage(387));
|
||||
elementType = workInProgress.pendingProps;
|
||||
var prevState = workInProgress.memoizedState;
|
||||
init = prevState.element;
|
||||
$$typeof = prevState.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, elementType, null, renderLanes);
|
||||
var nextState = workInProgress.memoizedState;
|
||||
@@ -7805,12 +7810,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (elementType !== init) {
|
||||
init = createCapturedValueAtFiber(
|
||||
} else if (elementType !== $$typeof) {
|
||||
$$typeof = createCapturedValueAtFiber(
|
||||
Error(formatProdErrorMessage(424)),
|
||||
workInProgress
|
||||
);
|
||||
queueHydrationError(init);
|
||||
queueHydrationError($$typeof);
|
||||
workInProgress = mountHostRootWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7847,7 +7852,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
resetHydrationState();
|
||||
if (elementType === init) {
|
||||
if (elementType === $$typeof) {
|
||||
workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7903,13 +7908,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(rootOrSingletonContext = !0),
|
||||
(init = nextHydratableInstance),
|
||||
($$typeof = nextHydratableInstance),
|
||||
isSingletonScope(workInProgress.type)
|
||||
? ((previousHydratableOnEnteringScopedSingleton = init),
|
||||
? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
elementType.firstChild
|
||||
)))
|
||||
: (nextHydratableInstance = init)),
|
||||
: (nextHydratableInstance = $$typeof)),
|
||||
reconcileChildren(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7922,7 +7927,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 5:
|
||||
if (null === current && isHydrating) {
|
||||
if ((init = elementType = nextHydratableInstance))
|
||||
if (($$typeof = elementType = nextHydratableInstance))
|
||||
(elementType = canHydrateInstance(
|
||||
elementType,
|
||||
workInProgress.type,
|
||||
@@ -7936,22 +7941,22 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
elementType.firstChild
|
||||
)),
|
||||
(rootOrSingletonContext = !1),
|
||||
(init = !0))
|
||||
: (init = !1);
|
||||
init || throwOnHydrationMismatch(workInProgress);
|
||||
($$typeof = !0))
|
||||
: ($$typeof = !1);
|
||||
$$typeof || throwOnHydrationMismatch(workInProgress);
|
||||
}
|
||||
pushHostContext(workInProgress);
|
||||
init = workInProgress.type;
|
||||
$$typeof = workInProgress.type;
|
||||
prevState = workInProgress.pendingProps;
|
||||
nextState = null !== current ? current.memoizedProps : null;
|
||||
elementType = prevState.children;
|
||||
shouldSetTextContent(init, prevState)
|
||||
shouldSetTextContent($$typeof, prevState)
|
||||
? (elementType = null)
|
||||
: null !== nextState &&
|
||||
shouldSetTextContent(init, nextState) &&
|
||||
shouldSetTextContent($$typeof, nextState) &&
|
||||
(workInProgress.flags |= 32);
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -7959,7 +7964,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init));
|
||||
(HostTransitionContext._currentValue = $$typeof));
|
||||
markRef(current, workInProgress);
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes);
|
||||
return workInProgress.child;
|
||||
@@ -8053,11 +8058,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
(elementType = elementType(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
(elementType = elementType($$typeof)),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -8081,7 +8086,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8091,8 +8096,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -8105,7 +8110,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8115,20 +8120,20 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextState = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
if (isHydrating) {
|
||||
if ("hidden" === init.mode)
|
||||
mountActivityChildren(workInProgress, init);
|
||||
if ("hidden" === $$typeof.mode)
|
||||
mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (
|
||||
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -8161,7 +8166,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
throw throwOnHydrationMismatch(workInProgress);
|
||||
workInProgress.lanes = 536870912;
|
||||
workInProgress = null;
|
||||
} else workInProgress = mountActivityChildren(workInProgress, init);
|
||||
} else workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
if (
|
||||
((prevState = elementType.dehydrated),
|
||||
@@ -8191,16 +8196,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(nextState = 0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || nextState)
|
||||
) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((prevState = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== prevState && prevState !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = prevState),
|
||||
enqueueConcurrentRenderForLane(current, prevState),
|
||||
scheduleUpdateOnFiber(init, current, prevState),
|
||||
scheduleUpdateOnFiber($$typeof, current, prevState),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -8218,12 +8223,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(rootOrSingletonContext = !1),
|
||||
null !== renderLanes &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -8242,37 +8247,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(prevState = createCache()),
|
||||
(init.pooledCache = prevState),
|
||||
($$typeof.pooledCache = prevState),
|
||||
prevState.refCount++,
|
||||
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = prevState)),
|
||||
null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = prevState)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(prevState = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = prevState.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -12994,20 +12999,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1628 = 0;
|
||||
i$jscomp$inline_1628 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1628++
|
||||
var i$jscomp$inline_1626 = 0;
|
||||
i$jscomp$inline_1626 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1626++
|
||||
) {
|
||||
var eventName$jscomp$inline_1629 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1628],
|
||||
domEventName$jscomp$inline_1630 =
|
||||
eventName$jscomp$inline_1629.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1631 =
|
||||
eventName$jscomp$inline_1629[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1629.slice(1);
|
||||
var eventName$jscomp$inline_1627 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1626],
|
||||
domEventName$jscomp$inline_1628 =
|
||||
eventName$jscomp$inline_1627.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1629 =
|
||||
eventName$jscomp$inline_1627[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1627.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1630,
|
||||
"on" + capitalizedEvent$jscomp$inline_1631
|
||||
domEventName$jscomp$inline_1628,
|
||||
"on" + capitalizedEvent$jscomp$inline_1629
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17121,16 +17126,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2002 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-7ee75712-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004
|
||||
"19.2.0-native-fb-9be531cd-20250729" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2002
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004,
|
||||
"19.2.0-native-fb-7ee75712-20250728"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2002,
|
||||
"19.2.0-native-fb-9be531cd-20250729"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17150,24 +17155,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2523 = {
|
||||
var internals$jscomp$inline_2521 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2524 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2522 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2524.isDisabled &&
|
||||
hook$jscomp$inline_2524.supportsFiber
|
||||
!hook$jscomp$inline_2522.isDisabled &&
|
||||
hook$jscomp$inline_2522.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2524.inject(
|
||||
internals$jscomp$inline_2523
|
||||
(rendererID = hook$jscomp$inline_2522.inject(
|
||||
internals$jscomp$inline_2521
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2524);
|
||||
(injectedHook = hook$jscomp$inline_2522);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -17253,4 +17258,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
+156
-151
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0252a04433f35d1013aaa8596a568cce>>
|
||||
* @generated SignedSource<<761b086f8673833ba8b00d132b06292e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3896,6 +3896,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
|
||||
@@ -3935,10 +3945,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
)
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -4115,9 +4121,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -4164,8 +4171,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -4226,14 +4232,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -4544,8 +4551,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -8159,59 +8165,58 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -8225,7 +8230,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8233,7 +8238,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -8243,7 +8248,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current) throw Error(formatProdErrorMessage(387));
|
||||
elementType = workInProgress.pendingProps;
|
||||
var prevState = workInProgress.memoizedState;
|
||||
init = prevState.element;
|
||||
$$typeof = prevState.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, elementType, null, renderLanes);
|
||||
var nextState = workInProgress.memoizedState;
|
||||
@@ -8276,12 +8281,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (elementType !== init) {
|
||||
init = createCapturedValueAtFiber(
|
||||
} else if (elementType !== $$typeof) {
|
||||
$$typeof = createCapturedValueAtFiber(
|
||||
Error(formatProdErrorMessage(424)),
|
||||
workInProgress
|
||||
);
|
||||
queueHydrationError(init);
|
||||
queueHydrationError($$typeof);
|
||||
workInProgress = mountHostRootWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8318,7 +8323,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
resetHydrationState();
|
||||
if (elementType === init) {
|
||||
if (elementType === $$typeof) {
|
||||
workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8374,13 +8379,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(rootOrSingletonContext = !0),
|
||||
(init = nextHydratableInstance),
|
||||
($$typeof = nextHydratableInstance),
|
||||
isSingletonScope(workInProgress.type)
|
||||
? ((previousHydratableOnEnteringScopedSingleton = init),
|
||||
? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
elementType.firstChild
|
||||
)))
|
||||
: (nextHydratableInstance = init)),
|
||||
: (nextHydratableInstance = $$typeof)),
|
||||
reconcileChildren(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8393,7 +8398,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 5:
|
||||
if (null === current && isHydrating) {
|
||||
if ((init = elementType = nextHydratableInstance))
|
||||
if (($$typeof = elementType = nextHydratableInstance))
|
||||
(elementType = canHydrateInstance(
|
||||
elementType,
|
||||
workInProgress.type,
|
||||
@@ -8407,22 +8412,22 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
elementType.firstChild
|
||||
)),
|
||||
(rootOrSingletonContext = !1),
|
||||
(init = !0))
|
||||
: (init = !1);
|
||||
init || throwOnHydrationMismatch(workInProgress);
|
||||
($$typeof = !0))
|
||||
: ($$typeof = !1);
|
||||
$$typeof || throwOnHydrationMismatch(workInProgress);
|
||||
}
|
||||
pushHostContext(workInProgress);
|
||||
init = workInProgress.type;
|
||||
$$typeof = workInProgress.type;
|
||||
prevState = workInProgress.pendingProps;
|
||||
nextState = null !== current ? current.memoizedProps : null;
|
||||
elementType = prevState.children;
|
||||
shouldSetTextContent(init, prevState)
|
||||
shouldSetTextContent($$typeof, prevState)
|
||||
? (elementType = null)
|
||||
: null !== nextState &&
|
||||
shouldSetTextContent(init, nextState) &&
|
||||
shouldSetTextContent($$typeof, nextState) &&
|
||||
(workInProgress.flags |= 32);
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -8430,7 +8435,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init));
|
||||
(HostTransitionContext._currentValue = $$typeof));
|
||||
markRef(current, workInProgress);
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes);
|
||||
return workInProgress.child;
|
||||
@@ -8529,12 +8534,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
markComponentRenderStarted(workInProgress),
|
||||
(elementType = elementType(init)),
|
||||
(elementType = elementType($$typeof)),
|
||||
markComponentRenderStopped(),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
@@ -8559,7 +8564,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8569,8 +8574,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -8583,7 +8588,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8593,20 +8598,20 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextState = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
if (isHydrating) {
|
||||
if ("hidden" === init.mode)
|
||||
mountActivityChildren(workInProgress, init);
|
||||
if ("hidden" === $$typeof.mode)
|
||||
mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (
|
||||
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -8639,7 +8644,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
throw throwOnHydrationMismatch(workInProgress);
|
||||
workInProgress.lanes = 536870912;
|
||||
workInProgress = null;
|
||||
} else workInProgress = mountActivityChildren(workInProgress, init);
|
||||
} else workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
if (
|
||||
((prevState = elementType.dehydrated),
|
||||
@@ -8669,16 +8674,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(nextState = 0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || nextState)
|
||||
) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((prevState = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== prevState && prevState !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = prevState),
|
||||
enqueueConcurrentRenderForLane(current, prevState),
|
||||
scheduleUpdateOnFiber(init, current, prevState),
|
||||
scheduleUpdateOnFiber($$typeof, current, prevState),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -8696,12 +8701,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(rootOrSingletonContext = !1),
|
||||
null !== renderLanes &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -8720,37 +8725,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(prevState = createCache()),
|
||||
(init.pooledCache = prevState),
|
||||
($$typeof.pooledCache = prevState),
|
||||
prevState.refCount++,
|
||||
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = prevState)),
|
||||
null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = prevState)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(prevState = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = prevState.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -14934,20 +14939,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1866 = 0;
|
||||
i$jscomp$inline_1866 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1866++
|
||||
var i$jscomp$inline_1864 = 0;
|
||||
i$jscomp$inline_1864 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1864++
|
||||
) {
|
||||
var eventName$jscomp$inline_1867 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1866],
|
||||
domEventName$jscomp$inline_1868 =
|
||||
eventName$jscomp$inline_1867.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1869 =
|
||||
eventName$jscomp$inline_1867[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1867.slice(1);
|
||||
var eventName$jscomp$inline_1865 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1864],
|
||||
domEventName$jscomp$inline_1866 =
|
||||
eventName$jscomp$inline_1865.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1867 =
|
||||
eventName$jscomp$inline_1865[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1865.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1868,
|
||||
"on" + capitalizedEvent$jscomp$inline_1869
|
||||
domEventName$jscomp$inline_1866,
|
||||
"on" + capitalizedEvent$jscomp$inline_1867
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -19079,16 +19084,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2242 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-7ee75712-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244
|
||||
"19.2.0-native-fb-9be531cd-20250729" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2242
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244,
|
||||
"19.2.0-native-fb-7ee75712-20250728"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2242,
|
||||
"19.2.0-native-fb-9be531cd-20250729"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19108,12 +19113,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2251 = {
|
||||
var internals$jscomp$inline_2249 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728",
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19131,16 +19136,16 @@ var internals$jscomp$inline_2251 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2764 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2762 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2764.isDisabled &&
|
||||
hook$jscomp$inline_2764.supportsFiber
|
||||
!hook$jscomp$inline_2762.isDisabled &&
|
||||
hook$jscomp$inline_2762.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2764.inject(
|
||||
internals$jscomp$inline_2251
|
||||
(rendererID = hook$jscomp$inline_2762.inject(
|
||||
internals$jscomp$inline_2249
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2764);
|
||||
(injectedHook = hook$jscomp$inline_2762);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -19226,4 +19231,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
+47
-34
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5178b45c204c63c119d47a31e20756bb>>
|
||||
* @generated SignedSource<<5431658016686f769daaae99fc9d0523>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6052,6 +6052,19 @@ __DEV__ &&
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
return callLazyInitInDEV(lazyType);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw (
|
||||
((suspendedThenable = x),
|
||||
(needsToResetSuspendedThenableDEV = !0),
|
||||
SuspenseException)
|
||||
);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
throw Error(
|
||||
@@ -6267,7 +6280,7 @@ __DEV__ &&
|
||||
("object" === typeof elementType &&
|
||||
null !== elementType &&
|
||||
elementType.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(elementType) === current.type))
|
||||
resolveLazy(elementType) === current.type))
|
||||
)
|
||||
return (
|
||||
(current = useFiber(current, element.props)),
|
||||
@@ -6368,7 +6381,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = createChild(returnFiber, newChild, lanes);
|
||||
currentDebugInfo = _prevDebugInfo;
|
||||
return returnFiber;
|
||||
@@ -6444,7 +6457,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = updateSlot(
|
||||
returnFiber,
|
||||
oldFiber,
|
||||
@@ -6538,7 +6551,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
@@ -6616,7 +6629,7 @@ __DEV__ &&
|
||||
});
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
(child = callLazyInitInDEV(child)),
|
||||
(child = resolveLazy(child)),
|
||||
warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
|
||||
}
|
||||
return knownKeys;
|
||||
@@ -6895,7 +6908,7 @@ __DEV__ &&
|
||||
("object" === typeof key &&
|
||||
null !== key &&
|
||||
key.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(key) === currentFirstChild.type)
|
||||
resolveLazy(key) === currentFirstChild.type)
|
||||
) {
|
||||
deleteRemainingChildren(
|
||||
returnFiber,
|
||||
@@ -6987,7 +7000,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -11770,8 +11783,8 @@ __DEV__ &&
|
||||
a: {
|
||||
var elementType = workInProgress.elementType;
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
var props = workInProgress.pendingProps;
|
||||
var Component = callLazyInitInDEV(elementType);
|
||||
var props = workInProgress.pendingProps,
|
||||
Component = resolveLazy(elementType);
|
||||
workInProgress.type = Component;
|
||||
if ("function" === typeof Component)
|
||||
if (shouldConstruct(Component)) {
|
||||
@@ -26839,25 +26852,7 @@ __DEV__ &&
|
||||
pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
||||
pendingLegacyContextWarning = new Map();
|
||||
};
|
||||
var SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
callComponent = {
|
||||
var callComponent = {
|
||||
react_stack_bottom_frame: function (Component, props, secondArg) {
|
||||
var wasRendering = isRendering;
|
||||
isRendering = !0;
|
||||
@@ -26974,6 +26969,24 @@ __DEV__ &&
|
||||
},
|
||||
callLazyInitInDEV =
|
||||
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
||||
SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
thenableState$1 = null,
|
||||
thenableIndexCounter$1 = 0,
|
||||
currentDebugInfo = null,
|
||||
@@ -29068,11 +29081,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-7ee75712-20250728" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-7ee75712-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29109,10 +29122,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29566,7 +29579,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+156
-151
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<58e6b658277008977036d503c8290dd8>>
|
||||
* @generated SignedSource<<7a32532458cd1f332d97f03b39d8d53d>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3476,6 +3476,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
|
||||
@@ -3515,10 +3525,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
)
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -3695,9 +3701,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -3744,8 +3751,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -3806,14 +3812,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -4124,8 +4131,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7688,59 +7694,58 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -7754,7 +7759,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7762,7 +7767,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -7772,7 +7777,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current) throw Error(formatProdErrorMessage(387));
|
||||
elementType = workInProgress.pendingProps;
|
||||
var prevState = workInProgress.memoizedState;
|
||||
init = prevState.element;
|
||||
$$typeof = prevState.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, elementType, null, renderLanes);
|
||||
var nextState = workInProgress.memoizedState;
|
||||
@@ -7805,12 +7810,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (elementType !== init) {
|
||||
init = createCapturedValueAtFiber(
|
||||
} else if (elementType !== $$typeof) {
|
||||
$$typeof = createCapturedValueAtFiber(
|
||||
Error(formatProdErrorMessage(424)),
|
||||
workInProgress
|
||||
);
|
||||
queueHydrationError(init);
|
||||
queueHydrationError($$typeof);
|
||||
workInProgress = mountHostRootWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7847,7 +7852,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
resetHydrationState();
|
||||
if (elementType === init) {
|
||||
if (elementType === $$typeof) {
|
||||
workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7903,13 +7908,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(rootOrSingletonContext = !0),
|
||||
(init = nextHydratableInstance),
|
||||
($$typeof = nextHydratableInstance),
|
||||
isSingletonScope(workInProgress.type)
|
||||
? ((previousHydratableOnEnteringScopedSingleton = init),
|
||||
? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
elementType.firstChild
|
||||
)))
|
||||
: (nextHydratableInstance = init)),
|
||||
: (nextHydratableInstance = $$typeof)),
|
||||
reconcileChildren(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -7922,7 +7927,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 5:
|
||||
if (null === current && isHydrating) {
|
||||
if ((init = elementType = nextHydratableInstance))
|
||||
if (($$typeof = elementType = nextHydratableInstance))
|
||||
(elementType = canHydrateInstance(
|
||||
elementType,
|
||||
workInProgress.type,
|
||||
@@ -7936,22 +7941,22 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
elementType.firstChild
|
||||
)),
|
||||
(rootOrSingletonContext = !1),
|
||||
(init = !0))
|
||||
: (init = !1);
|
||||
init || throwOnHydrationMismatch(workInProgress);
|
||||
($$typeof = !0))
|
||||
: ($$typeof = !1);
|
||||
$$typeof || throwOnHydrationMismatch(workInProgress);
|
||||
}
|
||||
pushHostContext(workInProgress);
|
||||
init = workInProgress.type;
|
||||
$$typeof = workInProgress.type;
|
||||
prevState = workInProgress.pendingProps;
|
||||
nextState = null !== current ? current.memoizedProps : null;
|
||||
elementType = prevState.children;
|
||||
shouldSetTextContent(init, prevState)
|
||||
shouldSetTextContent($$typeof, prevState)
|
||||
? (elementType = null)
|
||||
: null !== nextState &&
|
||||
shouldSetTextContent(init, nextState) &&
|
||||
shouldSetTextContent($$typeof, nextState) &&
|
||||
(workInProgress.flags |= 32);
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -7959,7 +7964,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init));
|
||||
(HostTransitionContext._currentValue = $$typeof));
|
||||
markRef(current, workInProgress);
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes);
|
||||
return workInProgress.child;
|
||||
@@ -8053,11 +8058,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
(elementType = elementType(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
(elementType = elementType($$typeof)),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -8081,7 +8086,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8091,8 +8096,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -8105,7 +8110,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8115,20 +8120,20 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextState = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
if (isHydrating) {
|
||||
if ("hidden" === init.mode)
|
||||
mountActivityChildren(workInProgress, init);
|
||||
if ("hidden" === $$typeof.mode)
|
||||
mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (
|
||||
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -8161,7 +8166,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
throw throwOnHydrationMismatch(workInProgress);
|
||||
workInProgress.lanes = 536870912;
|
||||
workInProgress = null;
|
||||
} else workInProgress = mountActivityChildren(workInProgress, init);
|
||||
} else workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
if (
|
||||
((prevState = elementType.dehydrated),
|
||||
@@ -8191,16 +8196,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(nextState = 0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || nextState)
|
||||
) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((prevState = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== prevState && prevState !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = prevState),
|
||||
enqueueConcurrentRenderForLane(current, prevState),
|
||||
scheduleUpdateOnFiber(init, current, prevState),
|
||||
scheduleUpdateOnFiber($$typeof, current, prevState),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -8218,12 +8223,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(rootOrSingletonContext = !1),
|
||||
null !== renderLanes &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -8242,37 +8247,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(prevState = createCache()),
|
||||
(init.pooledCache = prevState),
|
||||
($$typeof.pooledCache = prevState),
|
||||
prevState.refCount++,
|
||||
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = prevState)),
|
||||
null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = prevState)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(prevState = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = prevState.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -12994,20 +12999,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1629 = 0;
|
||||
i$jscomp$inline_1629 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1629++
|
||||
var i$jscomp$inline_1627 = 0;
|
||||
i$jscomp$inline_1627 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1627++
|
||||
) {
|
||||
var eventName$jscomp$inline_1630 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1629],
|
||||
domEventName$jscomp$inline_1631 =
|
||||
eventName$jscomp$inline_1630.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1632 =
|
||||
eventName$jscomp$inline_1630[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1630.slice(1);
|
||||
var eventName$jscomp$inline_1628 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1627],
|
||||
domEventName$jscomp$inline_1629 =
|
||||
eventName$jscomp$inline_1628.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1630 =
|
||||
eventName$jscomp$inline_1628[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1628.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1631,
|
||||
"on" + capitalizedEvent$jscomp$inline_1632
|
||||
domEventName$jscomp$inline_1629,
|
||||
"on" + capitalizedEvent$jscomp$inline_1630
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17132,16 +17137,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-7ee75712-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005
|
||||
"19.2.0-native-fb-9be531cd-20250729" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2003
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005,
|
||||
"19.2.0-native-fb-7ee75712-20250728"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2003,
|
||||
"19.2.0-native-fb-9be531cd-20250729"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17161,24 +17166,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2526 = {
|
||||
var internals$jscomp$inline_2524 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2525 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2527.isDisabled &&
|
||||
hook$jscomp$inline_2527.supportsFiber
|
||||
!hook$jscomp$inline_2525.isDisabled &&
|
||||
hook$jscomp$inline_2525.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2527.inject(
|
||||
internals$jscomp$inline_2526
|
||||
(rendererID = hook$jscomp$inline_2525.inject(
|
||||
internals$jscomp$inline_2524
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2527);
|
||||
(injectedHook = hook$jscomp$inline_2525);
|
||||
} catch (err) {}
|
||||
}
|
||||
function getCrossOriginStringAs(as, input) {
|
||||
@@ -17417,4 +17422,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
+156
-151
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5e148b8b8db00ca75e85250c94a0f30c>>
|
||||
* @generated SignedSource<<9d678eede77593c91104e77824ff2c35>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3900,6 +3900,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
|
||||
@@ -3939,10 +3949,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
)
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -4119,9 +4125,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -4168,8 +4175,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -4230,14 +4236,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -4548,8 +4555,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -8163,59 +8169,58 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -8229,7 +8234,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8237,7 +8242,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -8247,7 +8252,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current) throw Error(formatProdErrorMessage(387));
|
||||
elementType = workInProgress.pendingProps;
|
||||
var prevState = workInProgress.memoizedState;
|
||||
init = prevState.element;
|
||||
$$typeof = prevState.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, elementType, null, renderLanes);
|
||||
var nextState = workInProgress.memoizedState;
|
||||
@@ -8280,12 +8285,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (elementType !== init) {
|
||||
init = createCapturedValueAtFiber(
|
||||
} else if (elementType !== $$typeof) {
|
||||
$$typeof = createCapturedValueAtFiber(
|
||||
Error(formatProdErrorMessage(424)),
|
||||
workInProgress
|
||||
);
|
||||
queueHydrationError(init);
|
||||
queueHydrationError($$typeof);
|
||||
workInProgress = mountHostRootWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8322,7 +8327,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
resetHydrationState();
|
||||
if (elementType === init) {
|
||||
if (elementType === $$typeof) {
|
||||
workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8378,13 +8383,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(rootOrSingletonContext = !0),
|
||||
(init = nextHydratableInstance),
|
||||
($$typeof = nextHydratableInstance),
|
||||
isSingletonScope(workInProgress.type)
|
||||
? ((previousHydratableOnEnteringScopedSingleton = init),
|
||||
? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
elementType.firstChild
|
||||
)))
|
||||
: (nextHydratableInstance = init)),
|
||||
: (nextHydratableInstance = $$typeof)),
|
||||
reconcileChildren(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -8397,7 +8402,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 5:
|
||||
if (null === current && isHydrating) {
|
||||
if ((init = elementType = nextHydratableInstance))
|
||||
if (($$typeof = elementType = nextHydratableInstance))
|
||||
(elementType = canHydrateInstance(
|
||||
elementType,
|
||||
workInProgress.type,
|
||||
@@ -8411,22 +8416,22 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
elementType.firstChild
|
||||
)),
|
||||
(rootOrSingletonContext = !1),
|
||||
(init = !0))
|
||||
: (init = !1);
|
||||
init || throwOnHydrationMismatch(workInProgress);
|
||||
($$typeof = !0))
|
||||
: ($$typeof = !1);
|
||||
$$typeof || throwOnHydrationMismatch(workInProgress);
|
||||
}
|
||||
pushHostContext(workInProgress);
|
||||
init = workInProgress.type;
|
||||
$$typeof = workInProgress.type;
|
||||
prevState = workInProgress.pendingProps;
|
||||
nextState = null !== current ? current.memoizedProps : null;
|
||||
elementType = prevState.children;
|
||||
shouldSetTextContent(init, prevState)
|
||||
shouldSetTextContent($$typeof, prevState)
|
||||
? (elementType = null)
|
||||
: null !== nextState &&
|
||||
shouldSetTextContent(init, nextState) &&
|
||||
shouldSetTextContent($$typeof, nextState) &&
|
||||
(workInProgress.flags |= 32);
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -8434,7 +8439,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init));
|
||||
(HostTransitionContext._currentValue = $$typeof));
|
||||
markRef(current, workInProgress);
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes);
|
||||
return workInProgress.child;
|
||||
@@ -8533,12 +8538,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
markComponentRenderStarted(workInProgress),
|
||||
(elementType = elementType(init)),
|
||||
(elementType = elementType($$typeof)),
|
||||
markComponentRenderStopped(),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
@@ -8563,7 +8568,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8573,8 +8578,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -8587,7 +8592,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -8597,20 +8602,20 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextState = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
if (isHydrating) {
|
||||
if ("hidden" === init.mode)
|
||||
mountActivityChildren(workInProgress, init);
|
||||
if ("hidden" === $$typeof.mode)
|
||||
mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (
|
||||
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
||||
(renderLanes = nextHydratableInstance)
|
||||
@@ -8643,7 +8648,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
throw throwOnHydrationMismatch(workInProgress);
|
||||
workInProgress.lanes = 536870912;
|
||||
workInProgress = null;
|
||||
} else workInProgress = mountActivityChildren(workInProgress, init);
|
||||
} else workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
if (
|
||||
((prevState = elementType.dehydrated),
|
||||
@@ -8673,16 +8678,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(nextState = 0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || nextState)
|
||||
) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((prevState = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== prevState && prevState !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = prevState),
|
||||
enqueueConcurrentRenderForLane(current, prevState),
|
||||
scheduleUpdateOnFiber(init, current, prevState),
|
||||
scheduleUpdateOnFiber($$typeof, current, prevState),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -8700,12 +8705,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
(rootOrSingletonContext = !1),
|
||||
null !== renderLanes &&
|
||||
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -8724,37 +8729,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(prevState = createCache()),
|
||||
(init.pooledCache = prevState),
|
||||
($$typeof.pooledCache = prevState),
|
||||
prevState.refCount++,
|
||||
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = prevState)),
|
||||
null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = prevState)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(prevState = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = prevState.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -14938,20 +14943,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
|
||||
(nativeEventTarget[internalScrollTimer] = targetInst));
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1867 = 0;
|
||||
i$jscomp$inline_1867 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1867++
|
||||
var i$jscomp$inline_1865 = 0;
|
||||
i$jscomp$inline_1865 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1865++
|
||||
) {
|
||||
var eventName$jscomp$inline_1868 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1867],
|
||||
domEventName$jscomp$inline_1869 =
|
||||
eventName$jscomp$inline_1868.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1870 =
|
||||
eventName$jscomp$inline_1868[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1868.slice(1);
|
||||
var eventName$jscomp$inline_1866 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1865],
|
||||
domEventName$jscomp$inline_1867 =
|
||||
eventName$jscomp$inline_1866.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1868 =
|
||||
eventName$jscomp$inline_1866[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1866.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1869,
|
||||
"on" + capitalizedEvent$jscomp$inline_1870
|
||||
domEventName$jscomp$inline_1867,
|
||||
"on" + capitalizedEvent$jscomp$inline_1868
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -19094,16 +19099,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2243 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-7ee75712-20250728" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245
|
||||
"19.2.0-native-fb-9be531cd-20250729" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2243
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245,
|
||||
"19.2.0-native-fb-7ee75712-20250728"
|
||||
isomorphicReactPackageVersion$jscomp$inline_2243,
|
||||
"19.2.0-native-fb-9be531cd-20250729"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19123,12 +19128,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2252 = {
|
||||
var internals$jscomp$inline_2250 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728",
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19146,16 +19151,16 @@ var internals$jscomp$inline_2252 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2767 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2765 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2767.isDisabled &&
|
||||
hook$jscomp$inline_2767.supportsFiber
|
||||
!hook$jscomp$inline_2765.isDisabled &&
|
||||
hook$jscomp$inline_2765.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2767.inject(
|
||||
internals$jscomp$inline_2252
|
||||
(rendererID = hook$jscomp$inline_2765.inject(
|
||||
internals$jscomp$inline_2250
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2767);
|
||||
(injectedHook = hook$jscomp$inline_2765);
|
||||
} catch (err) {}
|
||||
}
|
||||
function getCrossOriginStringAs(as, input) {
|
||||
@@ -19394,7 +19399,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+44
-31
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4dbd78801b7e55b5ae9731ba5b746882>>
|
||||
* @generated SignedSource<<48de369f266e09314ffce50f84c74731>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2568,6 +2568,19 @@ __DEV__ &&
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
return callLazyInitInDEV(lazyType);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw (
|
||||
((suspendedThenable = x),
|
||||
(needsToResetSuspendedThenableDEV = !0),
|
||||
SuspenseException)
|
||||
);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
throw Error(
|
||||
@@ -2773,7 +2786,7 @@ __DEV__ &&
|
||||
("object" === typeof elementType &&
|
||||
null !== elementType &&
|
||||
elementType.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(elementType) === current.type))
|
||||
resolveLazy(elementType) === current.type))
|
||||
)
|
||||
return (
|
||||
(current = useFiber(current, element.props)),
|
||||
@@ -2874,7 +2887,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = createChild(returnFiber, newChild, lanes);
|
||||
currentDebugInfo = _prevDebugInfo;
|
||||
return returnFiber;
|
||||
@@ -2950,7 +2963,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = updateSlot(
|
||||
returnFiber,
|
||||
oldFiber,
|
||||
@@ -3044,7 +3057,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
@@ -3122,7 +3135,7 @@ __DEV__ &&
|
||||
});
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
(child = callLazyInitInDEV(child)),
|
||||
(child = resolveLazy(child)),
|
||||
warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
|
||||
}
|
||||
return knownKeys;
|
||||
@@ -3391,7 +3404,7 @@ __DEV__ &&
|
||||
("object" === typeof key &&
|
||||
null !== key &&
|
||||
key.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(key) === currentFirstChild.type)
|
||||
resolveLazy(key) === currentFirstChild.type)
|
||||
) {
|
||||
deleteRemainingChildren(
|
||||
returnFiber,
|
||||
@@ -3482,7 +3495,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7973,7 +7986,7 @@ __DEV__ &&
|
||||
((prevSibling = workInProgress.elementType),
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(returnFiber = workInProgress.pendingProps),
|
||||
(current = callLazyInitInDEV(prevSibling)),
|
||||
(current = resolveLazy(prevSibling)),
|
||||
(workInProgress.type = current),
|
||||
"function" === typeof current)
|
||||
)
|
||||
@@ -14130,25 +14143,7 @@ __DEV__ &&
|
||||
pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
||||
pendingLegacyContextWarning = new Map();
|
||||
};
|
||||
var SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
callComponent = {
|
||||
var callComponent = {
|
||||
react_stack_bottom_frame: function (Component, props, secondArg) {
|
||||
var wasRendering = isRendering;
|
||||
isRendering = !0;
|
||||
@@ -14265,6 +14260,24 @@ __DEV__ &&
|
||||
},
|
||||
callLazyInitInDEV =
|
||||
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
||||
SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
thenableState$1 = null,
|
||||
thenableIndexCounter$1 = 0,
|
||||
currentDebugInfo = null,
|
||||
@@ -15726,10 +15739,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15874,5 +15887,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
})();
|
||||
|
||||
+132
-127
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1dfbf91e3f6a3af09c6fc820a87e2e59>>
|
||||
* @generated SignedSource<<9617ba5946a3698efcad1bbbfed6c93d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1616,6 +1616,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -1661,10 +1671,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -1837,9 +1843,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -1886,8 +1893,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -1948,14 +1954,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -2256,8 +2263,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -5636,63 +5642,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -5706,7 +5711,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -5714,7 +5719,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -5723,14 +5728,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -5738,14 +5743,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -5755,7 +5760,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -5763,7 +5768,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue2 = init)),
|
||||
(HostTransitionContext._currentValue2 = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -5846,11 +5851,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
(elementType = elementType(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
(elementType = elementType($$typeof)),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -5874,7 +5879,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -5884,8 +5889,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -5898,7 +5903,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -5908,18 +5913,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -5952,16 +5957,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -5971,13 +5976,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -5996,37 +6001,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -9905,24 +9910,24 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1434 = {
|
||||
var internals$jscomp$inline_1432 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1435 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1433 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1435.isDisabled &&
|
||||
hook$jscomp$inline_1435.supportsFiber
|
||||
!hook$jscomp$inline_1433.isDisabled &&
|
||||
hook$jscomp$inline_1433.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1435.inject(
|
||||
internals$jscomp$inline_1434
|
||||
(rendererID = hook$jscomp$inline_1433.inject(
|
||||
internals$jscomp$inline_1432
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1435);
|
||||
(injectedHook = hook$jscomp$inline_1433);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10046,4 +10051,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
+132
-127
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<07935aba906c66daa7375ac2e3fb3e17>>
|
||||
* @generated SignedSource<<681b7382921839151b617eb3569f4418>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1732,6 +1732,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -1777,10 +1787,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -1953,9 +1959,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -2002,8 +2009,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -2064,14 +2070,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -2372,8 +2379,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -5792,63 +5798,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -5862,7 +5867,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -5870,7 +5875,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -5879,14 +5884,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -5894,14 +5899,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -5911,7 +5916,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -5919,7 +5924,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue2 = init)),
|
||||
(HostTransitionContext._currentValue2 = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -6007,12 +6012,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
markComponentRenderStarted(workInProgress),
|
||||
(elementType = elementType(init)),
|
||||
(elementType = elementType($$typeof)),
|
||||
markComponentRenderStopped(),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
@@ -6037,7 +6042,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -6047,8 +6052,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -6061,7 +6066,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -6071,18 +6076,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -6115,16 +6120,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -6134,13 +6139,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -6159,37 +6164,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -10525,12 +10530,12 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1241 = {
|
||||
var internals$jscomp$inline_1239 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728",
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$143 = 0;
|
||||
@@ -10548,16 +10553,16 @@ var internals$jscomp$inline_1241 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1500 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1498 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1500.isDisabled &&
|
||||
hook$jscomp$inline_1500.supportsFiber
|
||||
!hook$jscomp$inline_1498.isDisabled &&
|
||||
hook$jscomp$inline_1498.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1500.inject(
|
||||
internals$jscomp$inline_1241
|
||||
(rendererID = hook$jscomp$inline_1498.inject(
|
||||
internals$jscomp$inline_1239
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1500);
|
||||
(injectedHook = hook$jscomp$inline_1498);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10681,4 +10686,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<727c7b935b980801436329860efa4408>>
|
||||
* @generated SignedSource<<94c7eced9d07db1c46411db98828041b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1413,7 +1413,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ea5885e373a65679e47cf7d64368f7a7>>
|
||||
* @generated SignedSource<<3b62fec781eb5ea5b169c107b0841137>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<75e27ac8518367ede9304a11b8f10072>>
|
||||
* @generated SignedSource<<20f5becac85859c7b0dddeb21d15d8e2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-7ee75712-20250728";
|
||||
exports.version = "19.2.0-native-fb-9be531cd-20250729";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
7ee7571212bc02354b852752a98b23bc90546fdf
|
||||
9be531cd37f5558c72f7de360eb921b0074e8544
|
||||
|
||||
+43
-30
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<67c8376e7de052f7bde2d06a54d7e017>>
|
||||
* @generated SignedSource<<dcf074954dabccfbdae28b3edc8d84af>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3955,6 +3955,19 @@ __DEV__ &&
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
return callLazyInitInDEV(lazyType);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw (
|
||||
((suspendedThenable = x),
|
||||
(needsToResetSuspendedThenableDEV = !0),
|
||||
SuspenseException)
|
||||
);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
throw Error(
|
||||
@@ -4170,7 +4183,7 @@ __DEV__ &&
|
||||
("object" === typeof elementType &&
|
||||
null !== elementType &&
|
||||
elementType.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(elementType) === current.type))
|
||||
resolveLazy(elementType) === current.type))
|
||||
)
|
||||
return (
|
||||
(current = useFiber(current, element.props)),
|
||||
@@ -4271,7 +4284,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = createChild(returnFiber, newChild, lanes);
|
||||
currentDebugInfo = _prevDebugInfo;
|
||||
return returnFiber;
|
||||
@@ -4347,7 +4360,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = updateSlot(
|
||||
returnFiber,
|
||||
oldFiber,
|
||||
@@ -4441,7 +4454,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
@@ -4519,7 +4532,7 @@ __DEV__ &&
|
||||
});
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
(child = callLazyInitInDEV(child)),
|
||||
(child = resolveLazy(child)),
|
||||
warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
|
||||
}
|
||||
return knownKeys;
|
||||
@@ -4790,7 +4803,7 @@ __DEV__ &&
|
||||
("object" === typeof key &&
|
||||
null !== key &&
|
||||
key.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(key) === currentFirstChild.type)
|
||||
resolveLazy(key) === currentFirstChild.type)
|
||||
) {
|
||||
deleteRemainingChildren(
|
||||
returnFiber,
|
||||
@@ -4882,7 +4895,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -9332,7 +9345,7 @@ __DEV__ &&
|
||||
((prevSibling = workInProgress.elementType),
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(returnFiber = workInProgress.pendingProps),
|
||||
(current = callLazyInitInDEV(prevSibling)),
|
||||
(current = resolveLazy(prevSibling)),
|
||||
(workInProgress.type = current),
|
||||
"function" === typeof current)
|
||||
)
|
||||
@@ -17467,25 +17480,7 @@ __DEV__ &&
|
||||
pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
||||
pendingLegacyContextWarning = new Map();
|
||||
};
|
||||
var SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
callComponent = {
|
||||
var callComponent = {
|
||||
react_stack_bottom_frame: function (Component, props, secondArg) {
|
||||
var wasRendering = isRendering;
|
||||
isRendering = !0;
|
||||
@@ -17602,6 +17597,24 @@ __DEV__ &&
|
||||
},
|
||||
callLazyInitInDEV =
|
||||
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
||||
SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
thenableState$1 = null,
|
||||
thenableIndexCounter$1 = 0,
|
||||
currentDebugInfo = null,
|
||||
@@ -19231,10 +19244,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+132
-127
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3c338596295cbfcef54d9cdb973cd6c8>>
|
||||
* @generated SignedSource<<e68d126cf37c58ad8e127c2a69760f0c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2627,6 +2627,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -2672,10 +2682,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -2852,9 +2858,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -2901,8 +2908,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -2963,14 +2969,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -3274,8 +3281,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -6648,63 +6654,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -6718,7 +6723,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -6726,7 +6731,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -6735,14 +6740,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -6750,14 +6755,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -6767,7 +6772,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -6775,7 +6780,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue2 = init)),
|
||||
(HostTransitionContext._currentValue2 = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -6855,11 +6860,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
(elementType = elementType(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
(elementType = elementType($$typeof)),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -6883,7 +6888,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -6893,8 +6898,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -6907,7 +6912,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -6917,18 +6922,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -6961,16 +6966,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -6980,13 +6985,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -7005,37 +7010,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -11009,26 +11014,26 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1237 = {
|
||||
internals$jscomp$inline_1235 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1237.rendererConfig = extraDevToolsConfig);
|
||||
(internals$jscomp$inline_1235.rendererConfig = extraDevToolsConfig);
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1556 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1554 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1556.isDisabled &&
|
||||
hook$jscomp$inline_1556.supportsFiber
|
||||
!hook$jscomp$inline_1554.isDisabled &&
|
||||
hook$jscomp$inline_1554.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1556.inject(
|
||||
internals$jscomp$inline_1237
|
||||
(rendererID = hook$jscomp$inline_1554.inject(
|
||||
internals$jscomp$inline_1235
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1556);
|
||||
(injectedHook = hook$jscomp$inline_1554);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+134
-129
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2b9de96a7c4dbd5f8a40081ee0b7ca0c>>
|
||||
* @generated SignedSource<<bf9a51ae9bf61b741d8b71abebad8b96>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3029,6 +3029,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -3074,10 +3084,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -3254,9 +3260,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -3303,8 +3310,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -3365,14 +3371,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -3676,8 +3683,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7099,63 +7105,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -7169,7 +7174,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7177,7 +7182,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -7186,14 +7191,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -7201,14 +7206,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -7218,7 +7223,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -7226,7 +7231,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue2 = init)),
|
||||
(HostTransitionContext._currentValue2 = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -7311,12 +7316,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
markComponentRenderStarted(workInProgress),
|
||||
(elementType = elementType(init)),
|
||||
(elementType = elementType($$typeof)),
|
||||
markComponentRenderStopped(),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
@@ -7341,7 +7346,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7351,8 +7356,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -7365,7 +7370,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7375,18 +7380,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -7419,16 +7424,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -7438,13 +7443,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -7463,37 +7468,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -12938,16 +12943,16 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1472 = {
|
||||
internals$jscomp$inline_1470 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1472.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1472.getLaneLabelMap = function () {
|
||||
(internals$jscomp$inline_1470.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1470.getLaneLabelMap = function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$165 = 0;
|
||||
31 > index$165;
|
||||
@@ -12959,20 +12964,20 @@ internals$jscomp$inline_1472.getLaneLabelMap = function () {
|
||||
}
|
||||
return map;
|
||||
};
|
||||
internals$jscomp$inline_1472.injectProfilingHooks = function (profilingHooks) {
|
||||
internals$jscomp$inline_1470.injectProfilingHooks = function (profilingHooks) {
|
||||
injectedProfilingHooks = profilingHooks;
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1793 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1791 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1793.isDisabled &&
|
||||
hook$jscomp$inline_1793.supportsFiber
|
||||
!hook$jscomp$inline_1791.isDisabled &&
|
||||
hook$jscomp$inline_1791.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1793.inject(
|
||||
internals$jscomp$inline_1472
|
||||
(rendererID = hook$jscomp$inline_1791.inject(
|
||||
internals$jscomp$inline_1470
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1793);
|
||||
(injectedHook = hook$jscomp$inline_1791);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+45
-32
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<35c16dc30f9883404e89891572f7d781>>
|
||||
* @generated SignedSource<<c8e234da5a71fd50fe846287260d42ed>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -4321,6 +4321,19 @@ __DEV__ &&
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
return callLazyInitInDEV(lazyType);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw (
|
||||
((suspendedThenable = x),
|
||||
(needsToResetSuspendedThenableDEV = !0),
|
||||
SuspenseException)
|
||||
);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
throw Error(
|
||||
@@ -4536,7 +4549,7 @@ __DEV__ &&
|
||||
("object" === typeof elementType &&
|
||||
null !== elementType &&
|
||||
elementType.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(elementType) === current.type))
|
||||
resolveLazy(elementType) === current.type))
|
||||
)
|
||||
return (
|
||||
(current = useFiber(current, element.props)),
|
||||
@@ -4637,7 +4650,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = createChild(returnFiber, newChild, lanes);
|
||||
currentDebugInfo = _prevDebugInfo;
|
||||
return returnFiber;
|
||||
@@ -4713,7 +4726,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = updateSlot(
|
||||
returnFiber,
|
||||
oldFiber,
|
||||
@@ -4807,7 +4820,7 @@ __DEV__ &&
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
|
||||
newChild = callLazyInitInDEV(newChild);
|
||||
newChild = resolveLazy(newChild);
|
||||
returnFiber = updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
@@ -4885,7 +4898,7 @@ __DEV__ &&
|
||||
});
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
(child = callLazyInitInDEV(child)),
|
||||
(child = resolveLazy(child)),
|
||||
warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
|
||||
}
|
||||
return knownKeys;
|
||||
@@ -5156,7 +5169,7 @@ __DEV__ &&
|
||||
("object" === typeof key &&
|
||||
null !== key &&
|
||||
key.$$typeof === REACT_LAZY_TYPE &&
|
||||
callLazyInitInDEV(key) === currentFirstChild.type)
|
||||
resolveLazy(key) === currentFirstChild.type)
|
||||
) {
|
||||
deleteRemainingChildren(
|
||||
returnFiber,
|
||||
@@ -5248,7 +5261,7 @@ __DEV__ &&
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
|
||||
(newChild = callLazyInitInDEV(newChild)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
(returnFiber = reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -9698,7 +9711,7 @@ __DEV__ &&
|
||||
((prevSibling = workInProgress.elementType),
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(returnFiber = workInProgress.pendingProps),
|
||||
(current = callLazyInitInDEV(prevSibling)),
|
||||
(current = resolveLazy(prevSibling)),
|
||||
(workInProgress.type = current),
|
||||
"function" === typeof current)
|
||||
)
|
||||
@@ -18109,25 +18122,7 @@ __DEV__ &&
|
||||
pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
||||
pendingLegacyContextWarning = new Map();
|
||||
};
|
||||
var SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
callComponent = {
|
||||
var callComponent = {
|
||||
react_stack_bottom_frame: function (Component, props, secondArg) {
|
||||
var wasRendering = isRendering;
|
||||
isRendering = !0;
|
||||
@@ -18244,6 +18239,24 @@ __DEV__ &&
|
||||
},
|
||||
callLazyInitInDEV =
|
||||
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
||||
SuspenseException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
||||
),
|
||||
SuspenseyCommitException = Error(
|
||||
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
||||
),
|
||||
SuspenseActionException = Error(
|
||||
"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
|
||||
),
|
||||
noopSuspenseyCommitThenable = {
|
||||
then: function () {
|
||||
console.error(
|
||||
'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
|
||||
);
|
||||
}
|
||||
},
|
||||
suspendedThenable = null,
|
||||
needsToResetSuspendedThenableDEV = !1,
|
||||
thenableState$1 = null,
|
||||
thenableIndexCounter$1 = 0,
|
||||
currentDebugInfo = null,
|
||||
@@ -19589,11 +19602,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-7ee75712-20250728" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7ee75712-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -19619,10 +19632,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+134
-129
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5b866afc53811c2ced6128c17dc1a67b>>
|
||||
* @generated SignedSource<<1a99f34e5519dcc8c66cff6cb8c79135>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3033,6 +3033,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -3078,10 +3088,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -3258,9 +3264,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -3307,8 +3314,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -3369,14 +3375,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -3680,8 +3687,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7054,63 +7060,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -7124,7 +7129,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7132,7 +7137,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -7141,14 +7146,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -7156,14 +7161,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -7173,7 +7178,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -7181,7 +7186,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init)),
|
||||
(HostTransitionContext._currentValue = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -7261,11 +7266,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
(elementType = elementType(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
(elementType = elementType($$typeof)),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -7289,7 +7294,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7299,8 +7304,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -7313,7 +7318,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7323,18 +7328,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -7367,16 +7372,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -7386,13 +7391,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -7411,37 +7416,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -11237,11 +11242,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-7ee75712-20250728" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7ee75712-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11289,26 +11294,26 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1295 = {
|
||||
internals$jscomp$inline_1293 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig);
|
||||
(internals$jscomp$inline_1293.rendererConfig = extraDevToolsConfig);
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1641 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1639 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1641.isDisabled &&
|
||||
hook$jscomp$inline_1641.supportsFiber
|
||||
!hook$jscomp$inline_1639.isDisabled &&
|
||||
hook$jscomp$inline_1639.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1641.inject(
|
||||
internals$jscomp$inline_1295
|
||||
(rendererID = hook$jscomp$inline_1639.inject(
|
||||
internals$jscomp$inline_1293
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1641);
|
||||
(injectedHook = hook$jscomp$inline_1639);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+136
-131
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<baf6437a256c3ff35aa0534b9c4ae8c3>>
|
||||
* @generated SignedSource<<a983d833ea3baf7d9b564e1dacf1e2c0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -3432,6 +3432,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
||||
throw SuspenseException;
|
||||
}
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
try {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
} catch (x) {
|
||||
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
||||
throw ((suspendedThenable = x), SuspenseException);
|
||||
throw x;
|
||||
}
|
||||
}
|
||||
var suspendedThenable = null;
|
||||
function getSuspendedThenable() {
|
||||
if (null === suspendedThenable)
|
||||
@@ -3477,10 +3487,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
||||
"). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
function resolveLazy(lazyType) {
|
||||
var init = lazyType._init;
|
||||
return init(lazyType._payload);
|
||||
}
|
||||
function createChildReconciler(shouldTrackSideEffects) {
|
||||
function deleteChild(returnFiber, childToDelete) {
|
||||
if (shouldTrackSideEffects) {
|
||||
@@ -3657,9 +3663,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
newChild
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return createChild(returnFiber, newChild, lanes);
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
createChild(returnFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
return (
|
||||
@@ -3706,8 +3713,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
: null;
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
||||
);
|
||||
}
|
||||
@@ -3768,14 +3774,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
||||
);
|
||||
case REACT_LAZY_TYPE:
|
||||
var init = newChild._init;
|
||||
newChild = init(newChild._payload);
|
||||
return updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
return (
|
||||
(newChild = resolveLazy(newChild)),
|
||||
updateFromMap(
|
||||
existingChildren,
|
||||
returnFiber,
|
||||
newIdx,
|
||||
newChild,
|
||||
lanes
|
||||
)
|
||||
);
|
||||
}
|
||||
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
||||
@@ -4079,8 +4086,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
||||
return placeSingleChild(returnFiber);
|
||||
case REACT_LAZY_TYPE:
|
||||
return (
|
||||
(key = newChild._init),
|
||||
(newChild = key(newChild._payload)),
|
||||
(newChild = resolveLazy(newChild)),
|
||||
reconcileChildFibersImpl(
|
||||
returnFiber,
|
||||
currentFirstChild,
|
||||
@@ -7502,63 +7508,62 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
switch (workInProgress.tag) {
|
||||
case 16:
|
||||
var elementType = workInProgress.elementType;
|
||||
a: {
|
||||
resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);
|
||||
current = workInProgress.pendingProps;
|
||||
var init = elementType._init;
|
||||
elementType = init(elementType._payload);
|
||||
workInProgress.type = elementType;
|
||||
if ("function" === typeof elementType)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType)
|
||||
if (
|
||||
((init = elementType.$$typeof), init === REACT_FORWARD_REF_TYPE)
|
||||
) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if (init === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
a: if (
|
||||
(resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),
|
||||
(current = workInProgress.pendingProps),
|
||||
(elementType = resolveLazy(elementType)),
|
||||
(workInProgress.type = elementType),
|
||||
"function" === typeof elementType)
|
||||
)
|
||||
shouldConstruct(elementType)
|
||||
? ((current = resolveClassComponentProps(elementType, current)),
|
||||
(workInProgress.tag = 1),
|
||||
(workInProgress = updateClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)))
|
||||
: ((workInProgress.tag = 0),
|
||||
(workInProgress = updateFunctionComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
)));
|
||||
else {
|
||||
if (void 0 !== elementType && null !== elementType) {
|
||||
var $$typeof = elementType.$$typeof;
|
||||
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
||||
workInProgress.tag = 11;
|
||||
workInProgress = updateForwardRef(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
} else if ($$typeof === REACT_MEMO_TYPE) {
|
||||
workInProgress.tag = 14;
|
||||
workInProgress = updateMemoComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
current,
|
||||
renderLanes
|
||||
);
|
||||
break a;
|
||||
}
|
||||
}
|
||||
workInProgress = getComponentNameFromType(elementType) || elementType;
|
||||
throw Error(
|
||||
"Element type is invalid. Received a promise that resolves to: " +
|
||||
workInProgress +
|
||||
". Lazy element type must resolve to a class or function."
|
||||
);
|
||||
}
|
||||
return workInProgress;
|
||||
case 0:
|
||||
@@ -7572,7 +7577,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 1:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7580,7 +7585,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
current,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
@@ -7589,14 +7594,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
if (null === current)
|
||||
throw Error("Should have a current fiber. This is a bug in React.");
|
||||
var nextProps = workInProgress.pendingProps;
|
||||
init = workInProgress.memoizedState;
|
||||
elementType = init.element;
|
||||
$$typeof = workInProgress.memoizedState;
|
||||
elementType = $$typeof.element;
|
||||
cloneUpdateQueue(current, workInProgress);
|
||||
processUpdateQueue(workInProgress, nextProps, null, renderLanes);
|
||||
nextProps = workInProgress.memoizedState;
|
||||
var nextCache = nextProps.cache;
|
||||
pushProvider(workInProgress, CacheContext, nextCache);
|
||||
nextCache !== init.cache &&
|
||||
nextCache !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -7604,14 +7609,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
!0
|
||||
);
|
||||
suspendIfUpdateReadFromEntangledAsyncAction();
|
||||
init = nextProps.element;
|
||||
init === elementType
|
||||
$$typeof = nextProps.element;
|
||||
$$typeof === elementType
|
||||
? (workInProgress = bailoutOnAlreadyFinishedWork(
|
||||
current,
|
||||
workInProgress,
|
||||
renderLanes
|
||||
))
|
||||
: (reconcileChildren(current, workInProgress, init, renderLanes),
|
||||
: (reconcileChildren(current, workInProgress, $$typeof, renderLanes),
|
||||
(workInProgress = workInProgress.child));
|
||||
return workInProgress;
|
||||
case 26:
|
||||
@@ -7621,7 +7626,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
pushHostContext(workInProgress),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
null !== workInProgress.memoizedState &&
|
||||
((init = renderWithHooks(
|
||||
(($$typeof = renderWithHooks(
|
||||
current,
|
||||
workInProgress,
|
||||
TransitionAwareHostComponent,
|
||||
@@ -7629,7 +7634,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
renderLanes
|
||||
)),
|
||||
(HostTransitionContext._currentValue = init)),
|
||||
(HostTransitionContext._currentValue = $$typeof)),
|
||||
markRef(current, workInProgress),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
workInProgress.child
|
||||
@@ -7714,12 +7719,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
case 9:
|
||||
return (
|
||||
(init = workInProgress.type._context),
|
||||
($$typeof = workInProgress.type._context),
|
||||
(elementType = workInProgress.pendingProps.children),
|
||||
prepareToReadContext(workInProgress),
|
||||
(init = readContext(init)),
|
||||
($$typeof = readContext($$typeof)),
|
||||
markComponentRenderStarted(workInProgress),
|
||||
(elementType = elementType(init)),
|
||||
(elementType = elementType($$typeof)),
|
||||
markComponentRenderStopped(),
|
||||
(workInProgress.flags |= 1),
|
||||
reconcileChildren(current, workInProgress, elementType, renderLanes),
|
||||
@@ -7744,7 +7749,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 17:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7754,8 +7759,8 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
? ((current = !0), pushContextProvider(workInProgress))
|
||||
: (current = !1),
|
||||
prepareToReadContext(workInProgress),
|
||||
constructClassInstance(workInProgress, elementType, init),
|
||||
mountClassInstance(workInProgress, elementType, init, renderLanes),
|
||||
constructClassInstance(workInProgress, elementType, $$typeof),
|
||||
mountClassInstance(workInProgress, elementType, $$typeof, renderLanes),
|
||||
finishClassComponent(
|
||||
null,
|
||||
workInProgress,
|
||||
@@ -7768,7 +7773,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
case 28:
|
||||
return (
|
||||
(elementType = workInProgress.type),
|
||||
(init = resolveClassComponentProps(
|
||||
($$typeof = resolveClassComponentProps(
|
||||
elementType,
|
||||
workInProgress.pendingProps
|
||||
)),
|
||||
@@ -7778,18 +7783,18 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
null,
|
||||
workInProgress,
|
||||
elementType,
|
||||
init,
|
||||
$$typeof,
|
||||
renderLanes
|
||||
)
|
||||
);
|
||||
case 19:
|
||||
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
||||
case 31:
|
||||
init = workInProgress.pendingProps;
|
||||
$$typeof = workInProgress.pendingProps;
|
||||
nextProps = 0 !== (workInProgress.flags & 128);
|
||||
workInProgress.flags &= -129;
|
||||
if (null === current)
|
||||
workInProgress = mountActivityChildren(workInProgress, init);
|
||||
workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
||||
else if (((elementType = current.memoizedState), null !== elementType))
|
||||
b: {
|
||||
pushDehydratedActivitySuspenseHandler(workInProgress);
|
||||
@@ -7822,16 +7827,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
);
|
||||
nextProps = 0 !== (renderLanes & current.childLanes);
|
||||
if (didReceiveUpdate || nextProps) {
|
||||
init = workInProgressRoot;
|
||||
$$typeof = workInProgressRoot;
|
||||
if (
|
||||
null !== init &&
|
||||
((nextProps = getBumpedLaneForHydration(init, renderLanes)),
|
||||
null !== $$typeof &&
|
||||
((nextProps = getBumpedLaneForHydration($$typeof, renderLanes)),
|
||||
0 !== nextProps && nextProps !== elementType.retryLane)
|
||||
)
|
||||
throw (
|
||||
((elementType.retryLane = nextProps),
|
||||
enqueueConcurrentRenderForLane(current, nextProps),
|
||||
scheduleUpdateOnFiber(init, current, nextProps),
|
||||
scheduleUpdateOnFiber($$typeof, current, nextProps),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
renderDidSuspendDelayIfPossible();
|
||||
@@ -7841,13 +7846,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
(workInProgress = mountActivityChildren(workInProgress, init)),
|
||||
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
||||
(workInProgress.flags |= 4096);
|
||||
}
|
||||
else
|
||||
(renderLanes = createWorkInProgress(current.child, {
|
||||
mode: init.mode,
|
||||
children: init.children
|
||||
mode: $$typeof.mode,
|
||||
children: $$typeof.children
|
||||
})),
|
||||
(renderLanes.ref = workInProgress.ref),
|
||||
(workInProgress.child = renderLanes),
|
||||
@@ -7866,37 +7871,37 @@ function beginWork(current, workInProgress, renderLanes) {
|
||||
prepareToReadContext(workInProgress),
|
||||
(elementType = readContext(CacheContext)),
|
||||
null === current
|
||||
? ((init = peekCacheFromPool()),
|
||||
null === init &&
|
||||
((init = workInProgressRoot),
|
||||
? (($$typeof = peekCacheFromPool()),
|
||||
null === $$typeof &&
|
||||
(($$typeof = workInProgressRoot),
|
||||
(nextProps = createCache()),
|
||||
(init.pooledCache = nextProps),
|
||||
($$typeof.pooledCache = nextProps),
|
||||
nextProps.refCount++,
|
||||
null !== nextProps && (init.pooledCacheLanes |= renderLanes),
|
||||
(init = nextProps)),
|
||||
null !== nextProps && ($$typeof.pooledCacheLanes |= renderLanes),
|
||||
($$typeof = nextProps)),
|
||||
(workInProgress.memoizedState = {
|
||||
parent: elementType,
|
||||
cache: init
|
||||
cache: $$typeof
|
||||
}),
|
||||
initializeUpdateQueue(workInProgress),
|
||||
pushProvider(workInProgress, CacheContext, init))
|
||||
pushProvider(workInProgress, CacheContext, $$typeof))
|
||||
: (0 !== (current.lanes & renderLanes) &&
|
||||
(cloneUpdateQueue(current, workInProgress),
|
||||
processUpdateQueue(workInProgress, null, null, renderLanes),
|
||||
suspendIfUpdateReadFromEntangledAsyncAction()),
|
||||
(init = current.memoizedState),
|
||||
($$typeof = current.memoizedState),
|
||||
(nextProps = workInProgress.memoizedState),
|
||||
init.parent !== elementType
|
||||
? ((init = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = init),
|
||||
$$typeof.parent !== elementType
|
||||
? (($$typeof = { parent: elementType, cache: elementType }),
|
||||
(workInProgress.memoizedState = $$typeof),
|
||||
0 === workInProgress.lanes &&
|
||||
(workInProgress.memoizedState =
|
||||
workInProgress.updateQueue.baseState =
|
||||
init),
|
||||
$$typeof),
|
||||
pushProvider(workInProgress, CacheContext, elementType))
|
||||
: ((elementType = nextProps.cache),
|
||||
pushProvider(workInProgress, CacheContext, elementType),
|
||||
elementType !== init.cache &&
|
||||
elementType !== $$typeof.cache &&
|
||||
propagateContextChanges(
|
||||
workInProgress,
|
||||
[CacheContext],
|
||||
@@ -13155,11 +13160,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-7ee75712-20250728" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-9be531cd-20250729" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7ee75712-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9be531cd-20250729\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13207,16 +13212,16 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
}
|
||||
};
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1530 = {
|
||||
internals$jscomp$inline_1528 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-7ee75712-20250728",
|
||||
version: "19.2.0-native-fb-9be531cd-20250729",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-7ee75712-20250728"
|
||||
reconcilerVersion: "19.2.0-native-fb-9be531cd-20250729"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1530.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1530.getLaneLabelMap = function () {
|
||||
(internals$jscomp$inline_1528.rendererConfig = extraDevToolsConfig);
|
||||
internals$jscomp$inline_1528.getLaneLabelMap = function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$172 = 0;
|
||||
31 > index$172;
|
||||
@@ -13228,20 +13233,20 @@ internals$jscomp$inline_1530.getLaneLabelMap = function () {
|
||||
}
|
||||
return map;
|
||||
};
|
||||
internals$jscomp$inline_1530.injectProfilingHooks = function (profilingHooks) {
|
||||
internals$jscomp$inline_1528.injectProfilingHooks = function (profilingHooks) {
|
||||
injectedProfilingHooks = profilingHooks;
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1878 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1876 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1878.isDisabled &&
|
||||
hook$jscomp$inline_1878.supportsFiber
|
||||
!hook$jscomp$inline_1876.isDisabled &&
|
||||
hook$jscomp$inline_1876.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1878.inject(
|
||||
internals$jscomp$inline_1530
|
||||
(rendererID = hook$jscomp$inline_1876.inject(
|
||||
internals$jscomp$inline_1528
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1878);
|
||||
(injectedHook = hook$jscomp$inline_1876);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-7ee75712-20250728",
|
||||
"version": "0.0.0-experimental-9be531cd-20250729",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user