// Module ID: 14048 // Function ID: 14049 // Name: App // Dependencies: [19, 17, 14049, 1218, 9778, 13338, 13347, 13367, 10475, 4552, 14050, 14051, 14052, 7389, 4145, 4470, 14053, 7716, 14054, 14055, 21, 14056, 2009, 14089, 4914, 14095, 14096, 14097, 14098, 7501, 14107, 7504, 14108, 14111, 10485, 14182, 9453, 9497, 8575, 14190, 14192, 14196, 14198, 14199, 14200, 14201, 4661, 14202, 500, 5104, 12320, 589, 6052, 14204, 9, 13324, 502, 14206, 11132, 14208, 15531, 2] // Exports: default // Module 14048 (App) import serializeDefault from "serialize" /* 9 */; import setLevelsDefault from "setLevels" /* 11132 */; import GestureWrapperDefault from "GestureWrapper" /* 14208 */; import getAuthComponentDefault from "getAuthComponent" /* 15531 */; import closure_3 from "noop" /* 19 */; import { NativeModules } from "get ActivityIndicator" /* 17 */; import closure_5 from "checkForNewerBuild" /* 14049 */; import closure_6 from "fetchFingerprint" /* 1218 */; import nativeEventEmitter from "nativeEventEmitter" /* 9778 */; import updateState from "updateState" /* 13338 */; import showReviewRequestModal from "showReviewRequestModal" /* 13347 */; import set from "set" /* 13367 */; import createEmptyPromotionsByType from "createEmptyPromotionsByType" /* 10475 */; import bitrate from "bitrate" /* 4552 */; import handleTokenUpdated from "handleTokenUpdated" /* 14050 */; import handleUpdateVADPermission from "handleUpdateVADPermission" /* 14051 */; import getModalState from "getModalState" /* 14052 */; import appDatabaseManager from "appDatabaseManager" /* 7389 */; import reset from "reset" /* 4145 */; import maybeApplyNoTextColorForLightCustomTheme from "maybeApplyNoTextColorForLightCustomTheme" /* 4470 */; import initialize from "initialize" /* 14053 */; import handleSetLocationMetadata from "handleSetLocationMetadata" /* 7716 */; import "map"; import ApexExperiment from "ApexExperiment" /* 14055 */; 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(14089).init(); let obj = callback(14089); const tmp = callback; callback(4914).initialize(); let obj2 = callback(4914); callback(14095).initialize(); let obj3 = callback(14095); callback(14096).initialize(); let obj4 = callback(14096); callback(14097).initialize(); let obj5 = callback(14097); callback(14098).initialize(); let obj6 = callback(14098); callback(7501).initialize(); let obj7 = callback(7501); callback(14107).initialize(); let obj8 = callback(14107); callback(7504).init(); let obj9 = callback(7504); callback(14108).init(); let obj10 = callback(14108); callback(14111).init(); let obj11 = callback(14111); callback(10485).initialize(); let obj12 = callback(10485); callback(14182).initialize(); let obj13 = callback(14182); callback(9453).initialize(); let obj14 = callback(9453); callback(9497).initialize(); let obj15 = callback(9497); callback(8575).initialize(); const obj16 = callback(8575); callback(14190).initialize(); const obj17 = callback(14190); callback(14192).initialize(); const obj18 = callback(14192); callback(14196).initialize(); closure_5.ensureInitialized(); const obj19 = callback(14196); callback(14198).initialize(); const obj20 = callback(14198); callback(14199).initialize(); const obj21 = callback(14199); callback(14200).initialize(); const obj22 = callback(14200); callback(14201).initialize(); const obj23 = callback(14201); callback(4661).initialize(); const obj24 = callback(4661); callback(14202).initialize(); const obj25 = callback(14202); const tmp29 = shouldUseAltGateway; if (obj26.isIOS()) { tmp(5104).initialize(); const tmpResult = tmp(5104); } obj26 = shouldUseAltGateway(500); const result = tmp29(12320).initializeRouteManagerIfNeeded(); return () => { callback2(14097).terminate(); const obj = callback2(14097); callback2(4914).terminate(); const obj2 = callback2(4914); callback2(10485).terminate(); const obj3 = callback2(10485); callback2(14182).terminate(); const obj4 = callback2(14182); callback(12320).cleanupRouteManager(); const obj5 = callback(12320); callback2(14202).terminate(); const obj6 = callback2(14202); callback2(14190).terminate(); const obj7 = callback2(14190); callback2(8575).terminate(); const obj8 = callback2(8575); callback2(14111).terminate(); const obj9 = callback2(14111); callback2(14095).terminate(); const obj10 = callback2(14095); callback2(14196).terminate(); const obj11 = callback2(14196); callback2(14198).terminate(); const obj12 = callback2(14198); callback2(14199).terminate(); const obj13 = callback2(14199); callback2(14201).terminate(); const obj14 = callback2(14201); callback2(4661).terminate(); const obj15 = callback2(4661); callback2(14107).terminate(); }; }, []); let shouldUseAltGateway; let obj = shouldUseAltGateway(589); 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(13324).useIsChannelMetadataObfuscationEnabled("App"); shouldUseAltGateway = isChannelMetadataObfuscationEnabled; const items2 = [isChannelMetadataObfuscationEnabled]; const effect3 = React.useEffect(() => { if (obj.isAndroid()) { const result = closure_1_1(closure_1_2[56]).setUseChannelObfuscation(shouldUseAltGateway); const obj2 = closure_1_1(closure_1_2[56]); } else { const DCDFastConnectManager = closure_1_4.DCDFastConnectManager; const result1 = DCDFastConnectManager.setUseChannelObfuscation(shouldUseAltGateway); } }, items2); shouldUseAltGateway = undefined; let obj2 = shouldUseAltGateway(13324); shouldUseAltGateway = shouldUseAltGateway(14206).useShouldUseAltGateway("App"); const items3 = [shouldUseAltGateway]; const effect4 = React.useEffect(() => { if (obj.isAndroid()) { closure_1_1(closure_1_2[56]).setUseAltGateway(shouldUseAltGateway); const obj2 = closure_1_1(closure_1_2[56]); } else { const DCDFastConnectManager = closure_1_4.DCDFastConnectManager; DCDFastConnectManager.setUseAltGateway(shouldUseAltGateway); } }, items3); const effect5 = React.useEffect(() => { const renderAppEffect = callback(9).renderAppEffect; return renderAppEffect.record(); }, []); obj = { profile: null, children: null }; let obj3 = shouldUseAltGateway(14206); obj[0] = shouldUseAltGateway(11132).Profiles.App; obj = { appEntryKey: "main", children: null }; const tmp11 = setLevelsDefault; obj[1] = jsx(getAuthComponentDefault, {}); obj[1] = jsx(GestureWrapperDefault, { appEntryKey: "main", children: null }); return {null}; };