Remove enableGetInspectorDataForInstanceInProduction flag (#32033)

## Summary

Callers for this method has been removed in
https://github.com/facebook/react-native/commit/65bda542320a85f4627d7957e1c6f45c2776298d,
so these methods no longer need to be conditionally exported and the
feature flag can be removed.

## How did you test this change?

Flow fabric/native

DiffTrain build for [74ea0c73a2](https://github.com/facebook/react/commit/74ea0c73a26d1c61609c1f2fa2e4ee3c8d432bcb)
This commit is contained in:
javache
2025-01-09 07:59:12 -08:00
parent 8e70bb2cf1
commit 609e7dac2e
23 changed files with 508 additions and 940 deletions
+1 -1
View File
@@ -1 +1 @@
19.1.0-native-fb-fd9cfa41-20250108
19.1.0-native-fb-74ea0c73-20250109
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<80fb2d9f605c6604061b60c56a329bb8>>
* @generated SignedSource<<d34f98765a4a7a0683f43e45404abdf6>>
*/
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<273ca40d8b721c00ceeb079a43fccff3>>
* @generated SignedSource<<b954603ed47aa95f301b3dbfe5e0f7a9>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<273ca40d8b721c00ceeb079a43fccff3>>
* @generated SignedSource<<b954603ed47aa95f301b3dbfe5e0f7a9>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5e02e2bc5b356d5617fc0a044cfe07a8>>
* @generated SignedSource<<21bc93e7babe00b814ebb295a0b8942d>>
*/
/*
@@ -25931,11 +25931,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-fd9cfa41-20250108" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-74ea0c73-20250109" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-native-fb-fd9cfa41-20250108\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-74ea0c73-20250109\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25972,10 +25972,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26121,5 +26121,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<31e2cc2f61fd78963494c9ef2334e764>>
* @generated SignedSource<<86fd766c57128c5edf354201f5a3d8ca>>
*/
/*
@@ -15950,14 +15950,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1769 = React.version;
if (
"19.1.0-native-fb-fd9cfa41-20250108" !==
"19.1.0-native-fb-74ea0c73-20250109" !==
isomorphicReactPackageVersion$jscomp$inline_1769
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1769,
"19.1.0-native-fb-fd9cfa41-20250108"
"19.1.0-native-fb-74ea0c73-20250109"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15979,10 +15979,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2217 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2218 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16088,4 +16088,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ceaadaa4d7ff6980394002b08a9f0ae5>>
* @generated SignedSource<<459b1523b6b7c27bee88e85e6389928b>>
*/
/*
@@ -16599,14 +16599,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1864 = React.version;
if (
"19.1.0-native-fb-fd9cfa41-20250108" !==
"19.1.0-native-fb-74ea0c73-20250109" !==
isomorphicReactPackageVersion$jscomp$inline_1864
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1864,
"19.1.0-native-fb-fd9cfa41-20250108"
"19.1.0-native-fb-74ea0c73-20250109"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16628,10 +16628,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1871 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108",
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
@@ -16752,4 +16752,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c7d32c0700220c8045eb5e3896ead0a9>>
* @generated SignedSource<<c2ac8485b19cafb938d487c7b430ef22>>
*/
/*
@@ -25992,11 +25992,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-fd9cfa41-20250108" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-74ea0c73-20250109" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-native-fb-fd9cfa41-20250108\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-74ea0c73-20250109\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26033,10 +26033,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26498,7 +26498,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8dd79e1977907c3caefa53fce9137af9>>
* @generated SignedSource<<3599dd82e652ee4cdff30498572147c2>>
*/
/*
@@ -15961,14 +15961,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
if (
"19.1.0-native-fb-fd9cfa41-20250108" !==
"19.1.0-native-fb-74ea0c73-20250109" !==
isomorphicReactPackageVersion$jscomp$inline_1770
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1770,
"19.1.0-native-fb-fd9cfa41-20250108"
"19.1.0-native-fb-74ea0c73-20250109"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15990,10 +15990,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2220 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2221 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16253,4 +16253,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e4bad3d384c5662cb006444d6a21fd28>>
* @generated SignedSource<<cb530fab79dc95b9594cf34e78a83556>>
*/
/*
@@ -16614,14 +16614,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1865 = React.version;
if (
"19.1.0-native-fb-fd9cfa41-20250108" !==
"19.1.0-native-fb-74ea0c73-20250109" !==
isomorphicReactPackageVersion$jscomp$inline_1865
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1865,
"19.1.0-native-fb-fd9cfa41-20250108"
"19.1.0-native-fb-74ea0c73-20250109"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16643,10 +16643,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1872 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108",
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
@@ -16921,7 +16921,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cc360a4a0402c76e5f22f51ceae366ac>>
* @generated SignedSource<<bcaee0198ffa318f634b9f93cd859f04>>
*/
"use strict";
@@ -15633,10 +15633,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15781,5 +15781,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0bcc153fd4af112a8f7027bbfb76fb62>>
* @generated SignedSource<<813b8fbdbb9ac5f0de7b1fc2c4409e0b>>
*/
"use strict";
@@ -9827,10 +9827,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1403 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1404 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9966,4 +9966,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<478cf56daf9ae72032baf2ff3f9d74a7>>
* @generated SignedSource<<0cf9a154ca549f0f2570b64d1888f15d>>
*/
"use strict";
@@ -10397,10 +10397,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1221 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108",
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$147 = 0;
@@ -10551,4 +10551,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cedef106f2918887d47470a3e43fe675>>
* @generated SignedSource<<ab4b00970217ec7b7f5c498d12094c2b>>
*/
"use strict";
@@ -1824,7 +1824,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b3d9e64c71464eaebdc670441421f8aa>>
* @generated SignedSource<<003bd0405d212c976abbf5c41f152c58>>
*/
"use strict";
@@ -592,4 +592,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<41fc3367046cfd38ac468d13671984f3>>
* @generated SignedSource<<bce2168a4aea312fa36ee577ae48d3a2>>
*/
"use strict";
@@ -596,7 +596,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-fd9cfa41-20250108";
exports.version = "19.1.0-native-fb-74ea0c73-20250109";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
fd9cfa416f7c01ecdf76b10ab776a43f2430786d
74ea0c73a26d1c61609c1f2fa2e4ee3c8d432bcb
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cc51bc011b2f4a640d7ea8cc219ca30b>>
* @generated SignedSource<<232b5577ca03565cb7911ed48fbdf4f0>>
*/
"use strict";
@@ -18,6 +18,62 @@ __DEV__ &&
"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
);
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function findHook(fiber, id) {
for (fiber = fiber.memoizedState; null !== fiber && 0 < id; )
(fiber = fiber.next), id--;
@@ -14434,103 +14490,6 @@ __DEV__ &&
internalInstanceHandle.stateNode.node
);
}
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var instance;
a: {
for (instance = hierarchy.length - 1; 1 < instance; instance--) {
var instance$jscomp$0 = hierarchy[instance];
if (5 !== instance$jscomp$0.tag) {
instance = instance$jscomp$0;
break a;
}
}
instance = hierarchy[0];
}
instance$jscomp$0 = createHierarchy(hierarchy);
var props = getHostProps(instance);
hierarchy = hierarchy.indexOf(instance);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: instance,
hierarchy: instance$jscomp$0,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -17290,8 +17249,48 @@ __DEV__ &&
setSuspenseHandler = function (newShouldSuspendImpl) {
shouldSuspendImpl = newShouldSuspendImpl;
};
var emptyObject = {};
Object.freeze(emptyObject);
var emptyObject = Object.freeze({});
var getInspectorDataForInstance = function (closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var instance;
a: {
for (instance = hierarchy.length - 1; 1 < instance; instance--) {
var instance$jscomp$0 = hierarchy[instance];
if (5 !== instance$jscomp$0.tag) {
instance = instance$jscomp$0;
break a;
}
}
instance = hierarchy[0];
}
instance$jscomp$0 = createHierarchy(hierarchy);
var props = getHostProps(instance);
hierarchy = hierarchy.indexOf(instance);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: instance,
hierarchy: instance$jscomp$0,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
};
var supportsHydration = !1,
isSuspenseInstancePending = shim$1,
isSuspenseInstanceFallback = shim$1,
@@ -17506,10 +17505,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -17581,7 +17580,6 @@ __DEV__ &&
);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.getNodeFromInternalInstanceHandle =
getNodeFromInternalInstanceHandle;
exports.getPublicInstanceFromInternalInstanceHandle = function (
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d8ae65dc2da931f283351bd9228f4b3b>>
* @generated SignedSource<<e72f416f4d4586b93686f2e7ffd95c76>>
*/
"use strict";
@@ -1231,7 +1231,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_283 = {
var injectedNamesToPlugins$jscomp$inline_279 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1277,33 +1277,33 @@ var injectedNamesToPlugins$jscomp$inline_283 = {
}
}
},
isOrderingDirty$jscomp$inline_284 = !1,
pluginName$jscomp$inline_285;
for (pluginName$jscomp$inline_285 in injectedNamesToPlugins$jscomp$inline_283)
isOrderingDirty$jscomp$inline_280 = !1,
pluginName$jscomp$inline_281;
for (pluginName$jscomp$inline_281 in injectedNamesToPlugins$jscomp$inline_279)
if (
injectedNamesToPlugins$jscomp$inline_283.hasOwnProperty(
pluginName$jscomp$inline_285
injectedNamesToPlugins$jscomp$inline_279.hasOwnProperty(
pluginName$jscomp$inline_281
)
) {
var pluginModule$jscomp$inline_286 =
injectedNamesToPlugins$jscomp$inline_283[pluginName$jscomp$inline_285];
var pluginModule$jscomp$inline_282 =
injectedNamesToPlugins$jscomp$inline_279[pluginName$jscomp$inline_281];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_285) ||
namesToPlugins[pluginName$jscomp$inline_285] !==
pluginModule$jscomp$inline_286
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_281) ||
namesToPlugins[pluginName$jscomp$inline_281] !==
pluginModule$jscomp$inline_282
) {
if (namesToPlugins[pluginName$jscomp$inline_285])
if (namesToPlugins[pluginName$jscomp$inline_281])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_285 + "`.")
(pluginName$jscomp$inline_281 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_285] =
pluginModule$jscomp$inline_286;
isOrderingDirty$jscomp$inline_284 = !0;
namesToPlugins[pluginName$jscomp$inline_281] =
pluginModule$jscomp$inline_282;
isOrderingDirty$jscomp$inline_280 = !0;
}
}
isOrderingDirty$jscomp$inline_284 && recomputePluginOrdering();
var emptyObject$1 = {},
isOrderingDirty$jscomp$inline_280 && recomputePluginOrdering();
var emptyObject = {},
removedKeys = null,
removedKeyCount = 0,
deepDifferOptions = { unsafelyIgnoreFunctions: !0 };
@@ -1413,7 +1413,7 @@ function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!isArrayImpl(nextProp))
return diffProperties(
updatePayload,
emptyObject$1,
emptyObject,
nextProp,
validAttributes
);
@@ -1431,7 +1431,7 @@ function clearNestedProperty(updatePayload, prevProp, validAttributes) {
return diffProperties(
updatePayload,
prevProp,
emptyObject$1,
emptyObject,
validAttributes
);
for (var i = 0; i < prevProp.length; i++)
@@ -1998,10 +1998,6 @@ function findCurrentFiberUsingSlowPath(fiber) {
throw Error("Unable to find node on an unmounted component.");
return a.stateNode.current === a ? fiber : alternate;
}
function findCurrentHostFiber(parent) {
parent = findCurrentFiberUsingSlowPath(parent);
return null !== parent ? findCurrentHostFiberImpl(parent) : null;
}
function findCurrentHostFiberImpl(node) {
var tag = node.tag;
if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
@@ -10816,7 +10812,8 @@ function findHostInstance(component) {
"Argument appears to not be a ReactComponent. Keys: " + component
);
}
component = findCurrentHostFiber(fiber);
component = findCurrentFiberUsingSlowPath(fiber);
component = null !== component ? findCurrentHostFiberImpl(component) : null;
return null === component ? null : getPublicInstance(component.stateNode);
}
function updateContainer(element, container, parentComponent, callback) {
@@ -10872,131 +10869,6 @@ function updateContainer(element, container, parentComponent, callback) {
entangleTransitions(element, current, lane));
return lane;
}
function findNodeHandle(componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
}
var emptyObject = {};
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var JSCompiler_inline_result;
a: {
for (
JSCompiler_inline_result = hierarchy.length - 1;
1 < JSCompiler_inline_result;
JSCompiler_inline_result--
) {
var instance = hierarchy[JSCompiler_inline_result];
if (5 !== instance.tag) {
JSCompiler_inline_result = instance;
break a;
}
}
JSCompiler_inline_result = hierarchy[0];
}
instance = createHierarchy(hierarchy);
var props = getHostProps(JSCompiler_inline_result);
hierarchy = hierarchy.indexOf(JSCompiler_inline_result);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: JSCompiler_inline_result,
hierarchy: instance,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -11022,7 +10894,7 @@ var _nativeFabricUIManage = nativeFabricUIManager,
fabricGetCurrentEventPriority =
_nativeFabricUIManage.unstable_getCurrentEventPriority,
extraDevToolsConfig = {
getInspectorDataForInstance: getInspectorDataForInstance,
getInspectorDataForInstance: void 0,
getInspectorDataForViewTag: function () {
throw Error(
"getInspectorDataForViewTag() is not available in production"
@@ -11173,26 +11045,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1250 = {
internals$jscomp$inline_1239 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1250.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1239.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1562 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1551 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1562.isDisabled &&
hook$jscomp$inline_1562.supportsFiber
!hook$jscomp$inline_1551.isDisabled &&
hook$jscomp$inline_1551.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1562.inject(
internals$jscomp$inline_1250
(rendererID = hook$jscomp$inline_1551.inject(
internals$jscomp$inline_1239
)),
(injectedHook = hook$jscomp$inline_1562);
(injectedHook = hook$jscomp$inline_1551);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -11227,8 +11099,29 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) {
? componentOrHandle
: findHostInstance(componentOrHandle);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.findNodeHandle = function (componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
};
exports.getNodeFromInternalInstanceHandle = function (internalInstanceHandle) {
return (
internalInstanceHandle &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c76ed7e2c73c14ce2da35356903e5ae9>>
* @generated SignedSource<<753bc05f1753636b70fd320394b9ca9d>>
*/
"use strict";
@@ -1235,7 +1235,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_299 = {
var injectedNamesToPlugins$jscomp$inline_295 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1281,33 +1281,33 @@ var injectedNamesToPlugins$jscomp$inline_299 = {
}
}
},
isOrderingDirty$jscomp$inline_300 = !1,
pluginName$jscomp$inline_301;
for (pluginName$jscomp$inline_301 in injectedNamesToPlugins$jscomp$inline_299)
isOrderingDirty$jscomp$inline_296 = !1,
pluginName$jscomp$inline_297;
for (pluginName$jscomp$inline_297 in injectedNamesToPlugins$jscomp$inline_295)
if (
injectedNamesToPlugins$jscomp$inline_299.hasOwnProperty(
pluginName$jscomp$inline_301
injectedNamesToPlugins$jscomp$inline_295.hasOwnProperty(
pluginName$jscomp$inline_297
)
) {
var pluginModule$jscomp$inline_302 =
injectedNamesToPlugins$jscomp$inline_299[pluginName$jscomp$inline_301];
var pluginModule$jscomp$inline_298 =
injectedNamesToPlugins$jscomp$inline_295[pluginName$jscomp$inline_297];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_301) ||
namesToPlugins[pluginName$jscomp$inline_301] !==
pluginModule$jscomp$inline_302
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_297) ||
namesToPlugins[pluginName$jscomp$inline_297] !==
pluginModule$jscomp$inline_298
) {
if (namesToPlugins[pluginName$jscomp$inline_301])
if (namesToPlugins[pluginName$jscomp$inline_297])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_301 + "`.")
(pluginName$jscomp$inline_297 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_301] =
pluginModule$jscomp$inline_302;
isOrderingDirty$jscomp$inline_300 = !0;
namesToPlugins[pluginName$jscomp$inline_297] =
pluginModule$jscomp$inline_298;
isOrderingDirty$jscomp$inline_296 = !0;
}
}
isOrderingDirty$jscomp$inline_300 && recomputePluginOrdering();
var emptyObject$1 = {},
isOrderingDirty$jscomp$inline_296 && recomputePluginOrdering();
var emptyObject = {},
removedKeys = null,
removedKeyCount = 0,
deepDifferOptions = { unsafelyIgnoreFunctions: !0 };
@@ -1417,7 +1417,7 @@ function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!isArrayImpl(nextProp))
return diffProperties(
updatePayload,
emptyObject$1,
emptyObject,
nextProp,
validAttributes
);
@@ -1435,7 +1435,7 @@ function clearNestedProperty(updatePayload, prevProp, validAttributes) {
return diffProperties(
updatePayload,
prevProp,
emptyObject$1,
emptyObject,
validAttributes
);
for (var i = 0; i < prevProp.length; i++)
@@ -2080,10 +2080,6 @@ function findCurrentFiberUsingSlowPath(fiber) {
throw Error("Unable to find node on an unmounted component.");
return a.stateNode.current === a ? fiber : alternate;
}
function findCurrentHostFiber(parent) {
parent = findCurrentFiberUsingSlowPath(parent);
return null !== parent ? findCurrentHostFiberImpl(parent) : null;
}
function findCurrentHostFiberImpl(node) {
var tag = node.tag;
if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
@@ -11466,7 +11462,8 @@ function findHostInstance(component) {
"Argument appears to not be a ReactComponent. Keys: " + component
);
}
component = findCurrentHostFiber(fiber);
component = findCurrentFiberUsingSlowPath(fiber);
component = null !== component ? findCurrentHostFiberImpl(component) : null;
return null === component ? null : getPublicInstance(component.stateNode);
}
function updateContainer(element, container, parentComponent, callback) {
@@ -11525,131 +11522,6 @@ function updateContainer(element, container, parentComponent, callback) {
entangleTransitions(element, current, lane));
return lane;
}
function findNodeHandle(componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
}
var emptyObject = {};
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var JSCompiler_inline_result;
a: {
for (
JSCompiler_inline_result = hierarchy.length - 1;
1 < JSCompiler_inline_result;
JSCompiler_inline_result--
) {
var instance = hierarchy[JSCompiler_inline_result];
if (5 !== instance.tag) {
JSCompiler_inline_result = instance;
break a;
}
}
JSCompiler_inline_result = hierarchy[0];
}
instance = createHierarchy(hierarchy);
var props = getHostProps(JSCompiler_inline_result);
hierarchy = hierarchy.indexOf(JSCompiler_inline_result);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: JSCompiler_inline_result,
hierarchy: instance,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -11675,7 +11547,7 @@ var _nativeFabricUIManage = nativeFabricUIManager,
fabricGetCurrentEventPriority =
_nativeFabricUIManage.unstable_getCurrentEventPriority,
extraDevToolsConfig = {
getInspectorDataForInstance: getInspectorDataForInstance,
getInspectorDataForInstance: void 0,
getInspectorDataForViewTag: function () {
throw Error(
"getInspectorDataForViewTag() is not available in production"
@@ -11826,16 +11698,16 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1343 = {
internals$jscomp$inline_1332 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1343.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1343.getLaneLabelMap = function () {
(internals$jscomp$inline_1332.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1332.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
31 > index$155;
@@ -11847,20 +11719,20 @@ internals$jscomp$inline_1343.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1343.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1332.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1621 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1610 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1621.isDisabled &&
hook$jscomp$inline_1621.supportsFiber
!hook$jscomp$inline_1610.isDisabled &&
hook$jscomp$inline_1610.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1621.inject(
internals$jscomp$inline_1343
(rendererID = hook$jscomp$inline_1610.inject(
internals$jscomp$inline_1332
)),
(injectedHook = hook$jscomp$inline_1621);
(injectedHook = hook$jscomp$inline_1610);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -11895,8 +11767,29 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) {
? componentOrHandle
: findHostInstance(componentOrHandle);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.findNodeHandle = function (componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
};
exports.getNodeFromInternalInstanceHandle = function (internalInstanceHandle) {
return (
internalInstanceHandle &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<716d4b17d7f541d5c7b4cb2073dd2225>>
* @generated SignedSource<<e5f726a0953ff9d6c75f009d6af432fb>>
*/
"use strict";
@@ -112,6 +112,62 @@ __DEV__ &&
});
return array.sort().join(", ");
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function batchedUpdatesImpl(fn, bookkeeping) {
return fn(bookkeeping);
}
@@ -2021,103 +2077,6 @@ __DEV__ &&
componentOrHandle
);
}
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var instance;
a: {
for (instance = hierarchy.length - 1; 1 < instance; instance--) {
var instance$jscomp$0 = hierarchy[instance];
if (5 !== instance$jscomp$0.tag) {
instance = instance$jscomp$0;
break a;
}
}
instance = hierarchy[0];
}
instance$jscomp$0 = createHierarchy(hierarchy);
var props = getHostProps(instance);
hierarchy = hierarchy.indexOf(instance);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: instance,
hierarchy: instance$jscomp$0,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -15650,8 +15609,48 @@ __DEV__ &&
ContinuousEventPriority = 8,
DefaultEventPriority = 32,
IdleEventPriority = 268435456,
emptyObject = {};
Object.freeze(emptyObject);
emptyObject = Object.freeze({});
var getInspectorDataForInstance = function (closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var instance;
a: {
for (instance = hierarchy.length - 1; 1 < instance; instance--) {
var instance$jscomp$0 = hierarchy[instance];
if (5 !== instance$jscomp$0.tag) {
instance = instance$jscomp$0;
break a;
}
}
instance = hierarchy[0];
}
instance$jscomp$0 = createHierarchy(hierarchy);
var props = getHostProps(instance);
hierarchy = hierarchy.indexOf(instance);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: instance,
hierarchy: instance$jscomp$0,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
};
var isSuspenseInstancePending = shim$1,
isSuspenseInstanceFallback = shim$1,
getSuspenseInstanceFallbackErrorDetails = shim$1,
@@ -17720,11 +17719,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-fd9cfa41-20250108" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-74ea0c73-20250109" !== 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.1.0-native-fb-fd9cfa41-20250108\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-74ea0c73-20250109\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17750,10 +17749,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -17825,7 +17824,6 @@ __DEV__ &&
);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.isChildPublicInstance = function (parentInstance, childInstance) {
if (
parentInstance._internalFiberInstanceHandleDEV &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<30d68305eab9b0c587c835b565d2e7ff>>
* @generated SignedSource<<50c98b672ca7197aaaf429fcc42c39ad>>
*/
"use strict";
@@ -1226,7 +1226,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_288 = {
var injectedNamesToPlugins$jscomp$inline_284 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1272,32 +1272,32 @@ var injectedNamesToPlugins$jscomp$inline_288 = {
}
}
},
isOrderingDirty$jscomp$inline_289 = !1,
pluginName$jscomp$inline_290;
for (pluginName$jscomp$inline_290 in injectedNamesToPlugins$jscomp$inline_288)
isOrderingDirty$jscomp$inline_285 = !1,
pluginName$jscomp$inline_286;
for (pluginName$jscomp$inline_286 in injectedNamesToPlugins$jscomp$inline_284)
if (
injectedNamesToPlugins$jscomp$inline_288.hasOwnProperty(
pluginName$jscomp$inline_290
injectedNamesToPlugins$jscomp$inline_284.hasOwnProperty(
pluginName$jscomp$inline_286
)
) {
var pluginModule$jscomp$inline_291 =
injectedNamesToPlugins$jscomp$inline_288[pluginName$jscomp$inline_290];
var pluginModule$jscomp$inline_287 =
injectedNamesToPlugins$jscomp$inline_284[pluginName$jscomp$inline_286];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_290) ||
namesToPlugins[pluginName$jscomp$inline_290] !==
pluginModule$jscomp$inline_291
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_286) ||
namesToPlugins[pluginName$jscomp$inline_286] !==
pluginModule$jscomp$inline_287
) {
if (namesToPlugins[pluginName$jscomp$inline_290])
if (namesToPlugins[pluginName$jscomp$inline_286])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_290 + "`.")
(pluginName$jscomp$inline_286 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_290] =
pluginModule$jscomp$inline_291;
isOrderingDirty$jscomp$inline_289 = !0;
namesToPlugins[pluginName$jscomp$inline_286] =
pluginModule$jscomp$inline_287;
isOrderingDirty$jscomp$inline_285 = !0;
}
}
isOrderingDirty$jscomp$inline_289 && recomputePluginOrdering();
isOrderingDirty$jscomp$inline_285 && recomputePluginOrdering();
var instanceCache = new Map(),
instanceProps = new Map();
function getInstanceFromTag(tag) {
@@ -1537,10 +1537,6 @@ function findCurrentFiberUsingSlowPath(fiber) {
throw Error("Unable to find node on an unmounted component.");
return a.stateNode.current === a ? fiber : alternate;
}
function findCurrentHostFiber(parent) {
parent = findCurrentFiberUsingSlowPath(parent);
return null !== parent ? findCurrentHostFiberImpl(parent) : null;
}
function findCurrentHostFiberImpl(node) {
var tag = node.tag;
if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
@@ -1551,7 +1547,7 @@ function findCurrentHostFiberImpl(node) {
}
return null;
}
var emptyObject$1 = {},
var emptyObject = {},
removedKeys = null,
removedKeyCount = 0,
deepDifferOptions = { unsafelyIgnoreFunctions: !0 };
@@ -1661,7 +1657,7 @@ function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!isArrayImpl(nextProp))
return diffProperties(
updatePayload,
emptyObject$1,
emptyObject,
nextProp,
validAttributes
);
@@ -1679,7 +1675,7 @@ function clearNestedProperty(updatePayload, prevProp, validAttributes) {
return diffProperties(
updatePayload,
prevProp,
emptyObject$1,
emptyObject,
validAttributes
);
for (var i = 0; i < prevProp.length; i++)
@@ -1826,7 +1822,7 @@ var ReactNativeFiberHostComponent = (function () {
_proto.setNativeProps = function (nativeProps) {
nativeProps = diffProperties(
null,
emptyObject$1,
emptyObject,
nativeProps,
this.viewConfig.validAttributes
);
@@ -2111,131 +2107,6 @@ function lanesToEventPriority(lanes) {
: 8
: 2;
}
function findNodeHandle(componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
}
var emptyObject = {};
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var JSCompiler_inline_result;
a: {
for (
JSCompiler_inline_result = hierarchy.length - 1;
1 < JSCompiler_inline_result;
JSCompiler_inline_result--
) {
var instance = hierarchy[JSCompiler_inline_result];
if (5 !== instance.tag) {
JSCompiler_inline_result = instance;
break a;
}
}
JSCompiler_inline_result = hierarchy[0];
}
instance = createHierarchy(hierarchy);
var props = getHostProps(JSCompiler_inline_result);
hierarchy = hierarchy.indexOf(JSCompiler_inline_result);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: JSCompiler_inline_result,
hierarchy: instance,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -2247,7 +2118,7 @@ function shim() {
);
}
var extraDevToolsConfig = {
getInspectorDataForInstance: getInspectorDataForInstance,
getInspectorDataForInstance: void 0,
getInspectorDataForViewTag: function () {
throw Error(
"getInspectorDataForViewTag() is not available in production"
@@ -7643,7 +7514,7 @@ function completeWork(current, workInProgress, renderLanes) {
type = getViewConfigForType(type);
var updatePayload = diffProperties(
null,
emptyObject$1,
emptyObject,
newProps,
type.validAttributes
);
@@ -8950,7 +8821,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
wasShowingFallback = updatePayload.viewConfig;
var updatePayload$jscomp$0 = diffProperties(
null,
emptyObject$1,
emptyObject,
{ style: { display: "none" } },
wasShowingFallback.validAttributes
);
@@ -11245,7 +11116,8 @@ function findHostInstance(component) {
"Argument appears to not be a ReactComponent. Keys: " + component
);
}
component = findCurrentHostFiber(fiber);
component = findCurrentFiberUsingSlowPath(fiber);
component = null !== component ? findCurrentHostFiberImpl(component) : null;
return null === component ? null : getPublicInstance(component.stateNode);
}
function updateContainer(element, container, parentComponent, callback) {
@@ -11302,11 +11174,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-fd9cfa41-20250108" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-74ea0c73-20250109" !== 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.1.0-native-fb-fd9cfa41-20250108\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-74ea0c73-20250109\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11353,26 +11225,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1302 = {
internals$jscomp$inline_1291 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1302.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1291.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1635 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1624 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1635.isDisabled &&
hook$jscomp$inline_1635.supportsFiber
!hook$jscomp$inline_1624.isDisabled &&
hook$jscomp$inline_1624.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1635.inject(
internals$jscomp$inline_1302
(rendererID = hook$jscomp$inline_1624.inject(
internals$jscomp$inline_1291
)),
(injectedHook = hook$jscomp$inline_1635);
(injectedHook = hook$jscomp$inline_1624);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -11407,8 +11279,29 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) {
? componentOrHandle
: findHostInstance(componentOrHandle);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.findNodeHandle = function (componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
};
exports.isChildPublicInstance = function () {
throw Error("isChildPublicInstance() is not available in production.");
};
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<737d39e8bd9b1cf651dbe4ee64d22192>>
* @generated SignedSource<<c91c238670df505a2a8f9d91d3668f19>>
*/
"use strict";
@@ -1230,7 +1230,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_304 = {
var injectedNamesToPlugins$jscomp$inline_300 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1276,32 +1276,32 @@ var injectedNamesToPlugins$jscomp$inline_304 = {
}
}
},
isOrderingDirty$jscomp$inline_305 = !1,
pluginName$jscomp$inline_306;
for (pluginName$jscomp$inline_306 in injectedNamesToPlugins$jscomp$inline_304)
isOrderingDirty$jscomp$inline_301 = !1,
pluginName$jscomp$inline_302;
for (pluginName$jscomp$inline_302 in injectedNamesToPlugins$jscomp$inline_300)
if (
injectedNamesToPlugins$jscomp$inline_304.hasOwnProperty(
pluginName$jscomp$inline_306
injectedNamesToPlugins$jscomp$inline_300.hasOwnProperty(
pluginName$jscomp$inline_302
)
) {
var pluginModule$jscomp$inline_307 =
injectedNamesToPlugins$jscomp$inline_304[pluginName$jscomp$inline_306];
var pluginModule$jscomp$inline_303 =
injectedNamesToPlugins$jscomp$inline_300[pluginName$jscomp$inline_302];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_306) ||
namesToPlugins[pluginName$jscomp$inline_306] !==
pluginModule$jscomp$inline_307
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_302) ||
namesToPlugins[pluginName$jscomp$inline_302] !==
pluginModule$jscomp$inline_303
) {
if (namesToPlugins[pluginName$jscomp$inline_306])
if (namesToPlugins[pluginName$jscomp$inline_302])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_306 + "`.")
(pluginName$jscomp$inline_302 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_306] =
pluginModule$jscomp$inline_307;
isOrderingDirty$jscomp$inline_305 = !0;
namesToPlugins[pluginName$jscomp$inline_302] =
pluginModule$jscomp$inline_303;
isOrderingDirty$jscomp$inline_301 = !0;
}
}
isOrderingDirty$jscomp$inline_305 && recomputePluginOrdering();
isOrderingDirty$jscomp$inline_301 && recomputePluginOrdering();
var instanceCache = new Map(),
instanceProps = new Map();
function getInstanceFromTag(tag) {
@@ -1541,10 +1541,6 @@ function findCurrentFiberUsingSlowPath(fiber) {
throw Error("Unable to find node on an unmounted component.");
return a.stateNode.current === a ? fiber : alternate;
}
function findCurrentHostFiber(parent) {
parent = findCurrentFiberUsingSlowPath(parent);
return null !== parent ? findCurrentHostFiberImpl(parent) : null;
}
function findCurrentHostFiberImpl(node) {
var tag = node.tag;
if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
@@ -1555,7 +1551,7 @@ function findCurrentHostFiberImpl(node) {
}
return null;
}
var emptyObject$1 = {},
var emptyObject = {},
removedKeys = null,
removedKeyCount = 0,
deepDifferOptions = { unsafelyIgnoreFunctions: !0 };
@@ -1665,7 +1661,7 @@ function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!isArrayImpl(nextProp))
return diffProperties(
updatePayload,
emptyObject$1,
emptyObject,
nextProp,
validAttributes
);
@@ -1683,7 +1679,7 @@ function clearNestedProperty(updatePayload, prevProp, validAttributes) {
return diffProperties(
updatePayload,
prevProp,
emptyObject$1,
emptyObject,
validAttributes
);
for (var i = 0; i < prevProp.length; i++)
@@ -1830,7 +1826,7 @@ var ReactNativeFiberHostComponent = (function () {
_proto.setNativeProps = function (nativeProps) {
nativeProps = diffProperties(
null,
emptyObject$1,
emptyObject,
nativeProps,
this.viewConfig.validAttributes
);
@@ -2193,131 +2189,6 @@ function lanesToEventPriority(lanes) {
: 8
: 2;
}
function findNodeHandle(componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
}
var emptyObject = {};
function createHierarchy(fiberHierarchy) {
return fiberHierarchy.map(function (fiber$jscomp$0) {
return {
name: getComponentNameFromType(fiber$jscomp$0.type),
getInspectorData: function () {
return {
props: getHostProps(fiber$jscomp$0),
measure: function (callback) {
var hostFiber = findCurrentHostFiber(fiber$jscomp$0);
if (
(hostFiber =
null != hostFiber &&
null !== hostFiber.stateNode &&
hostFiber.stateNode.node)
)
nativeFabricUIManager.measure(hostFiber, callback);
else {
hostFiber = ReactNativePrivateInterface.UIManager;
var JSCompiler_temp_const = hostFiber.measure,
JSCompiler_inline_result;
a: {
for (var fiber = fiber$jscomp$0; fiber; ) {
null !== fiber.stateNode &&
5 === fiber.tag &&
(JSCompiler_inline_result = findNodeHandle(
fiber.stateNode
));
if (JSCompiler_inline_result) break a;
fiber = fiber.child;
}
JSCompiler_inline_result = null;
}
return JSCompiler_temp_const.call(
hostFiber,
JSCompiler_inline_result,
callback
);
}
}
};
}
};
});
}
function getHostProps(fiber) {
return (fiber = findCurrentHostFiber(fiber))
? fiber.memoizedProps || emptyObject
: emptyObject;
}
function getInspectorDataForInstance(closestInstance) {
if (!closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
closestInstance = findCurrentFiberUsingSlowPath(closestInstance);
if (null === closestInstance)
return {
hierarchy: [],
props: emptyObject,
selectedIndex: null,
componentStack: ""
};
var hierarchy = [];
traverseOwnerTreeUp(hierarchy, closestInstance);
var JSCompiler_inline_result;
a: {
for (
JSCompiler_inline_result = hierarchy.length - 1;
1 < JSCompiler_inline_result;
JSCompiler_inline_result--
) {
var instance = hierarchy[JSCompiler_inline_result];
if (5 !== instance.tag) {
JSCompiler_inline_result = instance;
break a;
}
}
JSCompiler_inline_result = hierarchy[0];
}
instance = createHierarchy(hierarchy);
var props = getHostProps(JSCompiler_inline_result);
hierarchy = hierarchy.indexOf(JSCompiler_inline_result);
closestInstance = getStackByFiberInDevAndProd(closestInstance);
return {
closestInstance: JSCompiler_inline_result,
hierarchy: instance,
props: props,
selectedIndex: hierarchy,
componentStack: closestInstance
};
}
function traverseOwnerTreeUp(hierarchy, instance) {
hierarchy.unshift(instance);
instance = instance._debugOwner;
null != instance &&
"number" === typeof instance.tag &&
traverseOwnerTreeUp(hierarchy, instance);
}
function shim$1() {
throw Error(
"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -2329,7 +2200,7 @@ function shim() {
);
}
var extraDevToolsConfig = {
getInspectorDataForInstance: getInspectorDataForInstance,
getInspectorDataForInstance: void 0,
getInspectorDataForViewTag: function () {
throw Error(
"getInspectorDataForViewTag() is not available in production"
@@ -7866,7 +7737,7 @@ function completeWork(current, workInProgress, renderLanes) {
type = getViewConfigForType(type);
var updatePayload = diffProperties(
null,
emptyObject$1,
emptyObject,
newProps,
type.validAttributes
);
@@ -9417,7 +9288,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
wasShowingFallback = updatePayload.viewConfig;
var updatePayload$jscomp$0 = diffProperties(
null,
emptyObject$1,
emptyObject,
{ style: { display: "none" } },
wasShowingFallback.validAttributes
);
@@ -11894,7 +11765,8 @@ function findHostInstance(component) {
"Argument appears to not be a ReactComponent. Keys: " + component
);
}
component = findCurrentHostFiber(fiber);
component = findCurrentFiberUsingSlowPath(fiber);
component = null !== component ? findCurrentHostFiberImpl(component) : null;
return null === component ? null : getPublicInstance(component.stateNode);
}
function updateContainer(element, container, parentComponent, callback) {
@@ -11954,11 +11826,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-fd9cfa41-20250108" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-74ea0c73-20250109" !== 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.1.0-native-fb-fd9cfa41-20250108\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.1.0-native-fb-74ea0c73-20250109\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -12005,16 +11877,16 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1395 = {
internals$jscomp$inline_1384 = {
bundleType: 0,
version: "19.1.0-native-fb-fd9cfa41-20250108",
version: "19.1.0-native-fb-74ea0c73-20250109",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-fd9cfa41-20250108"
reconcilerVersion: "19.1.0-native-fb-74ea0c73-20250109"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1395.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1395.getLaneLabelMap = function () {
(internals$jscomp$inline_1384.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1384.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$159 = 0;
31 > index$159;
@@ -12026,20 +11898,20 @@ internals$jscomp$inline_1395.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1395.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1384.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1694 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1683 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1694.isDisabled &&
hook$jscomp$inline_1694.supportsFiber
!hook$jscomp$inline_1683.isDisabled &&
hook$jscomp$inline_1683.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1694.inject(
internals$jscomp$inline_1395
(rendererID = hook$jscomp$inline_1683.inject(
internals$jscomp$inline_1384
)),
(injectedHook = hook$jscomp$inline_1694);
(injectedHook = hook$jscomp$inline_1683);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -12074,8 +11946,29 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) {
? componentOrHandle
: findHostInstance(componentOrHandle);
};
exports.findNodeHandle = findNodeHandle;
exports.getInspectorDataForInstance = getInspectorDataForInstance;
exports.findNodeHandle = function (componentOrHandle) {
if (null == componentOrHandle) return null;
if ("number" === typeof componentOrHandle) return componentOrHandle;
if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;
if (
null != componentOrHandle.canonical &&
null != componentOrHandle.canonical.nativeTag
)
return componentOrHandle.canonical.nativeTag;
var nativeTag =
ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
if (nativeTag) return nativeTag;
componentOrHandle = findHostInstance(componentOrHandle);
return null == componentOrHandle
? componentOrHandle
: null != componentOrHandle._nativeTag
? componentOrHandle._nativeTag
: ReactNativePrivateInterface.getNativeTagFromPublicInstance(
componentOrHandle
);
};
exports.isChildPublicInstance = function () {
throw Error("isChildPublicInstance() is not available in production.");
};