@onairos/react-native 3.7.0 → 3.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/assets/icons/netflix.png +0 -0
  3. package/lib/commonjs/assets/icons/spotify.png +0 -0
  4. package/lib/commonjs/assets/images/netflix.png +0 -0
  5. package/lib/commonjs/assets/images/spotify.png +0 -0
  6. package/lib/commonjs/components/BodyText.js +1 -1
  7. package/lib/commonjs/components/BrandMark.js +1 -1
  8. package/lib/commonjs/components/CodeInput.js +1 -1
  9. package/lib/commonjs/components/EmailInput.js +1 -1
  10. package/lib/commonjs/components/GoogleButton.js +1 -1
  11. package/lib/commonjs/components/HeadingGroup.js +1 -1
  12. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  13. package/lib/commonjs/components/ModalHeader.js +1 -1
  14. package/lib/commonjs/components/ModalSheet.js +1 -1
  15. package/lib/commonjs/components/Onairos.js +1 -1
  16. package/lib/commonjs/components/OnairosButton.js +1 -1
  17. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  18. package/lib/commonjs/components/Overlay.js +1 -1
  19. package/lib/commonjs/components/PersonaImage.js +1 -1
  20. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  21. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  22. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  23. package/lib/commonjs/components/PinInput.js +1 -1
  24. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  25. package/lib/commonjs/components/PlatformList.js +1 -1
  26. package/lib/commonjs/components/PlatformToggle.js +1 -1
  27. package/lib/commonjs/components/PrimaryButton.js +1 -1
  28. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  29. package/lib/commonjs/components/SignInStep.js +1 -1
  30. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  31. package/lib/commonjs/components/VerificationStep.js +1 -1
  32. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  33. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  34. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  35. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  36. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  37. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  38. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  39. package/lib/commonjs/components/icons/EnochE.js +1 -1
  40. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  41. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  42. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  43. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  44. package/lib/commonjs/components/icons/index.js +1 -1
  45. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  46. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  47. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  48. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  49. package/lib/commonjs/config/api.js +1 -1
  50. package/lib/commonjs/constants/index.js +1 -1
  51. package/lib/commonjs/context/AuthContext.js +1 -1
  52. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  53. package/lib/commonjs/hooks/useConnections.js +1 -1
  54. package/lib/commonjs/hooks/useCredentials.js +1 -1
  55. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  56. package/lib/commonjs/index.js +1 -1
  57. package/lib/commonjs/services/apiClient.js +1 -1
  58. package/lib/commonjs/services/biometricPinService.js +1 -1
  59. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  60. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  61. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  62. package/lib/commonjs/services/claudeConversationService.js +1 -1
  63. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  64. package/lib/commonjs/services/googleAuthService.js +1 -1
  65. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  66. package/lib/commonjs/services/hingeDataService.js +1 -1
  67. package/lib/commonjs/services/imageCompressionService.js +1 -1
  68. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  69. package/lib/commonjs/services/instagramDataService.js +1 -1
  70. package/lib/commonjs/services/jwtStorageService.js +1 -1
  71. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  72. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  73. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  74. package/lib/commonjs/services/llmDataStorage.js +1 -1
  75. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  76. package/lib/commonjs/services/netflixDataExtractor.js +1 -1
  77. package/lib/commonjs/services/netflixDataService.js +1 -1
  78. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  79. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  80. package/lib/commonjs/services/platformAuthService.js +1 -1
  81. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  82. package/lib/commonjs/services/sephoraDataService.js +1 -1
  83. package/lib/commonjs/services/spotifyDataExtractor.js +1 -1
  84. package/lib/commonjs/services/spotifyDataService.js +1 -1
  85. package/lib/commonjs/services/storageService.js +1 -1
  86. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  87. package/lib/commonjs/services/telegramDataService.js +1 -1
  88. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  89. package/lib/commonjs/services/userConnectionsService.js +1 -1
  90. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  91. package/lib/commonjs/theme/index.js +1 -1
  92. package/lib/commonjs/types/index.js +1 -1
  93. package/lib/commonjs/types.js +1 -1
  94. package/lib/commonjs/utils/Portal.js +1 -1
  95. package/lib/commonjs/utils/api.js +1 -1
  96. package/lib/commonjs/utils/assetRegistry.js +1 -1
  97. package/lib/commonjs/utils/auth.js +1 -1
  98. package/lib/commonjs/utils/connectorTests.js +1 -1
  99. package/lib/commonjs/utils/crypto.js +1 -1
  100. package/lib/commonjs/utils/debugHelper.js +1 -1
  101. package/lib/commonjs/utils/encryption.js +1 -1
  102. package/lib/commonjs/utils/eventUtils.js +1 -1
  103. package/lib/commonjs/utils/haptics.js +1 -1
  104. package/lib/commonjs/utils/imagePreloader.js +1 -1
  105. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  106. package/lib/commonjs/utils/onairosApi.js +1 -1
  107. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  108. package/lib/commonjs/utils/retryHelper.js +1 -1
  109. package/lib/commonjs/utils/secureStorage.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  113. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  114. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  115. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  116. package/lib/commonjs/utils/webviewScripts/netflix.js +1 -1
  117. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  118. package/lib/commonjs/utils/webviewScripts/spotify.js +1 -1
  119. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  120. package/lib/module/api/index.js +1 -1
  121. package/lib/module/assets/icons/netflix.png +0 -0
  122. package/lib/module/assets/icons/spotify.png +0 -0
  123. package/lib/module/assets/images/netflix.png +0 -0
  124. package/lib/module/assets/images/spotify.png +0 -0
  125. package/lib/module/components/BodyText.js +1 -1
  126. package/lib/module/components/BrandMark.js +1 -1
  127. package/lib/module/components/CodeInput.js +1 -1
  128. package/lib/module/components/EmailInput.js +1 -1
  129. package/lib/module/components/GoogleButton.js +1 -1
  130. package/lib/module/components/HeadingGroup.js +1 -1
  131. package/lib/module/components/LLMDataInputModal.js +1 -1
  132. package/lib/module/components/ModalHeader.js +1 -1
  133. package/lib/module/components/ModalSheet.js +1 -1
  134. package/lib/module/components/Onairos.js +1 -1
  135. package/lib/module/components/OnairosButton.js +1 -1
  136. package/lib/module/components/OnairosSignInButton.js +1 -1
  137. package/lib/module/components/Overlay.js +1 -1
  138. package/lib/module/components/PersonaImage.js +1 -1
  139. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  140. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  141. package/lib/module/components/PinCreationScreen.js +1 -1
  142. package/lib/module/components/PinInput.js +1 -1
  143. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  144. package/lib/module/components/PlatformList.js +1 -1
  145. package/lib/module/components/PlatformToggle.js +1 -1
  146. package/lib/module/components/PrimaryButton.js +1 -1
  147. package/lib/module/components/SignInMatchAnimation.js +1 -1
  148. package/lib/module/components/SignInStep.js +1 -1
  149. package/lib/module/components/UniversalOnboarding.js +1 -1
  150. package/lib/module/components/VerificationStep.js +1 -1
  151. package/lib/module/components/WelcomeScreen.js +1 -1
  152. package/lib/module/components/icons/Basicproficon.js +1 -1
  153. package/lib/module/components/icons/Basicprofile.js +1 -1
  154. package/lib/module/components/icons/Checkbox.js +1 -1
  155. package/lib/module/components/icons/Checkmark.js +1 -1
  156. package/lib/module/components/icons/Contentanalysis.js +1 -1
  157. package/lib/module/components/icons/Contenticon.js +1 -1
  158. package/lib/module/components/icons/EnochE.js +1 -1
  159. package/lib/module/components/icons/Personalityicon.js +1 -1
  160. package/lib/module/components/icons/Personalityprofile.js +1 -1
  161. package/lib/module/components/icons/Personalitytraits.js +1 -1
  162. package/lib/module/components/icons/Userpreferences.js +1 -1
  163. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  164. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  165. package/lib/module/components/onboarding/PinInput.js +1 -1
  166. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  167. package/lib/module/config/api.js +1 -1
  168. package/lib/module/constants/index.js +1 -1
  169. package/lib/module/context/AuthContext.js +1 -1
  170. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  171. package/lib/module/hooks/useConnections.js +1 -1
  172. package/lib/module/hooks/useCredentials.js +1 -1
  173. package/lib/module/hooks/useUserConnections.js +1 -1
  174. package/lib/module/index.js +1 -1
  175. package/lib/module/services/apiClient.js +1 -1
  176. package/lib/module/services/biometricPinService.js +1 -1
  177. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  178. package/lib/module/services/chatGPTConversationService.js +1 -1
  179. package/lib/module/services/claudeConversationExtractor.js +1 -1
  180. package/lib/module/services/claudeConversationService.js +1 -1
  181. package/lib/module/services/connectedAccountsService.js +1 -1
  182. package/lib/module/services/googleAuthService.js +1 -1
  183. package/lib/module/services/hingeDataExtractor.js +1 -1
  184. package/lib/module/services/hingeDataService.js +1 -1
  185. package/lib/module/services/imageCompressionService.js +1 -1
  186. package/lib/module/services/instagramDataExtractor.js +1 -1
  187. package/lib/module/services/instagramDataService.js +1 -1
  188. package/lib/module/services/jwtStorageService.js +1 -1
  189. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  190. package/lib/module/services/linkedinProfileService.js +1 -1
  191. package/lib/module/services/linkedinScrapingService.js +1 -1
  192. package/lib/module/services/llmDataStorage.js +1 -1
  193. package/lib/module/services/mobileTrainingService.js +1 -1
  194. package/lib/module/services/netflixDataExtractor.js +1 -1
  195. package/lib/module/services/netflixDataService.js +1 -1
  196. package/lib/module/services/pinEncryptionService.js +1 -1
  197. package/lib/module/services/pinStorageUtils.js +1 -1
  198. package/lib/module/services/platformAuthService.js +1 -1
  199. package/lib/module/services/sephoraDataExtractor.js +1 -1
  200. package/lib/module/services/sephoraDataService.js +1 -1
  201. package/lib/module/services/spotifyDataExtractor.js +1 -1
  202. package/lib/module/services/spotifyDataService.js +1 -1
  203. package/lib/module/services/storageService.js +1 -1
  204. package/lib/module/services/telegramDataExtractor.js +1 -1
  205. package/lib/module/services/telegramDataService.js +1 -1
  206. package/lib/module/services/trainingApiHelpers.js +1 -1
  207. package/lib/module/services/userConnectionsService.js +1 -1
  208. package/lib/module/services/youtubeMigrationService.js +1 -1
  209. package/lib/module/theme/index.js +1 -1
  210. package/lib/module/types.js +1 -1
  211. package/lib/module/utils/Portal.js +1 -1
  212. package/lib/module/utils/api.js +1 -1
  213. package/lib/module/utils/assetRegistry.js +1 -1
  214. package/lib/module/utils/auth.js +1 -1
  215. package/lib/module/utils/connectorTests.js +1 -1
  216. package/lib/module/utils/crypto.js +1 -1
  217. package/lib/module/utils/debugHelper.js +1 -1
  218. package/lib/module/utils/encryption.js +1 -1
  219. package/lib/module/utils/eventUtils.js +1 -1
  220. package/lib/module/utils/haptics.js +1 -1
  221. package/lib/module/utils/networkDiagnostics.js +1 -1
  222. package/lib/module/utils/onairosApi.js +1 -1
  223. package/lib/module/utils/programmaticFlow.js +1 -1
  224. package/lib/module/utils/retryHelper.js +1 -1
  225. package/lib/module/utils/secureStorage.js +1 -1
  226. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  227. package/lib/module/utils/webviewScripts/claude.js +1 -1
  228. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  229. package/lib/module/utils/webviewScripts/index.js +1 -1
  230. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  231. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  232. package/lib/module/utils/webviewScripts/netflix.js +1 -1
  233. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  234. package/lib/module/utils/webviewScripts/spotify.js +1 -1
  235. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  236. package/package.json +1 -1
@@ -1 +1 @@
1
- import{getAuthToken,getUserProfile,ensureAuthentication}from'./authService';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const getUserIdWithFallbacks=async()=>{const _0x574110={'UuAVK':_0x123d(0x0),'ZGEVj':_0x123d(0x1),'sleIZ':_0x123d(0x2),'XYnya':_0x123d(0x3),'zIsfz':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.','zncvb':_0x123d(0x4),'BgqsI':_0x123d(0x5),'WbsOW':_0x123d(0x6),'Sdkaj':_0x123d(0x7),'dLCzC':_0x123d(0x8),'YHusq':function(_0x5c4f2b){return _0x5c4f2b();},'yYfgK':function(_0x10aed6,_0x46de88){return _0x10aed6!==_0x46de88;},'Lwbwy':function(_0x561e25,_0x3cce3d){return _0x561e25!==_0x3cce3d;},'kplEW':_0x123d(0x9),'MzoQm':'yuzwz','fyyoZ':'mrpzC','LbcXh':_0x123d(0xa),'tbCOt':function(_0x558084,_0x50416e){return _0x558084===_0x50416e;},'wyTvn':_0x123d(0xb),'NidFk':_0x123d(0xc),'wUTUQ':function(_0x3a3129,_0x4fe03d){return _0x3a3129>_0x4fe03d;},'MgTlA':_0x123d(0xd),'IUcQq':_0x123d(0xe),'DPkjx':_0x123d(0xf),'eDCXb':'✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','ZUuzY':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','MnZvX':function(_0x211604,_0x5ddcea){return _0x211604>_0x5ddcea;},'TFAAE':_0x123d(0x10),'HnZgv':function(_0xbe47a7,_0x61890e){return _0xbe47a7!==_0x61890e;},'VxJMa':_0x123d(0x11),'navft':_0x123d(0x12),'UEMNE':_0x123d(0x13),'OBtPY':_0x123d(0x14)};try{if(_0x123d(0x15)===_0x574110[_0x123d(0x16)])return _0x4d990b[_0x123d(0x17)](_0x574110['UuAVK'],_0x1f841a),_0x2d8981[_0x123d(0x17)](_0x574110[_0x123d(0x18)],_0x320665[_0x123d(0x19)](_0x1eae5c,_0x59c7d8['getOwnPropertyNames'](_0x3f0e99))),[];else{console[_0x123d(0x17)](_0x574110[_0x123d(0x1a)]);try{const _0x1900ed=await _0x574110[_0x123d(0x1b)](getUserProfile);if(_0x574110[_0x123d(0x1c)](_0x1900ed,null)&&_0x574110[_0x123d(0x1d)](_0x1900ed,void 0x0)&&_0x1900ed['id']&&_0x1900ed['id']!==_0x574110['kplEW'])return _0x574110[_0x123d(0x1e)]===_0x574110[_0x123d(0x1e)]?(console[_0x123d(0x17)](_0x574110[_0x123d(0x1f)],_0x1900ed['id']),_0x1900ed['id']):(_0x25d134['warn'](_0x574110[_0x123d(0x20)]),_0x6bef6b['warn'](_0x574110[_0x123d(0x21)]),{'success':![],'error':_0x574110[_0x123d(0x22)]});else{if(_0x574110[_0x123d(0x1c)](_0x574110[_0x123d(0x23)],_0x123d(0x24)))console[_0x123d(0x25)](_0x574110['LbcXh'],_0x574110[_0x123d(0x26)](_0x1900ed,null)||_0x574110[_0x123d(0x26)](_0x1900ed,void 0x0)?void 0x0:_0x1900ed['id']);else{const _0x4255c9=_0x56f389['connections'][_0x123d(0x27)](_0x52db27);return _0x2bb9bb[_0x123d(0x17)](_0x574110[_0x123d(0x28)],_0x4255c9[_0x123d(0x29)]),_0x4255c9;}}}catch(_0x5aaa18){if(_0x574110[_0x123d(0x1d)](_0x574110[_0x123d(0x2a)],_0x123d(0xb)))return _0x4acedd['log'](_0x574110[_0x123d(0x1f)],_0x1c3be0['id']),_0x3ca218['id'];else console['warn'](_0x123d(0x2b),_0x5aaa18);}const _0x59e073=await AsyncStorage['getItem'](_0x574110['NidFk']);if(_0x59e073&&_0x574110[_0x123d(0x1d)](_0x59e073,_0x123d(0x2c))&&_0x59e073!==_0x574110['kplEW']&&_0x574110['wUTUQ'](_0x59e073[_0x123d(0x29)],0xa))return _0x574110[_0x123d(0x2d)]!==_0x574110[_0x123d(0x2d)]?(_0x3ff605[_0x123d(0x2e)]('❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:',_0x568019),null):(console[_0x123d(0x17)](_0x574110[_0x123d(0x2f)],_0x59e073),_0x59e073);else _0x59e073&&console[_0x123d(0x25)](_0x574110[_0x123d(0x30)],_0x59e073);const _0x466403=await AsyncStorage[_0x123d(0x31)]('onairos_username');if(_0x466403&&_0x466403[_0x123d(0x29)]>0x2&&_0x574110[_0x123d(0x1c)](_0x466403,_0x123d(0x2c)))return console['log'](_0x574110['eDCXb'],_0x466403),_0x466403;else _0x466403&&console[_0x123d(0x25)](_0x574110[_0x123d(0x32)],_0x466403);const _0x5b0e20=await AsyncStorage[_0x123d(0x31)]('user_email');if(_0x5b0e20&&_0x5b0e20['includes']('@')&&_0x574110[_0x123d(0x33)](_0x5b0e20['length'],0x5))return console['log']('✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):',_0x5b0e20),_0x5b0e20;else _0x5b0e20&&console[_0x123d(0x25)](_0x574110[_0x123d(0x34)],_0x5b0e20);try{const _0x3bc67b=await _0x574110[_0x123d(0x1b)](getAuthToken);_0x3bc67b&&_0x3bc67b['split']('.')['length']===0x3&&(_0x574110[_0x123d(0x35)](_0x574110[_0x123d(0x36)],_0x574110[_0x123d(0x36)])?_0x23af06['warn'](_0x574110[_0x123d(0x37)],_0x1e0633):console['log'](_0x574110[_0x123d(0x38)]));}catch(_0xb8f6c0){console[_0x123d(0x25)](_0x123d(0x6),_0xb8f6c0);}return console[_0x123d(0x2e)](_0x574110[_0x123d(0x39)]),null;}}catch(_0x483a09){return console[_0x123d(0x2e)](_0x574110['OBtPY'],_0x483a09),null;}};import{PERSONA_IMAGES}from'../utils/assetRegistry';const samImage=PERSONA_IMAGES['level1'],anandImage=PERSONA_IMAGES['level2'],chrisImage=PERSONA_IMAGES[_0x123d(0x3a)],katieImage=PERSONA_IMAGES[_0x123d(0x3b)],yanniImage=PERSONA_IMAGES[_0x123d(0x3c)],API_BASE_URL=API_CONFIG[_0x123d(0x3d)],transformAPIConnection=_0x2b5be9=>{const _0x1099ac={'xwPDz':_0x123d(0x3e),'RokPB':function(_0x43db98,_0x21d899){return _0x43db98===_0x21d899;},'DpkgI':function(_0x48b3e3,_0x54fe6f){return _0x48b3e3(_0x54fe6f);},'RAalI':function(_0x5ad25a,_0x480717){return _0x5ad25a(_0x480717);},'RFIEw':function(_0x32752b,_0xe5ef1f){return _0x32752b*_0xe5ef1f;},'AWTka':_0x123d(0x3f),'mvyZO':_0x123d(0x40),'tkodY':_0x123d(0x41),'DPmTC':function(_0x3d2ff7,_0x236d29){return _0x3d2ff7===_0x236d29;},'bpGVh':function(_0x40604f,_0x40afd2){return _0x40604f===_0x40afd2;}};var _0x3ccb44,_0x395db1;return console[_0x123d(0x17)](_0x1099ac[_0x123d(0x42)],{'id':_0x2b5be9['id'],'name':_0x2b5be9[_0x123d(0x43)],'description':_0x2b5be9[_0x123d(0x44)],'hasPhoto':!!_0x2b5be9[_0x123d(0x45)],'photoLength':(_0x3ccb44=_0x2b5be9['photo'])===null||_0x1099ac['RokPB'](_0x3ccb44,void 0x0)?void 0x0:_0x3ccb44[_0x123d(0x29)],'interests':_0x2b5be9['interests'],'sharedPassions':_0x2b5be9[_0x123d(0x46)],'complementaryQualities':_0x2b5be9[_0x123d(0x47)],'compatibility':_0x2b5be9['compatibility']}),{'id':_0x1099ac[_0x123d(0x48)](parseInt,_0x2b5be9['id'])||_0x1099ac[_0x123d(0x49)](parseInt,_0x2b5be9[_0x123d(0x4a)]||'')||_0x1099ac[_0x123d(0x4b)](Math['random'](),0x3e8),'name':_0x2b5be9[_0x123d(0x43)]||_0x1099ac['AWTka'],'description':_0x2b5be9[_0x123d(0x44)]||_0x1099ac[_0x123d(0x4c)],'photo':_0x2b5be9[_0x123d(0x45)]||'','bio':_0x2b5be9[_0x123d(0x4d)]||'','interests':_0x2b5be9[_0x123d(0x4e)]||[],'mutualConnections':_0x2b5be9['mutualConnections']||0x0,'compatibility':_0x2b5be9[_0x123d(0x4f)]||0x0,'conversationStarters':_0x2b5be9[_0x123d(0x50)]||[_0x1099ac[_0x123d(0x51)]],'sharedPassions':_0x2b5be9[_0x123d(0x46)]||[],'complementaryQualities':_0x2b5be9[_0x123d(0x47)]||[],'meaningfulCoincidences':_0x2b5be9[_0x123d(0x52)]||[],'mutualConnectionsList':(_0x1099ac[_0x123d(0x53)](_0x395db1=_0x2b5be9[_0x123d(0x54)],null)||_0x1099ac['bpGVh'](_0x395db1,void 0x0)?void 0x0:_0x395db1[_0x123d(0x27)](_0x4a87d0=>({'name':_0x4a87d0[_0x123d(0x43)],'photo':_0x4a87d0[_0x123d(0x45)],'context':_0x4a87d0['context']})))||[]};};export const getUserConnectionsByUsername=async _0x41aacf=>{const _0x48e12d={'KBtEL':_0x123d(0x3e),'qYuCb':function(_0xefbf93,_0x225409){return _0xefbf93===_0x225409;},'UpNMY':function(_0x59d836,_0x20deef){return _0x59d836(_0x20deef);},'ZGMkN':function(_0x3e75b6,_0x4401fc){return _0x3e75b6*_0x4401fc;},'cBait':_0x123d(0x3f),'nxCFx':_0x123d(0x41),'mdNxd':_0x123d(0x55),'FOoml':_0x123d(0x56),'dKlWy':_0x123d(0x57),'FpynX':_0x123d(0x58),'YulbV':function(_0x322816){return _0x322816();},'IBKoP':_0x123d(0x59),'XfIJx':_0x123d(0x5a),'brXQq':'✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','LdwyE':_0x123d(0x5b),'bzcrM':_0x123d(0x5c),'JCYVi':'✅\x20API\x20connections\x20fetched\x20by\x20username:','wNtfs':function(_0x488656,_0x1bb535){return _0x488656!==_0x1bb535;},'QfmbF':function(_0x543126,_0x3bc997){return _0x543126!==_0x3bc997;},'cHzeA':function(_0x48a33a,_0x36019f){return _0x48a33a>_0x36019f;},'smaIw':'TJAdm','BvAnD':_0x123d(0x4)};try{if(_0x48e12d[_0x123d(0x5d)](_0x48e12d[_0x123d(0x5e)],_0x123d(0x57))){var _0x2518b5,_0x4751c3;console['log'](_0x48e12d[_0x123d(0x5f)],_0x41aacf);const _0x1a7b52=await _0x48e12d[_0x123d(0x60)](getAuthToken);if(!_0x1a7b52)return console[_0x123d(0x25)](_0x48e12d[_0x123d(0x61)]),console[_0x123d(0x25)](_0x48e12d['XfIJx']),[];console[_0x123d(0x17)](_0x48e12d[_0x123d(0x62)],_0x1a7b52['substring'](0x0,0x14)+_0x123d(0x63));const _0x27f015={'success':![],'message':_0x48e12d['LdwyE'],'connections':[],'source':_0x48e12d[_0x123d(0x64)]};console[_0x123d(0x17)](_0x48e12d[_0x123d(0x65)],{'success':_0x27f015['success'],'connectionsCount':((_0x2518b5=_0x27f015[_0x123d(0x66)])===null||_0x48e12d[_0x123d(0x5d)](_0x2518b5,void 0x0)?void 0x0:_0x2518b5[_0x123d(0x29)])||0x0,'source':_0x27f015[_0x123d(0x67)],'firstConnection':_0x48e12d[_0x123d(0x68)](_0x4751c3=_0x27f015[_0x123d(0x66)],null)&&_0x48e12d[_0x123d(0x69)](_0x4751c3,void 0x0)&&_0x4751c3[0x0]?{'id':_0x27f015[_0x123d(0x66)][0x0]['id'],'name':_0x27f015[_0x123d(0x66)][0x0][_0x123d(0x43)],'description':_0x27f015[_0x123d(0x66)][0x0][_0x123d(0x44)]}:null});if(_0x27f015[_0x123d(0x6a)]&&_0x27f015[_0x123d(0x66)]&&_0x48e12d[_0x123d(0x6b)](_0x27f015[_0x123d(0x66)][_0x123d(0x29)],0x0)){if(_0x48e12d[_0x123d(0x69)](_0x48e12d[_0x123d(0x6c)],_0x48e12d['smaIw'])){var _0xb474ce,_0x29fbc9;return _0x25a672[_0x123d(0x17)](_0x48e12d[_0x123d(0x6d)],{'id':_0x364a42['id'],'name':_0x481380[_0x123d(0x43)],'description':_0xb49f68[_0x123d(0x44)],'hasPhoto':!!_0x313ab9['photo'],'photoLength':_0x48e12d['qYuCb'](_0xb474ce=_0x1ecca0[_0x123d(0x45)],null)||_0xb474ce===void 0x0?void 0x0:_0xb474ce[_0x123d(0x29)],'interests':_0x5ea4ab['interests'],'sharedPassions':_0x583923[_0x123d(0x46)],'complementaryQualities':_0x1dd773[_0x123d(0x47)],'compatibility':_0x458d60[_0x123d(0x4f)]}),{'id':_0x48e12d[_0x123d(0x6e)](_0x3a8353,_0x59a8c4['id'])||_0x51d9f8(_0x292d4c[_0x123d(0x4a)]||'')||_0x48e12d[_0x123d(0x6f)](_0x213b69[_0x123d(0x70)](),0x3e8),'name':_0xab92aa['name']||_0x48e12d[_0x123d(0x71)],'description':_0x5b0e8e[_0x123d(0x44)]||'Looking\x20to\x20connect','photo':_0xb4609[_0x123d(0x45)]||'','bio':_0x247013[_0x123d(0x4d)]||'','interests':_0x1da5d8[_0x123d(0x4e)]||[],'mutualConnections':_0x3382d6[_0x123d(0x72)]||0x0,'compatibility':_0x5848de[_0x123d(0x4f)]||0x0,'conversationStarters':_0x495406[_0x123d(0x50)]||[_0x48e12d['nxCFx']],'sharedPassions':_0x2db63e['sharedPassions']||[],'complementaryQualities':_0x44dc50[_0x123d(0x47)]||[],'meaningfulCoincidences':_0x17acf4[_0x123d(0x52)]||[],'mutualConnectionsList':((_0x29fbc9=_0x10a0c1[_0x123d(0x54)])===null||_0x48e12d[_0x123d(0x5d)](_0x29fbc9,void 0x0)?void 0x0:_0x29fbc9[_0x123d(0x27)](_0x353622=>({'name':_0x353622['name'],'photo':_0x353622[_0x123d(0x45)],'context':_0x353622['context']})))||[]};}else{const _0x114ff0=_0x27f015[_0x123d(0x66)]['map'](transformAPIConnection);return console['log'](_0x48e12d[_0x123d(0x73)],_0x114ff0[_0x123d(0x29)]),_0x114ff0;}}return[];}else return _0x1c340e[_0x123d(0x17)](_0x48e12d[_0x123d(0x74)],_0x42781a),_0x683d10[_0x123d(0x17)](_0x48e12d[_0x123d(0x75)],_0x30bf3c[_0x123d(0x19)](_0x456c9f,_0x434f48[_0x123d(0x76)](_0x113164))),[];}catch(_0x22c239){return console['log'](_0x123d(0x55),_0x22c239),console[_0x123d(0x17)](_0x48e12d[_0x123d(0x75)],JSON[_0x123d(0x19)](_0x22c239,Object['getOwnPropertyNames'](_0x22c239))),[];}};function _0x123d(_0x3b3686,_0x123d00){_0x3b3686=_0x3b3686-0x0;const _0x4eba19=_0x3b36();let _0x25bf44=_0x4eba19[_0x3b3686];return _0x25bf44;}export const getUserConnectionsByUserId=async _0x7a611d=>{const _0x3002f0={'BeMad':_0x123d(0x77),'upTsA':function(_0x1e9b5a,_0x86d3bf){return _0x1e9b5a!==_0x86d3bf;},'wpjMp':_0x123d(0x78),'vFWen':_0x123d(0x79),'AMxwn':function(_0x274f00){return _0x274f00();},'yXrDf':function(_0x33fa51,_0xa0d42){return _0x33fa51===_0xa0d42;},'xkkIi':_0x123d(0x7a),'bRxxL':_0x123d(0x7b),'FcGLd':_0x123d(0x7c),'oczSz':_0x123d(0x5b),'YNLCE':_0x123d(0x5c),'YEVyO':_0x123d(0x7d),'uIoJd':function(_0x3e741f,_0x537774){return _0x3e741f===_0x537774;},'UPOmo':function(_0xcfd594,_0x36cc31){return _0xcfd594>_0x36cc31;},'Nfgyn':'🔄\x20Transformed\x20connections\x20by\x20userId:','KmZde':_0x123d(0x1)};try{if(_0x3002f0['upTsA'](_0x123d(0x7e),_0x3002f0[_0x123d(0x7f)])){var _0x1c5fa0,_0xe21ae6;console[_0x123d(0x17)](_0x3002f0[_0x123d(0x80)],_0x7a611d);const _0x21c1a8=await _0x3002f0[_0x123d(0x81)](getAuthToken);if(!_0x21c1a8)return _0x3002f0[_0x123d(0x82)](_0x3002f0[_0x123d(0x83)],_0x3002f0[_0x123d(0x83)])?(console['warn'](_0x3002f0[_0x123d(0x84)]),[]):(_0x14ea1e[_0x123d(0x17)](_0x3002f0[_0x123d(0x85)],_0x10b6fc[_0x123d(0x29)]),_0x2ce449);console[_0x123d(0x17)](_0x3002f0[_0x123d(0x86)],_0x21c1a8[_0x123d(0x87)](0x0,0x14)+_0x123d(0x63));const _0x3b651d={'success':![],'message':_0x3002f0[_0x123d(0x88)],'connections':[],'source':_0x3002f0[_0x123d(0x89)]};console['log'](_0x3002f0[_0x123d(0x8a)],{'success':_0x3b651d[_0x123d(0x6a)],'connectionsCount':(_0x3002f0[_0x123d(0x8b)](_0x1c5fa0=_0x3b651d[_0x123d(0x66)],null)||_0x1c5fa0===void 0x0?void 0x0:_0x1c5fa0['length'])||0x0,'source':_0x3b651d[_0x123d(0x67)],'firstConnection':(_0xe21ae6=_0x3b651d[_0x123d(0x66)])!==null&&_0xe21ae6!==void 0x0&&_0xe21ae6[0x0]?{'id':_0x3b651d[_0x123d(0x66)][0x0]['id'],'name':_0x3b651d['connections'][0x0][_0x123d(0x43)],'description':_0x3b651d['connections'][0x0][_0x123d(0x44)]}:null});if(_0x3b651d[_0x123d(0x6a)]&&_0x3b651d[_0x123d(0x66)]&&_0x3002f0[_0x123d(0x8c)](_0x3b651d[_0x123d(0x66)]['length'],0x0)){const _0x2ae267=_0x3b651d['connections'][_0x123d(0x27)](transformAPIConnection);return console[_0x123d(0x17)](_0x3002f0[_0x123d(0x8d)],_0x2ae267[_0x123d(0x29)]),_0x2ae267;}return[];}else _0x20c6fa[_0x123d(0x25)](_0x123d(0xf),_0x2d190e);}catch(_0x1681cc){return console['log']('❌\x20Error\x20fetching\x20connections\x20by\x20userId:',_0x1681cc),console[_0x123d(0x17)](_0x3002f0[_0x123d(0x8e)],JSON[_0x123d(0x19)](_0x1681cc,Object['getOwnPropertyNames'](_0x1681cc))),[];}};function _0x3b36(){const _0xd6e5a6=['❌\x20Error\x20fetching\x20connections\x20by\x20userId:','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','🔄\x20Transformed\x20connections\x20by\x20username:','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:','EnIbn','🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...','fallback_user','⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','ajnDd','user_id','fOFaK','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','JQCAg','🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token','❌\x20[USER\x20ID]\x20No\x20valid\x20user\x20identifier\x20found','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','OIFhw','Sdkaj','log','ZGEVj','stringify','dLCzC','YHusq','yYfgK','Lwbwy','MzoQm','BgqsI','sleIZ','XYnya','zIsfz','fyyoZ','uJbev','warn','tbCOt','map','zncvb','length','wyTvn','⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','marker','MgTlA','error','IUcQq','DPkjx','getItem','ZUuzY','MnZvX','TFAAE','HnZgv','VxJMa','WbsOW','navft','UEMNE','level3','level4','level5','BASE_URL','🔄\x20Transforming\x20API\x20connection:','Unknown\x20User','Looking\x20to\x20connect','Hi!\x20Nice\x20to\x20meet\x20you.','xwPDz','name','description','photo','sharedPassions','complementaryQualities','DpkgI','RAalI','_id','RFIEw','mvyZO','bio','interests','compatibility','conversationStarters','tkodY','meaningfulCoincidences','DPmTC','mutualConnectionsList','❌\x20Error\x20fetching\x20connections\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','WoKhi','🔍\x20Fetching\x20connections\x20for\x20username:','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','API\x20function\x20not\x20available','mock','qYuCb','dKlWy','FpynX','YulbV','IBKoP','brXQq','...','bzcrM','JCYVi','connections','source','wNtfs','QfmbF','success','cHzeA','smaIw','KBtEL','UpNMY','ZGMkN','random','cBait','mutualConnections','BvAnD','mdNxd','FOoml','getOwnPropertyNames','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','ZzTyc','🔍\x20Fetching\x20connections\x20for\x20userId:','ifAtm','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','✅\x20API\x20connections\x20fetched\x20by\x20userId:','Ifdmw','wpjMp','vFWen','AMxwn','yXrDf','xkkIi','bRxxL','BeMad','FcGLd','substring','oczSz','YNLCE','YEVyO','uIoJd','UPOmo','Nfgyn','KmZde','✅\x20Successfully\x20got\x20connections\x20by\x20email:','USER_CONNECTIONS','onairos_username','user_email','auth_token','🎯\x20getUserConnections\x20-\x20User\x20profile:','bDlCL','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','jxarf','FQwoO','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','Sktxk','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','RjqZx','⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','axxhQ','WODSP','deFXV','paJbE','bCHfj','mwRDU','sUiTB','XAEru','gWPoF','BkaUg','email','VLEtP','kmWAM','cYyOx','klALI','dKvNS','KiRke','pUhvd','xlDbq','NjUWE','WCHEL','pkXeN','KyxTG','Eiyhq','DArMt','🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):','pigEk','avBzH','hQmoQ','🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:','ZTJfw','bKeLX','hhXDR','yAuTh','CEvCL','LLmXN','QtgyR','BIjXk'];_0x3b36=function(){return _0xd6e5a6;};return _0x3b36();}export const getUserConnections=async()=>{const _0x71e968={'WCHEL':'✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','DArMt':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','pigEk':_0x123d(0x8f),'WODSP':function(_0x636409,_0x16ec1f){return _0x636409(_0x16ec1f);},'wfmYn':_0x123d(0x90),'rdDKV':'🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...','deFXV':_0x123d(0x91),'paJbE':_0x123d(0x92),'bCHfj':'user_id','mwRDU':_0x123d(0x93),'sUiTB':function(_0x27560b){return _0x27560b();},'XAEru':_0x123d(0x94),'BkaUg':function(_0x32d884,_0x6cb462){return _0x32d884!==_0x6cb462;},'gWPoF':function(_0x4a0219,_0xb12f0a){return _0x4a0219!==_0xb12f0a;},'qobHk':function(_0x228a31,_0x5bf575){return _0x228a31!==_0x5bf575;},'VLEtP':function(_0x3e200e,_0x559620){return _0x3e200e===_0x559620;},'Vfldu':function(_0x4e9809,_0x5e5569){return _0x4e9809===_0x5e5569;},'kmWAM':function(_0x50f899,_0x4830d2){return _0x50f899===_0x4830d2;},'cYyOx':function(_0x17e68f,_0x2e8c00){return _0x17e68f===_0x2e8c00;},'klALI':function(_0x37b192,_0x37a9b0){return _0x37b192===_0x37a9b0;},'dKvNS':function(_0x88c860,_0x12d2da){return _0x88c860&&_0x12d2da;},'KiRke':_0x123d(0x95),'xngDP':_0x123d(0x96),'pUhvd':function(_0x48c52c,_0x538c62){return _0x48c52c===_0x538c62;},'xlDbq':_0x123d(0x97),'NjUWE':_0x123d(0x98),'pkXeN':_0x123d(0x99),'KyxTG':_0x123d(0x9a),'SStib':function(_0x421a09,_0x1aa36f){return _0x421a09!==_0x1aa36f;},'Eiyhq':_0x123d(0x9b),'yXMWS':function(_0x20ae58,_0x579a5e){return _0x20ae58>_0x579a5e;},'avBzH':_0x123d(0x9c),'Vzdys':function(_0x53d27c,_0x4f0d10){return _0x53d27c!==_0x4f0d10;},'hQmoQ':_0x123d(0x9d),'ZTJfw':function(_0x3f0db0,_0xc90953){return _0x3f0db0(_0xc90953);},'bKeLX':function(_0x5c6823,_0x52a3fc){return _0x5c6823>_0x52a3fc;},'hhXDR':_0x123d(0x77),'yAuTh':_0x123d(0x9e),'CEvCL':'⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found','LLmXN':_0x123d(0x9f)};try{await _0x71e968[_0x123d(0xa0)](ensureAuthentication,_0x71e968['wfmYn']),console[_0x123d(0x17)](_0x71e968['rdDKV']);const _0x421f4e=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa1)]),_0x3d841a=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa2)]),_0x14508e=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa3)]),_0x4a6370=await AsyncStorage[_0x123d(0x31)](_0x71e968[_0x123d(0xa4)]);console[_0x123d(0x17)]('🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:',{'storedUsername':_0x421f4e,'storedEmail':_0x3d841a,'storedUserId':_0x14508e,'hasAuthToken':!!_0x4a6370,'authTokenPreview':_0x4a6370?_0x4a6370[_0x123d(0x87)](0x0,0x14)+_0x123d(0x63):'none'});const _0x4cf02f=await _0x71e968[_0x123d(0xa5)](getUserProfile);console[_0x123d(0x17)](_0x71e968[_0x123d(0xa6)],{'hasId':!!(_0x71e968['BkaUg'](_0x4cf02f,null)&&_0x71e968[_0x123d(0xa7)](_0x4cf02f,void 0x0)&&_0x4cf02f['id']),'hasEmail':!!(_0x71e968[_0x123d(0xa8)](_0x4cf02f,null)&&_0x71e968['qobHk'](_0x4cf02f,void 0x0)&&_0x4cf02f[_0x123d(0xa9)]),'email':_0x71e968[_0x123d(0xaa)](_0x4cf02f,null)||_0x71e968['Vfldu'](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f[_0x123d(0xa9)],'id':_0x4cf02f===null||_0x71e968[_0x123d(0xaa)](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f['id']});let _0x39d1fe=_0x71e968[_0x123d(0xab)](_0x4cf02f,null)||_0x4cf02f===void 0x0?void 0x0:_0x4cf02f[_0x123d(0xa9)],_0x4e5ed7=_0x71e968[_0x123d(0xac)](_0x4cf02f,null)||_0x71e968[_0x123d(0xad)](_0x4cf02f,void 0x0)?void 0x0:_0x4cf02f['id'];if(_0x71e968[_0x123d(0xae)](!_0x39d1fe,_0x421f4e)){if(_0x71e968[_0x123d(0xaf)]!==_0x71e968[_0x123d(0xaf)])return _0x497eb6['warn']('⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request'),_0x4a6fc8[_0x123d(0x25)]('⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend'),[];else console[_0x123d(0x17)](_0x71e968['xngDP'],_0x421f4e),_0x39d1fe=_0x421f4e;}if(_0x71e968[_0x123d(0xae)](!_0x39d1fe,_0x3d841a)){if(_0x71e968[_0x123d(0xb0)](_0x71e968[_0x123d(0xb1)],_0x71e968[_0x123d(0xb2)]))return _0x25a92a[_0x123d(0x17)](_0x71e968[_0x123d(0xb3)],_0x302e5b),_0xb84b04;else console[_0x123d(0x17)](_0x71e968[_0x123d(0xb4)],_0x3d841a),_0x39d1fe=_0x3d841a;}_0x71e968['dKvNS'](!_0x4e5ed7,_0x14508e)&&(console[_0x123d(0x17)](_0x71e968[_0x123d(0xb5)],_0x14508e),_0x4e5ed7=_0x14508e);console['log']('🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:',{'userEmail':_0x39d1fe,'userId':_0x4e5ed7,'willTryEmail':!!_0x39d1fe,'willTryUserId':!!_0x4e5ed7});if(_0x39d1fe){if(_0x71e968['SStib'](_0x71e968[_0x123d(0xb6)],_0x71e968[_0x123d(0xb6)]))_0x265b2b['warn'](_0x71e968[_0x123d(0xb7)],_0x5d7f03);else{console['log'](_0x123d(0xb8),_0x39d1fe);const _0x38f923=await _0x71e968[_0x123d(0xa0)](getUserConnectionsByUsername,_0x39d1fe);if(_0x71e968['yXMWS'](_0x38f923['length'],0x0))return console[_0x123d(0x17)](_0x71e968[_0x123d(0xb9)],_0x38f923[_0x123d(0x29)]),_0x38f923;console[_0x123d(0x17)](_0x71e968[_0x123d(0xba)]);}}if(_0x4e5ed7){if(_0x71e968['Vzdys']('tZQGT',_0x71e968[_0x123d(0xbb)])){console[_0x123d(0x17)](_0x123d(0xbc),_0x4e5ed7);const _0x5037a7=await _0x71e968[_0x123d(0xbd)](getUserConnectionsByUserId,_0x4e5ed7);if(_0x71e968[_0x123d(0xbe)](_0x5037a7['length'],0x0))return console[_0x123d(0x17)](_0x71e968[_0x123d(0xbf)],_0x5037a7[_0x123d(0x29)]),_0x5037a7;console['log'](_0x71e968[_0x123d(0xc0)]);}else return _0x5cf77b[_0x123d(0x17)](_0x71e968[_0x123d(0xb9)],_0x576104[_0x123d(0x29)]),_0x40fc00;}return console[_0x123d(0x17)](_0x71e968[_0x123d(0xc1)]),[];}catch(_0x556462){return _0x71e968['Vzdys'](_0x71e968[_0x123d(0xc2)],_0x71e968[_0x123d(0xc2)])?(_0x595049[_0x123d(0x17)]('✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):',_0x50a928),_0x59ecb1):(console[_0x123d(0x17)]('❌\x20Error\x20in\x20getUserConnections:',_0x556462),[]);}};export const uploadProfilePicture=async(_0x40f561,_0x2b70bc)=>{const _0x250e6c={'QtgyR':_0x123d(0x2),'BIjXk':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'};return console['warn'](_0x250e6c[_0x123d(0xc3)]),console['warn']('ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly'),{'success':![],'error':_0x250e6c[_0x123d(0xc4)]};};
1
+ import{getAuthToken,getUserProfile,ensureAuthentication}from'./authService';import AsyncStorage from'@react-native-async-storage/async-storage';function _0x1633(_0x5b21dd,_0x163304){_0x5b21dd=_0x5b21dd-0x0;const _0x3bc1ea=_0x5b21();let _0x30eb3c=_0x3bc1ea[_0x5b21dd];return _0x30eb3c;}import{API_CONFIG}from'../config/api';const getUserIdWithFallbacks=async()=>{const _0x795f05={'cXrzM':_0x1633(0x0),'Ukuyq':_0x1633(0x1),'YgdKa':_0x1633(0x2),'OgEbZ':_0x1633(0x3),'MSvdg':'⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','vKuHA':_0x1633(0x4),'XRMnY':'❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','rlaaP':function(_0x208418,_0x437eff){return _0x208418!==_0x437eff;},'Tbdsc':_0x1633(0x5),'JzUGG':function(_0x33d1e8){return _0x33d1e8();},'pZarM':function(_0x59be31,_0x332786){return _0x59be31!==_0x332786;},'wEtYy':'✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20getUserProfile:','OgFMJ':'⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','mDAvb':function(_0x4736e7,_0x3ffda7){return _0x4736e7===_0x3ffda7;},'VsDPJ':function(_0x285a27,_0x421cb4){return _0x285a27!==_0x421cb4;},'YslGj':_0x1633(0x6),'TJSFV':_0x1633(0x7),'Iuudh':_0x1633(0x8),'sjPQS':_0x1633(0x9),'yXXMS':function(_0x6b56cf,_0x7a519b){return _0x6b56cf!==_0x7a519b;},'ZfeYM':'marker','xWPwq':function(_0x53147b,_0x50d0d9){return _0x53147b>_0x50d0d9;},'WGiiU':'wmpdh','xklFI':_0x1633(0xa),'IPoHJ':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','nErMS':_0x1633(0xb),'SObtV':function(_0x46bd12,_0x3ee678){return _0x46bd12>_0x3ee678;},'OyTHq':function(_0x260125,_0x251add){return _0x260125!==_0x251add;},'ajJur':'✅\x20[USER\x20ID]\x20Got\x20username\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','TcHZj':_0x1633(0xc),'ibYzD':_0x1633(0xd),'IrFYC':_0x1633(0xe),'xiqMO':function(_0x4c5b15,_0x5bd900){return _0x4c5b15!==_0x5bd900;},'HgMzf':'KUUnx','pGboF':'⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','MNKBV':function(_0x579207){return _0x579207();},'OsXuS':function(_0x1e46e6,_0x25f956){return _0x1e46e6===_0x25f956;},'KiPwK':'DGeUP','wFPaw':_0x1633(0xf)};try{console[_0x1633(0x10)]('🔍\x20[USER\x20ID]\x20Attempting\x20to\x20get\x20user\x20identifier\x20with\x20multiple\x20methods...');try{if(_0x795f05[_0x1633(0x11)](_0x795f05[_0x1633(0x12)],_0x795f05[_0x1633(0x12)]))_0x484055[_0x1633(0x10)](_0x795f05[_0x1633(0x13)],_0x5caca9),_0x5b0bc7=_0x2c0ca1;else{const _0x4b67bd=await _0x795f05['JzUGG'](getUserProfile);if(_0x795f05[_0x1633(0x14)](_0x4b67bd,null)&&_0x795f05[_0x1633(0x14)](_0x4b67bd,void 0x0)&&_0x4b67bd['id']&&_0x795f05['rlaaP'](_0x4b67bd['id'],_0x1633(0x15)))return console['log'](_0x795f05[_0x1633(0x16)],_0x4b67bd['id']),_0x4b67bd['id'];else console[_0x1633(0x17)](_0x795f05['OgFMJ'],_0x4b67bd===null||_0x795f05[_0x1633(0x18)](_0x4b67bd,void 0x0)?void 0x0:_0x4b67bd['id']);}}catch(_0x38fbdf){_0x795f05[_0x1633(0x19)](_0x795f05['YslGj'],_0x795f05[_0x1633(0x1a)])?console[_0x1633(0x17)](_0x795f05[_0x1633(0x1b)],_0x38fbdf):_0x130d2c[_0x1633(0x10)](_0x795f05['Ukuyq']);}const _0x2ccb66=await AsyncStorage['getItem'](_0x795f05['sjPQS']);if(_0x2ccb66&&_0x795f05['yXXMS'](_0x2ccb66,_0x795f05[_0x1633(0x1c)])&&_0x2ccb66!==_0x1633(0x15)&&_0x795f05[_0x1633(0x1d)](_0x2ccb66[_0x1633(0x1e)],0xa)){if('wmpdh'!==_0x795f05[_0x1633(0x1f)]){const _0x578350=_0x278c64[_0x1633(0x20)][_0x1633(0x21)](_0x4aee5f);return _0x4fd380['log'](_0x795f05[_0x1633(0x22)],_0x578350[_0x1633(0x1e)]),_0x578350;}else return console[_0x1633(0x10)](_0x795f05['xklFI'],_0x2ccb66),_0x2ccb66;}else _0x2ccb66&&console[_0x1633(0x17)](_0x795f05[_0x1633(0x23)],_0x2ccb66);const _0x2298c7=await AsyncStorage[_0x1633(0x24)](_0x795f05[_0x1633(0x25)]);if(_0x2298c7&&_0x795f05[_0x1633(0x26)](_0x2298c7[_0x1633(0x1e)],0x2)&&_0x795f05[_0x1633(0x27)](_0x2298c7,_0x795f05[_0x1633(0x1c)]))return console[_0x1633(0x10)](_0x795f05[_0x1633(0x28)],_0x2298c7),_0x2298c7;else{if(_0x2298c7){if(_0x795f05['OyTHq']('SArbc',_0x795f05[_0x1633(0x29)]))console['warn'](_0x795f05[_0x1633(0x2a)],_0x2298c7);else return _0x147f2d[_0x1633(0x10)](_0x795f05['OgEbZ'],_0x4f3517),[];}}const _0x447660=await AsyncStorage[_0x1633(0x24)](_0x795f05[_0x1633(0x2b)]);if(_0x447660&&_0x447660[_0x1633(0x2c)]('@')&&_0x795f05[_0x1633(0x26)](_0x447660['length'],0x5))return _0x795f05[_0x1633(0x2d)]('KUUnx',_0x795f05[_0x1633(0x2e)])?(_0x4a72ee[_0x1633(0x17)](_0x795f05[_0x1633(0x2f)]),[]):(console['log'](_0x1633(0x30),_0x447660),_0x447660);else _0x447660&&console['warn'](_0x795f05[_0x1633(0x31)],_0x447660);try{const _0x190326=await _0x795f05[_0x1633(0x32)](getAuthToken);if(_0x190326&&_0x795f05['mDAvb'](_0x190326[_0x1633(0x33)]('.')[_0x1633(0x1e)],0x3)){if(_0x795f05[_0x1633(0x34)](_0x1633(0x35),_0x795f05[_0x1633(0x36)]))console['log'](_0x795f05['Ukuyq']);else return _0x576bdb[_0x1633(0x10)](_0x795f05[_0x1633(0x37)],_0x2ea253),_0x45ff99[_0x1633(0x10)](_0x795f05['XRMnY'],_0x278f97[_0x1633(0x38)](_0x53e9bf,_0xf48655[_0x1633(0x39)](_0x2ad090))),[];}}catch(_0x42f857){console[_0x1633(0x17)]('⚠️\x20[USER\x20ID]\x20JWT\x20token\x20access\x20failed:',_0x42f857);}return console[_0x1633(0x3a)]('❌\x20[USER\x20ID]\x20No\x20valid\x20user\x20identifier\x20found'),null;}catch(_0x544f66){return console[_0x1633(0x3a)](_0x795f05[_0x1633(0x3b)],_0x544f66),null;}};function _0x5b21(){const _0x5133a8=['🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20user\x20ID\x20as\x20fallback:','🔍\x20[USER\x20ID]\x20JWT\x20token\x20found\x20but\x20no\x20local\x20user\x20identifier\x20-\x20backend\x20should\x20handle\x20via\x20token','🔄\x20Transformed\x20connections\x20by\x20username:','❌\x20Error\x20in\x20getUserConnections:','❌\x20Error\x20fetching\x20connections\x20by\x20username:','szgXq','IUwvE','yAIQi','⚠️\x20[USER\x20ID]\x20getUserProfile\x20failed:','user_id','✅\x20[USER\x20ID]\x20Got\x20user\x20ID\x20from\x20AsyncStorage:','onairos_username','uPEDk','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20username\x20found:','user_email','❌\x20[USER\x20ID]\x20Error\x20getting\x20user\x20identifier:','log','rlaaP','Tbdsc','cXrzM','pZarM','fallback_user','wEtYy','warn','mDAvb','VsDPJ','TJSFV','Iuudh','ZfeYM','xWPwq','length','WGiiU','connections','map','YgdKa','IPoHJ','getItem','nErMS','SObtV','OyTHq','ajJur','TcHZj','ibYzD','IrFYC','includes','xiqMO','HgMzf','MSvdg','✅\x20[USER\x20ID]\x20Got\x20email\x20from\x20AsyncStorage\x20(backend\x20supports\x20usernames):','pGboF','MNKBV','split','OsXuS','DGeUP','KiPwK','vKuHA','stringify','getOwnPropertyNames','error','wFPaw','level1','level2','level4','level5','🔄\x20Transforming\x20API\x20connection:','Hi!\x20Nice\x20to\x20meet\x20you.','oljME','name','photo','GMGHA','interests','sharedPassions','compatibility','_id','sqvfJ','random','Unknown\x20User','description','Looking\x20to\x20connect','mutualConnections','conversationStarters','JVXie','meaningfulCoincidences','mutualConnectionsList','context','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20request','⚠️\x20[CONNECTIONS\x20API]\x20This\x20may\x20result\x20in\x20limited\x20or\x20cached\x20data\x20from\x20backend','NHoog','🔍\x20Fetching\x20connections\x20for\x20username:','mock','✅\x20API\x20connections\x20fetched\x20by\x20username:','❌\x20[NETWORK\x20ERROR]\x20Full\x20error\x20details:','zATBX','xnzqD','kxGyQ','✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:','substring','...','API\x20function\x20not\x20available','DoFLO','XbKZg','success','kumCi','source','NaDhy','edWpi','wtagX','rILpY','wnQXp','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20email\x20found:','wQMRG','liONG','⚠️\x20[CONNECTIONS\x20API]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections\x20request','✅\x20API\x20connections\x20fetched\x20by\x20userId:','🔄\x20Transformed\x20connections\x20by\x20userId:','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','❌\x20[NETWORK\x20ERROR\x20FALLBACK]\x20Full\x20error\x20details:','PnzkN','pCXMf','uHRjY','KTFQm','qHSXm','SXGbJ','QDETd','NpdKW','uJAix','mmkCy','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20username\x20as\x20email\x20fallback:','⚠️\x20[USER\x20ID]\x20getUserProfile\x20returned\x20invalid/fallback\x20ID:','AoaFD','🔍\x20[USER\x20DEBUG]\x20Checking\x20all\x20available\x20user\x20data\x20sources...','auth_token','🔍\x20[USER\x20DEBUG]\x20AsyncStorage\x20data:','CKdRK','🔄\x20[USER\x20DEBUG]\x20Using\x20stored\x20email\x20as\x20fallback:','🎯\x20[USER\x20DEBUG]\x20Final\x20user\x20identifiers\x20to\x20use:','🎯\x20PRIORITY:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20email\x20(working\x20endpoint):','✅\x20Successfully\x20got\x20connections\x20by\x20email:','⚠️\x20No\x20connections\x20found\x20by\x20email,\x20trying\x20user\x20ID...','✅\x20Successfully\x20got\x20connections\x20by\x20user\x20ID:','⚠️\x20No\x20user\x20identifier\x20available\x20or\x20no\x20connections\x20found','DyRYR','RtQcb','disls','BXwog','lovmu','ZhaiS','aFnRI','tnKUR','none','bujWE','RFhBx','QWWEg','email','fZqlB','WahTm','GcUkg','yfnaR','nspZv','⚠️\x20[USER\x20ID]\x20Invalid\x20stored\x20user\x20ID\x20found:','DkPxS','YwFlr','DrTZg','inRQt','eFBwS','Gddqk','QDIFd','bLABN','FgBDH','ydMOJ','⚠️\x20No\x20connections\x20found\x20by\x20user\x20ID','CRDBx','SAqNx','GykKf','OCoVn','iYjFO','KWAmN','⚠️\x20[DEPRECATED]\x20uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK','jnbXh'];_0x5b21=function(){return _0x5133a8;};return _0x5b21();}import{PERSONA_IMAGES}from'../utils/assetRegistry';const samImage=PERSONA_IMAGES[_0x1633(0x3c)],anandImage=PERSONA_IMAGES[_0x1633(0x3d)],chrisImage=PERSONA_IMAGES['level3'],katieImage=PERSONA_IMAGES[_0x1633(0x3e)],yanniImage=PERSONA_IMAGES[_0x1633(0x3f)],API_BASE_URL=API_CONFIG['BASE_URL'],transformAPIConnection=_0x36c074=>{const _0x5e0d18={'oljME':_0x1633(0x40),'GMGHA':function(_0x442d0,_0x3cbf27){return _0x442d0===_0x3cbf27;},'sqvfJ':function(_0x25ba1f,_0x77edca){return _0x25ba1f*_0x77edca;},'JVXie':_0x1633(0x41),'NyErt':function(_0x575cba,_0x3196a0){return _0x575cba===_0x3196a0;}};var _0x4482d0,_0x1a9c16;return console[_0x1633(0x10)](_0x5e0d18[_0x1633(0x42)],{'id':_0x36c074['id'],'name':_0x36c074[_0x1633(0x43)],'description':_0x36c074['description'],'hasPhoto':!!_0x36c074[_0x1633(0x44)],'photoLength':(_0x4482d0=_0x36c074[_0x1633(0x44)])===null||_0x5e0d18[_0x1633(0x45)](_0x4482d0,void 0x0)?void 0x0:_0x4482d0[_0x1633(0x1e)],'interests':_0x36c074[_0x1633(0x46)],'sharedPassions':_0x36c074[_0x1633(0x47)],'complementaryQualities':_0x36c074['complementaryQualities'],'compatibility':_0x36c074[_0x1633(0x48)]}),{'id':parseInt(_0x36c074['id'])||parseInt(_0x36c074[_0x1633(0x49)]||'')||_0x5e0d18[_0x1633(0x4a)](Math[_0x1633(0x4b)](),0x3e8),'name':_0x36c074[_0x1633(0x43)]||_0x1633(0x4c),'description':_0x36c074[_0x1633(0x4d)]||_0x1633(0x4e),'photo':_0x36c074[_0x1633(0x44)]||'','bio':_0x36c074['bio']||'','interests':_0x36c074[_0x1633(0x46)]||[],'mutualConnections':_0x36c074[_0x1633(0x4f)]||0x0,'compatibility':_0x36c074[_0x1633(0x48)]||0x0,'conversationStarters':_0x36c074[_0x1633(0x50)]||[_0x5e0d18[_0x1633(0x51)]],'sharedPassions':_0x36c074['sharedPassions']||[],'complementaryQualities':_0x36c074['complementaryQualities']||[],'meaningfulCoincidences':_0x36c074[_0x1633(0x52)]||[],'mutualConnectionsList':(_0x5e0d18[_0x1633(0x45)](_0x1a9c16=_0x36c074[_0x1633(0x53)],null)||_0x5e0d18['NyErt'](_0x1a9c16,void 0x0)?void 0x0:_0x1a9c16[_0x1633(0x21)](_0x4edcfd=>({'name':_0x4edcfd[_0x1633(0x43)],'photo':_0x4edcfd[_0x1633(0x44)],'context':_0x4edcfd[_0x1633(0x54)]})))||[]};};export const getUserConnectionsByUsername=async _0x2194cc=>{const _0x27e758={'kxGyQ':_0x1633(0x55),'JIWKD':_0x1633(0x56),'zATBX':function(_0x355df8,_0x29275f){return _0x355df8!==_0x29275f;},'xnzqD':_0x1633(0x57),'QbUjB':_0x1633(0x58),'YkYNx':function(_0x40062a){return _0x40062a();},'DoFLO':_0x1633(0x59),'XbKZg':_0x1633(0x5a),'kumCi':function(_0x369967,_0x305487){return _0x369967===_0x305487;},'NaDhy':function(_0x1e458b,_0x4270fa){return _0x1e458b!==_0x4270fa;},'edWpi':function(_0x2dbce8,_0x78a541){return _0x2dbce8!==_0x78a541;},'wtagX':function(_0xabda6a,_0x4e887a){return _0xabda6a>_0x4e887a;},'PyWPc':_0x1633(0x2),'rILpY':'❌\x20Error\x20fetching\x20connections\x20by\x20username:','wnQXp':_0x1633(0x5b)};try{if(_0x27e758[_0x1633(0x5c)]('NHoog',_0x27e758[_0x1633(0x5d)]))return _0x3ab938['warn'](_0x27e758[_0x1633(0x5e)]),_0x593639[_0x1633(0x17)](_0x27e758['JIWKD']),[];else{var _0x1cadec,_0x4692ad;console[_0x1633(0x10)](_0x27e758['QbUjB'],_0x2194cc);const _0x132ee5=await _0x27e758['YkYNx'](getAuthToken);if(!_0x132ee5)return console[_0x1633(0x17)](_0x27e758[_0x1633(0x5e)]),console[_0x1633(0x17)](_0x1633(0x56)),[];console[_0x1633(0x10)](_0x1633(0x5f),_0x132ee5[_0x1633(0x60)](0x0,0x14)+_0x1633(0x61));const _0x4e981a={'success':![],'message':_0x1633(0x62),'connections':[],'source':_0x27e758[_0x1633(0x63)]};console[_0x1633(0x10)](_0x27e758[_0x1633(0x64)],{'success':_0x4e981a[_0x1633(0x65)],'connectionsCount':(_0x27e758[_0x1633(0x66)](_0x1cadec=_0x4e981a[_0x1633(0x20)],null)||_0x1cadec===void 0x0?void 0x0:_0x1cadec['length'])||0x0,'source':_0x4e981a[_0x1633(0x67)],'firstConnection':_0x27e758[_0x1633(0x68)](_0x4692ad=_0x4e981a[_0x1633(0x20)],null)&&_0x27e758[_0x1633(0x69)](_0x4692ad,void 0x0)&&_0x4692ad[0x0]?{'id':_0x4e981a[_0x1633(0x20)][0x0]['id'],'name':_0x4e981a[_0x1633(0x20)][0x0][_0x1633(0x43)],'description':_0x4e981a[_0x1633(0x20)][0x0]['description']}:null});if(_0x4e981a[_0x1633(0x65)]&&_0x4e981a[_0x1633(0x20)]&&_0x27e758[_0x1633(0x6a)](_0x4e981a[_0x1633(0x20)]['length'],0x0)){const _0x185277=_0x4e981a[_0x1633(0x20)][_0x1633(0x21)](transformAPIConnection);return console[_0x1633(0x10)](_0x27e758['PyWPc'],_0x185277[_0x1633(0x1e)]),_0x185277;}return[];}}catch(_0x4068a2){return console['log'](_0x27e758[_0x1633(0x6b)],_0x4068a2),console[_0x1633(0x10)](_0x27e758[_0x1633(0x6c)],JSON[_0x1633(0x38)](_0x4068a2,Object[_0x1633(0x39)](_0x4068a2))),[];}};export const getUserConnectionsByUserId=async _0x9293ad=>{const _0x57823b={'XqbXg':_0x1633(0x8),'gBGml':_0x1633(0x6d),'PnzkN':function(_0x564dcf,_0x4b1db2){return _0x564dcf!==_0x4b1db2;},'pCXMf':_0x1633(0x6e),'IoWba':function(_0x3dd556){return _0x3dd556();},'uHRjY':'itypW','KTFQm':_0x1633(0x6f),'qHSXm':_0x1633(0x70),'SXGbJ':_0x1633(0x62),'QDETd':_0x1633(0x59),'VzFrH':_0x1633(0x71),'NpdKW':function(_0x437f9c,_0x23d4e8){return _0x437f9c===_0x23d4e8;},'uJAix':function(_0xb4f50b,_0x5e7130){return _0xb4f50b>_0x5e7130;},'mmkCy':_0x1633(0x72),'ohcDh':_0x1633(0x73),'kAMhH':_0x1633(0x74)};try{if(_0x57823b[_0x1633(0x75)](_0x57823b[_0x1633(0x76)],_0x57823b[_0x1633(0x76)]))_0x41a85f[_0x1633(0x17)](_0x57823b['XqbXg'],_0x1330e5);else{var _0x228569,_0x522a5b;console[_0x1633(0x10)]('🔍\x20Fetching\x20connections\x20for\x20userId:',_0x9293ad);const _0x1f6900=await _0x57823b['IoWba'](getAuthToken);if(!_0x1f6900){if(_0x57823b[_0x1633(0x77)]===_0x57823b[_0x1633(0x78)])_0x1b28fc[_0x1633(0x17)](_0x57823b['gBGml'],_0x53c74f);else return console[_0x1633(0x17)](_0x57823b[_0x1633(0x79)]),[];}console[_0x1633(0x10)]('✅\x20[CONNECTIONS\x20API]\x20Using\x20authenticated\x20request\x20with\x20token:',_0x1f6900[_0x1633(0x60)](0x0,0x14)+_0x1633(0x61));const _0x56486b={'success':![],'message':_0x57823b[_0x1633(0x7a)],'connections':[],'source':_0x57823b[_0x1633(0x7b)]};console[_0x1633(0x10)](_0x57823b['VzFrH'],{'success':_0x56486b[_0x1633(0x65)],'connectionsCount':(_0x57823b[_0x1633(0x7c)](_0x228569=_0x56486b['connections'],null)||_0x57823b[_0x1633(0x7c)](_0x228569,void 0x0)?void 0x0:_0x228569['length'])||0x0,'source':_0x56486b[_0x1633(0x67)],'firstConnection':(_0x522a5b=_0x56486b[_0x1633(0x20)])!==null&&_0x57823b[_0x1633(0x75)](_0x522a5b,void 0x0)&&_0x522a5b[0x0]?{'id':_0x56486b[_0x1633(0x20)][0x0]['id'],'name':_0x56486b['connections'][0x0][_0x1633(0x43)],'description':_0x56486b[_0x1633(0x20)][0x0]['description']}:null});if(_0x56486b[_0x1633(0x65)]&&_0x56486b['connections']&&_0x57823b[_0x1633(0x7d)](_0x56486b['connections'][_0x1633(0x1e)],0x0)){const _0x49f05f=_0x56486b[_0x1633(0x20)][_0x1633(0x21)](transformAPIConnection);return console[_0x1633(0x10)](_0x57823b[_0x1633(0x7e)],_0x49f05f[_0x1633(0x1e)]),_0x49f05f;}return[];}}catch(_0x987298){return console[_0x1633(0x10)](_0x57823b['ohcDh'],_0x987298),console[_0x1633(0x10)](_0x57823b['kAMhH'],JSON['stringify'](_0x987298,Object[_0x1633(0x39)](_0x987298))),[];}};export const getUserConnections=async()=>{const _0xabfff7={'nspZv':_0x1633(0x7f),'SAqNx':_0x1633(0x80),'GykKf':function(_0x431f71,_0x32851a){return _0x431f71===_0x32851a;},'WahTm':function(_0x23357b,_0x810293){return _0x23357b===_0x810293;},'KWAmN':'🔄\x20Transformed\x20connections\x20by\x20userId:','RtQcb':_0x1633(0x81),'GgYWB':function(_0x1c3b58,_0x343591){return _0x1c3b58(_0x343591);},'disls':'USER_CONNECTIONS','BXwog':_0x1633(0x82),'lovmu':_0x1633(0xb),'ZhaiS':_0x1633(0x9),'aFnRI':_0x1633(0x83),'tnKUR':_0x1633(0x84),'bujWE':function(_0x3252ab){return _0x3252ab();},'bpjDX':'🎯\x20getUserConnections\x20-\x20User\x20profile:','RFhBx':function(_0x439f54,_0x109e26){return _0x439f54!==_0x109e26;},'QWWEg':function(_0x5426a0,_0xe3ec1a){return _0x5426a0===_0xe3ec1a;},'fZqlB':function(_0x3a4dc8,_0x504d63){return _0x3a4dc8===_0x504d63;},'GcUkg':function(_0x480454,_0x327b84){return _0x480454===_0x327b84;},'kaOyF':function(_0xba424e,_0x1bac7c){return _0xba424e===_0x1bac7c;},'jUnAr':function(_0x3a8d4d,_0x12a40b){return _0x3a8d4d===_0x12a40b;},'yfnaR':_0x1633(0x85),'DkPxS':function(_0x6e9e17,_0x3204ab){return _0x6e9e17&&_0x3204ab;},'YwFlr':_0x1633(0x86),'DrTZg':_0x1633(0x87),'inRQt':_0x1633(0x88),'eFBwS':function(_0x54aaa3,_0x132787){return _0x54aaa3>_0x132787;},'UhSuc':_0x1633(0x89),'Gddqk':_0x1633(0x8a),'QDIFd':function(_0x96db4f,_0x395dfa){return _0x96db4f(_0x395dfa);},'jFvyR':function(_0x42faae,_0x567986){return _0x42faae>_0x567986;},'bLABN':'YzliW','ydMOJ':_0x1633(0x8b),'CRDBx':_0x1633(0x8c),'OCoVn':_0x1633(0x8d),'iYjFO':_0x1633(0x3)};try{if(_0xabfff7[_0x1633(0x8e)]===_0xabfff7[_0x1633(0x8e)]){await _0xabfff7['GgYWB'](ensureAuthentication,_0xabfff7[_0x1633(0x8f)]),console[_0x1633(0x10)](_0xabfff7[_0x1633(0x90)]);const _0x188d66=await AsyncStorage[_0x1633(0x24)](_0xabfff7[_0x1633(0x91)]),_0x42b0ef=await AsyncStorage[_0x1633(0x24)](_0x1633(0xe)),_0x3b670e=await AsyncStorage[_0x1633(0x24)](_0xabfff7[_0x1633(0x92)]),_0x61d94c=await AsyncStorage['getItem'](_0xabfff7[_0x1633(0x93)]);console[_0x1633(0x10)](_0xabfff7[_0x1633(0x94)],{'storedUsername':_0x188d66,'storedEmail':_0x42b0ef,'storedUserId':_0x3b670e,'hasAuthToken':!!_0x61d94c,'authTokenPreview':_0x61d94c?_0x61d94c[_0x1633(0x60)](0x0,0x14)+_0x1633(0x61):_0x1633(0x95)});const _0x450947=await _0xabfff7[_0x1633(0x96)](getUserProfile);console['log'](_0xabfff7['bpjDX'],{'hasId':!!(_0x450947!==null&&_0x450947!==void 0x0&&_0x450947['id']),'hasEmail':!!(_0x450947!==null&&_0xabfff7[_0x1633(0x97)](_0x450947,void 0x0)&&_0x450947['email']),'email':_0xabfff7[_0x1633(0x98)](_0x450947,null)||_0xabfff7[_0x1633(0x98)](_0x450947,void 0x0)?void 0x0:_0x450947[_0x1633(0x99)],'id':_0xabfff7[_0x1633(0x9a)](_0x450947,null)||_0xabfff7[_0x1633(0x9b)](_0x450947,void 0x0)?void 0x0:_0x450947['id']});let _0x5cd275=_0x450947===null||_0xabfff7[_0x1633(0x9c)](_0x450947,void 0x0)?void 0x0:_0x450947['email'],_0x349454=_0xabfff7['kaOyF'](_0x450947,null)||_0xabfff7['jUnAr'](_0x450947,void 0x0)?void 0x0:_0x450947['id'];!_0x5cd275&&_0x188d66&&(_0xabfff7[_0x1633(0x9d)]===_0xabfff7[_0x1633(0x9d)]?(console['log'](_0xabfff7[_0x1633(0x9e)],_0x188d66),_0x5cd275=_0x188d66):_0x9d1a24[_0x1633(0x17)](_0x1633(0x9f),_0x48b300));_0xabfff7[_0x1633(0xa0)](!_0x5cd275,_0x42b0ef)&&(console['log'](_0xabfff7[_0x1633(0xa1)],_0x42b0ef),_0x5cd275=_0x42b0ef);_0xabfff7[_0x1633(0xa0)](!_0x349454,_0x3b670e)&&(console[_0x1633(0x10)](_0x1633(0x0),_0x3b670e),_0x349454=_0x3b670e);console[_0x1633(0x10)](_0xabfff7[_0x1633(0xa2)],{'userEmail':_0x5cd275,'userId':_0x349454,'willTryEmail':!!_0x5cd275,'willTryUserId':!!_0x349454});if(_0x5cd275){console['log'](_0xabfff7[_0x1633(0xa3)],_0x5cd275);const _0x48c193=await getUserConnectionsByUsername(_0x5cd275);if(_0xabfff7[_0x1633(0xa4)](_0x48c193[_0x1633(0x1e)],0x0))return console[_0x1633(0x10)](_0xabfff7['UhSuc'],_0x48c193[_0x1633(0x1e)]),_0x48c193;console[_0x1633(0x10)](_0xabfff7[_0x1633(0xa5)]);}if(_0x349454){console[_0x1633(0x10)]('🎯\x20FALLBACK:\x20Attempting\x20to\x20fetch\x20connections\x20by\x20user\x20ID:',_0x349454);const _0x10058f=await _0xabfff7[_0x1633(0xa6)](getUserConnectionsByUserId,_0x349454);if(_0xabfff7['jFvyR'](_0x10058f[_0x1633(0x1e)],0x0)){if(_0xabfff7[_0x1633(0xa7)]===_0x1633(0xa8))_0x2b5e50[_0x1633(0x10)](_0xabfff7['nspZv'],_0x4be8a3),_0x318acc=_0x20503c;else return console[_0x1633(0x10)](_0xabfff7[_0x1633(0xa9)],_0x10058f[_0x1633(0x1e)]),_0x10058f;}console[_0x1633(0x10)](_0x1633(0xaa));}return console[_0x1633(0x10)](_0xabfff7[_0x1633(0xab)]),[];}else _0x78f552[_0x1633(0x17)](_0xabfff7[_0x1633(0xac)],_0xabfff7[_0x1633(0xad)](_0x5b9278,null)||_0xabfff7[_0x1633(0x9b)](_0x24ac46,void 0x0)?void 0x0:_0x25b55f['id']);}catch(_0xb8faa7){if(_0xabfff7['OCoVn']===_0xabfff7[_0x1633(0xae)])return console[_0x1633(0x10)](_0xabfff7[_0x1633(0xaf)],_0xb8faa7),[];else{const _0x11fcc2=_0x4e8cd0[_0x1633(0x20)][_0x1633(0x21)](_0x2fd0c9);return _0x131135['log'](_0xabfff7[_0x1633(0xb0)],_0x11fcc2[_0x1633(0x1e)]),_0x11fcc2;}}};export const uploadProfilePicture=async(_0x3e8d1f,_0x1b7852)=>{const _0x22f63b={'TZNJN':_0x1633(0xb1),'jnbXh':'ℹ️\x20Consuming\x20apps\x20should\x20call\x20/enoch/users/{id}/profile-picture/base64\x20directly','mUNMi':'uploadProfilePicture\x20has\x20been\x20removed\x20from\x20SDK.\x20Consuming\x20apps\x20should\x20call\x20the\x20Enoch\x20API\x20directly.'};return console['warn'](_0x22f63b['TZNJN']),console[_0x1633(0x17)](_0x22f63b[_0x1633(0xb2)]),{'success':![],'error':_0x22f63b['mUNMi']};};
@@ -1 +1 @@
1
- import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x27fc(0x0),IOS_CLIENT_ID=_0x27fc(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x368ffa={'FzBDW':_0x27fc(0x1),'iIGcx':_0x27fc(0x2),'HfuAE':'profile'};GoogleSignin[_0x27fc(0x3)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x368ffa[_0x27fc(0x4)],_0x368ffa['iIGcx'],_0x368ffa[_0x27fc(0x5)],_0x27fc(0x6)],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0xde80f5=>{const _0x41427e={'vOxTy':_0x27fc(0x7),'HxDJs':_0x27fc(0x8),'hDYKr':_0x27fc(0x9),'CwpFb':function(_0x3d3de2,_0x247e98){return _0x3d3de2(_0x247e98);},'iMvGS':_0x27fc(0xa),'GPmvv':_0x27fc(0xb),'eGYtL':'To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','nVZsQ':_0x27fc(0xc),'WeJAV':'default','ojdFE':function(_0x447e12,_0x6a28ee){return _0x447e12===_0x6a28ee;},'xlMlO':_0x27fc(0xd),'rSwFJ':function(_0x11c651,_0x12cfba){return _0x11c651===_0x12cfba;},'sJvqO':function(_0x4706fc,_0x4d3f5b){return _0x4706fc===_0x4d3f5b;},'FjYln':function(_0x3aea36,_0x54b7db){return _0x3aea36===_0x54b7db;},'uAcHx':'temporary\x20access\x20token\x20mode','pDLza':function(_0x49e721,_0x1d7a54){return _0x49e721===_0x1d7a54;},'gEMEs':function(_0x524dc9,_0x13141c){return _0x524dc9!==_0x13141c;},'jFcwk':_0x27fc(0xe),'jgHAR':_0x27fc(0xf),'DWhwx':_0x27fc(0x10),'EVSey':_0x27fc(0x11),'snekj':function(_0x440be1,_0x5b5a51){return _0x440be1===_0x5b5a51;},'tKcmg':'❌\x20Error\x20checking\x20YouTube\x20migration\x20status:'};try{if(_0x41427e[_0x27fc(0x12)](_0x41427e['xlMlO'],_0x27fc(0x13)))return _0x5a15b5['error'](_0x41427e[_0x27fc(0x14)],_0x22cc66),![];else{const _0x1d7eb2=await _0x41427e[_0x27fc(0x15)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0xde80f5),_0x2280c0=await _0x1d7eb2[_0x27fc(0x18)]();if(_0x2280c0['success']&&_0x2280c0['validation']){var _0x56cef5,_0xf86711,_0x211923;const _0x3bf4b0=((_0x56cef5=_0x2280c0[_0x27fc(0x19)])===null||_0x41427e[_0x27fc(0x1a)](_0x56cef5,void 0x0)?void 0x0:_0x56cef5[_0x27fc(0x1b)])===!![]||_0x41427e['sJvqO'](_0x41427e[_0x27fc(0x1a)](_0xf86711=_0x2280c0[_0x27fc(0x1c)],null)||_0xf86711===void 0x0?void 0x0:_0xf86711['enabled'],!![])||_0x41427e[_0x27fc(0x1d)](_0x2280c0[_0x27fc(0x1b)],!![])||_0x2280c0[_0x27fc(0x1e)]&&_0x2280c0['message'][_0x27fc(0x1f)](_0x41427e[_0x27fc(0x20)]),_0x2fa0e7=_0x2280c0[_0x27fc(0x19)][_0x27fc(0x21)],_0x409ef5=_0x2280c0[_0x27fc(0x19)][_0x27fc(0x22)];console[_0x27fc(0x23)]('🔍\x20YouTube\x20migration\x20check:',{'username':_0xde80f5,'needsReconnection':_0x2fa0e7,'hasRefreshToken':_0x409ef5,'isTemporaryMode':_0x3bf4b0,'temporaryModeEnabled':_0x41427e[_0x27fc(0x1d)](_0x211923=_0x2280c0[_0x27fc(0x1c)],null)||_0x41427e['pDLza'](_0x211923,void 0x0)?void 0x0:_0x211923[_0x27fc(0x24)],'message':_0x2280c0[_0x27fc(0x1e)]});if(_0x3bf4b0)return _0x41427e[_0x27fc(0x25)](_0x41427e[_0x27fc(0x26)],_0x27fc(0xe))?(_0x5c5425['error'](_0x41427e['HxDJs'],_0x2f4e88),{'isReady':![],'mode':_0x41427e[_0x27fc(0x27)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x44e664 instanceof _0x3c8ce3?_0x1dcc9e['message']:_0x41427e['CwpFb'](_0x2c5d59,_0x57642d)}}):(console[_0x27fc(0x23)](_0x27fc(0x28)),console[_0x27fc(0x23)](_0x41427e['jgHAR']),![]);else{if(_0x2fa0e7){if(_0x41427e[_0x27fc(0x1a)](_0x41427e['DWhwx'],_0x41427e[_0x27fc(0x29)]))return console[_0x27fc(0x23)](_0x41427e['EVSey']),!![];else _0x43f4be[_0x27fc(0x23)](_0x41427e[_0x27fc(0x2a)]);}else{if(_0x41427e[_0x27fc(0x2b)](_0x27fc(0x2c),_0x27fc(0x2d)))Alert['alert'](_0x41427e[_0x27fc(0x2e)],_0x41427e[_0x27fc(0x2f)],[{'text':_0x27fc(0x30),'style':_0x41427e['nVZsQ'],'onPress':()=>_0x23e39c(![])},{'text':_0x27fc(0x31),'style':_0x41427e[_0x27fc(0x32)],'onPress':()=>_0x232d4b(!![])}]);else return console[_0x27fc(0x23)](_0x27fc(0x33)),![];}}}return![];}}catch(_0x1156c5){return console[_0x27fc(0x34)](_0x41427e[_0x27fc(0x35)],_0x1156c5),![];}};export const getYouTubeConnectionStatus=async _0x39b571=>{const _0xe86961={'AKchg':function(_0x570cb5,_0x13c94c){return _0x570cb5(_0x13c94c);},'UHnME':_0x27fc(0x36),'ovIDu':function(_0x1204d,_0x2b7d7f){return _0x1204d===_0x2b7d7f;},'MTiYg':function(_0x59338a,_0x12a7ff){return _0x59338a===_0x12a7ff;},'VVEJC':function(_0x483b2b,_0x202a4b){return _0x483b2b===_0x202a4b;},'hYoYD':function(_0x2ed2ef,_0x583268){return _0x2ed2ef===_0x583268;},'gkjuU':_0x27fc(0x37),'LSErU':_0x27fc(0x38),'wLZXB':_0x27fc(0x39),'ByZmb':'temporary','QFsiH':_0x27fc(0x3a),'ObDVL':_0x27fc(0x3b),'MInRK':'⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','bLVvZ':_0x27fc(0x3c),'WDwhf':'❓\x20YouTube\x20connection\x20status\x20unclear','bElkF':_0x27fc(0x3d),'cpRcc':_0x27fc(0x8),'lCbLP':_0x27fc(0x9),'XxsDi':function(_0x402aab,_0x2d883b){return _0x402aab(_0x2d883b);}};try{const _0xb14b34=await _0xe86961[_0x27fc(0x3e)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0x39b571),_0x4fa6d4=await _0xb14b34['json']();console['log'](_0xe86961[_0x27fc(0x3f)],_0x4fa6d4);if(_0x4fa6d4[_0x27fc(0x40)]&&_0x4fa6d4[_0x27fc(0x19)]){var _0x34f71c,_0x281a44;const _0x5a0a2c=(_0xe86961['ovIDu'](_0x34f71c=_0x4fa6d4[_0x27fc(0x19)],null)||_0xe86961[_0x27fc(0x41)](_0x34f71c,void 0x0)?void 0x0:_0x34f71c[_0x27fc(0x1b)])===!![]||_0xe86961[_0x27fc(0x41)](_0xe86961[_0x27fc(0x42)](_0x281a44=_0x4fa6d4[_0x27fc(0x1c)],null)||_0xe86961[_0x27fc(0x41)](_0x281a44,void 0x0)?void 0x0:_0x281a44[_0x27fc(0x24)],!![])||_0xe86961['hYoYD'](_0x4fa6d4[_0x27fc(0x1b)],!![])||_0x4fa6d4[_0x27fc(0x1e)]&&_0x4fa6d4[_0x27fc(0x1e)]['includes'](_0xe86961['gkjuU']),_0x48dd0b=_0xe86961[_0x27fc(0x41)](_0x4fa6d4[_0x27fc(0x19)][_0x27fc(0x22)],!![]),_0x315607=_0x4fa6d4[_0x27fc(0x19)][_0x27fc(0x21)]===!![];if(_0x5a0a2c)return console[_0x27fc(0x23)](_0xe86961['LSErU']),console['log'](_0xe86961['wLZXB']),{'isReady':!![],'mode':_0xe86961[_0x27fc(0x43)],'needsMigration':![],'trainingReady':!![],'details':_0x4fa6d4};else{if(_0x48dd0b)return console[_0x27fc(0x23)](_0xe86961[_0x27fc(0x44)]),{'isReady':!![],'mode':_0xe86961[_0x27fc(0x45)],'needsMigration':![],'trainingReady':!![],'details':_0x4fa6d4};else return _0x315607?(console[_0x27fc(0x23)](_0xe86961['MInRK']),{'isReady':![],'mode':_0xe86961[_0x27fc(0x46)],'needsMigration':!![],'trainingReady':![],'details':_0x4fa6d4}):(console[_0x27fc(0x23)](_0xe86961[_0x27fc(0x47)]),{'isReady':![],'mode':_0x27fc(0x9),'needsMigration':![],'trainingReady':![],'details':_0x4fa6d4});}}return console['log'](_0xe86961['bElkF']),{'isReady':![],'mode':_0x27fc(0x9),'needsMigration':![],'trainingReady':![],'details':_0x4fa6d4};}catch(_0x49f306){return console[_0x27fc(0x34)](_0xe86961[_0x27fc(0x48)],_0x49f306),{'isReady':![],'mode':_0xe86961[_0x27fc(0x49)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x49f306 instanceof Error?_0x49f306[_0x27fc(0x1e)]:_0xe86961[_0x27fc(0x4a)](String,_0x49f306)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x1b61f3={'wFeou':_0x27fc(0xb),'mVshJ':'To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','TNkPD':_0x27fc(0x30),'xTpSX':_0x27fc(0xc),'GNXwr':_0x27fc(0x31),'eKVVF':_0x27fc(0x4b)};return new Promise(_0x9ef860=>{Alert[_0x27fc(0x4c)](_0x1b61f3['wFeou'],_0x1b61f3[_0x27fc(0x4d)],[{'text':_0x1b61f3[_0x27fc(0x4e)],'style':_0x1b61f3[_0x27fc(0x4f)],'onPress':()=>_0x9ef860(![])},{'text':_0x1b61f3[_0x27fc(0x50)],'style':_0x1b61f3[_0x27fc(0x51)],'onPress':()=>_0x9ef860(!![])}]);});},forceYouTubeReconnection=async _0x606e7c=>{const _0x5f2816={'ufeID':_0x27fc(0x52),'Vjoli':_0x27fc(0x53),'YXrZQ':'default','FtPCX':_0x27fc(0x38),'NDDxu':_0x27fc(0x54),'UTjZv':function(_0x5cdd29,_0x9b6b9b){return _0x5cdd29===_0x9b6b9b;},'glDma':function(_0x2292fe,_0xf9256a){return _0x2292fe===_0xf9256a;},'kdjlB':function(_0x5c7589,_0x2e7f0d){return _0x5c7589===_0x2e7f0d;},'fnHFo':function(_0x586dc0,_0x4dd2d3){return _0x586dc0===_0x4dd2d3;},'KfUsK':_0x27fc(0x55),'Vjhwy':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','xdeOm':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','yLTdp':_0x27fc(0x56),'BGATO':_0x27fc(0x57),'HmfMh':_0x27fc(0xa),'SExLe':'🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','RvgPb':'Server\x20auth\x20code\x20from\x20sign-in','khQtx':function(_0x11a553,_0xfc471a){return _0x11a553!==_0xfc471a;},'jDcHs':_0x27fc(0x58),'AQxVu':'Available','SaSCr':'MISSING!','LbbfT':function(_0x1b4b62,_0x1325dd){return _0x1b4b62===_0x1325dd;},'ptnbO':function(_0x483cce,_0x219382){return _0x483cce!==_0x219382;},'QbPMh':_0x27fc(0x59),'ieemN':_0x27fc(0x5a),'wyUXe':_0x27fc(0x5b),'roijM':_0x27fc(0x5c),'JLcVh':_0x27fc(0x5d),'BDpsD':function(_0x54cce8,_0x2931b8){return _0x54cce8+_0x2931b8;},'ApdCe':_0x27fc(0x5e),'LeDaM':'🔑\x20Refresh\x20token\x20source:','quxdf':_0x27fc(0x5f),'yHVHa':_0x27fc(0x60),'sfRjt':_0x27fc(0x61),'qrKkJ':_0x27fc(0x62),'XVxQs':'youtube','nriMw':_0x27fc(0x63),'YaTWY':function(_0x467a5a,_0x1ef29c){return _0x467a5a===_0x1ef29c;},'GxWAJ':function(_0x4ac6f2,_0x4d91b0){return _0x4ac6f2===_0x4d91b0;},'gmZCF':_0x27fc(0x64),'aqmDp':function(_0x5adf7c,_0x4c0149,_0x2ba843){return _0x5adf7c(_0x4c0149,_0x2ba843);},'cEIHg':_0x27fc(0x65),'Ofkxr':function(_0x341507,_0x183e76){return _0x341507!==_0x183e76;},'JFlnL':'PfVEq','IYQVB':_0x27fc(0x66),'ctjuZ':'✅\x20YouTube\x20migration\x20successful','zkDFo':function(_0x26fe5a,_0x5bc79d,_0x4849b0){return _0x26fe5a(_0x5bc79d,_0x4849b0);},'oebbe':function(_0x4ac19a,_0x1339a3){return _0x4ac19a!==_0x1339a3;},'BsIeL':_0x27fc(0x67),'JHUcQ':_0x27fc(0x68),'ShfbY':_0x27fc(0x69),'TuqOg':function(_0x55f968,_0x52ca81,_0x38ad87,_0x140262){return _0x55f968(_0x52ca81,_0x38ad87,_0x140262);},'IhcNE':'DMYlT','CbcEd':'❌\x20YouTube\x20migration\x20failed:','YKioX':function(_0x2222cd,_0x3dc3dc,_0x300138,_0x7adf72){return _0x2222cd(_0x3dc3dc,_0x300138,_0x7adf72);},'MMMoy':function(_0x14eb55,_0x4c2c7b){return _0x14eb55 instanceof _0x4c2c7b;},'jQrcb':'Unknown\x20error'};try{var _0x157ea0,_0x115c4c,_0x498650,_0xf0d1f9;console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x6a)],_0x606e7c),configureGoogleSignInForRefreshTokens(),await GoogleSignin[_0x27fc(0x6b)](),console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x6c)]);try{const _0x54a3b5=await GoogleSignin[_0x27fc(0x6d)]();_0x54a3b5[_0x27fc(0x6e)]&&(await GoogleSignin[_0x27fc(0x6f)](_0x54a3b5[_0x27fc(0x6e)]),console['log'](_0x27fc(0x70)));}catch(_0xb9e11d){_0x27fc(0x71)==='pypup'?(_0x4799fd=_0x29a215['serverAuthCode'],_0x19161a=_0x5f2816[_0x27fc(0x72)]):console['log'](_0x5f2816['HmfMh']);}await GoogleSignin[_0x27fc(0x73)](),console['log'](_0x5f2816[_0x27fc(0x74)]);const _0x3e6e0a=await GoogleSignin[_0x27fc(0x75)](),_0x4be470=await GoogleSignin[_0x27fc(0x6d)](),_0xb33d04=await GoogleSignin[_0x27fc(0x76)]();let _0x1239ea=null,_0x3b9171=_0x27fc(0x77);if(_0x3e6e0a['serverAuthCode'])_0x1239ea=_0x3e6e0a[_0x27fc(0x78)],_0x3b9171=_0x5f2816['RvgPb'];else _0x5f2816[_0x27fc(0x79)](_0xb33d04,null)&&_0x5f2816[_0x27fc(0x79)](_0xb33d04,void 0x0)&&_0xb33d04[_0x27fc(0x78)]&&(_0x1239ea=_0xb33d04['serverAuthCode'],_0x3b9171=_0x5f2816[_0x27fc(0x72)]);console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x7a)],{'hasAccessToken':!!_0x4be470[_0x27fc(0x6e)],'hasIdToken':!!_0x4be470[_0x27fc(0x7b)],'hasServerAuthCode':!!_0x3e6e0a[_0x27fc(0x78)],'hasCurrentUserAuthCode':!!(_0x5f2816[_0x27fc(0x79)](_0xb33d04,null)&&_0xb33d04!==void 0x0&&_0xb33d04['serverAuthCode']),'refreshTokenSource':_0x3b9171,'finalRefreshToken':_0x1239ea?_0x5f2816[_0x27fc(0x7c)]:_0x5f2816['SaSCr'],'userEmail':_0x5f2816[_0x27fc(0x7d)](_0x157ea0=_0x3e6e0a['user'],null)||_0x157ea0===void 0x0?void 0x0:_0x157ea0[_0x27fc(0x6)]});if(!_0x1239ea){if(_0x5f2816[_0x27fc(0x7e)](_0x5f2816[_0x27fc(0x7f)],_0x5f2816[_0x27fc(0x7f)]))return Alert[_0x27fc(0x4c)](_0x27fc(0x80),_0x27fc(0x81),[{'text':_0x5f2816[_0x27fc(0x82)],'style':_0x5f2816[_0x27fc(0x83)]}]),!![];else{const _0xccc4fd=_0x5f2816['ieemN']['split']('|');let _0x27062b=0x0;while(!![]){switch(_0xccc4fd[_0x27062b++]){case'0':console['error']('❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect');continue;case'1':console[_0x27fc(0x34)](_0x27fc(0x84));continue;case'2':return![];case'3':console[_0x27fc(0x34)](_0x27fc(0x85));continue;case'4':console[_0x27fc(0x34)](_0x5f2816['wyUXe']);continue;case'5':console['error'](_0x5f2816[_0x27fc(0x86)]);continue;}break;}}}console['log'](_0x5f2816[_0x27fc(0x87)],_0x5f2816[_0x27fc(0x88)](_0x1239ea['substring'](0x0,0x14),_0x5f2816[_0x27fc(0x89)])),console['log'](_0x5f2816[_0x27fc(0x8a)],_0x3b9171);let _0x3321b5=await AsyncStorage['getItem'](_0x5f2816[_0x27fc(0x8b)])||await AsyncStorage['getItem'](_0x5f2816[_0x27fc(0x8c)])||await AsyncStorage['getItem']('auth_token');!_0x3321b5&&(console[_0x27fc(0x8d)](_0x5f2816[_0x27fc(0x8e)]),_0x3321b5=_0x5f2816[_0x27fc(0x8f)]);const _0x5d8f2d={'session':{'username':_0x606e7c,'platform':_0x5f2816[_0x27fc(0x90)],'channelName':(_0x5f2816[_0x27fc(0x7d)](_0x115c4c=_0x3e6e0a['user'],null)||_0x115c4c===void 0x0?void 0x0:_0x115c4c['name'])||_0x5f2816['nriMw'],'channelId':null},'googleUser':_0x3e6e0a[_0x27fc(0x91)],'accessToken':_0x4be470[_0x27fc(0x6e)],'idToken':_0x4be470[_0x27fc(0x7b)],'refreshToken':_0x1239ea,'serverAuthCode':_0x3e6e0a['serverAuthCode'],'userAccountInfo':{'username':_0x606e7c,'email':_0x5f2816[_0x27fc(0x92)](_0x498650=_0x3e6e0a['user'],null)||_0x5f2816[_0x27fc(0x93)](_0x498650,void 0x0)?void 0x0:_0x498650['email'],'authToken':_0x3321b5,'channelName':(_0x5f2816[_0x27fc(0x93)](_0xf0d1f9=_0x3e6e0a[_0x27fc(0x91)],null)||_0x5f2816['GxWAJ'](_0xf0d1f9,void 0x0)?void 0x0:_0xf0d1f9[_0x27fc(0x94)])||_0x5f2816[_0x27fc(0x95)],'channelId':null}};console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x96)]);const _0x32e347=await _0x5f2816[_0x27fc(0x97)](fetch,API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x98),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x5f2816[_0x27fc(0x99)],..._0x5f2816[_0x27fc(0x79)](_0x3321b5,_0x5f2816['qrKkJ'])&&{'Authorization':_0x27fc(0x9a)+_0x3321b5}},'body':JSON[_0x27fc(0x9b)](_0x5d8f2d)}),_0xb3c206=await _0x32e347[_0x27fc(0x18)]();return _0xb3c206[_0x27fc(0x40)]?_0x5f2816['Ofkxr'](_0x5f2816['JFlnL'],_0x5f2816[_0x27fc(0x9c)])?(console[_0x27fc(0x23)](_0x5f2816[_0x27fc(0x9d)]),await _0x5f2816[_0x27fc(0x9e)](trackMigrationAttempt,_0x606e7c,!![]),!![]):(_0x30ca85[_0x27fc(0x23)](_0x5f2816['FtPCX']),_0x4bf33f['log'](_0x27fc(0x39)),{'isReady':!![],'mode':'temporary','needsMigration':![],'trainingReady':!![],'details':_0x5c01f3}):_0x5f2816[_0x27fc(0x9f)](_0x5f2816[_0x27fc(0xa0)],_0x5f2816[_0x27fc(0xa1)])?(console[_0x27fc(0x34)](_0x5f2816['ShfbY'],_0xb3c206[_0x27fc(0x34)]),await _0x5f2816[_0x27fc(0xa2)](trackMigrationAttempt,_0x606e7c,![],_0xb3c206[_0x27fc(0x34)]),![]):(Alert[_0x27fc(0x4c)](_0x27fc(0xa3),_0x5f2816[_0x27fc(0xa4)],[{'text':'OK','style':_0x5f2816[_0x27fc(0x83)]}]),![]);}catch(_0x45627b){if(_0x27fc(0xa5)===_0x5f2816['IhcNE'])return console['error'](_0x5f2816[_0x27fc(0xa6)],_0x45627b),await _0x5f2816[_0x27fc(0xa7)](trackMigrationAttempt,_0x606e7c,![],_0x5f2816[_0x27fc(0xa8)](_0x45627b,Error)?_0x45627b[_0x27fc(0x1e)]:_0x5f2816[_0x27fc(0xa9)]),![];else{var _0x3e9a49,_0x33092b;const _0x237081=_0x5f2816[_0x27fc(0xaa)](_0x5f2816[_0x27fc(0x93)](_0x3e9a49=_0x259256[_0x27fc(0x19)],null)||_0x5f2816['glDma'](_0x3e9a49,void 0x0)?void 0x0:_0x3e9a49[_0x27fc(0x1b)],!![])||_0x5f2816['kdjlB'](_0x5f2816[_0x27fc(0xab)](_0x33092b=_0x1cf596[_0x27fc(0x1c)],null)||_0x33092b===void 0x0?void 0x0:_0x33092b['enabled'],!![])||_0x5f2816[_0x27fc(0xaa)](_0x4e3c4c[_0x27fc(0x1b)],!![]),_0x3c60c5=_0x5f2816[_0x27fc(0xac)](_0x10c1d6['validation'][_0x27fc(0xad)],!![]),_0x375271=_0x59116b[_0x27fc(0x19)][_0x27fc(0x22)]===!![],_0x272ca4=_0x5f2816[_0x27fc(0xac)](_0x3eea42[_0x27fc(0x19)][_0x27fc(0x21)],!![]);_0x45f0c3['log'](_0x5f2816[_0x27fc(0xae)],{'username':_0x36791c,'hasAccessToken':_0x3c60c5,'hasRefreshToken':_0x375271,'needsReconnection':_0x272ca4,'isTemporaryMode':_0x237081,'connectedAt':_0x89aae3[_0x27fc(0x19)][_0x27fc(0xaf)]});if(_0x237081)return _0xd8d3f6['log'](_0x27fc(0xb0)),![];else return _0x3c60c5&&!_0x375271&&_0x272ca4?(_0x184bfe['log'](_0x5f2816[_0x27fc(0xb1)]),!![]):(_0x5ab05b[_0x27fc(0x23)](_0x5f2816['xdeOm']),![]);}}},trackMigrationAttempt=async(_0x308eb9,_0x1c0509,_0x3c616e)=>{const _0x131fb6={'iGXYn':function(_0x5d21fd,_0x2a9311){return _0x5d21fd===_0x2a9311;},'VfDlv':function(_0x54f6f7,_0x5b8d1e){return _0x54f6f7===_0x5b8d1e;},'CWTed':_0x27fc(0x37),'iKTtc':function(_0x28ee48,_0x289ecc){return _0x28ee48===_0x289ecc;},'ofibq':_0x27fc(0xf),'pMrQn':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','nykcG':'✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','zKQHI':function(_0x4c0b38,_0x44c320,_0x5cd24c){return _0x4c0b38(_0x44c320,_0x5cd24c);},'PbItx':function(_0xe54fbf,_0x1ccda2){return _0xe54fbf||_0x1ccda2;},'YdNCe':function(_0x5dd7d6,_0x3168f1){return _0x5dd7d6===_0x3168f1;},'eOElD':_0x27fc(0xb2),'CPPar':_0x27fc(0xb3)};try{await _0x131fb6[_0x27fc(0xb4)](fetch,API_CONFIG['BASE_URL']+_0x27fc(0xb5),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x27fc(0x9b)]({'username':_0x308eb9,'success':_0x1c0509,'error':_0x131fb6['PbItx'](_0x3c616e,null),'timestamp':new Date()['toISOString']()})});}catch(_0x3cbdea){if(_0x131fb6[_0x27fc(0xb6)](_0x27fc(0xb2),_0x131fb6['eOElD']))console[_0x27fc(0x34)](_0x131fb6[_0x27fc(0xb7)],_0x3cbdea);else{var _0x2286a1,_0x10f69f,_0x4bfb12;const _0x256456=((_0x2286a1=_0x355e2d['validation'])===null||_0x131fb6[_0x27fc(0xb8)](_0x2286a1,void 0x0)?void 0x0:_0x2286a1['isTemporaryMode'])===!![]||_0x131fb6['VfDlv'](_0x131fb6[_0x27fc(0xb9)](_0x10f69f=_0x4e24b2[_0x27fc(0x1c)],null)||_0x10f69f===void 0x0?void 0x0:_0x10f69f[_0x27fc(0x24)],!![])||_0x2e2e66[_0x27fc(0x1b)]===!![]||_0x527b84[_0x27fc(0x1e)]&&_0x4c500d[_0x27fc(0x1e)][_0x27fc(0x1f)](_0x131fb6[_0x27fc(0xba)]),_0x47f9a6=_0x539687[_0x27fc(0x19)][_0x27fc(0x21)],_0x58f0cd=_0x208f37[_0x27fc(0x19)][_0x27fc(0x22)];_0x363488['log']('🔍\x20YouTube\x20migration\x20check:',{'username':_0x3019e3,'needsReconnection':_0x47f9a6,'hasRefreshToken':_0x58f0cd,'isTemporaryMode':_0x256456,'temporaryModeEnabled':_0x131fb6[_0x27fc(0xb9)](_0x4bfb12=_0x17a817['temporaryMode'],null)||_0x131fb6[_0x27fc(0xbb)](_0x4bfb12,void 0x0)?void 0x0:_0x4bfb12['enabled'],'message':_0x33add0[_0x27fc(0x1e)]});if(_0x256456)return _0x382952[_0x27fc(0x23)]('🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly'),_0x48069f[_0x27fc(0x23)](_0x131fb6['ofibq']),![];else return _0x47f9a6?(_0x799566[_0x27fc(0x23)](_0x131fb6[_0x27fc(0xbc)]),!![]):(_0x172397[_0x27fc(0x23)](_0x131fb6[_0x27fc(0xbd)]),![]);}}};export const shouldShowYouTubeMigrationWarning=async _0x460e31=>{const _0x1f6401={'yeokm':_0x27fc(0xbe),'ovadz':_0x27fc(0xb),'mDSIq':_0x27fc(0x30),'HIAcf':_0x27fc(0xc),'NDGuk':_0x27fc(0x31),'SxJbA':_0x27fc(0xbf),'fYUeO':function(_0x13a339,_0x21b69b){return _0x13a339!==_0x21b69b;},'RCVob':'kjfnB','CNcsX':function(_0x5da2e2,_0x2e7b3f){return _0x5da2e2===_0x2e7b3f;},'DpxFc':function(_0x338b74,_0x4151a4){return _0x338b74===_0x4151a4;},'ABCHx':function(_0x8baf44,_0x282c28){return _0x8baf44===_0x282c28;},'SJAty':function(_0x28a0d0,_0x42bb9c){return _0x28a0d0===_0x42bb9c;},'suHBA':function(_0xce2b3f,_0x5a1bb3){return _0xce2b3f===_0x5a1bb3;},'fDHOT':_0x27fc(0xc0),'NxElx':_0x27fc(0xb0),'gcvdr':function(_0x2f54f9,_0x34d3d4){return _0x2f54f9&&_0x34d3d4;},'xJDJD':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','LWBnH':'WqNtZ','PonGB':_0x27fc(0xc1),'iVSws':'ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','eMcuG':_0x27fc(0x7)};try{console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xc2)],_0x460e31);const _0x424d4d=await fetch(API_CONFIG[_0x27fc(0x16)]+_0x27fc(0x17)+_0x460e31),_0x255295=await _0x424d4d[_0x27fc(0x18)]();if(_0x255295['success']&&_0x255295[_0x27fc(0x19)]){if(_0x1f6401[_0x27fc(0xc3)](_0x1f6401['RCVob'],_0x27fc(0xc4)))return _0x2ca935[_0x27fc(0x23)](_0x27fc(0xc1)),![];else{var _0x2e787f,_0x53d342;const _0x14954d=_0x1f6401[_0x27fc(0xc5)](_0x1f6401[_0x27fc(0xc6)](_0x2e787f=_0x255295[_0x27fc(0x19)],null)||_0x1f6401[_0x27fc(0xc7)](_0x2e787f,void 0x0)?void 0x0:_0x2e787f[_0x27fc(0x1b)],!![])||_0x1f6401[_0x27fc(0xc7)]((_0x53d342=_0x255295[_0x27fc(0x1c)])===null||_0x1f6401['ABCHx'](_0x53d342,void 0x0)?void 0x0:_0x53d342[_0x27fc(0x24)],!![])||_0x1f6401[_0x27fc(0xc5)](_0x255295[_0x27fc(0x1b)],!![]),_0x10b492=_0x1f6401['SJAty'](_0x255295[_0x27fc(0x19)][_0x27fc(0xad)],!![]),_0x474c0e=_0x1f6401[_0x27fc(0xc8)](_0x255295[_0x27fc(0x19)]['hasRefreshToken'],!![]),_0x2fda97=_0x1f6401['suHBA'](_0x255295[_0x27fc(0x19)][_0x27fc(0x21)],!![]);console[_0x27fc(0x23)](_0x27fc(0x55),{'username':_0x460e31,'hasAccessToken':_0x10b492,'hasRefreshToken':_0x474c0e,'needsReconnection':_0x2fda97,'isTemporaryMode':_0x14954d,'connectedAt':_0x255295['validation'][_0x27fc(0xaf)]});if(_0x14954d)return _0x1f6401[_0x27fc(0xc3)](_0x27fc(0xc9),_0x1f6401['fDHOT'])?(console[_0x27fc(0x23)](_0x1f6401['NxElx']),![]):(_0x5e4255[_0x27fc(0x34)](_0x1f6401['yeokm'],_0x2e742c),![]);else{if(_0x1f6401[_0x27fc(0xca)](_0x10b492,!_0x474c0e)&&_0x2fda97)return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xcb)]),!![];else{if(_0x1f6401['LWBnH']===_0x27fc(0xcc)){const _0x5688d3={'VrFZe':_0x1f6401[_0x27fc(0xcd)],'rqvUn':'To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','fpKWp':_0x1f6401[_0x27fc(0xce)],'VRQGa':_0x1f6401[_0x27fc(0xcf)],'DmkaX':_0x1f6401[_0x27fc(0xd0)]};return new _0x5d2235(_0x5779b2=>{Alert[_0x27fc(0x4c)](_0x5688d3[_0x27fc(0xd1)],_0x5688d3[_0x27fc(0xd2)],[{'text':_0x5688d3[_0x27fc(0xd3)],'style':_0x5688d3[_0x27fc(0xd4)],'onPress':()=>_0x5779b2(![])},{'text':_0x5688d3[_0x27fc(0xd5)],'style':_0x27fc(0x4b),'onPress':()=>_0x5779b2(!![])}]);});}else return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xd6)]),![];}}}}return console[_0x27fc(0x23)](_0x1f6401[_0x27fc(0xd7)]),![];}catch(_0x18deac){return console[_0x27fc(0x34)](_0x1f6401[_0x27fc(0xd8)],_0x18deac),![];}};function _0x27fc(_0x51d741,_0x27fcd9){_0x51d741=_0x51d741-0x0;const _0x545e11=_0x51d7();let _0x43afb4=_0x545e11[_0x51d741];return _0x43afb4;}export const checkAndFixYouTubeConnection=async _0x4a0673=>{const _0x31b297={'JfXjW':_0x27fc(0x11),'PRFps':_0x27fc(0xd9),'wtJST':function(_0x1de97a,_0xdddb17){return _0x1de97a(_0xdddb17);},'ZDjtT':_0x27fc(0xda),'xIVNc':_0x27fc(0xdb),'CJmMx':_0x27fc(0xdc),'chREc':function(_0x266fc8){return _0x266fc8();},'BQIgF':_0x27fc(0xdd),'QAtBO':function(_0x66bd58,_0x3a65b4){return _0x66bd58!==_0x3a65b4;},'iFKiH':'Psoiy','nlbKi':_0x27fc(0x81),'qHkdY':_0x27fc(0x53),'DEkLN':_0x27fc(0xa3),'VLzwK':'default','jJShO':_0x27fc(0xbe)};try{console[_0x27fc(0x23)](_0x31b297['PRFps'],_0x4a0673);const _0x3a23c3=await _0x31b297[_0x27fc(0xde)](shouldShowYouTubeMigrationWarning,_0x4a0673);if(!_0x3a23c3)return console[_0x27fc(0x23)](_0x27fc(0xdf)),console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe0)]),!![];const _0x3b03bb=await _0x31b297[_0x27fc(0xde)](checkYouTubeMigrationNeeded,_0x4a0673);if(!_0x3b03bb)return console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe1)]),!![];console[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe2)]);const _0x46615a=await _0x31b297[_0x27fc(0xe3)](showYouTubeMigrationPrompt);if(!_0x46615a)return console['log'](_0x31b297[_0x27fc(0xe4)]),![];const _0x32a587=await forceYouTubeReconnection(_0x4a0673);return _0x32a587?_0x31b297['QAtBO'](_0x31b297[_0x27fc(0xe5)],_0x31b297[_0x27fc(0xe5)])?(_0x227128[_0x27fc(0x23)](_0x31b297[_0x27fc(0xe6)]),!![]):(Alert[_0x27fc(0x4c)](_0x27fc(0x80),_0x31b297['nlbKi'],[{'text':_0x31b297[_0x27fc(0xe7)],'style':'default'}]),!![]):(Alert[_0x27fc(0x4c)](_0x31b297[_0x27fc(0xe8)],_0x27fc(0x54),[{'text':'OK','style':_0x31b297[_0x27fc(0xe9)]}]),![]);}catch(_0xfd1d59){return console[_0x27fc(0x34)](_0x31b297[_0x27fc(0xea)],_0xfd1d59),![];}};function _0x51d7(){const _0x994fb0=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','configure','FzBDW','HfuAE','email','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','none','ℹ️\x20No\x20token\x20cache\x20to\x20clear','YouTube\x20Connection\x20Upgrade','cancel','cLsHY','FnHSn','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','QyPWg','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','ojdFE','LNCEH','vOxTy','CwpFb','BASE_URL','/youtube/validate-connection/','json','validation','rSwFJ','isTemporaryMode','temporaryMode','FjYln','message','includes','uAcHx','needsReconnection','hasRefreshToken','log','enabled','gEMEs','jFcwk','hDYKr','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','DWhwx','iMvGS','snekj','uDblT','tnwBi','GPmvv','eGYtL','Skip\x20for\x20Now','Upgrade\x20Now','WeJAV','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','error','tKcmg','📋\x20Complete\x20YouTube\x20status\x20response:','temporary\x20access\x20token\x20mode','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','full','limited','❌\x20No\x20YouTube\x20connection\x20found','AKchg','UHnME','success','MTiYg','VVEJC','ByZmb','QFsiH','ObDVL','bLVvZ','WDwhf','cpRcc','lCbLP','XxsDi','default','alert','mVshJ','TNkPD','xTpSX','GNXwr','eKVVF','Current\x20user\x20server\x20auth\x20code','Great!','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','🔍\x20Token\x20Analysis:','GsmBJ','0|1|4|5|3|2','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','✅\x20Got\x20refresh\x20token\x20after\x20consent:','...','onairos_jwt_token','enoch_token','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','migration_token_placeholder','YouTube\x20Channel','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','your-api-key','tcQpI','VBTMb','BejlR','❌\x20Backend\x20rejected\x20YouTube\x20migration:','yLTdp','signOut','BGATO','getTokens','accessToken','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','OWsyy','ufeID','hasPlayServices','SExLe','signIn','getCurrentUser','None','serverAuthCode','khQtx','jDcHs','idToken','AQxVu','LbbfT','ptnbO','QbPMh','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Vjoli','YXrZQ','💡\x20This\x20usually\x20means:','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','roijM','JLcVh','BDpsD','ApdCe','LeDaM','quxdf','yHVHa','warn','sfRjt','qrKkJ','XVxQs','user','YaTWY','glDma','name','nriMw','gmZCF','aqmDp','/youtube/native-auth','cEIHg','Bearer\x20','stringify','IYQVB','ctjuZ','zkDFo','oebbe','BsIeL','JHUcQ','TuqOg','Upgrade\x20Failed\x20❌','NDDxu','DMYlT','CbcEd','YKioX','MMMoy','jQrcb','UTjZv','kdjlB','fnHFo','hasAccessToken','KfUsK','connectedAt','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','Vjhwy','nqOqZ','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','zKQHI','/youtube/migration-status','YdNCe','CPPar','iGXYn','VfDlv','CWTed','iKTtc','pMrQn','nykcG','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','CuAoN','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','SxJbA','fYUeO','kjfnB','CNcsX','DpxFc','ABCHx','suHBA','TNvEf','gcvdr','xJDJD','bRjLx','ovadz','mDSIq','HIAcf','NDGuk','VrFZe','rqvUn','fpKWp','VRQGa','DmkaX','PonGB','iVSws','eMcuG','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','ℹ️\x20User\x20declined\x20YouTube\x20migration','wtJST','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','ZDjtT','xIVNc','CJmMx','chREc','BQIgF','iFKiH','JfXjW','qHkdY','DEkLN','VLzwK','jJShO','YvEYm','wsZde'];_0x51d7=function(){return _0x994fb0;};return _0x51d7();}export const reconnectYouTube=async _0x57b5d4=>{const _0x1adf08={'YvEYm':'🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','wsZde':function(_0x10fd63,_0x48ee75){return _0x10fd63(_0x48ee75);}};return console['log'](_0x1adf08[_0x27fc(0xeb)],_0x57b5d4),await _0x1adf08[_0x27fc(0xec)](forceYouTubeReconnection,_0x57b5d4);};
1
+ function _0x4b8d(_0x725da6,_0x4b8d47){_0x725da6=_0x725da6-0x0;const _0x393fd9=_0x725d();let _0x5616a0=_0x393fd9[_0x725da6];return _0x5616a0;}import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x4b8d(0x0),IOS_CLIENT_ID=_0x4b8d(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x2e225a={'qwsvs':'https://www.googleapis.com/auth/youtube.readonly','FmLfg':'openid','LjxAI':_0x4b8d(0x1)};GoogleSignin[_0x4b8d(0x2)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x2e225a[_0x4b8d(0x3)],_0x2e225a[_0x4b8d(0x4)],_0x2e225a[_0x4b8d(0x5)],_0x4b8d(0x6)],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x144b07=>{const _0x1d4515={'bggGh':_0x4b8d(0x7),'EOipS':function(_0x2585ec,_0x52d451){return _0x2585ec===_0x52d451;},'gTVUv':function(_0x40c631,_0x1e8176){return _0x40c631===_0x1e8176;},'Vpxcg':function(_0x25748c,_0x3110a2){return _0x25748c===_0x3110a2;},'PtfSU':function(_0x157778,_0x217287){return _0x157778===_0x217287;},'kJBvM':_0x4b8d(0x8),'ognYc':_0x4b8d(0x9),'gRKzY':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','NDtzN':'NEZuf','HfjRD':'✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','hFyao':function(_0x27dcaf,_0x6df21a){return _0x27dcaf!==_0x6df21a;},'nWrUt':_0x4b8d(0xa),'Dandp':_0x4b8d(0xb),'oufai':_0x4b8d(0xc)};try{const _0x3fb48a=await fetch(API_CONFIG[_0x4b8d(0xd)]+_0x4b8d(0xe)+_0x144b07),_0x3ab737=await _0x3fb48a[_0x4b8d(0xf)]();if(_0x3ab737[_0x4b8d(0x10)]&&_0x3ab737[_0x4b8d(0x11)]){var _0x23645d,_0x52a57b,_0x5679c3;const _0x1abc5f=_0x1d4515['EOipS'](_0x1d4515[_0x4b8d(0x12)](_0x23645d=_0x3ab737[_0x4b8d(0x11)],null)||_0x1d4515[_0x4b8d(0x12)](_0x23645d,void 0x0)?void 0x0:_0x23645d[_0x4b8d(0x13)],!![])||(_0x1d4515[_0x4b8d(0x14)](_0x52a57b=_0x3ab737[_0x4b8d(0x15)],null)||_0x1d4515[_0x4b8d(0x12)](_0x52a57b,void 0x0)?void 0x0:_0x52a57b[_0x4b8d(0x16)])===!![]||_0x1d4515[_0x4b8d(0x17)](_0x3ab737[_0x4b8d(0x13)],!![])||_0x3ab737[_0x4b8d(0x18)]&&_0x3ab737[_0x4b8d(0x18)]['includes'](_0x4b8d(0x19)),_0x4dc2f2=_0x3ab737[_0x4b8d(0x11)]['needsReconnection'],_0x4cdabb=_0x3ab737['validation']['hasRefreshToken'];console[_0x4b8d(0x1a)](_0x4b8d(0x1b),{'username':_0x144b07,'needsReconnection':_0x4dc2f2,'hasRefreshToken':_0x4cdabb,'isTemporaryMode':_0x1abc5f,'temporaryModeEnabled':_0x1d4515[_0x4b8d(0x17)](_0x5679c3=_0x3ab737[_0x4b8d(0x15)],null)||_0x1d4515[_0x4b8d(0x1c)](_0x5679c3,void 0x0)?void 0x0:_0x5679c3[_0x4b8d(0x16)],'message':_0x3ab737['message']});if(_0x1abc5f)return console[_0x4b8d(0x1a)](_0x4b8d(0x7)),console[_0x4b8d(0x1a)](_0x1d4515['kJBvM']),![];else return _0x4dc2f2?_0x4b8d(0x9)!==_0x1d4515[_0x4b8d(0x1d)]?(_0x21b714[_0x4b8d(0x1a)](_0x4b8d(0x1e)),![]):(console[_0x4b8d(0x1a)](_0x1d4515[_0x4b8d(0x1f)]),!![]):_0x1d4515['NDtzN']==='NEZuf'?(console[_0x4b8d(0x1a)](_0x1d4515[_0x4b8d(0x20)]),![]):(_0x1dd509['log'](_0x4b8d(0x21)),!![]);}return![];}catch(_0x2f39a1){return _0x1d4515[_0x4b8d(0x22)](_0x1d4515[_0x4b8d(0x23)],_0x1d4515[_0x4b8d(0x24)])?(console[_0x4b8d(0x25)](_0x1d4515['oufai'],_0x2f39a1),![]):(_0x2ea87e['log'](_0x1d4515['bggGh']),_0x53765c[_0x4b8d(0x1a)](_0x4b8d(0x8)),![]);}};export const getYouTubeConnectionStatus=async _0x3c2243=>{const _0x517199={'obZfB':'migration_token_placeholder','oLKLT':function(_0x20ccb7,_0x5a9258){return _0x20ccb7===_0x5a9258;},'suFKb':function(_0x5c4909,_0x5823e1){return _0x5c4909===_0x5823e1;},'qVGhM':function(_0x1268c2,_0x4dda93){return _0x1268c2===_0x4dda93;},'ZHqvN':function(_0x28a487,_0x19519e){return _0x28a487===_0x19519e;},'iqLoa':function(_0x25cd8a,_0x48eddb){return _0x25cd8a===_0x48eddb;},'UauFl':function(_0x59bbe1,_0x69b7b0){return _0x59bbe1===_0x69b7b0;},'kscvY':function(_0x464718,_0x24ead5){return _0x464718===_0x24ead5;},'iWiOP':_0x4b8d(0x26),'CiLzB':_0x4b8d(0x27),'DICIb':function(_0x48573a,_0x352d95){return _0x48573a&&_0x352d95;},'hXLhn':_0x4b8d(0x28),'LJXHC':_0x4b8d(0x29),'XCAEP':'ℹ️\x20No\x20token\x20cache\x20to\x20clear','aInXj':_0x4b8d(0x2a),'izFcx':function(_0x1dca7c,_0x345d73){return _0x1dca7c===_0x345d73;},'epZSr':function(_0x262f07,_0x531dda){return _0x262f07===_0x531dda;},'xBLRx':function(_0x7c9b0,_0x1504de){return _0x7c9b0===_0x1504de;},'CPrEM':_0x4b8d(0x19),'hQQMy':function(_0x4a16e5,_0x346672){return _0x4a16e5===_0x346672;},'iCAdl':_0x4b8d(0x2b),'MyOzu':_0x4b8d(0x2c),'ZGtAP':_0x4b8d(0x2d),'WvMZn':'TXmhn','NlchJ':_0x4b8d(0x2e),'IDAKp':_0x4b8d(0x2f),'ECHVJ':_0x4b8d(0x30),'PzLrJ':_0x4b8d(0x31),'YdGts':_0x4b8d(0x32),'qmqJW':_0x4b8d(0x33),'YbbZU':function(_0x4ae281,_0x53133e){return _0x4ae281(_0x53133e);}};try{const _0x12ed95=await fetch(API_CONFIG['BASE_URL']+_0x4b8d(0xe)+_0x3c2243),_0x194b16=await _0x12ed95[_0x4b8d(0xf)]();console[_0x4b8d(0x1a)](_0x517199['aInXj'],_0x194b16);if(_0x194b16[_0x4b8d(0x10)]&&_0x194b16[_0x4b8d(0x11)]){var _0x50049f,_0xdbafd2;const _0x25fac2=(_0x517199['izFcx'](_0x50049f=_0x194b16[_0x4b8d(0x11)],null)||_0x517199[_0x4b8d(0x34)](_0x50049f,void 0x0)?void 0x0:_0x50049f['isTemporaryMode'])===!![]||_0x517199[_0x4b8d(0x35)](_0x517199['epZSr'](_0xdbafd2=_0x194b16[_0x4b8d(0x15)],null)||_0x517199[_0x4b8d(0x36)](_0xdbafd2,void 0x0)?void 0x0:_0xdbafd2[_0x4b8d(0x16)],!![])||_0x194b16[_0x4b8d(0x13)]===!![]||_0x194b16[_0x4b8d(0x18)]&&_0x194b16[_0x4b8d(0x18)][_0x4b8d(0x37)](_0x517199[_0x4b8d(0x38)]),_0x4af823=_0x517199['iqLoa'](_0x194b16['validation'][_0x4b8d(0x39)],!![]),_0x2fe13f=_0x194b16[_0x4b8d(0x11)][_0x4b8d(0x3a)]===!![];if(_0x25fac2){if(_0x517199[_0x4b8d(0x3b)](_0x517199[_0x4b8d(0x3c)],_0x517199[_0x4b8d(0x3c)]))return console['log'](_0x517199['MyOzu']),console[_0x4b8d(0x1a)](_0x517199[_0x4b8d(0x3d)]),{'isReady':!![],'mode':'temporary','needsMigration':![],'trainingReady':!![],'details':_0x194b16};else _0x3d9cd1[_0x4b8d(0x3e)](_0x4b8d(0x3f)),_0x3dc0ab=_0x517199[_0x4b8d(0x40)];}else{if(_0x4af823){if(_0x517199['hQQMy'](_0x517199['WvMZn'],_0x4b8d(0x41)))return console['log'](_0x4b8d(0x42)),{'isReady':!![],'mode':_0x517199['NlchJ'],'needsMigration':![],'trainingReady':!![],'details':_0x194b16};else{var _0x3fb0e2,_0xae5478;const _0xc3a1f=_0x517199[_0x4b8d(0x43)](_0x517199[_0x4b8d(0x43)](_0x3fb0e2=_0x495f74['validation'],null)||_0x517199[_0x4b8d(0x44)](_0x3fb0e2,void 0x0)?void 0x0:_0x3fb0e2[_0x4b8d(0x13)],!![])||_0x517199[_0x4b8d(0x36)](_0x517199[_0x4b8d(0x45)](_0xae5478=_0x4094a5[_0x4b8d(0x15)],null)||_0xae5478===void 0x0?void 0x0:_0xae5478[_0x4b8d(0x16)],!![])||_0x517199['iqLoa'](_0x7d7c68['isTemporaryMode'],!![]),_0x420280=_0x517199[_0x4b8d(0x36)](_0x42f93f[_0x4b8d(0x11)][_0x4b8d(0x46)],!![]),_0xebc398=_0x517199[_0x4b8d(0x47)](_0x35006f[_0x4b8d(0x11)][_0x4b8d(0x39)],!![]),_0x71e6cf=_0x517199['kscvY'](_0x65d7b6[_0x4b8d(0x11)][_0x4b8d(0x3a)],!![]);_0x5295c1[_0x4b8d(0x1a)](_0x517199[_0x4b8d(0x48)],{'username':_0x34c2c1,'hasAccessToken':_0x420280,'hasRefreshToken':_0xebc398,'needsReconnection':_0x71e6cf,'isTemporaryMode':_0xc3a1f,'connectedAt':_0x9dc97a['validation'][_0x4b8d(0x49)]});if(_0xc3a1f)return _0x5269d4[_0x4b8d(0x1a)](_0x517199[_0x4b8d(0x4a)]),![];else return _0x517199[_0x4b8d(0x4b)](_0x420280,!_0xebc398)&&_0x71e6cf?(_0x1acb07[_0x4b8d(0x1a)](_0x517199['hXLhn']),!![]):(_0x56a0cd['log'](_0x517199[_0x4b8d(0x4c)]),![]);}}else{if(_0x2fe13f)return console['log'](_0x517199['IDAKp']),{'isReady':![],'mode':_0x4b8d(0x4d),'needsMigration':!![],'trainingReady':![],'details':_0x194b16};else{if(_0x517199['ECHVJ']!=='LzcVX')return console[_0x4b8d(0x1a)](_0x517199[_0x4b8d(0x4e)]),{'isReady':![],'mode':_0x517199[_0x4b8d(0x4f)],'needsMigration':![],'trainingReady':![],'details':_0x194b16};else _0x5c3bd2['log'](_0x517199['XCAEP']);}}}}return console['log'](_0x517199[_0x4b8d(0x50)]),{'isReady':![],'mode':'none','needsMigration':![],'trainingReady':![],'details':_0x194b16};}catch(_0x2a9778){return console[_0x4b8d(0x25)]('❌\x20Error\x20getting\x20YouTube\x20connection\x20status:',_0x2a9778),{'isReady':![],'mode':_0x517199['YdGts'],'needsMigration':![],'trainingReady':![],'details':{'error':_0x2a9778 instanceof Error?_0x2a9778[_0x4b8d(0x18)]:_0x517199[_0x4b8d(0x51)](String,_0x2a9778)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x40c47b={'BZcjN':_0x4b8d(0x52),'meLDi':function(_0x587437,_0x5c52a1){return _0x587437!==_0x5c52a1;},'QfGyr':'oaVud','FcsQu':_0x4b8d(0x53),'lGLCG':_0x4b8d(0x54),'ZDbkB':_0x4b8d(0x55),'yrtVI':_0x4b8d(0x56)};return new Promise(_0x37b01a=>{_0x40c47b['meLDi'](_0x40c47b[_0x4b8d(0x57)],_0x40c47b[_0x4b8d(0x57)])?(_0x2d5445=_0x58e41d['serverAuthCode'],_0xe131b3=_0x40c47b['BZcjN']):Alert['alert'](_0x40c47b[_0x4b8d(0x58)],'To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?',[{'text':_0x40c47b[_0x4b8d(0x59)],'style':_0x40c47b[_0x4b8d(0x5a)],'onPress':()=>_0x37b01a(![])},{'text':'Upgrade\x20Now','style':_0x40c47b[_0x4b8d(0x5b)],'onPress':()=>_0x37b01a(!![])}]);});},forceYouTubeReconnection=async _0x1dfb64=>{const _0x251f57={'iEGWN':_0x4b8d(0x2c),'KPMUk':_0x4b8d(0x42),'ZKLLU':_0x4b8d(0x5c),'sraDb':'openid','GMpCh':_0x4b8d(0x1),'FoVkh':_0x4b8d(0x6),'rMzeu':function(_0x119b57,_0x3b6dfa){return _0x119b57===_0x3b6dfa;},'FJgMm':_0x4b8d(0x5d),'sGbKv':_0x4b8d(0x5e),'pgJWP':_0x4b8d(0x5f),'eVLAp':_0x4b8d(0x60),'NSqJU':_0x4b8d(0x61),'zHHxV':_0x4b8d(0x62),'MimPC':'ℹ️\x20No\x20token\x20cache\x20to\x20clear','BdBpy':_0x4b8d(0x63),'CwjUN':_0x4b8d(0x64),'fuqql':_0x4b8d(0x52),'shKcr':function(_0x400037,_0x5c71e2){return _0x400037!==_0x5c71e2;},'pBxiM':function(_0x29c0c4,_0x15dc90){return _0x29c0c4!==_0x15dc90;},'qlcDG':_0x4b8d(0x65),'pccwy':_0x4b8d(0x66),'ngguV':'MISSING!','BjShS':function(_0x41b62b,_0x46bd37){return _0x41b62b===_0x46bd37;},'thsIP':_0x4b8d(0x67),'NLLik':'lmvaI','NfSnA':_0x4b8d(0x68),'aSiuH':_0x4b8d(0x69),'yFPpj':_0x4b8d(0x6a),'ZwFeg':_0x4b8d(0x6b),'uFPKC':_0x4b8d(0x6c),'nsSdO':_0x4b8d(0x6d),'kEBHL':function(_0x4fd870,_0x4906c0){return _0x4fd870+_0x4906c0;},'rZLIq':_0x4b8d(0x6e),'egzgx':_0x4b8d(0x6f),'KSJdH':_0x4b8d(0x70),'PeQKD':'enoch_token','USlXV':function(_0x301b33,_0x475edf){return _0x301b33===_0x475edf;},'tCeoY':_0x4b8d(0x3f),'RoiDy':_0x4b8d(0x71),'xwazp':_0x4b8d(0x72),'EzGOT':'YouTube\x20Channel','jJtoq':function(_0x13270c,_0x287559){return _0x13270c===_0x287559;},'mddtJ':function(_0x355e22,_0x3c6718,_0xc70462){return _0x355e22(_0x3c6718,_0xc70462);},'MlMyZ':_0x4b8d(0x73),'ltThx':function(_0xf1ca3c,_0x28a420,_0x2d0586){return _0xf1ca3c(_0x28a420,_0x2d0586);},'BMMUB':function(_0xb4df63,_0x50f256){return _0xb4df63===_0x50f256;},'lNVLv':_0x4b8d(0x74),'rfBhT':'❌\x20YouTube\x20migration\x20failed:','ITFGf':function(_0x24fbe8,_0x444141,_0x151cb9,_0x2ca168){return _0x24fbe8(_0x444141,_0x151cb9,_0x2ca168);},'Eqstd':function(_0x57776d,_0xdbf6b7){return _0x57776d instanceof _0xdbf6b7;},'ScKrw':_0x4b8d(0x75)};try{if(_0x251f57[_0x4b8d(0x76)](_0x251f57[_0x4b8d(0x77)],_0x251f57['FJgMm'])){var _0x512848,_0x2627f6,_0xf424da,_0x298b79;console[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x78)],_0x1dfb64),configureGoogleSignInForRefreshTokens(),await GoogleSignin[_0x4b8d(0x79)](),console[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x7a)]);try{const _0x5228ed=await GoogleSignin[_0x4b8d(0x7b)]();_0x5228ed[_0x4b8d(0x7c)]&&(_0x251f57[_0x4b8d(0x76)](_0x251f57[_0x4b8d(0x7d)],_0x251f57['NSqJU'])?_0xd649ac['error'](_0x4b8d(0x7e),_0x19a51e):(await GoogleSignin[_0x4b8d(0x7f)](_0x5228ed[_0x4b8d(0x7c)]),console[_0x4b8d(0x1a)](_0x251f57['zHHxV'])));}catch(_0x5590ee){console[_0x4b8d(0x1a)](_0x251f57['MimPC']);}await GoogleSignin[_0x4b8d(0x80)](),console[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x81)]);const _0x53d19c=await GoogleSignin['signIn'](),_0x5e9d0d=await GoogleSignin['getTokens'](),_0x5eecba=await GoogleSignin[_0x4b8d(0x82)]();let _0x5b43b5=null,_0x1a85c3=_0x251f57[_0x4b8d(0x83)];if(_0x53d19c[_0x4b8d(0x84)])_0x5b43b5=_0x53d19c['serverAuthCode'],_0x1a85c3=_0x251f57[_0x4b8d(0x85)];else _0x251f57[_0x4b8d(0x86)](_0x5eecba,null)&&_0x251f57[_0x4b8d(0x87)](_0x5eecba,void 0x0)&&_0x5eecba[_0x4b8d(0x84)]&&(_0x5b43b5=_0x5eecba[_0x4b8d(0x84)],_0x1a85c3=_0x251f57['qlcDG']);console[_0x4b8d(0x1a)]('🔍\x20Token\x20Analysis:',{'hasAccessToken':!!_0x5e9d0d[_0x4b8d(0x7c)],'hasIdToken':!!_0x5e9d0d[_0x4b8d(0x88)],'hasServerAuthCode':!!_0x53d19c['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x5eecba!==null&&_0x251f57[_0x4b8d(0x87)](_0x5eecba,void 0x0)&&_0x5eecba[_0x4b8d(0x84)]),'refreshTokenSource':_0x1a85c3,'finalRefreshToken':_0x5b43b5?_0x251f57[_0x4b8d(0x89)]:_0x251f57[_0x4b8d(0x8a)],'userEmail':(_0x512848=_0x53d19c['user'])===null||_0x251f57[_0x4b8d(0x8b)](_0x512848,void 0x0)?void 0x0:_0x512848[_0x4b8d(0x6)]});if(!_0x5b43b5){if(_0x251f57[_0x4b8d(0x87)](_0x251f57['thsIP'],_0x251f57['NLLik'])){const _0x4cb6de=_0x251f57[_0x4b8d(0x8c)][_0x4b8d(0x8d)]('|');let _0x30c534=0x0;while(!![]){switch(_0x4cb6de[_0x30c534++]){case'0':return![];case'1':console[_0x4b8d(0x25)](_0x251f57['aSiuH']);continue;case'2':console[_0x4b8d(0x25)](_0x251f57[_0x4b8d(0x8e)]);continue;case'3':console[_0x4b8d(0x25)](_0x251f57['ZwFeg']);continue;case'4':console[_0x4b8d(0x25)](_0x4b8d(0x8f));continue;case'5':console[_0x4b8d(0x25)](_0x251f57[_0x4b8d(0x90)]);continue;}break;}}else return _0x2038ab[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x91)]),_0x3dc5af[_0x4b8d(0x1a)]('✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour'),{'isReady':!![],'mode':_0x4b8d(0x92),'needsMigration':![],'trainingReady':!![],'details':_0x4ff712};}console[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x93)],_0x251f57[_0x4b8d(0x94)](_0x5b43b5[_0x4b8d(0x95)](0x0,0x14),_0x251f57[_0x4b8d(0x96)])),console[_0x4b8d(0x1a)](_0x251f57[_0x4b8d(0x97)],_0x1a85c3);let _0x4bc9e9=await AsyncStorage['getItem'](_0x251f57[_0x4b8d(0x98)])||await AsyncStorage[_0x4b8d(0x99)](_0x251f57[_0x4b8d(0x9a)])||await AsyncStorage['getItem'](_0x4b8d(0x9b));if(!_0x4bc9e9){if(_0x251f57[_0x4b8d(0x9c)](_0x4b8d(0x9d),_0x4b8d(0x9d)))console['warn'](_0x251f57[_0x4b8d(0x9e)]),_0x4bc9e9=_0x251f57[_0x4b8d(0x9f)];else return _0x54fb4a['log'](_0x251f57[_0x4b8d(0xa0)]),{'isReady':!![],'mode':'full','needsMigration':![],'trainingReady':!![],'details':_0x408b40};}const _0x88be4e={'session':{'username':_0x1dfb64,'platform':_0x251f57[_0x4b8d(0xa1)],'channelName':(_0x251f57[_0x4b8d(0x9c)](_0x2627f6=_0x53d19c[_0x4b8d(0xa2)],null)||_0x251f57[_0x4b8d(0x76)](_0x2627f6,void 0x0)?void 0x0:_0x2627f6['name'])||_0x251f57[_0x4b8d(0xa3)],'channelId':null},'googleUser':_0x53d19c[_0x4b8d(0xa2)],'accessToken':_0x5e9d0d[_0x4b8d(0x7c)],'idToken':_0x5e9d0d[_0x4b8d(0x88)],'refreshToken':_0x5b43b5,'serverAuthCode':_0x53d19c[_0x4b8d(0x84)],'userAccountInfo':{'username':_0x1dfb64,'email':_0x251f57[_0x4b8d(0x76)](_0xf424da=_0x53d19c[_0x4b8d(0xa2)],null)||_0x251f57[_0x4b8d(0x76)](_0xf424da,void 0x0)?void 0x0:_0xf424da[_0x4b8d(0x6)],'authToken':_0x4bc9e9,'channelName':(_0x251f57[_0x4b8d(0xa4)](_0x298b79=_0x53d19c[_0x4b8d(0xa2)],null)||_0x298b79===void 0x0?void 0x0:_0x298b79[_0x4b8d(0xa5)])||_0x251f57[_0x4b8d(0xa3)],'channelId':null}};console[_0x4b8d(0x1a)](_0x4b8d(0xa6));const _0x193772=await _0x251f57['mddtJ'](fetch,API_CONFIG['BASE_URL']+_0x4b8d(0xa7),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x251f57[_0x4b8d(0xa8)],..._0x4bc9e9!==_0x251f57['RoiDy']&&{'Authorization':_0x4b8d(0xa9)+_0x4bc9e9}},'body':JSON['stringify'](_0x88be4e)}),_0x4d313=await _0x193772[_0x4b8d(0xf)]();return _0x4d313['success']?(console[_0x4b8d(0x1a)]('✅\x20YouTube\x20migration\x20successful'),await _0x251f57[_0x4b8d(0xaa)](trackMigrationAttempt,_0x1dfb64,!![]),!![]):(console[_0x4b8d(0x25)](_0x4b8d(0xab),_0x4d313['error']),await trackMigrationAttempt(_0x1dfb64,![],_0x4d313[_0x4b8d(0x25)]),![]);}else GoogleSignin[_0x4b8d(0x2)]({'webClientId':_0xa47b47,'iosClientId':_0x29e838,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x251f57[_0x4b8d(0xac)],_0x251f57[_0x4b8d(0xad)],_0x251f57[_0x4b8d(0xae)],_0x251f57[_0x4b8d(0xaf)]],'hostedDomain':'','accountName':''});}catch(_0x368f5d){return _0x251f57[_0x4b8d(0xb0)](_0x251f57['lNVLv'],_0x251f57['lNVLv'])?(console[_0x4b8d(0x25)](_0x251f57[_0x4b8d(0xb1)],_0x368f5d),await _0x251f57[_0x4b8d(0xb2)](trackMigrationAttempt,_0x1dfb64,![],_0x251f57[_0x4b8d(0xb3)](_0x368f5d,Error)?_0x368f5d[_0x4b8d(0x18)]:_0x251f57[_0x4b8d(0xb4)]),![]):(_0x500776[_0x4b8d(0x1a)](_0x4b8d(0x29)),![]);}},trackMigrationAttempt=async(_0x49ff3d,_0xa37cf4,_0x1d6f73)=>{const _0x2309b9={'tqHdz':_0x4b8d(0xb5),'sJApZ':_0x4b8d(0xb6),'NKKtW':_0x4b8d(0xb7),'XyZvi':_0x4b8d(0x56),'XuzvX':function(_0x3d5ed0,_0x14907e,_0x5e48cc){return _0x3d5ed0(_0x14907e,_0x5e48cc);},'gaXYl':function(_0x41bfa2,_0x22df7b){return _0x41bfa2||_0x22df7b;},'HcgIw':function(_0x1e325e,_0x3fdfe6){return _0x1e325e!==_0x3fdfe6;},'Jvdle':_0x4b8d(0x7e)};try{await _0x2309b9[_0x4b8d(0xb8)](fetch,API_CONFIG[_0x4b8d(0xd)]+_0x4b8d(0xb9),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x4b8d(0xba)]({'username':_0x49ff3d,'success':_0xa37cf4,'error':_0x2309b9[_0x4b8d(0xbb)](_0x1d6f73,null),'timestamp':new Date()[_0x4b8d(0xbc)]()})});}catch(_0x291aa2){if(_0x2309b9[_0x4b8d(0xbd)](_0x4b8d(0xbe),_0x4b8d(0xbe)))return Alert['alert'](_0x2309b9[_0x4b8d(0xbf)],_0x2309b9['sJApZ'],[{'text':_0x2309b9[_0x4b8d(0xc0)],'style':_0x2309b9[_0x4b8d(0xc1)]}]),!![];else console['error'](_0x2309b9['Jvdle'],_0x291aa2);}};function _0x725d(){const _0x15f841=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','profile','configure','qwsvs','FmLfg','LjxAI','email','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','tjVSc','dTPqd','KVasR','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','BASE_URL','/youtube/validate-connection/','json','success','validation','gTVUv','isTemporaryMode','EOipS','temporaryMode','enabled','Vpxcg','message','temporary\x20access\x20token\x20mode','log','🔍\x20YouTube\x20migration\x20check:','PtfSU','ognYc','ℹ️\x20User\x20declined\x20YouTube\x20migration','gRKzY','HfjRD','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','hFyao','nWrUt','Dandp','error','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','📋\x20Complete\x20YouTube\x20status\x20response:','EOmBc','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','full','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','LRTcW','❓\x20YouTube\x20connection\x20status\x20unclear','none','❌\x20No\x20YouTube\x20connection\x20found','epZSr','xBLRx','qVGhM','includes','CPrEM','hasRefreshToken','needsReconnection','hQQMy','iCAdl','ZGtAP','warn','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','obZfB','TXmhn','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','oLKLT','suFKb','ZHqvN','hasAccessToken','UauFl','iWiOP','connectedAt','CiLzB','DICIb','LJXHC','limited','PzLrJ','YdGts','qmqJW','YbbZU','Server\x20auth\x20code\x20from\x20sign-in','YouTube\x20Connection\x20Upgrade','Skip\x20for\x20Now','cancel','default','QfGyr','FcsQu','lGLCG','ZDbkB','yrtVI','https://www.googleapis.com/auth/youtube.readonly','CSZDm','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','zycYb','uErpz','✅\x20Token\x20cache\x20cleared','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','None','Current\x20user\x20server\x20auth\x20code','Available','kuoiz','4|3|1|2|5|0','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','💡\x20This\x20usually\x20means:','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','✅\x20Got\x20refresh\x20token\x20after\x20consent:','...','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','migration_token_placeholder','youtube','your-api-key','RdZlM','Unknown\x20error','rMzeu','FJgMm','sGbKv','signOut','pgJWP','getTokens','accessToken','eVLAp','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','clearCachedAccessToken','hasPlayServices','BdBpy','getCurrentUser','CwjUN','serverAuthCode','fuqql','shKcr','pBxiM','idToken','pccwy','ngguV','BjShS','NfSnA','split','yFPpj','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','uFPKC','iEGWN','temporary','nsSdO','kEBHL','substring','rZLIq','egzgx','KSJdH','getItem','PeQKD','auth_token','USlXV','mPiZK','tCeoY','RoiDy','KPMUk','xwazp','user','EzGOT','jJtoq','name','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','/youtube/native-auth','MlMyZ','Bearer\x20','ltThx','❌\x20Backend\x20rejected\x20YouTube\x20migration:','ZKLLU','sraDb','GMpCh','FoVkh','BMMUB','rfBhT','ITFGf','Eqstd','ScKrw','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Great!','XuzvX','/youtube/migration-status','stringify','gaXYl','toISOString','HcgIw','pWlXA','tqHdz','NKKtW','XyZvi','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','DBKOs','YmCiH','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','kUBYQ','prMMf','xwDPY','apxue','sAdEn','KjMOr','EykDi','RlEbY','rOhJN','iuaPe','dIyYg','AsUTX','YnlLO','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','Upgrade\x20Now','alert','MpdOY','GbAzH','XJDhr','ZlrLd','hFNTw','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','zhHxB','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','Upgrade\x20Failed\x20❌','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','jBjtT','VcnCu','OtojC','CsMfA','qbbqT','UcXaA','oFotA','udsfi','iVFky','zWKUG','zSeND','dqHfq','YixDd','zhtqS','Xusfh','gHdNn','PVDhA','sNhYq','dAEMT','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:'];_0x725d=function(){return _0x15f841;};return _0x725d();}export const shouldShowYouTubeMigrationWarning=async _0x4a0088=>{const _0x446d8a={'rOhJN':'✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','xTRDI':'default','kUBYQ':_0x4b8d(0xc2),'prMMf':function(_0x2cdd8d,_0x2513be){return _0x2cdd8d(_0x2513be);},'xwDPY':function(_0xe17ff2,_0x2068c7){return _0xe17ff2===_0x2068c7;},'apxue':function(_0x51389a,_0x2a8bfc){return _0x51389a===_0x2a8bfc;},'sAdEn':function(_0x270503,_0x2333aa){return _0x270503===_0x2333aa;},'KjMOr':function(_0x31190c,_0x24443f){return _0x31190c===_0x24443f;},'OlNOS':_0x4b8d(0x26),'EykDi':function(_0x515508,_0x28aa12){return _0x515508!==_0x28aa12;},'RlEbY':_0x4b8d(0xc3),'iuaPe':_0x4b8d(0x27),'dIyYg':function(_0x48bf65,_0x2cb4b3){return _0x48bf65&&_0x2cb4b3;},'AsUTX':'⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','YnlLO':_0x4b8d(0xc4),'DbnXu':_0x4b8d(0xc5)};try{console[_0x4b8d(0x1a)](_0x446d8a[_0x4b8d(0xc6)],_0x4a0088);const _0x1bb616=await _0x446d8a[_0x4b8d(0xc7)](fetch,API_CONFIG['BASE_URL']+_0x4b8d(0xe)+_0x4a0088),_0x511326=await _0x1bb616[_0x4b8d(0xf)]();if(_0x511326['success']&&_0x511326['validation']){var _0x4fd741,_0x4dcda6;const _0x1f121c=_0x446d8a[_0x4b8d(0xc8)](_0x446d8a['apxue'](_0x4fd741=_0x511326['validation'],null)||_0x446d8a[_0x4b8d(0xc9)](_0x4fd741,void 0x0)?void 0x0:_0x4fd741[_0x4b8d(0x13)],!![])||(_0x446d8a['xwDPY'](_0x4dcda6=_0x511326[_0x4b8d(0x15)],null)||_0x4dcda6===void 0x0?void 0x0:_0x4dcda6[_0x4b8d(0x16)])===!![]||_0x446d8a['apxue'](_0x511326['isTemporaryMode'],!![]),_0x4f5bb1=_0x446d8a[_0x4b8d(0xca)](_0x511326[_0x4b8d(0x11)][_0x4b8d(0x46)],!![]),_0x5629ce=_0x446d8a[_0x4b8d(0xc9)](_0x511326[_0x4b8d(0x11)]['hasRefreshToken'],!![]),_0x35e1de=_0x446d8a[_0x4b8d(0xcb)](_0x511326[_0x4b8d(0x11)][_0x4b8d(0x3a)],!![]);console[_0x4b8d(0x1a)](_0x446d8a['OlNOS'],{'username':_0x4a0088,'hasAccessToken':_0x4f5bb1,'hasRefreshToken':_0x5629ce,'needsReconnection':_0x35e1de,'isTemporaryMode':_0x1f121c,'connectedAt':_0x511326[_0x4b8d(0x11)][_0x4b8d(0x49)]});if(_0x1f121c)return _0x446d8a[_0x4b8d(0xcc)](_0x446d8a[_0x4b8d(0xcd)],'DBKOs')?(_0x22edcb[_0x4b8d(0x1a)](_0x446d8a[_0x4b8d(0xce)]),!![]):(console[_0x4b8d(0x1a)](_0x446d8a[_0x4b8d(0xcf)]),![]);else{if(_0x446d8a[_0x4b8d(0xd0)](_0x4f5bb1,!_0x5629ce)&&_0x35e1de)return console['log'](_0x446d8a[_0x4b8d(0xd1)]),!![];else{if(_0x446d8a[_0x4b8d(0xd2)]===_0x446d8a['YnlLO'])return console[_0x4b8d(0x1a)](_0x4b8d(0x29)),![];else{const _0xeaf09e={'MpdOY':_0x4b8d(0xd3),'GbAzH':_0x4b8d(0x54),'XJDhr':_0x4b8d(0x55),'ZlrLd':_0x4b8d(0xd4),'hFNTw':_0x446d8a['xTRDI']};return new _0x7004d(_0x31df8a=>{Alert[_0x4b8d(0xd5)](_0x4b8d(0x53),_0xeaf09e[_0x4b8d(0xd6)],[{'text':_0xeaf09e[_0x4b8d(0xd7)],'style':_0xeaf09e[_0x4b8d(0xd8)],'onPress':()=>_0x31df8a(![])},{'text':_0xeaf09e[_0x4b8d(0xd9)],'style':_0xeaf09e[_0x4b8d(0xda)],'onPress':()=>_0x31df8a(!![])}]);});}}}}return console['log'](_0x446d8a['DbnXu']),![];}catch(_0x46259d){return console[_0x4b8d(0x25)](_0x4b8d(0xdb),_0x46259d),![];}};export const checkAndFixYouTubeConnection=async _0x5972d9=>{const _0x15d77b={'eCVyr':function(_0x4149c2,_0x147b5b){return _0x4149c2===_0x147b5b;},'qbbqT':function(_0x5d1bc3,_0x32dc3a){return _0x5d1bc3===_0x32dc3a;},'UcXaA':function(_0x52cad2,_0x5cb34a){return _0x52cad2===_0x5cb34a;},'iVFky':function(_0x5e6783,_0xea3b5e){return _0x5e6783===_0xea3b5e;},'oFotA':_0x4b8d(0x19),'udsfi':_0x4b8d(0x1b),'zWKUG':function(_0x13ecbd,_0x28b36f){return _0x13ecbd===_0x28b36f;},'AQnpU':_0x4b8d(0x7),'zSeND':'✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','jBjtT':function(_0x1d1e6b,_0x2dd679){return _0x1d1e6b(_0x2dd679);},'VcnCu':_0x4b8d(0xdc),'OtojC':_0x4b8d(0xdd),'CsMfA':_0x4b8d(0xde),'dqHfq':_0x4b8d(0xdf),'YixDd':_0x4b8d(0xe0),'zhtqS':function(_0x317a2c){return _0x317a2c();},'Xusfh':_0x4b8d(0x1e),'gHdNn':function(_0x233f51,_0x1e330e){return _0x233f51(_0x1e330e);},'PVDhA':_0x4b8d(0xb5),'DIdFp':'default','sNhYq':_0x4b8d(0xe1),'dAEMT':_0x4b8d(0xe2),'HpOUi':_0x4b8d(0xe3)};try{console[_0x4b8d(0x1a)](_0x4b8d(0xe4),_0x5972d9);const _0x2d0d85=await _0x15d77b[_0x4b8d(0xe5)](shouldShowYouTubeMigrationWarning,_0x5972d9);if(!_0x2d0d85)return console[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xe6)]),console[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xe7)]),!![];const _0x14561a=await _0x15d77b[_0x4b8d(0xe5)](checkYouTubeMigrationNeeded,_0x5972d9);if(!_0x14561a){if(_0x15d77b[_0x4b8d(0xe8)]!==_0x4b8d(0xde)){var _0x501023,_0x40f67b,_0x2cbe97;const _0x14841e=((_0x501023=_0x15f960[_0x4b8d(0x11)])===null||_0x15d77b['eCVyr'](_0x501023,void 0x0)?void 0x0:_0x501023[_0x4b8d(0x13)])===!![]||_0x15d77b[_0x4b8d(0xe9)](_0x15d77b[_0x4b8d(0xe9)](_0x40f67b=_0x631284['temporaryMode'],null)||_0x15d77b[_0x4b8d(0xea)](_0x40f67b,void 0x0)?void 0x0:_0x40f67b['enabled'],!![])||_0x15d77b['iVFky'](_0x1add6d['isTemporaryMode'],!![])||_0x611e35[_0x4b8d(0x18)]&&_0x485b1d[_0x4b8d(0x18)][_0x4b8d(0x37)](_0x15d77b[_0x4b8d(0xeb)]),_0xc2a4c1=_0x300a46['validation'][_0x4b8d(0x3a)],_0x1d98d8=_0xd20d4f[_0x4b8d(0x11)][_0x4b8d(0x39)];_0x130848[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xec)],{'username':_0x54e4ad,'needsReconnection':_0xc2a4c1,'hasRefreshToken':_0x1d98d8,'isTemporaryMode':_0x14841e,'temporaryModeEnabled':_0x15d77b[_0x4b8d(0xed)](_0x2cbe97=_0x3bb27d['temporaryMode'],null)||_0x15d77b[_0x4b8d(0xee)](_0x2cbe97,void 0x0)?void 0x0:_0x2cbe97[_0x4b8d(0x16)],'message':_0x27da81[_0x4b8d(0x18)]});if(_0x14841e)return _0x353fe4[_0x4b8d(0x1a)](_0x15d77b['AQnpU']),_0x4b79a3[_0x4b8d(0x1a)]('⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed'),![];else return _0xc2a4c1?(_0x411ef1['log'](_0x4b8d(0x21)),!![]):(_0x29e3ec[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xef)]),![]);}else return console[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xf0)]),!![];}console[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xf1)]);const _0x4c6098=await _0x15d77b[_0x4b8d(0xf2)](showYouTubeMigrationPrompt);if(!_0x4c6098)return console[_0x4b8d(0x1a)](_0x15d77b[_0x4b8d(0xf3)]),![];const _0x4f37a4=await _0x15d77b[_0x4b8d(0xf4)](forceYouTubeReconnection,_0x5972d9);return _0x4f37a4?(Alert[_0x4b8d(0xd5)](_0x15d77b[_0x4b8d(0xf5)],_0x4b8d(0xb6),[{'text':_0x4b8d(0xb7),'style':_0x15d77b['DIdFp']}]),!![]):(Alert[_0x4b8d(0xd5)](_0x15d77b[_0x4b8d(0xf6)],_0x15d77b[_0x4b8d(0xf7)],[{'text':'OK','style':_0x4b8d(0x56)}]),![]);}catch(_0x52022d){return console[_0x4b8d(0x25)](_0x15d77b['HpOUi'],_0x52022d),![];}};export const reconnectYouTube=async _0x92a2bb=>{return console['log'](_0x4b8d(0xf8),_0x92a2bb),await forceYouTubeReconnection(_0x92a2bb);};
@@ -1 +1 @@
1
- import{Platform}from'react-native';export const COLORS={'surface':_0xfb78(0x0),'grey300':_0xfb78(0x1),'grey400':_0xfb78(0x2),'grey500':_0xfb78(0x3),'grey600':_0xfb78(0x4),'grey700':_0xfb78(0x5),'grey800':_0xfb78(0x6),'btnGradStart':_0xfb78(0x7),'btnGradEnd':'#17181C','btnBorder':_0xfb78(0x8),'btnShadowOuter':_0xfb78(0x9),'btnInnerShadow':_0xfb78(0xa),'btnLabel':_0xfb78(0xb),'iconCircleGradientStart':_0xfb78(0xc),'iconCircleGradientEnd':_0xfb78(0xd),'primary':'#FFD700','primaryDark':_0xfb78(0xe),'primaryLight':'#FFDF33','background':{'dark':_0xfb78(0xf),'medium':'#121212','light':_0xfb78(0x10)},'text':{'primary':_0xfb78(0xb),'secondary':'#B0B0B0','tertiary':_0xfb78(0x11),'gold':_0xfb78(0x12)},'ui':{'cardBackground':_0xfb78(0x13),'divider':_0xfb78(0x13),'inputBackground':_0xfb78(0x13),'buttonBackground':'rgba(255,\x20255,\x20255,\x200.1)'},'status':{'success':_0xfb78(0x14),'error':_0xfb78(0x15),'warning':'#FF9500','info':'#5AC8FA'},'transparent':_0xfb78(0x16),'overlay':_0xfb78(0x17)};export const FONTS={'families':{'ibmPlexSans':Platform['OS']===_0xfb78(0x18)?'IBM\x20Plex\x20Sans':'IBM\x20Plex\x20Sans','ibmPlexSansBold':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x19):_0xfb78(0x19),'inter':Platform['OS']==='ios'?_0xfb78(0x1a):_0xfb78(0x1b),'base':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x1c):_0xfb78(0x1d),'serif':Platform['OS']===_0xfb78(0x18)?_0xfb78(0x1e):_0xfb78(0x1f)},'weights':{'light':_0xfb78(0x20),'regular':'400','medium':_0xfb78(0x21),'semibold':_0xfb78(0x22),'bold':_0xfb78(0x23)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};function _0x21a6(){const _0x378811=['#FAFAFA','#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#E9B104','#000000','#1C2526','#808080','#FFD700','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','transparent','rgba(0,\x200,\x200,\x200.7)','ios','IBM\x20Plex\x20Sans','Inter','Inter-Regular','System','Roboto','Georgia','serif','300','500','600','700','primary','btnInnerShadow','btnShadowOuter','ibmPlexSansBold','bold','sizes','kicker','lineHeights','grey500','families','weights','welcomeTitle','grey800','regular','body','center','grey600','inter','semibold','buttonLabel','btnLabel'];_0x21a6=function(){return _0x378811;};return _0x21a6();}export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};export const SHADOWS={'small':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0xfb78(0x24)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0xfb78(0x25)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS[_0xfb78(0x26)],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':'#000000','shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS['families'][_0xfb78(0x27)],'fontWeight':FONTS['weights'][_0xfb78(0x28)],'fontSize':FONTS[_0xfb78(0x29)][_0xfb78(0x2a)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x2a)],'letterSpacing':FONTS['letterSpacing']['kicker'],'color':COLORS[_0xfb78(0x2c)]},'welcomeTitle':{'fontFamily':FONTS[_0xfb78(0x2d)][_0xfb78(0x27)],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x28)],'fontSize':FONTS['sizes'][_0xfb78(0x2f)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x2f)],'color':COLORS[_0xfb78(0x30)]},'body':{'fontFamily':FONTS[_0xfb78(0x2d)]['inter'],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x31)],'fontSize':FONTS['sizes'][_0xfb78(0x32)],'lineHeight':FONTS[_0xfb78(0x2b)][_0xfb78(0x32)],'textAlign':_0xfb78(0x33),'color':COLORS[_0xfb78(0x34)]},'buttonLabel':{'fontFamily':FONTS['families'][_0xfb78(0x35)],'fontWeight':FONTS[_0xfb78(0x2e)][_0xfb78(0x36)],'fontSize':FONTS[_0xfb78(0x29)][_0xfb78(0x37)],'color':COLORS[_0xfb78(0x38)]}};function _0xfb78(_0x21a63f,_0xfb7836){_0x21a63f=_0x21a63f-0x0;const _0x1dbe74=_0x21a6();let _0x2cb8e4=_0x1dbe74[_0x21a63f];return _0x2cb8e4;}export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
1
+ import{Platform}from'react-native';export const COLORS={'surface':'#FAFAFA','grey300':_0x5714(0x0),'grey400':_0x5714(0x1),'grey500':_0x5714(0x2),'grey600':_0x5714(0x3),'grey700':_0x5714(0x4),'grey800':_0x5714(0x5),'btnGradStart':_0x5714(0x6),'btnGradEnd':_0x5714(0x7),'btnBorder':'rgba(0,0,0,0.20)','btnShadowOuter':'rgba(0,0,0,0.10)','btnInnerShadow':_0x5714(0x8),'btnLabel':'#FFFFFF','iconCircleGradientStart':_0x5714(0x9),'iconCircleGradientEnd':'#17171B','primary':_0x5714(0xa),'primaryDark':_0x5714(0xb),'primaryLight':_0x5714(0xc),'background':{'dark':_0x5714(0xd),'medium':_0x5714(0xe),'light':_0x5714(0xf)},'text':{'primary':'#FFFFFF','secondary':_0x5714(0x10),'tertiary':_0x5714(0x11),'gold':_0x5714(0xa)},'ui':{'cardBackground':_0x5714(0x12),'divider':_0x5714(0x12),'inputBackground':_0x5714(0x12),'buttonBackground':_0x5714(0x12)},'status':{'success':_0x5714(0x13),'error':_0x5714(0x14),'warning':_0x5714(0x15),'info':'#5AC8FA'},'transparent':_0x5714(0x16),'overlay':_0x5714(0x17)};export const FONTS={'families':{'ibmPlexSans':Platform['OS']==='ios'?_0x5714(0x18):_0x5714(0x18),'ibmPlexSansBold':Platform['OS']===_0x5714(0x19)?_0x5714(0x18):_0x5714(0x18),'inter':Platform['OS']===_0x5714(0x19)?_0x5714(0x1a):_0x5714(0x1b),'base':Platform['OS']==='ios'?_0x5714(0x1c):_0x5714(0x1d),'serif':Platform['OS']==='ios'?_0x5714(0x1e):'serif'},'weights':{'light':_0x5714(0x1f),'regular':_0x5714(0x20),'medium':_0x5714(0x21),'semibold':_0x5714(0x22),'bold':_0x5714(0x23)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};function _0x5714(_0x2b0398,_0x571461){_0x2b0398=_0x2b0398-0x0;const _0x440947=_0x2b03();let _0x5da55f=_0x440947[_0x2b0398];return _0x5da55f;}export const SHADOWS={'small':{'shadowColor':COLORS[_0x5714(0x24)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x5714(0x24)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x5714(0x24)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS['btnInnerShadow'],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS['btnShadowOuter'],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':_0x5714(0xd),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS['families'][_0x5714(0x25)],'fontWeight':FONTS[_0x5714(0x26)][_0x5714(0x27)],'fontSize':FONTS[_0x5714(0x28)]['kicker'],'lineHeight':FONTS[_0x5714(0x29)]['kicker'],'letterSpacing':FONTS[_0x5714(0x2a)]['kicker'],'color':COLORS['grey500']},'welcomeTitle':{'fontFamily':FONTS[_0x5714(0x2b)][_0x5714(0x25)],'fontWeight':FONTS[_0x5714(0x26)][_0x5714(0x27)],'fontSize':FONTS[_0x5714(0x28)][_0x5714(0x2c)],'lineHeight':FONTS[_0x5714(0x29)][_0x5714(0x2c)],'color':COLORS['grey800']},'body':{'fontFamily':FONTS[_0x5714(0x2b)]['inter'],'fontWeight':FONTS[_0x5714(0x26)]['regular'],'fontSize':FONTS[_0x5714(0x28)][_0x5714(0x2d)],'lineHeight':FONTS['lineHeights']['body'],'textAlign':_0x5714(0x2e),'color':COLORS[_0x5714(0x2f)]},'buttonLabel':{'fontFamily':FONTS[_0x5714(0x2b)]['inter'],'fontWeight':FONTS[_0x5714(0x26)][_0x5714(0x30)],'fontSize':FONTS[_0x5714(0x28)]['buttonLabel'],'color':COLORS[_0x5714(0x31)]}};function _0x2b03(){const _0x67840f=['#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','#17181C','rgba(0,0,0,0.06)','#0A090E','#FFD700','#E9B104','#FFDF33','#000000','#121212','#1C2526','#B0B0B0','#808080','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF3B30','#FF9500','transparent','rgba(0,\x200,\x200,\x200.7)','IBM\x20Plex\x20Sans','ios','Inter','Inter-Regular','System','Roboto','Georgia','300','400','500','600','700','primary','ibmPlexSansBold','weights','bold','sizes','lineHeights','letterSpacing','families','welcomeTitle','body','center','grey600','semibold','btnLabel'];_0x2b03=function(){return _0x67840f;};return _0x2b03();}export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
@@ -1 +1 @@
1
- export let ApiKeyType=function(_0x5c188e){const _0x545a04={'zvKuT':_0x39eb(0x0),'BabJV':_0x39eb(0x1),'TbNqc':_0x39eb(0x2),'DMGbO':_0x39eb(0x3),'murqS':_0x39eb(0x4)};return _0x5c188e[_0x545a04[_0x39eb(0x5)]]=_0x545a04[_0x39eb(0x6)],_0x5c188e[_0x545a04['TbNqc']]=_0x39eb(0x7),_0x5c188e[_0x545a04[_0x39eb(0x8)]]=_0x545a04[_0x39eb(0x9)],_0x5c188e;}({});function _0x39eb(_0x260245,_0x39eb27){_0x260245=_0x260245-0x0;const _0x8c673e=_0x2602();let _0x392a78=_0x8c673e[_0x260245];return _0x392a78;}function _0x2602(){const _0x164a7f=['DEVELOPER','developer','ADMIN','INVALID','invalid','zvKuT','BabJV','admin','DMGbO','murqS'];_0x2602=function(){return _0x164a7f;};return _0x2602();}
1
+ function _0x446a(_0x5eb13f,_0x446a79){_0x5eb13f=_0x5eb13f-0x0;const _0x476303=_0x5eb1();let _0x14fa6f=_0x476303[_0x5eb13f];return _0x14fa6f;}export let ApiKeyType=function(_0x2687c0){const _0x47d4b1={'QNZta':'DEVELOPER','ocBZX':_0x446a(0x0),'qwyBG':_0x446a(0x1),'hEFVJ':'INVALID','MIHqP':_0x446a(0x2)};return _0x2687c0[_0x47d4b1['QNZta']]='developer',_0x2687c0[_0x47d4b1[_0x446a(0x3)]]=_0x47d4b1[_0x446a(0x4)],_0x2687c0[_0x47d4b1[_0x446a(0x5)]]=_0x47d4b1[_0x446a(0x6)],_0x2687c0;}({});function _0x5eb1(){const _0x9a4e5d=['ADMIN','admin','invalid','ocBZX','qwyBG','hEFVJ','MIHqP'];_0x5eb1=function(){return _0x9a4e5d;};return _0x5eb1();}
@@ -1 +1 @@
1
- import React,{useEffect,useState}from'react';function _0x58b2(_0x4c2f42,_0x58b210){_0x4c2f42=_0x4c2f42-0x0;const _0x12c29e=_0x4c2f();let _0x3caee6=_0x12c29e[_0x4c2f42];return _0x3caee6;}import{View}from'react-native';function _0x4c2f(){const _0x4ce630=['createContext','SKcQP','rWrzx','ydzGC','buHZV','JwSgm','kEJro','createElement','Provider','map','absolute','useContext','bnfWa','HTRGb','gABsv','UcThx'];_0x4c2f=function(){return _0x4ce630;};return _0x4c2f();}const portalRefs={};let portalId=0x0;const PortalContext=React[_0x58b2(0x0)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x46352d})=>{const _0x524161={'buHZV':function(_0x221eac,_0x2e81ed){return _0x221eac(_0x2e81ed);},'JwSgm':function(_0x569e51,_0x2b60a9){return _0x569e51!==_0x2b60a9;},'HudJe':_0x58b2(0x1)},[_0x32df8a,_0x20149e]=useState({}),_0x1cbbb3=_0x52e15a=>{if(_0x58b2(0x2)!==_0x58b2(0x3)){const _0x145f2c=++portalId;return _0x20149e(_0x6e8d24=>({..._0x6e8d24,[_0x145f2c]:_0x52e15a})),_0x145f2c;}else _0x524161[_0x58b2(0x4)](_0x258383,_0x742a9a=>({..._0x742a9a,[_0x53bfcd]:_0x4cec76}));},_0x5f0440=(_0x40781c,_0x22dcb1)=>{_0x20149e(_0x4f3f9a=>({..._0x4f3f9a,[_0x40781c]:_0x22dcb1}));},_0x47049f=_0x335719=>{_0x20149e(_0x33582e=>{if(_0x524161[_0x58b2(0x5)](_0x524161['HudJe'],_0x58b2(0x6))){const _0x4376ee={..._0x33582e};return delete _0x4376ee[_0x335719],_0x4376ee;}else{if(_0x3eeda2)_0x50eb4d(_0x40afcf);}});};return React[_0x58b2(0x7)](PortalContext[_0x58b2(0x8)],{'value':{'mount':_0x1cbbb3,'update':_0x5f0440,'unmount':_0x47049f}},_0x46352d,Object['keys'](_0x32df8a)[_0x58b2(0x9)](_0xc9e6ea=>React[_0x58b2(0x7)](View,{'key':_0xc9e6ea,'style':{'position':_0x58b2(0xa),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x32df8a[Number(_0xc9e6ea)])));};export const Portal=({children:_0x2b2754})=>{const _0x407bfa={'HTRGb':function(_0x177ba0,_0x658bd6){return _0x177ba0(_0x658bd6);},'gABsv':function(_0x21f6ce,_0x585a02){return _0x21f6ce(_0x585a02);},'UcThx':function(_0x4a14fc,_0x26d794){return _0x4a14fc!==_0x26d794;},'bnfWa':function(_0x1746b1,_0x3f023c,_0x45630f){return _0x1746b1(_0x3f023c,_0x45630f);}},{mount:_0x333756,update:_0x23cd22,unmount:_0x4bf875}=React[_0x58b2(0xb)](PortalContext),[_0x5ab39c,_0x3b1671]=useState(null);return _0x407bfa[_0x58b2(0xc)](useEffect,()=>{const _0x541e43=_0x407bfa[_0x58b2(0xd)](_0x333756,_0x2b2754);return _0x407bfa[_0x58b2(0xe)](_0x3b1671,_0x541e43),()=>{if(_0x5ab39c)_0x4bf875(_0x5ab39c);};},[]),useEffect(()=>{_0x407bfa[_0x58b2(0xf)](_0x5ab39c,null)&&_0x407bfa[_0x58b2(0xc)](_0x23cd22,_0x5ab39c,_0x2b2754);},[_0x2b2754,_0x5ab39c]),null;};
1
+ function _0x8680(_0x2cc7ef,_0x8680bd){_0x2cc7ef=_0x2cc7ef-0x0;const _0x3f9345=_0x2cc7();let _0x4206a6=_0x3f9345[_0x2cc7ef];return _0x4206a6;}import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;const PortalContext=React['createContext']({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x315331})=>{const _0xac6063={'ctOxp':function(_0x269b88,_0x53afe4){return _0x269b88(_0x53afe4);},'WWaIb':function(_0x4341ac,_0x4a4f49){return _0x4341ac(_0x4a4f49);}},[_0x1c8d8a,_0x43117f]=_0xac6063[_0x8680(0x0)](useState,{}),_0x344cae=_0x443be1=>{const _0x42ba55=++portalId;return _0xac6063[_0x8680(0x1)](_0x43117f,_0x111588=>({..._0x111588,[_0x42ba55]:_0x443be1})),_0x42ba55;},_0xa52434=(_0x2db2aa,_0xe8f2c8)=>{_0xac6063['ctOxp'](_0x43117f,_0x52ddbc=>({..._0x52ddbc,[_0x2db2aa]:_0xe8f2c8}));},_0x44b8ba=_0x212c58=>{_0xac6063[_0x8680(0x1)](_0x43117f,_0x493267=>{const _0x409f4e={..._0x493267};return delete _0x409f4e[_0x212c58],_0x409f4e;});};return React[_0x8680(0x2)](PortalContext[_0x8680(0x3)],{'value':{'mount':_0x344cae,'update':_0xa52434,'unmount':_0x44b8ba}},_0x315331,Object['keys'](_0x1c8d8a)[_0x8680(0x4)](_0x2b1352=>React[_0x8680(0x2)](View,{'key':_0x2b1352,'style':{'position':_0x8680(0x5),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x1c8d8a[Number(_0x2b1352)])));};function _0x2cc7(){const _0x4b3529=['WWaIb','ctOxp','createElement','Provider','map','absolute','useContext','MOxya','wdfwh','HGTaF','uhQRi','hhjYM','CrUjk','rtcZp','wQCUQ','KTZPO','GbIdx','eFqpj','UByyj'];_0x2cc7=function(){return _0x4b3529;};return _0x2cc7();}export const Portal=({children:_0x1f03f1})=>{const _0x230261={'grKfP':'HGTaF','wdfwh':function(_0x25da16,_0x4aa257){return _0x25da16(_0x4aa257);},'rtcZp':function(_0x201efc,_0x227ae5){return _0x201efc(_0x227ae5);},'wQCUQ':function(_0x1b84ad,_0x375819){return _0x1b84ad===_0x375819;},'GbIdx':function(_0x4a8cb6,_0x1ca2b2){return _0x4a8cb6!==_0x1ca2b2;},'eFqpj':function(_0x1c4b1a,_0x2bc0ee,_0x470968){return _0x1c4b1a(_0x2bc0ee,_0x470968);},'MOxya':function(_0x32c82c,_0x2dbfb3,_0x2129cd){return _0x32c82c(_0x2dbfb3,_0x2129cd);},'CrUjk':function(_0x262a20,_0x4f85d4,_0x9cc464){return _0x262a20(_0x4f85d4,_0x9cc464);}},{mount:_0x208513,update:_0x44fe7a,unmount:_0x19221a}=React[_0x8680(0x6)](PortalContext),[_0x3d603c,_0x21e6aa]=useState(null);return _0x230261[_0x8680(0x7)](useEffect,()=>{const _0x3d5ec9={'uhQRi':_0x230261['grKfP']},_0x5438b1=_0x230261[_0x8680(0x8)](_0x208513,_0x1f03f1);return _0x21e6aa(_0x5438b1),()=>{const _0x5e3a00={'hhjYM':function(_0x3ec6fa,_0x5eed54){return _0x3ec6fa(_0x5eed54);}};if(_0x8680(0x9)===_0x3d5ec9[_0x8680(0xa)]){if(_0x3d603c)_0x19221a(_0x3d603c);}else{const _0x4accad=_0x5e3a00[_0x8680(0xb)](_0x1707db,_0x452319);return _0x5e3a00['hhjYM'](_0x38b27a,_0x4accad),()=>{if(_0x4a95c7)_0x5e3a00[_0x8680(0xb)](_0x486d58,_0x2eb3f5);};}};},[]),_0x230261[_0x8680(0xc)](useEffect,()=>{const _0x28f772={'UByyj':function(_0x589327,_0x2995a7){return _0x230261[_0x8680(0xd)](_0x589327,_0x2995a7);}};_0x230261[_0x8680(0xe)](_0x8680(0xf),_0x8680(0xf))?_0x230261[_0x8680(0x10)](_0x3d603c,null)&&_0x230261[_0x8680(0x11)](_0x44fe7a,_0x3d603c,_0x1f03f1):_0x28f772[_0x8680(0x12)](_0x2d3afd,_0x3e58cf=>{const _0x12459d={..._0x3e58cf};return delete _0x12459d[_0x20c579],_0x12459d;});},[_0x1f03f1,_0x3d603c]),null;};
@@ -1 +1 @@
1
- import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x2a9b(0x0)];export const createApiInstance=async()=>{const _0x309727={'iUIOw':_0x2a9b(0x1)},_0xcb3194=await AsyncStorage[_0x2a9b(0x2)](_0x309727[_0x2a9b(0x3)]);return axios[_0x2a9b(0x4)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0xcb3194?{'Authorization':_0x2a9b(0x5)+_0xcb3194}:{}}});};function _0x2a9b(_0x234b83,_0x2a9b22){_0x234b83=_0x234b83-0x0;const _0x34b2b5=_0x234b();let _0x1c922a=_0x34b2b5[_0x234b83];return _0x1c922a;}function _0x234b(){const _0x4a17c0=['BASE_URL','onairosToken','getItem','iUIOw','create','Bearer\x20','UCteC','post','/valid/validate-domain','data','Error\x20validating\x20domain:','Error\x20fetching\x20account\x20info:','vKFPa','IHCQQ','/getAccountInfo','error','othent','/getAPIurl','ofBlx','QHQhC','mdTYL','Error\x20creating\x20account:','uHsMr','/createAccount','kQOUc'];_0x234b=function(){return _0x4a17c0;};return _0x234b();}export const validateDomain=async()=>{const _0x8885b4={'UCteC':function(_0x424c8c){return _0x424c8c();}};try{const _0x5401fa=await _0x8885b4[_0x2a9b(0x6)](createApiInstance),_0x173f0d=await _0x5401fa[_0x2a9b(0x7)](_0x2a9b(0x8));return _0x173f0d[_0x2a9b(0x9)];}catch(_0x77ce7e){return console['error'](_0x2a9b(0xa),_0x77ce7e),{'status':![]};}};export const fetchAccountInfo=async(_0x2c79d5,_0xd8250a=![])=>{const _0x2e2409={'vKFPa':function(_0x5d4ff8){return _0x5d4ff8();},'IHCQQ':'/getAccountInfo/email','IxHYH':_0x2a9b(0xb)};try{const _0x1a3fa3=await _0x2e2409[_0x2a9b(0xc)](createApiInstance),_0x1d4d30=_0xd8250a?{'Info':{'identifier':_0x2c79d5}}:{'Info':{'userName':_0x2c79d5}},_0x3da7bd=_0xd8250a?_0x2e2409[_0x2a9b(0xd)]:_0x2a9b(0xe),_0x5c5695=await _0x1a3fa3[_0x2a9b(0x7)](_0x3da7bd,_0x1d4d30);return _0x5c5695['data'];}catch(_0x479de5){console[_0x2a9b(0xf)](_0x2e2409['IxHYH'],_0x479de5);throw _0x479de5;}};export const getApiUrl=async(_0x340f9c,_0x3d90e2,_0x5b57f0)=>{const _0x31555a={'ofBlx':_0x2a9b(0x10),'QHQhC':_0x2a9b(0x11),'mdTYL':'Error\x20getting\x20API\x20URL:'};try{const _0x53257f=await createApiInstance(),_0x5e7961={'Info':{'EncryptedUserPin':_0x3d90e2,'confirmations':_0x340f9c,'web3Type':_0x31555a[_0x2a9b(0x12)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x5b57f0}},_0x413780=await _0x53257f[_0x2a9b(0x7)](_0x31555a[_0x2a9b(0x13)],_0x5e7961);return _0x413780[_0x2a9b(0x9)];}catch(_0x5c0746){console[_0x2a9b(0xf)](_0x31555a[_0x2a9b(0x14)],_0x5c0746);throw _0x5c0746;}};export const createAccount=async(_0x51fb4c,_0x1e9b39,_0x1e0056,_0x3e9f8e)=>{const _0x2785f5={'uHsMr':function(_0x39a9a0){return _0x39a9a0();},'kQOUc':_0x2a9b(0x15)};try{const _0xf8735e=await _0x2785f5[_0x2a9b(0x16)](createApiInstance),_0x4a2d03=await _0xf8735e['post'](_0x2a9b(0x17),{'othentSub':_0x51fb4c,'pin':_0x1e9b39,'socialAccounts':_0x1e0056,'email':_0x3e9f8e});return _0x4a2d03[_0x2a9b(0x9)];}catch(_0xe04980){console[_0x2a9b(0xf)](_0x2785f5[_0x2a9b(0x18)],_0xe04980);throw _0xe04980;}};
1
+ function _0x19d1(_0xef52ed,_0x19d128){_0xef52ed=_0xef52ed-0x0;const _0x17f980=_0xef52();let _0x3a630a=_0x17f980[_0xef52ed];return _0x3a630a;}import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';function _0xef52(){const _0x2f3a00=['BASE_URL','onairosToken','create','Bearer\x20','/valid/validate-domain','post','data','error','nKoIt','/getAccountInfo','wAVCP','othent','/getAPIurl','Aqkcl','HTYrv','kStmw','ElLvq','/createAccount','giQdc','iVbCv','RYKhj'];_0xef52=function(){return _0x2f3a00;};return _0xef52();}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x19d1(0x0)];export const createApiInstance=async()=>{const _0x28fdda={'xLJnj':_0x19d1(0x1)},_0x3b164c=await AsyncStorage['getItem'](_0x28fdda['xLJnj']);return axios[_0x19d1(0x2)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x3b164c?{'Authorization':_0x19d1(0x3)+_0x3b164c}:{}}});};export const validateDomain=async()=>{const _0x558ad2={'sAsEG':_0x19d1(0x4),'nKoIt':'Error\x20validating\x20domain:'};try{const _0x44ba3e=await createApiInstance(),_0x18eea1=await _0x44ba3e[_0x19d1(0x5)](_0x558ad2['sAsEG']);return _0x18eea1[_0x19d1(0x6)];}catch(_0x32fbfa){return console[_0x19d1(0x7)](_0x558ad2[_0x19d1(0x8)],_0x32fbfa),{'status':![]};}};export const fetchAccountInfo=async(_0x51fce3,_0x272f90=![])=>{const _0x550ae5={'ItEif':function(_0x1f67f8){return _0x1f67f8();},'wAVCP':_0x19d1(0x9)};try{const _0x5b0377=await _0x550ae5['ItEif'](createApiInstance),_0x124c28=_0x272f90?{'Info':{'identifier':_0x51fce3}}:{'Info':{'userName':_0x51fce3}},_0x5e84dd=_0x272f90?'/getAccountInfo/email':_0x550ae5[_0x19d1(0xa)],_0x230848=await _0x5b0377[_0x19d1(0x5)](_0x5e84dd,_0x124c28);return _0x230848[_0x19d1(0x6)];}catch(_0x56062e){console['error']('Error\x20fetching\x20account\x20info:',_0x56062e);throw _0x56062e;}};export const getApiUrl=async(_0x5608f1,_0x26fbc7,_0x316878)=>{const _0x2eedbd={'Aqkcl':function(_0x510acb){return _0x510acb();},'HTYrv':_0x19d1(0xb),'kStmw':_0x19d1(0xc),'ElLvq':'Error\x20getting\x20API\x20URL:'};try{const _0xa562df=await _0x2eedbd[_0x19d1(0xd)](createApiInstance),_0x5b9666={'Info':{'EncryptedUserPin':_0x26fbc7,'confirmations':_0x5608f1,'web3Type':_0x2eedbd[_0x19d1(0xe)],'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x316878}},_0x2c23b2=await _0xa562df[_0x19d1(0x5)](_0x2eedbd[_0x19d1(0xf)],_0x5b9666);return _0x2c23b2[_0x19d1(0x6)];}catch(_0x30bfdb){console[_0x19d1(0x7)](_0x2eedbd[_0x19d1(0x10)],_0x30bfdb);throw _0x30bfdb;}};export const createAccount=async(_0x262fbc,_0x23bab6,_0xf897a4,_0x25ef27)=>{const _0x175124={'giQdc':function(_0x33ae3b){return _0x33ae3b();},'iVbCv':_0x19d1(0x11),'RYKhj':'Error\x20creating\x20account:'};try{const _0xb78343=await _0x175124[_0x19d1(0x12)](createApiInstance),_0x3338ac=await _0xb78343[_0x19d1(0x5)](_0x175124[_0x19d1(0x13)],{'othentSub':_0x262fbc,'pin':_0x23bab6,'socialAccounts':_0xf897a4,'email':_0x25ef27});return _0x3338ac[_0x19d1(0x6)];}catch(_0x19532a){console[_0x19d1(0x7)](_0x175124[_0x19d1(0x14)],_0x19532a);throw _0x19532a;}};
@@ -32,4 +32,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
32
32
  require('../assets/animations/persona-animation.json')
33
33
  ];
34
34
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
35
- export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0x10)};export const getPlatformIconFromRegistry=_0x4f9139=>{const _0x292fa1={'kGRhT':_0x3674(0x0),'eFYWy':_0x3674(0x1),'DQVQp':_0x3674(0x2),'rcvDp':_0x3674(0x3)},_0x232fb8=_0x4f9139[_0x3674(0x4)]();switch(_0x232fb8){case _0x292fa1['kGRhT']:return PLATFORM_ICONS[_0x3674(0x0)];case _0x3674(0x5):return PLATFORM_ICONS[_0x3674(0x5)];case _0x3674(0x6):return PLATFORM_ICONS['linkedin'];case _0x3674(0x7):return PLATFORM_ICONS['instagram'];case _0x3674(0x8):return PLATFORM_ICONS['facebook'];case _0x3674(0x9):return PLATFORM_ICONS[_0x3674(0x9)];case'gmail':case _0x292fa1['eFYWy']:return PLATFORM_ICONS[_0x3674(0xa)];case _0x3674(0xb):case'x':return PLATFORM_ICONS[_0x3674(0xb)];case _0x292fa1[_0x3674(0xc)]:return PLATFORM_ICONS[_0x3674(0x2)];case _0x3674(0xd):case _0x3674(0xe):return PLATFORM_ICONS[_0x3674(0xd)];case _0x3674(0xf):case _0x3674(0x10):return PLATFORM_ICONS[_0x3674(0xf)];case'grok':return PLATFORM_ICONS[_0x3674(0x11)];case _0x3674(0x12):case _0x3674(0x13):return PLATFORM_ICONS['gemini'];case _0x3674(0x14):return PLATFORM_ICONS[_0x3674(0x15)];case _0x292fa1['rcvDp']:return PLATFORM_ICONS[_0x3674(0x15)];default:return PLATFORM_ICONS[_0x3674(0x15)];}};export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0x11),'level2':__ONAIROS_REQ_FUNC__(0x12),'level3':__ONAIROS_REQ_FUNC__(0x13),'level4':__ONAIROS_REQ_FUNC__(0x14),'level5':__ONAIROS_REQ_FUNC__(0x15)};export const getPersonaImage=_0x2d41cd=>{const _0x39a8c3='level'+_0x2d41cd;return PERSONA_IMAGES[_0x39a8c3]||PERSONA_IMAGES['level1'];};export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x16),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x17),'googleLogo':__ONAIROS_REQ_FUNC__(0x18),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x19),'enochIcon':__ONAIROS_REQ_FUNC__(0x1a)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x1b),'persona':__ONAIROS_REQ_FUNC__(0x1c)};function _0x3a7f(){const _0x20e6f6=['youtube','email','farcaster','spotify','toLowerCase','reddit','linkedin','instagram','facebook','pinterest','gmail','twitter','DQVQp','chatgpt','openai','claude','anthropic','grok','gemini','google_ai','netflix','default','Instagram','YouTube','Reddit','Pinterest','Email','vfUFG','youtube2','dssrU'];_0x3a7f=function(){return _0x20e6f6;};return _0x3a7f();}export const OVERLAY_PLATFORMS=[{'id':_0x3674(0x7),'name':_0x3674(0x16),'icon':PLATFORM_ICONS[_0x3674(0x7)]},{'id':_0x3674(0x0),'name':_0x3674(0x17),'icon':PLATFORM_ICONS['youtube2']},{'id':_0x3674(0x5),'name':_0x3674(0x18),'icon':PLATFORM_ICONS[_0x3674(0x5)]},{'id':_0x3674(0x9),'name':_0x3674(0x19),'icon':PLATFORM_ICONS[_0x3674(0x9)]},{'id':'email','name':_0x3674(0x1a),'icon':PLATFORM_ICONS[_0x3674(0xa)]}];function _0x3674(_0x3a7f49,_0x3674e9){_0x3a7f49=_0x3a7f49-0x0;const _0x761e64=_0x3a7f();let _0x520784=_0x761e64[_0x3a7f49];return _0x520784;}export const getUniversalOnboardingIcon=_0x34476a=>{const _0x3682d7={'vfUFG':_0x3674(0x7),'dssrU':_0x3674(0x1)},_0x939007=_0x34476a[_0x3674(0x4)]();switch(_0x939007){case _0x3682d7[_0x3674(0x1b)]:return PLATFORM_ICONS['instagram'];case'youtube':return PLATFORM_ICONS[_0x3674(0x1c)];case _0x3674(0x5):return PLATFORM_ICONS[_0x3674(0x5)];case _0x3674(0x9):return PLATFORM_ICONS[_0x3674(0x9)];case _0x3674(0x8):return PLATFORM_ICONS[_0x3674(0x8)];case _0x3674(0x6):return PLATFORM_ICONS['linkedin'];case'gmail':case _0x3682d7[_0x3674(0x1d)]:return PLATFORM_ICONS['gmail'];default:return PLATFORM_ICONS[_0x3674(0x15)];}};
35
+ export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'netflix':__ONAIROS_REQ_FUNC__(0xe),'spotify':__ONAIROS_REQ_FUNC__(0xf),'default':__ONAIROS_REQ_FUNC__(0x10)};export const getPlatformIconFromRegistry=_0x549790=>{const _0x272a31={'HxcZX':_0x8278(0x0),'Wnqcu':_0x8278(0x1),'PitXC':_0x8278(0x2),'FmTMu':_0x8278(0x3),'WGMul':_0x8278(0x4),'rLvbv':_0x8278(0x5)},_0x8e84c=_0x549790[_0x8278(0x6)]();switch(_0x8e84c){case _0x8278(0x7):return PLATFORM_ICONS['youtube'];case _0x272a31['HxcZX']:return PLATFORM_ICONS[_0x8278(0x0)];case _0x8278(0x8):return PLATFORM_ICONS['linkedin'];case _0x8278(0x9):return PLATFORM_ICONS[_0x8278(0x9)];case _0x272a31[_0x8278(0xa)]:return PLATFORM_ICONS['facebook'];case _0x8278(0xb):return PLATFORM_ICONS[_0x8278(0xb)];case _0x8278(0xc):case _0x272a31['PitXC']:return PLATFORM_ICONS[_0x8278(0xc)];case _0x8278(0xd):case'x':return PLATFORM_ICONS[_0x8278(0xd)];case'farcaster':return PLATFORM_ICONS[_0x8278(0xe)];case _0x272a31[_0x8278(0xf)]:case'openai':return PLATFORM_ICONS[_0x8278(0x3)];case _0x272a31[_0x8278(0x10)]:case'anthropic':return PLATFORM_ICONS['claude'];case'grok':return PLATFORM_ICONS[_0x8278(0x11)];case _0x8278(0x12):case _0x8278(0x13):return PLATFORM_ICONS['gemini'];case'netflix':return PLATFORM_ICONS[_0x8278(0x14)];case _0x272a31[_0x8278(0x15)]:return PLATFORM_ICONS[_0x8278(0x5)];default:return PLATFORM_ICONS['default'];}};function _0x8278(_0x599d53,_0x827888){_0x599d53=_0x599d53-0x0;const _0x2692ee=_0x599d();let _0x3f8578=_0x2692ee[_0x599d53];return _0x3f8578;}function _0x599d(){const _0x1a468b=['reddit','facebook','email','chatgpt','claude','spotify','toLowerCase','youtube','linkedin','instagram','Wnqcu','pinterest','gmail','twitter','farcaster','FmTMu','WGMul','grok','gemini','google_ai','netflix','rLvbv','level','Instagram','youtube2','Reddit','Pinterest','Email','xOmzV','PnIZf','POXXP'];_0x599d=function(){return _0x1a468b;};return _0x599d();}export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0x11),'level2':__ONAIROS_REQ_FUNC__(0x12),'level3':__ONAIROS_REQ_FUNC__(0x13),'level4':__ONAIROS_REQ_FUNC__(0x14),'level5':__ONAIROS_REQ_FUNC__(0x15)};export const getPersonaImage=_0x5e739f=>{const _0x5b2ae6=_0x8278(0x16)+_0x5e739f;return PERSONA_IMAGES[_0x5b2ae6]||PERSONA_IMAGES['level1'];};export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x16),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x17),'googleLogo':__ONAIROS_REQ_FUNC__(0x18),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x19),'enochIcon':__ONAIROS_REQ_FUNC__(0x1a)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x1b),'persona':__ONAIROS_REQ_FUNC__(0x1c)};export const OVERLAY_PLATFORMS=[{'id':_0x8278(0x9),'name':_0x8278(0x17),'icon':PLATFORM_ICONS['instagram']},{'id':_0x8278(0x7),'name':'YouTube','icon':PLATFORM_ICONS[_0x8278(0x18)]},{'id':_0x8278(0x0),'name':_0x8278(0x19),'icon':PLATFORM_ICONS[_0x8278(0x0)]},{'id':_0x8278(0xb),'name':_0x8278(0x1a),'icon':PLATFORM_ICONS[_0x8278(0xb)]},{'id':'email','name':_0x8278(0x1b),'icon':PLATFORM_ICONS[_0x8278(0xc)]}];export const getUniversalOnboardingIcon=_0x24737d=>{const _0x5938f3={'xOmzV':'instagram','PnIZf':_0x8278(0xb),'POXXP':'facebook'},_0x7508c5=_0x24737d[_0x8278(0x6)]();switch(_0x7508c5){case _0x5938f3[_0x8278(0x1c)]:return PLATFORM_ICONS[_0x8278(0x9)];case _0x8278(0x7):return PLATFORM_ICONS[_0x8278(0x18)];case _0x8278(0x0):return PLATFORM_ICONS[_0x8278(0x0)];case _0x5938f3[_0x8278(0x1d)]:return PLATFORM_ICONS[_0x8278(0xb)];case _0x5938f3[_0x8278(0x1e)]:return PLATFORM_ICONS[_0x8278(0x1)];case _0x8278(0x8):return PLATFORM_ICONS[_0x8278(0x8)];case _0x8278(0xc):case'email':return PLATFORM_ICONS['gmail'];default:return PLATFORM_ICONS['default'];}};
@@ -1 +1 @@
1
- import axios from'axios';function _0x2c0c(_0x488d17,_0x2c0ca3){_0x488d17=_0x488d17-0x0;const _0x83596=_0x488d();let _0x3bf78b=_0x83596[_0x488d17];return _0x3bf78b;}function _0x488d(){const _0x3c8500=['BASE_URL','Error\x20clearing\x20auth\x20data:','lbGzI','vWnIR','PuwgS','error','lIeoj','/getPin','data','Error\x20storing\x20auth\x20data:','Error\x20getting\x20PIN:','Error\x20verifying\x20token:','FqXaw','NOYWY','post','/verifyToken','valid','mWsjo','YFcbR','MdAee','Brxme','AGTEd','goNdR','pGLAw','PMWVs','setItem','onairosToken','username','Pzfgx','QenRO','othentToken','stringify','Error\x20getting\x20stored\x20auth\x20data:','zfOJZ','CDBUy','removeItem','dcxxh','aAjNL','zIETI','getItem','TYtie','GmkLV','parse','smXmh'];_0x488d=function(){return _0x3c8500;};return _0x488d();}import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x2c0c(0x0)];export const getPin=async _0x3d740d=>{const _0x4050c0={'lIeoj':_0x2c0c(0x1),'vWnIR':function(_0x563607,_0x4e0faf){return _0x563607===_0x4e0faf;},'PuwgS':_0x2c0c(0x2)};try{if(_0x4050c0[_0x2c0c(0x3)]('EJtBV',_0x4050c0[_0x2c0c(0x4)])){_0x3ec90c[_0x2c0c(0x5)](_0x4050c0[_0x2c0c(0x6)],_0x2665c2);throw _0x56c3cc;}else{const _0x50a74f=await axios['post'](API_URL+_0x2c0c(0x7),{'hashedOthentSub':_0x3d740d});return _0x50a74f[_0x2c0c(0x8)];}}catch(_0x56912e){console['error']('Error\x20getting\x20PIN:',_0x56912e);throw _0x56912e;}};export const verifyToken=async _0x31d69f=>{const _0x97a280={'NOYWY':_0x2c0c(0x9),'MdAee':_0x2c0c(0xa),'FqXaw':'gCDky','mWsjo':function(_0x40c3b9,_0x509f42){return _0x40c3b9!==_0x509f42;},'YFcbR':'tJkHP','Brxme':_0x2c0c(0xb)};try{if(_0x97a280[_0x2c0c(0xc)]!==_0x97a280[_0x2c0c(0xc)]){_0x17d8d2['error'](_0x97a280[_0x2c0c(0xd)],_0x64fadb);throw _0x368b33;}else{const _0x575229=await axios[_0x2c0c(0xe)](API_URL+_0x2c0c(0xf),{},{'headers':{'Authorization':'Bearer\x20'+_0x31d69f}});return _0x575229[_0x2c0c(0x8)][_0x2c0c(0x10)];}}catch(_0x289399){if(_0x97a280[_0x2c0c(0x11)](_0x97a280[_0x2c0c(0x12)],_0x97a280[_0x2c0c(0x12)])){_0x46a794[_0x2c0c(0x5)](_0x97a280[_0x2c0c(0x13)],_0x4a7fed);throw _0xddee3b;}else return console[_0x2c0c(0x5)](_0x97a280[_0x2c0c(0x14)],_0x289399),![];}};export const storeAuthData=async(_0x44d57d,_0x48c9cb=null,_0x405593=null)=>{const _0x5178c6={'Pzfgx':_0x2c0c(0x15),'QenRO':_0x2c0c(0x16),'wzMJe':function(_0x3576d6,_0x4720f0){return _0x3576d6===_0x4720f0;},'zfOJZ':_0x2c0c(0x17),'psQBM':_0x2c0c(0x18)};try{await AsyncStorage[_0x2c0c(0x19)](_0x2c0c(0x1a),_0x44d57d);_0x48c9cb&&await AsyncStorage['setItem'](_0x2c0c(0x1b),_0x48c9cb);if(_0x405593){if(_0x5178c6[_0x2c0c(0x1c)]!==_0x5178c6[_0x2c0c(0x1d)])await AsyncStorage['setItem'](_0x2c0c(0x1e),JSON[_0x2c0c(0x1f)](_0x405593));else return _0x4bef73[_0x2c0c(0x5)](_0x2c0c(0x20),_0x3e1bcb),{'token':null,'username':null,'othentToken':null};}}catch(_0x186cdd){if(_0x5178c6['wzMJe'](_0x5178c6[_0x2c0c(0x21)],_0x5178c6['psQBM']))return _0x334201[_0x2c0c(0x5)](_0x2c0c(0xb),_0x5c891d),![];else{console[_0x2c0c(0x5)](_0x2c0c(0x9),_0x186cdd);throw _0x186cdd;}}};export const clearAuthData=async()=>{const _0x4646b7={'CDBUy':'onairosToken','dcxxh':_0x2c0c(0x1e),'aAjNL':_0x2c0c(0x1)};try{await AsyncStorage['removeItem'](_0x4646b7[_0x2c0c(0x22)]),await AsyncStorage[_0x2c0c(0x23)]('username'),await AsyncStorage['removeItem'](_0x4646b7[_0x2c0c(0x24)]);}catch(_0x3d311e){console[_0x2c0c(0x5)](_0x4646b7[_0x2c0c(0x25)],_0x3d311e);throw _0x3d311e;}};export const getStoredAuthData=async()=>{const _0x4c18ca={'zIETI':'onairosToken','TYtie':_0x2c0c(0x1b),'GmkLV':_0x2c0c(0x1e),'smXmh':_0x2c0c(0x20)};try{const _0x727a3b=await AsyncStorage['getItem'](_0x4c18ca[_0x2c0c(0x26)]),_0xe4a09b=await AsyncStorage[_0x2c0c(0x27)](_0x4c18ca[_0x2c0c(0x28)]),_0x46efd0=await AsyncStorage[_0x2c0c(0x27)](_0x4c18ca[_0x2c0c(0x29)]);return{'token':_0x727a3b,'username':_0xe4a09b,'othentToken':_0x46efd0?JSON[_0x2c0c(0x2a)](_0x46efd0):null};}catch(_0x47486e){return console['error'](_0x4c18ca[_0x2c0c(0x2b)],_0x47486e),{'token':null,'username':null,'othentToken':null};}};
1
+ import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';function _0x2e80(_0x12bcc2,_0x2e80b1){_0x12bcc2=_0x12bcc2-0x0;const _0x8136d8=_0x12bc();let _0x909dc7=_0x8136d8[_0x12bcc2];return _0x909dc7;}const API_URL=API_CONFIG[_0x2e80(0x0)];export const getPin=async _0x2d539c=>{const _0x206b02={'zeEzw':'Error\x20clearing\x20auth\x20data:','Rkzol':_0x2e80(0x1),'tKEMK':function(_0x15153c,_0x1d56ae){return _0x15153c!==_0x1d56ae;},'pyqJG':_0x2e80(0x2),'qNZwB':_0x2e80(0x3),'QkrXp':function(_0x182f50,_0x206d65){return _0x182f50!==_0x206d65;},'ATDnP':'YTaHv','IilJH':'Error\x20getting\x20PIN:'};try{if(_0x206b02[_0x2e80(0x4)](_0x206b02[_0x2e80(0x5)],_0x206b02[_0x2e80(0x6)])){const _0x21f3d6=await axios['post'](API_URL+_0x2e80(0x7),{'hashedOthentSub':_0x2d539c});return _0x21f3d6['data'];}else{_0x569e22[_0x2e80(0x8)](_0x206b02['zeEzw'],_0x4f3489);throw _0x529c08;}}catch(_0x589232){if(_0x206b02[_0x2e80(0x9)](_0x206b02[_0x2e80(0xa)],_0x206b02[_0x2e80(0xa)]))return _0x3ea23a['error'](_0x206b02[_0x2e80(0xb)],_0x44a201),![];else{console[_0x2e80(0x8)](_0x206b02[_0x2e80(0xc)],_0x589232);throw _0x589232;}}};function _0x12bc(){const _0x1fbf0f=['BASE_URL','Error\x20verifying\x20token:','StDEy','UqCIT','tKEMK','pyqJG','qNZwB','/getPin','error','QkrXp','ATDnP','Rkzol','IilJH','JhHiO','post','Bearer\x20','data','valid','BYxVF','Error\x20getting\x20stored\x20auth\x20data:','Error\x20getting\x20PIN:','onairosToken','uHVIT','username','Error\x20storing\x20auth\x20data:','CygDP','HrPDZ','itclZ','shdxH','MoNix','setItem','othentToken','tQGfq','VTXqo','Error\x20clearing\x20auth\x20data:','DkCxH','DBLAY','removeItem','JuNNg','ZjNZC','xhOLO','qfiqz','SxjYz','getItem','pXByi','cxdkA'];_0x12bc=function(){return _0x1fbf0f;};return _0x12bc();}export const verifyToken=async _0x1e1c6f=>{const _0x4a439={'BYxVF':_0x2e80(0xd)};try{const _0x2c2701=await axios[_0x2e80(0xe)](API_URL+'/verifyToken',{},{'headers':{'Authorization':_0x2e80(0xf)+_0x1e1c6f}});return _0x2c2701[_0x2e80(0x10)][_0x2e80(0x11)];}catch(_0x510486){return _0x2e80(0xd)===_0x4a439[_0x2e80(0x12)]?(console['error'](_0x2e80(0x1),_0x510486),![]):(_0x1acf30['error'](_0x2e80(0x13),_0x844d77),{'token':null,'username':null,'othentToken':null});}};export const storeAuthData=async(_0x1a9480,_0x585b87=null,_0x2cb628=null)=>{const _0xd75293={'MoNix':_0x2e80(0x14),'CygDP':_0x2e80(0x15),'HrPDZ':function(_0x2064ee,_0xd05c98){return _0x2064ee===_0xd05c98;},'itclZ':_0x2e80(0x16),'shdxH':_0x2e80(0x17),'tQGfq':_0x2e80(0x18)};try{await AsyncStorage['setItem'](_0xd75293[_0x2e80(0x19)],_0x1a9480);if(_0x585b87){if(_0xd75293[_0x2e80(0x1a)](_0xd75293[_0x2e80(0x1b)],'uHVIT'))await AsyncStorage['setItem'](_0xd75293[_0x2e80(0x1c)],_0x585b87);else{_0x47f994[_0x2e80(0x8)](_0xd75293[_0x2e80(0x1d)],_0x158927);throw _0x3eb091;}}_0x2cb628&&await AsyncStorage[_0x2e80(0x1e)](_0x2e80(0x1f),JSON['stringify'](_0x2cb628));}catch(_0x20ec51){console[_0x2e80(0x8)](_0xd75293[_0x2e80(0x20)],_0x20ec51);throw _0x20ec51;}};export const clearAuthData=async()=>{const _0xcde6d={'xhOLO':_0x2e80(0x18),'DkCxH':function(_0x5b0263,_0x355fd1){return _0x5b0263!==_0x355fd1;},'gpvgi':_0x2e80(0x21),'DBLAY':'CDXvK','JuNNg':_0x2e80(0x17),'ZjNZC':_0x2e80(0x1f),'qfiqz':_0x2e80(0x22)};try{if(_0xcde6d[_0x2e80(0x23)](_0xcde6d['gpvgi'],_0xcde6d[_0x2e80(0x24)]))await AsyncStorage[_0x2e80(0x25)](_0x2e80(0x15)),await AsyncStorage[_0x2e80(0x25)](_0xcde6d[_0x2e80(0x26)]),await AsyncStorage[_0x2e80(0x25)](_0xcde6d[_0x2e80(0x27)]);else{_0x2238df[_0x2e80(0x8)](_0xcde6d[_0x2e80(0x28)],_0x1f66b5);throw _0x24693f;}}catch(_0xc130a9){console['error'](_0xcde6d[_0x2e80(0x29)],_0xc130a9);throw _0xc130a9;}};export const getStoredAuthData=async()=>{const _0x8917b6={'SxjYz':_0x2e80(0x15),'pXByi':_0x2e80(0x17),'cxdkA':_0x2e80(0x13)};try{const _0x7e87c4=await AsyncStorage['getItem'](_0x8917b6[_0x2e80(0x2a)]),_0x3b5535=await AsyncStorage[_0x2e80(0x2b)](_0x8917b6[_0x2e80(0x2c)]),_0x5e0169=await AsyncStorage[_0x2e80(0x2b)](_0x2e80(0x1f));return{'token':_0x7e87c4,'username':_0x3b5535,'othentToken':_0x5e0169?JSON['parse'](_0x5e0169):null};}catch(_0x37c87d){return console[_0x2e80(0x8)](_0x8917b6[_0x2e80(0x2d)],_0x37c87d),{'token':null,'username':null,'othentToken':null};}};