// Module ID: 14287 // Function ID: 14288 // Name: App // Dependencies: [19, 17, 14288, 1215, 9804, 13577, 13586, 13606, 10700, 4552, 14289, 14290, 14291, 7399, 4145, 4470, 14292, 7728, 14293, 14294, 21, 14295, 2008, 14328, 4915, 14334, 14335, 14336, 14337, 7512, 14346, 7515, 14347, 14350, 10710, 14421, 9470, 9514, 8594, 14429, 14431, 14435, 14437, 14438, 14439, 14440, 4661, 14441, 1234, 5113, 12556, 586, 6061, 14443, 9, 13562, 13531, 14445, 11358, 14447, 15778, 2] // Exports: default // Module 14287 (App) import serializeDefault from "serialize" /* 9 */; import setLevelsDefault from "setLevels" /* 11358 */; import GestureWrapperDefault from "GestureWrapper" /* 14447 */; import getAuthComponentDefault from "getAuthComponent" /* 15778 */; import closure_3 from "noop" /* 19 */; import { NativeModules } from "get ActivityIndicator" /* 17 */; import closure_5 from "checkForNewerBuild" /* 14288 */; import closure_6 from "fetchFingerprint" /* 1215 */; import nativeEventEmitter from "nativeEventEmitter" /* 9804 */; import updateState from "updateState" /* 13577 */; import showReviewRequestModal from "showReviewRequestModal" /* 13586 */; import set from "set" /* 13606 */; import createEmptyPromotionsByType from "createEmptyPromotionsByType" /* 10700 */; import bitrate from "bitrate" /* 4552 */; import handleTokenUpdated from "handleTokenUpdated" /* 14289 */; import handleUpdateVADPermission from "handleUpdateVADPermission" /* 14290 */; import getModalState from "getModalState" /* 14291 */; import appDatabaseManager from "appDatabaseManager" /* 7399 */; import reset from "reset" /* 4145 */; import maybeApplyNoTextColorForLightCustomTheme from "maybeApplyNoTextColorForLightCustomTheme" /* 4470 */; import initialize from "initialize" /* 14292 */; import handleSetLocationMetadata from "handleSetLocationMetadata" /* 7728 */; import "map"; import ApexExperiment from "ApexExperiment" /* 14294 */; import { jsx } from "jsxProd" /* 21 */; const require = arg1; if (global.__DEV__) { require("reactNativeCorePlugins"); } let result = set.fileFinishedImporting("components_native/App.tsx"); export default function App() { const renderApp = serializeDefault.renderApp; renderApp.record(); const effect = React.useEffect(() => { callback(14328).init(); let obj = callback(14328); const tmp = callback; callback(4915).initialize(); let obj2 = callback(4915); callback(14334).initialize(); let obj3 = callback(14334); callback(14335).initialize(); let obj4 = callback(14335); callback(14336).initialize(); let obj5 = callback(14336); callback(14337).initialize(); let obj6 = callback(14337); callback(7512).initialize(); let obj7 = callback(7512); callback(14346).initialize(); let obj8 = callback(14346); callback(7515).init(); let obj9 = callback(7515); callback(14347).init(); let obj10 = callback(14347); callback(14350).init(); let obj11 = callback(14350); callback(10710).initialize(); let obj12 = callback(10710); callback(14421).initialize(); let obj13 = callback(14421); callback(9470).initialize(); let obj14 = callback(9470); callback(9514).initialize(); let obj15 = callback(9514); callback(8594).initialize(); const obj16 = callback(8594); callback(14429).initialize(); const obj17 = callback(14429); callback(14431).initialize(); const obj18 = callback(14431); callback(14435).initialize(); closure_5.ensureInitialized(); const obj19 = callback(14435); callback(14437).initialize(); const obj20 = callback(14437); callback(14438).initialize(); const obj21 = callback(14438); callback(14439).initialize(); const obj22 = callback(14439); callback(14440).initialize(); const obj23 = callback(14440); callback(4661).initialize(); const obj24 = callback(4661); callback(14441).initialize(); const obj25 = callback(14441); const tmp29 = shouldUseAltGateway; if (obj26.isIOS()) { tmp(5113).initialize(); const tmpResult = tmp(5113); } obj26 = shouldUseAltGateway(1234); const result = tmp29(12556).initializeRouteManagerIfNeeded(); return () => { callback2(14336).terminate(); const obj = callback2(14336); callback2(4915).terminate(); const obj2 = callback2(4915); callback2(10710).terminate(); const obj3 = callback2(10710); callback2(14421).terminate(); const obj4 = callback2(14421); callback(12556).cleanupRouteManager(); const obj5 = callback(12556); callback2(14441).terminate(); const obj6 = callback2(14441); callback2(14429).terminate(); const obj7 = callback2(14429); callback2(8594).terminate(); const obj8 = callback2(8594); callback2(14350).terminate(); const obj9 = callback2(14350); callback2(14334).terminate(); const obj10 = callback2(14334); callback2(14435).terminate(); const obj11 = callback2(14435); callback2(14437).terminate(); const obj12 = callback2(14437); callback2(14438).terminate(); const obj13 = callback2(14438); callback2(14440).terminate(); const obj14 = callback2(14440); callback2(4661).terminate(); const obj15 = callback2(4661); callback2(14346).terminate(); }; }, []); let shouldUseAltGateway; let obj = shouldUseAltGateway(586); const items = [closure_6]; const stateFromStores = obj.useStateFromStores(items, () => closure_6.isAuthenticated()); shouldUseAltGateway = stateFromStores; const items1 = [stateFromStores]; const effect1 = React.useEffect(() => { if (shouldUseAltGateway) { const token = closure_1_6.getToken(); if (null == token) { const _Error = Error; error = new Error("Authenticated without a token"); throw error; } else { closure_1_1(closure_1_2[52]).startSession(token); const obj = closure_1_1(closure_1_2[52]); closure_1_1(closure_1_2[53]).initialize(); const obj2 = closure_1_1(closure_1_2[53]); if (obj3.isAndroid()) { const NativePermissionManager = closure_1_4.NativePermissionManager; const notificationAuthorization = NativePermissionManager.requestNotificationAuthorization(); } return () => { callback(table[53]).terminate(); }; } } }, items1); const effect2 = React.useEffect(() => { callback(9).wasAuthenticated = closure_6.isAuthenticated(); }, []); shouldUseAltGateway = undefined; const isChannelMetadataObfuscationEnabled = shouldUseAltGateway(13562).useIsChannelMetadataObfuscationEnabled("App"); shouldUseAltGateway = isChannelMetadataObfuscationEnabled; const items2 = [isChannelMetadataObfuscationEnabled]; const effect3 = React.useEffect(() => { const result = closure_1_1(closure_1_2[56]).setUseChannelObfuscation(shouldUseAltGateway); }, items2); shouldUseAltGateway = undefined; let obj2 = shouldUseAltGateway(13562); shouldUseAltGateway = shouldUseAltGateway(14445).useShouldUseAltGateway("App"); const items3 = [shouldUseAltGateway]; const effect4 = React.useEffect(() => { closure_1_1(closure_1_2[56]).setUseAltGateway(shouldUseAltGateway); }, items3); const effect5 = React.useEffect(() => { const renderAppEffect = callback(9).renderAppEffect; return renderAppEffect.record(); }, []); obj = { profile: null, children: null }; let obj3 = shouldUseAltGateway(14445); obj[0] = shouldUseAltGateway(11358).Profiles.App; obj = { appEntryKey: "main", children: null }; const tmp11 = setLevelsDefault; obj[1] = jsx(getAuthComponentDefault, {}); obj[1] = jsx(GestureWrapperDefault, { appEntryKey: "main", children: null }); return {null}; };