@onairos/react-native 3.6.8 → 3.6.9

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 (257) hide show
  1. package/README.md +423 -423
  2. package/lib/commonjs/api/index.js +1 -1
  3. package/lib/commonjs/assets/images/Checkbox.svg +3 -3
  4. package/lib/commonjs/assets/images/EnochE.svg +19 -19
  5. package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
  6. package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
  7. package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
  8. package/lib/commonjs/assets/images/arrow.svg +20 -20
  9. package/lib/commonjs/assets/images/basicproficon.svg +43 -43
  10. package/lib/commonjs/assets/images/basicprofile.svg +3 -3
  11. package/lib/commonjs/assets/images/checkmark.svg +4 -4
  12. package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
  13. package/lib/commonjs/assets/images/contenticon.svg +23 -23
  14. package/lib/commonjs/assets/images/personalityicon.svg +18 -18
  15. package/lib/commonjs/assets/images/x-close.svg +3 -3
  16. package/lib/commonjs/components/BodyText.js +1 -1
  17. package/lib/commonjs/components/BrandMark.js +1 -1
  18. package/lib/commonjs/components/CodeInput.js +1 -1
  19. package/lib/commonjs/components/EmailInput.js +1 -1
  20. package/lib/commonjs/components/GoogleButton.js +1 -1
  21. package/lib/commonjs/components/HeadingGroup.js +1 -1
  22. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  23. package/lib/commonjs/components/ModalHeader.js +1 -1
  24. package/lib/commonjs/components/ModalSheet.js +1 -1
  25. package/lib/commonjs/components/Onairos.js +1 -1
  26. package/lib/commonjs/components/OnairosButton.js +1 -1
  27. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  28. package/lib/commonjs/components/Overlay.js +1 -1
  29. package/lib/commonjs/components/PersonaImage.js +1 -1
  30. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  31. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  32. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  33. package/lib/commonjs/components/PinInput.js +1 -1
  34. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  35. package/lib/commonjs/components/PlatformList.js +1 -1
  36. package/lib/commonjs/components/PlatformToggle.js +1 -1
  37. package/lib/commonjs/components/PrimaryButton.js +1 -1
  38. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  39. package/lib/commonjs/components/SignInStep.js +1 -1
  40. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  41. package/lib/commonjs/components/VerificationStep.js +1 -1
  42. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  43. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  44. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  45. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  46. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  47. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  48. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  49. package/lib/commonjs/components/icons/EnochE.js +1 -1
  50. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  51. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  52. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  53. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  54. package/lib/commonjs/components/icons/index.js +1 -1
  55. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  56. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  57. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  58. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  59. package/lib/commonjs/config/PLATFORM_APIS.md +559 -0
  60. package/lib/commonjs/config/api.js +1 -1
  61. package/lib/commonjs/config/telegramConfig.js +8 -0
  62. package/lib/commonjs/config/webchangelog/md +607 -0
  63. package/lib/commonjs/constants/index.js +1 -1
  64. package/lib/commonjs/context/AuthContext.js +1 -1
  65. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  66. package/lib/commonjs/hooks/useConnections.js +1 -1
  67. package/lib/commonjs/hooks/useCredentials.js +1 -1
  68. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  69. package/lib/commonjs/index.js +1 -1
  70. package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
  71. package/lib/commonjs/services/apiClient.js +1 -1
  72. package/lib/commonjs/services/apiKeyService.js +99 -99
  73. package/lib/commonjs/services/authService.js +72 -72
  74. package/lib/commonjs/services/biometricPinService.js +1 -1
  75. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  76. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  77. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  78. package/lib/commonjs/services/claudeConversationService.js +1 -1
  79. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  80. package/lib/commonjs/services/googleAuthService.js +1 -1
  81. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  82. package/lib/commonjs/services/hingeDataService.js +1 -1
  83. package/lib/commonjs/services/imageCompressionService.js +1 -1
  84. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  85. package/lib/commonjs/services/instagramDataService.js +1 -1
  86. package/lib/commonjs/services/jwtStorageService.js +1 -1
  87. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  88. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  89. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  90. package/lib/commonjs/services/llmDataStorage.js +1 -1
  91. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  92. package/lib/commonjs/services/oauthService.js +20 -20
  93. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  94. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  95. package/lib/commonjs/services/platformAuthService.js +1 -1
  96. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  97. package/lib/commonjs/services/sephoraDataService.js +1 -1
  98. package/lib/commonjs/services/storageService.js +1 -1
  99. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  100. package/lib/commonjs/services/telegramDataService.js +1 -1
  101. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  102. package/lib/commonjs/services/userConnectionsService.js +1 -1
  103. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  104. package/lib/commonjs/theme/index.js +1 -1
  105. package/lib/commonjs/types/index.js +1 -1
  106. package/lib/commonjs/types.js +1 -1
  107. package/lib/commonjs/utils/Portal.js +1 -1
  108. package/lib/commonjs/utils/api.js +1 -1
  109. package/lib/commonjs/utils/assetRegistry.js +1 -1
  110. package/lib/commonjs/utils/auth.js +1 -1
  111. package/lib/commonjs/utils/connectorTests.js +1 -1
  112. package/lib/commonjs/utils/crypto.js +1 -1
  113. package/lib/commonjs/utils/debugHelper.js +1 -1
  114. package/lib/commonjs/utils/encryption.js +1 -1
  115. package/lib/commonjs/utils/eventUtils.js +1 -1
  116. package/lib/commonjs/utils/haptics.js +1 -1
  117. package/lib/commonjs/utils/imagePreloader.js +1 -1
  118. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  119. package/lib/commonjs/utils/onairosApi.js +1 -1
  120. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  121. package/lib/commonjs/utils/retryHelper.js +1 -1
  122. package/lib/commonjs/utils/secureStorage.js +1 -1
  123. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  124. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  125. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  126. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  127. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  128. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  129. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  130. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  131. package/lib/module/api/index.js +1 -1
  132. package/lib/module/assets/images/Checkbox.svg +3 -3
  133. package/lib/module/assets/images/EnochE.svg +19 -19
  134. package/lib/module/assets/images/Personalityprofile.svg +3 -3
  135. package/lib/module/assets/images/Personalitytraits.svg +3 -3
  136. package/lib/module/assets/images/Userpreferences.svg +3 -3
  137. package/lib/module/assets/images/arrow.svg +20 -20
  138. package/lib/module/assets/images/basicproficon.svg +43 -43
  139. package/lib/module/assets/images/basicprofile.svg +3 -3
  140. package/lib/module/assets/images/checkmark.svg +4 -4
  141. package/lib/module/assets/images/contentanalysis.svg +3 -3
  142. package/lib/module/assets/images/contenticon.svg +23 -23
  143. package/lib/module/assets/images/personalityicon.svg +18 -18
  144. package/lib/module/assets/images/x-close.svg +3 -3
  145. package/lib/module/components/BodyText.js +1 -1
  146. package/lib/module/components/BrandMark.js +1 -1
  147. package/lib/module/components/CodeInput.js +1 -1
  148. package/lib/module/components/EmailInput.js +1 -1
  149. package/lib/module/components/GoogleButton.js +1 -1
  150. package/lib/module/components/HeadingGroup.js +1 -1
  151. package/lib/module/components/LLMDataInputModal.js +1 -1
  152. package/lib/module/components/ModalHeader.js +1 -1
  153. package/lib/module/components/ModalSheet.js +1 -1
  154. package/lib/module/components/Onairos.js +1 -1
  155. package/lib/module/components/OnairosButton.js +1 -1
  156. package/lib/module/components/OnairosSignInButton.js +1 -1
  157. package/lib/module/components/Overlay.js +1 -1
  158. package/lib/module/components/PersonaImage.js +1 -1
  159. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  160. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  161. package/lib/module/components/PinCreationScreen.js +1 -1
  162. package/lib/module/components/PinInput.js +1 -1
  163. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  164. package/lib/module/components/PlatformList.js +1 -1
  165. package/lib/module/components/PlatformToggle.js +1 -1
  166. package/lib/module/components/PrimaryButton.js +1 -1
  167. package/lib/module/components/SignInMatchAnimation.js +1 -1
  168. package/lib/module/components/SignInStep.js +1 -1
  169. package/lib/module/components/UniversalOnboarding.js +1 -1
  170. package/lib/module/components/VerificationStep.js +1 -1
  171. package/lib/module/components/WelcomeScreen.js +1 -1
  172. package/lib/module/components/icons/Basicproficon.js +1 -1
  173. package/lib/module/components/icons/Basicprofile.js +1 -1
  174. package/lib/module/components/icons/Checkbox.js +1 -1
  175. package/lib/module/components/icons/Checkmark.js +1 -1
  176. package/lib/module/components/icons/Contentanalysis.js +1 -1
  177. package/lib/module/components/icons/Contenticon.js +1 -1
  178. package/lib/module/components/icons/EnochE.js +1 -1
  179. package/lib/module/components/icons/Personalityicon.js +1 -1
  180. package/lib/module/components/icons/Personalityprofile.js +1 -1
  181. package/lib/module/components/icons/Personalitytraits.js +1 -1
  182. package/lib/module/components/icons/Userpreferences.js +1 -1
  183. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  184. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  185. package/lib/module/components/onboarding/PinInput.js +1 -1
  186. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  187. package/lib/module/config/PLATFORM_APIS.md +559 -0
  188. package/lib/module/config/api.js +1 -1
  189. package/lib/module/config/telegramConfig.js +8 -0
  190. package/lib/module/config/webchangelog/md +607 -0
  191. package/lib/module/constants/index.js +1 -1
  192. package/lib/module/context/AuthContext.js +1 -1
  193. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  194. package/lib/module/hooks/useConnections.js +1 -1
  195. package/lib/module/hooks/useCredentials.js +1 -1
  196. package/lib/module/hooks/useUserConnections.js +1 -1
  197. package/lib/module/index.js +1 -1
  198. package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
  199. package/lib/module/services/apiClient.js +1 -1
  200. package/lib/module/services/apiKeyService.js +99 -99
  201. package/lib/module/services/authService.js +72 -72
  202. package/lib/module/services/biometricPinService.js +1 -1
  203. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  204. package/lib/module/services/chatGPTConversationService.js +1 -1
  205. package/lib/module/services/claudeConversationExtractor.js +1 -1
  206. package/lib/module/services/claudeConversationService.js +1 -1
  207. package/lib/module/services/connectedAccountsService.js +1 -1
  208. package/lib/module/services/googleAuthService.js +1 -1
  209. package/lib/module/services/hingeDataExtractor.js +1 -1
  210. package/lib/module/services/hingeDataService.js +1 -1
  211. package/lib/module/services/imageCompressionService.js +1 -1
  212. package/lib/module/services/instagramDataExtractor.js +1 -1
  213. package/lib/module/services/instagramDataService.js +1 -1
  214. package/lib/module/services/jwtStorageService.js +1 -1
  215. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  216. package/lib/module/services/linkedinProfileService.js +1 -1
  217. package/lib/module/services/linkedinScrapingService.js +1 -1
  218. package/lib/module/services/llmDataStorage.js +1 -1
  219. package/lib/module/services/mobileTrainingService.js +1 -1
  220. package/lib/module/services/oauthService.js +20 -20
  221. package/lib/module/services/pinEncryptionService.js +1 -1
  222. package/lib/module/services/pinStorageUtils.js +1 -1
  223. package/lib/module/services/platformAuthService.js +1 -1
  224. package/lib/module/services/sephoraDataExtractor.js +1 -1
  225. package/lib/module/services/sephoraDataService.js +1 -1
  226. package/lib/module/services/storageService.js +1 -1
  227. package/lib/module/services/telegramDataExtractor.js +1 -1
  228. package/lib/module/services/telegramDataService.js +1 -1
  229. package/lib/module/services/trainingApiHelpers.js +1 -1
  230. package/lib/module/services/userConnectionsService.js +1 -1
  231. package/lib/module/services/youtubeMigrationService.js +1 -1
  232. package/lib/module/theme/index.js +1 -1
  233. package/lib/module/types.js +1 -1
  234. package/lib/module/utils/Portal.js +1 -1
  235. package/lib/module/utils/api.js +1 -1
  236. package/lib/module/utils/assetRegistry.js +1 -1
  237. package/lib/module/utils/auth.js +1 -1
  238. package/lib/module/utils/connectorTests.js +1 -1
  239. package/lib/module/utils/crypto.js +1 -1
  240. package/lib/module/utils/debugHelper.js +1 -1
  241. package/lib/module/utils/encryption.js +1 -1
  242. package/lib/module/utils/eventUtils.js +1 -1
  243. package/lib/module/utils/haptics.js +1 -1
  244. package/lib/module/utils/networkDiagnostics.js +1 -1
  245. package/lib/module/utils/onairosApi.js +1 -1
  246. package/lib/module/utils/programmaticFlow.js +1 -1
  247. package/lib/module/utils/retryHelper.js +1 -1
  248. package/lib/module/utils/secureStorage.js +1 -1
  249. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  250. package/lib/module/utils/webviewScripts/claude.js +1 -1
  251. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  252. package/lib/module/utils/webviewScripts/index.js +1 -1
  253. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  254. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  255. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  256. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  257. package/package.json +172 -172
@@ -14,9 +14,9 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
14
14
  // API base URL
15
15
  const API_BASE_URL = _api.API_CONFIG.BASE_URL;
16
16
 
17
- /**
18
- * Wait for SDK initialization to complete (up to maxWaitMs).
19
- * Polls isApiKeyInitialized() every 500ms.
17
+ /**
18
+ * Wait for SDK initialization to complete (up to maxWaitMs).
19
+ * Polls isApiKeyInitialized() every 500ms.
20
20
  */
21
21
  const waitForSDKInit = async (maxWaitMs = 8000) => {
22
22
  if ((0, _apiKeyService.isApiKeyInitialized)()) return true;
@@ -38,20 +38,20 @@ const waitForSDKInit = async (maxWaitMs = 8000) => {
38
38
 
39
39
  // Interface for Apple authentication payload
40
40
 
41
- /**
42
- * Generic SDK Authentication Response
43
- * Used by all auth methods (Google, Apple, Email)
41
+ /**
42
+ * Generic SDK Authentication Response
43
+ * Used by all auth methods (Google, Apple, Email)
44
44
  */
45
45
 
46
- /**
47
- * Authenticate with Apple
48
- * @param appleAuthData Data from Apple authentication
49
- * @returns Authentication response with token and user data
46
+ /**
47
+ * Authenticate with Apple
48
+ * @param appleAuthData Data from Apple authentication
49
+ * @returns Authentication response with token and user data
50
50
  */
51
- /**
52
- * Authenticate with Onairos (similar to Apple authentication)
53
- * @param onairosAuthData Data from Onairos authentication
54
- * @returns Authentication response with token and user data
51
+ /**
52
+ * Authenticate with Onairos (similar to Apple authentication)
53
+ * @param onairosAuthData Data from Onairos authentication
54
+ * @returns Authentication response with token and user data
55
55
  */
56
56
  const authenticateWithOnairos = async onairosAuthData => {
57
57
  try {
@@ -87,10 +87,10 @@ const authenticateWithOnairos = async onairosAuthData => {
87
87
  }
88
88
  };
89
89
 
90
- /**
91
- * Authenticate with Onairos using the standardized /login/signin endpoint
92
- * @param credentials Email and password for Onairos sign-in
93
- * @returns Authentication response with token and user data
90
+ /**
91
+ * Authenticate with Onairos using the standardized /login/signin endpoint
92
+ * @param credentials Email and password for Onairos sign-in
93
+ * @returns Authentication response with token and user data
94
94
  */
95
95
  exports.authenticateWithOnairos = authenticateWithOnairos;
96
96
  const authenticateWithOnairosSignIn = async credentials => {
@@ -137,10 +137,10 @@ const authenticateWithOnairosSignIn = async credentials => {
137
137
  }
138
138
  };
139
139
 
140
- /**
141
- * Authenticate with Apple using generic SDK endpoint
142
- * NOTE: This is generic SDK auth - does NOT create EnochUser
143
- * Consuming apps should call /enoch/users/register after this if needed
140
+ /**
141
+ * Authenticate with Apple using generic SDK endpoint
142
+ * NOTE: This is generic SDK auth - does NOT create EnochUser
143
+ * Consuming apps should call /enoch/users/register after this if needed
144
144
  */
145
145
  exports.authenticateWithOnairosSignIn = authenticateWithOnairosSignIn;
146
146
  const authenticateWithApple = async appleAuthData => {
@@ -200,9 +200,9 @@ const authenticateWithApple = async appleAuthData => {
200
200
  }
201
201
  };
202
202
 
203
- /**
204
- * Save authentication token
205
- * @param token JWT token
203
+ /**
204
+ * Save authentication token
205
+ * @param token JWT token
206
206
  */
207
207
  exports.authenticateWithApple = authenticateWithApple;
208
208
  const saveAuthToken = async token => {
@@ -214,8 +214,8 @@ const saveAuthToken = async token => {
214
214
  }
215
215
  };
216
216
 
217
- /**
218
- * Debug function to check all auth-related storage
217
+ /**
218
+ * Debug function to check all auth-related storage
219
219
  */
220
220
  exports.saveAuthToken = saveAuthToken;
221
221
  const debugAuthStorage = async () => {
@@ -236,8 +236,8 @@ const debugAuthStorage = async () => {
236
236
  }
237
237
  };
238
238
 
239
- /**
240
- * Clear all auth tokens and start fresh
239
+ /**
240
+ * Clear all auth tokens and start fresh
241
241
  */
242
242
  exports.debugAuthStorage = debugAuthStorage;
243
243
  const clearAllAuthTokens = async () => {
@@ -249,9 +249,9 @@ const clearAllAuthTokens = async () => {
249
249
  console.log('✅ [AUTH] All auth tokens and data cleared');
250
250
  };
251
251
 
252
- /**
253
- * Get saved authentication token
254
- * @returns Saved JWT token or null if not found
252
+ /**
253
+ * Get saved authentication token
254
+ * @returns Saved JWT token or null if not found
255
255
  */
256
256
  exports.clearAllAuthTokens = clearAllAuthTokens;
257
257
  const getAuthToken = async () => {
@@ -269,8 +269,8 @@ const getAuthToken = async () => {
269
269
  }
270
270
  };
271
271
 
272
- /**
273
- * Remove authentication token (logout)
272
+ /**
273
+ * Remove authentication token (logout)
274
274
  */
275
275
  exports.getAuthToken = getAuthToken;
276
276
  const removeAuthToken = async () => {
@@ -281,9 +281,9 @@ const removeAuthToken = async () => {
281
281
  }
282
282
  };
283
283
 
284
- /**
285
- * Validate if user is properly authenticated
286
- * @returns boolean indicating if user has valid authentication
284
+ /**
285
+ * Validate if user is properly authenticated
286
+ * @returns boolean indicating if user has valid authentication
287
287
  */
288
288
  exports.removeAuthToken = removeAuthToken;
289
289
  const isAuthenticated = async () => {
@@ -296,10 +296,10 @@ const isAuthenticated = async () => {
296
296
  }
297
297
  };
298
298
 
299
- /**
300
- * Ensure authentication is available before making API calls
301
- * @param apiName - Name of the API being called (for logging)
302
- * @returns boolean indicating if authentication is available
299
+ /**
300
+ * Ensure authentication is available before making API calls
301
+ * @param apiName - Name of the API being called (for logging)
302
+ * @returns boolean indicating if authentication is available
303
303
  */
304
304
  exports.isAuthenticated = isAuthenticated;
305
305
  const ensureAuthentication = async apiName => {
@@ -316,9 +316,9 @@ const ensureAuthentication = async apiName => {
316
316
  // SDK now uses a single simplified token. Enoch-specific token management
317
317
  // should be handled by the consuming app if needed.
318
318
 
319
- /**
320
- * Verify token with backend
321
- * @returns Boolean indicating if token is valid
319
+ /**
320
+ * Verify token with backend
321
+ * @returns Boolean indicating if token is valid
322
322
  */
323
323
  exports.ensureAuthentication = ensureAuthentication;
324
324
  const verifyToken = async () => {
@@ -356,10 +356,10 @@ const verifyToken = async () => {
356
356
  // NOTE: getEventTimer has been removed from SDK - it's Enoch-specific.
357
357
  // Consuming apps (like OnairosEvents) should call /enoch/event/timer directly.
358
358
 
359
- /**
360
- * Check if a user email has admin privileges
361
- * @param email User email to check
362
- * @returns True if user is an admin
359
+ /**
360
+ * Check if a user email has admin privileges
361
+ * @param email User email to check
362
+ * @returns True if user is an admin
363
363
  */
364
364
  exports.verifyToken = verifyToken;
365
365
  const isAdminEmail = email => {
@@ -377,9 +377,9 @@ const isAdminEmail = email => {
377
377
  return isAdmin;
378
378
  };
379
379
 
380
- /**
381
- * Get the current admin status from AsyncStorage
382
- * This could be used for caching admin status between sessions
380
+ /**
381
+ * Get the current admin status from AsyncStorage
382
+ * This could be used for caching admin status between sessions
383
383
  */
384
384
  exports.isAdminEmail = isAdminEmail;
385
385
  const getAdminStatus = async () => {
@@ -392,9 +392,9 @@ const getAdminStatus = async () => {
392
392
  }
393
393
  };
394
394
 
395
- /**
396
- * Save admin status to AsyncStorage
397
- * @param isAdmin Whether the user is an admin
395
+ /**
396
+ * Save admin status to AsyncStorage
397
+ * @param isAdmin Whether the user is an admin
398
398
  */
399
399
  exports.getAdminStatus = getAdminStatus;
400
400
  const saveAdminStatus = async isAdmin => {
@@ -405,10 +405,10 @@ const saveAdminStatus = async isAdmin => {
405
405
  }
406
406
  };
407
407
 
408
- /**
409
- * Get stored Onairos username for API calls
410
- * This is used for data connector APIs (Reddit, etc.) that need the username
411
- * @returns Stored username or null if not found
408
+ /**
409
+ * Get stored Onairos username for API calls
410
+ * This is used for data connector APIs (Reddit, etc.) that need the username
411
+ * @returns Stored username or null if not found
412
412
  */
413
413
  exports.saveAdminStatus = saveAdminStatus;
414
414
  const getOnairosUsername = async () => {
@@ -420,9 +420,9 @@ const getOnairosUsername = async () => {
420
420
  }
421
421
  };
422
422
 
423
- /**
424
- * Save Onairos username for API calls
425
- * @param username Username to store
423
+ /**
424
+ * Save Onairos username for API calls
425
+ * @param username Username to store
426
426
  */
427
427
  exports.getOnairosUsername = getOnairosUsername;
428
428
  const saveOnairosUsername = async username => {
@@ -433,10 +433,10 @@ const saveOnairosUsername = async username => {
433
433
  }
434
434
  };
435
435
 
436
- /**
437
- * Send email verification code
438
- * @param email Email address to send verification code to
439
- * @returns Result with success status and optional message
436
+ /**
437
+ * Send email verification code
438
+ * @param email Email address to send verification code to
439
+ * @returns Result with success status and optional message
440
440
  */
441
441
  exports.saveOnairosUsername = saveOnairosUsername;
442
442
  const sendEmailVerificationCode = async email => {
@@ -517,13 +517,13 @@ const sendEmailVerificationCode = async email => {
517
517
  };
518
518
  };
519
519
 
520
- /**
521
- * Confirm email verification code
522
- * NOTE: This is generic SDK email verification - does NOT create EnochUser
523
- * Consuming apps should call /enoch/users/register after this if needed
524
- * @param email Email address that received the code
525
- * @param code Verification code entered by user
526
- * @returns Result with success status, optional token, and message
520
+ /**
521
+ * Confirm email verification code
522
+ * NOTE: This is generic SDK email verification - does NOT create EnochUser
523
+ * Consuming apps should call /enoch/users/register after this if needed
524
+ * @param email Email address that received the code
525
+ * @param code Verification code entered by user
526
+ * @returns Result with success status, optional token, and message
527
527
  */
528
528
  exports.sendEmailVerificationCode = sendEmailVerificationCode;
529
529
  const confirmEmailVerificationCode = async (email, code) => {
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
5
5
  require("react-native")
6
6
  ];
7
7
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
8
- Object[_0x264c(0x0)](exports,'__esModule',{'value':!![]}),exports['storePinWithBiometric']=exports[_0x264c(0x1)]=exports[_0x264c(0x2)]=exports[_0x264c(0x3)]=exports['isBiometricAvailable']=exports[_0x264c(0x4)]=void 0x0;function _0x264c(_0x105415,_0x264cdf){_0x105415=_0x105415-0x0;const _0x5768a9=_0x1054();let _0x12e5cf=_0x5768a9[_0x105415];return _0x12e5cf;}var Keychain=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _interopRequireWildcard(_0x535734,_0x4877ca){const _0x27bc43={'xtVsL':function(_0x547662,_0x4da152){return _0x547662!==_0x4da152;},'uXQOH':_0x264c(0x5),'TCmBI':'DzkqI','YrYrC':function(_0x3daa11,_0x3e2a84){return _0x3daa11&&_0x3e2a84;},'MlBZJ':function(_0x44a1ad,_0x87c4b4){return _0x44a1ad===_0x87c4b4;},'FkEio':_0x264c(0x6),'qyMeH':function(_0x1ce83d,_0x80ed0d){return _0x1ce83d!=_0x80ed0d;},'ySceZ':'default','NgoGl':function(_0x3eb872,_0x483742,_0x31ba27,_0x1c63b6){return _0x3eb872(_0x483742,_0x31ba27,_0x1c63b6);},'cJYCC':_0x264c(0x7)};if(_0x27bc43[_0x264c(0x8)]==typeof WeakMap)var _0x22a3ff=new WeakMap(),_0x1282c9=new WeakMap();return(_interopRequireWildcard=function(_0x46463b,_0x3af096){if(_0x27bc43[_0x264c(0x9)](_0x27bc43[_0x264c(0xa)],_0x27bc43[_0x264c(0xb)])){if(_0x27bc43[_0x264c(0xc)](!_0x3af096,_0x46463b)&&_0x46463b[_0x264c(0xd)])return _0x46463b;var _0x47fb22,_0x347540,_0x40b21b={'__proto__':null,'default':_0x46463b};if(_0x27bc43[_0x264c(0xe)](null,_0x46463b)||_0x27bc43['FkEio']!=typeof _0x46463b&&_0x27bc43['qyMeH'](_0x264c(0x7),typeof _0x46463b))return _0x40b21b;if(_0x47fb22=_0x3af096?_0x1282c9:_0x22a3ff){if(_0x47fb22[_0x264c(0xf)](_0x46463b))return _0x47fb22[_0x264c(0x10)](_0x46463b);_0x47fb22[_0x264c(0x11)](_0x46463b,_0x40b21b);}for(const _0x10775d in _0x46463b)_0x27bc43[_0x264c(0x12)]!==_0x10775d&&{}[_0x264c(0x13)][_0x264c(0x14)](_0x46463b,_0x10775d)&&((_0x347540=(_0x47fb22=Object[_0x264c(0x0)])&&Object['getOwnPropertyDescriptor'](_0x46463b,_0x10775d))&&(_0x347540[_0x264c(0x10)]||_0x347540['set'])?_0x27bc43[_0x264c(0x15)](_0x47fb22,_0x40b21b,_0x10775d,_0x347540):_0x40b21b[_0x10775d]=_0x46463b[_0x10775d]);return _0x40b21b;}else{if(_0x17f23f['has'](_0x38d0de))return _0x5cc34c[_0x264c(0x10)](_0x169686);_0x469021[_0x264c(0x11)](_0x3a8ca9,_0x49ce22);}})(_0x535734,_0x4877ca);}const PIN_SERVICE_KEY='OnairosEventsPIN',PIN_USERNAME=_0x264c(0x16),isBiometricAvailable=async()=>{const _0x5a6a2d={'uPETJ':'âš ī¸\x20No\x20PIN\x20found\x20in\x20secure\x20storage','EALHl':'🔒\x20Face\x20ID\x20locked\x20out\x20-\x20too\x20many\x20failed\x20attempts','vTDKN':function(_0x312008,_0x21112a){return _0x312008===_0x21112a;},'BSozt':_0x264c(0x17),'mCwwD':function(_0x32f18e,_0x491bb2){return _0x32f18e===_0x491bb2;},'Slkln':function(_0x284ad9,_0x2659ce){return _0x284ad9!==_0x2659ce;},'AybsY':'GNPug','PQPdd':_0x264c(0x18)};try{if(_0x5a6a2d['vTDKN']('mDUoF',_0x264c(0x19))){const _0xbdc225=await Keychain['getSupportedBiometryType']();return console[_0x264c(0x1a)](_0x5a6a2d[_0x264c(0x1b)],_0xbdc225),_0x5a6a2d[_0x264c(0x1c)](_0xbdc225,Keychain[_0x264c(0x1d)][_0x264c(0x1e)])||_0x5a6a2d[_0x264c(0x1c)](_0xbdc225,Keychain[_0x264c(0x1d)][_0x264c(0x1f)])||_0xbdc225===Keychain['BIOMETRY_TYPE'][_0x264c(0x20)]||_0x5a6a2d[_0x264c(0x21)](_0xbdc225,Keychain[_0x264c(0x1d)][_0x264c(0x22)])||_0x5a6a2d[_0x264c(0x21)](_0xbdc225,Keychain[_0x264c(0x1d)][_0x264c(0x23)]);}else return _0x20c5c9[_0x264c(0x1a)](_0x5a6a2d[_0x264c(0x24)]),null;}catch(_0x165a25){return _0x5a6a2d[_0x264c(0x25)](_0x264c(0x26),_0x5a6a2d[_0x264c(0x27)])?(console[_0x264c(0x28)](_0x5a6a2d[_0x264c(0x29)],_0x165a25),![]):(_0x40d7a8[_0x264c(0x1a)](_0x5a6a2d['EALHl']),![]);}};exports[_0x264c(0x2a)]=isBiometricAvailable;const storePinWithBiometric=async _0x4bbc5a=>{const _0x16c31f={'aLETk':_0x264c(0x2b),'PWGrW':_0x264c(0x2c),'osfjR':_0x264c(0x2d),'JZzMy':function(_0x3c5f8a,_0x3bf9f1){return _0x3c5f8a!==_0x3bf9f1;},'lboLy':'zWzCT','BlhMl':_0x264c(0x2e),'zzXQJ':function(_0x36f7fd){return _0x36f7fd();},'rCtVH':_0x264c(0x2f),'xeJTo':_0x264c(0x30),'JQCOJ':_0x264c(0x31),'EjbYV':'Cancel','UtUuN':'👤\x20Requesting\x20Face\x20ID\x20authentication...','TmMhF':_0x264c(0x32),'ueNnG':_0x264c(0x33),'INdgE':function(_0x367ea3,_0x15475a){return _0x367ea3!==_0x15475a;},'kXGKC':function(_0x28654b,_0x4fd805){return _0x28654b!==_0x4fd805;},'OutXT':'UserCancel','lUcCj':function(_0x5f03ff,_0x45ea03){return _0x5f03ff===_0x45ea03;},'Hbbkp':_0x264c(0x34),'nmpuB':_0x264c(0x35),'zdTwz':_0x264c(0x36),'UFrLX':_0x264c(0x37),'ndwpp':_0x264c(0x38),'EIDjm':function(_0x578cb0,_0x226d52){return _0x578cb0!==_0x226d52;},'CUqdy':function(_0x12a553,_0x4f7c16){return _0x12a553!==_0x4f7c16;},'aArnz':function(_0x1106ef,_0x3e489d){return _0x1106ef!==_0x3e489d;},'yTYcS':_0x264c(0x39),'ImBdh':function(_0x4475fd,_0x2c1f17){return _0x4475fd===_0x2c1f17;},'scvxL':function(_0x55e91d,_0x50a7a5){return _0x55e91d===_0x50a7a5;},'mbaqU':'gGdlZ','uqvSF':_0x264c(0x3a),'DOmqL':'🔒\x20Face\x20ID\x20locked\x20out\x20-\x20too\x20many\x20failed\x20attempts'};try{if(_0x16c31f['JZzMy'](_0x264c(0x3b),_0x16c31f[_0x264c(0x3c)]))return _0xc0ba29[_0x264c(0x28)](_0x264c(0x18),_0x128c52),![];else{console[_0x264c(0x1a)](_0x16c31f['BlhMl']);const _0x2aea5d=await _0x16c31f[_0x264c(0x3d)](isBiometricAvailable);if(!_0x2aea5d)return console[_0x264c(0x28)](_0x16c31f['rCtVH']),![];console[_0x264c(0x1a)](_0x264c(0x3e));const _0x177250={'accessControl':Keychain[_0x264c(0x3f)][_0x264c(0x40)],'authenticationType':Keychain['AUTHENTICATION_TYPE'][_0x264c(0x41)],'touchID':!![],'showModal':!![],'kLocalizedFallbackTitle':'',..._reactNative[_0x264c(0x42)]['OS']===_0x16c31f['xeJTo']&&{'localizedPrompt':_0x16c31f['JQCOJ'],'localizedCancel':_0x16c31f['EjbYV']},..._reactNative[_0x264c(0x42)]['OS']===_0x264c(0x43)&&{'promptMessage':_0x264c(0x44),'cancelButtonText':_0x16c31f[_0x264c(0x45)]}};console[_0x264c(0x1a)](_0x16c31f['UtUuN']);const _0x5acd89=await Keychain[_0x264c(0x46)](PIN_USERNAME,_0x4bbc5a,{'service':PIN_SERVICE_KEY,..._0x177250});return console[_0x264c(0x1a)](_0x264c(0x47)),console[_0x264c(0x1a)](_0x264c(0x48),_0x5acd89),!![];}}catch(_0x5e53c4){var _0x80864,_0x25dc38,_0x77a25d,_0x2d894f;console[_0x264c(0x28)](_0x16c31f[_0x264c(0x49)],_0x5e53c4),console[_0x264c(0x28)](_0x16c31f[_0x264c(0x4a)],{'message':_0x5e53c4[_0x264c(0x4b)],'code':_0x5e53c4[_0x264c(0x4c)],'domain':_0x5e53c4[_0x264c(0x4d)],'userInfo':_0x5e53c4[_0x264c(0x4e)]});if(_0x5e53c4!==null&&_0x16c31f[_0x264c(0x4f)](_0x5e53c4,void 0x0)&&_0x16c31f[_0x264c(0x50)](_0x80864=_0x5e53c4[_0x264c(0x4b)],null)&&_0x16c31f[_0x264c(0x51)](_0x80864,void 0x0)&&_0x80864[_0x264c(0x52)](_0x16c31f['OutXT'])||_0x16c31f[_0x264c(0x53)](_0x16c31f['lUcCj'](_0x5e53c4,null)||_0x5e53c4===void 0x0?void 0x0:_0x5e53c4[_0x264c(0x4c)],-0x80))return _0x16c31f[_0x264c(0x54)]===_0x16c31f[_0x264c(0x55)]?(_0x4b5c48[_0x264c(0x28)](_0x16c31f['aLETk'],_0x51e5e3),![]):(console[_0x264c(0x1a)](_0x16c31f[_0x264c(0x56)]),![]);else{if(_0x5e53c4!==null&&_0x16c31f['JZzMy'](_0x5e53c4,void 0x0)&&_0x16c31f['INdgE'](_0x25dc38=_0x5e53c4[_0x264c(0x4b)],null)&&_0x25dc38!==void 0x0&&_0x25dc38['includes'](_0x16c31f[_0x264c(0x57)])||(_0x5e53c4===null||_0x16c31f[_0x264c(0x53)](_0x5e53c4,void 0x0)?void 0x0:_0x5e53c4[_0x264c(0x4c)])===-0x6)return _0x16c31f[_0x264c(0x53)](_0x264c(0x58),_0x16c31f[_0x264c(0x59)])?(_0x16a599[_0x264c(0x1a)](_0x16c31f['PWGrW']),![]):(console[_0x264c(0x1a)](_0x16c31f[_0x264c(0x5a)]),![]);else{if(_0x16c31f[_0x264c(0x5b)](_0x5e53c4,null)&&_0x16c31f[_0x264c(0x5b)](_0x5e53c4,void 0x0)&&_0x16c31f[_0x264c(0x5c)](_0x77a25d=_0x5e53c4['message'],null)&&_0x16c31f[_0x264c(0x5d)](_0x77a25d,void 0x0)&&_0x77a25d['includes'](_0x16c31f[_0x264c(0x5e)])||_0x16c31f['ImBdh'](_0x16c31f[_0x264c(0x5f)](_0x5e53c4,null)||_0x16c31f[_0x264c(0x5f)](_0x5e53c4,void 0x0)?void 0x0:_0x5e53c4[_0x264c(0x4c)],-0x1))return _0x16c31f['mbaqU']!==_0x16c31f[_0x264c(0x60)]?(_0x51ff4f[_0x264c(0x1a)](_0x16c31f[_0x264c(0x61)]),![]):(console[_0x264c(0x1a)](_0x16c31f[_0x264c(0x61)]),![]);else{if(_0x16c31f[_0x264c(0x51)](_0x5e53c4,null)&&_0x5e53c4!==void 0x0&&(_0x2d894f=_0x5e53c4[_0x264c(0x4b)])!==null&&_0x16c31f[_0x264c(0x5c)](_0x2d894f,void 0x0)&&_0x2d894f[_0x264c(0x52)](_0x16c31f[_0x264c(0x62)])||_0x16c31f[_0x264c(0x53)](_0x16c31f[_0x264c(0x63)](_0x5e53c4,null)||_0x5e53c4===void 0x0?void 0x0:_0x5e53c4[_0x264c(0x4c)],-0x8))return console[_0x264c(0x1a)](_0x16c31f[_0x264c(0x64)]),![];}}}return console[_0x264c(0x28)](_0x264c(0x65),_0x5e53c4[_0x264c(0x4b)]),![];}};exports[_0x264c(0x66)]=storePinWithBiometric;const retrievePinWithBiometric=async()=>{const _0x21546c={'HyaAK':_0x264c(0x36),'nxoWB':'❌\x20Error\x20retrieving\x20PIN\x20with\x20biometric:','WopOf':function(_0x797d68,_0x309bf7){return _0x797d68!==_0x309bf7;},'pHLRC':_0x264c(0x67),'WbItW':function(_0x23bd75,_0x417366){return _0x23bd75!==_0x417366;},'TlrgS':function(_0x305a6c,_0x561f97){return _0x305a6c!==_0x561f97;},'nVoID':'📱\x20Biometric\x20not\x20available','TzdUt':_0x264c(0x68),'NFvUW':_0x264c(0x69),'iHhus':_0x264c(0x6a),'iDNVD':function(_0x93e01b,_0x3059ab){return _0x93e01b===_0x3059ab;},'noWeW':_0x264c(0x6b),'zPOdl':_0x264c(0x6c),'oqtEe':function(_0x3ebc58,_0x1682ad){return _0x3ebc58!==_0x1682ad;}};try{console[_0x264c(0x1a)](_0x21546c['TzdUt']);const _0x313cf5=await Keychain['getGenericPassword']({'service':PIN_SERVICE_KEY});return _0x313cf5&&_0x313cf5['password']?(console[_0x264c(0x1a)](_0x21546c[_0x264c(0x6d)]),_0x313cf5[_0x264c(0x6e)]):(console[_0x264c(0x1a)](_0x264c(0x6f)),null);}catch(_0x226a53){if(_0x21546c[_0x264c(0x70)]===_0x21546c[_0x264c(0x70)]){var _0x2d95dc,_0x3835f1;console[_0x264c(0x28)](_0x21546c[_0x264c(0x71)],_0x226a53);if(_0x21546c['WbItW'](_0x226a53,null)&&_0x226a53!==void 0x0&&_0x21546c['WbItW'](_0x2d95dc=_0x226a53[_0x264c(0x4b)],null)&&_0x2d95dc!==void 0x0&&_0x2d95dc[_0x264c(0x52)](_0x264c(0x67)))return _0x21546c[_0x264c(0x72)](_0x21546c['noWeW'],_0x264c(0x73))?(_0x26c4ea['log'](_0x21546c[_0x264c(0x74)]),![]):(console[_0x264c(0x1a)](_0x21546c[_0x264c(0x75)]),null);else{if(_0x226a53!==null&&_0x226a53!==void 0x0&&_0x21546c['oqtEe'](_0x3835f1=_0x226a53[_0x264c(0x4b)],null)&&_0x3835f1!==void 0x0&&_0x3835f1[_0x264c(0x52)](_0x264c(0x37)))return console[_0x264c(0x1a)](_0x264c(0x76)),null;}return null;}else{var _0x242d76,_0x1fd84e;_0x57d095['error'](_0x21546c[_0x264c(0x71)],_0x44b2ce);if(_0x21546c[_0x264c(0x77)](_0x3a72dc,null)&&_0x477d88!==void 0x0&&(_0x242d76=_0x225782['message'])!==null&&_0x21546c['WopOf'](_0x242d76,void 0x0)&&_0x242d76['includes'](_0x21546c['pHLRC']))return _0x139d69['log']('👤\x20User\x20cancelled\x20biometric\x20authentication'),null;else{if(_0x21546c[_0x264c(0x78)](_0x4864ce,null)&&_0x21546c['WbItW'](_0x4174ed,void 0x0)&&(_0x1fd84e=_0xc14df3[_0x264c(0x4b)])!==null&&_0x21546c[_0x264c(0x79)](_0x1fd84e,void 0x0)&&_0x1fd84e['includes'](_0x264c(0x37)))return _0x3acdcd[_0x264c(0x1a)](_0x21546c[_0x264c(0x7a)]),null;}return null;}}};exports['retrievePinWithBiometric']=retrievePinWithBiometric;const isPinStored=async()=>{const _0x33b4f8={'OgaCg':function(_0x5bcf88,_0x2f6e13){return _0x5bcf88&&_0x2f6e13;},'mZNmb':function(_0x2a888e,_0x2123ff){return _0x2a888e===_0x2123ff;},'SAkLe':function(_0x56bbd2,_0x1808c3){return _0x56bbd2!=_0x1808c3;},'MHUGg':_0x264c(0x6),'DhmyV':_0x264c(0x7),'QetEX':function(_0xa411b,_0x2a81ed){return _0xa411b!==_0x2a81ed;},'oHSSL':_0x264c(0x7b),'QSaXo':function(_0x5f174c,_0x55e49e,_0x3927e8,_0x4db162){return _0x5f174c(_0x55e49e,_0x3927e8,_0x4db162);},'yzlyy':function(_0x41ba76,_0x281f71){return _0x41ba76==_0x281f71;},'nkiJX':function(_0x441a79,_0x4922cc){return _0x441a79===_0x4922cc;},'yVvfI':_0x264c(0x7c),'uRqSV':_0x264c(0x7d),'uCDOE':_0x264c(0x7e),'gwGNd':'❌\x20Error\x20checking\x20PIN\x20storage:'};try{if(_0x33b4f8[_0x264c(0x7f)](_0x33b4f8['yVvfI'],_0x33b4f8[_0x264c(0x80)])){const _0x277ef4=await Keychain[_0x264c(0x81)]({'service':PIN_SERVICE_KEY});return!!(_0x277ef4&&_0x277ef4['password']);}else return _0x2a7ad9[_0x264c(0x28)](_0x264c(0x2f)),![];}catch(_0x28b17f){if(_0x33b4f8[_0x264c(0x82)]!==_0x33b4f8[_0x264c(0x83)])return console[_0x264c(0x28)](_0x33b4f8[_0x264c(0x84)],_0x28b17f),![];else{const _0x23843f={'NvXaf':function(_0x3b2fa2,_0x458404){return _0x33b4f8[_0x264c(0x85)](_0x3b2fa2,_0x458404);},'FHSLJ':function(_0x527474,_0x47b2a0){return _0x33b4f8[_0x264c(0x86)](_0x527474,_0x47b2a0);},'YLahi':function(_0x30a29e,_0x468cae){return _0x33b4f8['SAkLe'](_0x30a29e,_0x468cae);},'UNmkl':_0x33b4f8['MHUGg'],'PexZh':function(_0x2ec08a,_0xb7a5a3){return _0x33b4f8[_0x264c(0x87)](_0x2ec08a,_0xb7a5a3);},'xhISN':_0x33b4f8[_0x264c(0x88)],'XFhNu':function(_0x35d51a,_0x20b267){return _0x33b4f8[_0x264c(0x89)](_0x35d51a,_0x20b267);},'osiaf':_0x33b4f8['oHSSL'],'DmUUh':function(_0x2fba40,_0x4fd3f7,_0x3a820c,_0x47f49e){return _0x33b4f8['QSaXo'](_0x2fba40,_0x4fd3f7,_0x3a820c,_0x47f49e);}};if(_0x33b4f8[_0x264c(0x8a)](_0x33b4f8['DhmyV'],typeof _0x24fda8))var _0x34c704=new _0x5f23ee(),_0x414a59=new _0x99cc2f();return(_0x4450f7=function(_0x19bdc5,_0x378dcd){if(_0x23843f[_0x264c(0x8b)](!_0x378dcd,_0x19bdc5)&&_0x19bdc5[_0x264c(0xd)])return _0x19bdc5;var _0x16a05c,_0x2cd986,_0x451cff={'__proto__':null,'default':_0x19bdc5};if(_0x23843f[_0x264c(0x8c)](null,_0x19bdc5)||_0x23843f[_0x264c(0x8d)](_0x23843f[_0x264c(0x8e)],typeof _0x19bdc5)&&_0x23843f['PexZh'](_0x23843f[_0x264c(0x8f)],typeof _0x19bdc5))return _0x451cff;if(_0x16a05c=_0x378dcd?_0x414a59:_0x34c704){if(_0x16a05c[_0x264c(0xf)](_0x19bdc5))return _0x16a05c[_0x264c(0x10)](_0x19bdc5);_0x16a05c[_0x264c(0x11)](_0x19bdc5,_0x451cff);}for(const _0x5ea9fd in _0x19bdc5)_0x23843f[_0x264c(0x90)](_0x23843f[_0x264c(0x91)],_0x5ea9fd)&&{}[_0x264c(0x13)]['call'](_0x19bdc5,_0x5ea9fd)&&((_0x2cd986=(_0x16a05c=_0x30d627['defineProperty'])&&_0xcad322[_0x264c(0x92)](_0x19bdc5,_0x5ea9fd))&&(_0x2cd986[_0x264c(0x10)]||_0x2cd986[_0x264c(0x11)])?_0x23843f[_0x264c(0x93)](_0x16a05c,_0x451cff,_0x5ea9fd,_0x2cd986):_0x451cff[_0x5ea9fd]=_0x19bdc5[_0x5ea9fd]);return _0x451cff;})(_0x4ea6ff,_0x48f788);}}};function _0x1054(){const _0x4dea6d=['defineProperty','retrievePinWithBiometric','removePinFromStorage','isPinStored','biometricPinService','pSPiq','object','function','cJYCC','xtVsL','uXQOH','TCmBI','YrYrC','__esModule','MlBZJ','has','get','set','ySceZ','hasOwnProperty','call','NgoGl','user_pin','📱\x20Biometric\x20support:','❌\x20Error\x20checking\x20biometric\x20availability:','mDUoF','log','BSozt','vTDKN','BIOMETRY_TYPE','FACE_ID','TOUCH_ID','FINGERPRINT','mCwwD','FACE','IRIS','uPETJ','Slkln','nPgQF','AybsY','error','PQPdd','isBiometricAvailable','❌\x20Error\x20removing\x20PIN\x20from\x20storage:','📱\x20Face\x20ID/Touch\x20ID\x20not\x20available','đŸšĢ\x20Face\x20ID\x20authentication\x20failed','🔐\x20Starting\x20Face\x20ID\x20authentication\x20for\x20PIN\x20storage...','❌\x20Face\x20ID/Touch\x20ID\x20not\x20available\x20on\x20this\x20device','ios','Authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN','❌\x20Face\x20ID\x20authentication\x20failed:','❌\x20Error\x20details:','JRiaB','oIKap','👤\x20User\x20cancelled\x20Face\x20ID\x20authentication','BiometryNotAvailable','XYOTu','AuthenticationFailed','BiometryLockout','zWzCT','lboLy','zzXQJ','📱\x20Face\x20ID\x20available,\x20showing\x20authentication\x20prompt...','ACCESS_CONTROL','BIOMETRY_CURRENT_SET','BIOMETRICS','Platform','android','Authenticate\x20with\x20biometric\x20to\x20secure\x20your\x20PIN','EjbYV','setGenericPassword','✅\x20Face\x20ID\x20authentication\x20successful\x20-\x20PIN\x20stored\x20securely','🔍\x20Keychain\x20storage\x20result:','TmMhF','ueNnG','message','code','domain','userInfo','JZzMy','INdgE','kXGKC','includes','lUcCj','Hbbkp','nmpuB','zdTwz','UFrLX','OgCvp','ndwpp','PWGrW','EIDjm','CUqdy','aArnz','yTYcS','scvxL','mbaqU','osfjR','uqvSF','ImBdh','DOmqL','❌\x20Unknown\x20Face\x20ID\x20error:','storePinWithBiometric','UserCancel','🔓\x20Retrieving\x20PIN\x20with\x20biometric\x20authentication...','✅\x20PIN\x20retrieved\x20successfully','yovEQ','FCjzf','👤\x20User\x20cancelled\x20biometric\x20authentication','NFvUW','password','âš ī¸\x20No\x20PIN\x20found\x20in\x20secure\x20storage','iHhus','nxoWB','iDNVD','MdrYL','HyaAK','zPOdl','📱\x20Biometric\x20not\x20available','WopOf','WbItW','TlrgS','nVoID','default','OjKCk','zncbG','SVbGE','nkiJX','yVvfI','getGenericPassword','uRqSV','uCDOE','gwGNd','OgaCg','mZNmb','SAkLe','DhmyV','QetEX','yzlyy','NvXaf','FHSLJ','YLahi','UNmkl','xhISN','XFhNu','osiaf','getOwnPropertyDescriptor','DmUUh','đŸ—‘ī¸\x20Removing\x20PIN\x20from\x20secure\x20storage...','resetGenericPassword','VDrro','cHMFS','kdOAi','PcGPO','bPeBr'];_0x1054=function(){return _0x4dea6d;};return _0x1054();}exports['isPinStored']=isPinStored;const removePinFromStorage=async()=>{const _0x62882c={'bPeBr':_0x264c(0x6c),'VDrro':'✅\x20PIN\x20removed\x20successfully','cHMFS':function(_0x4552d2,_0x5decbd){return _0x4552d2!==_0x5decbd;},'kdOAi':'ljzUc','ePrwZ':_0x264c(0x2b)};try{return console[_0x264c(0x1a)](_0x264c(0x94)),await Keychain[_0x264c(0x95)]({'service':PIN_SERVICE_KEY}),console['log'](_0x62882c[_0x264c(0x96)]),!![];}catch(_0x8c0708){return _0x62882c[_0x264c(0x97)](_0x62882c[_0x264c(0x98)],_0x264c(0x99))?(console['error'](_0x62882c['ePrwZ'],_0x8c0708),![]):(_0x400f85[_0x264c(0x1a)](_0x62882c[_0x264c(0x9a)]),null);}};exports['removePinFromStorage']=removePinFromStorage;const biometricPinService=exports['biometricPinService']={'storePinWithBiometric':storePinWithBiometric,'retrievePinWithBiometric':retrievePinWithBiometric,'isPinStored':isPinStored,'removePinFromStorage':removePinFromStorage,'isBiometricAvailable':isBiometricAvailable};
8
+ Object[_0x3ac3(0x0)](exports,_0x3ac3(0x1),{'value':!![]}),exports[_0x3ac3(0x2)]=exports['retrievePinWithBiometric']=exports[_0x3ac3(0x3)]=exports[_0x3ac3(0x4)]=exports[_0x3ac3(0x5)]=exports[_0x3ac3(0x6)]=void 0x0;var Keychain=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _interopRequireWildcard(_0x48d6c4,_0x5d410e){const _0x319b8f={'dezTh':_0x3ac3(0x7),'qkSvH':function(_0x6b42,_0xc801e1){return _0x6b42===_0xc801e1;},'Qicfk':_0x3ac3(0x8),'oeHNb':function(_0x3b715f,_0x2280bb){return _0x3b715f&&_0x2280bb;},'xViNl':function(_0x4d6ae4,_0x12297f){return _0x4d6ae4!=_0x12297f;},'YxqaR':_0x3ac3(0x9),'oQIiF':function(_0x463de9,_0x44f1ca){return _0x463de9!==_0x44f1ca;},'WDXME':_0x3ac3(0xa),'HCLaT':_0x3ac3(0xb),'nsjFt':function(_0x517334,_0x5f3415,_0x32fdd1,_0x217c0f){return _0x517334(_0x5f3415,_0x32fdd1,_0x217c0f);},'zPZfD':function(_0xaaa667,_0x4a3757){return _0xaaa667==_0x4a3757;}};if(_0x319b8f['zPZfD'](_0x319b8f[_0x3ac3(0xc)],typeof WeakMap))var _0x1c15d6=new WeakMap(),_0x16e4ac=new WeakMap();return(_interopRequireWildcard=function(_0x3c908d,_0x5abf32){if(_0x319b8f[_0x3ac3(0xd)](_0x319b8f['Qicfk'],_0x319b8f[_0x3ac3(0xe)])){if(_0x319b8f[_0x3ac3(0xf)](!_0x5abf32,_0x3c908d)&&_0x3c908d[_0x3ac3(0x1)])return _0x3c908d;var _0x3c239b,_0x1ca08c,_0x5865cc={'__proto__':null,'default':_0x3c908d};if(null===_0x3c908d||_0x319b8f[_0x3ac3(0x10)](_0x3ac3(0x11),typeof _0x3c908d)&&_0x319b8f[_0x3ac3(0x10)](_0x319b8f['YxqaR'],typeof _0x3c908d))return _0x5865cc;if(_0x3c239b=_0x5abf32?_0x16e4ac:_0x1c15d6){if(_0x319b8f[_0x3ac3(0x12)](_0x3ac3(0xa),_0x319b8f['WDXME']))return _0x5b1233[_0x3ac3(0x13)](_0x3ac3(0x14)),null;else{if(_0x3c239b[_0x3ac3(0x15)](_0x3c908d))return _0x3c239b['get'](_0x3c908d);_0x3c239b[_0x3ac3(0x16)](_0x3c908d,_0x5865cc);}}for(const _0x3a3ffd in _0x3c908d)_0x319b8f[_0x3ac3(0x17)]!==_0x3a3ffd&&{}['hasOwnProperty'][_0x3ac3(0x18)](_0x3c908d,_0x3a3ffd)&&((_0x1ca08c=(_0x3c239b=Object[_0x3ac3(0x0)])&&Object[_0x3ac3(0x19)](_0x3c908d,_0x3a3ffd))&&(_0x1ca08c[_0x3ac3(0x1a)]||_0x1ca08c[_0x3ac3(0x16)])?_0x319b8f[_0x3ac3(0x1b)](_0x3c239b,_0x5865cc,_0x3a3ffd,_0x1ca08c):_0x5865cc[_0x3a3ffd]=_0x3c908d[_0x3a3ffd]);return _0x5865cc;}else return _0x2a178e[_0x3ac3(0x13)](_0x319b8f['dezTh']),null;})(_0x48d6c4,_0x5d410e);}const PIN_SERVICE_KEY=_0x3ac3(0x1c),PIN_USERNAME=_0x3ac3(0x1d),isBiometricAvailable=async()=>{const _0x1fbdc3={'GtzxH':'📱\x20Biometric\x20support:','zbDMW':function(_0x5f0984,_0x20272f){return _0x5f0984===_0x20272f;},'VDxtB':function(_0x13b76c,_0x13f8e3){return _0x13b76c===_0x13f8e3;},'ZjFrx':function(_0x2a9076,_0x233ea6){return _0x2a9076===_0x233ea6;},'Volnw':_0x3ac3(0x1e)};try{const _0x18f7a6=await Keychain[_0x3ac3(0x1f)]();return console[_0x3ac3(0x13)](_0x1fbdc3['GtzxH'],_0x18f7a6),_0x1fbdc3[_0x3ac3(0x20)](_0x18f7a6,Keychain[_0x3ac3(0x21)]['FACE_ID'])||_0x1fbdc3[_0x3ac3(0x22)](_0x18f7a6,Keychain[_0x3ac3(0x21)][_0x3ac3(0x23)])||_0x1fbdc3[_0x3ac3(0x24)](_0x18f7a6,Keychain[_0x3ac3(0x21)][_0x3ac3(0x25)])||_0x18f7a6===Keychain['BIOMETRY_TYPE'][_0x3ac3(0x26)]||_0x1fbdc3[_0x3ac3(0x20)](_0x18f7a6,Keychain[_0x3ac3(0x21)][_0x3ac3(0x27)]);}catch(_0x42d414){return console[_0x3ac3(0x28)](_0x1fbdc3[_0x3ac3(0x29)],_0x42d414),![];}};exports[_0x3ac3(0x5)]=isBiometricAvailable;const storePinWithBiometric=async _0x47c233=>{const _0x13a3ba={'JZjMc':_0x3ac3(0x2a),'ISvSz':_0x3ac3(0x2b),'RKlCm':_0x3ac3(0x2c),'NpJtr':_0x3ac3(0x2d),'cGETO':function(_0x5b8726,_0x341fd6){return _0x5b8726===_0x341fd6;},'WKkUh':_0x3ac3(0x2e),'NFOva':_0x3ac3(0x2f),'PHjdw':function(_0x32c8f7,_0xa03080){return _0x32c8f7===_0xa03080;},'Jjyvh':_0x3ac3(0x30),'dNfFc':'Authenticate\x20with\x20biometric\x20to\x20secure\x20your\x20PIN','YieCR':_0x3ac3(0x31),'qJUWd':_0x3ac3(0x32),'RoHEr':_0x3ac3(0x33),'zQiis':function(_0xc468f3,_0x10ce92){return _0xc468f3===_0x10ce92;},'OoqzV':_0x3ac3(0x34),'rdXKn':_0x3ac3(0x35),'Fsniy':_0x3ac3(0x36),'DVDmR':'❌\x20Error\x20details:','jXHvX':function(_0x3701cb,_0x24176a){return _0x3701cb!==_0x24176a;},'aMWOg':function(_0x2c0758,_0x9f7f52){return _0x2c0758!==_0x9f7f52;},'mGpJl':function(_0x4993ef,_0xf465b6){return _0x4993ef!==_0xf465b6;},'wWsco':_0x3ac3(0x37),'GhZzH':function(_0xec0963,_0x454a5d){return _0xec0963===_0x454a5d;},'lhRry':function(_0x3f6b41,_0x2a2b0d){return _0x3f6b41===_0x2a2b0d;},'spTfe':'MyvRo','itWVR':_0x3ac3(0x38),'NIpPp':function(_0xdf1a01,_0x31a295){return _0xdf1a01!==_0x31a295;},'YHcBp':function(_0x3dfba4,_0x16dffe){return _0x3dfba4!==_0x16dffe;},'Xkrap':_0x3ac3(0x39),'FXpWe':function(_0x9a51cb,_0x5a0ada){return _0x9a51cb===_0x5a0ada;},'fGonl':_0x3ac3(0x3a),'NrwHf':function(_0x4f6118,_0x9bab60){return _0x4f6118!==_0x9bab60;},'zGdRT':function(_0x57591e,_0x1bc417){return _0x57591e!==_0x1bc417;},'MeEVq':_0x3ac3(0x3b),'drqDJ':function(_0x40903,_0x58180b){return _0x40903===_0x58180b;},'XuTAU':function(_0x33c01d,_0x9732e5){return _0x33c01d!==_0x9732e5;},'LTmlC':function(_0x5d37e0,_0x2b4b88){return _0x5d37e0!==_0x2b4b88;},'kBeQL':_0x3ac3(0x3c),'ZoRbS':function(_0x2619a7,_0x2d502e){return _0x2619a7===_0x2d502e;},'UxOpz':'aWGJU','TsJuk':_0x3ac3(0x3d)};try{console['log'](_0x3ac3(0x3e));const _0x151866=await isBiometricAvailable();if(!_0x151866)return console[_0x3ac3(0x28)](_0x3ac3(0x3f)),![];console[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x40)]);const _0x65fef2={'accessControl':Keychain[_0x3ac3(0x41)]['BIOMETRY_CURRENT_SET'],'authenticationType':Keychain['AUTHENTICATION_TYPE'][_0x3ac3(0x42)],'touchID':!![],'showModal':!![],'kLocalizedFallbackTitle':'',..._0x13a3ba[_0x3ac3(0x43)](_reactNative['Platform']['OS'],_0x13a3ba['WKkUh'])&&{'localizedPrompt':'Authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN','localizedCancel':_0x13a3ba[_0x3ac3(0x44)]},..._0x13a3ba[_0x3ac3(0x45)](_reactNative['Platform']['OS'],_0x13a3ba['Jjyvh'])&&{'promptMessage':_0x13a3ba[_0x3ac3(0x46)],'cancelButtonText':_0x13a3ba[_0x3ac3(0x44)]}};console[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x47)]);const _0x4849a8=await Keychain[_0x3ac3(0x48)](PIN_USERNAME,_0x47c233,{'service':PIN_SERVICE_KEY,..._0x65fef2});return console[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x49)]),console['log'](_0x13a3ba['RoHEr'],_0x4849a8),!![];}catch(_0x1802b8){if(_0x13a3ba[_0x3ac3(0x4a)](_0x13a3ba['OoqzV'],_0x13a3ba[_0x3ac3(0x4b)]))return _0xca311d[_0x3ac3(0x28)](_0x13a3ba[_0x3ac3(0x4c)],_0x5ee397),![];else{var _0xb0acf4,_0x5ccb82,_0x3bf6a3,_0x4584c2;console[_0x3ac3(0x28)](_0x13a3ba['Fsniy'],_0x1802b8),console[_0x3ac3(0x28)](_0x13a3ba[_0x3ac3(0x4d)],{'message':_0x1802b8[_0x3ac3(0x4e)],'code':_0x1802b8['code'],'domain':_0x1802b8[_0x3ac3(0x4f)],'userInfo':_0x1802b8[_0x3ac3(0x50)]});if(_0x13a3ba[_0x3ac3(0x51)](_0x1802b8,null)&&_0x13a3ba[_0x3ac3(0x52)](_0x1802b8,void 0x0)&&_0x13a3ba[_0x3ac3(0x53)](_0xb0acf4=_0x1802b8[_0x3ac3(0x4e)],null)&&_0x13a3ba[_0x3ac3(0x52)](_0xb0acf4,void 0x0)&&_0xb0acf4[_0x3ac3(0x54)](_0x13a3ba[_0x3ac3(0x55)])||_0x13a3ba[_0x3ac3(0x56)](_0x13a3ba['lhRry'](_0x1802b8,null)||_0x13a3ba[_0x3ac3(0x43)](_0x1802b8,void 0x0)?void 0x0:_0x1802b8[_0x3ac3(0x57)],-0x80))return _0x13a3ba[_0x3ac3(0x58)]!==_0x13a3ba[_0x3ac3(0x59)]?(console[_0x3ac3(0x13)](_0x3ac3(0x5a)),![]):(_0x28937e[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x5b)]),![]);else{if(_0x13a3ba['NIpPp'](_0x1802b8,null)&&_0x13a3ba[_0x3ac3(0x5c)](_0x1802b8,void 0x0)&&_0x13a3ba[_0x3ac3(0x5d)](_0x5ccb82=_0x1802b8[_0x3ac3(0x4e)],null)&&_0x13a3ba['NIpPp'](_0x5ccb82,void 0x0)&&_0x5ccb82['includes'](_0x13a3ba[_0x3ac3(0x5e)])||_0x13a3ba[_0x3ac3(0x5f)](_0x13a3ba[_0x3ac3(0x60)](_0x1802b8,null)||_0x13a3ba[_0x3ac3(0x60)](_0x1802b8,void 0x0)?void 0x0:_0x1802b8[_0x3ac3(0x57)],-0x6))return console[_0x3ac3(0x13)](_0x13a3ba['fGonl']),![];else{if(_0x1802b8!==null&&_0x13a3ba['NrwHf'](_0x1802b8,void 0x0)&&(_0x3bf6a3=_0x1802b8[_0x3ac3(0x4e)])!==null&&_0x13a3ba[_0x3ac3(0x61)](_0x3bf6a3,void 0x0)&&_0x3bf6a3[_0x3ac3(0x54)](_0x13a3ba['MeEVq'])||_0x13a3ba[_0x3ac3(0x56)](_0x1802b8===null||_0x13a3ba[_0x3ac3(0x62)](_0x1802b8,void 0x0)?void 0x0:_0x1802b8[_0x3ac3(0x57)],-0x1))return console[_0x3ac3(0x13)](_0x3ac3(0x63)),![];else{if(_0x1802b8!==null&&_0x13a3ba['jXHvX'](_0x1802b8,void 0x0)&&_0x13a3ba['XuTAU'](_0x4584c2=_0x1802b8[_0x3ac3(0x4e)],null)&&_0x13a3ba['LTmlC'](_0x4584c2,void 0x0)&&_0x4584c2['includes'](_0x13a3ba[_0x3ac3(0x64)])||_0x13a3ba[_0x3ac3(0x65)](_0x13a3ba[_0x3ac3(0x65)](_0x1802b8,null)||_0x1802b8===void 0x0?void 0x0:_0x1802b8['code'],-0x8))return _0x13a3ba[_0x3ac3(0x66)](_0x13a3ba[_0x3ac3(0x67)],_0x13a3ba[_0x3ac3(0x67)])?(_0x225311[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x68)]),null):(console[_0x3ac3(0x13)](_0x13a3ba[_0x3ac3(0x5b)]),![]);}}}return console['error'](_0x13a3ba[_0x3ac3(0x69)],_0x1802b8['message']),![];}}};exports[_0x3ac3(0x2)]=storePinWithBiometric;const retrievePinWithBiometric=async()=>{const _0x53fc75={'XIWOm':function(_0x3ebf18,_0x40b9c7){return _0x3ebf18&&_0x40b9c7;},'QXkcr':function(_0x50a43a,_0x3d15f0){return _0x50a43a===_0x3d15f0;},'eBEwX':function(_0x3e7104,_0x3e8035){return _0x3e7104!=_0x3e8035;},'UBYeo':_0x3ac3(0x11),'FHXdT':_0x3ac3(0x9),'AeFZF':_0x3ac3(0xb),'ABZtr':_0x3ac3(0x6a),'xlLsh':_0x3ac3(0x6b),'wsuCw':'reoXL','ErGBF':'JdBfw','dCLmQ':_0x3ac3(0x6c),'qDwRy':_0x3ac3(0x6d),'OolvQ':function(_0xfc3f3,_0x45f552){return _0xfc3f3!==_0x45f552;},'Wbkzr':function(_0x4db4ba,_0x483140){return _0x4db4ba!==_0x483140;},'iAErn':'UserCancel','UbVTw':'BiometryNotAvailable','mXrki':'mBPmO','qGUxP':_0x3ac3(0x7)};try{console[_0x3ac3(0x13)](_0x3ac3(0x6e));const _0x50a8c1=await Keychain['getGenericPassword']({'service':PIN_SERVICE_KEY});if(_0x50a8c1&&_0x50a8c1[_0x3ac3(0x6f)])return console[_0x3ac3(0x13)](_0x53fc75[_0x3ac3(0x70)]),_0x50a8c1[_0x3ac3(0x6f)];else{if(_0x53fc75['QXkcr'](_0x53fc75[_0x3ac3(0x71)],_0x53fc75['ErGBF'])){if(_0x3ef342['has'](_0x418aad))return _0x2a206c[_0x3ac3(0x1a)](_0x7ba0bd);_0x511721[_0x3ac3(0x16)](_0x1ae8b1,_0x53d6c0);}else return console[_0x3ac3(0x13)](_0x3ac3(0x2c)),null;}}catch(_0x119493){if(_0x53fc75['dCLmQ']!=='YYGAT'){if(_0x53fc75[_0x3ac3(0x72)](!_0x3e5131,_0x52908b)&&_0x4b16af[_0x3ac3(0x1)])return _0x101abc;var _0x10c117,_0x16e59,_0x275485={'__proto__':null,'default':_0x1032f2};if(_0x53fc75[_0x3ac3(0x73)](null,_0x352446)||_0x53fc75[_0x3ac3(0x74)](_0x53fc75[_0x3ac3(0x75)],typeof _0x2fea31)&&_0x53fc75[_0x3ac3(0x74)](_0x53fc75[_0x3ac3(0x76)],typeof _0x4d0a43))return _0x275485;if(_0x10c117=_0xc10b08?_0x47625d:_0x157e73){if(_0x10c117[_0x3ac3(0x15)](_0x3ebd66))return _0x10c117['get'](_0x3bf17c);_0x10c117[_0x3ac3(0x16)](_0x3f1929,_0x275485);}for(const _0x9c02b0 in _0x57f03f)_0x53fc75[_0x3ac3(0x77)]!==_0x9c02b0&&{}[_0x3ac3(0x78)][_0x3ac3(0x18)](_0x923a30,_0x9c02b0)&&((_0x16e59=(_0x10c117=_0x52eb42[_0x3ac3(0x0)])&&_0x1bb7e9[_0x3ac3(0x19)](_0x50d973,_0x9c02b0))&&(_0x16e59['get']||_0x16e59['set'])?_0x10c117(_0x275485,_0x9c02b0,_0x16e59):_0x275485[_0x9c02b0]=_0x5e3328[_0x9c02b0]);return _0x275485;}else{var _0x31e6aa,_0x3b4bdd;console[_0x3ac3(0x28)](_0x53fc75[_0x3ac3(0x79)],_0x119493);if(_0x53fc75['OolvQ'](_0x119493,null)&&_0x119493!==void 0x0&&_0x53fc75[_0x3ac3(0x7a)](_0x31e6aa=_0x119493[_0x3ac3(0x4e)],null)&&_0x53fc75[_0x3ac3(0x7b)](_0x31e6aa,void 0x0)&&_0x31e6aa['includes'](_0x53fc75[_0x3ac3(0x7c)]))return console[_0x3ac3(0x13)](_0x3ac3(0x14)),null;else{if(_0x53fc75[_0x3ac3(0x7b)](_0x119493,null)&&_0x53fc75[_0x3ac3(0x7a)](_0x119493,void 0x0)&&(_0x3b4bdd=_0x119493[_0x3ac3(0x4e)])!==null&&_0x53fc75[_0x3ac3(0x7b)](_0x3b4bdd,void 0x0)&&_0x3b4bdd[_0x3ac3(0x54)](_0x53fc75[_0x3ac3(0x7d)]))return _0x53fc75[_0x3ac3(0x7e)]===_0x53fc75['mXrki']?(console['log'](_0x53fc75[_0x3ac3(0x7f)]),null):(_0x5ebcfd[_0x3ac3(0x28)](_0x53fc75[_0x3ac3(0x80)],_0x138782),![]);}return null;}}};exports[_0x3ac3(0x81)]=retrievePinWithBiometric;const isPinStored=async()=>{const _0x560bde={'GwOoq':_0x3ac3(0x6a)};try{const _0x165f13=await Keychain['getGenericPassword']({'service':PIN_SERVICE_KEY});return!!(_0x165f13&&_0x165f13['password']);}catch(_0xefd25b){return console[_0x3ac3(0x28)](_0x560bde[_0x3ac3(0x82)],_0xefd25b),![];}};function _0x1419(){const _0x53a008=['defineProperty','__esModule','storePinWithBiometric','removePinFromStorage','isPinStored','isBiometricAvailable','biometricPinService','📱\x20Biometric\x20not\x20available','mjEmA','function','qklud','default','YxqaR','qkSvH','Qicfk','oeHNb','xViNl','object','oQIiF','log','👤\x20User\x20cancelled\x20biometric\x20authentication','has','set','HCLaT','call','getOwnPropertyDescriptor','get','nsjFt','OnairosEventsPIN','user_pin','❌\x20Error\x20checking\x20biometric\x20availability:','getSupportedBiometryType','zbDMW','BIOMETRY_TYPE','VDxtB','TOUCH_ID','ZjFrx','FINGERPRINT','FACE','IRIS','error','Volnw','❌\x20Error\x20removing\x20PIN\x20from\x20storage:','🔒\x20Face\x20ID\x20locked\x20out\x20-\x20too\x20many\x20failed\x20attempts','âš ī¸\x20No\x20PIN\x20found\x20in\x20secure\x20storage','📱\x20Face\x20ID\x20available,\x20showing\x20authentication\x20prompt...','ios','Cancel','android','👤\x20Requesting\x20Face\x20ID\x20authentication...','✅\x20Face\x20ID\x20authentication\x20successful\x20-\x20PIN\x20stored\x20securely','🔍\x20Keychain\x20storage\x20result:','jSkve','XAWbV','❌\x20Face\x20ID\x20authentication\x20failed:','UserCancel','oHvkq','BiometryNotAvailable','📱\x20Face\x20ID/Touch\x20ID\x20not\x20available','AuthenticationFailed','BiometryLockout','❌\x20Unknown\x20Face\x20ID\x20error:','🔐\x20Starting\x20Face\x20ID\x20authentication\x20for\x20PIN\x20storage...','❌\x20Face\x20ID/Touch\x20ID\x20not\x20available\x20on\x20this\x20device','NpJtr','ACCESS_CONTROL','BIOMETRICS','cGETO','NFOva','PHjdw','dNfFc','YieCR','setGenericPassword','qJUWd','zQiis','rdXKn','JZjMc','DVDmR','message','domain','userInfo','jXHvX','aMWOg','mGpJl','includes','wWsco','GhZzH','code','spTfe','itWVR','👤\x20User\x20cancelled\x20Face\x20ID\x20authentication','ISvSz','YHcBp','NIpPp','Xkrap','lhRry','FXpWe','zGdRT','drqDJ','đŸšĢ\x20Face\x20ID\x20authentication\x20failed','kBeQL','ZoRbS','NrwHf','UxOpz','RKlCm','TsJuk','❌\x20Error\x20checking\x20PIN\x20storage:','✅\x20PIN\x20retrieved\x20successfully','YYGAT','❌\x20Error\x20retrieving\x20PIN\x20with\x20biometric:','🔓\x20Retrieving\x20PIN\x20with\x20biometric\x20authentication...','password','xlLsh','wsuCw','XIWOm','QXkcr','eBEwX','UBYeo','FHXdT','AeFZF','hasOwnProperty','qDwRy','OolvQ','Wbkzr','iAErn','UbVTw','mXrki','qGUxP','ABZtr','retrievePinWithBiometric','GwOoq','vlGTY','đŸ—‘ī¸\x20Removing\x20PIN\x20from\x20secure\x20storage...','fnMRJ','VPnMe','Bfigy','pcZgj','qhDul','TzEjj','QCilB','dlSuV','kzTYl','mooFB','zmnVx','zCfdY','PiNAF','ZduoI'];_0x1419=function(){return _0x53a008;};return _0x1419();}exports[_0x3ac3(0x4)]=isPinStored;const removePinFromStorage=async()=>{const _0x2c5f7d={'qhDul':function(_0xc5e62f,_0x558e05){return _0xc5e62f===_0x558e05;},'TzEjj':function(_0x22e774,_0x4d69ef){return _0x22e774!=_0x4d69ef;},'kTRmT':_0x3ac3(0x11),'QCilB':function(_0x155598,_0x569530){return _0x155598!=_0x569530;},'pcZgj':_0x3ac3(0x9),'dlSuV':function(_0x3b0513,_0x17c394){return _0x3b0513!==_0x17c394;},'kzTYl':function(_0x36a055,_0x4648ae,_0x581a78,_0x3fd2e1){return _0x36a055(_0x4648ae,_0x581a78,_0x3fd2e1);},'Bfigy':function(_0x3f5dea,_0x2ec39f){return _0x3f5dea==_0x2ec39f;},'PiNAF':'❌\x20Error\x20checking\x20biometric\x20availability:','fIwjQ':function(_0x9968ad,_0x4e685f){return _0x9968ad!==_0x4e685f;},'VPnMe':_0x3ac3(0x83),'nDkGB':_0x3ac3(0x84),'mooFB':'✅\x20PIN\x20removed\x20successfully','zmnVx':function(_0x12c869,_0x911199){return _0x12c869!==_0x911199;},'zCfdY':_0x3ac3(0x85),'ZduoI':_0x3ac3(0x2a)};try{if(_0x2c5f7d['fIwjQ'](_0x2c5f7d[_0x3ac3(0x86)],_0x2c5f7d[_0x3ac3(0x86)])){if(_0x2c5f7d[_0x3ac3(0x87)](_0x2c5f7d[_0x3ac3(0x88)],typeof _0x5f33f2))var _0x568bd7=new _0x3065c0(),_0x338ab9=new _0x296ca5();return(_0x48006f=function(_0x5b2e3a,_0x37d5d9){if(!_0x37d5d9&&_0x5b2e3a&&_0x5b2e3a[_0x3ac3(0x1)])return _0x5b2e3a;var _0x4a854f,_0x1e173a,_0x2863aa={'__proto__':null,'default':_0x5b2e3a};if(_0x2c5f7d[_0x3ac3(0x89)](null,_0x5b2e3a)||_0x2c5f7d[_0x3ac3(0x8a)](_0x2c5f7d['kTRmT'],typeof _0x5b2e3a)&&_0x2c5f7d[_0x3ac3(0x8b)](_0x2c5f7d['pcZgj'],typeof _0x5b2e3a))return _0x2863aa;if(_0x4a854f=_0x37d5d9?_0x338ab9:_0x568bd7){if(_0x4a854f[_0x3ac3(0x15)](_0x5b2e3a))return _0x4a854f[_0x3ac3(0x1a)](_0x5b2e3a);_0x4a854f[_0x3ac3(0x16)](_0x5b2e3a,_0x2863aa);}for(const _0x1c56ea in _0x5b2e3a)_0x2c5f7d[_0x3ac3(0x8c)]('default',_0x1c56ea)&&{}[_0x3ac3(0x78)][_0x3ac3(0x18)](_0x5b2e3a,_0x1c56ea)&&((_0x1e173a=(_0x4a854f=_0x4bbc17['defineProperty'])&&_0x41db0d['getOwnPropertyDescriptor'](_0x5b2e3a,_0x1c56ea))&&(_0x1e173a[_0x3ac3(0x1a)]||_0x1e173a[_0x3ac3(0x16)])?_0x2c5f7d[_0x3ac3(0x8d)](_0x4a854f,_0x2863aa,_0x1c56ea,_0x1e173a):_0x2863aa[_0x1c56ea]=_0x5b2e3a[_0x1c56ea]);return _0x2863aa;})(_0x2b9294,_0x2da546);}else return console[_0x3ac3(0x13)](_0x2c5f7d['nDkGB']),await Keychain['resetGenericPassword']({'service':PIN_SERVICE_KEY}),console['log'](_0x2c5f7d[_0x3ac3(0x8e)]),!![];}catch(_0x2c9341){return _0x2c5f7d[_0x3ac3(0x8f)](_0x2c5f7d['zCfdY'],_0x2c5f7d[_0x3ac3(0x90)])?(_0x3ed1f4[_0x3ac3(0x28)](_0x2c5f7d[_0x3ac3(0x91)],_0x28b166),![]):(console[_0x3ac3(0x28)](_0x2c5f7d[_0x3ac3(0x92)],_0x2c9341),![]);}};function _0x3ac3(_0x141986,_0x3ac3a4){_0x141986=_0x141986-0x0;const _0x47efb3=_0x1419();let _0x1e0e2a=_0x47efb3[_0x141986];return _0x1e0e2a;}exports[_0x3ac3(0x3)]=removePinFromStorage;const biometricPinService=exports[_0x3ac3(0x6)]={'storePinWithBiometric':storePinWithBiometric,'retrievePinWithBiometric':retrievePinWithBiometric,'isPinStored':isPinStored,'removePinFromStorage':removePinFromStorage,'isBiometricAvailable':isBiometricAvailable};
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
5
5
  require("react-native")
6
6
  ];
7
7
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
8
- function _0x25d3(_0x2851f7,_0x25d3ba){_0x2851f7=_0x2851f7-0x0;const _0x5bff6e=_0x2851();let _0x1ea752=_0x5bff6e[_0x2851f7];return _0x1ea752;}Object[_0x25d3(0x0)](exports,_0x25d3(0x1),{'value':!![]}),exports[_0x25d3(0x2)]=void 0x0;var _chatGPTConversationService=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1);const useChatGPTConversationExtractor=()=>{const _0x2bb76a={'WPIMV':_0x25d3(0x3),'VuiCR':function(_0x1030ef,_0x2bf668){return _0x1030ef!==_0x2bf668;},'iUWik':function(_0x577b77,_0x16f9c4){return _0x577b77>_0x16f9c4;},'Oszfw':function(_0x20af93,_0x44fa7c){return _0x20af93===_0x44fa7c;},'kvvWP':_0x25d3(0x4),'Vkklx':_0x25d3(0x5),'dHhIL':_0x25d3(0x6),'kDeZa':_0x25d3(0x7),'IJrYg':_0x25d3(0x8),'teaPZ':_0x25d3(0x9),'XmWCj':_0x25d3(0xa),'gitZS':_0x25d3(0xb),'eGdlS':_0x25d3(0xc),'MEGxS':_0x25d3(0xd),'Fvbyg':_0x25d3(0xe),'LsXtx':_0x25d3(0xf),'XvqnM':'❌\x20[CHATGPT_EXTRACTOR]\x20No\x20valid\x20conversations\x20after\x20filtering','iHoRO':'Data\x20Error','nXQKT':'No\x20valid\x20conversations\x20found\x20to\x20export.','mWiuE':function(_0x365baa,_0x37cf4d){return _0x365baa<_0x37cf4d;},'hTEGM':'TrVvl','qxwdW':function(_0x57064b,_0x3462c2){return _0x57064b-_0x3462c2;},'qTWdu':_0x25d3(0x10),'TCnkW':_0x25d3(0x11),'drnak':_0x25d3(0x12),'fYAJT':function(_0xcea031,_0xe0f5a1){return _0xcea031!==_0xe0f5a1;},'gbpDq':_0x25d3(0x13),'PAlaR':'❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20during\x20export:','kCKfI':_0x25d3(0x14),'ieDIh':_0x25d3(0x15),'bIkrS':function(_0x203f66,_0x182f2b){return _0x203f66===_0x182f2b;},'eQxOm':function(_0x112582,_0x339eba){return _0x112582===_0x339eba;},'AlouY':function(_0x1da38b,_0x4c2d6a){return _0x1da38b===_0x4c2d6a;},'jsurX':_0x25d3(0x16),'AySHQ':_0x25d3(0x17),'HBhSa':'📡\x20[CHATGPT_EXTRACTOR]\x20Sending\x20memories\x20to\x20backend...','CMRvi':_0x25d3(0x18),'MVqvr':function(_0x5c5e78,_0xc48973){return _0x5c5e78!==_0xc48973;},'WFHIV':_0x25d3(0x19),'LEUEh':_0x25d3(0x1a)},_0x10c52d=async(_0x5669c8,_0xcec223)=>{const _0x3d672c={'OQvyU':function(_0x411363,_0xc40532){return _0x2bb76a[_0x25d3(0x1b)](_0x411363,_0xc40532);},'BGSNm':function(_0x3685f6,_0x2ddee8){return _0x2bb76a[_0x25d3(0x1c)](_0x3685f6,_0x2ddee8);},'KXhGX':function(_0x28ca89,_0xaced8a){return _0x2bb76a[_0x25d3(0x1d)](_0x28ca89,_0xaced8a);},'Jvuut':_0x2bb76a['kvvWP'],'noFcn':_0x2bb76a[_0x25d3(0x1e)],'AUXWm':'❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20storing\x20memories:','mjeJr':'❌\x20[CHATGPT_EXTRACTOR]\x20Backend\x20storage\x20failed:','KOUru':_0x2bb76a[_0x25d3(0x1f)],'ffwkH':_0x2bb76a[_0x25d3(0x20)],'Zpmmk':_0x2bb76a[_0x25d3(0x21)]};console[_0x25d3(0x22)](_0x2bb76a[_0x25d3(0x23)]),console[_0x25d3(0x22)](_0x2bb76a[_0x25d3(0x24)],_0x5669c8),console['log'](_0x2bb76a[_0x25d3(0x25)],_0xcec223[_0x25d3(0x26)]);if(!_0x5669c8)return console[_0x25d3(0x27)](_0x2bb76a[_0x25d3(0x28)]),_reactNative['Alert']['alert'](_0x2bb76a[_0x25d3(0x29)],_0x2bb76a[_0x25d3(0x2a)],[{'text':'OK','style':_0x2bb76a[_0x25d3(0x21)]}]),![];if(!_0xcec223||_0x2bb76a[_0x25d3(0x1d)](_0xcec223['length'],0x0))return _0x2bb76a[_0x25d3(0x2b)]===_0x25d3(0x2c)?(_0x387dc5['error'](_0x25d3(0x2d),_0x5eedd2),_0x510fc2[_0x25d3(0x2e)][_0x25d3(0x2f)](_0x25d3(0x14),_0x2bb76a[_0x25d3(0x30)],[{'text':'OK','style':'default'}]),![]):(console['log'](_0x25d3(0x31)),!![]);const _0x3d9ba6=_0xcec223[_0x25d3(0x32)](_0x1afebd=>{const _0x5c5d0f={'yYLRW':_0x25d3(0x18),'kZhnR':function(_0x1077af,_0x3c5dc7){return _0x3d672c[_0x25d3(0x33)](_0x1077af,_0x3c5dc7);}},_0x48251a=_0x1afebd[_0x25d3(0x34)]&&_0x1afebd['title']&&Array[_0x25d3(0x35)](_0x1afebd['user_messages'])&&_0x3d672c['BGSNm'](_0x1afebd[_0x25d3(0x36)][_0x25d3(0x26)],0x0);if(!_0x48251a){if(_0x3d672c[_0x25d3(0x37)](_0x3d672c[_0x25d3(0x38)],_0x25d3(0x4)))console['warn'](_0x3d672c[_0x25d3(0x39)],_0x1afebd);else{var _0x30b4fa;return _0x2b95f6[_0x25d3(0x22)](_0x5c5d0f['yYLRW']),(_0x30b4fa=_0xa856a4['data'])!==null&&_0x5c5d0f[_0x25d3(0x3a)](_0x30b4fa,void 0x0)&&_0x30b4fa['memoriesCount']&&_0x2ad367[_0x25d3(0x22)](_0x25d3(0x3b)+_0x28bf88[_0x25d3(0x3c)][_0x25d3(0x3d)]+_0x25d3(0x3e)),!![];}}return _0x48251a;});if(_0x2bb76a[_0x25d3(0x1d)](_0x3d9ba6[_0x25d3(0x26)],0x0))return console['error'](_0x2bb76a[_0x25d3(0x3f)]),_reactNative[_0x25d3(0x2e)][_0x25d3(0x2f)](_0x2bb76a[_0x25d3(0x40)],_0x2bb76a[_0x25d3(0x41)],[{'text':'OK','style':_0x2bb76a[_0x25d3(0x21)]}]),![];if(_0x2bb76a[_0x25d3(0x42)](_0x3d9ba6['length'],_0xcec223[_0x25d3(0x26)])){if(_0x2bb76a['hTEGM']===_0x2bb76a[_0x25d3(0x43)])console[_0x25d3(0x44)](_0x25d3(0x45)+_0x2bb76a[_0x25d3(0x46)](_0xcec223[_0x25d3(0x26)],_0x3d9ba6[_0x25d3(0x26)])+_0x25d3(0x47));else return _0x37d063[_0x25d3(0x27)](_0x3d672c[_0x25d3(0x48)],_0x5f72d),![];}try{console[_0x25d3(0x22)](_0x2bb76a[_0x25d3(0x49)]);const _0x3b9bf5=await(0x0,_chatGPTConversationService['storeChatGPTConversations'])(_0x5669c8,_0x3d9ba6);return _0x3b9bf5[_0x25d3(0x4a)]?(console[_0x25d3(0x22)](_0x2bb76a['TCnkW']),console[_0x25d3(0x22)]('📊\x20[CHATGPT_EXTRACTOR]\x20Backend\x20response:',_0x3b9bf5[_0x25d3(0x3c)]),!![]):(console['error'](_0x2bb76a[_0x25d3(0x4b)],_0x3b9bf5[_0x25d3(0x27)]),_reactNative[_0x25d3(0x2e)][_0x25d3(0x2f)](_0x2bb76a['dHhIL'],_0x3b9bf5[_0x25d3(0x27)]||_0x25d3(0x7),[{'text':'OK','style':_0x2bb76a[_0x25d3(0x21)]}]),![]);}catch(_0x3f3caa){return _0x2bb76a['fYAJT'](_0x2bb76a[_0x25d3(0x4c)],_0x2bb76a[_0x25d3(0x4c)])?(_0x413cfa['error'](_0x3d672c[_0x25d3(0x4d)],_0x345309['error']),_0x37742d[_0x25d3(0x2e)][_0x25d3(0x2f)](_0x3d672c[_0x25d3(0x4e)],_0x9d298a[_0x25d3(0x27)]||_0x3d672c['ffwkH'],[{'text':'OK','style':_0x3d672c[_0x25d3(0x4f)]}]),![]):(console['error'](_0x2bb76a['PAlaR'],_0x3f3caa),_reactNative[_0x25d3(0x2e)][_0x25d3(0x2f)](_0x2bb76a['kCKfI'],_0x2bb76a['WPIMV'],[{'text':'OK','style':_0x2bb76a[_0x25d3(0x21)]}]),![]);}},_0x588fb6=async _0x2492ac=>{const _0x59bd4b={'YSzzD':'â„šī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20memories\x20to\x20store\x20-\x20treating\x20as\x20success'};var _0x58cefd,_0x4d7af5,_0x497490;console['log'](_0x25d3(0x50));if(!_0x2492ac)return console[_0x25d3(0x44)](_0x2bb76a[_0x25d3(0x51)]),![];const _0x4d17de=(_0x2492ac===null||_0x2bb76a[_0x25d3(0x1d)](_0x2492ac,void 0x0)||(_0x58cefd=_0x2492ac[_0x25d3(0x52)])===null||_0x58cefd===void 0x0?void 0x0:_0x58cefd[_0x25d3(0x26)])||0x0,_0x32cf61=(_0x2bb76a[_0x25d3(0x1d)](_0x2492ac,null)||_0x2bb76a[_0x25d3(0x53)](_0x2492ac,void 0x0)||(_0x4d7af5=_0x2492ac['memory_entries'])===null||_0x2bb76a[_0x25d3(0x54)](_0x4d7af5,void 0x0)?void 0x0:_0x4d7af5['length'])||0x0,_0x50cceb=(_0x2bb76a[_0x25d3(0x54)](_0x2492ac,null)||_0x2bb76a[_0x25d3(0x1d)](_0x2492ac,void 0x0)||(_0x497490=_0x2492ac[_0x25d3(0x55)])===null||_0x2bb76a[_0x25d3(0x1d)](_0x497490,void 0x0)?void 0x0:_0x497490['length'])||0x0;console[_0x25d3(0x22)]('📋\x20[CHATGPT_EXTRACTOR]\x20Found\x20'+_0x4d17de+_0x25d3(0x56)+_0x32cf61+'\x20memory\x20entries,\x20'+_0x50cceb+'\x20memories');if(_0x2bb76a[_0x25d3(0x57)](_0x4d17de,0x0)&&_0x32cf61===0x0&&_0x2bb76a[_0x25d3(0x53)](_0x50cceb,0x0))return console[_0x25d3(0x22)](_0x2bb76a['jsurX']),!![];try{if(_0x2bb76a['AlouY'](_0x2bb76a[_0x25d3(0x58)],_0x2bb76a['AySHQ'])){console['log'](_0x2bb76a[_0x25d3(0x59)]);const _0x58725b=await(0x0,_chatGPTConversationService['storeChatGPTMemories'])(_0x2492ac);if(_0x58725b[_0x25d3(0x4a)]){var _0x140d86;return console[_0x25d3(0x22)](_0x2bb76a[_0x25d3(0x5a)]),_0x2bb76a['MVqvr'](_0x140d86=_0x58725b[_0x25d3(0x3c)],null)&&_0x140d86!==void 0x0&&_0x140d86['memoriesCount']&&console[_0x25d3(0x22)](_0x25d3(0x3b)+_0x58725b[_0x25d3(0x3c)][_0x25d3(0x3d)]+_0x25d3(0x3e)),!![];}else return console[_0x25d3(0x27)](_0x2bb76a['WFHIV'],_0x58725b[_0x25d3(0x27)]),![];}else return _0x1d6a9a[_0x25d3(0x22)](_0x59bd4b[_0x25d3(0x5b)]),!![];}catch(_0x29150d){return console[_0x25d3(0x27)](_0x2bb76a['LEUEh'],_0x29150d),![];}};return{'initiateConversationExport':_0x10c52d,'storeMemories':_0x588fb6};};exports[_0x25d3(0x2)]=useChatGPTConversationExtractor;function _0x2851(){const _0x532f5c=['defineProperty','__esModule','useChatGPTConversationExtractor','Failed\x20to\x20connect\x20to\x20the\x20conversation\x20storage\x20service.\x20Please\x20check\x20your\x20network\x20connection.','tXaNA','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20Invalid\x20conversation:','Export\x20Failed','An\x20unknown\x20error\x20occurred\x20during\x20conversation\x20storage.','default','🚀\x20[CHATGPT_EXTRACTOR]\x20Initiating\x20conversation\x20export','👤\x20[CHATGPT_EXTRACTOR]\x20Username:','📊\x20[CHATGPT_EXTRACTOR]\x20Conversations\x20to\x20send:','❌\x20[CHATGPT_EXTRACTOR]\x20Username\x20is\x20required','Error','Username\x20is\x20required\x20to\x20export\x20ChatGPT\x20conversations.','AIvkF','📡\x20[CHATGPT_EXTRACTOR]\x20Sending\x20to\x20backend...','✅\x20[CHATGPT_EXTRACTOR]\x20Export\x20completed\x20successfully','❌\x20[CHATGPT_EXTRACTOR]\x20Backend\x20storage\x20failed:','JvhOf','Export\x20Error','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20memories\x20data\x20provided','â„šī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20memories\x20to\x20store\x20-\x20treating\x20as\x20success','OgnaT','✅\x20[CHATGPT_EXTRACTOR]\x20Memories\x20stored\x20successfully','❌\x20[CHATGPT_EXTRACTOR]\x20Memories\x20storage\x20failed:','❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20storing\x20memories:','VuiCR','iUWik','Oszfw','Vkklx','dHhIL','kDeZa','IJrYg','log','teaPZ','XmWCj','gitZS','length','error','eGdlS','MEGxS','Fvbyg','LsXtx','ZyvuX','❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20during\x20export:','Alert','alert','WPIMV','â„šī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20conversations\x20to\x20export\x20-\x20treating\x20as\x20success\x20(connected)','filter','OQvyU','conversation_id','isArray','user_messages','KXhGX','Jvuut','noFcn','kZhnR','📋\x20[CHATGPT_EXTRACTOR]\x20Backend\x20stored\x20','data','memoriesCount','\x20memories','XvqnM','iHoRO','nXQKT','mWiuE','hTEGM','warn','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20Filtered\x20out\x20','qxwdW','\x20invalid\x20conversations','AUXWm','qTWdu','success','drnak','gbpDq','mjeJr','KOUru','Zpmmk','🧠\x20[CHATGPT_EXTRACTOR]\x20Storing\x20ChatGPT\x20memories...','ieDIh','items','bIkrS','eQxOm','memories','\x20memory\x20items,\x20','AlouY','AySHQ','HBhSa','CMRvi','YSzzD'];_0x2851=function(){return _0x532f5c;};return _0x2851();}
8
+ Object[_0x1a91(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x1a91(0x1)]=void 0x0;var _chatGPTConversationService=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1);function _0x1a91(_0x3d5ddc,_0x1a91dc){_0x3d5ddc=_0x3d5ddc-0x0;const _0x558397=_0x3d5d();let _0x4907c7=_0x558397[_0x3d5ddc];return _0x4907c7;}function _0x3d5d(){const _0x22d073=['defineProperty','useChatGPTConversationExtractor','❌\x20[CHATGPT_EXTRACTOR]\x20Backend\x20storage\x20failed:','Export\x20Failed','default','â„šī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20conversations\x20to\x20export\x20-\x20treating\x20as\x20success\x20(connected)','👤\x20[CHATGPT_EXTRACTOR]\x20Username:','📊\x20[CHATGPT_EXTRACTOR]\x20Conversations\x20to\x20send:','Username\x20is\x20required\x20to\x20export\x20ChatGPT\x20conversations.','❌\x20[CHATGPT_EXTRACTOR]\x20No\x20valid\x20conversations\x20after\x20filtering','📡\x20[CHATGPT_EXTRACTOR]\x20Sending\x20to\x20backend...','✅\x20[CHATGPT_EXTRACTOR]\x20Export\x20completed\x20successfully','📊\x20[CHATGPT_EXTRACTOR]\x20Backend\x20response:','tBRvQ','❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20during\x20export:','Export\x20Error','Failed\x20to\x20connect\x20to\x20the\x20conversation\x20storage\x20service.\x20Please\x20check\x20your\x20network\x20connection.','Error','❌\x20[CHATGPT_EXTRACTOR]\x20Memories\x20storage\x20failed:','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20memories\x20data\x20provided','✅\x20[CHATGPT_EXTRACTOR]\x20Memories\x20stored\x20successfully','kdSga','❌\x20[CHATGPT_EXTRACTOR]\x20Unexpected\x20error\x20storing\x20memories:','log','🚀\x20[CHATGPT_EXTRACTOR]\x20Initiating\x20conversation\x20export','UEqUe','length','❌\x20[CHATGPT_EXTRACTOR]\x20Username\x20is\x20required','alert','ziqDU','EwCcj','filter','conversation_id','title','isArray','user_messages','PZRnH','warn','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20Invalid\x20conversation:','dWZmn','error','rfOGJ','Alert','esbNR','No\x20valid\x20conversations\x20found\x20to\x20export.','âš ī¸\x20[CHATGPT_EXTRACTOR]\x20Filtered\x20out\x20','\x20invalid\x20conversations','success','mwfNT','data','opWZX','rBsJi','An\x20unknown\x20error\x20occurred\x20during\x20conversation\x20storage.','CVCfe','eKSIH','bybbJ','NuamL','Vssil','IMsvu','jcGjC','🧠\x20[CHATGPT_EXTRACTOR]\x20Storing\x20ChatGPT\x20memories...','hVlqO','DRrSh','InHIK','items','ICtOR','memory_entries','FtfmA','HQYva','memories','\x20memory\x20items,\x20','\x20memory\x20entries,\x20','\x20memories','â„šī¸\x20[CHATGPT_EXTRACTOR]\x20No\x20memories\x20to\x20store\x20-\x20treating\x20as\x20success','DiCIQ','EvMKb','📡\x20[CHATGPT_EXTRACTOR]\x20Sending\x20memories\x20to\x20backend...','storeChatGPTMemories','diHMq','WlYnH','memoriesCount','📋\x20[CHATGPT_EXTRACTOR]\x20Backend\x20stored\x20','MsOym','vbgGC','ItEGk','ZcdFn','VKvVE','QvLKG','cKSeM','ofjiw','eprKO','iNPmg'];_0x3d5d=function(){return _0x22d073;};return _0x3d5d();}const useChatGPTConversationExtractor=()=>{const _0x37353c={'PZRnH':function(_0x21b526,_0x157141){return _0x21b526>_0x157141;},'opWZX':_0x1a91(0x2),'rBsJi':_0x1a91(0x3),'EwCcj':_0x1a91(0x4),'DDkvT':_0x1a91(0x5),'EFvIy':_0x1a91(0x6),'UEqUe':_0x1a91(0x7),'ziqDU':_0x1a91(0x8),'dWZmn':function(_0x3d41b1,_0x5dfd7b){return _0x3d41b1===_0x5dfd7b;},'rfOGJ':_0x1a91(0x9),'esbNR':'Data\x20Error','OMXLE':function(_0x758148,_0x649ce){return _0x758148<_0x649ce;},'ILcIH':_0x1a91(0xa),'jcGjC':_0x1a91(0xb),'ygBfG':_0x1a91(0xc),'DiCIQ':function(_0xf95fb2,_0x49f428){return _0xf95fb2===_0x49f428;},'CVCfe':'sHdJO','eKSIH':_0x1a91(0xd),'bybbJ':_0x1a91(0xe),'NuamL':_0x1a91(0xf),'Vssil':_0x1a91(0x10),'XzuhL':_0x1a91(0x11),'IMsvu':_0x1a91(0x12),'DRrSh':_0x1a91(0x13),'InHIK':function(_0x4d1d67,_0x109e9d){return _0x4d1d67===_0x109e9d;},'ICtOR':function(_0x16b681,_0x7971d9){return _0x16b681===_0x7971d9;},'FtfmA':function(_0x419bcc,_0x3af3c2){return _0x419bcc===_0x3af3c2;},'HQYva':function(_0x3d1503,_0x1ba261){return _0x3d1503===_0x1ba261;},'diHMq':_0x1a91(0x14),'WlYnH':function(_0x1c7e59,_0x50cef7){return _0x1c7e59!==_0x50cef7;},'MsOym':'Vgcxw','vbgGC':_0x1a91(0x15),'tSLpH':function(_0x461aaf,_0xce96aa){return _0x461aaf!==_0xce96aa;},'QvLKG':'cKSeM','iNPmg':_0x1a91(0x16)},_0x9134f8=async(_0xd4d54f,_0x4e8002)=>{console[_0x1a91(0x17)](_0x1a91(0x18)),console[_0x1a91(0x17)](_0x37353c['EFvIy'],_0xd4d54f),console['log'](_0x37353c[_0x1a91(0x19)],_0x4e8002[_0x1a91(0x1a)]);if(!_0xd4d54f)return console['error'](_0x1a91(0x1b)),_reactNative['Alert'][_0x1a91(0x1c)](_0x1a91(0x11),_0x37353c[_0x1a91(0x1d)],[{'text':'OK','style':_0x37353c[_0x1a91(0x1e)]}]),![];if(!_0x4e8002||_0x4e8002[_0x1a91(0x1a)]===0x0)return console[_0x1a91(0x17)](_0x1a91(0x5)),!![];const _0x3c5561=_0x4e8002[_0x1a91(0x1f)](_0x4c1206=>{const _0x3e2a09=_0x4c1206[_0x1a91(0x20)]&&_0x4c1206[_0x1a91(0x21)]&&Array[_0x1a91(0x22)](_0x4c1206[_0x1a91(0x23)])&&_0x37353c[_0x1a91(0x24)](_0x4c1206['user_messages'][_0x1a91(0x1a)],0x0);return!_0x3e2a09&&console[_0x1a91(0x25)](_0x1a91(0x26),_0x4c1206),_0x3e2a09;});if(_0x37353c[_0x1a91(0x27)](_0x3c5561[_0x1a91(0x1a)],0x0))return console[_0x1a91(0x28)](_0x37353c[_0x1a91(0x29)]),_reactNative[_0x1a91(0x2a)][_0x1a91(0x1c)](_0x37353c[_0x1a91(0x2b)],_0x1a91(0x2c),[{'text':'OK','style':_0x37353c[_0x1a91(0x1e)]}]),![];_0x37353c['OMXLE'](_0x3c5561[_0x1a91(0x1a)],_0x4e8002[_0x1a91(0x1a)])&&console[_0x1a91(0x25)](_0x1a91(0x2d)+(_0x4e8002[_0x1a91(0x1a)]-_0x3c5561['length'])+_0x1a91(0x2e));try{console['log'](_0x37353c['ILcIH']);const _0x159d11=await(0x0,_chatGPTConversationService['storeChatGPTConversations'])(_0xd4d54f,_0x3c5561);return _0x159d11[_0x1a91(0x2f)]?_0x1a91(0x30)===_0x1a91(0x30)?(console[_0x1a91(0x17)](_0x37353c['jcGjC']),console[_0x1a91(0x17)](_0x37353c['ygBfG'],_0x159d11[_0x1a91(0x31)]),!![]):(_0x5a5579[_0x1a91(0x28)](_0x37353c[_0x1a91(0x32)],_0x1053f1[_0x1a91(0x28)]),_0x12a266[_0x1a91(0x2a)][_0x1a91(0x1c)](_0x37353c[_0x1a91(0x33)],_0x1ea2ca[_0x1a91(0x28)]||_0x1a91(0x34),[{'text':'OK','style':_0x37353c['EwCcj']}]),![]):_0x37353c['DiCIQ'](_0x37353c[_0x1a91(0x35)],_0x37353c[_0x1a91(0x36)])?(_0x5bf24f[_0x1a91(0x17)](_0x37353c['DDkvT']),!![]):(console[_0x1a91(0x28)](_0x37353c[_0x1a91(0x32)],_0x159d11['error']),_reactNative[_0x1a91(0x2a)]['alert'](_0x37353c[_0x1a91(0x33)],_0x159d11[_0x1a91(0x28)]||_0x1a91(0x34),[{'text':'OK','style':_0x37353c[_0x1a91(0x1e)]}]),![]);}catch(_0xfde9e5){return console['error'](_0x37353c[_0x1a91(0x37)],_0xfde9e5),_reactNative[_0x1a91(0x2a)][_0x1a91(0x1c)](_0x37353c[_0x1a91(0x38)],_0x37353c[_0x1a91(0x39)],[{'text':'OK','style':_0x37353c[_0x1a91(0x1e)]}]),![];}},_0xf280a3=async _0x53a0ef=>{const _0x4eee4d={'ItEGk':_0x37353c['XzuhL'],'IAQyU':_0x37353c['ziqDU'],'ZcdFn':'default','VKvVE':_0x37353c[_0x1a91(0x3a)],'ofjiw':_0x37353c[_0x1a91(0x3b)],'eprKO':_0x37353c['ygBfG']};var _0x4468be,_0x4818e7,_0x525a6d;console['log'](_0x1a91(0x3c));if(!_0x53a0ef)return'hVlqO'===_0x1a91(0x3d)?(console['warn'](_0x37353c[_0x1a91(0x3e)]),![]):(_0xafa924[_0x1a91(0x28)](_0x1a91(0xe),_0x3cacbf),_0x35d0ac[_0x1a91(0x2a)][_0x1a91(0x1c)](_0x37353c[_0x1a91(0x38)],_0x37353c[_0x1a91(0x39)],[{'text':'OK','style':_0x37353c[_0x1a91(0x1e)]}]),![]);const _0x262e28=(_0x53a0ef===null||_0x37353c[_0x1a91(0x27)](_0x53a0ef,void 0x0)||_0x37353c[_0x1a91(0x3f)](_0x4468be=_0x53a0ef[_0x1a91(0x40)],null)||_0x37353c[_0x1a91(0x41)](_0x4468be,void 0x0)?void 0x0:_0x4468be[_0x1a91(0x1a)])||0x0,_0x528cb2=(_0x53a0ef===null||_0x37353c[_0x1a91(0x41)](_0x53a0ef,void 0x0)||_0x37353c['ICtOR'](_0x4818e7=_0x53a0ef[_0x1a91(0x42)],null)||_0x37353c[_0x1a91(0x41)](_0x4818e7,void 0x0)?void 0x0:_0x4818e7[_0x1a91(0x1a)])||0x0,_0x53fd24=(_0x37353c[_0x1a91(0x43)](_0x53a0ef,null)||_0x37353c[_0x1a91(0x44)](_0x53a0ef,void 0x0)||_0x37353c[_0x1a91(0x27)](_0x525a6d=_0x53a0ef[_0x1a91(0x45)],null)||_0x37353c[_0x1a91(0x44)](_0x525a6d,void 0x0)?void 0x0:_0x525a6d[_0x1a91(0x1a)])||0x0;console[_0x1a91(0x17)]('📋\x20[CHATGPT_EXTRACTOR]\x20Found\x20'+_0x262e28+_0x1a91(0x46)+_0x528cb2+_0x1a91(0x47)+_0x53fd24+_0x1a91(0x48));if(_0x37353c['dWZmn'](_0x262e28,0x0)&&_0x528cb2===0x0&&_0x37353c[_0x1a91(0x41)](_0x53fd24,0x0))return console[_0x1a91(0x17)](_0x1a91(0x49)),!![];try{if(_0x37353c[_0x1a91(0x4a)]('EvMKb',_0x1a91(0x4b))){console[_0x1a91(0x17)](_0x1a91(0x4c));const _0x5e4ada=await(0x0,_chatGPTConversationService[_0x1a91(0x4d)])(_0x53a0ef);if(_0x5e4ada['success']){var _0x4ed795;return console['log'](_0x37353c[_0x1a91(0x4e)]),(_0x4ed795=_0x5e4ada[_0x1a91(0x31)])!==null&&_0x37353c[_0x1a91(0x4f)](_0x4ed795,void 0x0)&&_0x4ed795[_0x1a91(0x50)]&&console[_0x1a91(0x17)](_0x1a91(0x51)+_0x5e4ada[_0x1a91(0x31)][_0x1a91(0x50)]+_0x1a91(0x48)),!![];}else return _0x37353c[_0x1a91(0x52)]!==_0x37353c[_0x1a91(0x53)]?(console[_0x1a91(0x28)](_0x1a91(0x12),_0x5e4ada[_0x1a91(0x28)]),![]):(_0x39b0c8[_0x1a91(0x28)](_0x1a91(0x1b)),_0x3ab7e0[_0x1a91(0x2a)][_0x1a91(0x1c)](_0x4eee4d[_0x1a91(0x54)],_0x4eee4d['IAQyU'],[{'text':'OK','style':_0x4eee4d[_0x1a91(0x55)]}]),![]);}else return _0x39208b[_0x1a91(0x28)](_0x4eee4d[_0x1a91(0x56)],_0x1c4e76[_0x1a91(0x28)]),![];}catch(_0x5b3ea7){return _0x37353c['tSLpH'](_0x37353c[_0x1a91(0x57)],_0x1a91(0x58))?(_0x3c64d2[_0x1a91(0x17)](_0x4eee4d[_0x1a91(0x59)]),_0x57bfb9[_0x1a91(0x17)](_0x4eee4d[_0x1a91(0x5a)],_0x37de7b[_0x1a91(0x31)]),!![]):(console[_0x1a91(0x28)](_0x37353c[_0x1a91(0x5b)],_0x5b3ea7),![]);}};return{'initiateConversationExport':_0x9134f8,'storeMemories':_0xf280a3};};exports[_0x1a91(0x1)]=useChatGPTConversationExtractor;
@@ -6,4 +6,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
6
6
  require("react-native")
7
7
  ];
8
8
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
9
- function _0x5463(){const _0x370df3=['defineProperty','storeChatGPTMemories','storeChatGPTConversations','🚀\x20[CHATGPT_SERVICE]\x20Storing\x20ChatGPT\x20conversations\x20for:','📊\x20[CHATGPT_SERVICE]\x20Total\x20messages:','❌\x20[CHATGPT_SERVICE]\x20Invalid\x20input','Invalid\x20input:\x20userId\x20or\x20conversations\x20missing.','bmYVM','❌\x20[CHATGPT_SERVICE]\x20No\x20auth\x20token\x20found\x20in\x20any\x20storage\x20key','1.0.0','ios','iPhone','mobile-chatgpt','OCfrl','yiRHW','rHhej','NphlH','❌\x20[CHATGPT_SERVICE]\x20Network\x20error:','log','CPZsn','ydaQL','reduce','length','fQXGJ','KOyzx','❌\x20[CHATGPT_SERVICE]\x20Memories\x20network\x20error:','message','USASn','getItem','onairos_jwt_token','default','nUtYi','GhBuL','AwkpH','YkBRA','lhkhp','__esModule','🔑\x20[CHATGPT_SERVICE]\x20Auth\x20token\x20found\x20for\x20conversations','Platform','odVhR','kmGnZ','cBUdU','user_messages','map','conversation_id','-msg-','user','toISOString','title','floor','KABNr','jPmDF','FzamL','📡\x20[CHATGPT_SERVICE]\x20Sending\x20conversation\x20','PSKPp','API_CONFIG','BASE_URL','/llm-data/store','Bearer\x20','OnairosSDK/1.0.0\x20(','stringify','json','✅\x20[CHATGPT_SERVICE]\x20Sent\x20conversation\x20','gTJrf','warn','âš ī¸\x20[CHATGPT_SERVICE]\x20Failed\x20conversation\x20','error','status','âš ī¸\x20[CHATGPT_SERVICE]\x20Network\x20error\x20for\x20conversation\x20','kiyLy','bRTdM','dXwet','Stored\x20','\x20of\x20','📊\x20[CHATGPT_SERVICE]\x20Complete:\x20','\x20success,\x20','\x20failed','vcZaz','ItJBy','KgDKC','LerlX','\x20conversations','zqmeG','AfHrn','uQVQz','\x20errors)','DKkvR','DeQKb','jbpDZ','Network\x20error.\x20Please\x20check\x20your\x20connection.','🧠\x20[CHATGPT_SERVICE]\x20Storing\x20ChatGPT\x20memories...','❌\x20[CHATGPT_SERVICE]\x20Invalid\x20input:\x20memoriesData\x20missing','Invalid\x20input:\x20memoriesData\x20missing.','enoch_token','🔑\x20[CHATGPT_SERVICE]\x20Auth\x20token\x20found\x20for\x20memories','qozre','Memories\x20stored\x20successfully','BgNsJ','vTyOw','items','SUFQY','whoCi','memory_entries','gPama','nnPfH','memories','PiZoq','📋\x20[CHATGPT_SERVICE]\x20Found\x20','dmYQo','kILDS','KylOW','FdcwF','Authentication\x20token\x20not\x20found.\x20Please\x20log\x20in\x20again.','zFyOM','keys','📡\x20[CHATGPT_SERVICE]\x20Sending\x20memories\x20to\x20backend...','/llm-data/store-memories','join','OnairosSDK/','📝\x20[CHATGPT_SERVICE]\x20Backend\x20response:\x20','data','jybzk','memoriesCount','âš ī¸\x20[CHATGPT_SERVICE]\x20Error:\x20','HTTP\x20'];_0x5463=function(){return _0x370df3;};return _0x5463();}Object[_0x5a11(0x0)](exports,'__esModule',{'value':!![]}),exports[_0x5a11(0x1)]=exports[_0x5a11(0x2)]=void 0x0;var _api=__ONAIROS_REQ_FUNC__(0x0),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_reactNative=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x4bd3e7){return _0x4bd3e7&&_0x4bd3e7['__esModule']?_0x4bd3e7:{'default':_0x4bd3e7};}const storeChatGPTConversations=async(_0x19745c,_0x87085f)=>{const _0x5b1bbd={'USASn':'Network\x20error.\x20Please\x20check\x20your\x20connection.','gTJrf':function(_0x4eb4e5,_0x5bb120){return _0x4eb4e5+_0x5bb120;},'CPZsn':_0x5a11(0x3),'ydaQL':_0x5a11(0x4),'fQXGJ':function(_0x37cae6,_0x1390fd){return _0x37cae6||_0x1390fd;},'yrNlz':function(_0x2274b1,_0x17cc4f){return _0x2274b1===_0x17cc4f;},'KOyzx':function(_0x1eada5,_0x1cdcdc){return _0x1eada5!==_0x1cdcdc;},'MIQHq':'ZTWCx','DfUou':_0x5a11(0x5),'qUyjK':_0x5a11(0x6),'nUtYi':'enoch_token','GhBuL':'auth_token','AwkpH':function(_0x5d0f84,_0x28d10b){return _0x5d0f84===_0x28d10b;},'lhkhp':_0x5a11(0x7),'HRPUc':_0x5a11(0x8),'odVhR':_0x5a11(0x9),'kmGnZ':'17.0','dKeKF':_0x5a11(0xa),'cBUdU':_0x5a11(0xb),'Tjhgm':'Android','KABNr':function(_0x407b19,_0x4bca01){return _0x407b19/_0x4bca01;},'jPmDF':_0x5a11(0xc),'FzamL':'conversation','PSKPp':function(_0x38bded,_0x2324bd,_0x2b4671){return _0x38bded(_0x2324bd,_0x2b4671);},'kiyLy':function(_0x181a8d,_0x39c8e5){return _0x181a8d<_0x39c8e5;},'bRTdM':function(_0x29eb1f,_0x23e3a6){return _0x29eb1f-_0x23e3a6;},'dXwet':'QoXpj','vcZaz':function(_0x3991a4,_0x5568be){return _0x3991a4>_0x5568be;},'ItJBy':function(_0x2ffa27,_0x32254e){return _0x2ffa27===_0x32254e;},'KgDKC':'vORuR','LerlX':_0x5a11(0xd),'zqmeG':function(_0x23145f,_0x1b8fae){return _0x23145f===_0x1b8fae;},'AfHrn':'fzSjl','uQVQz':_0x5a11(0xe),'DKkvR':_0x5a11(0xf),'DeQKb':_0x5a11(0x10),'jbpDZ':_0x5a11(0x11)};console[_0x5a11(0x12)](_0x5b1bbd[_0x5a11(0x13)],_0x19745c),console[_0x5a11(0x12)]('📊\x20[CHATGPT_SERVICE]\x20Number\x20of\x20conversations:',_0x87085f['length']),console[_0x5a11(0x12)](_0x5b1bbd[_0x5a11(0x14)],_0x87085f[_0x5a11(0x15)]((_0x1fa620,_0x124810)=>_0x1fa620+_0x124810['user_messages'][_0x5a11(0x16)],0x0));if(_0x5b1bbd[_0x5a11(0x17)](!_0x19745c,!_0x87085f)||_0x5b1bbd['yrNlz'](_0x87085f[_0x5a11(0x16)],0x0))return _0x5b1bbd[_0x5a11(0x18)](_0x5b1bbd['MIQHq'],_0x5b1bbd['MIQHq'])?(_0x5556b1['error'](_0x5a11(0x19),_0x12a1b0),{'success':![],'error':_0x56e49a[_0x5a11(0x1a)]||_0x5b1bbd[_0x5a11(0x1b)]}):(console['error'](_0x5b1bbd['DfUou']),{'success':![],'error':_0x5b1bbd['qUyjK']});try{const _0x3145d1=await _asyncStorage['default'][_0x5a11(0x1c)](_0x5a11(0x1d))||await _asyncStorage[_0x5a11(0x1e)][_0x5a11(0x1c)](_0x5b1bbd[_0x5a11(0x1f)])||await _asyncStorage['default']['getItem'](_0x5b1bbd[_0x5a11(0x20)]);if(!_0x3145d1)return _0x5b1bbd[_0x5a11(0x21)](_0x5a11(0x22),_0x5b1bbd[_0x5a11(0x23)])?_0x3dda63&&_0x4ed3bd[_0x5a11(0x24)]?_0x45c9e8:{'default':_0x14db6b}:(console['error'](_0x5b1bbd['HRPUc']),{'success':![],'error':'Authentication\x20token\x20not\x20found.\x20Please\x20log\x20in\x20again.'});console[_0x5a11(0x12)](_0x5a11(0x25));const _0x14b7f8={'platform':_reactNative[_0x5a11(0x26)]['OS'],'appVersion':_0x5b1bbd[_0x5a11(0x27)],'osVersion':_0x5b1bbd['AwkpH'](_reactNative[_0x5a11(0x26)]['OS'],_0x5a11(0xa))?_0x5b1bbd[_0x5a11(0x28)]:_reactNative['Platform']['OS'],'deviceModel':_0x5b1bbd[_0x5a11(0x21)](_reactNative['Platform']['OS'],_0x5b1bbd['dKeKF'])?_0x5b1bbd[_0x5a11(0x29)]:_0x5b1bbd['Tjhgm'],'isOfflineSync':![]};let _0x5df1ea=0x0,_0x57720e=0x0;for(let _0x2c3ed3=0x0;_0x2c3ed3<_0x87085f[_0x5a11(0x16)];_0x2c3ed3++){const _0x50f1b3=_0x87085f[_0x2c3ed3],_0x18cd04=Date['now'](),_0x1d6681=_0x50f1b3[_0x5a11(0x2a)][_0x5a11(0x2b)]((_0x513901,_0x3b87d8)=>({'id':_0x50f1b3[_0x5a11(0x2c)]+_0x5a11(0x2d)+_0x3b87d8,'role':_0x5a11(0x2e),'content':_0x513901,'timestamp':new Date(_0x18cd04-(_0x50f1b3[_0x5a11(0x2a)]['length']-_0x3b87d8)*0x3e8)[_0x5a11(0x2f)](),'metadata':{}})),_0x40d07f={'conversationId':_0x50f1b3[_0x5a11(0x2c)],'messages':_0x1d6681,'context':{'title':_0x50f1b3[_0x5a11(0x30)],'create_time':Math[_0x5a11(0x31)](_0x5b1bbd[_0x5a11(0x32)](_0x18cd04,0x3e8)),'update_time':Math[_0x5a11(0x31)](_0x5b1bbd[_0x5a11(0x32)](_0x18cd04,0x3e8))},'mobileMetadata':_0x14b7f8},_0x9a7a07={'platform':_0x5b1bbd[_0x5a11(0x33)],'conversationData':_0x40d07f,'memoryType':_0x5b1bbd[_0x5a11(0x34)]};console['log'](_0x5a11(0x35)+(_0x2c3ed3+0x1)+'/'+_0x87085f[_0x5a11(0x16)]+':\x20'+_0x50f1b3[_0x5a11(0x30)]);try{const _0x9e0067=await _0x5b1bbd[_0x5a11(0x36)](fetch,_api[_0x5a11(0x37)][_0x5a11(0x38)]+_0x5a11(0x39),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x5a11(0x3a)+_0x3145d1,'User-Agent':_0x5a11(0x3b)+_reactNative[_0x5a11(0x26)]['OS']+')'},'body':JSON[_0x5a11(0x3c)](_0x9a7a07)}),_0x374dd5=await _0x9e0067[_0x5a11(0x3d)]();_0x9e0067['ok']?(console[_0x5a11(0x12)](_0x5a11(0x3e)+_0x5b1bbd[_0x5a11(0x3f)](_0x2c3ed3,0x1)+'/'+_0x87085f[_0x5a11(0x16)]),_0x5df1ea++):(console[_0x5a11(0x40)](_0x5a11(0x41)+_0x5b1bbd['gTJrf'](_0x2c3ed3,0x1)+'/'+_0x87085f[_0x5a11(0x16)]+':',_0x374dd5[_0x5a11(0x42)]||_0x9e0067[_0x5a11(0x43)]),_0x57720e++);}catch(_0x5e29f8){console['warn'](_0x5a11(0x44)+(_0x2c3ed3+0x1)+':',_0x5e29f8),_0x57720e++;}if(_0x5b1bbd[_0x5a11(0x45)](_0x2c3ed3,_0x5b1bbd[_0x5a11(0x46)](_0x87085f['length'],0x1))){if(_0x5b1bbd[_0x5a11(0x47)]===_0x5b1bbd[_0x5a11(0x47)])await new Promise(_0x4c842b=>setTimeout(_0x4c842b,0x12c));else return{'success':!![],'message':_0x5a11(0x48)+_0x37a36a+_0x5a11(0x49)+_0x4bc39e[_0x5a11(0x16)]+'\x20conversations'};}}console['log'](_0x5a11(0x4a)+_0x5df1ea+_0x5a11(0x4b)+_0x57720e+_0x5a11(0x4c));if(_0x5b1bbd[_0x5a11(0x4d)](_0x5df1ea,0x0))return _0x5b1bbd[_0x5a11(0x4e)](_0x5b1bbd[_0x5a11(0x4f)],_0x5b1bbd[_0x5a11(0x50)])?(_0x42cacf[_0x5a11(0x42)]('❌\x20[CHATGPT_SERVICE]\x20Network\x20error:',_0x1cbb8e),{'success':![],'error':_0x433d39['message']||_0x5b1bbd[_0x5a11(0x1b)]}):{'success':!![],'message':_0x5a11(0x48)+_0x5df1ea+_0x5a11(0x49)+_0x87085f['length']+_0x5a11(0x51)};else{if(_0x5b1bbd[_0x5a11(0x52)](_0x5b1bbd[_0x5a11(0x53)],_0x5b1bbd[_0x5a11(0x54)]))_0x125ee3[_0x5a11(0x40)]('âš ī¸\x20[CHATGPT_SERVICE]\x20Network\x20error\x20for\x20conversation\x20'+_0x5b1bbd[_0x5a11(0x3f)](_0x4a7a42,0x1)+':',_0x1ca9c8),_0x68cc98++;else return{'success':![],'error':'Failed\x20to\x20store\x20conversations\x20('+_0x57720e+_0x5a11(0x55)};}}catch(_0x2bac73){if(_0x5b1bbd[_0x5a11(0x18)](_0x5b1bbd[_0x5a11(0x56)],_0x5b1bbd[_0x5a11(0x57)]))return console[_0x5a11(0x42)](_0x5b1bbd[_0x5a11(0x58)],_0x2bac73),{'success':![],'error':_0x2bac73[_0x5a11(0x1a)]||_0x5a11(0x59)};else _0x2de384[_0x5a11(0x12)](_0x5a11(0x3e)+(_0x38481a+0x1)+'/'+_0x3a6562['length']),_0x37f529++;}};exports['storeChatGPTConversations']=storeChatGPTConversations;const storeChatGPTMemories=async _0x1d9508=>{const _0x59aa85={'BgNsJ':_0x5a11(0x5a),'xtoNZ':function(_0xe40c67,_0x41891a){return _0xe40c67===_0x41891a;},'vTyOw':function(_0x1a0d06,_0x20f0c3){return _0x1a0d06===_0x20f0c3;},'SUFQY':function(_0x471b26,_0x44e1be){return _0x471b26===_0x44e1be;},'whoCi':function(_0x4021a6,_0x334439){return _0x4021a6===_0x334439;},'gPama':function(_0x5bc6df,_0x586147){return _0x5bc6df===_0x586147;},'nnPfH':function(_0x43dd93,_0x15c2ca){return _0x43dd93===_0x15c2ca;},'PiZoq':function(_0x37cad7,_0x3f3e10){return _0x37cad7+_0x3f3e10;},'dmYQo':_0x5a11(0x5b),'kILDS':_0x5a11(0x5c),'gPgBo':_0x5a11(0x1d),'KylOW':_0x5a11(0x5d),'FdcwF':'❌\x20[CHATGPT_SERVICE]\x20No\x20auth\x20token\x20found\x20in\x20any\x20storage\x20key','FFArA':_0x5a11(0x5e),'zFyOM':'mobile-chatgpt','OPWIU':function(_0x527a53,_0x3dd9ec){return _0x527a53||_0x3dd9ec;},'cIbXs':function(_0x370efe,_0x1baccc,_0xf07b0){return _0x370efe(_0x1baccc,_0xf07b0);},'deUPE':function(_0x1e97da,_0xfd5f8e){return _0x1e97da!==_0xfd5f8e;},'jybzk':_0x5a11(0x5f),'rzwxQ':_0x5a11(0x60)};var _0x15615f,_0x42a740,_0x458078;console[_0x5a11(0x12)](_0x59aa85[_0x5a11(0x61)]);const _0x5d273b=(_0x59aa85['xtoNZ'](_0x1d9508,null)||_0x59aa85[_0x5a11(0x62)](_0x1d9508,void 0x0)||(_0x15615f=_0x1d9508[_0x5a11(0x63)])===null||_0x59aa85['xtoNZ'](_0x15615f,void 0x0)?void 0x0:_0x15615f['length'])||0x0,_0x4f9926=(_0x59aa85[_0x5a11(0x64)](_0x1d9508,null)||_0x59aa85[_0x5a11(0x64)](_0x1d9508,void 0x0)||_0x59aa85[_0x5a11(0x65)](_0x42a740=_0x1d9508[_0x5a11(0x66)],null)||_0x59aa85[_0x5a11(0x67)](_0x42a740,void 0x0)?void 0x0:_0x42a740[_0x5a11(0x16)])||0x0,_0x1a4c60=(_0x59aa85[_0x5a11(0x68)](_0x1d9508,null)||_0x59aa85[_0x5a11(0x68)](_0x1d9508,void 0x0)||(_0x458078=_0x1d9508[_0x5a11(0x69)])===null||_0x458078===void 0x0?void 0x0:_0x458078['length'])||0x0,_0x436986=_0x59aa85[_0x5a11(0x6a)](_0x59aa85['PiZoq'](_0x5d273b,_0x4f9926),_0x1a4c60);console[_0x5a11(0x12)](_0x5a11(0x6b)+_0x5d273b+'\x20items,\x20'+_0x4f9926+'\x20entries,\x20'+_0x1a4c60+'\x20memories\x20(total:\x20'+_0x436986+')');if(!_0x1d9508)return console[_0x5a11(0x42)](_0x59aa85[_0x5a11(0x6c)]),{'success':![],'error':_0x59aa85[_0x5a11(0x6d)]};try{const _0x4f7dde=await _asyncStorage[_0x5a11(0x1e)][_0x5a11(0x1c)](_0x59aa85['gPgBo'])||await _asyncStorage[_0x5a11(0x1e)][_0x5a11(0x1c)](_0x59aa85[_0x5a11(0x6e)])||await _asyncStorage[_0x5a11(0x1e)]['getItem']('auth_token');if(!_0x4f7dde)return console[_0x5a11(0x42)](_0x59aa85[_0x5a11(0x6f)]),{'success':![],'error':_0x5a11(0x70)};console[_0x5a11(0x12)](_0x59aa85['FFArA']);const _0x94f008=_0x5a11(0x9),_0x1c4698={'platform':_0x59aa85[_0x5a11(0x71)],'memoriesData':_0x1d9508,'metadata':{'source':'react-native-sdk','appVersion':_0x94f008,'fetchedAt':new Date()[_0x5a11(0x2f)]()}},_0x56b474=Object[_0x5a11(0x72)](_0x59aa85['OPWIU'](_0x1d9508,{}));console[_0x5a11(0x12)](_0x5a11(0x73)),console['log']('📍\x20[CHATGPT_SERVICE]\x20URL:\x20'+_api[_0x5a11(0x37)][_0x5a11(0x38)]+_0x5a11(0x74)),console[_0x5a11(0x12)]('đŸ“Ļ\x20[CHATGPT_SERVICE]\x20Raw\x20memoriesData\x20keys:\x20'+_0x56b474[_0x5a11(0x75)](',\x20')),console[_0x5a11(0x12)]('đŸ“Ļ\x20[CHATGPT_SERVICE]\x20Raw\x20response\x20sent\x20as-is\x20(no\x20transformation)');const _0x5185fb=await _0x59aa85['cIbXs'](fetch,_api[_0x5a11(0x37)][_0x5a11(0x38)]+'/llm-data/store-memories',{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x5a11(0x3a)+_0x4f7dde,'User-Agent':_0x5a11(0x76)+_0x94f008+'\x20('+_reactNative[_0x5a11(0x26)]['OS']+')'},'body':JSON[_0x5a11(0x3c)](_0x1c4698)}),_0x28a1ab=await _0x5185fb['json']();if(_0x5185fb['ok']){var _0x1504aa;return console[_0x5a11(0x12)]('✅\x20[CHATGPT_SERVICE]\x20Successfully\x20sent\x20memories\x20to\x20backend'),_0x28a1ab[_0x5a11(0x1a)]&&console[_0x5a11(0x12)](_0x5a11(0x77)+_0x28a1ab['message']),_0x59aa85['deUPE'](_0x1504aa=_0x28a1ab[_0x5a11(0x78)],null)&&_0x1504aa!==void 0x0&&_0x1504aa['memoriesCount']&&('KGOjd'===_0x59aa85[_0x5a11(0x79)]?(_0x2adb9e[_0x5a11(0x40)](_0x5a11(0x41)+(_0x313f63+0x1)+'/'+_0x25f014[_0x5a11(0x16)]+':',_0x540dcb[_0x5a11(0x42)]||_0x3f89ea['status']),_0x16545b++):console['log']('📋\x20[CHATGPT_SERVICE]\x20Stored\x20'+_0x28a1ab[_0x5a11(0x78)][_0x5a11(0x7a)]+'\x20memory\x20items\x20in\x20database')),{'success':!![],'message':_0x28a1ab[_0x5a11(0x1a)]||_0x59aa85['rzwxQ'],'data':_0x28a1ab['data']};}else return console['warn']('âš ī¸\x20[CHATGPT_SERVICE]\x20Memories\x20backend\x20returned\x20status:\x20'+_0x5185fb['status']),console['warn'](_0x5a11(0x7b)+(_0x28a1ab[_0x5a11(0x42)]||'Unknown\x20error')),{'success':![],'error':_0x28a1ab[_0x5a11(0x42)]||_0x5a11(0x7c)+_0x5185fb[_0x5a11(0x43)]};}catch(_0x26ef4a){return console[_0x5a11(0x42)](_0x5a11(0x19),_0x26ef4a),{'success':![],'error':_0x26ef4a[_0x5a11(0x1a)]||_0x5a11(0x59)};}};function _0x5a11(_0x5463c0,_0x5a11c5){_0x5463c0=_0x5463c0-0x0;const _0x4dd258=_0x5463();let _0x1b0d84=_0x4dd258[_0x5463c0];return _0x1b0d84;}exports[_0x5a11(0x1)]=storeChatGPTMemories;
9
+ Object[_0x4e3b(0x0)](exports,_0x4e3b(0x1),{'value':!![]}),exports[_0x4e3b(0x2)]=exports['storeChatGPTConversations']=void 0x0;var _api=__ONAIROS_REQ_FUNC__(0x0),_asyncStorage=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x1)),_reactNative=__ONAIROS_REQ_FUNC__(0x2);function _interopRequireDefault(_0x304677){return _0x304677&&_0x304677[_0x4e3b(0x1)]?_0x304677:{'default':_0x304677};}function _0x4dda(){const _0x1eb99e=['defineProperty','__esModule','storeChatGPTMemories','Unknown\x20error','❌\x20[CHATGPT_SERVICE]\x20No\x20auth\x20token\x20found\x20in\x20any\x20storage\x20key','❌\x20[CHATGPT_SERVICE]\x20Memories\x20network\x20error:','Invalid\x20input:\x20memoriesData\x20missing.','📊\x20[CHATGPT_SERVICE]\x20Number\x20of\x20conversations:','📊\x20[CHATGPT_SERVICE]\x20Total\x20messages:','fnvDY','Invalid\x20input:\x20userId\x20or\x20conversations\x20missing.','onairos_jwt_token','auth_token','DKjsn','🔑\x20[CHATGPT_SERVICE]\x20Auth\x20token\x20found\x20for\x20conversations','1.0.0','17.0','iPhone','gcwEA','mobile-chatgpt','conversation','BPwHt','kPDJD','BWTXx','IVOjr','log','MDpGG','oHVNK','length','KHdMa','TaktO','warn','âš ī¸\x20[CHATGPT_SERVICE]\x20Error:\x20','JxfNl','HTTP\x20','status','byFMZ','GMxfo','default','getItem','OwkxX','rshVD','lWnuL','TJQBm','IfvnR','NknOr','error','VzSrq','Authentication\x20token\x20not\x20found.\x20Please\x20log\x20in\x20again.','ScwYi','Platform','sqsfP','nBxyG','eTBxo','ios','Android','XmhCv','thjQp','now','user_messages','user','toISOString','conversation_id','floor','repvU','vdggW','HqItW','title','API_CONFIG','/llm-data/store','Bearer\x20','OnairosSDK/1.0.0\x20(','stringify','json','TKKJC','Stored\x20','\x20of\x20','\x20conversations','VptrC','NQbzR','gQGqf','âš ī¸\x20[CHATGPT_SERVICE]\x20Network\x20error\x20for\x20conversation\x20','lYSFy','zfzxt','oxBbR','message','📊\x20[CHATGPT_SERVICE]\x20Complete:\x20','\x20success,\x20','\x20failed','SneGU','Failed\x20to\x20store\x20conversations\x20(','\x20errors)','WmTwi','okBnd','wASnQ','❌\x20[CHATGPT_SERVICE]\x20Network\x20error:','oaXjJ','Whevg','Network\x20error.\x20Please\x20check\x20your\x20connection.','❌\x20[CHATGPT_SERVICE]\x20Invalid\x20input:\x20memoriesData\x20missing','MNVFK','✅\x20[CHATGPT_SERVICE]\x20Successfully\x20sent\x20memories\x20to\x20backend','Memories\x20stored\x20successfully','ijUfM','🧠\x20[CHATGPT_SERVICE]\x20Storing\x20ChatGPT\x20memories...','svfxC','UUtcg','tbAKw','items','KRFjL','AZgtw','FtSAH','lYMSt','PCNSj','NYQbL','📋\x20[CHATGPT_SERVICE]\x20Found\x20','\x20entries,\x20','\x20memories\x20(total:\x20','yVSVv','AFjmS','CJmzd','enoch_token','rzqpP','UHhUo','pVvRZ','UIWGr','🔑\x20[CHATGPT_SERVICE]\x20Auth\x20token\x20found\x20for\x20memories','BjvMF','keys','📡\x20[CHATGPT_SERVICE]\x20Sending\x20memories\x20to\x20backend...','BASE_URL','/llm-data/store-memories','join','đŸ“Ļ\x20[CHATGPT_SERVICE]\x20Raw\x20response\x20sent\x20as-is\x20(no\x20transformation)','iTtHp','📝\x20[CHATGPT_SERVICE]\x20Backend\x20response:\x20','IuyTk','data','PIRPe','memoriesCount','\x20memory\x20items\x20in\x20database','xBTbJ','âš ī¸\x20[CHATGPT_SERVICE]\x20Memories\x20backend\x20returned\x20status:\x20','akdCk','SsLtr','NDobg','ConFL'];_0x4dda=function(){return _0x1eb99e;};return _0x4dda();}const storeChatGPTConversations=async(_0x907ab0,_0x42f12f)=>{const _0x181582={'JxfNl':_0x4e3b(0x3),'VzSrq':_0x4e3b(0x4),'oxBbR':_0x4e3b(0x5),'oaXjJ':'Network\x20error.\x20Please\x20check\x20your\x20connection.','tDorB':'❌\x20[CHATGPT_SERVICE]\x20Invalid\x20input:\x20memoriesData\x20missing','Whevg':_0x4e3b(0x6),'MDpGG':'🚀\x20[CHATGPT_SERVICE]\x20Storing\x20ChatGPT\x20conversations\x20for:','oHVNK':_0x4e3b(0x7),'NwPuV':_0x4e3b(0x8),'KHdMa':function(_0x1d7186,_0x215de7){return _0x1d7186!==_0x215de7;},'TaktO':_0x4e3b(0x9),'byFMZ':'❌\x20[CHATGPT_SERVICE]\x20Invalid\x20input','GMxfo':_0x4e3b(0xa),'OwkxX':_0x4e3b(0xb),'rshVD':'enoch_token','lWnuL':_0x4e3b(0xc),'TJQBm':_0x4e3b(0xd),'IfvnR':'dmluP','NknOr':'Authentication\x20token\x20not\x20found.\x20Please\x20log\x20in\x20again.','ScwYi':_0x4e3b(0xe),'sqsfP':_0x4e3b(0xf),'Jfmqt':function(_0x3686d0,_0x83ad53){return _0x3686d0===_0x83ad53;},'nBxyG':'ios','eTBxo':_0x4e3b(0x10),'kfWyG':_0x4e3b(0x11),'XmhCv':function(_0x5019ec,_0x15ca47){return _0x5019ec===_0x15ca47;},'thjQp':_0x4e3b(0x12),'axBgk':function(_0x179caf,_0x215e9d){return _0x179caf/_0x215e9d;},'repvU':_0x4e3b(0x13),'vdggW':_0x4e3b(0x14),'HqItW':function(_0x2d64ba,_0x4100fe){return _0x2d64ba+_0x4100fe;},'UkcaC':function(_0x2c3339,_0x1885c8,_0x2256c9){return _0x2c3339(_0x1885c8,_0x2256c9);},'TKKJC':function(_0x55bf53,_0x9b47f4){return _0x55bf53===_0x9b47f4;},'LbEtV':_0x4e3b(0x15),'VptrC':function(_0x447ec2,_0x40bed8){return _0x447ec2+_0x40bed8;},'NQbzR':function(_0x27457a,_0x16a716){return _0x27457a!==_0x16a716;},'CRwoF':_0x4e3b(0x16),'gQGqf':_0x4e3b(0x17),'lYSFy':function(_0x3e12fd,_0x3826d5){return _0x3e12fd<_0x3826d5;},'zfzxt':function(_0x4abf75,_0x119616){return _0x4abf75-_0x119616;},'SneGU':function(_0x2264a5,_0x245d87){return _0x2264a5>_0x245d87;},'WmTwi':function(_0x2fc0cc,_0x382aac){return _0x2fc0cc!==_0x382aac;},'okBnd':_0x4e3b(0x18),'wASnQ':'MMyNH'};console[_0x4e3b(0x19)](_0x181582[_0x4e3b(0x1a)],_0x907ab0),console['log'](_0x181582[_0x4e3b(0x1b)],_0x42f12f[_0x4e3b(0x1c)]),console['log'](_0x181582['NwPuV'],_0x42f12f['reduce']((_0x29a02f,_0x24223a)=>_0x29a02f+_0x24223a['user_messages'][_0x4e3b(0x1c)],0x0));if(!_0x907ab0||!_0x42f12f||_0x42f12f[_0x4e3b(0x1c)]===0x0)return _0x181582[_0x4e3b(0x1d)](_0x181582[_0x4e3b(0x1e)],_0x181582['TaktO'])?(_0x389227['warn']('âš ī¸\x20[CHATGPT_SERVICE]\x20Memories\x20backend\x20returned\x20status:\x20'+_0x3e2d98['status']),_0x139430[_0x4e3b(0x1f)](_0x4e3b(0x20)+(_0x4914bd['error']||_0x181582[_0x4e3b(0x21)])),{'success':![],'error':_0x278ad7['error']||_0x4e3b(0x22)+_0x2f3e8f[_0x4e3b(0x23)]}):(console['error'](_0x181582[_0x4e3b(0x24)]),{'success':![],'error':_0x181582[_0x4e3b(0x25)]});try{const _0x5835f1=await _asyncStorage[_0x4e3b(0x26)][_0x4e3b(0x27)](_0x181582[_0x4e3b(0x28)])||await _asyncStorage['default'][_0x4e3b(0x27)](_0x181582[_0x4e3b(0x29)])||await _asyncStorage['default'][_0x4e3b(0x27)](_0x181582[_0x4e3b(0x2a)]);if(!_0x5835f1)return _0x181582['KHdMa'](_0x181582[_0x4e3b(0x2b)],_0x181582[_0x4e3b(0x2c)])?(console['error'](_0x4e3b(0x4)),{'success':![],'error':_0x181582[_0x4e3b(0x2d)]}):(_0x2b4a20[_0x4e3b(0x2e)](_0x181582[_0x4e3b(0x2f)]),{'success':![],'error':_0x4e3b(0x30)});console[_0x4e3b(0x19)](_0x181582[_0x4e3b(0x31)]);const _0x3e4796={'platform':_reactNative[_0x4e3b(0x32)]['OS'],'appVersion':_0x181582[_0x4e3b(0x33)],'osVersion':_0x181582['Jfmqt'](_reactNative[_0x4e3b(0x32)]['OS'],_0x181582[_0x4e3b(0x34)])?_0x181582[_0x4e3b(0x35)]:_reactNative['Platform']['OS'],'deviceModel':_0x181582['Jfmqt'](_reactNative['Platform']['OS'],_0x4e3b(0x36))?_0x181582['kfWyG']:_0x4e3b(0x37),'isOfflineSync':![]};let _0xf73d38=0x0,_0x4d7877=0x0;for(let _0x727175=0x0;_0x727175<_0x42f12f[_0x4e3b(0x1c)];_0x727175++){if(_0x181582[_0x4e3b(0x38)](_0x181582[_0x4e3b(0x39)],_0x4e3b(0x12))){const _0x36dc15=_0x42f12f[_0x727175],_0x5acdb1=Date[_0x4e3b(0x3a)](),_0x37b9fb=_0x36dc15[_0x4e3b(0x3b)]['map']((_0x2dda38,_0x5a8912)=>({'id':_0x36dc15['conversation_id']+'-msg-'+_0x5a8912,'role':_0x4e3b(0x3c),'content':_0x2dda38,'timestamp':new Date(_0x5acdb1-(_0x36dc15[_0x4e3b(0x3b)]['length']-_0x5a8912)*0x3e8)[_0x4e3b(0x3d)](),'metadata':{}})),_0x1f031c={'conversationId':_0x36dc15[_0x4e3b(0x3e)],'messages':_0x37b9fb,'context':{'title':_0x36dc15['title'],'create_time':Math[_0x4e3b(0x3f)](_0x181582['axBgk'](_0x5acdb1,0x3e8)),'update_time':Math[_0x4e3b(0x3f)](_0x181582['axBgk'](_0x5acdb1,0x3e8))},'mobileMetadata':_0x3e4796},_0x24fb99={'platform':_0x181582[_0x4e3b(0x40)],'conversationData':_0x1f031c,'memoryType':_0x181582[_0x4e3b(0x41)]};console[_0x4e3b(0x19)]('📡\x20[CHATGPT_SERVICE]\x20Sending\x20conversation\x20'+_0x181582[_0x4e3b(0x42)](_0x727175,0x1)+'/'+_0x42f12f[_0x4e3b(0x1c)]+':\x20'+_0x36dc15[_0x4e3b(0x43)]);try{const _0x1f6354=await _0x181582['UkcaC'](fetch,_api[_0x4e3b(0x44)]['BASE_URL']+_0x4e3b(0x45),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x4e3b(0x46)+_0x5835f1,'User-Agent':_0x4e3b(0x47)+_reactNative[_0x4e3b(0x32)]['OS']+')'},'body':JSON[_0x4e3b(0x48)](_0x24fb99)}),_0x2cf492=await _0x1f6354[_0x4e3b(0x49)]();if(_0x1f6354['ok']){if(_0x181582[_0x4e3b(0x4a)](_0x181582['LbEtV'],'WnRqU'))return{'success':!![],'message':_0x4e3b(0x4b)+_0x138f4c+_0x4e3b(0x4c)+_0x18334d[_0x4e3b(0x1c)]+_0x4e3b(0x4d)};else console['log']('✅\x20[CHATGPT_SERVICE]\x20Sent\x20conversation\x20'+_0x181582[_0x4e3b(0x4e)](_0x727175,0x1)+'/'+_0x42f12f['length']),_0xf73d38++;}else{if(_0x181582[_0x4e3b(0x4f)](_0x181582['CRwoF'],_0x181582[_0x4e3b(0x50)]))console['warn']('âš ī¸\x20[CHATGPT_SERVICE]\x20Failed\x20conversation\x20'+(_0x727175+0x1)+'/'+_0x42f12f[_0x4e3b(0x1c)]+':',_0x2cf492[_0x4e3b(0x2e)]||_0x1f6354[_0x4e3b(0x23)]),_0x4d7877++;else return _0x1bc9f5&&_0x3508ad[_0x4e3b(0x1)]?_0x29a6ba:{'default':_0x469249};}}catch(_0x146b78){console[_0x4e3b(0x1f)](_0x4e3b(0x51)+(_0x727175+0x1)+':',_0x146b78),_0x4d7877++;}_0x181582[_0x4e3b(0x52)](_0x727175,_0x181582[_0x4e3b(0x53)](_0x42f12f[_0x4e3b(0x1c)],0x1))&&await new Promise(_0x48b55a=>setTimeout(_0x48b55a,0x12c));}else return _0x49e81b[_0x4e3b(0x2e)](_0x181582[_0x4e3b(0x54)],_0x36fbf5),{'success':![],'error':_0x5dbc6a[_0x4e3b(0x55)]||_0x181582['oaXjJ']};}return console[_0x4e3b(0x19)](_0x4e3b(0x56)+_0xf73d38+_0x4e3b(0x57)+_0x4d7877+_0x4e3b(0x58)),_0x181582[_0x4e3b(0x59)](_0xf73d38,0x0)?{'success':!![],'message':'Stored\x20'+_0xf73d38+_0x4e3b(0x4c)+_0x42f12f[_0x4e3b(0x1c)]+_0x4e3b(0x4d)}:{'success':![],'error':_0x4e3b(0x5a)+_0x4d7877+_0x4e3b(0x5b)};}catch(_0x31a092){return _0x181582[_0x4e3b(0x5c)](_0x181582[_0x4e3b(0x5d)],_0x181582[_0x4e3b(0x5e)])?(console[_0x4e3b(0x2e)](_0x4e3b(0x5f),_0x31a092),{'success':![],'error':_0x31a092[_0x4e3b(0x55)]||_0x181582[_0x4e3b(0x60)]}):(_0xf1409a['error'](_0x181582['tDorB']),{'success':![],'error':_0x181582[_0x4e3b(0x61)]});}};function _0x4e3b(_0x4dda08,_0x4e3bee){_0x4dda08=_0x4dda08-0x0;const _0x9eb0ae=_0x4dda();let _0x46982f=_0x9eb0ae[_0x4dda08];return _0x46982f;}exports['storeChatGPTConversations']=storeChatGPTConversations;const storeChatGPTMemories=async _0x3e6c4d=>{const _0x22da10={'SsLtr':_0x4e3b(0x5f),'NDobg':_0x4e3b(0x62),'svfxC':function(_0x354f4f,_0x2dda9f){return _0x354f4f===_0x2dda9f;},'UUtcg':function(_0x396d58,_0x1fcd26){return _0x396d58===_0x1fcd26;},'tbAKw':function(_0x574190,_0x56f15a){return _0x574190===_0x56f15a;},'KRFjL':function(_0x17ec46,_0x4019cd){return _0x17ec46===_0x4019cd;},'AZgtw':function(_0x2efce4,_0x212bf3){return _0x2efce4===_0x212bf3;},'FtSAH':function(_0x157b36,_0x1b80d7){return _0x157b36===_0x1b80d7;},'lYMSt':function(_0x284262,_0x55e8be){return _0x284262===_0x55e8be;},'PCNSj':function(_0x4b2c19,_0x20af15){return _0x4b2c19===_0x20af15;},'NYQbL':function(_0x35c340,_0x43546d){return _0x35c340+_0x43546d;},'UeHuF':function(_0x156239,_0x8a3412){return _0x156239!==_0x8a3412;},'AFjmS':_0x4e3b(0x63),'CJmzd':_0x4e3b(0x6),'UqlQM':_0x4e3b(0xb),'rzqpP':_0x4e3b(0xc),'UHhUo':_0x4e3b(0x64),'pVvRZ':_0x4e3b(0x4),'UIWGr':_0x4e3b(0x30),'BjvMF':_0x4e3b(0xf),'SjWgE':function(_0x57ad0e,_0x34e3fa){return _0x57ad0e||_0x34e3fa;},'iTtHp':function(_0x3def4b,_0x23c647,_0x1a742a){return _0x3def4b(_0x23c647,_0x1a742a);},'ivnxp':_0x4e3b(0x65),'IuyTk':function(_0x37be10,_0x544a35){return _0x37be10!==_0x544a35;},'PIRPe':function(_0x2237fe,_0x3f6158){return _0x2237fe!==_0x3f6158;},'xBTbJ':_0x4e3b(0x66),'LFifK':_0x4e3b(0x67),'akdCk':_0x4e3b(0x3),'ConFL':_0x4e3b(0x5)};var _0x2c89c5,_0x388ec7,_0x4835d2;console[_0x4e3b(0x19)](_0x4e3b(0x68));const _0xe33c0d=(_0x22da10[_0x4e3b(0x69)](_0x3e6c4d,null)||_0x22da10[_0x4e3b(0x6a)](_0x3e6c4d,void 0x0)||_0x22da10[_0x4e3b(0x6b)](_0x2c89c5=_0x3e6c4d[_0x4e3b(0x6c)],null)||_0x22da10['tbAKw'](_0x2c89c5,void 0x0)?void 0x0:_0x2c89c5[_0x4e3b(0x1c)])||0x0,_0xd82266=(_0x22da10[_0x4e3b(0x6d)](_0x3e6c4d,null)||_0x3e6c4d===void 0x0||_0x22da10[_0x4e3b(0x6e)](_0x388ec7=_0x3e6c4d['memory_entries'],null)||_0x388ec7===void 0x0?void 0x0:_0x388ec7[_0x4e3b(0x1c)])||0x0,_0x48f042=(_0x22da10[_0x4e3b(0x6f)](_0x3e6c4d,null)||_0x22da10[_0x4e3b(0x70)](_0x3e6c4d,void 0x0)||_0x22da10[_0x4e3b(0x6f)](_0x4835d2=_0x3e6c4d['memories'],null)||_0x22da10[_0x4e3b(0x71)](_0x4835d2,void 0x0)?void 0x0:_0x4835d2[_0x4e3b(0x1c)])||0x0,_0x1a9f23=_0x22da10[_0x4e3b(0x72)](_0x22da10[_0x4e3b(0x72)](_0xe33c0d,_0xd82266),_0x48f042);console['log'](_0x4e3b(0x73)+_0xe33c0d+'\x20items,\x20'+_0xd82266+_0x4e3b(0x74)+_0x48f042+_0x4e3b(0x75)+_0x1a9f23+')');if(!_0x3e6c4d)return _0x22da10['UeHuF'](_0x4e3b(0x76),'yVSVv')?{'success':![],'error':'Failed\x20to\x20store\x20conversations\x20('+_0x3d8396+_0x4e3b(0x5b)}:(console['error'](_0x22da10[_0x4e3b(0x77)]),{'success':![],'error':_0x22da10[_0x4e3b(0x78)]});try{const _0x50c9d9=await _asyncStorage[_0x4e3b(0x26)][_0x4e3b(0x27)](_0x22da10['UqlQM'])||await _asyncStorage['default'][_0x4e3b(0x27)](_0x4e3b(0x79))||await _asyncStorage[_0x4e3b(0x26)]['getItem'](_0x22da10[_0x4e3b(0x7a)]);if(!_0x50c9d9){if(_0x22da10[_0x4e3b(0x69)](_0x22da10[_0x4e3b(0x7b)],_0x22da10[_0x4e3b(0x7b)]))return console[_0x4e3b(0x2e)](_0x22da10[_0x4e3b(0x7c)]),{'success':![],'error':_0x22da10[_0x4e3b(0x7d)]};else _0x43ddb5[_0x4e3b(0x19)]('📝\x20[CHATGPT_SERVICE]\x20Backend\x20response:\x20'+_0x295822['message']);}console[_0x4e3b(0x19)](_0x4e3b(0x7e));const _0x4e796c=_0x22da10[_0x4e3b(0x7f)],_0x5bda01={'platform':_0x4e3b(0x13),'memoriesData':_0x3e6c4d,'metadata':{'source':'react-native-sdk','appVersion':_0x4e796c,'fetchedAt':new Date()[_0x4e3b(0x3d)]()}},_0x51a344=Object[_0x4e3b(0x80)](_0x22da10['SjWgE'](_0x3e6c4d,{}));console[_0x4e3b(0x19)](_0x4e3b(0x81)),console['log']('📍\x20[CHATGPT_SERVICE]\x20URL:\x20'+_api[_0x4e3b(0x44)][_0x4e3b(0x82)]+_0x4e3b(0x83)),console[_0x4e3b(0x19)]('đŸ“Ļ\x20[CHATGPT_SERVICE]\x20Raw\x20memoriesData\x20keys:\x20'+_0x51a344[_0x4e3b(0x84)](',\x20')),console['log'](_0x4e3b(0x85));const _0x1c1a71=await _0x22da10[_0x4e3b(0x86)](fetch,_api['API_CONFIG']['BASE_URL']+_0x4e3b(0x83),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x4e3b(0x46)+_0x50c9d9,'User-Agent':'OnairosSDK/'+_0x4e796c+'\x20('+_reactNative[_0x4e3b(0x32)]['OS']+')'},'body':JSON[_0x4e3b(0x48)](_0x5bda01)}),_0x3e262a=await _0x1c1a71[_0x4e3b(0x49)]();if(_0x1c1a71['ok']){var _0x3f2b54;return console[_0x4e3b(0x19)](_0x22da10['ivnxp']),_0x3e262a['message']&&console[_0x4e3b(0x19)](_0x4e3b(0x87)+_0x3e262a[_0x4e3b(0x55)]),_0x22da10[_0x4e3b(0x88)](_0x3f2b54=_0x3e262a[_0x4e3b(0x89)],null)&&_0x22da10[_0x4e3b(0x8a)](_0x3f2b54,void 0x0)&&_0x3f2b54['memoriesCount']&&console['log']('📋\x20[CHATGPT_SERVICE]\x20Stored\x20'+_0x3e262a['data'][_0x4e3b(0x8b)]+_0x4e3b(0x8c)),{'success':!![],'message':_0x3e262a[_0x4e3b(0x55)]||_0x22da10[_0x4e3b(0x8d)],'data':_0x3e262a[_0x4e3b(0x89)]};}else return'QloCr'!==_0x22da10['LFifK']?(console['warn'](_0x4e3b(0x8e)+_0x1c1a71[_0x4e3b(0x23)]),console['warn'](_0x4e3b(0x20)+(_0x3e262a[_0x4e3b(0x2e)]||_0x22da10[_0x4e3b(0x8f)])),{'success':![],'error':_0x3e262a[_0x4e3b(0x2e)]||_0x4e3b(0x22)+_0x1c1a71[_0x4e3b(0x23)]}):(_0x2cd534['error'](_0x22da10[_0x4e3b(0x90)],_0x3a038d),{'success':![],'error':_0x186ec1[_0x4e3b(0x55)]||_0x22da10[_0x4e3b(0x91)]});}catch(_0x5831e7){return console[_0x4e3b(0x2e)](_0x22da10[_0x4e3b(0x92)],_0x5831e7),{'success':![],'error':_0x5831e7[_0x4e3b(0x55)]||_0x22da10['NDobg']};}};exports['storeChatGPTMemories']=storeChatGPTMemories;
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
5
5
  require("react-native")
6
6
  ];
7
7
  function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
8
- function _0x4550(){const _0x46795e=['defineProperty','__esModule','useClaudeConversationExtractor','qxRkM','📊\x20[CLAUDE_EXTRACTOR]\x20Conversations\x20to\x20send:','DIWfx','❌\x20[CLAUDE_EXTRACTOR]\x20Username\x20is\x20required','Error','pRCvh','ytGRh','â„šī¸\x20[CLAUDE_EXTRACTOR]\x20No\x20conversations\x20to\x20export\x20-\x20treating\x20as\x20success\x20(connected)','❌\x20[CLAUDE_EXTRACTOR]\x20No\x20valid\x20conversations\x20after\x20filtering','📡\x20[CLAUDE_EXTRACTOR]\x20Sending\x20to\x20backend...','✅\x20[CLAUDE_EXTRACTOR]\x20Export\x20completed\x20successfully','📊\x20[CLAUDE_EXTRACTOR]\x20Backend\x20response:','❌\x20[CLAUDE_EXTRACTOR]\x20Backend\x20storage\x20failed:','yHccN','CAypw','Failed\x20to\x20connect\x20to\x20the\x20conversation\x20storage\x20service.\x20Please\x20check\x20your\x20network\x20connection.','YnoQf','NnthR','CSanP','🚀\x20[CLAUDE_EXTRACTOR]\x20Initiating\x20conversation\x20export','log','WDcHI','KFoHd','length','ArZfW','AmTvq','OvPMJ','KDOHm','Alert','alert','IATmV','Username\x20is\x20required\x20to\x20export\x20Claude\x20conversations.','error','IuZtb','An\x20unknown\x20error\x20occurred\x20during\x20conversation\x20storage.','hLNLs','DTVKE','tUlLG','UPGax','dgjXR','conversation_id','title','user_messages','hXFvF','warn','gitQq','filter','isArray','XvUwU','fKtBv','eCnYz','âš ī¸\x20[CLAUDE_EXTRACTOR]\x20Filtered\x20out\x20','storeClaudeConversations','success','xpccO','uXsSh','data','rVsVM','YwkBU','\x20invalid\x20conversations','zLXAa','DNdfU','qclvK','aWbFv','TYOwx','wjDbf'];_0x4550=function(){return _0x46795e;};return _0x4550();}Object[_0x4aa6(0x0)](exports,_0x4aa6(0x1),{'value':!![]}),exports[_0x4aa6(0x2)]=void 0x0;function _0x4aa6(_0x4550b2,_0x4aa6fc){_0x4550b2=_0x4550b2-0x0;const _0x52b5e4=_0x4550();let _0x53c9f2=_0x52b5e4[_0x4550b2];return _0x53c9f2;}var _claudeConversationService=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1);const useClaudeConversationExtractor=()=>{const _0x3a5dbb={'IuZtb':'Export\x20Failed','hLNLs':'default','YnoQf':function(_0x4d49b8,_0x59644a){return _0x4d49b8>_0x59644a;},'NnthR':function(_0x5a0b9c,_0x10bff3){return _0x5a0b9c-_0x10bff3;},'CSanP':function(_0x20c277,_0x3b838b){return _0x20c277===_0x3b838b;},'NABCS':_0x4aa6(0x3),'WDcHI':'👤\x20[CLAUDE_EXTRACTOR]\x20Username:','KFoHd':_0x4aa6(0x4),'ArZfW':function(_0x342f7a,_0x2e3e79){return _0x342f7a!==_0x2e3e79;},'AmTvq':'zaMnB','OvPMJ':_0x4aa6(0x5),'KDOHm':_0x4aa6(0x6),'IATmV':_0x4aa6(0x7),'DTVKE':function(_0x10d5a3,_0x2cce26){return _0x10d5a3!==_0x2cce26;},'tUlLG':_0x4aa6(0x8),'UPGax':_0x4aa6(0x9),'dgjXR':_0x4aa6(0xa),'XvUwU':_0x4aa6(0xb),'fKtBv':'Data\x20Error','eCnYz':'No\x20valid\x20conversations\x20found\x20to\x20export.','IAXnS':_0x4aa6(0xc),'xpccO':_0x4aa6(0xd),'uXsSh':_0x4aa6(0xe),'rVsVM':'HItbG','zLXAa':_0x4aa6(0xf),'DNdfU':function(_0x552024,_0x245615){return _0x552024!==_0x245615;},'qclvK':_0x4aa6(0x10),'aWbFv':_0x4aa6(0x11),'TYOwx':'Export\x20Error','wjDbf':_0x4aa6(0x12)},_0x129290=async(_0x55eae8,_0x40b23b)=>{const _0x3a7c98={'hXFvF':function(_0x323823,_0x3549ce){return _0x3a5dbb[_0x4aa6(0x13)](_0x323823,_0x3549ce);},'gitQq':'âš ī¸\x20[CLAUDE_EXTRACTOR]\x20Invalid\x20conversation:','YwkBU':function(_0x12db14,_0x240ae0){return _0x3a5dbb[_0x4aa6(0x14)](_0x12db14,_0x240ae0);}};if(_0x3a5dbb[_0x4aa6(0x15)](_0x4aa6(0x3),_0x3a5dbb['NABCS'])){console['log'](_0x4aa6(0x16)),console[_0x4aa6(0x17)](_0x3a5dbb[_0x4aa6(0x18)],_0x55eae8),console[_0x4aa6(0x17)](_0x3a5dbb[_0x4aa6(0x19)],_0x40b23b[_0x4aa6(0x1a)]);if(!_0x55eae8)return _0x3a5dbb[_0x4aa6(0x1b)](_0x3a5dbb[_0x4aa6(0x1c)],_0x3a5dbb[_0x4aa6(0x1d)])?(console['error'](_0x3a5dbb[_0x4aa6(0x1e)]),_reactNative[_0x4aa6(0x1f)][_0x4aa6(0x20)](_0x3a5dbb[_0x4aa6(0x21)],_0x4aa6(0x22),[{'text':'OK','style':'default'}]),![]):(_0x1f82ff[_0x4aa6(0x23)](_0x4aa6(0xf),_0x408b7c[_0x4aa6(0x23)]),_0xf32ccc[_0x4aa6(0x1f)][_0x4aa6(0x20)](_0x3a5dbb[_0x4aa6(0x24)],_0x4ed312[_0x4aa6(0x23)]||_0x4aa6(0x25),[{'text':'OK','style':_0x3a5dbb[_0x4aa6(0x26)]}]),![]);if(!_0x40b23b||_0x3a5dbb[_0x4aa6(0x15)](_0x40b23b[_0x4aa6(0x1a)],0x0)){if(_0x3a5dbb[_0x4aa6(0x27)](_0x3a5dbb[_0x4aa6(0x28)],_0x3a5dbb[_0x4aa6(0x29)]))return console['log'](_0x3a5dbb[_0x4aa6(0x2a)]),!![];else{const _0x36911f=_0xe97e67[_0x4aa6(0x2b)]&&_0x58b572[_0x4aa6(0x2c)]&&_0x5cb282['isArray'](_0x4d9e6e[_0x4aa6(0x2d)])&&_0x3a7c98[_0x4aa6(0x2e)](_0x49821b[_0x4aa6(0x2d)]['length'],0x0);return!_0x36911f&&_0x4dc17c[_0x4aa6(0x2f)](_0x3a7c98[_0x4aa6(0x30)],_0x596acf),_0x36911f;}}const _0x1d284e=_0x40b23b[_0x4aa6(0x31)](_0x3579ad=>{const _0x4ecefa=_0x3579ad[_0x4aa6(0x2b)]&&_0x3579ad['title']&&Array[_0x4aa6(0x32)](_0x3579ad[_0x4aa6(0x2d)])&&_0x3579ad[_0x4aa6(0x2d)][_0x4aa6(0x1a)]>0x0;return!_0x4ecefa&&console[_0x4aa6(0x2f)](_0x3a7c98[_0x4aa6(0x30)],_0x3579ad),_0x4ecefa;});if(_0x1d284e[_0x4aa6(0x1a)]===0x0)return console[_0x4aa6(0x23)](_0x3a5dbb[_0x4aa6(0x33)]),_reactNative[_0x4aa6(0x1f)][_0x4aa6(0x20)](_0x3a5dbb[_0x4aa6(0x34)],_0x3a5dbb[_0x4aa6(0x35)],[{'text':'OK','style':'default'}]),![];_0x1d284e[_0x4aa6(0x1a)]<_0x40b23b['length']&&console[_0x4aa6(0x2f)](_0x4aa6(0x36)+(_0x40b23b['length']-_0x1d284e['length'])+'\x20invalid\x20conversations');try{console[_0x4aa6(0x17)](_0x3a5dbb['IAXnS']);const _0x4fcc49=await(0x0,_claudeConversationService[_0x4aa6(0x37)])(_0x55eae8,_0x1d284e);if(_0x4fcc49[_0x4aa6(0x38)])return console[_0x4aa6(0x17)](_0x3a5dbb[_0x4aa6(0x39)]),console[_0x4aa6(0x17)](_0x3a5dbb[_0x4aa6(0x3a)],_0x4fcc49[_0x4aa6(0x3b)]),!![];else{if(_0x3a5dbb[_0x4aa6(0x3c)]!==_0x3a5dbb[_0x4aa6(0x3c)])_0x4458e2['warn'](_0x4aa6(0x36)+_0x3a7c98[_0x4aa6(0x3d)](_0x50f3df[_0x4aa6(0x1a)],_0x405606[_0x4aa6(0x1a)])+_0x4aa6(0x3e));else return console[_0x4aa6(0x23)](_0x3a5dbb[_0x4aa6(0x3f)],_0x4fcc49[_0x4aa6(0x23)]),_reactNative['Alert'][_0x4aa6(0x20)](_0x3a5dbb[_0x4aa6(0x24)],_0x4fcc49[_0x4aa6(0x23)]||_0x4aa6(0x25),[{'text':'OK','style':_0x3a5dbb[_0x4aa6(0x26)]}]),![];}}catch(_0xc5858d){if(_0x3a5dbb[_0x4aa6(0x40)](_0x3a5dbb[_0x4aa6(0x41)],_0x3a5dbb[_0x4aa6(0x42)]))return console[_0x4aa6(0x23)]('❌\x20[CLAUDE_EXTRACTOR]\x20Unexpected\x20error\x20during\x20export:',_0xc5858d),_reactNative['Alert'][_0x4aa6(0x20)](_0x3a5dbb[_0x4aa6(0x43)],_0x3a5dbb[_0x4aa6(0x44)],[{'text':'OK','style':_0x3a5dbb[_0x4aa6(0x26)]}]),![];else _0x3a89e2['warn'](_0x3a7c98[_0x4aa6(0x30)],_0x3c647c);}}else return _0xe8fc0a[_0x4aa6(0x17)](_0x4aa6(0xd)),_0x541642[_0x4aa6(0x17)](_0x4aa6(0xe),_0x28b446[_0x4aa6(0x3b)]),!![];};return{'initiateConversationExport':_0x129290};};exports[_0x4aa6(0x2)]=useClaudeConversationExtractor;
8
+ function _0x5bd6(){const _0x172f9f=['defineProperty','__esModule','useClaudeConversationExtractor','dVSfq','âš ī¸\x20[CLAUDE_EXTRACTOR]\x20Invalid\x20conversation:','â„šī¸\x20[CLAUDE_EXTRACTOR]\x20No\x20conversations\x20to\x20export\x20-\x20treating\x20as\x20success\x20(connected)','default','🚀\x20[CLAUDE_EXTRACTOR]\x20Initiating\x20conversation\x20export','📊\x20[CLAUDE_EXTRACTOR]\x20Conversations\x20to\x20send:','Error','Username\x20is\x20required\x20to\x20export\x20Claude\x20conversations.','❌\x20[CLAUDE_EXTRACTOR]\x20No\x20valid\x20conversations\x20after\x20filtering','No\x20valid\x20conversations\x20found\x20to\x20export.','📡\x20[CLAUDE_EXTRACTOR]\x20Sending\x20to\x20backend...','✅\x20[CLAUDE_EXTRACTOR]\x20Export\x20completed\x20successfully','An\x20unknown\x20error\x20occurred\x20during\x20conversation\x20storage.','❌\x20[CLAUDE_EXTRACTOR]\x20Unexpected\x20error\x20during\x20export:','Export\x20Error','Failed\x20to\x20connect\x20to\x20the\x20conversation\x20storage\x20service.\x20Please\x20check\x20your\x20network\x20connection.','LkrmR','log','VhEDD','👤\x20[CLAUDE_EXTRACTOR]\x20Username:','error','kvXCY','Alert','alert','weqzZ','length','Qxewo','conversation_id','title','isArray','user_messages','gIXDB','orSyu','LvNPO','fujwz','yLmoS','Data\x20Error','warn','âš ī¸\x20[CLAUDE_EXTRACTOR]\x20Filtered\x20out\x20','efEhF','success','📊\x20[CLAUDE_EXTRACTOR]\x20Backend\x20response:','QUvzk','zMAPC','❌\x20[CLAUDE_EXTRACTOR]\x20Backend\x20storage\x20failed:','Export\x20Failed','sveYo','Kyasp','qhSNR','Kqefy'];_0x5bd6=function(){return _0x172f9f;};return _0x5bd6();}function _0x4b90(_0x5bd637,_0x4b9076){_0x5bd637=_0x5bd637-0x0;const _0x478b91=_0x5bd6();let _0x4e6739=_0x478b91[_0x5bd637];return _0x4e6739;}Object[_0x4b90(0x0)](exports,_0x4b90(0x1),{'value':!![]}),exports[_0x4b90(0x2)]=void 0x0;var _claudeConversationService=__ONAIROS_REQ_FUNC__(0x0),_reactNative=__ONAIROS_REQ_FUNC__(0x1);const useClaudeConversationExtractor=()=>{const _0x1cf522={'gIXDB':function(_0x1eafb5,_0x57d791){return _0x1eafb5>_0x57d791;},'orSyu':function(_0x430169,_0x533ebe){return _0x430169!==_0x533ebe;},'LBAPO':_0x4b90(0x3),'fujwz':_0x4b90(0x4),'Qxewo':_0x4b90(0x5),'LkrmR':_0x4b90(0x6),'VhEDD':_0x4b90(0x7),'swMDE':_0x4b90(0x8),'kvXCY':'❌\x20[CLAUDE_EXTRACTOR]\x20Username\x20is\x20required','shsbz':_0x4b90(0x9),'MkwgL':_0x4b90(0xa),'weqzZ':function(_0x2c0baa,_0x51083a){return _0x2c0baa===_0x51083a;},'yLmoS':_0x4b90(0xb),'ZlJgp':_0x4b90(0xc),'QQmYS':function(_0x4caf6a,_0x6eda9f){return _0x4caf6a<_0x6eda9f;},'efEhF':_0x4b90(0xd),'ZHEkT':_0x4b90(0xe),'QUvzk':function(_0x5e910c,_0xd57ea1){return _0x5e910c===_0xd57ea1;},'zMAPC':'xyHth','sveYo':_0x4b90(0xf),'Kyasp':_0x4b90(0x10),'qhSNR':_0x4b90(0x11),'Kqefy':_0x4b90(0x12)},_0x30a7b2=async(_0x4ebf1c,_0x3310ed)=>{const _0x5d3509={'lwDFm':_0x4b90(0x12),'LvNPO':_0x1cf522[_0x4b90(0x13)]};console[_0x4b90(0x14)](_0x1cf522[_0x4b90(0x15)]),console[_0x4b90(0x14)](_0x4b90(0x16),_0x4ebf1c),console[_0x4b90(0x14)](_0x1cf522['swMDE'],_0x3310ed['length']);if(!_0x4ebf1c)return console[_0x4b90(0x17)](_0x1cf522[_0x4b90(0x18)]),_reactNative[_0x4b90(0x19)][_0x4b90(0x1a)](_0x1cf522['shsbz'],_0x1cf522['MkwgL'],[{'text':'OK','style':_0x1cf522[_0x4b90(0x13)]}]),![];if(!_0x3310ed||_0x1cf522[_0x4b90(0x1b)](_0x3310ed[_0x4b90(0x1c)],0x0))return console['log'](_0x1cf522[_0x4b90(0x1d)]),!![];const _0x1a2458=_0x3310ed['filter'](_0x225ba2=>{const _0x1b5046=_0x225ba2[_0x4b90(0x1e)]&&_0x225ba2[_0x4b90(0x1f)]&&Array[_0x4b90(0x20)](_0x225ba2[_0x4b90(0x21)])&&_0x1cf522[_0x4b90(0x22)](_0x225ba2[_0x4b90(0x21)][_0x4b90(0x1c)],0x0);if(!_0x1b5046){if(_0x1cf522[_0x4b90(0x23)](_0x1cf522['LBAPO'],_0x4b90(0x3)))return _0x1a6203[_0x4b90(0x17)](_0x4b90(0x10),_0x1edcbd),_0x4d6886['Alert']['alert'](_0x4b90(0x11),_0x5d3509['lwDFm'],[{'text':'OK','style':_0x5d3509[_0x4b90(0x24)]}]),![];else console['warn'](_0x1cf522[_0x4b90(0x25)],_0x225ba2);}return _0x1b5046;});if(_0x1cf522[_0x4b90(0x1b)](_0x1a2458[_0x4b90(0x1c)],0x0))return console[_0x4b90(0x17)](_0x1cf522[_0x4b90(0x26)]),_reactNative[_0x4b90(0x19)][_0x4b90(0x1a)](_0x4b90(0x27),_0x1cf522['ZlJgp'],[{'text':'OK','style':_0x1cf522[_0x4b90(0x13)]}]),![];_0x1cf522['QQmYS'](_0x1a2458[_0x4b90(0x1c)],_0x3310ed[_0x4b90(0x1c)])&&console[_0x4b90(0x28)](_0x4b90(0x29)+(_0x3310ed['length']-_0x1a2458['length'])+'\x20invalid\x20conversations');try{console['log'](_0x1cf522[_0x4b90(0x2a)]);const _0x412b4c=await(0x0,_claudeConversationService['storeClaudeConversations'])(_0x4ebf1c,_0x1a2458);return _0x412b4c[_0x4b90(0x2b)]?(console[_0x4b90(0x14)](_0x1cf522['ZHEkT']),console[_0x4b90(0x14)](_0x4b90(0x2c),_0x412b4c['data']),!![]):_0x1cf522[_0x4b90(0x2d)]('SJbHJ',_0x1cf522[_0x4b90(0x2e)])?(_0x2d6125[_0x4b90(0x14)](_0x1cf522['Qxewo']),!![]):(console[_0x4b90(0x17)](_0x4b90(0x2f),_0x412b4c[_0x4b90(0x17)]),_reactNative['Alert'][_0x4b90(0x1a)](_0x4b90(0x30),_0x412b4c['error']||_0x1cf522[_0x4b90(0x31)],[{'text':'OK','style':_0x1cf522['LkrmR']}]),![]);}catch(_0x224a27){return console['error'](_0x1cf522[_0x4b90(0x32)],_0x224a27),_reactNative[_0x4b90(0x19)][_0x4b90(0x1a)](_0x1cf522[_0x4b90(0x33)],_0x1cf522[_0x4b90(0x34)],[{'text':'OK','style':_0x1cf522[_0x4b90(0x13)]}]),![];}};return{'initiateConversationExport':_0x30a7b2};};exports[_0x4b90(0x2)]=useClaudeConversationExtractor;