@onairos/react-native 3.4.1 โ 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -13
- 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/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 +22 -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 +29 -1702
- package/lib/commonjs/components/VerificationStep.js +11 -0
- package/lib/commonjs/components/WelcomeScreen.js +21 -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 +14 -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 +35 -106
- 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/imageCompressionService.js +7 -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/storageService.js +8 -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/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/index.js +9 -0
- package/lib/commonjs/utils/webviewScripts/linkedin.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/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 +1 -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/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/imageCompressionService.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/storageService.js +1 -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/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/index.js +1 -0
- package/lib/module/utils/webviewScripts/linkedin.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,129 +1 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View, Text, StyleSheet, TouchableOpacity, ActivityIndicator } from 'react-native';
|
|
3
|
-
import Icon from 'react-native-vector-icons/MaterialIcons';
|
|
4
|
-
import { COLORS, PLATFORMS } from '../constants';
|
|
5
|
-
export const PlatformList = ({
|
|
6
|
-
connections,
|
|
7
|
-
onToggle,
|
|
8
|
-
isLoading,
|
|
9
|
-
canProceed,
|
|
10
|
-
onProceed
|
|
11
|
-
}) => {
|
|
12
|
-
const renderPlatformItem = (platform, isConnected) => {
|
|
13
|
-
const platformConfig = PLATFORMS[platform];
|
|
14
|
-
if (!platformConfig) return null;
|
|
15
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
16
|
-
key: platform,
|
|
17
|
-
style: styles.platformContainer
|
|
18
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
19
|
-
style: styles.platformHeader
|
|
20
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
21
|
-
name: platformConfig.icon,
|
|
22
|
-
size: 24,
|
|
23
|
-
color: platformConfig.color
|
|
24
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
25
|
-
style: styles.platformName
|
|
26
|
-
}, platformConfig.name)), platformConfig.description && /*#__PURE__*/React.createElement(Text, {
|
|
27
|
-
style: styles.platformDescription
|
|
28
|
-
}, platformConfig.description), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
29
|
-
style: [styles.connectButton, isConnected ? styles.connectedButton : styles.disconnectedButton],
|
|
30
|
-
onPress: () => onToggle(platform, !isConnected),
|
|
31
|
-
disabled: isLoading
|
|
32
|
-
}, isLoading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
33
|
-
color: "#fff"
|
|
34
|
-
}) : /*#__PURE__*/React.createElement(Text, {
|
|
35
|
-
style: styles.buttonText
|
|
36
|
-
}, isConnected ? 'Disconnect' : 'Connect')));
|
|
37
|
-
};
|
|
38
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
39
|
-
style: styles.container
|
|
40
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
41
|
-
style: styles.title
|
|
42
|
-
}, "Connect your platforms"), /*#__PURE__*/React.createElement(Text, {
|
|
43
|
-
style: styles.subtitle
|
|
44
|
-
}, "Connect at least 2 platforms to proceed"), /*#__PURE__*/React.createElement(View, {
|
|
45
|
-
style: styles.platformsList
|
|
46
|
-
}, Object.entries(connections).map(([platform, status]) => renderPlatformItem(platform, !!status))), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
47
|
-
style: [styles.proceedButton, !canProceed && styles.disabledButton],
|
|
48
|
-
onPress: onProceed,
|
|
49
|
-
disabled: !canProceed || isLoading
|
|
50
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
51
|
-
style: styles.proceedButtonText
|
|
52
|
-
}, "Proceed")));
|
|
53
|
-
};
|
|
54
|
-
const styles = StyleSheet.create({
|
|
55
|
-
container: {
|
|
56
|
-
flex: 1,
|
|
57
|
-
padding: 16
|
|
58
|
-
},
|
|
59
|
-
title: {
|
|
60
|
-
fontSize: 20,
|
|
61
|
-
fontWeight: '600',
|
|
62
|
-
marginBottom: 8,
|
|
63
|
-
color: COLORS.text.primary
|
|
64
|
-
},
|
|
65
|
-
subtitle: {
|
|
66
|
-
fontSize: 14,
|
|
67
|
-
color: COLORS.text.secondary,
|
|
68
|
-
marginBottom: 24
|
|
69
|
-
},
|
|
70
|
-
platformsList: {
|
|
71
|
-
flex: 1
|
|
72
|
-
},
|
|
73
|
-
platformContainer: {
|
|
74
|
-
backgroundColor: '#fff',
|
|
75
|
-
borderRadius: 12,
|
|
76
|
-
padding: 16,
|
|
77
|
-
marginBottom: 16,
|
|
78
|
-
borderWidth: 1,
|
|
79
|
-
borderColor: COLORS.border
|
|
80
|
-
},
|
|
81
|
-
platformHeader: {
|
|
82
|
-
flexDirection: 'row',
|
|
83
|
-
alignItems: 'center',
|
|
84
|
-
marginBottom: 8
|
|
85
|
-
},
|
|
86
|
-
platformName: {
|
|
87
|
-
fontSize: 16,
|
|
88
|
-
fontWeight: '600',
|
|
89
|
-
marginLeft: 12,
|
|
90
|
-
color: COLORS.text.primary
|
|
91
|
-
},
|
|
92
|
-
platformDescription: {
|
|
93
|
-
fontSize: 14,
|
|
94
|
-
color: COLORS.text.secondary,
|
|
95
|
-
marginBottom: 16
|
|
96
|
-
},
|
|
97
|
-
connectButton: {
|
|
98
|
-
paddingVertical: 8,
|
|
99
|
-
paddingHorizontal: 16,
|
|
100
|
-
borderRadius: 8,
|
|
101
|
-
alignItems: 'center'
|
|
102
|
-
},
|
|
103
|
-
connectedButton: {
|
|
104
|
-
backgroundColor: COLORS.success
|
|
105
|
-
},
|
|
106
|
-
disconnectedButton: {
|
|
107
|
-
backgroundColor: COLORS.primary
|
|
108
|
-
},
|
|
109
|
-
buttonText: {
|
|
110
|
-
color: '#fff',
|
|
111
|
-
fontWeight: '600'
|
|
112
|
-
},
|
|
113
|
-
proceedButton: {
|
|
114
|
-
backgroundColor: COLORS.primary,
|
|
115
|
-
paddingVertical: 16,
|
|
116
|
-
borderRadius: 12,
|
|
117
|
-
alignItems: 'center',
|
|
118
|
-
marginTop: 16
|
|
119
|
-
},
|
|
120
|
-
disabledButton: {
|
|
121
|
-
opacity: 0.5
|
|
122
|
-
},
|
|
123
|
-
proceedButtonText: {
|
|
124
|
-
color: '#fff',
|
|
125
|
-
fontSize: 16,
|
|
126
|
-
fontWeight: '600'
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
//# sourceMappingURL=PlatformList.js.map
|
|
1
|
+
import React from'react';import{View,Text,StyleSheet,TouchableOpacity,ActivityIndicator}from'react-native';function _0x202f(){const _0x182e13=['Connect','Connect\x20at\x20least\x202\x20platforms\x20to\x20proceed','createElement','platformContainer','platformHeader','icon','color','platformName','description','platformDescription','#fff','buttonText','container','title','Connect\x20your\x20platforms','subtitle','platformsList','map','proceedButton','disabledButton','proceedButtonText','Proceed','600','text','secondary','border','row','center','success','primary'];_0x202f=function(){return _0x182e13;};return _0x202f();}import _0x5b76d7 from'react-native-vector-icons/MaterialIcons';function _0x24f7(_0x202f5c,_0x24f767){_0x202f5c=_0x202f5c-0x0;const _0x42eaae=_0x202f();let _0x829056=_0x42eaae[_0x202f5c];return _0x829056;}import{COLORS,PLATFORMS}from'../constants';export const PlatformList=({connections:_0x3bd134,onToggle:_0x2bea27,isLoading:_0x58e642,canProceed:_0x14608f,onProceed:_0x44ff44})=>{const _0x3dad23={'jiTOe':_0x24f7(0x0),'bOKSW':_0x24f7(0x1)},_0x16cadd=(_0x5975d3,_0x557a49)=>{const _0x393ca3=PLATFORMS[_0x5975d3];if(!_0x393ca3)return null;return React[_0x24f7(0x2)](View,{'key':_0x5975d3,'style':styles[_0x24f7(0x3)]},React['createElement'](View,{'style':styles[_0x24f7(0x4)]},React[_0x24f7(0x2)](_0x5b76d7,{'name':_0x393ca3[_0x24f7(0x5)],'size':0x18,'color':_0x393ca3[_0x24f7(0x6)]}),React['createElement'](Text,{'style':styles[_0x24f7(0x7)]},_0x393ca3['name'])),_0x393ca3[_0x24f7(0x8)]&&React[_0x24f7(0x2)](Text,{'style':styles[_0x24f7(0x9)]},_0x393ca3['description']),React[_0x24f7(0x2)](TouchableOpacity,{'style':[styles['connectButton'],_0x557a49?styles['connectedButton']:styles['disconnectedButton']],'onPress':()=>_0x2bea27(_0x5975d3,!_0x557a49),'disabled':_0x58e642},_0x58e642?React[_0x24f7(0x2)](ActivityIndicator,{'color':_0x24f7(0xa)}):React[_0x24f7(0x2)](Text,{'style':styles[_0x24f7(0xb)]},_0x557a49?'Disconnect':_0x3dad23['jiTOe'])));};return React[_0x24f7(0x2)](View,{'style':styles[_0x24f7(0xc)]},React[_0x24f7(0x2)](Text,{'style':styles[_0x24f7(0xd)]},_0x24f7(0xe)),React[_0x24f7(0x2)](Text,{'style':styles[_0x24f7(0xf)]},_0x3dad23['bOKSW']),React['createElement'](View,{'style':styles[_0x24f7(0x10)]},Object['entries'](_0x3bd134)[_0x24f7(0x11)](([_0x24c8b4,_0x33e934])=>_0x16cadd(_0x24c8b4,!!_0x33e934))),React[_0x24f7(0x2)](TouchableOpacity,{'style':[styles[_0x24f7(0x12)],!_0x14608f&&styles[_0x24f7(0x13)]],'onPress':_0x44ff44,'disabled':!_0x14608f||_0x58e642},React[_0x24f7(0x2)](Text,{'style':styles[_0x24f7(0x14)]},_0x24f7(0x15))));};const styles=StyleSheet['create']({'container':{'flex':0x1,'padding':0x10},'title':{'fontSize':0x14,'fontWeight':_0x24f7(0x16),'marginBottom':0x8,'color':COLORS[_0x24f7(0x17)]['primary']},'subtitle':{'fontSize':0xe,'color':COLORS['text'][_0x24f7(0x18)],'marginBottom':0x18},'platformsList':{'flex':0x1},'platformContainer':{'backgroundColor':'#fff','borderRadius':0xc,'padding':0x10,'marginBottom':0x10,'borderWidth':0x1,'borderColor':COLORS[_0x24f7(0x19)]},'platformHeader':{'flexDirection':_0x24f7(0x1a),'alignItems':'center','marginBottom':0x8},'platformName':{'fontSize':0x10,'fontWeight':_0x24f7(0x16),'marginLeft':0xc,'color':COLORS[_0x24f7(0x17)]['primary']},'platformDescription':{'fontSize':0xe,'color':COLORS[_0x24f7(0x17)][_0x24f7(0x18)],'marginBottom':0x10},'connectButton':{'paddingVertical':0x8,'paddingHorizontal':0x10,'borderRadius':0x8,'alignItems':_0x24f7(0x1b)},'connectedButton':{'backgroundColor':COLORS[_0x24f7(0x1c)]},'disconnectedButton':{'backgroundColor':COLORS[_0x24f7(0x1d)]},'buttonText':{'color':_0x24f7(0xa),'fontWeight':_0x24f7(0x16)},'proceedButton':{'backgroundColor':COLORS[_0x24f7(0x1d)],'paddingVertical':0x10,'borderRadius':0xc,'alignItems':_0x24f7(0x1b),'marginTop':0x10},'disabledButton':{'opacity':0.5},'proceedButtonText':{'color':_0x24f7(0xa),'fontSize':0x10,'fontWeight':_0x24f7(0x16)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import React from'react';function _0x2c48(_0x27bc0d,_0x2c48ae){_0x27bc0d=_0x27bc0d-0x0;const _0x264ae2=_0x27bc();let _0x4c78b7=_0x264ae2[_0x27bc0d];return _0x4c78b7;}import{View,Text,TouchableOpacity,Image,StyleSheet,Switch,Platform}from'react-native';function _0x27bc(){const _0x4a14e5=['contain','#4CD964','ios','#FFFFFF','#E5E5E5','createElement','yhtfg','borderBottom','topRow','leftContent','bYpwY','compactIcon','icon','iFJXa','compactPlatformName','platformName','fzYJY','bdzls','vThqS','lyXGo','KqmWJ','compactSwitch','descriptionBox','fullWidthDescription','description','create','center','space-between','surface','column','row','#F5F5F5','600','grey800','Inter','400','grey600'];_0x27bc=function(){return _0x4a14e5;};return _0x27bc();}import{COLORS}from'../theme';const PlatformToggle=({platform:_0x26f7f4,isEnabled:_0x422981,onToggle:_0x20cb63,compact:compact=![],isLast:isLast=![],fullWidth:fullWidth=![],customIconSize:_0x44572d,onLongPress:_0x1693c7,onPressOut:_0x4793e5})=>{const _0x542ce3={'yhtfg':function(_0x341035,_0x154896){return _0x341035&&_0x154896;},'bYpwY':function(_0x1ce393,_0x9b48cb){return _0x1ce393-_0x9b48cb;},'iFJXa':_0x2c48(0x0),'fzYJY':_0x2c48(0x1),'bdzls':function(_0x2fb537,_0x53501d){return _0x2fb537===_0x53501d;},'vThqS':_0x2c48(0x2),'lyXGo':_0x2c48(0x3),'KqmWJ':_0x2c48(0x4)},_0x596099=()=>{_0x20cb63(_0x26f7f4['id'],!_0x422981);},_0x7abe54=fullWidth?styles['fullWidthContainer']:compact?styles['compactContainer']:styles['container'];return React[_0x2c48(0x5)](TouchableOpacity,{'style':[_0x7abe54,_0x542ce3[_0x2c48(0x6)](!isLast,compact)&&styles[_0x2c48(0x7)]],'onLongPress':_0x1693c7,'onPressOut':_0x4793e5,'activeOpacity':_0x1693c7?0.7:0x1,'disabled':!_0x1693c7},React[_0x2c48(0x5)](View,{'style':styles[_0x2c48(0x8)]},React[_0x2c48(0x5)](View,{'style':styles[_0x2c48(0x9)]},React['createElement'](Image,{'source':_0x26f7f4['icon'],'style':_0x44572d?{'width':_0x44572d,'height':_0x44572d,'marginRight':0xc-_0x542ce3[_0x2c48(0xa)](_0x44572d,0x1c)}:fullWidth?styles['compactIcon']:compact?styles[_0x2c48(0xb)]:styles[_0x2c48(0xc)],'resizeMode':_0x542ce3[_0x2c48(0xd)]}),React['createElement'](View,{'style':styles['textContent']},React[_0x2c48(0x5)](Text,{'style':fullWidth?styles[_0x2c48(0xe)]:compact?styles[_0x2c48(0xe)]:styles[_0x2c48(0xf)]},_0x26f7f4['name']))),React[_0x2c48(0x5)](Switch,{'value':_0x422981,'onValueChange':_0x596099,'trackColor':{'false':_0x2c48(0x4),'true':_0x542ce3[_0x2c48(0x10)]},'thumbColor':_0x542ce3[_0x2c48(0x11)](Platform['OS'],_0x542ce3[_0x2c48(0x12)])?undefined:_0x422981?_0x542ce3[_0x2c48(0x13)]:_0x542ce3[_0x2c48(0x13)],'ios_backgroundColor':_0x542ce3[_0x2c48(0x14)],'style':compact?styles[_0x2c48(0x15)]:undefined})),fullWidth&&React[_0x2c48(0x5)](View,{'style':styles[_0x2c48(0x16)]},React[_0x2c48(0x5)](Text,{'style':styles[_0x2c48(0x17)]},_0x26f7f4[_0x2c48(0x18)])),!fullWidth&&React[_0x2c48(0x5)](Text,{'style':compact?styles['compactDescription']:styles[_0x2c48(0x18)]},_0x26f7f4[_0x2c48(0x18)]));},styles=StyleSheet[_0x2c48(0x19)]({'container':{'flexDirection':'row','alignItems':'center','justifyContent':'space-between','paddingVertical':0x10,'paddingHorizontal':0x10,'backgroundColor':COLORS['surface'],'borderRadius':0xc,'marginBottom':0xc,'borderWidth':0x1,'borderColor':_0x2c48(0x4)},'compactContainer':{'flexDirection':'row','alignItems':_0x2c48(0x1a),'justifyContent':_0x2c48(0x1b),'paddingVertical':0x10,'paddingHorizontal':0x10,'backgroundColor':COLORS[_0x2c48(0x1c)]},'fullWidthContainer':{'flexDirection':_0x2c48(0x1d),'paddingVertical':0x8,'paddingHorizontal':0x2,'backgroundColor':COLORS[_0x2c48(0x1c)],'marginBottom':0x4,'marginHorizontal':0x0},'topRow':{'flexDirection':_0x2c48(0x1e),'alignItems':_0x2c48(0x1a),'justifyContent':_0x2c48(0x1b),'marginBottom':0x4},'descriptionBox':{'backgroundColor':_0x2c48(0x1f),'borderRadius':0x8,'paddingVertical':0x8,'paddingHorizontal':0x4,'marginTop':0x2},'borderBottom':{'borderBottomWidth':0x1,'borderBottomColor':'#E5E5E5'},'leftContent':{'flexDirection':'row','alignItems':_0x2c48(0x1a),'flex':0x1},'icon':{'width':0x20,'height':0x20,'marginRight':0xc},'compactIcon':{'width':0x1c,'height':0x1c,'marginRight':0xc},'textContent':{'flex':0x1},'platformName':{'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0x2c48(0x20),'color':COLORS[_0x2c48(0x21)],'marginBottom':0x2},'compactPlatformName':{'fontSize':0x10,'fontFamily':_0x2c48(0x22),'fontWeight':'600','color':COLORS['grey800'],'marginBottom':0x2},'description':{'fontSize':0xe,'fontFamily':_0x2c48(0x22),'fontWeight':'400','color':COLORS['grey600'],'lineHeight':0x14},'compactDescription':{'fontSize':0xc,'fontFamily':'Inter','fontWeight':_0x2c48(0x23),'color':COLORS[_0x2c48(0x24)],'lineHeight':0x10},'fullWidthDescription':{'fontSize':0xd,'fontFamily':_0x2c48(0x22),'fontWeight':_0x2c48(0x23),'color':COLORS['grey600'],'lineHeight':0x12},'compactSwitch':{'transform':[{'scaleX':0.9},{'scaleY':0.9}]}});export default PlatformToggle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x4b4e(_0x1ce5c2,_0x4b4e35){_0x1ce5c2=_0x1ce5c2-0x0;const _0x2893be=_0x1ce5();let _0x296083=_0x2893be[_0x1ce5c2];return _0x296083;}import React,{useState}from'react';import{View,Text,TouchableOpacity,StyleSheet,ActivityIndicator}from'react-native';import _0x32addd from'react-native-linear-gradient';import{COLORS}from'../theme';const IconCircle=({size:size=0x28,children:_0x351279})=>{const _0x2f57c1={'cLZJk':function(_0x3532fd,_0x256c94){return _0x3532fd/_0x256c94;}};return React[_0x4b4e(0x0)](View,{'style':[styles[_0x4b4e(0x1)],{'width':size,'height':size,'borderRadius':_0x2f57c1[_0x4b4e(0x2)](size,0x2)}]},React[_0x4b4e(0x0)](_0x32addd,{'colors':[COLORS['iconCircleGradientStart'],COLORS[_0x4b4e(0x3)]],'style':[StyleSheet[_0x4b4e(0x4)],{'borderRadius':size/0x2}],'start':{'x':0x0,'y':0x0},'end':{'x':0x0,'y':0x1}}),React[_0x4b4e(0x0)](View,{'style':styles[_0x4b4e(0x5)]},_0x351279||React['createElement'](Text,{'style':styles[_0x4b4e(0x6)]},'โ')));},PrimaryButton=({label:label=_0x4b4e(0x7),onPress:_0x1c22f7,iconRight:_0x33e4a1,loading:loading=![],disabled:disabled=![],testID:_0x1117ce,style:_0x2a5313,textStyle:_0x555a42})=>{const _0xfa5ce={'nsmog':_0x4b4e(0x8),'fGOFo':_0x4b4e(0x9)},[_0x18e760,_0x1c05bf]=useState(![]),_0x4850fc=()=>_0x1c05bf(!![]),_0x9ddd2b=()=>_0x1c05bf(![]);return React['createElement'](TouchableOpacity,{'style':[styles[_0x4b4e(0xa)],!disabled&&styles['outerShadow'],disabled&&styles['disabled'],_0x2a5313],'onPress':_0x1c22f7,'onPressIn':_0x4850fc,'onPressOut':_0x9ddd2b,'disabled':disabled||loading,'activeOpacity':0x1,'testID':_0x1117ce,'accessibilityLabel':label,'accessibilityRole':_0xfa5ce[_0x4b4e(0xb)]},React[_0x4b4e(0x0)](_0x32addd,{'colors':[COLORS[_0x4b4e(0xc)],COLORS[_0x4b4e(0xd)]],'style':styles[_0x4b4e(0xe)],'start':{'x':0x0,'y':0x0},'end':{'x':0x0,'y':0x1}}),_0x18e760&&React[_0x4b4e(0x0)](View,{'style':styles[_0x4b4e(0xf)]}),React[_0x4b4e(0x0)](View,{'style':styles[_0x4b4e(0x10)]},loading?React[_0x4b4e(0x0)](ActivityIndicator,{'color':COLORS[_0x4b4e(0x11)],'size':_0xfa5ce[_0x4b4e(0x12)]}):React[_0x4b4e(0x0)](Text,{'style':[styles[_0x4b4e(0x13)],_0x555a42]},label)),React[_0x4b4e(0x0)](View,{'style':styles[_0x4b4e(0x14)]},!loading&&(_0x33e4a1||React['createElement'](IconCircle,null))));},styles=StyleSheet[_0x4b4e(0x15)]({'outerPill':{'height':0x30,'borderRadius':0x64,'borderWidth':0x1,'borderColor':COLORS['btnBorder'],'overflow':_0x4b4e(0x16),'width':_0x4b4e(0x17),'position':'relative'},'outerShadow':{'shadowColor':_0x4b4e(0x18),'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0.1,'shadowRadius':0x28,'elevation':0x8},'disabled':{'opacity':0.65,'shadowOpacity':0x0,'elevation':0x0},'baseGradient':{...StyleSheet[_0x4b4e(0x19)],'borderRadius':0x64},'pressedOverlay':{...StyleSheet['absoluteFillObject'],'backgroundColor':'rgba(0,0,0,0.1)','borderRadius':0x64},'textContainer':{'position':_0x4b4e(0x1a),'left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'justifyContent':_0x4b4e(0x1b),'alignItems':'center','backgroundColor':_0x4b4e(0x1c)},'iconPosition':{'position':'absolute','right':0x4,'top':0x4,'bottom':0x4,'width':0x28,'justifyContent':_0x4b4e(0x1b),'alignItems':_0x4b4e(0x1b),'backgroundColor':'transparent'},'label':{'fontFamily':_0x4b4e(0x1d),'fontWeight':_0x4b4e(0x1e),'fontSize':0x10,'color':COLORS[_0x4b4e(0x11)],'textAlign':_0x4b4e(0x1b),'backgroundColor':_0x4b4e(0x1c)},'iconCircle':{'justifyContent':_0x4b4e(0x1b),'alignItems':'center','borderWidth':0x1,'borderColor':'rgba(0,0,0,0.25)'},'iconContent':{'justifyContent':_0x4b4e(0x1b),'alignItems':_0x4b4e(0x1b),'backgroundColor':'transparent'},'arrowText':{'fontSize':0x14,'color':COLORS['btnLabel'],'fontWeight':_0x4b4e(0x1e),'opacity':0.95,'backgroundColor':'transparent'}});export{IconCircle};function _0x1ce5(){const _0x4d7282=['createElement','iconCircle','cLZJk','iconCircleGradientEnd','absoluteFill','iconContent','arrowText','Get\x20Started','button','small','outerPill','nsmog','btnGradStart','btnGradEnd','baseGradient','pressedOverlay','textContainer','btnLabel','fGOFo','label','iconPosition','create','hidden','100%','#000000','absoluteFillObject','absolute','center','transparent','Inter','600'];_0x1ce5=function(){return _0x4d7282;};return _0x1ce5();}export{PrimaryButton};export default PrimaryButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x3430(_0x5ce002,_0x343057){_0x5ce002=_0x5ce002-0x0;const _0x276582=_0x5ce0();let _0x55f741=_0x276582[_0x5ce002];return _0x55f741;}import React,{useState,useEffect}from'react';function _0x5ce0(){const _0x2f9c14=['get','window','complete','uXfUQ','none','found','Welcome\x20to\x20Enoch!','@...','#E9C46A','#DDB957','Continue','tyFsA','searching','GcVlw','eiWpO','Value','MiZNw','iIbBR','dLAXC','parallel','timing','start','BUtuu','rYIiE','floor','ibTwE','random','GywVw','axCHJ','JLRog','AgMTO','pStfv','createElement','View','content','deqit','Fragment','BYsEl','KHhVU','loader','Searching\x20for\x20potential\x20connections\x20based\x20on\x20your\x20profile...','RkyaU','matchCircle','message','We\x27ve\x20found\x20','DRIst','subMessage','Complete\x20your\x20profile\x20to\x20see\x20who\x20they\x20are.','title','bVxNW','pjHPz','button','#f5e7c1','tnkMG','gradientButton','jnhZK','create','rgba(0,0,0,0.7)','center','#FFFFFF','600','#555','#777','100%','hidden','#333'];_0x5ce0=function(){return _0x2f9c14;};return _0x5ce0();}import{View,Text,StyleSheet,Modal,ActivityIndicator,Animated,Dimensions,TouchableOpacity}from'react-native';import _0x3decec from'react-native-linear-gradient';const {width,height}=Dimensions[_0x3430(0x0)](_0x3430(0x1)),SignInMatchAnimation=({email:_0xd52fe5,visible:_0x38ed5f,onComplete:_0x344b33})=>{const _0x1b035d={'rYIiE':function(_0x43dfce,_0x4aee9e){return _0x43dfce+_0x4aee9e;},'ibTwE':function(_0x1284ed,_0x4a7352){return _0x1284ed*_0x4a7352;},'tyFsA':function(_0x3b54ce,_0x2e2010){return _0x3b54ce(_0x2e2010);},'GywVw':function(_0x4c13c1,_0x407fbd,_0x1f550f){return _0x4c13c1(_0x407fbd,_0x1f550f);},'iIbBR':_0x3430(0x2),'MiZNw':function(_0x3a99eb,_0x38f740,_0x372423){return _0x3a99eb(_0x38f740,_0x372423);},'eiWpO':function(_0x18d027,_0x222714){return _0x18d027(_0x222714);},'AGqob':function(_0x35d2fe,_0xd0341){return _0x35d2fe===_0xd0341;},'dLAXC':_0x3430(0x3),'BUtuu':function(_0x3c1428,_0xe2c683,_0x342bfb){return _0x3c1428(_0xe2c683,_0x342bfb);},'pStfv':function(_0x5e7b6d){return _0x5e7b6d();},'AiiEa':function(_0x3e9607,_0x4aed15){return _0x3e9607(_0x4aed15);},'GcVlw':function(_0x352d23,_0x1eb19b){return _0x352d23(_0x1eb19b);},'gojDz':_0x3430(0x4),'deqit':'searching','BYsEl':'Finding\x20Your\x20Matches','KHhVU':'large','PTofj':_0x3430(0x5),'RkyaU':'Matches\x20Found!','DRIst':'\x20potential\x20connections\x20for\x20you!','bVxNW':_0x3430(0x6),'pjHPz':_0x3430(0x7),'IKQsf':_0x3430(0x8),'tnkMG':_0x3430(0x9),'jnhZK':_0x3430(0xa)},[_0xf6a327,_0x3b239a]=_0x1b035d[_0x3430(0xb)](useState,_0x3430(0xc)),[_0x371c55,_0x1adda4]=_0x1b035d['AiiEa'](useState,0x0),_0x2ca6e9=_0x1b035d[_0x3430(0xd)](useState,new Animated['Value'](0x0))[0x0],_0x3fa5a2=_0x1b035d[_0x3430(0xe)](useState,new Animated[(_0x3430(0xf))](0.9))[0x0];_0x1b035d[_0x3430(0x10)](useEffect,()=>{const _0x2637a9={'bFbtF':function(_0x975bf9,_0x818175){return _0x1b035d[_0x3430(0xe)](_0x975bf9,_0x818175);},'axCHJ':_0x1b035d[_0x3430(0x11)]};if(_0x1b035d['AGqob'](_0x1b035d[_0x3430(0x12)],_0x1b035d['dLAXC']))_0x38ed5f&&(Animated[_0x3430(0x13)]([Animated[_0x3430(0x14)](_0x2ca6e9,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x3430(0x14)](_0x3fa5a2,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]})])[_0x3430(0x15)](),_0x1b035d[_0x3430(0x16)](setTimeout,()=>{const _0x40b778=_0x1b035d[_0x3430(0x17)](Math[_0x3430(0x18)](_0x1b035d[_0x3430(0x19)](Math[_0x3430(0x1a)](),0x6)),0x3);_0x1b035d[_0x3430(0xb)](_0x1adda4,_0x40b778),_0x3b239a(_0x3430(0x5)),_0x1b035d[_0x3430(0x1b)](setTimeout,()=>{_0x2637a9['bFbtF'](_0x3b239a,_0x2637a9[_0x3430(0x1c)]);},0xbb8);},0x9c4));else{const _0x43ef5d={'JLRog':function(_0x22494b,_0x570ed3){return _0x1b035d[_0x3430(0xb)](_0x22494b,_0x570ed3);},'AgMTO':_0x1b035d[_0x3430(0x11)]};Animated[_0x3430(0x13)]([Animated['timing'](_0x130759,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),Animated[_0x3430(0x14)](_0x11a780,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]})])['start'](),_0x1b035d[_0x3430(0x10)](_0x260809,()=>{const _0x3a48ea=_0x13b98b[_0x3430(0x18)](_0x20303d[_0x3430(0x1a)]()*0x6)+0x3;_0x43ef5d['JLRog'](_0x558f85,_0x3a48ea),_0x43ef5d['JLRog'](_0x176005,'found'),_0x5ef87e(()=>{_0x43ef5d[_0x3430(0x1d)](_0x3cfecb,_0x43ef5d[_0x3430(0x1e)]);},0xbb8);},0x9c4);}},[_0x38ed5f,_0x2ca6e9,_0x3fa5a2]);const _0x3b9bf2=()=>{Animated['parallel']([Animated[_0x3430(0x14)](_0x2ca6e9,{'toValue':0x0,'duration':0x190,'useNativeDriver':!![]}),Animated[_0x3430(0x14)](_0x3fa5a2,{'toValue':0.9,'duration':0x190,'useNativeDriver':!![]})])['start'](()=>{_0x1b035d[_0x3430(0x1f)](_0x344b33);});};if(!_0x38ed5f)return null;return React['createElement'](Modal,{'visible':_0x38ed5f,'transparent':!![],'animationType':_0x1b035d['gojDz']},React[_0x3430(0x20)](View,{'style':styles['container']},React[_0x3430(0x20)](Animated[_0x3430(0x21)],{'style':[styles[_0x3430(0x22)],{'opacity':_0x2ca6e9,'transform':[{'scale':_0x3fa5a2}]}]},_0x1b035d['AGqob'](_0xf6a327,_0x1b035d[_0x3430(0x23)])&&React[_0x3430(0x20)](React[_0x3430(0x24)],null,React[_0x3430(0x20)](Text,{'style':styles['title']},_0x1b035d[_0x3430(0x25)]),React['createElement'](ActivityIndicator,{'size':_0x1b035d[_0x3430(0x26)],'color':_0x3430(0x8),'style':styles[_0x3430(0x27)]}),React['createElement'](Text,{'style':styles['message']},_0x3430(0x28))),_0x1b035d['AGqob'](_0xf6a327,_0x1b035d['PTofj'])&&React[_0x3430(0x20)](React[_0x3430(0x24)],null,React[_0x3430(0x20)](Text,{'style':styles['title']},_0x1b035d[_0x3430(0x29)]),React[_0x3430(0x20)](View,{'style':styles[_0x3430(0x2a)]},React['createElement'](Text,{'style':styles['matchCount']},_0x371c55)),React[_0x3430(0x20)](Text,{'style':styles[_0x3430(0x2b)]},_0x3430(0x2c),_0x371c55,_0x1b035d[_0x3430(0x2d)]),React['createElement'](Text,{'style':styles[_0x3430(0x2e)]},_0x3430(0x2f))),_0xf6a327===_0x3430(0x2)&&React['createElement'](React['Fragment'],null,React[_0x3430(0x20)](Text,{'style':styles[_0x3430(0x30)]},_0x1b035d[_0x3430(0x31)]),React[_0x3430(0x20)](Text,{'style':styles[_0x3430(0x2b)]},'We\x27ll\x20send\x20match\x20notifications\x20to\x20',_0xd52fe5['split']('@')[0x0],_0x1b035d[_0x3430(0x32)]),React[_0x3430(0x20)](TouchableOpacity,{'style':styles[_0x3430(0x33)],'onPress':_0x3b9bf2},React[_0x3430(0x20)](_0x3decec,{'colors':[_0x3430(0x34),_0x1b035d['IKQsf'],_0x1b035d[_0x3430(0x35)]],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':styles[_0x3430(0x36)]},React[_0x3430(0x20)](Text,{'style':styles['buttonText']},_0x1b035d[_0x3430(0x37)])))))));},styles=StyleSheet[_0x3430(0x38)]({'container':{'flex':0x1,'backgroundColor':_0x3430(0x39),'justifyContent':_0x3430(0x3a),'alignItems':_0x3430(0x3a)},'content':{'width':width*0.85,'backgroundColor':_0x3430(0x3b),'borderRadius':0x14,'padding':0x18,'alignItems':_0x3430(0x3a),'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.3,'shadowRadius':0x8,'elevation':0xa},'title':{'fontSize':0x18,'fontWeight':_0x3430(0x3c),'color':'#333','marginBottom':0x14,'textAlign':_0x3430(0x3a)},'loader':{'marginVertical':0x18},'message':{'fontSize':0x12,'color':_0x3430(0x3d),'textAlign':_0x3430(0x3a),'marginBottom':0x10,'lineHeight':0x18},'subMessage':{'fontSize':0x10,'color':_0x3430(0x3e),'textAlign':_0x3430(0x3a),'marginTop':0x8},'matchCircle':{'width':0x64,'height':0x64,'borderRadius':0x32,'backgroundColor':'#E9C46A','justifyContent':_0x3430(0x3a),'alignItems':'center','marginVertical':0x14},'matchCount':{'fontSize':0x28,'fontWeight':'bold','color':_0x3430(0x3b)},'button':{'width':_0x3430(0x3f),'marginTop':0x18,'borderRadius':0x8,'overflow':_0x3430(0x40)},'gradientButton':{'paddingVertical':0xe,'alignItems':'center','justifyContent':_0x3430(0x3a)},'buttonText':{'color':_0x3430(0x41),'fontSize':0x10,'fontWeight':'600'}});export default SignInMatchAnimation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,KeyboardAvoidingView,Platform,Keyboard}from'react-native';import{COLORS,SPACING}from'../theme';function _0x1496(_0x23dcbf,_0x1496ef){_0x23dcbf=_0x23dcbf-0x0;const _0x1a53a3=_0x23dc();let _0x31758d=_0x1a53a3[_0x23dcbf];return _0x31758d;}import _0x31e99e from'./EmailInput';import _0x5a7e62 from'./GoogleButton';import _0x5163bd from'./PrimaryButton';const VALID_TLDS=new Set([_0x1496(0x0),_0x1496(0x1),_0x1496(0x2),_0x1496(0x3),_0x1496(0x4),_0x1496(0x5),_0x1496(0x6),'io','co','ai','app',_0x1496(0x7),'tech',_0x1496(0x8),_0x1496(0x9),_0x1496(0xa),_0x1496(0xb),_0x1496(0xc),'me','tv','cc','xyz','uk','us','ca','au','de','fr','it','es','nl','be','ch','at','se','no','dk','fi','jp','cn','kr','in','br','mx','ar','ru','pl','cz','ie','nz','za','sg','hk','tw','pt','gr','tr','il','ae','sa','eg','ng','ke','gh','ph','id','my','th','vn',_0x1496(0xd),'com.au',_0x1496(0xe),_0x1496(0xf),_0x1496(0x10),_0x1496(0x11),_0x1496(0x12),_0x1496(0x13),_0x1496(0x14),'net.au','gov.uk','ac.uk',_0x1496(0x15)]),INVALID_TLDS=new Set([_0x1496(0x16),_0x1496(0x17),_0x1496(0x18),_0x1496(0x19),'cm',_0x1496(0x1a),_0x1496(0x1b),'om',_0x1496(0x1c),_0x1496(0x1d),_0x1496(0x1e),_0x1496(0x1f),'og',_0x1496(0x20),_0x1496(0x21),'rg',_0x1496(0x22),'ne',_0x1496(0x23),_0x1496(0x24),_0x1496(0x25),'oi',_0x1496(0x26),_0x1496(0x27),_0x1496(0x28),_0x1496(0x29),_0x1496(0x2a),_0x1496(0x2b),_0x1496(0x2c),_0x1496(0x2d),'outloo',_0x1496(0x2e),_0x1496(0x2f),_0x1496(0x30),'yhoo',_0x1496(0x31),_0x1496(0x32),_0x1496(0x33)]),validateEmail=_0x1db621=>{const _0x2e18f8={'rQBsk':_0x1496(0x34),'PdwZW':function(_0x4a8a43,_0x391200){return _0x4a8a43(_0x391200);},'UdTmP':_0x1496(0x35),'EurDL':_0x1496(0x36),'VzpKT':_0x1496(0x37),'NAvVr':function(_0x463be4,_0x36e5f7){return _0x463be4+_0x36e5f7;},'hWnlI':function(_0x583f6c,_0x525b1c){return _0x583f6c<_0x525b1c;},'hvMgM':function(_0x126b9b,_0x23e85f){return _0x126b9b===_0x23e85f;},'goaCT':'kHtgG','sIvaD':_0x1496(0x38),'cmAmQ':_0x1496(0x16),'pxAcb':function(_0x2e8a22,_0x580e90){return _0x2e8a22===_0x580e90;},'htMIN':_0x1496(0x18),'gMcrV':function(_0x2f1b15,_0x81dd11){return _0x2f1b15===_0x81dd11;},'cDHLn':_0x1496(0x1a),'SUAkZ':'comn','belxT':'copm','nTApj':_0x1496(0x39),'XpVWV':_0x1496(0x1f),'zSPwW':function(_0x2eb43a,_0xe7d85f){return _0x2eb43a===_0xe7d85f;},'NYJOw':function(_0x31b343,_0x45da3b){return _0x31b343===_0x45da3b;},'xHwQd':_0x1496(0x20),'XkbIp':function(_0x356771,_0x5cb598){return _0x356771===_0x5cb598;},'nTqWS':_0x1496(0x21),'jROxH':function(_0x63e13d,_0xd79901){return _0x63e13d!==_0xd79901;},'MIMSb':_0x1496(0x3a),'qvExQ':'GOCZb','ksPWp':'\x20Did\x20you\x20mean\x20.org?','ztNAo':_0x1496(0x22),'JieTn':function(_0x298883,_0x291984){return _0x298883===_0x291984;},'KSAXN':function(_0x154276,_0xf41d1f){return _0x154276===_0xf41d1f;},'gzhOM':'nett','ZBVNW':'ent','IYBkv':'\x20Did\x20you\x20mean\x20.net?','ItZCH':function(_0x302ab4,_0xd12b5e){return _0x302ab4===_0xd12b5e;},'pRgRb':function(_0x1910fd,_0x105b7c){return _0x1910fd===_0x105b7c;},'uohOa':_0x1496(0x3b),'TWuNB':function(_0x5213dc,_0x4d8f53){return _0x5213dc<_0x4d8f53;},'EzTkg':function(_0x7eca04,_0x307f42){return _0x7eca04<=_0x307f42;},'GLfAG':'gmail','BCmJb':_0x1496(0x3c),'XbMdD':'yahoo','lNRXn':_0x1496(0x3d),'jciiJ':_0x1496(0x3e),'QVnQe':_0x1496(0x3f),'kEUIM':_0x1496(0x40),'tKREg':_0x1496(0x41),'pvnIj':_0x1496(0x42),'JOOKO':_0x1496(0x0),'WcUFe':_0x1496(0x43),'kqLMx':_0x1496(0x44),'myZci':_0x1496(0x45),'XjNzV':_0x1496(0x46)},_0xf172e1=_0x1db621['trim']()[_0x1496(0x47)](),_0x585b4a=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!_0x585b4a[_0x1496(0x48)](_0xf172e1))return{'isValid':![],'error':_0x2e18f8['VzpKT']};const _0x26f599=_0xf172e1['lastIndexOf']('@'),_0x636116=_0xf172e1['substring'](_0x2e18f8[_0x1496(0x49)](_0x26f599,0x1)),_0x1fe278=_0x636116['split']('.');if(_0x2e18f8[_0x1496(0x4a)](_0x1fe278[_0x1496(0x4b)],0x2)){if(_0x2e18f8['hvMgM'](_0x2e18f8[_0x1496(0x4c)],_0x2e18f8[_0x1496(0x4d)]))_0x418189('');else return{'isValid':![],'error':_0x2e18f8['VzpKT']};}const _0x4d18cd=_0x1fe278[_0x1fe278[_0x1496(0x4b)]-0x1],_0x132d24=_0x1fe278[_0x1496(0x4b)]>=0x2?_0x1fe278[_0x1fe278[_0x1496(0x4b)]-0x2]+'.'+_0x4d18cd:'';if(INVALID_TLDS[_0x1496(0x4e)](_0x4d18cd)){let _0x179a98='';if(_0x2e18f8[_0x1496(0x4f)](_0x4d18cd,_0x2e18f8[_0x1496(0x50)])||_0x2e18f8[_0x1496(0x51)](_0x4d18cd,_0x1496(0x17))||_0x2e18f8['pxAcb'](_0x4d18cd,_0x2e18f8[_0x1496(0x52)])||_0x2e18f8[_0x1496(0x53)](_0x4d18cd,_0x1496(0x19))||_0x4d18cd===_0x2e18f8['cDHLn']||_0x2e18f8[_0x1496(0x4f)](_0x4d18cd,_0x1496(0x1c))||_0x4d18cd===_0x2e18f8[_0x1496(0x54)]||_0x2e18f8[_0x1496(0x51)](_0x4d18cd,_0x2e18f8[_0x1496(0x55)]))_0x179a98=_0x2e18f8['nTApj'];else{if(_0x2e18f8['pxAcb'](_0x4d18cd,_0x2e18f8[_0x1496(0x56)])||_0x2e18f8['zSPwW'](_0x4d18cd,'og')||_0x2e18f8[_0x1496(0x57)](_0x4d18cd,_0x2e18f8[_0x1496(0x58)])||_0x2e18f8[_0x1496(0x59)](_0x4d18cd,_0x2e18f8[_0x1496(0x5a)])){if(_0x2e18f8['jROxH'](_0x2e18f8[_0x1496(0x5b)],_0x2e18f8['qvExQ']))_0x179a98=_0x2e18f8[_0x1496(0x5c)];else{const _0x4e9fc8=_0x51c037(_0x17d5f3);if(!_0x4e9fc8['isValid']){_0x297c45['log'](_0x2e18f8[_0x1496(0x5d)],_0x4e9fc8['error']),_0x2e18f8[_0x1496(0x5e)](_0x1c8a01,_0x4e9fc8[_0x1496(0x5f)]||_0x2e18f8[_0x1496(0x60)]);return;}_0x1c7800[_0x1496(0x61)](_0x1496(0x62)),_0x49b458(''),_0x2e18f8[_0x1496(0x5e)](_0x89f438,_0x4312d0[_0x1496(0x63)]());}}else{if(_0x2e18f8[_0x1496(0x57)](_0x4d18cd,_0x2e18f8['ztNAo'])||_0x2e18f8[_0x1496(0x64)](_0x4d18cd,'ne')||_0x2e18f8[_0x1496(0x65)](_0x4d18cd,_0x2e18f8[_0x1496(0x66)])||_0x2e18f8[_0x1496(0x51)](_0x4d18cd,_0x2e18f8[_0x1496(0x67)]))_0x179a98=_0x2e18f8['IYBkv'];else(_0x2e18f8[_0x1496(0x68)](_0x4d18cd,'oi')||_0x2e18f8['pRgRb'](_0x4d18cd,_0x1496(0x26))||_0x2e18f8[_0x1496(0x4f)](_0x4d18cd,_0x1496(0x27)))&&(_0x2e18f8[_0x1496(0x69)](_0x2e18f8[_0x1496(0x6a)],_0x2e18f8[_0x1496(0x6a)])?_0x254214=_0x2e18f8[_0x1496(0x6b)]:_0x179a98=_0x2e18f8[_0x1496(0x6b)]);}}return{'isValid':![],'error':_0x1496(0x6c)+_0x4d18cd+').'+_0x179a98};}if(_0x2e18f8['TWuNB'](_0x4d18cd[_0x1496(0x4b)],0x2))return{'isValid':![],'error':_0x1496(0x37)};const _0x5ec182=VALID_TLDS[_0x1496(0x4e)](_0x4d18cd)||VALID_TLDS[_0x1496(0x4e)](_0x132d24);if(!_0x5ec182&&_0x2e18f8[_0x1496(0x6d)](_0x4d18cd['length'],0x2))return{'isValid':![],'error':_0x1496(0x6c)+_0x4d18cd+').\x20Please\x20check\x20your\x20email.'};const _0xd4a03e=_0x1fe278['slice'](0x0,-0x1)[_0x1496(0x6e)]('.'),_0x35586d={'gmai':_0x2e18f8[_0x1496(0x6f)],'gmial':_0x1496(0x70),'gmil':_0x2e18f8['GLfAG'],'gmal':_0x1496(0x70),'gamil':_0x1496(0x70),'outlok':_0x2e18f8['BCmJb'],'outloo':_0x2e18f8[_0x1496(0x71)],'outlokk':_0x2e18f8[_0x1496(0x71)],'yahooo':_0x2e18f8[_0x1496(0x72)],'yaho':_0x1496(0x73),'yhoo':_0x2e18f8['XbMdD'],'hotmai':_0x2e18f8[_0x1496(0x74)],'hotmal':_0x2e18f8['lNRXn'],'hotmial':_0x2e18f8['lNRXn'],'iclod':'icloud','iclould':_0x2e18f8[_0x1496(0x75)]};if(_0x35586d[_0xd4a03e])return _0x2e18f8[_0x1496(0x69)](_0x2e18f8[_0x1496(0x76)],_0x2e18f8['kEUIM'])?{'isValid':![],'error':'Did\x20you\x20mean\x20'+_0x35586d[_0xd4a03e]+'.'+_0x4d18cd+'?'}:{'isValid':![],'error':_0x1496(0x37)};const _0x3d679d=[_0x2e18f8[_0x1496(0x6f)],'yahoo',_0x2e18f8[_0x1496(0x74)],_0x2e18f8['BCmJb'],_0x2e18f8['jciiJ'],'aol',_0x2e18f8['tKREg'],_0x2e18f8[_0x1496(0x77)]],_0x377ba2={'gmail':_0x1496(0x0),'yahoo':_0x2e18f8[_0x1496(0x78)],'hotmail':_0x2e18f8[_0x1496(0x78)],'outlook':_0x2e18f8['JOOKO'],'icloud':_0x1496(0x0),'aol':_0x2e18f8[_0x1496(0x78)],'protonmail':_0x2e18f8[_0x1496(0x78)],'zoho':_0x2e18f8[_0x1496(0x78)]};if(_0x3d679d['includes'](_0xd4a03e)&&_0x2e18f8[_0x1496(0x69)](_0x4d18cd,_0x377ba2[_0xd4a03e])){const _0x33a01f=['yahoo.co.uk',_0x2e18f8['WcUFe'],_0x2e18f8[_0x1496(0x79)],_0x2e18f8[_0x1496(0x7a)],_0x1496(0x7b),_0x2e18f8[_0x1496(0x7c)],'hotmail.co.jp'],_0x526bcf=_0xd4a03e+'.'+_0x4d18cd;if(!_0x33a01f[_0x1496(0x7d)](_0x526bcf))return{'isValid':![],'error':_0x1496(0x7e)+_0xd4a03e+'.'+_0x377ba2[_0xd4a03e]+'?'};}return{'isValid':!![]};},SignInStep=({onEmailSubmit:_0x47554f,onGoogleSignIn:_0x18eea7,onContinue:_0x53b78c,loading:loading=![],error:error='',initialEmail:initialEmail=''})=>{const _0x64be84={'bBuwm':function(_0x546cb8,_0x393a55){return _0x546cb8(_0x393a55);},'wGHat':function(_0x4cedee,_0x2a1c3a){return _0x4cedee===_0x2a1c3a;},'BeCJa':_0x1496(0x7f),'qfkfW':_0x1496(0x80),'lhnhK':_0x1496(0x81),'jaOzD':'๐\x20Reviewer\x20bypass\x20detected\x20in\x20new\x20UI','oinCQ':_0x1496(0x82),'yvzuQ':_0x1496(0x48),'MlgDt':function(_0x190ddd,_0x51b2f7){return _0x190ddd(_0x51b2f7);},'oNNOL':_0x1496(0x83),'xJqxz':function(_0x742a53,_0x410c70){return _0x742a53===_0x410c70;},'IRSiH':_0x1496(0x84),'VUgRx':_0x1496(0x85),'oOzeg':function(_0x2450d3,_0x22ee10){return _0x2450d3(_0x22ee10);},'eSIot':_0x1496(0x35),'pYQWv':'โ
\x20Email\x20validation\x20passed','ZJkap':function(_0x4710a0,_0x1c1af0){return _0x4710a0(_0x1c1af0);},'HOylg':_0x1496(0x86),'crKCo':_0x1496(0x87),'JvPcf':function(_0x3de8a3,_0x2f06b0){return _0x3de8a3(_0x2f06b0);},'zphmU':function(_0x440f7a,_0x393f5e){return _0x440f7a(_0x393f5e);},'UYrRD':function(_0x4bfcd8,_0x4cff84,_0x26b30d){return _0x4bfcd8(_0x4cff84,_0x26b30d);},'GYnmh':_0x1496(0x88),'ausqa':_0x1496(0x89),'YfTUT':_0x1496(0x8a),'GAuTU':_0x1496(0x8b),'PmQhU':'done','DUnVn':_0x1496(0x8c),'ACgfY':function(_0x32722b,_0x23be16){return _0x32722b||_0x23be16;},'Bfuwa':_0x1496(0x8d)},[_0x398118,_0x537f52]=_0x64be84['JvPcf'](useState,initialEmail),[_0x236beb,_0xe3eee5]=_0x64be84[_0x1496(0x8e)](useState,![]),[_0x2057b1,_0xdda148]=_0x64be84['zphmU'](useState,''),_0x1932a4=_0xa0aaf7=>{_0x537f52(_0xa0aaf7),_0x2057b1&&_0x64be84[_0x1496(0x8f)](_0xdda148,'');},_0x580739=()=>{const _0x23e58c={'liXry':_0x1496(0x90)};if(_0x64be84['wGHat'](_0x64be84[_0x1496(0x91)],_0x64be84[_0x1496(0x91)])){if(_0x398118[_0x1496(0x47)]()[_0x1496(0x63)]()===_0x1496(0x92)){if(_0x64be84['qfkfW']===_0x64be84[_0x1496(0x93)])return{'isValid':![],'error':_0x1496(0x37)};else{console['log'](_0x64be84['jaOzD']),_0x64be84[_0x1496(0x8f)](_0x47554f,_0x64be84[_0x1496(0x94)]);return;}}if(_0x64be84['wGHat'](_0x398118[_0x1496(0x47)]()[_0x1496(0x63)](),_0x64be84['yvzuQ'])){console[_0x1496(0x61)](_0x1496(0x95)),_0x64be84[_0x1496(0x96)](_0x47554f,_0x64be84[_0x1496(0x97)]);return;}if(_0x398118[_0x1496(0x63)]()){const _0x4f5d4c=validateEmail(_0x398118);if(!_0x4f5d4c['isValid']){if(_0x64be84[_0x1496(0x98)](_0x64be84[_0x1496(0x99)],_0x64be84[_0x1496(0x9a)]))return{'isValid':![],'error':'Did\x20you\x20mean\x20'+_0x2e2fa2[_0x4ed114]+'.'+_0x24d36d+'?'};else{console[_0x1496(0x61)]('โ\x20Email\x20validation\x20failed:',_0x4f5d4c['error']),_0x64be84[_0x1496(0x9b)](_0xdda148,_0x4f5d4c[_0x1496(0x5f)]||_0x64be84[_0x1496(0x9c)]);return;}}console[_0x1496(0x61)](_0x64be84[_0x1496(0x9d)]),_0x64be84[_0x1496(0x9e)](_0xdda148,''),_0x47554f(_0x398118['trim']());}}else _0xfc610a=_0x23e58c[_0x1496(0x9f)];};return _0x64be84[_0x1496(0xa0)](useEffect,()=>{const _0x472699=Keyboard[_0x1496(0xa1)](_0x64be84[_0x1496(0xa2)],()=>_0xe3eee5(!![])),_0x2d5ad2=Keyboard['addListener'](_0x64be84[_0x1496(0xa3)],()=>_0xe3eee5(![]));return()=>{_0x64be84['wGHat'](_0x2d5ad2,null)||_0x64be84[_0x1496(0x98)](_0x2d5ad2,void 0x0)||_0x2d5ad2[_0x1496(0xa4)](),_0x472699===null||_0x64be84[_0x1496(0xa5)](_0x472699,void 0x0)||_0x472699[_0x1496(0xa4)]();};},[]),React[_0x1496(0xa6)](KeyboardAvoidingView,{'behavior':_0x64be84[_0x1496(0xa5)](Platform['OS'],_0x64be84[_0x1496(0xa7)])?_0x64be84['ausqa']:_0x1496(0xa8),'style':styles['container']},React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xa9)]},React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xaa)]},React[_0x1496(0xa6)](Text,{'style':styles[_0x1496(0xab)]},_0x64be84[_0x1496(0xac)]),React[_0x1496(0xa6)](Text,{'style':styles[_0x1496(0xad)]},_0x64be84[_0x1496(0xae)])),React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xaf)]},React[_0x1496(0xa6)](_0x31e99e,{'value':_0x398118,'onChangeText':_0x1932a4,'onSubmitEditing':_0x580739,'returnKeyType':_0x64be84[_0x1496(0xb0)],'blurOnSubmit':!![],'placeholder':'Your\x20email','placeholderTextColor':_0x64be84['DUnVn']}),_0x64be84[_0x1496(0xb1)](_0x2057b1,error)?React[_0x1496(0xa6)](Text,{'style':styles[_0x1496(0xb2)]},_0x64be84[_0x1496(0xb1)](_0x2057b1,error)):null),React['createElement'](View,{'style':styles[_0x1496(0xb3)]},React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xb4)]}),React[_0x1496(0xa6)](Text,{'style':styles['dividerText']},'Or'),React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xb4)]})),React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xb5)]},React['createElement'](_0x5a7e62,{'onPress':_0x18eea7,'disabled':loading})),React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xb6)]}),React[_0x1496(0xa6)](View,{'style':styles[_0x1496(0xb7)]},React[_0x1496(0xa6)](_0x5163bd,{'label':_0x64be84['Bfuwa'],'onPress':_0x580739,'disabled':loading||!_0x398118[_0x1496(0x63)](),'loading':loading}))));},styles=StyleSheet[_0x1496(0xb8)]({'container':{'flex':0x1},'content':{'flex':0x1,'paddingTop':0x18,'paddingHorizontal':0x18},'headingContainer':{'width':_0x1496(0xb9),'marginBottom':0x16,'paddingHorizontal':0x0},'title':{'fontFamily':_0x1496(0xba),'fontWeight':'700','fontSize':0x18,'lineHeight':0x20,'color':COLORS['grey800'],'textAlign':'left','marginBottom':SPACING['sm']},'subtitle':{'fontFamily':_0x1496(0xbb),'fontWeight':'400','fontSize':0x10,'lineHeight':0x18,'color':COLORS[_0x1496(0xbc)],'textAlign':_0x1496(0xbd)},'inputContainer':{'marginBottom':0x20,'paddingHorizontal':0x0},'dividerContainer':{'flexDirection':_0x1496(0xbe),'alignItems':_0x1496(0xbf),'marginBottom':0x20,'paddingHorizontal':0x0},'dividerLine':{'flex':0x1,'height':0x1,'backgroundColor':_0x1496(0xc0)},'dividerText':{'paddingHorizontal':SPACING['md'],'fontSize':0xe,'fontFamily':_0x1496(0xbb),'fontWeight':'400','color':COLORS[_0x1496(0xc1)]},'googleContainer':{'marginBottom':SPACING['xl'],'paddingHorizontal':0x0},'spacer':{'flex':0x1,'minHeight':0x14},'continueContainer':{'paddingBottom':SPACING['xl'],'paddingHorizontal':0x0},'errorText':{'fontSize':0xe,'fontFamily':_0x1496(0xbb),'fontWeight':'400','color':_0x1496(0xc2),'marginTop':0x8,'textAlign':_0x1496(0xbd)}});export{SignInStep};function _0x23dc(){const _0x459a46=['com','org','net','edu','gov','mil','int','dev','online','site','web','info','biz','co.uk','co.nz','co.za','com.br','co.jp','co.kr','co.in','org.uk','edu.au','con','cmo','vom','ocm','cpm','ckm','comm','comn','copm','ogr','orgg','rog','nte','nett','ent','bet','ioo','lio','gmai','gmial','gmil','gmal','gamil','outlok','outlokk','yahooo','yaho','hotmai','hotmal','hotmial','โ\x20Email\x20validation\x20failed:','Invalid\x20email\x20address','\x20Did\x20you\x20mean\x20.io?','Please\x20enter\x20a\x20valid\x20email\x20address','VreAc','\x20Did\x20you\x20mean\x20.com?','jdvku','zatsh','outlook','hotmail','icloud','JdRgd','AbGzK','protonmail','zoho','yahoo.co.jp','yahoo.com.br','yahoo.com.au','hotmail.co.uk','toLowerCase','test','NAvVr','hWnlI','length','goaCT','sIvaD','has','hvMgM','cmAmQ','pxAcb','htMIN','gMcrV','SUAkZ','belxT','XpVWV','NYJOw','xHwQd','XkbIp','nTqWS','MIMSb','ksPWp','rQBsk','PdwZW','error','UdTmP','log','โ
\x20Email\x20validation\x20passed','trim','JieTn','KSAXN','gzhOM','ZBVNW','ItZCH','jROxH','uohOa','EurDL','Invalid\x20email\x20domain\x20(.','EzTkg','join','GLfAG','gmail','BCmJb','XbMdD','yahoo','lNRXn','jciiJ','QVnQe','pvnIj','JOOKO','kqLMx','myZci','outlook.co.uk','XjNzV','includes','Did\x20you\x20mean\x20','DjRti','YCzZK','CtNWP','reviewer@bypass.com','test@bypass.com','GbDeb','huEqj','keyboardDidShow','keyboardDidHide','ios','padding','Build\x20your\x20Onairos\x20persona\x20to\x20own\x20your\x20digital\x20identity','Sign\x20in\x20or\x20create\x20an\x20account','#9CA3AF','Continue','JvPcf','bBuwm','\x20Did\x20you\x20mean\x20.org?','BeCJa','reviewer','lhnhK','oinCQ','๐งช\x20Test\x20bypass\x20detected\x20-\x20skipping\x20to\x20verification\x20screen','MlgDt','oNNOL','xJqxz','IRSiH','VUgRx','oOzeg','eSIot','pYQWv','ZJkap','liXry','UYrRD','addListener','HOylg','crKCo','remove','wGHat','createElement','GYnmh','height','content','headingContainer','title','YfTUT','subtitle','GAuTU','inputContainer','PmQhU','ACgfY','errorText','dividerContainer','dividerLine','googleContainer','spacer','continueContainer','create','100%','IBM\x20Plex\x20Sans','Inter','grey600','left','row','center','#E5E5E5','grey500','#DC3545'];_0x23dc=function(){return _0x459a46;};return _0x23dc();}export default SignInStep;
|