@onairos/react-native 3.7.1 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +219 -9
- package/lib/commonjs/assets/icons/spotify.png +0 -0
- package/lib/commonjs/assets/images/spotify.png +0 -0
- package/lib/commonjs/components/BodyText.js +27 -9
- package/lib/commonjs/components/BrandMark.js +111 -10
- package/lib/commonjs/components/CodeInput.js +116 -9
- package/lib/commonjs/components/EmailInput.js +30 -8
- package/lib/commonjs/components/GoogleButton.js +56 -9
- package/lib/commonjs/components/HeadingGroup.js +43 -9
- package/lib/commonjs/components/LLMDataInputModal.js +664 -14
- package/lib/commonjs/components/ModalHeader.js +99 -9
- package/lib/commonjs/components/ModalSheet.js +47 -9
- package/lib/commonjs/components/Onairos.js +380 -14
- package/lib/commonjs/components/OnairosButton.js +313 -13
- package/lib/commonjs/components/OnairosSignInButton.js +130 -12
- package/lib/commonjs/components/Overlay.js +465 -13
- package/lib/commonjs/components/PersonaImage.js +137 -10
- package/lib/commonjs/components/PersonaLoadingScreen.js +318 -12
- package/lib/commonjs/components/PersonalizationConsentScreen.js +467 -13
- package/lib/commonjs/components/PinCreationScreen.js +403 -12
- package/lib/commonjs/components/PinInput.js +464 -9
- package/lib/commonjs/components/PlatformConnectorsStep.js +1311 -23
- package/lib/commonjs/components/PlatformList.js +137 -10
- package/lib/commonjs/components/PlatformToggle.js +180 -9
- package/lib/commonjs/components/PrimaryButton.js +180 -10
- package/lib/commonjs/components/SignInMatchAnimation.js +197 -9
- package/lib/commonjs/components/SignInStep.js +345 -12
- package/lib/commonjs/components/UniversalOnboarding.js +2780 -30
- package/lib/commonjs/components/VerificationStep.js +176 -11
- package/lib/commonjs/components/WelcomeScreen.js +461 -22
- package/lib/commonjs/components/icons/Basicproficon.js +37 -8
- package/lib/commonjs/components/icons/Basicprofile.js +21 -8
- package/lib/commonjs/components/icons/Checkbox.js +21 -8
- package/lib/commonjs/components/icons/Checkmark.js +27 -8
- package/lib/commonjs/components/icons/Contentanalysis.js +21 -8
- package/lib/commonjs/components/icons/Contenticon.js +39 -8
- package/lib/commonjs/components/icons/EnochE.js +41 -8
- package/lib/commonjs/components/icons/Personalityicon.js +30 -8
- package/lib/commonjs/components/icons/Personalityprofile.js +21 -8
- package/lib/commonjs/components/icons/Personalitytraits.js +21 -8
- package/lib/commonjs/components/icons/Userpreferences.js +21 -8
- package/lib/commonjs/components/icons/index.js +84 -17
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1754 -18
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +74 -10
- package/lib/commonjs/components/onboarding/PinInput.js +283 -10
- package/lib/commonjs/components/onboarding/PlatformConnector.js +249 -11
- package/lib/commonjs/config/PLATFORM_APIS.md +849 -0
- package/lib/commonjs/config/api.js +56 -7
- package/lib/commonjs/constants/index.js +120 -7
- package/lib/commonjs/context/AuthContext.js +345 -10
- package/lib/commonjs/hooks/useConnectedAccounts.js +111 -9
- package/lib/commonjs/hooks/useConnections.js +102 -8
- package/lib/commonjs/hooks/useCredentials.js +178 -10
- package/lib/commonjs/hooks/useUserConnections.js +148 -10
- package/lib/commonjs/index.js +439 -34
- package/lib/commonjs/services/apiClient.js +298 -8
- package/lib/commonjs/services/biometricPinService.js +180 -8
- package/lib/commonjs/services/chatGPTConversationExtractor.js +155 -8
- package/lib/commonjs/services/chatGPTConversationService.js +275 -9
- package/lib/commonjs/services/claudeConversationExtractor.js +103 -8
- package/lib/commonjs/services/claudeConversationService.js +158 -9
- package/lib/commonjs/services/connectedAccountsService.js +310 -10
- package/lib/commonjs/services/googleAuthService.js +252 -11
- package/lib/commonjs/services/hingeDataExtractor.js +105 -8
- package/lib/commonjs/services/hingeDataService.js +150 -9
- package/lib/commonjs/services/imageCompressionService.js +260 -7
- package/lib/commonjs/services/instagramDataExtractor.js +126 -8
- package/lib/commonjs/services/instagramDataService.js +163 -9
- package/lib/commonjs/services/jwtStorageService.js +276 -7
- package/lib/commonjs/services/linkedinDOMExtractor.js +245 -7
- package/lib/commonjs/services/linkedinProfileService.js +222 -9
- package/lib/commonjs/services/linkedinScrapingService.js +230 -8
- package/lib/commonjs/services/llmDataStorage.js +294 -8
- package/lib/commonjs/services/mobileTrainingService.js +186 -8
- package/lib/commonjs/services/netflixDataExtractor.js +120 -8
- package/lib/commonjs/services/netflixDataService.js +198 -9
- package/lib/commonjs/services/pinEncryptionService.js +84 -8
- package/lib/commonjs/services/pinStorageUtils.js +105 -7
- package/lib/commonjs/services/platformAuthService.js +1484 -12
- package/lib/commonjs/services/sephoraDataExtractor.js +140 -8
- package/lib/commonjs/services/sephoraDataService.js +200 -9
- package/lib/commonjs/services/spotifyDataExtractor.js +148 -8
- package/lib/commonjs/services/spotifyDataService.js +241 -9
- package/lib/commonjs/services/storageService.js +404 -8
- package/lib/commonjs/services/telegramDataExtractor.js +115 -8
- package/lib/commonjs/services/telegramDataService.js +499 -9
- package/lib/commonjs/services/trainingApiHelpers.js +73 -7
- package/lib/commonjs/services/userConnectionsService.js +340 -10
- package/lib/commonjs/services/youtubeMigrationService.js +416 -10
- package/lib/commonjs/theme/index.js +250 -7
- package/lib/commonjs/types/ambient.d.js +2 -1
- package/lib/commonjs/types/declarations.d.js +2 -1
- package/lib/commonjs/types/index.js +6 -1
- package/lib/commonjs/types/node-fix.d.js +2 -1
- package/lib/commonjs/types/node-override.d.js +2 -1
- package/lib/commonjs/types/opacity.d.js +2 -1
- package/lib/commonjs/types.js +14 -1
- package/lib/commonjs/utils/Portal.js +98 -8
- package/lib/commonjs/utils/api.js +130 -9
- package/lib/commonjs/utils/assetRegistry.js +210 -35
- package/lib/commonjs/utils/auth.js +112 -9
- package/lib/commonjs/utils/connectorTests.js +613 -29
- package/lib/commonjs/utils/crypto.js +62 -8
- package/lib/commonjs/utils/debugHelper.js +64 -1
- package/lib/commonjs/utils/encryption.js +76 -7
- package/lib/commonjs/utils/eventUtils.js +288 -1
- package/lib/commonjs/utils/haptics.js +66 -9
- package/lib/commonjs/utils/imagePreloader.js +6 -1
- package/lib/commonjs/utils/networkDiagnostics.js +226 -8
- package/lib/commonjs/utils/onairosApi.js +350 -9
- package/lib/commonjs/utils/programmaticFlow.js +117 -9
- package/lib/commonjs/utils/retryHelper.js +220 -1
- package/lib/commonjs/utils/secureStorage.js +349 -10
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +551 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +376 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +411 -1
- package/lib/commonjs/utils/webviewScripts/index.js +698 -15
- package/lib/commonjs/utils/webviewScripts/instagram.js +454 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +880 -1
- package/lib/commonjs/utils/webviewScripts/netflix.js +382 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +516 -1
- package/lib/commonjs/utils/webviewScripts/spotify.js +419 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +678 -1
- package/lib/module/api/index.js +211 -1
- package/lib/module/assets/icons/spotify.png +0 -0
- package/lib/module/assets/images/spotify.png +0 -0
- package/lib/module/components/BodyText.js +20 -1
- package/lib/module/components/BrandMark.js +104 -1
- package/lib/module/components/CodeInput.js +109 -1
- package/lib/module/components/EmailInput.js +23 -1
- package/lib/module/components/GoogleButton.js +49 -1
- package/lib/module/components/HeadingGroup.js +36 -1
- package/lib/module/components/LLMDataInputModal.js +656 -7
- package/lib/module/components/ModalHeader.js +92 -1
- package/lib/module/components/ModalSheet.js +39 -1
- package/lib/module/components/Onairos.js +373 -1
- package/lib/module/components/OnairosButton.js +305 -1
- package/lib/module/components/OnairosSignInButton.js +121 -1
- package/lib/module/components/Overlay.js +456 -1
- package/lib/module/components/PersonaImage.js +129 -1
- package/lib/module/components/PersonaLoadingScreen.js +310 -1
- package/lib/module/components/PersonalizationConsentScreen.js +460 -1
- package/lib/module/components/PinCreationScreen.js +396 -1
- package/lib/module/components/PinInput.js +456 -1
- package/lib/module/components/PlatformConnectorsStep.js +1302 -6
- package/lib/module/components/PlatformList.js +129 -1
- package/lib/module/components/PlatformToggle.js +173 -1
- package/lib/module/components/PrimaryButton.js +172 -1
- package/lib/module/components/SignInMatchAnimation.js +189 -1
- package/lib/module/components/SignInStep.js +338 -1
- package/lib/module/components/UniversalOnboarding.js +2770 -1
- package/lib/module/components/VerificationStep.js +168 -1
- package/lib/module/components/WelcomeScreen.js +453 -1
- package/lib/module/components/icons/Basicproficon.js +30 -1
- package/lib/module/components/icons/Basicprofile.js +14 -1
- package/lib/module/components/icons/Checkbox.js +14 -1
- package/lib/module/components/icons/Checkmark.js +20 -1
- package/lib/module/components/icons/Contentanalysis.js +14 -1
- package/lib/module/components/icons/Contenticon.js +32 -1
- package/lib/module/components/icons/EnochE.js +34 -1
- package/lib/module/components/icons/Personalityicon.js +23 -1
- package/lib/module/components/icons/Personalityprofile.js +14 -1
- package/lib/module/components/icons/Personalitytraits.js +14 -1
- package/lib/module/components/icons/Userpreferences.js +14 -1
- package/lib/module/components/icons/index.js +13 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1746 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +66 -1
- package/lib/module/components/onboarding/PinInput.js +274 -1
- package/lib/module/components/onboarding/PlatformConnector.js +240 -1
- package/lib/module/config/PLATFORM_APIS.md +849 -0
- package/lib/module/config/api.js +47 -1
- package/lib/module/constants/index.js +114 -1
- package/lib/module/context/AuthContext.js +335 -1
- package/lib/module/hooks/useConnectedAccounts.js +106 -1
- package/lib/module/hooks/useConnections.js +95 -1
- package/lib/module/hooks/useCredentials.js +171 -6
- package/lib/module/hooks/useUserConnections.js +140 -1
- package/lib/module/index.js +172 -1
- package/lib/module/services/apiClient.js +295 -1
- package/lib/module/services/biometricPinService.js +169 -1
- package/lib/module/services/chatGPTConversationExtractor.js +149 -1
- package/lib/module/services/chatGPTConversationService.js +268 -1
- package/lib/module/services/claudeConversationExtractor.js +97 -1
- package/lib/module/services/claudeConversationService.js +151 -1
- package/lib/module/services/connectedAccountsService.js +293 -1
- package/lib/module/services/googleAuthService.js +241 -1
- package/lib/module/services/hingeDataExtractor.js +99 -1
- package/lib/module/services/hingeDataService.js +143 -1
- package/lib/module/services/imageCompressionService.js +250 -1
- package/lib/module/services/instagramDataExtractor.js +120 -1
- package/lib/module/services/instagramDataService.js +156 -1
- package/lib/module/services/jwtStorageService.js +257 -1
- package/lib/module/services/linkedinDOMExtractor.js +234 -1
- package/lib/module/services/linkedinProfileService.js +210 -1
- package/lib/module/services/linkedinScrapingService.js +219 -1
- package/lib/module/services/llmDataStorage.js +277 -1
- package/lib/module/services/mobileTrainingService.js +173 -1
- package/lib/module/services/netflixDataExtractor.js +114 -1
- package/lib/module/services/netflixDataService.js +191 -1
- package/lib/module/services/pinEncryptionService.js +74 -6
- package/lib/module/services/pinStorageUtils.js +93 -1
- package/lib/module/services/platformAuthService.js +1461 -1
- package/lib/module/services/sephoraDataExtractor.js +134 -1
- package/lib/module/services/sephoraDataService.js +193 -1
- package/lib/module/services/spotifyDataExtractor.js +142 -1
- package/lib/module/services/spotifyDataService.js +234 -1
- package/lib/module/services/storageService.js +383 -1
- package/lib/module/services/telegramDataExtractor.js +109 -1
- package/lib/module/services/telegramDataService.js +493 -1
- package/lib/module/services/trainingApiHelpers.js +67 -1
- package/lib/module/services/userConnectionsService.js +329 -1
- package/lib/module/services/youtubeMigrationService.js +405 -1
- package/lib/module/theme/index.js +245 -1
- package/lib/module/types.js +10 -1
- package/lib/module/utils/Portal.js +90 -1
- package/lib/module/utils/api.js +118 -1
- package/lib/module/utils/assetRegistry.js +200 -34
- package/lib/module/utils/auth.js +100 -1
- package/lib/module/utils/connectorTests.js +600 -27
- package/lib/module/utils/crypto.js +54 -1
- package/lib/module/utils/debugHelper.js +54 -1
- package/lib/module/utils/encryption.js +67 -1
- package/lib/module/utils/eventUtils.js +270 -1
- package/lib/module/utils/haptics.js +59 -8
- package/lib/module/utils/imagePreloader.js +3 -1
- package/lib/module/utils/networkDiagnostics.js +217 -1
- package/lib/module/utils/onairosApi.js +333 -1
- package/lib/module/utils/programmaticFlow.js +111 -1
- package/lib/module/utils/retryHelper.js +211 -1
- package/lib/module/utils/secureStorage.js +330 -6
- package/lib/module/utils/webviewScripts/chatgpt.js +545 -1
- package/lib/module/utils/webviewScripts/claude.js +370 -1
- package/lib/module/utils/webviewScripts/hinge.js +405 -1
- package/lib/module/utils/webviewScripts/index.js +434 -1
- package/lib/module/utils/webviewScripts/instagram.js +448 -1
- package/lib/module/utils/webviewScripts/linkedin.js +874 -1
- package/lib/module/utils/webviewScripts/netflix.js +376 -1
- package/lib/module/utils/webviewScripts/sephora.js +510 -1
- package/lib/module/utils/webviewScripts/spotify.js +413 -1
- package/lib/module/utils/webviewScripts/telegram.js +672 -1
- package/package.json +2 -2
|
@@ -1,9 +1,197 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object[_0x12ea(0x0)](exports,_0x12ea(0x1),{'value':!![]}),exports[_0x12ea(0x2)]=void 0x0;function _0x12ea(_0x583e71,_0x12eaed){_0x583e71=_0x583e71-0x0;const _0x318cbc=_0x583e();let _0x4ce2b4=_0x318cbc[_0x583e71];return _0x4ce2b4;}var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_reactNativeLinearGradient=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x2));function _0x583e(){const _0x331b77=['defineProperty','__esModule','default','auDfR','object','function','mdSjm','phOpV','YAGNG','GnCdd','cWnBh','NlZMe','has','set','VtfWq','PnlQk','call','get','Dimensions','window','HTtCk','qnmtt','#E9C46A','We\x27ve\x20found\x20','sjstt','useState','Value','Animated','useEffect','zZkZt','crjgg','wfWHS','found','ATSGl','dFHNb','timing','start','JMlWq','erWjF','uvVrC','aTUwG','UUjQL','KFhVv','kzXMw','AjJit','fJufy','usQnT','EWHOX','BIFID','CcatZ','DtMWs','parallel','DZmgb','clCBX','floor','bPoig','random','qAFyf','DtGJM','eTtHk','fzFHj','HQJjn','createElement','Modal','none','container','View','Fragment','title','ActivityIndicator','large','FVSeo','loader','Text','message','qeuTC','matchCircle','matchCount','wJTFo','\x20potential\x20connections\x20for\x20you!','subMessage','Complete\x20your\x20profile\x20to\x20see\x20who\x20they\x20are.','aymfN','rrigU','Welcome\x20to\x20Enoch!','FybZt','TouchableOpacity','button','#f5e7c1','gifuq','gradientButton','QFlON','StyleSheet','center','#FFFFFF','#000','600','#777','100%','hidden'];_0x583e=function(){return _0x331b77;};return _0x583e();}function _interopRequireDefault(_0x56e7a1){return _0x56e7a1&&_0x56e7a1['__esModule']?_0x56e7a1:{'default':_0x56e7a1};}function _interopRequireWildcard(_0x18c0e9,_0x1fcc4a){const _0x15eceb={'mdSjm':_0x12ea(0x3),'phOpV':function(_0x3fac1d,_0x59a5ec){return _0x3fac1d===_0x59a5ec;},'YAGNG':function(_0x12efe7,_0x292c54){return _0x12efe7!=_0x292c54;},'GnCdd':_0x12ea(0x4),'cWnBh':function(_0x47c001,_0x50091c){return _0x47c001!=_0x50091c;},'NlZMe':_0x12ea(0x5),'VtfWq':function(_0x3f37d1,_0x360aac){return _0x3f37d1!==_0x360aac;},'PnlQk':_0x12ea(0x2),'XPehE':function(_0x327849,_0x1aa548){return _0x327849==_0x1aa548;}};if(_0x15eceb['XPehE'](_0x15eceb['NlZMe'],typeof WeakMap))var _0x2d2df3=new WeakMap(),_0x2750e2=new WeakMap();return(_interopRequireWildcard=function(_0x31584e,_0x241cd2){if(_0x15eceb[_0x12ea(0x6)]!==_0x15eceb[_0x12ea(0x6)])return _0x54cb13&&_0x5092c7[_0x12ea(0x1)]?_0x57b6af:{'default':_0x297340};else{if(!_0x241cd2&&_0x31584e&&_0x31584e['__esModule'])return _0x31584e;var _0x16c709,_0x6e75ab,_0x53886c={'__proto__':null,'default':_0x31584e};if(_0x15eceb[_0x12ea(0x7)](null,_0x31584e)||_0x15eceb[_0x12ea(0x8)](_0x15eceb[_0x12ea(0x9)],typeof _0x31584e)&&_0x15eceb[_0x12ea(0xa)](_0x15eceb[_0x12ea(0xb)],typeof _0x31584e))return _0x53886c;if(_0x16c709=_0x241cd2?_0x2750e2:_0x2d2df3){if(_0x16c709[_0x12ea(0xc)](_0x31584e))return _0x16c709['get'](_0x31584e);_0x16c709[_0x12ea(0xd)](_0x31584e,_0x53886c);}for(const _0x583658 in _0x31584e)_0x15eceb[_0x12ea(0xe)](_0x15eceb[_0x12ea(0xf)],_0x583658)&&{}['hasOwnProperty'][_0x12ea(0x10)](_0x31584e,_0x583658)&&((_0x6e75ab=(_0x16c709=Object[_0x12ea(0x0)])&&Object['getOwnPropertyDescriptor'](_0x31584e,_0x583658))&&(_0x6e75ab[_0x12ea(0x11)]||_0x6e75ab['set'])?_0x16c709(_0x53886c,_0x583658,_0x6e75ab):_0x53886c[_0x583658]=_0x31584e[_0x583658]);return _0x53886c;}})(_0x18c0e9,_0x1fcc4a);}const {width,height}=_reactNative[_0x12ea(0x12)][_0x12ea(0x11)](_0x12ea(0x13)),SignInMatchAnimation=({email:_0x28a509,visible:_0x1414bd,onComplete:_0xcb9176})=>{const _0x2325bf={'rrigU':'complete','zZkZt':function(_0x4e6eaa,_0x632487,_0x16992c){return _0x4e6eaa(_0x632487,_0x16992c);},'BoBOM':function(_0x135fc9,_0x341c74){return _0x135fc9+_0x341c74;},'crjgg':_0x12ea(0x14),'FufYE':function(_0x3a2d59,_0x153230){return _0x3a2d59(_0x153230);},'wfWHS':function(_0x1008f6,_0x59abc5){return _0x1008f6(_0x59abc5);},'dFHNb':_0x12ea(0x15),'JMlWq':function(_0x4157ec,_0x49471a,_0x26682c){return _0x4157ec(_0x49471a,_0x26682c);},'XRKhM':function(_0x2b55db){return _0x2b55db();},'sjstt':'searching','aymfN':function(_0x2c639b,_0x26242d){return _0x2c639b===_0x26242d;},'FVSeo':_0x12ea(0x16),'qeuTC':'Matches\x20Found!','wJTFo':_0x12ea(0x17),'FybZt':'We\x27ll\x20send\x20match\x20notifications\x20to\x20','ZzIVb':'@...','gifuq':'#DDB957','QFlON':'Continue'},[_0x5b4a8d,_0x811b31]=(0x0,_react['useState'])(_0x2325bf[_0x12ea(0x18)]),[_0x925f6f,_0x2e830a]=(0x0,_react['useState'])(0x0),_0x5eb17c=(0x0,_react[_0x12ea(0x19)])(new _reactNative['Animated'][(_0x12ea(0x1a))](0x0))[0x0],_0x2a61dd=(0x0,_react[_0x12ea(0x19)])(new _reactNative[(_0x12ea(0x1b))][(_0x12ea(0x1a))](0.9))[0x0];(0x0,_react[_0x12ea(0x1c)])(()=>{const _0x57afe0={'erWjF':_0x2325bf['rrigU'],'uvVrC':function(_0xcf557d,_0x49b786,_0x28a2f4){return _0x2325bf[_0x12ea(0x1d)](_0xcf557d,_0x49b786,_0x28a2f4);},'mqUyM':function(_0x5f1aef,_0x44ab39){return _0x2325bf['BoBOM'](_0x5f1aef,_0x44ab39);},'aTUwG':function(_0x1f4c20,_0x5dbe5d){return _0x1f4c20*_0x5dbe5d;},'KFhVv':_0x2325bf[_0x12ea(0x1e)],'kzXMw':function(_0x541d4a,_0x268b0b){return _0x2325bf['FufYE'](_0x541d4a,_0x268b0b);},'bKVky':function(_0x29d008,_0x365d5f){return _0x29d008+_0x365d5f;},'AjJit':function(_0xad0990,_0x4a3231){return _0x2325bf[_0x12ea(0x1f)](_0xad0990,_0x4a3231);},'kUguG':function(_0x45c545,_0x204c29){return _0x45c545(_0x204c29);},'fJufy':_0x12ea(0x20),'tUSxh':function(_0xde9fea,_0x3d10fc,_0x11cb8c){return _0x2325bf['zZkZt'](_0xde9fea,_0x3d10fc,_0x11cb8c);}};if(_0x1414bd){if(_0x12ea(0x21)===_0x2325bf[_0x12ea(0x22)]){if(_0x3d5137[_0x12ea(0xc)](_0x39748d))return _0x58081f[_0x12ea(0x11)](_0x5406cc);_0x3071ca[_0x12ea(0xd)](_0x178716,_0x73d981);}else _reactNative[_0x12ea(0x1b)]['parallel']([_reactNative[_0x12ea(0x1b)][_0x12ea(0x23)](_0x5eb17c,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),_reactNative['Animated']['timing'](_0x2a61dd,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]})])[_0x12ea(0x24)](),_0x2325bf[_0x12ea(0x25)](setTimeout,()=>{const _0x2b501d={'DtMWs':_0x57afe0[_0x12ea(0x26)],'DZmgb':function(_0x2ffc5b,_0x53b445,_0x41deed){return _0x57afe0[_0x12ea(0x27)](_0x2ffc5b,_0x53b445,_0x41deed);},'VFHpL':function(_0x43ff0e,_0x3e09bc){return _0x57afe0['mqUyM'](_0x43ff0e,_0x3e09bc);},'FJzsx':function(_0xf3b9ea,_0x209483){return _0x57afe0[_0x12ea(0x28)](_0xf3b9ea,_0x209483);},'usQnT':function(_0x31016c,_0x46a8d2){return _0x31016c(_0x46a8d2);},'EWHOX':'found','BIFID':function(_0x13bfd1,_0x571a8e,_0x346f62){return _0x13bfd1(_0x571a8e,_0x346f62);},'CcatZ':_0x12ea(0x29),'HZiCJ':_0x57afe0[_0x12ea(0x2a)],'HQJjn':function(_0x5f2b3f,_0x1c5157){return _0x57afe0[_0x12ea(0x2b)](_0x5f2b3f,_0x1c5157);}},_0x5d6f5c=_0x57afe0['bKVky'](Math['floor'](_0x57afe0[_0x12ea(0x28)](Math['random'](),0x6)),0x3);_0x57afe0[_0x12ea(0x2c)](_0x2e830a,_0x5d6f5c),_0x57afe0['kUguG'](_0x811b31,_0x57afe0[_0x12ea(0x2d)]),_0x57afe0['tUSxh'](setTimeout,()=>{const _0x2fda4b={'clCBX':function(_0x1291dd,_0x4bf65e){return _0x2b501d['VFHpL'](_0x1291dd,_0x4bf65e);},'bPoig':function(_0x12eabb,_0x375d16){return _0x2b501d['FJzsx'](_0x12eabb,_0x375d16);},'qAFyf':function(_0x2c7c22,_0x4f381d){return _0x2b501d[_0x12ea(0x2e)](_0x2c7c22,_0x4f381d);},'DtGJM':_0x2b501d[_0x12ea(0x2f)],'eTtHk':function(_0x1bab22,_0x1c8d02,_0x5c4e78){return _0x2b501d[_0x12ea(0x30)](_0x1bab22,_0x1c8d02,_0x5c4e78);}};if(_0x2b501d[_0x12ea(0x31)]===_0x2b501d['HZiCJ']){const _0x39ec24={'fzFHj':function(_0x4aa0cb,_0x41ca32){return _0x4aa0cb(_0x41ca32);},'iNAfc':_0x2b501d[_0x12ea(0x32)]};_0x1b62ec[_0x12ea(0x1b)][_0x12ea(0x33)]([_0x23ec4d['Animated'][_0x12ea(0x23)](_0x3927ff,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]}),_0x17b41b['Animated'][_0x12ea(0x23)](_0x3fc4ff,{'toValue':0x1,'duration':0x258,'useNativeDriver':!![]})])['start'](),_0x2b501d[_0x12ea(0x34)](_0x141239,()=>{const _0x1fe194=_0x2fda4b[_0x12ea(0x35)](_0x3b673c[_0x12ea(0x36)](_0x2fda4b[_0x12ea(0x37)](_0x6c372c[_0x12ea(0x38)](),0x6)),0x3);_0x2fda4b[_0x12ea(0x39)](_0x44505c,_0x1fe194),_0x536444(_0x2fda4b[_0x12ea(0x3a)]),_0x2fda4b[_0x12ea(0x3b)](_0x481ad9,()=>{_0x39ec24[_0x12ea(0x3c)](_0x4214db,_0x39ec24['iNAfc']);},0xbb8);},0x9c4);}else _0x2b501d[_0x12ea(0x3d)](_0x811b31,_0x2b501d[_0x12ea(0x32)]);},0xbb8);},0x9c4);}},[_0x1414bd,_0x5eb17c,_0x2a61dd]);const _0x18f12b=()=>{const _0x3fb613={'yrPQf':function(_0x2df157){return _0x2325bf['XRKhM'](_0x2df157);}};_reactNative[_0x12ea(0x1b)][_0x12ea(0x33)]([_reactNative[_0x12ea(0x1b)][_0x12ea(0x23)](_0x5eb17c,{'toValue':0x0,'duration':0x190,'useNativeDriver':!![]}),_reactNative['Animated'][_0x12ea(0x23)](_0x2a61dd,{'toValue':0.9,'duration':0x190,'useNativeDriver':!![]})])[_0x12ea(0x24)](()=>{_0x3fb613['yrPQf'](_0xcb9176);});};if(!_0x1414bd)return null;return _react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x3f)],{'visible':_0x1414bd,'transparent':!![],'animationType':_0x12ea(0x40)},_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative['View'],{'style':styles[_0x12ea(0x41)]},_react[_0x12ea(0x2)]['createElement'](_reactNative[_0x12ea(0x1b)][_0x12ea(0x42)],{'style':[styles['content'],{'opacity':_0x5eb17c,'transform':[{'scale':_0x2a61dd}]}]},_0x2325bf['aymfN'](_0x5b4a8d,_0x2325bf['sjstt'])&&_react['default'][_0x12ea(0x3e)](_react[_0x12ea(0x2)][_0x12ea(0x43)],null,_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative['Text'],{'style':styles[_0x12ea(0x44)]},'Finding\x20Your\x20Matches'),_react[_0x12ea(0x2)]['createElement'](_reactNative[_0x12ea(0x45)],{'size':_0x12ea(0x46),'color':_0x2325bf[_0x12ea(0x47)],'style':styles[_0x12ea(0x48)]}),_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x4a)]},'Searching\x20for\x20potential\x20connections\x20based\x20on\x20your\x20profile...')),_0x5b4a8d===_0x12ea(0x20)&&_react['default'][_0x12ea(0x3e)](_react[_0x12ea(0x2)][_0x12ea(0x43)],null,_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x44)]},_0x2325bf[_0x12ea(0x4b)]),_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x42)],{'style':styles[_0x12ea(0x4c)]},_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x4d)]},_0x925f6f)),_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative['Text'],{'style':styles[_0x12ea(0x4a)]},_0x2325bf[_0x12ea(0x4e)],_0x925f6f,_0x12ea(0x4f)),_react[_0x12ea(0x2)]['createElement'](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x50)]},_0x12ea(0x51))),_0x2325bf[_0x12ea(0x52)](_0x5b4a8d,_0x2325bf[_0x12ea(0x53)])&&_react[_0x12ea(0x2)]['createElement'](_react[_0x12ea(0x2)][_0x12ea(0x43)],null,_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x44)]},_0x12ea(0x54)),_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles[_0x12ea(0x4a)]},_0x2325bf[_0x12ea(0x55)],_0x28a509['split']('@')[0x0],_0x2325bf['ZzIVb']),_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x56)],{'style':styles[_0x12ea(0x57)],'onPress':_0x18f12b},_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNativeLinearGradient[_0x12ea(0x2)],{'colors':[_0x12ea(0x58),'#E9C46A',_0x2325bf[_0x12ea(0x59)]],'start':{'x':0x0,'y':0x0},'end':{'x':0x1,'y':0x0},'style':styles[_0x12ea(0x5a)]},_react[_0x12ea(0x2)][_0x12ea(0x3e)](_reactNative[_0x12ea(0x49)],{'style':styles['buttonText']},_0x2325bf[_0x12ea(0x5b)])))))));},styles=_reactNative[_0x12ea(0x5c)]['create']({'container':{'flex':0x1,'backgroundColor':'rgba(0,0,0,0.7)','justifyContent':_0x12ea(0x5d),'alignItems':_0x12ea(0x5d)},'content':{'width':width*0.85,'backgroundColor':_0x12ea(0x5e),'borderRadius':0x14,'padding':0x18,'alignItems':'center','shadowColor':_0x12ea(0x5f),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.3,'shadowRadius':0x8,'elevation':0xa},'title':{'fontSize':0x18,'fontWeight':_0x12ea(0x60),'color':'#333','marginBottom':0x14,'textAlign':_0x12ea(0x5d)},'loader':{'marginVertical':0x18},'message':{'fontSize':0x12,'color':'#555','textAlign':_0x12ea(0x5d),'marginBottom':0x10,'lineHeight':0x18},'subMessage':{'fontSize':0x10,'color':_0x12ea(0x61),'textAlign':_0x12ea(0x5d),'marginTop':0x8},'matchCircle':{'width':0x64,'height':0x64,'borderRadius':0x32,'backgroundColor':_0x12ea(0x16),'justifyContent':_0x12ea(0x5d),'alignItems':'center','marginVertical':0x14},'matchCount':{'fontSize':0x28,'fontWeight':'bold','color':'#FFFFFF'},'button':{'width':_0x12ea(0x62),'marginTop':0x18,'borderRadius':0x8,'overflow':_0x12ea(0x63)},'gradientButton':{'paddingVertical':0xe,'alignItems':'center','justifyContent':_0x12ea(0x5d)},'buttonText':{'color':'#333','fontSize':0x10,'fontWeight':'600'}});var _default=exports['default']=SignInMatchAnimation;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeLinearGradient = _interopRequireDefault(require("react-native-linear-gradient"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
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); }
|
|
12
|
+
const {
|
|
13
|
+
width,
|
|
14
|
+
height
|
|
15
|
+
} = _reactNative.Dimensions.get('window');
|
|
16
|
+
const SignInMatchAnimation = ({
|
|
17
|
+
email,
|
|
18
|
+
visible,
|
|
19
|
+
onComplete
|
|
20
|
+
}) => {
|
|
21
|
+
const [step, setStep] = (0, _react.useState)('searching');
|
|
22
|
+
const [matchCount, setMatchCount] = (0, _react.useState)(0);
|
|
23
|
+
const fadeAnim = (0, _react.useState)(new _reactNative.Animated.Value(0))[0];
|
|
24
|
+
const scaleAnim = (0, _react.useState)(new _reactNative.Animated.Value(0.9))[0];
|
|
25
|
+
(0, _react.useEffect)(() => {
|
|
26
|
+
if (visible) {
|
|
27
|
+
// Start with fade in animation
|
|
28
|
+
_reactNative.Animated.parallel([_reactNative.Animated.timing(fadeAnim, {
|
|
29
|
+
toValue: 1,
|
|
30
|
+
duration: 600,
|
|
31
|
+
useNativeDriver: true
|
|
32
|
+
}), _reactNative.Animated.timing(scaleAnim, {
|
|
33
|
+
toValue: 1,
|
|
34
|
+
duration: 600,
|
|
35
|
+
useNativeDriver: true
|
|
36
|
+
})]).start();
|
|
37
|
+
|
|
38
|
+
// Simulate search process
|
|
39
|
+
setTimeout(() => {
|
|
40
|
+
// Generate random match count (3-8)
|
|
41
|
+
const randomMatchCount = Math.floor(Math.random() * 6) + 3;
|
|
42
|
+
setMatchCount(randomMatchCount);
|
|
43
|
+
setStep('found');
|
|
44
|
+
|
|
45
|
+
// Auto-proceed to complete after 3 seconds
|
|
46
|
+
setTimeout(() => {
|
|
47
|
+
setStep('complete');
|
|
48
|
+
}, 3000);
|
|
49
|
+
}, 2500);
|
|
50
|
+
}
|
|
51
|
+
}, [visible, fadeAnim, scaleAnim]);
|
|
52
|
+
const handleContinue = () => {
|
|
53
|
+
// Fade out animation before calling onComplete
|
|
54
|
+
_reactNative.Animated.parallel([_reactNative.Animated.timing(fadeAnim, {
|
|
55
|
+
toValue: 0,
|
|
56
|
+
duration: 400,
|
|
57
|
+
useNativeDriver: true
|
|
58
|
+
}), _reactNative.Animated.timing(scaleAnim, {
|
|
59
|
+
toValue: 0.9,
|
|
60
|
+
duration: 400,
|
|
61
|
+
useNativeDriver: true
|
|
62
|
+
})]).start(() => {
|
|
63
|
+
onComplete();
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
if (!visible) return null;
|
|
67
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
68
|
+
visible: visible,
|
|
69
|
+
transparent: true,
|
|
70
|
+
animationType: "none"
|
|
71
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
72
|
+
style: styles.container
|
|
73
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
74
|
+
style: [styles.content, {
|
|
75
|
+
opacity: fadeAnim,
|
|
76
|
+
transform: [{
|
|
77
|
+
scale: scaleAnim
|
|
78
|
+
}]
|
|
79
|
+
}]
|
|
80
|
+
}, step === 'searching' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
81
|
+
style: styles.title
|
|
82
|
+
}, "Finding Your Matches"), /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
|
|
83
|
+
size: "large",
|
|
84
|
+
color: "#E9C46A",
|
|
85
|
+
style: styles.loader
|
|
86
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
87
|
+
style: styles.message
|
|
88
|
+
}, "Searching for potential connections based on your profile...")), step === 'found' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
89
|
+
style: styles.title
|
|
90
|
+
}, "Matches Found!"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
91
|
+
style: styles.matchCircle
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
93
|
+
style: styles.matchCount
|
|
94
|
+
}, matchCount)), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
95
|
+
style: styles.message
|
|
96
|
+
}, "We've found ", matchCount, " potential connections for you!"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
97
|
+
style: styles.subMessage
|
|
98
|
+
}, "Complete your profile to see who they are.")), step === 'complete' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
99
|
+
style: styles.title
|
|
100
|
+
}, "Welcome to Enoch!"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
101
|
+
style: styles.message
|
|
102
|
+
}, "We'll send match notifications to ", email.split('@')[0], "@..."), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
103
|
+
style: styles.button,
|
|
104
|
+
onPress: handleContinue
|
|
105
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
|
|
106
|
+
colors: ['#f5e7c1', '#E9C46A', '#DDB957'],
|
|
107
|
+
start: {
|
|
108
|
+
x: 0,
|
|
109
|
+
y: 0
|
|
110
|
+
},
|
|
111
|
+
end: {
|
|
112
|
+
x: 1,
|
|
113
|
+
y: 0
|
|
114
|
+
},
|
|
115
|
+
style: styles.gradientButton
|
|
116
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
117
|
+
style: styles.buttonText
|
|
118
|
+
}, "Continue")))))));
|
|
119
|
+
};
|
|
120
|
+
const styles = _reactNative.StyleSheet.create({
|
|
121
|
+
container: {
|
|
122
|
+
flex: 1,
|
|
123
|
+
backgroundColor: 'rgba(0,0,0,0.7)',
|
|
124
|
+
justifyContent: 'center',
|
|
125
|
+
alignItems: 'center'
|
|
126
|
+
},
|
|
127
|
+
content: {
|
|
128
|
+
width: width * 0.85,
|
|
129
|
+
backgroundColor: '#FFFFFF',
|
|
130
|
+
borderRadius: 20,
|
|
131
|
+
padding: 24,
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
shadowColor: '#000',
|
|
134
|
+
shadowOffset: {
|
|
135
|
+
width: 0,
|
|
136
|
+
height: 4
|
|
137
|
+
},
|
|
138
|
+
shadowOpacity: 0.3,
|
|
139
|
+
shadowRadius: 8,
|
|
140
|
+
elevation: 10
|
|
141
|
+
},
|
|
142
|
+
title: {
|
|
143
|
+
fontSize: 24,
|
|
144
|
+
fontWeight: '600',
|
|
145
|
+
color: '#333',
|
|
146
|
+
marginBottom: 20,
|
|
147
|
+
textAlign: 'center'
|
|
148
|
+
},
|
|
149
|
+
loader: {
|
|
150
|
+
marginVertical: 24
|
|
151
|
+
},
|
|
152
|
+
message: {
|
|
153
|
+
fontSize: 18,
|
|
154
|
+
color: '#555',
|
|
155
|
+
textAlign: 'center',
|
|
156
|
+
marginBottom: 16,
|
|
157
|
+
lineHeight: 24
|
|
158
|
+
},
|
|
159
|
+
subMessage: {
|
|
160
|
+
fontSize: 16,
|
|
161
|
+
color: '#777',
|
|
162
|
+
textAlign: 'center',
|
|
163
|
+
marginTop: 8
|
|
164
|
+
},
|
|
165
|
+
matchCircle: {
|
|
166
|
+
width: 100,
|
|
167
|
+
height: 100,
|
|
168
|
+
borderRadius: 50,
|
|
169
|
+
backgroundColor: '#E9C46A',
|
|
170
|
+
justifyContent: 'center',
|
|
171
|
+
alignItems: 'center',
|
|
172
|
+
marginVertical: 20
|
|
173
|
+
},
|
|
174
|
+
matchCount: {
|
|
175
|
+
fontSize: 40,
|
|
176
|
+
fontWeight: 'bold',
|
|
177
|
+
color: '#FFFFFF'
|
|
178
|
+
},
|
|
179
|
+
button: {
|
|
180
|
+
width: '100%',
|
|
181
|
+
marginTop: 24,
|
|
182
|
+
borderRadius: 8,
|
|
183
|
+
overflow: 'hidden'
|
|
184
|
+
},
|
|
185
|
+
gradientButton: {
|
|
186
|
+
paddingVertical: 14,
|
|
187
|
+
alignItems: 'center',
|
|
188
|
+
justifyContent: 'center'
|
|
189
|
+
},
|
|
190
|
+
buttonText: {
|
|
191
|
+
color: '#333',
|
|
192
|
+
fontSize: 16,
|
|
193
|
+
fontWeight: '600'
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
var _default = exports.default = SignInMatchAnimation;
|
|
197
|
+
//# sourceMappingURL=SignInMatchAnimation.js.map
|
|
@@ -1,12 +1,345 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function _0x8854(_0x242f40,_0x885424){_0x242f40=_0x242f40-0x0;const _0x10ca0a=_0x242f();let _0x2704b6=_0x10ca0a[_0x242f40];return _0x2704b6;}Object[_0x8854(0x0)](exports,_0x8854(0x1),{'value':!![]}),exports[_0x8854(0x2)]=exports[_0x8854(0x3)]=void 0x0;var _react=_interopRequireWildcard(__ONAIROS_REQ_FUNC__(0x0)),_reactNative=__ONAIROS_REQ_FUNC__(0x1),_theme=__ONAIROS_REQ_FUNC__(0x2),_EmailInput=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x3)),_GoogleButton=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x4)),_PrimaryButton=_interopRequireDefault(__ONAIROS_REQ_FUNC__(0x5));function _interopRequireDefault(_0x2d98e1){return _0x2d98e1&&_0x2d98e1[_0x8854(0x1)]?_0x2d98e1:{'default':_0x2d98e1};}function _interopRequireWildcard(_0x439a07,_0x3c8fd8){const _0xafa5f2={'viGcj':'\x20Did\x20you\x20mean\x20.io?','bSCPE':function(_0x44fc29,_0x4da73a){return _0x44fc29&&_0x4da73a;},'neYyF':function(_0x39dea0,_0x20b3b3){return _0x39dea0===_0x20b3b3;},'hgtRV':function(_0x5031dd,_0x4b719b){return _0x5031dd!=_0x4b719b;},'uvyku':_0x8854(0x4),'llLsC':function(_0x58f3a,_0x101fc2){return _0x58f3a===_0x101fc2;},'BNBBA':_0x8854(0x5),'qGaWy':function(_0x526786,_0x4e320f){return _0x526786!==_0x4e320f;},'xboRl':_0x8854(0x2),'yUeuy':function(_0x2e8230,_0x13697f,_0xf6284,_0x39a057){return _0x2e8230(_0x13697f,_0xf6284,_0x39a057);},'RBhYE':function(_0x138edc,_0x4247b6){return _0x138edc==_0x4247b6;}};if(_0xafa5f2[_0x8854(0x6)](_0xafa5f2[_0x8854(0x7)],typeof WeakMap))var _0x229489=new WeakMap(),_0x493c3e=new WeakMap();return(_interopRequireWildcard=function(_0x2a1a77,_0x177bda){if(_0xafa5f2[_0x8854(0x8)](!_0x177bda,_0x2a1a77)&&_0x2a1a77[_0x8854(0x1)])return _0x2a1a77;var _0x2acfd7,_0x6daf64,_0x5140df={'__proto__':null,'default':_0x2a1a77};if(_0xafa5f2[_0x8854(0x9)](null,_0x2a1a77)||_0x8854(0xa)!=typeof _0x2a1a77&&_0xafa5f2['hgtRV'](_0xafa5f2[_0x8854(0x7)],typeof _0x2a1a77))return _0x5140df;if(_0x2acfd7=_0x177bda?_0x493c3e:_0x229489){if(_0xafa5f2['llLsC'](_0xafa5f2[_0x8854(0xb)],_0xafa5f2[_0x8854(0xb)])){if(_0x2acfd7[_0x8854(0xc)](_0x2a1a77))return _0x2acfd7['get'](_0x2a1a77);_0x2acfd7[_0x8854(0xd)](_0x2a1a77,_0x5140df);}else _0x2de96b=_0xafa5f2[_0x8854(0xe)];}for(const _0x453de1 in _0x2a1a77)_0xafa5f2['qGaWy'](_0xafa5f2[_0x8854(0xf)],_0x453de1)&&{}[_0x8854(0x10)][_0x8854(0x11)](_0x2a1a77,_0x453de1)&&((_0x6daf64=(_0x2acfd7=Object['defineProperty'])&&Object['getOwnPropertyDescriptor'](_0x2a1a77,_0x453de1))&&(_0x6daf64['get']||_0x6daf64[_0x8854(0xd)])?_0xafa5f2[_0x8854(0x12)](_0x2acfd7,_0x5140df,_0x453de1,_0x6daf64):_0x5140df[_0x453de1]=_0x2a1a77[_0x453de1]);return _0x5140df;})(_0x439a07,_0x3c8fd8);}const VALID_TLDS=new Set([_0x8854(0x13),'org',_0x8854(0x14),_0x8854(0x15),_0x8854(0x16),_0x8854(0x17),'int','io','co','ai',_0x8854(0x18),_0x8854(0x19),_0x8854(0x1a),_0x8854(0x1b),_0x8854(0x1c),_0x8854(0x1d),_0x8854(0x1e),_0x8854(0x1f),'me','tv','cc',_0x8854(0x20),'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',_0x8854(0x21),'com.au',_0x8854(0x22),_0x8854(0x23),_0x8854(0x24),_0x8854(0x25),'co.kr',_0x8854(0x26),'org.uk',_0x8854(0x27),_0x8854(0x28),_0x8854(0x29),_0x8854(0x2a)]),INVALID_TLDS=new Set([_0x8854(0x2b),_0x8854(0x2c),'vom',_0x8854(0x2d),'cm','cpm',_0x8854(0x2e),'om','comm','comn',_0x8854(0x2f),_0x8854(0x30),'og',_0x8854(0x31),_0x8854(0x32),'rg',_0x8854(0x33),'ne',_0x8854(0x34),_0x8854(0x35),'bet','oi','ioo','lio','gmai',_0x8854(0x36),'gmil','gmal',_0x8854(0x37),'outlok',_0x8854(0x38),_0x8854(0x39),_0x8854(0x3a),'yaho',_0x8854(0x3b),_0x8854(0x3c),_0x8854(0x3d),_0x8854(0x3e)]),validateEmail=_0x5c256b=>{const _0x40cfc3={'PKAZJ':_0x8854(0x3f),'SKmPc':_0x8854(0x40),'jtfXu':_0x8854(0x41),'CKfXs':_0x8854(0x42),'JHBVb':'outlook.co.uk','PUZCr':_0x8854(0x43),'UufZW':_0x8854(0x44),'dutCD':function(_0x2108d0,_0x5f3d07){return _0x2108d0(_0x5f3d07);},'WkyCq':_0x8854(0x45),'SURZT':function(_0x5effc5,_0x330334){return _0x5effc5===_0x330334;},'kVJoU':function(_0x4af196,_0x43f9e8){return _0x4af196===_0x43f9e8;},'lxWCs':function(_0x595f1d,_0x3f7eff){return _0x595f1d!==_0x3f7eff;},'rBbei':'WZRWa','SXaBZ':_0x8854(0x46),'lJjVL':function(_0x57b0b,_0x534782){return _0x57b0b+_0x534782;},'gaYcd':function(_0x504112,_0x21e041){return _0x504112>=_0x21e041;},'AsyWG':function(_0x4a820e,_0x50d9f8){return _0x4a820e-_0x50d9f8;},'vLgIV':function(_0x46459e,_0x3e42d6){return _0x46459e!==_0x3e42d6;},'kbFGw':_0x8854(0x47),'Thxfk':_0x8854(0x48),'BiAfJ':'con','LHMkc':_0x8854(0x2c),'giuxD':function(_0x10a505,_0x2fdb39){return _0x10a505===_0x2fdb39;},'pPbHI':_0x8854(0x49),'onTeu':_0x8854(0x4a),'TdlQP':_0x8854(0x4b),'tPnwO':'comn','GinyZ':function(_0x4d9fbd,_0x34b4f1){return _0x4d9fbd===_0x34b4f1;},'cBeUM':'zilKu','FNLRc':_0x8854(0x4c),'dercK':_0x8854(0x30),'FYJQe':function(_0x30a5c3,_0x4ca2b5){return _0x30a5c3===_0x4ca2b5;},'tSQQb':_0x8854(0x31),'TwSnm':'rog','HGIzF':_0x8854(0x4d),'XYWLR':'nte','JQChu':function(_0x42f1eb,_0xa2612e){return _0x42f1eb===_0xa2612e;},'JhkVo':function(_0x2c1cb6,_0x881de6){return _0x2c1cb6===_0x881de6;},'KIxQI':_0x8854(0x34),'VxPhQ':function(_0x15f0aa,_0x29616c){return _0x15f0aa===_0x29616c;},'FOkSl':'ent','Qybcf':_0x8854(0x4e),'caHzN':function(_0x3e8fde,_0x5a7e12){return _0x3e8fde===_0x5a7e12;},'Frnqa':function(_0x2548d8,_0x366b40){return _0x2548d8===_0x366b40;},'coewv':_0x8854(0x4f),'lrUFP':_0x8854(0x50),'ZuCzj':'\x20Did\x20you\x20mean\x20.io?','HudIU':function(_0x2adbe4,_0x29ea40){return _0x2adbe4<=_0x29ea40;},'FccGP':'gmail','dWDve':_0x8854(0x51),'YrrFY':_0x8854(0x52),'hUIsc':_0x8854(0x53),'uvukH':_0x8854(0x54),'aSnNe':'aol','JWmhR':_0x8854(0x55),'AkmlS':_0x8854(0x56),'ayXQg':_0x8854(0x13),'zUwDu':'yjoOt','KixoT':_0x8854(0x57)},_0xc98d80=_0x5c256b[_0x8854(0x58)]()['toLowerCase'](),_0x16c77f=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!_0x16c77f[_0x8854(0x59)](_0xc98d80)){if(_0x40cfc3[_0x8854(0x5a)](_0x40cfc3[_0x8854(0x5b)],_0x40cfc3[_0x8854(0x5b)]))_0x239df8('');else return{'isValid':![],'error':_0x40cfc3['SXaBZ']};}const _0x1108ed=_0xc98d80[_0x8854(0x5c)]('@'),_0x1aeb6a=_0xc98d80[_0x8854(0x5d)](_0x40cfc3[_0x8854(0x5e)](_0x1108ed,0x1)),_0x3334be=_0x1aeb6a[_0x8854(0x5f)]('.');if(_0x3334be[_0x8854(0x60)]<0x2)return{'isValid':![],'error':_0x40cfc3[_0x8854(0x61)]};const _0x16a90a=_0x3334be[_0x3334be['length']-0x1],_0x39906a=_0x40cfc3[_0x8854(0x62)](_0x3334be['length'],0x2)?_0x3334be[_0x40cfc3['AsyWG'](_0x3334be[_0x8854(0x60)],0x2)]+'.'+_0x16a90a:'';if(INVALID_TLDS[_0x8854(0xc)](_0x16a90a)){if(_0x40cfc3[_0x8854(0x63)](_0x40cfc3[_0x8854(0x64)],_0x40cfc3[_0x8854(0x65)])){let _0x3b646b='';if(_0x40cfc3[_0x8854(0x66)](_0x16a90a,_0x40cfc3[_0x8854(0x67)])||_0x16a90a===_0x40cfc3[_0x8854(0x68)]||_0x40cfc3[_0x8854(0x69)](_0x16a90a,_0x40cfc3[_0x8854(0x6a)])||_0x40cfc3[_0x8854(0x6b)](_0x16a90a,_0x8854(0x2d))||_0x40cfc3['giuxD'](_0x16a90a,_0x40cfc3['onTeu'])||_0x40cfc3[_0x8854(0x6b)](_0x16a90a,_0x40cfc3[_0x8854(0x6c)])||_0x16a90a===_0x40cfc3[_0x8854(0x6d)]||_0x40cfc3[_0x8854(0x6e)](_0x16a90a,_0x8854(0x2f))){if(_0x40cfc3[_0x8854(0x6f)]===_0x40cfc3['cBeUM'])_0x3b646b=_0x40cfc3[_0x8854(0x70)];else{const _0x35c105=[_0x40cfc3[_0x8854(0x71)],_0x40cfc3['SKmPc'],_0x40cfc3['jtfXu'],_0x40cfc3['CKfXs'],_0x40cfc3[_0x8854(0x72)],_0x8854(0x57),_0x40cfc3[_0x8854(0x73)]],_0x4adb5a=_0x5bfed7+'.'+_0x15cefd;if(!_0x35c105[_0x8854(0x74)](_0x4adb5a))return{'isValid':![],'error':_0x8854(0x75)+_0x47eeeb+'.'+_0x201336[_0x263b5d]+'?'};}}else{if(_0x16a90a===_0x40cfc3[_0x8854(0x76)]||_0x40cfc3[_0x8854(0x77)](_0x16a90a,'og')||_0x16a90a===_0x40cfc3[_0x8854(0x78)]||_0x40cfc3[_0x8854(0x66)](_0x16a90a,_0x40cfc3[_0x8854(0x79)]))_0x3b646b=_0x40cfc3[_0x8854(0x7a)];else{if(_0x40cfc3[_0x8854(0x66)](_0x16a90a,_0x40cfc3[_0x8854(0x7b)])||_0x40cfc3[_0x8854(0x7c)](_0x16a90a,'ne')||_0x40cfc3[_0x8854(0x7d)](_0x16a90a,_0x40cfc3['KIxQI'])||_0x40cfc3['VxPhQ'](_0x16a90a,_0x40cfc3[_0x8854(0x7e)])){if(_0x40cfc3['giuxD'](_0x40cfc3[_0x8854(0x7f)],_0x8854(0x4e)))_0x3b646b=_0x8854(0x80);else{_0x16728e[_0x8854(0x81)](_0x40cfc3['UufZW']),_0x40cfc3[_0x8854(0x82)](_0x3223e8,_0x40cfc3['WkyCq']);return;}}else(_0x40cfc3['caHzN'](_0x16a90a,'oi')||_0x40cfc3[_0x8854(0x83)](_0x16a90a,_0x40cfc3[_0x8854(0x84)])||_0x40cfc3[_0x8854(0x85)](_0x16a90a,_0x40cfc3[_0x8854(0x86)]))&&(_0x3b646b=_0x40cfc3['ZuCzj']);}}return{'isValid':![],'error':_0x8854(0x87)+_0x16a90a+').'+_0x3b646b};}else _0x3f0e5b===null||_0x40cfc3[_0x8854(0x66)](_0x1f6254,void 0x0)||_0x454034[_0x8854(0x88)](),_0x1d0709===null||_0x40cfc3[_0x8854(0x6b)](_0x1329f8,void 0x0)||_0x2a46f0['remove']();}if(_0x16a90a['length']<0x2)return{'isValid':![],'error':'Please\x20enter\x20a\x20valid\x20email\x20address'};const _0x273a0c=VALID_TLDS[_0x8854(0xc)](_0x16a90a)||VALID_TLDS[_0x8854(0xc)](_0x39906a);if(!_0x273a0c&&_0x40cfc3[_0x8854(0x89)](_0x16a90a[_0x8854(0x60)],0x2))return{'isValid':![],'error':_0x8854(0x87)+_0x16a90a+').\x20Please\x20check\x20your\x20email.'};const _0x3b3bdc=_0x3334be['slice'](0x0,-0x1)[_0x8854(0x8a)]('.'),_0x463192={'gmai':_0x40cfc3[_0x8854(0x8b)],'gmial':_0x40cfc3[_0x8854(0x8b)],'gmil':_0x8854(0x8c),'gmal':_0x8854(0x8c),'gamil':_0x40cfc3[_0x8854(0x8b)],'outlok':_0x8854(0x51),'outloo':_0x40cfc3['dWDve'],'outlokk':_0x40cfc3[_0x8854(0x8d)],'yahooo':'yahoo','yaho':_0x8854(0x52),'yhoo':_0x40cfc3[_0x8854(0x8e)],'hotmai':_0x8854(0x53),'hotmal':_0x40cfc3['hUIsc'],'hotmial':_0x8854(0x53),'iclod':_0x40cfc3[_0x8854(0x8f)],'iclould':_0x40cfc3[_0x8854(0x8f)]};if(_0x463192[_0x3b3bdc])return{'isValid':![],'error':_0x8854(0x75)+_0x463192[_0x3b3bdc]+'.'+_0x16a90a+'?'};const _0x295807=[_0x8854(0x8c),_0x8854(0x52),_0x40cfc3[_0x8854(0x90)],_0x40cfc3[_0x8854(0x8d)],_0x40cfc3['uvukH'],_0x40cfc3['aSnNe'],_0x40cfc3[_0x8854(0x91)],_0x40cfc3['AkmlS']],_0x17350d={'gmail':_0x40cfc3['ayXQg'],'yahoo':_0x40cfc3[_0x8854(0x92)],'hotmail':_0x8854(0x13),'outlook':_0x40cfc3['ayXQg'],'icloud':_0x8854(0x13),'aol':_0x8854(0x13),'protonmail':_0x40cfc3[_0x8854(0x92)],'zoho':_0x40cfc3[_0x8854(0x92)]};if(_0x295807[_0x8854(0x74)](_0x3b3bdc)&&_0x40cfc3[_0x8854(0x5a)](_0x16a90a,_0x17350d[_0x3b3bdc])){if(_0x40cfc3[_0x8854(0x93)]!==_0x8854(0x94)){const _0x320d08=[_0x40cfc3['PKAZJ'],_0x8854(0x40),_0x8854(0x41),_0x40cfc3[_0x8854(0x95)],_0x40cfc3[_0x8854(0x72)],_0x40cfc3[_0x8854(0x96)],_0x40cfc3[_0x8854(0x73)]],_0xde4e44=_0x3b3bdc+'.'+_0x16a90a;if(!_0x320d08[_0x8854(0x74)](_0xde4e44))return{'isValid':![],'error':'Did\x20you\x20mean\x20'+_0x3b3bdc+'.'+_0x17350d[_0x3b3bdc]+'?'};}else return{'isValid':![],'error':'Invalid\x20email\x20domain\x20(.'+_0x30f8cb+_0x8854(0x97)};}return{'isValid':!![]};},SignInStep=({onEmailSubmit:_0x3fbf7d,onGoogleSignIn:_0x273cf8,onContinue:_0x585591,loading:loading=![],error:error='',initialEmail:initialEmail=''})=>{const _0x51946f={'WnRUm':function(_0x294f1a,_0x2e1598){return _0x294f1a(_0x2e1598);},'PgSlG':_0x8854(0x46),'fALRz':function(_0x18f41c,_0x1cf7a9){return _0x18f41c&&_0x1cf7a9;},'eFhgu':function(_0x594cbf,_0x4c42a7){return _0x594cbf===_0x4c42a7;},'UMLid':function(_0x4a371a,_0x143422){return _0x4a371a!=_0x143422;},'BzKRO':_0x8854(0xa),'MYwpa':function(_0x4b16bd,_0x163756){return _0x4b16bd!==_0x163756;},'fBhLs':'default','gtVcC':function(_0x20f25c,_0x5247f0,_0x105698,_0x55bfbf){return _0x20f25c(_0x5247f0,_0x105698,_0x55bfbf);},'VEXHb':function(_0x5e5eab,_0x56dede){return _0x5e5eab==_0x56dede;},'IDdfD':_0x8854(0x98),'ZpbJB':function(_0x214704,_0x14acbd){return _0x214704!==_0x14acbd;},'hnYtp':_0x8854(0x99),'mVdsC':_0x8854(0x9a),'KrkWl':_0x8854(0x9b),'txltH':function(_0x535fc2,_0x4d14eb){return _0x535fc2===_0x4d14eb;},'KPyki':_0x8854(0x9c),'xbzow':'xCnbv','VcCCk':'🧪\x20Test\x20bypass\x20detected\x20-\x20skipping\x20to\x20verification\x20screen','ANPjc':_0x8854(0x45),'xZiRv':function(_0x287c04,_0x3fadc7){return _0x287c04(_0x3fadc7);},'KeoZZ':function(_0x260823,_0x1b0b9e){return _0x260823!==_0x1b0b9e;},'nJanL':_0x8854(0x9d),'aGjxD':_0x8854(0x9e),'BRPHP':_0x8854(0x9f),'LSoEp':function(_0x2b5309,_0x20bcca){return _0x2b5309===_0x20bcca;},'OaTuu':_0x8854(0xa0),'PzXnp':'keyboardDidHide','CCkFy':_0x8854(0xa1),'xVtZr':_0x8854(0xa2),'vBwfv':_0x8854(0xa3),'oenEf':_0x8854(0xa4),'VdPkF':_0x8854(0xa5),'CqOAr':_0x8854(0xa6),'jdknN':function(_0x19abf5,_0x345227){return _0x19abf5||_0x345227;},'ePioe':'Continue'},[_0x45fb80,_0x15c968]=(0x0,_react[_0x8854(0xa7)])(initialEmail),[_0x4c4e8f,_0x2df6c8]=(0x0,_react['useState'])(![]),[_0x222d3c,_0x50c204]=(0x0,_react['useState'])(''),_0x280869=_0x1eab1a=>{_0x51946f['WnRUm'](_0x15c968,_0x1eab1a),_0x222d3c&&_0x51946f[_0x8854(0xa8)](_0x50c204,'');},_0x1c4cf6=()=>{const _0xa37307={'noWeu':function(_0xf95f2e,_0x5cbdae){return _0x51946f[_0x8854(0xa9)](_0xf95f2e,_0x5cbdae);},'bhJea':function(_0xf9a6ac,_0x3c4953){return _0x51946f[_0x8854(0xaa)](_0xf9a6ac,_0x3c4953);},'ppxEE':function(_0xbf6e5,_0x524901){return _0x51946f['UMLid'](_0xbf6e5,_0x524901);},'hRoXk':_0x51946f[_0x8854(0xab)],'bKOPZ':function(_0x265db5,_0x63828b){return _0x265db5!=_0x63828b;},'GnzDD':function(_0x145997,_0x3d28d2){return _0x51946f[_0x8854(0xac)](_0x145997,_0x3d28d2);},'qzGcD':_0x51946f[_0x8854(0xad)],'WSNFa':function(_0x1eecc4,_0x53565b,_0x3d970c,_0x2a38b2){return _0x51946f[_0x8854(0xae)](_0x1eecc4,_0x53565b,_0x3d970c,_0x2a38b2);},'FAKny':function(_0x4aa4cb,_0x73a87c){return _0x51946f[_0x8854(0xaf)](_0x4aa4cb,_0x73a87c);}};if(_0x51946f[_0x8854(0xaa)](_0x45fb80[_0x8854(0xb0)]()['trim'](),_0x51946f[_0x8854(0xb1)])){if(_0x51946f[_0x8854(0xb2)](_0x8854(0xb3),_0x51946f['hnYtp'])){console[_0x8854(0x81)](_0x51946f['mVdsC']),_0x3fbf7d(_0x51946f[_0x8854(0xb4)]);return;}else _0x2087b2=_0x8854(0x80);}if(_0x51946f[_0x8854(0xb5)](_0x45fb80[_0x8854(0xb0)]()[_0x8854(0x58)](),_0x8854(0x59))){if(_0x51946f[_0x8854(0xb5)](_0x51946f[_0x8854(0xb6)],_0x51946f[_0x8854(0xb7)]))return{'isValid':![],'error':_0x51946f['PgSlG']};else{console[_0x8854(0x81)](_0x51946f[_0x8854(0xb8)]),_0x51946f['WnRUm'](_0x3fbf7d,_0x51946f['ANPjc']);return;}}if(_0x45fb80['trim']()){const _0x3565bf=_0x51946f['xZiRv'](validateEmail,_0x45fb80);if(!_0x3565bf[_0x8854(0xb9)]){if(_0x51946f[_0x8854(0xba)](_0x51946f['nJanL'],_0x51946f[_0x8854(0xbb)])){console[_0x8854(0x81)](_0x51946f[_0x8854(0xbc)],_0x3565bf[_0x8854(0xbd)]),_0x51946f[_0x8854(0xa8)](_0x50c204,_0x3565bf[_0x8854(0xbd)]||_0x8854(0xbe));return;}else{if(_0xa37307['FAKny'](_0x8854(0x4),typeof _0x27ab1c))var _0x27c0ae=new _0x40f7dc(),_0x5dfae0=new _0x158042();return(_0x434045=function(_0xcb4029,_0x468c55){if(_0xa37307[_0x8854(0xbf)](!_0x468c55,_0xcb4029)&&_0xcb4029[_0x8854(0x1)])return _0xcb4029;var _0x26f596,_0x2ec4d6,_0x2f93bf={'__proto__':null,'default':_0xcb4029};if(_0xa37307['bhJea'](null,_0xcb4029)||_0xa37307['ppxEE'](_0xa37307['hRoXk'],typeof _0xcb4029)&&_0xa37307['bKOPZ'](_0x8854(0x4),typeof _0xcb4029))return _0x2f93bf;if(_0x26f596=_0x468c55?_0x5dfae0:_0x27c0ae){if(_0x26f596[_0x8854(0xc)](_0xcb4029))return _0x26f596[_0x8854(0xc0)](_0xcb4029);_0x26f596[_0x8854(0xd)](_0xcb4029,_0x2f93bf);}for(const _0xf6d6f9 in _0xcb4029)_0xa37307[_0x8854(0xc1)](_0xa37307['qzGcD'],_0xf6d6f9)&&{}[_0x8854(0x10)][_0x8854(0x11)](_0xcb4029,_0xf6d6f9)&&((_0x2ec4d6=(_0x26f596=_0x28f940['defineProperty'])&&_0x45adf9[_0x8854(0xc2)](_0xcb4029,_0xf6d6f9))&&(_0x2ec4d6[_0x8854(0xc0)]||_0x2ec4d6[_0x8854(0xd)])?_0xa37307[_0x8854(0xc3)](_0x26f596,_0x2f93bf,_0xf6d6f9,_0x2ec4d6):_0x2f93bf[_0xf6d6f9]=_0xcb4029[_0xf6d6f9]);return _0x2f93bf;})(_0x185977,_0x4a4287);}}console[_0x8854(0x81)](_0x8854(0xc4)),_0x51946f[_0x8854(0xc5)](_0x50c204,''),_0x3fbf7d(_0x45fb80['trim']());}};return(0x0,_react[_0x8854(0xc6)])(()=>{if(_0x51946f[_0x8854(0xac)](_0x51946f[_0x8854(0xc7)],_0x8854(0xa0)))return{'isValid':![],'error':_0x8854(0x75)+_0x12da1d+'.'+_0x595203[_0x376e6a]+'?'};else{const _0x42adce=_reactNative[_0x8854(0xc8)][_0x8854(0xc9)](_0x8854(0xca),()=>_0x2df6c8(!![])),_0x42d530=_reactNative[_0x8854(0xc8)][_0x8854(0xc9)](_0x51946f[_0x8854(0xcb)],()=>_0x2df6c8(![]));return()=>{_0x51946f[_0x8854(0xaa)](_0x42d530,null)||_0x42d530===void 0x0||_0x42d530[_0x8854(0x88)](),_0x51946f[_0x8854(0xb5)](_0x42adce,null)||_0x51946f[_0x8854(0xcc)](_0x42adce,void 0x0)||_0x42adce[_0x8854(0x88)]();};}},[]),_react['default'][_0x8854(0xcd)](_reactNative['KeyboardAvoidingView'],{'behavior':_0x51946f[_0x8854(0xaa)](_reactNative[_0x8854(0xce)]['OS'],_0x8854(0xcf))?_0x51946f[_0x8854(0xd0)]:_0x51946f[_0x8854(0xd1)],'style':styles['container']},_react[_0x8854(0x2)]['createElement'](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xd3)]},_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xd4)]},_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd5)],{'style':styles['title']},_0x51946f[_0x8854(0xd6)]),_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative['Text'],{'style':styles['subtitle']},_0x8854(0xd7))),_react['default']['createElement'](_reactNative[_0x8854(0xd2)],{'style':styles['inputContainer']},_react[_0x8854(0x2)][_0x8854(0xcd)](_EmailInput['default'],{'value':_0x45fb80,'onChangeText':_0x280869,'onSubmitEditing':_0x1c4cf6,'returnKeyType':_0x51946f[_0x8854(0xd8)],'blurOnSubmit':!![],'placeholder':_0x51946f['VdPkF'],'placeholderTextColor':_0x51946f['CqOAr']}),_0x222d3c||error?_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd5)],{'style':styles[_0x8854(0xd9)]},_0x51946f[_0x8854(0xda)](_0x222d3c,error)):null),_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xdb)]},_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xdc)]}),_react['default']['createElement'](_reactNative[_0x8854(0xd5)],{'style':styles[_0x8854(0xdd)]},'Or'),_react['default'][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xdc)]})),_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xde)]},_react['default'][_0x8854(0xcd)](_GoogleButton[_0x8854(0x2)],{'onPress':_0x273cf8,'disabled':loading})),_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xdf)]}),_react[_0x8854(0x2)][_0x8854(0xcd)](_reactNative[_0x8854(0xd2)],{'style':styles[_0x8854(0xe0)]},_react[_0x8854(0x2)][_0x8854(0xcd)](_PrimaryButton[_0x8854(0x2)],{'label':_0x51946f[_0x8854(0xe1)],'onPress':_0x1c4cf6,'disabled':loading||!_0x45fb80[_0x8854(0x58)](),'loading':loading}))));};exports['SignInStep']=SignInStep;function _0x242f(){const _0x51465c=['defineProperty','__esModule','default','SignInStep','function','Qizqc','RBhYE','uvyku','bSCPE','neYyF','object','BNBBA','has','set','viGcj','xboRl','hasOwnProperty','call','yUeuy','com','net','edu','gov','mil','app','dev','tech','online','site','web','info','biz','xyz','co.uk','co.nz','co.za','com.br','co.jp','co.in','net.au','gov.uk','ac.uk','edu.au','con','cmo','ocm','ckm','copm','ogr','orgg','rog','nte','nett','ent','gmial','gamil','outloo','outlokk','yahooo','yhoo','hotmai','hotmal','hotmial','yahoo.co.uk','yahoo.co.jp','yahoo.com.br','yahoo.com.au','hotmail.co.jp','🧪\x20Test\x20bypass\x20detected\x20-\x20skipping\x20to\x20verification\x20screen','test@bypass.com','Please\x20enter\x20a\x20valid\x20email\x20address','HkBtb','BbjwF','vom','cpm','comm','\x20Did\x20you\x20mean\x20.com?','\x20Did\x20you\x20mean\x20.org?','NQxpN','ioo','lio','outlook','yahoo','hotmail','icloud','protonmail','zoho','hotmail.co.uk','trim','test','lxWCs','rBbei','lastIndexOf','substring','lJjVL','split','length','SXaBZ','gaYcd','vLgIV','kbFGw','Thxfk','SURZT','BiAfJ','LHMkc','giuxD','pPbHI','kVJoU','TdlQP','tPnwO','GinyZ','cBeUM','FNLRc','PKAZJ','JHBVb','PUZCr','includes','Did\x20you\x20mean\x20','dercK','FYJQe','tSQQb','TwSnm','HGIzF','XYWLR','JQChu','JhkVo','FOkSl','Qybcf','\x20Did\x20you\x20mean\x20.net?','log','dutCD','Frnqa','coewv','caHzN','lrUFP','Invalid\x20email\x20domain\x20(.','remove','HudIU','join','FccGP','gmail','dWDve','YrrFY','uvukH','hUIsc','JWmhR','ayXQg','zUwDu','gZPNd','CKfXs','KixoT',').\x20Please\x20check\x20your\x20email.','reviewer','YftVA','🔍\x20Reviewer\x20bypass\x20detected\x20in\x20new\x20UI','reviewer@bypass.com','fRcxJ','BKPaV','mdaiQ','❌\x20Email\x20validation\x20failed:','qjppu','padding','height','Build\x20your\x20Onairos\x20persona\x20to\x20own\x20your\x20digital\x20identity','done','Your\x20email','#9CA3AF','useState','WnRUm','fALRz','eFhgu','BzKRO','MYwpa','fBhLs','gtVcC','VEXHb','toLowerCase','IDdfD','ZpbJB','myyyP','KrkWl','txltH','KPyki','xbzow','VcCCk','isValid','KeoZZ','aGjxD','BRPHP','error','Invalid\x20email\x20address','noWeu','get','GnzDD','getOwnPropertyDescriptor','WSNFa','✅\x20Email\x20validation\x20passed','xZiRv','useEffect','OaTuu','Keyboard','addListener','keyboardDidShow','PzXnp','LSoEp','createElement','Platform','ios','CCkFy','xVtZr','View','content','headingContainer','Text','vBwfv','Sign\x20in\x20or\x20create\x20an\x20account','oenEf','errorText','jdknN','dividerContainer','dividerLine','dividerText','googleContainer','spacer','continueContainer','ePioe','StyleSheet','100%','IBM\x20Plex\x20Sans','700','COLORS','grey800','left','SPACING','Inter','grey600','row','center','400'];_0x242f=function(){return _0x51465c;};return _0x242f();}const styles=_reactNative[_0x8854(0xe2)]['create']({'container':{'flex':0x1},'content':{'flex':0x1,'paddingTop':0x18,'paddingHorizontal':0x18},'headingContainer':{'width':_0x8854(0xe3),'marginBottom':0x16,'paddingHorizontal':0x0},'title':{'fontFamily':_0x8854(0xe4),'fontWeight':_0x8854(0xe5),'fontSize':0x18,'lineHeight':0x20,'color':_theme[_0x8854(0xe6)][_0x8854(0xe7)],'textAlign':_0x8854(0xe8),'marginBottom':_theme[_0x8854(0xe9)]['sm']},'subtitle':{'fontFamily':_0x8854(0xea),'fontWeight':'400','fontSize':0x10,'lineHeight':0x18,'color':_theme[_0x8854(0xe6)][_0x8854(0xeb)],'textAlign':_0x8854(0xe8)},'inputContainer':{'marginBottom':0x20,'paddingHorizontal':0x0},'dividerContainer':{'flexDirection':_0x8854(0xec),'alignItems':_0x8854(0xed),'marginBottom':0x20,'paddingHorizontal':0x0},'dividerLine':{'flex':0x1,'height':0x1,'backgroundColor':'#E5E5E5'},'dividerText':{'paddingHorizontal':_theme['SPACING']['md'],'fontSize':0xe,'fontFamily':'Inter','fontWeight':_0x8854(0xee),'color':_theme[_0x8854(0xe6)]['grey500']},'googleContainer':{'marginBottom':_theme['SPACING']['xl'],'paddingHorizontal':0x0},'spacer':{'flex':0x1,'minHeight':0x14},'continueContainer':{'paddingBottom':_theme[_0x8854(0xe9)]['xl'],'paddingHorizontal':0x0},'errorText':{'fontSize':0xe,'fontFamily':_0x8854(0xea),'fontWeight':_0x8854(0xee),'color':'#DC3545','marginTop':0x8,'textAlign':_0x8854(0xe8)}});var _default=exports[_0x8854(0x2)]=SignInStep;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.SignInStep = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _theme = require("../theme");
|
|
10
|
+
var _EmailInput = _interopRequireDefault(require("./EmailInput"));
|
|
11
|
+
var _GoogleButton = _interopRequireDefault(require("./GoogleButton"));
|
|
12
|
+
var _PrimaryButton = _interopRequireDefault(require("./PrimaryButton"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
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); }
|
|
15
|
+
// Valid top-level domains (comprehensive list)
|
|
16
|
+
const VALID_TLDS = new Set([
|
|
17
|
+
// Generic TLDs
|
|
18
|
+
'com', 'org', 'net', 'edu', 'gov', 'mil', 'int',
|
|
19
|
+
// Popular TLDs
|
|
20
|
+
'io', 'co', 'ai', 'app', 'dev', 'tech', 'online', 'site', 'web', 'info', 'biz', 'me', 'tv', 'cc', 'xyz',
|
|
21
|
+
// Country code TLDs
|
|
22
|
+
'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',
|
|
23
|
+
// Common compound TLDs
|
|
24
|
+
'co.uk', 'com.au', 'co.nz', 'co.za', 'com.br', 'co.jp', 'co.kr', 'co.in', 'org.uk', 'net.au', 'gov.uk', 'ac.uk', 'edu.au']);
|
|
25
|
+
|
|
26
|
+
// Common typos that should be rejected
|
|
27
|
+
const INVALID_TLDS = new Set(['con', 'cmo', 'vom', 'ocm', 'cm', 'cpm', 'ckm', 'om', 'comm', 'comn', 'copm', 'ogr', 'og', 'orgg', 'rog', 'rg', 'nte', 'ne', 'nett', 'ent', 'bet', 'oi', 'ioo', 'lio', 'gmai', 'gmial', 'gmil', 'gmal', 'gamil', 'outlok', 'outloo', 'outlokk', 'yahooo', 'yaho', 'yhoo', 'hotmai', 'hotmal', 'hotmial']);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Validates an email address
|
|
31
|
+
* @param email - The email to validate
|
|
32
|
+
* @returns Object with isValid boolean and optional error message
|
|
33
|
+
*/
|
|
34
|
+
const validateEmail = email => {
|
|
35
|
+
const trimmedEmail = email.trim().toLowerCase();
|
|
36
|
+
|
|
37
|
+
// Basic format check
|
|
38
|
+
const basicEmailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
39
|
+
if (!basicEmailRegex.test(trimmedEmail)) {
|
|
40
|
+
return {
|
|
41
|
+
isValid: false,
|
|
42
|
+
error: 'Please enter a valid email address'
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Extract domain and TLD
|
|
47
|
+
const atIndex = trimmedEmail.lastIndexOf('@');
|
|
48
|
+
const domain = trimmedEmail.substring(atIndex + 1);
|
|
49
|
+
const parts = domain.split('.');
|
|
50
|
+
if (parts.length < 2) {
|
|
51
|
+
return {
|
|
52
|
+
isValid: false,
|
|
53
|
+
error: 'Please enter a valid email address'
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Get the TLD (last part) and check compound TLDs
|
|
58
|
+
const tld = parts[parts.length - 1];
|
|
59
|
+
const compoundTld = parts.length >= 2 ? `${parts[parts.length - 2]}.${tld}` : '';
|
|
60
|
+
|
|
61
|
+
// Check for invalid/typo TLDs first
|
|
62
|
+
if (INVALID_TLDS.has(tld)) {
|
|
63
|
+
// Suggest the correct TLD
|
|
64
|
+
let suggestion = '';
|
|
65
|
+
if (tld === 'con' || tld === 'cmo' || tld === 'vom' || tld === 'ocm' || tld === 'cpm' || tld === 'comm' || tld === 'comn' || tld === 'copm') {
|
|
66
|
+
suggestion = ' Did you mean .com?';
|
|
67
|
+
} else if (tld === 'ogr' || tld === 'og' || tld === 'orgg' || tld === 'rog') {
|
|
68
|
+
suggestion = ' Did you mean .org?';
|
|
69
|
+
} else if (tld === 'nte' || tld === 'ne' || tld === 'nett' || tld === 'ent') {
|
|
70
|
+
suggestion = ' Did you mean .net?';
|
|
71
|
+
} else if (tld === 'oi' || tld === 'ioo' || tld === 'lio') {
|
|
72
|
+
suggestion = ' Did you mean .io?';
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
isValid: false,
|
|
76
|
+
error: `Invalid email domain (.${tld}).${suggestion}`
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Check if TLD is too short (likely a typo)
|
|
81
|
+
if (tld.length < 2) {
|
|
82
|
+
return {
|
|
83
|
+
isValid: false,
|
|
84
|
+
error: 'Please enter a valid email address'
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Check if TLD is valid (either compound or single)
|
|
89
|
+
const isValidTld = VALID_TLDS.has(tld) || VALID_TLDS.has(compoundTld);
|
|
90
|
+
|
|
91
|
+
// For single-letter or very unusual TLDs, warn but still allow if not in invalid list
|
|
92
|
+
// This allows for new TLDs while catching obvious typos
|
|
93
|
+
if (!isValidTld && tld.length <= 2) {
|
|
94
|
+
return {
|
|
95
|
+
isValid: false,
|
|
96
|
+
error: `Invalid email domain (.${tld}). Please check your email.`
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Additional checks for common domain typos
|
|
101
|
+
const domainWithoutTld = parts.slice(0, -1).join('.');
|
|
102
|
+
const commonDomainTypos = {
|
|
103
|
+
'gmai': 'gmail',
|
|
104
|
+
'gmial': 'gmail',
|
|
105
|
+
'gmil': 'gmail',
|
|
106
|
+
'gmal': 'gmail',
|
|
107
|
+
'gamil': 'gmail',
|
|
108
|
+
'outlok': 'outlook',
|
|
109
|
+
'outloo': 'outlook',
|
|
110
|
+
'outlokk': 'outlook',
|
|
111
|
+
'yahooo': 'yahoo',
|
|
112
|
+
'yaho': 'yahoo',
|
|
113
|
+
'yhoo': 'yahoo',
|
|
114
|
+
'hotmai': 'hotmail',
|
|
115
|
+
'hotmal': 'hotmail',
|
|
116
|
+
'hotmial': 'hotmail',
|
|
117
|
+
'iclod': 'icloud',
|
|
118
|
+
'iclould': 'icloud'
|
|
119
|
+
};
|
|
120
|
+
if (commonDomainTypos[domainWithoutTld]) {
|
|
121
|
+
return {
|
|
122
|
+
isValid: false,
|
|
123
|
+
error: `Did you mean ${commonDomainTypos[domainWithoutTld]}.${tld}?`
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// 🔐 Check for common email providers with wrong TLDs
|
|
128
|
+
// These providers almost always use .com, so other TLDs are likely typos
|
|
129
|
+
const commonProviders = ['gmail', 'yahoo', 'hotmail', 'outlook', 'icloud', 'aol', 'protonmail', 'zoho'];
|
|
130
|
+
const expectedProviderTld = {
|
|
131
|
+
'gmail': 'com',
|
|
132
|
+
'yahoo': 'com',
|
|
133
|
+
'hotmail': 'com',
|
|
134
|
+
'outlook': 'com',
|
|
135
|
+
'icloud': 'com',
|
|
136
|
+
'aol': 'com',
|
|
137
|
+
'protonmail': 'com',
|
|
138
|
+
'zoho': 'com'
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
// Check if domain matches a common provider but has wrong TLD
|
|
142
|
+
if (commonProviders.includes(domainWithoutTld) && tld !== expectedProviderTld[domainWithoutTld]) {
|
|
143
|
+
// Allow known valid variants like yahoo.co.uk, outlook.co.uk etc
|
|
144
|
+
const validVariants = ['yahoo.co.uk', 'yahoo.co.jp', 'yahoo.com.br', 'yahoo.com.au', 'outlook.co.uk', 'hotmail.co.uk', 'hotmail.co.jp'];
|
|
145
|
+
const fullDomain = `${domainWithoutTld}.${tld}`;
|
|
146
|
+
if (!validVariants.includes(fullDomain)) {
|
|
147
|
+
return {
|
|
148
|
+
isValid: false,
|
|
149
|
+
error: `Did you mean ${domainWithoutTld}.${expectedProviderTld[domainWithoutTld]}?`
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
isValid: true
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
const SignInStep = ({
|
|
158
|
+
onEmailSubmit,
|
|
159
|
+
onGoogleSignIn,
|
|
160
|
+
onContinue,
|
|
161
|
+
loading = false,
|
|
162
|
+
error = '',
|
|
163
|
+
initialEmail = ''
|
|
164
|
+
}) => {
|
|
165
|
+
const [email, setEmail] = (0, _react.useState)(initialEmail);
|
|
166
|
+
const [keyboardVisible, setKeyboardVisible] = (0, _react.useState)(false);
|
|
167
|
+
const [validationError, setValidationError] = (0, _react.useState)('');
|
|
168
|
+
|
|
169
|
+
// Clear validation error when user starts typing
|
|
170
|
+
const handleEmailChange = text => {
|
|
171
|
+
setEmail(text);
|
|
172
|
+
if (validationError) {
|
|
173
|
+
setValidationError('');
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
const handleEmailSubmit = () => {
|
|
177
|
+
// Check for reviewer bypass first
|
|
178
|
+
if (email.toLowerCase().trim() === 'reviewer') {
|
|
179
|
+
console.log('🔍 Reviewer bypass detected in new UI');
|
|
180
|
+
// Call onEmailSubmit with a special reviewer email that the parent can recognize
|
|
181
|
+
onEmailSubmit('reviewer@bypass.com');
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Check for test bypass - goes directly to verification screen
|
|
186
|
+
if (email.toLowerCase().trim() === 'test') {
|
|
187
|
+
console.log('🧪 Test bypass detected - skipping to verification screen');
|
|
188
|
+
onEmailSubmit('test@bypass.com');
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (email.trim()) {
|
|
192
|
+
// Validate email before submitting
|
|
193
|
+
const validation = validateEmail(email);
|
|
194
|
+
if (!validation.isValid) {
|
|
195
|
+
console.log('❌ Email validation failed:', validation.error);
|
|
196
|
+
setValidationError(validation.error || 'Invalid email address');
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
console.log('✅ Email validation passed');
|
|
200
|
+
setValidationError('');
|
|
201
|
+
onEmailSubmit(email.trim());
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
(0, _react.useEffect)(() => {
|
|
205
|
+
const keyboardDidShowListener = _reactNative.Keyboard.addListener('keyboardDidShow', () => setKeyboardVisible(true));
|
|
206
|
+
const keyboardDidHideListener = _reactNative.Keyboard.addListener('keyboardDidHide', () => setKeyboardVisible(false));
|
|
207
|
+
return () => {
|
|
208
|
+
keyboardDidHideListener === null || keyboardDidHideListener === void 0 || keyboardDidHideListener.remove();
|
|
209
|
+
keyboardDidShowListener === null || keyboardDidShowListener === void 0 || keyboardDidShowListener.remove();
|
|
210
|
+
};
|
|
211
|
+
}, []);
|
|
212
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.KeyboardAvoidingView, {
|
|
213
|
+
behavior: _reactNative.Platform.OS === 'ios' ? 'padding' : 'height',
|
|
214
|
+
style: styles.container
|
|
215
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
216
|
+
style: styles.content
|
|
217
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
218
|
+
style: styles.headingContainer
|
|
219
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
220
|
+
style: styles.title
|
|
221
|
+
}, "Build your Onairos persona to own your digital identity"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
222
|
+
style: styles.subtitle
|
|
223
|
+
}, "Sign in or create an account")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
224
|
+
style: styles.inputContainer
|
|
225
|
+
}, /*#__PURE__*/_react.default.createElement(_EmailInput.default, {
|
|
226
|
+
value: email,
|
|
227
|
+
onChangeText: handleEmailChange,
|
|
228
|
+
onSubmitEditing: handleEmailSubmit,
|
|
229
|
+
returnKeyType: "done",
|
|
230
|
+
blurOnSubmit: true,
|
|
231
|
+
placeholder: "Your email",
|
|
232
|
+
placeholderTextColor: "#9CA3AF"
|
|
233
|
+
}), validationError || error ? /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
234
|
+
style: styles.errorText
|
|
235
|
+
}, validationError || error) : null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
236
|
+
style: styles.dividerContainer
|
|
237
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
238
|
+
style: styles.dividerLine
|
|
239
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
240
|
+
style: styles.dividerText
|
|
241
|
+
}, "Or"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
242
|
+
style: styles.dividerLine
|
|
243
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
244
|
+
style: styles.googleContainer
|
|
245
|
+
}, /*#__PURE__*/_react.default.createElement(_GoogleButton.default, {
|
|
246
|
+
onPress: onGoogleSignIn,
|
|
247
|
+
disabled: loading
|
|
248
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
249
|
+
style: styles.spacer
|
|
250
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
251
|
+
style: styles.continueContainer
|
|
252
|
+
}, /*#__PURE__*/_react.default.createElement(_PrimaryButton.default, {
|
|
253
|
+
label: "Continue",
|
|
254
|
+
onPress: handleEmailSubmit,
|
|
255
|
+
disabled: loading || !email.trim(),
|
|
256
|
+
loading: loading
|
|
257
|
+
}))));
|
|
258
|
+
};
|
|
259
|
+
exports.SignInStep = SignInStep;
|
|
260
|
+
const styles = _reactNative.StyleSheet.create({
|
|
261
|
+
container: {
|
|
262
|
+
flex: 1
|
|
263
|
+
},
|
|
264
|
+
content: {
|
|
265
|
+
flex: 1,
|
|
266
|
+
paddingTop: 24,
|
|
267
|
+
// Added more top padding to lower content
|
|
268
|
+
paddingHorizontal: 24 // Match Enoch app edge padding
|
|
269
|
+
},
|
|
270
|
+
headingContainer: {
|
|
271
|
+
width: '100%',
|
|
272
|
+
// Fill sheet width
|
|
273
|
+
marginBottom: 22,
|
|
274
|
+
// Further reduced spacing to bring subtitle closer to email input
|
|
275
|
+
paddingHorizontal: 0 // No padding at all - text goes to absolute edges
|
|
276
|
+
// Removed alignItems: 'center' - no centering
|
|
277
|
+
},
|
|
278
|
+
title: {
|
|
279
|
+
fontFamily: 'IBM Plex Sans',
|
|
280
|
+
fontWeight: '700',
|
|
281
|
+
fontSize: 24,
|
|
282
|
+
lineHeight: 32,
|
|
283
|
+
color: _theme.COLORS.grey800,
|
|
284
|
+
textAlign: 'left',
|
|
285
|
+
// Left-aligned as specified
|
|
286
|
+
marginBottom: _theme.SPACING.sm
|
|
287
|
+
// No fixed width - let parent's 24px insets define available width (327px on 375pt device)
|
|
288
|
+
// Removed height constraint to allow natural wrapping
|
|
289
|
+
},
|
|
290
|
+
subtitle: {
|
|
291
|
+
fontFamily: 'Inter',
|
|
292
|
+
fontWeight: '400',
|
|
293
|
+
fontSize: 16,
|
|
294
|
+
lineHeight: 24,
|
|
295
|
+
color: _theme.COLORS.grey600,
|
|
296
|
+
textAlign: 'left' // Also left-align subtitle for consistency
|
|
297
|
+
},
|
|
298
|
+
inputContainer: {
|
|
299
|
+
marginBottom: 32,
|
|
300
|
+
// Consistent spacing
|
|
301
|
+
paddingHorizontal: 0 // Match headline - no padding, full width
|
|
302
|
+
},
|
|
303
|
+
dividerContainer: {
|
|
304
|
+
flexDirection: 'row',
|
|
305
|
+
alignItems: 'center',
|
|
306
|
+
marginBottom: 32,
|
|
307
|
+
// Consistent spacing
|
|
308
|
+
paddingHorizontal: 0 // Match headline - no padding, full width
|
|
309
|
+
},
|
|
310
|
+
dividerLine: {
|
|
311
|
+
flex: 1,
|
|
312
|
+
height: 1,
|
|
313
|
+
backgroundColor: '#E5E5E5'
|
|
314
|
+
},
|
|
315
|
+
dividerText: {
|
|
316
|
+
paddingHorizontal: _theme.SPACING.md,
|
|
317
|
+
fontSize: 14,
|
|
318
|
+
fontFamily: 'Inter',
|
|
319
|
+
fontWeight: '400',
|
|
320
|
+
color: _theme.COLORS.grey500
|
|
321
|
+
},
|
|
322
|
+
googleContainer: {
|
|
323
|
+
marginBottom: _theme.SPACING.xl,
|
|
324
|
+
paddingHorizontal: 0 // Match headline - no padding, full width
|
|
325
|
+
},
|
|
326
|
+
spacer: {
|
|
327
|
+
flex: 1,
|
|
328
|
+
minHeight: 20
|
|
329
|
+
},
|
|
330
|
+
continueContainer: {
|
|
331
|
+
paddingBottom: _theme.SPACING.xl,
|
|
332
|
+
paddingHorizontal: 0 // Match headline - no padding, full width
|
|
333
|
+
},
|
|
334
|
+
errorText: {
|
|
335
|
+
fontSize: 14,
|
|
336
|
+
fontFamily: 'Inter',
|
|
337
|
+
fontWeight: '400',
|
|
338
|
+
color: '#DC3545',
|
|
339
|
+
// Red color for errors
|
|
340
|
+
marginTop: 8,
|
|
341
|
+
textAlign: 'left'
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
var _default = exports.default = SignInStep;
|
|
345
|
+
//# sourceMappingURL=SignInStep.js.map
|