@onairos/react-native 3.6.3 → 3.6.4

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 (222) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/components/BodyText.js +1 -1
  3. package/lib/commonjs/components/BrandMark.js +1 -1
  4. package/lib/commonjs/components/CodeInput.js +1 -1
  5. package/lib/commonjs/components/EmailInput.js +1 -1
  6. package/lib/commonjs/components/GoogleButton.js +1 -1
  7. package/lib/commonjs/components/HeadingGroup.js +1 -1
  8. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  9. package/lib/commonjs/components/ModalHeader.js +1 -1
  10. package/lib/commonjs/components/ModalSheet.js +1 -1
  11. package/lib/commonjs/components/Onairos.js +1 -1
  12. package/lib/commonjs/components/OnairosButton.js +1 -1
  13. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  14. package/lib/commonjs/components/Overlay.js +1 -1
  15. package/lib/commonjs/components/PersonaImage.js +1 -1
  16. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  17. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  18. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  19. package/lib/commonjs/components/PinInput.js +1 -1
  20. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  21. package/lib/commonjs/components/PlatformList.js +1 -1
  22. package/lib/commonjs/components/PlatformToggle.js +1 -1
  23. package/lib/commonjs/components/PrimaryButton.js +1 -1
  24. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  25. package/lib/commonjs/components/SignInStep.js +1 -1
  26. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  27. package/lib/commonjs/components/VerificationStep.js +1 -1
  28. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  29. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  30. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  31. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  32. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  33. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  34. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  35. package/lib/commonjs/components/icons/EnochE.js +1 -1
  36. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  37. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  38. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  39. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  40. package/lib/commonjs/components/icons/index.js +1 -1
  41. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  42. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  43. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  44. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  45. package/lib/commonjs/config/api.js +1 -1
  46. package/lib/commonjs/constants/index.js +1 -1
  47. package/lib/commonjs/context/AuthContext.js +1 -1
  48. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  49. package/lib/commonjs/hooks/useConnections.js +1 -1
  50. package/lib/commonjs/hooks/useCredentials.js +1 -1
  51. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  52. package/lib/commonjs/index.js +1 -1
  53. package/lib/commonjs/services/apiClient.js +1 -1
  54. package/lib/commonjs/services/apiKeyService.js +1 -1
  55. package/lib/commonjs/services/authService.js +1 -1
  56. package/lib/commonjs/services/biometricPinService.js +1 -1
  57. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  58. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  59. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  60. package/lib/commonjs/services/claudeConversationService.js +1 -1
  61. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  62. package/lib/commonjs/services/googleAuthService.js +1 -1
  63. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  64. package/lib/commonjs/services/hingeDataService.js +1 -1
  65. package/lib/commonjs/services/imageCompressionService.js +1 -1
  66. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  67. package/lib/commonjs/services/instagramDataService.js +1 -1
  68. package/lib/commonjs/services/jwtStorageService.js +1 -1
  69. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  70. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  71. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  72. package/lib/commonjs/services/llmDataStorage.js +1 -1
  73. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  74. package/lib/commonjs/services/oauthService.js +1 -1
  75. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  76. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  77. package/lib/commonjs/services/platformAuthService.js +1 -1
  78. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  79. package/lib/commonjs/services/sephoraDataService.js +1 -1
  80. package/lib/commonjs/services/storageService.js +1 -1
  81. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  82. package/lib/commonjs/services/telegramDataService.js +1 -1
  83. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  84. package/lib/commonjs/services/userConnectionsService.js +1 -1
  85. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  86. package/lib/commonjs/theme/index.js +1 -1
  87. package/lib/commonjs/types/index.js +1 -1
  88. package/lib/commonjs/types.js +1 -1
  89. package/lib/commonjs/utils/Portal.js +1 -1
  90. package/lib/commonjs/utils/api.js +1 -1
  91. package/lib/commonjs/utils/assetRegistry.js +1 -1
  92. package/lib/commonjs/utils/auth.js +1 -1
  93. package/lib/commonjs/utils/connectorTests.js +1 -1
  94. package/lib/commonjs/utils/crypto.js +1 -1
  95. package/lib/commonjs/utils/debugHelper.js +1 -1
  96. package/lib/commonjs/utils/encryption.js +1 -1
  97. package/lib/commonjs/utils/eventUtils.js +1 -1
  98. package/lib/commonjs/utils/haptics.js +1 -1
  99. package/lib/commonjs/utils/imagePreloader.js +1 -1
  100. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  101. package/lib/commonjs/utils/onairosApi.js +1 -1
  102. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  103. package/lib/commonjs/utils/retryHelper.js +1 -1
  104. package/lib/commonjs/utils/secureStorage.js +1 -1
  105. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  106. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  107. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  108. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  109. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  113. package/lib/module/api/index.js +1 -1
  114. package/lib/module/components/BodyText.js +1 -1
  115. package/lib/module/components/BrandMark.js +1 -1
  116. package/lib/module/components/CodeInput.js +1 -1
  117. package/lib/module/components/EmailInput.js +1 -1
  118. package/lib/module/components/GoogleButton.js +1 -1
  119. package/lib/module/components/HeadingGroup.js +1 -1
  120. package/lib/module/components/LLMDataInputModal.js +1 -1
  121. package/lib/module/components/ModalHeader.js +1 -1
  122. package/lib/module/components/ModalSheet.js +1 -1
  123. package/lib/module/components/Onairos.js +1 -1
  124. package/lib/module/components/OnairosButton.js +1 -1
  125. package/lib/module/components/OnairosSignInButton.js +1 -1
  126. package/lib/module/components/Overlay.js +1 -1
  127. package/lib/module/components/PersonaImage.js +1 -1
  128. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  129. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  130. package/lib/module/components/PinCreationScreen.js +1 -1
  131. package/lib/module/components/PinInput.js +1 -1
  132. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  133. package/lib/module/components/PlatformList.js +1 -1
  134. package/lib/module/components/PlatformToggle.js +1 -1
  135. package/lib/module/components/PrimaryButton.js +1 -1
  136. package/lib/module/components/SignInMatchAnimation.js +1 -1
  137. package/lib/module/components/SignInStep.js +1 -1
  138. package/lib/module/components/UniversalOnboarding.js +1 -1
  139. package/lib/module/components/VerificationStep.js +1 -1
  140. package/lib/module/components/WelcomeScreen.js +1 -1
  141. package/lib/module/components/icons/Basicproficon.js +1 -1
  142. package/lib/module/components/icons/Basicprofile.js +1 -1
  143. package/lib/module/components/icons/Checkbox.js +1 -1
  144. package/lib/module/components/icons/Checkmark.js +1 -1
  145. package/lib/module/components/icons/Contentanalysis.js +1 -1
  146. package/lib/module/components/icons/Contenticon.js +1 -1
  147. package/lib/module/components/icons/EnochE.js +1 -1
  148. package/lib/module/components/icons/Personalityicon.js +1 -1
  149. package/lib/module/components/icons/Personalityprofile.js +1 -1
  150. package/lib/module/components/icons/Personalitytraits.js +1 -1
  151. package/lib/module/components/icons/Userpreferences.js +1 -1
  152. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  153. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  154. package/lib/module/components/onboarding/PinInput.js +1 -1
  155. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  156. package/lib/module/config/api.js +1 -1
  157. package/lib/module/constants/index.js +1 -1
  158. package/lib/module/context/AuthContext.js +1 -1
  159. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  160. package/lib/module/hooks/useConnections.js +1 -1
  161. package/lib/module/hooks/useCredentials.js +1 -1
  162. package/lib/module/hooks/useUserConnections.js +1 -1
  163. package/lib/module/index.js +1 -1
  164. package/lib/module/services/apiClient.js +1 -1
  165. package/lib/module/services/apiKeyService.js +1 -1
  166. package/lib/module/services/authService.js +1 -1
  167. package/lib/module/services/biometricPinService.js +1 -1
  168. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  169. package/lib/module/services/chatGPTConversationService.js +1 -1
  170. package/lib/module/services/claudeConversationExtractor.js +1 -1
  171. package/lib/module/services/claudeConversationService.js +1 -1
  172. package/lib/module/services/connectedAccountsService.js +1 -1
  173. package/lib/module/services/googleAuthService.js +1 -1
  174. package/lib/module/services/hingeDataExtractor.js +1 -1
  175. package/lib/module/services/hingeDataService.js +1 -1
  176. package/lib/module/services/imageCompressionService.js +1 -1
  177. package/lib/module/services/instagramDataExtractor.js +1 -1
  178. package/lib/module/services/instagramDataService.js +1 -1
  179. package/lib/module/services/jwtStorageService.js +1 -1
  180. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  181. package/lib/module/services/linkedinProfileService.js +1 -1
  182. package/lib/module/services/linkedinScrapingService.js +1 -1
  183. package/lib/module/services/llmDataStorage.js +1 -1
  184. package/lib/module/services/mobileTrainingService.js +1 -1
  185. package/lib/module/services/oauthService.js +1 -1
  186. package/lib/module/services/pinEncryptionService.js +1 -1
  187. package/lib/module/services/pinStorageUtils.js +1 -1
  188. package/lib/module/services/platformAuthService.js +1 -1
  189. package/lib/module/services/sephoraDataExtractor.js +1 -1
  190. package/lib/module/services/sephoraDataService.js +1 -1
  191. package/lib/module/services/storageService.js +1 -1
  192. package/lib/module/services/telegramDataExtractor.js +1 -1
  193. package/lib/module/services/telegramDataService.js +1 -1
  194. package/lib/module/services/trainingApiHelpers.js +1 -1
  195. package/lib/module/services/userConnectionsService.js +1 -1
  196. package/lib/module/services/youtubeMigrationService.js +1 -1
  197. package/lib/module/theme/index.js +1 -1
  198. package/lib/module/types.js +1 -1
  199. package/lib/module/utils/Portal.js +1 -1
  200. package/lib/module/utils/api.js +1 -1
  201. package/lib/module/utils/assetRegistry.js +1 -1
  202. package/lib/module/utils/auth.js +1 -1
  203. package/lib/module/utils/connectorTests.js +1 -1
  204. package/lib/module/utils/crypto.js +1 -1
  205. package/lib/module/utils/debugHelper.js +1 -1
  206. package/lib/module/utils/encryption.js +1 -1
  207. package/lib/module/utils/eventUtils.js +1 -1
  208. package/lib/module/utils/haptics.js +1 -1
  209. package/lib/module/utils/networkDiagnostics.js +1 -1
  210. package/lib/module/utils/onairosApi.js +1 -1
  211. package/lib/module/utils/programmaticFlow.js +1 -1
  212. package/lib/module/utils/retryHelper.js +1 -1
  213. package/lib/module/utils/secureStorage.js +1 -1
  214. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  215. package/lib/module/utils/webviewScripts/claude.js +1 -1
  216. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  217. package/lib/module/utils/webviewScripts/index.js +1 -1
  218. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  219. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  220. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  221. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  222. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x426e(_0xdbb4be,_0x426e59){_0xdbb4be=_0xdbb4be-0x0;const _0xac42f9=_0xdbb4();let _0x47e576=_0xac42f9[_0xdbb4be];return _0x47e576;}import React from'react';import{View,Text,StyleSheet,TouchableOpacity}from'react-native';function _0xdbb4(){const _0x293ef3=['#000','createElement','header','backButton','arrow-back','titleContainer','subtitle','close','RByxI','create','row','headerBg','600','#666'];_0xdbb4=function(){return _0x293ef3;};return _0xdbb4();}import _0x1bc685 from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const OnboardingHeader=({title:_0x49b270,subtitle:_0x7591b0,showBackButton:showBackButton=![],onBack:_0x4a7038,onClose:_0x2f8b5e})=>{const _0x5c42b5={'RByxI':_0x426e(0x0)};return React[_0x426e(0x1)](View,{'style':styles[_0x426e(0x2)]},showBackButton&&React[_0x426e(0x1)](TouchableOpacity,{'style':styles[_0x426e(0x3)],'onPress':_0x4a7038},React[_0x426e(0x1)](_0x1bc685,{'name':_0x426e(0x4),'size':0x18,'color':_0x426e(0x0)})),React['createElement'](View,{'style':styles[_0x426e(0x5)]},React['createElement'](Text,{'style':styles['title']},_0x49b270),_0x7591b0&&React[_0x426e(0x1)](Text,{'style':styles[_0x426e(0x6)]},_0x7591b0)),React[_0x426e(0x1)](TouchableOpacity,{'style':styles['closeButton'],'onPress':_0x2f8b5e},React[_0x426e(0x1)](_0x1bc685,{'name':_0x426e(0x7),'size':0x18,'color':_0x5c42b5[_0x426e(0x8)]})));};const styles=StyleSheet[_0x426e(0x9)]({'header':{'flexDirection':_0x426e(0xa),'alignItems':'center','padding':0x10,'backgroundColor':COLORS[_0x426e(0xb)],'borderTopLeftRadius':0x10,'borderTopRightRadius':0x10},'backButton':{'padding':0x8,'marginRight':0x8},'titleContainer':{'flex':0x1},'title':{'fontSize':0x12,'fontWeight':_0x426e(0xc),'color':'#000'},'subtitle':{'fontSize':0xe,'color':_0x426e(0xd),'marginTop':0x4},'closeButton':{'padding':0x8}});
1
+ import React from'react';import{View,Text,StyleSheet,TouchableOpacity}from'react-native';import _0x1b3744 from'react-native-vector-icons/MaterialIcons';function _0x43bb(_0xf5effc,_0x43bba5){_0xf5effc=_0xf5effc-0x0;const _0x1549ce=_0xf5ef();let _0x1ab792=_0x1549ce[_0xf5effc];return _0x1ab792;}import{COLORS}from'../../constants';export const OnboardingHeader=({title:_0x5f26bd,subtitle:_0x50d551,showBackButton:showBackButton=![],onBack:_0xc4f9cd,onClose:_0x2ef5cf})=>{const _0xc327d5={'QEnQh':_0x43bb(0x0),'YkUdW':_0x43bb(0x1),'eETcT':_0x43bb(0x2)};return React[_0x43bb(0x3)](View,{'style':styles[_0x43bb(0x4)]},showBackButton&&React['createElement'](TouchableOpacity,{'style':styles[_0x43bb(0x5)],'onPress':_0xc4f9cd},React[_0x43bb(0x3)](_0x1b3744,{'name':_0xc327d5['QEnQh'],'size':0x18,'color':_0x43bb(0x2)})),React[_0x43bb(0x3)](View,{'style':styles[_0x43bb(0x6)]},React[_0x43bb(0x3)](Text,{'style':styles[_0x43bb(0x7)]},_0x5f26bd),_0x50d551&&React[_0x43bb(0x3)](Text,{'style':styles[_0x43bb(0x8)]},_0x50d551)),React[_0x43bb(0x3)](TouchableOpacity,{'style':styles[_0x43bb(0x9)],'onPress':_0x2ef5cf},React[_0x43bb(0x3)](_0x1b3744,{'name':_0xc327d5[_0x43bb(0xa)],'size':0x18,'color':_0xc327d5[_0x43bb(0xb)]})));};const styles=StyleSheet[_0x43bb(0xc)]({'header':{'flexDirection':_0x43bb(0xd),'alignItems':_0x43bb(0xe),'padding':0x10,'backgroundColor':COLORS[_0x43bb(0xf)],'borderTopLeftRadius':0x10,'borderTopRightRadius':0x10},'backButton':{'padding':0x8,'marginRight':0x8},'titleContainer':{'flex':0x1},'title':{'fontSize':0x12,'fontWeight':_0x43bb(0x10),'color':_0x43bb(0x2)},'subtitle':{'fontSize':0xe,'color':_0x43bb(0x11),'marginTop':0x4},'closeButton':{'padding':0x8}});function _0xf5ef(){const _0x428d17=['arrow-back','close','#000','createElement','header','backButton','titleContainer','title','subtitle','closeButton','YkUdW','eETcT','create','row','center','headerBg','600','#666'];_0xf5ef=function(){return _0x428d17;};return _0xf5ef();}
@@ -1 +1 @@
1
- import React,{useState,useCallback,useEffect}from'react';function _0x4b19(){const _0x3d595b=['create','jhZHj','PINs\x20do\x20not\x20match','PIN\x20must\x20include\x20at\x20least\x20one\x20special\x20character','confirm','zcgOe','WTycL','UlJKM','cvJwA','ygSvc','VfwHa','srjaU','padding','Create\x20a\x20PIN','Please\x20re-enter\x20your\x20PIN\x20to\x20confirm','default','Enter\x20PIN','Confirm\x20PIN','#999','done','visibility-off','visibility','PIN\x20Requirements:','#4caf50','At\x20least\x20','\x20characters','check-circle','radio-button-unchecked','Include\x20at\x20least\x20one\x20special\x20character','arrow-back','Back','Next','Submit','arrow-forward','#fff','zGuwD','VNvPe','rCEib','pNTCF','dYJdr','TyuDi','TIhOe','rtvpG','yXjTi','DkNhn','length','push','test','PIN\x20must\x20include\x20at\x20least\x20one\x20number','bNTww','lgyvt','ZUtdH','dismiss','XsAPB','WIyba','aJCTu','dGOFS','dtUjT','owHdk','uFVSF','WGdDp','dRONu','fWhnJ','CBUTy','PIN\x20must\x20be\x20at\x20least\x20','yFfBn','fAWAn','yNhLg','createElement','ios','mFIUV','height','content','title','lKhZK','Confirm\x20your\x20PIN','igNJB','inputContainer','input','lrkSa','zBnXb','none','dWBEM','ExwID','DUlfR','visibilityToggle','gUSar','kDjEv','errorContainer','map','errorItem','#f44336','errorText','iLbor','zqBoD','requirement','oJwVa','pLdMz','ndGsL','iHddN','wlbaB','requirementText','Include\x20at\x20least\x20one\x20number','sHgCR','JMoIA','buttonContainer','button','backButton','hdYZT','buttonText','backButtonText','nextButton','disabledButton','iLGMH','nextButtonText','iIpzh','iHoNH','lUKzn','center','#000','row','#f5f5f5','primary','#ccc','600'];_0x4b19=function(){return _0x3d595b;};return _0x4b19();}function _0x485b(_0x4b1934,_0x485b88){_0x4b1934=_0x4b1934-0x0;const _0x50046f=_0x4b19();let _0x445cbd=_0x50046f[_0x4b1934];return _0x445cbd;}import{View,Text,StyleSheet,TextInput,TouchableOpacity,Keyboard,KeyboardAvoidingView,Platform}from'react-native';import _0x4c4b6e from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const PinInput=({onSubmit:_0x4e1c97,minLength:minLength=0x6,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![]})=>{const _0x427d8={'dYJdr':function(_0x53b5e4,_0x24a773){return _0x53b5e4===_0x24a773;},'rCEib':_0x485b(0x0),'zGuwD':function(_0x455e70,_0x2536e3){return _0x455e70(_0x2536e3);},'TyuDi':function(_0x1af717,_0x13879e){return _0x1af717===_0x13879e;},'TIhOe':_0x485b(0x1),'DkNhn':function(_0x585525,_0x3eab5b){return _0x585525<_0x3eab5b;},'FfByW':_0x485b(0x2),'bNTww':_0x485b(0x3),'lgyvt':function(_0x463595,_0xa7b665){return _0x463595(_0xa7b665);},'MzjZk':function(_0x23f62d,_0x189fb6){return _0x23f62d(_0x189fb6);},'yCiiF':_0x485b(0x4),'vobcP':function(_0x193ee2,_0x23da66){return _0x193ee2===_0x23da66;},'ZUtdH':_0x485b(0x5),'zuJFX':_0x485b(0x6),'XsAPB':function(_0x52d6e7,_0x34db77){return _0x52d6e7===_0x34db77;},'WIyba':function(_0x10e966,_0x2eb99f){return _0x10e966===_0x2eb99f;},'aJCTu':_0x485b(0x7),'vnpiU':function(_0xbe5e6f,_0x5daf28){return _0xbe5e6f(_0x5daf28);},'dGOFS':function(_0x7b13bc,_0x4158f3){return _0x7b13bc!==_0x4158f3;},'YgZHV':_0x485b(0x8),'dtUjT':_0x485b(0x9),'owHdk':function(_0x2b5701,_0x5a08bc){return _0x2b5701(_0x5a08bc);},'uFVSF':function(_0x199482,_0x4312c0){return _0x199482(_0x4312c0);},'WGdDp':'PIN\x20must\x20include\x20at\x20least\x20one\x20number','dRONu':_0x485b(0xa),'fWhnJ':_0x485b(0xb),'yNhLg':function(_0x301024,_0x2364bf){return _0x301024(_0x2364bf);},'VNvPe':function(_0x455c60,_0x1d3971){return _0x455c60(_0x1d3971);},'pNTCF':function(_0x53e45d,_0xf918e1,_0x429e66){return _0x53e45d(_0xf918e1,_0x429e66);},'mFIUV':_0x485b(0xc),'lKhZK':_0x485b(0xd),'igNJB':_0x485b(0xe),'lrkSa':function(_0x23fdb7,_0x41e02d){return _0x23fdb7===_0x41e02d;},'zBnXb':_0x485b(0xf),'dWBEM':_0x485b(0x10),'tWasN':_0x485b(0x11),'ExwID':_0x485b(0x12),'DUlfR':_0x485b(0x13),'gUSar':_0x485b(0x14),'hOsHI':_0x485b(0x15),'kDjEv':function(_0x3ed3a0,_0x47a8c8){return _0x3ed3a0>_0x47a8c8;},'iLbor':function(_0x3121a9,_0x5b54f8){return _0x3121a9===_0x5b54f8;},'zqBoD':_0x485b(0x16),'oJwVa':function(_0x4af358,_0x2208cc){return _0x4af358>=_0x2208cc;},'pLdMz':_0x485b(0x17),'ndGsL':_0x485b(0x18),'iHddN':_0x485b(0x19),'wlbaB':_0x485b(0x1a),'sHgCR':_0x485b(0x1b),'JMoIA':_0x485b(0x1c),'hdYZT':_0x485b(0x1d),'NUFkW':_0x485b(0x1e),'iLGMH':function(_0x4cbe26,_0x1d7cbb){return _0x4cbe26===_0x1d7cbb;},'VCuMe':function(_0x127b7a,_0x40eaa8){return _0x127b7a===_0x40eaa8;},'iIpzh':_0x485b(0x1f),'iHoNH':_0x485b(0x20),'THnYc':_0x485b(0x21),'lUKzn':_0x485b(0x22)},[_0x3fae80,_0x21b87e]=_0x427d8[_0x485b(0x23)](useState,''),[_0x3a900e,_0x4ce3d3]=useState(''),[_0x5eafa7,_0x5dc684]=useState(![]),[_0x143b58,_0x452a78]=_0x427d8[_0x485b(0x24)](useState,[]),[_0x59ab22,_0x42d67a]=_0x427d8['uFVSF'](useState,_0x427d8[_0x485b(0x25)]);_0x427d8[_0x485b(0x26)](useEffect,()=>{_0x427d8[_0x485b(0x27)](_0x59ab22,_0x427d8[_0x485b(0x25)])&&_0x427d8[_0x485b(0x23)](_0xcab3bb,_0x3fae80);},[_0x3fae80,_0x59ab22]);const _0xcab3bb=_0x427d8[_0x485b(0x26)](useCallback,_0x20bc0c=>{const _0x3655a5={'yXjTi':function(_0x39573e,_0x28fe38){return _0x39573e(_0x28fe38);}};if(_0x427d8[_0x485b(0x28)](_0x427d8[_0x485b(0x29)],_0x485b(0x2a)))_0x3655a5[_0x485b(0x2b)](_0x20a2d3,!_0x59315c);else{const _0xb6f4f9=[];return _0x427d8[_0x485b(0x2c)](_0x20bc0c[_0x485b(0x2d)],minLength)&&_0xb6f4f9[_0x485b(0x2e)]('PIN\x20must\x20be\x20at\x20least\x20'+minLength+_0x485b(0x19)),requireNumber&&!/\d/[_0x485b(0x2f)](_0x20bc0c)&&_0xb6f4f9[_0x485b(0x2e)](_0x485b(0x30)),requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x485b(0x2f)](_0x20bc0c)&&_0xb6f4f9['push'](_0x485b(0x3)),_0x427d8[_0x485b(0x23)](_0x452a78,_0xb6f4f9),_0xb6f4f9[_0x485b(0x2d)]===0x0;}},[minLength,requireNumber,requireSpecialChar]),_0x7386ef=_0x427d8[_0x485b(0x26)](useCallback,()=>{const _0x2e4cd7={'xWDxi':_0x427d8[_0x485b(0x31)]};_0x427d8['dYJdr'](_0x59ab22,_0x427d8[_0x485b(0x25)])?_0x427d8[_0x485b(0x32)](_0xcab3bb,_0x3fae80)&&_0x427d8['MzjZk'](_0x42d67a,_0x427d8['yCiiF']):_0x427d8['vobcP'](_0x427d8[_0x485b(0x33)],_0x427d8['zuJFX'])?_0x427d8[_0x485b(0x27)](_0x2319bb,_0x5692ae)?(_0x4f548f[_0x485b(0x34)](),_0x427d8['zGuwD'](_0x21cd48,_0x3619ce)):(_0x427d8[_0x485b(0x23)](_0x178348,[_0x427d8['FfByW']]),_0x427d8['zGuwD'](_0x106f87,'')):_0x427d8[_0x485b(0x35)](_0x3fae80,_0x3a900e)?(Keyboard[_0x485b(0x34)](),_0x4e1c97(_0x3fae80)):_0x427d8[_0x485b(0x36)](_0x485b(0x7),_0x427d8[_0x485b(0x37)])?(_0x452a78([_0x485b(0x2)]),_0x427d8['vnpiU'](_0x4ce3d3,'')):_0x42de2c[_0x485b(0x2e)](_0x2e4cd7['xWDxi']);},[_0x3fae80,_0x3a900e,_0x59ab22,_0xcab3bb,_0x4e1c97]),_0x29bf73=useCallback(()=>{_0x427d8[_0x485b(0x38)](_0x427d8['YgZHV'],_0x427d8[_0x485b(0x39)])?(_0x427d8[_0x485b(0x3a)](_0x42d67a,_0x427d8[_0x485b(0x25)]),_0x427d8[_0x485b(0x3b)](_0x4ce3d3,''),_0x452a78([])):(_0x3d8817[_0x485b(0x34)](),_0x623de0(_0x329e64));},[]),_0xd74062=useCallback(()=>{const _0x519098={'CBUTy':function(_0x22eb16,_0x59200d){return _0x427d8['DkNhn'](_0x22eb16,_0x59200d);},'yFfBn':_0x427d8[_0x485b(0x3c)],'fAWAn':_0x485b(0x3)};if(_0x427d8['vobcP'](_0x427d8[_0x485b(0x3d)],_0x427d8[_0x485b(0x3e)])){const _0x5d3dee=[];return _0x519098[_0x485b(0x3f)](_0x4e6840[_0x485b(0x2d)],_0x18ef07)&&_0x5d3dee[_0x485b(0x2e)](_0x485b(0x40)+_0xe0135d+'\x20characters'),_0x324bba&&!/\d/[_0x485b(0x2f)](_0x3d2182)&&_0x5d3dee[_0x485b(0x2e)](_0x519098[_0x485b(0x41)]),_0x5c7996&&!/[!@#$%^&*(),.?":{}|<>]/[_0x485b(0x2f)](_0x479ade)&&_0x5d3dee[_0x485b(0x2e)](_0x519098[_0x485b(0x42)]),_0x5659df(_0x5d3dee),_0x5d3dee[_0x485b(0x2d)]===0x0;}else _0x427d8[_0x485b(0x43)](_0x5dc684,!_0x5eafa7);},[_0x5eafa7]);return React[_0x485b(0x44)](KeyboardAvoidingView,{'behavior':Platform['OS']===_0x485b(0x45)?_0x427d8[_0x485b(0x46)]:_0x485b(0x47),'style':styles['container']},React[_0x485b(0x44)](View,{'style':styles[_0x485b(0x48)]},React[_0x485b(0x44)](Text,{'style':styles[_0x485b(0x49)]},_0x59ab22===_0x427d8[_0x485b(0x25)]?_0x427d8[_0x485b(0x4a)]:_0x485b(0x4b)),React[_0x485b(0x44)](Text,{'style':styles['subtitle']},_0x427d8[_0x485b(0x28)](_0x59ab22,_0x427d8['rCEib'])?'This\x20PIN\x20will\x20protect\x20your\x20Onairos\x20account':_0x427d8[_0x485b(0x4c)]),React[_0x485b(0x44)](View,{'style':styles[_0x485b(0x4d)]},React[_0x485b(0x44)](TextInput,{'style':styles[_0x485b(0x4e)],'value':_0x427d8[_0x485b(0x4f)](_0x59ab22,_0x427d8[_0x485b(0x25)])?_0x3fae80:_0x3a900e,'onChangeText':_0x427d8['lrkSa'](_0x59ab22,_0x427d8[_0x485b(0x25)])?_0x21b87e:_0x4ce3d3,'secureTextEntry':!_0x5eafa7,'keyboardType':_0x427d8[_0x485b(0x50)],'autoCapitalize':_0x485b(0x51),'autoCorrect':![],'placeholder':_0x59ab22===_0x427d8[_0x485b(0x25)]?_0x427d8[_0x485b(0x52)]:_0x427d8['tWasN'],'placeholderTextColor':_0x427d8[_0x485b(0x53)],'returnKeyType':_0x427d8[_0x485b(0x54)],'onSubmitEditing':_0x7386ef}),React[_0x485b(0x44)](TouchableOpacity,{'style':styles[_0x485b(0x55)],'onPress':_0xd74062},React[_0x485b(0x44)](_0x4c4b6e,{'name':_0x5eafa7?_0x427d8[_0x485b(0x56)]:_0x427d8['hOsHI'],'size':0x18,'color':_0x427d8['ExwID']}))),_0x427d8[_0x485b(0x57)](_0x143b58['length'],0x0)&&React[_0x485b(0x44)](View,{'style':styles[_0x485b(0x58)]},_0x143b58[_0x485b(0x59)]((_0x59d7a2,_0x1ad9ae)=>React[_0x485b(0x44)](View,{'key':_0x1ad9ae,'style':styles[_0x485b(0x5a)]},React['createElement'](_0x4c4b6e,{'name':'error-outline','size':0x10,'color':_0x485b(0x5b)}),React[_0x485b(0x44)](Text,{'style':styles[_0x485b(0x5c)]},_0x59d7a2)))),_0x427d8[_0x485b(0x5d)](_0x59ab22,_0x485b(0x0))&&React[_0x485b(0x44)](View,{'style':styles['requirementsContainer']},React[_0x485b(0x44)](Text,{'style':styles['requirementsTitle']},_0x427d8[_0x485b(0x5e)]),React[_0x485b(0x44)](View,{'style':styles[_0x485b(0x5f)]},React[_0x485b(0x44)](_0x4c4b6e,{'name':_0x427d8[_0x485b(0x60)](_0x3fae80[_0x485b(0x2d)],minLength)?'check-circle':_0x485b(0x1b),'size':0x10,'color':_0x427d8[_0x485b(0x60)](_0x3fae80[_0x485b(0x2d)],minLength)?_0x427d8[_0x485b(0x61)]:_0x427d8[_0x485b(0x53)]}),React[_0x485b(0x44)](Text,{'style':[styles['requirementText'],{'color':_0x427d8[_0x485b(0x60)](_0x3fae80[_0x485b(0x2d)],minLength)?_0x427d8[_0x485b(0x61)]:'#999'}]},_0x427d8[_0x485b(0x62)],minLength,_0x427d8[_0x485b(0x63)])),requireNumber&&React[_0x485b(0x44)](View,{'style':styles['requirement']},React[_0x485b(0x44)](_0x4c4b6e,{'name':/\d/['test'](_0x3fae80)?_0x427d8[_0x485b(0x64)]:_0x427d8['sHgCR'],'size':0x10,'color':/\d/[_0x485b(0x2f)](_0x3fae80)?_0x427d8['pLdMz']:_0x427d8['ExwID']}),React[_0x485b(0x44)](Text,{'style':[styles[_0x485b(0x65)],{'color':/\d/[_0x485b(0x2f)](_0x3fae80)?_0x427d8[_0x485b(0x61)]:_0x427d8[_0x485b(0x53)]}]},_0x485b(0x66))),requireSpecialChar&&React[_0x485b(0x44)](View,{'style':styles['requirement']},React[_0x485b(0x44)](_0x4c4b6e,{'name':/[!@#$%^&*(),.?":{}|<>]/[_0x485b(0x2f)](_0x3fae80)?'check-circle':_0x427d8[_0x485b(0x67)],'size':0x10,'color':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x3fae80)?_0x427d8[_0x485b(0x61)]:_0x427d8['ExwID']}),React[_0x485b(0x44)](Text,{'style':[styles['requirementText'],{'color':/[!@#$%^&*(),.?":{}|<>]/[_0x485b(0x2f)](_0x3fae80)?_0x427d8[_0x485b(0x61)]:_0x427d8[_0x485b(0x53)]}]},_0x427d8[_0x485b(0x68)]))),React[_0x485b(0x44)](View,{'style':styles[_0x485b(0x69)]},_0x427d8[_0x485b(0x35)](_0x59ab22,_0x485b(0x4))&&React[_0x485b(0x44)](TouchableOpacity,{'style':[styles[_0x485b(0x6a)],styles[_0x485b(0x6b)]],'onPress':_0x29bf73},React[_0x485b(0x44)](_0x4c4b6e,{'name':_0x427d8[_0x485b(0x6c)],'size':0x14,'color':COLORS['primary']}),React['createElement'](Text,{'style':[styles[_0x485b(0x6d)],styles[_0x485b(0x6e)]]},_0x427d8['NUFkW'])),React['createElement'](TouchableOpacity,{'style':[styles['button'],styles[_0x485b(0x6f)],_0x59ab22===_0x427d8[_0x485b(0x25)]&&_0x143b58[_0x485b(0x2d)]>0x0||_0x427d8[_0x485b(0x36)](_0x59ab22,_0x427d8['yCiiF'])&&!_0x3a900e?styles[_0x485b(0x70)]:null],'onPress':_0x7386ef,'disabled':_0x427d8[_0x485b(0x71)](_0x59ab22,_0x427d8[_0x485b(0x25)])&&_0x427d8[_0x485b(0x57)](_0x143b58[_0x485b(0x2d)],0x0)||_0x59ab22===_0x485b(0x4)&&!_0x3a900e},React[_0x485b(0x44)](Text,{'style':[styles[_0x485b(0x6d)],styles[_0x485b(0x72)]]},_0x427d8['VCuMe'](_0x59ab22,_0x427d8['rCEib'])?_0x427d8[_0x485b(0x73)]:_0x427d8[_0x485b(0x74)]),React[_0x485b(0x44)](_0x4c4b6e,{'name':_0x427d8['THnYc'],'size':0x14,'color':_0x427d8[_0x485b(0x75)]})))));};const styles=StyleSheet[_0x485b(0x0)]({'container':{'flex':0x1},'content':{'padding':0x18},'title':{'fontSize':0x18,'fontWeight':'bold','marginBottom':0x8,'color':'#000'},'subtitle':{'fontSize':0x10,'color':'#666','marginBottom':0x18},'inputContainer':{'flexDirection':'row','alignItems':_0x485b(0x76),'borderWidth':0x1,'borderColor':'#ddd','borderRadius':0x8,'backgroundColor':'#f9f9f9','marginBottom':0x10},'input':{'flex':0x1,'paddingHorizontal':0x10,'paddingVertical':0xc,'fontSize':0x10,'color':_0x485b(0x77)},'visibilityToggle':{'padding':0xc},'errorContainer':{'marginBottom':0x10},'errorItem':{'flexDirection':_0x485b(0x78),'alignItems':'center','marginBottom':0x4},'errorText':{'color':_0x485b(0x5b),'marginLeft':0x6},'requirementsContainer':{'backgroundColor':_0x485b(0x79),'padding':0x10,'borderRadius':0x8,'marginBottom':0x18},'requirementsTitle':{'fontSize':0xe,'fontWeight':'600','marginBottom':0x8,'color':_0x485b(0x77)},'requirement':{'flexDirection':'row','alignItems':_0x485b(0x76),'marginBottom':0x8},'requirementText':{'marginLeft':0x8,'fontSize':0xe},'buttonContainer':{'flexDirection':_0x485b(0x78),'justifyContent':'space-between'},'button':{'flexDirection':'row','alignItems':'center','paddingVertical':0xc,'paddingHorizontal':0x14,'borderRadius':0x19},'backButton':{'backgroundColor':'transparent','borderWidth':0x1,'borderColor':COLORS[_0x485b(0x7a)]},'nextButton':{'backgroundColor':COLORS[_0x485b(0x7a)],'minWidth':0x78,'justifyContent':_0x485b(0x76)},'disabledButton':{'backgroundColor':_0x485b(0x7b)},'buttonText':{'fontSize':0x10,'fontWeight':_0x485b(0x7c)},'backButtonText':{'color':COLORS[_0x485b(0x7a)],'marginLeft':0x8},'nextButtonText':{'color':_0x485b(0x22),'marginRight':0x8}});
1
+ import React,{useState,useCallback,useEffect}from'react';function _0x594a(){const _0xc396e1=['create','EZihS','oxfjn','qLIlf','QDiBM','confirm','iuXRc','PINs\x20do\x20not\x20match','gtQUc','ios','padding','height','Confirm\x20your\x20PIN','This\x20PIN\x20will\x20protect\x20your\x20Onairos\x20account','Please\x20re-enter\x20your\x20PIN\x20to\x20confirm','default','#999','visibility','check-circle','#4caf50','radio-button-unchecked','Include\x20at\x20least\x20one\x20special\x20character','arrow-back','Back','Next','Submit','arrow-forward','#fff','jgMhB','aPjNe','mUwWb','uSiKV','jyqKE','MmGKH','QacnX','dismiss','CKtre','tDHvC','length','UdQJV','EMjIp','JREDp','push','\x20characters','PIN\x20must\x20be\x20at\x20least\x20','test','IfJRb','bseFD','HcIjH','eSWrT','RFfkr','dqPnQ','rHMxa','scibx','ONwfD','agUlJ','oWdTa','createElement','CyimV','wFcln','kYENh','container','content','title','Create\x20a\x20PIN','fgdXv','eXcYp','vzIpG','inputContainer','input','lPwBN','eCxEO','MIdti','IpGRt','THAjS','pQKng','dZIKB','visibilityToggle','GVSjB','wyuol','errorContainer','map','errorItem','error-outline','#f44336','djskR','requirementsContainer','requirementsTitle','PIN\x20Requirements:','requirement','cAaRA','sJEKn','GLldR','requirementText','sQuRg','Include\x20at\x20least\x20one\x20number','buttonContainer','zzmGz','button','backButton','fMIPr','buttonText','backButtonText','buRkD','nextButton','UHxCp','disabledButton','gLFwt','nextButtonText','RlAPv','GKOQF','ZvhMv','pwYSP','bold','#666','center','#ddd','#f9f9f9','#000','row','#f5f5f5','space-between','transparent','primary','#ccc','600'];_0x594a=function(){return _0xc396e1;};return _0x594a();}import{View,Text,StyleSheet,TextInput,TouchableOpacity,Keyboard,KeyboardAvoidingView,Platform}from'react-native';function _0x1d65(_0x594ab7,_0x1d6541){_0x594ab7=_0x594ab7-0x0;const _0x2f7a88=_0x594a();let _0x586ccb=_0x2f7a88[_0x594ab7];return _0x586ccb;}import _0x25f75f from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';export const PinInput=({onSubmit:_0x58ab61,minLength:minLength=0x6,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![]})=>{const _0x215149={'mUwWb':_0x1d65(0x0),'jgMhB':function(_0x1ef9a0,_0x246349){return _0x1ef9a0(_0x246349);},'jyqKE':function(_0x4e7c6e,_0x99c1a6){return _0x4e7c6e===_0x99c1a6;},'MmGKH':_0x1d65(0x1),'QacnX':'ysjxE','tDHvC':function(_0x58e068,_0x3bc1b6){return _0x58e068<_0x3bc1b6;},'UdQJV':function(_0x183b48,_0x1b88e3){return _0x183b48!==_0x1b88e3;},'EMjIp':_0x1d65(0x2),'JREDp':_0x1d65(0x3),'IfJRb':'PIN\x20must\x20include\x20at\x20least\x20one\x20number','bseFD':function(_0x47e11d,_0x55e24d){return _0x47e11d(_0x55e24d);},'HcIjH':function(_0x59f4a5,_0x35d024){return _0x59f4a5===_0x35d024;},'eSWrT':function(_0x345cb1,_0x4cc18a){return _0x345cb1(_0x4cc18a);},'HgTjq':_0x1d65(0x4),'zzmGz':_0x1d65(0x5),'fttAW':function(_0x4ef188,_0x364ffe){return _0x4ef188===_0x364ffe;},'RFfkr':function(_0x5adc97,_0x4f923b){return _0x5adc97===_0x4f923b;},'dqPnQ':_0x1d65(0x6),'mOuAI':function(_0x5a1c37,_0x12f4c3){return _0x5a1c37(_0x12f4c3);},'agUlJ':_0x1d65(0x7),'ONwfD':_0x1d65(0x8),'oWdTa':function(_0x211d91,_0x5de5fc){return _0x211d91(_0x5de5fc);},'KkfIa':function(_0x2efee3,_0x1e790f){return _0x2efee3(_0x1e790f);},'aPjNe':function(_0x4d0eb9,_0x212aab,_0x318053){return _0x4d0eb9(_0x212aab,_0x318053);},'uSiKV':function(_0x198c44,_0x3dccdc,_0x4ccf22){return _0x198c44(_0x3dccdc,_0x4ccf22);},'CyimV':_0x1d65(0x9),'wFcln':_0x1d65(0xa),'kYENh':_0x1d65(0xb),'KeVqM':function(_0x7d57dd,_0xc9bdf8){return _0x7d57dd===_0xc9bdf8;},'fgdXv':_0x1d65(0xc),'eXcYp':_0x1d65(0xd),'vzIpG':_0x1d65(0xe),'lPwBN':function(_0x236ad1,_0xda36c6){return _0x236ad1===_0xda36c6;},'eCxEO':_0x1d65(0xf),'MIdti':function(_0x1c2233,_0x2180b2){return _0x1c2233===_0x2180b2;},'IpGRt':'Enter\x20PIN','THAjS':'Confirm\x20PIN','pQKng':_0x1d65(0x10),'dZIKB':'done','GVSjB':_0x1d65(0x11),'wyuol':function(_0x5ae959,_0x49f1e6){return _0x5ae959>_0x49f1e6;},'djskR':function(_0x15da98,_0x486d43){return _0x15da98===_0x486d43;},'sJEKn':function(_0x440cee,_0x4083d6){return _0x440cee>=_0x4083d6;},'cAaRA':_0x1d65(0x12),'GLldR':_0x1d65(0x13),'eYswt':'\x20characters','sQuRg':_0x1d65(0x14),'CMXUz':_0x1d65(0x15),'fMIPr':_0x1d65(0x16),'buRkD':_0x1d65(0x17),'wDDbI':function(_0x208ce3,_0x4806dd){return _0x208ce3===_0x4806dd;},'UHxCp':function(_0x39c5b5,_0x317f0c){return _0x39c5b5>_0x317f0c;},'gLFwt':function(_0x556a05,_0xfaf622){return _0x556a05>_0xfaf622;},'RlAPv':_0x1d65(0x18),'GKOQF':_0x1d65(0x19),'ZvhMv':_0x1d65(0x1a),'pwYSP':_0x1d65(0x1b)},[_0x363f90,_0x51f083]=useState(''),[_0x28a93f,_0x5853c1]=_0x215149['KkfIa'](useState,''),[_0x1540ee,_0xc9af7b]=_0x215149[_0x1d65(0x1c)](useState,![]),[_0x4c3985,_0x43fc2c]=useState([]),[_0x32aa7d,_0x3cf746]=_0x215149['oWdTa'](useState,_0x215149['mUwWb']);_0x215149[_0x1d65(0x1d)](useEffect,()=>{_0x32aa7d===_0x215149[_0x1d65(0x1e)]&&_0x215149['jgMhB'](_0x52bd9d,_0x363f90);},[_0x363f90,_0x32aa7d]);const _0x52bd9d=_0x215149[_0x1d65(0x1f)](useCallback,_0x1dad90=>{const _0x17941f={'CKtre':function(_0x27e36f,_0x100393){return _0x27e36f(_0x100393);}};if(_0x215149[_0x1d65(0x20)](_0x215149[_0x1d65(0x21)],_0x215149[_0x1d65(0x22)]))_0x20283d[_0x1d65(0x23)](),_0x17941f[_0x1d65(0x24)](_0x41b70a,_0x7d85a8);else{const _0x2a1e6f=[];return _0x215149[_0x1d65(0x25)](_0x1dad90[_0x1d65(0x26)],minLength)&&(_0x215149[_0x1d65(0x27)](_0x215149[_0x1d65(0x28)],_0x215149[_0x1d65(0x29)])?_0x2a1e6f[_0x1d65(0x2a)]('PIN\x20must\x20be\x20at\x20least\x20'+minLength+_0x1d65(0x2b)):_0x3eb53b[_0x1d65(0x2a)](_0x1d65(0x2c)+_0xab5a4d+_0x1d65(0x2b))),requireNumber&&!/\d/[_0x1d65(0x2d)](_0x1dad90)&&_0x2a1e6f[_0x1d65(0x2a)](_0x215149[_0x1d65(0x2e)]),requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x1d65(0x2d)](_0x1dad90)&&_0x2a1e6f['push']('PIN\x20must\x20include\x20at\x20least\x20one\x20special\x20character'),_0x215149[_0x1d65(0x2f)](_0x43fc2c,_0x2a1e6f),_0x215149[_0x1d65(0x30)](_0x2a1e6f['length'],0x0);}},[minLength,requireNumber,requireSpecialChar]),_0x41d9e7=_0x215149[_0x1d65(0x1d)](useCallback,()=>{const _0x5875c5={'rHMxa':function(_0x2e8b90,_0x240976){return _0x215149[_0x1d65(0x31)](_0x2e8b90,_0x240976);}};_0x215149[_0x1d65(0x20)](_0x32aa7d,_0x215149[_0x1d65(0x1e)])?_0x215149[_0x1d65(0x30)](_0x215149['HgTjq'],_0x215149['HgTjq'])?_0x215149['bseFD'](_0x52bd9d,_0x363f90)&&_0x215149[_0x1d65(0x2f)](_0x3cf746,_0x215149['zzmGz']):_0xc352fb(!_0x4f69ac):_0x215149['fttAW'](_0x363f90,_0x28a93f)?_0x215149[_0x1d65(0x32)](_0x215149[_0x1d65(0x33)],_0x215149['dqPnQ'])?(Keyboard[_0x1d65(0x23)](),_0x215149[_0x1d65(0x2f)](_0x58ab61,_0x363f90)):_0x5875c5[_0x1d65(0x34)](_0x20a17c,_0x2ae5c8):(_0x215149['mOuAI'](_0x43fc2c,['PINs\x20do\x20not\x20match']),_0x215149['eSWrT'](_0x5853c1,''));},[_0x363f90,_0x28a93f,_0x32aa7d,_0x52bd9d,_0x58ab61]),_0x462856=useCallback(()=>{_0x1d65(0x35)===_0x215149[_0x1d65(0x36)]?_0x49f7ae===_0x12940d?(_0x5beb7b[_0x1d65(0x23)](),_0x38bb6c(_0x4d7c31)):(_0x3f515b([_0x215149[_0x1d65(0x37)]]),_0x421923('')):(_0x3cf746(_0x1d65(0x0)),_0x215149[_0x1d65(0x38)](_0x5853c1,''),_0x43fc2c([]));},[]),_0x38fe9d=_0x215149[_0x1d65(0x1f)](useCallback,()=>{_0x215149[_0x1d65(0x2f)](_0xc9af7b,!_0x1540ee);},[_0x1540ee]);return React[_0x1d65(0x39)](KeyboardAvoidingView,{'behavior':_0x215149['HcIjH'](Platform['OS'],_0x215149[_0x1d65(0x3a)])?_0x215149[_0x1d65(0x3b)]:_0x215149[_0x1d65(0x3c)],'style':styles[_0x1d65(0x3d)]},React[_0x1d65(0x39)](View,{'style':styles[_0x1d65(0x3e)]},React[_0x1d65(0x39)](Text,{'style':styles[_0x1d65(0x3f)]},_0x215149['KeVqM'](_0x32aa7d,_0x215149['mUwWb'])?_0x1d65(0x40):_0x215149[_0x1d65(0x41)]),React['createElement'](Text,{'style':styles['subtitle']},_0x215149['KeVqM'](_0x32aa7d,_0x215149[_0x1d65(0x1e)])?_0x215149[_0x1d65(0x42)]:_0x215149[_0x1d65(0x43)]),React[_0x1d65(0x39)](View,{'style':styles[_0x1d65(0x44)]},React[_0x1d65(0x39)](TextInput,{'style':styles[_0x1d65(0x45)],'value':_0x215149[_0x1d65(0x46)](_0x32aa7d,_0x215149[_0x1d65(0x1e)])?_0x363f90:_0x28a93f,'onChangeText':_0x32aa7d===_0x215149['mUwWb']?_0x51f083:_0x5853c1,'secureTextEntry':!_0x1540ee,'keyboardType':_0x215149[_0x1d65(0x47)],'autoCapitalize':'none','autoCorrect':![],'placeholder':_0x215149[_0x1d65(0x48)](_0x32aa7d,_0x1d65(0x0))?_0x215149[_0x1d65(0x49)]:_0x215149[_0x1d65(0x4a)],'placeholderTextColor':_0x215149[_0x1d65(0x4b)],'returnKeyType':_0x215149[_0x1d65(0x4c)],'onSubmitEditing':_0x41d9e7}),React[_0x1d65(0x39)](TouchableOpacity,{'style':styles[_0x1d65(0x4d)],'onPress':_0x38fe9d},React[_0x1d65(0x39)](_0x25f75f,{'name':_0x1540ee?'visibility-off':_0x215149[_0x1d65(0x4e)],'size':0x18,'color':_0x1d65(0x10)}))),_0x215149[_0x1d65(0x4f)](_0x4c3985[_0x1d65(0x26)],0x0)&&React['createElement'](View,{'style':styles[_0x1d65(0x50)]},_0x4c3985[_0x1d65(0x51)]((_0x5dfa0c,_0x5e0824)=>React[_0x1d65(0x39)](View,{'key':_0x5e0824,'style':styles[_0x1d65(0x52)]},React[_0x1d65(0x39)](_0x25f75f,{'name':_0x1d65(0x53),'size':0x10,'color':_0x1d65(0x54)}),React[_0x1d65(0x39)](Text,{'style':styles['errorText']},_0x5dfa0c)))),_0x215149[_0x1d65(0x55)](_0x32aa7d,'create')&&React['createElement'](View,{'style':styles[_0x1d65(0x56)]},React[_0x1d65(0x39)](Text,{'style':styles[_0x1d65(0x57)]},_0x1d65(0x58)),React['createElement'](View,{'style':styles[_0x1d65(0x59)]},React[_0x1d65(0x39)](_0x25f75f,{'name':_0x215149['sJEKn'](_0x363f90[_0x1d65(0x26)],minLength)?_0x215149[_0x1d65(0x5a)]:_0x1d65(0x14),'size':0x10,'color':_0x215149[_0x1d65(0x5b)](_0x363f90[_0x1d65(0x26)],minLength)?_0x215149[_0x1d65(0x5c)]:_0x215149['pQKng']}),React[_0x1d65(0x39)](Text,{'style':[styles[_0x1d65(0x5d)],{'color':_0x363f90[_0x1d65(0x26)]>=minLength?_0x215149[_0x1d65(0x5c)]:_0x215149[_0x1d65(0x4b)]}]},'At\x20least\x20',minLength,_0x215149['eYswt'])),requireNumber&&React[_0x1d65(0x39)](View,{'style':styles[_0x1d65(0x59)]},React['createElement'](_0x25f75f,{'name':/\d/[_0x1d65(0x2d)](_0x363f90)?_0x215149[_0x1d65(0x5a)]:_0x215149[_0x1d65(0x5e)],'size':0x10,'color':/\d/['test'](_0x363f90)?_0x215149[_0x1d65(0x5c)]:_0x215149['pQKng']}),React['createElement'](Text,{'style':[styles[_0x1d65(0x5d)],{'color':/\d/[_0x1d65(0x2d)](_0x363f90)?_0x215149[_0x1d65(0x5c)]:'#999'}]},_0x1d65(0x5f))),requireSpecialChar&&React[_0x1d65(0x39)](View,{'style':styles['requirement']},React[_0x1d65(0x39)](_0x25f75f,{'name':/[!@#$%^&*(),.?":{}|<>]/[_0x1d65(0x2d)](_0x363f90)?_0x1d65(0x12):_0x215149[_0x1d65(0x5e)],'size':0x10,'color':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x363f90)?_0x215149[_0x1d65(0x5c)]:_0x215149[_0x1d65(0x4b)]}),React['createElement'](Text,{'style':[styles[_0x1d65(0x5d)],{'color':/[!@#$%^&*(),.?":{}|<>]/[_0x1d65(0x2d)](_0x363f90)?_0x1d65(0x13):_0x1d65(0x10)}]},_0x215149['CMXUz']))),React['createElement'](View,{'style':styles[_0x1d65(0x60)]},_0x215149[_0x1d65(0x55)](_0x32aa7d,_0x215149[_0x1d65(0x61)])&&React[_0x1d65(0x39)](TouchableOpacity,{'style':[styles[_0x1d65(0x62)],styles[_0x1d65(0x63)]],'onPress':_0x462856},React[_0x1d65(0x39)](_0x25f75f,{'name':_0x215149[_0x1d65(0x64)],'size':0x14,'color':COLORS['primary']}),React[_0x1d65(0x39)](Text,{'style':[styles[_0x1d65(0x65)],styles[_0x1d65(0x66)]]},_0x215149[_0x1d65(0x67)])),React['createElement'](TouchableOpacity,{'style':[styles[_0x1d65(0x62)],styles[_0x1d65(0x68)],_0x215149['wDDbI'](_0x32aa7d,_0x1d65(0x0))&&_0x215149[_0x1d65(0x69)](_0x4c3985[_0x1d65(0x26)],0x0)||_0x215149[_0x1d65(0x20)](_0x32aa7d,_0x215149['zzmGz'])&&!_0x28a93f?styles[_0x1d65(0x6a)]:null],'onPress':_0x41d9e7,'disabled':_0x32aa7d===_0x1d65(0x0)&&_0x215149[_0x1d65(0x6b)](_0x4c3985['length'],0x0)||_0x32aa7d==='confirm'&&!_0x28a93f},React[_0x1d65(0x39)](Text,{'style':[styles['buttonText'],styles[_0x1d65(0x6c)]]},_0x32aa7d==='create'?_0x215149[_0x1d65(0x6d)]:_0x215149[_0x1d65(0x6e)]),React[_0x1d65(0x39)](_0x25f75f,{'name':_0x215149[_0x1d65(0x6f)],'size':0x14,'color':_0x215149[_0x1d65(0x70)]})))));};const styles=StyleSheet[_0x1d65(0x0)]({'container':{'flex':0x1},'content':{'padding':0x18},'title':{'fontSize':0x18,'fontWeight':_0x1d65(0x71),'marginBottom':0x8,'color':'#000'},'subtitle':{'fontSize':0x10,'color':_0x1d65(0x72),'marginBottom':0x18},'inputContainer':{'flexDirection':'row','alignItems':_0x1d65(0x73),'borderWidth':0x1,'borderColor':_0x1d65(0x74),'borderRadius':0x8,'backgroundColor':_0x1d65(0x75),'marginBottom':0x10},'input':{'flex':0x1,'paddingHorizontal':0x10,'paddingVertical':0xc,'fontSize':0x10,'color':_0x1d65(0x76)},'visibilityToggle':{'padding':0xc},'errorContainer':{'marginBottom':0x10},'errorItem':{'flexDirection':_0x1d65(0x77),'alignItems':_0x1d65(0x73),'marginBottom':0x4},'errorText':{'color':'#f44336','marginLeft':0x6},'requirementsContainer':{'backgroundColor':_0x1d65(0x78),'padding':0x10,'borderRadius':0x8,'marginBottom':0x18},'requirementsTitle':{'fontSize':0xe,'fontWeight':'600','marginBottom':0x8,'color':_0x1d65(0x76)},'requirement':{'flexDirection':_0x1d65(0x77),'alignItems':'center','marginBottom':0x8},'requirementText':{'marginLeft':0x8,'fontSize':0xe},'buttonContainer':{'flexDirection':_0x1d65(0x77),'justifyContent':_0x1d65(0x79)},'button':{'flexDirection':_0x1d65(0x77),'alignItems':_0x1d65(0x73),'paddingVertical':0xc,'paddingHorizontal':0x14,'borderRadius':0x19},'backButton':{'backgroundColor':_0x1d65(0x7a),'borderWidth':0x1,'borderColor':COLORS[_0x1d65(0x7b)]},'nextButton':{'backgroundColor':COLORS['primary'],'minWidth':0x78,'justifyContent':_0x1d65(0x73)},'disabledButton':{'backgroundColor':_0x1d65(0x7c)},'buttonText':{'fontSize':0x10,'fontWeight':_0x1d65(0x7d)},'backButtonText':{'color':COLORS[_0x1d65(0x7b)],'marginLeft':0x8},'nextButtonText':{'color':_0x1d65(0x1b),'marginRight':0x8}});
@@ -1 +1 @@
1
- import React,{useState}from'react';function _0x5e0f(_0x11e22b,_0x5e0fbd){_0x11e22b=_0x11e22b-0x0;const _0x114128=_0x11e2();let _0xf2fe92=_0x114128[_0x11e22b];return _0xf2fe92;}import{View,Text,StyleSheet,TouchableOpacity,ActivityIndicator,ScrollView}from'react-native';import _0x51e397 from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';import{OAuthWebView}from'./OAuthWebView';const PLATFORMS={'instagram':{'name':_0x5e0f(0x0),'icon':_0x5e0f(0x1),'color':_0x5e0f(0x2),'description':_0x5e0f(0x3)},'youtube':{'name':_0x5e0f(0x4),'icon':_0x5e0f(0x5),'color':_0x5e0f(0x6),'description':_0x5e0f(0x7)},'pinterest':{'name':_0x5e0f(0x8),'icon':_0x5e0f(0x9),'color':_0x5e0f(0xa),'description':_0x5e0f(0xb)},'reddit':{'name':_0x5e0f(0xc),'icon':_0x5e0f(0xd),'color':_0x5e0f(0xe),'description':_0x5e0f(0xf)}};export const PlatformConnector=({connections:_0x1dff4e,onConnect:_0x58e96a,onDisconnect:_0x1087ec,isLoading:_0x3e8056,canProceed:_0x140cff,onProceed:_0x20e2e3})=>{const _0x3e01b7={'lmUan':function(_0x327b06,_0x2be443){return _0x327b06!==_0x2be443;},'xxeJO':function(_0x1901ab,_0x345067){return _0x1901ab(_0x345067);},'CUndq':function(_0x50e1de,_0x131c9d){return _0x50e1de===_0x131c9d;},'rgHfA':_0x5e0f(0x10),'FIChu':_0x5e0f(0x11),'fshyN':'Disconnect','ZCFRD':_0x5e0f(0x12),'wdSZE':_0x5e0f(0x13),'ZDJbq':function(_0x33da51,_0x5f7f31){return _0x33da51(_0x5f7f31);},'BMFEn':function(_0x5e557c){return _0x5e557c();},'zNJCq':function(_0x40ea88,_0xc4ee2f){return _0x40ea88!==_0xc4ee2f;},'drpit':_0x5e0f(0x14),'slQuS':_0x5e0f(0x15),'GDSzz':function(_0xdcc379,_0x4b81db){return _0xdcc379(_0x4b81db);},'gmjQI':_0x5e0f(0x16),'eUKPE':_0x5e0f(0x17),'Rskhi':function(_0x8537e9){return _0x8537e9();},'WYjvC':'\x20of\x20','Nlblp':'Continue','spWEi':_0x5e0f(0x18),'ezWMN':'#999'},[_0x3d729c,_0x31f05b]=_0x3e01b7[_0x5e0f(0x19)](useState,null),_0x4ef5db=async _0x16743d=>{if(_0x3e01b7[_0x5e0f(0x1a)](_0x5e0f(0x1b),_0x5e0f(0x1b)))return _0x205e92[_0x5e0f(0x1c)](_0x2e4f37)[_0x5e0f(0x1d)](_0x18e049)[_0x5e0f(0x1e)];else _0x31f05b(_0x16743d);},_0x2259c5=()=>{if(_0x3e01b7[_0x5e0f(0x1a)](_0x3e01b7[_0x5e0f(0x1f)],_0x3e01b7['wdSZE']))_0x3e01b7[_0x5e0f(0x20)](_0x31f05b,null);else{var _0x21c034;const _0xbcb9ee=_0x53b7e4[_0x2d70bb],_0x1237af=_0x3e01b7['xxeJO'](_0x461b32,_0x3ee2b8),_0x1a3560=_0x1237af?_0x3e01b7[_0x5e0f(0x21)](_0x21c034=_0x3b26e3[_0x122240],null)||_0x21c034===void 0x0?void 0x0:_0x21c034[_0x5e0f(0x22)]:null;return React[_0x5e0f(0x23)](View,{'key':_0x581858,'style':_0x4fe46d[_0x5e0f(0x24)]},React[_0x5e0f(0x23)](View,{'style':_0xfbc6a7[_0x5e0f(0x25)]},React[_0x5e0f(0x23)](View,{'style':[_0x46250a[_0x5e0f(0x26)],{'backgroundColor':_0xbcb9ee[_0x5e0f(0x27)]}]},React[_0x5e0f(0x23)](_0x4111f3,{'name':_0xbcb9ee[_0x5e0f(0x28)],'size':0x18,'color':_0x3e01b7[_0x5e0f(0x29)]})),React[_0x5e0f(0x23)](View,{'style':_0x1c2463[_0x5e0f(0x2a)]},React[_0x5e0f(0x23)](Text,{'style':_0xb4575f[_0x5e0f(0x2b)]},_0xbcb9ee['name']),React[_0x5e0f(0x23)](Text,{'style':_0x175d7e['platformDescription']},_0x1237af?_0x5e0f(0x2c)+_0x1a3560:_0xbcb9ee[_0x5e0f(0x2d)]))),React['createElement'](TouchableOpacity,{'style':[_0x498ddb[_0x5e0f(0x2e)],_0x1237af?_0x2dcab1[_0x5e0f(0x2f)]:_0x27a2ff[_0x5e0f(0x30)]],'onPress':()=>_0x1237af?_0x2fafe2(_0x8da507):_0x54b86a(_0x3b9bbd),'disabled':_0x2e3cee},_0x44876d?React['createElement'](ActivityIndicator,{'size':_0x3e01b7[_0x5e0f(0x31)],'color':_0x3e01b7['rgHfA']}):React[_0x5e0f(0x23)](Text,{'style':_0x35dc7f[_0x5e0f(0x32)]},_0x1237af?_0x3e01b7[_0x5e0f(0x33)]:_0x5e0f(0x34))));}},_0x196a3f=()=>{_0x3e01b7[_0x5e0f(0x35)](_0x31f05b,null);},_0x4c4318=async _0x12d7cc=>{await _0x1087ec(_0x12d7cc);},_0x3788a9=_0x481375=>{const _0x320670=_0x481375;return _0x1dff4e[_0x320670]?!![]:![];},_0x284a7a=()=>{if(_0x3e01b7[_0x5e0f(0x36)](_0x3e01b7[_0x5e0f(0x37)],_0x3e01b7[_0x5e0f(0x38)]))return Object[_0x5e0f(0x1c)](_0x1dff4e)[_0x5e0f(0x1d)](Boolean)['length'];else _0x131f76['log']('Received\x20authorization\x20code\x20for\x20'+_0x1885f9+':\x20'+_0x167904),_0x3e01b7['BMFEn'](_0x77c7f6);};return React[_0x5e0f(0x23)](View,{'style':styles['container']},React[_0x5e0f(0x23)](Text,{'style':styles[_0x5e0f(0x39)]},_0x3e01b7[_0x5e0f(0x3a)]),React[_0x5e0f(0x23)](Text,{'style':styles[_0x5e0f(0x3b)]},_0x3e01b7[_0x5e0f(0x3c)]),React[_0x5e0f(0x23)](ScrollView,{'style':styles[_0x5e0f(0x3d)]},Object['keys'](PLATFORMS)[_0x5e0f(0x3e)](_0x2f73d3=>{var _0x33b4c3;const _0x46a982=PLATFORMS[_0x2f73d3],_0x2b95ba=_0x3e01b7['GDSzz'](_0x3788a9,_0x2f73d3),_0xd224ce=_0x2b95ba?(_0x33b4c3=_0x1dff4e[_0x2f73d3])===null||_0x3e01b7[_0x5e0f(0x21)](_0x33b4c3,void 0x0)?void 0x0:_0x33b4c3[_0x5e0f(0x22)]:null;return React['createElement'](View,{'key':_0x2f73d3,'style':styles['platformItem']},React['createElement'](View,{'style':styles[_0x5e0f(0x25)]},React[_0x5e0f(0x23)](View,{'style':[styles[_0x5e0f(0x26)],{'backgroundColor':_0x46a982[_0x5e0f(0x27)]}]},React['createElement'](_0x51e397,{'name':_0x46a982[_0x5e0f(0x28)],'size':0x18,'color':_0x3e01b7['rgHfA']})),React[_0x5e0f(0x23)](View,{'style':styles[_0x5e0f(0x2a)]},React[_0x5e0f(0x23)](Text,{'style':styles['platformName']},_0x46a982[_0x5e0f(0x3f)]),React[_0x5e0f(0x23)](Text,{'style':styles[_0x5e0f(0x40)]},_0x2b95ba?_0x5e0f(0x2c)+_0xd224ce:_0x46a982[_0x5e0f(0x2d)]))),React[_0x5e0f(0x23)](TouchableOpacity,{'style':[styles['platformButton'],_0x2b95ba?styles[_0x5e0f(0x2f)]:styles['connectButton']],'onPress':()=>_0x2b95ba?_0x4c4318(_0x2f73d3):_0x4ef5db(_0x2f73d3),'disabled':_0x3e8056},_0x3e8056?React[_0x5e0f(0x23)](ActivityIndicator,{'size':_0x3e01b7[_0x5e0f(0x31)],'color':_0x5e0f(0x10)}):React['createElement'](Text,{'style':styles[_0x5e0f(0x32)]},_0x2b95ba?_0x5e0f(0x41):_0x5e0f(0x34))));})),React['createElement'](View,{'style':styles[_0x5e0f(0x42)]},React[_0x5e0f(0x23)](Text,{'style':styles[_0x5e0f(0x43)]},_0x3e01b7['Rskhi'](_0x284a7a),_0x3e01b7['WYjvC'],Object[_0x5e0f(0x44)](PLATFORMS)['length'],_0x5e0f(0x45)),React['createElement'](TouchableOpacity,{'style':[styles[_0x5e0f(0x46)],_0x140cff?styles[_0x5e0f(0x47)]:styles['proceedInactive']],'onPress':_0x20e2e3,'disabled':!_0x140cff},React[_0x5e0f(0x23)](Text,{'style':[styles['proceedText'],_0x140cff?styles['proceedTextActive']:styles[_0x5e0f(0x48)]]},_0x3e01b7[_0x5e0f(0x49)]),React[_0x5e0f(0x23)](_0x51e397,{'name':_0x3e01b7[_0x5e0f(0x4a)],'size':0x14,'color':_0x140cff?_0x3e01b7[_0x5e0f(0x29)]:_0x3e01b7[_0x5e0f(0x4b)]}))),_0x3d729c&&React['createElement'](OAuthWebView,{'url':_0x5e0f(0x4c)+_0x3d729c,'platform':_0x3d729c,'onComplete':_0x2259c5,'onClose':_0x196a3f,'onSuccess':_0x15cdf9=>{console[_0x5e0f(0x4d)](_0x5e0f(0x4e)+_0x3d729c+':\x20'+_0x15cdf9),_0x3e01b7[_0x5e0f(0x4f)](_0x2259c5);}}));};const styles=StyleSheet[_0x5e0f(0x50)]({'container':{'flex':0x1,'padding':0x10},'title':{'fontSize':0x18,'fontWeight':_0x5e0f(0x51),'marginBottom':0x8,'color':_0x5e0f(0x52)},'subtitle':{'fontSize':0x10,'color':_0x5e0f(0x53),'marginBottom':0x18},'platformList':{'flex':0x1},'platformItem':{'flexDirection':_0x5e0f(0x54),'alignItems':_0x5e0f(0x55),'marginBottom':0x10,'padding':0xc,'backgroundColor':_0x5e0f(0x56),'borderRadius':0xc,'borderWidth':0x1,'borderColor':'#eee'},'platformInfo':{'flex':0x1,'flexDirection':_0x5e0f(0x54),'alignItems':_0x5e0f(0x55)},'platformIcon':{'width':0x28,'height':0x28,'borderRadius':0x14,'justifyContent':_0x5e0f(0x55),'alignItems':_0x5e0f(0x55),'marginRight':0xc},'platformText':{'flex':0x1},'platformName':{'fontSize':0x10,'fontWeight':_0x5e0f(0x57),'marginBottom':0x4,'color':_0x5e0f(0x52)},'platformDescription':{'fontSize':0xe,'color':_0x5e0f(0x53)},'platformButton':{'paddingHorizontal':0x10,'paddingVertical':0x8,'borderRadius':0x14,'justifyContent':_0x5e0f(0x55),'alignItems':_0x5e0f(0x55),'minWidth':0x64},'connectButton':{'backgroundColor':COLORS[_0x5e0f(0x58)]},'disconnectButton':{'backgroundColor':_0x5e0f(0x59)},'buttonText':{'color':_0x5e0f(0x10),'fontWeight':_0x5e0f(0x57)},'footer':{'flexDirection':_0x5e0f(0x54),'alignItems':'center','justifyContent':_0x5e0f(0x5a),'paddingTop':0x10,'borderTopWidth':0x1,'borderTopColor':'#eee','marginTop':0x10},'connectionStatus':{'fontSize':0xe,'color':'#666'},'proceedButton':{'flexDirection':_0x5e0f(0x54),'alignItems':_0x5e0f(0x55),'paddingHorizontal':0x10,'paddingVertical':0xa,'borderRadius':0x18},'proceedActive':{'backgroundColor':COLORS[_0x5e0f(0x58)]},'proceedInactive':{'backgroundColor':_0x5e0f(0x5b)},'proceedText':{'fontWeight':_0x5e0f(0x57),'marginRight':0x8},'proceedTextActive':{'color':_0x5e0f(0x10)},'proceedTextInactive':{'color':'#999'}});function _0x11e2(){const _0x323051=['Instagram','photo-camera','#E1306C','Connect\x20to\x20share\x20and\x20analyze\x20your\x20Instagram\x20content','YouTube','smart-display','#FF0000','Connect\x20for\x20YouTube\x20video\x20recommendations\x20and\x20analysis','Pinterest','push-pin','#E60023','Connect\x20to\x20enhance\x20Pinterest\x20board\x20recommendations','Reddit','forum','#FF4500','Connect\x20to\x20personalize\x20Reddit\x20content\x20insights','#fff','small','aTnof','zCcGE','fHmbT','NUOnl','Connect\x20Your\x20Platforms','Connect\x20at\x20least\x202\x20platforms\x20to\x20create\x20your\x20Onairos\x20account','arrow-forward','GDSzz','lmUan','hiqVU','values','filter','length','ZCFRD','ZDJbq','CUndq','userName','createElement','platformItem','platformInfo','platformIcon','color','icon','rgHfA','platformText','platformName','Connected\x20as\x20','description','platformButton','disconnectButton','connectButton','FIChu','buttonText','fshyN','Connect','xxeJO','zNJCq','drpit','slQuS','title','gmjQI','subtitle','eUKPE','platformList','map','name','platformDescription','Disconnect','footer','connectionStatus','keys','\x20platforms\x20connected','proceedButton','proceedActive','proceedTextInactive','Nlblp','spWEi','ezWMN','https://oauth.example.com/','log','Received\x20authorization\x20code\x20for\x20','BMFEn','create','bold','#000','#666','row','center','#f8f8f8','600','primary','#f44336','space-between','#eee'];_0x11e2=function(){return _0x323051;};return _0x11e2();}
1
+ import React,{useState}from'react';function _0x3c9a(_0x596dd5,_0x3c9a88){_0x596dd5=_0x596dd5-0x0;const _0x242313=_0x596d();let _0x257136=_0x242313[_0x596dd5];return _0x257136;}import{View,Text,StyleSheet,TouchableOpacity,ActivityIndicator,ScrollView}from'react-native';function _0x596d(){const _0x355f42=['Instagram','photo-camera','#E1306C','Connect\x20to\x20share\x20and\x20analyze\x20your\x20Instagram\x20content','YouTube','#FF0000','push-pin','#E60023','Connect\x20to\x20enhance\x20Pinterest\x20board\x20recommendations','Reddit','forum','#FF4500','qqLGE','#fff','Disconnect','Connect','Connect\x20Your\x20Platforms','\x20platforms\x20connected','arrow-forward','RTpHR','tIXui','values','filter','bfhUF','nbXWp','aeNuz','sUfMw','ISWHW','log','Received\x20authorization\x20code\x20for\x20','BPITH','InrJm','grdem','length','createElement','container','title','hCjDP','subtitle','Connect\x20at\x20least\x202\x20platforms\x20to\x20create\x20your\x20Onairos\x20account','platformList','userName','platformItem','platformIcon','color','icon','QrPhr','platformName','name','platformDescription','Connected\x20as\x20','description','disconnectButton','BwDYm','buttonText','zBrVG','Pvyvx','footer','JGoTv','keys','KatMB','proceedButton','proceedActive','proceedInactive','proceedText','proceedTextActive','proceedTextInactive','LWnkV','DiWqB','#999','https://oauth.example.com/','create','bold','#666','row','center','#f8f8f8','#eee','600','#000','primary','#f44336','space-between'];_0x596d=function(){return _0x355f42;};return _0x596d();}import _0x31e2c1 from'react-native-vector-icons/MaterialIcons';import{COLORS}from'../../constants';import{OAuthWebView}from'./OAuthWebView';const PLATFORMS={'instagram':{'name':_0x3c9a(0x0),'icon':_0x3c9a(0x1),'color':_0x3c9a(0x2),'description':_0x3c9a(0x3)},'youtube':{'name':_0x3c9a(0x4),'icon':'smart-display','color':_0x3c9a(0x5),'description':'Connect\x20for\x20YouTube\x20video\x20recommendations\x20and\x20analysis'},'pinterest':{'name':'Pinterest','icon':_0x3c9a(0x6),'color':_0x3c9a(0x7),'description':_0x3c9a(0x8)},'reddit':{'name':_0x3c9a(0x9),'icon':_0x3c9a(0xa),'color':_0x3c9a(0xb),'description':'Connect\x20to\x20personalize\x20Reddit\x20content\x20insights'}};export const PlatformConnector=({connections:_0x5d2d5b,onConnect:_0x134182,onDisconnect:_0x3dfa24,isLoading:_0x581d62,canProceed:_0x442907,onProceed:_0x197121})=>{const _0x263639={'tIXui':_0x3c9a(0xc),'bfhUF':function(_0x54dc3b,_0x12a2c8){return _0x54dc3b(_0x12a2c8);},'nbXWp':function(_0xe84e27){return _0xe84e27();},'aeNuz':function(_0x16a2ea,_0x1beecc){return _0x16a2ea===_0x1beecc;},'sUfMw':'ISWHW','RTpHR':function(_0x578140,_0x233544){return _0x578140(_0x233544);},'InrJm':function(_0x3576fb,_0x35ed30){return _0x3576fb!==_0x35ed30;},'uWzwV':function(_0x36c486,_0x176629){return _0x36c486===_0x176629;},'QrPhr':_0x3c9a(0xd),'BwDYm':'small','zBrVG':_0x3c9a(0xe),'Pvyvx':_0x3c9a(0xf),'hCjDP':_0x3c9a(0x10),'JGoTv':'\x20of\x20','KatMB':_0x3c9a(0x11),'LWnkV':'Continue','DiWqB':_0x3c9a(0x12)},[_0x328be4,_0x28087a]=_0x263639[_0x3c9a(0x13)](useState,null),_0x163e64=async _0x539730=>{if(_0x263639['tIXui']!==_0x263639[_0x3c9a(0x14)])return _0x344480[_0x3c9a(0x15)](_0x3936f3)[_0x3c9a(0x16)](_0xd6b412)['length'];else _0x263639[_0x3c9a(0x17)](_0x28087a,_0x539730);},_0x95f82=()=>{_0x28087a(null);},_0xc1c0b4=()=>{_0x28087a(null);},_0xd9bfca=async _0x52851c=>{const _0x444f7d={'BPITH':function(_0x7e18e1){return _0x263639[_0x3c9a(0x18)](_0x7e18e1);}};_0x263639[_0x3c9a(0x19)](_0x263639[_0x3c9a(0x1a)],_0x3c9a(0x1b))?await _0x263639[_0x3c9a(0x13)](_0x3dfa24,_0x52851c):(_0x48ced1[_0x3c9a(0x1c)](_0x3c9a(0x1d)+_0x2d96b6+':\x20'+_0x4c9ba5),_0x444f7d[_0x3c9a(0x1e)](_0x550d07));},_0x763ff1=_0x5263f9=>{if(_0x263639[_0x3c9a(0x1f)](_0x3c9a(0x20),'vfwST')){const _0x852e1e=_0x5263f9;return _0x5d2d5b[_0x852e1e]?!![]:![];}else _0x263639['RTpHR'](_0x460639,null);},_0xa90fda=()=>{return Object[_0x3c9a(0x15)](_0x5d2d5b)[_0x3c9a(0x16)](Boolean)[_0x3c9a(0x21)];};return React[_0x3c9a(0x22)](View,{'style':styles[_0x3c9a(0x23)]},React['createElement'](Text,{'style':styles[_0x3c9a(0x24)]},_0x263639[_0x3c9a(0x25)]),React[_0x3c9a(0x22)](Text,{'style':styles[_0x3c9a(0x26)]},_0x3c9a(0x27)),React['createElement'](ScrollView,{'style':styles[_0x3c9a(0x28)]},Object['keys'](PLATFORMS)['map'](_0x325721=>{var _0x391129;const _0x2cedae=PLATFORMS[_0x325721],_0x51b9b8=_0x263639['RTpHR'](_0x763ff1,_0x325721),_0x50cc18=_0x51b9b8?(_0x391129=_0x5d2d5b[_0x325721])===null||_0x263639['uWzwV'](_0x391129,void 0x0)?void 0x0:_0x391129[_0x3c9a(0x29)]:null;return React['createElement'](View,{'key':_0x325721,'style':styles[_0x3c9a(0x2a)]},React[_0x3c9a(0x22)](View,{'style':styles['platformInfo']},React['createElement'](View,{'style':[styles[_0x3c9a(0x2b)],{'backgroundColor':_0x2cedae[_0x3c9a(0x2c)]}]},React[_0x3c9a(0x22)](_0x31e2c1,{'name':_0x2cedae[_0x3c9a(0x2d)],'size':0x18,'color':_0x263639[_0x3c9a(0x2e)]})),React[_0x3c9a(0x22)](View,{'style':styles['platformText']},React['createElement'](Text,{'style':styles[_0x3c9a(0x2f)]},_0x2cedae[_0x3c9a(0x30)]),React[_0x3c9a(0x22)](Text,{'style':styles[_0x3c9a(0x31)]},_0x51b9b8?_0x3c9a(0x32)+_0x50cc18:_0x2cedae[_0x3c9a(0x33)]))),React[_0x3c9a(0x22)](TouchableOpacity,{'style':[styles['platformButton'],_0x51b9b8?styles[_0x3c9a(0x34)]:styles['connectButton']],'onPress':()=>_0x51b9b8?_0xd9bfca(_0x325721):_0x163e64(_0x325721),'disabled':_0x581d62},_0x581d62?React[_0x3c9a(0x22)](ActivityIndicator,{'size':_0x263639[_0x3c9a(0x35)],'color':_0x263639[_0x3c9a(0x2e)]}):React[_0x3c9a(0x22)](Text,{'style':styles[_0x3c9a(0x36)]},_0x51b9b8?_0x263639[_0x3c9a(0x37)]:_0x263639[_0x3c9a(0x38)])));})),React['createElement'](View,{'style':styles[_0x3c9a(0x39)]},React[_0x3c9a(0x22)](Text,{'style':styles['connectionStatus']},_0x263639['nbXWp'](_0xa90fda),_0x263639[_0x3c9a(0x3a)],Object[_0x3c9a(0x3b)](PLATFORMS)[_0x3c9a(0x21)],_0x263639[_0x3c9a(0x3c)]),React[_0x3c9a(0x22)](TouchableOpacity,{'style':[styles[_0x3c9a(0x3d)],_0x442907?styles[_0x3c9a(0x3e)]:styles[_0x3c9a(0x3f)]],'onPress':_0x197121,'disabled':!_0x442907},React[_0x3c9a(0x22)](Text,{'style':[styles[_0x3c9a(0x40)],_0x442907?styles[_0x3c9a(0x41)]:styles[_0x3c9a(0x42)]]},_0x263639[_0x3c9a(0x43)]),React[_0x3c9a(0x22)](_0x31e2c1,{'name':_0x263639[_0x3c9a(0x44)],'size':0x14,'color':_0x442907?_0x263639[_0x3c9a(0x2e)]:_0x3c9a(0x45)}))),_0x328be4&&React[_0x3c9a(0x22)](OAuthWebView,{'url':_0x3c9a(0x46)+_0x328be4,'platform':_0x328be4,'onComplete':_0x95f82,'onClose':_0xc1c0b4,'onSuccess':_0x253eb7=>{console[_0x3c9a(0x1c)](_0x3c9a(0x1d)+_0x328be4+':\x20'+_0x253eb7),_0x263639[_0x3c9a(0x18)](_0x95f82);}}));};const styles=StyleSheet[_0x3c9a(0x47)]({'container':{'flex':0x1,'padding':0x10},'title':{'fontSize':0x18,'fontWeight':_0x3c9a(0x48),'marginBottom':0x8,'color':'#000'},'subtitle':{'fontSize':0x10,'color':_0x3c9a(0x49),'marginBottom':0x18},'platformList':{'flex':0x1},'platformItem':{'flexDirection':_0x3c9a(0x4a),'alignItems':_0x3c9a(0x4b),'marginBottom':0x10,'padding':0xc,'backgroundColor':_0x3c9a(0x4c),'borderRadius':0xc,'borderWidth':0x1,'borderColor':_0x3c9a(0x4d)},'platformInfo':{'flex':0x1,'flexDirection':_0x3c9a(0x4a),'alignItems':_0x3c9a(0x4b)},'platformIcon':{'width':0x28,'height':0x28,'borderRadius':0x14,'justifyContent':_0x3c9a(0x4b),'alignItems':_0x3c9a(0x4b),'marginRight':0xc},'platformText':{'flex':0x1},'platformName':{'fontSize':0x10,'fontWeight':_0x3c9a(0x4e),'marginBottom':0x4,'color':_0x3c9a(0x4f)},'platformDescription':{'fontSize':0xe,'color':_0x3c9a(0x49)},'platformButton':{'paddingHorizontal':0x10,'paddingVertical':0x8,'borderRadius':0x14,'justifyContent':_0x3c9a(0x4b),'alignItems':_0x3c9a(0x4b),'minWidth':0x64},'connectButton':{'backgroundColor':COLORS[_0x3c9a(0x50)]},'disconnectButton':{'backgroundColor':_0x3c9a(0x51)},'buttonText':{'color':_0x3c9a(0xd),'fontWeight':'600'},'footer':{'flexDirection':_0x3c9a(0x4a),'alignItems':_0x3c9a(0x4b),'justifyContent':_0x3c9a(0x52),'paddingTop':0x10,'borderTopWidth':0x1,'borderTopColor':_0x3c9a(0x4d),'marginTop':0x10},'connectionStatus':{'fontSize':0xe,'color':_0x3c9a(0x49)},'proceedButton':{'flexDirection':_0x3c9a(0x4a),'alignItems':'center','paddingHorizontal':0x10,'paddingVertical':0xa,'borderRadius':0x18},'proceedActive':{'backgroundColor':COLORS[_0x3c9a(0x50)]},'proceedInactive':{'backgroundColor':_0x3c9a(0x4d)},'proceedText':{'fontWeight':'600','marginRight':0x8},'proceedTextActive':{'color':_0x3c9a(0xd)},'proceedTextInactive':{'color':'#999'}});
@@ -1 +1 @@
1
- import{getAuthToken}from'../services/authService';function _0x1b23(_0x3b6a27,_0x1b23e9){_0x3b6a27=_0x3b6a27-0x0;const _0x5e396a=_0x3b6a();let _0x1c241d=_0x5e396a[_0x3b6a27];return _0x1c241d;}export const API_CONFIG={'BASE_URL':'https://api2.onairos.uk','ENDPOINTS':{'AUTH':_0x1b23(0x0),'USER':_0x1b23(0x1),'CONNECTIONS':_0x1b23(0x2),'TRAINING':'/training','OAUTH':_0x1b23(0x3)},'TIMEOUT':0x7530};export const getApiHeaders=()=>({'Content-Type':'application/json','Accept':'application/json'});function _0x3b6a(){const _0x5883f7=['/auth','/user','/connections','/oauth','Bearer\x20','tQLIN'];_0x3b6a=function(){return _0x5883f7;};return _0x3b6a();}export const getAuthHeaders=_0x3c4670=>({...getApiHeaders(),..._0x3c4670&&{'Authorization':_0x1b23(0x4)+_0x3c4670}});export const getUserAuthHeaders=async()=>{const _0x55679e={'YACBQ':function(_0x3b4e28){return _0x3b4e28();},'bXqEj':'User\x20not\x20authenticated\x20-\x20no\x20JWT\x20token\x20found','tQLIN':function(_0x535af8){return _0x535af8();}},_0x19b3f7=await _0x55679e['YACBQ'](getAuthToken);if(!_0x19b3f7)throw new Error(_0x55679e['bXqEj']);return{..._0x55679e[_0x1b23(0x5)](getApiHeaders),'Authorization':_0x1b23(0x4)+_0x19b3f7};};
1
+ function _0x523d(){const _0x4301f0=['/auth','/user','/connections','/oauth','Bearer\x20','User\x20not\x20authenticated\x20-\x20no\x20JWT\x20token\x20found','HzQwK'];_0x523d=function(){return _0x4301f0;};return _0x523d();}import{getAuthToken}from'../services/authService';export const API_CONFIG={'BASE_URL':'https://api2.onairos.uk','ENDPOINTS':{'AUTH':_0x354b(0x0),'USER':_0x354b(0x1),'CONNECTIONS':_0x354b(0x2),'TRAINING':'/training','OAUTH':_0x354b(0x3)},'TIMEOUT':0x7530};export const getApiHeaders=()=>({'Content-Type':'application/json','Accept':'application/json'});export const getAuthHeaders=_0x1476a4=>({...getApiHeaders(),..._0x1476a4&&{'Authorization':_0x354b(0x4)+_0x1476a4}});function _0x354b(_0x523dea,_0x354be4){_0x523dea=_0x523dea-0x0;const _0x563817=_0x523d();let _0x4e7a68=_0x563817[_0x523dea];return _0x4e7a68;}export const getUserAuthHeaders=async()=>{const _0x297468={'HzQwK':function(_0x232b9a){return _0x232b9a();},'zAuIT':_0x354b(0x5)},_0x48cb18=await _0x297468['HzQwK'](getAuthToken);if(!_0x48cb18)throw new Error(_0x297468['zAuIT']);return{..._0x297468[_0x354b(0x6)](getApiHeaders),'Authorization':_0x354b(0x4)+_0x48cb18};};
@@ -1 +1 @@
1
- function _0x5a71(){const _0x4cab5a=['#1BA9D4','#F8F9FA','#000000','#666666','#E5E5E5','#34C759','#E1306C','#E60023','#FF0000','#10A37F','Instagram','instagram','Pinterest','pinterest','Reddit','reddit','Connect\x20Reddit\x20to\x20enhance\x20your\x20AI\x20model','YouTube','youtube','Use\x20YouTube\x20data\x20to\x20improve\x20AI\x20recommendations','ChatGPT','chat','Connect\x20your\x20ChatGPT\x20conversations\x20for\x20AI\x20insights','LLM\x20Data','psychology','llm','Connect\x20your\x20AI\x20conversation\x20data','BASE_URL','/instagram/auth','/pinterest/auth','/reddit/auth','/chatgpt/auth','/instagram/callback','/pinterest/callback','/reddit/callback','/youtube/callback','/chatgpt/callback','/llmdata','/llmdata/request','onairos_credentials','onairosanime'];_0x5a71=function(){return _0x4cab5a;};return _0x5a71();}import{API_CONFIG}from'../config/api';export const COLORS={'primary':_0x10c9(0x0),'headerBg':_0x10c9(0x1),'text':{'primary':_0x10c9(0x2),'secondary':_0x10c9(0x3)},'border':_0x10c9(0x4),'success':_0x10c9(0x5),'error':'#FF3B30','instagram':_0x10c9(0x6),'pinterest':_0x10c9(0x7),'reddit':'#FF4500','youtube':_0x10c9(0x8),'chatgpt':_0x10c9(0x9),'llm':_0x10c9(0x9),'white':'#FFFFFF','black':'#000000','gray':'#666666','lightGray':'#E5E5E5'};export const PLATFORMS={'instagram':{'name':_0x10c9(0xa),'icon':_0x10c9(0xb),'color':COLORS[_0x10c9(0xb)],'description':'Connect\x20your\x20Instagram\x20account\x20to\x20train\x20your\x20AI\x20model'},'pinterest':{'name':_0x10c9(0xc),'icon':_0x10c9(0xd),'color':COLORS['pinterest'],'description':'Use\x20your\x20Pinterest\x20boards\x20for\x20AI\x20training'},'reddit':{'name':_0x10c9(0xe),'icon':_0x10c9(0xf),'color':COLORS[_0x10c9(0xf)],'description':_0x10c9(0x10)},'youtube':{'name':_0x10c9(0x11),'icon':_0x10c9(0x12),'color':COLORS[_0x10c9(0x12)],'description':_0x10c9(0x13)},'chatgpt':{'name':_0x10c9(0x14),'icon':_0x10c9(0x15),'color':COLORS['chatgpt'],'description':_0x10c9(0x16)},'llm':{'name':_0x10c9(0x17),'icon':_0x10c9(0x18),'color':COLORS[_0x10c9(0x19)],'description':_0x10c9(0x1a)}};export const API_ENDPOINTS={'base':API_CONFIG[_0x10c9(0x1b)],'oauth':{'instagram':_0x10c9(0x1c),'pinterest':_0x10c9(0x1d),'reddit':_0x10c9(0x1e),'youtube':'/youtube/auth','chatgpt':_0x10c9(0x1f),'llm':_0x10c9(0x1f)},'callback':{'instagram':_0x10c9(0x20),'pinterest':_0x10c9(0x21),'reddit':_0x10c9(0x22),'youtube':_0x10c9(0x23),'chatgpt':_0x10c9(0x24),'llm':_0x10c9(0x24)},'llm':{'dataIngest':_0x10c9(0x25),'dataRequest':_0x10c9(0x26)}};function _0x10c9(_0x5a71de,_0x10c918){_0x5a71de=_0x5a71de-0x0;const _0x16a8da=_0x5a71();let _0x364899=_0x16a8da[_0x5a71de];return _0x364899;}export const STORAGE_KEYS={'credentials':_0x10c9(0x27),'connections':'onairos_connections'};export const PIN_REQUIREMENTS={'minLength':0x8,'requireUppercase':!![],'requireLowercase':!![],'requireNumber':!![],'requireSpecialChar':!![]};export const DEEP_LINK_CONFIG={'scheme':_0x10c9(0x28),'host':'authenticate','redirectUri':'onairosanime://auth/'};
1
+ import{API_CONFIG}from'../config/api';function _0x54d1(){const _0x54b085=['#F8F9FA','#000000','#666666','#E5E5E5','#34C759','#FF3B30','#E1306C','#FF4500','#FF0000','#10A37F','#FFFFFF','instagram','Connect\x20your\x20Instagram\x20account\x20to\x20train\x20your\x20AI\x20model','Pinterest','pinterest','Use\x20your\x20Pinterest\x20boards\x20for\x20AI\x20training','Reddit','reddit','Connect\x20Reddit\x20to\x20enhance\x20your\x20AI\x20model','YouTube','youtube','Use\x20YouTube\x20data\x20to\x20improve\x20AI\x20recommendations','ChatGPT','chatgpt','Connect\x20your\x20ChatGPT\x20conversations\x20for\x20AI\x20insights','LLM\x20Data','psychology','llm','BASE_URL','/instagram/auth','/pinterest/auth','/reddit/auth','/youtube/auth','/chatgpt/auth','/reddit/callback','/chatgpt/callback','/llmdata','onairos_credentials','onairosanime'];_0x54d1=function(){return _0x54b085;};return _0x54d1();}function _0x281f(_0x54d199,_0x281f4b){_0x54d199=_0x54d199-0x0;const _0x371c06=_0x54d1();let _0x2eb6ee=_0x371c06[_0x54d199];return _0x2eb6ee;}export const COLORS={'primary':'#1BA9D4','headerBg':_0x281f(0x0),'text':{'primary':_0x281f(0x1),'secondary':_0x281f(0x2)},'border':_0x281f(0x3),'success':_0x281f(0x4),'error':_0x281f(0x5),'instagram':_0x281f(0x6),'pinterest':'#E60023','reddit':_0x281f(0x7),'youtube':_0x281f(0x8),'chatgpt':_0x281f(0x9),'llm':_0x281f(0x9),'white':_0x281f(0xa),'black':_0x281f(0x1),'gray':'#666666','lightGray':_0x281f(0x3)};export const PLATFORMS={'instagram':{'name':'Instagram','icon':_0x281f(0xb),'color':COLORS['instagram'],'description':_0x281f(0xc)},'pinterest':{'name':_0x281f(0xd),'icon':_0x281f(0xe),'color':COLORS[_0x281f(0xe)],'description':_0x281f(0xf)},'reddit':{'name':_0x281f(0x10),'icon':_0x281f(0x11),'color':COLORS[_0x281f(0x11)],'description':_0x281f(0x12)},'youtube':{'name':_0x281f(0x13),'icon':_0x281f(0x14),'color':COLORS[_0x281f(0x14)],'description':_0x281f(0x15)},'chatgpt':{'name':_0x281f(0x16),'icon':'chat','color':COLORS[_0x281f(0x17)],'description':_0x281f(0x18)},'llm':{'name':_0x281f(0x19),'icon':_0x281f(0x1a),'color':COLORS[_0x281f(0x1b)],'description':'Connect\x20your\x20AI\x20conversation\x20data'}};export const API_ENDPOINTS={'base':API_CONFIG[_0x281f(0x1c)],'oauth':{'instagram':_0x281f(0x1d),'pinterest':_0x281f(0x1e),'reddit':_0x281f(0x1f),'youtube':_0x281f(0x20),'chatgpt':_0x281f(0x21),'llm':_0x281f(0x21)},'callback':{'instagram':'/instagram/callback','pinterest':'/pinterest/callback','reddit':_0x281f(0x22),'youtube':'/youtube/callback','chatgpt':_0x281f(0x23),'llm':_0x281f(0x23)},'llm':{'dataIngest':_0x281f(0x24),'dataRequest':'/llmdata/request'}};export const STORAGE_KEYS={'credentials':_0x281f(0x25),'connections':'onairos_connections'};export const PIN_REQUIREMENTS={'minLength':0x8,'requireUppercase':!![],'requireLowercase':!![],'requireNumber':!![],'requireSpecialChar':!![]};export const DEEP_LINK_CONFIG={'scheme':_0x281f(0x26),'host':'authenticate','redirectUri':'onairosanime://auth/'};
@@ -1 +1 @@
1
- function _0x3bf1(_0x42f879,_0x3bf174){_0x42f879=_0x42f879-0x0;const _0x37735e=_0x42f8();let _0x5772fa=_0x37735e[_0x42f879];return _0x5772fa;}import React,{createContext,useState,useEffect,useContext}from'react';function _0x42f8(){const _0xdf6db5=['Failed\x20to\x20load\x20authentication\x20state:','Apple\x20sign-in\x20failed:','Failed\x20to\x20update\x20onboarded\x20status:','🌐\x20Network\x20verification\x20failed,\x20using\x20local\x20token\x20validation:','💾\x20Network\x20unreachable,\x20trusting\x20local\x20authentication\x20state','XGuxQ','dYGTS','user','2|0|4|3|5|1','khfXM','FwMiT','403','qAKcu','QzhVM','🌐\x20Profile\x20fetch\x20failed\x20(likely\x20network),\x20keeping\x20authentication\x20state','offline_user','user@onairos.com','true','Failed\x20to\x20save\x20user\x20data:','kclZE','Failed\x20to\x20remove\x20user\x20data:','RwMnB','zvQYm','apple','authentication','User\x20logged\x20in\x20with\x20onboarded=false:','5|0|2|1|3|4','🎯\x20Found\x20event\x20access\x20token\x20-\x20user\x20has\x20completed\x20onboarding,\x20authentication\x20confirmed','Failed\x20to\x20update\x20user\x20data:','LHHnz','bJCdQ','hasConnectedOnairos','MhEDF','VEEEG','CUpiy','lastConnectedAt','🔗\x20Stored\x20Onairos\x20connection\x20status:','false','Onairos\x20User','iahFq','onairos','cKNpT','CsYWX','ATKBh','xvMRs','pBjCb','neRpV','2|3|0|4|5|1|6','Account\x20deleted\x20successfully','KKNPZ','hDrDo','KXDTb','MMkkg','OBYon','hBVjk','whBNb','drQoD','dVStX','vLqnH','lTGKj','etpjz','XKcGU','iNDuT','raUYb','MvYhu','DVxWI','gCteC','sHiao','sblco','parse','log','zwMGl','uaUvs','mcLOm','error','MhuEd','warn','setItem','stringify','SLhrO','eRYwU','WUWVv','Failed\x20to\x20fetch\x20user\x20profile:','iclGW','message','GRDNx','includes','XxBHB','qTSsm','cKjJr','QKySj','ncPMy','WGVXV','FBgUE','SbDkH','sAiac','Failed\x20to\x20complete\x20onboarding:','rFsAl','MCYXT','VsixW','BItgU','CVmUr','CvkwC','getItem','onboardingCompleted','caobC','yKscS','jobbJ','oQnCe','GwnOH','xISNt','yuwcl','pVkAt','bAiPI','email','name','djnUb','rUCcy','kpwXk','vpOxs','tZYjQ','NFsxH','token','sizNY','Klulp','bpsBd','toString','onairosUserId','KSVBc','CorfY','qpddg','oJoHV','HnGjI','TDSbr','split','WYGOp','UvZZs','dClEz','gXgln','profilePicture','🍎\x20Apple\x20sign-in\x20completed\x20-\x20auth_method\x20set\x20to\x20\x22apple\x22','qZwiL','gHNAg','vUCcm','useAuth\x20must\x20be\x20used\x20within\x20an\x20AuthProvider','LVzzF','lrVPk','vyCCc','FryaD','qdgTk','NpMCG','Onairos\x20sign-in\x20failed:','nmEyp','FXeeK','janvh','OuMmP','odndV','CmLRJ','aLViW','mfZMc','NpeUc','kDXIV','snoQB','kbbQl','EIVdx','wzmEk','RsdCm','csDqc','uJBBm','wgJMn','JQlUO','removeItem','Provider','hrCTl'];_0x42f8=function(){return _0xdf6db5;};return _0x42f8();}import AsyncStorage from'@react-native-async-storage/async-storage';import{saveAuthToken,getAuthToken,removeAuthToken,verifyToken,getUserProfile,authenticateWithApple,authenticateWithOnairos,updateUserOnboardedStatus}from'../services/authService';import{saveAuthState,clearUserData,getResumeTarget,markStepCompleted,updateLastScreen,isReturningUser,markEventPageReached,hasEventAccessToken}from'../services/storageService';const AuthContext=createContext(undefined);export const AuthProvider=({children:_0x20ed61})=>{const _0x29d9a2={'dVStX':_0x3bf1(0x0),'vLqnH':_0x3bf1(0x1),'lTGKj':_0x3bf1(0x2),'etpjz':_0x3bf1(0x3),'XKcGU':_0x3bf1(0x4),'iNDuT':_0x3bf1(0x5),'raUYb':_0x3bf1(0x6),'MvYhu':function(_0x178a03){return _0x178a03();},'DVxWI':_0x3bf1(0x7),'gCteC':function(_0x3f43f8,_0x3fe748){return _0x3f43f8&&_0x3fe748;},'sHiao':_0x3bf1(0x8),'sblco':function(_0xde6ba3,_0x4b8bd9){return _0xde6ba3(_0x4b8bd9);},'KXDTb':function(_0x5b1f07,_0x44872f){return _0x5b1f07(_0x44872f);},'zwMGl':function(_0x201234,_0x3d8b9a){return _0x201234===_0x3d8b9a;},'uaUvs':'mcLOm','MhuEd':'dTCMx','BMTmv':'OuvIg','hDrDo':function(_0x2749bd,_0x10ec04){return _0x2749bd(_0x10ec04);},'SLhrO':function(_0xd003be,_0x36314c){return _0xd003be(_0x36314c);},'uAkGo':function(_0x21ca75,_0x10d7a8){return _0x21ca75(_0x10d7a8);},'eRYwU':_0x3bf1(0x9),'uawyK':_0x3bf1(0xa),'iclGW':function(_0x9da9c,_0x1d96a3){return _0x9da9c instanceof _0x1d96a3;},'GRDNx':function(_0x1a9a67,_0x1d6167){return _0x1a9a67(_0x1d6167);},'XxBHB':'401','qTSsm':_0x3bf1(0xb),'cKKNr':function(_0x329427){return _0x329427();},'cKjJr':_0x3bf1(0xc),'QKySj':_0x3bf1(0xd),'WGVXV':_0x3bf1(0xe),'FBgUE':function(_0x42e8c5,_0x14df18){return _0x42e8c5===_0x14df18;},'sAiac':'dQisc','rFsAl':_0x3bf1(0xf),'MCYXT':_0x3bf1(0x10),'VsixW':'OZPhg','CvkwC':function(_0x3d3f59){return _0x3d3f59();},'caobC':_0x3bf1(0x11),'KKNPZ':function(_0x732d4e,_0x241e2d){return _0x732d4e(_0x241e2d);},'GwnOH':_0x3bf1(0x12),'hBVjk':function(_0x494ddd,_0x49d781){return _0x494ddd!==_0x49d781;},'whBNb':'qoGAX','drQoD':_0x3bf1(0x13),'oQnCe':function(_0x4dec0e){return _0x4dec0e();},'mfZMc':_0x3bf1(0x14),'xISNt':function(_0x5381a2,_0x55310c){return _0x5381a2!==_0x55310c;},'nyjot':_0x3bf1(0x15),'yuwcl':_0x3bf1(0x16),'pVkAt':function(_0x2b4a97,_0x5800d6){return _0x2b4a97!==_0x5800d6;},'bAiPI':_0x3bf1(0x17),'djnUb':function(_0x19e470,_0x319a82){return _0x19e470(_0x319a82);},'rUCcy':_0x3bf1(0x18),'kpwXk':_0x3bf1(0x19),'TDSbr':_0x3bf1(0x1a),'WYGOp':function(_0x3c2a42,_0x5dfafd){return _0x3c2a42(_0x5dfafd);},'yItYQ':_0x3bf1(0x1b),'NFsxH':function(_0x5279e9,_0x3330ef){return _0x5279e9(_0x3330ef);},'vpOxs':_0x3bf1(0x1c),'tZYjQ':function(_0x4d90f2,_0x1475ff){return _0x4d90f2(_0x1475ff);},'sizNY':'auth_method','Klulp':_0x3bf1(0x1d),'bpsBd':_0x3bf1(0x1e),'bivLW':_0x3bf1(0x1f),'KSVBc':_0x3bf1(0x20),'qpddg':'onairosUserId','oJoHV':_0x3bf1(0x21),'GXVjt':_0x3bf1(0x22),'HnGjI':_0x3bf1(0x23),'UvZZs':_0x3bf1(0x24),'fRgGO':_0x3bf1(0x25),'dClEz':'🔗\x20No\x20Onairos\x20connection\x20info\x20from\x20backend,\x20defaulting\x20to\x20false','gXgln':_0x3bf1(0x26),'MMkkg':function(_0x23b970,_0x16f37d){return _0x23b970(_0x16f37d);},'yjZNX':function(_0x3f2e9e,_0x59104f){return _0x3f2e9e(_0x59104f);},'qZwiL':_0x3bf1(0x27),'LVzzF':function(_0x4f6fd1,_0x48de29){return _0x4f6fd1(_0x48de29);},'lrVPk':_0x3bf1(0x28),'vyCCc':function(_0x4b657f,_0x44df5c){return _0x4b657f(_0x44df5c);},'FryaD':'🔑\x20Onairos\x20sign-in\x20completed\x20-\x20auth_method\x20set\x20to\x20\x22onairos\x22','qdgTk':'oCCqD','NpMCG':_0x3bf1(0x29),'FXeeK':_0x3bf1(0x2a),'OuMmP':function(_0xeaa884,_0x21a437){return _0xeaa884(_0x21a437);},'odndV':'hERzj','qNNms':'gGYkO','aLViW':function(_0xc01732,_0x4720cf){return _0xc01732(_0x4720cf);},'NpeUc':_0x3bf1(0x2b),'kDXIV':'wkNEa','EIVdx':function(_0x3c5c7f,_0x2bac9a){return _0x3c5c7f(_0x2bac9a);},'kbbQl':function(_0x3e4819,_0x5e850e){return _0x3e4819(_0x5e850e);},'atmKy':function(_0x4553cc,_0x2b10a0){return _0x4553cc(_0x2b10a0);},'wzmEk':'OzyrL','RsdCm':_0x3bf1(0x2c),'QsVjO':function(_0x56ba7e,_0x29d1e0){return _0x56ba7e(_0x29d1e0);},'csDqc':function(_0x3e85f0,_0x4efc2e){return _0x3e85f0===_0x4efc2e;},'uJBBm':_0x3bf1(0x2d),'HpnoU':_0x3bf1(0x2e),'JQlUO':_0x3bf1(0x2f),'ygghr':function(_0x42d8d2,_0x4e4c1c){return _0x42d8d2(_0x4e4c1c);},'YplgJ':_0x3bf1(0x30),'mtnRZ':'Failed\x20to\x20delete\x20account:','OBYon':function(_0x34cf6c,_0x58236e,_0x457be6){return _0x34cf6c(_0x58236e,_0x457be6);}},[_0x2df1b3,_0x474b78]=_0x29d9a2[_0x3bf1(0x31)](useState,null),[_0x93ea8c,_0x460d59]=_0x29d9a2[_0x3bf1(0x32)](useState,!![]),[_0x11a41d,_0x1afdef]=_0x29d9a2[_0x3bf1(0x33)](useState,![]),[_0x405b87,_0x50f7e9]=_0x29d9a2[_0x3bf1(0x34)](useState,![]);_0x29d9a2[_0x3bf1(0x35)](useEffect,()=>{if(_0x29d9a2[_0x3bf1(0x36)](_0x29d9a2[_0x3bf1(0x37)],_0x29d9a2[_0x3bf1(0x38)])){const _0x134078=async()=>{const _0x53d33b={'WUWVv':_0x29d9a2[_0x3bf1(0x39)],'ncPMy':_0x29d9a2[_0x3bf1(0x3a)],'CVmUr':_0x29d9a2[_0x3bf1(0x3b)],'yKscS':_0x29d9a2[_0x3bf1(0x3c)],'jobbJ':_0x29d9a2[_0x3bf1(0x3d)]};try{if(_0x29d9a2[_0x3bf1(0x3e)]!==_0x29d9a2[_0x3bf1(0x3f)]){const _0x58bb14=await _0x29d9a2[_0x3bf1(0x40)](hasEventAccessToken),_0x5055a2=await AsyncStorage['getItem'](_0x29d9a2[_0x3bf1(0x41)]);if(_0x29d9a2[_0x3bf1(0x42)](_0x58bb14,_0x5055a2)){const _0x578e56=_0x29d9a2[_0x3bf1(0x43)]['split']('|');let _0x2b391e=0x0;while(!![]){switch(_0x578e56[_0x2b391e++]){case'0':_0x29d9a2[_0x3bf1(0x44)](_0x474b78,JSON[_0x3bf1(0x45)](_0x5055a2));continue;case'1':return;case'2':console[_0x3bf1(0x46)](_0x3bf1(0x1b));continue;case'3':_0x29d9a2[_0x3bf1(0x44)](_0x1afdef,!![]);continue;case'4':_0x29d9a2[_0x3bf1(0x44)](_0x50f7e9,!![]);continue;case'5':_0x29d9a2[_0x3bf1(0x33)](_0x460d59,![]);continue;}break;}}const _0x5ef190=await _0x29d9a2[_0x3bf1(0x40)](getAuthToken);if(_0x5ef190){let _0x3fad64=![];try{if(_0x29d9a2[_0x3bf1(0x47)](_0x29d9a2[_0x3bf1(0x48)],_0x3bf1(0x49)))_0x3fad64=await _0x29d9a2[_0x3bf1(0x40)](verifyToken);else{_0x594bc4[_0x3bf1(0x4a)]('Onairos\x20sign-in\x20failed:',_0x4e9206);throw _0xce8f8c;}}catch(_0x283342){if(_0x29d9a2[_0x3bf1(0x4b)]!==_0x29d9a2['BMTmv'])console[_0x3bf1(0x4c)](_0x3bf1(0x3),_0x283342),_0x5055a2&&(console[_0x3bf1(0x46)](_0x29d9a2[_0x3bf1(0x3d)]),_0x3fad64=!![]);else{_0x3bedea[_0x3bf1(0x4a)]('Failed\x20to\x20delete\x20account:',_0x354f72);throw _0x278198;}}if(_0x3fad64){if(_0x5055a2)_0x29d9a2[_0x3bf1(0x32)](_0x474b78,JSON[_0x3bf1(0x45)](_0x5055a2)),_0x29d9a2[_0x3bf1(0x33)](_0x50f7e9,!![]);else try{const _0x13995c=await _0x29d9a2[_0x3bf1(0x40)](getUserProfile);await AsyncStorage[_0x3bf1(0x4d)](_0x29d9a2[_0x3bf1(0x41)],JSON[_0x3bf1(0x4e)](_0x13995c)),_0x29d9a2[_0x3bf1(0x4f)](_0x474b78,_0x13995c),_0x29d9a2['uAkGo'](_0x50f7e9,!![]);}catch(_0x382e3e){if(_0x29d9a2[_0x3bf1(0x50)]===_0x29d9a2['uawyK'])_0x2832de[_0x3bf1(0x4a)](_0x53d33b[_0x3bf1(0x51)],_0x16e8d9);else{console[_0x3bf1(0x4a)](_0x3bf1(0x52),_0x382e3e);const _0x3464f7=_0x29d9a2[_0x3bf1(0x53)](_0x382e3e,Error)?_0x382e3e[_0x3bf1(0x54)]:_0x29d9a2[_0x3bf1(0x55)](String,_0x382e3e);if(_0x3464f7[_0x3bf1(0x56)](_0x29d9a2[_0x3bf1(0x57)])||_0x3464f7[_0x3bf1(0x56)](_0x29d9a2[_0x3bf1(0x58)]))await _0x29d9a2['cKKNr'](removeAuthToken);else{if(_0x29d9a2[_0x3bf1(0x59)]===_0x29d9a2[_0x3bf1(0x5a)]){_0x9c4c9e[_0x3bf1(0x4a)](_0x53d33b[_0x3bf1(0x5b)],_0x36a053);throw _0x40bb39;}else{console[_0x3bf1(0x46)](_0x29d9a2[_0x3bf1(0x5c)]);if(_0x5ef190){if(_0x29d9a2[_0x3bf1(0x5d)](_0x3bf1(0x5e),_0x29d9a2[_0x3bf1(0x5f)])){_0x167af4[_0x3bf1(0x4a)](_0x3bf1(0x60),_0x43e47b);throw _0x3c9561;}else{const _0x56cec0={'id':_0x29d9a2[_0x3bf1(0x61)],'name':_0x3bf1(0x26),'email':_0x29d9a2[_0x3bf1(0x62)],'onboarded':![]};await AsyncStorage[_0x3bf1(0x4d)](_0x3bf1(0x7),JSON[_0x3bf1(0x4e)](_0x56cec0)),_0x29d9a2['KXDTb'](_0x474b78,_0x56cec0),_0x29d9a2[_0x3bf1(0x4f)](_0x50f7e9,!![]);}}}}}}}else{if(_0x29d9a2[_0x3bf1(0x63)]===_0x3bf1(0x64)){_0x6ed2df[_0x3bf1(0x4a)](_0x53d33b[_0x3bf1(0x65)],_0x46d3d9);throw _0x24d751;}else await _0x29d9a2[_0x3bf1(0x66)](removeAuthToken);}}const _0x19835d=await AsyncStorage[_0x3bf1(0x67)](_0x3bf1(0x68));_0x29d9a2[_0x3bf1(0x47)](_0x19835d,_0x29d9a2[_0x3bf1(0x69)])&&_0x1afdef(!![]);}else _0x4a05d8[_0x3bf1(0x4c)](_0x53d33b[_0x3bf1(0x6a)],_0x23ff35),_0x30bafe&&(_0x226882[_0x3bf1(0x46)](_0x53d33b[_0x3bf1(0x6b)]),_0x50b0b4=!![]);}catch(_0x23b76c){console[_0x3bf1(0x4a)](_0x29d9a2['dVStX'],_0x23b76c);}finally{_0x29d9a2[_0x3bf1(0x31)](_0x460d59,![]);}};_0x29d9a2[_0x3bf1(0x6c)](_0x134078);}else _0x57ab70[_0x3bf1(0x4a)](_0x29d9a2[_0x3bf1(0x6d)],_0x147a3a);},[]);const _0x449764=async _0x3e7893=>{if(_0x29d9a2[_0x3bf1(0x6e)](_0x29d9a2['nyjot'],_0x29d9a2[_0x3bf1(0x6f)]))try{var _0x30a317;const _0x1b9c59={..._0x3e7893,'onboarded':![]};await AsyncStorage[_0x3bf1(0x4d)](_0x3bf1(0x7),JSON['stringify'](_0x1b9c59)),_0x29d9a2[_0x3bf1(0x4f)](_0x474b78,_0x1b9c59),_0x50f7e9(!![]),await _0x29d9a2['KXDTb'](saveAuthState,{'isAuthenticated':!![],'authMethod':(_0x30a317=_0x3e7893['email'])!==null&&_0x29d9a2[_0x3bf1(0x70)](_0x30a317,void 0x0)&&_0x30a317[_0x3bf1(0x56)](_0x29d9a2[_0x3bf1(0x71)])?_0x29d9a2[_0x3bf1(0x71)]:'onairos','hasValidToken':!![],'userEmail':_0x3e7893[_0x3bf1(0x72)],'userName':_0x3e7893[_0x3bf1(0x73)]}),await _0x29d9a2[_0x3bf1(0x74)](markStepCompleted,_0x29d9a2[_0x3bf1(0x75)]),console[_0x3bf1(0x46)](_0x29d9a2[_0x3bf1(0x76)],_0x1b9c59);}catch(_0x594609){console[_0x3bf1(0x4a)](_0x3bf1(0x12),_0x594609);}else _0x859cd1[_0x3bf1(0x4a)](_0x29d9a2['mfZMc'],_0x37577a);},_0x1f0b21=async _0x363712=>{const _0x251cf5={'mkAfk':_0x29d9a2[_0x3bf1(0x77)]};try{_0x29d9a2[_0x3bf1(0x78)](_0x460d59,!![]);const _0x2b6f91=await _0x29d9a2[_0x3bf1(0x79)](authenticateWithApple,_0x363712);await saveAuthToken(_0x2b6f91[_0x3bf1(0x7a)]),await AsyncStorage[_0x3bf1(0x4d)](_0x29d9a2[_0x3bf1(0x7b)],_0x29d9a2[_0x3bf1(0x71)]);if(_0x2b6f91[_0x3bf1(0x28)]){if(_0x29d9a2['hBVjk'](_0x29d9a2[_0x3bf1(0x7c)],_0x29d9a2[_0x3bf1(0x7d)])){await AsyncStorage['setItem'](_0x29d9a2['bivLW'],_0x2b6f91[_0x3bf1(0x28)]['hasConnectedOnairos'][_0x3bf1(0x7e)]());_0x2b6f91[_0x3bf1(0x28)][_0x3bf1(0x7f)]&&(_0x29d9a2[_0x3bf1(0x80)]===_0x3bf1(0x81)?_0x19a76f[_0x3bf1(0x4a)](_0x251cf5['mkAfk'],_0x322f42):await AsyncStorage[_0x3bf1(0x4d)](_0x29d9a2[_0x3bf1(0x82)],_0x2b6f91['onairos']['onairosUserId']));if(_0x2b6f91[_0x3bf1(0x28)][_0x3bf1(0x23)]){if(_0x29d9a2[_0x3bf1(0x83)]!==_0x29d9a2['GXVjt'])await AsyncStorage[_0x3bf1(0x4d)](_0x29d9a2[_0x3bf1(0x84)],_0x2b6f91[_0x3bf1(0x28)][_0x3bf1(0x23)]);else{const _0x1c8a74=_0x29d9a2[_0x3bf1(0x85)][_0x3bf1(0x86)]('|');let _0x4730b8=0x0;while(!![]){switch(_0x1c8a74[_0x4730b8++]){case'0':_0x29d9a2[_0x3bf1(0x32)](_0x3e2807,_0x1c1990[_0x3bf1(0x45)](_0xc043f2));continue;case'1':_0x29d9a2['SLhrO'](_0xe6ebc9,!![]);continue;case'2':_0x7c6df4(!![]);continue;case'3':_0x29d9a2[_0x3bf1(0x87)](_0x14204c,![]);continue;case'4':return;case'5':_0x514b40[_0x3bf1(0x46)](_0x29d9a2['yItYQ']);continue;}break;}}}console['log'](_0x29d9a2[_0x3bf1(0x88)],_0x2b6f91['onairos']['hasConnectedOnairos']);}else _0x29d9a2['NFsxH'](_0x4fd00e,![]);}else await AsyncStorage['setItem'](_0x3bf1(0x1f),_0x29d9a2['fRgGO']),console[_0x3bf1(0x46)](_0x29d9a2[_0x3bf1(0x89)]);const _0x4eea62={'id':_0x2b6f91['user']['id'],'name':_0x2b6f91[_0x3bf1(0x7)][_0x3bf1(0x73)]||_0x29d9a2[_0x3bf1(0x8a)],'email':_0x2b6f91[_0x3bf1(0x7)][_0x3bf1(0x72)],'profilePicture':_0x2b6f91[_0x3bf1(0x7)][_0x3bf1(0x8b)],'onboarded':![]};return await AsyncStorage['setItem'](_0x29d9a2['DVxWI'],JSON[_0x3bf1(0x4e)](_0x4eea62)),_0x29d9a2['MMkkg'](_0x474b78,_0x4eea62),_0x29d9a2[_0x3bf1(0x31)](_0x50f7e9,!![]),console[_0x3bf1(0x46)](_0x3bf1(0x8c)),_0x4eea62;}catch(_0x355402){console[_0x3bf1(0x4a)](_0x29d9a2[_0x3bf1(0x3a)],_0x355402);throw _0x355402;}finally{_0x29d9a2[_0x3bf1(0x4f)](_0x460d59,![]);}},_0x81ea81=async _0x422786=>{const _0x3a0a53={'BdWET':function(_0x16f12f,_0x55d934){return _0x29d9a2['yjZNX'](_0x16f12f,_0x55d934);},'vUCcm':function(_0x1419b4,_0x3fc893){return _0x29d9a2[_0x3bf1(0x5d)](_0x1419b4,_0x3fc893);},'nmEyp':function(_0x48b4e1,_0xc97e40){return _0x29d9a2[_0x3bf1(0x87)](_0x48b4e1,_0xc97e40);},'janvh':function(_0x17fae5,_0x374c86){return _0x17fae5(_0x374c86);}};if(_0x29d9a2[_0x3bf1(0x47)](_0x29d9a2[_0x3bf1(0x8d)],_0x3bf1(0x8e))){const _0x375314=_0x3a0a53['BdWET'](useContext,_0x554cec);if(_0x3a0a53[_0x3bf1(0x8f)](_0x375314,_0x149c1a))throw new _0x197190(_0x3bf1(0x90));return _0x375314;}else try{_0x29d9a2[_0x3bf1(0x91)](_0x460d59,!![]);const _0xbda9cc=await authenticateWithOnairos(_0x422786);await _0x29d9a2[_0x3bf1(0x33)](saveAuthToken,_0xbda9cc['token']),await AsyncStorage['setItem'](_0x29d9a2[_0x3bf1(0x7b)],_0x29d9a2[_0x3bf1(0x92)]);const _0x1fac7f={'id':_0xbda9cc[_0x3bf1(0x7)]['id'],'name':_0xbda9cc[_0x3bf1(0x7)][_0x3bf1(0x73)]||_0x29d9a2['gXgln'],'email':_0xbda9cc['user'][_0x3bf1(0x72)],'profilePicture':_0xbda9cc[_0x3bf1(0x7)][_0x3bf1(0x8b)],'onboarded':![]};return await AsyncStorage[_0x3bf1(0x4d)](_0x3bf1(0x7),JSON['stringify'](_0x1fac7f)),_0x29d9a2[_0x3bf1(0x93)](_0x474b78,_0x1fac7f),_0x50f7e9(!![]),console['log'](_0x29d9a2[_0x3bf1(0x94)]),_0x1fac7f;}catch(_0x72ee3d){if(_0x29d9a2[_0x3bf1(0x6e)](_0x29d9a2[_0x3bf1(0x95)],_0x29d9a2[_0x3bf1(0x96)])){console[_0x3bf1(0x4a)](_0x3bf1(0x97),_0x72ee3d);throw _0x72ee3d;}else _0x3a0a53[_0x3bf1(0x98)](_0x114147,!![]);}finally{_0x29d9a2[_0x3bf1(0x6e)](_0x29d9a2[_0x3bf1(0x99)],_0x29d9a2[_0x3bf1(0x99)])?(_0x3a0a53['BdWET'](_0x2ca15b,_0x4a4ffe['parse'](_0x59013d)),_0x3a0a53[_0x3bf1(0x9a)](_0x532583,!![])):_0x29d9a2[_0x3bf1(0x9b)](_0x460d59,![]);}},_0x37ff93=async()=>{const _0x220edf={'CmLRJ':'💾\x20Network\x20unreachable,\x20trusting\x20local\x20authentication\x20state'};try{_0x29d9a2[_0x3bf1(0x47)](_0x29d9a2[_0x3bf1(0x9c)],_0x29d9a2['qNNms'])?(_0x259d4e[_0x3bf1(0x46)](_0x220edf[_0x3bf1(0x9d)]),_0x1fdf21=!![]):(await clearUserData(),_0x474b78(null),_0x29d9a2[_0x3bf1(0x9e)](_0x50f7e9,![]));}catch(_0x2e933d){console[_0x3bf1(0x4a)](_0x29d9a2[_0x3bf1(0x9f)],_0x2e933d);}},_0x274893=async _0x5b05db=>{try{if(_0x29d9a2[_0x3bf1(0xa0)]===_0x29d9a2[_0x3bf1(0xa1)])_0x29d9a2[_0x3bf1(0x32)](_0x51e814,![]);else{const _0x1d4b40={..._0x2df1b3,..._0x5b05db};await AsyncStorage[_0x3bf1(0x4d)](_0x3bf1(0x7),JSON[_0x3bf1(0x4e)](_0x1d4b40)),_0x29d9a2[_0x3bf1(0x74)](_0x474b78,_0x1d4b40),await _0x174bf2();}}catch(_0x31ecc3){console[_0x3bf1(0x4a)](_0x3bf1(0x60),_0x31ecc3);throw _0x31ecc3;}},_0x5e8679=async _0x1e3cee=>{if(_0x3bf1(0xa2)!=='YlVQZ')try{if(!_0x2df1b3)return;const _0x9c370={..._0x2df1b3,..._0x1e3cee};await AsyncStorage[_0x3bf1(0x4d)](_0x29d9a2['DVxWI'],JSON[_0x3bf1(0x4e)](_0x9c370)),_0x29d9a2[_0x3bf1(0xa3)](_0x474b78,_0x9c370);}catch(_0x5bdf26){console['error'](_0x29d9a2[_0x3bf1(0x77)],_0x5bdf26);}else _0x29d9a2[_0x3bf1(0xa4)](_0x2aefb1,![]);},_0x174bf2=async()=>{const _0x3cc3b0={'wgJMn':_0x3bf1(0x90)};try{if(_0x29d9a2[_0x3bf1(0x47)](_0x29d9a2[_0x3bf1(0xa5)],_0x29d9a2[_0x3bf1(0xa6)]))_0x29d9a2['atmKy'](_0x505ed9,![]);else{_0x29d9a2['QsVjO'](_0x460d59,!![]),await _0x29d9a2['MvYhu'](updateUserOnboardedStatus);if(_0x2df1b3){if(_0x29d9a2[_0x3bf1(0xa7)](_0x29d9a2[_0x3bf1(0xa8)],_0x29d9a2['HpnoU']))throw new _0x44e3a8(_0x3cc3b0[_0x3bf1(0xa9)]);else{const _0x378858={..._0x2df1b3,'onboarded':!![]};await AsyncStorage['setItem'](_0x3bf1(0x7),JSON[_0x3bf1(0x4e)](_0x378858)),_0x474b78(_0x378858);}}}}catch(_0x532992){console[_0x3bf1(0x4a)]('Failed\x20to\x20update\x20onboarded\x20status:',_0x532992);throw _0x532992;}finally{_0x29d9a2['SLhrO'](_0x460d59,![]);}},_0x1b2d2d=async()=>{try{const _0x528ec3=_0x29d9a2[_0x3bf1(0xaa)][_0x3bf1(0x86)]('|');let _0x56f1ee=0x0;while(!![]){switch(_0x528ec3[_0x56f1ee++]){case'0':await AsyncStorage[_0x3bf1(0xab)](_0x3bf1(0x68));continue;case'1':_0x29d9a2['ygghr'](_0x1afdef,![]);continue;case'2':await AsyncStorage[_0x3bf1(0xab)](_0x3bf1(0x7));continue;case'3':await _0x29d9a2[_0x3bf1(0x40)](removeAuthToken);continue;case'4':_0x29d9a2['vyCCc'](_0x474b78,null);continue;case'5':_0x50f7e9(![]);continue;case'6':console[_0x3bf1(0x46)](_0x29d9a2['YplgJ']);continue;}break;}}catch(_0x3f5632){console[_0x3bf1(0x4a)](_0x29d9a2['mtnRZ'],_0x3f5632);throw _0x3f5632;}};return React['createElement'](AuthContext[_0x3bf1(0xac)],{'value':{'user':_0x2df1b3,'isLoading':_0x93ea8c,'hasCompletedOnboarding':_0x11a41d,'login':_0x449764,'logout':_0x37ff93,'deleteAccount':_0x1b2d2d,'completeOnboarding':_0x274893,'updateUser':_0x5e8679,'appleSignIn':_0x1f0b21,'onairosSignIn':_0x81ea81,'isAuthenticated':_0x405b87,'updateOnboardedStatus':_0x174bf2,'getResumeTarget':getResumeTarget,'markStepCompleted':markStepCompleted,'updateLastScreen':updateLastScreen,'isReturningUser':isReturningUser,'markEventPageReached':markEventPageReached,'hasEventAccessToken':hasEventAccessToken}},_0x20ed61);};export const useAuth=()=>{const _0x509d27={'hrCTl':function(_0x44012e,_0x16ac86){return _0x44012e(_0x16ac86);}},_0x40e92f=_0x509d27[_0x3bf1(0xad)](useContext,AuthContext);if(_0x40e92f===undefined)throw new Error(_0x3bf1(0x90));return _0x40e92f;};
1
+ import React,{createContext,useState,useEffect,useContext}from'react';import AsyncStorage from'@react-native-async-storage/async-storage';function _0x1733(){const _0x185566=['Failed\x20to\x20load\x20authentication\x20state:','Failed\x20to\x20remove\x20user\x20data:','Failed\x20to\x20save\x20user\x20data:','user','ZdETk','0|3|2|5|1|4','HAfza','🌐\x20Network\x20verification\x20failed,\x20using\x20local\x20token\x20validation:','DEZWH','Failed\x20to\x20fetch\x20user\x20profile:','401','feJgR','ghSdO','onboardingCompleted','hNUJm','IoDHv','💾\x20Network\x20unreachable,\x20trusting\x20local\x20authentication\x20state','eqleT','BQirJ','NPXXX','apple','onairos','User\x20logged\x20in\x20with\x20onboarded=false:','useAuth\x20must\x20be\x20used\x20within\x20an\x20AuthProvider','auth_method','fSpSQ','hasConnectedOnairos','onairosUserId','lastConnectedAt','🔗\x20Stored\x20Onairos\x20connection\x20status:','false','🍎\x20Apple\x20sign-in\x20completed\x20-\x20auth_method\x20set\x20to\x20\x22apple\x22','McFzK','🔑\x20Onairos\x20sign-in\x20completed\x20-\x20auth_method\x20set\x20to\x20\x22onairos\x22','ueKUu','WlZco','Failed\x20to\x20complete\x20onboarding:','xVvJY','Failed\x20to\x20update\x20user\x20data:','Account\x20deleted\x20successfully','AXmTG','dLDHV','GOoLG','🎯\x20Found\x20event\x20access\x20token\x20-\x20user\x20has\x20completed\x20onboarding,\x20authentication\x20confirmed','Failed\x20to\x20update\x20onboarded\x20status:','QrYBg','UvRnM','isdcO','mmNUl','SxKmb','zFusF','PincJ','cRLie','ZcaVi','aJREM','LyHRD','vJvNq','YRMLl','oWMDQ','LgVbQ','zoGId','SPkCl','omMYv','WMjRI','DQgri','DOdcn','xMOvz','ZSQXA','kMLfG','ZVODf','osjsi','ShyYn','XkzLw','vdQuf','bkiDb','aaLHx','gbdzG','XJgZK','dkAON','error','USLNw','wGyqf','YRsTw','xFUOI','IqRnU','getItem','eacIj','HijjB','hwCHF','TzyfT','WNBXr','zxkKi','split','DRSsm','parse','rAduh','aOYSn','lRIMf','log','warn','kAJGR','hFnyS','NHSEz','FYrPk','hVzVy','yxCsF','WhuWN','setItem','stringify','kaFwQ','jdtGY','eMQOH','tYyEP','bPHRB','message','includes','Dzzkm','hjXDz','tffKu','tsZxG','GRoPd','kicHx','mMOPZ','usxSW','pmYKF','EdMkB','true','jBWYV','EiGji','OYBtc','RdhZy','iNdYb','CIhzF','yDEei','ZdIJH','wwsLd','MWsDN','hOgME','email','RWXOY','rqRbq','hdKbJ','MsHFE','wrMhq','token','LxxLW','XGJQj','aLVsC','cQcDw','eFTmw','jiDNq','profilePicture','Apple\x20sign-in\x20failed:','wZyaI','kTMJi','weNEV','GkWAo','ppovI','cyIMr','ennYp','nfWIo','sXxyj','CAMMU','SjBST','zkqyy','PGnMR','UuAAy','qnUjq','VMGQp','aFHZD','fpgDY','OhgRQ','NHCwI','BNfkB','DyOOf','GPZuY','removeItem','RrCtV','itYkn','tzfRK','createElement','Provider','oeXYT','AUCJr'];_0x1733=function(){return _0x185566;};return _0x1733();}import{saveAuthToken,getAuthToken,removeAuthToken,verifyToken,getUserProfile,authenticateWithApple,authenticateWithOnairos,updateUserOnboardedStatus}from'../services/authService';import{saveAuthState,clearUserData,getResumeTarget,markStepCompleted,updateLastScreen,isReturningUser,markEventPageReached,hasEventAccessToken}from'../services/storageService';const AuthContext=createContext(undefined);function _0x3bb0(_0x173362,_0x3bb019){_0x173362=_0x173362-0x0;const _0x1a8111=_0x1733();let _0x159f3f=_0x1a8111[_0x173362];return _0x159f3f;}export const AuthProvider=({children:_0x57076b})=>{const _0x35a385={'GOoLG':_0x3bb0(0x0),'hZOES':_0x3bb0(0x1),'QrYBg':_0x3bb0(0x2),'aJREM':function(_0x3754ba,_0x2055df){return _0x3754ba(_0x2055df);},'isdcO':function(_0x4f7af5,_0xf952a0){return _0x4f7af5===_0xf952a0;},'mmNUl':function(_0x57d786){return _0x57d786();},'SxKmb':_0x3bb0(0x3),'PincJ':_0x3bb0(0x4),'cRLie':_0x3bb0(0x5),'ZcaVi':function(_0x271a8d,_0x525c1c){return _0x271a8d(_0x525c1c);},'LyHRD':'BYxBP','WINyk':_0x3bb0(0x6),'vJvNq':_0x3bb0(0x7),'YRMLl':_0x3bb0(0x8),'oWMDQ':function(_0x12a0c0,_0x1f527f){return _0x12a0c0!==_0x1f527f;},'zoGId':_0x3bb0(0x9),'SPkCl':function(_0x3b7826,_0x1c1a29){return _0x3b7826 instanceof _0x1c1a29;},'omMYv':_0x3bb0(0xa),'WMjRI':function(_0x35f886,_0x50c72d){return _0x35f886===_0x50c72d;},'DQgri':_0x3bb0(0xb),'DOdcn':_0x3bb0(0xc),'ZSQXA':'Onairos\x20User','RWXOY':function(_0x41daa8,_0x27cfbf){return _0x41daa8!==_0x27cfbf;},'kMLfG':'usxSW','zkqyy':function(_0x1bc99d){return _0x1bc99d();},'ZVODf':_0x3bb0(0xd),'osjsi':function(_0xcb9b31,_0x49fb23){return _0xcb9b31===_0x49fb23;},'FHciV':_0x3bb0(0xe),'XkzLw':_0x3bb0(0xf),'CIhzF':function(_0x52df36){return _0x52df36();},'wrMhq':'Apple\x20sign-in\x20failed:','UQweM':_0x3bb0(0x10),'FcJhV':function(_0x28b334,_0x28c767){return _0x28b334!==_0x28c767;},'yDEei':_0x3bb0(0x11),'ZdIJH':_0x3bb0(0x12),'wwsLd':function(_0x46569c,_0x450c29){return _0x46569c!==_0x450c29;},'MWsDN':_0x3bb0(0x13),'rqRbq':_0x3bb0(0x14),'GkWAo':_0x3bb0(0x15),'hdKbJ':'authentication','MsHFE':_0x3bb0(0x16),'MzGzX':_0x3bb0(0x17),'LxxLW':_0x3bb0(0x18),'aLVsC':_0x3bb0(0x19),'cQcDw':_0x3bb0(0x1a),'tbehR':_0x3bb0(0x1b),'jlpEv':_0x3bb0(0x1c),'BxxBP':_0x3bb0(0x1d),'eFTmw':_0x3bb0(0x1e),'jiDNq':'🔗\x20No\x20Onairos\x20connection\x20info\x20from\x20backend,\x20defaulting\x20to\x20false','GFdlq':function(_0x48b301,_0x5bc0e5){return _0x48b301(_0x5bc0e5);},'jyGVM':_0x3bb0(0x1f),'kBYpH':function(_0x5c73dd,_0x5692c4){return _0x5c73dd===_0x5692c4;},'wZyaI':'YPFzC','kTMJi':_0x3bb0(0x20),'nfWIo':'Onairos\x20sign-in\x20failed:','weNEV':function(_0x52893b,_0x3f22c6){return _0x52893b(_0x3f22c6);},'ppovI':function(_0x1828ac,_0x16a7cb){return _0x1828ac(_0x16a7cb);},'BNfkB':function(_0x3536dc,_0x584c72){return _0x3536dc(_0x584c72);},'cyIMr':_0x3bb0(0x21),'ennYp':_0x3bb0(0x22),'MglGN':'VPKKw','sXxyj':function(_0x398b6c,_0x17e5cd){return _0x398b6c(_0x17e5cd);},'CAMMU':function(_0x4c35b3){return _0x4c35b3();},'goMhP':function(_0x33f46b,_0x2939c8){return _0x33f46b(_0x2939c8);},'XFxZk':function(_0x1613c4,_0xe28d98){return _0x1613c4(_0xe28d98);},'SjBST':function(_0x47b60b,_0x12add7){return _0x47b60b(_0x12add7);},'BAjLJ':function(_0x36203b,_0x1e5bb0){return _0x36203b!==_0x1e5bb0;},'PGnMR':_0x3bb0(0x23),'qnUjq':_0x3bb0(0x24),'VMGQp':'Failed\x20to\x20delete\x20account:','aFHZD':_0x3bb0(0x25),'jiEaj':function(_0x24692d,_0x245496){return _0x24692d(_0x245496);},'fpgDY':_0x3bb0(0x26),'NHCwI':function(_0xf531b7){return _0xf531b7();},'DyOOf':function(_0x5b20fa,_0x56a4bc){return _0x5b20fa(_0x56a4bc);},'GPZuY':'0|2|4|1|3|5|6','RrCtV':function(_0x2224f1,_0x51c735){return _0x2224f1(_0x51c735);},'itYkn':function(_0x25975e,_0x3cf1ea){return _0x25975e(_0x3cf1ea);},'tzfRK':_0x3bb0(0x27),'RLXyW':function(_0x25cd70,_0xef7e55){return _0x25cd70(_0xef7e55);},'AXmTG':function(_0x52fac9,_0x1e11b8){return _0x52fac9(_0x1e11b8);},'dLDHV':function(_0x3febf5,_0x3e94ed,_0x2a63a8){return _0x3febf5(_0x3e94ed,_0x2a63a8);}},[_0x4d5921,_0x3a6363]=useState(null),[_0xf0d5d7,_0x5cd403]=_0x35a385['RLXyW'](useState,!![]),[_0x1215b7,_0x29bac9]=useState(![]),[_0x3f7e72,_0x20d83c]=_0x35a385[_0x3bb0(0x28)](useState,![]);_0x35a385[_0x3bb0(0x29)](useEffect,()=>{const _0x571d42={'USLNw':_0x35a385[_0x3bb0(0x2a)],'WNBXr':_0x3bb0(0x2b),'zxkKi':function(_0x45d2a6,_0x3a5ad6){return _0x45d2a6(_0x3a5ad6);},'aaLHx':function(_0x5f2e58,_0xfd61f2){return _0x5f2e58(_0xfd61f2);},'yxCsF':_0x3bb0(0x2c),'dXgll':_0x35a385['hZOES'],'vdQuf':_0x3bb0(0x26),'bkiDb':_0x35a385[_0x3bb0(0x2d)],'gbdzG':function(_0x30896f,_0x334104){return _0x35a385['aJREM'](_0x30896f,_0x334104);},'XJgZK':function(_0x8e6eeb,_0xdb55c3){return _0x8e6eeb!==_0xdb55c3;},'dkAON':_0x3bb0(0x2e),'wGyqf':function(_0x3b05a4,_0xc255ef){return _0x35a385[_0x3bb0(0x2f)](_0x3b05a4,_0xc255ef);},'IqRnU':function(_0xecec0){return _0x35a385[_0x3bb0(0x30)](_0xecec0);},'eacIj':_0x35a385[_0x3bb0(0x31)],'HijjB':function(_0x1a2284,_0x410f06){return _0x35a385[_0x3bb0(0x2f)](_0x1a2284,_0x410f06);},'hwCHF':_0x3bb0(0x32),'TzyfT':_0x35a385[_0x3bb0(0x33)],'fuuwJ':_0x35a385[_0x3bb0(0x34)],'LynDZ':function(_0x5825de,_0x4d027d){return _0x35a385[_0x3bb0(0x35)](_0x5825de,_0x4d027d);},'DRSsm':function(_0x4d0c7b,_0x41a914){return _0x35a385[_0x3bb0(0x36)](_0x4d0c7b,_0x41a914);},'rAduh':_0x35a385[_0x3bb0(0x37)],'aOYSn':_0x35a385['WINyk'],'kAJGR':_0x35a385[_0x3bb0(0x38)],'TgDmn':_0x35a385[_0x3bb0(0x39)],'NHSEz':_0x3bb0(0x10),'FYrPk':function(_0x370a12,_0x4134ca){return _0x35a385[_0x3bb0(0x3a)](_0x370a12,_0x4134ca);},'hVzVy':'zdpiI','WhuWN':function(_0x58db8c,_0x356c7f){return _0x35a385[_0x3bb0(0x35)](_0x58db8c,_0x356c7f);},'kaFwQ':function(_0x3ca7dd,_0x516d09){return _0x3ca7dd(_0x516d09);},'eMQOH':_0x3bb0(0x3b),'tYyEP':_0x35a385[_0x3bb0(0x3c)],'bPHRB':function(_0x42cdde,_0x563f39){return _0x35a385[_0x3bb0(0x3d)](_0x42cdde,_0x563f39);},'Dzzkm':_0x35a385[_0x3bb0(0x3e)],'uOBsn':'403','hjXDz':function(_0x42af01,_0x39945a){return _0x35a385[_0x3bb0(0x3f)](_0x42af01,_0x39945a);},'tffKu':_0x35a385[_0x3bb0(0x40)],'tsZxG':_0x35a385[_0x3bb0(0x41)],'GRoPd':_0x3bb0(0x42),'jlVCM':'offline_user','kicHx':_0x35a385[_0x3bb0(0x43)],'vaBRt':'user@onairos.com','enQgV':function(_0x16f45c,_0x13e1f7){return _0x35a385['RWXOY'](_0x16f45c,_0x13e1f7);},'puESf':_0x35a385[_0x3bb0(0x44)],'pmYKF':function(_0x5122d9){return _0x35a385['zkqyy'](_0x5122d9);},'EdMkB':_0x35a385[_0x3bb0(0x45)],'DzytQ':function(_0x3bf382,_0x3e90b3){return _0x35a385[_0x3bb0(0x46)](_0x3bf382,_0x3e90b3);},'jBWYV':_0x35a385['FHciV'],'OYBtc':_0x3bb0(0x47),'RdhZy':_0x35a385[_0x3bb0(0x48)]},_0x490b16=async()=>{const _0x19c662={'xFUOI':_0x571d42[_0x3bb0(0x49)],'hFnyS':_0x3bb0(0x24),'mMOPZ':_0x571d42[_0x3bb0(0x4a)],'EiGji':function(_0x24358c,_0x2a98f4){return _0x571d42[_0x3bb0(0x4b)](_0x24358c,_0x2a98f4);},'iNdYb':function(_0x2fe2aa,_0x3da76a){return _0x571d42[_0x3bb0(0x4c)](_0x2fe2aa,_0x3da76a);}};if(_0x571d42[_0x3bb0(0x4d)](_0x571d42[_0x3bb0(0x4e)],_0x571d42[_0x3bb0(0x4e)]))_0x5b79f9[_0x3bb0(0x4f)](_0x571d42[_0x3bb0(0x50)],_0xe03240);else try{if(_0x571d42[_0x3bb0(0x51)]('ssmmv',_0x3bb0(0x52)))_0x469e11['error'](_0x19c662[_0x3bb0(0x53)],_0x5d5e5c);else{const _0x3cf9fb=await _0x571d42[_0x3bb0(0x54)](hasEventAccessToken),_0x17970c=await AsyncStorage[_0x3bb0(0x55)](_0x571d42[_0x3bb0(0x56)]);if(_0x3cf9fb&&_0x17970c){if(_0x571d42[_0x3bb0(0x57)](_0x571d42[_0x3bb0(0x58)],_0x571d42[_0x3bb0(0x59)])){_0x20cb10['log'](_0x571d42[_0x3bb0(0x5a)]),_0x1630d(_0x1da909['parse'](_0x3a3852)),_0x571d42[_0x3bb0(0x5b)](_0x5966b9,!![]),_0x4208c7(!![]),_0x571d42['aaLHx'](_0x316bc5,![]);return;}else{const _0xf4e187=_0x571d42['fuuwJ'][_0x3bb0(0x5c)]('|');let _0x47cd87=0x0;while(!![]){switch(_0xf4e187[_0x47cd87++]){case'0':console['log'](_0x571d42[_0x3bb0(0x5a)]);continue;case'1':_0x5cd403(![]);continue;case'2':_0x571d42['LynDZ'](_0x20d83c,!![]);continue;case'3':_0x571d42[_0x3bb0(0x5d)](_0x3a6363,JSON[_0x3bb0(0x5e)](_0x17970c));continue;case'4':return;case'5':_0x571d42['aaLHx'](_0x29bac9,!![]);continue;}break;}}}const _0x13e49f=await _0x571d42[_0x3bb0(0x54)](getAuthToken);if(_0x13e49f){if(_0x571d42[_0x3bb0(0x51)](_0x571d42[_0x3bb0(0x5f)],_0x571d42[_0x3bb0(0x5f)])){let _0x3565ef=![];try{_0x571d42[_0x3bb0(0x57)](_0x571d42[_0x3bb0(0x60)],_0x3bb0(0x61))?(_0x2c64cd[_0x3bb0(0x62)](_0x3bb0(0x10)),_0x2d85d8=!![]):_0x3565ef=await verifyToken();}catch(_0x42737e){console[_0x3bb0(0x63)](_0x571d42[_0x3bb0(0x64)],_0x42737e);if(_0x17970c){if(_0x571d42['TgDmn']!==_0x3bb0(0x8)){_0x18791f[_0x3bb0(0x4f)](_0x19c662[_0x3bb0(0x65)],_0x4b1742);throw _0x4ccb47;}else console[_0x3bb0(0x62)](_0x571d42[_0x3bb0(0x66)]),_0x3565ef=!![];}}if(_0x3565ef){if(_0x17970c){if(_0x571d42[_0x3bb0(0x67)](_0x571d42[_0x3bb0(0x68)],_0x571d42[_0x3bb0(0x68)])){_0x491158[_0x3bb0(0x4f)](_0x571d42[_0x3bb0(0x69)],_0x23b75e);throw _0x1594b7;}else _0x571d42[_0x3bb0(0x6a)](_0x3a6363,JSON[_0x3bb0(0x5e)](_0x17970c)),_0x571d42[_0x3bb0(0x4b)](_0x20d83c,!![]);}else try{const _0x2c19f0=await getUserProfile();await AsyncStorage[_0x3bb0(0x6b)](_0x3bb0(0x3),JSON[_0x3bb0(0x6c)](_0x2c19f0)),_0x571d42['aaLHx'](_0x3a6363,_0x2c19f0),_0x571d42[_0x3bb0(0x6d)](_0x20d83c,!![]);}catch(_0x5043ee){if(_0x3bb0(0x6e)!==_0x571d42[_0x3bb0(0x6f)]){console[_0x3bb0(0x4f)](_0x571d42[_0x3bb0(0x70)],_0x5043ee);const _0x547319=_0x571d42[_0x3bb0(0x71)](_0x5043ee,Error)?_0x5043ee[_0x3bb0(0x72)]:_0x571d42[_0x3bb0(0x5b)](String,_0x5043ee);if(_0x547319[_0x3bb0(0x73)](_0x571d42[_0x3bb0(0x74)])||_0x547319['includes'](_0x571d42['uOBsn']))_0x571d42[_0x3bb0(0x75)](_0x571d42[_0x3bb0(0x76)],_0x3bb0(0xb))?await removeAuthToken():_0x493773(!![]);else{if(_0x571d42[_0x3bb0(0x77)]!==_0x571d42[_0x3bb0(0x78)]){console['log']('🌐\x20Profile\x20fetch\x20failed\x20(likely\x20network),\x20keeping\x20authentication\x20state');if(_0x13e49f){const _0x52693a={'id':_0x571d42['jlVCM'],'name':_0x571d42[_0x3bb0(0x79)],'email':_0x571d42['vaBRt'],'onboarded':![]};await AsyncStorage[_0x3bb0(0x6b)](_0x571d42[_0x3bb0(0x56)],JSON[_0x3bb0(0x6c)](_0x52693a)),_0x571d42[_0x3bb0(0x6a)](_0x3a6363,_0x52693a),_0x571d42[_0x3bb0(0x4c)](_0x20d83c,!![]);}}else _0x2ae508[_0x3bb0(0x4f)](_0x19c662[_0x3bb0(0x7a)],_0x3b44ae);}}else _0x4cac48(![]);}}else _0x571d42['enQgV'](_0x571d42['puESf'],_0x3bb0(0x7b))?_0x55fc53[_0x3bb0(0x4f)](_0x571d42['dXgll'],_0x23b73c):await _0x571d42[_0x3bb0(0x7c)](removeAuthToken);}else _0x19c662['EiGji'](_0x3c5ad9,![]);}const _0x3e0474=await AsyncStorage[_0x3bb0(0x55)](_0x571d42[_0x3bb0(0x7d)]);_0x571d42[_0x3bb0(0x51)](_0x3e0474,_0x3bb0(0x7e))&&_0x571d42['kaFwQ'](_0x29bac9,!![]);}}catch(_0x351c45){_0x571d42['DzytQ'](_0x3bb0(0xe),_0x571d42[_0x3bb0(0x7f)])?console[_0x3bb0(0x4f)](_0x571d42[_0x3bb0(0x50)],_0x351c45):_0x19c662[_0x3bb0(0x80)](_0x5515c7,![]);}finally{_0x571d42[_0x3bb0(0x57)](_0x571d42[_0x3bb0(0x81)],_0x571d42[_0x3bb0(0x82)])?_0x19c662[_0x3bb0(0x83)](_0x3e77b5,![]):_0x571d42[_0x3bb0(0x5d)](_0x5cd403,![]);}};_0x35a385[_0x3bb0(0x84)](_0x490b16);},[]);const _0x9ce1d1=async _0x58d1b1=>{const _0x3bd9d6={'hOgME':_0x35a385['UQweM']};if(_0x35a385['FcJhV'](_0x35a385[_0x3bb0(0x85)],_0x35a385[_0x3bb0(0x86)]))try{if(_0x35a385[_0x3bb0(0x87)](_0x35a385[_0x3bb0(0x88)],_0x35a385[_0x3bb0(0x88)]))_0x56ec17[_0x3bb0(0x63)](_0x3bb0(0x7),_0x347e96),_0x3c104d&&(_0x2d0d30[_0x3bb0(0x62)](_0x3bd9d6[_0x3bb0(0x89)]),_0x1a963d=!![]);else{var _0x394155;const _0x58fb15={..._0x58d1b1,'onboarded':![]};await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x31)],JSON[_0x3bb0(0x6c)](_0x58fb15)),_0x35a385['aJREM'](_0x3a6363,_0x58fb15),_0x35a385['ZcaVi'](_0x20d83c,!![]),await _0x35a385[_0x3bb0(0x35)](saveAuthState,{'isAuthenticated':!![],'authMethod':(_0x394155=_0x58d1b1[_0x3bb0(0x8a)])!==null&&_0x35a385[_0x3bb0(0x8b)](_0x394155,void 0x0)&&_0x394155[_0x3bb0(0x73)](_0x35a385[_0x3bb0(0x8c)])?_0x35a385[_0x3bb0(0x8c)]:_0x35a385['GkWAo'],'hasValidToken':!![],'userEmail':_0x58d1b1[_0x3bb0(0x8a)],'userName':_0x58d1b1['name']}),await _0x35a385[_0x3bb0(0x36)](markStepCompleted,_0x35a385[_0x3bb0(0x8d)]),console['log'](_0x35a385[_0x3bb0(0x8e)],_0x58fb15);}}catch(_0x1aa34c){console[_0x3bb0(0x4f)]('Failed\x20to\x20save\x20user\x20data:',_0x1aa34c);}else{_0x2fa1fb[_0x3bb0(0x4f)](_0x35a385[_0x3bb0(0x8f)],_0x5e1e99);throw _0xf2001;}},_0x31fc9d=async _0x2cfef6=>{try{_0x35a385[_0x3bb0(0x36)](_0x5cd403,!![]);const _0xf7666a=await authenticateWithApple(_0x2cfef6);await saveAuthToken(_0xf7666a[_0x3bb0(0x90)]),await AsyncStorage['setItem'](_0x35a385[_0x3bb0(0x91)],_0x3bb0(0x14));_0xf7666a['onairos']?_0x35a385['wwsLd'](_0x3bb0(0x92),_0x35a385[_0x3bb0(0x93)])?(await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x94)],_0xf7666a[_0x3bb0(0x15)][_0x3bb0(0x1a)]['toString']()),_0xf7666a[_0x3bb0(0x15)][_0x3bb0(0x1b)]&&await AsyncStorage[_0x3bb0(0x6b)](_0x35a385['tbehR'],_0xf7666a[_0x3bb0(0x15)]['onairosUserId']),_0xf7666a['onairos'][_0x3bb0(0x1c)]&&await AsyncStorage[_0x3bb0(0x6b)](_0x35a385['jlpEv'],_0xf7666a[_0x3bb0(0x15)][_0x3bb0(0x1c)]),console['log'](_0x35a385['BxxBP'],_0xf7666a['onairos'][_0x3bb0(0x1a)])):(_0x35a385[_0x3bb0(0x36)](_0x3511b2,_0x2d3665[_0x3bb0(0x5e)](_0x185a33)),_0x35a385[_0x3bb0(0x36)](_0x56b716,!![])):(await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x94)],_0x35a385[_0x3bb0(0x95)]),console[_0x3bb0(0x62)](_0x35a385[_0x3bb0(0x96)]));const _0xaba506={'id':_0xf7666a['user']['id'],'name':_0xf7666a[_0x3bb0(0x3)]['name']||_0x35a385[_0x3bb0(0x43)],'email':_0xf7666a['user'][_0x3bb0(0x8a)],'profilePicture':_0xf7666a[_0x3bb0(0x3)][_0x3bb0(0x97)],'onboarded':![]};return await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x31)],JSON[_0x3bb0(0x6c)](_0xaba506)),_0x3a6363(_0xaba506),_0x35a385['GFdlq'](_0x20d83c,!![]),console['log'](_0x35a385['jyGVM']),_0xaba506;}catch(_0x59d085){console[_0x3bb0(0x4f)](_0x3bb0(0x98),_0x59d085);throw _0x59d085;}finally{if(_0x35a385['kBYpH'](_0x35a385[_0x3bb0(0x99)],_0x35a385[_0x3bb0(0x9a)]))throw new _0x207f93(_0x35a385['MzGzX']);else _0x35a385[_0x3bb0(0x35)](_0x5cd403,![]);}},_0x276261=async _0x357455=>{try{_0x35a385['GFdlq'](_0x5cd403,!![]);const _0x32cd47=await _0x35a385['weNEV'](authenticateWithOnairos,_0x357455);await _0x35a385[_0x3bb0(0x9b)](saveAuthToken,_0x32cd47[_0x3bb0(0x90)]),await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x91)],_0x35a385[_0x3bb0(0x9c)]);const _0x3291e6={'id':_0x32cd47['user']['id'],'name':_0x32cd47[_0x3bb0(0x3)]['name']||_0x35a385[_0x3bb0(0x43)],'email':_0x32cd47[_0x3bb0(0x3)][_0x3bb0(0x8a)],'profilePicture':_0x32cd47['user'][_0x3bb0(0x97)],'onboarded':![]};return await AsyncStorage[_0x3bb0(0x6b)](_0x35a385['SxKmb'],JSON[_0x3bb0(0x6c)](_0x3291e6)),_0x35a385[_0x3bb0(0x9d)](_0x3a6363,_0x3291e6),_0x35a385['BNfkB'](_0x20d83c,!![]),console['log'](_0x35a385[_0x3bb0(0x9e)]),_0x3291e6;}catch(_0x2d2987){if(_0x35a385[_0x3bb0(0x9f)]!==_0x35a385['MglGN']){console[_0x3bb0(0x4f)](_0x35a385[_0x3bb0(0xa0)],_0x2d2987);throw _0x2d2987;}else{_0x20ab06[_0x3bb0(0x4f)](_0x35a385[_0x3bb0(0xa0)],_0x3bf334);throw _0xc49c02;}}finally{_0x35a385[_0x3bb0(0xa1)](_0x5cd403,![]);}},_0x17440e=async()=>{try{await _0x35a385[_0x3bb0(0xa2)](clearUserData),_0x35a385['goMhP'](_0x3a6363,null),_0x35a385['XFxZk'](_0x20d83c,![]);}catch(_0x51e2a8){console[_0x3bb0(0x4f)](_0x35a385['hZOES'],_0x51e2a8);}},_0x4411d6=async _0x3c3919=>{const _0x1720f1={'SyEof':function(_0x232e90,_0x242f3f){return _0x35a385[_0x3bb0(0x35)](_0x232e90,_0x242f3f);},'UuAAy':'useAuth\x20must\x20be\x20used\x20within\x20an\x20AuthProvider'};try{const _0x1ede61={..._0x4d5921,..._0x3c3919};await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x31)],JSON[_0x3bb0(0x6c)](_0x1ede61)),_0x35a385[_0x3bb0(0xa3)](_0x3a6363,_0x1ede61),await _0x35a385[_0x3bb0(0xa4)](_0x4b85b4);}catch(_0x38cfab){if(_0x35a385['BAjLJ'](_0x35a385[_0x3bb0(0xa5)],_0x35a385[_0x3bb0(0xa5)])){const _0x20700d=_0x1720f1['SyEof'](useContext,_0x1078d7);if(_0x20700d===_0x7b384e)throw new _0xd49219(_0x1720f1[_0x3bb0(0xa6)]);return _0x20700d;}else{console['error'](_0x35a385[_0x3bb0(0xa7)],_0x38cfab);throw _0x38cfab;}}},_0x5c8465=async _0xe75e80=>{const _0x42a606={'OhgRQ':_0x35a385[_0x3bb0(0xa8)]};if(_0x35a385['aFHZD']===_0x35a385[_0x3bb0(0xa9)])try{if(!_0x4d5921)return;const _0x5cf84c={..._0x4d5921,..._0xe75e80};await AsyncStorage[_0x3bb0(0x6b)](_0x35a385[_0x3bb0(0x31)],JSON[_0x3bb0(0x6c)](_0x5cf84c)),_0x35a385['jiEaj'](_0x3a6363,_0x5cf84c);}catch(_0x5b33bd){console[_0x3bb0(0x4f)](_0x35a385[_0x3bb0(0xaa)],_0x5b33bd);}else{_0x348f10['error'](_0x42a606[_0x3bb0(0xab)],_0x88620d);throw _0x4fb0d6;}},_0x4b85b4=async()=>{try{_0x35a385[_0x3bb0(0xa1)](_0x5cd403,!![]),await _0x35a385[_0x3bb0(0xac)](updateUserOnboardedStatus);if(_0x4d5921){const _0x403dd9={..._0x4d5921,'onboarded':!![]};await AsyncStorage[_0x3bb0(0x6b)](_0x35a385['SxKmb'],JSON['stringify'](_0x403dd9)),_0x35a385[_0x3bb0(0xad)](_0x3a6363,_0x403dd9);}}catch(_0x1428db){console[_0x3bb0(0x4f)](_0x3bb0(0x2c),_0x1428db);throw _0x1428db;}finally{_0x35a385[_0x3bb0(0xae)](_0x5cd403,![]);}},_0x1cfb90=async()=>{try{const _0x96a7fd=_0x35a385[_0x3bb0(0xaf)][_0x3bb0(0x5c)]('|');let _0xe1061c=0x0;while(!![]){switch(_0x96a7fd[_0xe1061c++]){case'0':await AsyncStorage[_0x3bb0(0xb0)](_0x35a385[_0x3bb0(0x31)]);continue;case'1':_0x35a385['goMhP'](_0x3a6363,null);continue;case'2':await _0x35a385[_0x3bb0(0x84)](removeAuthToken);continue;case'3':_0x35a385[_0x3bb0(0xb1)](_0x20d83c,![]);continue;case'4':await AsyncStorage['removeItem'](_0x35a385[_0x3bb0(0x45)]);continue;case'5':_0x35a385[_0x3bb0(0xb2)](_0x29bac9,![]);continue;case'6':console[_0x3bb0(0x62)](_0x35a385[_0x3bb0(0xb3)]);continue;}break;}}catch(_0x24edbd){console[_0x3bb0(0x4f)]('Failed\x20to\x20delete\x20account:',_0x24edbd);throw _0x24edbd;}};return React[_0x3bb0(0xb4)](AuthContext[_0x3bb0(0xb5)],{'value':{'user':_0x4d5921,'isLoading':_0xf0d5d7,'hasCompletedOnboarding':_0x1215b7,'login':_0x9ce1d1,'logout':_0x17440e,'deleteAccount':_0x1cfb90,'completeOnboarding':_0x4411d6,'updateUser':_0x5c8465,'appleSignIn':_0x31fc9d,'onairosSignIn':_0x276261,'isAuthenticated':_0x3f7e72,'updateOnboardedStatus':_0x4b85b4,'getResumeTarget':getResumeTarget,'markStepCompleted':markStepCompleted,'updateLastScreen':updateLastScreen,'isReturningUser':isReturningUser,'markEventPageReached':markEventPageReached,'hasEventAccessToken':hasEventAccessToken}},_0x57076b);};export const useAuth=()=>{const _0x4de1cd={'oeXYT':function(_0x23bea,_0x33b2dd){return _0x23bea(_0x33b2dd);},'AUCJr':function(_0x2f6bd1,_0x37c76e){return _0x2f6bd1===_0x37c76e;},'lgluD':_0x3bb0(0x17)},_0x3c3869=_0x4de1cd[_0x3bb0(0xb6)](useContext,AuthContext);if(_0x4de1cd[_0x3bb0(0xb7)](_0x3c3869,undefined))throw new Error(_0x4de1cd['lgluD']);return _0x3c3869;};
@@ -1 +1 @@
1
- function _0x4371(){const _0x188bbe=['🔍\x20No\x20user\x20available\x20for\x20fetching\x20connected\x20accounts','okvHL','🚀\x20[HOOK]\x20Starting\x20connected\x20accounts\x20fetch\x20with\x20new\x20smart\x20API...','HixdX','❌\x20[HOOK]\x20Error\x20fetching\x20connected\x20accounts:','Failed\x20to\x20load\x20connected\x20accounts','tYGHS','BkOAx','WaVQC','GvUie','✅\x20[HOOK]\x20Account\x20added\x20locally:','apHeh','RJgcj','uaNBZ','AqCcR','CbCHp','WHqhB','JGimO','UUfmp','filter','platform','toLowerCase','✅\x20[HOOK]\x20Account\x20removed\x20locally:','log','UGVoF','BTASm','lTNgd','IDHoc','🚀\x20[HOOK]\x20User\x20info\x20available:','email','name','✅\x20[HOOK]\x20Connected\x20accounts\x20loaded\x20via\x20smart\x20API:\x20','length','\x20accounts','ALlKO','IIeLy','PrVuE','jZpoe','error','fMNZP','HdhCR','map','wSSbK','BiNoa','zpQGl','pHDVY','ogpya','some','https://','.com/','MUseu','ItUpG','sPrLl','OSECF','Igbxh','SsORf','EfQdV','SxXIP'];_0x4371=function(){return _0x188bbe;};return _0x4371();}function _0x1b13(_0x4371dd,_0x1b1343){_0x4371dd=_0x4371dd-0x0;const _0x373258=_0x4371();let _0x5a42d4=_0x373258[_0x4371dd];return _0x5a42d4;}import{useState,useEffect,useCallback}from'react';import{getConnectedAccountsSmart}from'../services/connectedAccountsService';import{useAuth}from'../context/AuthContext';export const useConnectedAccounts=()=>{const _0x57f5fd={'UGVoF':_0x1b13(0x0),'IIeLy':function(_0x33685c,_0x134279){return _0x33685c(_0x134279);},'uaNBZ':function(_0x50a849,_0x43a762){return _0x50a849(_0x43a762);},'SsORf':function(_0x4aa248,_0x4aabcf){return _0x4aa248!==_0x4aabcf;},'JGimO':'buOTt','BTASm':function(_0xb6bfc,_0x10562f){return _0xb6bfc===_0x10562f;},'lTNgd':_0x1b13(0x1),'IDHoc':_0x1b13(0x2),'ALlKO':function(_0x166f5a,_0x280be6){return _0x166f5a(_0x280be6);},'PrVuE':function(_0x1a39b4,_0x147128){return _0x1a39b4===_0x147128;},'jZpoe':_0x1b13(0x3),'fMNZP':_0x1b13(0x4),'HdhCR':_0x1b13(0x5),'FlvVl':_0x1b13(0x6),'wSSbK':_0x1b13(0x7),'BiNoa':function(_0x25913b,_0x4a3ee8){return _0x25913b(_0x4a3ee8);},'kvKeO':_0x1b13(0x8),'pHDVY':'🔄\x20[HOOK]\x20Refreshing\x20connected\x20accounts...','RJgcj':function(_0x1f3c2e){return _0x1f3c2e();},'rOsMv':function(_0x2b92e4,_0x3f3694){return _0x2b92e4(_0x3f3694);},'MUseu':function(_0x9f64d7,_0x21784a){return _0x9f64d7===_0x21784a;},'ItUpG':'MOfPe','sPrLl':_0x1b13(0x9),'ogpya':'ovpDb','Igbxh':_0x1b13(0xa),'RvMtX':'mZVoV','dCqDo':_0x1b13(0xb),'SxXIP':function(_0x579507){return _0x579507();},'AqCcR':function(_0x4f5c0c,_0x4b54aa){return _0x4f5c0c(_0x4b54aa);},'CbCHp':function(_0x4cbbc4,_0x5d743d){return _0x4cbbc4(_0x5d743d);},'WHqhB':function(_0x5c71e7,_0xe7cfa0,_0x34efdf){return _0x5c71e7(_0xe7cfa0,_0x34efdf);},'zpQGl':function(_0x48688d,_0x3f5f6f,_0x15a8c4){return _0x48688d(_0x3f5f6f,_0x15a8c4);},'JeREe':function(_0x189030,_0x3b7902,_0x4ad5b9){return _0x189030(_0x3b7902,_0x4ad5b9);},'EfQdV':function(_0x3165bd,_0x28ae12,_0x437cf6){return _0x3165bd(_0x28ae12,_0x437cf6);}},{user:_0x2c2d43}=_0x57f5fd[_0x1b13(0xc)](useAuth),[_0x2127cf,_0x4dc624]=_0x57f5fd[_0x1b13(0xd)](useState,[]),[_0x3c2f72,_0x5fcd5]=_0x57f5fd[_0x1b13(0xe)](useState,!![]),[_0x1845c7,_0x2ee605]=_0x57f5fd[_0x1b13(0xf)](useState,null),_0x3796bb=_0x57f5fd[_0x1b13(0x10)](useCallback,async()=>{const _0x1cd828={'UUfmp':function(_0x3bd346,_0x5af608){return _0x57f5fd[_0x1b13(0xd)](_0x3bd346,_0x5af608);}};if(_0x57f5fd['SsORf']('buOTt',_0x57f5fd[_0x1b13(0x11)]))_0x1cd828[_0x1b13(0x12)](_0x2b573a,_0x2d3263=>_0x2d3263[_0x1b13(0x13)](_0x134fb4=>_0x134fb4[_0x1b13(0x14)][_0x1b13(0x15)]()!==_0x2fd7e6[_0x1b13(0x15)]())),_0x37f822['log'](_0x1b13(0x16),_0x55d624);else{if(!_0x2c2d43){console[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x18)]),_0x57f5fd[_0x1b13(0xd)](_0x5fcd5,![]);return;}try{if(_0x57f5fd[_0x1b13(0x19)](_0x57f5fd[_0x1b13(0x1a)],_0x57f5fd['lTNgd'])){_0x57f5fd[_0x1b13(0xd)](_0x5fcd5,!![]),_0x57f5fd[_0x1b13(0xd)](_0x2ee605,null),console[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x1b)]),console[_0x1b13(0x17)](_0x1b13(0x1c),{'email':_0x2c2d43[_0x1b13(0x1d)],'id':_0x2c2d43['id'],'name':_0x2c2d43['name']});const _0x2c684c=await getConnectedAccountsSmart(_0x2c2d43['email'],_0x2c2d43['id'],_0x2c2d43[_0x1b13(0x1e)]);console[_0x1b13(0x17)](_0x1b13(0x1f)+_0x2c684c[_0x1b13(0x20)]+_0x1b13(0x21)),_0x57f5fd[_0x1b13(0x22)](_0x4dc624,_0x2c684c);}else{_0x3d0a39[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x18)]),_0x57f5fd[_0x1b13(0x23)](_0x210780,![]);return;}}catch(_0x5945cf){if(_0x57f5fd[_0x1b13(0x24)](_0x1b13(0x3),_0x57f5fd[_0x1b13(0x25)]))console[_0x1b13(0x26)](_0x57f5fd[_0x1b13(0x27)],_0x5945cf),_0x2ee605(_0x57f5fd[_0x1b13(0x28)]);else return _0xfedb2a[_0x1b13(0x29)](_0x3e8893=>_0x3e8893[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x598519[_0x1b13(0x15)]()?_0x287115:_0x3e8893);}finally{_0x57f5fd['FlvVl']!==_0x57f5fd[_0x1b13(0x2a)]?_0x57f5fd[_0x1b13(0x2b)](_0x5fcd5,![]):_0x312344(![]);}}},[_0x2c2d43]),_0xd30b8b=_0x57f5fd[_0x1b13(0x2c)](useCallback,async()=>{_0x1b13(0x8)!==_0x57f5fd['kvKeO']?_0x2106fb():(console[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x2d)]),await _0x57f5fd['RJgcj'](_0x3796bb));},[_0x3796bb]),_0x5b85b4=useCallback((_0x1904db,_0x48bd21)=>{if(_0x57f5fd[_0x1b13(0x2e)]!==_0x57f5fd[_0x1b13(0x2e)]){const _0x3e8f1f=_0x9d7e8d[_0x1b13(0x2f)](_0x24a074=>_0x24a074['platform'][_0x1b13(0x15)]()===_0x5f4adf[_0x1b13(0x15)]());return _0x3e8f1f?_0x48efae[_0x1b13(0x29)](_0x59a9fa=>_0x59a9fa[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x28de71[_0x1b13(0x15)]()?_0x276256:_0x59a9fa):[..._0x50fba0,_0x59853];}else{const _0x518d2f=_0x1b13(0x30)+_0x1904db[_0x1b13(0x15)]()+_0x1b13(0x31)+_0x48bd21,_0x179d93={'platform':_0x1904db,'username':_0x48bd21,'url':_0x518d2f};_0x57f5fd[_0x1b13(0x23)](_0x4dc624,_0x3eabc0=>{const _0x384bf7={'gHtPN':_0x57f5fd[_0x1b13(0x27)],'OSECF':function(_0x380952,_0x4a0067){return _0x57f5fd['rOsMv'](_0x380952,_0x4a0067);}};if(_0x57f5fd[_0x1b13(0x32)](_0x57f5fd[_0x1b13(0x33)],_0x57f5fd['ItUpG'])){const _0x672a2b=_0x3eabc0[_0x1b13(0x2f)](_0x5fb818=>_0x5fb818[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x1904db[_0x1b13(0x15)]());return _0x672a2b?_0x3eabc0[_0x1b13(0x29)](_0xb290b9=>_0xb290b9[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x1904db['toLowerCase']()?_0x179d93:_0xb290b9):_0x1b13(0x9)!==_0x57f5fd[_0x1b13(0x34)]?[..._0x47ea06,_0x248e33]:[..._0x3eabc0,_0x179d93];}else _0x46fbc5[_0x1b13(0x26)](_0x384bf7['gHtPN'],_0x556eb3),_0x384bf7[_0x1b13(0x35)](_0x559715,_0x1b13(0x5));}),console[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x36)],_0x179d93);}},[]),_0x5ba119=_0x57f5fd['JeREe'](useCallback,_0x11f61a=>{if(_0x57f5fd[_0x1b13(0x37)](_0x57f5fd['RvMtX'],_0x57f5fd['dCqDo']))_0x57f5fd[_0x1b13(0x2b)](_0x4dc624,_0xa0d832=>_0xa0d832[_0x1b13(0x13)](_0x3f3661=>_0x3f3661[_0x1b13(0x14)][_0x1b13(0x15)]()!==_0x11f61a[_0x1b13(0x15)]())),console[_0x1b13(0x17)]('✅\x20[HOOK]\x20Account\x20removed\x20locally:',_0x11f61a);else{const _0x25a2ae=_0x1b13(0x30)+_0x561fa3['toLowerCase']()+_0x1b13(0x31)+_0x49cb03,_0x58e6a8={'platform':_0x5d9d55,'username':_0x2f35a8,'url':_0x25a2ae};_0x57f5fd['ALlKO'](_0x52f843,_0x3aa72c=>{const _0x374c44=_0x3aa72c['some'](_0x281bf2=>_0x281bf2[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x303ef3['toLowerCase']());return _0x374c44?_0x3aa72c[_0x1b13(0x29)](_0x1b9c8f=>_0x1b9c8f[_0x1b13(0x14)][_0x1b13(0x15)]()===_0x179390[_0x1b13(0x15)]()?_0x58e6a8:_0x1b9c8f):[..._0x3aa72c,_0x58e6a8];}),_0x32c3cc[_0x1b13(0x17)](_0x57f5fd[_0x1b13(0x36)],_0x58e6a8);}},[]);return _0x57f5fd[_0x1b13(0x38)](useEffect,()=>{_0x57f5fd[_0x1b13(0x39)](_0x3796bb);},[_0x3796bb]),{'connectedAccounts':_0x2127cf,'isLoading':_0x3c2f72,'error':_0x1845c7,'refreshAccounts':_0xd30b8b,'addAccount':_0x5b85b4,'removeAccount':_0x5ba119};};
1
+ import{useState,useEffect,useCallback}from'react';function _0x105d(){const _0x4a91ac=['🔍\x20No\x20user\x20available\x20for\x20fetching\x20connected\x20accounts','JQcvD','RyoMw','luShi','🚀\x20[HOOK]\x20Starting\x20connected\x20accounts\x20fetch\x20with\x20new\x20smart\x20API...','❌\x20[HOOK]\x20Error\x20fetching\x20connected\x20accounts:','Failed\x20to\x20load\x20connected\x20accounts','wEqXm','gFZcU','vzlGn','✅\x20[HOOK]\x20Account\x20removed\x20locally:','gYcVP','vXcua','sTHYl','SIhWo','GZcrH','AESVL','pbeOm','log','ItLaD','NESGa','DxoTf','ZHcQP','FeVYe','🚀\x20[HOOK]\x20User\x20info\x20available:','name','qLOsU','email','\x20accounts','NhArl','FTbaG','map','platform','toLowerCase','uOYma','uMgIE','Gfkyj','yWkxW','iTBBb','https://','.com/','some','✅\x20[HOOK]\x20Account\x20added\x20locally:','AfDeI','StxkA','NkfqY','GCKzV','NhaxC','hRGlr','soUTb','filter','TRJhL','ZFbDF','dUjri','cnRFh'];_0x105d=function(){return _0x4a91ac;};return _0x105d();}import{getConnectedAccountsSmart}from'../services/connectedAccountsService';function _0x3e3e(_0x105dfa,_0x3e3e5b){_0x105dfa=_0x105dfa-0x0;const _0x3ec73e=_0x105d();let _0x1926f0=_0x3ec73e[_0x105dfa];return _0x1926f0;}import{useAuth}from'../context/AuthContext';export const useConnectedAccounts=()=>{const _0x30f05a={'sTHYl':_0x3e3e(0x0),'vXcua':function(_0x1f55c0,_0x440ebb){return _0x1f55c0(_0x440ebb);},'RRLXu':function(_0x56666b,_0x57f90e){return _0x56666b!==_0x57f90e;},'mQnse':_0x3e3e(0x1),'SIhWo':'HUrXc','GZcrH':function(_0x282a0c,_0x3c629b){return _0x282a0c===_0x3c629b;},'AESVL':_0x3e3e(0x2),'pbeOm':_0x3e3e(0x3),'DxoTf':function(_0x571d69,_0x31a3a5){return _0x571d69(_0x31a3a5);},'ZHcQP':function(_0xa66d48,_0x2ed14c){return _0xa66d48(_0x2ed14c);},'FeVYe':_0x3e3e(0x4),'qLOsU':function(_0x4522e0,_0x2b18b6,_0x4c0f95,_0x177231){return _0x4522e0(_0x2b18b6,_0x4c0f95,_0x177231);},'NhArl':_0x3e3e(0x5),'FTbaG':_0x3e3e(0x6),'BLHAF':'🔄\x20[HOOK]\x20Refreshing\x20connected\x20accounts...','yWkxW':function(_0x5c99ee,_0xbe53d0){return _0x5c99ee===_0xbe53d0;},'iTBBb':_0x3e3e(0x7),'NkfqY':function(_0x27c282,_0x139779){return _0x27c282(_0x139779);},'GCKzV':_0x3e3e(0x8),'NhaxC':_0x3e3e(0x9),'soUTb':function(_0x2375c7,_0x4f2f2d){return _0x2375c7(_0x4f2f2d);},'dUjri':function(_0xe91542,_0x3d1b2c){return _0xe91542(_0x3d1b2c);},'cnRFh':_0x3e3e(0xa),'TRJhL':_0x3e3e(0xb),'ZFbDF':'fpelw','LdPVU':function(_0x13c6a1,_0x4a8842,_0x2341dd){return _0x13c6a1(_0x4a8842,_0x2341dd);},'uOYma':function(_0x1dec13,_0x4e0189,_0x5bede6){return _0x1dec13(_0x4e0189,_0x5bede6);},'uMgIE':function(_0x2b82c9,_0x57bdea,_0x1a175c){return _0x2b82c9(_0x57bdea,_0x1a175c);},'StxkA':function(_0x4214de,_0x280d40,_0x213f60){return _0x4214de(_0x280d40,_0x213f60);}},{user:_0x294792}=useAuth(),[_0x3d1489,_0x2bfbaf]=useState([]),[_0x432051,_0xb3104d]=_0x30f05a[_0x3e3e(0xc)](useState,!![]),[_0x56a7d7,_0x4eb685]=useState(null),_0x6dff12=_0x30f05a['LdPVU'](useCallback,async()=>{const _0x36c222={'ItLaD':_0x30f05a[_0x3e3e(0xd)],'NESGa':function(_0x3b20fe,_0x2ee754){return _0x30f05a[_0x3e3e(0xc)](_0x3b20fe,_0x2ee754);}};if(_0x30f05a['RRLXu'](_0x30f05a['mQnse'],_0x30f05a[_0x3e3e(0xe)])){if(!_0x294792){if(_0x30f05a[_0x3e3e(0xf)](_0x30f05a[_0x3e3e(0x10)],_0x30f05a[_0x3e3e(0x11)])){_0x1861b9[_0x3e3e(0x12)](_0x36c222[_0x3e3e(0x13)]),_0x36c222[_0x3e3e(0x14)](_0x49267c,![]);return;}else{console['log'](_0x30f05a[_0x3e3e(0xd)]),_0x30f05a[_0x3e3e(0x15)](_0xb3104d,![]);return;}}try{_0x30f05a['ZHcQP'](_0xb3104d,!![]),_0x30f05a[_0x3e3e(0x16)](_0x4eb685,null),console[_0x3e3e(0x12)](_0x30f05a[_0x3e3e(0x17)]),console[_0x3e3e(0x12)](_0x3e3e(0x18),{'email':_0x294792['email'],'id':_0x294792['id'],'name':_0x294792[_0x3e3e(0x19)]});const _0x3b7d2a=await _0x30f05a[_0x3e3e(0x1a)](getConnectedAccountsSmart,_0x294792[_0x3e3e(0x1b)],_0x294792['id'],_0x294792[_0x3e3e(0x19)]);console[_0x3e3e(0x12)]('✅\x20[HOOK]\x20Connected\x20accounts\x20loaded\x20via\x20smart\x20API:\x20'+_0x3b7d2a['length']+_0x3e3e(0x1c)),_0x30f05a[_0x3e3e(0xc)](_0x2bfbaf,_0x3b7d2a);}catch(_0x3db407){console['error'](_0x30f05a[_0x3e3e(0x1d)],_0x3db407),_0x30f05a[_0x3e3e(0x16)](_0x4eb685,_0x30f05a[_0x3e3e(0x1e)]);}finally{_0x30f05a[_0x3e3e(0xc)](_0xb3104d,![]);}}else return _0x593b2c[_0x3e3e(0x1f)](_0x534301=>_0x534301[_0x3e3e(0x20)][_0x3e3e(0x21)]()===_0x126ee9[_0x3e3e(0x21)]()?_0x28f1ed:_0x534301);},[_0x294792]),_0x4b3280=_0x30f05a[_0x3e3e(0x22)](useCallback,async()=>{console['log'](_0x30f05a['BLHAF']),await _0x6dff12();},[_0x6dff12]),_0x2dc4f6=_0x30f05a[_0x3e3e(0x23)](useCallback,(_0x27fdc9,_0x5cf5ae)=>{const _0x4a9a74={'fMKku':_0x3e3e(0x24),'nTqUW':function(_0x4c0a67,_0x2e9bea){return _0x30f05a[_0x3e3e(0x25)](_0x4c0a67,_0x2e9bea);},'AfDeI':_0x30f05a[_0x3e3e(0x26)]},_0x2c2613=_0x3e3e(0x27)+_0x27fdc9['toLowerCase']()+_0x3e3e(0x28)+_0x5cf5ae,_0x24630e={'platform':_0x27fdc9,'username':_0x5cf5ae,'url':_0x2c2613};_0x2bfbaf(_0x50f01b=>{const _0x19354f={'fgMEc':function(_0x262b5b,_0xe50123){return _0x262b5b(_0xe50123);}},_0x10291d=_0x50f01b[_0x3e3e(0x29)](_0xeb37de=>_0xeb37de[_0x3e3e(0x20)][_0x3e3e(0x21)]()===_0x27fdc9[_0x3e3e(0x21)]());if(_0x10291d){if('dUPYq'!==_0x4a9a74['fMKku'])return _0x50f01b['map'](_0x40eead=>_0x40eead[_0x3e3e(0x20)]['toLowerCase']()===_0x27fdc9[_0x3e3e(0x21)]()?_0x24630e:_0x40eead);else{const _0x5dcf31=_0x3e3e(0x27)+_0x35fb00[_0x3e3e(0x21)]()+'.com/'+_0x49a4f9,_0x550b3e={'platform':_0x3c383d,'username':_0x2b33f6,'url':_0x5dcf31};_0x19354f['fgMEc'](_0x2c64b5,_0x37d22d=>{const _0x3c11a5=_0x37d22d['some'](_0x3a94cc=>_0x3a94cc[_0x3e3e(0x20)][_0x3e3e(0x21)]()===_0x5669ed[_0x3e3e(0x21)]());return _0x3c11a5?_0x37d22d[_0x3e3e(0x1f)](_0x42e3c8=>_0x42e3c8[_0x3e3e(0x20)][_0x3e3e(0x21)]()===_0x414fa9[_0x3e3e(0x21)]()?_0x550b3e:_0x42e3c8):[..._0x37d22d,_0x550b3e];}),_0x317f29['log'](_0x3e3e(0x2a),_0x550b3e);}}else return _0x4a9a74['nTqUW'](_0x4a9a74[_0x3e3e(0x2b)],_0x4a9a74[_0x3e3e(0x2b)])?[..._0x50f01b,_0x24630e]:[..._0x141fea,_0x20d505];}),console[_0x3e3e(0x12)](_0x3e3e(0x2a),_0x24630e);},[]),_0x20a76a=_0x30f05a[_0x3e3e(0x2c)](useCallback,_0x39f473=>{const _0x125da8={'hRGlr':function(_0x249468,_0x8f3582){return _0x30f05a[_0x3e3e(0x2d)](_0x249468,_0x8f3582);}};_0x30f05a[_0x3e3e(0x2e)]===_0x30f05a[_0x3e3e(0x2f)]?_0x125da8[_0x3e3e(0x30)](_0x32abb4,![]):(_0x30f05a[_0x3e3e(0x31)](_0x2bfbaf,_0x5306da=>_0x5306da[_0x3e3e(0x32)](_0x97730d=>_0x97730d[_0x3e3e(0x20)][_0x3e3e(0x21)]()!==_0x39f473[_0x3e3e(0x21)]())),console[_0x3e3e(0x12)]('✅\x20[HOOK]\x20Account\x20removed\x20locally:',_0x39f473));},[]);return useEffect(()=>{_0x30f05a[_0x3e3e(0x33)]===_0x30f05a[_0x3e3e(0x34)]?(_0x30f05a[_0x3e3e(0x35)](_0x3098dd,_0x452c88=>_0x452c88['filter'](_0x1654f3=>_0x1654f3['platform'][_0x3e3e(0x21)]()!==_0x3f7b77[_0x3e3e(0x21)]())),_0x5cdfbc['log'](_0x30f05a[_0x3e3e(0x36)],_0x545861)):_0x6dff12();},[_0x6dff12]),{'connectedAccounts':_0x3d1489,'isLoading':_0x432051,'error':_0x56a7d7,'refreshAccounts':_0x4b3280,'addAccount':_0x2dc4f6,'removeAccount':_0x20a76a};};
@@ -1 +1 @@
1
- import{useState,useCallback}from'react';import{initiateNativeAuth}from'../services/platformAuthService';function _0x3095(_0x19c678,_0x309518){_0x19c678=_0x19c678-0x0;const _0x4d062a=_0x19c6();let _0x176632=_0x4d062a[_0x19c678];return _0x176632;}export const useConnections=()=>{const _0x2c47c9={'pjvNd':function(_0x432e8c,_0x4ef18c){return _0x432e8c(_0x4ef18c);},'Yycfk':_0x3095(0x0),'FFyhx':function(_0x26e1f8,_0x191d90){return _0x26e1f8!==_0x191d90;},'KQmQN':_0x3095(0x1),'dfvyM':function(_0x55fd31,_0xa7afaa,_0x3ec882){return _0x55fd31(_0xa7afaa,_0x3ec882);},'XnFRB':_0x3095(0x2),'aONDY':function(_0xcba29,_0xd35e96){return _0xcba29(_0xd35e96);},'pkOvQ':function(_0x333bb6,_0x48b45d){return _0x333bb6!==_0x48b45d;},'FcUpU':_0x3095(0x3),'KbGbs':function(_0x168de5,_0x4b55f9,_0x1b869d){return _0x168de5(_0x4b55f9,_0x1b869d);}},[_0x74cf41,_0x2e2d0e]=_0x2c47c9[_0x3095(0x4)](useState,{}),[_0x145ed8,_0x10cfe2]=_0x2c47c9[_0x3095(0x4)](useState,![]),_0x4ba1d0=useCallback(async(_0x269ced,_0x2eff52)=>{try{_0x10cfe2(!![]);const useNativeSDK=_0x269ced==='youtube'||_0x269ced===_0x3095(0x5);let _0x2e64f3=![];if(useNativeSDK){if(_0x2c47c9[_0x3095(0x6)]('cpIFa',_0x2c47c9['KQmQN']))return _0x2c47c9[_0x3095(0x7)](_0x16d13a,_0x132280=>{const _0xaccdaa={..._0x132280};return delete _0xaccdaa[_0x5a9d82],_0xaccdaa;}),_0x19b325[_0x3095(0x8)]('✅\x20Platform\x20'+_0x4c02ac+_0x3095(0x9)),_0x1240f6[_0x3095(0x8)](_0x2c47c9[_0x3095(0xa)]),!![];else _0x2e64f3=await _0x2c47c9[_0x3095(0xb)](initiateNativeAuth,_0x269ced,_0x2eff52);}else await new Promise(_0x1b82dc=>setTimeout(()=>_0x1b82dc(undefined),0x3e8)),_0x2e64f3=!![];if(_0x2e64f3)return _0x2c47c9[_0x3095(0xc)]!==_0x2c47c9['XnFRB']?(_0x1224f3[_0x3095(0xd)](_0x3095(0xe)+_0x348f03+':',_0x2c2c02),![]):(_0x2c47c9[_0x3095(0x4)](_0x2e2d0e,_0x125a4f=>({..._0x125a4f,[_0x269ced]:{'userName':_0x2eff52,'connected':!![]}})),console[_0x3095(0x8)](_0x3095(0xf)+_0x269ced+'\x20connected\x20locally'),console[_0x3095(0x8)](_0x2c47c9[_0x3095(0xa)]),!![]);return![];}catch(_0x29b30c){return console[_0x3095(0xd)]('Error\x20connecting\x20platform\x20'+_0x269ced+':',_0x29b30c),![];}finally{_0x10cfe2(![]);}},[]),_0x23f846=_0x2c47c9[_0x3095(0x10)](useCallback,async(_0x49b739,_0x569e0f)=>{if(_0x2c47c9[_0x3095(0x11)](_0x3095(0x12),_0x2c47c9['FcUpU']))try{return _0x2c47c9[_0x3095(0x4)](_0x2e2d0e,_0x41e5e6=>{const _0x4b1501={..._0x41e5e6};return delete _0x4b1501[_0x49b739],_0x4b1501;}),console[_0x3095(0x8)](_0x3095(0xf)+_0x49b739+_0x3095(0x9)),console[_0x3095(0x8)](_0x2c47c9['Yycfk']),!![];}catch(_0x456d70){return console[_0x3095(0xd)]('Error\x20disconnecting\x20platform\x20'+_0x49b739+':',_0x456d70),![];}else return _0x3ad971[_0x3095(0xd)](_0x3095(0x13)+_0x11c512+':',_0x30f90c),![];},[]),_0x1f7f84=_0x2c47c9[_0x3095(0x10)](useCallback,async()=>{return _0x74cf41;},[_0x74cf41]);return{'connections':_0x74cf41,'connectPlatform':_0x4ba1d0,'disconnectPlatform':_0x23f846,'getConnectionStatus':_0x1f7f84,'isConnecting':_0x145ed8};};function _0x19c6(){const _0x5bed9e=['ℹ️\x20NOTE:\x20Backend\x20sync\x20removed\x20from\x20SDK\x20-\x20app\x20should\x20call\x20/enoch/users/update\x20if\x20needed','cpIFa','FHNoF','bTsQx','aONDY','instagram','FFyhx','pjvNd','log','\x20disconnected\x20locally','Yycfk','dfvyM','XnFRB','error','Error\x20connecting\x20platform\x20','✅\x20Platform\x20','KbGbs','pkOvQ','fMmfH','Error\x20disconnecting\x20platform\x20'];_0x19c6=function(){return _0x5bed9e;};return _0x19c6();}
1
+ function _0x1036(_0x4f17c4,_0x1036c8){_0x4f17c4=_0x4f17c4-0x0;const _0x492235=_0x4f17();let _0x56ab54=_0x492235[_0x4f17c4];return _0x56ab54;}import{useState,useCallback}from'react';function _0x4f17(){const _0x341f99=['instagram','JmAri','ℹ️\x20NOTE:\x20Backend\x20sync\x20removed\x20from\x20SDK\x20-\x20app\x20should\x20call\x20/enoch/users/update\x20if\x20needed','KNCQq','SHqpr','QOWwN','lQumB','UlhOa','aJiRl','youtube','aDVtm','aTOPS','LYKCL','uJICI','vCqIH','DitDo','log','✅\x20Platform\x20','\x20connected\x20locally','ADICj','BOrjh','aGfIF','hpxml','Error\x20connecting\x20platform\x20','error','PtfEr','Error\x20disconnecting\x20platform\x20','szjGz','fhCBY','\x20disconnected\x20locally','zABkD','WTJHz','VHPNj','wAbXi'];_0x4f17=function(){return _0x341f99;};return _0x4f17();}import{initiateNativeAuth}from'../services/platformAuthService';export const useConnections=()=>{const _0x51cdaf={'lQumB':function(_0x408cc8,_0xf3e3c){return _0x408cc8(_0xf3e3c);},'UolSv':function(_0x52ddca,_0x546108){return _0x52ddca(_0x546108);},'aJiRl':function(_0x7eab1a,_0x28647c){return _0x7eab1a===_0x28647c;},'aDVtm':_0x1036(0x0),'aTOPS':function(_0x649bfb,_0x58a056,_0x254bf4){return _0x649bfb(_0x58a056,_0x254bf4);},'LYKCL':function(_0x22b8bb,_0x53b5b0){return _0x22b8bb!==_0x53b5b0;},'uJICI':'ueExZ','vCqIH':_0x1036(0x1),'DitDo':function(_0x393283,_0x15585d){return _0x393283(_0x15585d);},'ADICj':_0x1036(0x2),'WTJHz':function(_0x478538,_0x1b25c9){return _0x478538!==_0x1b25c9;},'hpxml':_0x1036(0x3),'oHbwZ':_0x1036(0x4),'PtfEr':function(_0x2e05e8,_0x11b16b){return _0x2e05e8(_0x11b16b);},'VHPNj':_0x1036(0x5),'szjGz':'fhCBY','zABkD':function(_0x596e8e,_0x5bf878){return _0x596e8e(_0x5bf878);},'wAbXi':'fRpcQ','UlhOa':function(_0x5d5b7f,_0x1c5aa7){return _0x5d5b7f(_0x1c5aa7);}},[_0x4e3082,_0x1428bf]=_0x51cdaf[_0x1036(0x6)](useState,{}),[_0x1bbada,_0x27673d]=_0x51cdaf[_0x1036(0x7)](useState,![]),_0x33618d=useCallback(async(_0x4c2426,_0x428ba8)=>{const _0x2999af={'BOrjh':function(_0x230c3b,_0x4ec7e3){return _0x51cdaf['lQumB'](_0x230c3b,_0x4ec7e3);}};try{_0x51cdaf['UolSv'](_0x27673d,!![]);const useNativeSDK=_0x51cdaf[_0x1036(0x8)](_0x4c2426,_0x1036(0x9))||_0x51cdaf[_0x1036(0x8)](_0x4c2426,_0x51cdaf[_0x1036(0xa)]);let _0x1446f3=![];useNativeSDK?_0x1446f3=await _0x51cdaf[_0x1036(0xb)](initiateNativeAuth,_0x4c2426,_0x428ba8):(await new Promise(_0x3dc168=>setTimeout(()=>_0x3dc168(undefined),0x3e8)),_0x1446f3=!![]);if(_0x1446f3)return _0x51cdaf[_0x1036(0xc)](_0x51cdaf[_0x1036(0xd)],_0x51cdaf[_0x1036(0xe)])?(_0x51cdaf[_0x1036(0xf)](_0x1428bf,_0x3cc764=>({..._0x3cc764,[_0x4c2426]:{'userName':_0x428ba8,'connected':!![]}})),console[_0x1036(0x10)](_0x1036(0x11)+_0x4c2426+_0x1036(0x12)),console[_0x1036(0x10)](_0x51cdaf[_0x1036(0x13)]),!![]):(_0x2999af[_0x1036(0x14)](_0x472a63,_0x44f5ba=>({..._0x44f5ba,[_0x5069b6]:{'userName':_0x9c4eb9,'connected':!![]}})),_0x200e38['log'](_0x1036(0x11)+_0x29813c+_0x1036(0x12)),_0x48fe0b[_0x1036(0x10)](_0x1036(0x2)),!![]);return![];}catch(_0x503f29){return _0x51cdaf['WTJHz'](_0x1036(0x15),_0x51cdaf[_0x1036(0x16)])?(console['error'](_0x1036(0x17)+_0x4c2426+':',_0x503f29),![]):(_0x8bbfcf[_0x1036(0x18)](_0x1036(0x17)+_0x583e09+':',_0x3e0b06),![]);}finally{if(_0x51cdaf[_0x1036(0x8)]('SHqpr',_0x51cdaf['oHbwZ']))_0x51cdaf[_0x1036(0x19)](_0x27673d,![]);else return _0xcd0f8e[_0x1036(0x18)](_0x1036(0x1a)+_0x72d36d+':',_0x155bbf),![];}},[]),_0x3d2184=_0x51cdaf[_0x1036(0xb)](useCallback,async(_0x19ed9e,_0x41d230)=>{try{return _0x51cdaf[_0x1036(0x1b)]!==_0x1036(0x1c)?(_0x51cdaf['DitDo'](_0x11ef85,_0x59824d=>{const _0x3d1d2c={..._0x59824d};return delete _0x3d1d2c[_0x174c0],_0x3d1d2c;}),_0x4b35a1[_0x1036(0x10)]('✅\x20Platform\x20'+_0x45729c+_0x1036(0x1d)),_0x17f847[_0x1036(0x10)](_0x51cdaf[_0x1036(0x13)]),!![]):(_0x51cdaf[_0x1036(0x1e)](_0x1428bf,_0x4549e4=>{if(_0x51cdaf[_0x1036(0x1f)](_0x51cdaf[_0x1036(0x20)],_0x51cdaf[_0x1036(0x20)])){const _0x2b57c0={..._0x2aece4};return delete _0x2b57c0[_0x263c46],_0x2b57c0;}else{const _0x1f3d5e={..._0x4549e4};return delete _0x1f3d5e[_0x19ed9e],_0x1f3d5e;}}),console['log'](_0x1036(0x11)+_0x19ed9e+_0x1036(0x1d)),console[_0x1036(0x10)](_0x51cdaf[_0x1036(0x13)]),!![]);}catch(_0x3c0e07){return console[_0x1036(0x18)](_0x1036(0x1a)+_0x19ed9e+':',_0x3c0e07),![];}},[]),_0x4dd05b=_0x51cdaf[_0x1036(0xb)](useCallback,async()=>{const _0x238f67={'EoSvK':function(_0x3bed87,_0x5eb0cb){return _0x51cdaf[_0x1036(0x6)](_0x3bed87,_0x5eb0cb);}};if(_0x51cdaf[_0x1036(0x21)]!==_0x51cdaf[_0x1036(0x21)])_0x238f67['EoSvK'](_0x33d15a,![]);else return _0x4e3082;},[_0x4e3082]);return{'connections':_0x4e3082,'connectPlatform':_0x33618d,'disconnectPlatform':_0x3d2184,'getConnectionStatus':_0x4dd05b,'isConnecting':_0x1bbada};};
@@ -4,4 +4,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
4
4
  require('react-native-keychain')
5
5
  ];
6
6
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
7
- import{useCallback}from'react';import{STORAGE_KEYS}from'../constants';function _0x2fa6(_0x1f8d8e,_0x2fa636){_0x1f8d8e=_0x1f8d8e-0x0;const _0x272c81=_0x1f8d();let _0x38d1bb=_0x272c81[_0x1f8d8e];return _0x38d1bb;}function _0x1f8d(){const _0x42804c=['AdUGZ','CNuCa','function','PotFB','parse','password','Error\x20storing\x20credentials:','JRotc','dzeNV','ZqBRY','default','Keychain\x20access\x20failed,\x20using\x20mock\x20storage','CiRjO','ASQLD','GQkPY','NWuUG','xZlzi','getGenericPassword','error','SLzLU','QRfAD','warn','uBvqB','NPTsn','service','Error\x20validating\x20credentials:','rpyuR','setGenericPassword','PVPSl','GRHZw','WNoRN','fJZtY','DgWpi','gwdof','resetGenericPassword','sCfql','TTEht','lHYFn','BnKRX','EJvbC','Ncydo','ttDGI','NjmlT','PYUMy','OPilY','OyefI','BwLrI','GVdMW','dQTsS','ELFzh','lRyUF','XCrZz','Error\x20getting\x20credentials:','hMmgh','reJVK','akcqU','yVFyk','ZKLED','LEHKU','fRFAm','credentials','XfQcd','accessControl','ACCESS_CONTROL','hFAtW','BIOMETRY_ANY','accessible','RKlbr','fDMHp','EunQt','NUNgj','npaEA','ESgqq','BASE_URL','/validate','stringify','valid','qpPhs'];_0x1f8d=function(){return _0x42804c;};return _0x1f8d();}import{API_CONFIG}from'../config/api';const mockCredentialStorage={};let Keychain=null;try{Keychain=__ONAIROS_REQ_FUNC__(0x0);}catch(_0x3622ae){console['warn']('react-native-keychain module not available in useCredentials, using mock storage');}const isKeychainAvailable=()=>{const _0x51718f={'CNuCa':function(_0x5415a9,_0x2ef9e8){return _0x5415a9===_0x2ef9e8;},'Zkibe':_0x2fa6(0x0)};try{return Keychain&&_0x51718f[_0x2fa6(0x1)](typeof Keychain['getGenericPassword'],_0x2fa6(0x2));}catch(_0x139266){return _0x51718f['Zkibe']!==_0x2fa6(0x3)?![]:_0x5f3164[_0x2fa6(0x4)](_0x3c152f[_0x2fa6(0x5)]);}},safeGetGenericPassword=async _0x5770c7=>{const _0x166d4a={'SLzLU':_0x2fa6(0x6),'CiRjO':function(_0x202be2,_0x510045){return _0x202be2===_0x510045;},'QRfAD':'function','ASQLD':_0x2fa6(0x7),'pmJJS':function(_0x4ef0cb){return _0x4ef0cb();},'GQkPY':function(_0x56a882,_0x37fd88){return _0x56a882!==_0x37fd88;},'NWuUG':_0x2fa6(0x8),'xZlzi':_0x2fa6(0x9),'KTSxW':_0x2fa6(0xa),'uBvqB':_0x2fa6(0xb),'NPTsn':function(_0x1a1ee8,_0x196643){return _0x1a1ee8===_0x196643;}};try{if(_0x166d4a[_0x2fa6(0xc)](_0x166d4a['ASQLD'],_0x166d4a[_0x2fa6(0xd)])){if(_0x166d4a['pmJJS'](isKeychainAvailable))return _0x166d4a[_0x2fa6(0xe)](_0x166d4a[_0x2fa6(0xf)],_0x166d4a[_0x2fa6(0x10)])?await Keychain[_0x2fa6(0x11)](_0x5770c7):(_0x58521c[_0x2fa6(0x12)](_0x166d4a[_0x2fa6(0x13)],_0x3ed9de),![]);else{const _0x32473e=(_0x5770c7===null||_0x166d4a[_0x2fa6(0xc)](_0x5770c7,void 0x0)?void 0x0:_0x5770c7['service'])||_0x166d4a['KTSxW'];return mockCredentialStorage[_0x32473e]||null;}}else return Keychain&&_0x166d4a[_0x2fa6(0xc)](typeof Keychain['getGenericPassword'],_0x166d4a[_0x2fa6(0x14)]);}catch(_0x4d3577){console[_0x2fa6(0x15)](_0x166d4a[_0x2fa6(0x16)],_0x4d3577);const _0xb0fd78=(_0x166d4a[_0x2fa6(0x17)](_0x5770c7,null)||_0x166d4a[_0x2fa6(0xc)](_0x5770c7,void 0x0)?void 0x0:_0x5770c7[_0x2fa6(0x18)])||_0x166d4a['KTSxW'];return mockCredentialStorage[_0xb0fd78]||null;}},safeSetGenericPassword=async(_0x375ad2,_0x4002bd,_0x4cbf3c)=>{const _0xb0f253={'DgWpi':_0x2fa6(0x19),'rpyuR':function(_0x305b7b){return _0x305b7b();},'PVPSl':function(_0xfa746b,_0x64f227){return _0xfa746b===_0x64f227;},'NkiSA':function(_0x131dfe,_0x536e96){return _0x131dfe===_0x536e96;},'GRHZw':'default','WNoRN':function(_0x2341eb,_0x34df5d){return _0x2341eb!==_0x34df5d;},'KklRy':_0x2fa6(0xb),'gwdof':function(_0x1103dd,_0x217dbf){return _0x1103dd===_0x217dbf;}};try{if(_0xb0f253[_0x2fa6(0x1a)](isKeychainAvailable))return await Keychain[_0x2fa6(0x1b)](_0x375ad2,_0x4002bd,_0x4cbf3c);else{const _0x408553=(_0xb0f253[_0x2fa6(0x1c)](_0x4cbf3c,null)||_0xb0f253['NkiSA'](_0x4cbf3c,void 0x0)?void 0x0:_0x4cbf3c[_0x2fa6(0x18)])||_0xb0f253[_0x2fa6(0x1d)];return mockCredentialStorage[_0x408553]={'username':_0x375ad2,'password':_0x4002bd},!![];}}catch(_0x332092){if(_0xb0f253[_0x2fa6(0x1e)](_0x2fa6(0x1f),_0x2fa6(0x1f)))return _0x2f3ef8[_0x2fa6(0x12)](_0xb0f253[_0x2fa6(0x20)],_0xaedf56),{'success':![],'isValid':![]};else{console[_0x2fa6(0x15)](_0xb0f253['KklRy'],_0x332092);const _0x430fce=(_0xb0f253[_0x2fa6(0x21)](_0x4cbf3c,null)||_0x4cbf3c===void 0x0?void 0x0:_0x4cbf3c[_0x2fa6(0x18)])||_0xb0f253[_0x2fa6(0x1d)];return mockCredentialStorage[_0x430fce]={'username':_0x375ad2,'password':_0x4002bd},!![];}}},safeResetGenericPassword=async _0x18b3f4=>{const _0x19fa46={'lHYFn':function(_0x530fe0,_0x35d060){return _0x530fe0===_0x35d060;},'BnKRX':_0x2fa6(0x2),'sCfql':'BVNhX','EJvbC':function(_0x1c7efe,_0x47c8ec){return _0x1c7efe===_0x47c8ec;},'Ncydo':_0x2fa6(0xa),'ttDGI':_0x2fa6(0xb)};try{if(isKeychainAvailable())return await Keychain[_0x2fa6(0x22)](_0x18b3f4);else{if(_0x19fa46['lHYFn'](_0x19fa46[_0x2fa6(0x23)],_0x2fa6(0x24)))try{return Keychain&&_0x19fa46[_0x2fa6(0x25)](typeof Keychain[_0x2fa6(0x11)],_0x19fa46[_0x2fa6(0x26)]);}catch(_0x1fba6c){return![];}else{const _0x2ddba3=(_0x19fa46[_0x2fa6(0x25)](_0x18b3f4,null)||_0x19fa46[_0x2fa6(0x27)](_0x18b3f4,void 0x0)?void 0x0:_0x18b3f4[_0x2fa6(0x18)])||_0x19fa46[_0x2fa6(0x28)];return delete mockCredentialStorage[_0x2ddba3],!![];}}}catch(_0x19fab1){console[_0x2fa6(0x15)](_0x19fa46[_0x2fa6(0x29)],_0x19fab1);const _0x405b98=(_0x19fa46[_0x2fa6(0x27)](_0x18b3f4,null)||_0x18b3f4===void 0x0?void 0x0:_0x18b3f4[_0x2fa6(0x18)])||'default';return delete mockCredentialStorage[_0x405b98],!![];}};export const useCredentials=()=>{const _0x5181b5={'ELFzh':function(_0x29c623,_0x3b52ed){return _0x29c623(_0x3b52ed);},'XKAEP':'mQgZZ','dQTsS':_0x2fa6(0x2a),'lRyUF':'Error\x20checking\x20credentials:','reJVK':function(_0x48b6ad,_0x56f9a7){return _0x48b6ad===_0x56f9a7;},'XCrZz':_0x2fa6(0x2b),'JtPlG':'SRhuU','EunQt':'Error\x20clearing\x20credentials:','WXnWd':_0x2fa6(0xa),'akcqU':_0x2fa6(0x2c),'yVFyk':_0x2fa6(0x2d),'LEHKU':function(_0x488221,_0x2e1f94){return _0x488221!==_0x2e1f94;},'fRFAm':_0x2fa6(0x2e),'XfQcd':function(_0x9c871d){return _0x9c871d();},'hFAtW':function(_0x42ac10,_0x290d54){return _0x42ac10===_0x290d54;},'RKlbr':function(_0x446351,_0xf214f1,_0xfd292d,_0x321bb5){return _0x446351(_0xf214f1,_0xfd292d,_0x321bb5);},'fDMHp':_0x2fa6(0x6),'NUNgj':function(_0xb22d4b,_0x3ea4c6){return _0xb22d4b===_0x3ea4c6;},'npaEA':_0x2fa6(0x2f),'hMmgh':function(_0x260c6c,_0x15f212,_0x5338c2){return _0x260c6c(_0x15f212,_0x5338c2);},'qpPhs':'Error\x20validating\x20credentials:','sEAmw':function(_0x465706,_0x40b3da,_0x159c3c){return _0x465706(_0x40b3da,_0x159c3c);}},_0x627bf3=_0x5181b5['hMmgh'](useCallback,async()=>{if(_0x5181b5['XKAEP']===_0x5181b5[_0x2fa6(0x30)])Keychain=_0x5181b5['ELFzh'](_0x573a2d,0x0);else try{const _0x4d3f8d=await _0x5181b5[_0x2fa6(0x31)](safeGetGenericPassword,{'service':STORAGE_KEYS['credentials']});return!!_0x4d3f8d;}catch(_0x451117){return console[_0x2fa6(0x12)](_0x5181b5[_0x2fa6(0x32)],_0x451117),![];}},[]),_0x27fc93=_0x5181b5['hMmgh'](useCallback,async()=>{try{if(_0x5181b5['reJVK'](_0x5181b5[_0x2fa6(0x33)],_0x5181b5['JtPlG']))return![];else{const _0x13058c=await _0x5181b5[_0x2fa6(0x31)](safeGetGenericPassword,{'service':STORAGE_KEYS['credentials']});if(_0x13058c)return JSON[_0x2fa6(0x4)](_0x13058c[_0x2fa6(0x5)]);return null;}}catch(_0x38b83c){return console[_0x2fa6(0x12)](_0x2fa6(0x34),_0x38b83c),null;}},[]),_0x4f77b7=_0x5181b5[_0x2fa6(0x35)](useCallback,async(_0x3b5f22,_0x24d0e6,_0x536ec8)=>{const _0x1c42f0={'ZKLED':_0x5181b5['WXnWd']};if(_0x5181b5[_0x2fa6(0x36)](_0x5181b5[_0x2fa6(0x37)],_0x5181b5[_0x2fa6(0x38)])){_0x3f237a[_0x2fa6(0x15)]('Keychain\x20access\x20failed,\x20using\x20mock\x20storage',_0x5a1999);const _0x5457c5=(_0x132a1c===null||_0x1472bd===void 0x0?void 0x0:_0xb81f28[_0x2fa6(0x18)])||_0x1c42f0[_0x2fa6(0x39)];return delete _0x50365e[_0x5457c5],!![];}else try{if(_0x5181b5[_0x2fa6(0x3a)](_0x5181b5[_0x2fa6(0x3b)],_0x5181b5[_0x2fa6(0x3b)]))_0x4c169c[_0x2fa6(0x12)](_0x5181b5['EunQt'],_0x4a386b);else{const _0x3372da={'service':STORAGE_KEYS[_0x2fa6(0x3c)]};if(_0x5181b5[_0x2fa6(0x3d)](isKeychainAvailable)){var _0xb053d3,_0x13157f;_0x3372da[_0x2fa6(0x3e)]=(_0xb053d3=Keychain[_0x2fa6(0x3f)])===null||_0x5181b5[_0x2fa6(0x40)](_0xb053d3,void 0x0)?void 0x0:_0xb053d3[_0x2fa6(0x41)],_0x3372da[_0x2fa6(0x42)]=(_0x13157f=Keychain['ACCESSIBLE'])===null||_0x5181b5[_0x2fa6(0x36)](_0x13157f,void 0x0)?void 0x0:_0x13157f['WHEN_UNLOCKED'];}return await _0x5181b5[_0x2fa6(0x43)](safeSetGenericPassword,_0x3b5f22,JSON['stringify']({'userPin':_0x24d0e6,'accessToken':_0x536ec8}),_0x3372da),!![];}}catch(_0x31c765){return console[_0x2fa6(0x12)](_0x5181b5[_0x2fa6(0x44)],_0x31c765),![];}},[]),_0x319281=_0x5181b5[_0x2fa6(0x35)](useCallback,async()=>{try{await safeResetGenericPassword({'service':STORAGE_KEYS[_0x2fa6(0x3c)]});}catch(_0x157442){console[_0x2fa6(0x12)](_0x5181b5[_0x2fa6(0x45)],_0x157442);}},[]),_0x556be3=_0x5181b5['sEAmw'](useCallback,async _0x1be3c3=>{try{if(_0x5181b5[_0x2fa6(0x46)](_0x5181b5[_0x2fa6(0x47)],_0x2fa6(0x48)))_0x232f64['warn']('react-native-keychain module not available in useCredentials, using mock storage');else{const _0x3a0a2c=await _0x5181b5[_0x2fa6(0x35)](fetch,API_CONFIG[_0x2fa6(0x49)]+_0x2fa6(0x4a),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x2fa6(0x4b)]({'username':_0x1be3c3})}),_0x7677b1=await _0x3a0a2c['json']();return{'success':!![],'isValid':_0x7677b1[_0x2fa6(0x4c)],'credentials':_0x7677b1[_0x2fa6(0x3c)]};}}catch(_0x1e03c6){return console[_0x2fa6(0x12)](_0x5181b5[_0x2fa6(0x4d)],_0x1e03c6),{'success':![],'isValid':![]};}},[]);return{'hasCredentials':_0x627bf3,'getCredentials':_0x27fc93,'storeCredentials':_0x4f77b7,'clearCredentials':_0x319281,'validateCredentials':_0x556be3};};
7
+ import{useCallback}from'react';import{STORAGE_KEYS}from'../constants';function _0x1fe3(_0xa88e9b,_0x1fe31f){_0xa88e9b=_0xa88e9b-0x0;const _0x54330b=_0xa88e();let _0x156a11=_0x54330b[_0xa88e9b];return _0x156a11;}import{API_CONFIG}from'../config/api';const mockCredentialStorage={};function _0xa88e(){const _0x261dd8=['warn','Keychain\x20access\x20failed,\x20using\x20mock\x20storage','default','mvxIj','function','YbZoL','ZUZpK','gKWAE','aKzJd','kmbYh','bfRTI','TVDSC','VFTpq','error','WRtJe','uRciR','service','GvWXB','abznD','GUSrN','ekZaT','ZivEv','BkUcT','PkIeO','DKlGe','setGenericPassword','HaIAs','RvGtS','JIGWi','getGenericPassword','RsYWC','MjYlJ','QUAoG','resetGenericPassword','cxPKM','LkEPZ','Error\x20checking\x20credentials:','siIXJ','fkjIW','WPfkf','DhnyD','Error\x20clearing\x20credentials:','SDrqc','TzWKb','mLLfo','jhJOA','ewcEo','TKZhk','wCWKO','GYpCY','ixDxZ','LgrqB','credentials','parse','password','Error\x20getting\x20credentials:','tTKzv','accessControl','BIOMETRY_ANY','ACCESSIBLE','WHEN_UNLOCKED','asBjD','stringify','toVXq','qUurH','PiODv','OqpdB','xGXAH','yiAsP','nOXDn','valid','Error\x20validating\x20credentials:'];_0xa88e=function(){return _0x261dd8;};return _0xa88e();}let Keychain=null;try{Keychain=__ONAIROS_REQ_FUNC__(0x0);}catch(_0x271248){console[_0x1fe3(0x0)]('react-native-keychain module not available in useCredentials, using mock storage');}const isKeychainAvailable=()=>{const _0x189004={'kheDz':_0x1fe3(0x1),'aKzJd':function(_0x3c1c6a,_0x2aaa7c){return _0x3c1c6a===_0x2aaa7c;},'BxbSB':_0x1fe3(0x2),'YbZoL':function(_0x1d0909,_0x5fbe7a){return _0x1d0909===_0x5fbe7a;},'ZUZpK':_0x1fe3(0x3),'gKWAE':_0x1fe3(0x4)};try{if(_0x189004[_0x1fe3(0x5)](_0x189004['ZUZpK'],_0x189004[_0x1fe3(0x6)]))return Keychain&&typeof Keychain['getGenericPassword']===_0x189004[_0x1fe3(0x7)];else{_0x1b0451[_0x1fe3(0x0)](_0x189004['kheDz'],_0x220c64);const _0x22e5f8=(_0x189004[_0x1fe3(0x8)](_0x3f5024,null)||_0x189004[_0x1fe3(0x8)](_0x46834e,void 0x0)?void 0x0:_0x50390a['service'])||_0x189004['BxbSB'];return _0x53c6b5[_0x22e5f8]={'username':_0x49f988,'password':_0x2c2033},!![];}}catch(_0x390dc8){return![];}},safeGetGenericPassword=async _0x26951a=>{const _0x52adac={'bfRTI':function(_0x1523c1){return _0x1523c1();},'WRtJe':function(_0x2eca03,_0x169d13){return _0x2eca03===_0x169d13;},'TVDSC':_0x1fe3(0x9),'VFTpq':'zzBjn','uRciR':function(_0x471ca4,_0x223ae7){return _0x471ca4===_0x223ae7;},'GvWXB':_0x1fe3(0x2),'abznD':'Keychain\x20access\x20failed,\x20using\x20mock\x20storage'};try{if(_0x52adac[_0x1fe3(0xa)](isKeychainAvailable))return _0x52adac['WRtJe'](_0x52adac[_0x1fe3(0xb)],_0x52adac[_0x1fe3(0xc)])?(_0x13e97f[_0x1fe3(0xd)]('Error\x20storing\x20credentials:',_0xcc312e),![]):await Keychain['getGenericPassword'](_0x26951a);else{const _0x30d707=(_0x52adac[_0x1fe3(0xe)](_0x26951a,null)||_0x52adac[_0x1fe3(0xf)](_0x26951a,void 0x0)?void 0x0:_0x26951a[_0x1fe3(0x10)])||_0x52adac[_0x1fe3(0x11)];return mockCredentialStorage[_0x30d707]||null;}}catch(_0x5a63cb){console[_0x1fe3(0x0)](_0x52adac[_0x1fe3(0x12)],_0x5a63cb);const _0x359e91=(_0x26951a===null||_0x26951a===void 0x0?void 0x0:_0x26951a[_0x1fe3(0x10)])||_0x52adac[_0x1fe3(0x11)];return mockCredentialStorage[_0x359e91]||null;}},safeSetGenericPassword=async(_0x140b2d,_0x2bb0ac,_0x3d5d93)=>{const _0x3b0305={'PkIeO':function(_0x26749a,_0x5e5eab){return _0x26749a===_0x5e5eab;},'JIGWi':function(_0xdf11da,_0x2b0c65){return _0xdf11da===_0x2b0c65;},'ZRVwd':_0x1fe3(0x4),'ZivEv':_0x1fe3(0x13),'BkUcT':_0x1fe3(0x14),'DKlGe':function(_0x4d82cf){return _0x4d82cf();},'WmLjB':function(_0xa735fc,_0x4d0456){return _0xa735fc===_0x4d0456;},'HaIAs':_0x1fe3(0x2),'PtLAQ':function(_0x51adce,_0x13575d){return _0x51adce!==_0x13575d;},'RvGtS':'EcFSc','RsYWC':_0x1fe3(0x1),'MjYlJ':function(_0xe5bc20,_0x5d31a6){return _0xe5bc20===_0x5d31a6;}};try{if(_0x3b0305['PkIeO'](_0x3b0305[_0x1fe3(0x15)],_0x3b0305[_0x1fe3(0x16)])){const _0x2cdcc8=(_0x3b0305[_0x1fe3(0x17)](_0x5150bb,null)||_0x527a0a===void 0x0?void 0x0:_0x9abfd1['service'])||_0x1fe3(0x2);return _0x588cdb[_0x2cdcc8]={'username':_0x51fe28,'password':_0x57fd8d},!![];}else{if(_0x3b0305[_0x1fe3(0x18)](isKeychainAvailable))return await Keychain[_0x1fe3(0x19)](_0x140b2d,_0x2bb0ac,_0x3d5d93);else{const _0x38a9c0=(_0x3b0305[_0x1fe3(0x17)](_0x3d5d93,null)||_0x3b0305['WmLjB'](_0x3d5d93,void 0x0)?void 0x0:_0x3d5d93[_0x1fe3(0x10)])||_0x3b0305[_0x1fe3(0x1a)];return mockCredentialStorage[_0x38a9c0]={'username':_0x140b2d,'password':_0x2bb0ac},!![];}}}catch(_0x7282c1){if(_0x3b0305['PtLAQ'](_0x3b0305[_0x1fe3(0x1b)],_0x3b0305[_0x1fe3(0x1b)]))return Keychain&&_0x3b0305[_0x1fe3(0x1c)](typeof Keychain[_0x1fe3(0x1d)],_0x3b0305['ZRVwd']);else{console[_0x1fe3(0x0)](_0x3b0305[_0x1fe3(0x1e)],_0x7282c1);const _0x3d8024=(_0x3b0305[_0x1fe3(0x1f)](_0x3d5d93,null)||_0x3d5d93===void 0x0?void 0x0:_0x3d5d93[_0x1fe3(0x10)])||_0x3b0305['HaIAs'];return mockCredentialStorage[_0x3d8024]={'username':_0x140b2d,'password':_0x2bb0ac},!![];}}},safeResetGenericPassword=async _0x373180=>{const _0x17aa85={'QUAoG':function(_0x19cd40){return _0x19cd40();},'cxPKM':function(_0x1f7c3c,_0x48cbce){return _0x1f7c3c===_0x48cbce;},'bDllR':_0x1fe3(0x2),'AHjUF':'Keychain\x20access\x20failed,\x20using\x20mock\x20storage','LkEPZ':function(_0x509437,_0x125f43){return _0x509437===_0x125f43;}};try{if(_0x17aa85[_0x1fe3(0x20)](isKeychainAvailable))return await Keychain[_0x1fe3(0x21)](_0x373180);else{const _0x359198=(_0x17aa85['cxPKM'](_0x373180,null)||_0x17aa85[_0x1fe3(0x22)](_0x373180,void 0x0)?void 0x0:_0x373180['service'])||_0x17aa85['bDllR'];return delete mockCredentialStorage[_0x359198],!![];}}catch(_0x206083){console['warn'](_0x17aa85['AHjUF'],_0x206083);const _0x383134=(_0x17aa85[_0x1fe3(0x22)](_0x373180,null)||_0x17aa85[_0x1fe3(0x23)](_0x373180,void 0x0)?void 0x0:_0x373180[_0x1fe3(0x10)])||_0x1fe3(0x2);return delete mockCredentialStorage[_0x383134],!![];}};export const useCredentials=()=>{const _0x644a12={'SDrqc':_0x1fe3(0x24),'GchYz':function(_0x565284,_0x2998a1){return _0x565284===_0x2998a1;},'ByBfc':_0x1fe3(0x25),'TzWKb':function(_0x32d3ef,_0x3c7d3e){return _0x32d3ef===_0x3c7d3e;},'mLLfo':_0x1fe3(0x26),'jhJOA':function(_0x176903,_0x2f7a6d){return _0x176903(_0x2f7a6d);},'ixDxZ':'default','wCWKO':function(_0xb19717,_0x42edb){return _0xb19717!==_0x42edb;},'GYpCY':_0x1fe3(0x27),'LgrqB':_0x1fe3(0x28),'tTKzv':function(_0x2ecd55){return _0x2ecd55();},'HTvTS':function(_0x1fbe77,_0x577e6c){return _0x1fbe77===_0x577e6c;},'asBjD':function(_0x4dffe5,_0x3b8e11,_0xcb5d34,_0x47bf2d){return _0x4dffe5(_0x3b8e11,_0xcb5d34,_0x47bf2d);},'tqjYq':'Error\x20storing\x20credentials:','toVXq':_0x1fe3(0x4),'qUurH':function(_0x2ab903,_0x12e6e1){return _0x2ab903(_0x12e6e1);},'PiODv':function(_0x31226e,_0x35fc56){return _0x31226e===_0x35fc56;},'xGXAH':_0x1fe3(0x29),'TKZhk':function(_0x160943,_0x1ae617,_0x5af918){return _0x160943(_0x1ae617,_0x5af918);},'wnExO':function(_0x72a709,_0xf7f0aa,_0x548674){return _0x72a709(_0xf7f0aa,_0x548674);}},_0x2738dd=_0x644a12['TKZhk'](useCallback,async()=>{const _0x25fa2f={'ewcEo':_0x644a12[_0x1fe3(0x2a)]};if(_0x644a12['GchYz'](_0x1fe3(0x25),_0x644a12['ByBfc']))try{if(_0x644a12[_0x1fe3(0x2b)](_0x644a12[_0x1fe3(0x2c)],_0x644a12[_0x1fe3(0x2c)])){const _0x24d2c9=await _0x644a12[_0x1fe3(0x2d)](safeGetGenericPassword,{'service':STORAGE_KEYS['credentials']});return!!_0x24d2c9;}else Keychain=_0x1a5e3f(0x0);}catch(_0x1791e5){return console['error'](_0x644a12['SDrqc'],_0x1791e5),![];}else return _0x2c1079[_0x1fe3(0xd)](_0x25fa2f[_0x1fe3(0x2e)],_0x3dcd0d),![];},[]),_0x4be229=_0x644a12[_0x1fe3(0x2f)](useCallback,async()=>{if(_0x644a12[_0x1fe3(0x30)](_0x644a12['GYpCY'],_0x644a12[_0x1fe3(0x31)])){const _0x73f0e7=(_0x644a12[_0x1fe3(0x2b)](_0x4bdf37,null)||_0x644a12['TzWKb'](_0x79e23f,void 0x0)?void 0x0:_0x1171b6['service'])||_0x644a12[_0x1fe3(0x32)];return delete _0x5dc0bf[_0x73f0e7],!![];}else try{if(_0x644a12[_0x1fe3(0x2b)](_0x644a12[_0x1fe3(0x33)],_0x644a12[_0x1fe3(0x33)])){const _0x4b4cfe=await safeGetGenericPassword({'service':STORAGE_KEYS[_0x1fe3(0x34)]});if(_0x4b4cfe)return JSON[_0x1fe3(0x35)](_0x4b4cfe[_0x1fe3(0x36)]);return null;}else _0x26be7a['error'](_0x1fe3(0x29),_0x27d9e0);}catch(_0xa2d04d){return console['error'](_0x1fe3(0x37),_0xa2d04d),null;}},[]),_0x144571=_0x644a12[_0x1fe3(0x2f)](useCallback,async(_0x21a214,_0x22629e,_0x5f511a)=>{try{const _0x51ab94={'service':STORAGE_KEYS[_0x1fe3(0x34)]};if(_0x644a12[_0x1fe3(0x38)](isKeychainAvailable)){var _0x281c9c,_0x205915;_0x51ab94[_0x1fe3(0x39)]=_0x644a12['HTvTS'](_0x281c9c=Keychain['ACCESS_CONTROL'],null)||_0x644a12[_0x1fe3(0x2b)](_0x281c9c,void 0x0)?void 0x0:_0x281c9c[_0x1fe3(0x3a)],_0x51ab94['accessible']=_0x644a12[_0x1fe3(0x2b)](_0x205915=Keychain[_0x1fe3(0x3b)],null)||_0x644a12[_0x1fe3(0x2b)](_0x205915,void 0x0)?void 0x0:_0x205915[_0x1fe3(0x3c)];}return await _0x644a12[_0x1fe3(0x3d)](safeSetGenericPassword,_0x21a214,JSON[_0x1fe3(0x3e)]({'userPin':_0x22629e,'accessToken':_0x5f511a}),_0x51ab94),!![];}catch(_0x1aed86){return console['error'](_0x644a12['tqjYq'],_0x1aed86),![];}},[]),_0x29b562=_0x644a12['wnExO'](useCallback,async()=>{const _0x1fc745={'yiAsP':function(_0x444cff,_0x1c9a8d){return _0x444cff===_0x1c9a8d;},'nOXDn':_0x644a12[_0x1fe3(0x3f)]};try{await _0x644a12[_0x1fe3(0x40)](safeResetGenericPassword,{'service':STORAGE_KEYS['credentials']});}catch(_0x1cd96e){if(_0x644a12[_0x1fe3(0x41)](_0x1fe3(0x42),_0x1fe3(0x42)))console[_0x1fe3(0xd)](_0x644a12[_0x1fe3(0x43)],_0x1cd96e);else try{return Keychain&&_0x1fc745[_0x1fe3(0x44)](typeof Keychain[_0x1fe3(0x1d)],_0x1fc745[_0x1fe3(0x45)]);}catch(_0x434a31){return![];}}},[]),_0x494b84=_0x644a12[_0x1fe3(0x2f)](useCallback,async _0x2a61f4=>{try{const _0x4c218d=await fetch(API_CONFIG['BASE_URL']+'/validate',{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x1fe3(0x3e)]({'username':_0x2a61f4})}),_0xe0cb6a=await _0x4c218d['json']();return{'success':!![],'isValid':_0xe0cb6a[_0x1fe3(0x46)],'credentials':_0xe0cb6a[_0x1fe3(0x34)]};}catch(_0x4c9de0){return console[_0x1fe3(0xd)](_0x1fe3(0x47),_0x4c9de0),{'success':![],'isValid':![]};}},[]);return{'hasCredentials':_0x2738dd,'getCredentials':_0x4be229,'storeCredentials':_0x144571,'clearCredentials':_0x29b562,'validateCredentials':_0x494b84};};
@@ -1 +1 @@
1
- import{useState,useEffect,useCallback}from'react';import{getUserConnections,getUserConnectionsByUsername,getUserConnectionsByUserId,uploadProfilePicture}from'../services/userConnectionsService';import{getAuthToken}from'../services/authService';function _0x5ea9(_0x153d72,_0x5ea9b8){_0x153d72=_0x153d72-0x0;const _0x749e36=_0x153d();let _0x33cef9=_0x749e36[_0x153d72];return _0x33cef9;}import AsyncStorage from'@react-native-async-storage/async-storage';function _0x153d(){const _0x3b81de=['Failed\x20to\x20load\x20connections','❌\x20Error\x20loading\x20connections:','onairos_jwt_token','reviewer-bypass-token','⚠️\x20[CONNECTIONS\x20HOOK]\x20Skipping\x20API\x20call\x20to\x20prevent\x20unauthenticated\x20requests','Authentication\x20required\x20for\x20connections','WkwgP','🎯\x20[DEMO\x20MODE]\x20Reviewer\x20bypass\x20detected\x20-\x20skipping\x20API\x20call\x20for\x20demo','rdHTZ','🔑\x20[CONNECTIONS\x20HOOK]\x20Using\x20auth\x20token:','✅\x20Connections\x20loaded:','🔄\x20[CONNECTIONS\x20HOOK]\x20Refreshing\x20connections...','✅\x20[CONNECTIONS\x20HOOK]\x20Connections\x20refresh\x20completed','❌\x20Error\x20uploading\x20profile\x20picture:','⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20username\x20connections','🔍\x20Fetching\x20connections\x20by\x20username:','cVggN','qvaUY','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','zSNVr','📷\x20Uploading\x20profile\x20picture\x20for\x20user:','HIajV','CIyGx','OaZEn','LDGxZ','getItem','ESTUF','mraTi','split','warn','mXgVv','fJZAj','xZJxH','MtKDS','LcIOx','EgaZl','IETQq','error','❌\x20Error\x20fetching\x20connections\x20by\x20username:','WdoZS','iVgFB','FeAeo','umDgX','Authentication\x20error','log','qDoKo','substring','XkDzk','wTnXZ','length','zDTqs','SMfle','aiTXx','kOUwR','xlJKx','nPbPB','BqKek','...','JKbyS','PNjoV','⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections','SOFJs','appoE','zswFz','jpg','lDveH','HmuwI','mXNRf','HmUYq','CESEz','EJYTU','❌\x20[CONNECTIONS\x20HOOK]\x20Unexpected\x20null\x20token\x20after\x20validation','Egnaq'];_0x153d=function(){return _0x3b81de;};return _0x153d();}export const useUserConnections=()=>{const _0x4be62d={'iVgFB':function(_0x229652,_0x3ad795){return _0x229652 instanceof _0x3ad795;},'FeAeo':_0x5ea9(0x0),'umDgX':_0x5ea9(0x1),'OaZEn':function(_0x3aff74,_0x5e04a9){return _0x3aff74(_0x5e04a9);},'LDGxZ':function(_0x9037c9,_0x31bb8b){return _0x9037c9(_0x31bb8b);},'HIajV':function(_0x5ba864,_0x5bfc68){return _0x5ba864(_0x5bfc68);},'ESTUF':_0x5ea9(0x2),'ATnRv':_0x5ea9(0x3),'qwAwO':function(_0x2ccd66,_0x22685c){return _0x2ccd66&&_0x22685c;},'mraTi':'1|0|4|2|3','mXgVv':_0x5ea9(0x4),'fJZAj':'⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20refresh','xZJxH':function(_0x21febb,_0x14f99b){return _0x21febb(_0x14f99b);},'lrOGQ':_0x5ea9(0x5),'MtKDS':function(_0x3171ea,_0xb113ec){return _0x3171ea!==_0xb113ec;},'LcIOx':_0x5ea9(0x6),'EgaZl':'NsWPy','IETQq':_0x5ea9(0x7),'pMFbA':function(_0x228900,_0x388a03){return _0x228900(_0x388a03);},'WdoZS':_0x5ea9(0x8),'Egnaq':function(_0xaddbce,_0x121937){return _0xaddbce(_0x121937);},'CeJuS':'🔄\x20Loading\x20user\x20connections\x20with\x20authentication...','qDoKo':_0x5ea9(0x9),'XkDzk':function(_0x38fec0){return _0x38fec0();},'wTnXZ':_0x5ea9(0xa),'zDTqs':function(_0x22f705,_0x4384a0){return _0x22f705(_0x4384a0);},'SMfle':function(_0x4898e7,_0x3c5f23){return _0x4898e7(_0x3c5f23);},'aiTXx':_0x5ea9(0xb),'kOUwR':_0x5ea9(0xc),'nPbPB':_0x5ea9(0xd),'marbb':'xlJKx','BqKek':_0x5ea9(0xe),'BGOiM':_0x5ea9(0xf),'DPVNL':function(_0x3c2ae5,_0x3864d0){return _0x3c2ae5(_0x3864d0);},'JKbyS':'❌\x20Error\x20fetching\x20connections\x20by\x20username:','bWoeb':'⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections','SOFJs':function(_0x586b10,_0x4d1e21){return _0x586b10===_0x4d1e21;},'HBZaN':'tJsIb','PNjoV':_0x5ea9(0x10),'appoE':_0x5ea9(0x11),'zswFz':_0x5ea9(0x12),'GHDlf':'RPxzv','lDveH':_0x5ea9(0x13),'HmuwI':_0x5ea9(0x14),'mXNRf':function(_0x4db05b,_0x1dc59c,_0xe613){return _0x4db05b(_0x1dc59c,_0xe613);},'EJYTU':'UxhIk','IPjrc':function(_0x26c51d){return _0x26c51d();},'CIyGx':function(_0xa98fc7,_0x288fc5){return _0xa98fc7(_0x288fc5);},'eARAX':function(_0x5d2fc1,_0x4244ed,_0x484fb8){return _0x5d2fc1(_0x4244ed,_0x484fb8);}},[_0x570f33,_0x49a2bb]=_0x4be62d[_0x5ea9(0x15)](useState,[]),[_0x2b1ff1,_0x1dd088]=_0x4be62d[_0x5ea9(0x16)](useState,!![]),[_0x36a838,_0x1874a1]=_0x4be62d[_0x5ea9(0x17)](useState,null),_0x13523e=useCallback(async()=>{try{_0x4be62d[_0x5ea9(0x18)](_0x1dd088,!![]),_0x4be62d[_0x5ea9(0x15)](_0x1874a1,null);const _0x523217=await getAuthToken(),_0x2683ef=await AsyncStorage[_0x5ea9(0x19)](_0x4be62d[_0x5ea9(0x1a)]),_0x4ad65f=_0x2683ef===_0x4be62d['ATnRv'];if(_0x4be62d['qwAwO'](!_0x523217,!_0x4ad65f)){const _0xf0acaf=_0x4be62d[_0x5ea9(0x1b)][_0x5ea9(0x1c)]('|');let _0x250ad1=0x0;while(!![]){switch(_0xf0acaf[_0x250ad1++]){case'0':console[_0x5ea9(0x1d)](_0x4be62d[_0x5ea9(0x1e)]);continue;case'1':console[_0x5ea9(0x1d)](_0x4be62d[_0x5ea9(0x1f)]);continue;case'2':_0x4be62d[_0x5ea9(0x20)](_0x1874a1,_0x4be62d['lrOGQ']);continue;case'3':return;case'4':_0x49a2bb([]);continue;}break;}}if(_0x4ad65f){if(_0x4be62d[_0x5ea9(0x21)](_0x4be62d[_0x5ea9(0x22)],_0x4be62d[_0x5ea9(0x23)])){console['log'](_0x4be62d[_0x5ea9(0x24)]),_0x4be62d['pMFbA'](_0x49a2bb,[]),_0x4be62d['xZJxH'](_0x1874a1,null);return;}else return _0x424463[_0x5ea9(0x25)](_0x5ea9(0x26),_0x1aa180),[];}if(!_0x523217){if(_0x4be62d[_0x5ea9(0x27)]!==_0x4be62d[_0x5ea9(0x27)]){const _0x4b813b=_0x4be62d[_0x5ea9(0x28)](_0x1380bc,_0x2e253a)?_0x4c4d38['message']:_0x4be62d[_0x5ea9(0x29)];_0x1313de[_0x5ea9(0x25)](_0x4be62d[_0x5ea9(0x2a)],_0x4b813b),_0x4be62d[_0x5ea9(0x17)](_0x1d59aa,_0x4b813b),_0xad74b7([]);}else{console[_0x5ea9(0x25)]('❌\x20[CONNECTIONS\x20HOOK]\x20Unexpected\x20null\x20token\x20after\x20validation'),_0x4be62d[_0x5ea9(0x15)](_0x49a2bb,[]),_0x4be62d['Egnaq'](_0x1874a1,_0x5ea9(0x2b));return;}}console[_0x5ea9(0x2c)](_0x4be62d['CeJuS']),console[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x2d)],_0x523217[_0x5ea9(0x2e)](0x0,0x14)+'...');const _0x3e86c9=await _0x4be62d[_0x5ea9(0x2f)](getUserConnections);_0x4be62d[_0x5ea9(0x15)](_0x49a2bb,_0x3e86c9),console['log'](_0x4be62d[_0x5ea9(0x30)],_0x3e86c9[_0x5ea9(0x31)]);}catch(_0x3845cf){const _0x48fa10=_0x3845cf instanceof Error?_0x3845cf['message']:_0x4be62d[_0x5ea9(0x29)];console[_0x5ea9(0x25)](_0x4be62d[_0x5ea9(0x2a)],_0x48fa10),_0x1874a1(_0x48fa10),_0x4be62d[_0x5ea9(0x32)](_0x49a2bb,[]);}finally{_0x4be62d[_0x5ea9(0x33)](_0x1dd088,![]);}},[]),_0x484d19=_0x4be62d['eARAX'](useCallback,async()=>{console[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x34)]),await _0x4be62d['XkDzk'](_0x13523e),console[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x35)]);},[_0x13523e]),_0x458720=_0x4be62d['eARAX'](useCallback,async _0x505615=>{try{if(_0x4be62d['MtKDS'](_0x4be62d['marbb'],_0x5ea9(0x36)))return _0x2cecbb[_0x5ea9(0x25)](_0x4be62d[_0x5ea9(0x37)],_0x181b86),![];else{const _0x2a2788=await _0x4be62d[_0x5ea9(0x2f)](getAuthToken);if(!_0x2a2788)return console[_0x5ea9(0x1d)](_0x4be62d[_0x5ea9(0x38)]),[];return console[_0x5ea9(0x2c)](_0x4be62d['BGOiM'],_0x505615),console[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x2d)],_0x2a2788[_0x5ea9(0x2e)](0x0,0x14)+_0x5ea9(0x39)),await _0x4be62d['DPVNL'](getUserConnectionsByUsername,_0x505615);}}catch(_0x19a059){return console[_0x5ea9(0x25)](_0x4be62d[_0x5ea9(0x3a)],_0x19a059),[];}},[]),_0x54f491=_0x4be62d['eARAX'](useCallback,async _0x5c0bfd=>{try{const _0x3c5996=await getAuthToken();if(!_0x3c5996){if(_0x4be62d['SOFJs'](_0x4be62d['HBZaN'],_0x4be62d[_0x5ea9(0x3b)])){_0x1ae6e1[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x24)]),_0x4be62d[_0x5ea9(0x17)](_0x3915b1,[]),_0x555910(null);return;}else return console[_0x5ea9(0x1d)](_0x5ea9(0x3c)),[];}return console[_0x5ea9(0x2c)]('🔍\x20Fetching\x20connections\x20by\x20userId:',_0x5c0bfd),console[_0x5ea9(0x2c)](_0x4be62d['qDoKo'],_0x3c5996[_0x5ea9(0x2e)](0x0,0x14)+_0x5ea9(0x39)),await _0x4be62d[_0x5ea9(0x32)](getUserConnectionsByUserId,_0x5c0bfd);}catch(_0x1c292c){return _0x4be62d[_0x5ea9(0x3d)](_0x4be62d[_0x5ea9(0x3e)],_0x4be62d[_0x5ea9(0x3e)])?(console[_0x5ea9(0x25)](_0x4be62d[_0x5ea9(0x3f)],_0x1c292c),[]):(_0x59c425[_0x5ea9(0x1d)](_0x4be62d['bWoeb']),[]);}},[]),_0x4b14bc=useCallback(async(_0xb73b44,_0x4eda6a=_0x5ea9(0x40))=>{const _0x152279={'HmUYq':_0x4be62d[_0x5ea9(0x3f)]};if(_0x4be62d['GHDlf']!==_0x4be62d[_0x5ea9(0x41)])try{console[_0x5ea9(0x2c)](_0x4be62d[_0x5ea9(0x42)]);const _0x328b17=await _0x4be62d[_0x5ea9(0x43)](uploadProfilePicture,_0xb73b44,_0x4eda6a);return _0x328b17['success'];}catch(_0x127efc){return console[_0x5ea9(0x25)](_0x4be62d['nPbPB'],_0x127efc),![];}else return _0x1937ba[_0x5ea9(0x25)](_0x152279[_0x5ea9(0x44)],_0x5c20fd),[];},[]);return useEffect(()=>{if(_0x5ea9(0x45)!==_0x4be62d[_0x5ea9(0x46)])_0x4be62d['IPjrc'](_0x13523e);else{_0x59b9ab['error'](_0x5ea9(0x47)),_0x4be62d[_0x5ea9(0x48)](_0x503315,[]),_0x4be62d[_0x5ea9(0x48)](_0x127850,_0x5ea9(0x2b));return;}},[_0x13523e]),{'connections':_0x570f33,'isLoading':_0x2b1ff1,'error':_0x36a838,'refreshConnections':_0x484d19,'getConnectionsByUsername':_0x458720,'getConnectionsByUserId':_0x54f491,'uploadUserProfilePicture':_0x4b14bc};};
1
+ function _0x5079(){const _0x34545e=['onairos_jwt_token','iCNXp','3|0|4|1|2','⚠️\x20[CONNECTIONS\x20HOOK]\x20Skipping\x20API\x20call\x20to\x20prevent\x20unauthenticated\x20requests','⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20connections\x20refresh','QNXGb','🎯\x20[DEMO\x20MODE]\x20Reviewer\x20bypass\x20detected\x20-\x20skipping\x20API\x20call\x20for\x20demo','🔄\x20Loading\x20user\x20connections\x20with\x20authentication...','gAJlE','🔄\x20[CONNECTIONS\x20HOOK]\x20Refreshing\x20connections...','✅\x20[CONNECTIONS\x20HOOK]\x20Connections\x20refresh\x20completed','FjQeV','iWGIQ','⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20username\x20connections','YOVhC','YuDfR','PYmxe','🔍\x20Fetching\x20connections\x20by\x20userId:','NYEIq','GHoKA','📷\x20Uploading\x20profile\x20picture\x20for\x20user:','xIQdd','mzaRF','vNTgQ','mGmkm','ShIJO','reviewer-bypass-token','upTqn','tadHC','QORES','split','LkDXS','zzkus','Authentication\x20required\x20for\x20connections','warn','nSzpv','error','❌\x20Error\x20fetching\x20connections\x20by\x20username:','HojIJ','⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections','log','sEXqK','❌\x20[CONNECTIONS\x20HOOK]\x20Unexpected\x20null\x20token\x20after\x20validation','yeJax','ClVgG','Authentication\x20error','LcssK','kRPZw','...','length','rpIzT','OrNVC','euQSx','INDeo','MdpyO','qmAcC','❌\x20Error\x20uploading\x20profile\x20picture:','BYRzz','owrQJ','nvxXp','JwiVI','Xlofl','lwWyJ','GjsAT','substring','❌\x20Error\x20fetching\x20connections\x20by\x20userId:','iMEFz','ydmpC','ygVWd','OwuzN','Failed\x20to\x20load\x20connections','MpMgR','ZaYbp','UgtJd','TKolL','LBWea','ryZMb','nFPrH','HcWTO','message','gIntQ','cCvNE','FOfLW','PhyVa','gqCcg','jpg','GBcxC','vQvUZ','ADlhO','success','xgVyw'];_0x5079=function(){return _0x34545e;};return _0x5079();}function _0x51ec(_0x507939,_0x51ec2a){_0x507939=_0x507939-0x0;const _0x4a471b=_0x5079();let _0x541046=_0x4a471b[_0x507939];return _0x541046;}import{useState,useEffect,useCallback}from'react';import{getUserConnections,getUserConnectionsByUsername,getUserConnectionsByUserId,uploadProfilePicture}from'../services/userConnectionsService';import{getAuthToken}from'../services/authService';import AsyncStorage from'@react-native-async-storage/async-storage';export const useUserConnections=()=>{const _0x4cbcd3={'zzkus':function(_0x1740bd,_0x19fedc){return _0x1740bd(_0x19fedc);},'GBcxC':function(_0x2582e4,_0x3bf80a){return _0x2582e4!==_0x3bf80a;},'mGmkm':_0x51ec(0x0),'ShIJO':function(_0x4c9d2c,_0x1f1d0c){return _0x4c9d2c===_0x1f1d0c;},'upTqn':function(_0x1495e3,_0x3a0e23){return _0x1495e3&&_0x3a0e23;},'KrQir':function(_0x19c83c,_0x21d075){return _0x19c83c===_0x21d075;},'tadHC':_0x51ec(0x1),'QORES':_0x51ec(0x2),'LkDXS':_0x51ec(0x3),'nSzpv':_0x51ec(0x4),'HojIJ':_0x51ec(0x5),'sEXqK':_0x51ec(0x6),'yeJax':function(_0xd0cf34,_0x3f86e0){return _0xd0cf34(_0x3f86e0);},'ClVgG':function(_0x349191,_0x595b85){return _0x349191(_0x595b85);},'LcssK':_0x51ec(0x7),'kRPZw':'🔑\x20[CONNECTIONS\x20HOOK]\x20Using\x20auth\x20token:','iBsmc':function(_0x257e29){return _0x257e29();},'rpIzT':function(_0x37c0c8,_0x1d3a0e){return _0x37c0c8!==_0x1d3a0e;},'OrNVC':_0x51ec(0x8),'euQSx':function(_0x54b98b,_0x21f263){return _0x54b98b instanceof _0x21f263;},'INDeo':'Failed\x20to\x20load\x20connections','MdpyO':'❌\x20Error\x20loading\x20connections:','xIQdd':function(_0x245839,_0x8d76cd){return _0x245839(_0x8d76cd);},'qmAcC':function(_0x1dbda1,_0x313ef8){return _0x1dbda1(_0x313ef8);},'owrQJ':_0x51ec(0x9),'nvxXp':function(_0x1c7bf5){return _0x1c7bf5();},'JwiVI':_0x51ec(0xa),'Xlofl':_0x51ec(0xb),'JNrgf':_0x51ec(0xc),'lwWyJ':function(_0x1ac71d){return _0x1ac71d();},'GjsAT':_0x51ec(0xd),'NINbJ':'🔍\x20Fetching\x20connections\x20by\x20username:','iMEFz':'zuZBJ','ydmpC':'❌\x20Error\x20fetching\x20connections\x20by\x20username:','PhyVa':function(_0x390ce1){return _0x390ce1();},'ygVWd':function(_0x20731b,_0x18f489){return _0x20731b(_0x18f489);},'OwuzN':'Authentication\x20required\x20for\x20connections','garwG':function(_0x4d77b5,_0x57fa6d){return _0x4d77b5===_0x57fa6d;},'MpMgR':_0x51ec(0xe),'jLXCr':_0x51ec(0xf),'UgtJd':function(_0x2ad02c,_0x286963){return _0x2ad02c!==_0x286963;},'TKolL':_0x51ec(0x10),'LBWea':'EPigJ','qztrH':'⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20user\x20ID\x20connections','ryZMb':_0x51ec(0x11),'nFPrH':function(_0xbdd5ba,_0x4dcba1){return _0xbdd5ba(_0x4dcba1);},'cCvNE':_0x51ec(0x12),'FOfLW':_0x51ec(0x13),'ADlhO':function(_0x5dfcfd,_0xb5c926){return _0x5dfcfd(_0xb5c926);},'vQvUZ':'BScCY','pKDsu':_0x51ec(0x14),'mzaRF':function(_0x262c74,_0x181b71,_0x45bdef){return _0x262c74(_0x181b71,_0x45bdef);},'IIUUg':function(_0x574eb1,_0x57fddf){return _0x574eb1(_0x57fddf);},'BYRzz':function(_0x53503a,_0x24a1d5,_0x6f2e21){return _0x53503a(_0x24a1d5,_0x6f2e21);},'gqCcg':function(_0x4fe661,_0x14c1f4,_0x4d586b){return _0x4fe661(_0x14c1f4,_0x4d586b);},'xgVyw':function(_0x53d986,_0x5f756c,_0x350451){return _0x53d986(_0x5f756c,_0x350451);}},[_0x39030b,_0x4e2d81]=_0x4cbcd3['IIUUg'](useState,[]),[_0x4a4490,_0x30c81f]=useState(!![]),[_0x474dea,_0x558a59]=_0x4cbcd3[_0x51ec(0x15)](useState,null),_0x109067=_0x4cbcd3[_0x51ec(0x16)](useCallback,async()=>{if(_0x4cbcd3['GBcxC']('pHVNf',_0x51ec(0x17)))try{_0x30c81f(!![]),_0x4cbcd3['zzkus'](_0x558a59,null);const _0x37bea0=await getAuthToken(),_0x33a4ba=await AsyncStorage['getItem'](_0x4cbcd3[_0x51ec(0x18)]),_0x272731=_0x4cbcd3[_0x51ec(0x19)](_0x33a4ba,_0x51ec(0x1a));if(_0x4cbcd3[_0x51ec(0x1b)](!_0x37bea0,!_0x272731)){if(_0x4cbcd3['KrQir'](_0x4cbcd3[_0x51ec(0x1c)],_0x4cbcd3[_0x51ec(0x1c)])){const _0x165e19=_0x4cbcd3[_0x51ec(0x1d)][_0x51ec(0x1e)]('|');let _0x40ee17=0x0;while(!![]){switch(_0x165e19[_0x40ee17++]){case'0':console['warn'](_0x4cbcd3[_0x51ec(0x1f)]);continue;case'1':_0x4cbcd3[_0x51ec(0x20)](_0x558a59,_0x51ec(0x21));continue;case'2':return;case'3':console[_0x51ec(0x22)](_0x4cbcd3[_0x51ec(0x23)]);continue;case'4':_0x4cbcd3['zzkus'](_0x4e2d81,[]);continue;}break;}}else return _0x3c4c1a[_0x51ec(0x24)](_0x51ec(0x25),_0x51fdf1),[];}if(_0x272731){if(_0x4cbcd3['GBcxC'](_0x4cbcd3[_0x51ec(0x26)],_0x4cbcd3[_0x51ec(0x26)]))return _0x57a6da[_0x51ec(0x22)](_0x51ec(0x27)),[];else{console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x29)]),_0x4cbcd3[_0x51ec(0x20)](_0x4e2d81,[]),_0x4cbcd3[_0x51ec(0x20)](_0x558a59,null);return;}}if(!_0x37bea0){console['error'](_0x51ec(0x2a)),_0x4cbcd3[_0x51ec(0x2b)](_0x4e2d81,[]),_0x4cbcd3[_0x51ec(0x2c)](_0x558a59,_0x51ec(0x2d));return;}console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x2e)]),console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x2f)],_0x37bea0['substring'](0x0,0x14)+_0x51ec(0x30));const _0x3c75c8=await _0x4cbcd3['iBsmc'](getUserConnections);_0x4cbcd3[_0x51ec(0x2b)](_0x4e2d81,_0x3c75c8),console[_0x51ec(0x28)]('✅\x20Connections\x20loaded:',_0x3c75c8[_0x51ec(0x31)]);}catch(_0x4fd05b){if(_0x4cbcd3[_0x51ec(0x32)](_0x4cbcd3[_0x51ec(0x33)],_0x4cbcd3[_0x51ec(0x33)])){_0x76884[_0x51ec(0x28)]('🎯\x20[DEMO\x20MODE]\x20Reviewer\x20bypass\x20detected\x20-\x20skipping\x20API\x20call\x20for\x20demo'),_0x4cbcd3[_0x51ec(0x20)](_0x3abdfa,[]),_0x4cbcd3[_0x51ec(0x20)](_0x3f41dc,null);return;}else{const _0x15258a=_0x4cbcd3[_0x51ec(0x34)](_0x4fd05b,Error)?_0x4fd05b['message']:_0x4cbcd3[_0x51ec(0x35)];console[_0x51ec(0x24)](_0x4cbcd3[_0x51ec(0x36)],_0x15258a),_0x4cbcd3['xIQdd'](_0x558a59,_0x15258a),_0x4cbcd3[_0x51ec(0x2b)](_0x4e2d81,[]);}}finally{_0x4cbcd3[_0x51ec(0x37)](_0x30c81f,![]);}else return _0x390523[_0x51ec(0x24)](_0x51ec(0x38),_0x30453a),![];},[]),_0x346379=_0x4cbcd3[_0x51ec(0x39)](useCallback,async()=>{console['log'](_0x4cbcd3[_0x51ec(0x3a)]),await _0x4cbcd3[_0x51ec(0x3b)](_0x109067),console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x3c)]);},[_0x109067]),_0x1c0555=useCallback(async _0x42caf1=>{try{if(_0x4cbcd3[_0x51ec(0x3d)]!==_0x4cbcd3['JNrgf']){const _0x5292b5=await _0x4cbcd3[_0x51ec(0x3e)](getAuthToken);if(!_0x5292b5)return console[_0x51ec(0x22)](_0x4cbcd3[_0x51ec(0x3f)]),[];return console[_0x51ec(0x28)](_0x4cbcd3['NINbJ'],_0x42caf1),console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x2f)],_0x5292b5[_0x51ec(0x40)](0x0,0x14)+'...'),await getUserConnectionsByUsername(_0x42caf1);}else return _0x591210['error'](_0x51ec(0x41),_0x4d9dd5),[];}catch(_0x52afd3){return _0x4cbcd3[_0x51ec(0x19)](_0x4cbcd3[_0x51ec(0x42)],'dOgOU')?(_0x5d9ba5[_0x51ec(0x22)]('⚠️\x20[CONNECTIONS\x20HOOK]\x20No\x20authentication\x20token\x20available\x20for\x20username\x20connections'),[]):(console[_0x51ec(0x24)](_0x4cbcd3[_0x51ec(0x43)],_0x52afd3),[]);}},[]),_0x211919=useCallback(async _0xbab72e=>{const _0x2a20b0={'MlFDM':_0x4cbcd3['LkDXS'],'gIntQ':function(_0x489865,_0x252ce3){return _0x4cbcd3[_0x51ec(0x44)](_0x489865,_0x252ce3);},'ZaYbp':_0x4cbcd3[_0x51ec(0x45)],'HcWTO':function(_0x51f953,_0x3152d9){return _0x4cbcd3[_0x51ec(0x34)](_0x51f953,_0x3152d9);},'RjURi':_0x51ec(0x46),'dnoxz':_0x4cbcd3[_0x51ec(0x36)]};if(_0x4cbcd3['garwG'](_0x4cbcd3[_0x51ec(0x47)],_0x4cbcd3['jLXCr'])){_0x43b01d['warn'](_0x51ec(0x4)),_0x2ce57d[_0x51ec(0x22)](_0x2a20b0['MlFDM']),_0x19fdac([]),_0x2a20b0['gIntQ'](_0x597c24,_0x2a20b0[_0x51ec(0x48)]);return;}else try{if(_0x4cbcd3[_0x51ec(0x49)](_0x4cbcd3[_0x51ec(0x4a)],_0x4cbcd3[_0x51ec(0x4b)])){const _0x154410=await _0x4cbcd3[_0x51ec(0x3e)](getAuthToken);if(!_0x154410)return console[_0x51ec(0x22)](_0x4cbcd3['qztrH']),[];return console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x4c)],_0xbab72e),console[_0x51ec(0x28)](_0x4cbcd3[_0x51ec(0x2f)],_0x154410[_0x51ec(0x40)](0x0,0x14)+_0x51ec(0x30)),await _0x4cbcd3[_0x51ec(0x4d)](getUserConnectionsByUserId,_0xbab72e);}else{const _0x36bf32=_0x2a20b0[_0x51ec(0x4e)](_0x401fca,_0x145cd5)?_0x2dfb76[_0x51ec(0x4f)]:_0x2a20b0['RjURi'];_0x207985['error'](_0x2a20b0['dnoxz'],_0x36bf32),_0x2a20b0[_0x51ec(0x50)](_0x227613,_0x36bf32),_0x2a20b0[_0x51ec(0x50)](_0x3470a2,[]);}}catch(_0x338ec7){if(_0x4cbcd3[_0x51ec(0x51)]===_0x4cbcd3[_0x51ec(0x52)])_0x4cbcd3[_0x51ec(0x53)](_0x1e9ec6);else return console[_0x51ec(0x24)](_0x51ec(0x41),_0x338ec7),[];}},[]),_0x27a936=_0x4cbcd3[_0x51ec(0x54)](useCallback,async(_0x2a03ee,_0x208aca=_0x51ec(0x55))=>{if(_0x4cbcd3[_0x51ec(0x56)](_0x4cbcd3[_0x51ec(0x57)],_0x4cbcd3[_0x51ec(0x57)]))_0x4cbcd3[_0x51ec(0x58)](_0x410256,![]);else try{console[_0x51ec(0x28)](_0x4cbcd3['pKDsu']);const _0x600267=await _0x4cbcd3[_0x51ec(0x16)](uploadProfilePicture,_0x2a03ee,_0x208aca);return _0x600267[_0x51ec(0x59)];}catch(_0x260157){return console[_0x51ec(0x24)]('❌\x20Error\x20uploading\x20profile\x20picture:',_0x260157),![];}},[]);return _0x4cbcd3[_0x51ec(0x5a)](useEffect,()=>{_0x4cbcd3[_0x51ec(0x3e)](_0x109067);},[_0x109067]),{'connections':_0x39030b,'isLoading':_0x4a4490,'error':_0x474dea,'refreshConnections':_0x346379,'getConnectionsByUsername':_0x1c0555,'getConnectionsByUserId':_0x211919,'uploadUserProfilePicture':_0x27a936};};
@@ -1 +1 @@
1
- console[_0x59ba(0x0)](_0x59ba(0x1)),console[_0x59ba(0x0)]('\uD83D\uDE80 [ONAIROS SDK] Source: onairos-npm-react-native/src/index.ts');export{OnairosButton}from'./components/OnairosButton';export{OnairosSignInButton}from'./components/OnairosSignInButton';export{Onairos}from'./components/Onairos';export{UniversalOnboarding}from'./components/UniversalOnboarding';export{OAuthWebView}from'./components/onboarding/OAuthWebView';export{PortalHost,Portal}from'./utils/Portal';export{default as WelcomeScreen}from'./components/WelcomeScreen';export{PrimaryButton}from'./components/PrimaryButton';export{ModalSheet}from'./components/ModalSheet';export{ModalHeader}from'./components/ModalHeader';export{BrandMark}from'./components/BrandMark';export{HeadingGroup}from'./components/HeadingGroup';export{BodyText}from'./components/BodyText';export{SignInStep}from'./components/SignInStep';export{VerificationStep}from'./components/VerificationStep';export{default as PlatformConnectorsStep}from'./components/PlatformConnectorsStep';export{PersonalizationConsentScreen}from'./components/PersonalizationConsentScreen';export{PinCreationScreen}from'./components/PinCreationScreen';export{default as PersonaImage}from'./components/PersonaImage';export{useConnections}from'./hooks/useConnections';export{initializeApiKey}from'./services/apiKeyService';function _0x59ba(_0x118361,_0x59bac0){_0x118361=_0x118361-0x0;var _0x22deaf=_0x1183();var _0x31b23d=_0x22deaf[_0x118361];return _0x31b23d;}export{extractUsernameFromJWT,extractUserDataFromJWT,decodeJWTPayload}from'./services/apiKeyService';export{isAuthenticated}from'./services/authService';export{clearAllAuthTokens}from'./services/authService';export{updateGoogleClientIds}from'./services/googleAuthService';function _0x1183(){var _0xb643a5=['log','🚀\x20[ONAIROS\x20SDK]\x20LOCAL\x20SDK\x20LOADED\x20-\x20Version\x205.0.0-local-dev'];_0x1183=function(){return _0xb643a5;};return _0x1183();}export{testApiConnectivity}from'./services/platformAuthService';export{runFullDiagnostics,isApiReachable,getNetworkStatus}from'./utils/networkDiagnostics';export{scrapeLinkedInProfile,extractLinkedInUsername,isValidLinkedInUrl,formatLinkedInUrl,canScrapeProfile,getLinkedInConnectionStatus}from'./services/linkedinScrapingService';export{parseExtractionMessage,initiateProfileScraping,checkScrapingStatus,validateExtractedUrl,completeLinkedInExtraction}from'./services/linkedinDOMExtractor';export{ApiClient}from'./services/apiClient';
1
+ console[_0x27a3(0x0)]('🚀\x20[ONAIROS\x20SDK]\x20LOCAL\x20SDK\x20LOADED\x20-\x20Version\x205.0.0-local-dev'),console[_0x27a3(0x0)]('\uD83D\uDE80 [ONAIROS SDK] Source: onairos-npm-react-native/src/index.ts');export{OnairosButton}from'./components/OnairosButton';export{OnairosSignInButton}from'./components/OnairosSignInButton';export{Onairos}from'./components/Onairos';export{UniversalOnboarding}from'./components/UniversalOnboarding';export{OAuthWebView}from'./components/onboarding/OAuthWebView';export{PortalHost,Portal}from'./utils/Portal';export{default as WelcomeScreen}from'./components/WelcomeScreen';export{PrimaryButton}from'./components/PrimaryButton';export{ModalSheet}from'./components/ModalSheet';export{ModalHeader}from'./components/ModalHeader';export{BrandMark}from'./components/BrandMark';export{HeadingGroup}from'./components/HeadingGroup';export{BodyText}from'./components/BodyText';export{SignInStep}from'./components/SignInStep';export{VerificationStep}from'./components/VerificationStep';export{default as PlatformConnectorsStep}from'./components/PlatformConnectorsStep';export{PersonalizationConsentScreen}from'./components/PersonalizationConsentScreen';export{PinCreationScreen}from'./components/PinCreationScreen';export{default as PersonaImage}from'./components/PersonaImage';export{useConnections}from'./hooks/useConnections';export{initializeApiKey}from'./services/apiKeyService';function _0x27a3(_0x5367e7,_0x27a304){_0x5367e7=_0x5367e7-0x0;var _0x2b226a=_0x5367();var _0x3cc5fc=_0x2b226a[_0x5367e7];return _0x3cc5fc;}export{extractUsernameFromJWT,extractUserDataFromJWT,decodeJWTPayload}from'./services/apiKeyService';export{isAuthenticated}from'./services/authService';export{clearAllAuthTokens}from'./services/authService';export{updateGoogleClientIds}from'./services/googleAuthService';export{testApiConnectivity}from'./services/platformAuthService';export{runFullDiagnostics,isApiReachable,getNetworkStatus}from'./utils/networkDiagnostics';function _0x5367(){var _0x2cadb0=['log'];_0x5367=function(){return _0x2cadb0;};return _0x5367();}export{scrapeLinkedInProfile,extractLinkedInUsername,isValidLinkedInUrl,formatLinkedInUrl,canScrapeProfile,getLinkedInConnectionStatus}from'./services/linkedinScrapingService';export{parseExtractionMessage,initiateProfileScraping,checkScrapingStatus,validateExtractedUrl,completeLinkedInExtraction}from'./services/linkedinDOMExtractor';export{ApiClient}from'./services/apiClient';