// Module ID: 11141 // Function ID: 86454 // Name: resolveShouldUseFabric // Dependencies: [477, 4029, 11142, 2] // Exports: shouldUseFabricChatInput, useShouldUseFabricChatInput // Module 11141 (resolveShouldUseFabric) function resolveShouldUseFabric(enabled) { if (null != closure_3) { let tmp4 = closure_3; } else { const tmp3 = !require(477) /* set */.isAndroid(); tmp4 = !tmp3; if (tmp3) { const obj2 = require(4029) /* isFabric */; tmp4 = require(4029) /* isFabric */.isIosFabric() && enabled; const tmp7 = require(4029) /* isFabric */.isIosFabric() && enabled; } closure_3 = tmp4; const obj = require(477) /* set */; } return tmp4; } const result = require("apexExperiment").fileFinishedImporting("modules/chat_input/native/useShouldUseFabricChatInput.tsx"); export const useShouldUseFabricChatInput = function useShouldUseFabricChatInput() { return resolveShouldUseFabric(importDefault(11142).useConfig({ location: "chat_input" }).enabled); }; export const shouldUseFabricChatInput = function shouldUseFabricChatInput() { if (null != closure_3) { let tmpResult = closure_3; } else { let obj = require(477) /* set */; let enabled = !obj.isAndroid(); if (enabled) { obj = { location: "chat_input" }; enabled = importDefault(11142).getConfig(obj).enabled; const obj2 = importDefault(11142); } tmpResult = resolveShouldUseFabric(enabled); const tmp = resolveShouldUseFabric; } return tmpResult; };