@onairos/react-native 3.6.7 → 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.
- package/README.md +423 -423
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/assets/images/Checkbox.svg +3 -3
- package/lib/commonjs/assets/images/EnochE.svg +19 -19
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
- package/lib/commonjs/assets/images/arrow.svg +20 -20
- package/lib/commonjs/assets/images/basicproficon.svg +43 -43
- package/lib/commonjs/assets/images/basicprofile.svg +3 -3
- package/lib/commonjs/assets/images/checkmark.svg +4 -4
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
- package/lib/commonjs/assets/images/contenticon.svg +23 -23
- package/lib/commonjs/assets/images/personalityicon.svg +18 -18
- package/lib/commonjs/assets/images/x-close.svg +3 -3
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/PLATFORM_APIS.md +559 -0
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/config/telegramConfig.js +8 -0
- package/lib/commonjs/config/webchangelog/md +607 -0
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +99 -99
- package/lib/commonjs/services/authService.js +72 -72
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/oauthService.js +20 -20
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/assets/images/Checkbox.svg +3 -3
- package/lib/module/assets/images/EnochE.svg +19 -19
- package/lib/module/assets/images/Personalityprofile.svg +3 -3
- package/lib/module/assets/images/Personalitytraits.svg +3 -3
- package/lib/module/assets/images/Userpreferences.svg +3 -3
- package/lib/module/assets/images/arrow.svg +20 -20
- package/lib/module/assets/images/basicproficon.svg +43 -43
- package/lib/module/assets/images/basicprofile.svg +3 -3
- package/lib/module/assets/images/checkmark.svg +4 -4
- package/lib/module/assets/images/contentanalysis.svg +3 -3
- package/lib/module/assets/images/contenticon.svg +23 -23
- package/lib/module/assets/images/personalityicon.svg +18 -18
- package/lib/module/assets/images/x-close.svg +3 -3
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/PLATFORM_APIS.md +559 -0
- package/lib/module/config/api.js +1 -1
- package/lib/module/config/telegramConfig.js +8 -0
- package/lib/module/config/webchangelog/md +607 -0
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +99 -99
- package/lib/module/services/authService.js +72 -72
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +20 -20
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +172 -172
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import React,{useRef,useState,useEffect}from'react';import{View,TextInput,StyleSheet,Pressable,Keyboard}from'react-native';import{COLORS}from'../theme';function _0x3409(_0x252b60,_0x3409ac){_0x252b60=_0x252b60-0x0;const _0x298aa8=_0x252b();let _0xd1b6cf=_0x298aa8[_0x252b60];return _0xd1b6cf;}const CodeInput=({length:length=0x6,onCodeChange:_0x1825cf,onCodeComplete:_0x3025b5})=>{const _0x239ed1={'ZylGd':function(_0x5cb4a3,_0x2e61dd){return _0x5cb4a3===_0x2e61dd;},'ckHaa':function(_0x58fbc1,_0x98fb75){return _0x58fbc1<_0x98fb75;},'vslFe':_0x3409(0x0),'jKzNB':_0x3409(0x1),'saUWQ':function(_0x10b0b8,_0x2f8478){return _0x10b0b8(_0x2f8478);},'lVzPQ':function(_0x37a9d0,_0x5c7f44){return _0x37a9d0(_0x5c7f44);},'SDaHd':function(_0x5f0140,_0x2e6c99){return _0x5f0140-_0x2e6c99;},'VCqsl':function(_0x2fed12,_0xdff3ff){return _0x2fed12===_0xdff3ff;},'KNxfO':function(_0x4891c6,_0x5c62ec){return _0x4891c6===_0x5c62ec;},'MtfCG':_0x3409(0x2),'byarI':_0x3409(0x3),'XmgPN':function(_0x26a098,_0xd02a8c){return _0x26a098(_0xd02a8c);},'YqNkN':function(_0x5e9df9,_0x1b6e9b){return _0x5e9df9(_0x1b6e9b);},'zyTmw':function(_0x535043,_0x3a61a8){return _0x535043(_0x3a61a8);},'eQyvX':function(_0x46dab9,_0x53df6d,_0x504d71){return _0x46dab9(_0x53df6d,_0x504d71);},'XfUKX':_0x3409(0x4),'jrExp':_0x3409(0x5),'LWpoL':_0x3409(0x6)},[_0x3fb22e,_0x1cc99b]=_0x239ed1[_0x3409(0x7)](useState,_0x239ed1['XmgPN'](Array,length)[_0x3409(0x8)]('')),[_0x1684fe,_0x41a710]=_0x239ed1[_0x3409(0x9)](useState,0x0),_0xb91fdd=useRef([]),_0x41b888=_0x239ed1[_0x3409(0xa)](useRef,null);_0x239ed1[_0x3409(0xb)](useEffect,()=>{const _0x1c8db6={'lgVBz':function(_0x1cc349,_0x1842b9){return _0x1cc349===_0x1842b9;},'fGKCD':_0x3409(0xc),'dmGEi':function(_0x189052,_0x106efb){return _0x239ed1[_0x3409(0xd)](_0x189052,_0x106efb);}};setTimeout(()=>{const _0xea1033={'AoBxD':function(_0x48e4a4,_0x3bf861){return _0x1c8db6[_0x3409(0xe)](_0x48e4a4,_0x3bf861);}};if(_0x1c8db6[_0x3409(0xe)](_0x3409(0xc),_0x1c8db6[_0x3409(0xf)])){var _0x5abe63;_0x1c8db6[_0x3409(0x10)](_0x5abe63=_0x41b888[_0x3409(0x11)],null)||_0x5abe63===void 0x0||_0x5abe63[_0x3409(0x12)]();}else _0xea1033['AoBxD'](_0x2e7b6e,null)||_0x3150dc===void 0x0||_0x2f9b96(_0x2f507a),_0x26f797[_0x3409(0x13)]();},0x64);},[]);const _0x3dd907=_0xe5d75a=>{const _0x374133=_0xe5d75a[_0x3409(0x14)](/[^0-9]/g,''),_0x391740=_0x374133['slice'](0x0,length)[_0x3409(0x15)]('');while(_0x239ed1[_0x3409(0x16)](_0x391740[_0x3409(0x17)],length)){_0x239ed1[_0x3409(0x18)]===_0x239ed1[_0x3409(0x19)]?_0x3dcedb[_0x3409(0x1a)](''):_0x391740[_0x3409(0x1a)]('');}_0x239ed1['saUWQ'](_0x1cc99b,_0x391740),_0x239ed1[_0x3409(0x1b)](_0x41a710,Math['min'](_0x374133[_0x3409(0x17)],_0x239ed1[_0x3409(0x1c)](length,0x1)));const _0x546c40=_0x391740[_0x3409(0x1d)]('');_0x239ed1[_0x3409(0xd)](_0x1825cf,null)||_0x239ed1[_0x3409(0x1e)](_0x1825cf,void 0x0)||_0x239ed1[_0x3409(0x7)](_0x1825cf,_0x546c40),_0x374133[_0x3409(0x17)]===length&&(_0x3025b5===null||_0x239ed1['KNxfO'](_0x3025b5,void 0x0)||_0x239ed1[_0x3409(0x7)](_0x3025b5,_0x546c40),Keyboard[_0x3409(0x13)]());},_0x3e66b1=()=>{if(_0x239ed1[_0x3409(0x1e)](_0x239ed1[_0x3409(0x1f)],_0x239ed1['byarI'])){var _0x5f1cf7;_0x239ed1['ZylGd'](_0x5f1cf7=_0x3df026[_0x3409(0x11)],null)||_0x239ed1[_0x3409(0xd)](_0x5f1cf7,void 0x0)||_0x5f1cf7[_0x3409(0x12)]();}else{var _0x3eb464;_0x239ed1['KNxfO'](_0x3eb464=_0x41b888[_0x3409(0x11)],null)||_0x239ed1['KNxfO'](_0x3eb464,void 0x0)||_0x3eb464[_0x3409(0x12)]();}};return React[_0x3409(0x20)](View,{'style':styles[_0x3409(0x21)]},React[_0x3409(0x20)](TextInput,{'ref':_0x41b888,'style':styles[_0x3409(0x22)],'value':_0x3fb22e['join'](''),'onChangeText':_0x3dd907,'keyboardType':_0x239ed1[_0x3409(0x23)],'maxLength':length,'autoComplete':_0x239ed1[_0x3409(0x24)],'textContentType':_0x239ed1[_0x3409(0x25)],'caretHidden':!![]}),React['createElement'](Pressable,{'style':styles[_0x3409(0x26)],'onPress':_0x3e66b1},_0x239ed1[_0x3409(0x27)](Array,length)['fill'](0x0)[_0x3409(0x28)]((_0x3cc572,_0xb483da)=>React[_0x3409(0x20)](View,{'key':_0xb483da,'style':[styles[_0x3409(0x29)],_0x3fb22e[_0xb483da]?styles[_0x3409(0x2a)]:null,_0x1684fe===_0xb483da&&!_0x3fb22e[_0xb483da]?styles[_0x3409(0x2b)]:null]},React[_0x3409(0x20)](TextInput,{'style':styles[_0x3409(0x2c)],'value':_0x3fb22e[_0xb483da],'editable':![],'pointerEvents':_0x3409(0x2d)})))));},styles=StyleSheet[_0x3409(0x2e)]({'container':{'width':_0x3409(0x2f)},'hiddenInput':{'position':_0x3409(0x30),'opacity':0x0,'height':0x0,'width':0x0},'boxesContainer':{'flexDirection':_0x3409(0x31),'justifyContent':_0x3409(0x32),'width':_0x3409(0x2f)},'box':{'width':0x30,'height':0x38,'borderWidth':1.5,'borderColor':_0x3409(0x33),'borderRadius':0xc,'justifyContent':_0x3409(0x34),'alignItems':_0x3409(0x34),'backgroundColor':_0x3409(0x35)},'boxFilled':{'borderColor':COLORS[_0x3409(0x36)],'backgroundColor':_0x3409(0x37)},'boxFocused':{'borderColor':'#D4A536','borderWidth':0x2},'boxText':{'fontSize':0x18,'fontWeight':_0x3409(0x38),'color':COLORS[_0x3409(0x39)],'textAlign':_0x3409(0x34)}});export{CodeInput};function _0x252b(){const _0x2edbe1=['JNckD','WvZNZ','sFMOK','ICKTZ','number-pad','sms-otp','oneTimeCode','saUWQ','fill','YqNkN','zyTmw','eQyvX','HiGzv','ZylGd','lgVBz','fGKCD','dmGEi','current','focus','dismiss','replace','split','ckHaa','length','vslFe','jKzNB','push','lVzPQ','SDaHd','join','VCqsl','MtfCG','createElement','container','hiddenInput','XfUKX','jrExp','LWpoL','boxesContainer','XmgPN','map','box','boxFilled','boxFocused','boxText','none','create','100%','absolute','row','space-between','#E0E0E0','center','#FAFAFA','grey600','#FFFFFF','600','grey800'];_0x252b=function(){return _0x2edbe1;};return _0x252b();}export default CodeInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _extends(){return _extends=Object[
|
|
1
|
+
function _extends(){return _extends=Object[_0xb81e(0x0)]?Object[_0xb81e(0x0)]['bind']():function(_0x30f59){for(var _0x3c148c=0x1;_0x3c148c<arguments[_0xb81e(0x1)];_0x3c148c++){var _0x36c7d6=arguments[_0x3c148c];for(var _0x4df0db in _0x36c7d6)({}[_0xb81e(0x2)]['call'](_0x36c7d6,_0x4df0db)&&(_0x30f59[_0x4df0db]=_0x36c7d6[_0x4df0db]));}return _0x30f59;},_extends[_0xb81e(0x3)](null,arguments);}import React from'react';import{TextInput,StyleSheet}from'react-native';const EmailInput=_0x74d273=>{var _0x318b36={'XfkPI':'email-address','UlAPT':_0xb81e(0x4)};return React[_0xb81e(0x5)](TextInput,_extends({},_0x74d273,{'keyboardType':_0x318b36[_0xb81e(0x6)],'autoCapitalize':_0x318b36['UlAPT'],'autoComplete':_0xb81e(0x7),'style':[styles['input'],_0x74d273[_0xb81e(0x8)]]}));},styles=StyleSheet[_0xb81e(0x9)]({'input':{'borderWidth':0x1,'borderColor':_0xb81e(0xa),'borderRadius':0x8,'padding':0xc,'fontSize':0x10}});function _0x22cd(){var _0x358d4d=['assign','length','hasOwnProperty','apply','none','createElement','XfkPI','email','style','create','#E0E0E0'];_0x22cd=function(){return _0x358d4d;};return _0x22cd();}export{EmailInput};function _0xb81e(_0x22cd73,_0xb81ed8){_0x22cd73=_0x22cd73-0x0;var _0x1c4ccf=_0x22cd();var _0xbb297=_0x1c4ccf[_0x22cd73];return _0xbb297;}export default EmailInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x45b6(){const _0xb0cabc=['contain','Continue\x20with\x20Google','createElement','button','disabled','icon','gPmYw','text','Ctmev','create','row','center','#FFFFFF','500','#333333'];_0x45b6=function(){return _0xb0cabc;};return _0x45b6();}import React from'react';import{TouchableOpacity,Text,Image,StyleSheet}from'react-native';import{BRAND_IMAGES}from'../utils/assetRegistry';const GoogleButton=({onPress:_0x5f361b,style:_0x516249,disabled:disabled=![]})=>{const _0xa2af6d={'gPmYw':_0x4f57(0x0),'Ctmev':_0x4f57(0x1)};return React[_0x4f57(0x2)](TouchableOpacity,{'style':[styles[_0x4f57(0x3)],_0x516249,disabled&&styles[_0x4f57(0x4)]],'onPress':_0x5f361b,'disabled':disabled},React['createElement'](Image,{'source':BRAND_IMAGES['googleLogo'],'style':styles[_0x4f57(0x5)],'resizeMode':_0xa2af6d[_0x4f57(0x6)]}),React['createElement'](Text,{'style':styles[_0x4f57(0x7)]},_0xa2af6d[_0x4f57(0x8)]));},styles=StyleSheet[_0x4f57(0x9)]({'button':{'flexDirection':_0x4f57(0xa),'alignItems':_0x4f57(0xb),'justifyContent':_0x4f57(0xb),'backgroundColor':_0x4f57(0xc),'borderWidth':0x1,'borderColor':'#E0E0E0','borderRadius':0x8,'paddingVertical':0xc,'paddingHorizontal':0x10},'disabled':{'opacity':0.5},'icon':{'width':0x14,'height':0x14,'marginRight':0x8},'text':{'fontSize':0x10,'fontWeight':_0x4f57(0xd),'color':_0x4f57(0xe)}});function _0x4f57(_0x45b6d7,_0x4f57d6){_0x45b6d7=_0x45b6d7-0x0;const _0x2f48cc=_0x45b6();let _0x2f77b2=_0x2f48cc[_0x45b6d7];return _0x2f77b2;}export{GoogleButton};export default GoogleButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from'react';import{View,Text,StyleSheet}from'react-native';import{TEXT_STYLES}from'../theme';const HeadingGroup=({kicker:kicker=
|
|
1
|
+
function _0x46e3(){const _0xfd5fb4=['Welcome\x20to','Onairos','createElement','kicker','create','center','IBM\x20Plex\x20Sans','welcomeTitle','700'];_0x46e3=function(){return _0xfd5fb4;};return _0x46e3();}function _0x3d19(_0x46e3f0,_0x3d19fb){_0x46e3f0=_0x46e3f0-0x0;const _0x13374e=_0x46e3();let _0x55a7ba=_0x13374e[_0x46e3f0];return _0x55a7ba;}import React from'react';import{View,Text,StyleSheet}from'react-native';import{TEXT_STYLES}from'../theme';const HeadingGroup=({kicker:kicker=_0x3d19(0x0),title:title=_0x3d19(0x1),style:_0x325942})=>{return React[_0x3d19(0x2)](View,{'style':[styles['container'],_0x325942]},React[_0x3d19(0x2)](Text,{'style':styles[_0x3d19(0x3)]},kicker),React[_0x3d19(0x2)](Text,{'style':styles['title']},title));},styles=StyleSheet[_0x3d19(0x4)]({'container':{'alignItems':_0x3d19(0x5)},'kicker':{...TEXT_STYLES[_0x3d19(0x3)],'fontFamily':_0x3d19(0x6),'fontWeight':'700','marginBottom':0x4},'title':{...TEXT_STYLES[_0x3d19(0x7)],'fontFamily':_0x3d19(0x6),'fontWeight':_0x3d19(0x8)}});export{HeadingGroup};export default HeadingGroup;
|
|
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
5
5
|
require('react-native-fs')
|
|
6
6
|
];
|
|
7
7
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
8
|
-
import React,{useState}from'react';import{View,Text,StyleSheet,Modal,TouchableOpacity,TextInput,ScrollView,ActivityIndicator,Alert,Platform,KeyboardAvoidingView}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0x4132(){const _0x169601=['log','chatgpt','Connect\x20ChatGPT','Connect\x20Claude','Paste\x20your\x20Claude\x20conversation\x20JSON\x20here...','gemini','Export\x20your\x20Gemini\x20(Google\x20AI)\x20conversations\x20and\x20paste\x20the\x20data\x20below.','Paste\x20your\x20Gemini\x20conversation\x20JSON\x20here...','grok','Paste\x20your\x20conversation\x20data\x20below\x20or\x20upload\x20a\x20JSON\x20file.','Authentication\x20required.\x20Please\x20sign\x20in\x20first.','Imported\x20Conversation','IVTMk','Invalid\x20JSON\x20format.\x20Please\x20check\x20your\x20data\x20and\x20try\x20again.','string','user','vCOgt','assistant','unknown','Export\x20your\x20ChatGPT\x20conversations\x20from\x20Settings\x20→\x20Data\x20Controls\x20→\x20Export\x20data.\x20Then\x20upload\x20the\x20JSON\x20file\x20or\x20paste\x20your\x20conversation\x20data.','Paste\x20your\x20Grok\x20conversation\x20JSON\x20here...','OXZCP','dLyBe','WkOYc','File\x20pick\x20error:','glMCq','Selected\x20file','content://','utf8','DCdab','Failed\x20to\x20read\x20file.\x20Please\x20try\x20again\x20or\x20paste\x20data\x20manually.','paste','file','onairos_jwt_token','enoch_token','FbaGz','mobile_app_import','lBLMp','Success!\x20🎉','Failed\x20to\x20import\x20any\x20conversations.\x20Please\x20check\x20your\x20data\x20format.','Failed\x20to\x20import\x20data.\x20Please\x20try\x20again.','5|4|3|1|0|2','oZzrB','File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','height','handled','Paste\x20Data','none','Tap\x20to\x20select\x20a\x20file','\x20characters','#FFFFFF','Ytnwy','OGVcO','FkNUo','BVhhD','lYCac','bQFwe','Plaxm','WjGXb','IGXaY','Paste\x20your\x20ChatGPT\x20conversation\x20JSON\x20here...','tPJvl','nehzw','wrLUP','tzneu','rAuVL','Connect\x20Gemini','TBvKG','JzgPz','Connect\x20Grok','Export\x20your\x20Grok\x20conversations\x20from\x20X/Twitter\x20and\x20paste\x20the\x20data\x20below.','ilwiR','yfHDs','zlLrj','parse','isArray','fcucA','QfvPU','forEach','length','push','conv_','title','name','Conversation\x20','WsmRq','create_time','created_at','conversations','now','ayEHh','update_time','mapping','AHpVh','GzeXG','CCziP','xhLgd','DIbWj','zseCu','WWyHD','vXahH','lDLdX','mCEfx','BxvNp','YZVzQ','giorm','uWFQH','JNHnq','PFyxL','values','xLwas','content','vplLX','message','parts','join','trim','uKlxQ','TgGbn','msg_','oeNtO','author','Xlybt','toISOString','YZGwm','messages','CMkja','text','role','jnhXs','timestamp','iXWad','chat_messages','JbDlz','OqhAA','sender','human','MsRtx','YomLk','khQau','OiWTk','gFaXR','YmSaN','POnSE','QpsnA','zMyud','cqyxe','qbUFl','Connect\x20','aGiDm','OrxHd','XIIaf','lKdZw','bwIMF','json','plainText','EIXhB','uXErG','jpelb','XUQdo','uri','MSxpc','readFile','zqNzE','oMDCs','SUCCESS','error','EMmUn','ERROR','TBghb','code','DOCUMENT_PICKER_CANCELED','WFIFb','conversation_id','ltAzA','ULheO','GXbNZ','ghMNI','HyXMA','lkbTi','ntxdt','No\x20valid\x20conversations\x20found\x20in\x20the\x20data.\x20Please\x20check\x20the\x20format.','CkqFo','getItem','oNGqd','mobile-','JzHhm','lAkDb','GbJmi','BASE_URL','stringify','conversationId','TKRAt','Version','conversation','OEyup','sbVkw','zIjKi','Failed\x20to\x20store\x20conversation\x20','ycCRo','UKKKB','awguY','ZxuSg','QrgBW','xqsBq','UJAiI','xVJxS','SNMpZ','BAspO','wNLah','setItem','PnPiC','alert','iOrjD','Successfully\x20imported\x20','\x20conversation','\x20from\x20','IItlY','vjUwC','uuid','IFyWk','OQRIO','zDWLN','BUTTON_PRESS','rStZs','yXmvG','YEeTQ','fNZVH','PeXmO','split','OfrTT','createElement','FXNZg','container','utOPa','TELua','headerTitle','closeButton','contentContainer','uJWal','instructionsText','tabActive','KGMmA','MRjga','cTsAw','nKxNL','EiiRS','TtLVG','jywsA','gokWD','updated_at','jEOzL','tabTextActive','wZSBF','tab','tabDisabled','EsDYA','MHzxj','ooDUs','(N/A)','inputContainer','fileInputContainer','filePickButton','filePickIcon','UjFSs','plOpK','errorContainer','errorText','previewContainer','ARAin','GfAXJ','...','footer','submitButtonDisabled','hwIei','create','center','space-between','#E5E7EB','600','grey800','IBM\x20Plex\x20Sans','#3B82F6','#F0F9FF','Inter','row','#F3F4F6','#000','500','grey500','grey300','ios','Menlo','monospace','dashed','grey600','#F0FDF4','#166534','#FEF2F2','#DC2626','surface','#10B981'];_0x4132=function(){return _0x169601;};return _0x4132();}import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';function _0x4a31(_0x413296,_0x4a31d8){_0x413296=_0x413296-0x0;const _0x488721=_0x4132();let _0x4fb72c=_0x488721[_0x413296];return _0x4fb72c;}let DocumentPicker=null,RNFS=null;try{DocumentPicker=__ONAIROS_REQ_FUNC__(0x0);}catch(_0xdf37a0){console[_0x4a31(0x0)]('react-native-document-picker not available - file upload disabled');}try{RNFS=__ONAIROS_REQ_FUNC__(0x1);}catch(_0x4c1c1f){console[_0x4a31(0x0)]('react-native-fs not available - file upload disabled');}const FILE_UPLOAD_AVAILABLE=DocumentPicker!==null&&RNFS!==null,LLMDataInputModal=({visible:_0x16799a,platform:_0x1b64c4,platformName:_0x3ff5d4,onClose:_0x129f43,onSuccess:_0x574da4})=>{const _0x600256={'WjGXb':_0x4a31(0x1),'IGXaY':_0x4a31(0x2),'tPJvl':'claude','nehzw':_0x4a31(0x3),'wrLUP':'Export\x20your\x20Claude\x20conversations\x20and\x20paste\x20the\x20JSON\x20data\x20below,\x20or\x20upload\x20your\x20exported\x20file.','tzneu':_0x4a31(0x4),'rAuVL':_0x4a31(0x5),'TBvKG':_0x4a31(0x6),'TEGkW':_0x4a31(0x7),'JzgPz':_0x4a31(0x8),'ilwiR':_0x4a31(0x9),'yfHDs':'Paste\x20your\x20conversation\x20JSON\x20here...','AHpVh':function(_0x513180,_0x277051){return _0x513180(_0x277051);},'WsmRq':function(_0x3aa90c,_0x99759f){return _0x3aa90c+_0x99759f;},'ayEHh':function(_0x35cbd9,_0x5a6291){return _0x35cbd9+_0x5a6291;},'DIbWj':_0x4a31(0xa),'fcucA':function(_0x551b10,_0x3e4805){return _0x551b10===_0x3e4805;},'GzeXG':_0x4a31(0xb),'CCziP':function(_0x10c52f,_0x4c810f){return _0x10c52f!==_0x4c810f;},'xhLgd':_0x4a31(0xc),'zseCu':function(_0x478ced,_0x1b4bf7){return _0x478ced>_0x1b4bf7;},'WWyHD':'pzHOp','vXahH':_0x4a31(0xd),'zJgxq':_0x4a31(0xe),'jnhXs':_0x4a31(0xf),'iXWad':function(_0x1ed365,_0x4b5720){return _0x1ed365!==_0x4b5720;},'uHGaz':function(_0x5daa7e,_0x2534e5){return _0x5daa7e*_0x2534e5;},'JbDlz':_0x4a31(0x10),'MsRtx':_0x4a31(0x11),'lDLdX':function(_0x54b391,_0x1fbb3f){return _0x54b391(_0x1fbb3f);},'mCEfx':function(_0x5b5f8e,_0x8bd7a2){return _0x5b5f8e!==_0x8bd7a2;},'BxvNp':_0x4a31(0x12),'YZVzQ':function(_0x178ead,_0x2d3d38){return _0x178ead*_0x2d3d38;},'LgBlQ':function(_0x2e5e22,_0x4c9d29){return _0x2e5e22>_0x4c9d29;},'giorm':_0x4a31(0x13),'NlKCp':'Paste\x20your\x20ChatGPT\x20conversation\x20JSON\x20here...','uWFQH':_0x4a31(0x14),'JNHnq':_0x4a31(0x15),'PFyxL':_0x4a31(0x16),'CMkja':_0x4a31(0x17),'OrxHd':_0x4a31(0x18),'XIIaf':function(_0x3a4399,_0x10e998){return _0x3a4399===_0x10e998;},'lKdZw':_0x4a31(0x19),'bwIMF':'rtHDY','Plaxm':function(_0x549651,_0x1af348){return _0x549651(_0x1af348);},'EIXhB':'NVBPu','jpelb':_0x4a31(0x1a),'XUQdo':_0x4a31(0x1b),'MSxpc':_0x4a31(0x1c),'cAgqr':'HonJe','zqNzE':function(_0x5143ae,_0x14c3c2){return _0x5143ae(_0x14c3c2);},'oMDCs':function(_0x575a78,_0x40d28d){return _0x575a78(_0x40d28d);},'TBghb':_0x4a31(0x1d),'WFIFb':_0x4a31(0x1e),'OGVcO':_0x4a31(0x1f),'xqsBq':function(_0x3a70bd,_0xba57ee){return _0x3a70bd!==_0xba57ee;},'GXbNZ':function(_0x17600d,_0x54a82a){return _0x17600d===_0x54a82a;},'ghMNI':_0x4a31(0x20),'ULheO':function(_0x627220,_0x291b6a){return _0x627220!==_0x291b6a;},'HyXMA':function(_0x371131,_0x456f2a){return _0x371131(_0x456f2a);},'lkbTi':'Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.','ntxdt':function(_0x5cc2e7,_0x1ca405){return _0x5cc2e7(_0x1ca405);},'CkqFo':_0x4a31(0x21),'oNGqd':_0x4a31(0x22),'TgHbz':'auth_token','JzHhm':function(_0x36b351,_0x2dacaf){return _0x36b351!==_0x2dacaf;},'lAkDb':'ycgUk','TyHMz':_0x4a31(0x23),'GbJmi':function(_0x2ac578,_0x385eab,_0x480d67){return _0x2ac578(_0x385eab,_0x480d67);},'TKRAt':'1.0.0','OEyup':_0x4a31(0x24),'zIjKi':'dypgn','UKKKB':_0x4a31(0x25),'PnPiC':function(_0x4a67a1,_0xaccb45){return _0x4a67a1(_0xaccb45);},'iOrjD':_0x4a31(0x26),'vjUwC':_0x4a31(0x27),'IFyWk':function(_0x33cdfb,_0x3408ef){return _0x33cdfb!==_0x3408ef;},'zDWLN':'OQRIO','rStZs':'Submit\x20error:','yXmvG':_0x4a31(0x28),'YEeTQ':'fNZVH','PeXmO':_0x4a31(0x29),'XPzEC':function(_0x26905e,_0x2c5b24){return _0x26905e(_0x2c5b24);},'zlLrj':function(_0x54b285){return _0x54b285();},'OfrTT':function(_0xa0967f,_0x2fdaff){return _0xa0967f(_0x2fdaff);},'rNLSS':function(_0x4c2c45,_0x5ca06f){return _0x4c2c45(_0x5ca06f);},'nKxNL':function(_0xc4dce7,_0x235c24){return _0xc4dce7(_0x235c24);},'EiiRS':function(_0x2e053d,_0x2e5287){return _0x2e053d>_0x2e5287;},'TtLVG':function(_0x598cfc,_0x584d2d){return _0x598cfc+_0x584d2d;},'KGMmA':function(_0x2730cb,_0x45888e){return _0x2730cb===_0x45888e;},'MRjga':_0x4a31(0x2a),'jEOzL':function(_0x25f6c8,_0x3698ca){return _0x25f6c8(_0x3698ca);},'EsDYA':function(_0x313afe,_0x3921b8){return _0x313afe(_0x3921b8);},'MHzxj':_0x4a31(0x2b),'Ytnwy':function(_0xe38d2,_0x592aa1){return _0xe38d2(_0x592aa1);},'FkNUo':function(_0x1be47e,_0x562aff){return _0x1be47e(_0x562aff);},'BVhhD':function(_0x3066cb,_0x2746bf){return _0x3066cb(_0x2746bf);},'lYCac':function(_0x3467a9,_0xa16524){return _0x3467a9(_0xa16524);},'bQFwe':function(_0x52dfdc,_0x47b89d){return _0x52dfdc(_0x47b89d);},'FXNZg':'slide','eGAnL':'pageSheet','utOPa':'ios','dEKXQ':'padding','TELua':_0x4a31(0x2c),'uJWal':_0x4a31(0x2d),'wZSBF':_0x4a31(0x2e),'NxwTm':function(_0x21a148,_0xf783d9){return _0x21a148===_0xf783d9;},'ooDUs':function(_0x446eb4,_0x2be0aa){return _0x446eb4&&_0x2be0aa;},'rsWGS':_0x4a31(0x2f),'UjFSs':function(_0x1932f0,_0x24e95e){return _0x1932f0||_0x24e95e;},'plOpK':_0x4a31(0x30),'GfAXJ':function(_0x3c590f,_0x18fd36){return _0x3c590f>_0x18fd36;},'ARAin':'Data\x20Preview','DUJdD':_0x4a31(0x31),'HGkod':_0x4a31(0x32),'hwIei':'small'},[_0x373e22,_0x403aca]=_0x600256[_0x4a31(0x33)](useState,_0x600256[_0x4a31(0x34)]),[_0x22c5ef,_0x557ea1]=_0x600256[_0x4a31(0x35)](useState,''),[_0x3c1e3e,_0x2fae46]=_0x600256[_0x4a31(0x36)](useState,![]),[_0xbd0d9c,_0x1ce968]=_0x600256[_0x4a31(0x37)](useState,null),[_0x3b1a84,_0x5640e7]=_0x600256[_0x4a31(0x38)](useState,null),[_0x15f776,_0x4a72db]=_0x600256[_0x4a31(0x39)](useState,null),_0x263590=()=>{switch(_0x1b64c4){case _0x600256[_0x4a31(0x3a)]:return{'title':_0x600256[_0x4a31(0x3b)],'instructions':_0x4a31(0x13),'placeholder':_0x4a31(0x3c)};case _0x600256[_0x4a31(0x3d)]:return{'title':_0x600256[_0x4a31(0x3e)],'instructions':_0x600256[_0x4a31(0x3f)],'placeholder':_0x600256[_0x4a31(0x40)]};case _0x600256[_0x4a31(0x41)]:return{'title':_0x4a31(0x42),'instructions':_0x600256[_0x4a31(0x43)],'placeholder':_0x600256['TEGkW']};case _0x600256[_0x4a31(0x44)]:return{'title':_0x4a31(0x45),'instructions':_0x4a31(0x46),'placeholder':_0x4a31(0x14)};default:return{'title':'Connect\x20'+_0x3ff5d4,'instructions':_0x600256[_0x4a31(0x47)],'placeholder':_0x600256[_0x4a31(0x48)]};}},{title:_0xf5fe60,instructions:_0x2b3931,placeholder:_0x338af7}=_0x600256[_0x4a31(0x49)](_0x263590),_0x15cc6c=_0x5a45b1=>{const _0x44dc60={'xOHJC':_0x4a31(0xb)};try{const _0x292d0a=JSON[_0x4a31(0x4a)](_0x5a45b1),_0x439721=[];if(Array[_0x4a31(0x4b)](_0x292d0a))_0x600256[_0x4a31(0x4c)](_0x4a31(0x4d),_0x4a31(0x4d))?_0x292d0a[_0x4a31(0x4e)]((_0x4ea997,_0x5b5ba2)=>{const _0x57bc0c=_0x600256['AHpVh'](_0x1cde48,_0x4ea997);_0x57bc0c[_0x4a31(0x4f)]>0x0&&_0x439721[_0x4a31(0x50)]({'conversationId':_0x4ea997['id']||_0x4ea997['conversation_id']||_0x4a31(0x51)+_0x5b5ba2+'_'+Date['now'](),'messages':_0x57bc0c,'context':{'title':_0x4ea997[_0x4a31(0x52)]||_0x4ea997[_0x4a31(0x53)]||_0x4a31(0x54)+_0x600256[_0x4a31(0x55)](_0x5b5ba2,0x1),'create_time':_0x4ea997[_0x4a31(0x56)]||_0x4ea997[_0x4a31(0x57)],'update_time':_0x4ea997['update_time']||_0x4ea997['updated_at']}});}):_0x1a590c++;else{if(_0x292d0a[_0x4a31(0x58)]&&Array[_0x4a31(0x4b)](_0x292d0a[_0x4a31(0x58)]))_0x292d0a[_0x4a31(0x58)][_0x4a31(0x4e)]((_0xf0fcc4,_0x50464b)=>{const _0xb5b236=_0x1cde48(_0xf0fcc4);_0xb5b236[_0x4a31(0x4f)]>0x0&&_0x439721[_0x4a31(0x50)]({'conversationId':_0xf0fcc4['id']||'conv_'+_0x50464b+'_'+Date[_0x4a31(0x59)](),'messages':_0xb5b236,'context':{'title':_0xf0fcc4[_0x4a31(0x52)]||_0x4a31(0x54)+_0x600256[_0x4a31(0x5a)](_0x50464b,0x1),'create_time':_0xf0fcc4[_0x4a31(0x56)],'update_time':_0xf0fcc4[_0x4a31(0x5b)]}});});else{if(_0x292d0a[_0x4a31(0x5c)]||_0x292d0a['messages']){const _0x5bfd4e=_0x600256[_0x4a31(0x5d)](_0x1cde48,_0x292d0a);_0x5bfd4e[_0x4a31(0x4f)]>0x0&&_0x439721['push']({'conversationId':_0x292d0a['id']||_0x4a31(0x51)+Date['now'](),'messages':_0x5bfd4e,'context':{'title':_0x292d0a[_0x4a31(0x52)]||_0x600256[_0x4a31(0x5e)],'create_time':_0x292d0a[_0x4a31(0x56)],'update_time':_0x292d0a[_0x4a31(0x5b)]}});}else{if(_0x600256[_0x4a31(0x5f)](_0x600256[_0x4a31(0x60)],_0x4a31(0xc)))throw new _0x2864bf(_0x600256[_0x4a31(0x61)]);else{const _0xc70f99=_0x1cde48(_0x292d0a);_0x600256[_0x4a31(0x62)](_0xc70f99[_0x4a31(0x4f)],0x0)&&(_0x600256[_0x4a31(0x63)]===_0x600256['WWyHD']?_0x439721[_0x4a31(0x50)]({'conversationId':_0x4a31(0x51)+Date[_0x4a31(0x59)](),'messages':_0xc70f99,'context':{'title':_0x292d0a[_0x4a31(0x52)]||_0x600256[_0x4a31(0x5e)]}}):_0x292ca1[_0x4a31(0x50)]({'conversationId':_0x428f67['id']||_0x4a31(0x51)+_0xd2239d[_0x4a31(0x59)](),'messages':_0xbe4d07,'context':{'title':_0x1cc7dd['title']||_0x44dc60['xOHJC'],'create_time':_0x549090[_0x4a31(0x56)],'update_time':_0x3f18a0['update_time']}}));}}}}return _0x439721;}catch(_0x2ce6e7){console['error']('Error\x20parsing\x20conversation\x20data:',_0x2ce6e7);throw new Error(_0x600256[_0x4a31(0x64)]);}},_0x1cde48=_0x524e5f=>{const _0x2643e2={'YZGwm':function(_0x2efdb4,_0x38e4f8){return _0x600256[_0x4a31(0x65)](_0x2efdb4,_0x38e4f8);},'xLwas':function(_0x43dd6e,_0xbd27f4){return _0x600256[_0x4a31(0x5f)](_0x43dd6e,_0xbd27f4);},'vplLX':function(_0x1ba401,_0x22a75b){return _0x600256[_0x4a31(0x66)](_0x1ba401,_0x22a75b);},'uKlxQ':function(_0x144c07,_0x42e1b2){return _0x600256['CCziP'](_0x144c07,_0x42e1b2);},'oeNtO':function(_0x219681,_0x145e25){return _0x219681===_0x145e25;},'RjseR':_0x600256[_0x4a31(0x67)],'Xlybt':function(_0x3c0eb5,_0x204ef7){return _0x600256[_0x4a31(0x68)](_0x3c0eb5,_0x204ef7);},'qMAzA':function(_0x5f5107,_0x4239c5){return _0x600256['LgBlQ'](_0x5f5107,_0x4239c5);},'OqhAA':_0x600256[_0x4a31(0x5e)],'YomLk':_0x600256[_0x4a31(0x3a)],'khQau':'Connect\x20ChatGPT','OWMvM':_0x600256[_0x4a31(0x69)],'OiWTk':_0x600256['NlKCp'],'gFaXR':_0x600256[_0x4a31(0x3d)],'GCQmO':_0x600256[_0x4a31(0x3e)],'hWmFV':_0x600256[_0x4a31(0x3f)],'YmSaN':_0x600256[_0x4a31(0x40)],'POnSE':_0x600256[_0x4a31(0x41)],'DxaOP':'Connect\x20Gemini','QpsnA':_0x600256['TBvKG'],'JaBBG':_0x600256['TEGkW'],'zMyud':_0x600256[_0x4a31(0x44)],'cqyxe':'Connect\x20Grok','qbUFl':_0x600256[_0x4a31(0x6a)],'aGiDm':'Paste\x20your\x20conversation\x20data\x20below\x20or\x20upload\x20a\x20JSON\x20file.','luuYs':_0x600256['yfHDs']};if(_0x600256['iXWad'](_0x600256[_0x4a31(0x6b)],_0x600256[_0x4a31(0x6c)])){const _0x485bff=[];_0x524e5f['mapping']&&Object[_0x4a31(0x6d)](_0x524e5f['mapping'])[_0x4a31(0x4e)]((_0x324f1b,_0x57917a)=>{var _0x431766;if(_0x2643e2[_0x4a31(0x6e)](_0x324f1b,null)&&_0x324f1b!==void 0x0&&(_0x431766=_0x324f1b['message'])!==null&&_0x2643e2['xLwas'](_0x431766,void 0x0)&&(_0x431766=_0x431766[_0x4a31(0x6f)])!==null&&_0x2643e2[_0x4a31(0x70)](_0x431766,void 0x0)&&_0x431766['parts']){const _0x47124d=_0x324f1b[_0x4a31(0x71)]['content'][_0x4a31(0x72)][_0x4a31(0x73)]('\x0a');if(_0x47124d[_0x4a31(0x74)]()){if(_0x2643e2[_0x4a31(0x75)](_0x4a31(0x76),'fOCec')){var _0x573b23;_0x485bff[_0x4a31(0x50)]({'id':_0x324f1b[_0x4a31(0x71)]['id']||_0x4a31(0x77)+_0x57917a,'role':(_0x2643e2[_0x4a31(0x78)](_0x573b23=_0x324f1b[_0x4a31(0x71)][_0x4a31(0x79)],null)||_0x2643e2[_0x4a31(0x78)](_0x573b23,void 0x0)?void 0x0:_0x573b23['role'])||_0x2643e2['RjseR'],'content':_0x47124d,'timestamp':_0x324f1b['message'][_0x4a31(0x56)]?new Date(_0x2643e2[_0x4a31(0x7a)](_0x324f1b['message'][_0x4a31(0x56)],0x3e8))[_0x4a31(0x7b)]():undefined});}else _0x4a973c=_0x2643e2[_0x4a31(0x7c)](_0x3ed819,0x0);}}});if(_0x524e5f[_0x4a31(0x7d)]&&Array[_0x4a31(0x4b)](_0x524e5f['messages'])){if(_0x600256[_0x4a31(0x4c)](_0x600256[_0x4a31(0x7e)],_0x600256['CMkja']))_0x524e5f[_0x4a31(0x7d)]['forEach']((_0x328330,_0x2dbbdc)=>{var _0x3c53d0;const _0x40919a=_0x328330[_0x4a31(0x6f)]||_0x328330[_0x4a31(0x7f)]||_0x328330['message']||'';if(typeof _0x40919a===_0x600256['zJgxq']&&_0x40919a[_0x4a31(0x74)]())_0x485bff['push']({'id':_0x328330['id']||_0x4a31(0x77)+_0x2dbbdc,'role':_0x328330[_0x4a31(0x80)]||_0x328330[_0x4a31(0x79)]||_0x600256[_0x4a31(0x81)],'content':_0x40919a,'timestamp':_0x328330[_0x4a31(0x82)]||_0x328330[_0x4a31(0x57)]});else _0x600256[_0x4a31(0x83)](_0x3c53d0=_0x328330[_0x4a31(0x6f)],null)&&_0x3c53d0!==void 0x0&&_0x3c53d0[_0x4a31(0x72)]&&_0x485bff[_0x4a31(0x50)]({'id':_0x328330['id']||'msg_'+_0x2dbbdc,'role':_0x328330['role']||_0x600256[_0x4a31(0x81)],'content':_0x328330[_0x4a31(0x6f)][_0x4a31(0x72)]['join']('\x0a'),'timestamp':_0x328330[_0x4a31(0x82)]});});else{const _0x4fa0e7=_0x1e794b[_0x4a31(0x71)][_0x4a31(0x6f)][_0x4a31(0x72)][_0x4a31(0x73)]('\x0a');if(_0x4fa0e7[_0x4a31(0x74)]()){var _0x37d38e;_0x2c1c98[_0x4a31(0x50)]({'id':_0x4578a2['message']['id']||'msg_'+_0x23886a,'role':(_0x600256['fcucA'](_0x37d38e=_0xf754ee[_0x4a31(0x71)][_0x4a31(0x79)],null)||_0x37d38e===void 0x0?void 0x0:_0x37d38e[_0x4a31(0x80)])||_0x4a31(0x12),'content':_0x4fa0e7,'timestamp':_0x413350[_0x4a31(0x71)][_0x4a31(0x56)]?new _0x40817d(_0x600256['uHGaz'](_0x21017[_0x4a31(0x71)][_0x4a31(0x56)],0x3e8))[_0x4a31(0x7b)]():_0x2d1729});}}}return _0x524e5f['chat_messages']&&Array[_0x4a31(0x4b)](_0x524e5f['chat_messages'])&&_0x524e5f[_0x4a31(0x84)][_0x4a31(0x4e)]((_0x4d8e51,_0x526a19)=>{if(_0x4d8e51['text']||_0x4d8e51['content']){if(_0x600256['iXWad'](_0x600256[_0x4a31(0x85)],_0x600256['JbDlz'])){const _0x26e258=_0x2643e2[_0x4a31(0x7c)](_0x4f3700,_0x45ef00);_0x2643e2['qMAzA'](_0x26e258[_0x4a31(0x4f)],0x0)&&_0x1621de['push']({'conversationId':_0x50700['id']||_0x4a31(0x51)+_0x719544['now'](),'messages':_0x26e258,'context':{'title':_0x33a90a[_0x4a31(0x52)]||_0x2643e2[_0x4a31(0x86)],'create_time':_0x1a2cf8['create_time'],'update_time':_0x15ecb5[_0x4a31(0x5b)]}});}else _0x485bff[_0x4a31(0x50)]({'id':_0x4d8e51['uuid']||_0x4a31(0x77)+_0x526a19,'role':_0x4d8e51[_0x4a31(0x87)]===_0x4a31(0x88)?_0x4a31(0xf):_0x600256[_0x4a31(0x89)],'content':_0x4d8e51[_0x4a31(0x7f)]||_0x4d8e51[_0x4a31(0x6f)],'timestamp':_0x4d8e51['created_at']});}}),_0x485bff;}else switch(_0x47db5d){case _0x2643e2[_0x4a31(0x8a)]:return{'title':_0x2643e2[_0x4a31(0x8b)],'instructions':_0x2643e2['OWMvM'],'placeholder':_0x2643e2[_0x4a31(0x8c)]};case _0x2643e2[_0x4a31(0x8d)]:return{'title':_0x2643e2['GCQmO'],'instructions':_0x2643e2['hWmFV'],'placeholder':_0x2643e2[_0x4a31(0x8e)]};case _0x2643e2[_0x4a31(0x8f)]:return{'title':_0x2643e2['DxaOP'],'instructions':_0x2643e2[_0x4a31(0x90)],'placeholder':_0x2643e2['JaBBG']};case _0x2643e2[_0x4a31(0x91)]:return{'title':_0x2643e2[_0x4a31(0x92)],'instructions':_0x4a31(0x46),'placeholder':_0x2643e2[_0x4a31(0x93)]};default:return{'title':_0x4a31(0x94)+_0x20b073,'instructions':_0x2643e2[_0x4a31(0x95)],'placeholder':_0x2643e2['luuYs']};}},_0xa8007b=async()=>{const _0x5a73b2={'TYmOe':_0x600256[_0x4a31(0x81)],'OYUTf':_0x600256[_0x4a31(0x96)],'EMmUn':function(_0xdbda95,_0x1805ed){return _0x600256[_0x4a31(0x5d)](_0xdbda95,_0x1805ed);},'ltAzA':function(_0x138826,_0x1769cd){return _0x600256[_0x4a31(0x55)](_0x138826,_0x1769cd);}};if(!FILE_UPLOAD_AVAILABLE){_0x1ce968('File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}try{if(_0x600256[_0x4a31(0x97)](_0x600256[_0x4a31(0x98)],_0x600256[_0x4a31(0x99)]))_0x3eb87c(![]);else{_0x600256['Plaxm'](_0x1ce968,null);const {pick:_0x310739,types:_0x260e84}=DocumentPicker,_0x3358f5=await _0x600256[_0x4a31(0x65)](_0x310739,{'type':[_0x260e84[_0x4a31(0x9a)],_0x260e84[_0x4a31(0x9b)],_0x260e84['allFiles']]});if(_0x3358f5&&_0x3358f5[0x0]){if(_0x600256[_0x4a31(0x9c)]!==_0x4a31(0x9d)){const _0x4d1670=_0x3358f5[0x0];_0x600256[_0x4a31(0x65)](_0x5640e7,_0x4d1670[_0x4a31(0x53)]||_0x600256[_0x4a31(0x9e)]);let _0x5c71ca;_0x4d1670['uri']['startsWith'](_0x600256[_0x4a31(0x9f)])?_0x5c71ca=await RNFS['readFile'](_0x4d1670[_0x4a31(0xa0)],_0x600256[_0x4a31(0xa1)]):_0x600256['fcucA'](_0x600256['cAgqr'],_0x600256['cAgqr'])?_0x5c71ca=await RNFS[_0x4a31(0xa2)](_0x4d1670[_0x4a31(0xa0)],_0x600256[_0x4a31(0xa1)]):_0x82b19c[_0x4a31(0x50)]({'id':_0x53253a['id']||_0x4a31(0x77)+_0x1a5d0f,'role':_0x386188['role']||_0x389cae[_0x4a31(0x79)]||_0x5a73b2['TYmOe'],'content':_0x387b0f,'timestamp':_0xc8ebc1[_0x4a31(0x82)]||_0x4a6c87[_0x4a31(0x57)]}),_0x600256[_0x4a31(0xa3)](_0x4a72db,_0x5c71ca),_0x557ea1(_0x5c71ca),_0x600256[_0x4a31(0xa4)](triggerHaptic,HapticType[_0x4a31(0xa5)]);}else _0x1a440f[_0x4a31(0xa6)](_0x5a73b2['OYUTf'],_0x2b692f),_0x5a73b2[_0x4a31(0xa7)](_0x3fb088,_0x4a31(0x1e)),_0x14c509(_0x39dd2d[_0x4a31(0xa8)]);}}}catch(_0x38545a){_0x600256[_0x4a31(0x4c)](_0x600256[_0x4a31(0xa9)],_0x600256['TBghb'])?_0x38545a[_0x4a31(0xaa)]!==_0x4a31(0xab)&&(console['error'](_0x600256['OrxHd'],_0x38545a),_0x600256[_0x4a31(0xa3)](_0x1ce968,_0x600256[_0x4a31(0xac)]),_0x600256['lDLdX'](triggerHaptic,HapticType[_0x4a31(0xa8)])):_0x3b9c65['push']({'conversationId':_0x531688['id']||_0x2790c9[_0x4a31(0xad)]||_0x4a31(0x51)+_0x128544+'_'+_0x3f94ed[_0x4a31(0x59)](),'messages':_0x33ca9e,'context':{'title':_0x6b5fa7[_0x4a31(0x52)]||_0x135dbd['name']||_0x4a31(0x54)+_0x5a73b2[_0x4a31(0xae)](_0x2477ac,0x1),'create_time':_0x1c1caa[_0x4a31(0x56)]||_0x3e2baa[_0x4a31(0x57)],'update_time':_0x57c0e3['update_time']||_0x1b5005['updated_at']}});}},_0x46517f=async()=>{const _0x3a04ea={'awguY':function(_0x3a2933,_0x52e37d){return _0x600256['XIIaf'](_0x3a2933,_0x52e37d);},'vZqoB':_0x600256['zJgxq'],'ZxuSg':function(_0x4e09f5,_0x5255c7){return _0x600256['xqsBq'](_0x4e09f5,_0x5255c7);},'QrgBW':function(_0x19c991,_0x44e125){return _0x600256[_0x4a31(0xaf)](_0x19c991,_0x44e125);},'Zzvqk':_0x4a31(0xf),'dbYhs':_0x600256[_0x4a31(0x89)]},_0x99690d=_0x600256[_0x4a31(0xb0)](_0x373e22,_0x600256[_0x4a31(0xb1)])&&_0x15f776?_0x15f776:_0x22c5ef;if(!_0x99690d[_0x4a31(0x74)]()){_0x600256[_0x4a31(0xb2)](_0x1ce968,_0x600256[_0x4a31(0xb3)]),triggerHaptic(HapticType[_0x4a31(0xa8)]);return;}_0x600256[_0x4a31(0xb4)](_0x2fae46,!![]),_0x1ce968(null);try{const _0x4bd839=_0x600256['ntxdt'](_0x15cc6c,_0x99690d);if(_0x600256[_0x4a31(0x97)](_0x4bd839[_0x4a31(0x4f)],0x0))throw new Error(_0x4a31(0xb5));const _0x5d53cb=await AsyncStorage['getItem'](_0x600256[_0x4a31(0xb6)])||await AsyncStorage[_0x4a31(0xb7)](_0x600256[_0x4a31(0xb8)])||await AsyncStorage[_0x4a31(0xb7)](_0x600256['TgHbz']);if(!_0x5d53cb)throw new Error(_0x600256[_0x4a31(0x61)]);const _0x32eef6=_0x4a31(0xb9)+_0x1b64c4;let _0x228d99=0x0;for(const _0x304a8e of _0x4bd839){if(_0x600256[_0x4a31(0xba)](_0x600256[_0x4a31(0xbb)],_0x600256['TyHMz']))try{const _0x543913=await _0x600256[_0x4a31(0xbc)](fetch,API_CONFIG[_0x4a31(0xbd)]+'/llm-data/store',{'method':'POST','headers':{'Content-Type':'application/json','Authorization':'Bearer\x20'+_0x5d53cb},'body':JSON[_0x4a31(0xbe)]({'platform':_0x32eef6,'conversationData':{'conversationId':_0x304a8e[_0x4a31(0xbf)],'messages':_0x304a8e[_0x4a31(0x7d)],'context':_0x304a8e['context'],'mobileMetadata':{'platform':Platform['OS'],'appVersion':_0x600256[_0x4a31(0xc0)],'osVersion':Platform[_0x4a31(0xc1)],'isOfflineSync':![]}},'memoryType':_0x4a31(0xc2),'metadata':{'source':_0x600256[_0x4a31(0xc3)],'importedAt':new Date()[_0x4a31(0x7b)](),'originalPlatform':_0x1b64c4}})});if(_0x543913['ok'])_0x4a31(0xc4)===_0x600256[_0x4a31(0xc5)]?(_0x2058d7(_0x600256[_0x4a31(0x34)]),_0x543611(_0x34a218['BUTTON_PRESS'])):_0x228d99++;else{const _0x28c694=await _0x543913[_0x4a31(0x7f)]();console['error'](_0x4a31(0xc6)+_0x304a8e[_0x4a31(0xbf)]+':',_0x28c694);}}catch(_0x1a0f4d){_0x4a31(0xc7)===_0x600256[_0x4a31(0xc8)]?_0x5bbb88[_0x4a31(0x7d)]['forEach']((_0x489235,_0x7974e9)=>{var _0x507b24;const _0x162176=_0x489235[_0x4a31(0x6f)]||_0x489235[_0x4a31(0x7f)]||_0x489235[_0x4a31(0x71)]||'';if(_0x3a04ea[_0x4a31(0xc9)](typeof _0x162176,_0x3a04ea['vZqoB'])&&_0x162176[_0x4a31(0x74)]())_0x21447e[_0x4a31(0x50)]({'id':_0x489235['id']||_0x4a31(0x77)+_0x7974e9,'role':_0x489235[_0x4a31(0x80)]||_0x489235['author']||_0x4a31(0xf),'content':_0x162176,'timestamp':_0x489235[_0x4a31(0x82)]||_0x489235[_0x4a31(0x57)]});else _0x3a04ea[_0x4a31(0xca)](_0x507b24=_0x489235['content'],null)&&_0x3a04ea[_0x4a31(0xcb)](_0x507b24,void 0x0)&&_0x507b24['parts']&&_0x2b2e5d[_0x4a31(0x50)]({'id':_0x489235['id']||_0x4a31(0x77)+_0x7974e9,'role':_0x489235[_0x4a31(0x80)]||_0x4a31(0xf),'content':_0x489235[_0x4a31(0x6f)][_0x4a31(0x72)]['join']('\x0a'),'timestamp':_0x489235[_0x4a31(0x82)]});}):console[_0x4a31(0xa6)]('Error\x20storing\x20conversation:',_0x1a0f4d);}else{const _0x329429={'UJAiI':function(_0x57580f,_0x138427){return _0x57580f!==_0x138427;},'cpqHG':function(_0x3aad12,_0x51b750){return _0x3aad12!==_0x51b750;},'MefVf':function(_0x2a264b,_0x5c7523){return _0x600256[_0x4a31(0x66)](_0x2a264b,_0x5c7523);},'xVJxS':function(_0x45ded8,_0x22d81f){return _0x45ded8!==_0x22d81f;},'SNMpZ':function(_0x1cc8ab,_0x534851){return _0x600256[_0x4a31(0xcc)](_0x1cc8ab,_0x534851);},'BAspO':function(_0x2e882e,_0x25f9e4){return _0x600256['GXbNZ'](_0x2e882e,_0x25f9e4);},'wNLah':_0x600256['BxvNp'],'fHGmW':function(_0x5bcc1f,_0x26db35){return _0x5bcc1f*_0x26db35;}};_0x80082['values'](_0x5ad900[_0x4a31(0x5c)])[_0x4a31(0x4e)]((_0x430b41,_0x455acc)=>{var _0xf8b13f;if(_0x329429[_0x4a31(0xcd)](_0x430b41,null)&&_0x329429['cpqHG'](_0x430b41,void 0x0)&&_0x329429['MefVf'](_0xf8b13f=_0x430b41[_0x4a31(0x71)],null)&&_0x329429[_0x4a31(0xce)](_0xf8b13f,void 0x0)&&_0x329429['SNMpZ'](_0xf8b13f=_0xf8b13f['content'],null)&&_0x329429[_0x4a31(0xcf)](_0xf8b13f,void 0x0)&&_0xf8b13f[_0x4a31(0x72)]){const _0x3c150a=_0x430b41[_0x4a31(0x71)][_0x4a31(0x6f)][_0x4a31(0x72)][_0x4a31(0x73)]('\x0a');if(_0x3c150a[_0x4a31(0x74)]()){var _0x1d3d02;_0x11ffc4[_0x4a31(0x50)]({'id':_0x430b41[_0x4a31(0x71)]['id']||'msg_'+_0x455acc,'role':(_0x329429[_0x4a31(0xd0)](_0x1d3d02=_0x430b41['message']['author'],null)||_0x329429[_0x4a31(0xd0)](_0x1d3d02,void 0x0)?void 0x0:_0x1d3d02[_0x4a31(0x80)])||_0x329429[_0x4a31(0xd1)],'content':_0x3c150a,'timestamp':_0x430b41[_0x4a31(0x71)]['create_time']?new _0xc8089(_0x329429['fHGmW'](_0x430b41[_0x4a31(0x71)]['create_time'],0x3e8))[_0x4a31(0x7b)]():_0x4727b7});}}});}}if(_0x600256[_0x4a31(0x62)](_0x228d99,0x0))await AsyncStorage[_0x4a31(0xd2)]('@onairos:llm_connected:'+_0x1b64c4,JSON['stringify']({'connected':!![],'platform':_0x1b64c4,'conversationsCount':_0x228d99,'lastSyncAt':new Date()[_0x4a31(0x7b)]()})),_0x600256[_0x4a31(0xd3)](triggerHaptic,HapticType[_0x4a31(0xa5)]),Alert[_0x4a31(0xd4)](_0x600256[_0x4a31(0xd5)],_0x4a31(0xd6)+_0x228d99+_0x4a31(0xd7)+(_0x600256['LgBlQ'](_0x228d99,0x1)?'s':'')+_0x4a31(0xd8)+_0x3ff5d4+'.',[{'text':'OK','onPress':()=>_0x574da4(_0x1b64c4)}]);else{if(_0x600256[_0x4a31(0x4c)](_0x4a31(0xd9),'IItlY'))throw new Error(_0x600256[_0x4a31(0xda)]);else(_0x1e45ef[_0x4a31(0x7f)]||_0x55ad9e['content'])&&_0x1737fb[_0x4a31(0x50)]({'id':_0x58a148[_0x4a31(0xdb)]||_0x4a31(0x77)+_0x296bac,'role':_0x147328[_0x4a31(0x87)]==='human'?_0x3a04ea['Zzvqk']:_0x3a04ea['dbYhs'],'content':_0x7f5d5f['text']||_0x281ed7[_0x4a31(0x6f)],'timestamp':_0x3989d2[_0x4a31(0x57)]});}}catch(_0x40c03c){_0x600256[_0x4a31(0xdc)](_0x4a31(0xdd),_0x600256[_0x4a31(0xde)])?(_0x600256[_0x4a31(0x65)](_0x5c2a30,_0x600256[_0x4a31(0xb1)]),_0x5d620b(_0x577bbd[_0x4a31(0xdf)])):(console[_0x4a31(0xa6)](_0x600256[_0x4a31(0xe0)],_0x40c03c),_0x600256[_0x4a31(0x5d)](_0x1ce968,_0x40c03c['message']||_0x600256[_0x4a31(0xe1)]),_0x600256[_0x4a31(0x5d)](triggerHaptic,HapticType['ERROR']));}finally{_0x600256[_0x4a31(0xb4)](_0x2fae46,![]);}},_0x677ddd=()=>{if(_0x600256[_0x4a31(0xe2)]!==_0x4a31(0xe3)){const _0x2687a6=_0x94783b(_0x58240b);_0x2687a6[_0x4a31(0x4f)]>0x0&&_0x4811c7['push']({'conversationId':_0x4a31(0x51)+_0x52a493[_0x4a31(0x59)](),'messages':_0x2687a6,'context':{'title':_0x33f5ac[_0x4a31(0x52)]||_0x4a31(0xb)}});}else{const _0x49d5c1=_0x600256[_0x4a31(0xe4)][_0x4a31(0xe5)]('|');let _0x3aa379=0x0;while(!![]){switch(_0x49d5c1[_0x3aa379++]){case'0':_0x600256['lDLdX'](_0x403aca,_0x4a31(0x1f));continue;case'1':_0x600256['XPzEC'](_0x1ce968,null);continue;case'2':_0x600256[_0x4a31(0x49)](_0x129f43);continue;case'3':_0x600256[_0x4a31(0xe6)](_0x5640e7,null);continue;case'4':_0x600256[_0x4a31(0xa4)](_0x4a72db,null);continue;case'5':_0x600256['rNLSS'](_0x557ea1,'');continue;}break;}}};return React[_0x4a31(0xe7)](Modal,{'visible':_0x16799a,'animationType':_0x600256[_0x4a31(0xe8)],'presentationStyle':_0x600256['eGAnL'],'onRequestClose':_0x677ddd},React[_0x4a31(0xe7)](KeyboardAvoidingView,{'style':styles[_0x4a31(0xe9)],'behavior':Platform['OS']===_0x600256[_0x4a31(0xea)]?_0x600256['dEKXQ']:_0x600256[_0x4a31(0xeb)]},React[_0x4a31(0xe7)](View,{'style':styles['header']},React[_0x4a31(0xe7)](TouchableOpacity,{'style':styles['closeButton'],'onPress':_0x677ddd},React[_0x4a31(0xe7)](Text,{'style':styles['closeButtonText']},'Cancel')),React['createElement'](Text,{'style':styles[_0x4a31(0xec)]},_0xf5fe60),React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0xed)]})),React[_0x4a31(0xe7)](ScrollView,{'style':styles[_0x4a31(0x6f)],'contentContainerStyle':styles[_0x4a31(0xee)],'keyboardShouldPersistTaps':_0x600256[_0x4a31(0xef)]},React[_0x4a31(0xe7)](View,{'style':styles['instructionsContainer']},React['createElement'](Text,{'style':styles[_0x4a31(0xf0)]},_0x2b3931)),React[_0x4a31(0xe7)](View,{'style':styles['tabContainer']},React['createElement'](TouchableOpacity,{'style':[styles['tab'],_0x600256[_0x4a31(0xb0)](_0x373e22,_0x4a31(0x1f))&&styles[_0x4a31(0xf1)]],'onPress':()=>{if(_0x600256[_0x4a31(0xf2)](_0x600256[_0x4a31(0xf3)],_0x4a31(0xf4))){const _0x55674d={'jywsA':function(_0x2896f8,_0x3c4b1c){return _0x600256[_0x4a31(0xf5)](_0x2896f8,_0x3c4b1c);},'gokWD':function(_0x5d9e4a,_0x3bffa1){return _0x600256[_0x4a31(0xf6)](_0x5d9e4a,_0x3bffa1);},'dhFOF':function(_0x284128,_0x1ff783){return _0x600256[_0x4a31(0xf7)](_0x284128,_0x1ff783);}};_0x3470f6[_0x4a31(0x4e)]((_0x144fe2,_0x20dd19)=>{const _0x153099=_0x55674d[_0x4a31(0xf8)](_0x302458,_0x144fe2);_0x55674d[_0x4a31(0xf9)](_0x153099[_0x4a31(0x4f)],0x0)&&_0x3d3522['push']({'conversationId':_0x144fe2['id']||_0x144fe2['conversation_id']||_0x4a31(0x51)+_0x20dd19+'_'+_0x543de1['now'](),'messages':_0x153099,'context':{'title':_0x144fe2[_0x4a31(0x52)]||_0x144fe2[_0x4a31(0x53)]||_0x4a31(0x54)+_0x55674d['dhFOF'](_0x20dd19,0x1),'create_time':_0x144fe2[_0x4a31(0x56)]||_0x144fe2[_0x4a31(0x57)],'update_time':_0x144fe2[_0x4a31(0x5b)]||_0x144fe2[_0x4a31(0xfa)]}});});}else _0x600256[_0x4a31(0xfb)](_0x403aca,_0x4a31(0x1f)),triggerHaptic(HapticType['BUTTON_PRESS']);}},React[_0x4a31(0xe7)](Text,{'style':[styles['tabText'],_0x600256[_0x4a31(0x97)](_0x373e22,_0x600256[_0x4a31(0x34)])&&styles[_0x4a31(0xfc)]]},_0x600256[_0x4a31(0xfd)])),React[_0x4a31(0xe7)](TouchableOpacity,{'style':[styles[_0x4a31(0xfe)],_0x600256['NxwTm'](_0x373e22,_0x600256[_0x4a31(0xb1)])&&styles[_0x4a31(0xf1)],!FILE_UPLOAD_AVAILABLE&&styles[_0x4a31(0xff)]],'onPress':()=>{FILE_UPLOAD_AVAILABLE?(_0x600256[_0x4a31(0xb4)](_0x403aca,_0x600256['ghMNI']),_0x600256['zqNzE'](triggerHaptic,HapticType[_0x4a31(0xdf)])):(_0x600256[_0x4a31(0x100)](_0x1ce968,_0x600256[_0x4a31(0x101)]),_0x600256[_0x4a31(0xd3)](triggerHaptic,HapticType['ERROR']));}},React[_0x4a31(0xe7)](Text,{'style':[styles['tabText'],_0x600256[_0x4a31(0xf2)](_0x373e22,_0x600256[_0x4a31(0xb1)])&&styles[_0x4a31(0xfc)],!FILE_UPLOAD_AVAILABLE&&styles['tabTextDisabled']]},'Upload\x20File\x20',_0x600256[_0x4a31(0x102)](!FILE_UPLOAD_AVAILABLE,_0x4a31(0x103))))),_0x373e22===_0x4a31(0x1f)?React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0x104)]},React[_0x4a31(0xe7)](TextInput,{'style':styles['textInput'],'multiline':!![],'placeholder':_0x338af7,'placeholderTextColor':COLORS['grey400'],'value':_0x22c5ef,'onChangeText':_0x557ea1,'textAlignVertical':'top','autoCapitalize':_0x600256['rsWGS'],'autoCorrect':![]})):React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0x105)]},React[_0x4a31(0xe7)](TouchableOpacity,{'style':styles[_0x4a31(0x106)],'onPress':_0xa8007b},React[_0x4a31(0xe7)](Text,{'style':styles[_0x4a31(0x107)]},'📁'),React['createElement'](Text,{'style':styles['filePickText']},_0x600256[_0x4a31(0x108)](_0x3b1a84,_0x600256[_0x4a31(0x109)]))),_0x3b1a84&&React[_0x4a31(0xe7)](View,{'style':styles['fileSelectedContainer']},React[_0x4a31(0xe7)](Text,{'style':styles['fileSelectedText']},'✓\x20',_0x3b1a84))),_0xbd0d9c&&React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0x10a)]},React['createElement'](Text,{'style':styles[_0x4a31(0x10b)]},_0xbd0d9c)),_0x600256['GfAXJ'](_0x22c5ef[_0x4a31(0x4f)],0x0)&&React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0x10c)]},React['createElement'](Text,{'style':styles['previewTitle']},_0x600256[_0x4a31(0x10d)]),React[_0x4a31(0xe7)](Text,{'style':styles['previewText'],'numberOfLines':0x5},_0x22c5ef['substring'](0x0,0x1f4),_0x600256[_0x4a31(0x10e)](_0x22c5ef[_0x4a31(0x4f)],0x1f4)?_0x4a31(0x10f):''),React['createElement'](Text,{'style':styles['previewInfo']},_0x22c5ef[_0x4a31(0x4f)]['toLocaleString'](),_0x600256['DUJdD']))),React[_0x4a31(0xe7)](View,{'style':styles[_0x4a31(0x110)]},React[_0x4a31(0xe7)](TouchableOpacity,{'style':[styles['submitButton'],(!_0x22c5ef[_0x4a31(0x74)]()||_0x3c1e3e)&&styles[_0x4a31(0x111)]],'onPress':_0x46517f,'disabled':!_0x22c5ef[_0x4a31(0x74)]()||_0x3c1e3e},_0x3c1e3e?React['createElement'](ActivityIndicator,{'color':_0x600256['HGkod'],'size':_0x600256[_0x4a31(0x112)]}):React['createElement'](Text,{'style':styles['submitButtonText']},'Import\x20Conversations')))));},styles=StyleSheet[_0x4a31(0x113)]({'container':{'flex':0x1,'backgroundColor':COLORS['surface']},'header':{'flexDirection':'row','alignItems':_0x4a31(0x114),'justifyContent':_0x4a31(0x115),'paddingHorizontal':0x10,'paddingTop':Platform['OS']==='ios'?0xc:0x10,'paddingBottom':0xc,'borderBottomWidth':0x1,'borderBottomColor':_0x4a31(0x116)},'headerTitle':{'fontSize':0x11,'fontWeight':_0x4a31(0x117),'color':COLORS[_0x4a31(0x118)],'fontFamily':_0x4a31(0x119)},'closeButton':{'width':0x3c},'closeButtonText':{'fontSize':0x10,'color':_0x4a31(0x11a),'fontFamily':'Inter'},'content':{'flex':0x1},'contentContainer':{'padding':0x14,'paddingBottom':0x28},'instructionsContainer':{'backgroundColor':_0x4a31(0x11b),'borderRadius':0xc,'padding':0x10,'marginBottom':0x14},'instructionsText':{'fontSize':0xe,'lineHeight':0x14,'color':'#0369A1','fontFamily':_0x4a31(0x11c)},'tabContainer':{'flexDirection':_0x4a31(0x11d),'backgroundColor':_0x4a31(0x11e),'borderRadius':0xa,'padding':0x4,'marginBottom':0x14},'tab':{'flex':0x1,'paddingVertical':0xa,'borderRadius':0x8,'alignItems':_0x4a31(0x114)},'tabActive':{'backgroundColor':'#FFFFFF','shadowColor':_0x4a31(0x11f),'shadowOffset':{'width':0x0,'height':0x1},'shadowOpacity':0.1,'shadowRadius':0x2,'elevation':0x2},'tabText':{'fontSize':0xe,'fontWeight':_0x4a31(0x120),'color':COLORS[_0x4a31(0x121)],'fontFamily':_0x4a31(0x11c)},'tabTextActive':{'color':COLORS['grey800']},'tabDisabled':{'opacity':0.5},'tabTextDisabled':{'color':COLORS['grey400']},'inputContainer':{'marginBottom':0x14},'textInput':{'backgroundColor':_0x4a31(0x32),'borderWidth':0x1,'borderColor':COLORS[_0x4a31(0x122)],'borderRadius':0xc,'padding':0x10,'minHeight':0xc8,'fontSize':0xe,'fontFamily':Platform['OS']===_0x4a31(0x123)?_0x4a31(0x124):_0x4a31(0x125),'color':COLORS[_0x4a31(0x118)]},'fileInputContainer':{'marginBottom':0x14},'filePickButton':{'backgroundColor':_0x4a31(0x32),'borderWidth':0x2,'borderColor':COLORS[_0x4a31(0x122)],'borderStyle':_0x4a31(0x126),'borderRadius':0xc,'padding':0x28,'alignItems':_0x4a31(0x114),'justifyContent':_0x4a31(0x114)},'filePickIcon':{'fontSize':0x28,'marginBottom':0xc},'filePickText':{'fontSize':0xf,'color':COLORS[_0x4a31(0x127)],'fontFamily':_0x4a31(0x11c)},'fileSelectedContainer':{'marginTop':0xc,'backgroundColor':_0x4a31(0x128),'borderRadius':0x8,'padding':0xc},'fileSelectedText':{'fontSize':0xe,'color':_0x4a31(0x129),'fontFamily':_0x4a31(0x11c),'fontWeight':_0x4a31(0x120)},'errorContainer':{'backgroundColor':_0x4a31(0x12a),'borderRadius':0x8,'padding':0xc,'marginBottom':0x10},'errorText':{'fontSize':0xe,'color':_0x4a31(0x12b),'fontFamily':_0x4a31(0x11c)},'previewContainer':{'backgroundColor':_0x4a31(0x11e),'borderRadius':0xc,'padding':0x10},'previewTitle':{'fontSize':0xe,'fontWeight':_0x4a31(0x117),'color':COLORS[_0x4a31(0x118)],'marginBottom':0x8,'fontFamily':_0x4a31(0x11c)},'previewText':{'fontSize':0xc,'color':COLORS[_0x4a31(0x127)],'fontFamily':Platform['OS']===_0x4a31(0x123)?_0x4a31(0x124):'monospace','lineHeight':0x12},'previewInfo':{'fontSize':0xc,'color':COLORS['grey500'],'marginTop':0x8,'fontFamily':'Inter'},'footer':{'padding':0x14,'paddingBottom':Platform['OS']===_0x4a31(0x123)?0x22:0x14,'borderTopWidth':0x1,'borderTopColor':'#E5E7EB','backgroundColor':COLORS[_0x4a31(0x12c)]},'submitButton':{'backgroundColor':_0x4a31(0x12d),'borderRadius':0xc,'paddingVertical':0x10,'alignItems':'center','justifyContent':_0x4a31(0x114)},'submitButtonDisabled':{'backgroundColor':COLORS['grey300']},'submitButtonText':{'fontSize':0x10,'fontWeight':_0x4a31(0x117),'color':_0x4a31(0x32),'fontFamily':_0x4a31(0x11c)}});export default LLMDataInputModal;
|
|
8
|
+
import React,{useState}from'react';import{View,Text,StyleSheet,Modal,TouchableOpacity,TextInput,ScrollView,ActivityIndicator,Alert,Platform,KeyboardAvoidingView}from'react-native';function _0x38f3(_0x16c528,_0x38f386){_0x16c528=_0x16c528-0x0;const _0x5d6f05=_0x16c5();let _0x211592=_0x5d6f05[_0x16c528];return _0x211592;}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';let DocumentPicker=null,RNFS=null;try{DocumentPicker=__ONAIROS_REQ_FUNC__(0x0);}catch(_0x3381e7){console['log']('react-native-document-picker not available - file upload disabled');}try{RNFS=__ONAIROS_REQ_FUNC__(0x1);}catch(_0xf169ce){console[_0x38f3(0x0)]('react-native-fs not available - file upload disabled');}function _0x16c5(){const _0x4d0b36=['log','chatgpt','Connect\x20ChatGPT','Export\x20your\x20ChatGPT\x20conversations\x20from\x20Settings\x20→\x20Data\x20Controls\x20→\x20Export\x20data.\x20Then\x20upload\x20the\x20JSON\x20file\x20or\x20paste\x20your\x20conversation\x20data.','Paste\x20your\x20ChatGPT\x20conversation\x20JSON\x20here...','Connect\x20Claude','Connect\x20Gemini','Export\x20your\x20Gemini\x20(Google\x20AI)\x20conversations\x20and\x20paste\x20the\x20data\x20below.','Connect\x20Grok','Export\x20your\x20Grok\x20conversations\x20from\x20X/Twitter\x20and\x20paste\x20the\x20data\x20below.','Paste\x20your\x20Grok\x20conversation\x20JSON\x20here...','Paste\x20your\x20conversation\x20data\x20below\x20or\x20upload\x20a\x20JSON\x20file.','LQUNH','Imported\x20Conversation','No\x20valid\x20conversations\x20found\x20in\x20the\x20data.\x20Please\x20check\x20the\x20format.','NeZXh','ynkVD','DrzSu','JPCvL','sUMUu','user','seagG','sZUUh','assistant','human','lqtGw','qRbpe','CInCE','Authentication\x20required.\x20Please\x20sign\x20in\x20first.','File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','file','oYlhx','aBRbD','htbKn','Selected\x20file','SJXQv','utf8','ZzwlC','File\x20pick\x20error:','Failed\x20to\x20read\x20file.\x20Please\x20try\x20again\x20or\x20paste\x20data\x20manually.','claude','gemini','Paste\x20your\x20Gemini\x20conversation\x20JSON\x20here...','fiHUk','RWtrF','muKuW','onairos_jwt_token','enoch_token','auth_token','1.0.0','conversation','Success!\x20🎉','Failed\x20to\x20import\x20any\x20conversations.\x20Please\x20check\x20your\x20data\x20format.','XZxTG','Failed\x20to\x20import\x20data.\x20Please\x20try\x20again.','WxSgq','orrDY','uwliP','HuMIl','slide','height','Cancel','handled','Upload\x20File\x20','(N/A)','top','Data\x20Preview','\x20characters','#FFFFFF','small','KQUIe','ZZIHU','aaPvq','vhpgL','Qhaba','fSnOd','vrALL','aTTLC','RaIFT','grok','AAQyU','YxaiJ','ZrmDa','Connect\x20','WkBcw','Nazmc','sGQMd','XmZIP','iWilG','XicFb','push','conv_','title','pSmsK','create_time','update_time','VpoHp','FrTCf','parse','forEach','length','ASaym','name','Conversation\x20','kQBfi','created_at','updated_at','now','ttWaM','conversations','isArray','fufym','jtMaS','sPoXH','kuunY','XLdfG','mapping','vvpEr','zLcxg','npTyl','jdfbD','BUTTON_PRESS','Invalid\x20JSON\x20format.\x20Please\x20check\x20your\x20data\x20and\x20try\x20again.','RDmEW','eURTE','MboqR','tlMqV','NjkYI','uNMka','values','pwNxs','message','FATsj','content','parts','trim','uLafF','FzMMZ','uuid','msg_','sender','HRECs','puRVk','OYcho','author','role','toISOString','conversation_id','kRxpW','messages','hszTB','rlrqO','text','string','soUyr','gsSrN','timestamp','ijNHV','join','RwHfv','XYJfO','chat_messages','ZvSYc','oHfBg','rAkXW','WrbIk','Eswgy','pmeaM','LBAiB','pvedT','ubxeE','iosbq','json','plainText','PStHE','muGYH','uri','startsWith','content://','rCMAP','mLpTp','BvOhb','jJykk','readFile','uIjdc','SUCCESS','CPnvK','NVWgM','UCocc','ERROR','yzrjN','qjXEK','code','bcYTF','GNAXv','WVJmZ','NmgiT','Oxfff','aWJis','error','xTQEJ','ylWbZ','kikXG','ixEsf','qRmHf','IpZVb','pmduF','CkabP','hMqaL','RZlay','Paste\x20your\x20conversation\x20JSON\x20here...','wzrFV','stSBB','ibzgL','Hblxx','UMZtg','pnRcj','LHTmY','KaLji','XuPJm','hJHwQ','plmcz','LnVco','kYsJL','ZXBWY','TPzBs','IXbRw','unknown','xwAcE','getItem','BXvNt','JtvKb','inPqR','mobile-','BASE_URL','/llm-data/store','Bearer\x20','stringify','yQPuL','Version','ZraCe','YMCNw','AYfjz','GSXBA','BPqFl','Failed\x20to\x20store\x20conversation\x20','Error\x20storing\x20conversation:','setItem','@onairos:llm_connected:','alert','HZiEg','\x20conversation','ZawEX','\x20from\x20','oJUZW','VkutF','AKPBU','UCfoM','Submit\x20error:','ZGEOc','VKUIN','Srgew','jhdxL','VotWu','WCQCc','Paste\x20your\x20Claude\x20conversation\x20JSON\x20here...','aMqqd','iVUPK','wpicy','PqzkN','ZTppR','YhptB','uEZau','cCquP','IyJDj','AYcff','oNsWB','paste','createElement','VKLan','pageSheet','container','teKXX','ijRyL','ZSLZS','closeButton','closeButtonText','PJECz','headerTitle','contentContainer','LLQQU','instructionsText','tabContainer','tabActive','tabText','miyfn','tabTextActive','lQDyn','tab','GVhNj','MnZAU','ahDOr','RTjSx','tabTextDisabled','pPynp','bEqJO','qFBFx','grey400','DWkHU','none','fileInputContainer','filePickButton','fileSelectedContainer','errorContainer','errorText','previewContainer','ZtQIx','previewText','jrfDc','...','previewInfo','toLocaleString','footer','submitButton','submitButtonDisabled','MpOPW','MoMfi','submitButtonText','CaJNF','row','space-between','ios','600','grey800','IBM\x20Plex\x20Sans','#3B82F6','Inter','#F0F9FF','#0369A1','#F3F4F6','#000','500','grey300','monospace','dashed','center','grey600','#166534','Menlo','grey500','surface','#10B981'];_0x16c5=function(){return _0x4d0b36;};return _0x16c5();}const FILE_UPLOAD_AVAILABLE=DocumentPicker!==null&&RNFS!==null,LLMDataInputModal=({visible:_0x55ae66,platform:_0x53af0e,platformName:_0x165095,onClose:_0x33d8ba,onSuccess:_0xf600f7})=>{const _0x6490fc={'AjZfx':_0x38f3(0x1),'mmesD':_0x38f3(0x2),'PuInx':_0x38f3(0x3),'fSnOd':_0x38f3(0x4),'vrALL':_0x38f3(0x5),'aTTLC':'Export\x20your\x20Claude\x20conversations\x20and\x20paste\x20the\x20JSON\x20data\x20below,\x20or\x20upload\x20your\x20exported\x20file.','hMqaL':_0x38f3(0x6),'RaIFT':_0x38f3(0x7),'AAQyU':_0x38f3(0x8),'YxaiJ':_0x38f3(0x9),'ZrmDa':_0x38f3(0xa),'WkBcw':_0x38f3(0xb),'BpEQD':'Paste\x20your\x20conversation\x20JSON\x20here...','sPoXH':function(_0x4b27f6,_0x35adee){return _0x4b27f6>_0x35adee;},'IpZVb':function(_0x141116,_0x20636f){return _0x141116===_0x20636f;},'ASaym':_0x38f3(0xc),'kQBfi':function(_0x51e62d,_0x5dd416){return _0x51e62d+_0x5dd416;},'jdfbD':function(_0x2e868f,_0x287b98){return _0x2e868f(_0x287b98);},'KQUIe':'paste','sGQMd':_0x38f3(0xd),'XmZIP':function(_0x3dae89,_0x1fbbc2){return _0x3dae89(_0x1fbbc2);},'pOnhS':_0x38f3(0xe),'iWilG':function(_0x1bfc97,_0x24f37b){return _0x1bfc97!==_0x24f37b;},'XicFb':_0x38f3(0xf),'ijNHV':function(_0x5b1edc,_0x3feb6f){return _0x5b1edc!==_0x3feb6f;},'VpoHp':'LKGeV','FrTCf':_0x38f3(0x10),'fufym':function(_0xe995a2,_0x5350ec){return _0xe995a2===_0x5350ec;},'jtMaS':_0x38f3(0x11),'xTQEJ':'Error\x20parsing\x20conversation\x20data:','pwNxs':function(_0x284d45,_0x2aa841){return _0x284d45!==_0x2aa841;},'FATsj':function(_0x3e42dd,_0x3376dd){return _0x3e42dd!==_0x3376dd;},'uLafF':function(_0x1aa6ce,_0x1f8ed0){return _0x1aa6ce!==_0x1f8ed0;},'FzMMZ':_0x38f3(0x12),'ymHsY':function(_0x87133,_0x1f89aa){return _0x87133===_0x1f89aa;},'UCfoM':'unknown','ixEsf':function(_0x23bcb4,_0x12e3bb){return _0x23bcb4*_0x12e3bb;},'VkutF':function(_0x40b1cc,_0x46e10e){return _0x40b1cc===_0x46e10e;},'soUyr':function(_0x3e1619,_0x33e024){return _0x3e1619===_0x33e024;},'gsSrN':_0x38f3(0x13),'eURTE':_0x38f3(0x14),'RwHfv':function(_0x3007a8,_0x3fc628){return _0x3007a8(_0x3fc628);},'ZvSYc':function(_0x37a928,_0x57a430){return _0x37a928!==_0x57a430;},'BRLWm':_0x38f3(0x15),'oHfBg':_0x38f3(0x16),'MboqR':_0x38f3(0x17),'RDmEW':_0x38f3(0x18),'tlMqV':function(_0x4f6316,_0x30d04f){return _0x4f6316!==_0x30d04f;},'NjkYI':_0x38f3(0x19),'uNMka':_0x38f3(0x1a),'hszTB':_0x38f3(0x1b),'rlrqO':'qxzmT','BvOhb':_0x38f3(0x1c),'WVJmZ':_0x38f3(0x1d),'uIjdc':function(_0x276c48,_0x170891){return _0x276c48(_0x170891);},'rAkXW':_0x38f3(0x1e),'LBAiB':function(_0x20976c,_0x40753f){return _0x20976c(_0x40753f);},'WrbIk':function(_0x281bcb,_0x255eaa){return _0x281bcb!==_0x255eaa;},'Eswgy':_0x38f3(0x1f),'pmeaM':_0x38f3(0x20),'eNTxx':_0x38f3(0x21),'muGYH':_0x38f3(0x22),'rCMAP':_0x38f3(0x23),'jJykk':_0x38f3(0x24),'yzrjN':_0x38f3(0x25),'qjXEK':function(_0x23077b,_0x260ff5){return _0x23077b!==_0x260ff5;},'bcYTF':'DOCUMENT_PICKER_CANCELED','NmgiT':_0x38f3(0x26),'Oxfff':function(_0x2288aa,_0x496d27){return _0x2288aa(_0x496d27);},'aWJis':_0x38f3(0x27),'kikXG':function(_0xb60cd7,_0x342227){return _0xb60cd7===_0x342227;},'GCrVV':function(_0x53c36e,_0x685325){return _0x53c36e(_0x685325);},'ylWbZ':function(_0x29a05d,_0x20550f){return _0x29a05d!==_0x20550f;},'qRmHf':function(_0x1f0238,_0xc4883f){return _0x1f0238(_0xc4883f);},'pmduF':_0x38f3(0x28),'CkabP':_0x38f3(0x29),'RZlay':_0x38f3(0x2a),'wzrFV':_0x38f3(0x2b),'stSBB':'eJuin','ibzgL':function(_0x34bead,_0x5b8d55){return _0x34bead!==_0x5b8d55;},'UMZtg':'Hblxx','KaLji':function(_0x3b6cc2,_0x5be5c8){return _0x3b6cc2===_0x5be5c8;},'XuPJm':_0x38f3(0x2c),'plmcz':_0x38f3(0x2d),'BXvNt':_0x38f3(0x2e),'RLWGo':_0x38f3(0x2f),'YzVmg':_0x38f3(0x30),'inPqR':'tfLDz','UNDmH':function(_0x192613,_0x3e9eee,_0x50dece){return _0x192613(_0x3e9eee,_0x50dece);},'yQPuL':_0x38f3(0x31),'ZraCe':_0x38f3(0x32),'YMCNw':function(_0x516d6b,_0x8dac10){return _0x516d6b!==_0x8dac10;},'QjTOL':'AYfjz','kNOvz':function(_0x3f7c8b,_0x22b1e2){return _0x3f7c8b(_0x22b1e2);},'HZiEg':_0x38f3(0x33),'ZawEX':function(_0x213fbc,_0xb78466){return _0x213fbc>_0xb78466;},'oJUZW':_0x38f3(0x34),'AKPBU':_0x38f3(0x35),'ZGEOc':_0x38f3(0x36),'PeJyr':function(_0x59fb49,_0x888ef2){return _0x59fb49===_0x888ef2;},'VKUIN':_0x38f3(0x37),'Srgew':function(_0xea333c,_0x390cf5){return _0xea333c(_0x390cf5);},'aaPvq':function(_0x3d0b2d,_0x21a1b6){return _0x3d0b2d(_0x21a1b6);},'IyJDj':function(_0x405bfd,_0x47a6f){return _0x405bfd(_0x47a6f);},'uEZau':function(_0x1eda93,_0x4bb327){return _0x1eda93!==_0x4bb327;},'cCquP':_0x38f3(0x38),'AYcff':'0|4|3|1|5|2','oNsWB':function(_0x469760,_0x4db334){return _0x469760(_0x4db334);},'Nazmc':function(_0x4d584c){return _0x4d584c();},'RTjSx':function(_0x335aed,_0x1b3100){return _0x335aed+_0x1b3100;},'VxWeK':function(_0x4f4e2f,_0x371ec4){return _0x4f4e2f!==_0x371ec4;},'vFXBG':_0x38f3(0x39),'XqXbl':_0x38f3(0x3a),'GVhNj':function(_0x415dc0,_0x646704){return _0x415dc0(_0x646704);},'MnZAU':function(_0x13c234,_0x3170b7){return _0x13c234(_0x3170b7);},'yrFMK':function(_0x3a63ee,_0x5d468e){return _0x3a63ee(_0x5d468e);},'oacqN':function(_0x44de11,_0x4d4935){return _0x44de11(_0x4d4935);},'ZZIHU':function(_0x12368d,_0x37b7be){return _0x12368d(_0x37b7be);},'vhpgL':function(_0x4fecbd,_0x2367b5){return _0x4fecbd(_0x2367b5);},'Qhaba':function(_0xbb67ea,_0x2870ae){return _0xbb67ea(_0x2870ae);},'VKLan':_0x38f3(0x3b),'teKXX':function(_0x4c2fab,_0x4bcc8a){return _0x4c2fab===_0x4bcc8a;},'ijRyL':'padding','ZSLZS':_0x38f3(0x3c),'PJECz':_0x38f3(0x3d),'LLQQU':_0x38f3(0x3e),'miyfn':function(_0x9e60c4,_0x11985c){return _0x9e60c4===_0x11985c;},'lQDyn':'Paste\x20Data','pPynp':_0x38f3(0x3f),'bEqJO':function(_0x2eda43,_0x1a9a61){return _0x2eda43&&_0x1a9a61;},'qFBFx':_0x38f3(0x40),'DWkHU':_0x38f3(0x41),'ylhsO':'Tap\x20to\x20select\x20a\x20file','ZtQIx':_0x38f3(0x42),'jrfDc':function(_0x468964,_0x4c2ed5){return _0x468964>_0x4c2ed5;},'OarWA':_0x38f3(0x43),'MpOPW':_0x38f3(0x44),'MoMfi':_0x38f3(0x45),'CaJNF':'Import\x20Conversations'},[_0x3bd2df,_0x6b9d97]=_0x6490fc['oacqN'](useState,_0x6490fc[_0x38f3(0x46)]),[_0x4fe6ff,_0x53652b]=_0x6490fc[_0x38f3(0x47)](useState,''),[_0x19b91c,_0x3d4cff]=_0x6490fc[_0x38f3(0x48)](useState,![]),[_0x1dab12,_0x517885]=useState(null),[_0x44c1f4,_0x5c109b]=_0x6490fc[_0x38f3(0x49)](useState,null),[_0x57a638,_0x1c4772]=_0x6490fc[_0x38f3(0x4a)](useState,null),_0x173a9f=()=>{switch(_0x53af0e){case _0x6490fc['AjZfx']:return{'title':_0x6490fc['mmesD'],'instructions':_0x6490fc['PuInx'],'placeholder':_0x6490fc[_0x38f3(0x4b)]};case _0x38f3(0x28):return{'title':_0x6490fc[_0x38f3(0x4c)],'instructions':_0x6490fc[_0x38f3(0x4d)],'placeholder':'Paste\x20your\x20Claude\x20conversation\x20JSON\x20here...'};case _0x38f3(0x29):return{'title':_0x6490fc['hMqaL'],'instructions':_0x6490fc[_0x38f3(0x4e)],'placeholder':_0x38f3(0x2a)};case _0x38f3(0x4f):return{'title':_0x6490fc[_0x38f3(0x50)],'instructions':_0x6490fc[_0x38f3(0x51)],'placeholder':_0x6490fc[_0x38f3(0x52)]};default:return{'title':_0x38f3(0x53)+_0x165095,'instructions':_0x6490fc[_0x38f3(0x54)],'placeholder':_0x6490fc['BpEQD']};}},{title:_0x5c5103,instructions:_0x4058e1,placeholder:_0x3012d1}=_0x6490fc[_0x38f3(0x55)](_0x173a9f),_0xc228d4=_0x339ca4=>{const _0x4becb1={'pSmsK':_0x6490fc[_0x38f3(0x56)],'kuunY':function(_0x4c23e8,_0x51db3a){return _0x6490fc[_0x38f3(0x57)](_0x4c23e8,_0x51db3a);},'XLdfG':function(_0x43161d,_0x5f5a4d){return _0x43161d>_0x5f5a4d;},'npTyl':_0x6490fc['pOnhS']};if(_0x6490fc[_0x38f3(0x58)](_0x6490fc[_0x38f3(0x59)],_0x6490fc['XicFb']))_0x33b7c5[_0x38f3(0x5a)]({'conversationId':_0x1a18ba['id']||_0x38f3(0x5b)+_0x29ce4e['now'](),'messages':_0x2084d9,'context':{'title':_0x4e4212[_0x38f3(0x5c)]||_0x4becb1[_0x38f3(0x5d)],'create_time':_0x284de6[_0x38f3(0x5e)],'update_time':_0x1665e5[_0x38f3(0x5f)]}});else try{if(_0x6490fc['ijNHV'](_0x6490fc[_0x38f3(0x60)],_0x6490fc[_0x38f3(0x61)])){const _0x5008f9=JSON[_0x38f3(0x62)](_0x339ca4),_0x4f7dfd=[];if(Array['isArray'](_0x5008f9))_0x5008f9[_0x38f3(0x63)]((_0x79aee9,_0x265237)=>{const _0x5c54cf={'ttWaM':_0x38f3(0xd)},_0xfca9b3=_0x5e11bc(_0x79aee9);_0x6490fc['sPoXH'](_0xfca9b3[_0x38f3(0x64)],0x0)&&(_0x6490fc['IpZVb'](_0x6490fc[_0x38f3(0x65)],_0x38f3(0xc))?_0x4f7dfd[_0x38f3(0x5a)]({'conversationId':_0x79aee9['id']||_0x79aee9['conversation_id']||_0x38f3(0x5b)+_0x265237+'_'+Date['now'](),'messages':_0xfca9b3,'context':{'title':_0x79aee9[_0x38f3(0x5c)]||_0x79aee9[_0x38f3(0x66)]||_0x38f3(0x67)+_0x6490fc[_0x38f3(0x68)](_0x265237,0x1),'create_time':_0x79aee9[_0x38f3(0x5e)]||_0x79aee9[_0x38f3(0x69)],'update_time':_0x79aee9[_0x38f3(0x5f)]||_0x79aee9[_0x38f3(0x6a)]}}):_0x4f6a6e['push']({'conversationId':_0x38f3(0x5b)+_0x3a2722[_0x38f3(0x6b)](),'messages':_0x3dac4e,'context':{'title':_0x56bed5[_0x38f3(0x5c)]||_0x5c54cf[_0x38f3(0x6c)]}}));});else{if(_0x5008f9[_0x38f3(0x6d)]&&Array[_0x38f3(0x6e)](_0x5008f9['conversations'])){if(_0x6490fc[_0x38f3(0x6f)](_0x38f3(0x11),_0x6490fc[_0x38f3(0x70)]))_0x5008f9['conversations'][_0x38f3(0x63)]((_0xb0599e,_0x369c8d)=>{const _0x28f0c3=_0x6490fc['jdfbD'](_0x5e11bc,_0xb0599e);_0x6490fc[_0x38f3(0x71)](_0x28f0c3['length'],0x0)&&_0x4f7dfd[_0x38f3(0x5a)]({'conversationId':_0xb0599e['id']||_0x38f3(0x5b)+_0x369c8d+'_'+Date['now'](),'messages':_0x28f0c3,'context':{'title':_0xb0599e[_0x38f3(0x5c)]||_0x38f3(0x67)+(_0x369c8d+0x1),'create_time':_0xb0599e[_0x38f3(0x5e)],'update_time':_0xb0599e[_0x38f3(0x5f)]}});});else{const _0x28fa33=_0x4becb1[_0x38f3(0x72)](_0x4336db,_0x7157f4);_0x4becb1[_0x38f3(0x73)](_0x28fa33[_0x38f3(0x64)],0x0)&&_0x249c74[_0x38f3(0x5a)]({'conversationId':_0x38f3(0x5b)+_0x25c6d9[_0x38f3(0x6b)](),'messages':_0x28fa33,'context':{'title':_0x1a2e5d[_0x38f3(0x5c)]||_0x38f3(0xd)}});}}else{if(_0x5008f9[_0x38f3(0x74)]||_0x5008f9['messages']){const _0x153304=_0x6490fc[_0x38f3(0x57)](_0x5e11bc,_0x5008f9);if(_0x153304[_0x38f3(0x64)]>0x0){if(_0x38f3(0x75)===_0x38f3(0x76))throw new _0x6575a2(_0x4becb1[_0x38f3(0x77)]);else _0x4f7dfd[_0x38f3(0x5a)]({'conversationId':_0x5008f9['id']||_0x38f3(0x5b)+Date[_0x38f3(0x6b)](),'messages':_0x153304,'context':{'title':_0x5008f9['title']||_0x6490fc[_0x38f3(0x56)],'create_time':_0x5008f9[_0x38f3(0x5e)],'update_time':_0x5008f9[_0x38f3(0x5f)]}});}}else{const _0x5e20fd=_0x6490fc['jdfbD'](_0x5e11bc,_0x5008f9);_0x6490fc[_0x38f3(0x71)](_0x5e20fd[_0x38f3(0x64)],0x0)&&_0x4f7dfd['push']({'conversationId':_0x38f3(0x5b)+Date['now'](),'messages':_0x5e20fd,'context':{'title':_0x5008f9[_0x38f3(0x5c)]||_0x6490fc[_0x38f3(0x56)]}});}}}return _0x4f7dfd;}else _0x6490fc[_0x38f3(0x78)](_0x3706f4,_0x6490fc[_0x38f3(0x46)]),_0x6490fc['jdfbD'](_0x11308c,_0x2c05f8[_0x38f3(0x79)]);}catch(_0x3c7aa1){console['error'](_0x6490fc['xTQEJ'],_0x3c7aa1);throw new Error(_0x38f3(0x7a));}},_0x5e11bc=_0x3710d8=>{const _0x4f5735={'xhlYn':function(_0x3fff43,_0x414ddd){return _0x3fff43===_0x414ddd;},'HRECs':_0x6490fc[_0x38f3(0x7b)],'puRVk':_0x6490fc[_0x38f3(0x7c)],'OYcho':_0x6490fc[_0x38f3(0x7d)],'kRxpW':function(_0x5ace93,_0x4a4597){return _0x5ace93+_0x4a4597;}},_0x2ceb10=[];_0x3710d8[_0x38f3(0x74)]&&(_0x6490fc[_0x38f3(0x7e)](_0x6490fc[_0x38f3(0x7f)],_0x6490fc[_0x38f3(0x80)])?Object[_0x38f3(0x81)](_0x3710d8[_0x38f3(0x74)])[_0x38f3(0x63)]((_0x29725a,_0x3d5d2c)=>{var _0x2cdfbf;if(_0x29725a!==null&&_0x6490fc[_0x38f3(0x82)](_0x29725a,void 0x0)&&_0x6490fc['pwNxs'](_0x2cdfbf=_0x29725a[_0x38f3(0x83)],null)&&_0x6490fc[_0x38f3(0x84)](_0x2cdfbf,void 0x0)&&_0x6490fc[_0x38f3(0x58)](_0x2cdfbf=_0x2cdfbf[_0x38f3(0x85)],null)&&_0x6490fc[_0x38f3(0x58)](_0x2cdfbf,void 0x0)&&_0x2cdfbf[_0x38f3(0x86)]){const _0x556f2d=_0x29725a[_0x38f3(0x83)][_0x38f3(0x85)][_0x38f3(0x86)]['join']('\x0a');if(_0x556f2d[_0x38f3(0x87)]()){if(_0x6490fc[_0x38f3(0x88)](_0x6490fc[_0x38f3(0x89)],_0x6490fc[_0x38f3(0x89)]))_0x577abc['push']({'id':_0x350c87[_0x38f3(0x8a)]||_0x38f3(0x8b)+_0x4f7ebb,'role':_0x4f5735['xhlYn'](_0x1aadd8[_0x38f3(0x8c)],_0x4f5735[_0x38f3(0x8d)])?_0x4f5735[_0x38f3(0x8e)]:_0x4f5735[_0x38f3(0x8f)],'content':_0x5031f0['text']||_0x571cf7[_0x38f3(0x85)],'timestamp':_0x26b7f0['created_at']});else{var _0x24fdd6;_0x2ceb10[_0x38f3(0x5a)]({'id':_0x29725a[_0x38f3(0x83)]['id']||'msg_'+_0x3d5d2c,'role':(_0x6490fc['ymHsY'](_0x24fdd6=_0x29725a[_0x38f3(0x83)][_0x38f3(0x90)],null)||_0x6490fc[_0x38f3(0x6f)](_0x24fdd6,void 0x0)?void 0x0:_0x24fdd6[_0x38f3(0x91)])||_0x6490fc['UCfoM'],'content':_0x556f2d,'timestamp':_0x29725a[_0x38f3(0x83)][_0x38f3(0x5e)]?new Date(_0x6490fc['ixEsf'](_0x29725a[_0x38f3(0x83)]['create_time'],0x3e8))[_0x38f3(0x92)]():undefined});}}}}):_0x459a11[_0x38f3(0x5a)]({'conversationId':_0x3ee560['id']||_0x474c2f[_0x38f3(0x93)]||_0x38f3(0x5b)+_0x24124c+'_'+_0x218cd7[_0x38f3(0x6b)](),'messages':_0x342639,'context':{'title':_0x17d07d[_0x38f3(0x5c)]||_0x5c0640[_0x38f3(0x66)]||_0x38f3(0x67)+_0x4f5735[_0x38f3(0x94)](_0x392966,0x1),'create_time':_0x5b7a5e[_0x38f3(0x5e)]||_0x3b5210[_0x38f3(0x69)],'update_time':_0x50f96e[_0x38f3(0x5f)]||_0xcd236e[_0x38f3(0x6a)]}}));if(_0x3710d8[_0x38f3(0x95)]&&Array[_0x38f3(0x6e)](_0x3710d8[_0x38f3(0x95)])){if(_0x6490fc[_0x38f3(0x58)](_0x6490fc[_0x38f3(0x96)],_0x6490fc[_0x38f3(0x97)]))_0x3710d8[_0x38f3(0x95)][_0x38f3(0x63)]((_0x39a08d,_0xede094)=>{var _0x3f4192;const _0x4c669b=_0x39a08d[_0x38f3(0x85)]||_0x39a08d[_0x38f3(0x98)]||_0x39a08d[_0x38f3(0x83)]||'';if(_0x6490fc['VkutF'](typeof _0x4c669b,_0x38f3(0x99))&&_0x4c669b['trim']()){if(_0x6490fc[_0x38f3(0x9a)](_0x6490fc[_0x38f3(0x9b)],_0x6490fc[_0x38f3(0x9b)]))_0x2ceb10['push']({'id':_0x39a08d['id']||_0x38f3(0x8b)+_0xede094,'role':_0x39a08d[_0x38f3(0x91)]||_0x39a08d[_0x38f3(0x90)]||_0x6490fc[_0x38f3(0x7c)],'content':_0x4c669b,'timestamp':_0x39a08d[_0x38f3(0x9c)]||_0x39a08d[_0x38f3(0x69)]});else{_0x481134('File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}}else _0x6490fc['uLafF'](_0x3f4192=_0x39a08d[_0x38f3(0x85)],null)&&_0x6490fc[_0x38f3(0x9d)](_0x3f4192,void 0x0)&&_0x3f4192[_0x38f3(0x86)]&&_0x2ceb10['push']({'id':_0x39a08d['id']||'msg_'+_0xede094,'role':_0x39a08d[_0x38f3(0x91)]||_0x38f3(0x14),'content':_0x39a08d[_0x38f3(0x85)]['parts'][_0x38f3(0x9e)]('\x0a'),'timestamp':_0x39a08d[_0x38f3(0x9c)]});});else{const _0x182ad1={'XYJfO':function(_0x21e0b7,_0x1f3409){return _0x6490fc[_0x38f3(0x9f)](_0x21e0b7,_0x1f3409);},'GgYgL':function(_0x410813,_0x16ebcb){return _0x410813+_0x16ebcb;}};_0x2a9032[_0x38f3(0x63)]((_0x10c269,_0x304d68)=>{const _0x17b961=_0x182ad1[_0x38f3(0xa0)](_0xa74002,_0x10c269);_0x17b961[_0x38f3(0x64)]>0x0&&_0x4d2e4c[_0x38f3(0x5a)]({'conversationId':_0x10c269['id']||_0x10c269[_0x38f3(0x93)]||_0x38f3(0x5b)+_0x304d68+'_'+_0x2e8e02[_0x38f3(0x6b)](),'messages':_0x17b961,'context':{'title':_0x10c269[_0x38f3(0x5c)]||_0x10c269[_0x38f3(0x66)]||'Conversation\x20'+_0x182ad1['GgYgL'](_0x304d68,0x1),'create_time':_0x10c269[_0x38f3(0x5e)]||_0x10c269[_0x38f3(0x69)],'update_time':_0x10c269[_0x38f3(0x5f)]||_0x10c269[_0x38f3(0x6a)]}});});}}return _0x3710d8[_0x38f3(0xa1)]&&Array[_0x38f3(0x6e)](_0x3710d8['chat_messages'])&&_0x3710d8[_0x38f3(0xa1)]['forEach']((_0xb7907b,_0x372089)=>{(_0xb7907b[_0x38f3(0x98)]||_0xb7907b[_0x38f3(0x85)])&&(_0x6490fc[_0x38f3(0xa2)](_0x6490fc['BRLWm'],_0x6490fc[_0x38f3(0xa3)])?_0x2ceb10[_0x38f3(0x5a)]({'id':_0xb7907b[_0x38f3(0x8a)]||'msg_'+_0x372089,'role':_0xb7907b['sender']===_0x38f3(0x18)?_0x6490fc['eURTE']:_0x6490fc[_0x38f3(0x7d)],'content':_0xb7907b[_0x38f3(0x98)]||_0xb7907b[_0x38f3(0x85)],'timestamp':_0xb7907b[_0x38f3(0x69)]}):_0x3cef9e['push']({'id':_0x2a8322['id']||'msg_'+_0x49a753,'role':_0x107932[_0x38f3(0x91)]||'user','content':_0x35b211[_0x38f3(0x85)]['parts'][_0x38f3(0x9e)]('\x0a'),'timestamp':_0x5260f9[_0x38f3(0x9c)]}));}),_0x2ceb10;},_0x21fa71=async()=>{const _0x46f11d={'pvedT':_0x38f3(0x18),'ubxeE':_0x6490fc['eURTE'],'iosbq':_0x6490fc[_0x38f3(0x7d)],'CPnvK':_0x6490fc[_0x38f3(0xa4)],'NVWgM':function(_0x54ade6,_0x15dd2f){return _0x6490fc['LBAiB'](_0x54ade6,_0x15dd2f);},'UCocc':_0x38f3(0x1d)};if(!FILE_UPLOAD_AVAILABLE){if(_0x6490fc[_0x38f3(0xa5)](_0x6490fc[_0x38f3(0xa6)],_0x6490fc[_0x38f3(0xa7)])){_0x6490fc[_0x38f3(0xa8)](_0x517885,'File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}else(_0x52ace1[_0x38f3(0x98)]||_0x108094[_0x38f3(0x85)])&&_0x385879['push']({'id':_0x4156eb[_0x38f3(0x8a)]||_0x38f3(0x8b)+_0x3c523b,'role':_0x311ced[_0x38f3(0x8c)]===_0x46f11d[_0x38f3(0xa9)]?_0x46f11d[_0x38f3(0xaa)]:_0x46f11d[_0x38f3(0xab)],'content':_0x45b6c7['text']||_0x505065['content'],'timestamp':_0x2b2a7b['created_at']});}try{_0x517885(null);const {pick:_0x5c12ea,types:_0xba98ad}=DocumentPicker,_0x824605=await _0x5c12ea({'type':[_0xba98ad[_0x38f3(0xac)],_0xba98ad[_0x38f3(0xad)],_0xba98ad['allFiles']]});if(_0x824605&&_0x824605[0x0]){if(_0x6490fc['eNTxx']!==_0x38f3(0xae)){const _0x5d64bb=_0x824605[0x0];_0x6490fc['uIjdc'](_0x5c109b,_0x5d64bb['name']||_0x6490fc[_0x38f3(0xaf)]);let _0x2f07b3;if(_0x5d64bb[_0x38f3(0xb0)][_0x38f3(0xb1)](_0x38f3(0xb2))){if(_0x6490fc[_0x38f3(0x6f)](_0x6490fc[_0x38f3(0xb3)],_0x38f3(0xb4)))throw new _0x17953f(_0x6490fc[_0x38f3(0xb5)]);else _0x2f07b3=await RNFS['readFile'](_0x5d64bb[_0x38f3(0xb0)],_0x6490fc[_0x38f3(0xb6)]);}else _0x2f07b3=await RNFS[_0x38f3(0xb7)](_0x5d64bb[_0x38f3(0xb0)],_0x6490fc[_0x38f3(0xb6)]);_0x1c4772(_0x2f07b3),_0x6490fc[_0x38f3(0xb8)](_0x53652b,_0x2f07b3),triggerHaptic(HapticType[_0x38f3(0xb9)]);}else _0x8c7127?(_0x2cd43e(_0x46f11d[_0x38f3(0xba)]),_0x46f11d[_0x38f3(0xbb)](_0x3370b0,_0x5918e7[_0x38f3(0x79)])):(_0x32b287(_0x46f11d[_0x38f3(0xbc)]),_0x46f11d[_0x38f3(0xbb)](_0x285515,_0x1157ca[_0x38f3(0xbd)]));}}catch(_0x24c426){if(_0x6490fc[_0x38f3(0xbe)]===_0x6490fc[_0x38f3(0xbe)])_0x6490fc[_0x38f3(0xbf)](_0x24c426[_0x38f3(0xc0)],_0x6490fc[_0x38f3(0xc1)])&&(_0x38f3(0xc2)==='YpSmi'?(_0xb20baa(_0x6490fc[_0x38f3(0xc3)]),_0x6490fc[_0x38f3(0xb8)](_0x2a0d41,_0x2fcee2[_0x38f3(0xbd)])):(console['error'](_0x6490fc[_0x38f3(0xc4)],_0x24c426),_0x6490fc[_0x38f3(0xc5)](_0x517885,_0x6490fc[_0x38f3(0xc6)]),_0x6490fc[_0x38f3(0x9f)](triggerHaptic,HapticType[_0x38f3(0xbd)])));else{_0x42001a[_0x38f3(0xc7)](_0x6490fc[_0x38f3(0xc8)],_0x43e739);throw new _0x3e70c2(_0x38f3(0x7a));}}},_0x1c829f=async()=>{const _0x4c7fce={'pnRcj':function(_0x189146,_0x162ced){return _0x6490fc['GCrVV'](_0x189146,_0x162ced);},'tiUUX':'Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.','LHTmY':function(_0xf9616c,_0x145c97){return _0x6490fc[_0x38f3(0xb8)](_0xf9616c,_0x145c97);},'LnVco':function(_0x49f739,_0x35dc03){return _0x6490fc[_0x38f3(0xa2)](_0x49f739,_0x35dc03);},'kYsJL':function(_0x5ea42a,_0x2129ff){return _0x6490fc[_0x38f3(0x9d)](_0x5ea42a,_0x2129ff);},'ZXBWY':function(_0x2e5a5d,_0xbc2092){return _0x6490fc[_0x38f3(0xa2)](_0x2e5a5d,_0xbc2092);},'TPzBs':function(_0x5c7490,_0x522d66){return _0x6490fc[_0x38f3(0xc9)](_0x5c7490,_0x522d66);},'GSXBA':function(_0x4e58d9,_0x1e9ad3){return _0x6490fc[_0x38f3(0x9d)](_0x4e58d9,_0x1e9ad3);},'IXbRw':function(_0x580621,_0x522175){return _0x6490fc[_0x38f3(0xca)](_0x580621,_0x522175);},'xwAcE':function(_0x3023aa,_0xdb58bd){return _0x6490fc[_0x38f3(0xcb)](_0x3023aa,_0xdb58bd);},'BPqFl':_0x6490fc[_0x38f3(0xc1)],'CADbu':function(_0x2911ff,_0x353d34){return _0x6490fc[_0x38f3(0xcc)](_0x2911ff,_0x353d34);},'JqBsC':_0x38f3(0x27),'PmIRc':function(_0x5ab161,_0x579d11){return _0x6490fc[_0x38f3(0xcd)](_0x5ab161,_0x579d11);},'yyYPV':function(_0x247adc,_0x835a06){return _0x247adc*_0x835a06;},'JVlyo':_0x38f3(0x2),'jhdxL':_0x6490fc['PuInx'],'vPUQW':_0x6490fc[_0x38f3(0xce)],'VotWu':_0x6490fc[_0x38f3(0x4c)],'WCQCc':_0x6490fc[_0x38f3(0x4d)],'aMqqd':_0x6490fc[_0x38f3(0xcf)],'iVUPK':_0x6490fc[_0x38f3(0xd0)],'wpicy':_0x6490fc[_0x38f3(0xd1)],'IGxOC':_0x38f3(0x4f),'ZCJGN':_0x6490fc[_0x38f3(0x50)],'PqzkN':_0x6490fc[_0x38f3(0x52)],'ZTppR':_0x6490fc[_0x38f3(0x54)],'YhptB':_0x38f3(0xd2)};if(_0x6490fc[_0x38f3(0xd3)]===_0x6490fc[_0x38f3(0xd4)])_0x1ba635(_0x6490fc[_0x38f3(0xa4)]),_0x6490fc[_0x38f3(0x78)](_0x462740,_0x530e6d['BUTTON_PRESS']);else{const _0x2c1c57=_0x6490fc[_0x38f3(0xcd)](_0x3bd2df,_0x6490fc['rAkXW'])&&_0x57a638?_0x57a638:_0x4fe6ff;if(!_0x2c1c57[_0x38f3(0x87)]()){if(_0x6490fc[_0x38f3(0xd5)](_0x38f3(0xd6),_0x6490fc[_0x38f3(0xd7)])){_0x4c7fce[_0x38f3(0xd8)](_0x2e9f6d,_0x4c7fce['tiUUX']),_0x4c7fce[_0x38f3(0xd9)](_0x305df4,_0x58aaf0[_0x38f3(0xbd)]);return;}else{_0x6490fc[_0x38f3(0x57)](_0x517885,'Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.'),_0x6490fc['RwHfv'](triggerHaptic,HapticType[_0x38f3(0xbd)]);return;}}_0x3d4cff(!![]),_0x517885(null);try{if(_0x6490fc[_0x38f3(0xda)](_0x6490fc['XuPJm'],_0x6490fc[_0x38f3(0xdb)])){const _0xa78601=_0xc228d4(_0x2c1c57);if(_0xa78601['length']===0x0){if(_0x6490fc[_0x38f3(0xbf)](_0x38f3(0xdc),_0x6490fc[_0x38f3(0xdd)]))throw new Error(_0x38f3(0xe));else _0xaa0ada[_0x38f3(0x81)](_0x3e963a['mapping'])[_0x38f3(0x63)]((_0x292761,_0x1f81e4)=>{var _0x4c189a;if(_0x4c7fce[_0x38f3(0xde)](_0x292761,null)&&_0x4c7fce[_0x38f3(0xdf)](_0x292761,void 0x0)&&_0x4c7fce[_0x38f3(0xe0)](_0x4c189a=_0x292761['message'],null)&&_0x4c7fce[_0x38f3(0xe1)](_0x4c189a,void 0x0)&&_0x4c7fce['GSXBA'](_0x4c189a=_0x4c189a[_0x38f3(0x85)],null)&&_0x4c189a!==void 0x0&&_0x4c189a[_0x38f3(0x86)]){const _0x38e55e=_0x292761[_0x38f3(0x83)]['content']['parts'][_0x38f3(0x9e)]('\x0a');if(_0x38e55e[_0x38f3(0x87)]()){var _0x50e1d7;_0x29ec98[_0x38f3(0x5a)]({'id':_0x292761['message']['id']||_0x38f3(0x8b)+_0x1f81e4,'role':(_0x4c7fce[_0x38f3(0xe2)](_0x50e1d7=_0x292761[_0x38f3(0x83)][_0x38f3(0x90)],null)||_0x4c7fce[_0x38f3(0xe2)](_0x50e1d7,void 0x0)?void 0x0:_0x50e1d7[_0x38f3(0x91)])||_0x38f3(0xe3),'content':_0x38e55e,'timestamp':_0x292761['message'][_0x38f3(0x5e)]?new _0x3f97ba(_0x4c7fce[_0x38f3(0xe4)](_0x292761[_0x38f3(0x83)]['create_time'],0x3e8))['toISOString']():_0x243b00});}}});}const _0x482fc7=await AsyncStorage[_0x38f3(0xe5)](_0x6490fc[_0x38f3(0xe6)])||await AsyncStorage[_0x38f3(0xe5)](_0x6490fc['RLWGo'])||await AsyncStorage['getItem'](_0x6490fc['YzVmg']);if(!_0x482fc7){if(_0x38f3(0xe7)!==_0x6490fc[_0x38f3(0xe8)])throw new Error(_0x6490fc[_0x38f3(0xb5)]);else _0x36a530(![]);}const _0x78046c=_0x38f3(0xe9)+_0x53af0e;let _0x546abe=0x0;for(const _0x12914b of _0xa78601){try{const _0x5b6e10=await _0x6490fc['UNDmH'](fetch,API_CONFIG[_0x38f3(0xea)]+_0x38f3(0xeb),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x38f3(0xec)+_0x482fc7},'body':JSON[_0x38f3(0xed)]({'platform':_0x78046c,'conversationData':{'conversationId':_0x12914b['conversationId'],'messages':_0x12914b[_0x38f3(0x95)],'context':_0x12914b['context'],'mobileMetadata':{'platform':Platform['OS'],'appVersion':_0x6490fc[_0x38f3(0xee)],'osVersion':Platform[_0x38f3(0xef)],'isOfflineSync':![]}},'memoryType':_0x6490fc[_0x38f3(0xf0)],'metadata':{'source':'mobile_app_import','importedAt':new Date()['toISOString'](),'originalPlatform':_0x53af0e}})});if(_0x5b6e10['ok'])_0x546abe++;else{if(_0x6490fc[_0x38f3(0xf1)](_0x38f3(0xf2),_0x6490fc['QjTOL']))_0x4c7fce[_0x38f3(0xf3)](_0x2ccf25[_0x38f3(0xc0)],_0x4c7fce[_0x38f3(0xf4)])&&(_0xc82527[_0x38f3(0xc7)](_0x38f3(0x26),_0xfccd14),_0x4c7fce['CADbu'](_0x54015d,_0x4c7fce['JqBsC']),_0x3381d3(_0xa382ee['ERROR']));else{const _0xca2298=await _0x5b6e10[_0x38f3(0x98)]();console[_0x38f3(0xc7)](_0x38f3(0xf5)+_0x12914b['conversationId']+':',_0xca2298);}}}catch(_0x4a5361){console[_0x38f3(0xc7)](_0x38f3(0xf6),_0x4a5361);}}if(_0x546abe>0x0)await AsyncStorage[_0x38f3(0xf7)](_0x38f3(0xf8)+_0x53af0e,JSON[_0x38f3(0xed)]({'connected':!![],'platform':_0x53af0e,'conversationsCount':_0x546abe,'lastSyncAt':new Date()['toISOString']()})),_0x6490fc['kNOvz'](triggerHaptic,HapticType[_0x38f3(0xb9)]),Alert[_0x38f3(0xf9)](_0x6490fc[_0x38f3(0xfa)],'Successfully\x20imported\x20'+_0x546abe+_0x38f3(0xfb)+(_0x6490fc[_0x38f3(0xfc)](_0x546abe,0x1)?'s':'')+_0x38f3(0xfd)+_0x165095+'.',[{'text':'OK','onPress':()=>_0xf600f7(_0x53af0e)}]);else throw new Error(_0x6490fc[_0x38f3(0xfe)]);}else{const _0x57af2c=_0x2ab35c[_0x38f3(0x83)][_0x38f3(0x85)]['parts']['join']('\x0a');if(_0x57af2c[_0x38f3(0x87)]()){var _0x145ded;_0x3d8204['push']({'id':_0x3acf4f[_0x38f3(0x83)]['id']||'msg_'+_0x492706,'role':(_0x4c7fce[_0x38f3(0xe2)](_0x145ded=_0xc1d20a[_0x38f3(0x83)][_0x38f3(0x90)],null)||_0x4c7fce['PmIRc'](_0x145ded,void 0x0)?void 0x0:_0x145ded[_0x38f3(0x91)])||_0x38f3(0xe3),'content':_0x57af2c,'timestamp':_0x160bae[_0x38f3(0x83)][_0x38f3(0x5e)]?new _0x47650d(_0x4c7fce['yyYPV'](_0x20c325[_0x38f3(0x83)]['create_time'],0x3e8))[_0x38f3(0x92)]():_0x296caf});}}}catch(_0x5a9671){if(_0x6490fc[_0x38f3(0xff)](_0x6490fc[_0x38f3(0x100)],'xIduD')){var _0x500bb4;_0x3bf505[_0x38f3(0x5a)]({'id':_0x105b8c[_0x38f3(0x83)]['id']||_0x38f3(0x8b)+_0x4ddd33,'role':(_0x6490fc['kikXG'](_0x500bb4=_0x587f02['message']['author'],null)||_0x6490fc[_0x38f3(0xff)](_0x500bb4,void 0x0)?void 0x0:_0x500bb4['role'])||_0x6490fc[_0x38f3(0x101)],'content':_0x46c00f,'timestamp':_0x361bf2[_0x38f3(0x83)][_0x38f3(0x5e)]?new _0x58e16b(_0x347f2c[_0x38f3(0x83)][_0x38f3(0x5e)]*0x3e8)['toISOString']():_0x3f14f0});}else console[_0x38f3(0xc7)](_0x38f3(0x102),_0x5a9671),_0x517885(_0x5a9671['message']||_0x6490fc[_0x38f3(0x103)]),triggerHaptic(HapticType[_0x38f3(0xbd)]);}finally{if(_0x6490fc['PeJyr'](_0x6490fc[_0x38f3(0x104)],_0x38f3(0x37)))_0x6490fc[_0x38f3(0x105)](_0x3d4cff,![]);else switch(_0x47658f){case'chatgpt':return{'title':_0x4c7fce['JVlyo'],'instructions':_0x4c7fce[_0x38f3(0x106)],'placeholder':_0x38f3(0x4)};case _0x4c7fce['vPUQW']:return{'title':_0x4c7fce[_0x38f3(0x107)],'instructions':_0x4c7fce[_0x38f3(0x108)],'placeholder':_0x38f3(0x109)};case _0x4c7fce[_0x38f3(0x10a)]:return{'title':_0x4c7fce[_0x38f3(0x10b)],'instructions':_0x38f3(0x7),'placeholder':_0x4c7fce[_0x38f3(0x10c)]};case _0x4c7fce['IGxOC']:return{'title':_0x4c7fce['ZCJGN'],'instructions':_0x38f3(0x9),'placeholder':_0x4c7fce[_0x38f3(0x10d)]};default:return{'title':_0x38f3(0x53)+_0x48f1fb,'instructions':_0x4c7fce[_0x38f3(0x10e)],'placeholder':_0x4c7fce[_0x38f3(0x10f)]};}}}},_0x3d90e6=()=>{if(_0x6490fc[_0x38f3(0x110)](_0x6490fc[_0x38f3(0x111)],_0x6490fc[_0x38f3(0x111)]))_0x3aa4c4[_0x38f3(0xc7)](_0x6490fc[_0x38f3(0xc4)],_0x4a98a7),_0x6490fc[_0x38f3(0x48)](_0x3906eb,_0x6490fc[_0x38f3(0xc6)]),_0x6490fc[_0x38f3(0x112)](_0x26c19f,_0x59905e[_0x38f3(0xbd)]);else{const _0x17c82c=_0x6490fc[_0x38f3(0x113)]['split']('|');let _0x2ca329=0x0;while(!![]){switch(_0x17c82c[_0x2ca329++]){case'0':_0x53652b('');continue;case'1':_0x6490fc[_0x38f3(0x114)](_0x517885,null);continue;case'2':_0x6490fc[_0x38f3(0x55)](_0x33d8ba);continue;case'3':_0x6490fc[_0x38f3(0x78)](_0x5c109b,null);continue;case'4':_0x6490fc[_0x38f3(0x112)](_0x1c4772,null);continue;case'5':_0x6490fc[_0x38f3(0x78)](_0x6b9d97,_0x38f3(0x115));continue;}break;}}};return React[_0x38f3(0x116)](Modal,{'visible':_0x55ae66,'animationType':_0x6490fc[_0x38f3(0x117)],'presentationStyle':_0x38f3(0x118),'onRequestClose':_0x3d90e6},React[_0x38f3(0x116)](KeyboardAvoidingView,{'style':styles[_0x38f3(0x119)],'behavior':_0x6490fc[_0x38f3(0x11a)](Platform['OS'],'ios')?_0x6490fc[_0x38f3(0x11b)]:_0x6490fc[_0x38f3(0x11c)]},React[_0x38f3(0x116)](View,{'style':styles['header']},React['createElement'](TouchableOpacity,{'style':styles[_0x38f3(0x11d)],'onPress':_0x3d90e6},React[_0x38f3(0x116)](Text,{'style':styles[_0x38f3(0x11e)]},_0x6490fc[_0x38f3(0x11f)])),React[_0x38f3(0x116)](Text,{'style':styles[_0x38f3(0x120)]},_0x5c5103),React[_0x38f3(0x116)](View,{'style':styles[_0x38f3(0x11d)]})),React[_0x38f3(0x116)](ScrollView,{'style':styles['content'],'contentContainerStyle':styles[_0x38f3(0x121)],'keyboardShouldPersistTaps':_0x6490fc[_0x38f3(0x122)]},React[_0x38f3(0x116)](View,{'style':styles['instructionsContainer']},React[_0x38f3(0x116)](Text,{'style':styles[_0x38f3(0x123)]},_0x4058e1)),React[_0x38f3(0x116)](View,{'style':styles[_0x38f3(0x124)]},React['createElement'](TouchableOpacity,{'style':[styles['tab'],_0x6490fc['fufym'](_0x3bd2df,_0x6490fc[_0x38f3(0x46)])&&styles[_0x38f3(0x125)]],'onPress':()=>{_0x6b9d97(_0x6490fc[_0x38f3(0x46)]),_0x6490fc['jdfbD'](triggerHaptic,HapticType['BUTTON_PRESS']);}},React[_0x38f3(0x116)](Text,{'style':[styles[_0x38f3(0x126)],_0x6490fc[_0x38f3(0x127)](_0x3bd2df,_0x6490fc[_0x38f3(0x46)])&&styles[_0x38f3(0x128)]]},_0x6490fc[_0x38f3(0x129)])),React[_0x38f3(0x116)](TouchableOpacity,{'style':[styles[_0x38f3(0x12a)],_0x6490fc[_0x38f3(0x11a)](_0x3bd2df,_0x38f3(0x1e))&&styles[_0x38f3(0x125)],!FILE_UPLOAD_AVAILABLE&&styles['tabDisabled']],'onPress':()=>{FILE_UPLOAD_AVAILABLE?_0x6490fc['VxWeK'](_0x6490fc['vFXBG'],_0x6490fc['XqXbl'])?(_0x6490fc[_0x38f3(0x12b)](_0x6b9d97,_0x6490fc[_0x38f3(0xa4)]),_0x6490fc[_0x38f3(0x12c)](triggerHaptic,HapticType[_0x38f3(0x79)])):_0x8e6a95[_0x38f3(0x5a)]({'id':_0x1ce3d2['id']||_0x38f3(0x8b)+_0x80b0c9,'role':_0x1c263d[_0x38f3(0x91)]||_0x5af3a3['author']||_0x38f3(0x14),'content':_0x3f5efd,'timestamp':_0x77a0aa['timestamp']||_0x4d833f['created_at']}):_0x6490fc[_0x38f3(0x6f)](_0x38f3(0x12d),'lmzyJ')?_0x49bdeb['push']({'conversationId':_0x2d736a['id']||'conv_'+_0x1c6540+'_'+_0x3dab9d[_0x38f3(0x6b)](),'messages':_0x5f19f4,'context':{'title':_0x49e56b[_0x38f3(0x5c)]||_0x38f3(0x67)+_0x6490fc[_0x38f3(0x12e)](_0x21fc53,0x1),'create_time':_0x491bd0['create_time'],'update_time':_0x30f44f[_0x38f3(0x5f)]}}):(_0x6490fc['yrFMK'](_0x517885,_0x6490fc[_0x38f3(0xc3)]),triggerHaptic(HapticType[_0x38f3(0xbd)]));}},React[_0x38f3(0x116)](Text,{'style':[styles[_0x38f3(0x126)],_0x6490fc['VkutF'](_0x3bd2df,_0x6490fc[_0x38f3(0xa4)])&&styles[_0x38f3(0x128)],!FILE_UPLOAD_AVAILABLE&&styles[_0x38f3(0x12f)]]},_0x6490fc[_0x38f3(0x130)],_0x6490fc[_0x38f3(0x131)](!FILE_UPLOAD_AVAILABLE,_0x6490fc[_0x38f3(0x132)])))),_0x3bd2df===_0x6490fc[_0x38f3(0x46)]?React[_0x38f3(0x116)](View,{'style':styles['inputContainer']},React['createElement'](TextInput,{'style':styles['textInput'],'multiline':!![],'placeholder':_0x3012d1,'placeholderTextColor':COLORS[_0x38f3(0x133)],'value':_0x4fe6ff,'onChangeText':_0x53652b,'textAlignVertical':_0x6490fc[_0x38f3(0x134)],'autoCapitalize':_0x38f3(0x135),'autoCorrect':![]})):React[_0x38f3(0x116)](View,{'style':styles[_0x38f3(0x136)]},React[_0x38f3(0x116)](TouchableOpacity,{'style':styles[_0x38f3(0x137)],'onPress':_0x21fa71},React['createElement'](Text,{'style':styles['filePickIcon']},'📁'),React[_0x38f3(0x116)](Text,{'style':styles['filePickText']},_0x44c1f4||_0x6490fc['ylhsO'])),_0x44c1f4&&React['createElement'](View,{'style':styles[_0x38f3(0x138)]},React['createElement'](Text,{'style':styles['fileSelectedText']},'✓\x20',_0x44c1f4))),_0x1dab12&&React['createElement'](View,{'style':styles[_0x38f3(0x139)]},React['createElement'](Text,{'style':styles[_0x38f3(0x13a)]},_0x1dab12)),_0x6490fc[_0x38f3(0xfc)](_0x4fe6ff[_0x38f3(0x64)],0x0)&&React[_0x38f3(0x116)](View,{'style':styles[_0x38f3(0x13b)]},React['createElement'](Text,{'style':styles['previewTitle']},_0x6490fc[_0x38f3(0x13c)]),React[_0x38f3(0x116)](Text,{'style':styles[_0x38f3(0x13d)],'numberOfLines':0x5},_0x4fe6ff['substring'](0x0,0x1f4),_0x6490fc[_0x38f3(0x13e)](_0x4fe6ff['length'],0x1f4)?_0x38f3(0x13f):''),React[_0x38f3(0x116)](Text,{'style':styles[_0x38f3(0x140)]},_0x4fe6ff[_0x38f3(0x64)][_0x38f3(0x141)](),_0x6490fc['OarWA']))),React[_0x38f3(0x116)](View,{'style':styles[_0x38f3(0x142)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x38f3(0x143)],(!_0x4fe6ff[_0x38f3(0x87)]()||_0x19b91c)&&styles[_0x38f3(0x144)]],'onPress':_0x1c829f,'disabled':!_0x4fe6ff[_0x38f3(0x87)]()||_0x19b91c},_0x19b91c?React[_0x38f3(0x116)](ActivityIndicator,{'color':_0x6490fc[_0x38f3(0x145)],'size':_0x6490fc[_0x38f3(0x146)]}):React['createElement'](Text,{'style':styles[_0x38f3(0x147)]},_0x6490fc[_0x38f3(0x148)])))));},styles=StyleSheet['create']({'container':{'flex':0x1,'backgroundColor':COLORS['surface']},'header':{'flexDirection':_0x38f3(0x149),'alignItems':'center','justifyContent':_0x38f3(0x14a),'paddingHorizontal':0x10,'paddingTop':Platform['OS']===_0x38f3(0x14b)?0xc:0x10,'paddingBottom':0xc,'borderBottomWidth':0x1,'borderBottomColor':'#E5E7EB'},'headerTitle':{'fontSize':0x11,'fontWeight':_0x38f3(0x14c),'color':COLORS[_0x38f3(0x14d)],'fontFamily':_0x38f3(0x14e)},'closeButton':{'width':0x3c},'closeButtonText':{'fontSize':0x10,'color':_0x38f3(0x14f),'fontFamily':_0x38f3(0x150)},'content':{'flex':0x1},'contentContainer':{'padding':0x14,'paddingBottom':0x28},'instructionsContainer':{'backgroundColor':_0x38f3(0x151),'borderRadius':0xc,'padding':0x10,'marginBottom':0x14},'instructionsText':{'fontSize':0xe,'lineHeight':0x14,'color':_0x38f3(0x152),'fontFamily':_0x38f3(0x150)},'tabContainer':{'flexDirection':'row','backgroundColor':_0x38f3(0x153),'borderRadius':0xa,'padding':0x4,'marginBottom':0x14},'tab':{'flex':0x1,'paddingVertical':0xa,'borderRadius':0x8,'alignItems':'center'},'tabActive':{'backgroundColor':'#FFFFFF','shadowColor':_0x38f3(0x154),'shadowOffset':{'width':0x0,'height':0x1},'shadowOpacity':0.1,'shadowRadius':0x2,'elevation':0x2},'tabText':{'fontSize':0xe,'fontWeight':_0x38f3(0x155),'color':COLORS['grey500'],'fontFamily':_0x38f3(0x150)},'tabTextActive':{'color':COLORS[_0x38f3(0x14d)]},'tabDisabled':{'opacity':0.5},'tabTextDisabled':{'color':COLORS[_0x38f3(0x133)]},'inputContainer':{'marginBottom':0x14},'textInput':{'backgroundColor':_0x38f3(0x44),'borderWidth':0x1,'borderColor':COLORS[_0x38f3(0x156)],'borderRadius':0xc,'padding':0x10,'minHeight':0xc8,'fontSize':0xe,'fontFamily':Platform['OS']===_0x38f3(0x14b)?'Menlo':_0x38f3(0x157),'color':COLORS[_0x38f3(0x14d)]},'fileInputContainer':{'marginBottom':0x14},'filePickButton':{'backgroundColor':_0x38f3(0x44),'borderWidth':0x2,'borderColor':COLORS['grey300'],'borderStyle':_0x38f3(0x158),'borderRadius':0xc,'padding':0x28,'alignItems':_0x38f3(0x159),'justifyContent':'center'},'filePickIcon':{'fontSize':0x28,'marginBottom':0xc},'filePickText':{'fontSize':0xf,'color':COLORS[_0x38f3(0x15a)],'fontFamily':_0x38f3(0x150)},'fileSelectedContainer':{'marginTop':0xc,'backgroundColor':'#F0FDF4','borderRadius':0x8,'padding':0xc},'fileSelectedText':{'fontSize':0xe,'color':_0x38f3(0x15b),'fontFamily':'Inter','fontWeight':'500'},'errorContainer':{'backgroundColor':'#FEF2F2','borderRadius':0x8,'padding':0xc,'marginBottom':0x10},'errorText':{'fontSize':0xe,'color':'#DC2626','fontFamily':_0x38f3(0x150)},'previewContainer':{'backgroundColor':_0x38f3(0x153),'borderRadius':0xc,'padding':0x10},'previewTitle':{'fontSize':0xe,'fontWeight':_0x38f3(0x14c),'color':COLORS[_0x38f3(0x14d)],'marginBottom':0x8,'fontFamily':_0x38f3(0x150)},'previewText':{'fontSize':0xc,'color':COLORS['grey600'],'fontFamily':Platform['OS']===_0x38f3(0x14b)?_0x38f3(0x15c):_0x38f3(0x157),'lineHeight':0x12},'previewInfo':{'fontSize':0xc,'color':COLORS[_0x38f3(0x15d)],'marginTop':0x8,'fontFamily':_0x38f3(0x150)},'footer':{'padding':0x14,'paddingBottom':Platform['OS']===_0x38f3(0x14b)?0x22:0x14,'borderTopWidth':0x1,'borderTopColor':'#E5E7EB','backgroundColor':COLORS[_0x38f3(0x15e)]},'submitButton':{'backgroundColor':_0x38f3(0x15f),'borderRadius':0xc,'paddingVertical':0x10,'alignItems':'center','justifyContent':_0x38f3(0x159)},'submitButtonDisabled':{'backgroundColor':COLORS[_0x38f3(0x156)]},'submitButtonText':{'fontSize':0x10,'fontWeight':'600','color':_0x38f3(0x44),'fontFamily':'Inter'}});export default LLMDataInputModal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from'react';import{View,StyleSheet,TouchableOpacity,Text}from'react-native';import{COLORS,SPACING}from'../theme';const ModalHeader=({onClose:
|
|
1
|
+
import React from'react';import{View,StyleSheet,TouchableOpacity,Text}from'react-native';import{COLORS,SPACING}from'../theme';function _0xb696(){const _0x1b4579=['Go\x20back','Close','createElement','Fragment','grabberContainer','grabber','container','nLNqR','backText','closeButton','rEQwc','closeText','centerSpacer','spacer','100%','center','#D0D0D0','row','flex-start','500'];_0xb696=function(){return _0x1b4579;};return _0xb696();}const ModalHeader=({onClose:_0x239042,onBack:_0x12f967,showGrabber:showGrabber=!![],showBackButton:showBackButton=![]})=>{const _0x20c53f={'nLNqR':_0x469c(0x0),'WhVpm':'button','rEQwc':_0x469c(0x1)};return React[_0x469c(0x2)](React[_0x469c(0x3)],null,showGrabber&&React[_0x469c(0x2)](View,{'style':styles[_0x469c(0x4)]},React[_0x469c(0x2)](View,{'style':styles[_0x469c(0x5)]})),React[_0x469c(0x2)](View,{'style':styles[_0x469c(0x6)]},showBackButton?React[_0x469c(0x2)](TouchableOpacity,{'style':styles['closeButton'],'onPress':_0x12f967,'activeOpacity':0.7,'accessibilityLabel':_0x20c53f[_0x469c(0x7)],'accessibilityRole':_0x20c53f['WhVpm']},React[_0x469c(0x2)](Text,{'style':styles[_0x469c(0x8)]},'←')):React[_0x469c(0x2)](TouchableOpacity,{'style':styles[_0x469c(0x9)],'onPress':_0x239042,'activeOpacity':0.7,'accessibilityLabel':_0x20c53f[_0x469c(0xa)],'accessibilityRole':_0x20c53f['WhVpm']},React['createElement'](Text,{'style':styles[_0x469c(0xb)]},'✕')),React[_0x469c(0x2)](View,{'style':styles[_0x469c(0xc)]}),React[_0x469c(0x2)](View,{'style':styles[_0x469c(0xd)]})));},styles=StyleSheet['create']({'grabberContainer':{'width':_0x469c(0xe),'alignItems':_0x469c(0xf),'paddingTop':0xc,'paddingBottom':0x4},'grabber':{'width':0x64,'height':0x6,'backgroundColor':_0x469c(0x10),'borderRadius':0x3},'container':{'flexDirection':_0x469c(0x11),'alignItems':_0x469c(0x12),'justifyContent':'flex-start','height':0x2c,'paddingTop':0x0,'paddingLeft':0x4,'marginBottom':SPACING['md']},'closeButton':{'width':0x24,'height':0x24,'justifyContent':'center','alignItems':_0x469c(0xf),'marginTop':0x0},'closeText':{'fontSize':0x14,'color':COLORS['grey800'],'fontWeight':_0x469c(0x13)},'backText':{'fontSize':0x18,'color':COLORS['grey800'],'fontWeight':_0x469c(0x13)},'centerSpacer':{'flex':0x1},'spacer':{'width':0x2c,'height':0x2c}});function _0x469c(_0xb69617,_0x469c13){_0xb69617=_0xb69617-0x0;const _0x146114=_0xb696();let _0x131bf1=_0x146114[_0xb69617];return _0x131bf1;}export{ModalHeader};export default ModalHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xb24b(){const _0x4250f9=['modalTopPadding','container','bottom','surface','modalTop','modalHorizontal','80%'];_0xb24b=function(){return _0x4250f9;};return _0xb24b();}import React from'react';import{View,StyleSheet}from'react-native';import{COLORS,BORDER_RADIUS,SPACING}from'../theme';function _0x33da(_0xb24bbd,_0x33da9b){_0xb24bbd=_0xb24bbd-0x0;const _0x59a287=_0xb24b();let _0x1e1e7b=_0x59a287[_0xb24bbd];return _0x1e1e7b;}const ModalSheet=({children:_0x4a0b8e,topPadding:topPadding=SPACING[_0x33da(0x0)],onClose:_0x5f3f3e,showGrabber:showGrabber=!![],style:_0x24840f})=>{const _0x595a9f={'bottom':0x14};return React['createElement'](View,{'style':[styles[_0x33da(0x1)],{'paddingTop':topPadding,'paddingBottom':_0x595a9f[_0x33da(0x2)]||SPACING['lg']},_0x24840f]},_0x4a0b8e);},styles=StyleSheet['create']({'container':{'backgroundColor':COLORS[_0x33da(0x3)],'borderTopLeftRadius':BORDER_RADIUS[_0x33da(0x4)],'borderTopRightRadius':BORDER_RADIUS[_0x33da(0x4)],'borderBottomLeftRadius':0x0,'borderBottomRightRadius':0x0,'paddingHorizontal':SPACING[_0x33da(0x5)],'flex':0x1,'minHeight':_0x33da(0x6)}});export{ModalSheet};export default ModalSheet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{forwardRef,useImperativeHandle,useState,useCallback,useEffect}from'react';function _0x2bca(){const _0x33fab8=['#999','🔄\x20Initializing...','HwKke','🚀\x20Onairos\x20SDK:\x20Starting\x20API\x20key\x20initialization...','HfkHG','API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','Unknown\x20initialization\x20error','ihCZC','LdYNK','hocsw','BMWaO','1.\x20Check\x20that\x20your\x20API\x20key\x20is\x20correct\x20and\x20not\x20expired','5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','QchTr','#fff','❌\x20Overlay\x20rejected:','SDK\x20Error','wDpht','wEIUm','Qlpce','Rqewn','✅\x20Onairos\x20component:\x20SDK\x20already\x20initialized,\x20syncing\x20state','🔽\x20Closing\x20Onairos\x20overlay,\x20result:','🔽\x20showOverlay\x20set\x20to\x20false','🔍\x20Checking\x20for\x20existing\x20credentials...','SDK\x20not\x20initialized.\x20Please\x20check\x20your\x20API\x20key.','❌\x20Cannot\x20open\x20overlay:\x20SDK\x20not\x20initialized','jVHog','⛔\x20Pre-check\x20failed,\x20aborting\x20overlay','lVLFr','mYKGs','OuQrp','pgVPq','❌\x20Error\x20opening\x20overlay:','czwtk','pill','row','#000','🎨\x20Opening\x20Onairos\x20overlay...','uNOuX','connect','normal','#FF6B6B','cAmdE','default','primary','svHar','mmVTS','zfIiu','NEwqy','fMqXS','rcVmj','log','tzWJr','YcuIk','cBPxB','xjYxo','NvQbC','bcxxb','zPuWh','dhWla','JroVy','zXzAd','SDK\x20initialization\x20failed:\x20','YVfNo','zJeVM','📊\x20Configuration:','length','loadingContainer','createElement','loadingButton','gAcYs','loadingButtonText','iSKJJ','error','❌\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20failed:','QvjuG','fqufn','MFPUB','hSegf','SzylY','tNiJU','DgQhj','MROdB','2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','🔧\x20API\x20Key\x20Troubleshooting\x20Guide','jNiTA','BZQZT','HUALr','pCoOu','TCRcS','Uvvpc','fOgwW','ErEQz','apiKey','BkLKo','Hpsxm','hrcXl','gGtpn','gNKIy','nPZeR','borderWidth','borderColor','exOmg','ErBpT','gQofk','TwZQb','hFxHR','errorContainer','errorButton','alert','Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a','\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.','errorButtonText','PdsJj','xYHUh','ymMHr','🔘\x20Button\x20pressed!\x20isInitialized:','WmSnw','BaHqu','qlqYj','fxhho','NMCqZ','oiphR','WYexO','qMGwc','🔍\x20Running\x20pre-check\x20validation...','wOXCu','jZprc','vvmnu','Vydej','FMTSe','MQeol','apiUrl','token','userData','MEbex','zcVNt','❌\x20Pre-check\x20error:','Pre-check\x20failed:\x20','message','smfXQ','vnMuq','nPDLq','NwNqg','Ffcoe','BASE_URL','existing_user_token','✅\x20Resolving\x20with\x20existing\x20credentials','warn','⚠️\x20Failed\x20to\x20retrieve\x20existing\x20credentials:','gPcRU','gwlhz','RJncX','tmikh','dyCty','Failed\x20to\x20open\x20overlay:\x20','FUAMI','WWGBK','fqFtH','PPcMw','jwMge','xwcPw','⚠️\x20SDK\x20Error','xppru','Vxtuh','UWLRG','yzPHF','aQzsB','cwyFJ','xZGgU','HGFJk','jkPTz','Connect\x20with\x20Onairos','Fragment','xCwyA','onairosLogoAlt','logo','contain','buttonText','NyFCz','create','center','600'];_0x2bca=function(){return _0x33fab8;};return _0x2bca();}import{StyleSheet,View,TouchableOpacity,Text,Image,Alert}from'react-native';import{UniversalOnboarding}from'./UniversalOnboarding';import{COLORS}from'../constants';function _0x5cc6(_0x2bca5b,_0x5cc69c){_0x2bca5b=_0x2bca5b-0x0;const _0x2734b3=_0x2bca();let _0x4b9c9b=_0x2734b3[_0x2bca5b];return _0x4b9c9b;}import{hasCredentials,getCredentials}from'../utils/secureStorage';import{initializeApiKey,isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{API_CONFIG}from'../config/api';import{BRAND_IMAGES}from'../utils/assetRegistry';export const Onairos=forwardRef((_0x29d813,_0x3004c6)=>{const _0xd4ebb6={'YcuIk':_0x5cc6(0x0),'cBPxB':_0x5cc6(0x1),'xjYxo':'✅\x20Pre-check\x20passed','YVfNo':function(_0x673ebf,_0x3b6d88){return _0x673ebf(_0x3b6d88);},'NvQbC':function(_0x5be8a5,_0x11a0a7){return _0x5be8a5(_0x11a0a7);},'SzylY':function(_0x3da20b,_0x405ed1){return _0x3da20b!==_0x405ed1;},'bcxxb':_0x5cc6(0x2),'zPuWh':_0x5cc6(0x3),'dhWla':function(_0x499442,_0x554571){return _0x499442===_0x554571;},'JroVy':_0x5cc6(0x4),'whMzZ':_0x5cc6(0x5),'zJeVM':_0x5cc6(0x6),'ThvbP':function(_0x3be113,_0x1c455c){return _0x3be113 instanceof _0x1c455c;},'tYGuQ':_0x5cc6(0x7),'QvjuG':function(_0x2cd198,_0x33d876){return _0x2cd198!==_0x33d876;},'fqufn':_0x5cc6(0x8),'MFPUB':_0x5cc6(0x9),'hSegf':function(_0x1c4337,_0x78fe22){return _0x1c4337(_0x78fe22);},'tNiJU':_0x5cc6(0xa),'OPWLG':_0x5cc6(0xb),'qvGBS':'4|0|2|5|6|1|3','DgQhj':_0x5cc6(0xc),'MROdB':_0x5cc6(0xd),'pYjpF':_0x5cc6(0xe),'HUALr':function(_0x147ab2,_0x4e8ce2){return _0x147ab2===_0x4e8ce2;},'TCRcS':_0x5cc6(0xf),'gNKIy':function(_0x3d8821,_0x29d778){return _0x3d8821/_0x29d778;},'nPZeR':'center','exOmg':_0x5cc6(0x10),'mmVTS':'✅\x20Resolving\x20with\x20existing\x20credentials','zfIiu':_0x5cc6(0x11),'NEwqy':_0x5cc6(0x12),'WLMlI':_0x5cc6(0x13),'fMqXS':_0x5cc6(0x14),'qTvlF':function(_0xbf7630,_0x56a687){return _0xbf7630!==_0x56a687;},'rcVmj':_0x5cc6(0x15),'Uvvpc':function(_0x6c511){return _0x6c511();},'fOgwW':function(_0x21b27d,_0x44f143){return _0x21b27d===_0x44f143;},'fLTSM':function(_0x20dc80){return _0x20dc80();},'ErEQz':function(_0x4aee3d,_0x501b80){return _0x4aee3d===_0x501b80;},'BkLKo':function(_0x5354f4){return _0x5354f4();},'Hpsxm':function(_0x101c73,_0x550ac9){return _0x101c73===_0x550ac9;},'hrcXl':_0x5cc6(0x16),'gGtpn':_0x5cc6(0x17),'Vydej':_0x5cc6(0x18),'NaiAS':_0x5cc6(0x19),'FMTSe':function(_0x3bb66f,_0x339abb){return _0x3bb66f&&_0x339abb;},'MQeol':function(_0x4e6ce2,_0x8af038,_0x57293f,_0x19e861){return _0x4e6ce2(_0x8af038,_0x57293f,_0x19e861);},'xYHUh':_0x5cc6(0x1a),'ymMHr':'📊\x20Configuration:','WmSnw':'isInitializing:','BaHqu':'showOverlay:','qlqYj':function(_0x1d434c,_0xc10fa2){return _0x1d434c||_0xc10fa2;},'fxhho':_0x5cc6(0x1b),'NMCqZ':_0x5cc6(0x1c),'pkRGH':function(_0x496f09,_0x35306d){return _0x496f09(_0x35306d);},'oiphR':'JIJtY','qMGwc':'WYexO','wOXCu':function(_0x38165b){return _0x38165b();},'jZprc':function(_0x23fe14,_0x320279){return _0x23fe14!==_0x320279;},'vvmnu':_0x5cc6(0x1d),'MHJvk':'FEdOt','Xqiia':_0x5cc6(0x1e),'MEbex':_0x5cc6(0x1f),'smfXQ':function(_0x122582,_0x13d57e){return _0x122582===_0x13d57e;},'vnMuq':_0x5cc6(0x20),'nPDLq':function(_0xd80719,_0x40078b){return _0xd80719!==_0x40078b;},'ApgmY':_0x5cc6(0x21),'NwNqg':_0x5cc6(0x22),'jczaY':function(_0x361a8b){return _0x361a8b();},'Ffcoe':function(_0xe7ed08,_0x4fcaae){return _0xe7ed08&&_0x4fcaae;},'vwAvh':_0x5cc6(0x23),'dyCty':function(_0x5b438c,_0x4291d9){return _0x5b438c(_0x4291d9);},'FUAMI':function(_0x45a490,_0x1efb70){return _0x45a490!==_0x1efb70;},'WWGBK':_0x5cc6(0x24),'PPcMw':function(_0x2789df,_0x599522){return _0x2789df(_0x599522);},'jwMge':function(_0x1a0074,_0x2fdd83){return _0x1a0074(_0x2fdd83);},'Vxtuh':function(_0x254d7a,_0x13cf63){return _0x254d7a!==_0x13cf63;},'aQzsB':_0x5cc6(0x25),'hHTFr':_0x5cc6(0x26),'cwyFJ':_0x5cc6(0x27),'HGFJk':_0x5cc6(0x28),'xZGgU':_0x5cc6(0x29),'jkPTz':_0x5cc6(0x2a),'vxVZD':'Continue\x20with\x20Onairos','cAmdE':_0x5cc6(0x2b),'KPPsI':function(_0x522fb3,_0x2f859e){return _0x522fb3(_0x2f859e);},'SqmnP':function(_0x28b726,_0x39f8e0){return _0x28b726(_0x39f8e0);},'svHar':function(_0x512b78,_0x3496b7,_0x276c55){return _0x512b78(_0x3496b7,_0x276c55);},'MwOXI':function(_0x4419ca,_0x5d1fc5,_0x275276){return _0x4419ca(_0x5d1fc5,_0x275276);},'xwcPw':_0x5cc6(0x2c),'xppru':'rwMbr','xCwyA':function(_0x461aaa){return _0x461aaa();},'NyFCz':function(_0x20d359,_0x3afb4b){return _0x20d359||_0x3afb4b;}},{returnLink:_0xfec376,prefillUrl:_0x4eb8dd,AppName:_0x295e09,buttonType:buttonType=_0xd4ebb6[_0x5cc6(0x2d)],requestData:_0x579000,buttonWidth:buttonWidth=0xc8,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x5cc6(0x2e),onRejection:_0x758e6b,onResolved:_0x2f37ac,preCheck:_0x4645cf,color:color=COLORS[_0x5cc6(0x2f)],debug:debug=![],darkMode:darkMode=![],preferredPlatform:_0x10d8e1,testMode:testMode=![],apiKey:_0x2d7394,environment:environment='production',enableLogging:enableLogging=!![],timeout:timeout=0x7530,retryAttempts:retryAttempts=0x3}=_0x29d813,[_0x1ba2b4,_0x50d103]=_0xd4ebb6['jwMge'](useState,![]),[_0x1a7de6,_0xa44e03]=useState(![]),[_0x4d984d,_0x65762]=_0xd4ebb6['KPPsI'](useState,null),[_0x82b135,_0x162dca]=_0xd4ebb6['SqmnP'](useState,![]);_0xd4ebb6[_0x5cc6(0x30)](useEffect,()=>{const _0x14b03f={'tzWJr':_0xd4ebb6[_0x5cc6(0x31)],'zXzAd':function(_0x563e32,_0x3af801){return _0x563e32(_0x3af801);},'jNiTA':_0xd4ebb6[_0x5cc6(0x32)],'ErBpT':_0xd4ebb6[_0x5cc6(0x33)],'gQofk':_0xd4ebb6['WLMlI'],'TwZQb':_0xd4ebb6[_0x5cc6(0x34)]};if(_0xd4ebb6['qTvlF'](_0xd4ebb6[_0x5cc6(0x35)],_0xd4ebb6[_0x5cc6(0x35)]))_0x3d2875[_0x5cc6(0x36)](_0x14b03f[_0x5cc6(0x37)]);else{var _0x2edcc7;let _0x1ed745=!![];const _0x27256f=async()=>{const _0x23cd39={'gAcYs':_0xd4ebb6[_0x5cc6(0x38)],'iSKJJ':_0xd4ebb6[_0x5cc6(0x39)],'BZQZT':_0xd4ebb6[_0x5cc6(0x3a)]};if(_0x82b135)return;_0xd4ebb6['YVfNo'](_0x162dca,!![]),_0xd4ebb6[_0x5cc6(0x3b)](_0x65762,null);try{if(_0xd4ebb6['SzylY']('hMrIb',_0xd4ebb6[_0x5cc6(0x3c)])){console[_0x5cc6(0x36)](_0xd4ebb6[_0x5cc6(0x3d)]);if(!_0x2d7394){if(_0xd4ebb6[_0x5cc6(0x3e)]('PHxeD',_0xd4ebb6[_0x5cc6(0x3f)]))_0x14b03f[_0x5cc6(0x40)](_0x26cf02,_0x5cc6(0x41)+_0xf4607e);else throw new Error(_0xd4ebb6['whMzZ']);}const _0x4cc173={'apiKey':_0x2d7394,'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts};await _0xd4ebb6[_0x5cc6(0x42)](initializeApiKey,_0x4cc173),_0x1ed745&&(_0xd4ebb6[_0x5cc6(0x42)](_0xa44e03,!![]),_0x65762(null),enableLogging&&(console[_0x5cc6(0x36)](_0xd4ebb6[_0x5cc6(0x43)]),console[_0x5cc6(0x36)](_0x5cc6(0x44),{'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts,'apiKeyLength':_0x2d7394[_0x5cc6(0x45)]})));}else return React['createElement'](View,{'style':_0x15c8a0[_0x5cc6(0x46)]},React[_0x5cc6(0x47)](TouchableOpacity,{'style':[_0x4150af[_0x5cc6(0x48)],{'backgroundColor':_0x23cd39[_0x5cc6(0x49)]}],'disabled':!![]},React[_0x5cc6(0x47)](Text,{'style':_0x4a0e54[_0x5cc6(0x4a)]},_0x23cd39[_0x5cc6(0x4b)])));}catch(_0x184973){const _0xb2ff39=_0xd4ebb6['ThvbP'](_0x184973,Error)?_0x184973['message']:_0xd4ebb6['tYGuQ'];console[_0x5cc6(0x4c)](_0x5cc6(0x4d),_0xb2ff39);if(_0x1ed745){if(_0xd4ebb6[_0x5cc6(0x4e)](_0xd4ebb6[_0x5cc6(0x4f)],_0xd4ebb6[_0x5cc6(0x50)])){_0xd4ebb6[_0x5cc6(0x51)](_0xa44e03,![]),_0x65762(_0xb2ff39);if(enableLogging){if(_0xd4ebb6[_0x5cc6(0x52)](_0xd4ebb6[_0x5cc6(0x53)],_0xd4ebb6['OPWLG'])){const _0x476534=_0xd4ebb6['qvGBS']['split']('|');let _0x3948a4=0x0;while(!![]){switch(_0x476534[_0x3948a4++]){case'0':console['log'](_0xd4ebb6[_0x5cc6(0x54)]);continue;case'1':console['log'](_0xd4ebb6[_0x5cc6(0x55)]);continue;case'2':console[_0x5cc6(0x36)](_0x5cc6(0x56));continue;case'3':console['groupEnd']();continue;case'4':console['group'](_0x5cc6(0x57));continue;case'5':console[_0x5cc6(0x36)](_0xd4ebb6['pYjpF']);continue;case'6':console[_0x5cc6(0x36)]('4.\x20Check\x20your\x20internet\x20connection');continue;}break;}}else _0x3b3f44[_0x5cc6(0x36)](_0x14b03f[_0x5cc6(0x58)],_0xb07982);}_0x758e6b&&_0xd4ebb6[_0x5cc6(0x51)](_0x758e6b,'SDK\x20initialization\x20failed:\x20'+_0xb2ff39);}else _0x9c8a6c[_0x5cc6(0x36)](_0x23cd39[_0x5cc6(0x59)]);}}finally{_0x1ed745&&(_0xd4ebb6[_0x5cc6(0x5a)](_0x5cc6(0x5b),_0xd4ebb6[_0x5cc6(0x5c)])?_0x15fe50&&_0x14b03f['zXzAd'](_0x1e5b5a,![]):_0x162dca(![]));}};if(_0x2d7394&&(!_0xd4ebb6[_0x5cc6(0x5d)](isApiKeyInitialized)||(_0xd4ebb6[_0x5cc6(0x5e)](_0x2edcc7=_0xd4ebb6['fLTSM'](getApiConfig),null)||_0xd4ebb6[_0x5cc6(0x5f)](_0x2edcc7,void 0x0)?void 0x0:_0x2edcc7[_0x5cc6(0x60)])!==_0x2d7394))_0xd4ebb6[_0x5cc6(0x5d)](_0x27256f);else{if(_0xd4ebb6[_0x5cc6(0x61)](isApiKeyInitialized)){_0xa44e03(!![]),_0x162dca(![]);if(enableLogging){if(_0xd4ebb6[_0x5cc6(0x62)](_0xd4ebb6['hrcXl'],_0xd4ebb6[_0x5cc6(0x63)]))console['log'](_0xd4ebb6[_0x5cc6(0x64)]);else{const _0x47cf32={'width':_0x15a3f7,'height':_0x4339e9,'backgroundColor':_0x219102,'borderRadius':_0xd4ebb6[_0x5cc6(0x5a)](_0x3a4331,_0x5cc6(0x25))?_0xd4ebb6[_0x5cc6(0x65)](_0x1a46b9,0x2):0x8,'alignItems':_0xd4ebb6[_0x5cc6(0x66)],'justifyContent':_0xd4ebb6[_0x5cc6(0x66)],'flexDirection':'row','opacity':_0x57d3ce?0x1:0.6};return _0x38a9e1&&(_0x47cf32[_0x5cc6(0x67)]=0x2,_0x47cf32[_0x5cc6(0x68)]=_0x295b20?_0xd4ebb6[_0x5cc6(0x69)]:_0x5cc6(0x27)),_0x47cf32;}}}}return()=>{const _0x3f9703={'hFxHR':_0x14b03f[_0x5cc6(0x6a)],'PdsJj':'⚠️\x20SDK\x20Error'};if(_0x14b03f[_0x5cc6(0x6b)]!==_0x14b03f[_0x5cc6(0x6c)])_0x1ed745=![];else{const _0x7a8d68={'uyzDH':_0x3f9703[_0x5cc6(0x6d)]};return React['createElement'](View,{'style':_0x567b2f[_0x5cc6(0x6e)]},React[_0x5cc6(0x47)](TouchableOpacity,{'style':[_0x12d9e[_0x5cc6(0x6f)],{'backgroundColor':_0x5cc6(0x2c)}],'onPress':()=>{Alert[_0x5cc6(0x70)](_0x7a8d68['uyzDH'],_0x5cc6(0x71)+_0x128bf1+_0x5cc6(0x72),[{'text':'OK'}]);}},React[_0x5cc6(0x47)](Text,{'style':_0x46fd22[_0x5cc6(0x73)]},_0x3f9703[_0x5cc6(0x74)])));}};}},[_0x2d7394,environment,enableLogging,timeout,retryAttempts,_0x758e6b]),_0xd4ebb6[_0x5cc6(0x30)](useImperativeHandle,_0x3004c6,()=>({'openOverlay':_0x34f868,'closeOverlay':_0x1af6ee,'isInitialized':()=>_0x1a7de6,'getApiConfig':()=>getApiConfig()}));const _0x34f868=_0xd4ebb6['MwOXI'](useCallback,async()=>{const _0x498f3c={'ZERoj':_0xd4ebb6[_0x5cc6(0x64)],'zcVNt':_0xd4ebb6[_0x5cc6(0x75)],'jOgHc':function(_0x5a2997,_0x1f29ec){return _0x5a2997(_0x1f29ec);},'RJncX':_0xd4ebb6[_0x5cc6(0x43)],'tmikh':_0xd4ebb6[_0x5cc6(0x76)]};console['log'](_0x5cc6(0x77),_0x1a7de6,_0xd4ebb6[_0x5cc6(0x78)],_0x82b135,_0xd4ebb6[_0x5cc6(0x79)],_0x1ba2b4);try{if(!_0x1a7de6){const _0x4473bc=_0xd4ebb6[_0x5cc6(0x7a)](_0x4d984d,_0xd4ebb6[_0x5cc6(0x7b)]);console['error'](_0xd4ebb6[_0x5cc6(0x7c)]);_0x758e6b?_0xd4ebb6['pkRGH'](_0x758e6b,_0x4473bc):Alert['alert'](_0xd4ebb6[_0x5cc6(0x33)],_0x4473bc,[{'text':'OK'}]);return;}if(_0x4645cf){if(_0xd4ebb6[_0x5cc6(0x5a)](_0xd4ebb6[_0x5cc6(0x7d)],_0xd4ebb6[_0x5cc6(0x7d)])){enableLogging&&(_0x5cc6(0x7e)===_0xd4ebb6[_0x5cc6(0x7f)]?console[_0x5cc6(0x36)](_0x5cc6(0x80)):_0x4b5791[_0x5cc6(0x36)](_0x498f3c['ZERoj']));try{const _0x5516a2=await _0xd4ebb6[_0x5cc6(0x81)](_0x4645cf);if(!_0x5516a2){if(_0xd4ebb6[_0x5cc6(0x82)](_0xd4ebb6[_0x5cc6(0x83)],_0xd4ebb6['MHJvk'])){enableLogging&&console[_0x5cc6(0x36)](_0xd4ebb6['Xqiia']);return;}else _0x5882e7['log'](_0xd4ebb6[_0x5cc6(0x84)],_0x25d450),_0x970e51(![]),_0x31884d[_0x5cc6(0x36)](_0xd4ebb6['NaiAS']),_0xd4ebb6[_0x5cc6(0x85)](_0x3c59a5,_0x572a0a)&&_0xd4ebb6[_0x5cc6(0x86)](_0xd851c9,_0x597f4a[_0x5cc6(0x87)],_0x1a1999[_0x5cc6(0x88)],_0x58b6aa[_0x5cc6(0x89)]);}enableLogging&&console[_0x5cc6(0x36)](_0xd4ebb6['xjYxo']);}catch(_0x4b72fc){if(_0xd4ebb6[_0x5cc6(0x82)](_0xd4ebb6[_0x5cc6(0x8a)],_0xd4ebb6['MEbex']))_0xea72ee[_0x5cc6(0x36)](_0x498f3c[_0x5cc6(0x8b)]);else{console['error'](_0x5cc6(0x8c),_0x4b72fc);_0x758e6b&&_0xd4ebb6[_0x5cc6(0x3b)](_0x758e6b,_0x5cc6(0x8d)+_0x4b72fc[_0x5cc6(0x8e)]);return;}}}else _0x222c2f(!![]),_0x498f3c['jOgHc'](_0x5dd47c,null),_0x5a7a55&&(_0x4d7bb0[_0x5cc6(0x36)](_0x498f3c['RJncX']),_0x165d83[_0x5cc6(0x36)](_0x5cc6(0x44),{'environment':_0x2a3a31,'enableLogging':_0x579ff6,'timeout':_0x421fda,'retryAttempts':_0x585188,'apiKeyLength':_0x930597['length']}));}enableLogging&&(_0xd4ebb6[_0x5cc6(0x8f)](_0xd4ebb6[_0x5cc6(0x90)],_0xd4ebb6['vnMuq'])?console[_0x5cc6(0x36)](_0x5cc6(0x1a)):Alert['alert'](_0xd4ebb6[_0x5cc6(0x33)],_0x38275c,[{'text':'OK'}]));const _0x512201=await hasCredentials();if(_0x512201){if(_0xd4ebb6[_0x5cc6(0x91)]('OuQrp',_0xd4ebb6['ApgmY']))_0x20913a(_0x5cc6(0x8d)+_0x397f22[_0x5cc6(0x8e)]);else{enableLogging&&console[_0x5cc6(0x36)]('🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...');try{if(_0xd4ebb6[_0x5cc6(0x5e)](_0xd4ebb6[_0x5cc6(0x92)],_0x5cc6(0x22))){const _0x2a7ace=await _0xd4ebb6['jczaY'](getCredentials);if(_0xd4ebb6[_0x5cc6(0x93)](_0x2a7ace,_0x2f37ac)){const _0x1768df=API_CONFIG[_0x5cc6(0x94)]+'/user/data',_0xab1412=_0x5cc6(0x95);enableLogging&&console[_0x5cc6(0x36)](_0x5cc6(0x96));_0xd4ebb6['MQeol'](_0x2f37ac,_0x1768df,_0xab1412,_0x2a7ace);return;}}else _0x27a0aa[_0x5cc6(0x36)](_0x5cc6(0x80));}catch(_0x43668b){console[_0x5cc6(0x97)](_0x5cc6(0x98),_0x43668b);}}}enableLogging&&console[_0x5cc6(0x36)]('🎨\x20Opening\x20Onairos\x20overlay...'),_0xd4ebb6[_0x5cc6(0x51)](_0x50d103,!![]);}catch(_0x24a680){_0x5cc6(0x99)===_0x5cc6(0x9a)?(_0x16ca98[_0x5cc6(0x36)](_0x498f3c[_0x5cc6(0x9b)]),_0x58f938['log'](_0x498f3c[_0x5cc6(0x9c)],{'environment':_0x8056ba,'enableLogging':_0x867028,'timeout':_0x30760d,'retryAttempts':_0x4943d0,'apiKeyLength':_0x31d209[_0x5cc6(0x45)]})):(console['error'](_0xd4ebb6['vwAvh'],_0x24a680),_0x758e6b&&_0xd4ebb6[_0x5cc6(0x9d)](_0x758e6b,_0x5cc6(0x9e)+_0x24a680[_0x5cc6(0x8e)]));}},[_0x1a7de6,_0x4d984d,_0x4645cf,enableLogging,_0x758e6b,_0x2f37ac]),_0x1af6ee=useCallback(_0x9ef2e6=>{console['log'](_0xd4ebb6[_0x5cc6(0x84)],_0x9ef2e6),_0xd4ebb6['NvQbC'](_0x50d103,![]),console['log'](_0xd4ebb6['NaiAS']),_0xd4ebb6[_0x5cc6(0x93)](_0x9ef2e6,_0x2f37ac)&&_0xd4ebb6[_0x5cc6(0x86)](_0x2f37ac,_0x9ef2e6['apiUrl'],_0x9ef2e6['token'],_0x9ef2e6['userData']);},[enableLogging,_0x2f37ac]),_0xbda9bc=_0xd4ebb6[_0x5cc6(0x30)](useCallback,_0x511d12=>{const _0xe1b87c={'fqFtH':_0x5cc6(0x1e)};if(_0xd4ebb6[_0x5cc6(0x9f)](_0xd4ebb6[_0x5cc6(0xa0)],_0xd4ebb6['WWGBK'])){_0x2836d7&&_0x3da199[_0x5cc6(0x36)](_0xe1b87c[_0x5cc6(0xa1)]);return;}else enableLogging&&console[_0x5cc6(0x36)](_0xd4ebb6[_0x5cc6(0x32)],_0x511d12),_0xd4ebb6[_0x5cc6(0xa2)](_0x50d103,![]),_0x758e6b&&_0xd4ebb6[_0x5cc6(0xa3)](_0x758e6b,_0x511d12);},[enableLogging,_0x758e6b]);if(_0xd4ebb6['Ffcoe'](_0x4d984d,!_0x82b135))return React[_0x5cc6(0x47)](View,{'style':styles[_0x5cc6(0x6e)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x5cc6(0x6f)],{'backgroundColor':_0xd4ebb6[_0x5cc6(0xa4)]}],'onPress':()=>{Alert['alert'](_0xd4ebb6['NEwqy'],_0x5cc6(0x71)+_0x4d984d+_0x5cc6(0x72),[{'text':'OK'}]);}},React[_0x5cc6(0x47)](Text,{'style':styles['errorButtonText']},_0x5cc6(0xa5))));if(_0x82b135||!_0x1a7de6){if(_0xd4ebb6['QvjuG'](_0xd4ebb6[_0x5cc6(0xa6)],_0xd4ebb6[_0x5cc6(0xa6)]))_0x3398ad['log'](_0xd4ebb6['Xqiia']);else return React[_0x5cc6(0x47)](View,{'style':styles['loadingContainer']},React[_0x5cc6(0x47)](TouchableOpacity,{'style':[styles[_0x5cc6(0x48)],{'backgroundColor':_0xd4ebb6[_0x5cc6(0x38)]}],'disabled':!![]},React[_0x5cc6(0x47)](Text,{'style':styles['loadingButtonText']},_0x5cc6(0x1))));}const _0x151e11=()=>{const _0x107751={'yzPHF':function(_0x2e40bf){return _0xd4ebb6['fLTSM'](_0x2e40bf);}};if(_0xd4ebb6[_0x5cc6(0xa7)](_0x5cc6(0xa8),_0x5cc6(0xa8)))_0x107751[_0x5cc6(0xa9)](_0x94017e);else{const _0x5cba03={'width':buttonWidth,'height':buttonHeight,'backgroundColor':color,'borderRadius':_0xd4ebb6['fOgwW'](buttonType,_0xd4ebb6[_0x5cc6(0xaa)])?_0xd4ebb6[_0x5cc6(0x65)](buttonHeight,0x2):0x8,'alignItems':_0xd4ebb6[_0x5cc6(0x66)],'justifyContent':_0xd4ebb6[_0x5cc6(0x66)],'flexDirection':_0xd4ebb6['hHTFr'],'opacity':enabled?0x1:0.6};return hasStroke&&(_0x5cba03[_0x5cc6(0x67)]=0x2,_0x5cba03[_0x5cc6(0x68)]=darkMode?_0x5cc6(0x10):_0xd4ebb6[_0x5cc6(0xab)]),_0x5cba03;}},_0x390eab=()=>{if(_0xd4ebb6[_0x5cc6(0xac)]!=='uNOuX')_0x2d1c77[_0x5cc6(0x36)](_0xd4ebb6[_0x5cc6(0xad)]);else switch(buttonForm){case _0xd4ebb6[_0x5cc6(0xae)]:return _0x5cc6(0xaf);default:return _0xd4ebb6['vxVZD'];}};return React[_0x5cc6(0x47)](React[_0x5cc6(0xb0)],null,React[_0x5cc6(0x47)](TouchableOpacity,{'style':_0xd4ebb6[_0x5cc6(0xb1)](_0x151e11),'onPress':_0x34f868,'disabled':_0xd4ebb6['NyFCz'](!enabled,_0x82b135)||!_0x1a7de6,'activeOpacity':0.8},React['createElement'](Image,{'source':BRAND_IMAGES[_0x5cc6(0xb2)],'style':styles[_0x5cc6(0xb3)],'resizeMode':_0x5cc6(0xb4)}),React[_0x5cc6(0x47)](Text,{'style':[styles[_0x5cc6(0xb5)],{'color':darkMode?_0xd4ebb6[_0x5cc6(0xab)]:_0xd4ebb6[_0x5cc6(0x69)]}]},_0x390eab())),React[_0x5cc6(0x47)](UniversalOnboarding,{'visible':_0x1ba2b4,'onClose':_0x1af6ee,'AppName':_0x295e09,'requestData':_0xd4ebb6[_0x5cc6(0xb6)](_0x579000,{}),'returnLink':_0xfec376,'onComplete':_0x1af6ee,'embedd':![],'debug':debug,'testMode':testMode,'preferredPlatform':_0x10d8e1}));});const styles=StyleSheet[_0x5cc6(0xb7)]({'button':{'flexDirection':'row','alignItems':'center','justifyContent':'center','paddingVertical':0xc,'paddingHorizontal':0x10,'shadowColor':_0x5cc6(0x27),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'buttonContent':{'flexDirection':_0x5cc6(0x26),'alignItems':'center','justifyContent':_0x5cc6(0xb8)},'logo':{'width':0x18,'height':0x18,'marginRight':0x8},'buttonText':{'fontSize':0x10,'fontWeight':_0x5cc6(0xb9),'textAlign':_0x5cc6(0xb8)},'errorContainer':{'flex':0x1,'justifyContent':_0x5cc6(0xb8),'alignItems':'center'},'errorButton':{'padding':0x10,'borderRadius':0x8},'errorButtonText':{'fontSize':0x10,'fontWeight':'600','color':'#fff'},'loadingContainer':{'flex':0x1,'justifyContent':'center','alignItems':'center'},'loadingButton':{'padding':0x10,'borderRadius':0x8},'loadingButtonText':{'fontSize':0x10,'fontWeight':_0x5cc6(0xb9),'color':'#fff'}});
|
|
1
|
+
import React,{forwardRef,useImperativeHandle,useState,useCallback,useEffect}from'react';import{StyleSheet,View,TouchableOpacity,Text,Image,Alert}from'react-native';import{UniversalOnboarding}from'./UniversalOnboarding';import{COLORS}from'../constants';function _0x3cf8(){const _0x1edb8e=['✅\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20completed\x20successfully','🔧\x20API\x20Key\x20Troubleshooting\x20Guide','2.\x20Verify\x20you\x20have\x20the\x20right\x20permissions\x20for\x20your\x20use\x20case','5.\x20Visit\x20https://dashboard.onairos.uk\x20to\x20manage\x20your\x20API\x20keys','✅\x20Resolving\x20with\x20existing\x20credentials','#fff','🚀\x20Onairos\x20SDK:\x20Starting\x20API\x20key\x20initialization...','3.\x20Ensure\x20your\x20environment\x20setting\x20matches\x20your\x20API\x20key','DHWYm','GvtvW','BZkzV','aRMbD','✅\x20Onairos\x20component:\x20SDK\x20already\x20initialized,\x20syncing\x20state','🔽\x20showOverlay\x20set\x20to\x20false','🔘\x20Button\x20pressed!\x20isInitialized:','showOverlay:','SDK\x20not\x20initialized.\x20Please\x20check\x20your\x20API\x20key.','❌\x20Cannot\x20open\x20overlay:\x20SDK\x20not\x20initialized','SDK\x20Error','MgLpG','UXUmV','✅\x20Pre-check\x20passed','❌\x20Pre-check\x20error:','🔍\x20Checking\x20for\x20existing\x20credentials...','LDEqE','WOpHK','FgRtm','qLTqC','⚠️\x20Failed\x20to\x20retrieve\x20existing\x20credentials:','🎨\x20Opening\x20Onairos\x20overlay...','zlkDm','1.\x20Check\x20that\x20your\x20API\x20key\x20is\x20correct\x20and\x20not\x20expired','4.\x20Check\x20your\x20internet\x20connection','vgTcJ','uiZRA','❌\x20Overlay\x20rejected:','#000','Continue\x20with\x20Onairos','normal','default','production','#FF6B6B','bGqqk','🔄\x20Initializing...','contain','YEoPk','vDOJC','primary','Stndi','gGcbJ','UIuRU','cHoVj','ShMmu','❌\x20Onairos\x20SDK:\x20API\x20key\x20initialization\x20failed:','xqkHX','ocXgD','existing_user_token','xYtPs','JPmUM','WzfCL','bRwYu','TNekx','ssabc','IcQcv','iGCuC','IrAxf','gfxuY','yGIBj','XbBpK','iocXi','Reswt','UZtKc','SprVP','HppFl','QKCyE','YAiih','log','itcqb','MiOTJ','zqqvj','rxaoZ','KMHiS','length','YJBDU','CpwEI','zEPGW','RPMab','center','cnfNr','row','borderWidth','borderColor','bXcat','NZxDg','gFvlX','oOQzS','OzddZ','OLVII','qkMze','daDlP','6|4|5|0|2|1|3','split','DeyGs','evtzl','groupEnd','bInlM','group','fNidt','alert','Onairos\x20SDK\x20initialization\x20failed:\x0a\x0a','\x0a\x0aPlease\x20check\x20your\x20API\x20key\x20and\x20try\x20again.','OErVK','message','SDK\x20initialization\x20failed:\x20','/user/data','eUHQp','PGBJC','BOLqf','ogWKj','KaKhQ','apiKey','YpBee','pVHGm','lHrds','hUcqL','zIXRf','vCWWS','JpMgq','zVviW','rBJBD','UhRov','error','mEsdy','yDpKt','TABPA','HryOc','FDnxN','UqIKr','zMgcC','nEFsD','dMmEL','WvnJG','wEZKz','eDZVh','kmowC','lrpnk','tcbQf','beiQW','Pre-check\x20failed:\x20','HdPoP','HmOHY','fYVxD','Zgbhx','gXPoj','lQuPs','DauYJ','ScyKW','dvEbe','gyZtR','BASE_URL','DZGbm','SZzeq','aROxL','Failed\x20to\x20open\x20overlay:\x20','EnYHk','tcDan','FHCaa','xhjzZ','Azryr','rhYAg','RHLqi','JinFp','vioRl','apiUrl','userData','JcntV','NrITJ','5|0|1|6|4|2|3','NyZko','dXPbI','vgyhN','errorContainer','errorButton','EwaAH','API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','createElement','errorButtonText','CDiCH','loadingContainer','loadingButton','#999','loadingButtonText','zdQyw','nsiUU','gLhOZ','LfFEy','EVdhR','nfLuz','bPcGz','ZSlFU','Arvnh','ZnXtR','connect','kiTTz','LiNyZ','CjghA','Fragment','wVYlo','onairosLogoAlt','logo','tbNsB','buttonText','KoifN','600'];_0x3cf8=function(){return _0x1edb8e;};return _0x3cf8();}import{hasCredentials,getCredentials}from'../utils/secureStorage';function _0x1b4e(_0x3cf8b4,_0x1b4e82){_0x3cf8b4=_0x3cf8b4-0x0;const _0x252ff7=_0x3cf8();let _0x31cfef=_0x252ff7[_0x3cf8b4];return _0x31cfef;}import{initializeApiKey,isApiKeyInitialized,getApiConfig}from'../services/apiKeyService';import{API_CONFIG}from'../config/api';import{BRAND_IMAGES}from'../utils/assetRegistry';export const Onairos=forwardRef((_0x53f0b9,_0x17d1f7)=>{const _0x44b22f={'zIXRf':function(_0x207f97,_0x2ce140){return _0x207f97(_0x2ce140);},'zvywC':_0x1b4e(0x0),'ShMmu':'📊\x20Configuration:','Iaxcl':'Unknown\x20initialization\x20error','dXPbI':_0x1b4e(0x1),'xqkHX':_0x1b4e(0x2),'ocXgD':_0x1b4e(0x3),'xYtPs':_0x1b4e(0x4),'JPmUM':function(_0x1b756f,_0x232ee,_0x413bfb,_0x208001){return _0x1b756f(_0x232ee,_0x413bfb,_0x208001);},'WzfCL':'pill','bRwYu':function(_0x39208a,_0xa16d43){return _0x39208a/_0xa16d43;},'TNekx':'center','ssabc':_0x1b4e(0x5),'IcQcv':function(_0x3c3dec,_0xa26bd7){return _0x3c3dec!==_0xa26bd7;},'lOyeR':'GmQLK','jjcGc':function(_0x2afb99,_0x2b2e41){return _0x2afb99(_0x2b2e41);},'aYzvQ':_0x1b4e(0x6),'iGCuC':'HaJGK','IrAxf':function(_0x49bdaa,_0x1d015e){return _0x49bdaa(_0x1d015e);},'gfxuY':_0x1b4e(0x7),'yGIBj':_0x1b4e(0x8),'zBxpf':_0x1b4e(0x9),'LFElc':_0x1b4e(0xa),'ogWKj':function(_0x1501ec){return _0x1501ec();},'KaKhQ':function(_0x5e2ada,_0xb4e735){return _0x5e2ada===_0xb4e735;},'wIrVF':function(_0x322362){return _0x322362();},'jhWRa':function(_0xb8eea7){return _0xb8eea7();},'QavzB':function(_0x1d635c,_0x4d78b7){return _0x1d635c!==_0x4d78b7;},'YpBee':_0x1b4e(0xb),'pVHGm':_0x1b4e(0xc),'gGcbJ':function(_0x5e2bdd,_0x322a37){return _0x5e2bdd(_0x322a37);},'RHLqi':'🔽\x20Closing\x20Onairos\x20overlay,\x20result:','JinFp':function(_0x26d54e,_0x573d06){return _0x26d54e(_0x573d06);},'JcntV':_0x1b4e(0xd),'vioRl':function(_0x41c8dd,_0x56b5f6){return _0x41c8dd&&_0x56b5f6;},'hUcqL':function(_0x2e5488,_0x153e0f){return _0x2e5488(_0x153e0f);},'NMDOb':'🔑\x20Existing\x20credentials\x20found,\x20attempting\x20automatic\x20resolution...','vCWWS':_0x1b4e(0xe),'JpMgq':'isInitializing:','zVviW':_0x1b4e(0xf),'rBJBD':function(_0x3ab604,_0x28e18e){return _0x3ab604||_0x28e18e;},'UhRov':_0x1b4e(0x10),'mEsdy':_0x1b4e(0x11),'VDebD':_0x1b4e(0x12),'yDpKt':'🔍\x20Running\x20pre-check\x20validation...','TABPA':function(_0x2ced0c,_0x493084){return _0x2ced0c===_0x493084;},'HryOc':_0x1b4e(0x13),'nEFsD':function(_0x41f76a){return _0x41f76a();},'dMmEL':'oEqVk','WvnJG':'ZcjbH','wEZKz':function(_0x5796c8,_0x374977){return _0x5796c8===_0x374977;},'kmowC':_0x1b4e(0x14),'lrpnk':'⛔\x20Pre-check\x20failed,\x20aborting\x20overlay','tcbQf':_0x1b4e(0x15),'beiQW':_0x1b4e(0x16),'UIuRU':function(_0x43eac9,_0x3bd7ae){return _0x43eac9(_0x3bd7ae);},'HdPoP':function(_0x343a52,_0x1f9814){return _0x343a52!==_0x1f9814;},'HmOHY':'BxAgR','Zgbhx':_0x1b4e(0x17),'lQuPs':function(_0x4dfc68){return _0x4dfc68();},'DauYJ':_0x1b4e(0x18),'ScyKW':function(_0x50f921,_0x5c84fe){return _0x50f921&&_0x5c84fe;},'dvEbe':function(_0x3fa5fe,_0x853610){return _0x3fa5fe===_0x853610;},'gyZtR':_0x1b4e(0x19),'DZGbm':_0x1b4e(0x1a),'SZzeq':_0x1b4e(0x1b),'EnYHk':function(_0xf79b3f,_0x1478e0,_0x38b64d,_0xaf52){return _0xf79b3f(_0x1478e0,_0x38b64d,_0xaf52);},'FHCaa':_0x1b4e(0x1c),'xhjzZ':_0x1b4e(0x1d),'QPNKX':function(_0x496bbf,_0xf50953){return _0x496bbf(_0xf50953);},'Azryr':'❌\x20Error\x20opening\x20overlay:','rhYAg':function(_0x8a8332,_0x58d8ee){return _0x8a8332!==_0x58d8ee;},'dacru':_0x1b4e(0x1e),'MmqDu':_0x1b4e(0x1f),'NyZko':_0x1b4e(0x20),'wGdQI':_0x1b4e(0x21),'NrITJ':_0x1b4e(0x22),'ZSlFU':_0x1b4e(0x23),'vgyhN':function(_0x3861fc,_0x3f2875){return _0x3861fc(_0x3f2875);},'GOsMs':'UXTTF','HtEYy':function(_0x5f0b57,_0x1c8d0d){return _0x5f0b57===_0x1c8d0d;},'nsiUU':'row','EVdhR':_0x1b4e(0x24),'Arvnh':function(_0x5d47be,_0x1287b6){return _0x5d47be===_0x1287b6;},'ZnXtR':'mXLGz','kiTTz':'Connect\x20with\x20Onairos','LiNyZ':_0x1b4e(0x25),'YEoPk':_0x1b4e(0x26),'vDOJC':_0x1b4e(0x27),'Stndi':_0x1b4e(0x28),'cHoVj':function(_0x4a92b3,_0x4408d0,_0x1794cc){return _0x4a92b3(_0x4408d0,_0x1794cc);},'lHrds':function(_0x325854,_0x4eb0b3,_0x432335){return _0x325854(_0x4eb0b3,_0x432335);},'TCvKu':function(_0x330c96,_0x519d10,_0x3ed749){return _0x330c96(_0x519d10,_0x3ed749);},'iNCoo':function(_0x3d4f00,_0x4b795f,_0x457946){return _0x3d4f00(_0x4b795f,_0x457946);},'EwaAH':_0x1b4e(0x29),'ehXXF':'⚠️\x20SDK\x20Error','CDiCH':_0x1b4e(0x2a),'zdQyw':_0x1b4e(0x2b),'wVYlo':function(_0x37ba03,_0x47ba8a){return _0x37ba03||_0x47ba8a;},'tbNsB':_0x1b4e(0x2c),'KoifN':function(_0x1b15ca,_0x56f2ab){return _0x1b15ca||_0x56f2ab;}},{returnLink:_0x2d9905,prefillUrl:_0x4299c5,AppName:_0x2dbcca,buttonType:buttonType=_0x44b22f[_0x1b4e(0x2d)],requestData:_0x3503fd,buttonWidth:buttonWidth=0xc8,buttonHeight:buttonHeight=0x30,hasStroke:hasStroke=![],enabled:enabled=!![],buttonForm:buttonForm=_0x44b22f[_0x1b4e(0x2e)],onRejection:_0x510e67,onResolved:_0x14f44e,preCheck:_0x2cecf5,color:color=COLORS[_0x1b4e(0x2f)],debug:debug=![],darkMode:darkMode=![],preferredPlatform:_0x4df0c4,testMode:testMode=![],apiKey:_0x2dab5c,environment:environment=_0x44b22f[_0x1b4e(0x30)],enableLogging:enableLogging=!![],timeout:timeout=0x7530,retryAttempts:retryAttempts=0x3}=_0x53f0b9,[_0x300639,_0x3fdc70]=useState(![]),[_0x59610b,_0x2fb401]=_0x44b22f[_0x1b4e(0x31)](useState,![]),[_0x2ea443,_0x1e6efc]=useState(null),[_0x4215d0,_0x5928ba]=_0x44b22f[_0x1b4e(0x32)](useState,![]);_0x44b22f[_0x1b4e(0x33)](useEffect,()=>{const _0x213031={'UZtKc':function(_0x58fe5a,_0x5856cd){return _0x44b22f['zIXRf'](_0x58fe5a,_0x5856cd);},'rxaoZ':_0x44b22f['zvywC'],'KMHiS':_0x44b22f[_0x1b4e(0x34)],'IXKLH':function(_0x2c5adb,_0x471e86){return _0x2c5adb instanceof _0x471e86;},'NZxDg':_0x44b22f['Iaxcl'],'gFvlX':_0x1b4e(0x35),'fNidt':_0x44b22f['dXPbI'],'bInlM':_0x44b22f[_0x1b4e(0x36)],'evtzl':_0x44b22f[_0x1b4e(0x37)],'eUHQp':_0x1b4e(0x38),'PGBJC':_0x44b22f[_0x1b4e(0x39)],'BOLqf':function(_0x142a8b,_0x382cf3,_0x574994,_0xc47d22){return _0x44b22f[_0x1b4e(0x3a)](_0x142a8b,_0x382cf3,_0x574994,_0xc47d22);},'XbBpK':_0x44b22f[_0x1b4e(0x3b)],'LeUQF':function(_0x174b62,_0x30b37b){return _0x44b22f[_0x1b4e(0x3c)](_0x174b62,_0x30b37b);},'iocXi':_0x44b22f[_0x1b4e(0x3d)],'sFnxg':_0x44b22f[_0x1b4e(0x3e)],'Reswt':_0x1b4e(0x24),'SprVP':function(_0x51326e,_0x24c32c){return _0x44b22f[_0x1b4e(0x3f)](_0x51326e,_0x24c32c);},'HppFl':_0x44b22f['lOyeR'],'YAiih':function(_0x164270,_0x1625c7){return _0x44b22f['jjcGc'](_0x164270,_0x1625c7);},'itcqb':_0x44b22f['aYzvQ'],'MiOTJ':'API\x20key\x20is\x20required.\x20Please\x20provide\x20a\x20valid\x20API\x20key\x20from\x20your\x20Onairos\x20dashboard.','oOQzS':function(_0x17bb25,_0x43568f){return _0x17bb25===_0x43568f;},'OzddZ':_0x44b22f[_0x1b4e(0x40)],'OLVII':function(_0x6b0a8b,_0x686f31){return _0x44b22f[_0x1b4e(0x41)](_0x6b0a8b,_0x686f31);},'qkMze':function(_0x454262,_0x5c6b7f){return _0x454262(_0x5c6b7f);},'DeyGs':_0x44b22f[_0x1b4e(0x42)],'OErVK':_0x44b22f[_0x1b4e(0x43)]};if(_0x44b22f['zBxpf']!==_0x44b22f['LFElc']){var _0x2d8c12;let _0x1bd181=!![];const _0x38f47c=async()=>{const _0x263c86={'CpwEI':function(_0xb533dc,_0x19553d){return _0xb533dc===_0x19553d;},'zEPGW':_0x213031[_0x1b4e(0x44)],'RPMab':function(_0x27a02e,_0x8c781){return _0x213031['LeUQF'](_0x27a02e,_0x8c781);},'cnfNr':_0x213031[_0x1b4e(0x45)],'bXcat':_0x213031['sFnxg'],'fyQmV':_0x213031[_0x1b4e(0x46)],'VwcPh':function(_0x3c9eb4,_0x5f01ba){return _0x213031[_0x1b4e(0x47)](_0x3c9eb4,_0x5f01ba);}};if(_0x213031[_0x1b4e(0x48)](_0x213031[_0x1b4e(0x49)],_0x1b4e(0x4a))){if(_0x4215d0)return;_0x5928ba(!![]),_0x213031[_0x1b4e(0x4b)](_0x1e6efc,null);try{console[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x4d)]);if(!_0x2dab5c)throw new Error(_0x213031[_0x1b4e(0x4e)]);const _0x44c192={'apiKey':_0x2dab5c,'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts};await _0x213031[_0x1b4e(0x47)](initializeApiKey,_0x44c192),_0x1bd181&&(_0x1b4e(0x4f)!=='SvWMR'?(_0x213031[_0x1b4e(0x47)](_0x2fb401,!![]),_0x213031[_0x1b4e(0x47)](_0x1e6efc,null),enableLogging&&(console['log'](_0x213031[_0x1b4e(0x50)]),console[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x51)],{'environment':environment,'enableLogging':enableLogging,'timeout':timeout,'retryAttempts':retryAttempts,'apiKeyLength':_0x2dab5c[_0x1b4e(0x52)]}))):(_0x213031[_0x1b4e(0x47)](_0x906020,!![]),_0x3bf918(null),_0x43dfbb&&(_0x3b0e0c[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x50)]),_0x2ecfb1[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x51)],{'environment':_0x22d6f9,'enableLogging':_0x3b7dab,'timeout':_0xa2d19e,'retryAttempts':_0x49452c,'apiKeyLength':_0x2dcd2b['length']}))));}catch(_0xccfccf){if(_0x213031['SprVP'](_0x1b4e(0x53),_0x1b4e(0x53))){const _0x42bde2={'width':_0xae1c5,'height':_0x19691a,'backgroundColor':_0x58cf93,'borderRadius':_0x263c86[_0x1b4e(0x54)](_0x380f67,_0x263c86[_0x1b4e(0x55)])?_0x263c86[_0x1b4e(0x56)](_0x580130,0x2):0x8,'alignItems':_0x1b4e(0x57),'justifyContent':_0x263c86[_0x1b4e(0x58)],'flexDirection':_0x1b4e(0x59),'opacity':_0x4a6bd9?0x1:0.6};return _0x36af2f&&(_0x42bde2[_0x1b4e(0x5a)]=0x2,_0x42bde2[_0x1b4e(0x5b)]=_0x3e1077?_0x263c86[_0x1b4e(0x5c)]:_0x263c86['fyQmV']),_0x42bde2;}else{const _0x58349c=_0xccfccf instanceof Error?_0xccfccf['message']:_0x213031[_0x1b4e(0x5d)];console['error'](_0x213031[_0x1b4e(0x5e)],_0x58349c);if(_0x1bd181){if(_0x213031[_0x1b4e(0x5f)](_0x213031[_0x1b4e(0x60)],_0x213031['OzddZ'])){_0x213031[_0x1b4e(0x61)](_0x2fb401,![]),_0x213031[_0x1b4e(0x62)](_0x1e6efc,_0x58349c);if(enableLogging){if(_0x1b4e(0x63)!=='MboyP'){const _0x5bd389=_0x1b4e(0x64)[_0x1b4e(0x65)]('|');let _0x1bdeba=0x0;while(!![]){switch(_0x5bd389[_0x1bdeba++]){case'0':console[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x66)]);continue;case'1':console[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x67)]);continue;case'2':console[_0x1b4e(0x4c)](_0x1b4e(0x20));continue;case'3':console[_0x1b4e(0x68)]();continue;case'4':console['log'](_0x1b4e(0x1f));continue;case'5':console[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x69)]);continue;case'6':console[_0x1b4e(0x6a)](_0x213031[_0x1b4e(0x6b)]);continue;}break;}}else Alert[_0x1b4e(0x6c)]('SDK\x20Error',_0x1b4e(0x6d)+_0x5e6ebb+_0x1b4e(0x6e),[{'text':'OK'}]);}if(_0x510e67){if(_0x213031[_0x1b4e(0x6f)]===_0x213031[_0x1b4e(0x6f)])_0x510e67('SDK\x20initialization\x20failed:\x20'+_0x58349c);else{const _0x2b21d9=_0x213031['IXKLH'](_0x4c09ae,_0xd6a373)?_0x2c8257[_0x1b4e(0x70)]:_0x213031[_0x1b4e(0x5d)];_0x329cd9['error'](_0x213031[_0x1b4e(0x5e)],_0x2b21d9),_0x193424&&(_0x213031[_0x1b4e(0x47)](_0x2b606b,![]),_0x213031[_0x1b4e(0x47)](_0x7acadb,_0x2b21d9),_0xc7bafd&&(_0x98e7d9[_0x1b4e(0x6a)](_0x213031['fNidt']),_0x5517d6[_0x1b4e(0x4c)](_0x1b4e(0x1f)),_0xdb2535[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x69)]),_0xe3e457[_0x1b4e(0x4c)](_0x1b4e(0x7)),_0x44b777[_0x1b4e(0x4c)]('4.\x20Check\x20your\x20internet\x20connection'),_0x11c7a6[_0x1b4e(0x4c)](_0x213031[_0x1b4e(0x67)]),_0x5d975d['groupEnd']()),_0x2c5582&&_0x12bcc3(_0x1b4e(0x71)+_0x2b21d9));}}}else _0x263c86['VwcPh'](_0x817dc2,'SDK\x20initialization\x20failed:\x20'+_0x8140ca);}}}finally{_0x1bd181&&_0x5928ba(![]);}}else{const _0x33c6c3=_0x4edb17['BASE_URL']+_0x1b4e(0x72),_0x230744=_0x213031[_0x1b4e(0x73)];_0x26d979&&_0x1c497c['log'](_0x213031[_0x1b4e(0x74)]);_0x213031[_0x1b4e(0x75)](_0x184944,_0x33c6c3,_0x230744,_0x20d823);return;}};if(_0x2dab5c&&(!_0x44b22f[_0x1b4e(0x76)](isApiKeyInitialized)||(_0x44b22f['KaKhQ'](_0x2d8c12=_0x44b22f['wIrVF'](getApiConfig),null)||_0x44b22f[_0x1b4e(0x77)](_0x2d8c12,void 0x0)?void 0x0:_0x2d8c12[_0x1b4e(0x78)])!==_0x2dab5c))_0x44b22f['jhWRa'](_0x38f47c);else isApiKeyInitialized()&&(_0x2fb401(!![]),_0x5928ba(![]),enableLogging&&(_0x44b22f['QavzB'](_0x1b4e(0xb),_0x44b22f[_0x1b4e(0x79)])?_0x213031[_0x1b4e(0x61)](_0x2fd82e,_0x6d50ab):console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x7a)])));return()=>{_0x1bd181=![];};}else _0x3f2827[_0x1b4e(0x4c)]('⛔\x20Pre-check\x20failed,\x20aborting\x20overlay');},[_0x2dab5c,environment,enableLogging,timeout,retryAttempts,_0x510e67]),_0x44b22f[_0x1b4e(0x7b)](useImperativeHandle,_0x17d1f7,()=>({'openOverlay':_0x2d8c7c,'closeOverlay':_0x5cb33e,'isInitialized':()=>_0x59610b,'getApiConfig':()=>getApiConfig()}));const _0x2d8c7c=_0x44b22f['TCvKu'](useCallback,async()=>{const _0x24a934={'UqIKr':_0x1b4e(0x5),'zMgcC':_0x1b4e(0x24),'gXPoj':_0x1b4e(0xc),'IEoWV':function(_0x232436,_0xd0c57){return _0x44b22f[_0x1b4e(0x7c)](_0x232436,_0xd0c57);},'aROxL':function(_0xaca892,_0x11f63a){return _0x44b22f[_0x1b4e(0x7d)](_0xaca892,_0x11f63a);},'tcDan':_0x44b22f['NMDOb']};console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x7e)],_0x59610b,_0x44b22f[_0x1b4e(0x7f)],_0x4215d0,_0x44b22f[_0x1b4e(0x80)],_0x300639);try{if(!_0x59610b){const _0x4bfc49=_0x44b22f[_0x1b4e(0x81)](_0x2ea443,_0x44b22f[_0x1b4e(0x82)]);console[_0x1b4e(0x83)](_0x44b22f[_0x1b4e(0x84)]);_0x510e67?_0x44b22f[_0x1b4e(0x7c)](_0x510e67,_0x4bfc49):Alert['alert'](_0x44b22f['VDebD'],_0x4bfc49,[{'text':'OK'}]);return;}if(_0x2cecf5){enableLogging&&console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x85)]);try{if(_0x44b22f[_0x1b4e(0x86)](_0x44b22f[_0x1b4e(0x87)],_0x1b4e(0x88)))_0x210340[_0x1b4e(0x5a)]=0x2,_0x107505[_0x1b4e(0x5b)]=_0x5a19bc?_0x24a934[_0x1b4e(0x89)]:_0x24a934[_0x1b4e(0x8a)];else{const _0x402d27=await _0x44b22f[_0x1b4e(0x8b)](_0x2cecf5);if(!_0x402d27){if(_0x44b22f[_0x1b4e(0x3f)](_0x44b22f[_0x1b4e(0x8c)],_0x44b22f[_0x1b4e(0x8d)])){enableLogging&&(_0x44b22f[_0x1b4e(0x8e)](_0x1b4e(0x8f),_0x44b22f[_0x1b4e(0x90)])?_0x39b98d&&_0x44b22f[_0x1b4e(0x31)](_0x3e3c45,![]):console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x91)]));return;}else _0x44b22f['gGcbJ'](_0x2d0e69,'Pre-check\x20failed:\x20'+_0x109b17[_0x1b4e(0x70)]);}enableLogging&&console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x92)]);}}catch(_0xf5849a){console['error'](_0x44b22f[_0x1b4e(0x93)],_0xf5849a);_0x510e67&&_0x44b22f[_0x1b4e(0x32)](_0x510e67,_0x1b4e(0x94)+_0xf5849a['message']);return;}}enableLogging&&(_0x44b22f[_0x1b4e(0x95)](_0x44b22f[_0x1b4e(0x96)],_0x1b4e(0x97))?console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x98)]):_0x72d55e[_0x1b4e(0x4c)](_0x24a934[_0x1b4e(0x99)]));const _0x239873=await _0x44b22f[_0x1b4e(0x9a)](hasCredentials);if(_0x239873){if(_0x44b22f['DauYJ']!==_0x44b22f[_0x1b4e(0x9b)])_0x24a934['IEoWV'](_0x1c5b7d,_0x6e310c);else{enableLogging&&console[_0x1b4e(0x4c)](_0x44b22f['NMDOb']);try{const _0x34baea=await _0x44b22f[_0x1b4e(0x8b)](getCredentials);if(_0x44b22f[_0x1b4e(0x9c)](_0x34baea,_0x14f44e)){if(_0x44b22f[_0x1b4e(0x9d)](_0x44b22f['gyZtR'],_0x44b22f[_0x1b4e(0x9e)])){const _0x4abb16=API_CONFIG[_0x1b4e(0x9f)]+'/user/data',_0x3ec8ac=_0x1b4e(0x38);enableLogging&&(_0x44b22f['QavzB'](_0x44b22f[_0x1b4e(0xa0)],_0x44b22f[_0x1b4e(0xa1)])?console[_0x1b4e(0x4c)](_0x1b4e(0x4)):_0x24a934[_0x1b4e(0xa2)](_0x4ca714,_0x1b4e(0xa3)+_0x402a93[_0x1b4e(0x70)]));_0x44b22f[_0x1b4e(0xa4)](_0x14f44e,_0x4abb16,_0x3ec8ac,_0x34baea);return;}else _0x48d318[_0x1b4e(0x4c)](_0x24a934[_0x1b4e(0xa5)]);}}catch(_0x20e589){console['warn'](_0x44b22f[_0x1b4e(0xa6)],_0x20e589);}}}enableLogging&&console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0xa7)]),_0x44b22f['QPNKX'](_0x3fdc70,!![]);}catch(_0x2c83da){console[_0x1b4e(0x83)](_0x44b22f[_0x1b4e(0xa8)],_0x2c83da),_0x510e67&&(_0x44b22f[_0x1b4e(0xa9)]('sandz',_0x44b22f['dacru'])?_0x44b22f[_0x1b4e(0x7c)](_0x510e67,'Failed\x20to\x20open\x20overlay:\x20'+_0x2c83da[_0x1b4e(0x70)]):(_0x40f786[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0xaa)],_0xe8bfef),_0x44b22f[_0x1b4e(0xab)](_0x4289a0,![]),_0x163ae5[_0x1b4e(0x4c)](_0x44b22f['JcntV']),_0x44b22f[_0x1b4e(0xac)](_0x51ff97,_0x281341)&&_0x44b22f[_0x1b4e(0x3a)](_0x5f4df6,_0x15eb22[_0x1b4e(0xad)],_0x50b52c['token'],_0x362406[_0x1b4e(0xae)])));}},[_0x59610b,_0x2ea443,_0x2cecf5,enableLogging,_0x510e67,_0x14f44e]),_0x5cb33e=_0x44b22f['iNCoo'](useCallback,_0x3d24fc=>{console['log'](_0x44b22f['RHLqi'],_0x3d24fc),_0x3fdc70(![]),console[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0xaf)]);if(_0x44b22f[_0x1b4e(0xac)](_0x3d24fc,_0x14f44e)){if(_0x44b22f[_0x1b4e(0x86)](_0x44b22f['wGdQI'],_0x44b22f[_0x1b4e(0xb0)])){const _0x1d4651=_0x1b4e(0xb1)[_0x1b4e(0x65)]('|');let _0x57ecf9=0x0;while(!![]){switch(_0x1d4651[_0x57ecf9++]){case'0':_0x29fe70[_0x1b4e(0x4c)](_0x44b22f['MmqDu']);continue;case'1':_0x3aef01['log'](_0x44b22f[_0x1b4e(0x36)]);continue;case'2':_0x345c74[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x37)]);continue;case'3':_0x594c8d['groupEnd']();continue;case'4':_0x15d10a[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0xb2)]);continue;case'5':_0x52d3d2[_0x1b4e(0x6a)](_0x44b22f[_0x1b4e(0xb3)]);continue;case'6':_0x5e3e31[_0x1b4e(0x4c)](_0x44b22f[_0x1b4e(0x42)]);continue;}break;}}else _0x14f44e(_0x3d24fc['apiUrl'],_0x3d24fc['token'],_0x3d24fc['userData']);}},[enableLogging,_0x14f44e]),_0x15d960=useCallback(_0x2cb360=>{enableLogging&&console['log'](_0x44b22f['ZSlFU'],_0x2cb360),_0x44b22f[_0x1b4e(0xb4)](_0x3fdc70,![]),_0x510e67&&_0x510e67(_0x2cb360);},[enableLogging,_0x510e67]);if(_0x2ea443&&!_0x4215d0)return React['createElement'](View,{'style':styles[_0x1b4e(0xb5)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x1b4e(0xb6)],{'backgroundColor':_0x44b22f[_0x1b4e(0xb7)]}],'onPress':()=>{if(_0x44b22f[_0x1b4e(0x3f)](_0x44b22f['GOsMs'],'CcOzM'))Alert[_0x1b4e(0x6c)](_0x44b22f['VDebD'],_0x1b4e(0x6d)+_0x2ea443+_0x1b4e(0x6e),[{'text':'OK'}]);else throw new _0x7ed4d(_0x1b4e(0xb8));}},React[_0x1b4e(0xb9)](Text,{'style':styles[_0x1b4e(0xba)]},_0x44b22f['ehXXF'])));if(_0x44b22f[_0x1b4e(0x81)](_0x4215d0,!_0x59610b)){if(_0x44b22f[_0x1b4e(0xbb)]!==_0x44b22f[_0x1b4e(0xbb)])_0x435f94['log'](_0x44b22f[_0x1b4e(0x98)]);else return React[_0x1b4e(0xb9)](View,{'style':styles[_0x1b4e(0xbc)]},React[_0x1b4e(0xb9)](TouchableOpacity,{'style':[styles[_0x1b4e(0xbd)],{'backgroundColor':_0x1b4e(0xbe)}],'disabled':!![]},React[_0x1b4e(0xb9)](Text,{'style':styles[_0x1b4e(0xbf)]},_0x44b22f[_0x1b4e(0xc0)])));}const _0x1ba65e=()=>{const _0x297725={'nfLuz':function(_0x22ef18,_0x2f7fb6){return _0x44b22f[_0x1b4e(0x7d)](_0x22ef18,_0x2f7fb6);},'bPcGz':function(_0x3fa02b,_0x14ebf9){return _0x44b22f[_0x1b4e(0xb4)](_0x3fa02b,_0x14ebf9);},'kpDBJ':_0x44b22f[_0x1b4e(0x7a)]},_0x5b7735={'width':buttonWidth,'height':buttonHeight,'backgroundColor':color,'borderRadius':_0x44b22f['HtEYy'](buttonType,_0x44b22f[_0x1b4e(0x3b)])?_0x44b22f[_0x1b4e(0x3c)](buttonHeight,0x2):0x8,'alignItems':_0x44b22f[_0x1b4e(0x3d)],'justifyContent':_0x44b22f[_0x1b4e(0x3d)],'flexDirection':_0x44b22f[_0x1b4e(0xc1)],'opacity':enabled?0x1:0.6};return hasStroke&&(_0x44b22f[_0x1b4e(0x95)](_0x1b4e(0xc2),_0x1b4e(0xc3))?(_0x5b7735['borderWidth']=0x2,_0x5b7735['borderColor']=darkMode?_0x44b22f[_0x1b4e(0x3e)]:_0x44b22f[_0x1b4e(0xc4)]):(_0x297725[_0x1b4e(0xc5)](_0x3c5ce8,!![]),_0x297725[_0x1b4e(0xc6)](_0x32cfe3,![]),_0x1b4809&&_0x41753a[_0x1b4e(0x4c)](_0x297725['kpDBJ']))),_0x5b7735;},_0x3e3759=()=>{const _0x46b52e={'CjghA':_0x44b22f[_0x1b4e(0xc7)]};if(_0x44b22f[_0x1b4e(0xc8)](_0x44b22f[_0x1b4e(0xc9)],_0x44b22f[_0x1b4e(0xc9)]))switch(buttonForm){case _0x1b4e(0xca):return _0x44b22f[_0x1b4e(0xcb)];default:return _0x44b22f[_0x1b4e(0xcc)];}else _0x3ccd19[_0x1b4e(0x4c)](_0x46b52e[_0x1b4e(0xcd)],_0x44f7d6);};return React['createElement'](React[_0x1b4e(0xce)],null,React[_0x1b4e(0xb9)](TouchableOpacity,{'style':_0x44b22f[_0x1b4e(0x9a)](_0x1ba65e),'onPress':_0x2d8c7c,'disabled':_0x44b22f[_0x1b4e(0xcf)](!enabled,_0x4215d0)||!_0x59610b,'activeOpacity':0.8},React['createElement'](Image,{'source':BRAND_IMAGES[_0x1b4e(0xd0)],'style':styles[_0x1b4e(0xd1)],'resizeMode':_0x44b22f[_0x1b4e(0xd2)]}),React['createElement'](Text,{'style':[styles[_0x1b4e(0xd3)],{'color':darkMode?_0x44b22f[_0x1b4e(0xc4)]:_0x44b22f[_0x1b4e(0x3e)]}]},_0x3e3759())),React['createElement'](UniversalOnboarding,{'visible':_0x300639,'onClose':_0x5cb33e,'AppName':_0x2dbcca,'requestData':_0x44b22f[_0x1b4e(0xd4)](_0x3503fd,{}),'returnLink':_0x2d9905,'onComplete':_0x5cb33e,'embedd':![],'debug':debug,'testMode':testMode,'preferredPlatform':_0x4df0c4}));});const styles=StyleSheet['create']({'button':{'flexDirection':_0x1b4e(0x59),'alignItems':_0x1b4e(0x57),'justifyContent':_0x1b4e(0x57),'paddingVertical':0xc,'paddingHorizontal':0x10,'shadowColor':_0x1b4e(0x24),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'buttonContent':{'flexDirection':_0x1b4e(0x59),'alignItems':'center','justifyContent':_0x1b4e(0x57)},'logo':{'width':0x18,'height':0x18,'marginRight':0x8},'buttonText':{'fontSize':0x10,'fontWeight':_0x1b4e(0xd5),'textAlign':'center'},'errorContainer':{'flex':0x1,'justifyContent':_0x1b4e(0x57),'alignItems':'center'},'errorButton':{'padding':0x10,'borderRadius':0x8},'errorButtonText':{'fontSize':0x10,'fontWeight':_0x1b4e(0xd5),'color':_0x1b4e(0x5)},'loadingContainer':{'flex':0x1,'justifyContent':_0x1b4e(0x57),'alignItems':_0x1b4e(0x57)},'loadingButton':{'padding':0x10,'borderRadius':0x8},'loadingButtonText':{'fontSize':0x10,'fontWeight':_0x1b4e(0xd5),'color':_0x1b4e(0x5)}});
|