@onairos/react-native 3.6.4 → 3.6.6
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/lib/commonjs/api/index.js +1 -1
- 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/api.js +1 -1
- 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/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +924 -9
- package/lib/commonjs/services/authService.js +627 -10
- 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 +391 -11
- 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/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/api.js +1 -1
- 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/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +898 -1
- package/lib/module/services/authService.js +602 -1
- 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 +381 -1
- 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 +1 -1
package/lib/module/api/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import{Platform}from'react-native';import{API_ENDPOINTS}from'../constants';function _0x5af4(){const _0x5455c2=['VEbNj','NODE_ENV','DRYMu','resolve','create','base','interceptors','response','use','mvyjq','warn','API\x20error\x20in\x20development\x20mode,\x20using\x20fallback:','dfXfj','reject','web','QdcIG','feFJJ','eMATz','yblZK','get','error','\x20error:','TQFtd','instagram','youtube','Error\x20validating\x20credentials:','nlFoO','GQKxp','epFqJ','Error\x20fetching\x20user\x20profile:','wznlG','demo_user','VSmDI','now','VsAsK','ooXgS','pFbCA','QEqLS','oilnV','post','POST\x20','GRTze','ZIdsk','LKcbp','validate','log','Using\x20mock\x20validation\x20for:','ozXdZ','data','nJdNG','SldhW','user/profile','gLrqK','tHwBI','dlWUx','eSecN','UHWZO','YsFXx','defaults','headers','common','Bearer\x20','GLfrQ','eJaiU','zogaz','qxVpv','Verification\x20code\x20sent\x20successfully','auth/send-verification','Mock\x20verification\x20code\x20sent','nndwV','ixagW','oefxK','xZOdF','SpQPr','MJHFq','cjtwA','GqEXV','qeNDu','ORLkH','Mock:\x20Verifying\x20code\x20for:','code:','RNHgo','Email\x20verified\x20successfully','Invalid\x20verification\x20code','Email\x20verified','UjlUR','RXUUd','Verification\x20failed','iPcHL','WohFT','reviewer','SxgsJ','gogas','FDAIb','auth/verify-email','cBIpT','message','TnCju','GqNGb','GET\x20','jOFyU','yWJwP'];_0x5af4=function(){return _0x5455c2;};return _0x5af4();}const isDevelopmentMode=()=>{const _0x4d2857={'VEbNj':function(_0x2c3117,_0x5a5991){return _0x2c3117===_0x5a5991;},'DRYMu':'development'};return __DEV__||_0x4d2857[_0x42f0(0x0)](process['env'][_0x42f0(0x1)],_0x4d2857[_0x42f0(0x2)]);},createMockResponse=_0x36992a=>{return Promise[_0x42f0(0x3)]({'data':_0x36992a,'status':0xc8,'statusText':'OK','headers':{},'config':{}});},apiInstance=axios[_0x42f0(0x4)]({'baseURL':API_ENDPOINTS[_0x42f0(0x5)],'timeout':0x2710,'headers':{'Content-Type':'application/json','Accept':'application/json'}});apiInstance[_0x42f0(0x6)][_0x42f0(0x7)][_0x42f0(0x8)](_0x15d17d=>_0x15d17d,_0x20bb04=>{const _0x4f1a6b={'mvyjq':function(_0x542d82){return _0x542d82();},'dfXfj':function(_0x286b14,_0x3aaf9e){return _0x286b14(_0x3aaf9e);}};if(_0x4f1a6b[_0x42f0(0x9)](isDevelopmentMode))return console[_0x42f0(0xa)](_0x42f0(0xb),_0x20bb04),_0x4f1a6b[_0x42f0(0xc)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});return Promise[_0x42f0(0xd)](_0x20bb04);});function _0x42f0(_0x5af42f,_0x42f07f){_0x5af42f=_0x5af42f-0x0;const _0x212a7c=_0x5af4();let _0x174f41=_0x212a7c[_0x5af42f];return _0x174f41;}export const onairosApi={async 'get'(_0x3c77f4){const _0x36e0f0={'QdcIG':function(_0xc2b47b,_0x5e5b17){return _0xc2b47b===_0x5e5b17;},'feFJJ':_0x42f0(0xe),'eMATz':function(_0x52b333){return _0x52b333();},'yblZK':function(_0xf2db47,_0x105bf9){return _0xf2db47(_0x105bf9);},'TQFtd':function(_0xc65f17,_0x37191f){return _0xc65f17(_0x37191f);}};try{if(_0x36e0f0[_0x42f0(0xf)](Platform['OS'],_0x36e0f0[_0x42f0(0x10)])&&_0x36e0f0[_0x42f0(0x11)](isDevelopmentMode))return _0x36e0f0[_0x42f0(0x12)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});return await apiInstance[_0x42f0(0x13)](_0x3c77f4);}catch(_0x1f11f3){console[_0x42f0(0x14)]('GET\x20'+_0x3c77f4+_0x42f0(0x15),_0x1f11f3);if(isDevelopmentMode())return _0x36e0f0[_0x42f0(0x16)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});throw _0x1f11f3;}},async 'post'(_0x13c78f,_0x33ff86){const _0x1f810c={'wznlG':function(_0x4c68df){return _0x4c68df();},'VSmDI':_0x42f0(0x17),'iJpZO':_0x42f0(0x18),'oilnV':_0x42f0(0x19),'Goquz':_0x42f0(0xb),'LKcbp':function(_0x28b3c6,_0x10e12b){return _0x28b3c6(_0x10e12b);},'epFqJ':_0x42f0(0x1a),'VsAsK':function(_0x1e9c01,_0x18eb15){return _0x1e9c01===_0x18eb15;},'ooXgS':_0x42f0(0xe),'pFbCA':function(_0x2cff31,_0x1a8e90){return _0x2cff31!==_0x1a8e90;},'ZIdsk':function(_0x2d9bc9,_0x472701){return _0x2d9bc9(_0x472701);},'GRTze':_0x42f0(0x1b)};try{if(_0x1f810c[_0x42f0(0x1c)]!==_0x1f810c[_0x42f0(0x1c)]){_0x2e0945[_0x42f0(0x14)](_0x42f0(0x1d),_0x1809be);if(_0x1f810c[_0x42f0(0x1e)](_0x58f13e))return{'username':_0x42f0(0x1f),'platforms':[_0x1f810c[_0x42f0(0x20)],_0x1f810c['iJpZO']],'createdAt':_0x523bc4[_0x42f0(0x21)]()};throw _0x4aeb8d;}else{if(_0x1f810c[_0x42f0(0x22)](Platform['OS'],_0x1f810c[_0x42f0(0x23)])&&isDevelopmentMode())return _0x1f810c[_0x42f0(0x24)]('ferad',_0x42f0(0x25))?_0x1f810c['ZIdsk'](createMockResponse,{'success':!![],'data':{'mockData':!![]}}):(_0x5b7356['error'](_0x1f810c[_0x42f0(0x26)],_0x540ae1),_0x1f810c[_0x42f0(0x1e)](_0x2ee4a5));return await apiInstance[_0x42f0(0x27)](_0x13c78f,_0x33ff86);}}catch(_0x8c5d7f){console['error'](_0x42f0(0x28)+_0x13c78f+'\x20error:',_0x8c5d7f);if(_0x1f810c[_0x42f0(0x1e)](isDevelopmentMode))return _0x1f810c[_0x42f0(0x29)]===_0x1f810c['GRTze']?_0x1f810c[_0x42f0(0x2a)](createMockResponse,{'success':!![],'data':{'mockData':!![]}}):(_0x2114d0[_0x42f0(0xa)](_0x1f810c['Goquz'],_0x549b87),_0x1f810c[_0x42f0(0x2b)](_0x50e1ae,{'success':!![],'data':{'mockData':!![]}}));throw _0x8c5d7f;}},async 'validateCredentials'(_0x195ac){const _0x4c3618={'ozXdZ':_0x42f0(0x2c),'OVHrw':function(_0x56a064,_0x20709d){return _0x56a064===_0x20709d;},'nJdNG':function(_0x5a25b6,_0x5ef989){return _0x5a25b6===_0x5ef989;},'SldhW':'Error\x20validating\x20credentials:'};try{var _0x3f8e5e;if(isDevelopmentMode())return console[_0x42f0(0x2d)](_0x42f0(0x2e),_0x195ac),!![];const _0xc29dd1=await this[_0x42f0(0x27)](_0x4c3618[_0x42f0(0x2f)],{'username':_0x195ac});return(_0x4c3618['OVHrw'](_0x3f8e5e=_0xc29dd1[_0x42f0(0x30)],null)||_0x4c3618[_0x42f0(0x31)](_0x3f8e5e,void 0x0)?void 0x0:_0x3f8e5e['success'])||![];}catch(_0x2ecf94){return console[_0x42f0(0x14)](_0x4c3618[_0x42f0(0x32)],_0x2ecf94),isDevelopmentMode();}},async 'getUserProfile'(_0x4baafe){const _0x204a3e={'eSecN':'demo_user','UHWZO':'instagram','YsFXx':_0x42f0(0x18),'qxVpv':function(_0x5d475c,_0x7d92ac){return _0x5d475c(_0x7d92ac);},'gLrqK':function(_0x2b0e64,_0x5b0eef){return _0x2b0e64===_0x5b0eef;},'tHwBI':'EyUqs','cAUTn':_0x42f0(0x33),'GLfrQ':_0x42f0(0x1d),'eJaiU':'zMUNB','zogaz':'efXQf'};try{if(_0x204a3e[_0x42f0(0x34)](_0x204a3e[_0x42f0(0x35)],_0x42f0(0x36)))return{'username':_0x204a3e[_0x42f0(0x37)],'platforms':[_0x204a3e[_0x42f0(0x38)],_0x204a3e['YsFXx']],'createdAt':_0x108024[_0x42f0(0x21)]()};else{var _0x2bd372;if(isDevelopmentMode())return{'username':_0x204a3e['eSecN'],'platforms':[_0x204a3e[_0x42f0(0x38)],_0x204a3e[_0x42f0(0x39)]],'createdAt':Date[_0x42f0(0x21)]()};apiInstance[_0x42f0(0x3a)][_0x42f0(0x3b)][_0x42f0(0x3c)]['Authorization']=_0x42f0(0x3d)+_0x4baafe;const _0x2e8ed6=await this[_0x42f0(0x13)](_0x204a3e['cAUTn']);return _0x204a3e[_0x42f0(0x34)](_0x2bd372=_0x2e8ed6[_0x42f0(0x30)],null)||_0x2bd372===void 0x0?void 0x0:_0x2bd372[_0x42f0(0x30)];}}catch(_0x5599dd){console[_0x42f0(0x14)](_0x204a3e[_0x42f0(0x3e)],_0x5599dd);if(isDevelopmentMode())return _0x204a3e['gLrqK'](_0x204a3e[_0x42f0(0x3f)],_0x204a3e[_0x42f0(0x40)])?_0x204a3e[_0x42f0(0x41)](_0x559d41,{'success':!![],'data':{'mockData':!![]}}):{'username':'demo_user','platforms':[_0x204a3e[_0x42f0(0x38)],_0x204a3e[_0x42f0(0x39)]],'createdAt':Date[_0x42f0(0x21)]()};throw _0x5599dd;}}};export const sendEmailVerificationCode=async _0x2dd84e=>{const _0x551ec3={'QnmgQ':_0x42f0(0x1f),'MJHFq':_0x42f0(0x17),'cjtwA':_0x42f0(0x18),'yFApq':function(_0x56f33b,_0x212c0c){return _0x56f33b!==_0x212c0c;},'ixagW':function(_0x4a2c0b){return _0x4a2c0b();},'oefxK':'Mock:\x20Sending\x20verification\x20code\x20to:','DBGbf':_0x42f0(0x42),'FikfA':_0x42f0(0x43),'xZOdF':function(_0xdf9b7c,_0x1c4000){return _0xdf9b7c===_0x1c4000;},'SpQPr':'Verification\x20code\x20sent','GqEXV':'Error\x20sending\x20verification\x20code:','qeNDu':_0x42f0(0x44),'ORLkH':'Failed\x20to\x20send\x20verification\x20code'};try{if(_0x551ec3['yFApq'](_0x42f0(0x45),'WHGMY')){var _0x3c2fb1;if(_0x551ec3[_0x42f0(0x46)](isDevelopmentMode))return console[_0x42f0(0x2d)](_0x551ec3[_0x42f0(0x47)],_0x2dd84e),{'success':!![],'message':_0x551ec3['DBGbf']};const _0x276343=await onairosApi[_0x42f0(0x27)](_0x551ec3['FikfA'],{'email':_0x2dd84e});return{'success':!![],'message':(_0x551ec3[_0x42f0(0x48)](_0x3c2fb1=_0x276343[_0x42f0(0x30)],null)||_0x551ec3[_0x42f0(0x48)](_0x3c2fb1,void 0x0)?void 0x0:_0x3c2fb1['message'])||_0x551ec3[_0x42f0(0x49)]};}else return{'username':_0x551ec3['QnmgQ'],'platforms':[_0x551ec3[_0x42f0(0x4a)],_0x551ec3[_0x42f0(0x4b)]],'createdAt':_0x598407['now']()};}catch(_0x35e014){console[_0x42f0(0x14)](_0x551ec3[_0x42f0(0x4c)],_0x35e014);if(isDevelopmentMode())return{'success':!![],'message':_0x551ec3[_0x42f0(0x4d)]};return{'success':![],'message':_0x551ec3[_0x42f0(0x4e)]};}};export const confirmEmailVerificationCode=async(_0xab6933,_0x471580)=>{const _0x577a9d={'gogas':function(_0x58f92f){return _0x58f92f();},'ytvbB':function(_0x36499f,_0x42aeb4){return _0x36499f(_0x42aeb4);},'iPcHL':function(_0x2345a1){return _0x2345a1();},'jOFyU':function(_0x1dd0fe,_0xcd1b73){return _0x1dd0fe(_0xcd1b73);},'uQgHN':_0x42f0(0x4f),'ajhop':_0x42f0(0x50),'WohFT':function(_0x15d9bd,_0x53265b){return _0x15d9bd===_0x53265b;},'SxgsJ':_0x42f0(0x51),'FDAIb':_0x42f0(0x52),'hVRpy':_0x42f0(0x53),'cBIpT':function(_0x3a49c2,_0x2a1f67){return _0x3a49c2===_0x2a1f67;},'TnCju':_0x42f0(0x54),'GqNGb':_0x42f0(0x55),'yrfgX':_0x42f0(0x56),'yWJwP':_0x42f0(0x57)};try{var _0x4621f8;if(_0x577a9d[_0x42f0(0x58)](isDevelopmentMode)){console[_0x42f0(0x2d)](_0x577a9d['uQgHN'],_0xab6933,_0x577a9d['ajhop'],_0x471580);if(_0x471580['length']===0x6||_0x577a9d[_0x42f0(0x59)](_0x471580,_0x42f0(0x5a))){if(_0x577a9d[_0x42f0(0x59)](_0x577a9d[_0x42f0(0x5b)],'IGplH')){_0x39bbbd['error'](_0x42f0(0x28)+_0x33f377+_0x42f0(0x15),_0x1c3c23);if(_0x577a9d[_0x42f0(0x5c)](_0x51d564))return _0x577a9d['ytvbB'](_0x5085c7,{'success':!![],'data':{'mockData':!![]}});throw _0x8f7eb4;}else return{'success':!![],'message':_0x577a9d[_0x42f0(0x5d)]};}return{'success':![],'message':_0x577a9d['hVRpy']};}const _0x533f6a=await onairosApi[_0x42f0(0x27)](_0x42f0(0x5e),{'email':_0xab6933,'code':_0x471580});return{'success':!![],'message':(_0x577a9d[_0x42f0(0x5f)](_0x4621f8=_0x533f6a[_0x42f0(0x30)],null)||_0x4621f8===void 0x0?void 0x0:_0x4621f8[_0x42f0(0x60)])||_0x577a9d[_0x42f0(0x61)]};}catch(_0x2ddcac){if(_0x577a9d[_0x42f0(0x62)]===_0x577a9d['yrfgX']){_0x3c8535[_0x42f0(0x14)](_0x42f0(0x63)+_0x5ecc87+_0x42f0(0x15),_0x41a879);if(_0x577a9d[_0x42f0(0x58)](_0x910374))return _0x577a9d[_0x42f0(0x64)](_0xb87370,{'success':!![],'data':{'mockData':!![]}});throw _0x5616dc;}else{console[_0x42f0(0x14)]('Error\x20verifying\x20email\x20code:',_0x2ddcac);if(_0x577a9d[_0x42f0(0x5c)](isDevelopmentMode))return{'success':![],'message':_0x42f0(0x53)};return{'success':![],'message':_0x577a9d[_0x42f0(0x65)]};}}};
|
|
1
|
+
function _0x43d5(_0x43d53e,_0x51dbb4){_0x43d53e=_0x43d53e-0x0;const _0x4be181=_0x3604();let _0x460970=_0x4be181[_0x43d53e];return _0x460970;}import axios from'axios';import{Platform}from'react-native';import{API_ENDPOINTS}from'../constants';const isDevelopmentMode=()=>{const _0x2442ce={'mPVvQ':function(_0x7c6d20,_0x3119ad){return _0x7c6d20===_0x3119ad;},'QQFFP':_0x43d5(0x0)};return __DEV__||_0x2442ce[_0x43d5(0x1)](process[_0x43d5(0x2)][_0x43d5(0x3)],_0x2442ce[_0x43d5(0x4)]);},createMockResponse=_0xa60b0b=>{return Promise['resolve']({'data':_0xa60b0b,'status':0xc8,'statusText':'OK','headers':{},'config':{}});},apiInstance=axios['create']({'baseURL':API_ENDPOINTS[_0x43d5(0x5)],'timeout':0x2710,'headers':{'Content-Type':'application/json','Accept':'application/json'}});apiInstance[_0x43d5(0x6)][_0x43d5(0x7)][_0x43d5(0x8)](_0x26ec66=>_0x26ec66,_0xc30df8=>{const _0xbd2622={'KPPrN':function(_0x2e320a,_0x44143d){return _0x2e320a(_0x44143d);},'JGEEt':'GWxLr','uuJDA':'ohJTk'};if(isDevelopmentMode())return _0xbd2622[_0x43d5(0x9)]!==_0xbd2622['uuJDA']?(console[_0x43d5(0xa)]('API\x20error\x20in\x20development\x20mode,\x20using\x20fallback:',_0xc30df8),_0xbd2622[_0x43d5(0xb)](createMockResponse,{'success':!![],'data':{'mockData':!![]}})):_0xbd2622[_0x43d5(0xb)](_0x22958d,{'success':!![],'data':{'mockData':!![]}});return Promise[_0x43d5(0xc)](_0xc30df8);});export const onairosApi={async 'get'(_0x46723f){const _0x46e014={'mAsKw':function(_0x2d60e0){return _0x2d60e0();},'eJUoY':_0x43d5(0xd),'JZvMI':'demo_user','ywHRe':_0x43d5(0xe),'eMNMg':_0x43d5(0xf),'rfDSQ':function(_0x5d875c,_0x4217d2){return _0x5d875c===_0x4217d2;},'Uckdb':'web','AnZcH':function(_0x4ed6ed){return _0x4ed6ed();},'YBkYH':function(_0x49a9a7,_0x59d869){return _0x49a9a7===_0x59d869;},'htNvu':_0x43d5(0x10),'Airjg':function(_0x4ae8bd,_0x1843df){return _0x4ae8bd(_0x1843df);},'EERYz':function(_0x409db9){return _0x409db9();},'vGLVk':function(_0x25ab99,_0x502ace){return _0x25ab99(_0x502ace);}};try{if(_0x46e014[_0x43d5(0x11)](Platform['OS'],_0x46e014[_0x43d5(0x12)])&&_0x46e014[_0x43d5(0x13)](isDevelopmentMode))return _0x46e014[_0x43d5(0x14)](_0x46e014[_0x43d5(0x15)],_0x43d5(0x16))?(_0x11ba1f[_0x43d5(0x17)](_0x43d5(0x18),_0x4bd886),_0x46e014[_0x43d5(0x19)](_0x520bc0)):_0x46e014[_0x43d5(0x1a)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});return await apiInstance[_0x43d5(0x1b)](_0x46723f);}catch(_0x5eb561){console[_0x43d5(0x17)](_0x43d5(0x1c)+_0x46723f+_0x43d5(0x1d),_0x5eb561);if(_0x46e014[_0x43d5(0x1e)](isDevelopmentMode)){if(_0x43d5(0x1f)===_0x43d5(0x1f))return _0x46e014[_0x43d5(0x20)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});else{_0x3e6a41[_0x43d5(0x17)](_0x46e014['eJUoY'],_0x459182);if(_0x2f7bfa())return{'username':_0x46e014['JZvMI'],'platforms':[_0x46e014[_0x43d5(0x21)],_0x46e014[_0x43d5(0x22)]],'createdAt':_0x8dd73d['now']()};throw _0x22c0ac;}}throw _0x5eb561;}},async 'post'(_0x15b5ec,_0x5976a9){const _0x538828={'jIVBQ':function(_0x2db0d7,_0x338ac8){return _0x2db0d7===_0x338ac8;},'mNSJG':_0x43d5(0x23),'FOnXJ':function(_0x481d5f,_0x342932){return _0x481d5f(_0x342932);},'JCQuk':function(_0x580987){return _0x580987();},'wNpAN':_0x43d5(0x24)};try{if(_0x538828[_0x43d5(0x25)](Platform['OS'],_0x538828[_0x43d5(0x26)])&&isDevelopmentMode())return _0x538828[_0x43d5(0x27)](createMockResponse,{'success':!![],'data':{'mockData':!![]}});return await apiInstance[_0x43d5(0x28)](_0x15b5ec,_0x5976a9);}catch(_0x3fe9f){console[_0x43d5(0x17)](_0x43d5(0x29)+_0x15b5ec+_0x43d5(0x1d),_0x3fe9f);if(_0x538828['JCQuk'](isDevelopmentMode))return'ChuSU'===_0x538828['wNpAN']?_0x538828['FOnXJ'](createMockResponse,{'success':!![],'data':{'mockData':!![]}}):_0x5a5bee({'success':!![],'data':{'mockData':!![]}});throw _0x3fe9f;}},async 'validateCredentials'(_0x3aec1e){const _0x5ef674={'Sglft':function(_0x6c9182){return _0x6c9182();},'IvJyj':_0x43d5(0x2a),'LikIO':_0x43d5(0x2b),'AyZQT':function(_0x422484,_0x38a967){return _0x422484===_0x38a967;}};try{var _0x185a30;if(_0x5ef674[_0x43d5(0x2c)](isDevelopmentMode))return console[_0x43d5(0x2d)](_0x5ef674[_0x43d5(0x2e)],_0x3aec1e),!![];const _0xfad831=await this[_0x43d5(0x28)](_0x5ef674[_0x43d5(0x2f)],{'username':_0x3aec1e});return(_0x5ef674['AyZQT'](_0x185a30=_0xfad831[_0x43d5(0x30)],null)||_0x5ef674[_0x43d5(0x31)](_0x185a30,void 0x0)?void 0x0:_0x185a30[_0x43d5(0x32)])||![];}catch(_0x2d2790){return console[_0x43d5(0x17)](_0x43d5(0x18),_0x2d2790),isDevelopmentMode();}},async 'getUserProfile'(_0xec86ea){const _0x24b5b2={'EAQsw':_0x43d5(0x33),'dlPEd':'reviewer','Eegab':_0x43d5(0x34),'KBHyW':_0x43d5(0x35),'qIfzO':function(_0x10725d){return _0x10725d();},'SYrwo':_0x43d5(0x36),'FtIxT':function(_0x5d61fe,_0x4a9129){return _0x5d61fe(_0x4a9129);},'RFllI':_0x43d5(0x37),'ZzOkN':_0x43d5(0x38),'Tzyia':'demo_user','bJGaL':_0x43d5(0xe),'PSnID':_0x43d5(0xf),'bcUgQ':_0x43d5(0xd),'bWQwf':function(_0x31d37a,_0x51c0d1){return _0x31d37a!==_0x51c0d1;},'DWUfQ':'saEcW','whZQg':_0x43d5(0x39)};try{if(_0x24b5b2[_0x43d5(0x3a)]!==_0x24b5b2[_0x43d5(0x3b)]){var _0x7e61a1;if(isDevelopmentMode())return{'username':_0x24b5b2[_0x43d5(0x3c)],'platforms':[_0x24b5b2[_0x43d5(0x3d)],_0x24b5b2[_0x43d5(0x3e)]],'createdAt':Date[_0x43d5(0x3f)]()};apiInstance[_0x43d5(0x40)][_0x43d5(0x41)][_0x43d5(0x42)]['Authorization']=_0x43d5(0x43)+_0xec86ea;const _0x380062=await this[_0x43d5(0x1b)](_0x43d5(0x44));return(_0x7e61a1=_0x380062['data'])===null||_0x7e61a1===void 0x0?void 0x0:_0x7e61a1[_0x43d5(0x30)];}else{_0x52a46a[_0x43d5(0x2d)](_0x43d5(0x45),_0x2936ba,_0x24b5b2[_0x43d5(0x46)],_0x1ac647);if(_0xf119c2['length']===0x6||_0x175051===_0x24b5b2['dlPEd'])return{'success':!![],'message':_0x24b5b2['Eegab']};return{'success':![],'message':_0x24b5b2[_0x43d5(0x47)]};}}catch(_0x45e6be){console[_0x43d5(0x17)](_0x24b5b2['bcUgQ'],_0x45e6be);if(_0x24b5b2[_0x43d5(0x48)](isDevelopmentMode)){if(_0x24b5b2['bWQwf'](_0x24b5b2[_0x43d5(0x49)],_0x24b5b2[_0x43d5(0x4a)]))return{'username':_0x24b5b2[_0x43d5(0x3c)],'platforms':[_0x24b5b2[_0x43d5(0x3d)],_0x24b5b2[_0x43d5(0x3e)]],'createdAt':Date[_0x43d5(0x3f)]()};else{if(_0x24b5b2[_0x43d5(0x48)](_0x54b477))return _0x2427be[_0x43d5(0xa)](_0x24b5b2[_0x43d5(0x4b)],_0xb34fe7),_0x24b5b2['FtIxT'](_0xa7eef,{'success':!![],'data':{'mockData':!![]}});return _0x58d11a[_0x43d5(0xc)](_0x34a60c);}}throw _0x45e6be;}}};export const sendEmailVerificationCode=async _0x2d727a=>{const _0x4c5532={'rYtFa':function(_0x59888e){return _0x59888e();},'coPGR':function(_0x3a9e72){return _0x3a9e72();},'Mqyci':function(_0x4d9820,_0x3132d2){return _0x4d9820===_0x3132d2;},'JCEun':_0x43d5(0x4c),'PAlwq':_0x43d5(0x4d),'dMqYc':'Mock:\x20Sending\x20verification\x20code\x20to:','HFCrH':_0x43d5(0x4e),'tBHhf':_0x43d5(0x4f),'WCydZ':_0x43d5(0x50),'MGdFk':_0x43d5(0x51),'azpRk':_0x43d5(0x52),'LyiHN':_0x43d5(0x53)};try{var _0x45a026;if(_0x4c5532[_0x43d5(0x54)](isDevelopmentMode)){if(_0x4c5532[_0x43d5(0x55)](_0x4c5532['JCEun'],_0x4c5532[_0x43d5(0x56)])){_0x2be897[_0x43d5(0x17)](_0x43d5(0x1c)+_0x247c2e+_0x43d5(0x1d),_0x20a383);if(_0x4c5532[_0x43d5(0x57)](_0x380e93))return _0x23a096({'success':!![],'data':{'mockData':!![]}});throw _0x3efc39;}else return console[_0x43d5(0x2d)](_0x4c5532['dMqYc'],_0x2d727a),{'success':!![],'message':_0x4c5532[_0x43d5(0x58)]};}const _0x2f190e=await onairosApi[_0x43d5(0x28)](_0x4c5532[_0x43d5(0x59)],{'email':_0x2d727a});return{'success':!![],'message':((_0x45a026=_0x2f190e['data'])===null||_0x4c5532[_0x43d5(0x55)](_0x45a026,void 0x0)?void 0x0:_0x45a026[_0x43d5(0x5a)])||_0x4c5532[_0x43d5(0x5b)]};}catch(_0x3d5d22){console[_0x43d5(0x17)](_0x4c5532[_0x43d5(0x5c)],_0x3d5d22);if(_0x4c5532[_0x43d5(0x54)](isDevelopmentMode))return{'success':!![],'message':_0x4c5532[_0x43d5(0x5d)]};return{'success':![],'message':_0x4c5532['LyiHN']};}};function _0x3604(){const _0x19b95e=['development','mPVvQ','env','NODE_ENV','QQFFP','base','interceptors','response','use','JGEEt','warn','KPPrN','reject','Error\x20fetching\x20user\x20profile:','instagram','youtube','aztTt','rfDSQ','Uckdb','AnZcH','YBkYH','htNvu','WIqrw','error','Error\x20validating\x20credentials:','mAsKw','Airjg','get','GET\x20','\x20error:','EERYz','oQQtw','vGLVk','ywHRe','eMNMg','web','ChuSU','jIVBQ','mNSJG','FOnXJ','post','POST\x20','Using\x20mock\x20validation\x20for:','validate','Sglft','log','IvJyj','LikIO','data','AyZQT','success','code:','Email\x20verified\x20successfully','Invalid\x20verification\x20code','API\x20error\x20in\x20development\x20mode,\x20using\x20fallback:','OBCKQ','RcuZk','JSrbY','RFllI','ZzOkN','Tzyia','bJGaL','PSnID','now','defaults','headers','common','Bearer\x20','user/profile','Mock:\x20Verifying\x20code\x20for:','EAQsw','KBHyW','qIfzO','DWUfQ','whZQg','SYrwo','pMFdE','vnkuM','Verification\x20code\x20sent\x20successfully','auth/send-verification','Verification\x20code\x20sent','Error\x20sending\x20verification\x20code:','Mock\x20verification\x20code\x20sent','Failed\x20to\x20send\x20verification\x20code','coPGR','Mqyci','PAlwq','rYtFa','HFCrH','tBHhf','message','WCydZ','MGdFk','azpRk','reviewer','Email\x20verified','YsKYD','Error\x20verifying\x20email\x20code:','Verification\x20failed','jWMXN','sIFfO','iZbwV','length','KJhOU','TgeTS','AHFyO','auth/verify-email','AtvOA','qgyxz','ynozW','YSdbB','pHVmD','gxvzP'];_0x3604=function(){return _0x19b95e;};return _0x3604();}export const confirmEmailVerificationCode=async(_0x286b8a,_0x36fe0e)=>{const _0x484783={'YSdbB':function(_0x4f66bc,_0x42a373){return _0x4f66bc===_0x42a373;},'pHVmD':'development','jWMXN':function(_0x8d8c48){return _0x8d8c48();},'sIFfO':_0x43d5(0x33),'iZbwV':function(_0x45bc22,_0x242e6e){return _0x45bc22===_0x242e6e;},'KJhOU':_0x43d5(0x5e),'TgeTS':'Email\x20verified\x20successfully','AHFyO':_0x43d5(0x35),'AtvOA':function(_0x483312,_0xfdcc0e){return _0x483312===_0xfdcc0e;},'gGawa':_0x43d5(0x5f),'qgyxz':function(_0x419ea7,_0xff60de){return _0x419ea7!==_0xff60de;},'ynozW':_0x43d5(0x60),'gxvzP':_0x43d5(0x61),'ktUxK':_0x43d5(0x62)};try{var _0x5ca453;if(_0x484783[_0x43d5(0x63)](isDevelopmentMode)){console[_0x43d5(0x2d)](_0x43d5(0x45),_0x286b8a,_0x484783[_0x43d5(0x64)],_0x36fe0e);if(_0x484783[_0x43d5(0x65)](_0x36fe0e[_0x43d5(0x66)],0x6)||_0x36fe0e===_0x484783[_0x43d5(0x67)])return{'success':!![],'message':_0x484783[_0x43d5(0x68)]};return{'success':![],'message':_0x484783[_0x43d5(0x69)]};}const _0x6c5054=await onairosApi[_0x43d5(0x28)](_0x43d5(0x6a),{'email':_0x286b8a,'code':_0x36fe0e});return{'success':!![],'message':(_0x484783[_0x43d5(0x65)](_0x5ca453=_0x6c5054[_0x43d5(0x30)],null)||_0x484783[_0x43d5(0x6b)](_0x5ca453,void 0x0)?void 0x0:_0x5ca453[_0x43d5(0x5a)])||_0x484783['gGawa']};}catch(_0xa97f40){if(_0x484783[_0x43d5(0x6c)](_0x484783[_0x43d5(0x6d)],_0x484783[_0x43d5(0x6d)]))return _0x382ece||_0x484783[_0x43d5(0x6e)](_0x4ee219[_0x43d5(0x2)][_0x43d5(0x3)],_0x484783[_0x43d5(0x6f)]);else{console[_0x43d5(0x17)](_0x484783[_0x43d5(0x70)],_0xa97f40);if(_0x484783[_0x43d5(0x63)](isDevelopmentMode))return{'success':![],'message':_0x484783[_0x43d5(0x69)]};return{'success':![],'message':_0x484783['ktUxK']};}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from'react';import{Text,StyleSheet}from'react-native';import{TEXT_STYLES}from'../theme';const BodyText=({children:children=
|
|
1
|
+
import React from'react';import{Text,StyleSheet}from'react-native';function _0x5461(_0x3aa4f0,_0x5461f5){_0x3aa4f0=_0x3aa4f0-0x0;const _0x49cd85=_0x3aa4();let _0x170eb5=_0x49cd85[_0x3aa4f0];return _0x170eb5;}import{TEXT_STYLES}from'../theme';function _0x3aa4(){const _0x3b3649=['The\x20secure,\x20portable\x20persona\x20built\x20from\x20your\x20data.\x20Every\x20app\x20personalized\x20while\x20your\x20data\x20stays\x20yours.','body'];_0x3aa4=function(){return _0x3b3649;};return _0x3aa4();}const BodyText=({children:children=_0x5461(0x0),style:_0x5a3cc5})=>{return React['createElement'](Text,{'style':[styles['text'],_0x5a3cc5]},children);},styles=StyleSheet['create']({'text':{...TEXT_STYLES[_0x5461(0x1)],'paddingHorizontal':0x14}});export{BodyText};export default BodyText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x283d(){const _0x358e7b=['createElement','glowWrapper','glowLayer','redGlow','blueGlow','container','onairosLogo','logo','contain','create','relative','transparent','select','rgba(255,\x2077,\x20106,\x200.15)','#4D79FF','rgba(77,\x20121,\x20255,\x200.15)','#FFFFFF','center','hidden'];_0x283d=function(){return _0x358e7b;};return _0x283d();}function _0x5d06(_0x283d24,_0x5d063b){_0x283d24=_0x283d24-0x0;const _0x46fdab=_0x283d();let _0x3efd00=_0x46fdab[_0x283d24];return _0x3efd00;}import React from'react';import{View,StyleSheet,Image,Platform}from'react-native';import{SHADOWS}from'../theme';import{BRAND_IMAGES}from'../utils/assetRegistry';const BrandMark=({containerSize:containerSize=0x6e,imageSize:imageSize=0x6e,style:_0xcc3cb2,showGlow:showGlow=!![]})=>{const _0x54bd68={'tTkEB':function(_0x3b9356,_0x39b55c){return _0x3b9356*_0x39b55c;}},_0x53eedf=_0x54bd68['tTkEB'](containerSize,0.2);return React[_0x5d06(0x0)](View,{'style':[styles[_0x5d06(0x1)],_0xcc3cb2]},showGlow&&React['createElement'](View,{'style':[styles[_0x5d06(0x2)],styles[_0x5d06(0x3)],{'width':containerSize,'height':containerSize,'borderRadius':_0x53eedf}]}),showGlow&&React[_0x5d06(0x0)](View,{'style':[styles[_0x5d06(0x2)],styles[_0x5d06(0x4)],{'width':containerSize,'height':containerSize,'borderRadius':_0x53eedf}]}),React[_0x5d06(0x0)](View,{'style':[styles[_0x5d06(0x5)],{'width':containerSize,'height':containerSize,'borderRadius':_0x53eedf}]},React['createElement'](Image,{'source':BRAND_IMAGES[_0x5d06(0x6)],'style':[styles[_0x5d06(0x7)],{'width':imageSize,'height':imageSize,'transform':[{'translateY':-0x1},{'translateX':-0x4}]}],'resizeMode':_0x5d06(0x8)})));},styles=StyleSheet[_0x5d06(0x9)]({'glowWrapper':{'position':_0x5d06(0xa),'alignItems':'center','justifyContent':'center'},'glowLayer':{'position':'absolute','backgroundColor':_0x5d06(0xb)},'redGlow':{'shadowColor':'#FF4D6A','shadowOffset':{'width':0x8,'height':0x8},'shadowOpacity':0.5,'shadowRadius':0x14,'elevation':0x8,...Platform[_0x5d06(0xc)]({'android':{'backgroundColor':_0x5d06(0xd)}})},'blueGlow':{'shadowColor':_0x5d06(0xe),'shadowOffset':{'width':-0x8,'height':-0x8},'shadowOpacity':0.5,'shadowRadius':0x14,'elevation':0x8,...Platform['select']({'android':{'backgroundColor':_0x5d06(0xf)}})},'container':{'backgroundColor':_0x5d06(0x10),'justifyContent':_0x5d06(0x11),'alignItems':_0x5d06(0x11),'overflow':_0x5d06(0x12),...SHADOWS['brandMark']},'logo':{}});export{BrandMark};export default BrandMark;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useRef,useState,useEffect}from'react';import{View,TextInput,StyleSheet,Pressable,Keyboard}from'react-native';function
|
|
1
|
+
function _0x54b9(_0x139f28,_0x54b98c){_0x139f28=_0x139f28-0x0;const _0x5716ac=_0x139f();let _0x587726=_0x5716ac[_0x139f28];return _0x587726;}import React,{useRef,useState,useEffect}from'react';import{View,TextInput,StyleSheet,Pressable,Keyboard}from'react-native';function _0x139f(){const _0x4a1d93=['HsmjY','xpSQt','CZvQJ','bPudY','wtqyB','sms-otp','oneTimeCode','GTZIF','fill','nbxiF','Qnzio','qzdKd','aAJeP','TTlja','MMVuP','dismiss','current','focus','WAMQq','XgqIr','DbllK','mCsAe','jKsWL','replace','split','wazEb','length','byvGz','ZshzF','OJhkF','krhKH','min','YwFKV','join','lDFSF','vynaG','xaIhl','slice','rYpNw','push','Qrvph','ELJXf','JGTiJ','OwvWo','ANktZ','PERFF','createElement','hiddenInput','number-pad','sdDOG','cZzNF','map','box','boxFilled','boxFocused','boxText','none','create','100%','absolute','row','space-between','#E0E0E0','center','#FAFAFA','grey600','#FFFFFF','#D4A536','600','grey800'];_0x139f=function(){return _0x4a1d93;};return _0x139f();}import{COLORS}from'../theme';const CodeInput=({length:length=0x6,onCodeChange:_0x42abba,onCodeComplete:_0x2fa95c})=>{const _0x23650a={'XrHIt':function(_0x17ebba,_0x2e428f){return _0x17ebba===_0x2e428f;},'Qnzio':function(_0x521605,_0x10cc79){return _0x521605===_0x10cc79;},'qzdKd':function(_0x2a6681,_0x18a8af){return _0x2a6681===_0x18a8af;},'TTlja':_0x54b9(0x0),'WAMQq':function(_0x630183,_0x19d11f){return _0x630183===_0x19d11f;},'HgACg':function(_0x25ba60,_0x21332f){return _0x25ba60-_0x21332f;},'XgqIr':function(_0x85ba95,_0x40059c){return _0x85ba95===_0x40059c;},'GTZIF':function(_0x726f0c,_0x1be459){return _0x726f0c(_0x1be459);},'DbllK':function(_0x2fc6cd,_0x5b2ef0){return _0x2fc6cd===_0x5b2ef0;},'mCsAe':function(_0x56012e,_0x1bad1b){return _0x56012e!==_0x1bad1b;},'YRiQM':_0x54b9(0x1),'jKsWL':_0x54b9(0x2),'wazEb':function(_0x2ec233,_0x5a2150){return _0x2ec233<_0x5a2150;},'byvGz':function(_0x112c60,_0x47678a){return _0x112c60!==_0x47678a;},'ZshzF':_0x54b9(0x3),'krhKH':function(_0x2a05e7,_0x5530a8){return _0x2a05e7(_0x5530a8);},'YwFKV':function(_0x6d5c05,_0x2edbee){return _0x6d5c05-_0x2edbee;},'lDFSF':function(_0x989e38,_0x55d843){return _0x989e38===_0x55d843;},'vynaG':function(_0x42f4b4,_0x1c38f0){return _0x42f4b4===_0x1c38f0;},'xaIhl':_0x54b9(0x4),'JaAnJ':function(_0x10f4ec,_0x7318d1){return _0x10f4ec(_0x7318d1);},'nbxiF':function(_0x1f0e01,_0x1522a2,_0x22da47){return _0x1f0e01(_0x1522a2,_0x22da47);},'eBGut':_0x54b9(0x5),'sdDOG':_0x54b9(0x6),'cZzNF':function(_0x19acbf,_0x237fcc){return _0x19acbf(_0x237fcc);}},[_0x398620,_0x1ffbba]=useState(_0x23650a[_0x54b9(0x7)](Array,length)[_0x54b9(0x8)]('')),[_0x1de0b5,_0xa1e919]=useState(0x0),_0x4a0623=useRef([]),_0x3f599d=_0x23650a['JaAnJ'](useRef,null);_0x23650a[_0x54b9(0x9)](useEffect,()=>{setTimeout(()=>{const _0x73bde1={'MMVuP':function(_0x3db6cf,_0x4a307a){return _0x23650a['XrHIt'](_0x3db6cf,_0x4a307a);},'dBwud':function(_0x283959,_0x315eca){return _0x23650a[_0x54b9(0xa)](_0x283959,_0x315eca);}};if(_0x23650a[_0x54b9(0xb)](_0x54b9(0xc),_0x23650a[_0x54b9(0xd)]))_0x73bde1[_0x54b9(0xe)](_0x4e3671,null)||_0x73bde1['dBwud'](_0x4a27f1,void 0x0)||_0x267837(_0x38e203),_0x385471[_0x54b9(0xf)]();else{var _0x189539;_0x23650a['XrHIt'](_0x189539=_0x3f599d[_0x54b9(0x10)],null)||_0x189539===void 0x0||_0x189539[_0x54b9(0x11)]();}},0x64);},[]);const _0x29566d=_0x5caed6=>{const _0x53fd43={'OJhkF':function(_0x1cd2ea,_0x35e3e3){return _0x23650a[_0x54b9(0x12)](_0x1cd2ea,_0x35e3e3);},'hCipr':function(_0x256b4f,_0x5d1497){return _0x23650a[_0x54b9(0xb)](_0x256b4f,_0x5d1497);},'rYpNw':function(_0xac6cc8,_0x20c835){return _0xac6cc8<_0x20c835;},'Qrvph':function(_0x84ad9,_0x1c0d62){return _0x84ad9(_0x1c0d62);},'ELJXf':function(_0x310425,_0x412991){return _0x23650a['HgACg'](_0x310425,_0x412991);},'VHyaD':function(_0xe9f3d8,_0x256661){return _0x23650a[_0x54b9(0x13)](_0xe9f3d8,_0x256661);},'JGTiJ':function(_0x3c9388,_0x524822){return _0x3c9388===_0x524822;},'OwvWo':function(_0x3e0f4a,_0x50af0d){return _0x23650a[_0x54b9(0x7)](_0x3e0f4a,_0x50af0d);},'ANktZ':function(_0x1c67e6,_0xd39f04){return _0x23650a[_0x54b9(0xa)](_0x1c67e6,_0xd39f04);},'ddjXR':function(_0x756508,_0x404c3b){return _0x23650a[_0x54b9(0x14)](_0x756508,_0x404c3b);},'PERFF':function(_0x58b9eb,_0x314289){return _0x23650a[_0x54b9(0x7)](_0x58b9eb,_0x314289);}};if(_0x23650a[_0x54b9(0x15)](_0x23650a['YRiQM'],_0x23650a[_0x54b9(0x16)])){const _0x4127a8=_0x5caed6[_0x54b9(0x17)](/[^0-9]/g,''),_0x1baa3b=_0x4127a8['slice'](0x0,length)[_0x54b9(0x18)]('');while(_0x23650a[_0x54b9(0x19)](_0x1baa3b[_0x54b9(0x1a)],length)){if(_0x23650a[_0x54b9(0x1b)](_0x23650a[_0x54b9(0x1c)],_0x23650a[_0x54b9(0x1c)])){var _0x442461;_0x53fd43[_0x54b9(0x1d)](_0x442461=_0x39e4f3['current'],null)||_0x53fd43[_0x54b9(0x1d)](_0x442461,void 0x0)||_0x442461['focus']();}else _0x1baa3b['push']('');}_0x23650a[_0x54b9(0x1e)](_0x1ffbba,_0x1baa3b),_0x23650a[_0x54b9(0x1e)](_0xa1e919,Math[_0x54b9(0x1f)](_0x4127a8[_0x54b9(0x1a)],_0x23650a[_0x54b9(0x20)](length,0x1)));const _0x5f5306=_0x1baa3b[_0x54b9(0x21)]('');_0x23650a[_0x54b9(0x22)](_0x42abba,null)||_0x23650a[_0x54b9(0xb)](_0x42abba,void 0x0)||_0x23650a['GTZIF'](_0x42abba,_0x5f5306);if(_0x23650a[_0x54b9(0x23)](_0x4127a8[_0x54b9(0x1a)],length)){if(_0x23650a[_0x54b9(0x24)]!=='DMXaj')_0x2fa95c===null||_0x2fa95c===void 0x0||_0x23650a['JaAnJ'](_0x2fa95c,_0x5f5306),Keyboard[_0x54b9(0xf)]();else{var _0x255203;_0x53fd43['hCipr'](_0x255203=_0x1d3592['current'],null)||_0x255203===void 0x0||_0x255203['focus']();}}}else{const _0x548f56=_0x91c05e['replace'](/[^0-9]/g,''),_0x1e01b4=_0x548f56[_0x54b9(0x25)](0x0,_0x39123e)[_0x54b9(0x18)]('');while(_0x53fd43[_0x54b9(0x26)](_0x1e01b4['length'],_0x110c8b)){_0x1e01b4[_0x54b9(0x27)]('');}_0x53fd43[_0x54b9(0x28)](_0x1b63b3,_0x1e01b4),_0x53fd43[_0x54b9(0x28)](_0x833487,_0x320d72[_0x54b9(0x1f)](_0x548f56['length'],_0x53fd43[_0x54b9(0x29)](_0x5d9864,0x1)));const _0x3c7938=_0x1e01b4['join']('');_0x53fd43['VHyaD'](_0xd61930,null)||_0x53fd43[_0x54b9(0x2a)](_0x586439,void 0x0)||_0x53fd43[_0x54b9(0x2b)](_0x496c12,_0x3c7938),_0x53fd43[_0x54b9(0x2c)](_0x548f56[_0x54b9(0x1a)],_0x42a1bc)&&(_0x53fd43[_0x54b9(0x1d)](_0x10e588,null)||_0x53fd43['ddjXR'](_0x378d2a,void 0x0)||_0x53fd43[_0x54b9(0x2d)](_0x3defa6,_0x3c7938),_0x2e2f00[_0x54b9(0xf)]());}},_0x45a3e4=()=>{var _0x380a72;(_0x380a72=_0x3f599d[_0x54b9(0x10)])===null||_0x380a72===void 0x0||_0x380a72[_0x54b9(0x11)]();};return React[_0x54b9(0x2e)](View,{'style':styles['container']},React[_0x54b9(0x2e)](TextInput,{'ref':_0x3f599d,'style':styles[_0x54b9(0x2f)],'value':_0x398620[_0x54b9(0x21)](''),'onChangeText':_0x29566d,'keyboardType':_0x54b9(0x30),'maxLength':length,'autoComplete':_0x23650a['eBGut'],'textContentType':_0x23650a[_0x54b9(0x31)],'caretHidden':!![]}),React[_0x54b9(0x2e)](Pressable,{'style':styles['boxesContainer'],'onPress':_0x45a3e4},_0x23650a[_0x54b9(0x32)](Array,length)[_0x54b9(0x8)](0x0)[_0x54b9(0x33)]((_0x24ca31,_0x4c5789)=>React[_0x54b9(0x2e)](View,{'key':_0x4c5789,'style':[styles[_0x54b9(0x34)],_0x398620[_0x4c5789]?styles[_0x54b9(0x35)]:null,_0x1de0b5===_0x4c5789&&!_0x398620[_0x4c5789]?styles[_0x54b9(0x36)]:null]},React[_0x54b9(0x2e)](TextInput,{'style':styles[_0x54b9(0x37)],'value':_0x398620[_0x4c5789],'editable':![],'pointerEvents':_0x54b9(0x38)})))));},styles=StyleSheet[_0x54b9(0x39)]({'container':{'width':_0x54b9(0x3a)},'hiddenInput':{'position':_0x54b9(0x3b),'opacity':0x0,'height':0x0,'width':0x0},'boxesContainer':{'flexDirection':_0x54b9(0x3c),'justifyContent':_0x54b9(0x3d),'width':'100%'},'box':{'width':0x30,'height':0x38,'borderWidth':1.5,'borderColor':_0x54b9(0x3e),'borderRadius':0xc,'justifyContent':_0x54b9(0x3f),'alignItems':_0x54b9(0x3f),'backgroundColor':_0x54b9(0x40)},'boxFilled':{'borderColor':COLORS[_0x54b9(0x41)],'backgroundColor':_0x54b9(0x42)},'boxFocused':{'borderColor':_0x54b9(0x43),'borderWidth':0x2},'boxText':{'fontSize':0x18,'fontWeight':_0x54b9(0x44),'color':COLORS[_0x54b9(0x45)],'textAlign':'center'}});export{CodeInput};export default CodeInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _extends(){return _extends=Object[
|
|
1
|
+
function _0x5d3f(){var _0x196b6c=['assign','bind','rvDqd','length','call','apply','email-address','createElement','dpzcA','ZrJPE','email','input','create'];_0x5d3f=function(){return _0x196b6c;};return _0x5d3f();}function _extends(){var _0x458b00={'rvDqd':function(_0x2750dc,_0x1f320a){return _0x2750dc<_0x1f320a;}};return _extends=Object[_0x2dab(0x0)]?Object[_0x2dab(0x0)][_0x2dab(0x1)]():function(_0x56c42c){for(var _0x3816e3=0x1;_0x458b00[_0x2dab(0x2)](_0x3816e3,arguments[_0x2dab(0x3)]);_0x3816e3++){var _0x58a5c1=arguments[_0x3816e3];for(var _0x4689c6 in _0x58a5c1)({}['hasOwnProperty'][_0x2dab(0x4)](_0x58a5c1,_0x4689c6)&&(_0x56c42c[_0x4689c6]=_0x58a5c1[_0x4689c6]));}return _0x56c42c;},_extends[_0x2dab(0x5)](null,arguments);}function _0x2dab(_0x5d3ff0,_0x2dab35){_0x5d3ff0=_0x5d3ff0-0x0;var _0x44f973=_0x5d3f();var _0x51c4eb=_0x44f973[_0x5d3ff0];return _0x51c4eb;}import React from'react';import{TextInput,StyleSheet}from'react-native';const EmailInput=_0x4edb3f=>{var _0x3082e3={'dpzcA':function(_0x4bddcf,_0x514a83,_0x34276c,_0x19600c){return _0x4bddcf(_0x514a83,_0x34276c,_0x19600c);},'nuRjF':_0x2dab(0x6),'ZrJPE':'none'};return React[_0x2dab(0x7)](TextInput,_0x3082e3[_0x2dab(0x8)](_extends,{},_0x4edb3f,{'keyboardType':_0x3082e3['nuRjF'],'autoCapitalize':_0x3082e3[_0x2dab(0x9)],'autoComplete':_0x2dab(0xa),'style':[styles[_0x2dab(0xb)],_0x4edb3f['style']]}));},styles=StyleSheet[_0x2dab(0xc)]({'input':{'borderWidth':0x1,'borderColor':'#E0E0E0','borderRadius':0x8,'padding':0xc,'fontSize':0x10}});export{EmailInput};export default EmailInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import React from'react';import{TouchableOpacity,Text,Image,StyleSheet}from'react-native';import{BRAND_IMAGES}from'../utils/assetRegistry';const GoogleButton=({onPress:_0x421f37,style:_0x387e2f,disabled:disabled=![]})=>{const _0x402725={'nAgiC':_0x55b5(0x0)};return React[_0x55b5(0x1)](TouchableOpacity,{'style':[styles['button'],_0x387e2f,disabled&&styles[_0x55b5(0x2)]],'onPress':_0x421f37,'disabled':disabled},React[_0x55b5(0x1)](Image,{'source':BRAND_IMAGES[_0x55b5(0x3)],'style':styles[_0x55b5(0x4)],'resizeMode':_0x402725[_0x55b5(0x5)]}),React[_0x55b5(0x1)](Text,{'style':styles[_0x55b5(0x6)]},_0x55b5(0x7)));},styles=StyleSheet[_0x55b5(0x8)]({'button':{'flexDirection':_0x55b5(0x9),'alignItems':_0x55b5(0xa),'justifyContent':_0x55b5(0xa),'backgroundColor':_0x55b5(0xb),'borderWidth':0x1,'borderColor':_0x55b5(0xc),'borderRadius':0x8,'paddingVertical':0xc,'paddingHorizontal':0x10},'disabled':{'opacity':0.5},'icon':{'width':0x14,'height':0x14,'marginRight':0x8},'text':{'fontSize':0x10,'fontWeight':_0x55b5(0xd),'color':_0x55b5(0xe)}});function _0x55b5(_0x5d72b2,_0x55b537){_0x5d72b2=_0x5d72b2-0x0;const _0x3d7930=_0x5d72();let _0x2cccad=_0x3d7930[_0x5d72b2];return _0x2cccad;}export{GoogleButton};export default GoogleButton;function _0x5d72(){const _0x519288=['contain','createElement','disabled','googleLogo','icon','nAgiC','text','Continue\x20with\x20Google','create','row','center','#FFFFFF','#E0E0E0','500','#333333'];_0x5d72=function(){return _0x519288;};return _0x5d72();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from'react';function
|
|
1
|
+
import React from'react';import{View,Text,StyleSheet}from'react-native';import{TEXT_STYLES}from'../theme';function _0x557e(){const _0x2e9fc0=['Welcome\x20to','Onairos','createElement','container','kicker','IBM\x20Plex\x20Sans','700','welcomeTitle'];_0x557e=function(){return _0x2e9fc0;};return _0x557e();}const HeadingGroup=({kicker:kicker=_0x534e(0x0),title:title=_0x534e(0x1),style:_0x44cb9d})=>{return React[_0x534e(0x2)](View,{'style':[styles[_0x534e(0x3)],_0x44cb9d]},React[_0x534e(0x2)](Text,{'style':styles['kicker']},kicker),React[_0x534e(0x2)](Text,{'style':styles['title']},title));},styles=StyleSheet['create']({'container':{'alignItems':'center'},'kicker':{...TEXT_STYLES[_0x534e(0x4)],'fontFamily':_0x534e(0x5),'fontWeight':_0x534e(0x6),'marginBottom':0x4},'title':{...TEXT_STYLES[_0x534e(0x7)],'fontFamily':_0x534e(0x5),'fontWeight':_0x534e(0x6)}});function _0x534e(_0x557e3a,_0x534ef1){_0x557e3a=_0x557e3a-0x0;const _0x3bea73=_0x557e();let _0x1aefbf=_0x3bea73[_0x557e3a];return _0x1aefbf;}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';function _0x33af(){const _0x34a74f=['log','unknown','Connect\x20ChatGPT','Paste\x20your\x20ChatGPT\x20conversation\x20JSON\x20here...','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','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.','Paste\x20your\x20conversation\x20JSON\x20here...','Imported\x20Conversation','ywtSK','FIloD','Failed\x20to\x20import\x20any\x20conversations.\x20Please\x20check\x20your\x20data\x20format.','GZMgE','nuPwi','Authentication\x20required.\x20Please\x20sign\x20in\x20first.','gcIPs','YwMnc','FePoK','pyyMH','ImHMf','Error\x20parsing\x20conversation\x20data:','human','string','Invalid\x20JSON\x20format.\x20Please\x20check\x20your\x20data\x20and\x20try\x20again.','Selected\x20file','content://','ZwTrB','utf8','File\x20pick\x20error:','Failed\x20to\x20read\x20file.\x20Please\x20try\x20again\x20or\x20paste\x20data\x20manually.','user','NAiIo','Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.','enoch_token','rJkCJ','hQuRn','conversation','mobile_app_import','lpGuA','MfCcw','AiurH','Success!\x20🎉','wKCFZ','Failed\x20to\x20import\x20data.\x20Please\x20try\x20again.','4|1|5|2|0|3','paste','file','slide','pageSheet','padding','height','Cancel','handled','Upload\x20File\x20','top','none','Tap\x20to\x20select\x20a\x20file','Data\x20Preview','...','\x20characters','#FFFFFF','txBFP','sXphB','ZhePt','EpRno','cpkiN','ujXuU','SZdQF','jJlta','jXPyz','lbVOo','cZrED','message','content','parts','join','trim','msg_','WZIgT','bEvLP','create_time','KvwFr','toISOString','BmWVA','TmtMN','TOxka','WjVgf','pLvAS','Connect\x20Claude','Export\x20your\x20Claude\x20conversations\x20and\x20paste\x20the\x20JSON\x20data\x20below,\x20or\x20upload\x20your\x20exported\x20file.','HdKmM','cRiXM','Connect\x20Gemini','FysZr','gdoLy','JSSsG','qFxOc','bjgoz','cNeYm','Connect\x20','orcjV','assistant','dHcOe','TjVTw','KUPDM','Submit\x20error:','parse','isArray','UUMJa','sbkQb','bTOCB','now','title','oPGlB','CGNRq','length','push','conversation_id','conv_','name','Conversation\x20','LjDaY','created_at','update_time','updated_at','text','uuid','sender','kPfaP','conversations','qCDgk','xjUMH','NfYae','forEach','GKxor','MKJRd','dRJFw','NOvAo','gMePd','0|1|4|3|5|2','split','wWZWC','bgZmF','NvvEV','NyDJY','mapping','messages','reJhb','unlPZ','IEQwp','AQUJG','NacWe','BUTTON_PRESS','XIOcF','ERROR','Uxggt','oKwiS','HWXin','error','UzBBa','vgNpG','Pswzi','ixSdk','SQPoJ','gTnjq','ctUlh','KnCPL','hpLpz','uZQdw','zPUxF','author','role','dgtOr','aompM','Error\x20storing\x20conversation:','IopUn','jvpbd','PSGcY','timestamp','chat_messages','ZVhCv','LjzKv','JMmOY','LtcrC','json','plainText','allFiles','uri','startsWith','xRyOn','iQYAS','wrlfV','JfDQo','readFile','AAiyA','SUCCESS','JqWWV','DOCUMENT_PICKER_CANCELED','bjSJl','ZTBsb','EzvMP','SwFfp','EKKqK','hwlJv','FSiwR','iOfYH','GufQI','sguum','nqwQI','HKELp','IIuvo','egvRZ','DOhRD','getItem','onairos_jwt_token','maROT','auth_token','mobile-','bxckz','AVrhS','UgLto','cwIan','RQPRY','ABIGD','pJqFC','HDZEF','BASE_URL','/llm-data/store','Bearer\x20','stringify','conversationId','context','Version','NviIX','YtXwY','TbruL','EGVFc','Uqxpp','exxaw','Failed\x20to\x20store\x20conversation\x20','fSrKG','setItem','EMclU','alert','Successfully\x20imported\x20','\x20conversation','kIUXN','\x20from\x20','GmxBf','hmuLR','spJxf','itHqD','ozvcP','xcrlp','zouWb','rORbJ','VqMfC','beQhk','createElement','xLgAS','container','ESzQM','wEHna','yqFeW','header','closeButton','closeButtonText','kXkoT','headerTitle','contentContainer','hJgOc','instructionsContainer','instructionsText','tabContainer','tab','qkJKz','tabActive','tabText','tabTextActive','Paste\x20Data','DisER','tabDisabled','rboYh','File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','tabTextDisabled','inputContainer','textInput','NgMJK','CPWbR','fileInputContainer','filePickButton','filePickIcon','filePickText','dEfFQ','fileSelectedContainer','fileSelectedText','errorContainer','errorText','previewContainer','DeCzK','previewText','CfRcT','YzXhL','previewInfo','toLocaleString','footer','submitButton','zJkhu','QzuXQ','submitButtonText','NWrJg','create','surface','row','space-between','ios','#E5E7EB','600','#3B82F6','#0369A1','Inter','#F3F4F6','center','grey500','grey800','grey300','monospace','#166534','#DC2626','grey600'];_0x33af=function(){return _0x34a74f;};return _0x33af();}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';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';function _0x199f(_0x33af17,_0x199f84){_0x33af17=_0x33af17-0x0;const _0x4f8f94=_0x33af();let _0x3e108e=_0x4f8f94[_0x33af17];return _0x3e108e;}let DocumentPicker=null,RNFS=null;try{DocumentPicker=__ONAIROS_REQ_FUNC__(0x0);}catch(_0x4d5830){console['log']('react-native-document-picker not available - file upload disabled');}try{RNFS=__ONAIROS_REQ_FUNC__(0x1);}catch(_0xc081d8){console[_0x199f(0x0)]('react-native-fs not available - file upload disabled');}const FILE_UPLOAD_AVAILABLE=DocumentPicker!==null&&RNFS!==null,LLMDataInputModal=({visible:_0x12da86,platform:_0x4149a3,platformName:_0x200174,onClose:_0x1b721b,onSuccess:_0x24b07b})=>{const _0x45d50a={'EpRno':function(_0x2a8070,_0x4ae2b2){return _0x2a8070!==_0x4ae2b2;},'cpkiN':function(_0x3afbe2,_0x41a186){return _0x3afbe2===_0x41a186;},'ujXuU':_0x199f(0x1),'SZdQF':function(_0x343dcb,_0xd31f2b){return _0x343dcb*_0xd31f2b;},'jJlta':function(_0x53d294,_0x4531f1){return _0x53d294!==_0x4531f1;},'BmWVA':'chatgpt','TmtMN':_0x199f(0x2),'TOxka':'Export\x20your\x20ChatGPT\x20conversations\x20from\x20Settings\x20→\x20Data\x20Controls\x20→\x20Export\x20data.\x20Then\x20upload\x20the\x20JSON\x20file\x20or\x20paste\x20your\x20conversation\x20data.','WjVgf':_0x199f(0x3),'pLvAS':'claude','HdKmM':_0x199f(0x4),'cRiXM':_0x199f(0x5),'FysZr':_0x199f(0x6),'gdoLy':_0x199f(0x7),'JSSsG':_0x199f(0x8),'qFxOc':_0x199f(0x9),'bjgoz':_0x199f(0xa),'cNeYm':_0x199f(0xb),'DfPJG':_0x199f(0xc),'orcjV':_0x199f(0xd),'NacWe':_0x199f(0xe),'GKxor':function(_0xa936d8,_0x25c60f){return _0xa936d8(_0x25c60f);},'MKJRd':function(_0x4d9d73){return _0x4d9d73();},'txBFP':function(_0x2a88c5,_0x2f6102){return _0x2a88c5(_0x2f6102);},'dRJFw':_0x199f(0xf),'NOvAo':_0x199f(0x10),'gMePd':function(_0x1b81fe,_0x1ffc1e){return _0x1b81fe+_0x1ffc1e;},'NyDJY':_0x199f(0x11),'dHcOe':_0x199f(0x12),'TjVTw':_0x199f(0x13),'ZhePt':function(_0x2214c6,_0x201da1){return _0x2214c6(_0x201da1);},'KUPDM':'File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','ZcTZS':_0x199f(0x14),'UUMJa':function(_0x19c33e,_0x9a4c27){return _0x19c33e!==_0x9a4c27;},'bTOCB':'sbkQb','qCDgk':function(_0x99f1e3,_0x3e949d){return _0x99f1e3!==_0x3e949d;},'NfYae':_0x199f(0x15),'reJhb':function(_0x1e9fb9,_0x40a713){return _0x1e9fb9!==_0x40a713;},'Yiukr':_0x199f(0x16),'RFmPv':_0x199f(0x17),'unlPZ':function(_0x33fa70,_0x48cd78){return _0x33fa70>_0x48cd78;},'IEQwp':'vxHiL','AQUJG':'LRNLC','oKwiS':function(_0x34b0a9,_0x1de804){return _0x34b0a9>_0x1de804;},'HWXin':_0x199f(0x18),'Pswzi':_0x199f(0x19),'ixSdk':_0x199f(0x1a),'ctUlh':function(_0xd1c542,_0x4cafad){return _0xd1c542!==_0x4cafad;},'KnCPL':function(_0x28984a,_0x26f117){return _0x28984a!==_0x26f117;},'hpLpz':function(_0x2c6917,_0x50649a){return _0x2c6917!==_0x50649a;},'hwlJv':function(_0xf50c37,_0x5d3df6){return _0xf50c37===_0x5d3df6;},'ZVhCv':_0x199f(0x1b),'mgPOB':'assistant','FSiwR':function(_0x2a406e,_0xf62f83){return _0x2a406e===_0xf62f83;},'gTnjq':_0x199f(0x1c),'LjzKv':_0x199f(0x1d),'JMmOY':function(_0x119d95,_0x4eda36){return _0x119d95===_0x4eda36;},'mvvbr':_0x199f(0x1e),'lWoOu':_0x199f(0x1f),'xRyOn':'lIWrC','iQYAS':_0x199f(0x20),'JfDQo':_0x199f(0x21),'AAiyA':function(_0x4dc55b,_0x3fe31b){return _0x4dc55b(_0x3fe31b);},'JqWWV':function(_0x4e42e5,_0x18bc88){return _0x4e42e5!==_0x18bc88;},'sjRKs':_0x199f(0x22),'bjSJl':function(_0x2f774c,_0x1ba5b8){return _0x2f774c(_0x1ba5b8);},'ZTBsb':_0x199f(0x23),'GufQI':function(_0x524934,_0x54ad08){return _0x524934===_0x54ad08;},'EKKqK':_0x199f(0x24),'AtQbM':function(_0x2f960f,_0x3ad9de){return _0x2f960f(_0x3ad9de);},'NbqYE':function(_0x479279,_0x2c6de6){return _0x479279>_0x2c6de6;},'DOhRD':'No\x20valid\x20conversations\x20found\x20in\x20the\x20data.\x20Please\x20check\x20the\x20format.','SIKSh':_0x199f(0x25),'iOfYH':_0x199f(0x26),'egvRZ':function(_0x8f1531,_0x5ece0e){return _0x8f1531(_0x5ece0e);},'maROT':_0x199f(0x27),'bxckz':function(_0x38b63e,_0x503830){return _0x38b63e!==_0x503830;},'AVrhS':_0x199f(0x28),'ABIGD':function(_0x53b3aa,_0x295d28){return _0x53b3aa===_0x295d28;},'pJqFC':_0x199f(0x29),'jiqvk':function(_0x4f5102,_0xd317a3,_0x28debc){return _0x4f5102(_0xd317a3,_0x28debc);},'CHKjD':'1.0.0','NviIX':_0x199f(0x2a),'YtXwY':_0x199f(0x2b),'rgAEt':function(_0x555096,_0x14c860){return _0x555096!==_0x14c860;},'TbruL':_0x199f(0x2c),'EGVFc':_0x199f(0x2d),'lytFS':_0x199f(0x2e),'EMclU':function(_0x4b500c,_0x4581d0){return _0x4b500c(_0x4581d0);},'nxNSl':_0x199f(0x2f),'kIUXN':function(_0x169a81,_0x524761){return _0x169a81>_0x524761;},'GmxBf':_0x199f(0x30),'spJxf':'Submit\x20error:','itHqD':_0x199f(0x31),'xcrlp':'BFhjw','zouWb':_0x199f(0x32),'rORbJ':_0x199f(0x33),'VqMfC':function(_0x30501f,_0x161456){return _0x30501f(_0x161456);},'beQhk':function(_0x416d72,_0xf67d90){return _0x416d72(_0xf67d90);},'eRZaT':function(_0x2b9e71,_0x857cf7){return _0x2b9e71(_0x857cf7);},'wvhUY':_0x199f(0x34),'rboYh':function(_0x26f0d5,_0x1e5350){return _0x26f0d5(_0x1e5350);},'sXphB':function(_0x15152a,_0x3b2036){return _0x15152a(_0x3b2036);},'ZknrG':_0x199f(0x35),'xLgAS':_0x199f(0x36),'ESzQM':function(_0x2cd120,_0x4bd9c4){return _0x2cd120===_0x4bd9c4;},'wEHna':_0x199f(0x37),'yqFeW':_0x199f(0x38),'kXkoT':_0x199f(0x39),'hJgOc':_0x199f(0x3a),'qkJKz':function(_0x37982f,_0x2565bb){return _0x37982f===_0x2565bb;},'DisER':function(_0x58dd17,_0x401e1a){return _0x58dd17===_0x401e1a;},'zJLYf':_0x199f(0x3b),'EPmnQ':'(N/A)','LdQvZ':function(_0x2f673c,_0x354bed){return _0x2f673c===_0x354bed;},'NgMJK':_0x199f(0x3c),'CPWbR':_0x199f(0x3d),'dEfFQ':function(_0x2271a7,_0xd60ec3){return _0x2271a7||_0xd60ec3;},'uxlRq':_0x199f(0x3e),'DeCzK':_0x199f(0x3f),'CfRcT':function(_0x1fb9a4,_0x192e74){return _0x1fb9a4>_0x192e74;},'YzXhL':_0x199f(0x40),'EHIOw':_0x199f(0x41),'zJkhu':_0x199f(0x42),'QzuXQ':'small','NWrJg':'Import\x20Conversations'},[_0x99cbc3,_0x1af378]=_0x45d50a[_0x199f(0x43)](useState,_0x199f(0x33)),[_0x6acced,_0x3671e3]=useState(''),[_0x4ba718,_0x5dc1b2]=_0x45d50a[_0x199f(0x44)](useState,![]),[_0x192f9c,_0x5a953f]=_0x45d50a[_0x199f(0x45)](useState,null),[_0x733df0,_0x4cdba1]=useState(null),[_0x36ec9e,_0x320332]=useState(null),_0x409fb4=()=>{const _0x2bdea4={'lbVOo':function(_0x4c53d3,_0x206a31){return _0x4c53d3!==_0x206a31;},'cZrED':function(_0x4ec24b,_0x22ef14){return _0x45d50a[_0x199f(0x46)](_0x4ec24b,_0x22ef14);},'WZIgT':function(_0x206f6a,_0x318b8b){return _0x45d50a[_0x199f(0x47)](_0x206f6a,_0x318b8b);},'bEvLP':_0x45d50a[_0x199f(0x48)],'KvwFr':function(_0x4299b8,_0x5ce7c5){return _0x45d50a[_0x199f(0x49)](_0x4299b8,_0x5ce7c5);}};if(_0x45d50a[_0x199f(0x4a)](_0x199f(0x4b),_0x199f(0x4b))){var _0x2d130f;if(_0x2bdea4[_0x199f(0x4c)](_0x223aab,null)&&_0x2bdea4[_0x199f(0x4d)](_0x4a8358,void 0x0)&&_0x2bdea4[_0x199f(0x4d)](_0x2d130f=_0x2f42de[_0x199f(0x4e)],null)&&_0x2bdea4['cZrED'](_0x2d130f,void 0x0)&&(_0x2d130f=_0x2d130f['content'])!==null&&_0x2d130f!==void 0x0&&_0x2d130f['parts']){const _0x1febff=_0x3fdb13[_0x199f(0x4e)][_0x199f(0x4f)][_0x199f(0x50)][_0x199f(0x51)]('\x0a');if(_0x1febff[_0x199f(0x52)]()){var _0x4934af;_0x35e461['push']({'id':_0x310bd1['message']['id']||_0x199f(0x53)+_0x3fd80e,'role':(_0x2bdea4[_0x199f(0x54)](_0x4934af=_0x19c447[_0x199f(0x4e)]['author'],null)||_0x2bdea4[_0x199f(0x54)](_0x4934af,void 0x0)?void 0x0:_0x4934af['role'])||_0x2bdea4[_0x199f(0x55)],'content':_0x1febff,'timestamp':_0x2f4a05[_0x199f(0x4e)][_0x199f(0x56)]?new _0x276fc0(_0x2bdea4[_0x199f(0x57)](_0x94dd61['message'][_0x199f(0x56)],0x3e8))[_0x199f(0x58)]():_0xfb073e});}}}else switch(_0x4149a3){case _0x45d50a[_0x199f(0x59)]:return{'title':_0x45d50a[_0x199f(0x5a)],'instructions':_0x45d50a[_0x199f(0x5b)],'placeholder':_0x45d50a[_0x199f(0x5c)]};case _0x45d50a[_0x199f(0x5d)]:return{'title':_0x199f(0x5e),'instructions':_0x199f(0x5f),'placeholder':_0x45d50a[_0x199f(0x60)]};case _0x45d50a[_0x199f(0x61)]:return{'title':_0x199f(0x62),'instructions':_0x45d50a[_0x199f(0x63)],'placeholder':_0x45d50a[_0x199f(0x64)]};case _0x45d50a[_0x199f(0x65)]:return{'title':_0x45d50a[_0x199f(0x66)],'instructions':_0x45d50a[_0x199f(0x67)],'placeholder':_0x45d50a[_0x199f(0x68)]};default:return{'title':_0x199f(0x69)+_0x200174,'instructions':_0x45d50a['DfPJG'],'placeholder':_0x45d50a[_0x199f(0x6a)]};}},{title:_0x20df1f,instructions:_0x29610e,placeholder:_0x20d82d}=_0x409fb4(),_0x5bcbdc=_0x10007d=>{const _0x43f6b4={'kPfaP':_0x199f(0x6b),'oPGlB':_0x45d50a[_0x199f(0x6c)],'HOfjJ':_0x45d50a[_0x199f(0x6d)],'EiDpk':function(_0x5be56f,_0x50ca4e){return _0x5be56f(_0x50ca4e);},'CGNRq':function(_0x2b0fa0,_0x4d7249){return _0x2b0fa0>_0x4d7249;},'LjDaY':function(_0x156abc,_0x8a8cee){return _0x156abc+_0x8a8cee;},'vgNpG':function(_0x5ac5d9,_0x28b60a){return _0x45d50a[_0x199f(0x45)](_0x5ac5d9,_0x28b60a);},'XIOcF':_0x45d50a[_0x199f(0x6e)],'Uxggt':_0x45d50a['ZcTZS'],'UzBBa':_0x199f(0x6f)};try{const _0x276edc=JSON[_0x199f(0x70)](_0x10007d),_0x29a288=[];if(Array[_0x199f(0x71)](_0x276edc))_0x45d50a[_0x199f(0x72)](_0x199f(0x73),_0x45d50a[_0x199f(0x74)])?_0x14264e['push']({'conversationId':_0x2b3ae4['id']||'conv_'+_0x364448[_0x199f(0x75)](),'messages':_0x54d52c,'context':{'title':_0x2f0d7d[_0x199f(0x76)]||_0x45d50a['NacWe'],'create_time':_0x4fd2d0['create_time'],'update_time':_0x1cbc95['update_time']}}):_0x276edc['forEach']((_0x46b83a,_0xe4b613)=>{if(_0x43f6b4[_0x199f(0x77)]!==_0x43f6b4['HOfjJ']){const _0x594987=_0x43f6b4['EiDpk'](_0xf7e0cd,_0x46b83a);_0x43f6b4[_0x199f(0x78)](_0x594987[_0x199f(0x79)],0x0)&&_0x29a288[_0x199f(0x7a)]({'conversationId':_0x46b83a['id']||_0x46b83a[_0x199f(0x7b)]||_0x199f(0x7c)+_0xe4b613+'_'+Date[_0x199f(0x75)](),'messages':_0x594987,'context':{'title':_0x46b83a[_0x199f(0x76)]||_0x46b83a[_0x199f(0x7d)]||_0x199f(0x7e)+_0x43f6b4[_0x199f(0x7f)](_0xe4b613,0x1),'create_time':_0x46b83a[_0x199f(0x56)]||_0x46b83a[_0x199f(0x80)],'update_time':_0x46b83a[_0x199f(0x81)]||_0x46b83a[_0x199f(0x82)]}});}else(_0x5df475[_0x199f(0x83)]||_0x5afe0a[_0x199f(0x4f)])&&_0x239be8[_0x199f(0x7a)]({'id':_0x4b371e[_0x199f(0x84)]||_0x199f(0x53)+_0x1a56b2,'role':_0x1ee8f0[_0x199f(0x85)]==='human'?'user':_0x43f6b4[_0x199f(0x86)],'content':_0x336959[_0x199f(0x83)]||_0x18fb42[_0x199f(0x4f)],'timestamp':_0x52a920[_0x199f(0x80)]});});else{if(_0x276edc['conversations']&&Array['isArray'](_0x276edc[_0x199f(0x87)])){if(_0x45d50a[_0x199f(0x88)](_0x199f(0x89),_0x45d50a[_0x199f(0x8a)]))_0x276edc[_0x199f(0x87)][_0x199f(0x8b)]((_0x1e7060,_0xcaab3f)=>{const _0x3cff04={'wWZWC':function(_0x3e72d7,_0x41b1e9){return _0x45d50a[_0x199f(0x8c)](_0x3e72d7,_0x41b1e9);},'bgZmF':function(_0x5ea853){return _0x45d50a[_0x199f(0x8d)](_0x5ea853);},'NvvEV':function(_0x52e8ac,_0x6ef875){return _0x45d50a[_0x199f(0x43)](_0x52e8ac,_0x6ef875);}};if(_0x45d50a[_0x199f(0x8e)]!==_0x45d50a[_0x199f(0x8f)]){const _0x11972e=_0xf7e0cd(_0x1e7060);_0x11972e[_0x199f(0x79)]>0x0&&_0x29a288[_0x199f(0x7a)]({'conversationId':_0x1e7060['id']||_0x199f(0x7c)+_0xcaab3f+'_'+Date[_0x199f(0x75)](),'messages':_0x11972e,'context':{'title':_0x1e7060[_0x199f(0x76)]||'Conversation\x20'+_0x45d50a[_0x199f(0x90)](_0xcaab3f,0x1),'create_time':_0x1e7060['create_time'],'update_time':_0x1e7060['update_time']}});}else{const _0x33e24e=_0x199f(0x91)[_0x199f(0x92)]('|');let _0x48ad4a=0x0;while(!![]){switch(_0x33e24e[_0x48ad4a++]){case'0':_0x3cff04[_0x199f(0x93)](_0x2df652,'');continue;case'1':_0x3cff04['wWZWC'](_0x3c902d,null);continue;case'2':_0x3cff04[_0x199f(0x94)](_0x51347f);continue;case'3':_0x3cff04[_0x199f(0x95)](_0x83d73e,null);continue;case'4':_0x3cff04[_0x199f(0x93)](_0x3fbafe,null);continue;case'5':_0x26a5cf(_0x199f(0x33));continue;}break;}}});else throw new _0x4c9f04(_0x45d50a[_0x199f(0x96)]);}else{if(_0x276edc[_0x199f(0x97)]||_0x276edc[_0x199f(0x98)]){if(_0x45d50a[_0x199f(0x99)](_0x45d50a['Yiukr'],_0x45d50a['RFmPv'])){const _0x44d911=_0xf7e0cd(_0x276edc);_0x45d50a[_0x199f(0x9a)](_0x44d911[_0x199f(0x79)],0x0)&&(_0x45d50a['EpRno'](_0x45d50a[_0x199f(0x9b)],_0x45d50a[_0x199f(0x9c)])?_0x29a288[_0x199f(0x7a)]({'conversationId':_0x276edc['id']||_0x199f(0x7c)+Date[_0x199f(0x75)](),'messages':_0x44d911,'context':{'title':_0x276edc['title']||_0x45d50a[_0x199f(0x9d)],'create_time':_0x276edc['create_time'],'update_time':_0x276edc[_0x199f(0x81)]}}):_0x129896?(_0x43f6b4['vgNpG'](_0x34acc6,_0x199f(0x34)),_0x4bcdd9(_0x3fdfe6[_0x199f(0x9e)])):(_0x43f6b4['vgNpG'](_0x153cef,_0x43f6b4[_0x199f(0x9f)]),_0x52030a(_0x432607[_0x199f(0xa0)])));}else throw new _0x75cd9f(_0x43f6b4[_0x199f(0xa1)]);}else{const _0x4588c3=_0x45d50a[_0x199f(0x45)](_0xf7e0cd,_0x276edc);_0x45d50a[_0x199f(0xa2)](_0x4588c3[_0x199f(0x79)],0x0)&&(_0x45d50a[_0x199f(0xa3)]!==_0x45d50a[_0x199f(0xa3)]?(_0x30b27d[_0x199f(0xa4)](_0x43f6b4[_0x199f(0xa5)],_0x266036),_0x43f6b4[_0x199f(0xa6)](_0x14e4ad,_0x41ef49[_0x199f(0x4e)]||_0x199f(0x31)),_0x43f6b4[_0x199f(0xa6)](_0x5d2c30,_0x4174df[_0x199f(0xa0)])):_0x29a288['push']({'conversationId':_0x199f(0x7c)+Date['now'](),'messages':_0x4588c3,'context':{'title':_0x276edc[_0x199f(0x76)]||_0x199f(0xe)}}));}}}return _0x29a288;}catch(_0x33e3a7){if(_0x45d50a[_0x199f(0x46)](_0x45d50a[_0x199f(0xa7)],_0x45d50a[_0x199f(0xa7)]))_0x167d11=_0x43f6b4[_0x199f(0xa6)](_0x25b26e,0x0);else{console[_0x199f(0xa4)](_0x45d50a[_0x199f(0xa8)],_0x33e3a7);throw new Error(_0x199f(0x1d));}}},_0xf7e0cd=_0x42a45f=>{const _0x544d92={'dgtOr':function(_0x2b1d0b,_0x48137f){return _0x45d50a[_0x199f(0x88)](_0x2b1d0b,_0x48137f);},'aompM':_0x199f(0xa9),'IopUn':function(_0x166671,_0xfb98fc){return _0x45d50a['FSiwR'](_0x166671,_0xfb98fc);},'jvpbd':_0x45d50a[_0x199f(0xaa)],'taQRB':function(_0x55af1d,_0x23063f){return _0x55af1d!==_0x23063f;},'PSGcY':_0x199f(0x24)},_0x49cfa4=[];return _0x42a45f['mapping']&&Object['values'](_0x42a45f[_0x199f(0x97)])[_0x199f(0x8b)]((_0x5762c3,_0x168fe9)=>{var _0x110e38;if(_0x45d50a[_0x199f(0xab)](_0x5762c3,null)&&_0x45d50a[_0x199f(0xac)](_0x5762c3,void 0x0)&&(_0x110e38=_0x5762c3['message'])!==null&&_0x110e38!==void 0x0&&(_0x110e38=_0x110e38[_0x199f(0x4f)])!==null&&_0x45d50a[_0x199f(0xad)](_0x110e38,void 0x0)&&_0x110e38['parts']){if(_0x199f(0xae)!==_0x199f(0xaf)){const _0xa62372=_0x5762c3[_0x199f(0x4e)][_0x199f(0x4f)]['parts'][_0x199f(0x51)]('\x0a');if(_0xa62372[_0x199f(0x52)]()){var _0x17675e;_0x49cfa4[_0x199f(0x7a)]({'id':_0x5762c3[_0x199f(0x4e)]['id']||_0x199f(0x53)+_0x168fe9,'role':(_0x45d50a[_0x199f(0x47)](_0x17675e=_0x5762c3[_0x199f(0x4e)][_0x199f(0xb0)],null)||_0x45d50a['hwlJv'](_0x17675e,void 0x0)?void 0x0:_0x17675e[_0x199f(0xb1)])||_0x45d50a[_0x199f(0x48)],'content':_0xa62372,'timestamp':_0x5762c3['message'][_0x199f(0x56)]?new Date(_0x45d50a[_0x199f(0x49)](_0x5762c3['message'][_0x199f(0x56)],0x3e8))[_0x199f(0x58)]():undefined});}}else _0x46d6e1[_0x199f(0x0)]('react-native-document-picker not available - file upload disabled');}}),_0x42a45f['messages']&&Array['isArray'](_0x42a45f[_0x199f(0x98)])&&_0x42a45f[_0x199f(0x98)][_0x199f(0x8b)]((_0x1f99db,_0x1ba901)=>{if(_0x544d92[_0x199f(0xb2)](_0x544d92[_0x199f(0xb3)],_0x199f(0xa9)))_0x56f06a[_0x199f(0xa4)](_0x199f(0xb4),_0x26d832);else{var _0x5ac154;const _0x1eef0b=_0x1f99db[_0x199f(0x4f)]||_0x1f99db['text']||_0x1f99db[_0x199f(0x4e)]||'';if(_0x544d92[_0x199f(0xb5)](typeof _0x1eef0b,_0x544d92[_0x199f(0xb6)])&&_0x1eef0b[_0x199f(0x52)]())_0x49cfa4[_0x199f(0x7a)]({'id':_0x1f99db['id']||_0x199f(0x53)+_0x1ba901,'role':_0x1f99db[_0x199f(0xb1)]||_0x1f99db['author']||'user','content':_0x1eef0b,'timestamp':_0x1f99db['timestamp']||_0x1f99db[_0x199f(0x80)]});else _0x544d92['dgtOr'](_0x5ac154=_0x1f99db[_0x199f(0x4f)],null)&&_0x544d92['taQRB'](_0x5ac154,void 0x0)&&_0x5ac154[_0x199f(0x50)]&&_0x49cfa4['push']({'id':_0x1f99db['id']||'msg_'+_0x1ba901,'role':_0x1f99db[_0x199f(0xb1)]||_0x544d92[_0x199f(0xb7)],'content':_0x1f99db[_0x199f(0x4f)][_0x199f(0x50)][_0x199f(0x51)]('\x0a'),'timestamp':_0x1f99db[_0x199f(0xb8)]});}}),_0x42a45f[_0x199f(0xb9)]&&Array[_0x199f(0x71)](_0x42a45f[_0x199f(0xb9)])&&_0x42a45f[_0x199f(0xb9)]['forEach']((_0x8a01c2,_0x1de84f)=>{(_0x8a01c2[_0x199f(0x83)]||_0x8a01c2['content'])&&_0x49cfa4[_0x199f(0x7a)]({'id':_0x8a01c2[_0x199f(0x84)]||_0x199f(0x53)+_0x1de84f,'role':_0x8a01c2[_0x199f(0x85)]===_0x45d50a[_0x199f(0xba)]?_0x199f(0x24):_0x45d50a['mgPOB'],'content':_0x8a01c2[_0x199f(0x83)]||_0x8a01c2[_0x199f(0x4f)],'timestamp':_0x8a01c2[_0x199f(0x80)]});}),_0x49cfa4;},_0xac3e2a=async()=>{const _0xd845dc={'wrlfV':_0x45d50a[_0x199f(0xbb)],'EzvMP':_0x45d50a[_0x199f(0x6e)],'SwFfp':function(_0x1b8173,_0x110f92){return _0x45d50a[_0x199f(0x45)](_0x1b8173,_0x110f92);}};if(_0x45d50a[_0x199f(0xbc)](_0x199f(0xbd),'LtcrC')){if(!FILE_UPLOAD_AVAILABLE){_0x45d50a['txBFP'](_0x5a953f,'File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}try{_0x45d50a[_0x199f(0x45)](_0x5a953f,null);const {pick:_0x28e729,types:_0x54a5eb}=DocumentPicker,_0x1a76f8=await _0x45d50a[_0x199f(0x8c)](_0x28e729,{'type':[_0x54a5eb[_0x199f(0xbe)],_0x54a5eb[_0x199f(0xbf)],_0x54a5eb[_0x199f(0xc0)]]});if(_0x1a76f8&&_0x1a76f8[0x0]){const _0x1e64d5=_0x1a76f8[0x0];_0x4cdba1(_0x1e64d5[_0x199f(0x7d)]||_0x45d50a['mvvbr']);let _0x3d16d0;if(_0x1e64d5[_0x199f(0xc1)][_0x199f(0xc2)](_0x45d50a['lWoOu'])){if(_0x45d50a[_0x199f(0xc3)]===_0x45d50a[_0x199f(0xc4)]){_0x5b9a48[_0x199f(0xa4)](_0x199f(0x1a),_0x54f784);throw new _0x596285(_0xd845dc[_0x199f(0xc5)]);}else _0x3d16d0=await RNFS['readFile'](_0x1e64d5['uri'],_0x45d50a[_0x199f(0xc6)]);}else _0x3d16d0=await RNFS[_0x199f(0xc7)](_0x1e64d5[_0x199f(0xc1)],_0x199f(0x21));_0x45d50a[_0x199f(0xc8)](_0x320332,_0x3d16d0),_0x45d50a[_0x199f(0xc8)](_0x3671e3,_0x3d16d0),_0x45d50a[_0x199f(0x45)](triggerHaptic,HapticType[_0x199f(0xc9)]);}}catch(_0x3442c7){_0x45d50a[_0x199f(0xca)](_0x3442c7['code'],_0x199f(0xcb))&&(console['error'](_0x45d50a['sjRKs'],_0x3442c7),_0x45d50a[_0x199f(0xcc)](_0x5a953f,_0x45d50a[_0x199f(0xcd)]),_0x45d50a[_0x199f(0x43)](triggerHaptic,HapticType[_0x199f(0xa0)]));}}else _0x1b0113(_0xd845dc[_0x199f(0xce)]),_0xd845dc[_0x199f(0xcf)](_0x32f700,_0x494615[_0x199f(0xa0)]);},_0x2eddad=async()=>{const _0xd960b8={'UgLto':_0x45d50a['ZVhCv'],'cwIan':_0x45d50a[_0x199f(0xd0)],'RQPRY':'assistant','HDZEF':function(_0x3f34a7,_0x228931){return _0x45d50a['AtQbM'](_0x3f34a7,_0x228931);},'Uqxpp':function(_0x1292e2,_0x3bfa5d){return _0x45d50a['NbqYE'](_0x1292e2,_0x3bfa5d);},'exxaw':function(_0x3c382a,_0x55b7ea){return _0x45d50a[_0x199f(0x90)](_0x3c382a,_0x55b7ea);},'fSrKG':function(_0x131c97,_0x158ad6){return _0x131c97+_0x158ad6;},'hmuLR':_0x45d50a['DOhRD']},_0x4b0c99=_0x45d50a[_0x199f(0xd1)](_0x99cbc3,_0x199f(0x34))&&_0x36ec9e?_0x36ec9e:_0x6acced;if(!_0x4b0c99[_0x199f(0x52)]()){if(_0x45d50a[_0x199f(0xd2)](_0x45d50a['SIKSh'],_0x45d50a['SIKSh'])){_0x5a953f(_0x45d50a[_0x199f(0xd3)]),triggerHaptic(HapticType['ERROR']);return;}else{const _0xf2c3f7={'sguum':function(_0x1b5fe3,_0x22e9c8){return _0x45d50a[_0x199f(0xd4)](_0x1b5fe3,_0x22e9c8);},'nqwQI':_0x45d50a['gTnjq'],'IIuvo':_0x45d50a[_0x199f(0xd0)],'HKELp':function(_0x3af815,_0x3de9c2){return _0x3af815!==_0x3de9c2;}};_0x50f388[_0x199f(0x98)][_0x199f(0x8b)]((_0x17b908,_0x20b73a)=>{var _0x26e5a2;const _0x2285ac=_0x17b908[_0x199f(0x4f)]||_0x17b908[_0x199f(0x83)]||_0x17b908['message']||'';if(_0xf2c3f7[_0x199f(0xd5)](typeof _0x2285ac,_0xf2c3f7[_0x199f(0xd6)])&&_0x2285ac[_0x199f(0x52)]())_0x5abfce[_0x199f(0x7a)]({'id':_0x17b908['id']||_0x199f(0x53)+_0x20b73a,'role':_0x17b908['role']||_0x17b908['author']||_0xf2c3f7['IIuvo'],'content':_0x2285ac,'timestamp':_0x17b908['timestamp']||_0x17b908['created_at']});else(_0x26e5a2=_0x17b908[_0x199f(0x4f)])!==null&&_0xf2c3f7[_0x199f(0xd7)](_0x26e5a2,void 0x0)&&_0x26e5a2[_0x199f(0x50)]&&_0x1d7969['push']({'id':_0x17b908['id']||_0x199f(0x53)+_0x20b73a,'role':_0x17b908[_0x199f(0xb1)]||_0xf2c3f7[_0x199f(0xd8)],'content':_0x17b908[_0x199f(0x4f)][_0x199f(0x50)]['join']('\x0a'),'timestamp':_0x17b908[_0x199f(0xb8)]});});}}_0x45d50a[_0x199f(0xcc)](_0x5dc1b2,!![]),_0x45d50a[_0x199f(0xd9)](_0x5a953f,null);try{const _0xb6c941=_0x5bcbdc(_0x4b0c99);if(_0xb6c941['length']===0x0)throw new Error(_0x45d50a[_0x199f(0xda)]);const _0x2e68f8=await AsyncStorage[_0x199f(0xdb)](_0x199f(0xdc))||await AsyncStorage[_0x199f(0xdb)](_0x45d50a[_0x199f(0xdd)])||await AsyncStorage[_0x199f(0xdb)](_0x199f(0xde));if(!_0x2e68f8)throw new Error(_0x199f(0x14));const _0x29c314=_0x199f(0xdf)+_0x4149a3;let _0x315175=0x0;for(const _0x1df5f2 of _0xb6c941){if(_0x45d50a[_0x199f(0xe0)](_0x45d50a[_0x199f(0xe1)],_0x45d50a[_0x199f(0xe1)]))_0xf5d778[_0x199f(0x7a)]({'id':_0x1703af[_0x199f(0x84)]||_0x199f(0x53)+_0x12f9d5,'role':_0x219d3b['sender']===_0xd960b8[_0x199f(0xe2)]?_0xd960b8[_0x199f(0xe3)]:_0xd960b8[_0x199f(0xe4)],'content':_0x12817d[_0x199f(0x83)]||_0x1800db[_0x199f(0x4f)],'timestamp':_0x2f2c3d[_0x199f(0x80)]});else try{if(_0x45d50a[_0x199f(0xe5)](_0x45d50a[_0x199f(0xe6)],'zFefY'))_0xd960b8[_0x199f(0xe7)](_0x5e11fb,_0x199f(0x34)),_0x3a7934(_0x264705['BUTTON_PRESS']);else{const _0x2b82a0=await _0x45d50a['jiqvk'](fetch,API_CONFIG[_0x199f(0xe8)]+_0x199f(0xe9),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x199f(0xea)+_0x2e68f8},'body':JSON[_0x199f(0xeb)]({'platform':_0x29c314,'conversationData':{'conversationId':_0x1df5f2[_0x199f(0xec)],'messages':_0x1df5f2['messages'],'context':_0x1df5f2[_0x199f(0xed)],'mobileMetadata':{'platform':Platform['OS'],'appVersion':_0x45d50a['CHKjD'],'osVersion':Platform[_0x199f(0xee)],'isOfflineSync':![]}},'memoryType':_0x45d50a[_0x199f(0xef)],'metadata':{'source':_0x45d50a[_0x199f(0xf0)],'importedAt':new Date()[_0x199f(0x58)](),'originalPlatform':_0x4149a3}})});if(_0x2b82a0['ok']){if(_0x45d50a['rgAEt'](_0x45d50a[_0x199f(0xf1)],_0x45d50a[_0x199f(0xf2)]))_0x315175++;else{const _0x3c1167={'agTqo':function(_0x3c1b48,_0x2abc5d){return _0x3c1b48(_0x2abc5d);},'pAqZg':function(_0x71d8ff,_0x5050b6){return _0xd960b8[_0x199f(0xf3)](_0x71d8ff,_0x5050b6);},'gPrfm':function(_0x1c02cb,_0x6ace4d){return _0xd960b8[_0x199f(0xf4)](_0x1c02cb,_0x6ace4d);}};_0x5ac72d[_0x199f(0x8b)]((_0xec8320,_0x454898)=>{const _0x447e89=_0x3c1167['agTqo'](_0x330cdd,_0xec8320);_0x3c1167['pAqZg'](_0x447e89['length'],0x0)&&_0x366bf0[_0x199f(0x7a)]({'conversationId':_0xec8320['id']||_0xec8320['conversation_id']||_0x199f(0x7c)+_0x454898+'_'+_0x581107['now'](),'messages':_0x447e89,'context':{'title':_0xec8320['title']||_0xec8320[_0x199f(0x7d)]||'Conversation\x20'+_0x3c1167['gPrfm'](_0x454898,0x1),'create_time':_0xec8320[_0x199f(0x56)]||_0xec8320['created_at'],'update_time':_0xec8320['update_time']||_0xec8320[_0x199f(0x82)]}});});}}else{const _0x4ea7e2=await _0x2b82a0['text']();console['error'](_0x199f(0xf5)+_0x1df5f2['conversationId']+':',_0x4ea7e2);}}}catch(_0x245ca4){_0x45d50a['lytFS']===_0x45d50a['lytFS']?console[_0x199f(0xa4)](_0x199f(0xb4),_0x245ca4):_0x50d92e[_0x199f(0x7a)]({'conversationId':_0x1bc6ad['id']||_0x5c9f07['conversation_id']||_0x199f(0x7c)+_0x1fd018+'_'+_0x72d2c3[_0x199f(0x75)](),'messages':_0x85c744,'context':{'title':_0x54a845[_0x199f(0x76)]||_0x9ac248[_0x199f(0x7d)]||_0x199f(0x7e)+_0xd960b8[_0x199f(0xf6)](_0x41c0c3,0x1),'create_time':_0x4d1426[_0x199f(0x56)]||_0x579659[_0x199f(0x80)],'update_time':_0x148a34[_0x199f(0x81)]||_0x539f6b[_0x199f(0x82)]}});}}if(_0x45d50a[_0x199f(0xa2)](_0x315175,0x0))await AsyncStorage[_0x199f(0xf7)]('@onairos:llm_connected:'+_0x4149a3,JSON[_0x199f(0xeb)]({'connected':!![],'platform':_0x4149a3,'conversationsCount':_0x315175,'lastSyncAt':new Date()[_0x199f(0x58)]()})),_0x45d50a[_0x199f(0xf8)](triggerHaptic,HapticType['SUCCESS']),Alert[_0x199f(0xf9)](_0x45d50a['nxNSl'],_0x199f(0xfa)+_0x315175+_0x199f(0xfb)+(_0x45d50a[_0x199f(0xfc)](_0x315175,0x1)?'s':'')+_0x199f(0xfd)+_0x200174+'.',[{'text':'OK','onPress':()=>_0x24b07b(_0x4149a3)}]);else throw new Error(_0x45d50a['NyDJY']);}catch(_0x5c610d){if(_0x45d50a[_0x199f(0xfe)]==='fYbYW')throw new _0x17611f(_0xd960b8[_0x199f(0xff)]);else console[_0x199f(0xa4)](_0x45d50a[_0x199f(0x100)],_0x5c610d),_0x45d50a[_0x199f(0xcc)](_0x5a953f,_0x5c610d[_0x199f(0x4e)]||_0x45d50a[_0x199f(0x101)]),_0x45d50a[_0x199f(0x8c)](triggerHaptic,HapticType[_0x199f(0xa0)]);}finally{_0x45d50a[_0x199f(0x45)](_0x5dc1b2,![]);}},_0x54e396=()=>{if(_0x45d50a[_0x199f(0xab)](_0x199f(0x102),_0x45d50a[_0x199f(0x103)])){const _0x45f0df=_0x45d50a[_0x199f(0x104)][_0x199f(0x92)]('|');let _0x5a2789=0x0;while(!![]){switch(_0x45f0df[_0x5a2789++]){case'0':_0x45d50a['bjSJl'](_0x1af378,_0x45d50a[_0x199f(0x105)]);continue;case'1':_0x45d50a[_0x199f(0x43)](_0x320332,null);continue;case'2':_0x45d50a[_0x199f(0x106)](_0x5a953f,null);continue;case'3':_0x45d50a[_0x199f(0x8d)](_0x1b721b);continue;case'4':_0x3671e3('');continue;case'5':_0x45d50a[_0x199f(0x107)](_0x4cdba1,null);continue;}break;}}else _0x487a5b[_0x199f(0x0)]('react-native-fs not available - file upload disabled');};return React[_0x199f(0x108)](Modal,{'visible':_0x12da86,'animationType':_0x45d50a['ZknrG'],'presentationStyle':_0x45d50a[_0x199f(0x109)],'onRequestClose':_0x54e396},React[_0x199f(0x108)](KeyboardAvoidingView,{'style':styles[_0x199f(0x10a)],'behavior':_0x45d50a[_0x199f(0x10b)](Platform['OS'],'ios')?_0x45d50a[_0x199f(0x10c)]:_0x45d50a[_0x199f(0x10d)]},React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x10e)]},React['createElement'](TouchableOpacity,{'style':styles[_0x199f(0x10f)],'onPress':_0x54e396},React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x110)]},_0x45d50a[_0x199f(0x111)])),React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x112)]},_0x20df1f),React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x10f)]})),React[_0x199f(0x108)](ScrollView,{'style':styles[_0x199f(0x4f)],'contentContainerStyle':styles[_0x199f(0x113)],'keyboardShouldPersistTaps':_0x45d50a[_0x199f(0x114)]},React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x115)]},React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x116)]},_0x29610e)),React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x117)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x199f(0x118)],_0x45d50a[_0x199f(0x119)](_0x99cbc3,_0x45d50a[_0x199f(0x105)])&&styles[_0x199f(0x11a)]],'onPress':()=>{_0x1af378('paste'),triggerHaptic(HapticType[_0x199f(0x9e)]);}},React[_0x199f(0x108)](Text,{'style':[styles[_0x199f(0x11b)],_0x99cbc3===_0x45d50a['rORbJ']&&styles[_0x199f(0x11c)]]},_0x199f(0x11d))),React[_0x199f(0x108)](TouchableOpacity,{'style':[styles[_0x199f(0x118)],_0x45d50a[_0x199f(0x11e)](_0x99cbc3,_0x199f(0x34))&&styles[_0x199f(0x11a)],!FILE_UPLOAD_AVAILABLE&&styles[_0x199f(0x11f)]],'onPress':()=>{FILE_UPLOAD_AVAILABLE?(_0x45d50a['eRZaT'](_0x1af378,_0x45d50a['wvhUY']),_0x45d50a[_0x199f(0x120)](triggerHaptic,HapticType[_0x199f(0x9e)])):(_0x45d50a[_0x199f(0xc8)](_0x5a953f,_0x199f(0x121)),_0x45d50a[_0x199f(0xd9)](triggerHaptic,HapticType[_0x199f(0xa0)]));}},React[_0x199f(0x108)](Text,{'style':[styles[_0x199f(0x11b)],_0x99cbc3===_0x199f(0x34)&&styles[_0x199f(0x11c)],!FILE_UPLOAD_AVAILABLE&&styles[_0x199f(0x122)]]},_0x45d50a['zJLYf'],!FILE_UPLOAD_AVAILABLE&&_0x45d50a['EPmnQ']))),_0x45d50a['LdQvZ'](_0x99cbc3,_0x199f(0x33))?React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x123)]},React[_0x199f(0x108)](TextInput,{'style':styles[_0x199f(0x124)],'multiline':!![],'placeholder':_0x20d82d,'placeholderTextColor':COLORS['grey400'],'value':_0x6acced,'onChangeText':_0x3671e3,'textAlignVertical':_0x45d50a[_0x199f(0x125)],'autoCapitalize':_0x45d50a[_0x199f(0x126)],'autoCorrect':![]})):React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x127)]},React['createElement'](TouchableOpacity,{'style':styles[_0x199f(0x128)],'onPress':_0xac3e2a},React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x129)]},'📁'),React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x12a)]},_0x45d50a[_0x199f(0x12b)](_0x733df0,_0x45d50a['uxlRq']))),_0x733df0&&React['createElement'](View,{'style':styles[_0x199f(0x12c)]},React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x12d)]},'✓\x20',_0x733df0))),_0x192f9c&&React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x12e)]},React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x12f)]},_0x192f9c)),_0x45d50a['kIUXN'](_0x6acced[_0x199f(0x79)],0x0)&&React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x130)]},React[_0x199f(0x108)](Text,{'style':styles['previewTitle']},_0x45d50a[_0x199f(0x131)]),React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x132)],'numberOfLines':0x5},_0x6acced['substring'](0x0,0x1f4),_0x45d50a[_0x199f(0x133)](_0x6acced[_0x199f(0x79)],0x1f4)?_0x45d50a[_0x199f(0x134)]:''),React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x135)]},_0x6acced['length'][_0x199f(0x136)](),_0x45d50a['EHIOw']))),React[_0x199f(0x108)](View,{'style':styles[_0x199f(0x137)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x199f(0x138)],(!_0x6acced[_0x199f(0x52)]()||_0x4ba718)&&styles['submitButtonDisabled']],'onPress':_0x2eddad,'disabled':!_0x6acced['trim']()||_0x4ba718},_0x4ba718?React[_0x199f(0x108)](ActivityIndicator,{'color':_0x45d50a[_0x199f(0x139)],'size':_0x45d50a[_0x199f(0x13a)]}):React[_0x199f(0x108)](Text,{'style':styles[_0x199f(0x13b)]},_0x45d50a[_0x199f(0x13c)])))));},styles=StyleSheet[_0x199f(0x13d)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x199f(0x13e)]},'header':{'flexDirection':_0x199f(0x13f),'alignItems':'center','justifyContent':_0x199f(0x140),'paddingHorizontal':0x10,'paddingTop':Platform['OS']===_0x199f(0x141)?0xc:0x10,'paddingBottom':0xc,'borderBottomWidth':0x1,'borderBottomColor':_0x199f(0x142)},'headerTitle':{'fontSize':0x11,'fontWeight':_0x199f(0x143),'color':COLORS['grey800'],'fontFamily':'IBM\x20Plex\x20Sans'},'closeButton':{'width':0x3c},'closeButtonText':{'fontSize':0x10,'color':_0x199f(0x144),'fontFamily':'Inter'},'content':{'flex':0x1},'contentContainer':{'padding':0x14,'paddingBottom':0x28},'instructionsContainer':{'backgroundColor':'#F0F9FF','borderRadius':0xc,'padding':0x10,'marginBottom':0x14},'instructionsText':{'fontSize':0xe,'lineHeight':0x14,'color':_0x199f(0x145),'fontFamily':_0x199f(0x146)},'tabContainer':{'flexDirection':_0x199f(0x13f),'backgroundColor':_0x199f(0x147),'borderRadius':0xa,'padding':0x4,'marginBottom':0x14},'tab':{'flex':0x1,'paddingVertical':0xa,'borderRadius':0x8,'alignItems':_0x199f(0x148)},'tabActive':{'backgroundColor':'#FFFFFF','shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x1},'shadowOpacity':0.1,'shadowRadius':0x2,'elevation':0x2},'tabText':{'fontSize':0xe,'fontWeight':'500','color':COLORS[_0x199f(0x149)],'fontFamily':_0x199f(0x146)},'tabTextActive':{'color':COLORS[_0x199f(0x14a)]},'tabDisabled':{'opacity':0.5},'tabTextDisabled':{'color':COLORS['grey400']},'inputContainer':{'marginBottom':0x14},'textInput':{'backgroundColor':_0x199f(0x42),'borderWidth':0x1,'borderColor':COLORS[_0x199f(0x14b)],'borderRadius':0xc,'padding':0x10,'minHeight':0xc8,'fontSize':0xe,'fontFamily':Platform['OS']===_0x199f(0x141)?'Menlo':_0x199f(0x14c),'color':COLORS[_0x199f(0x14a)]},'fileInputContainer':{'marginBottom':0x14},'filePickButton':{'backgroundColor':_0x199f(0x42),'borderWidth':0x2,'borderColor':COLORS[_0x199f(0x14b)],'borderStyle':'dashed','borderRadius':0xc,'padding':0x28,'alignItems':_0x199f(0x148),'justifyContent':_0x199f(0x148)},'filePickIcon':{'fontSize':0x28,'marginBottom':0xc},'filePickText':{'fontSize':0xf,'color':COLORS['grey600'],'fontFamily':'Inter'},'fileSelectedContainer':{'marginTop':0xc,'backgroundColor':'#F0FDF4','borderRadius':0x8,'padding':0xc},'fileSelectedText':{'fontSize':0xe,'color':_0x199f(0x14d),'fontFamily':_0x199f(0x146),'fontWeight':'500'},'errorContainer':{'backgroundColor':'#FEF2F2','borderRadius':0x8,'padding':0xc,'marginBottom':0x10},'errorText':{'fontSize':0xe,'color':_0x199f(0x14e),'fontFamily':'Inter'},'previewContainer':{'backgroundColor':_0x199f(0x147),'borderRadius':0xc,'padding':0x10},'previewTitle':{'fontSize':0xe,'fontWeight':_0x199f(0x143),'color':COLORS[_0x199f(0x14a)],'marginBottom':0x8,'fontFamily':_0x199f(0x146)},'previewText':{'fontSize':0xc,'color':COLORS[_0x199f(0x14f)],'fontFamily':Platform['OS']===_0x199f(0x141)?'Menlo':_0x199f(0x14c),'lineHeight':0x12},'previewInfo':{'fontSize':0xc,'color':COLORS[_0x199f(0x149)],'marginTop':0x8,'fontFamily':'Inter'},'footer':{'padding':0x14,'paddingBottom':Platform['OS']===_0x199f(0x141)?0x22:0x14,'borderTopWidth':0x1,'borderTopColor':_0x199f(0x142),'backgroundColor':COLORS[_0x199f(0x13e)]},'submitButton':{'backgroundColor':'#10B981','borderRadius':0xc,'paddingVertical':0x10,'alignItems':_0x199f(0x148),'justifyContent':_0x199f(0x148)},'submitButtonDisabled':{'backgroundColor':COLORS[_0x199f(0x14b)]},'submitButtonText':{'fontSize':0x10,'fontWeight':'600','color':_0x199f(0x42),'fontFamily':_0x199f(0x146)}});export default LLMDataInputModal;
|
|
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';function _0x507b(_0x57b4cc,_0x507bf1){_0x57b4cc=_0x57b4cc-0x0;const _0x406915=_0x57b4();let _0x28262b=_0x406915[_0x57b4cc];return _0x28262b;}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(_0x3050d5){console[_0x507b(0x0)]('react-native-document-picker not available - file upload disabled');}try{RNFS=__ONAIROS_REQ_FUNC__(0x1);}catch(_0x4c42c){console[_0x507b(0x0)]('react-native-fs not available - file upload disabled');}const FILE_UPLOAD_AVAILABLE=DocumentPicker!==null&&RNFS!==null,LLMDataInputModal=({visible:_0x4cb14e,platform:_0x17fa18,platformName:_0x53ee9d,onClose:_0x58574a,onSuccess:_0x46baea})=>{const _0x44c9bb={'OURni':_0x507b(0x1),'KxoAM':_0x507b(0x2),'MVYIe':_0x507b(0x3),'OownT':_0x507b(0x4),'bvwNv':_0x507b(0x5),'Rqpzb':_0x507b(0x6),'wEfIt':_0x507b(0x7),'MszTc':_0x507b(0x8),'mFdaV':_0x507b(0x9),'iHXGr':'Export\x20your\x20Gemini\x20(Google\x20AI)\x20conversations\x20and\x20paste\x20the\x20data\x20below.','bKaBn':'Paste\x20your\x20Gemini\x20conversation\x20JSON\x20here...','wPxvE':'grok','TBFEv':_0x507b(0xa),'XkDpI':'Export\x20your\x20Grok\x20conversations\x20from\x20X/Twitter\x20and\x20paste\x20the\x20data\x20below.','iabpe':_0x507b(0xb),'oLjaK':_0x507b(0xc),'puBBp':_0x507b(0xd),'ZgJGn':'user','kxvxX':_0x507b(0xe),'tKyGT':function(_0x3bd475,_0xedf434){return _0x3bd475(_0xedf434);},'QlFch':function(_0xd943e9,_0xe12a3a){return _0xd943e9>_0xe12a3a;},'gGozB':function(_0x217dc3,_0x190b4f){return _0x217dc3!==_0x190b4f;},'kkswC':_0x507b(0xf),'EhitK':'Paste\x20your\x20Grok\x20conversation\x20JSON\x20here...','CvvaA':function(_0x42e6fe,_0x4edaaa){return _0x42e6fe(_0x4edaaa);},'VFqMm':function(_0x4e9166,_0xf6f2ae){return _0x4e9166+_0xf6f2ae;},'sAAgN':'pShAL','LaeHe':_0x507b(0x10),'myltD':function(_0x2a307c,_0xf1ce6a){return _0x2a307c>_0xf1ce6a;},'hbuCe':function(_0x299eda,_0x323e77){return _0x299eda===_0x323e77;},'LaaBR':_0x507b(0x11),'xcIEB':_0x507b(0x12),'kpWzN':function(_0x185b3c,_0x59fb90){return _0x185b3c(_0x59fb90);},'lCjYX':_0x507b(0x13),'ycMcW':'Invalid\x20JSON\x20format.\x20Please\x20check\x20your\x20data\x20and\x20try\x20again.','IuyCa':function(_0x4a39cc,_0x99e95d){return _0x4a39cc!==_0x99e95d;},'oozHr':function(_0x150ec7,_0x1b2f71){return _0x150ec7!==_0x1b2f71;},'osLya':_0x507b(0x14),'xzyra':function(_0x2bb89a,_0x1ed040){return _0x2bb89a===_0x1ed040;},'hxlUE':_0x507b(0x15),'XGybX':function(_0x250e5f,_0x2c93ab){return _0x250e5f*_0x2c93ab;},'RnxuW':'paste','hyPbs':_0x507b(0x16),'aRmbl':function(_0x3484a2,_0x3f7953){return _0x3484a2>_0x3f7953;},'FzLSh':_0x507b(0x17),'jCYXO':function(_0x4234c5,_0x27dc1e){return _0x4234c5===_0x27dc1e;},'fEsMO':_0x507b(0x18),'UJDwD':function(_0x22d083,_0x1a2f70){return _0x22d083===_0x1a2f70;},'hGLit':_0x507b(0x19),'ffmII':_0x507b(0x1a),'olyWZ':_0x507b(0x1b),'VIwxC':function(_0x133915,_0x5806cf){return _0x133915(_0x5806cf);},'TViRg':function(_0x509776,_0x204926){return _0x509776(_0x204926);},'WtcZu':function(_0x469e5d,_0x4d98b6){return _0x469e5d(_0x4d98b6);},'MwiFQ':_0x507b(0x1c),'aUNsq':function(_0x4c61df,_0x18563f){return _0x4c61df(_0x18563f);},'wwvfd':_0x507b(0x1d),'tiwei':_0x507b(0x1e),'QzIXz':_0x507b(0x1f),'ecseG':function(_0x85830,_0x370080){return _0x85830(_0x370080);},'IOARl':_0x507b(0x20),'vDuQP':function(_0x4ee504,_0x2492d4){return _0x4ee504(_0x2492d4);},'lLWPu':_0x507b(0x21),'VoHIY':_0x507b(0x22),'ThXyE':function(_0x28846c,_0x562ea4){return _0x28846c(_0x562ea4);},'gnejj':function(_0x27974a,_0x13cf70){return _0x27974a!==_0x13cf70;},'jQSAN':_0x507b(0x23),'EGPce':_0x507b(0x24),'eBotU':function(_0x168c12,_0x45a30f){return _0x168c12(_0x45a30f);},'bYwpY':_0x507b(0x25),'ZxhMw':_0x507b(0x26),'HkhAg':'enoch_token','EEhoH':'auth_token','kQUkZ':_0x507b(0x27),'hZwTN':function(_0x124918,_0x5ce071,_0x5f0ff7){return _0x124918(_0x5ce071,_0x5f0ff7);},'CVQWD':'1.0.0','tFdAl':_0x507b(0x28),'NfYRz':'mobile_app_import','xiLKi':function(_0x18c42d,_0x23ad6b){return _0x18c42d===_0x23ad6b;},'abgHp':_0x507b(0x29),'qAagX':'BVMeU','DROoT':'zxnpO','cvtfh':_0x507b(0x2a),'Hyzlz':function(_0x276161,_0x293282){return _0x276161(_0x293282);},'VMcZY':_0x507b(0x2b),'tHDoS':_0x507b(0x2c),'ecsBj':_0x507b(0x2d),'sdFqp':'Failed\x20to\x20import\x20data.\x20Please\x20try\x20again.','jdXNB':function(_0x22d9ea,_0x3e594c){return _0x22d9ea(_0x3e594c);},'rtysq':function(_0x5210c9,_0x12fcc1){return _0x5210c9(_0x12fcc1);},'rnSuy':function(_0x159096,_0xd06d58){return _0x159096(_0xd06d58);},'lGiFK':function(_0x2c90c0,_0x5e3db5){return _0x2c90c0(_0x5e3db5);},'PYWKn':function(_0x5d7a79,_0x412d03){return _0x5d7a79(_0x412d03);},'JTEyN':function(_0x1df941,_0x5edecd){return _0x1df941(_0x5edecd);},'pnHht':function(_0x1461ff,_0x138abb){return _0x1461ff!==_0x138abb;},'INPDK':_0x507b(0x2e),'lCgLh':function(_0xd44bfe,_0x4febea){return _0xd44bfe(_0x4febea);},'ByMxI':function(_0x1d4853,_0x1eec0e){return _0x1d4853(_0x1eec0e);},'YoEbI':function(_0x36dde4,_0x1bb9f9){return _0x36dde4(_0x1bb9f9);},'aTAbK':function(_0x4098ea){return _0x4098ea();},'gGWdo':_0x507b(0x2f),'KTBqH':_0x507b(0x30),'bCFRz':_0x507b(0x31),'mAows':'padding','bLsqs':_0x507b(0x32),'Mdmbj':_0x507b(0x33),'HngHo':_0x507b(0x34),'WKafm':function(_0x17acae,_0x553860){return _0x17acae===_0x553860;},'THoRH':function(_0x4f93d4,_0x896877){return _0x4f93d4===_0x896877;},'UNjcb':_0x507b(0x35),'xSrVA':function(_0x1c6a1d,_0x20dc17){return _0x1c6a1d&&_0x20dc17;},'raNZi':_0x507b(0x36),'extdl':_0x507b(0x37),'WJqGh':function(_0x5e1b74,_0x1ce7ac){return _0x5e1b74||_0x1ce7ac;},'GViTq':_0x507b(0x38),'iOMlm':_0x507b(0x39),'xOHlE':_0x507b(0x3a),'WcMtZ':_0x507b(0x3b),'JAAht':_0x507b(0x3c),'RcFsf':_0x507b(0x3d)},[_0xce3a77,_0xc2d818]=useState(_0x44c9bb['RnxuW']),[_0x4ffbc0,_0x4f5254]=_0x44c9bb[_0x507b(0x3e)](useState,''),[_0x485c6a,_0x5c0c99]=_0x44c9bb[_0x507b(0x3f)](useState,![]),[_0x6b1a68,_0x4ff04d]=_0x44c9bb[_0x507b(0x40)](useState,null),[_0x122374,_0x251a01]=_0x44c9bb['YoEbI'](useState,null),[_0x244d8b,_0x44bde4]=_0x44c9bb[_0x507b(0x41)](useState,null),_0x2d2928=()=>{switch(_0x17fa18){case _0x44c9bb[_0x507b(0x42)]:return{'title':_0x44c9bb['KxoAM'],'instructions':_0x44c9bb[_0x507b(0x43)],'placeholder':_0x44c9bb[_0x507b(0x44)]};case _0x507b(0x45):return{'title':_0x44c9bb['bvwNv'],'instructions':_0x44c9bb[_0x507b(0x46)],'placeholder':_0x44c9bb['wEfIt']};case _0x44c9bb['MszTc']:return{'title':_0x44c9bb[_0x507b(0x47)],'instructions':_0x44c9bb[_0x507b(0x48)],'placeholder':_0x44c9bb[_0x507b(0x49)]};case _0x44c9bb[_0x507b(0x4a)]:return{'title':_0x44c9bb[_0x507b(0x4b)],'instructions':_0x44c9bb[_0x507b(0x4c)],'placeholder':_0x507b(0x4d)};default:return{'title':_0x507b(0x4e)+_0x53ee9d,'instructions':_0x44c9bb[_0x507b(0x4f)],'placeholder':_0x44c9bb[_0x507b(0x50)]};}},{title:_0x33c0e6,instructions:_0x52ac9c,placeholder:_0x1aea3c}=_0x44c9bb[_0x507b(0x51)](_0x2d2928),_0x28053a=_0x1639cd=>{const _0x34d752={'fwNdq':function(_0x2e55a9,_0x4fb73a){return _0x44c9bb[_0x507b(0x52)](_0x2e55a9,_0x4fb73a);},'oQlYP':function(_0xc2a3c4,_0x173ade){return _0xc2a3c4(_0x173ade);},'hPKSN':function(_0x8c83cd,_0xf72880){return _0x44c9bb[_0x507b(0x53)](_0x8c83cd,_0xf72880);},'FmZLY':function(_0x2ed9ae,_0x37207c){return _0x44c9bb[_0x507b(0x54)](_0x2ed9ae,_0x37207c);}};try{const _0x456fd7=JSON[_0x507b(0x55)](_0x1639cd),_0x54f528=[];if(Array[_0x507b(0x56)](_0x456fd7))_0x456fd7[_0x507b(0x57)]((_0x23435b,_0x36f711)=>{const _0x51780d={'IjvrW':function(_0x1285ea,_0x2e6739){return _0x1285ea===_0x2e6739;},'CbZUr':_0x44c9bb['puBBp'],'HWofU':_0x44c9bb['ZgJGn'],'qcZZv':_0x44c9bb[_0x507b(0x58)]},_0x1584a6=_0x44c9bb[_0x507b(0x59)](_0x4a6654,_0x23435b);if(_0x44c9bb['QlFch'](_0x1584a6['length'],0x0)){if(_0x44c9bb[_0x507b(0x5a)](_0x507b(0xf),_0x44c9bb[_0x507b(0x5b)])){const _0x1c9cdd={'aJhfo':function(_0x12d2ef,_0x152a65){return _0x51780d[_0x507b(0x5c)](_0x12d2ef,_0x152a65);},'heoyl':_0x51780d[_0x507b(0x5d)],'nmdps':_0x51780d[_0x507b(0x5e)],'RENUn':_0x51780d['qcZZv']};_0x707181[_0x507b(0x5f)]['forEach']((_0x194256,_0x174a37)=>{(_0x194256[_0x507b(0x60)]||_0x194256[_0x507b(0x61)])&&_0x44f2e8[_0x507b(0x62)]({'id':_0x194256[_0x507b(0x63)]||'msg_'+_0x174a37,'role':_0x1c9cdd[_0x507b(0x64)](_0x194256[_0x507b(0x65)],_0x1c9cdd[_0x507b(0x66)])?_0x1c9cdd['nmdps']:_0x1c9cdd['RENUn'],'content':_0x194256[_0x507b(0x60)]||_0x194256['content'],'timestamp':_0x194256['created_at']});});}else _0x54f528[_0x507b(0x62)]({'conversationId':_0x23435b['id']||_0x23435b[_0x507b(0x67)]||_0x507b(0x68)+_0x36f711+'_'+Date[_0x507b(0x69)](),'messages':_0x1584a6,'context':{'title':_0x23435b[_0x507b(0x6a)]||_0x23435b[_0x507b(0x6b)]||_0x507b(0x6c)+(_0x36f711+0x1),'create_time':_0x23435b['create_time']||_0x23435b[_0x507b(0x6d)],'update_time':_0x23435b[_0x507b(0x6e)]||_0x23435b['updated_at']}});}});else{if(_0x456fd7['conversations']&&Array[_0x507b(0x56)](_0x456fd7[_0x507b(0x6f)])){if(_0x44c9bb[_0x507b(0x70)]!==_0x44c9bb['LaeHe'])_0x456fd7[_0x507b(0x6f)][_0x507b(0x57)]((_0x2bf67d,_0xf01de7)=>{if(_0x507b(0x71)===_0x507b(0x71)){const _0x554af1=_0x4a6654(_0x2bf67d);_0x34d752[_0x507b(0x72)](_0x554af1[_0x507b(0x73)],0x0)&&_0x54f528[_0x507b(0x62)]({'conversationId':_0x2bf67d['id']||'conv_'+_0xf01de7+'_'+Date[_0x507b(0x69)](),'messages':_0x554af1,'context':{'title':_0x2bf67d[_0x507b(0x6a)]||'Conversation\x20'+(_0xf01de7+0x1),'create_time':_0x2bf67d[_0x507b(0x74)],'update_time':_0x2bf67d[_0x507b(0x6e)]}});}else _0x34d752[_0x507b(0x75)](_0x20f416,_0x507b(0x76)),_0x34d752[_0x507b(0x77)](_0x1ec972,_0x2c3e6b[_0x507b(0x78)]);});else switch(_0x1a80ab){case _0x44c9bb[_0x507b(0x42)]:return{'title':_0x44c9bb['KxoAM'],'instructions':_0x44c9bb['MVYIe'],'placeholder':_0x44c9bb[_0x507b(0x44)]};case _0x507b(0x45):return{'title':_0x44c9bb['bvwNv'],'instructions':_0x507b(0x6),'placeholder':_0x44c9bb[_0x507b(0x79)]};case _0x507b(0x8):return{'title':_0x44c9bb['mFdaV'],'instructions':_0x44c9bb['iHXGr'],'placeholder':_0x44c9bb[_0x507b(0x49)]};case _0x44c9bb[_0x507b(0x4a)]:return{'title':_0x44c9bb['TBFEv'],'instructions':_0x44c9bb['XkDpI'],'placeholder':_0x44c9bb['EhitK']};default:return{'title':_0x507b(0x4e)+_0x3abb33,'instructions':_0x44c9bb[_0x507b(0x4f)],'placeholder':'Paste\x20your\x20conversation\x20JSON\x20here...'};}}else{if(_0x456fd7[_0x507b(0x7a)]||_0x456fd7[_0x507b(0x7b)]){const _0x435bbf=_0x44c9bb[_0x507b(0x59)](_0x4a6654,_0x456fd7);_0x44c9bb['myltD'](_0x435bbf[_0x507b(0x73)],0x0)&&(_0x44c9bb[_0x507b(0x7c)](_0x44c9bb[_0x507b(0x7d)],_0x507b(0x7e))?_0x3a9158++:_0x54f528[_0x507b(0x62)]({'conversationId':_0x456fd7['id']||_0x507b(0x68)+Date[_0x507b(0x69)](),'messages':_0x435bbf,'context':{'title':_0x456fd7['title']||_0x44c9bb[_0x507b(0x7f)],'create_time':_0x456fd7['create_time'],'update_time':_0x456fd7[_0x507b(0x6e)]}}));}else{const _0x2e04c1=_0x44c9bb[_0x507b(0x80)](_0x4a6654,_0x456fd7);_0x2e04c1[_0x507b(0x73)]>0x0&&_0x54f528[_0x507b(0x62)]({'conversationId':_0x507b(0x68)+Date['now'](),'messages':_0x2e04c1,'context':{'title':_0x456fd7[_0x507b(0x6a)]||_0x507b(0x12)}});}}}return _0x54f528;}catch(_0x51de88){if(_0x507b(0x13)===_0x44c9bb[_0x507b(0x81)]){console['error'](_0x507b(0x82),_0x51de88);throw new Error(_0x44c9bb['ycMcW']);}else _0x28bc9e[_0x507b(0x62)]({'conversationId':_0x478914['id']||_0x507b(0x68)+_0x26d048+'_'+_0xd24c42[_0x507b(0x69)](),'messages':_0xc41163,'context':{'title':_0x2f51a6[_0x507b(0x6a)]||_0x507b(0x6c)+_0x34d752['FmZLY'](_0x2e6b85,0x1),'create_time':_0x37c6b3['create_time'],'update_time':_0x5606fc['update_time']}});}},_0x4a6654=_0x86bf3d=>{const _0x398aa5={'WiGAJ':function(_0x5849aa,_0x60ac1){return _0x44c9bb[_0x507b(0x59)](_0x5849aa,_0x60ac1);},'laVzY':function(_0x28c2fd,_0x9ac1e9){return _0x44c9bb[_0x507b(0x83)](_0x28c2fd,_0x9ac1e9);},'mlmUu':function(_0x3238bf,_0x5ae117){return _0x3238bf+_0x5ae117;},'cCaMT':_0x44c9bb[_0x507b(0x84)],'DZyeN':function(_0x33e617,_0x5281a6){return _0x44c9bb[_0x507b(0x52)](_0x33e617,_0x5281a6);},'wKwak':'xNoGa','hlNlk':function(_0x32a2ac,_0x41bda4){return _0x44c9bb[_0x507b(0x85)](_0x32a2ac,_0x41bda4);},'xZXPk':_0x44c9bb['fEsMO'],'wCHvl':_0x44c9bb[_0x507b(0x86)],'hsmAh':function(_0x14297c,_0x2a29b8){return _0x14297c!==_0x2a29b8;},'vOXEO':function(_0x58cf2c,_0x14f45b){return _0x44c9bb[_0x507b(0x87)](_0x58cf2c,_0x14f45b);},'CVQYx':_0x44c9bb['hGLit']};if(_0x507b(0x88)===_0x44c9bb['ffmII'])_0x2939dd=_0x2ed3ee(0x1);else{const _0x4400b3=[];return _0x86bf3d[_0x507b(0x7a)]&&Object[_0x507b(0x89)](_0x86bf3d[_0x507b(0x7a)])[_0x507b(0x57)]((_0x4866b9,_0x2b8db3)=>{var _0x2fc4db;if(_0x44c9bb[_0x507b(0x5a)](_0x4866b9,null)&&_0x44c9bb['IuyCa'](_0x4866b9,void 0x0)&&_0x44c9bb[_0x507b(0x8a)](_0x2fc4db=_0x4866b9['message'],null)&&_0x2fc4db!==void 0x0&&(_0x2fc4db=_0x2fc4db[_0x507b(0x61)])!==null&&_0x44c9bb[_0x507b(0x5a)](_0x2fc4db,void 0x0)&&_0x2fc4db['parts']){if(_0x44c9bb['oozHr'](_0x44c9bb[_0x507b(0x8b)],_0x507b(0x14))){const _0x5c2af8=_0x398aa5[_0x507b(0x8c)](_0x27b633,_0x20c7a0);_0x398aa5[_0x507b(0x8d)](_0x5c2af8['length'],0x0)&&_0x25c8c7[_0x507b(0x62)]({'conversationId':_0x2be887['id']||_0x5e69b5[_0x507b(0x67)]||_0x507b(0x68)+_0x2d6308+'_'+_0x4fe9a4[_0x507b(0x69)](),'messages':_0x5c2af8,'context':{'title':_0xafba83[_0x507b(0x6a)]||_0x2705fb[_0x507b(0x6b)]||_0x507b(0x6c)+_0x398aa5[_0x507b(0x8e)](_0x2d91d1,0x1),'create_time':_0x31c57b[_0x507b(0x74)]||_0x2b883f[_0x507b(0x6d)],'update_time':_0x4f058d[_0x507b(0x6e)]||_0x2c83cd[_0x507b(0x8f)]}});}else{const _0x3b1881=_0x4866b9[_0x507b(0x90)][_0x507b(0x61)][_0x507b(0x91)][_0x507b(0x92)]('\x0a');if(_0x3b1881[_0x507b(0x93)]()){var _0x59758d;_0x4400b3[_0x507b(0x62)]({'id':_0x4866b9[_0x507b(0x90)]['id']||'msg_'+_0x2b8db3,'role':(_0x44c9bb[_0x507b(0x94)](_0x59758d=_0x4866b9['message'][_0x507b(0x95)],null)||_0x59758d===void 0x0?void 0x0:_0x59758d[_0x507b(0x96)])||_0x44c9bb['hxlUE'],'content':_0x3b1881,'timestamp':_0x4866b9[_0x507b(0x90)][_0x507b(0x74)]?new Date(_0x44c9bb[_0x507b(0x97)](_0x4866b9[_0x507b(0x90)][_0x507b(0x74)],0x3e8))[_0x507b(0x98)]():undefined});}}}}),_0x86bf3d[_0x507b(0x7b)]&&Array[_0x507b(0x56)](_0x86bf3d[_0x507b(0x7b)])&&_0x86bf3d[_0x507b(0x7b)][_0x507b(0x57)]((_0x351508,_0x56f626)=>{const _0x5127a8={'voiLS':_0x507b(0x21),'ebGsk':_0x398aa5[_0x507b(0x99)],'tHfMY':function(_0x4e4c96,_0x1ba034){return _0x398aa5['DZyeN'](_0x4e4c96,_0x1ba034);}};if(_0x398aa5[_0x507b(0x9a)]!==_0x398aa5[_0x507b(0x9a)])_0xd27826?(_0x1d66c6(_0x5127a8[_0x507b(0x9b)]),_0x44484d(_0x4881bb['BUTTON_PRESS'])):(_0x1d952c(_0x5127a8[_0x507b(0x9c)]),_0x1a1218(_0x2d2339[_0x507b(0x9d)]));else{var _0x32d8d1;const _0x11d59c=_0x351508['content']||_0x351508[_0x507b(0x60)]||_0x351508[_0x507b(0x90)]||'';if(_0x398aa5[_0x507b(0x9e)](typeof _0x11d59c,_0x398aa5[_0x507b(0x9f)])&&_0x11d59c[_0x507b(0x93)]())_0x4400b3[_0x507b(0x62)]({'id':_0x351508['id']||_0x507b(0xa0)+_0x56f626,'role':_0x351508[_0x507b(0x96)]||_0x351508['author']||_0x398aa5[_0x507b(0xa1)],'content':_0x11d59c,'timestamp':_0x351508['timestamp']||_0x351508['created_at']});else _0x398aa5[_0x507b(0xa2)](_0x32d8d1=_0x351508[_0x507b(0x61)],null)&&_0x398aa5['hsmAh'](_0x32d8d1,void 0x0)&&_0x32d8d1[_0x507b(0x91)]&&(_0x398aa5[_0x507b(0xa3)](_0x507b(0xa4),_0x398aa5[_0x507b(0xa5)])?(_0x5127a8[_0x507b(0xa6)](_0x5c72f3,_0x5127a8['voiLS']),_0x10b04b(_0x311fac[_0x507b(0x78)])):_0x4400b3['push']({'id':_0x351508['id']||'msg_'+_0x56f626,'role':_0x351508[_0x507b(0x96)]||_0x507b(0xa7),'content':_0x351508[_0x507b(0x61)]['parts'][_0x507b(0x92)]('\x0a'),'timestamp':_0x351508['timestamp']}));}}),_0x86bf3d[_0x507b(0x5f)]&&Array['isArray'](_0x86bf3d[_0x507b(0x5f)])&&_0x86bf3d[_0x507b(0x5f)][_0x507b(0x57)]((_0x5dc029,_0x1ee1a5)=>{const _0x5b3d79={'WUjYr':function(_0x1cca14,_0x1b6ab9){return _0x44c9bb['kpWzN'](_0x1cca14,_0x1b6ab9);},'FdMeJ':_0x44c9bb[_0x507b(0xa8)],'XbOUY':function(_0x2312ff){return _0x2312ff();}};if(_0x5dc029['text']||_0x5dc029[_0x507b(0x61)]){if(_0x44c9bb[_0x507b(0xa9)]===_0x44c9bb[_0x507b(0xa9)])_0x4400b3[_0x507b(0x62)]({'id':_0x5dc029[_0x507b(0x63)]||_0x507b(0xa0)+_0x1ee1a5,'role':_0x5dc029[_0x507b(0x65)]===_0x507b(0xd)?_0x44c9bb[_0x507b(0x86)]:_0x44c9bb['kxvxX'],'content':_0x5dc029[_0x507b(0x60)]||_0x5dc029[_0x507b(0x61)],'timestamp':_0x5dc029[_0x507b(0x6d)]});else{const _0x482e48=_0x507b(0xaa)[_0x507b(0xab)]('|');let _0x1d533d=0x0;while(!![]){switch(_0x482e48[_0x1d533d++]){case'0':_0x462167(null);continue;case'1':_0x3eb4b2('');continue;case'2':_0x5b3d79[_0x507b(0xac)](_0x273d22,_0x5b3d79[_0x507b(0xad)]);continue;case'3':_0x5b3d79[_0x507b(0xac)](_0x4ac279,null);continue;case'4':_0x5b3d79[_0x507b(0xae)](_0x2d4fff);continue;case'5':_0x5b3d79['WUjYr'](_0x1ae113,null);continue;}break;}}}}),_0x4400b3;}},_0x2f6416=async()=>{const _0x2b0256={'gVsXb':function(_0x6c2334,_0xfb71a6){return _0x44c9bb[_0x507b(0x85)](_0x6c2334,_0xfb71a6);},'GwZxV':'string','FfRJT':_0x44c9bb[_0x507b(0x86)],'hfFhe':function(_0x1a3859,_0x2a0731){return _0x1a3859!==_0x2a0731;}};if(!FILE_UPLOAD_AVAILABLE){if(_0x44c9bb[_0x507b(0xaf)]!==_0x44c9bb[_0x507b(0xaf)])_0x18e67b[_0x507b(0x7b)]['forEach']((_0x4b50cd,_0x532336)=>{var _0x42b1d2;const _0x55da33=_0x4b50cd[_0x507b(0x61)]||_0x4b50cd[_0x507b(0x60)]||_0x4b50cd[_0x507b(0x90)]||'';if(_0x2b0256['gVsXb'](typeof _0x55da33,_0x2b0256[_0x507b(0xb0)])&&_0x55da33[_0x507b(0x93)]())_0x55681a[_0x507b(0x62)]({'id':_0x4b50cd['id']||_0x507b(0xa0)+_0x532336,'role':_0x4b50cd['role']||_0x4b50cd[_0x507b(0x95)]||_0x2b0256['FfRJT'],'content':_0x55da33,'timestamp':_0x4b50cd[_0x507b(0xb1)]||_0x4b50cd[_0x507b(0x6d)]});else(_0x42b1d2=_0x4b50cd[_0x507b(0x61)])!==null&&_0x2b0256[_0x507b(0xb2)](_0x42b1d2,void 0x0)&&_0x42b1d2[_0x507b(0x91)]&&_0x4c0044[_0x507b(0x62)]({'id':_0x4b50cd['id']||_0x507b(0xa0)+_0x532336,'role':_0x4b50cd[_0x507b(0x96)]||_0x2b0256[_0x507b(0xb3)],'content':_0x4b50cd[_0x507b(0x61)][_0x507b(0x91)][_0x507b(0x92)]('\x0a'),'timestamp':_0x4b50cd[_0x507b(0xb1)]});});else{_0x4ff04d('File upload requires react-native-document-picker and react-native-fs. Please paste data instead.');return;}}try{_0x44c9bb[_0x507b(0xb4)](_0x4ff04d,null);const {pick:_0x194f63,types:_0x2a9d37}=DocumentPicker,_0x4fb965=await _0x44c9bb[_0x507b(0xb5)](_0x194f63,{'type':[_0x2a9d37[_0x507b(0xb6)],_0x2a9d37[_0x507b(0xb7)],_0x2a9d37[_0x507b(0xb8)]]});if(_0x4fb965&&_0x4fb965[0x0]){const _0x44aac3=_0x4fb965[0x0];_0x44c9bb['WtcZu'](_0x251a01,_0x44aac3[_0x507b(0x6b)]||_0x507b(0xb9));let _0x39ca9a;_0x44aac3[_0x507b(0xba)][_0x507b(0xbb)](_0x44c9bb[_0x507b(0xbc)])?_0x39ca9a=await RNFS[_0x507b(0xbd)](_0x44aac3[_0x507b(0xba)],_0x507b(0xbe)):_0x39ca9a=await RNFS[_0x507b(0xbd)](_0x44aac3[_0x507b(0xba)],'utf8'),_0x44c9bb['aUNsq'](_0x44bde4,_0x39ca9a),_0x4f5254(_0x39ca9a),triggerHaptic(HapticType[_0x507b(0xbf)]);}}catch(_0x236166){_0x236166[_0x507b(0xc0)]!==_0x44c9bb[_0x507b(0xc1)]&&(console[_0x507b(0xc2)](_0x44c9bb[_0x507b(0xc3)],_0x236166),_0x4ff04d(_0x44c9bb[_0x507b(0xc4)]),_0x44c9bb[_0x507b(0xc5)](triggerHaptic,HapticType[_0x507b(0x9d)]));}},_0x46ccd6=async()=>{const _0x4c1d0f={'RZzHs':function(_0x2c0d61,_0x564dda){return _0x44c9bb[_0x507b(0xc6)](_0x2c0d61,_0x564dda);},'EXZWS':function(_0x509533,_0x4e19b8){return _0x509533+_0x4e19b8;},'xnOWK':_0x44c9bb[_0x507b(0x7f)],'oDyxn':function(_0x5616aa,_0x108dc3){return _0x44c9bb[_0x507b(0xc7)](_0x5616aa,_0x108dc3);}},_0x545083=_0x44c9bb[_0x507b(0x85)](_0xce3a77,_0x44c9bb['lLWPu'])&&_0x244d8b?_0x244d8b:_0x4ffbc0;if(!_0x545083[_0x507b(0x93)]()){_0x44c9bb['VIwxC'](_0x4ff04d,_0x44c9bb['VoHIY']),triggerHaptic(HapticType['ERROR']);return;}_0x44c9bb[_0x507b(0xc8)](_0x5c0c99,!![]),_0x44c9bb[_0x507b(0x52)](_0x4ff04d,null);try{if(_0x44c9bb[_0x507b(0xc9)](_0x44c9bb[_0x507b(0xca)],_0x44c9bb['EGPce'])){const _0x2a6ed6=_0x44c9bb[_0x507b(0x3f)](_0x28053a,_0x545083);if(_0x44c9bb[_0x507b(0x7c)](_0x2a6ed6[_0x507b(0x73)],0x0))throw new Error(_0x44c9bb[_0x507b(0xcb)]);const _0x546d94=await AsyncStorage[_0x507b(0xcc)](_0x44c9bb['ZxhMw'])||await AsyncStorage[_0x507b(0xcc)](_0x44c9bb[_0x507b(0xcd)])||await AsyncStorage[_0x507b(0xcc)](_0x44c9bb[_0x507b(0xce)]);if(!_0x546d94)throw new Error(_0x44c9bb[_0x507b(0xcf)]);const _0x256fff=_0x507b(0xd0)+_0x17fa18;let _0x4f07fb=0x0;for(const _0x5cd759 of _0x2a6ed6){if(_0x507b(0x27)===_0x44c9bb[_0x507b(0xd1)])try{const _0x3bfc24=await _0x44c9bb['hZwTN'](fetch,API_CONFIG['BASE_URL']+_0x507b(0xd2),{'method':'POST','headers':{'Content-Type':'application/json','Authorization':_0x507b(0xd3)+_0x546d94},'body':JSON[_0x507b(0xd4)]({'platform':_0x256fff,'conversationData':{'conversationId':_0x5cd759[_0x507b(0xd5)],'messages':_0x5cd759['messages'],'context':_0x5cd759[_0x507b(0xd6)],'mobileMetadata':{'platform':Platform['OS'],'appVersion':_0x44c9bb[_0x507b(0xd7)],'osVersion':Platform[_0x507b(0xd8)],'isOfflineSync':![]}},'memoryType':_0x44c9bb['tFdAl'],'metadata':{'source':_0x44c9bb[_0x507b(0xd9)],'importedAt':new Date()[_0x507b(0x98)](),'originalPlatform':_0x17fa18}})});if(_0x3bfc24['ok']){if(_0x44c9bb[_0x507b(0xda)](_0x44c9bb[_0x507b(0xdb)],_0x507b(0xdc))){const _0xf5abd3={'Hzpdv':function(_0x5f037c,_0x4c509f){return _0x5f037c(_0x4c509f);},'jhzIt':function(_0x4e0960,_0x21db94){return _0x4e0960+_0x21db94;}};_0x119a0a[_0x507b(0x6f)][_0x507b(0x57)]((_0x1b7e01,_0x3108c8)=>{const _0x416e3d=_0xf5abd3[_0x507b(0xdd)](_0x24c1e7,_0x1b7e01);_0x416e3d['length']>0x0&&_0x3ea337['push']({'conversationId':_0x1b7e01['id']||_0x507b(0x68)+_0x3108c8+'_'+_0x3294d1['now'](),'messages':_0x416e3d,'context':{'title':_0x1b7e01[_0x507b(0x6a)]||_0x507b(0x6c)+_0xf5abd3['jhzIt'](_0x3108c8,0x1),'create_time':_0x1b7e01[_0x507b(0x74)],'update_time':_0x1b7e01[_0x507b(0x6e)]}});});}else _0x4f07fb++;}else{if(_0x507b(0xde)===_0x44c9bb['qAagX']){const _0x34b004=await _0x3bfc24[_0x507b(0x60)]();console['error'](_0x507b(0xdf)+_0x5cd759[_0x507b(0xd5)]+':',_0x34b004);}else throw new _0x4bd9c2(_0x44c9bb[_0x507b(0xcf)]);}}catch(_0x13d357){_0x44c9bb[_0x507b(0xda)](_0x44c9bb['DROoT'],_0x44c9bb[_0x507b(0xe0)])?_0x405430['forEach']((_0xd251cf,_0x563d18)=>{const _0xfb4eb2=_0x4c1d0f[_0x507b(0xe1)](_0x3964b8,_0xd251cf);_0xfb4eb2['length']>0x0&&_0x35a500[_0x507b(0x62)]({'conversationId':_0xd251cf['id']||_0xd251cf[_0x507b(0x67)]||_0x507b(0x68)+_0x563d18+'_'+_0x3dfca5[_0x507b(0x69)](),'messages':_0xfb4eb2,'context':{'title':_0xd251cf[_0x507b(0x6a)]||_0xd251cf[_0x507b(0x6b)]||'Conversation\x20'+_0x4c1d0f[_0x507b(0xe2)](_0x563d18,0x1),'create_time':_0xd251cf[_0x507b(0x74)]||_0xd251cf[_0x507b(0x6d)],'update_time':_0xd251cf[_0x507b(0x6e)]||_0xd251cf['updated_at']}});}):console[_0x507b(0xc2)](_0x507b(0xe3),_0x13d357);}else _0x297d8f['push']({'conversationId':_0x5e2f69['id']||_0x507b(0x68)+_0x52effa[_0x507b(0x69)](),'messages':_0x353032,'context':{'title':_0x49520c[_0x507b(0x6a)]||_0x4c1d0f[_0x507b(0xe4)],'create_time':_0x180016[_0x507b(0x74)],'update_time':_0x205b67[_0x507b(0x6e)]}});}if(_0x4f07fb>0x0)await AsyncStorage[_0x507b(0xe5)](_0x507b(0xe6)+_0x17fa18,JSON['stringify']({'connected':!![],'platform':_0x17fa18,'conversationsCount':_0x4f07fb,'lastSyncAt':new Date()['toISOString']()})),_0x44c9bb[_0x507b(0x40)](triggerHaptic,HapticType[_0x507b(0xbf)]),Alert[_0x507b(0xe7)](_0x44c9bb[_0x507b(0xe8)],_0x507b(0xe9)+_0x4f07fb+_0x507b(0xea)+(_0x4f07fb>0x1?'s':'')+_0x507b(0xeb)+_0x53ee9d+'.',[{'text':'OK','onPress':()=>_0x46baea(_0x17fa18)}]);else throw new Error(_0x44c9bb[_0x507b(0xec)]);}else _0x1c0cf8=_0x4c1d0f[_0x507b(0xed)](_0x50e534,0x0);}catch(_0x45b05d){_0x507b(0x2d)===_0x44c9bb['ecsBj']?(console['error']('Submit\x20error:',_0x45b05d),_0x4ff04d(_0x45b05d[_0x507b(0x90)]||_0x44c9bb['sdFqp']),_0x44c9bb[_0x507b(0xc7)](triggerHaptic,HapticType[_0x507b(0x9d)])):_0x2c7fb8[_0x507b(0x62)]({'conversationId':_0x30808b['id']||_0x927b6d[_0x507b(0x67)]||_0x507b(0x68)+_0x1d66c3+'_'+_0x21bf0e[_0x507b(0x69)](),'messages':_0x2ff6d8,'context':{'title':_0x39c82e[_0x507b(0x6a)]||_0xf8d13a[_0x507b(0x6b)]||_0x507b(0x6c)+(_0x46d32a+0x1),'create_time':_0x3a4f17[_0x507b(0x74)]||_0x105bba[_0x507b(0x6d)],'update_time':_0x4f438c[_0x507b(0x6e)]||_0xcd09fe['updated_at']}});}finally{_0x44c9bb['gGozB']('hfZjH',_0x507b(0xee))?_0x5c0c99(![]):(_0x5c31c4[_0x507b(0x60)]||_0x51f7b2[_0x507b(0x61)])&&_0x58e684[_0x507b(0x62)]({'id':_0x154f95[_0x507b(0x63)]||_0x507b(0xa0)+_0x5145b1,'role':_0x44c9bb['xzyra'](_0x394ca2[_0x507b(0x65)],_0x44c9bb[_0x507b(0xef)])?_0x44c9bb[_0x507b(0x86)]:_0x507b(0xe),'content':_0x1d8253[_0x507b(0x60)]||_0x4dc393[_0x507b(0x61)],'timestamp':_0x479bfa[_0x507b(0x6d)]});}},_0x40020b=()=>{_0x4f5254(''),_0x44bde4(null),_0x44c9bb[_0x507b(0xf0)](_0x251a01,null),_0x44c9bb[_0x507b(0x52)](_0x4ff04d,null),_0x44c9bb[_0x507b(0x41)](_0xc2d818,_0x44c9bb['RnxuW']),_0x58574a();};return React[_0x507b(0xf1)](Modal,{'visible':_0x4cb14e,'animationType':_0x44c9bb[_0x507b(0xf2)],'presentationStyle':_0x44c9bb['KTBqH'],'onRequestClose':_0x40020b},React[_0x507b(0xf1)](KeyboardAvoidingView,{'style':styles[_0x507b(0xf3)],'behavior':_0x44c9bb[_0x507b(0x87)](Platform['OS'],_0x44c9bb[_0x507b(0xf4)])?_0x44c9bb[_0x507b(0xf5)]:_0x507b(0xf6)},React[_0x507b(0xf1)](View,{'style':styles[_0x507b(0xf7)]},React[_0x507b(0xf1)](TouchableOpacity,{'style':styles[_0x507b(0xf8)],'onPress':_0x40020b},React['createElement'](Text,{'style':styles[_0x507b(0xf9)]},_0x44c9bb[_0x507b(0xfa)])),React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0xfb)]},_0x33c0e6),React['createElement'](View,{'style':styles[_0x507b(0xf8)]})),React[_0x507b(0xf1)](ScrollView,{'style':styles[_0x507b(0x61)],'contentContainerStyle':styles[_0x507b(0xfc)],'keyboardShouldPersistTaps':_0x44c9bb[_0x507b(0xfd)]},React[_0x507b(0xf1)](View,{'style':styles[_0x507b(0xfe)]},React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0xff)]},_0x52ac9c)),React['createElement'](View,{'style':styles['tabContainer']},React[_0x507b(0xf1)](TouchableOpacity,{'style':[styles['tab'],_0xce3a77===_0x44c9bb[_0x507b(0xa8)]&&styles[_0x507b(0x100)]],'onPress':()=>{_0x44c9bb[_0x507b(0x101)](_0xc2d818,_0x44c9bb[_0x507b(0xa8)]),_0x44c9bb[_0x507b(0x102)](triggerHaptic,HapticType[_0x507b(0x78)]);}},React[_0x507b(0xf1)](Text,{'style':[styles[_0x507b(0x103)],_0x44c9bb[_0x507b(0x94)](_0xce3a77,_0x44c9bb[_0x507b(0xa8)])&&styles['tabTextActive']]},_0x44c9bb[_0x507b(0x104)])),React['createElement'](TouchableOpacity,{'style':[styles[_0x507b(0x105)],_0x44c9bb[_0x507b(0x106)](_0xce3a77,_0x44c9bb[_0x507b(0x107)])&&styles[_0x507b(0x100)],!FILE_UPLOAD_AVAILABLE&&styles[_0x507b(0x108)]],'onPress':()=>{const _0xd2b61c={'SzkhE':function(_0x47a753,_0x28d656){return _0x47a753===_0x28d656;},'qGFnT':_0x44c9bb[_0x507b(0x86)],'rVPqn':function(_0x5703d3,_0x254bb2){return _0x44c9bb[_0x507b(0x5a)](_0x5703d3,_0x254bb2);}};if(FILE_UPLOAD_AVAILABLE)_0x44c9bb[_0x507b(0x109)](_0xc2d818,_0x507b(0x21)),_0x44c9bb[_0x507b(0x10a)](triggerHaptic,HapticType[_0x507b(0x78)]);else{if(_0x44c9bb['pnHht'](_0x44c9bb[_0x507b(0x10b)],_0x44c9bb[_0x507b(0x10b)])){var _0x4dc14c;const _0x50052f=_0x31bdfc[_0x507b(0x61)]||_0x17192a[_0x507b(0x60)]||_0xf3f541[_0x507b(0x90)]||'';if(_0xd2b61c[_0x507b(0x10c)](typeof _0x50052f,'string')&&_0x50052f[_0x507b(0x93)]())_0x5976ce[_0x507b(0x62)]({'id':_0x243a53['id']||_0x507b(0xa0)+_0x38b85b,'role':_0x192a2f[_0x507b(0x96)]||_0xf39764['author']||_0xd2b61c[_0x507b(0x10d)],'content':_0x50052f,'timestamp':_0x42db23[_0x507b(0xb1)]||_0x73cf1b[_0x507b(0x6d)]});else _0xd2b61c[_0x507b(0x10e)](_0x4dc14c=_0x3a1ce4['content'],null)&&_0xd2b61c[_0x507b(0x10e)](_0x4dc14c,void 0x0)&&_0x4dc14c[_0x507b(0x91)]&&_0x3a12c7[_0x507b(0x62)]({'id':_0xac0a44['id']||_0x507b(0xa0)+_0x4cff71,'role':_0x2f6c09['role']||_0xd2b61c[_0x507b(0x10d)],'content':_0x2c867a[_0x507b(0x61)]['parts']['join']('\x0a'),'timestamp':_0x298e13['timestamp']});}else _0x44c9bb[_0x507b(0x10f)](_0x4ff04d,_0x44c9bb[_0x507b(0x84)]),_0x44c9bb[_0x507b(0x52)](triggerHaptic,HapticType[_0x507b(0x9d)]);}}},React[_0x507b(0xf1)](Text,{'style':[styles['tabText'],_0x44c9bb[_0x507b(0x110)](_0xce3a77,_0x44c9bb[_0x507b(0x107)])&&styles[_0x507b(0x111)],!FILE_UPLOAD_AVAILABLE&&styles[_0x507b(0x112)]]},_0x44c9bb['UNjcb'],_0x44c9bb['xSrVA'](!FILE_UPLOAD_AVAILABLE,_0x44c9bb['raNZi'])))),_0xce3a77==='paste'?React[_0x507b(0xf1)](View,{'style':styles[_0x507b(0x113)]},React['createElement'](TextInput,{'style':styles[_0x507b(0x114)],'multiline':!![],'placeholder':_0x1aea3c,'placeholderTextColor':COLORS['grey400'],'value':_0x4ffbc0,'onChangeText':_0x4f5254,'textAlignVertical':_0x507b(0x115),'autoCapitalize':_0x44c9bb[_0x507b(0x116)],'autoCorrect':![]})):React[_0x507b(0xf1)](View,{'style':styles[_0x507b(0x117)]},React['createElement'](TouchableOpacity,{'style':styles[_0x507b(0x118)],'onPress':_0x2f6416},React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0x119)]},'📁'),React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0x11a)]},_0x44c9bb['WJqGh'](_0x122374,_0x44c9bb[_0x507b(0x11b)]))),_0x122374&&React['createElement'](View,{'style':styles[_0x507b(0x11c)]},React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0x11d)]},'✓\x20',_0x122374))),_0x6b1a68&&React[_0x507b(0xf1)](View,{'style':styles['errorContainer']},React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0x11e)]},_0x6b1a68)),_0x44c9bb[_0x507b(0x53)](_0x4ffbc0[_0x507b(0x73)],0x0)&&React['createElement'](View,{'style':styles['previewContainer']},React[_0x507b(0xf1)](Text,{'style':styles['previewTitle']},_0x44c9bb[_0x507b(0x11f)]),React['createElement'](Text,{'style':styles[_0x507b(0x120)],'numberOfLines':0x5},_0x4ffbc0[_0x507b(0x121)](0x0,0x1f4),_0x44c9bb['QlFch'](_0x4ffbc0[_0x507b(0x73)],0x1f4)?_0x44c9bb['xOHlE']:''),React[_0x507b(0xf1)](Text,{'style':styles['previewInfo']},_0x4ffbc0[_0x507b(0x73)][_0x507b(0x122)](),_0x507b(0x123)))),React[_0x507b(0xf1)](View,{'style':styles[_0x507b(0x124)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x507b(0x125)],(!_0x4ffbc0[_0x507b(0x93)]()||_0x485c6a)&&styles[_0x507b(0x126)]],'onPress':_0x46ccd6,'disabled':!_0x4ffbc0['trim']()||_0x485c6a},_0x485c6a?React[_0x507b(0xf1)](ActivityIndicator,{'color':_0x44c9bb[_0x507b(0x127)],'size':_0x44c9bb[_0x507b(0x128)]}):React[_0x507b(0xf1)](Text,{'style':styles[_0x507b(0x129)]},_0x44c9bb[_0x507b(0x12a)])))));},styles=StyleSheet['create']({'container':{'flex':0x1,'backgroundColor':COLORS['surface']},'header':{'flexDirection':_0x507b(0x12b),'alignItems':_0x507b(0x12c),'justifyContent':'space-between','paddingHorizontal':0x10,'paddingTop':Platform['OS']===_0x507b(0x31)?0xc:0x10,'paddingBottom':0xc,'borderBottomWidth':0x1,'borderBottomColor':_0x507b(0x12d)},'headerTitle':{'fontSize':0x11,'fontWeight':'600','color':COLORS[_0x507b(0x12e)],'fontFamily':_0x507b(0x12f)},'closeButton':{'width':0x3c},'closeButtonText':{'fontSize':0x10,'color':'#3B82F6','fontFamily':'Inter'},'content':{'flex':0x1},'contentContainer':{'padding':0x14,'paddingBottom':0x28},'instructionsContainer':{'backgroundColor':_0x507b(0x130),'borderRadius':0xc,'padding':0x10,'marginBottom':0x14},'instructionsText':{'fontSize':0xe,'lineHeight':0x14,'color':_0x507b(0x131),'fontFamily':'Inter'},'tabContainer':{'flexDirection':_0x507b(0x12b),'backgroundColor':_0x507b(0x132),'borderRadius':0xa,'padding':0x4,'marginBottom':0x14},'tab':{'flex':0x1,'paddingVertical':0xa,'borderRadius':0x8,'alignItems':_0x507b(0x12c)},'tabActive':{'backgroundColor':'#FFFFFF','shadowColor':_0x507b(0x133),'shadowOffset':{'width':0x0,'height':0x1},'shadowOpacity':0.1,'shadowRadius':0x2,'elevation':0x2},'tabText':{'fontSize':0xe,'fontWeight':_0x507b(0x134),'color':COLORS[_0x507b(0x135)],'fontFamily':_0x507b(0x136)},'tabTextActive':{'color':COLORS[_0x507b(0x12e)]},'tabDisabled':{'opacity':0.5},'tabTextDisabled':{'color':COLORS[_0x507b(0x137)]},'inputContainer':{'marginBottom':0x14},'textInput':{'backgroundColor':'#FFFFFF','borderWidth':0x1,'borderColor':COLORS[_0x507b(0x138)],'borderRadius':0xc,'padding':0x10,'minHeight':0xc8,'fontSize':0xe,'fontFamily':Platform['OS']===_0x507b(0x31)?'Menlo':_0x507b(0x139),'color':COLORS[_0x507b(0x12e)]},'fileInputContainer':{'marginBottom':0x14},'filePickButton':{'backgroundColor':_0x507b(0x3b),'borderWidth':0x2,'borderColor':COLORS['grey300'],'borderStyle':_0x507b(0x13a),'borderRadius':0xc,'padding':0x28,'alignItems':_0x507b(0x12c),'justifyContent':_0x507b(0x12c)},'filePickIcon':{'fontSize':0x28,'marginBottom':0xc},'filePickText':{'fontSize':0xf,'color':COLORS['grey600'],'fontFamily':_0x507b(0x136)},'fileSelectedContainer':{'marginTop':0xc,'backgroundColor':_0x507b(0x13b),'borderRadius':0x8,'padding':0xc},'fileSelectedText':{'fontSize':0xe,'color':_0x507b(0x13c),'fontFamily':_0x507b(0x136),'fontWeight':_0x507b(0x134)},'errorContainer':{'backgroundColor':_0x507b(0x13d),'borderRadius':0x8,'padding':0xc,'marginBottom':0x10},'errorText':{'fontSize':0xe,'color':_0x507b(0x13e),'fontFamily':_0x507b(0x136)},'previewContainer':{'backgroundColor':'#F3F4F6','borderRadius':0xc,'padding':0x10},'previewTitle':{'fontSize':0xe,'fontWeight':'600','color':COLORS['grey800'],'marginBottom':0x8,'fontFamily':'Inter'},'previewText':{'fontSize':0xc,'color':COLORS[_0x507b(0x13f)],'fontFamily':Platform['OS']==='ios'?_0x507b(0x140):_0x507b(0x139),'lineHeight':0x12},'previewInfo':{'fontSize':0xc,'color':COLORS[_0x507b(0x135)],'marginTop':0x8,'fontFamily':_0x507b(0x136)},'footer':{'padding':0x14,'paddingBottom':Platform['OS']==='ios'?0x22:0x14,'borderTopWidth':0x1,'borderTopColor':'#E5E7EB','backgroundColor':COLORS['surface']},'submitButton':{'backgroundColor':'#10B981','borderRadius':0xc,'paddingVertical':0x10,'alignItems':_0x507b(0x12c),'justifyContent':_0x507b(0x12c)},'submitButtonDisabled':{'backgroundColor':COLORS[_0x507b(0x138)]},'submitButtonText':{'fontSize':0x10,'fontWeight':_0x507b(0x141),'color':_0x507b(0x3b),'fontFamily':_0x507b(0x136)}});function _0x57b4(){const _0x1ff5fa=['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','Export\x20your\x20Claude\x20conversations\x20and\x20paste\x20the\x20JSON\x20data\x20below,\x20or\x20upload\x20your\x20exported\x20file.','Paste\x20your\x20Claude\x20conversation\x20JSON\x20here...','gemini','Connect\x20Gemini','Connect\x20Grok','Paste\x20your\x20conversation\x20data\x20below\x20or\x20upload\x20a\x20JSON\x20file.','Paste\x20your\x20conversation\x20JSON\x20here...','human','assistant','NIZrO','muUKE','bAMTa','Imported\x20Conversation','YaRxY','YXBcD','unknown','kBCoJ','File\x20upload\x20requires\x20additional\x20dependencies.\x20Please\x20paste\x20data\x20instead.','string','WbWjh','jflHK','QdAlA','content://','DOCUMENT_PICKER_CANCELED','File\x20pick\x20error:','Failed\x20to\x20read\x20file.\x20Please\x20try\x20again\x20or\x20paste\x20data\x20manually.','Authentication\x20required.\x20Please\x20sign\x20in\x20first.','file','Please\x20paste\x20or\x20upload\x20conversation\x20data\x20first.','HdOVX','BdhDD','No\x20valid\x20conversations\x20found\x20in\x20the\x20data.\x20Please\x20check\x20the\x20format.','onairos_jwt_token','OoOCv','conversation','BCzWd','vdPRZ','Success!\x20🎉','Failed\x20to\x20import\x20any\x20conversations.\x20Please\x20check\x20your\x20data\x20format.','LyfQG','sMyal','slide','pageSheet','ios','Cancel','handled','Paste\x20Data','Upload\x20File\x20','(N/A)','none','Tap\x20to\x20select\x20a\x20file','Data\x20Preview','...','#FFFFFF','small','Import\x20Conversations','ByMxI','eBotU','Hyzlz','rtysq','OURni','MVYIe','OownT','claude','Rqpzb','mFdaV','iHXGr','bKaBn','wPxvE','TBFEv','XkDpI','Paste\x20your\x20Grok\x20conversation\x20JSON\x20here...','Connect\x20','iabpe','oLjaK','aTAbK','CvvaA','QlFch','VFqMm','parse','isArray','forEach','kxvxX','tKyGT','gGozB','kkswC','IjvrW','CbZUr','HWofU','chat_messages','text','content','push','uuid','aJhfo','sender','heoyl','conversation_id','conv_','now','title','name','Conversation\x20','created_at','update_time','conversations','sAAgN','SMSyV','hPKSN','length','create_time','fwNdq','paste','oQlYP','BUTTON_PRESS','wEfIt','mapping','messages','hbuCe','LaaBR','NFGgk','xcIEB','kpWzN','lCjYX','Error\x20parsing\x20conversation\x20data:','aRmbl','FzLSh','jCYXO','ZgJGn','UJDwD','VZYvR','values','oozHr','osLya','WiGAJ','laVzY','mlmUu','updated_at','message','parts','join','trim','xzyra','author','role','XGybX','toISOString','cCaMT','wKwak','voiLS','ebGsk','ERROR','hlNlk','xZXPk','msg_','wCHvl','hsmAh','vOXEO','SlssH','CVQYx','tHfMY','user','RnxuW','hyPbs','1|3|0|5|2|4','split','WUjYr','FdMeJ','XbOUY','olyWZ','GwZxV','timestamp','hfFhe','FfRJT','VIwxC','TViRg','json','plainText','allFiles','Selected\x20file','uri','startsWith','MwiFQ','readFile','utf8','SUCCESS','code','wwvfd','error','tiwei','QzIXz','ecseG','aUNsq','vDuQP','ThXyE','gnejj','jQSAN','bYwpY','getItem','HkhAg','EEhoH','IOARl','mobile-','kQUkZ','/llm-data/store','Bearer\x20','stringify','conversationId','context','CVQWD','Version','NfYRz','xiLKi','abgHp','smxKz','Hzpdv','BVMeU','Failed\x20to\x20store\x20conversation\x20','cvtfh','RZzHs','EXZWS','Error\x20storing\x20conversation:','xnOWK','setItem','@onairos:llm_connected:','alert','VMcZY','Successfully\x20imported\x20','\x20conversation','\x20from\x20','tHDoS','oDyxn','vJdvi','puBBp','jdXNB','createElement','gGWdo','container','bCFRz','mAows','height','header','closeButton','closeButtonText','bLsqs','headerTitle','contentContainer','Mdmbj','instructionsContainer','instructionsText','tabActive','rnSuy','lGiFK','tabText','HngHo','tab','WKafm','lLWPu','tabDisabled','PYWKn','JTEyN','INPDK','SzkhE','qGFnT','rVPqn','lCgLh','THoRH','tabTextActive','tabTextDisabled','inputContainer','textInput','top','extdl','fileInputContainer','filePickButton','filePickIcon','filePickText','GViTq','fileSelectedContainer','fileSelectedText','errorText','iOMlm','previewText','substring','toLocaleString','\x20characters','footer','submitButton','submitButtonDisabled','WcMtZ','JAAht','submitButtonText','RcFsf','row','center','#E5E7EB','grey800','IBM\x20Plex\x20Sans','#F0F9FF','#0369A1','#F3F4F6','#000','500','grey500','Inter','grey400','grey300','monospace','dashed','#F0FDF4','#166534','#FEF2F2','#DC2626','grey600','Menlo','600'];_0x57b4=function(){return _0x1ff5fa;};return _0x57b4();}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';function _0x39ef(){const _0x22adf=['Go\x20back','createElement','Fragment','grabberContainer','grabber','container','closeButton','button','Close','closeText','centerSpacer','spacer','100%','#D0D0D0','row','flex-start','center','grey800','500'];_0x39ef=function(){return _0x22adf;};return _0x39ef();}import{View,StyleSheet,TouchableOpacity,Text}from'react-native';import{COLORS,SPACING}from'../theme';const ModalHeader=({onClose:_0xe421a1,onBack:_0x1c628f,showGrabber:showGrabber=!![],showBackButton:showBackButton=![]})=>{const _0x5e9852={'ckWvj':_0x439d(0x0)};return React[_0x439d(0x1)](React[_0x439d(0x2)],null,showGrabber&&React[_0x439d(0x1)](View,{'style':styles[_0x439d(0x3)]},React['createElement'](View,{'style':styles[_0x439d(0x4)]})),React['createElement'](View,{'style':styles[_0x439d(0x5)]},showBackButton?React[_0x439d(0x1)](TouchableOpacity,{'style':styles[_0x439d(0x6)],'onPress':_0x1c628f,'activeOpacity':0.7,'accessibilityLabel':_0x5e9852['ckWvj'],'accessibilityRole':_0x439d(0x7)},React['createElement'](Text,{'style':styles['backText']},'←')):React[_0x439d(0x1)](TouchableOpacity,{'style':styles[_0x439d(0x6)],'onPress':_0xe421a1,'activeOpacity':0.7,'accessibilityLabel':_0x439d(0x8),'accessibilityRole':_0x439d(0x7)},React[_0x439d(0x1)](Text,{'style':styles[_0x439d(0x9)]},'✕')),React[_0x439d(0x1)](View,{'style':styles[_0x439d(0xa)]}),React[_0x439d(0x1)](View,{'style':styles[_0x439d(0xb)]})));},styles=StyleSheet['create']({'grabberContainer':{'width':_0x439d(0xc),'alignItems':'center','paddingTop':0xc,'paddingBottom':0x4},'grabber':{'width':0x64,'height':0x6,'backgroundColor':_0x439d(0xd),'borderRadius':0x3},'container':{'flexDirection':_0x439d(0xe),'alignItems':_0x439d(0xf),'justifyContent':_0x439d(0xf),'height':0x2c,'paddingTop':0x0,'paddingLeft':0x4,'marginBottom':SPACING['md']},'closeButton':{'width':0x24,'height':0x24,'justifyContent':_0x439d(0x10),'alignItems':'center','marginTop':0x0},'closeText':{'fontSize':0x14,'color':COLORS[_0x439d(0x11)],'fontWeight':_0x439d(0x12)},'backText':{'fontSize':0x18,'color':COLORS['grey800'],'fontWeight':'500'},'centerSpacer':{'flex':0x1},'spacer':{'width':0x2c,'height':0x2c}});export{ModalHeader};function _0x439d(_0x39efde,_0x439d0c){_0x39efde=_0x39efde-0x0;const _0x3a75f6=_0x39ef();let _0x10b1ee=_0x3a75f6[_0x39efde];return _0x10b1ee;}export default ModalHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from'react';import{View,StyleSheet}from'react-native';
|
|
1
|
+
import React from'react';import{View,StyleSheet}from'react-native';function _0x1f5d(){const _0xfe8082=['createElement','container','bottom','create','surface','modalTop','modalHorizontal'];_0x1f5d=function(){return _0xfe8082;};return _0x1f5d();}import{COLORS,BORDER_RADIUS,SPACING}from'../theme';const ModalSheet=({children:_0x4faf81,topPadding:topPadding=SPACING['modalTopPadding'],onClose:_0x1d8a6e,showGrabber:showGrabber=!![],style:_0x2bfab9})=>{const _0x208bc0={'bottom':0x14};return React[_0x3efe(0x0)](View,{'style':[styles[_0x3efe(0x1)],{'paddingTop':topPadding,'paddingBottom':_0x208bc0[_0x3efe(0x2)]||SPACING['lg']},_0x2bfab9]},_0x4faf81);},styles=StyleSheet[_0x3efe(0x3)]({'container':{'backgroundColor':COLORS[_0x3efe(0x4)],'borderTopLeftRadius':BORDER_RADIUS[_0x3efe(0x5)],'borderTopRightRadius':BORDER_RADIUS[_0x3efe(0x5)],'borderBottomLeftRadius':0x0,'borderBottomRightRadius':0x0,'paddingHorizontal':SPACING[_0x3efe(0x6)],'flex':0x1,'minHeight':'80%'}});export{ModalSheet};function _0x3efe(_0x1f5dad,_0x3efe1b){_0x1f5dad=_0x1f5dad-0x0;const _0x32eab8=_0x1f5d();let _0x5ad89a=_0x32eab8[_0x1f5dad];return _0x5ad89a;}export default ModalSheet;
|