@onairos/react-native 3.4.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +423 -374
- package/lib/commonjs/api/index.js +9 -145
- package/lib/commonjs/assets/animations/loaderani.json +1 -0
- package/lib/commonjs/assets/animations/persona-animation.json +1 -0
- package/lib/commonjs/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
- package/lib/commonjs/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
- package/lib/commonjs/assets/icons/Facebookicon.png +0 -0
- package/lib/commonjs/assets/icons/Gmail.png +0 -0
- package/lib/commonjs/assets/icons/Linkedinicon.png +0 -0
- package/lib/commonjs/assets/icons/Redditicon.png +0 -0
- package/lib/commonjs/assets/icons/YouTubeicon2.png +0 -0
- package/lib/commonjs/assets/icons/YouTubeicon3.png +0 -0
- package/lib/commonjs/assets/icons/chatgpt.png +0 -0
- package/lib/commonjs/assets/icons/claude.png +0 -0
- package/lib/commonjs/assets/icons/gemini.png +0 -0
- package/lib/commonjs/assets/icons/grok.png +0 -0
- package/lib/commonjs/assets/images/Checkbox.svg +3 -0
- package/lib/commonjs/assets/images/EnochE.svg +19 -0
- package/lib/commonjs/assets/images/Enochicon1.png +0 -0
- package/lib/commonjs/assets/images/Face_ID_logo.png +0 -0
- package/lib/commonjs/assets/images/Facebookicon.png +0 -0
- package/lib/commonjs/assets/images/Gmail.png +0 -0
- package/lib/commonjs/assets/images/Googlelogo.png +0 -0
- package/lib/commonjs/assets/images/Linkedinicon.png +0 -0
- package/lib/commonjs/assets/images/OnairosNewLogo.png +0 -0
- package/lib/commonjs/assets/images/Onairoslogo.png +0 -0
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -0
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -0
- package/lib/commonjs/assets/images/Redditicon.png +0 -0
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -0
- package/lib/commonjs/assets/images/YouTubeicon3.png +0 -0
- package/lib/commonjs/assets/images/arrow.svg +20 -0
- package/lib/commonjs/assets/images/basicproficon.svg +43 -0
- package/lib/commonjs/assets/images/basicprofile.svg +3 -0
- package/lib/commonjs/assets/images/chatgpt.png +0 -0
- package/lib/commonjs/assets/images/checkmark.svg +4 -0
- package/lib/commonjs/assets/images/claude.png +0 -0
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -0
- package/lib/commonjs/assets/images/contenticon.svg +23 -0
- package/lib/commonjs/assets/images/gemini.png +0 -0
- package/lib/commonjs/assets/images/grok.png +0 -0
- package/lib/commonjs/assets/images/persona1.png +0 -0
- package/lib/commonjs/assets/images/persona2.png +0 -0
- package/lib/commonjs/assets/images/persona3.png +0 -0
- package/lib/commonjs/assets/images/persona4.png +0 -0
- package/lib/commonjs/assets/images/persona5.png +0 -0
- package/lib/commonjs/assets/images/personalityicon.svg +18 -0
- package/lib/commonjs/assets/images/x-close.svg +3 -0
- package/lib/commonjs/components/BodyText.js +9 -0
- package/lib/commonjs/components/BrandMark.js +10 -0
- package/lib/commonjs/components/CodeInput.js +9 -0
- package/lib/commonjs/components/EmailInput.js +8 -0
- package/lib/commonjs/components/GoogleButton.js +9 -0
- package/lib/commonjs/components/HeadingGroup.js +9 -0
- package/lib/commonjs/components/LLMDataInputModal.js +14 -0
- package/lib/commonjs/components/ModalHeader.js +9 -0
- package/lib/commonjs/components/ModalSheet.js +9 -0
- package/lib/commonjs/components/Onairos.js +14 -374
- package/lib/commonjs/components/OnairosButton.js +13 -309
- package/lib/commonjs/components/OnairosSignInButton.js +12 -0
- package/lib/commonjs/components/Overlay.js +13 -483
- package/lib/commonjs/components/PersonaImage.js +10 -0
- package/lib/commonjs/components/PersonaLoadingScreen.js +12 -0
- package/lib/commonjs/components/PersonalizationConsentScreen.js +13 -0
- package/lib/commonjs/components/PinCreationScreen.js +12 -0
- package/lib/commonjs/components/PinInput.js +9 -302
- package/lib/commonjs/components/PlatformConnectorsStep.js +23 -0
- package/lib/commonjs/components/PlatformList.js +10 -137
- package/lib/commonjs/components/PlatformToggle.js +9 -0
- package/lib/commonjs/components/PrimaryButton.js +10 -0
- package/lib/commonjs/components/SignInMatchAnimation.js +9 -0
- package/lib/commonjs/components/SignInStep.js +12 -0
- package/lib/commonjs/components/UniversalOnboarding.js +30 -1702
- package/lib/commonjs/components/VerificationStep.js +11 -0
- package/lib/commonjs/components/WelcomeScreen.js +22 -0
- package/lib/commonjs/components/icons/Basicproficon.js +8 -0
- package/lib/commonjs/components/icons/Basicprofile.js +8 -0
- package/lib/commonjs/components/icons/Checkbox.js +8 -0
- package/lib/commonjs/components/icons/Checkmark.js +8 -0
- package/lib/commonjs/components/icons/Contentanalysis.js +8 -0
- package/lib/commonjs/components/icons/Contenticon.js +8 -0
- package/lib/commonjs/components/icons/EnochE.js +8 -0
- package/lib/commonjs/components/icons/Personalityicon.js +8 -0
- package/lib/commonjs/components/icons/Personalityprofile.js +8 -0
- package/lib/commonjs/components/icons/Personalitytraits.js +8 -0
- package/lib/commonjs/components/icons/Userpreferences.js +8 -0
- package/lib/commonjs/components/icons/index.js +17 -0
- package/lib/commonjs/components/onboarding/OAuthWebView.js +18 -827
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +10 -74
- package/lib/commonjs/components/onboarding/PinInput.js +10 -283
- package/lib/commonjs/components/onboarding/PlatformConnector.js +11 -249
- package/lib/commonjs/config/api.js +7 -0
- package/lib/commonjs/constants/index.js +7 -83
- package/lib/commonjs/context/AuthContext.js +10 -0
- package/lib/commonjs/hooks/useConnectedAccounts.js +9 -0
- package/lib/commonjs/hooks/useConnections.js +8 -159
- package/lib/commonjs/hooks/useCredentials.js +10 -177
- package/lib/commonjs/hooks/useUserConnections.js +10 -0
- package/lib/commonjs/index.js +34 -106
- package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/commonjs/services/apiClient.js +8 -0
- package/lib/commonjs/services/apiKeyService.js +9 -952
- package/lib/commonjs/services/authService.js +10 -0
- package/lib/commonjs/services/biometricPinService.js +8 -0
- package/lib/commonjs/services/chatGPTConversationExtractor.js +8 -0
- package/lib/commonjs/services/chatGPTConversationService.js +9 -0
- package/lib/commonjs/services/claudeConversationExtractor.js +8 -0
- package/lib/commonjs/services/claudeConversationService.js +9 -0
- package/lib/commonjs/services/connectedAccountsService.js +10 -0
- package/lib/commonjs/services/googleAuthService.js +11 -0
- package/lib/commonjs/services/hingeDataExtractor.js +8 -0
- package/lib/commonjs/services/hingeDataService.js +9 -0
- package/lib/commonjs/services/imageCompressionService.js +7 -0
- package/lib/commonjs/services/instagramDataExtractor.js +8 -0
- package/lib/commonjs/services/instagramDataService.js +9 -0
- package/lib/commonjs/services/jwtStorageService.js +7 -0
- package/lib/commonjs/services/linkedinDOMExtractor.js +7 -0
- package/lib/commonjs/services/linkedinProfileService.js +9 -0
- package/lib/commonjs/services/linkedinScrapingService.js +8 -0
- package/lib/commonjs/services/llmDataStorage.js +8 -0
- package/lib/commonjs/services/mobileTrainingService.js +8 -0
- package/lib/commonjs/services/oauthService.js +11 -390
- package/lib/commonjs/services/pinEncryptionService.js +8 -0
- package/lib/commonjs/services/pinStorageUtils.js +7 -0
- package/lib/commonjs/services/platformAuthService.js +12 -1067
- package/lib/commonjs/services/sephoraDataExtractor.js +8 -0
- package/lib/commonjs/services/sephoraDataService.js +9 -0
- package/lib/commonjs/services/storageService.js +8 -0
- package/lib/commonjs/services/telegramDataExtractor.js +8 -0
- package/lib/commonjs/services/telegramDataService.js +11 -0
- package/lib/commonjs/services/trainingApiHelpers.js +7 -0
- package/lib/commonjs/services/userConnectionsService.js +10 -0
- package/lib/commonjs/services/youtubeMigrationService.js +10 -0
- package/lib/commonjs/theme/index.js +7 -0
- package/lib/commonjs/types/ambient.d.js +1 -2
- package/lib/commonjs/types/declarations.d.js +1 -2
- package/lib/commonjs/types/index.js +1 -6
- package/lib/commonjs/types/node-fix.d.js +1 -2
- package/lib/commonjs/types/node-override.d.js +1 -2
- package/lib/commonjs/types/opacity.d.js +1 -2
- package/lib/commonjs/types.js +1 -14
- package/lib/commonjs/utils/Portal.js +8 -98
- package/lib/commonjs/utils/api.js +9 -129
- package/lib/commonjs/utils/assetRegistry.js +33 -0
- package/lib/commonjs/utils/auth.js +9 -111
- package/lib/commonjs/utils/connectorTests.js +29 -0
- package/lib/commonjs/utils/crypto.js +8 -62
- package/lib/commonjs/utils/debugHelper.js +1 -64
- package/lib/commonjs/utils/encryption.js +7 -76
- package/lib/commonjs/utils/eventUtils.js +1 -0
- package/lib/commonjs/utils/haptics.js +9 -0
- package/lib/commonjs/utils/imagePreloader.js +1 -0
- package/lib/commonjs/utils/networkDiagnostics.js +8 -0
- package/lib/commonjs/utils/onairosApi.js +9 -350
- package/lib/commonjs/utils/programmaticFlow.js +9 -117
- package/lib/commonjs/utils/retryHelper.js +1 -220
- package/lib/commonjs/utils/secureStorage.js +10 -349
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -0
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -0
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -0
- package/lib/commonjs/utils/webviewScripts/index.js +13 -0
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -0
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -0
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -0
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -0
- package/lib/module/api/index.js +1 -139
- package/lib/module/assets/animations/loaderani.json +1 -0
- package/lib/module/assets/animations/persona-animation.json +1 -0
- package/lib/module/assets/fonts/EBGaramond-VariableFont_wght.ttf +0 -0
- package/lib/module/assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
- package/lib/module/assets/icons/Facebookicon.png +0 -0
- package/lib/module/assets/icons/Gmail.png +0 -0
- package/lib/module/assets/icons/Linkedinicon.png +0 -0
- package/lib/module/assets/icons/Redditicon.png +0 -0
- package/lib/module/assets/icons/YouTubeicon2.png +0 -0
- package/lib/module/assets/icons/YouTubeicon3.png +0 -0
- package/lib/module/assets/icons/chatgpt.png +0 -0
- package/lib/module/assets/icons/claude.png +0 -0
- package/lib/module/assets/icons/farcaster.png +0 -0
- package/lib/module/assets/icons/gemini.png +0 -0
- package/lib/module/assets/icons/grok.png +0 -0
- package/lib/module/assets/icons/instagram.png +0 -0
- package/lib/module/assets/icons/pinterest.png +0 -0
- package/lib/module/assets/icons/swerv_logo.png +0 -0
- package/lib/module/assets/icons/twitter.jpg +0 -0
- package/lib/module/assets/images/Checkbox.svg +3 -0
- package/lib/module/assets/images/EnochE.svg +19 -0
- package/lib/module/assets/images/Enochicon1.png +0 -0
- package/lib/module/assets/images/Face_ID_logo.png +0 -0
- package/lib/module/assets/images/Facebookicon.png +0 -0
- package/lib/module/assets/images/Gmail.png +0 -0
- package/lib/module/assets/images/Googlelogo.png +0 -0
- package/lib/module/assets/images/Linkedinicon.png +0 -0
- package/lib/module/assets/images/OnairosNewLogo.png +0 -0
- package/lib/module/assets/images/Onairoslogo.png +0 -0
- package/lib/module/assets/images/Personalityprofile.svg +3 -0
- package/lib/module/assets/images/Personalitytraits.svg +3 -0
- package/lib/module/assets/images/Redditicon.png +0 -0
- package/lib/module/assets/images/Userpreferences.svg +3 -0
- package/lib/module/assets/images/YouTubeicon3.png +0 -0
- package/lib/module/assets/images/arrow.svg +20 -0
- package/lib/module/assets/images/basicproficon.svg +43 -0
- package/lib/module/assets/images/basicprofile.svg +3 -0
- package/lib/module/assets/images/chatgpt.png +0 -0
- package/lib/module/assets/images/checkmark.svg +4 -0
- package/lib/module/assets/images/claude.png +0 -0
- package/lib/module/assets/images/contentanalysis.svg +3 -0
- package/lib/module/assets/images/contenticon.svg +23 -0
- package/lib/module/assets/images/gemini.png +0 -0
- package/lib/module/assets/images/grok.png +0 -0
- package/lib/module/assets/images/persona1.png +0 -0
- package/lib/module/assets/images/persona2.png +0 -0
- package/lib/module/assets/images/persona3.png +0 -0
- package/lib/module/assets/images/persona4.png +0 -0
- package/lib/module/assets/images/persona5.png +0 -0
- package/lib/module/assets/images/personalityicon.svg +18 -0
- package/lib/module/assets/images/x-close.svg +3 -0
- package/lib/module/components/BodyText.js +1 -0
- package/lib/module/components/BrandMark.js +1 -0
- package/lib/module/components/CodeInput.js +1 -0
- package/lib/module/components/EmailInput.js +1 -0
- package/lib/module/components/GoogleButton.js +1 -0
- package/lib/module/components/HeadingGroup.js +1 -0
- package/lib/module/components/LLMDataInputModal.js +8 -0
- package/lib/module/components/ModalHeader.js +1 -0
- package/lib/module/components/ModalSheet.js +1 -0
- package/lib/module/components/Onairos.js +1 -367
- package/lib/module/components/OnairosButton.js +1 -302
- package/lib/module/components/OnairosSignInButton.js +1 -0
- package/lib/module/components/Overlay.js +1 -474
- package/lib/module/components/PersonaImage.js +1 -0
- package/lib/module/components/PersonaLoadingScreen.js +1 -0
- package/lib/module/components/PersonalizationConsentScreen.js +1 -0
- package/lib/module/components/PinCreationScreen.js +1 -0
- package/lib/module/components/PinInput.js +1 -293
- package/lib/module/components/PlatformConnectorsStep.js +7 -0
- package/lib/module/components/PlatformList.js +1 -129
- package/lib/module/components/PlatformToggle.js +1 -0
- package/lib/module/components/PrimaryButton.js +1 -0
- package/lib/module/components/SignInMatchAnimation.js +1 -0
- package/lib/module/components/SignInStep.js +1 -0
- package/lib/module/components/UniversalOnboarding.js +1 -1693
- package/lib/module/components/VerificationStep.js +1 -0
- package/lib/module/components/WelcomeScreen.js +1 -0
- package/lib/module/components/icons/Basicproficon.js +1 -0
- package/lib/module/components/icons/Basicprofile.js +1 -0
- package/lib/module/components/icons/Checkbox.js +1 -0
- package/lib/module/components/icons/Checkmark.js +1 -0
- package/lib/module/components/icons/Contentanalysis.js +1 -0
- package/lib/module/components/icons/Contenticon.js +1 -0
- package/lib/module/components/icons/EnochE.js +1 -0
- package/lib/module/components/icons/Personalityicon.js +1 -0
- package/lib/module/components/icons/Personalityprofile.js +1 -0
- package/lib/module/components/icons/Personalitytraits.js +1 -0
- package/lib/module/components/icons/Userpreferences.js +1 -0
- package/lib/module/components/icons/index.js +1 -0
- package/lib/module/components/onboarding/OAuthWebView.js +1 -818
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -66
- package/lib/module/components/onboarding/PinInput.js +1 -274
- package/lib/module/components/onboarding/PlatformConnector.js +1 -240
- package/lib/module/config/api.js +1 -0
- package/lib/module/constants/index.js +1 -77
- package/lib/module/context/AuthContext.js +1 -0
- package/lib/module/hooks/useConnectedAccounts.js +1 -0
- package/lib/module/hooks/useConnections.js +1 -152
- package/lib/module/hooks/useCredentials.js +6 -169
- package/lib/module/hooks/useUserConnections.js +1 -0
- package/lib/module/index.js +1 -32
- package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/module/services/apiClient.js +1 -0
- package/lib/module/services/apiKeyService.js +1 -925
- package/lib/module/services/authService.js +1 -0
- package/lib/module/services/biometricPinService.js +1 -0
- package/lib/module/services/chatGPTConversationExtractor.js +1 -0
- package/lib/module/services/chatGPTConversationService.js +1 -0
- package/lib/module/services/claudeConversationExtractor.js +1 -0
- package/lib/module/services/claudeConversationService.js +1 -0
- package/lib/module/services/connectedAccountsService.js +1 -0
- package/lib/module/services/googleAuthService.js +1 -0
- package/lib/module/services/hingeDataExtractor.js +1 -0
- package/lib/module/services/hingeDataService.js +1 -0
- package/lib/module/services/imageCompressionService.js +1 -0
- package/lib/module/services/instagramDataExtractor.js +1 -0
- package/lib/module/services/instagramDataService.js +1 -0
- package/lib/module/services/jwtStorageService.js +1 -0
- package/lib/module/services/linkedinDOMExtractor.js +1 -0
- package/lib/module/services/linkedinProfileService.js +1 -0
- package/lib/module/services/linkedinScrapingService.js +1 -0
- package/lib/module/services/llmDataStorage.js +1 -0
- package/lib/module/services/mobileTrainingService.js +1 -0
- package/lib/module/services/oauthService.js +1 -380
- package/lib/module/services/pinEncryptionService.js +7 -0
- package/lib/module/services/pinStorageUtils.js +1 -0
- package/lib/module/services/platformAuthService.js +1 -1041
- package/lib/module/services/sephoraDataExtractor.js +1 -0
- package/lib/module/services/sephoraDataService.js +1 -0
- package/lib/module/services/storageService.js +1 -0
- package/lib/module/services/telegramDataExtractor.js +1 -0
- package/lib/module/services/telegramDataService.js +8 -0
- package/lib/module/services/trainingApiHelpers.js +1 -0
- package/lib/module/services/userConnectionsService.js +1 -0
- package/lib/module/services/youtubeMigrationService.js +1 -0
- package/lib/module/theme/index.js +1 -0
- package/lib/module/types.js +1 -10
- package/lib/module/utils/Portal.js +1 -90
- package/lib/module/utils/api.js +1 -117
- package/lib/module/utils/assetRegistry.js +33 -0
- package/lib/module/utils/auth.js +1 -99
- package/lib/module/utils/connectorTests.js +28 -0
- package/lib/module/utils/crypto.js +1 -54
- package/lib/module/utils/debugHelper.js +1 -54
- package/lib/module/utils/encryption.js +1 -67
- package/lib/module/utils/eventUtils.js +1 -0
- package/lib/module/utils/haptics.js +8 -0
- package/lib/module/utils/imagePreloader.js +1 -0
- package/lib/module/utils/networkDiagnostics.js +1 -0
- package/lib/module/utils/onairosApi.js +1 -333
- package/lib/module/utils/programmaticFlow.js +1 -111
- package/lib/module/utils/retryHelper.js +1 -211
- package/lib/module/utils/secureStorage.js +6 -330
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -0
- package/lib/module/utils/webviewScripts/claude.js +1 -0
- package/lib/module/utils/webviewScripts/hinge.js +1 -0
- package/lib/module/utils/webviewScripts/index.js +1 -0
- package/lib/module/utils/webviewScripts/instagram.js +1 -0
- package/lib/module/utils/webviewScripts/linkedin.js +1 -0
- package/lib/module/utils/webviewScripts/sephora.js +1 -0
- package/lib/module/utils/webviewScripts/telegram.js +1 -0
- package/package.json +62 -39
- package/lib/commonjs/api/index.js.map +0 -1
- package/lib/commonjs/assets/images/email.png +0 -0
- package/lib/commonjs/assets/images/linkedin.png +0 -0
- package/lib/commonjs/assets/images/reddit.png +0 -0
- package/lib/commonjs/assets/images/youtube.png +0 -0
- package/lib/commonjs/components/DataRequestModal.js +0 -228
- package/lib/commonjs/components/DataRequestModal.js.map +0 -1
- package/lib/commonjs/components/DataRequestScreen.js +0 -329
- package/lib/commonjs/components/DataRequestScreen.js.map +0 -1
- package/lib/commonjs/components/EmailVerificationModal.js +0 -320
- package/lib/commonjs/components/EmailVerificationModal.js.map +0 -1
- package/lib/commonjs/components/Onairos.js.map +0 -1
- package/lib/commonjs/components/OnairosButton.js.map +0 -1
- package/lib/commonjs/components/Overlay.js.map +0 -1
- package/lib/commonjs/components/PinInput.js.map +0 -1
- package/lib/commonjs/components/PlatformList.js.map +0 -1
- package/lib/commonjs/components/TrainingModal.js +0 -717
- package/lib/commonjs/components/TrainingModal.js.map +0 -1
- package/lib/commonjs/components/UniversalOnboarding.js.map +0 -1
- package/lib/commonjs/components/UniversalOnboarding.tsx.new +0 -455
- package/lib/commonjs/components/onboarding/OAuthWebView.js.map +0 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js.map +0 -1
- package/lib/commonjs/components/onboarding/PinInput.js.map +0 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js.map +0 -1
- package/lib/commonjs/components/screens/ConnectorScreen.js +0 -146
- package/lib/commonjs/components/screens/ConnectorScreen.js.map +0 -1
- package/lib/commonjs/components/screens/LoadingScreen.js +0 -91
- package/lib/commonjs/components/screens/LoadingScreen.js.map +0 -1
- package/lib/commonjs/components/screens/PinCreationScreen.js +0 -61
- package/lib/commonjs/components/screens/PinCreationScreen.js.map +0 -1
- package/lib/commonjs/constants/index.js.map +0 -1
- package/lib/commonjs/hooks/useConnections.js.map +0 -1
- package/lib/commonjs/hooks/useCredentials.js.map +0 -1
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/services/apiKeyService.js.map +0 -1
- package/lib/commonjs/services/oauthService.js.map +0 -1
- package/lib/commonjs/services/platformAuthService.js.map +0 -1
- package/lib/commonjs/types/ambient.d.js.map +0 -1
- package/lib/commonjs/types/declarations.d.js.map +0 -1
- package/lib/commonjs/types/index.d.js.map +0 -1
- package/lib/commonjs/types/index.js.map +0 -1
- package/lib/commonjs/types/node-fix.d.js.map +0 -1
- package/lib/commonjs/types/node-override.d.js.map +0 -1
- package/lib/commonjs/types/opacity.d.js.map +0 -1
- package/lib/commonjs/types/types.d.js.map +0 -1
- package/lib/commonjs/types.js.map +0 -1
- package/lib/commonjs/utils/Portal.js.map +0 -1
- package/lib/commonjs/utils/api.js.map +0 -1
- package/lib/commonjs/utils/auth.js.map +0 -1
- package/lib/commonjs/utils/crypto.js.map +0 -1
- package/lib/commonjs/utils/debugHelper.js.map +0 -1
- package/lib/commonjs/utils/encryption.js.map +0 -1
- package/lib/commonjs/utils/onairosApi.js.map +0 -1
- package/lib/commonjs/utils/programmaticFlow.js.map +0 -1
- package/lib/commonjs/utils/retryHelper.js.map +0 -1
- package/lib/commonjs/utils/secureStorage.js.map +0 -1
- package/lib/module/api/index.js.map +0 -1
- package/lib/module/assets/images/email.png +0 -0
- package/lib/module/assets/images/linkedin.png +0 -0
- package/lib/module/assets/images/reddit.png +0 -0
- package/lib/module/assets/images/youtube.png +0 -0
- package/lib/module/components/DataRequestModal.js +0 -220
- package/lib/module/components/DataRequestModal.js.map +0 -1
- package/lib/module/components/DataRequestScreen.js +0 -321
- package/lib/module/components/DataRequestScreen.js.map +0 -1
- package/lib/module/components/EmailVerificationModal.js +0 -311
- package/lib/module/components/EmailVerificationModal.js.map +0 -1
- package/lib/module/components/Onairos.js.map +0 -1
- package/lib/module/components/OnairosButton.js.map +0 -1
- package/lib/module/components/Overlay.js.map +0 -1
- package/lib/module/components/PinInput.js.map +0 -1
- package/lib/module/components/PlatformList.js.map +0 -1
- package/lib/module/components/TrainingModal.js +0 -708
- package/lib/module/components/TrainingModal.js.map +0 -1
- package/lib/module/components/UniversalOnboarding.js.map +0 -1
- package/lib/module/components/UniversalOnboarding.tsx.new +0 -455
- package/lib/module/components/onboarding/OAuthWebView.js.map +0 -1
- package/lib/module/components/onboarding/OnboardingHeader.js.map +0 -1
- package/lib/module/components/onboarding/PinInput.js.map +0 -1
- package/lib/module/components/onboarding/PlatformConnector.js.map +0 -1
- package/lib/module/components/screens/ConnectorScreen.js +0 -138
- package/lib/module/components/screens/ConnectorScreen.js.map +0 -1
- package/lib/module/components/screens/LoadingScreen.js +0 -83
- package/lib/module/components/screens/LoadingScreen.js.map +0 -1
- package/lib/module/components/screens/PinCreationScreen.js +0 -53
- package/lib/module/components/screens/PinCreationScreen.js.map +0 -1
- package/lib/module/constants/index.js.map +0 -1
- package/lib/module/hooks/useConnections.js.map +0 -1
- package/lib/module/hooks/useCredentials.js.map +0 -1
- package/lib/module/index.js.map +0 -1
- package/lib/module/services/apiKeyService.js.map +0 -1
- package/lib/module/services/oauthService.js.map +0 -1
- package/lib/module/services/platformAuthService.js.map +0 -1
- package/lib/module/types/ambient.d.js.map +0 -1
- package/lib/module/types/declarations.d.js.map +0 -1
- package/lib/module/types/index.d.js.map +0 -1
- package/lib/module/types/index.js.map +0 -1
- package/lib/module/types/node-fix.d.js.map +0 -1
- package/lib/module/types/node-override.d.js.map +0 -1
- package/lib/module/types/opacity.d.js.map +0 -1
- package/lib/module/types/types.d.js.map +0 -1
- package/lib/module/types.js.map +0 -1
- package/lib/module/utils/Portal.js.map +0 -1
- package/lib/module/utils/api.js.map +0 -1
- package/lib/module/utils/auth.js.map +0 -1
- package/lib/module/utils/crypto.js.map +0 -1
- package/lib/module/utils/debugHelper.js.map +0 -1
- package/lib/module/utils/encryption.js.map +0 -1
- package/lib/module/utils/onairosApi.js.map +0 -1
- package/lib/module/utils/programmaticFlow.js.map +0 -1
- package/lib/module/utils/retryHelper.js.map +0 -1
- package/lib/module/utils/secureStorage.js.map +0 -1
- package/lib/typescript/api/index.d.ts +0 -8
- package/lib/typescript/api/index.d.ts.map +0 -1
- package/lib/typescript/components/DataRequestModal.d.ts +0 -11
- package/lib/typescript/components/DataRequestModal.d.ts.map +0 -1
- package/lib/typescript/components/DataRequestScreen.d.ts +0 -11
- package/lib/typescript/components/DataRequestScreen.d.ts.map +0 -1
- package/lib/typescript/components/EmailVerificationModal.d.ts +0 -11
- package/lib/typescript/components/EmailVerificationModal.d.ts.map +0 -1
- package/lib/typescript/components/Onairos.d.ts +0 -4
- package/lib/typescript/components/Onairos.d.ts.map +0 -1
- package/lib/typescript/components/OnairosButton.d.ts +0 -12
- package/lib/typescript/components/OnairosButton.d.ts.map +0 -1
- package/lib/typescript/components/Overlay.d.ts +0 -4
- package/lib/typescript/components/Overlay.d.ts.map +0 -1
- package/lib/typescript/components/PinInput.d.ts +0 -4
- package/lib/typescript/components/PinInput.d.ts.map +0 -1
- package/lib/typescript/components/PlatformList.d.ts +0 -4
- package/lib/typescript/components/PlatformList.d.ts.map +0 -1
- package/lib/typescript/components/TrainingModal.d.ts +0 -4
- package/lib/typescript/components/TrainingModal.d.ts.map +0 -1
- package/lib/typescript/components/UniversalOnboarding.d.ts +0 -4
- package/lib/typescript/components/UniversalOnboarding.d.ts.map +0 -1
- package/lib/typescript/components/onboarding/OAuthWebView.d.ts +0 -10
- package/lib/typescript/components/onboarding/OAuthWebView.d.ts.map +0 -1
- package/lib/typescript/components/onboarding/OnboardingHeader.d.ts +0 -11
- package/lib/typescript/components/onboarding/OnboardingHeader.d.ts.map +0 -1
- package/lib/typescript/components/onboarding/PinInput.d.ts +0 -4
- package/lib/typescript/components/onboarding/PinInput.d.ts.map +0 -1
- package/lib/typescript/components/onboarding/PlatformConnector.d.ts +0 -13
- package/lib/typescript/components/onboarding/PlatformConnector.d.ts.map +0 -1
- package/lib/typescript/components/screens/ConnectorScreen.d.ts +0 -9
- package/lib/typescript/components/screens/ConnectorScreen.d.ts.map +0 -1
- package/lib/typescript/components/screens/LoadingScreen.d.ts +0 -9
- package/lib/typescript/components/screens/LoadingScreen.d.ts.map +0 -1
- package/lib/typescript/components/screens/PinCreationScreen.d.ts +0 -10
- package/lib/typescript/components/screens/PinCreationScreen.d.ts.map +0 -1
- package/lib/typescript/constants/index.d.ts +0 -53
- package/lib/typescript/constants/index.d.ts.map +0 -1
- package/lib/typescript/hooks/useConnections.d.ts +0 -9
- package/lib/typescript/hooks/useConnections.d.ts.map +0 -1
- package/lib/typescript/hooks/useCredentials.d.ts +0 -9
- package/lib/typescript/hooks/useCredentials.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -18
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/services/apiKeyService.d.ts +0 -132
- package/lib/typescript/services/apiKeyService.d.ts.map +0 -1
- package/lib/typescript/services/oauthService.d.ts +0 -50
- package/lib/typescript/services/oauthService.d.ts.map +0 -1
- package/lib/typescript/services/platformAuthService.d.ts +0 -144
- package/lib/typescript/services/platformAuthService.d.ts.map +0 -1
- package/lib/typescript/types/index.d.ts +0 -231
- package/lib/typescript/types/index.d.ts.map +0 -1
- package/lib/typescript/types.d.ts +0 -270
- package/lib/typescript/types.d.ts.map +0 -1
- package/lib/typescript/utils/Portal.d.ts +0 -14
- package/lib/typescript/utils/Portal.d.ts.map +0 -1
- package/lib/typescript/utils/api.d.ts +0 -6
- package/lib/typescript/utils/api.d.ts.map +0 -1
- package/lib/typescript/utils/auth.d.ts +0 -6
- package/lib/typescript/utils/auth.d.ts.map +0 -1
- package/lib/typescript/utils/crypto.d.ts +0 -4
- package/lib/typescript/utils/crypto.d.ts.map +0 -1
- package/lib/typescript/utils/debugHelper.d.ts +0 -29
- package/lib/typescript/utils/debugHelper.d.ts.map +0 -1
- package/lib/typescript/utils/encryption.d.ts +0 -19
- package/lib/typescript/utils/encryption.d.ts.map +0 -1
- package/lib/typescript/utils/onairosApi.d.ts +0 -87
- package/lib/typescript/utils/onairosApi.d.ts.map +0 -1
- package/lib/typescript/utils/programmaticFlow.d.ts +0 -23
- package/lib/typescript/utils/programmaticFlow.d.ts.map +0 -1
- package/lib/typescript/utils/retryHelper.d.ts +0 -69
- package/lib/typescript/utils/retryHelper.d.ts.map +0 -1
- package/lib/typescript/utils/secureStorage.d.ts +0 -94
- package/lib/typescript/utils/secureStorage.d.ts.map +0 -1
- package/src/api/index.ts +0 -111
- package/src/assets/images/email.png +0 -0
- package/src/assets/images/linkedin.png +0 -0
- package/src/assets/images/onairos_logo.png +0 -0
- package/src/assets/images/reddit.png +0 -0
- package/src/assets/images/youtube.png +0 -0
- package/src/components/DataRequestModal.tsx +0 -227
- package/src/components/DataRequestScreen.tsx +0 -356
- package/src/components/EmailVerificationModal.tsx +0 -364
- package/src/components/Onairos.tsx +0 -425
- package/src/components/OnairosButton.tsx +0 -359
- package/src/components/Overlay.tsx +0 -506
- package/src/components/PinInput.tsx +0 -343
- package/src/components/PlatformList.tsx +0 -145
- package/src/components/TrainingModal.tsx +0 -737
- package/src/components/UniversalOnboarding.tsx +0 -1839
- package/src/components/UniversalOnboarding.tsx.new +0 -455
- package/src/components/onboarding/OAuthWebView.tsx +0 -838
- package/src/components/onboarding/OnboardingHeader.tsx +0 -70
- package/src/components/onboarding/PinInput.tsx +0 -356
- package/src/components/onboarding/PlatformConnector.tsx +0 -302
- package/src/components/screens/ConnectorScreen.tsx +0 -153
- package/src/components/screens/LoadingScreen.tsx +0 -100
- package/src/components/screens/PinCreationScreen.tsx +0 -67
- package/src/constants/index.ts +0 -83
- package/src/hooks/useConnections.ts +0 -163
- package/src/hooks/useCredentials.ts +0 -175
- package/src/index.js +0 -14
- package/src/index.ts +0 -50
- package/src/services/SDK_API_KEY_VALIDATION.md +0 -421
- package/src/services/apiKeyService.ts +0 -984
- package/src/services/oauthService.ts +0 -412
- package/src/services/platformAuthService.ts +0 -1113
- package/src/types/ambient.d.ts +0 -29
- package/src/types/declarations.d.ts +0 -26
- package/src/types/index.d.ts +0 -274
- package/src/types/index.ts +0 -244
- package/src/types/node-fix.d.ts +0 -19
- package/src/types/node-override.d.ts +0 -24
- package/src/types/opacity.d.ts +0 -16
- package/src/types/types.d.ts +0 -18
- package/src/types.ts +0 -298
- package/src/utils/Portal.tsx +0 -83
- package/src/utils/api.js +0 -112
- package/src/utils/auth.js +0 -104
- package/src/utils/crypto.js +0 -60
- package/src/utils/debugHelper.ts +0 -53
- package/src/utils/encryption.ts +0 -69
- package/src/utils/onairosApi.ts +0 -391
- package/src/utils/programmaticFlow.ts +0 -113
- package/src/utils/retryHelper.ts +0 -275
- package/src/utils/secureStorage.ts +0 -361
- package/types/index.d.ts +0 -218
- package/types/node-env.d.ts +0 -15
- /package/{src/assets/images → lib/commonjs/assets/icons}/farcaster.png +0 -0
- /package/{src/assets/images → lib/commonjs/assets/icons}/instagram.png +0 -0
- /package/{src/assets/images → lib/commonjs/assets/icons}/pinterest.png +0 -0
- /package/{src/assets/images → lib/commonjs/assets/icons}/swerv_logo.png +0 -0
- /package/{src/assets/images → lib/commonjs/assets/icons}/twitter.jpg +0 -0
|
@@ -1,483 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function
|
|
13
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
|
-
const {
|
|
15
|
-
width: SCREEN_WIDTH,
|
|
16
|
-
height: SCREEN_HEIGHT
|
|
17
|
-
} = _reactNative.Dimensions.get('window');
|
|
18
|
-
const Overlay = ({
|
|
19
|
-
data,
|
|
20
|
-
username,
|
|
21
|
-
modelKey,
|
|
22
|
-
onResolved,
|
|
23
|
-
appName = 'Your App',
|
|
24
|
-
darkMode = false,
|
|
25
|
-
platforms = [{
|
|
26
|
-
id: 'instagram',
|
|
27
|
-
name: 'Instagram',
|
|
28
|
-
icon: require('../assets/images/instagram.png')
|
|
29
|
-
}, {
|
|
30
|
-
id: 'youtube',
|
|
31
|
-
name: 'YouTube',
|
|
32
|
-
icon: require('../assets/images/youtube.png')
|
|
33
|
-
}, {
|
|
34
|
-
id: 'reddit',
|
|
35
|
-
name: 'Reddit',
|
|
36
|
-
icon: require('../assets/images/reddit.png')
|
|
37
|
-
}, {
|
|
38
|
-
id: 'pinterest',
|
|
39
|
-
name: 'Pinterest',
|
|
40
|
-
icon: require('../assets/images/pinterest.png')
|
|
41
|
-
}, {
|
|
42
|
-
id: 'email',
|
|
43
|
-
name: 'Email',
|
|
44
|
-
icon: require('../assets/images/email.png')
|
|
45
|
-
}]
|
|
46
|
-
}) => {
|
|
47
|
-
const [selections, setSelections] = (0, _react.useState)({});
|
|
48
|
-
const [details, setDetails] = (0, _react.useState)('');
|
|
49
|
-
const [visible, setVisible] = (0, _react.useState)(true);
|
|
50
|
-
const [platformToggles, setPlatformToggles] = (0, _react.useState)({});
|
|
51
|
-
const bottomSheetAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
|
|
52
|
-
|
|
53
|
-
// Initialize selection state on mount
|
|
54
|
-
(0, _react.useEffect)(() => {
|
|
55
|
-
// Initialize selection state
|
|
56
|
-
const initialSelections = {};
|
|
57
|
-
Object.keys(data).forEach(key => {
|
|
58
|
-
initialSelections[key] = false;
|
|
59
|
-
});
|
|
60
|
-
setSelections(initialSelections);
|
|
61
|
-
|
|
62
|
-
// Initialize platform toggles
|
|
63
|
-
const initialToggles = {};
|
|
64
|
-
platforms.forEach(platform => {
|
|
65
|
-
initialToggles[platform.id] = false;
|
|
66
|
-
});
|
|
67
|
-
setPlatformToggles(initialToggles);
|
|
68
|
-
getDetails();
|
|
69
|
-
|
|
70
|
-
// Animate the bottom sheet sliding up
|
|
71
|
-
_reactNative.Animated.spring(bottomSheetAnim, {
|
|
72
|
-
toValue: 1,
|
|
73
|
-
useNativeDriver: true,
|
|
74
|
-
bounciness: 0
|
|
75
|
-
}).start();
|
|
76
|
-
}, []);
|
|
77
|
-
const getDetails = async () => {
|
|
78
|
-
try {
|
|
79
|
-
// In Expo or development, use mock data
|
|
80
|
-
if (__DEV__) {
|
|
81
|
-
setDetails('Development mode - mock account info');
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
const response = await _api.onairosApi.post('getAccountInfo', {
|
|
85
|
-
Info: {
|
|
86
|
-
username: username
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
// Handle response data properly based on API structure
|
|
90
|
-
if (response && response.data) {
|
|
91
|
-
const accountInfo = typeof response.data === 'object' && response.data.AccountInfo ? response.data.AccountInfo : `User: ${username}`;
|
|
92
|
-
setDetails(accountInfo);
|
|
93
|
-
} else {
|
|
94
|
-
setDetails(`User: ${username}`);
|
|
95
|
-
}
|
|
96
|
-
} catch (e) {
|
|
97
|
-
console.error('Error getting account info:', e);
|
|
98
|
-
setDetails(`User: ${username}`);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
const closeOverlay = (0, _react.useCallback)(() => {
|
|
102
|
-
// Animate the overlay sliding down
|
|
103
|
-
_reactNative.Animated.timing(bottomSheetAnim, {
|
|
104
|
-
toValue: 0,
|
|
105
|
-
duration: 250,
|
|
106
|
-
useNativeDriver: true
|
|
107
|
-
}).start(() => {
|
|
108
|
-
setVisible(false);
|
|
109
|
-
});
|
|
110
|
-
}, [bottomSheetAnim]);
|
|
111
|
-
const togglePlatform = (0, _react.useCallback)(platformId => {
|
|
112
|
-
setPlatformToggles(prev => ({
|
|
113
|
-
...prev,
|
|
114
|
-
[platformId]: !prev[platformId]
|
|
115
|
-
}));
|
|
116
|
-
}, []);
|
|
117
|
-
const confirmSelection = (0, _react.useCallback)(async () => {
|
|
118
|
-
try {
|
|
119
|
-
// Mock app identifier
|
|
120
|
-
const appId = _reactNative.Platform.select({
|
|
121
|
-
ios: 'com.onairos.mock',
|
|
122
|
-
android: 'com.onairos.mock',
|
|
123
|
-
default: 'unknown'
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
// In development mode, use mock data
|
|
127
|
-
if (__DEV__) {
|
|
128
|
-
onResolved('https://api2.onairos.uk', 'mock-token', {
|
|
129
|
-
username,
|
|
130
|
-
selections,
|
|
131
|
-
platforms: platformToggles
|
|
132
|
-
});
|
|
133
|
-
closeOverlay();
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// Get server public key for encryption
|
|
138
|
-
let serverPublicKey = 'mock-key';
|
|
139
|
-
try {
|
|
140
|
-
const keyResponse = await _api.onairosApi.get('public/key');
|
|
141
|
-
if (keyResponse && keyResponse.data && typeof keyResponse.data === 'object') {
|
|
142
|
-
serverPublicKey = keyResponse.data.publicKey || 'mock-key';
|
|
143
|
-
}
|
|
144
|
-
} catch (e) {
|
|
145
|
-
console.error('Error getting server public key:', e);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Encrypt the model key - only if the function exists and server key is valid
|
|
149
|
-
let encryptedModelKey = modelKey;
|
|
150
|
-
if (typeof _encryption.encryptModelKey === 'function' && serverPublicKey) {
|
|
151
|
-
try {
|
|
152
|
-
encryptedModelKey = (0, _encryption.encryptModelKey)(serverPublicKey, modelKey);
|
|
153
|
-
} catch (e) {
|
|
154
|
-
console.error('Error encrypting model key:', e);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
const response = await _api.onairosApi.post('getAPIUrlMobile', {
|
|
158
|
-
Info: {
|
|
159
|
-
storage: 'local',
|
|
160
|
-
appId: appId,
|
|
161
|
-
confirmations: selections,
|
|
162
|
-
developerURL: 'devURL',
|
|
163
|
-
EncryptedUserPin: encryptedModelKey,
|
|
164
|
-
username: username,
|
|
165
|
-
platforms: platformToggles
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
if (response && response.data && response.data.APIUrl && response.data.token) {
|
|
169
|
-
onResolved(response.data.APIUrl, response.data.token, {
|
|
170
|
-
username,
|
|
171
|
-
selections,
|
|
172
|
-
platforms: platformToggles
|
|
173
|
-
});
|
|
174
|
-
closeOverlay();
|
|
175
|
-
} else {
|
|
176
|
-
// If response doesn't have expected format, use fallbacks
|
|
177
|
-
onResolved('https://api2.onairos.uk', 'fallback-token', {
|
|
178
|
-
username,
|
|
179
|
-
selections,
|
|
180
|
-
platforms: platformToggles
|
|
181
|
-
});
|
|
182
|
-
closeOverlay();
|
|
183
|
-
}
|
|
184
|
-
} catch (e) {
|
|
185
|
-
console.error('Error confirming selection:', e);
|
|
186
|
-
// In case of error, provide fallback (development mode)
|
|
187
|
-
if (__DEV__) {
|
|
188
|
-
onResolved('https://api2.onairos.uk', 'error-fallback-token', {
|
|
189
|
-
username,
|
|
190
|
-
selections,
|
|
191
|
-
platforms: platformToggles,
|
|
192
|
-
error: true
|
|
193
|
-
});
|
|
194
|
-
closeOverlay();
|
|
195
|
-
} else {
|
|
196
|
-
showErrorModal('Failed to confirm selection. Please try again.');
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}, [selections, username, modelKey, onResolved, closeOverlay, platformToggles]);
|
|
200
|
-
const showErrorModal = errorMessage => {
|
|
201
|
-
_reactNative.Alert.alert('Error', errorMessage, [{
|
|
202
|
-
text: 'OK'
|
|
203
|
-
}]);
|
|
204
|
-
};
|
|
205
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
206
|
-
visible: visible,
|
|
207
|
-
transparent: true,
|
|
208
|
-
animationType: "none",
|
|
209
|
-
statusBarTranslucent: true,
|
|
210
|
-
onRequestClose: closeOverlay
|
|
211
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
212
|
-
style: styles.modalOverlay,
|
|
213
|
-
activeOpacity: 1,
|
|
214
|
-
onPress: closeOverlay
|
|
215
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
|
|
216
|
-
onPress: e => e.stopPropagation()
|
|
217
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
218
|
-
style: [styles.bottomSheet, darkMode && styles.darkContainer, {
|
|
219
|
-
transform: [{
|
|
220
|
-
translateY: bottomSheetAnim.interpolate({
|
|
221
|
-
inputRange: [0, 1],
|
|
222
|
-
outputRange: [SCREEN_HEIGHT, 0]
|
|
223
|
-
})
|
|
224
|
-
}]
|
|
225
|
-
}]
|
|
226
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
227
|
-
style: styles.handleContainer
|
|
228
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
229
|
-
style: [styles.handle, darkMode && styles.darkHandle]
|
|
230
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
|
|
231
|
-
style: [styles.container, darkMode && styles.darkContainer]
|
|
232
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
233
|
-
style: [styles.header, darkMode && styles.darkHeader]
|
|
234
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
235
|
-
style: styles.headerContent
|
|
236
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
237
|
-
style: [styles.appIcon, darkMode && styles.darkAppIcon]
|
|
238
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
239
|
-
style: [styles.appIconText, darkMode && styles.darkText]
|
|
240
|
-
}, appName.charAt(0))), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
|
|
241
|
-
name: "arrow_forward",
|
|
242
|
-
size: 24,
|
|
243
|
-
color: darkMode ? '#999' : '#666',
|
|
244
|
-
style: styles.arrow
|
|
245
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
246
|
-
style: [styles.onairosIcon, darkMode && styles.darkOnairosIcon]
|
|
247
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
248
|
-
style: [styles.onairosIconText, darkMode && styles.darkText]
|
|
249
|
-
}, "O")))), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
250
|
-
style: styles.content
|
|
251
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
252
|
-
style: styles.titleContainer
|
|
253
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
254
|
-
style: [styles.mainTitle, darkMode && styles.darkText]
|
|
255
|
-
}, "Connect your data to create a Persona of you, to connect to Cosmos"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
256
|
-
style: [styles.privacyMessage, darkMode && styles.darkSubText]
|
|
257
|
-
}, "None of your app data is shared with ANYONE")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
258
|
-
style: styles.platformsContainer
|
|
259
|
-
}, platforms.map(platform => /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
260
|
-
key: platform.id,
|
|
261
|
-
style: [styles.platformItem, darkMode && styles.darkPlatformItem]
|
|
262
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
263
|
-
style: styles.platformInfo
|
|
264
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
265
|
-
source: platform.icon,
|
|
266
|
-
style: styles.platformIcon,
|
|
267
|
-
resizeMode: "contain"
|
|
268
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
269
|
-
style: [styles.platformName, darkMode && styles.darkText]
|
|
270
|
-
}, platform.name)), /*#__PURE__*/_react.default.createElement(_reactNative.Switch, {
|
|
271
|
-
value: platformToggles[platform.id],
|
|
272
|
-
onValueChange: () => togglePlatform(platform.id),
|
|
273
|
-
trackColor: {
|
|
274
|
-
false: '#767577',
|
|
275
|
-
true: '#81b0ff'
|
|
276
|
-
},
|
|
277
|
-
thumbColor: platformToggles[platform.id] ? '#2196F3' : '#f4f3f4'
|
|
278
|
-
}))))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
279
|
-
style: [styles.footer, darkMode && styles.darkFooter]
|
|
280
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
281
|
-
style: styles.footerButtonCancel,
|
|
282
|
-
onPress: closeOverlay
|
|
283
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
284
|
-
style: [styles.footerButtonText, darkMode && styles.darkSubText]
|
|
285
|
-
}, "Cancel")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
286
|
-
style: [styles.footerButtonConfirm, darkMode && styles.darkFooterButtonConfirm],
|
|
287
|
-
onPress: confirmSelection
|
|
288
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
289
|
-
style: [styles.footerButtonTextConfirm, darkMode && {
|
|
290
|
-
color: '#000'
|
|
291
|
-
}]
|
|
292
|
-
}, "Connect"))))))));
|
|
293
|
-
};
|
|
294
|
-
exports.Overlay = Overlay;
|
|
295
|
-
const styles = _reactNative.StyleSheet.create({
|
|
296
|
-
modalOverlay: {
|
|
297
|
-
flex: 1,
|
|
298
|
-
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
299
|
-
justifyContent: 'flex-end'
|
|
300
|
-
},
|
|
301
|
-
bottomSheet: {
|
|
302
|
-
backgroundColor: '#fff',
|
|
303
|
-
borderTopLeftRadius: 24,
|
|
304
|
-
borderTopRightRadius: 24,
|
|
305
|
-
width: SCREEN_WIDTH,
|
|
306
|
-
height: SCREEN_HEIGHT * 0.8,
|
|
307
|
-
overflow: 'hidden'
|
|
308
|
-
},
|
|
309
|
-
handleContainer: {
|
|
310
|
-
width: '100%',
|
|
311
|
-
alignItems: 'center',
|
|
312
|
-
paddingTop: 12,
|
|
313
|
-
paddingBottom: 8
|
|
314
|
-
},
|
|
315
|
-
handle: {
|
|
316
|
-
width: 40,
|
|
317
|
-
height: 5,
|
|
318
|
-
borderRadius: 3,
|
|
319
|
-
backgroundColor: '#E0E0E0'
|
|
320
|
-
},
|
|
321
|
-
darkHandle: {
|
|
322
|
-
backgroundColor: '#666'
|
|
323
|
-
},
|
|
324
|
-
container: {
|
|
325
|
-
flex: 1,
|
|
326
|
-
backgroundColor: '#fff'
|
|
327
|
-
},
|
|
328
|
-
darkContainer: {
|
|
329
|
-
backgroundColor: '#1A1A1A'
|
|
330
|
-
},
|
|
331
|
-
header: {
|
|
332
|
-
padding: 24,
|
|
333
|
-
alignItems: 'center'
|
|
334
|
-
},
|
|
335
|
-
darkHeader: {
|
|
336
|
-
backgroundColor: '#1A1A1A'
|
|
337
|
-
},
|
|
338
|
-
headerContent: {
|
|
339
|
-
flexDirection: 'row',
|
|
340
|
-
alignItems: 'center',
|
|
341
|
-
justifyContent: 'center',
|
|
342
|
-
marginBottom: 16
|
|
343
|
-
},
|
|
344
|
-
appIcon: {
|
|
345
|
-
width: 48,
|
|
346
|
-
height: 48,
|
|
347
|
-
borderRadius: 16,
|
|
348
|
-
backgroundColor: '#F5F5F5',
|
|
349
|
-
alignItems: 'center',
|
|
350
|
-
justifyContent: 'center'
|
|
351
|
-
},
|
|
352
|
-
darkAppIcon: {
|
|
353
|
-
backgroundColor: '#2A2A2A'
|
|
354
|
-
},
|
|
355
|
-
appIconText: {
|
|
356
|
-
fontSize: 24,
|
|
357
|
-
color: '#000'
|
|
358
|
-
},
|
|
359
|
-
darkText: {
|
|
360
|
-
color: '#fff'
|
|
361
|
-
},
|
|
362
|
-
arrow: {
|
|
363
|
-
marginHorizontal: 16
|
|
364
|
-
},
|
|
365
|
-
onairosIcon: {
|
|
366
|
-
width: 48,
|
|
367
|
-
height: 48,
|
|
368
|
-
borderRadius: 16,
|
|
369
|
-
backgroundColor: '#F5F5F5',
|
|
370
|
-
alignItems: 'center',
|
|
371
|
-
justifyContent: 'center'
|
|
372
|
-
},
|
|
373
|
-
darkOnairosIcon: {
|
|
374
|
-
backgroundColor: '#2A2A2A'
|
|
375
|
-
},
|
|
376
|
-
onairosIconText: {
|
|
377
|
-
fontSize: 24,
|
|
378
|
-
color: '#000'
|
|
379
|
-
},
|
|
380
|
-
darkSubText: {
|
|
381
|
-
color: '#999'
|
|
382
|
-
},
|
|
383
|
-
titleContainer: {
|
|
384
|
-
marginBottom: 30
|
|
385
|
-
},
|
|
386
|
-
mainTitle: {
|
|
387
|
-
fontSize: 22,
|
|
388
|
-
fontWeight: '600',
|
|
389
|
-
color: '#000',
|
|
390
|
-
textAlign: 'center',
|
|
391
|
-
marginBottom: 16
|
|
392
|
-
},
|
|
393
|
-
privacyMessage: {
|
|
394
|
-
fontSize: 14,
|
|
395
|
-
color: '#666',
|
|
396
|
-
textAlign: 'center',
|
|
397
|
-
marginBottom: 16
|
|
398
|
-
},
|
|
399
|
-
content: {
|
|
400
|
-
flex: 1,
|
|
401
|
-
paddingHorizontal: 24
|
|
402
|
-
},
|
|
403
|
-
platformsContainer: {
|
|
404
|
-
marginTop: 16
|
|
405
|
-
},
|
|
406
|
-
platformItem: {
|
|
407
|
-
flexDirection: 'row',
|
|
408
|
-
justifyContent: 'space-between',
|
|
409
|
-
alignItems: 'center',
|
|
410
|
-
padding: 16,
|
|
411
|
-
backgroundColor: '#fff',
|
|
412
|
-
borderRadius: 16,
|
|
413
|
-
marginBottom: 16,
|
|
414
|
-
borderWidth: 1,
|
|
415
|
-
borderColor: '#eee'
|
|
416
|
-
},
|
|
417
|
-
darkPlatformItem: {
|
|
418
|
-
backgroundColor: '#2A2A2A',
|
|
419
|
-
borderColor: '#333'
|
|
420
|
-
},
|
|
421
|
-
platformInfo: {
|
|
422
|
-
flexDirection: 'row',
|
|
423
|
-
alignItems: 'center'
|
|
424
|
-
},
|
|
425
|
-
platformIcon: {
|
|
426
|
-
width: 32,
|
|
427
|
-
height: 32,
|
|
428
|
-
marginRight: 12
|
|
429
|
-
},
|
|
430
|
-
platformName: {
|
|
431
|
-
fontSize: 16,
|
|
432
|
-
fontWeight: '500',
|
|
433
|
-
color: '#000'
|
|
434
|
-
},
|
|
435
|
-
footer: {
|
|
436
|
-
flexDirection: 'row',
|
|
437
|
-
alignItems: 'center',
|
|
438
|
-
justifyContent: 'space-between',
|
|
439
|
-
padding: 24,
|
|
440
|
-
borderTopWidth: 1,
|
|
441
|
-
borderTopColor: '#eee',
|
|
442
|
-
backgroundColor: '#fff'
|
|
443
|
-
},
|
|
444
|
-
darkFooter: {
|
|
445
|
-
backgroundColor: '#2A2A2A',
|
|
446
|
-
borderTopColor: '#333'
|
|
447
|
-
},
|
|
448
|
-
footerButtonCancel: {
|
|
449
|
-
paddingVertical: 8,
|
|
450
|
-
paddingHorizontal: 16
|
|
451
|
-
},
|
|
452
|
-
darkFooterButton: {
|
|
453
|
-
backgroundColor: 'transparent'
|
|
454
|
-
},
|
|
455
|
-
footerButtonConfirm: {
|
|
456
|
-
paddingVertical: 16,
|
|
457
|
-
paddingHorizontal: 32,
|
|
458
|
-
borderRadius: 16,
|
|
459
|
-
backgroundColor: '#fff',
|
|
460
|
-
borderWidth: 1,
|
|
461
|
-
borderColor: '#000'
|
|
462
|
-
},
|
|
463
|
-
darkFooterButtonConfirm: {
|
|
464
|
-
backgroundColor: '#fff',
|
|
465
|
-
borderColor: '#fff'
|
|
466
|
-
},
|
|
467
|
-
footerButtonText: {
|
|
468
|
-
color: '#666',
|
|
469
|
-
fontSize: 16
|
|
470
|
-
},
|
|
471
|
-
footerButtonTextConfirm: {
|
|
472
|
-
color: '#000',
|
|
473
|
-
fontSize: 16,
|
|
474
|
-
fontWeight: '600'
|
|
475
|
-
},
|
|
476
|
-
lightBackground: {
|
|
477
|
-
backgroundColor: '#fff'
|
|
478
|
-
},
|
|
479
|
-
darkBackground: {
|
|
480
|
-
backgroundColor: '#1A1A1A'
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
//# sourceMappingURL=Overlay.js.map
|
|
1
|
+
'use strict';
|
|
2
|
+
// Onairos SDK - Asset Registry (auto-generated)
|
|
3
|
+
var __ONAIROS_REQ_REGISTRY__ = [
|
|
4
|
+
require("react"),
|
|
5
|
+
require("react-native"),
|
|
6
|
+
require("react-native-vector-icons/MaterialIcons"),
|
|
7
|
+
require("../api"),
|
|
8
|
+
require("../utils/encryption"),
|
|
9
|
+
require("../utils/assetRegistry"),
|
|
10
|
+
require("../config/api")
|
|
11
|
+
];
|
|
12
|
+
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
13
|
+
Object[_0x4cae(0x0)](exports,_0x4cae(0x1),{'value':!![]}),exports[_0x4cae(0x2)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_MaterialIcons=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_api=__ONAIROS_REQ_FUNC__(0x3),_encryption=__ONAIROS_REQ_FUNC__(0x4),_assetRegistry=__ONAIROS_REQ_FUNC__(0x5),_api2=__ONAIROS_REQ_FUNC__(0x6);function _interopRequireDefault(_0x3cea73){return _0x3cea73&&_0x3cea73[_0x4cae(0x1)]?_0x3cea73:{'default':_0x3cea73};}function _interopRequireWildcard(_0x531c89,_0x15e083){const _0x6b23e1={'QkBFK':_0x4cae(0x3),'RKisj':function(_0xb3f669,_0x1b9e01){return _0xb3f669&&_0x1b9e01;},'jIrqx':function(_0x38c60e,_0x1b084d){return _0x38c60e===_0x1b084d;},'ovjvA':function(_0x3f038b,_0x23cf34){return _0x3f038b!=_0x23cf34;},'SFHdJ':_0x4cae(0x4),'MlMmm':_0x4cae(0x5),'IlEXq':function(_0xe1d337,_0x8ee321){return _0xe1d337!==_0x8ee321;},'eaciy':'cEKYd','irdNQ':_0x4cae(0x6),'QMcya':function(_0xc7e724,_0x12588b,_0x7c4c83,_0x71f9a6){return _0xc7e724(_0x12588b,_0x7c4c83,_0x71f9a6);},'kkZDA':function(_0x51318f,_0x44c3a7){return _0x51318f==_0x44c3a7;}};if(_0x6b23e1[_0x4cae(0x7)](_0x6b23e1[_0x4cae(0x8)],typeof WeakMap))var _0x798462=new WeakMap(),_0x123a7a=new WeakMap();return(_interopRequireWildcard=function(_0xb685d0,_0x67ee57){const _0x2ec0df={'ueMoE':_0x6b23e1[_0x4cae(0x9)]};if(_0x6b23e1[_0x4cae(0xa)](!_0x67ee57,_0xb685d0)&&_0xb685d0[_0x4cae(0x1)])return _0xb685d0;var _0x8ffe9e,_0x5e93ba,_0x15d8c3={'__proto__':null,'default':_0xb685d0};if(_0x6b23e1[_0x4cae(0xb)](null,_0xb685d0)||_0x6b23e1[_0x4cae(0xc)](_0x6b23e1[_0x4cae(0xd)],typeof _0xb685d0)&&_0x6b23e1[_0x4cae(0xc)](_0x6b23e1[_0x4cae(0x8)],typeof _0xb685d0))return _0x15d8c3;if(_0x8ffe9e=_0x67ee57?_0x123a7a:_0x798462){if(_0x6b23e1[_0x4cae(0xe)](_0x6b23e1[_0x4cae(0xf)],_0x6b23e1[_0x4cae(0xf)]))_0x59b520['error'](_0x2ec0df[_0x4cae(0x10)],_0x45348a);else{if(_0x8ffe9e[_0x4cae(0x11)](_0xb685d0))return _0x8ffe9e[_0x4cae(0x12)](_0xb685d0);_0x8ffe9e[_0x4cae(0x13)](_0xb685d0,_0x15d8c3);}}for(const _0x4aeab5 in _0xb685d0)_0x6b23e1[_0x4cae(0xe)](_0x6b23e1['irdNQ'],_0x4aeab5)&&{}[_0x4cae(0x14)]['call'](_0xb685d0,_0x4aeab5)&&((_0x5e93ba=(_0x8ffe9e=Object[_0x4cae(0x0)])&&Object[_0x4cae(0x15)](_0xb685d0,_0x4aeab5))&&(_0x5e93ba[_0x4cae(0x12)]||_0x5e93ba[_0x4cae(0x13)])?_0x6b23e1[_0x4cae(0x16)](_0x8ffe9e,_0x15d8c3,_0x4aeab5,_0x5e93ba):_0x15d8c3[_0x4aeab5]=_0xb685d0[_0x4aeab5]);return _0x15d8c3;})(_0x531c89,_0x15e083);}const {width:SCREEN_WIDTH,height:SCREEN_HEIGHT}=_reactNative[_0x4cae(0x17)][_0x4cae(0x12)](_0x4cae(0x18)),Overlay=({data:_0x299935,username:_0x465f19,modelKey:_0x46d3de,onResolved:_0x7d481f,appName:appName=_0x4cae(0x19),darkMode:darkMode=![],platforms:platforms=_assetRegistry['OVERLAY_PLATFORMS']})=>{const _0x46d075={'kdnyw':function(_0x2b5541,_0x4c7474){return _0x2b5541!==_0x4c7474;},'TSHNz':_0x4cae(0x1a),'ooAEF':function(_0x2860b){return _0x2860b();},'NVFcF':function(_0x137b1e,_0x302205){return _0x137b1e===_0x302205;},'IRDUH':_0x4cae(0x1b),'IvWri':_0x4cae(0x1c),'JEsrX':function(_0x15a338,_0x1cb692){return _0x15a338(_0x1cb692);},'jMslB':function(_0x4d7e93,_0x55cced){return _0x4d7e93!==_0x55cced;},'DxzZT':'LWkIM','mYIhs':function(_0x56cfd8,_0x52377a){return _0x56cfd8===_0x52377a;},'RkYtT':_0x4cae(0x1d),'LUqSK':'Ucwnt','TnOOH':function(_0x296339,_0xd95652){return _0x296339(_0xd95652);},'KaQMV':'Development\x20mode\x20-\x20mock\x20account\x20info','qgXlu':_0x4cae(0x1e),'vMGII':'object','wePKx':function(_0xa89105,_0xfc5694){return _0xa89105(_0xfc5694);},'nBUUr':function(_0x22c122,_0x231f62){return _0x22c122!==_0x231f62;},'AdVun':_0x4cae(0x1f),'Yruds':_0x4cae(0x20),'npYht':function(_0x5df6c7,_0x409ab7){return _0x5df6c7(_0x409ab7);},'MDkDv':_0x4cae(0x21),'dhMgs':function(_0x1b7736){return _0x1b7736();},'bIVBu':function(_0x2b6068,_0x5900bc){return _0x2b6068!==_0x5900bc;},'arqyM':'rEqxL','LVlfh':function(_0xeccf58,_0x22954b,_0x4bdb7f,_0x3a0f01){return _0xeccf58(_0x22954b,_0x4bdb7f,_0x3a0f01);},'VUnNm':_0x4cae(0x22),'kJqgw':function(_0x1c699f,_0xe1f578){return _0x1c699f(_0xe1f578);},'BIOny':function(_0x567a19){return _0x567a19();},'ixtRK':'com.onairos.mock','ezKRr':_0x4cae(0x23),'NndUB':_0x4cae(0x24),'MXqvB':_0x4cae(0x25),'lhSfc':function(_0x48eab7,_0x25f94b,_0x4f2a9f,_0x47f2b9){return _0x48eab7(_0x25f94b,_0x4f2a9f,_0x47f2b9);},'vNLbe':function(_0x370de5){return _0x370de5();},'VvmcL':_0x4cae(0x26),'Twtxm':function(_0x3f91e7,_0x2ae82b){return _0x3f91e7===_0x2ae82b;},'vjvNh':'yyEsf','YwMiy':_0x4cae(0x27),'jwyvw':function(_0x500f4e,_0x4cfde3){return _0x500f4e===_0x4cfde3;},'jqZRF':function(_0x5a1f2e,_0x48b0a9){return _0x5a1f2e===_0x48b0a9;},'Lswjc':_0x4cae(0x5),'vlOjh':function(_0x2aa8b7,_0x4b736d){return _0x2aa8b7===_0x4b736d;},'xPAnE':_0x4cae(0x28),'FdqNM':'mwvCC','lTICv':_0x4cae(0x3),'VjTrM':'getAPIUrlMobile','FKMqa':_0x4cae(0x29),'nxQlJ':_0x4cae(0x2a),'aIgZf':function(_0x5c394e,_0x4349d5){return _0x5c394e!==_0x4349d5;},'tZizU':_0x4cae(0x2b),'vjUnL':function(_0x4ec260){return _0x4ec260();},'owRJX':_0x4cae(0x2c),'BUljR':_0x4cae(0x2d),'csDOQ':_0x4cae(0x2e),'IpvLj':_0x4cae(0x2f),'ufqIi':_0x4cae(0x30),'FNpyV':_0x4cae(0x31),'BlAQF':function(_0x4041c3,_0x506f73){return _0x4041c3===_0x506f73;},'COZuv':function(_0x3d32dd,_0x377077){return _0x3d32dd(_0x377077);},'BrsRO':_0x4cae(0x32),'TixQd':_0x4cae(0x33),'JNMEL':'arrow_forward','dzSsb':'#666','XzHQu':_0x4cae(0x34),'HkYCn':'None\x20of\x20your\x20app\x20data\x20is\x20shared\x20with\x20ANYONE','LmLdw':function(_0x4b74c6,_0x15e226){return _0x4b74c6&&_0x15e226;},'IBESc':_0x4cae(0x35)},[_0x3c437b,_0x3d615a]=(0x0,_react['useState'])({}),[_0x1e5c4d,_0x57e108]=(0x0,_react['useState'])(''),[_0x2f090d,_0x560450]=(0x0,_react[_0x4cae(0x36)])(!![]),[_0x4e0a58,_0x227f04]=(0x0,_react[_0x4cae(0x36)])({}),_0x3f7aa4=(0x0,_react['useRef'])(new _reactNative[(_0x4cae(0x37))][(_0x4cae(0x38))](0x0))[_0x4cae(0x39)];(0x0,_react[_0x4cae(0x3a)])(()=>{const _0x52d158={'YqNyB':'Error\x20getting\x20server\x20public\x20key:','lDAvu':function(_0x417958,_0x38cf29){return _0x46d075[_0x4cae(0x3b)](_0x417958,_0x38cf29);},'KenaP':_0x46d075[_0x4cae(0x3c)],'ExCNi':function(_0x3f9a7e,_0x4ea6c0,_0x485dc2,_0x19b22f){return _0x3f9a7e(_0x4ea6c0,_0x485dc2,_0x19b22f);},'wlvap':function(_0x5ea5e7){return _0x46d075[_0x4cae(0x3d)](_0x5ea5e7);},'XYdzO':function(_0x420a47,_0x2a70b8){return _0x46d075[_0x4cae(0x3e)](_0x420a47,_0x2a70b8);},'EASUi':_0x46d075[_0x4cae(0x3f)],'pLsUP':_0x46d075[_0x4cae(0x40)]},_0x574842={};Object[_0x4cae(0x41)](_0x299935)[_0x4cae(0x42)](_0x566d15=>{const _0x2358a1={'fiCGy':_0x52d158[_0x4cae(0x43)]};_0x52d158['lDAvu'](_0x4cae(0x1a),_0x52d158[_0x4cae(0x44)])?_0x244ea0[_0x4cae(0x45)](_0x2358a1[_0x4cae(0x46)],_0x317c60):_0x574842[_0x566d15]=![];}),_0x3d615a(_0x574842);const _0x4897fc={};platforms[_0x4cae(0x42)](_0x49768a=>{const _0xccd818={'ABOjf':function(_0x18b8d1,_0x5b203c,_0x3a084c,_0x70987c){return _0x52d158[_0x4cae(0x47)](_0x18b8d1,_0x5b203c,_0x3a084c,_0x70987c);},'oUyEt':_0x4cae(0x2f),'EyQQA':function(_0x7ec074){return _0x52d158[_0x4cae(0x48)](_0x7ec074);}};_0x52d158[_0x4cae(0x49)](_0x52d158[_0x4cae(0x4a)],_0x52d158[_0x4cae(0x4b)])?(_0xccd818[_0x4cae(0x4c)](_0x290cce,''+_0x4bb378[_0x4cae(0x4d)][_0x4cae(0x4e)],_0xccd818[_0x4cae(0x4f)],{'username':_0x1224ea,'selections':_0x38d61b,'platforms':_0xff1bb2,'error':!![]}),_0xccd818[_0x4cae(0x50)](_0x372cb8)):_0x4897fc[_0x49768a['id']]=![];}),_0x46d075[_0x4cae(0x51)](_0x227f04,_0x4897fc),_0x5c9871(),_reactNative['Animated'][_0x4cae(0x52)](_0x3f7aa4,{'toValue':0x1,'useNativeDriver':!![],'bounciness':0x0})[_0x4cae(0x53)]();},[]);const _0x5c9871=async()=>{const _0x5609e7={'EOiJm':_0x4cae(0x33),'crTfq':function(_0x170c5f,_0x1f8d25){return _0x46d075[_0x4cae(0x51)](_0x170c5f,_0x1f8d25);},'yQWTI':_0x4cae(0x2f)};try{if(_0x46d075[_0x4cae(0x54)](_0x4cae(0x55),_0x46d075['DxzZT'])){if(__DEV__){if(_0x46d075[_0x4cae(0x56)](_0x46d075[_0x4cae(0x57)],_0x46d075['LUqSK']))_0xdfb901[_0x4cae(0x58)]['alert'](_0x5609e7[_0x4cae(0x59)],_0x35c1ce,[{'text':'OK'}]);else{_0x46d075['TnOOH'](_0x57e108,_0x46d075[_0x4cae(0x5a)]);return;}}const _0x1d1796=await _api[_0x4cae(0x5b)]['post'](_0x46d075[_0x4cae(0x5c)],{'Info':{'username':_0x465f19}});if(_0x1d1796&&_0x1d1796['data']){const _0xe8af06=typeof _0x1d1796[_0x4cae(0x5d)]===_0x46d075[_0x4cae(0x5e)]&&_0x1d1796['data'][_0x4cae(0x5f)]?_0x1d1796[_0x4cae(0x5d)][_0x4cae(0x5f)]:_0x4cae(0x60)+_0x465f19;_0x46d075[_0x4cae(0x61)](_0x57e108,_0xe8af06);}else _0x46d075[_0x4cae(0x62)](_0x46d075['AdVun'],'kgGRD')?_0x46d075[_0x4cae(0x61)](_0x57e108,_0x4cae(0x60)+_0x465f19):_0x5609e7[_0x4cae(0x63)](_0x32aa03,![]);}else _0x51ae47[_0x4cae(0x45)](_0x4cae(0x2c),_0x54571f),_0x548394?(_0x53ada3(''+_0x2e6a64[_0x4cae(0x4d)]['BASE_URL'],_0x5609e7[_0x4cae(0x64)],{'username':_0x56b68e,'selections':_0x48ae42,'platforms':_0x292c99,'error':!![]}),_0x3258e8()):_0x5609e7[_0x4cae(0x63)](_0x195e2a,_0x4cae(0x31));}catch(_0x5819b8){console[_0x4cae(0x45)](_0x46d075['Yruds'],_0x5819b8),_0x46d075[_0x4cae(0x61)](_0x57e108,_0x4cae(0x60)+_0x465f19);}},_0x7a23ef=(0x0,_react[_0x4cae(0x65)])(()=>{const _0xb1743b={'hXLLI':function(_0x12af1e,_0xc33c7c){return _0x46d075[_0x4cae(0x66)](_0x12af1e,_0xc33c7c);}};if(_0x46d075['nBUUr'](_0x4cae(0x67),'phGOd'))_reactNative[_0x4cae(0x37)]['timing'](_0x3f7aa4,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})[_0x4cae(0x53)](()=>{_0xb1743b[_0x4cae(0x68)](_0x560450,![]);});else return _0x1e987c&&_0xad2ee6[_0x4cae(0x1)]?_0x130b49:{'default':_0x1c91cc};},[_0x3f7aa4]),_0x569657=(0x0,_react[_0x4cae(0x65)])(_0xcb5aa8=>{const _0x57a035={'SwQBh':function(_0x4e8eb0,_0x211cd0,_0x371e71,_0x49b745){return _0x4e8eb0(_0x211cd0,_0x371e71,_0x49b745);},'byDNp':_0x46d075[_0x4cae(0x69)],'yhmgE':function(_0x57aef7){return _0x46d075['dhMgs'](_0x57aef7);}};_0x46d075[_0x4cae(0x6a)](_0x4cae(0x6b),_0x46d075[_0x4cae(0x6c)])?_0x227f04(_0x17efd8=>({..._0x17efd8,[_0xcb5aa8]:!_0x17efd8[_0xcb5aa8]})):(_0x57a035[_0x4cae(0x6d)](_0x19ccf0,''+_0x560345[_0x4cae(0x4d)][_0x4cae(0x4e)],_0x57a035[_0x4cae(0x6e)],{'username':_0x2123e5,'selections':_0x34dc01,'platforms':_0xb29bad}),_0x57a035['yhmgE'](_0x4c5437));},[]),_0x3338bb=(0x0,_react[_0x4cae(0x65)])(async()=>{const _0x24809b={'UprCw':'Error\x20encrypting\x20model\x20key:','XOlAS':function(_0x482e85,_0x38cd5a){return _0x46d075[_0x4cae(0x6f)](_0x482e85,_0x38cd5a);},'rtHxU':_0x4cae(0x26),'LEsmF':function(_0x847985,_0xcb9c0b,_0x5e944c,_0x33e234){return _0x46d075[_0x4cae(0x70)](_0x847985,_0xcb9c0b,_0x5e944c,_0x33e234);},'YWReX':function(_0x32b479){return _0x46d075[_0x4cae(0x71)](_0x32b479);}};try{const _0x30f6a5=_reactNative[_0x4cae(0x72)]['select']({'ios':_0x46d075[_0x4cae(0x73)],'android':_0x46d075['ixtRK'],'default':_0x46d075[_0x4cae(0x74)]});if(__DEV__){if(_0x46d075[_0x4cae(0x75)]!==_0x46d075[_0x4cae(0x76)]){_0x46d075[_0x4cae(0x77)](_0x7d481f,''+_api2[_0x4cae(0x4d)][_0x4cae(0x4e)],_0x46d075[_0x4cae(0x78)],{'username':_0x465f19,'selections':_0x3c437b,'platforms':_0x4e0a58}),_0x46d075[_0x4cae(0x79)](_0x7a23ef);return;}else try{_0xa00542=(0x0,_0x16f156['encryptModelKey'])(_0x4dee36,_0x459057);}catch(_0x3805a2){_0x1eac5e[_0x4cae(0x45)](_0x24809b['UprCw'],_0x3805a2);}}let _0x3bc463=_0x46d075[_0x4cae(0x7a)];try{if(_0x46d075[_0x4cae(0x7b)](_0x46d075[_0x4cae(0x7c)],_0x46d075[_0x4cae(0x7c)])){const _0x526d47=await _api[_0x4cae(0x5b)][_0x4cae(0x12)](_0x46d075['YwMiy']);_0x526d47&&_0x526d47[_0x4cae(0x5d)]&&_0x46d075[_0x4cae(0x7d)](typeof _0x526d47[_0x4cae(0x5d)],_0x46d075[_0x4cae(0x5e)])&&(_0x3bc463=_0x526d47[_0x4cae(0x5d)][_0x4cae(0x7e)]||_0x46d075[_0x4cae(0x7a)]);}else _0x399600[_0x4cae(0x37)]['timing'](_0x1f51b2,{'toValue':0x0,'duration':0xfa,'useNativeDriver':!![]})['start'](()=>{_0x488e34(![]);});}catch(_0x2b6af7){console[_0x4cae(0x45)](_0x4cae(0x7f),_0x2b6af7);}let _0x4263e9=_0x46d3de;if(_0x46d075[_0x4cae(0x80)](typeof _encryption[_0x4cae(0x81)],_0x46d075[_0x4cae(0x82)])&&_0x3bc463)try{if(_0x46d075[_0x4cae(0x83)](_0x46d075[_0x4cae(0x84)],_0x46d075[_0x4cae(0x85)])){_0x46d075['LVlfh'](_0x4b3688,''+_0x5db033['API_CONFIG'][_0x4cae(0x4e)],_0x46d075[_0x4cae(0x78)],{'username':_0x49a585,'selections':_0x2a1a4c,'platforms':_0x144485}),_0x46d075[_0x4cae(0x3d)](_0x226f41);return;}else _0x4263e9=(0x0,_encryption[_0x4cae(0x81)])(_0x3bc463,_0x46d3de);}catch(_0x26c895){console[_0x4cae(0x45)](_0x46d075[_0x4cae(0x86)],_0x26c895);}const _0x103cf4=await _api[_0x4cae(0x5b)]['post'](_0x46d075[_0x4cae(0x87)],{'Info':{'storage':_0x46d075[_0x4cae(0x88)],'appId':_0x30f6a5,'confirmations':_0x3c437b,'developerURL':_0x46d075['nxQlJ'],'EncryptedUserPin':_0x4263e9,'username':_0x465f19,'platforms':_0x4e0a58}});_0x103cf4&&_0x103cf4[_0x4cae(0x5d)]&&_0x103cf4[_0x4cae(0x5d)][_0x4cae(0x89)]&&_0x103cf4[_0x4cae(0x5d)]['token']?_0x46d075[_0x4cae(0x8a)](_0x46d075[_0x4cae(0x8b)],'gTxjn')?_0x24809b[_0x4cae(0x8c)](_0x2fb1be,_0x4a68d2=>({..._0x4a68d2,[_0x308a58]:!_0x4a68d2[_0x318774]})):(_0x46d075['LVlfh'](_0x7d481f,_0x103cf4[_0x4cae(0x5d)][_0x4cae(0x89)],_0x103cf4['data'][_0x4cae(0x8d)],{'username':_0x465f19,'selections':_0x3c437b,'platforms':_0x4e0a58}),_0x46d075['dhMgs'](_0x7a23ef)):(_0x46d075[_0x4cae(0x77)](_0x7d481f,''+_api2[_0x4cae(0x4d)][_0x4cae(0x4e)],_0x46d075[_0x4cae(0x69)],{'username':_0x465f19,'selections':_0x3c437b,'platforms':_0x4e0a58}),_0x46d075[_0x4cae(0x8e)](_0x7a23ef));}catch(_0x5bc794){console[_0x4cae(0x45)](_0x46d075[_0x4cae(0x8f)],_0x5bc794),__DEV__?_0x46d075['BUljR']!==_0x46d075['csDOQ']?(_0x46d075[_0x4cae(0x70)](_0x7d481f,''+_api2[_0x4cae(0x4d)][_0x4cae(0x4e)],_0x46d075['IpvLj'],{'username':_0x465f19,'selections':_0x3c437b,'platforms':_0x4e0a58,'error':!![]}),_0x46d075[_0x4cae(0x90)](_0x7a23ef)):_0x1761c9=_0x2e4b4a[_0x4cae(0x5d)][_0x4cae(0x7e)]||_0x24809b[_0x4cae(0x91)]:_0x46d075['NVFcF'](_0x4cae(0x92),_0x46d075['ufqIi'])?(_0x24809b[_0x4cae(0x93)](_0x2f6c88,_0x3f7419['data'][_0x4cae(0x89)],_0x2c3c0['data']['token'],{'username':_0x2b71e8,'selections':_0x27bcc6,'platforms':_0x5e2696}),_0x24809b[_0x4cae(0x94)](_0x57fe6f)):_0x35fad9(_0x46d075['FNpyV']);}},[_0x3c437b,_0x465f19,_0x46d3de,_0x7d481f,_0x7a23ef,_0x4e0a58]),_0x35fad9=_0x1163db=>{if(_0x46d075['kdnyw'](_0x46d075[_0x4cae(0x95)],'hZjUk'))_reactNative['Alert'][_0x4cae(0x96)](_0x46d075['TixQd'],_0x1163db,[{'text':'OK'}]);else{const _0x1d252b=_0x46d075[_0x4cae(0x97)](typeof _0xbde3e6[_0x4cae(0x5d)],'object')&&_0x3869e5['data']['AccountInfo']?_0x2d0a75[_0x4cae(0x5d)]['AccountInfo']:_0x4cae(0x60)+_0x1a9180;_0x46d075[_0x4cae(0x98)](_0x4d6918,_0x1d252b);}};return _react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0x9a)],{'visible':_0x2f090d,'transparent':!![],'animationType':_0x4cae(0x9b),'statusBarTranslucent':!![],'onRequestClose':_0x7a23ef},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0x9c)],{'style':styles[_0x4cae(0x9d)],'activeOpacity':0x1,'onPress':_0x7a23ef},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0x9e)],{'onPress':_0x5d2155=>_0x5d2155[_0x4cae(0x9f)]()},_react['default'][_0x4cae(0x99)](_reactNative[_0x4cae(0x37)]['View'],{'style':[styles['bottomSheet'],darkMode&&styles[_0x4cae(0xa0)],{'transform':[{'translateY':_0x3f7aa4['interpolate']({'inputRange':[0x0,0x1],'outputRange':[SCREEN_HEIGHT,0x0]})}]}]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':styles[_0x4cae(0xa2)]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':[styles[_0x4cae(0xa3)],darkMode&&styles[_0x4cae(0xa4)]]})),_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa5)],{'style':[styles[_0x4cae(0xa6)],darkMode&&styles[_0x4cae(0xa0)]]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':[styles[_0x4cae(0xa7)],darkMode&&styles[_0x4cae(0xa8)]]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':styles[_0x4cae(0xa9)]},_react[_0x4cae(0x6)]['createElement'](_reactNative[_0x4cae(0xa1)],{'style':[styles['appIcon'],darkMode&&styles[_0x4cae(0xaa)]]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xab)],{'style':[styles[_0x4cae(0xac)],darkMode&&styles['darkText']]},appName[_0x4cae(0xad)](0x0))),_react[_0x4cae(0x6)][_0x4cae(0x99)](_MaterialIcons[_0x4cae(0x6)],{'name':_0x46d075[_0x4cae(0xae)],'size':0x18,'color':darkMode?_0x4cae(0xaf):_0x46d075[_0x4cae(0xb0)],'style':styles[_0x4cae(0xb1)]}),_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative['View'],{'style':[styles[_0x4cae(0xb2)],darkMode&&styles['darkOnairosIcon']]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xab)],{'style':[styles[_0x4cae(0xb3)],darkMode&&styles[_0x4cae(0xb4)]]},'O')))),_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xb5)],{'style':styles[_0x4cae(0xb6)]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':styles[_0x4cae(0xb7)]},_react['default']['createElement'](_reactNative[_0x4cae(0xab)],{'style':[styles[_0x4cae(0xb8)],darkMode&&styles[_0x4cae(0xb4)]]},_0x46d075['XzHQu']),_react[_0x4cae(0x6)]['createElement'](_reactNative[_0x4cae(0xab)],{'style':[styles[_0x4cae(0xb9)],darkMode&&styles[_0x4cae(0xba)]]},_0x46d075[_0x4cae(0xbb)])),_react['default'][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'style':styles[_0x4cae(0xbc)]},platforms[_0x4cae(0xbd)](_0x56a93d=>_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xa1)],{'key':_0x56a93d['id'],'style':[styles[_0x4cae(0xbe)],darkMode&&styles[_0x4cae(0xbf)]]},_react['default']['createElement'](_reactNative[_0x4cae(0xa1)],{'style':styles[_0x4cae(0xc0)]},_react['default'][_0x4cae(0x99)](_reactNative[_0x4cae(0xc1)],{'source':_0x56a93d[_0x4cae(0xc2)],'style':styles[_0x4cae(0xc3)],'resizeMode':_0x4cae(0xc4)}),_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative['Text'],{'style':[styles[_0x4cae(0xc5)],darkMode&&styles['darkText']]},_0x56a93d[_0x4cae(0xc6)])),_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xc7)],{'value':_0x4e0a58[_0x56a93d['id']],'onValueChange':()=>_0x569657(_0x56a93d['id']),'trackColor':{'false':'#767577','true':_0x4cae(0xc8)},'thumbColor':_0x4e0a58[_0x56a93d['id']]?_0x4cae(0xc9):_0x4cae(0xca)}))))),_react[_0x4cae(0x6)]['createElement'](_reactNative[_0x4cae(0xa1)],{'style':[styles[_0x4cae(0xcb)],darkMode&&styles[_0x4cae(0xcc)]]},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0x9c)],{'style':styles[_0x4cae(0xcd)],'onPress':_0x7a23ef},_react[_0x4cae(0x6)][_0x4cae(0x99)](_reactNative[_0x4cae(0xab)],{'style':[styles[_0x4cae(0xce)],darkMode&&styles[_0x4cae(0xba)]]},_0x4cae(0xcf))),_react[_0x4cae(0x6)]['createElement'](_reactNative[_0x4cae(0x9c)],{'style':[styles[_0x4cae(0xd0)],darkMode&&styles[_0x4cae(0xd1)]],'onPress':_0x3338bb},_react['default']['createElement'](_reactNative['Text'],{'style':[styles[_0x4cae(0xd2)],_0x46d075[_0x4cae(0xd3)](darkMode,{'color':_0x46d075[_0x4cae(0xd4)]})]},_0x4cae(0xd5)))))))));};exports[_0x4cae(0x2)]=Overlay;function _0x4cae(_0x133a8c,_0x4cae6d){_0x133a8c=_0x133a8c-0x0;const _0x34fb1c=_0x133a();let _0x53ee0e=_0x34fb1c[_0x133a8c];return _0x53ee0e;}const styles=_reactNative['StyleSheet'][_0x4cae(0xd6)]({'modalOverlay':{'flex':0x1,'backgroundColor':_0x4cae(0xd7),'justifyContent':_0x4cae(0xd8)},'bottomSheet':{'backgroundColor':_0x4cae(0xd9),'borderTopLeftRadius':0x18,'borderTopRightRadius':0x18,'width':SCREEN_WIDTH,'height':SCREEN_HEIGHT*0.8,'overflow':_0x4cae(0xda)},'handleContainer':{'width':_0x4cae(0xdb),'alignItems':_0x4cae(0xdc),'paddingTop':0xc,'paddingBottom':0x8},'handle':{'width':0x28,'height':0x5,'borderRadius':0x3,'backgroundColor':_0x4cae(0xdd)},'darkHandle':{'backgroundColor':_0x4cae(0xde)},'container':{'flex':0x1,'backgroundColor':_0x4cae(0xd9)},'darkContainer':{'backgroundColor':_0x4cae(0xdf)},'header':{'padding':0x18,'alignItems':_0x4cae(0xdc)},'darkHeader':{'backgroundColor':_0x4cae(0xdf)},'headerContent':{'flexDirection':_0x4cae(0xe0),'alignItems':_0x4cae(0xdc),'justifyContent':_0x4cae(0xdc),'marginBottom':0x10},'appIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':_0x4cae(0xe1),'alignItems':_0x4cae(0xdc),'justifyContent':_0x4cae(0xdc)},'darkAppIcon':{'backgroundColor':_0x4cae(0xe2)},'appIconText':{'fontSize':0x18,'color':_0x4cae(0x35)},'darkText':{'color':'#fff'},'arrow':{'marginHorizontal':0x10},'onairosIcon':{'width':0x30,'height':0x30,'borderRadius':0x10,'backgroundColor':'#F5F5F5','alignItems':'center','justifyContent':_0x4cae(0xdc)},'darkOnairosIcon':{'backgroundColor':_0x4cae(0xe2)},'onairosIconText':{'fontSize':0x18,'color':_0x4cae(0x35)},'darkSubText':{'color':_0x4cae(0xaf)},'titleContainer':{'marginBottom':0x1e},'mainTitle':{'fontSize':0x16,'fontWeight':_0x4cae(0xe3),'color':_0x4cae(0x35),'textAlign':'center','marginBottom':0x10},'privacyMessage':{'fontSize':0xe,'color':_0x4cae(0xde),'textAlign':_0x4cae(0xdc),'marginBottom':0x10},'content':{'flex':0x1,'paddingHorizontal':0x18},'platformsContainer':{'marginTop':0x10},'platformItem':{'flexDirection':_0x4cae(0xe0),'justifyContent':_0x4cae(0xe4),'alignItems':'center','padding':0x10,'backgroundColor':'#fff','borderRadius':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':_0x4cae(0xe5)},'darkPlatformItem':{'backgroundColor':_0x4cae(0xe2),'borderColor':_0x4cae(0xe6)},'platformInfo':{'flexDirection':_0x4cae(0xe0),'alignItems':_0x4cae(0xdc)},'platformIcon':{'width':0x20,'height':0x20,'marginRight':0xc},'platformName':{'fontSize':0x10,'fontWeight':_0x4cae(0xe7),'color':_0x4cae(0x35)},'footer':{'flexDirection':_0x4cae(0xe0),'alignItems':_0x4cae(0xdc),'justifyContent':_0x4cae(0xe4),'padding':0x18,'borderTopWidth':0x1,'borderTopColor':_0x4cae(0xe5),'backgroundColor':_0x4cae(0xd9)},'darkFooter':{'backgroundColor':_0x4cae(0xe2),'borderTopColor':_0x4cae(0xe6)},'footerButtonCancel':{'paddingVertical':0x8,'paddingHorizontal':0x10},'darkFooterButton':{'backgroundColor':'transparent'},'footerButtonConfirm':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x4cae(0xd9),'borderWidth':0x1,'borderColor':'#000'},'darkFooterButtonConfirm':{'backgroundColor':_0x4cae(0xd9),'borderColor':'#fff'},'footerButtonText':{'color':_0x4cae(0xde),'fontSize':0x10},'footerButtonTextConfirm':{'color':_0x4cae(0x35),'fontSize':0x10,'fontWeight':_0x4cae(0xe3)},'lightBackground':{'backgroundColor':_0x4cae(0xd9)},'darkBackground':{'backgroundColor':_0x4cae(0xdf)}});function _0x133a(){const _0x5c08bc=['defineProperty','__esModule','Overlay','Error\x20encrypting\x20model\x20key:','object','function','default','kkZDA','MlMmm','QkBFK','RKisj','jIrqx','ovjvA','SFHdJ','IlEXq','eaciy','ueMoE','has','get','set','hasOwnProperty','getOwnPropertyDescriptor','QMcya','Dimensions','window','Your\x20App','QmKKe','wWLtj','xtoXL','IsBMS','getAccountInfo','rBWqp','Error\x20getting\x20account\x20info:','fallback-token','mock-token','unknown','hQZBL','iHHgP','mock-key','public/key','GIcJu','local','devURL','gTxjn','Error\x20confirming\x20selection:','mIpqn','CfLsK','error-fallback-token','Ghtwu','Failed\x20to\x20confirm\x20selection.\x20Please\x20try\x20again.','BVJRO','Error','Connect\x20your\x20data\x20to\x20create\x20a\x20Persona\x20of\x20you,\x20to\x20connect\x20to\x20Cosmos','#000','useState','Animated','Value','current','useEffect','kdnyw','TSHNz','ooAEF','NVFcF','IRDUH','IvWri','keys','forEach','YqNyB','KenaP','error','fiCGy','ExCNi','wlvap','XYdzO','EASUi','pLsUP','ABOjf','API_CONFIG','BASE_URL','oUyEt','EyQQA','JEsrX','spring','start','jMslB','lBEEC','mYIhs','RkYtT','Alert','EOiJm','KaQMV','onairosApi','qgXlu','data','vMGII','AccountInfo','User:\x20','wePKx','nBUUr','crTfq','yQWTI','useCallback','npYht','HehEU','hXLLI','MDkDv','bIVBu','XBvAq','arqyM','SwQBh','byDNp','kJqgw','LVlfh','BIOny','Platform','ixtRK','ezKRr','NndUB','MXqvB','lhSfc','VUnNm','vNLbe','VvmcL','Twtxm','vjvNh','jwyvw','publicKey','Error\x20getting\x20server\x20public\x20key:','jqZRF','encryptModelKey','Lswjc','vlOjh','xPAnE','FdqNM','lTICv','VjTrM','FKMqa','APIUrl','aIgZf','tZizU','XOlAS','token','vjUnL','owRJX','dhMgs','rtHxU','ORZgZ','LEsmF','YWReX','BrsRO','alert','BlAQF','COZuv','createElement','Modal','none','TouchableOpacity','modalOverlay','TouchableWithoutFeedback','stopPropagation','darkContainer','View','handleContainer','handle','darkHandle','SafeAreaView','container','header','darkHeader','headerContent','darkAppIcon','Text','appIconText','charAt','JNMEL','#999','dzSsb','arrow','onairosIcon','onairosIconText','darkText','ScrollView','content','titleContainer','mainTitle','privacyMessage','darkSubText','HkYCn','platformsContainer','map','platformItem','darkPlatformItem','platformInfo','Image','icon','platformIcon','contain','platformName','name','Switch','#81b0ff','#2196F3','#f4f3f4','footer','darkFooter','footerButtonCancel','footerButtonText','Cancel','footerButtonConfirm','darkFooterButtonConfirm','footerButtonTextConfirm','LmLdw','IBESc','Connect','create','rgba(0,\x200,\x200,\x200.5)','flex-end','#fff','hidden','100%','center','#E0E0E0','#666','#1A1A1A','row','#F5F5F5','#2A2A2A','600','space-between','#eee','#333','500'];_0x133a=function(){return _0x5c08bc;};return _0x133a();}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// Onairos SDK - Asset Registry (auto-generated)
|
|
3
|
+
var __ONAIROS_REQ_REGISTRY__ = [
|
|
4
|
+
require("react"),
|
|
5
|
+
require("react-native"),
|
|
6
|
+
require("lottie-react-native"),
|
|
7
|
+
require("../utils/assetRegistry")
|
|
8
|
+
];
|
|
9
|
+
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
10
|
+
Object['defineProperty'](exports,_0x2d8d(0x0),{'value':!![]}),exports[_0x2d8d(0x1)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_lottieReactNative=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2)),_assetRegistry=__ONAIROS_REQ_FUNC__(0x3);function _interopRequireDefault(_0x405484){return _0x405484&&_0x405484[_0x2d8d(0x0)]?_0x405484:{'default':_0x405484};}function _0x6c65(){const _0xc2b692=['__esModule','default','function','AFbVv','current','JbQWG','has','get','TCrqP','call','defineProperty','getOwnPropertyDescriptor','xBWOR','tRjSW','psHbc','ZpFsG','jBbzj','PsnhT','QfZDY','npoaz','XaGdN','useState','useRef','iestL','useEffect','BiQwG','xpwrr','vNSOS','Fsslf','mYMAd','KvvzY','UqRBI','jcMSs','vpeTv','mCidG','ZlVBI','ImegL','dVUWL','ALBuX','split','YUipa','EHSgI','JJpnV','QUqVJ','CcFIr','dvVFW','BSsXg','object','yUwcM','set','hasOwnProperty','uNMaa','YPRkF','CvmjF','bgREX','tUFGY','AcilW','eLjdQ','ZWatM','now','AIVMN','min','NuQsU','AOkNg','bkxfx','JcJIe','ERdby','wkqcG','AbcNc','IlQzI','cnvvU','ipTPQ','MQyLW','iOAuK','vTUdq','createElement','View','ANIMATIONS','persona','animation','aaNll','StyleSheet','create','center','100%'];_0x6c65=function(){return _0xc2b692;};return _0x6c65();}function _interopRequireWildcard(_0x731226,_0x1e46e9){const _0x23950d={'RQsMI':'ebnxh','XVsUM':function(_0x39deaf,_0x489c96){return _0x39deaf&&_0x489c96;},'tMEai':function(_0x5545c3,_0x3b4d6f){return _0x5545c3!=_0x3b4d6f;},'JbQWG':'object','TCrqP':function(_0x5b9a36,_0x21a832){return _0x5b9a36!==_0x21a832;},'xBWOR':function(_0x4ad6b5,_0x79206f,_0x250bda,_0x342a52){return _0x4ad6b5(_0x79206f,_0x250bda,_0x342a52);},'AFbVv':_0x2d8d(0x2)};if(_0x23950d[_0x2d8d(0x3)]==typeof WeakMap)var _0x2d565b=new WeakMap(),_0x48082d=new WeakMap();return(_interopRequireWildcard=function(_0x4242b4,_0x986793){if(_0x23950d['RQsMI']!==_0x23950d['RQsMI'])_0x374655[_0x2d8d(0x4)]=null;else{if(_0x23950d['XVsUM'](!_0x986793,_0x4242b4)&&_0x4242b4['__esModule'])return _0x4242b4;var _0x367a90,_0x3fc2e1,_0x6922ea={'__proto__':null,'default':_0x4242b4};if(null===_0x4242b4||_0x23950d['tMEai'](_0x23950d[_0x2d8d(0x5)],typeof _0x4242b4)&&_0x2d8d(0x2)!=typeof _0x4242b4)return _0x6922ea;if(_0x367a90=_0x986793?_0x48082d:_0x2d565b){if(_0x367a90[_0x2d8d(0x6)](_0x4242b4))return _0x367a90[_0x2d8d(0x7)](_0x4242b4);_0x367a90['set'](_0x4242b4,_0x6922ea);}for(const _0x4d0433 in _0x4242b4)_0x23950d[_0x2d8d(0x8)](_0x2d8d(0x1),_0x4d0433)&&{}['hasOwnProperty'][_0x2d8d(0x9)](_0x4242b4,_0x4d0433)&&((_0x3fc2e1=(_0x367a90=Object[_0x2d8d(0xa)])&&Object[_0x2d8d(0xb)](_0x4242b4,_0x4d0433))&&(_0x3fc2e1['get']||_0x3fc2e1['set'])?_0x23950d[_0x2d8d(0xc)](_0x367a90,_0x6922ea,_0x4d0433,_0x3fc2e1):_0x6922ea[_0x4d0433]=_0x4242b4[_0x4d0433]);return _0x6922ea;}})(_0x731226,_0x1e46e9);}function _0x2d8d(_0x6c658a,_0x2d8ddd){_0x6c658a=_0x6c658a-0x0;const _0x4f0841=_0x6c65();let _0x43731f=_0x4f0841[_0x6c658a];return _0x43731f;}const PersonaImage=({level:_0x2f8788,style:_0x54c119,disableAnimation:disableAnimation=![]})=>{const _0x10a77f={'BiQwG':function(_0x377462,_0x43eea4){return _0x377462&&_0x43eea4;},'eBBwm':function(_0x2848c8,_0x4599fa){return _0x2848c8===_0x4599fa;},'jDXBt':_0x2d8d(0x2),'jcMSs':function(_0x39184a,_0x3d516e){return _0x39184a(_0x3d516e);},'xpwrr':function(_0x2deb00,_0xe76eec){return _0x2deb00-_0xe76eec;},'vNSOS':function(_0x317da1,_0x385b90){return _0x317da1<_0x385b90;},'Fsslf':function(_0x4f8222,_0x2761c5){return _0x4f8222*_0x2761c5;},'mYMAd':function(_0x2811e5,_0xa76315){return _0x2811e5<_0xa76315;},'UqRBI':_0x2d8d(0xd),'vpeTv':function(_0x2d02f9,_0x5eee37){return _0x2d02f9!==_0x5eee37;},'mCidG':_0x2d8d(0xe),'ZlVBI':_0x2d8d(0xf),'ImegL':_0x2d8d(0x10),'dVUWL':function(_0x1f5e5d,_0x4cd80e){return _0x1f5e5d(_0x4cd80e);},'ALBuX':'2|1|4|3|0','YUipa':function(_0x164265,_0xabeb12){return _0x164265(_0xabeb12);},'EHSgI':function(_0x1e195b,_0x3cf69c){return _0x1e195b===_0x3cf69c;},'JJpnV':_0x2d8d(0x11),'QUqVJ':_0x2d8d(0x12),'spGOv':_0x2d8d(0x13),'uNMaa':_0x2d8d(0x14),'pIJlA':function(_0x3b32ac,_0xa7ff3a){return _0x3b32ac(_0xa7ff3a);},'wVotS':function(_0x475b2f,_0x5a4b12,_0x25d056){return _0x475b2f(_0x5a4b12,_0x25d056);},'iestL':function(_0x24a7e0,_0x20fa53){return _0x24a7e0(_0x20fa53);},'aaNll':'contain'},_0x519b52=(0x0,_react['useRef'])(null),_0x482d29=[0x0,0.2,0.35,0.52,0.8],_0x25f90c=_0x5bbe6e=>_0x482d29[_0x5bbe6e-0x1]||0x0,[_0xf58d2c,_0x43d3a8]=(0x0,_react[_0x2d8d(0x15)])(_0x10a77f['YUipa'](_0x25f90c,_0x2f8788)),_0x561a49=(0x0,_react[_0x2d8d(0x16)])(_0x10a77f[_0x2d8d(0x17)](_0x25f90c,_0x2f8788)),_0xb1d5f1=(0x0,_react[_0x2d8d(0x16)])(_0x2f8788),_0xd1f5e3=(0x0,_react[_0x2d8d(0x16)])(null),_0x1e3616=(0x0,_react[_0x2d8d(0x16)])(null),_0x3e0847=(0x0,_react[_0x2d8d(0x16)])(!![]);return(0x0,_react[_0x2d8d(0x18)])(()=>{const _0xbbb323={'CcFIr':function(_0x208677,_0xa82e96){return _0x10a77f[_0x2d8d(0x19)](_0x208677,_0xa82e96);},'dvVFW':function(_0x4858b3,_0x24fe57){return _0x10a77f['eBBwm'](_0x4858b3,_0x24fe57);},'BSsXg':function(_0x5229b7,_0x348cb6){return _0x5229b7!=_0x348cb6;},'yUwcM':_0x10a77f['jDXBt'],'AcilW':function(_0x37d932,_0x197799){return _0x10a77f['jcMSs'](_0x37d932,_0x197799);},'YPRkF':function(_0x16503f,_0x5d096f){return _0x10a77f[_0x2d8d(0x1a)](_0x16503f,_0x5d096f);},'CvmjF':function(_0x2d8d13,_0x20366e){return _0x10a77f[_0x2d8d(0x1b)](_0x2d8d13,_0x20366e);},'bgREX':function(_0x3725ca,_0x2fc746){return _0x10a77f[_0x2d8d(0x1c)](_0x3725ca,_0x2fc746);},'tUFGY':function(_0x2f4606,_0x44ee21){return _0x2f4606+_0x44ee21;},'eLjdQ':function(_0x3ec866,_0x207370){return _0x10a77f[_0x2d8d(0x1d)](_0x3ec866,_0x207370);},'KTBoy':_0x2d8d(0x1e),'ZWatM':_0x10a77f[_0x2d8d(0x1f)],'iOAuK':function(_0x1adcd6,_0x437dfd){return _0x10a77f[_0x2d8d(0x20)](_0x1adcd6,_0x437dfd);},'ipTPQ':function(_0x21d924,_0x45123c){return _0x10a77f[_0x2d8d(0x21)](_0x21d924,_0x45123c);},'IIyqn':_0x10a77f[_0x2d8d(0x22)],'MQyLW':_0x10a77f[_0x2d8d(0x23)],'vTUdq':function(_0x5dd102,_0x4e302f){return _0x10a77f[_0x2d8d(0x20)](_0x5dd102,_0x4e302f);}};if(_0x10a77f[_0x2d8d(0x21)](_0x10a77f['ImegL'],_0x10a77f[_0x2d8d(0x24)]))return _0x316c6c&&_0xe24fef[_0x2d8d(0x0)]?_0x4e79c2:{'default':_0x2f4430};else{const _0x4d7b10=_0x10a77f[_0x2d8d(0x25)](_0x25f90c,_0x2f8788);if(_0x3e0847['current']){const _0x12eff2=_0x10a77f[_0x2d8d(0x26)][_0x2d8d(0x27)]('|');let _0x2b4404=0x0;while(!![]){switch(_0x12eff2[_0x2b4404++]){case'0':return;case'1':_0x10a77f[_0x2d8d(0x20)](_0x43d3a8,_0x4d7b10);continue;case'2':_0x561a49[_0x2d8d(0x4)]=_0x4d7b10;continue;case'3':_0x3e0847[_0x2d8d(0x4)]=![];continue;case'4':_0xb1d5f1[_0x2d8d(0x4)]=_0x2f8788;continue;}break;}}if(disableAnimation){_0x561a49['current']=_0x4d7b10,_0x10a77f[_0x2d8d(0x28)](_0x43d3a8,_0x4d7b10),_0xb1d5f1[_0x2d8d(0x4)]=_0x2f8788;return;}if(_0x10a77f[_0x2d8d(0x29)](_0xb1d5f1[_0x2d8d(0x4)],_0x2f8788)){if(_0x10a77f['vpeTv'](_0x10a77f[_0x2d8d(0x2a)],_0x10a77f[_0x2d8d(0x2b)]))return;else{if(_0xbbb323[_0x2d8d(0x2c)](!_0x392f5a,_0x18a1a5)&&_0x143337[_0x2d8d(0x0)])return _0x26898d;var _0x3314f0,_0x8bcb72,_0x4d77f1={'__proto__':null,'default':_0x5b5a00};if(_0xbbb323[_0x2d8d(0x2d)](null,_0x27fb68)||_0xbbb323[_0x2d8d(0x2e)](_0x2d8d(0x2f),typeof _0x2930fc)&&_0xbbb323['BSsXg'](_0xbbb323[_0x2d8d(0x30)],typeof _0x517b24))return _0x4d77f1;if(_0x3314f0=_0x493f27?_0xc09049:_0x18f4e3){if(_0x3314f0[_0x2d8d(0x6)](_0x2c5cb8))return _0x3314f0['get'](_0x1a6b1a);_0x3314f0[_0x2d8d(0x31)](_0x3677fd,_0x4d77f1);}for(const _0x5c9b18 in _0x12acbb)'default'!==_0x5c9b18&&{}[_0x2d8d(0x32)][_0x2d8d(0x9)](_0x5ec8a6,_0x5c9b18)&&((_0x8bcb72=(_0x3314f0=_0x3bc4ee[_0x2d8d(0xa)])&&_0xd097f3[_0x2d8d(0xb)](_0x31e4b6,_0x5c9b18))&&(_0x8bcb72[_0x2d8d(0x7)]||_0x8bcb72[_0x2d8d(0x31)])?_0x3314f0(_0x4d77f1,_0x5c9b18,_0x8bcb72):_0x4d77f1[_0x5c9b18]=_0x3f2ef0[_0x5c9b18]);return _0x4d77f1;}}if(_0xd1f5e3[_0x2d8d(0x4)]!==null){if(_0x10a77f['spGOv']!==_0x10a77f[_0x2d8d(0x33)])cancelAnimationFrame(_0xd1f5e3[_0x2d8d(0x4)]),_0xd1f5e3[_0x2d8d(0x4)]=null;else{if(_0x3e4851['has'](_0x3da5b4))return _0x5359bf[_0x2d8d(0x7)](_0x52710a);_0x58f5cc[_0x2d8d(0x31)](_0x5c3b6c,_0x3f39fc);}}_0x1e3616[_0x2d8d(0x4)]!==null&&(_0x10a77f['pIJlA'](clearTimeout,_0x1e3616[_0x2d8d(0x4)]),_0x1e3616[_0x2d8d(0x4)]=null);const _0x19da66=0x96,_0x2a4f5c=0xc80;return _0x1e3616[_0x2d8d(0x4)]=_0x10a77f['wVotS'](setTimeout,()=>{const _0x2a9f52={'AIVMN':function(_0x45fe5e,_0x299c46){return _0xbbb323[_0x2d8d(0x34)](_0x45fe5e,_0x299c46);},'NuQsU':function(_0x58f6b7,_0x497476){return _0xbbb323[_0x2d8d(0x35)](_0x58f6b7,_0x497476);},'AOkNg':function(_0x33b66f,_0x2bce77){return _0xbbb323['bgREX'](_0x33b66f,_0x2bce77);},'bkxfx':function(_0x15fc39,_0x5169ad){return _0xbbb323[_0x2d8d(0x34)](_0x15fc39,_0x5169ad);},'JcJIe':function(_0x4fd7a9,_0x1fee79){return _0xbbb323[_0x2d8d(0x36)](_0x4fd7a9,_0x1fee79);},'ERdby':function(_0x5bcc16,_0x8e10a2){return _0xbbb323[_0x2d8d(0x37)](_0x5bcc16,_0x8e10a2);},'wkqcG':function(_0x3e0d47,_0x139a3d){return _0xbbb323[_0x2d8d(0x38)](_0x3e0d47,_0x139a3d);},'AbcNc':function(_0x1919e4,_0x256ee5){return _0xbbb323[_0x2d8d(0x39)](_0x1919e4,_0x256ee5);},'IlQzI':function(_0x32d8a6,_0x381ca9){return _0x32d8a6(_0x381ca9);},'cnvvU':_0xbbb323['KTBoy']};if(_0xbbb323['dvVFW'](_0xbbb323[_0x2d8d(0x3a)],_0xbbb323[_0x2d8d(0x3a)])){const _0x5334db=_0x561a49[_0x2d8d(0x4)],_0x17339a=Date[_0x2d8d(0x3b)](),_0x1264c8=()=>{const _0x522710=_0x2a9f52[_0x2d8d(0x3c)](Date[_0x2d8d(0x3b)](),_0x17339a),_0x527cb2=Math[_0x2d8d(0x3d)](_0x522710/_0x2a4f5c,0x1),_0x4babea=_0x2a9f52[_0x2d8d(0x3e)](_0x527cb2,0.5)?_0x2a9f52[_0x2d8d(0x3f)](0x2*_0x527cb2,_0x527cb2):-0x1+_0x2a9f52[_0x2d8d(0x3f)](_0x2a9f52[_0x2d8d(0x40)](0x4,_0x2a9f52[_0x2d8d(0x41)](0x2,_0x527cb2)),_0x527cb2),_0x48ff48=_0x2a9f52[_0x2d8d(0x42)](_0x5334db,(_0x4d7b10-_0x5334db)*_0x4babea);_0x561a49[_0x2d8d(0x4)]=_0x48ff48,_0x2a9f52[_0x2d8d(0x43)](_0x43d3a8,_0x48ff48);if(_0x2a9f52[_0x2d8d(0x44)](_0x527cb2,0x1))_0xd1f5e3[_0x2d8d(0x4)]=_0x2a9f52[_0x2d8d(0x45)](requestAnimationFrame,_0x1264c8);else{if(_0x2a9f52[_0x2d8d(0x46)]!==_0x2d8d(0x1e))return;else _0xd1f5e3['current']=null;}};_0xd1f5e3['current']=_0xbbb323['AcilW'](requestAnimationFrame,_0x1264c8);}else{_0x2ba4dd[_0x2d8d(0x4)]=_0x4ddcb4,_0xbbb323[_0x2d8d(0x38)](_0x1564f3,_0x5e9018),_0x211c33[_0x2d8d(0x4)]=_0x4d6d14,_0x443432['current']=![];return;}},_0x19da66),_0xb1d5f1['current']=_0x2f8788,()=>{_0xbbb323[_0x2d8d(0x47)](_0xd1f5e3[_0x2d8d(0x4)],null)&&(_0xbbb323['dvVFW'](_0xbbb323['IIyqn'],_0xbbb323[_0x2d8d(0x48)])?_0x45873b[_0x2d8d(0x4)]=_0xbbb323[_0x2d8d(0x49)](_0x2e4ed7,_0x4c4b4a):(_0xbbb323[_0x2d8d(0x4a)](cancelAnimationFrame,_0xd1f5e3['current']),_0xd1f5e3['current']=null)),_0xbbb323[_0x2d8d(0x47)](_0x1e3616['current'],null)&&(clearTimeout(_0x1e3616['current']),_0x1e3616['current']=null);};}},[_0x2f8788,disableAnimation]),_react[_0x2d8d(0x1)][_0x2d8d(0x4b)](_reactNative[_0x2d8d(0x4c)],{'style':[styles['container'],_0x54c119]},_react['default'][_0x2d8d(0x4b)](_lottieReactNative[_0x2d8d(0x1)],{'ref':_0x519b52,'source':_assetRegistry[_0x2d8d(0x4d)][_0x2d8d(0x4e)],'progress':_0xf58d2c,'loop':![],'autoPlay':![],'style':styles[_0x2d8d(0x4f)],'resizeMode':_0x10a77f[_0x2d8d(0x50)]}));},styles=_reactNative[_0x2d8d(0x51)][_0x2d8d(0x52)]({'container':{'width':0xc8,'height':0xc8,'alignItems':'center','justifyContent':_0x2d8d(0x53)},'animation':{'width':_0x2d8d(0x54),'height':_0x2d8d(0x54)}});var _default=exports[_0x2d8d(0x1)]=PersonaImage;
|