@onairos/react-native 3.6.7 → 3.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +423 -423
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/assets/images/Checkbox.svg +3 -3
- package/lib/commonjs/assets/images/EnochE.svg +19 -19
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
- package/lib/commonjs/assets/images/arrow.svg +20 -20
- package/lib/commonjs/assets/images/basicproficon.svg +43 -43
- package/lib/commonjs/assets/images/basicprofile.svg +3 -3
- package/lib/commonjs/assets/images/checkmark.svg +4 -4
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
- package/lib/commonjs/assets/images/contenticon.svg +23 -23
- package/lib/commonjs/assets/images/personalityicon.svg +18 -18
- package/lib/commonjs/assets/images/x-close.svg +3 -3
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/PLATFORM_APIS.md +559 -0
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/config/telegramConfig.js +8 -0
- package/lib/commonjs/config/webchangelog/md +607 -0
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +99 -99
- package/lib/commonjs/services/authService.js +72 -72
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/oauthService.js +20 -20
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/assets/images/Checkbox.svg +3 -3
- package/lib/module/assets/images/EnochE.svg +19 -19
- package/lib/module/assets/images/Personalityprofile.svg +3 -3
- package/lib/module/assets/images/Personalitytraits.svg +3 -3
- package/lib/module/assets/images/Userpreferences.svg +3 -3
- package/lib/module/assets/images/arrow.svg +20 -20
- package/lib/module/assets/images/basicproficon.svg +43 -43
- package/lib/module/assets/images/basicprofile.svg +3 -3
- package/lib/module/assets/images/checkmark.svg +4 -4
- package/lib/module/assets/images/contentanalysis.svg +3 -3
- package/lib/module/assets/images/contenticon.svg +23 -23
- package/lib/module/assets/images/personalityicon.svg +18 -18
- package/lib/module/assets/images/x-close.svg +3 -3
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/PLATFORM_APIS.md +559 -0
- package/lib/module/config/api.js +1 -1
- package/lib/module/config/telegramConfig.js +8 -0
- package/lib/module/config/webchangelog/md +607 -0
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/SDK_API_KEY_VALIDATION.md +421 -421
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +99 -99
- package/lib/module/services/authService.js +72 -72
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +20 -20
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +172 -172
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x500b(_0x881054,_0x500b8b){_0x881054=_0x881054-0x0;const _0x6a406e=_0x8810();let _0x3ba35a=_0x6a406e[_0x881054];return _0x3ba35a;}import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x4f0242,onComplete:_0x29e971,onBack:_0x365cfa})=>{const _0x10fdf5={'LemFi':function(_0x29d77f,_0x3ce16f){return _0x29d77f(_0x3ce16f);},'dAddF':function(_0xc52a01,_0xc822cd){return _0xc52a01===_0xc822cd;},'tISGh':'dEDIV','UKYRN':_0x500b(0x0),'pOCRY':function(_0x53f45e,_0x1b315b){return _0x53f45e>=_0x1b315b;},'TRNyx':'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','QzOKa':_0x500b(0x1),'uymlf':function(_0x1bba77){return _0x1bba77();},'bnnjG':function(_0x2e7c70,_0x6409e6){return _0x2e7c70(_0x6409e6);},'PGeay':function(_0x2e2167,_0x29c85b){return _0x2e2167(_0x29c85b);},'WWPfH':_0x500b(0x2),'WFgBS':function(_0x318a46,_0x2e4451){return _0x318a46(_0x2e4451);},'DZNlc':_0x500b(0x3),'SSVjN':function(_0x1c4541,_0x3e37e4){return _0x1c4541(_0x3e37e4);},'NNWfd':function(_0x2fb1fc,_0x27a486){return _0x2fb1fc(_0x27a486);},'BBTaa':function(_0x3aff39,_0x38ea9f){return _0x3aff39(_0x38ea9f);},'lPESI':_0x500b(0x4),'aeXyJ':'📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','uwknR':function(_0x108c48,_0x1a8ddb){return _0x108c48===_0x1a8ddb;},'qqMVE':_0x500b(0x5),'YuRFo':_0x500b(0x6),'EZnVa':function(_0x527569,_0x2d0952){return _0x527569(_0x2d0952);},'ZkMZC':_0x500b(0x7),'JcoCo':_0x500b(0x8),'Mxfso':_0x500b(0x9),'fEfoq':function(_0x3aa324,_0x877f98){return _0x3aa324!==_0x877f98;},'NObVO':_0x500b(0xa),'EQjjg':_0x500b(0xb),'QZFsU':'✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','VMtRe':_0x500b(0xc),'wgZoC':_0x500b(0xd),'PGSXy':function(_0xa161ac,_0x18e9a8,_0x3a625e){return _0xa161ac(_0x18e9a8,_0x3a625e);},'mkKhd':'PIN\x20Storage\x20Error','ONRBa':_0x500b(0xe),'EFMXj':_0x500b(0xf),'NnQnD':_0x500b(0x10),'VhUEp':'error','TaKbz':_0x500b(0x11),'TmGSM':_0x500b(0x12),'MVIEq':_0x500b(0x13),'lQBrC':_0x500b(0x14),'whKIq':function(_0x5c30cb,_0x9dde0a){return _0x5c30cb!==_0x9dde0a;},'ctYBJ':_0x500b(0x15),'uVMVd':_0x500b(0x16),'nNgen':'1|3|2|0|4','xnNwa':_0x500b(0x17),'bKOTz':function(_0x3bdb16,_0x2b20b0){return _0x3bdb16(_0x2b20b0);},'aLVWt':function(_0x39245f,_0x2cc2ae){return _0x39245f(_0x2cc2ae);},'ngfMV':_0x500b(0x18),'stmjD':_0x500b(0x19),'gqgxo':function(_0x1106de,_0x471f9e){return _0x1106de(_0x471f9e);},'NjHMC':_0x500b(0x1a),'oeNAB':_0x500b(0x1b),'HjfCr':_0x500b(0x1c),'SwVNb':function(_0x5e3b81,_0x440dee){return _0x5e3b81(_0x440dee);},'zJWDv':function(_0x32f05b,_0x4d60d9,_0x4d5d32){return _0x32f05b(_0x4d60d9,_0x4d5d32);},'GUoNJ':_0x500b(0x1d),'ScGXm':_0x500b(0x1e),'kWgew':_0x500b(0x1f),'QMObJ':_0x500b(0x20),'Muodn':_0x500b(0x21),'qcCdk':_0x500b(0x22),'cpfRA':function(_0x4fa498,_0x51c76e){return _0x4fa498===_0x51c76e;},'HOtUQ':_0x500b(0x23),'ELYwV':function(_0x4b1f5b,_0x1d6554){return _0x4b1f5b===_0x1d6554;},'vsBZe':_0x500b(0x24),'LqigK':'#D4A536','lsTlA':function(_0x1160d3,_0x1f2c16){return _0x1160d3===_0x1f2c16;},'SYexk':'Securing\x20with\x20Face\x20ID...','kDhws':_0x500b(0x25),'ULCEQ':function(_0x31b72b,_0x4b7c61){return _0x31b72b===_0x4b7c61;},'WLFom':_0x500b(0x26),'XDOkF':function(_0x15b44a,_0x5610f9){return _0x15b44a===_0x5610f9;},'ZzVEE':'Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','NYPTd':function(_0x1b2c7d,_0x3986cc){return _0x1b2c7d===_0x3986cc;},'wVYeX':_0x500b(0x27),'FtATU':_0x500b(0x28),'izRFY':_0x500b(0x29),'ShbDq':function(_0x359074,_0x30c9c7){return _0x359074===_0x30c9c7;},'sdxKm':'Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','ZBxQP':function(_0x37343a,_0x36b229){return _0x37343a||_0x36b229;},'CENwv':_0x500b(0x2a)},[_0x5e1f4f,_0x47907b]=_0x10fdf5['WFgBS'](useState,''),[_0x30c1ff,_0xec2463]=useState({'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x4a916f,_0x587706]=_0x10fdf5[_0x500b(0x2b)](useState,![]),[_0x22f7b2,_0x6a761f]=_0x10fdf5[_0x500b(0x2c)](useState,![]),[_0x2e2af2,_0x310718]=_0x10fdf5[_0x500b(0x2d)](useState,'checking'),_0x13ccb1=_0x17b839=>{const _0x1e87b5={'aFsTd':function(_0x395b5e,_0x3c1621){return _0x10fdf5[_0x500b(0x2e)](_0x395b5e,_0x3c1621);}};if(_0x10fdf5['dAddF'](_0x10fdf5[_0x500b(0x2f)],_0x10fdf5[_0x500b(0x30)]))_0x1e87b5[_0x500b(0x31)](_0x57072f,![]),_0x243751(_0x2a8996);else{const _0x27fa60={'length':_0x10fdf5[_0x500b(0x32)](_0x17b839[_0x500b(0x33)],0x8),'uppercase':/[A-Z]/[_0x500b(0x34)](_0x17b839),'number':/[0-9]/[_0x500b(0x34)](_0x17b839),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x500b(0x34)](_0x17b839)};return _0xec2463(_0x27fa60),Object[_0x500b(0x35)](_0x27fa60)[_0x500b(0x36)](_0x13c978=>_0x13c978);}},_0x2eb886=_0x1a2563=>{if(_0x10fdf5[_0x500b(0x37)](_0x10fdf5[_0x500b(0x38)],_0x10fdf5[_0x500b(0x38)]))_0x10fdf5[_0x500b(0x2e)](_0x47907b,_0x1a2563),_0x10fdf5['LemFi'](_0x13ccb1,_0x1a2563);else{_0x429018(_0x5a3f2b[_0x500b(0x39)]),Alert[_0x500b(0x3a)](_0x500b(0x3b),_0x10fdf5[_0x500b(0x3c)]);return;}},_0x52c7b5=async()=>{const _0x46a359={'TXOQN':_0x10fdf5[_0x500b(0x3d)],'UnBZc':function(_0x4bafc4){return _0x10fdf5[_0x500b(0x3e)](_0x4bafc4);},'TtMrL':_0x500b(0x3f),'zxxFT':function(_0x141bd1,_0x265310){return _0x10fdf5[_0x500b(0x2e)](_0x141bd1,_0x265310);}};if(!_0x10fdf5[_0x500b(0x40)](_0x13ccb1,_0x5e1f4f)){_0x10fdf5['WFgBS'](triggerHaptic,HapticType[_0x500b(0x39)]),Alert['alert'](_0x500b(0x3b),_0x10fdf5[_0x500b(0x3c)]);return;}_0x10fdf5[_0x500b(0x2d)](triggerHaptic,HapticType[_0x500b(0x41)]),_0x10fdf5['BBTaa'](_0x587706,!![]);try{console[_0x500b(0x42)](_0x10fdf5[_0x500b(0x43)]),_0x10fdf5[_0x500b(0x2e)](setTemporaryPin,_0x5e1f4f),console['log'](_0x10fdf5['aeXyJ']);if(_0x22f7b2){if(_0x10fdf5[_0x500b(0x44)](_0x10fdf5['qqMVE'],_0x10fdf5['YuRFo']))_0x10fdf5[_0x500b(0x3e)](_0x2ec7c4);else{_0x10fdf5['EZnVa'](_0x310718,_0x10fdf5[_0x500b(0x45)]),console['log'](_0x10fdf5[_0x500b(0x46)]);const _0x1ce9fa=await biometricPinService[_0x500b(0x47)]();console['log'](_0x500b(0x48),_0x1ce9fa);if(!_0x1ce9fa){console['error'](_0x10fdf5[_0x500b(0x49)]),_0x10fdf5[_0x500b(0x4a)](_0x310718,_0x10fdf5[_0x500b(0x3d)]),_0x10fdf5[_0x500b(0x4b)](_0x587706,![]);return;}console[_0x500b(0x42)]('🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...');const _0x50c9b1=await biometricPinService['storePinWithBiometric'](_0x5e1f4f);if(_0x50c9b1){if(_0x10fdf5[_0x500b(0x4c)](_0x10fdf5['NObVO'],_0x10fdf5[_0x500b(0x4d)])){console['log'](_0x10fdf5[_0x500b(0x4e)]);const _0x52dbd1=await biometricPinService[_0x500b(0x4f)]();if(_0x52dbd1)console[_0x500b(0x42)](_0x10fdf5['VMtRe']),_0x10fdf5['SSVjN'](_0x310718,_0x10fdf5[_0x500b(0x50)]),triggerHaptic(HapticType[_0x500b(0x51)]),_0x10fdf5[_0x500b(0x52)](setTimeout,()=>{_0x587706(![]),_0x10fdf5[_0x500b(0x53)](_0x29e971,_0x5e1f4f);},0x320);else{const _0x2d98b=_0x500b(0x54)[_0x500b(0x55)]('|');let _0xc27a95=0x0;while(!![]){switch(_0x2d98b[_0xc27a95++]){case'0':_0x10fdf5[_0x500b(0x4b)](triggerHaptic,HapticType[_0x500b(0x39)]);continue;case'1':_0x10fdf5[_0x500b(0x56)](_0x310718,_0x500b(0x57));continue;case'2':Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x58)],_0x10fdf5['ONRBa'],[{'text':'OK'}]);continue;case'3':console[_0x500b(0x57)](_0x10fdf5[_0x500b(0x59)]);continue;case'4':_0x10fdf5[_0x500b(0x56)](_0x587706,![]);continue;}break;}}}else _0x46c24b[_0x500b(0x42)]('📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID'),_0x3ac526(_0x46a359[_0x500b(0x5a)]),_0x1d2abb(![]),_0x35f241(_0x588bd9);}else console['log'](_0x10fdf5[_0x500b(0x5b)]),_0x10fdf5[_0x500b(0x4a)](_0x310718,_0x10fdf5[_0x500b(0x5c)]),_0x10fdf5[_0x500b(0x53)](triggerHaptic,HapticType[_0x500b(0x39)]),Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x5d)],_0x500b(0x5e),[{'text':_0x10fdf5[_0x500b(0x5f)],'onPress':()=>{_0x10fdf5[_0x500b(0x53)](_0x587706,![]),_0x10fdf5[_0x500b(0x60)](_0x310718,_0x10fdf5['WWPfH']);}},{'text':_0x10fdf5[_0x500b(0x61)],'onPress':()=>{_0x46a359['TtMrL']===_0x46a359[_0x500b(0x62)]?(_0x46a359[_0x500b(0x63)](_0x587706,![]),_0x46a359['zxxFT'](_0x29e971,_0x5e1f4f)):(_0x2bb03b(_0xa2f3db['BUTTON_PRESS']),_0x46a359['UnBZc'](_0xe3f288));}}]);}}else console[_0x500b(0x42)](_0x10fdf5[_0x500b(0x64)]),_0x10fdf5[_0x500b(0x2d)](_0x310718,_0x10fdf5[_0x500b(0x3d)]),_0x10fdf5[_0x500b(0x56)](_0x587706,![]),_0x29e971(_0x5e1f4f);}catch(_0x596800){if(_0x10fdf5['whKIq'](_0x10fdf5[_0x500b(0x65)],_0x10fdf5['uVMVd'])){const _0x16aa5c=_0x10fdf5[_0x500b(0x66)]['split']('|');let _0x396cf4=0x0;while(!![]){switch(_0x16aa5c[_0x396cf4++]){case'0':triggerHaptic(HapticType[_0x500b(0x39)]);continue;case'1':console['error'](_0x10fdf5[_0x500b(0x67)],_0x596800);continue;case'2':_0x10fdf5[_0x500b(0x68)](_0x587706,![]);continue;case'3':_0x10fdf5[_0x500b(0x69)](_0x310718,_0x10fdf5['VhUEp']);continue;case'4':Alert[_0x500b(0x3a)](_0x10fdf5[_0x500b(0x6a)],_0x10fdf5[_0x500b(0x6b)],[{'text':'OK'}]);continue;}break;}}else{_0x35bfc2[_0x500b(0x57)]('❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device'),_0x10fdf5['WFgBS'](_0x592043,_0x10fdf5['DZNlc']),_0x10fdf5[_0x500b(0x4b)](_0x529c57,![]);return;}}},_0x536139=()=>{_0x10fdf5['PGeay'](triggerHaptic,HapticType[_0x500b(0x41)]),_0x365cfa();};_0x10fdf5[_0x500b(0x6c)](useEffect,()=>{const _0x57164f={'hNPgq':_0x500b(0x2),'RAzGV':function(_0x33bbad,_0x55699e){return _0x10fdf5[_0x500b(0x2b)](_0x33bbad,_0x55699e);},'TuPtT':_0x10fdf5['DZNlc'],'ThAuT':_0x10fdf5['NjHMC'],'JQink':function(_0x458b1d,_0x44569f){return _0x458b1d===_0x44569f;},'hpjNs':_0x10fdf5['oeNAB'],'tLPkr':'wjxzr','pOvob':_0x10fdf5[_0x500b(0x6d)]},_0x21e793=async()=>{const _0x42cb4c={'XNyKu':_0x57164f[_0x500b(0x6e)]};try{_0x57164f[_0x500b(0x6f)](_0x310718,_0x500b(0x23));const _0x2dd4fe=await biometricPinService[_0x500b(0x47)]();_0x57164f[_0x500b(0x6f)](_0x6a761f,_0x2dd4fe),_0x57164f[_0x500b(0x6f)](_0x310718,_0x2dd4fe?_0x57164f[_0x500b(0x6e)]:_0x57164f[_0x500b(0x70)]),console[_0x500b(0x42)](_0x57164f[_0x500b(0x71)],_0x2dd4fe);}catch(_0xf93ae){_0x57164f['JQink'](_0x57164f[_0x500b(0x72)],_0x57164f[_0x500b(0x73)])?(_0x15176a(![]),_0x31701a(_0x42cb4c[_0x500b(0x74)])):(console['error'](_0x57164f[_0x500b(0x75)],_0xf93ae),_0x6a761f(![]),_0x57164f[_0x500b(0x6f)](_0x310718,_0x57164f[_0x500b(0x70)]));}};_0x4f0242&&_0x21e793();},[_0x4f0242]);const _0x3314f3=Object['values'](_0x30c1ff)['every'](_0x26c74b=>_0x26c74b);if(!_0x4f0242)return null;return React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x77)]},React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x78)]},React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x79)]},_0x10fdf5['GUoNJ']),React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x7a)]},_0x10fdf5['ScGXm'])),React[_0x500b(0x76)](View,{'style':styles['pinContainer']},React['createElement'](TextInput,{'style':styles[_0x500b(0x7b)],'value':_0x5e1f4f,'onChangeText':_0x2eb886,'placeholder':_0x10fdf5[_0x500b(0x7c)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React['createElement'](View,{'style':styles['requirementsContainer']},React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x7d)]},_0x10fdf5[_0x500b(0x7e)]),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x7f)]},React['createElement'](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x33)]&&styles[_0x500b(0x81)]]},_0x30c1ff['length']&&React['createElement'](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff['length']&&styles[_0x500b(0x84)]]},_0x10fdf5[_0x500b(0x85)])),React['createElement'](View,{'style':styles[_0x500b(0x7f)]},React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x86)]&&styles['checkboxChecked']]},_0x30c1ff[_0x500b(0x86)]&&React[_0x500b(0x76)](Text,{'style':styles['checkmark']},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff['uppercase']&&styles[_0x500b(0x84)]]},_0x500b(0x87))),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x7f)]},React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x80)],_0x30c1ff[_0x500b(0x88)]&&styles[_0x500b(0x81)]]},_0x30c1ff[_0x500b(0x88)]&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff[_0x500b(0x88)]&&styles[_0x500b(0x84)]]},_0x500b(0x89))),React['createElement'](View,{'style':styles['requirementItem']},React[_0x500b(0x76)](View,{'style':[styles['checkbox'],_0x30c1ff[_0x500b(0x8a)]&&styles[_0x500b(0x81)]]},_0x30c1ff[_0x500b(0x8a)]&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x82)]},'✓')),React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0x83)],_0x30c1ff[_0x500b(0x8a)]&&styles[_0x500b(0x84)]]},_0x10fdf5['qcCdk']))),React[_0x500b(0x76)](View,{'style':[styles[_0x500b(0x8b)],_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x500b(0xd))&&styles[_0x500b(0x8d)],_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&styles[_0x500b(0x8e)]]},React['createElement'](View,{'style':styles[_0x500b(0x8f)]},_0x10fdf5[_0x500b(0x8c)](_0x2e2af2,_0x10fdf5['HOtUQ'])&&React[_0x500b(0x76)](ActivityIndicator,{'size':_0x500b(0x24),'color':COLORS[_0x500b(0x90)]}),_0x10fdf5[_0x500b(0x91)](_0x2e2af2,_0x500b(0x7))&&React[_0x500b(0x76)](ActivityIndicator,{'size':_0x10fdf5[_0x500b(0x92)],'color':_0x10fdf5['LqigK']}),_0x10fdf5[_0x500b(0x37)](_0x2e2af2,_0x10fdf5[_0x500b(0x93)])&&React[_0x500b(0x76)](Text,{'style':styles['securityIcon']},'🔐'),_0x2e2af2===_0x10fdf5[_0x500b(0x3d)]&&React[_0x500b(0x76)](Text,{'style':styles['securityIcon']},'⚠️'),_0x2e2af2===_0x10fdf5[_0x500b(0x50)]&&React['createElement'](Text,{'style':styles[_0x500b(0x94)]},'✅'),_0x10fdf5['cpfRA'](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x94)]},'❌')),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0x95)]},React['createElement'](Text,{'style':styles[_0x500b(0x96)]},_0x2e2af2===_0x10fdf5[_0x500b(0x97)]&&_0x500b(0x98),_0x10fdf5[_0x500b(0x99)](_0x2e2af2,_0x10fdf5['WWPfH'])&&_0x500b(0x9a),_0x2e2af2===_0x10fdf5['DZNlc']&&_0x500b(0x9b),_0x10fdf5[_0x500b(0x91)](_0x2e2af2,_0x10fdf5[_0x500b(0x45)])&&_0x10fdf5[_0x500b(0x9c)],_0x2e2af2===_0x10fdf5[_0x500b(0x50)]&&_0x10fdf5['kDhws'],_0x10fdf5['ULCEQ'](_0x2e2af2,_0x10fdf5[_0x500b(0x5c)])&&_0x10fdf5[_0x500b(0x9d)]),React[_0x500b(0x76)](Text,{'style':styles[_0x500b(0x9e)]},_0x10fdf5['XDOkF'](_0x2e2af2,_0x10fdf5[_0x500b(0x97)])&&_0x10fdf5['ZzVEE'],_0x10fdf5[_0x500b(0x9f)](_0x2e2af2,_0x10fdf5['WWPfH'])&&_0x10fdf5['wVYeX'],_0x2e2af2===_0x500b(0x3)&&_0x10fdf5['FtATU'],_0x2e2af2==='storing'&&_0x10fdf5[_0x500b(0xa0)],_0x10fdf5['NYPTd'](_0x2e2af2,_0x10fdf5[_0x500b(0x50)])&&_0x500b(0xa1),_0x10fdf5[_0x500b(0xa2)](_0x2e2af2,_0x10fdf5['VhUEp'])&&_0x10fdf5[_0x500b(0xa3)]))),React[_0x500b(0x76)](View,{'style':styles[_0x500b(0xa4)]},React['createElement'](TouchableOpacity,{'style':[styles[_0x500b(0xa5)],_0x3314f3&&styles[_0x500b(0xa6)]],'onPress':_0x52c7b5,'disabled':_0x10fdf5[_0x500b(0xa7)](!_0x3314f3,_0x4a916f)},_0x4a916f?React[_0x500b(0x76)](ActivityIndicator,{'size':_0x10fdf5[_0x500b(0x92)],'color':_0x10fdf5[_0x500b(0xa8)]}):React[_0x500b(0x76)](Text,{'style':[styles[_0x500b(0xa9)],_0x3314f3&&styles[_0x500b(0xaa)]]},'Continue'))));},styles=StyleSheet[_0x500b(0xab)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x500b(0xac)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':'center','marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':'700','color':COLORS[_0x500b(0xad)],'marginBottom':0x8,'fontFamily':_0x500b(0xae)},'subtitle':{'fontSize':0x10,'color':COLORS['grey600'],'lineHeight':0x18,'fontFamily':_0x500b(0xaf)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x500b(0xb0),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x500b(0xaf),'borderWidth':0x1,'borderColor':_0x500b(0xb1)},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x500b(0xb2),'color':COLORS[_0x500b(0xad)],'marginBottom':0x10,'fontFamily':_0x500b(0xaf)},'requirementItem':{'flexDirection':_0x500b(0xb3),'alignItems':'center','marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x500b(0xb1),'marginRight':0xc,'alignItems':_0x500b(0xb4),'justifyContent':_0x500b(0xb4)},'checkboxChecked':{'borderColor':'#4CD964','backgroundColor':'#4CD964'},'checkmark':{'color':_0x500b(0x2a),'fontSize':0xc,'fontWeight':_0x500b(0xb5)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x500b(0x90)],'fontFamily':_0x500b(0xaf),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x500b(0xad)]},'securityCard':{'backgroundColor':_0x500b(0xb0),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x500b(0xb3),'alignItems':_0x500b(0xb4),'marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x500b(0xb1)},'securityCardSuccess':{'backgroundColor':_0x500b(0xb6),'borderColor':_0x500b(0xb7)},'securityCardError':{'backgroundColor':_0x500b(0xb8),'borderColor':_0x500b(0xb9)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':'600','color':COLORS[_0x500b(0xad)],'marginBottom':0x4,'fontFamily':'Inter'},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x500b(0x90)],'lineHeight':0x12,'fontFamily':'Inter'},'buttonContainer':{'marginTop':'auto','paddingBottom':0x22},'continueButton':{'backgroundColor':_0x500b(0xb1),'borderRadius':0x19,'paddingVertical':0x10,'alignItems':'center','justifyContent':_0x500b(0xb4)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x500b(0xb2),'color':_0x500b(0xba),'fontFamily':_0x500b(0xaf)},'continueButtonTextActive':{'color':_0x500b(0x2a)}});export{PinCreationScreen};function _0x8810(){const _0x5f470e=['krZeN','KVnUJ','available','unavailable','🔐\x20Starting\x20PIN\x20creation\x20process...','KtQnz','NDsrx','storing','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','VKfbD','wXYpO','✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','success','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','❌\x20PIN\x20storage\x20verification\x20failed','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','Face\x20ID\x20Setup','Try\x20Again','Continue\x20Without\x20Face\x20ID','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','kkxQa','JqSHq','❌\x20Error\x20in\x20PIN\x20creation\x20process:','PIN\x20Creation\x20Error','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','📱\x20Biometric\x20availability\x20check:','fCuFJ','❌\x20Error\x20checking\x20biometric\x20availability:','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','checking','small','PIN\x20Secured\x20with\x20Face\x20ID','Face\x20ID\x20Setup\x20Failed','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','#FFFFFF','gqgxo','SwVNb','BBTaa','LemFi','tISGh','UKYRN','aFsTd','pOCRY','length','test','values','every','dAddF','QzOKa','ERROR','alert','Invalid\x20PIN','TRNyx','DZNlc','uymlf','jYJCh','NNWfd','BUTTON_PRESS','log','lPESI','uwknR','ZkMZC','JcoCo','isBiometricAvailable','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','Mxfso','WFgBS','SSVjN','fEfoq','EQjjg','QZFsU','isPinStored','wgZoC','SUCCESS','PGSXy','bnnjG','3|1|4|0|2','split','EZnVa','error','mkKhd','EFMXj','TXOQN','NnQnD','VhUEp','TaKbz','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','TmGSM','PGeay','MVIEq','TtMrL','zxxFT','lQBrC','ctYBJ','nNgen','xnNwa','bKOTz','aLVWt','ngfMV','stmjD','zJWDv','HjfCr','hNPgq','RAzGV','TuPtT','ThAuT','hpjNs','tLPkr','XNyKu','pOvob','createElement','container','titleContainer','title','subtitle','pinInput','kWgew','requirementsTitle','QMObJ','requirementItem','checkbox','checkboxChecked','checkmark','requirementText','requirementTextMet','Muodn','uppercase','Contain\x20an\x20uppercase\x20letter.','number','Contain\x20a\x20number.','symbol','securityCard','cpfRA','securityCardSuccess','securityCardError','securityIconContainer','grey600','ELYwV','vsBZe','WWPfH','securityIcon','securityTextContainer','securityTitle','HOtUQ','Checking\x20Face\x20ID...','lsTlA','Enhanced\x20Security','Face\x20ID\x20Unavailable','SYexk','WLFom','securityDescription','NYPTd','izRFY','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','ShbDq','sdxKm','buttonContainer','continueButton','continueButtonActive','ZBxQP','CENwv','continueButtonText','continueButtonTextActive','create','surface','grey800','IBM\x20Plex\x20Sans','Inter','#F8F9FA','#E5E5E5','600','row','center','bold','#F0FDF4','#22C55E','#FEF2F2','#EF4444','#999999'];_0x8810=function(){return _0x5f470e;};return _0x8810();}export default PinCreationScreen;
|
|
1
|
+
import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';function _0x45e3(_0xccf9f7,_0x45e35d){_0xccf9f7=_0xccf9f7-0x0;const _0x2abc4c=_0xccf9();let _0x10f2f3=_0x2abc4c[_0xccf9f7];return _0x10f2f3;}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';function _0xccf9(){const _0x349c31=['available','MRWZP','YMUpf','Invalid\x20PIN','Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','🔐\x20Starting\x20PIN\x20creation\x20process...','storing','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','YkTKo','error','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','Continue\x20Without\x20Face\x20ID','❌\x20Error\x20in\x20PIN\x20creation\x20process:','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','JkWHk','checking','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20an\x20uppercase\x20letter.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','#D4A536','Checking\x20Face\x20ID...','Enhanced\x20Security','PIN\x20Secured\x20with\x20Face\x20ID','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','Continue','lqILK','SEIML','iFGAc','length','test','jMIpg','values','every','Omisx','ppoyE','lwTFG','nABEZ','eAzxz','bhOjA','IGkjn','alert','zdJwV','BUTTON_PRESS','log','yiIpZ','📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','QNoBW','sgtVB','isBiometricAvailable','XDwFw','hzQeP','LxSvW','storePinWithBiometric','lYqHn','isPinStored','mKgzx','LtyAd','SUCCESS','AxybF','ZqenW','mjTfy','gzeEO','LSshz','szmjg','❌\x20PIN\x20storage\x20verification\x20failed','hcKmJ','hhVdt','ERROR','PIN\x20Storage\x20Error','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','zWWBO','RjDGn','DYIOp','Try\x20Again','taBRM','SrYRZ','ANHqs','COSHh','XiGjt','yhVNN','iacbv','WhWmp','ElGmA','unavailable','📱\x20Biometric\x20availability\x20check:','wjuLy','RvXvz','lEJml','qDuCB','wtbWX','LkeEP','TqoCY','createElement','container','titleContainer','title','Create\x20a\x20PIN','MqNQm','pinContainer','pinInput','UgGlO','GROFq','requirementItem','checkbox','checkmark','requirementText','requirementTextMet','QBRHi','uppercase','number','Contain\x20a\x20number.','symbol','checkboxChecked','securityCard','securityCardSuccess','securityCardError','securityIconContainer','zqdbi','small','grey600','ZBzBI','nHHFA','WYdMM','securityIcon','NzqVm','securityTextContainer','securityTitle','WoxZo','OIWYF','bkUsv','EZPSd','UgImM','zRHME','AwukW','fXMnX','bAtBy','WfPoy','lTKnF','rpTsa','UiyvR','CTgyN','rsOZs','buttonContainer','continueButton','continueButtonActive','BtTYB','VxkKe','create','surface','700','grey800','IBM\x20Plex\x20Sans','Inter','#F8F9FA','600','row','center','#E5E5E5','#4CD964','#FFFFFF','bold','#F0FDF4','#22C55E','#FEF2F2','auto','#999999'];_0xccf9=function(){return _0x349c31;};return _0xccf9();}import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x37739e,onComplete:_0x4f09e6,onBack:_0x33d5a0})=>{const _0x2c687c={'iFGAc':function(_0x2fc180,_0x110098){return _0x2fc180>=_0x110098;},'jMIpg':function(_0x510639,_0x542a39){return _0x510639(_0x542a39);},'lwTFG':function(_0x805a05,_0x203c7b){return _0x805a05(_0x203c7b);},'nABEZ':function(_0x19580a,_0x427dc6){return _0x19580a(_0x427dc6);},'eAzxz':_0x45e3(0x0),'Omisx':function(_0x442e9d,_0x1c851f){return _0x442e9d===_0x1c851f;},'RMYgx':'ppoyE','LSshz':function(_0x40b127,_0x175c6c){return _0x40b127(_0x175c6c);},'LdhLp':function(_0x57ef3d,_0x5ad44a){return _0x57ef3d>=_0x5ad44a;},'ZqenW':function(_0x354dda,_0x9a8b78){return _0x354dda!==_0x9a8b78;},'mjTfy':_0x45e3(0x1),'SrYRZ':function(_0x348f6f,_0x2d1060){return _0x348f6f(_0x2d1060);},'zWWBO':function(_0x2f7ead,_0x15d886){return _0x2f7ead(_0x15d886);},'WEmJw':function(_0x22ebf1,_0x2380e3){return _0x22ebf1(_0x2380e3);},'YvLAK':function(_0x394746,_0x4941f3){return _0x394746(_0x4941f3);},'bhOjA':_0x45e3(0x2),'IGkjn':function(_0x50e401,_0x538255){return _0x50e401(_0x538255);},'TqoCY':_0x45e3(0x3),'zdJwV':_0x45e3(0x4),'yiIpZ':_0x45e3(0x5),'QNoBW':function(_0x2274b9,_0x328497){return _0x2274b9(_0x328497);},'zRHME':_0x45e3(0x6),'sgtVB':'🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','XDwFw':_0x45e3(0x7),'FKcKA':_0x45e3(0x8),'hzQeP':'unavailable','SEIML':function(_0x597ff1,_0xfdf7ac){return _0x597ff1(_0xfdf7ac);},'LxSvW':_0x45e3(0x9),'lYqHn':_0x45e3(0xa),'pGMJF':_0x45e3(0xb),'mKgzx':'success','LtyAd':function(_0x270536,_0x2433fa){return _0x270536(_0x2433fa);},'AxybF':function(_0x4860ed,_0x7e2d51,_0x1759e5){return _0x4860ed(_0x7e2d51,_0x1759e5);},'hcKmJ':function(_0x4e5221,_0x10e3e0){return _0x4e5221(_0x10e3e0);},'XiGjt':_0x45e3(0xc),'hhVdt':function(_0x34b71d,_0x28ffc3){return _0x34b71d(_0x28ffc3);},'UybJb':function(_0x45a94e,_0x58b887){return _0x45a94e(_0x58b887);},'RjDGn':'Face\x20ID\x20Setup','DYIOp':_0x45e3(0xd),'sDtJY':_0x45e3(0xe),'ANHqs':'📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','ZfmLQ':function(_0x2d90f6,_0x417e73){return _0x2d90f6(_0x417e73);},'COSHh':_0x45e3(0xf),'yhVNN':function(_0x3a624d,_0x5b23ce){return _0x3a624d(_0x5b23ce);},'iacbv':_0x45e3(0x10),'WhWmp':function(_0x594411,_0x16d746){return _0x594411(_0x16d746);},'LkeEP':function(_0x39e08c){return _0x39e08c();},'ElGmA':function(_0x208e2c,_0x2d3330){return _0x208e2c(_0x2d3330);},'KeslB':function(_0x49cacf,_0x4b8b6f){return _0x49cacf(_0x4b8b6f);},'UgImM':function(_0x4abe71,_0x21b87e){return _0x4abe71===_0x21b87e;},'wjuLy':_0x45e3(0x11),'RvXvz':'FPPRB','fgmcn':function(_0x18705d,_0x5f2199){return _0x18705d(_0x5f2199);},'wtbWX':'MGBjQ','lqILK':function(_0x7bb7f9,_0x129460){return _0x7bb7f9(_0x129460);},'zqdbi':_0x45e3(0x12),'MqNQm':_0x45e3(0x13),'UgGlO':'Enter\x20your\x20PIN','GROFq':'Your\x20PIN\x20must:','QBRHi':_0x45e3(0x14),'mYzfW':_0x45e3(0x15),'WSZPp':_0x45e3(0x16),'ZBzBI':function(_0x460c55,_0x1dcdb0){return _0x460c55===_0x1dcdb0;},'nHHFA':'small','WYdMM':_0x45e3(0x17),'NzqVm':function(_0x48c159,_0x4b7a75){return _0x48c159===_0x4b7a75;},'WoxZo':_0x45e3(0x18),'OIWYF':_0x45e3(0x19),'bkUsv':function(_0x52c440,_0x62a13b){return _0x52c440===_0x62a13b;},'EZPSd':'Face\x20ID\x20Unavailable','AwukW':'Securing\x20with\x20Face\x20ID...','fXMnX':function(_0x4a54fc,_0x59315e){return _0x4a54fc===_0x59315e;},'bAtBy':_0x45e3(0x1a),'WfPoy':'Face\x20ID\x20Setup\x20Failed','lTKnF':_0x45e3(0x1b),'rpTsa':_0x45e3(0x1c),'sBdpi':_0x45e3(0x1d),'UiyvR':_0x45e3(0x1e),'CTgyN':function(_0x30405d,_0x55f62f){return _0x30405d===_0x55f62f;},'rsOZs':'Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','BtTYB':function(_0x4bdeb6,_0x4c1ce5){return _0x4bdeb6||_0x4c1ce5;},'VxkKe':'#FFFFFF','DSTBd':_0x45e3(0x1f)},[_0x4db3b7,_0x1e7acf]=_0x2c687c[_0x45e3(0x20)](useState,''),[_0x2e8e51,_0x23e750]=_0x2c687c['LtyAd'](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x4db090,_0x28b3e9]=_0x2c687c[_0x45e3(0x21)](useState,![]),[_0x1f871f,_0x4e8299]=useState(![]),[_0x311807,_0x5af98b]=useState(_0x2c687c['zqdbi']),_0x428dc7=_0x55bc7a=>{const _0x103947={'length':_0x2c687c[_0x45e3(0x22)](_0x55bc7a[_0x45e3(0x23)],0x8),'uppercase':/[A-Z]/['test'](_0x55bc7a),'number':/[0-9]/[_0x45e3(0x24)](_0x55bc7a),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x45e3(0x24)](_0x55bc7a)};return _0x2c687c[_0x45e3(0x25)](_0x23e750,_0x103947),Object[_0x45e3(0x26)](_0x103947)[_0x45e3(0x27)](_0x32ec2c=>_0x32ec2c);},_0x55f67c=_0x304223=>{_0x2c687c[_0x45e3(0x28)](_0x2c687c['RMYgx'],_0x45e3(0x29))?(_0x2c687c['LSshz'](_0x1e7acf,_0x304223),_0x428dc7(_0x304223)):(_0x2c687c[_0x45e3(0x2a)](_0x1e09df,![]),_0x2c687c[_0x45e3(0x2b)](_0x422a69,_0x2c687c['eAzxz']));},_0x159298=async()=>{const _0x2c784e={'szmjg':function(_0x4cda66,_0x1c0dce){return _0x2c687c['WEmJw'](_0x4cda66,_0x1c0dce);},'TGYAa':function(_0x2544ea,_0x88bb13){return _0x2c687c['YvLAK'](_0x2544ea,_0x88bb13);},'taBRM':_0x2c687c[_0x45e3(0x2c)]};if(_0x2c687c[_0x45e3(0x28)](_0x2c687c[_0x45e3(0x2d)],_0x2c687c[_0x45e3(0x2d)])){if(!_0x2c687c[_0x45e3(0x2a)](_0x428dc7,_0x4db3b7)){_0x2c687c[_0x45e3(0x2e)](triggerHaptic,HapticType['ERROR']),Alert[_0x45e3(0x2f)](_0x2c687c['TqoCY'],_0x2c687c[_0x45e3(0x30)]);return;}_0x2c687c[_0x45e3(0x2a)](triggerHaptic,HapticType[_0x45e3(0x31)]),_0x2c687c['zWWBO'](_0x28b3e9,!![]);try{console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x33)]),_0x2c687c['jMIpg'](setTemporaryPin,_0x4db3b7),console[_0x45e3(0x32)](_0x45e3(0x34));if(_0x1f871f){_0x2c687c[_0x45e3(0x35)](_0x5af98b,_0x2c687c['zRHME']),console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x36)]);const _0x102e7c=await biometricPinService[_0x45e3(0x37)]();console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x38)],_0x102e7c);if(!_0x102e7c){console['error'](_0x2c687c['FKcKA']),_0x2c687c['SrYRZ'](_0x5af98b,_0x2c687c[_0x45e3(0x39)]),_0x2c687c[_0x45e3(0x21)](_0x28b3e9,![]);return;}console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x3a)]);const _0x3444b3=await biometricPinService[_0x45e3(0x3b)](_0x4db3b7);if(_0x3444b3){console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x3c)]);const _0x30f1d7=await biometricPinService[_0x45e3(0x3d)]();_0x30f1d7?_0x2c687c[_0x45e3(0x28)](_0x2c687c['pGMJF'],'YkTKo')?(console[_0x45e3(0x32)]('✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding'),_0x5af98b(_0x2c687c[_0x45e3(0x3e)]),_0x2c687c[_0x45e3(0x3f)](triggerHaptic,HapticType[_0x45e3(0x40)]),_0x2c687c[_0x45e3(0x41)](setTimeout,()=>{const _0x93c42={'SYkqy':function(_0x1acd63,_0x5183ba){return _0x2c687c['LdhLp'](_0x1acd63,_0x5183ba);},'gzeEO':function(_0x552b82,_0x41b860){return _0x2c687c[_0x45e3(0x2b)](_0x552b82,_0x41b860);}};if(_0x2c687c[_0x45e3(0x42)](_0x2c687c[_0x45e3(0x43)],_0x2c687c[_0x45e3(0x43)])){const _0x4f7301={'length':_0x93c42['SYkqy'](_0x5ac1be[_0x45e3(0x23)],0x8),'uppercase':/[A-Z]/[_0x45e3(0x24)](_0x3786fd),'number':/[0-9]/['test'](_0x18af6e),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x45e3(0x24)](_0x5a73c4)};return _0x93c42[_0x45e3(0x44)](_0xb0023e,_0x4f7301),_0x5a17a7[_0x45e3(0x26)](_0x4f7301)['every'](_0x2c085b=>_0x2c085b);}else _0x28b3e9(![]),_0x2c687c[_0x45e3(0x45)](_0x4f09e6,_0x4db3b7);},0x320)):(_0x2c784e[_0x45e3(0x46)](_0x246cca,![]),_0x2c784e[_0x45e3(0x46)](_0x2660ff,_0xcb70ca)):(console['error'](_0x45e3(0x47)),_0x2c687c[_0x45e3(0x48)](_0x5af98b,_0x2c687c['XiGjt']),_0x2c687c[_0x45e3(0x49)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x2a)](triggerHaptic,HapticType[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x45e3(0x4b),_0x45e3(0x4c),[{'text':'OK'}]));}else console['log']('⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed'),_0x2c687c[_0x45e3(0x4d)](_0x5af98b,_0x2c687c['XiGjt']),_0x2c687c['UybJb'](triggerHaptic,HapticType[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x2c687c[_0x45e3(0x4e)],_0x2c687c[_0x45e3(0x4f)],[{'text':_0x45e3(0x50),'onPress':()=>{_0x2c784e['TGYAa'](_0x28b3e9,![]),_0x2c784e[_0x45e3(0x46)](_0x5af98b,_0x2c784e[_0x45e3(0x51)]);}},{'text':_0x2c687c['sDtJY'],'onPress':()=>{_0x2c687c[_0x45e3(0x25)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x52)](_0x4f09e6,_0x4db3b7);}}]);}else console[_0x45e3(0x32)](_0x2c687c[_0x45e3(0x53)]),_0x2c687c[_0x45e3(0x48)](_0x5af98b,_0x2c687c[_0x45e3(0x39)]),_0x2c687c[_0x45e3(0x25)](_0x28b3e9,![]),_0x2c687c['ZfmLQ'](_0x4f09e6,_0x4db3b7);}catch(_0x2a2593){console[_0x45e3(0xc)](_0x2c687c[_0x45e3(0x54)],_0x2a2593),_0x5af98b(_0x2c687c[_0x45e3(0x55)]),_0x2c687c[_0x45e3(0x56)](_0x28b3e9,![]),_0x2c687c[_0x45e3(0x45)](triggerHaptic,HapticType['ERROR']),Alert[_0x45e3(0x2f)]('PIN\x20Creation\x20Error',_0x2c687c[_0x45e3(0x57)],[{'text':'OK'}]);}}else _0x2c687c[_0x45e3(0x4d)](_0x3005bd,_0x4f2aa9[_0x45e3(0x31)]),_0x2554dc();},_0x4ed6c3=()=>{_0x2c687c[_0x45e3(0x58)](triggerHaptic,HapticType[_0x45e3(0x31)]),_0x2c687c['LkeEP'](_0x33d5a0);};useEffect(()=>{const _0x3e68a1={'lEJml':function(_0x1240aa,_0x332f78){return _0x2c687c['fgmcn'](_0x1240aa,_0x332f78);}},_0x56e915=async()=>{try{_0x2c687c[_0x45e3(0x59)](_0x5af98b,'checking');const _0x265413=await biometricPinService[_0x45e3(0x37)]();_0x2c687c['KeslB'](_0x4e8299,_0x265413),_0x2c687c[_0x45e3(0x58)](_0x5af98b,_0x265413?_0x2c687c[_0x45e3(0x2c)]:_0x45e3(0x5a)),console[_0x45e3(0x32)](_0x45e3(0x5b),_0x265413);}catch(_0x2e8e66){_0x2c687c['UgImM'](_0x2c687c[_0x45e3(0x5c)],_0x2c687c[_0x45e3(0x5d)])?(_0x45710d(_0x4fa30b),_0x3e68a1[_0x45e3(0x5e)](_0xeae755,_0x59c0b7)):(console[_0x45e3(0xc)]('❌\x20Error\x20checking\x20biometric\x20availability:',_0x2e8e66),_0x2c687c[_0x45e3(0x2e)](_0x4e8299,![]),_0x2c687c[_0x45e3(0x59)](_0x5af98b,_0x2c687c[_0x45e3(0x39)]));}};if(_0x37739e){if(_0x45e3(0x5f)!==_0x2c687c[_0x45e3(0x60)])_0x2c687c[_0x45e3(0x61)](_0x56e915);else{_0x2c687c[_0x45e3(0x56)](_0xe63dff,_0x5c66d5[_0x45e3(0x4a)]),Alert[_0x45e3(0x2f)](_0x2c687c[_0x45e3(0x62)],_0x2c687c['zdJwV']);return;}}},[_0x37739e]);const _0x22b6a1=Object[_0x45e3(0x26)](_0x2e8e51)['every'](_0x4c15f1=>_0x4c15f1);if(!_0x37739e)return null;return React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x64)]},React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x65)]},React['createElement'](Text,{'style':styles[_0x45e3(0x66)]},_0x45e3(0x67)),React[_0x45e3(0x63)](Text,{'style':styles['subtitle']},_0x2c687c[_0x45e3(0x68)])),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x69)]},React[_0x45e3(0x63)](TextInput,{'style':styles[_0x45e3(0x6a)],'value':_0x4db3b7,'onChangeText':_0x55f67c,'placeholder':_0x2c687c[_0x45e3(0x6b)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React[_0x45e3(0x63)](View,{'style':styles['requirementsContainer']},React[_0x45e3(0x63)](Text,{'style':styles['requirementsTitle']},_0x2c687c[_0x45e3(0x6c)]),React['createElement'](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x6e)],_0x2e8e51[_0x45e3(0x23)]&&styles['checkboxChecked']]},_0x2e8e51[_0x45e3(0x23)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React[_0x45e3(0x63)](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51[_0x45e3(0x23)]&&styles[_0x45e3(0x71)]]},_0x2c687c[_0x45e3(0x72)])),React['createElement'](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles['checkbox'],_0x2e8e51[_0x45e3(0x73)]&&styles['checkboxChecked']]},_0x2e8e51[_0x45e3(0x73)]&&React[_0x45e3(0x63)](Text,{'style':styles['checkmark']},'✓')),React['createElement'](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51[_0x45e3(0x73)]&&styles['requirementTextMet']]},_0x2c687c['mYzfW'])),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x6d)]},React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x6e)],_0x2e8e51[_0x45e3(0x74)]&&styles['checkboxChecked']]},_0x2e8e51['number']&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React[_0x45e3(0x63)](Text,{'style':[styles['requirementText'],_0x2e8e51[_0x45e3(0x74)]&&styles['requirementTextMet']]},_0x45e3(0x75))),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x6d)]},React['createElement'](View,{'style':[styles['checkbox'],_0x2e8e51[_0x45e3(0x76)]&&styles[_0x45e3(0x77)]]},_0x2e8e51[_0x45e3(0x76)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x6f)]},'✓')),React['createElement'](Text,{'style':[styles[_0x45e3(0x70)],_0x2e8e51['symbol']&&styles[_0x45e3(0x71)]]},_0x2c687c['WSZPp']))),React[_0x45e3(0x63)](View,{'style':[styles[_0x45e3(0x78)],_0x2c687c['Omisx'](_0x311807,_0x2c687c[_0x45e3(0x3e)])&&styles[_0x45e3(0x79)],_0x2c687c[_0x45e3(0x28)](_0x311807,_0x2c687c['XiGjt'])&&styles[_0x45e3(0x7a)]]},React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x7b)]},_0x311807===_0x2c687c[_0x45e3(0x7c)]&&React[_0x45e3(0x63)](ActivityIndicator,{'size':_0x45e3(0x7d),'color':COLORS[_0x45e3(0x7e)]}),_0x2c687c[_0x45e3(0x7f)](_0x311807,_0x2c687c['zRHME'])&&React[_0x45e3(0x63)](ActivityIndicator,{'size':_0x2c687c[_0x45e3(0x80)],'color':_0x2c687c[_0x45e3(0x81)]}),_0x311807==='available'&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x82)]},'🔐'),_0x311807===_0x2c687c[_0x45e3(0x39)]&&React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x82)]},'⚠️'),_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c['mKgzx'])&&React['createElement'](Text,{'style':styles[_0x45e3(0x82)]},'✅'),_0x2c687c[_0x45e3(0x7f)](_0x311807,_0x2c687c['XiGjt'])&&React[_0x45e3(0x63)](Text,{'style':styles['securityIcon']},'❌')),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x84)]},React[_0x45e3(0x63)](Text,{'style':styles[_0x45e3(0x85)]},_0x2c687c[_0x45e3(0x28)](_0x311807,_0x2c687c[_0x45e3(0x7c)])&&_0x2c687c[_0x45e3(0x86)],_0x2c687c['UgImM'](_0x311807,_0x2c687c['eAzxz'])&&_0x2c687c[_0x45e3(0x87)],_0x2c687c[_0x45e3(0x88)](_0x311807,_0x2c687c['hzQeP'])&&_0x2c687c[_0x45e3(0x89)],_0x2c687c[_0x45e3(0x8a)](_0x311807,_0x2c687c[_0x45e3(0x8b)])&&_0x2c687c[_0x45e3(0x8c)],_0x2c687c[_0x45e3(0x8d)](_0x311807,_0x2c687c['mKgzx'])&&_0x2c687c[_0x45e3(0x8e)],_0x2c687c[_0x45e3(0x8a)](_0x311807,_0x45e3(0xc))&&_0x2c687c[_0x45e3(0x8f)]),React[_0x45e3(0x63)](Text,{'style':styles['securityDescription']},_0x311807===_0x2c687c[_0x45e3(0x7c)]&&'Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.',_0x2c687c['NzqVm'](_0x311807,_0x2c687c[_0x45e3(0x2c)])&&_0x2c687c[_0x45e3(0x90)],_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c[_0x45e3(0x39)])&&_0x2c687c[_0x45e3(0x91)],_0x2c687c[_0x45e3(0x88)](_0x311807,_0x45e3(0x6))&&_0x2c687c['sBdpi'],_0x2c687c[_0x45e3(0x83)](_0x311807,_0x2c687c[_0x45e3(0x3e)])&&_0x2c687c[_0x45e3(0x92)],_0x2c687c[_0x45e3(0x93)](_0x311807,_0x2c687c[_0x45e3(0x55)])&&_0x2c687c[_0x45e3(0x94)]))),React[_0x45e3(0x63)](View,{'style':styles[_0x45e3(0x95)]},React[_0x45e3(0x63)](TouchableOpacity,{'style':[styles[_0x45e3(0x96)],_0x22b6a1&&styles[_0x45e3(0x97)]],'onPress':_0x159298,'disabled':_0x2c687c[_0x45e3(0x98)](!_0x22b6a1,_0x4db090)},_0x4db090?React['createElement'](ActivityIndicator,{'size':_0x45e3(0x7d),'color':_0x2c687c[_0x45e3(0x99)]}):React[_0x45e3(0x63)](Text,{'style':[styles['continueButtonText'],_0x22b6a1&&styles['continueButtonTextActive']]},_0x2c687c['DSTBd']))));},styles=StyleSheet[_0x45e3(0x9a)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x45e3(0x9b)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':'center','marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x45e3(0x9c),'color':COLORS[_0x45e3(0x9d)],'marginBottom':0x8,'fontFamily':_0x45e3(0x9e)},'subtitle':{'fontSize':0x10,'color':COLORS[_0x45e3(0x7e)],'lineHeight':0x18,'fontFamily':_0x45e3(0x9f)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x45e3(0xa0),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':'Inter','borderWidth':0x1,'borderColor':'#E5E5E5'},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x45e3(0xa1),'color':COLORS['grey800'],'marginBottom':0x10,'fontFamily':_0x45e3(0x9f)},'requirementItem':{'flexDirection':_0x45e3(0xa2),'alignItems':_0x45e3(0xa3),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x45e3(0xa4),'marginRight':0xc,'alignItems':_0x45e3(0xa3),'justifyContent':'center'},'checkboxChecked':{'borderColor':_0x45e3(0xa5),'backgroundColor':_0x45e3(0xa5)},'checkmark':{'color':_0x45e3(0xa6),'fontSize':0xc,'fontWeight':_0x45e3(0xa7)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x45e3(0x7e)],'fontFamily':_0x45e3(0x9f),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x45e3(0x9d)]},'securityCard':{'backgroundColor':_0x45e3(0xa0),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x45e3(0xa2),'alignItems':_0x45e3(0xa3),'marginBottom':0x18,'borderWidth':0x1,'borderColor':'#E5E5E5'},'securityCardSuccess':{'backgroundColor':_0x45e3(0xa8),'borderColor':_0x45e3(0xa9)},'securityCardError':{'backgroundColor':_0x45e3(0xaa),'borderColor':'#EF4444'},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x45e3(0xa1),'color':COLORS[_0x45e3(0x9d)],'marginBottom':0x4,'fontFamily':_0x45e3(0x9f)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x45e3(0x7e)],'lineHeight':0x12,'fontFamily':_0x45e3(0x9f)},'buttonContainer':{'marginTop':_0x45e3(0xab),'paddingBottom':0x22},'continueButton':{'backgroundColor':_0x45e3(0xa4),'borderRadius':0x19,'paddingVertical':0x10,'alignItems':_0x45e3(0xa3),'justifyContent':_0x45e3(0xa3)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x45e3(0xa1),'color':_0x45e3(0xac),'fontFamily':_0x45e3(0x9f)},'continueButtonTextActive':{'color':'#FFFFFF'}});export{PinCreationScreen};export default PinCreationScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useState,useCallback}from'react';import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';import{biometricPinService}from'../services/biometricPinService';function _0x540c(_0x48f0a5,_0x540c4e){_0x48f0a5=_0x48f0a5-0x0;const _0x3b409a=_0x48f0();let _0x3ebbc1=_0x3b409a[_0x48f0a5];return _0x3ebbc1;}const {width}=Dimensions['get'](_0x540c(0x0));export const PinInput=({onSubmit:_0x15f173,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x4a2d34,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x5e2b19,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText='Training\x20is\x20starting\x20in\x20the\x20background...'})=>{const _0x1e7967={'MarlL':function(_0x4bab3c,_0x54de96){return _0x4bab3c(_0x54de96);},'rxJVR':_0x540c(0x1),'RpgNX':function(_0x2d2bf7,_0x10ce51){return _0x2d2bf7!==_0x10ce51;},'aZhdY':_0x540c(0x2),'lUiAV':_0x540c(0x3),'MLcUG':function(_0x2234de,_0x2c7d45){return _0x2234de(_0x2c7d45);},'VDQzi':function(_0x5d2e23,_0x32c76c){return _0x5d2e23&&_0x32c76c;},'mYPiz':function(_0x71784e,_0x5124d9){return _0x71784e(_0x5124d9);},'LRBZD':function(_0x1148e7,_0x407756){return _0x1148e7<_0x407756;},'MdIWA':_0x540c(0x4),'WxQGl':'PIN\x20must\x20include\x20a\x20number','lJfTZ':function(_0x22f7a0,_0x4cb859){return _0x22f7a0(_0x4cb859);},'jorjs':function(_0xde0a36){return _0xde0a36();},'UbyIN':function(_0x50f7d8,_0x53c87a){return _0x50f7d8===_0x53c87a;},'OzrdL':'DzbPj','miXVq':_0x540c(0x5),'yHgdL':function(_0x52217b,_0x36e38e){return _0x52217b(_0x36e38e);},'vZMfK':function(_0x3b4ea6,_0x1caf80){return _0x3b4ea6(_0x1caf80);},'EcBCG':function(_0x17edae,_0x4f7e41){return _0x17edae(_0x4f7e41);},'YXIiU':function(_0x1505af,_0x56f3cc){return _0x1505af(_0x56f3cc);},'kwvzG':_0x540c(0x6),'PwrXA':function(_0xf62cde,_0x30e0e8){return _0xf62cde(_0x30e0e8);},'IqBKb':function(_0x204528,_0x3deca4){return _0x204528!==_0x3deca4;},'lkguT':_0x540c(0x7),'qFYsz':function(_0x439676,_0x2f00e6){return _0x439676===_0x2f00e6;},'GFhQN':_0x540c(0x8),'MQMbX':function(_0xef1290,_0x30ec1a){return _0xef1290(_0x30ec1a);},'ASfgV':function(_0x9d7bed,_0x20c7c0){return _0x9d7bed(_0x20c7c0);},'bILky':_0x540c(0x9),'JcukD':function(_0x1e1e84,_0x389237){return _0x1e1e84(_0x389237);},'aKouE':_0x540c(0xa),'XrFiw':function(_0x24a7a2,_0x3c0a60){return _0x24a7a2(_0x3c0a60);},'miUPM':function(_0x3ed978,_0x395c66){return _0x3ed978(_0x395c66);},'GxwVw':_0x540c(0xb),'fDWaq':_0x540c(0xc),'YWxIc':_0x540c(0xd),'QNFUr':'Biometric\x20Authentication\x20Failed','pWakU':_0x540c(0xe),'JQLcr':_0x540c(0xf),'KlBqb':_0x540c(0x10),'nUMhY':_0x540c(0x11),'jybWJ':function(_0x5e6f26,_0x2d08e9){return _0x5e6f26(_0x2d08e9);},'gcofn':function(_0x5dc256,_0x1b356d){return _0x5dc256(_0x1b356d);},'siXDt':function(_0x5f1d12,_0x7b60df){return _0x5f1d12(_0x7b60df);},'fcayP':function(_0x42e2ac,_0x20fd2e){return _0x42e2ac(_0x20fd2e);},'NIfTU':function(_0x36a35a,_0x140bec,_0xa845a0){return _0x36a35a(_0x140bec,_0xa845a0);},'ojZof':function(_0x405756,_0x1744a3,_0x2a112e){return _0x405756(_0x1744a3,_0x2a112e);},'giKQf':function(_0xe70533,_0x302632,_0x2b2973){return _0xe70533(_0x302632,_0x2b2973);},'kxSYS':function(_0x393c31){return _0x393c31();},'VJIAq':_0x540c(0x12),'WZdmc':function(_0x441b34,_0x40897f){return _0x441b34&&_0x40897f;},'xMwju':'small','lkfqt':_0x540c(0x13),'JeXgr':_0x540c(0x14),'RwpWP':_0x540c(0x15),'qGIxn':'👁️','FpPDm':_0x540c(0x16),'eTvbo':function(_0x168695,_0x1fb326){return _0x168695>=_0x1fb326;},'iMjZN':_0x540c(0x17),'byvNX':_0x540c(0x18),'DIhKN':_0x540c(0x19),'wHpuC':function(_0x20003d,_0x24981d){return _0x20003d===_0x24981d;},'wEpNf':function(_0x1fcd3e,_0x3c32ab){return _0x1fcd3e===_0x3c32ab;},'chIjv':function(_0x1a7ac9,_0x465ea8){return _0x1a7ac9===_0x465ea8;},'WsjeD':_0x540c(0x1a),'xobor':'Back','BFkPQ':function(_0x5101ab,_0x562c4b){return _0x5101ab||_0x562c4b;},'hqnHp':function(_0x84e60e,_0x1953fe){return _0x84e60e(_0x1953fe);},'SlZfv':'Continue'},[_0x23dfb6,_0x5d681a]=_0x1e7967['jybWJ'](useState,''),[_0x1dd3a8,_0x26d9af]=_0x1e7967[_0x540c(0x1b)](useState,null),[_0x4106fa,_0x11d7a7]=_0x1e7967[_0x540c(0x1c)](useState,![]),[_0x1408c2,_0x2e9720]=useState(![]),[_0x2a5ffb,_0x3a5cf2]=_0x1e7967[_0x540c(0x1d)](useState,'default'),[_0xe90878,_0x2889b5]=_0x1e7967[_0x540c(0x1e)](useState,![]);React[_0x540c(0x1f)](()=>{_0x1e7967[_0x540c(0x20)](_0x5e2b19,!_0xe90878)&&showBackgroundProgress&&(console[_0x540c(0x21)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x1e7967[_0x540c(0x22)](_0x2889b5,!![]),_0x5e2b19()[_0x540c(0x23)](_0x3a0e4a=>{const _0x2dd519={'iYnSP':function(_0x39f755,_0x38d082){return _0x1e7967[_0x540c(0x24)](_0x39f755,_0x38d082);},'XuxvS':_0x1e7967['rxJVR']};_0x1e7967['RpgNX'](_0x1e7967[_0x540c(0x25)],_0x1e7967['lUiAV'])?(console[_0x540c(0xe)]('\u274C [PIN INPUT] Background training failed:',_0x3a0e4a),_0x1e7967[_0x540c(0x26)](_0x2889b5,![])):(_0x512334[_0x540c(0x27)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x2dd519[_0x540c(0x28)](_0x3249e7,_0x2dd519[_0x540c(0x29)]),_0x2dd519[_0x540c(0x28)](_0x1b0522,![]));}));},[_0x5e2b19,_0xe90878,showBackgroundProgress]);const _0x1598d5=_0x1e7967['NIfTU'](useCallback,_0xf55afa=>{if(_0x1e7967[_0x540c(0x2a)](_0xf55afa['length'],minLength))return _0x540c(0x2b)+minLength+'\x20characters';if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x540c(0x2c)](_0xf55afa))return _0x1e7967[_0x540c(0x2d)];if(requireNumber&&!/\d/['test'](_0xf55afa))return _0x1e7967[_0x540c(0x2e)];return null;},[minLength,requireSpecialChar,requireNumber]),_0x1f71c8=_0x1e7967[_0x540c(0x2f)](useCallback,async()=>{const _0x3c6e87={'WxTII':function(_0x350763,_0x372031){return _0x1e7967['lJfTZ'](_0x350763,_0x372031);},'CXFuu':function(_0x5a5ffa){return _0x1e7967[_0x540c(0x30)](_0x5a5ffa);}};if(_0x1e7967['UbyIN'](_0x1e7967[_0x540c(0x31)],_0x1e7967[_0x540c(0x32)]))_0x57c77d&&!_0x3eabad&&_0x289bbd&&(_0x4f96a6[_0x540c(0x21)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x3c6e87[_0x540c(0x33)](_0x1708ec,!![]),_0x3c6e87[_0x540c(0x34)](_0x5a6435)['catch'](_0x5789ec=>{_0x4d74ce[_0x540c(0xe)]('\u274C [PIN INPUT] Background training failed:',_0x5789ec),_0x21b305(![]);}));else{console[_0x540c(0x21)]('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x23dfb6['length']);const _0x504b4e=_0x1e7967[_0x540c(0x35)](_0x1598d5,_0x23dfb6);if(_0x504b4e){console[_0x540c(0x21)]('\u274C [PIN INPUT] Validation failed:',_0x504b4e),_0x1e7967[_0x540c(0x36)](_0x26d9af,_0x504b4e);return;}console[_0x540c(0x21)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x540c(0x21)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x1e7967['EcBCG'](_0x2e9720,!![]),_0x1e7967['YXIiU'](_0x3a5cf2,_0x1e7967[_0x540c(0x37)]);try{const _0x4f68c1=await biometricPinService[_0x540c(0x38)]();console[_0x540c(0x21)]('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x4f68c1);if(!_0x4f68c1){console['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0x1e7967[_0x540c(0x39)](_0x3a5cf2,'biometric-unavailable'),_0x1e7967['PwrXA'](_0x2e9720,![]);return;}console[_0x540c(0x21)]('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x47f0e6=await biometricPinService[_0x540c(0x3a)](_0x23dfb6);if(_0x47f0e6){if(_0x1e7967[_0x540c(0x3b)](_0x540c(0x7),_0x1e7967[_0x540c(0x3c)]))return _0x540c(0x4);else{console[_0x540c(0x21)]('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x2b792f=await biometricPinService[_0x540c(0x3d)]();_0x2b792f?_0x1e7967['qFYsz'](_0x1e7967[_0x540c(0x3e)],_0x1e7967['GFhQN'])?(console[_0x540c(0x21)]('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x1e7967['MQMbX'](_0x15f173,_0x23dfb6)):(_0x4b3f40[_0x540c(0xe)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x594b1c(_0x540c(0x9)),_0x3480b0(![])):(console[_0x540c(0xe)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x1e7967['ASfgV'](_0x3a5cf2,_0x1e7967['bILky']),_0x1e7967[_0x540c(0x3f)](_0x2e9720,![]));}}else console[_0x540c(0x27)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x1e7967['YXIiU'](_0x3a5cf2,_0x1e7967['rxJVR']),_0x1e7967[_0x540c(0x39)](_0x2e9720,![]);}catch(_0x238592){console['error']('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x238592),_0x3a5cf2(_0x540c(0x9)),_0x1e7967['YXIiU'](_0x2e9720,![]);}}else console[_0x540c(0x21)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x1e7967[_0x540c(0x40)](_0x15f173,_0x23dfb6);}},[_0x23dfb6,_0x1598d5,_0x15f173,enableBiometricStorage]),_0x59e7c1=_0x1e7967[_0x540c(0x2f)](useCallback,_0xaf955e=>{_0x1e7967[_0x540c(0x41)](_0x5d681a,_0xaf955e),_0x1e7967['MLcUG'](_0x26d9af,null),_0x3a5cf2(_0x1e7967[_0x540c(0x42)]),console['log']('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0xaf955e[_0x540c(0x43)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x540c(0x2c)](_0xaf955e),'hasNumber':/\d/['test'](_0xaf955e),'isValid':!_0x1e7967['XrFiw'](_0x1598d5,_0xaf955e)});},[_0x1598d5]),_0x5a341f=_0x1e7967['NIfTU'](useCallback,()=>{console[_0x540c(0x27)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x15f173(_0x23dfb6);},[_0x23dfb6,_0x15f173]),_0x4e88cd=_0x1e7967['giKQf'](useCallback,()=>{_0x1e7967[_0x540c(0x44)](_0x3a5cf2,_0x1e7967['aKouE']),_0x1e7967[_0x540c(0x30)](_0x1f71c8);},[_0x1f71c8]),_0x4a389c=()=>{switch(_0x2a5ffb){case _0x1e7967[_0x540c(0x45)]:return{'title':_0x1e7967[_0x540c(0x46)],'message':_0x540c(0x47),'type':_0x1e7967[_0x540c(0x48)],'showActions':!![]};case _0x1e7967[_0x540c(0x49)]:return{'title':_0x1e7967[_0x540c(0x4a)],'message':_0x540c(0x4b),'type':_0x1e7967[_0x540c(0x48)],'showActions':!![]};case _0x1e7967[_0x540c(0x4c)]:return{'title':'Storage\x20Error','message':_0x540c(0x4d),'type':_0x1e7967[_0x540c(0x4e)],'showActions':!![]};case _0x1e7967['kwvzG']:return{'title':_0x540c(0x4f),'message':_0x1e7967[_0x540c(0x50)],'type':_0x1e7967[_0x540c(0x51)],'showActions':![]};default:return{'title':_0x1e7967[_0x540c(0x52)],'message':_0x540c(0x53),'type':_0x1e7967['KlBqb'],'showActions':![]};}},_0x4770ad=_0x1e7967[_0x540c(0x54)](_0x4a389c);return React['createElement'](View,{'style':styles['container']},React['createElement'](View,{'style':styles['inputSection']},React['createElement'](View,{'style':styles[_0x540c(0x55)]},_0x4a2d34&&React[_0x540c(0x56)](TouchableOpacity,{'style':styles[_0x540c(0x57)],'onPress':_0x4a2d34},React[_0x540c(0x56)](Text,{'style':{'fontSize':0x18}},'←')),React['createElement'](Text,{'style':styles[_0x540c(0x58)]},_0x1e7967[_0x540c(0x59)])),React[_0x540c(0x56)](Text,{'style':styles['subtitle']},_0x540c(0x5a)),_0x1e7967[_0x540c(0x5b)](showBackgroundProgress,_0xe90878)&&React[_0x540c(0x56)](View,{'style':styles[_0x540c(0x5c)]},React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0x5d)]},backgroundProgressText),React['createElement'](View,{'style':styles['backgroundProgressIndicator']},React[_0x540c(0x56)](ActivityIndicator,{'size':_0x1e7967[_0x540c(0x5e)],'color':_0x540c(0x5f)}))),React[_0x540c(0x56)](View,{'style':styles[_0x540c(0x60)]},React[_0x540c(0x56)](TextInput,{'style':styles[_0x540c(0x61)],'value':_0x23dfb6,'onChangeText':_0x59e7c1,'secureTextEntry':!_0x4106fa,'placeholder':_0x1e7967[_0x540c(0x62)],'keyboardType':_0x1e7967[_0x540c(0x42)],'maxLength':0x14,'autoCapitalize':_0x1e7967[_0x540c(0x63)],'autoCorrect':![],'returnKeyType':_0x1e7967[_0x540c(0x64)],'onSubmitEditing':()=>Keyboard['dismiss']()}),React['createElement'](TouchableOpacity,{'style':styles[_0x540c(0x65)],'onPress':()=>_0x11d7a7(!_0x4106fa)},React[_0x540c(0x56)](Text,null,_0x4106fa?_0x1e7967[_0x540c(0x66)]:_0x540c(0x67))))),_0x1dd3a8&&React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0xe)]},_0x1dd3a8),React[_0x540c(0x56)](View,{'style':styles[_0x540c(0x68)]},React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0x69)]},_0x1e7967[_0x540c(0x6a)]),React['createElement'](Text,{'style':[styles['requirement'],_0x1e7967[_0x540c(0x6b)](_0x23dfb6[_0x540c(0x43)],minLength)&&styles['requirementMet']]},_0x1e7967[_0x540c(0x6c)],minLength,_0x540c(0x6d)),requireSpecialChar&&React[_0x540c(0x56)](Text,{'style':[styles[_0x540c(0x6e)],/[!@#$%^&*(),.?":{}|<>]/[_0x540c(0x2c)](_0x23dfb6)&&styles[_0x540c(0x6f)]]},_0x1e7967[_0x540c(0x70)]),requireNumber&&React[_0x540c(0x56)](Text,{'style':[styles['requirement'],/\d/[_0x540c(0x2c)](_0x23dfb6)&&styles['requirementMet']]},_0x1e7967[_0x540c(0x71)])),React[_0x540c(0x56)](View,{'style':[styles['infoContainer'],_0x4770ad[_0x540c(0x72)]===_0x540c(0x10)&&styles[_0x540c(0x73)],_0x1e7967[_0x540c(0x74)](_0x4770ad['type'],_0x1e7967[_0x540c(0x48)])&&styles[_0x540c(0x75)],_0x1e7967[_0x540c(0x76)](_0x4770ad['type'],_0x1e7967['pWakU'])&&styles['infoContainerError']]},React['createElement'](Text,{'style':[styles[_0x540c(0x77)],_0x4770ad[_0x540c(0x72)]===_0x1e7967[_0x540c(0x51)]&&styles['infoTitleInfo'],_0x1e7967[_0x540c(0x78)](_0x4770ad[_0x540c(0x72)],_0x1e7967['YWxIc'])&&styles[_0x540c(0x79)],_0x1e7967[_0x540c(0x7a)](_0x4770ad[_0x540c(0x72)],_0x540c(0xe))&&styles[_0x540c(0x7b)]]},_0x4770ad[_0x540c(0x58)]),React[_0x540c(0x56)](Text,{'style':[styles['infoMessage'],_0x1e7967[_0x540c(0x74)](_0x4770ad[_0x540c(0x72)],_0x1e7967[_0x540c(0x51)])&&styles['infoMessageInfo'],_0x4770ad['type']===_0x540c(0xd)&&styles['infoMessageWarning'],_0x4770ad['type']===_0x1e7967[_0x540c(0x4e)]&&styles[_0x540c(0x7c)]]},_0x4770ad[_0x540c(0x7d)]),_0x4770ad[_0x540c(0x7e)]&&React[_0x540c(0x56)](View,{'style':styles[_0x540c(0x7f)]},React[_0x540c(0x56)](TouchableOpacity,{'style':styles[_0x540c(0x80)],'onPress':_0x4e88cd},React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0x81)]},_0x1e7967[_0x540c(0x82)])),React[_0x540c(0x56)](TouchableOpacity,{'style':[styles[_0x540c(0x80)],styles[_0x540c(0x83)]],'onPress':_0x5a341f},React['createElement'](Text,{'style':[styles[_0x540c(0x81)],styles[_0x540c(0x84)]]},_0x540c(0x85))))),React[_0x540c(0x56)](View,{'style':styles[_0x540c(0x86)]},_0x4a2d34&&React['createElement'](TouchableOpacity,{'style':styles[_0x540c(0x87)],'onPress':_0x4a2d34},React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0x88)]},_0x1e7967[_0x540c(0x89)])),React[_0x540c(0x56)](TouchableOpacity,{'style':[styles[_0x540c(0x8a)],(_0x1e7967[_0x540c(0x8b)](!_0x23dfb6,_0x1408c2)||_0x1e7967[_0x540c(0x8c)](_0x1598d5,_0x23dfb6))&&styles[_0x540c(0x8d)]],'onPress':_0x1f71c8,'disabled':!_0x23dfb6||_0x1408c2||!!_0x1e7967['hqnHp'](_0x1598d5,_0x23dfb6)},React[_0x540c(0x56)](Text,{'style':styles[_0x540c(0x8e)]},_0x1408c2?_0x540c(0x4f):_0x1e7967['SlZfv']))));};const styles=StyleSheet['create']({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':_0x540c(0x8f),'justifyContent':_0x540c(0x90)},'inputSection':{'width':_0x540c(0x91),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x540c(0x92),'alignItems':'center','justifyContent':_0x540c(0x93),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':_0x540c(0x94),'color':_0x540c(0x95),'textAlign':'center','flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':_0x540c(0x96),'marginBottom':0x18,'textAlign':'center'},'inputContainer':{'flexDirection':_0x540c(0x92),'alignItems':_0x540c(0x97),'borderWidth':0x1,'borderColor':_0x540c(0x98),'borderRadius':0x8,'marginBottom':0x10},'input':{'flex':0x1,'padding':0xc,'fontSize':0x10},'visibilityButton':{'padding':0xc},'infoContainer':{'padding':0x10,'borderRadius':0xc,'marginBottom':0x10,'borderWidth':0x1},'infoContainerInfo':{'backgroundColor':_0x540c(0x99),'borderColor':_0x540c(0x9a)},'infoContainerWarning':{'backgroundColor':_0x540c(0x9b),'borderColor':_0x540c(0x9c)},'infoContainerError':{'backgroundColor':_0x540c(0x9d),'borderColor':'#F44336'},'infoTitle':{'fontSize':0x10,'fontWeight':'600','marginBottom':0x8},'infoTitleInfo':{'color':_0x540c(0x9e)},'infoTitleWarning':{'color':_0x540c(0x9f)},'infoTitleError':{'color':_0x540c(0xa0)},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':'#1565C0'},'infoMessageWarning':{'color':_0x540c(0xa1)},'infoMessageError':{'color':_0x540c(0xa2)},'infoActions':{'flexDirection':'row','justifyContent':_0x540c(0x93),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':_0x540c(0x5f),'marginHorizontal':0x4,'alignItems':_0x540c(0x97)},'infoActionButtonSecondary':{'backgroundColor':_0x540c(0xa3),'borderWidth':0x1,'borderColor':_0x540c(0x5f)},'infoActionButtonText':{'color':_0x540c(0x8f),'fontSize':0xe,'fontWeight':_0x540c(0x94)},'infoActionButtonSecondaryText':{'color':_0x540c(0x5f)},'error':{'color':'#FF3B30','marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x540c(0x94),'marginBottom':0x8,'color':'#333'},'requirement':{'fontSize':0xe,'color':_0x540c(0x96),'marginBottom':0x4},'requirementMet':{'color':_0x540c(0xa4)},'footer':{'flexDirection':_0x540c(0x92),'alignItems':_0x540c(0x97),'justifyContent':_0x540c(0x93),'marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x540c(0xa5),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':_0x540c(0x96),'fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x540c(0xa6),'alignItems':_0x540c(0x97)},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':_0x540c(0x8f),'fontSize':0x10,'fontWeight':'600'},'backgroundProgressContainer':{'flexDirection':_0x540c(0x92),'alignItems':_0x540c(0x97),'justifyContent':_0x540c(0x97),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':'#666','marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});function _0x48f0(){const _0x2bda8a=['window','biometric-failed','xfduw','ILUFg','PIN\x20must\x20include\x20a\x20special\x20character','jRerg','authenticating','ZwLTJ','LLFPT','storage-error','default','biometric-unavailable','Biometric\x20Authentication\x20Not\x20Available','warning','error','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','info','Secure\x20PIN\x20Storage','Create\x20a\x20PIN','e.g.\x20MyPin123!','none','done','PIN\x20Requirements:','•\x20At\x20least\x20','•\x20Include\x20a\x20special\x20character','•\x20Include\x20a\x20number','Try\x20Again','gcofn','YXIiU','siXDt','fcayP','useEffect','VDQzi','log','mYPiz','catch','MarlL','aZhdY','MLcUG','warn','iYnSP','XuxvS','LRBZD','PIN\x20must\x20be\x20at\x20least\x20','test','MdIWA','WxQGl','ojZof','jorjs','OzrdL','miXVq','WxTII','CXFuu','yHgdL','vZMfK','kwvzG','isBiometricAvailable','PwrXA','storePinWithBiometric','IqBKb','lkguT','isPinStored','GFhQN','MQMbX','EcBCG','JcukD','aKouE','length','miUPM','GxwVw','fDWaq','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','YWxIc','rxJVR','QNFUr','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','bILky','An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','pWakU','Authenticating...','JQLcr','KlBqb','nUMhY','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','kxSYS','header','createElement','backButton','title','VJIAq','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','WZdmc','backgroundProgressContainer','backgroundProgressText','xMwju','#007AFF','inputContainer','input','lkfqt','JeXgr','RwpWP','visibilityButton','qGIxn','👁️🗨️','requirements','requirementTitle','FpPDm','eTvbo','iMjZN','\x20characters','requirement','requirementMet','byvNX','DIhKN','type','infoContainerInfo','wHpuC','infoContainerWarning','UbyIN','infoTitle','wEpNf','infoTitleWarning','chIjv','infoTitleError','infoMessageError','message','showActions','infoActions','infoActionButton','infoActionButtonText','WsjeD','infoActionButtonSecondary','infoActionButtonSecondaryText','Continue\x20Without\x20Biometric','footer','cancelButton','cancelButtonText','xobor','submitButton','BFkPQ','jybWJ','submitButtonDisabled','submitButtonText','#fff','flex-start','100%','row','space-between','600','#333','#666','center','#CCCCCC','#E3F2FD','#2196F3','#FFF3E0','#FF9800','#FFEBEE','#1976D2','#F57C00','#D32F2F','#E65100','#C62828','transparent','#34C759','#eee','#000000'];_0x48f0=function(){return _0x2bda8a;};return _0x48f0();}
|
|
1
|
+
import React,{useState,useCallback}from'react';import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';import{biometricPinService}from'../services/biometricPinService';const {width}=Dimensions[_0x56ea(0x0)](_0x56ea(0x1));export const PinInput=({onSubmit:_0x544be6,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x590744,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x5195a8,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText='Training\x20is\x20starting\x20in\x20the\x20background...'})=>{const _0x266ee7={'OtlsW':function(_0x2c5df1,_0x158e99){return _0x2c5df1(_0x158e99);},'LKXcR':function(_0x4787ed){return _0x4787ed();},'MEeYR':function(_0x35d01c,_0x468c70){return _0x35d01c&&_0x468c70;},'MmFax':function(_0x784e34,_0x452889){return _0x784e34===_0x452889;},'pXifr':_0x56ea(0x2),'zXKth':'IWgZk','bgqGr':_0x56ea(0x3),'PfOwZ':function(_0x290382,_0x553bfd){return _0x290382(_0x553bfd);},'mQVTi':function(_0x5749c1,_0x3c621f){return _0x5749c1!==_0x3c621f;},'EFKAN':_0x56ea(0x4),'qdHri':_0x56ea(0x5),'PIZwn':function(_0x108c50,_0x41a983){return _0x108c50<_0x41a983;},'LQfPd':'eatLV','nrrCV':'qOuTy','YfzMQ':_0x56ea(0x6),'hfYfn':function(_0x3f1743,_0x1eb9e4){return _0x3f1743(_0x1eb9e4);},'QYWJC':'biometric-unavailable','HbwPT':_0x56ea(0x7),'JuGNl':_0x56ea(0x8),'WYueb':_0x56ea(0x9),'xFTox':function(_0x1091c5,_0x444c4a){return _0x1091c5(_0x444c4a);},'DRAYh':_0x56ea(0xa),'yhfyk':function(_0x5a26eb,_0x2b097f){return _0x5a26eb(_0x2b097f);},'muTMw':function(_0x56ec8c,_0xc56af1){return _0x56ec8c!==_0xc56af1;},'zgvCo':_0x56ea(0xb),'eLmZr':_0x56ea(0xc),'OkVQy':function(_0xd0e1a9,_0x31f3c0){return _0xd0e1a9(_0x31f3c0);},'sSpxd':_0x56ea(0xd),'cPGzs':function(_0x4820aa,_0x5df260){return _0x4820aa(_0x5df260);},'qIrcW':function(_0xe5a4cf,_0x3206c3){return _0xe5a4cf!==_0x3206c3;},'oXePF':_0x56ea(0xe),'julNT':_0x56ea(0xf),'ScnNr':function(_0x53fab1,_0x4e0131){return _0x53fab1(_0x4e0131);},'oTSAB':function(_0x3310cf){return _0x3310cf();},'pcOZk':function(_0x24fda8,_0x3cd162){return _0x24fda8(_0x3cd162);},'WMXxc':function(_0x797c4,_0x5cd4dd){return _0x797c4!==_0x5cd4dd;},'gCJOX':_0x56ea(0x10),'LbMBs':_0x56ea(0x11),'WfFEw':_0x56ea(0x12),'aSsye':_0x56ea(0x13),'UnGCC':_0x56ea(0x14),'iaRYh':_0x56ea(0x15),'qKWSI':'Storage\x20Error','byUwn':'An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','kcsfP':_0x56ea(0x16),'aVamw':_0x56ea(0x17),'UYIev':_0x56ea(0x18),'hbIpj':_0x56ea(0x19),'YBmQL':_0x56ea(0x1a),'LAsEd':function(_0x8faa1d,_0x4739c9){return _0x8faa1d(_0x4739c9);},'CNoTg':function(_0x584c42,_0x2053fb){return _0x584c42(_0x2053fb);},'uHOvF':function(_0x3a543f,_0x168e83){return _0x3a543f(_0x168e83);},'tNlXV':function(_0x12d309,_0xabf802){return _0x12d309(_0xabf802);},'rHDTB':function(_0x1ed364,_0x2534d3,_0x104897){return _0x1ed364(_0x2534d3,_0x104897);},'PSgTS':function(_0x270f75,_0xb20775,_0x3a967a){return _0x270f75(_0xb20775,_0x3a967a);},'TogCG':_0x56ea(0x1b),'oYrUu':_0x56ea(0x1c),'hpZwW':_0x56ea(0x1d),'aArmv':_0x56ea(0x1e),'VaICj':_0x56ea(0x1f),'tokcq':_0x56ea(0x20),'HTNOP':function(_0x5eafb1,_0x3ff88a){return _0x5eafb1>=_0x3ff88a;},'gsMqe':_0x56ea(0x21),'ATIZM':_0x56ea(0x22),'RGvdE':_0x56ea(0x23),'GTQFs':function(_0x4ae1ee,_0x1b7c19){return _0x4ae1ee===_0x1b7c19;},'EzYzD':function(_0x381fd1,_0x3c7302){return _0x381fd1===_0x3c7302;},'dLmCc':function(_0x5696d4,_0x141b6f){return _0x5696d4===_0x141b6f;},'oTGFl':function(_0x1736ac,_0x50e04f){return _0x1736ac===_0x50e04f;},'GetDh':function(_0x123e28,_0x23eb1d){return _0x123e28===_0x23eb1d;},'VoVmK':_0x56ea(0x24),'TfzeZ':_0x56ea(0x25),'NPqgG':function(_0xc451a2,_0x5d6504){return _0xc451a2||_0x5d6504;},'esWEI':_0x56ea(0x26)},[_0x2ccf55,_0x208786]=_0x266ee7[_0x56ea(0x27)](useState,''),[_0x156a5e,_0x574f5c]=_0x266ee7['LAsEd'](useState,null),[_0x274dfa,_0x202a70]=_0x266ee7[_0x56ea(0x28)](useState,![]),[_0x5440fe,_0x4cdbd6]=_0x266ee7[_0x56ea(0x29)](useState,![]),[_0x552f06,_0x4d55ae]=useState(_0x266ee7[_0x56ea(0x2a)]),[_0x2ea012,_0x1a1568]=_0x266ee7['tNlXV'](useState,![]);React['useEffect'](()=>{_0x266ee7[_0x56ea(0x2b)](_0x5195a8,!_0x2ea012)&&showBackgroundProgress&&(_0x266ee7[_0x56ea(0x2c)](_0x266ee7['pXifr'],_0x266ee7[_0x56ea(0x2d)])?(_0x266ee7[_0x56ea(0x2e)](_0x33a07b,_0x56ea(0xf)),_0x266ee7['LKXcR'](_0x349316)):(console[_0x56ea(0x2f)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x266ee7[_0x56ea(0x2e)](_0x1a1568,!![]),_0x5195a8()['catch'](_0x1dadbd=>{console[_0x56ea(0x16)]('\u274C [PIN INPUT] Background training failed:',_0x1dadbd),_0x266ee7[_0x56ea(0x2e)](_0x1a1568,![]);})));},[_0x5195a8,_0x2ea012,showBackgroundProgress]);const _0x3f8664=_0x266ee7['rHDTB'](useCallback,_0xc9203e=>{const _0x4e8448={'UeIqv':_0x266ee7['bgqGr'],'hLFKw':function(_0x4ae3dd,_0x4f7181){return _0x266ee7[_0x56ea(0x30)](_0x4ae3dd,_0x4f7181);}};if(_0x266ee7['mQVTi'](_0x266ee7[_0x56ea(0x31)],_0x266ee7[_0x56ea(0x32)])){if(_0x266ee7[_0x56ea(0x33)](_0xc9203e[_0x56ea(0x34)],minLength))return _0x266ee7[_0x56ea(0x35)](_0x266ee7[_0x56ea(0x36)],_0x266ee7[_0x56ea(0x37)])?_0x56ea(0x38)+minLength+_0x56ea(0x39):_0x4e8448[_0x56ea(0x3a)];if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0xc9203e))return _0x266ee7[_0x56ea(0x3c)];if(requireNumber&&!/\d/[_0x56ea(0x3b)](_0xc9203e))return _0x266ee7[_0x56ea(0x3d)];return null;}else _0x3b3ea8[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x4e8448[_0x56ea(0x3f)](_0x48e77d,_0x7cc822);},[minLength,requireSpecialChar,requireNumber]),_0x5b520d=_0x266ee7['rHDTB'](useCallback,async()=>{const _0x294f24={'esmwU':function(_0x5d5975,_0x38aef6){return _0x266ee7[_0x56ea(0x40)](_0x5d5975,_0x38aef6);},'EoBZN':function(_0x190baf){return _0x266ee7[_0x56ea(0x41)](_0x190baf);},'mBarl':_0x266ee7['QYWJC']};console[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x2ccf55[_0x56ea(0x34)]);const _0xd48e78=_0x266ee7[_0x56ea(0x2e)](_0x3f8664,_0x2ccf55);if(_0xd48e78){console[_0x56ea(0x2f)]('\u274C [PIN INPUT] Validation failed:',_0xd48e78),_0x266ee7['OtlsW'](_0x574f5c,_0xd48e78);return;}console[_0x56ea(0x2f)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x4cdbd6(!![]),_0x4d55ae(_0x266ee7['HbwPT']);try{if(_0x266ee7[_0x56ea(0x42)]===_0x266ee7[_0x56ea(0x42)]){const _0x2b176b=await biometricPinService[_0x56ea(0x43)]();console[_0x56ea(0x2f)]('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x2b176b);if(!_0x2b176b){if(_0x266ee7[_0x56ea(0x2c)](_0x266ee7['WYueb'],_0x56ea(0x44))){const _0x315a54={'QHNPL':function(_0x3e7807,_0x217168){return _0x294f24[_0x56ea(0x45)](_0x3e7807,_0x217168);}};_0x1fdc35[_0x56ea(0x2f)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x294f24[_0x56ea(0x45)](_0x51bc2c,!![]),_0x294f24[_0x56ea(0x46)](_0x139eb4)[_0x56ea(0x47)](_0x2116cc=>{_0x47bc5e[_0x56ea(0x16)]('\u274C [PIN INPUT] Background training failed:',_0x2116cc),_0x315a54[_0x56ea(0x48)](_0x1456ac,![]);});}else{console[_0x56ea(0x16)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x266ee7[_0x56ea(0x49)](_0x4d55ae,_0x266ee7[_0x56ea(0x4a)]),_0x266ee7['OtlsW'](_0x4cdbd6,![]);return;}}console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x21507d=await biometricPinService[_0x56ea(0x4b)](_0x2ccf55);if(_0x21507d){if(_0x266ee7[_0x56ea(0x35)](_0x266ee7[_0x56ea(0x4c)],_0x266ee7[_0x56ea(0x4c)]))return _0x266ee7[_0x56ea(0x3d)];else{console['log']('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x513eb9=await biometricPinService[_0x56ea(0x4d)]();_0x513eb9?(console['log']('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x266ee7[_0x56ea(0x4e)](_0x544be6,_0x2ccf55)):_0x266ee7[_0x56ea(0x4f)](_0x266ee7['zgvCo'],_0x266ee7[_0x56ea(0x50)])?(_0x5d18dd[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x266ee7[_0x56ea(0x2e)](_0x50766b,_0x56ea(0xd)),_0x266ee7[_0x56ea(0x2e)](_0x556feb,![])):(console['error']('\u274C [PIN INPUT] PIN storage verification failed'),_0x4d55ae(_0x266ee7[_0x56ea(0x51)]),_0x266ee7[_0x56ea(0x52)](_0x4cdbd6,![]));}}else console[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x266ee7[_0x56ea(0x40)](_0x4d55ae,_0x266ee7[_0x56ea(0x53)]),_0x4cdbd6(![]);}else{_0x5049c8[_0x56ea(0x16)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x294f24[_0x56ea(0x45)](_0x581fda,_0x294f24[_0x56ea(0x54)]),_0x294f24['esmwU'](_0x15d6b8,![]);return;}}catch(_0x4fbca4){console['error']('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x4fbca4),_0x4d55ae(_0x56ea(0xc)),_0x4cdbd6(![]);}}else console[_0x56ea(0x2f)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x266ee7['cPGzs'](_0x544be6,_0x2ccf55);},[_0x2ccf55,_0x3f8664,_0x544be6,enableBiometricStorage]),_0x4e1135=useCallback(_0xdf757a=>{if(_0x266ee7[_0x56ea(0x55)](_0x266ee7[_0x56ea(0x56)],_0x56ea(0x57)))_0x266ee7['OtlsW'](_0x208786,_0xdf757a),_0x266ee7[_0x56ea(0x40)](_0x574f5c,null),_0x266ee7['PfOwZ'](_0x4d55ae,_0x266ee7['julNT']),console[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0xdf757a[_0x56ea(0x34)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0xdf757a),'hasNumber':/\d/['test'](_0xdf757a),'isValid':!_0x3f8664(_0xdf757a)});else return'PIN\x20must\x20be\x20at\x20least\x20'+_0x1147aa+_0x56ea(0x39);},[_0x3f8664]),_0x2b62c5=_0x266ee7['PSgTS'](useCallback,()=>{console[_0x56ea(0x3e)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x266ee7['OkVQy'](_0x544be6,_0x2ccf55);},[_0x2ccf55,_0x544be6]),_0x2b2279=_0x266ee7[_0x56ea(0x58)](useCallback,()=>{_0x266ee7[_0x56ea(0x59)](_0x4d55ae,'default'),_0x266ee7[_0x56ea(0x5a)](_0x5b520d);},[_0x5b520d]),_0x494466=()=>{const _0x335f8f={'RaCAx':function(_0x4da642,_0x58d011){return _0x266ee7['pcOZk'](_0x4da642,_0x58d011);},'vHZWL':function(_0x24abaf,_0x1a353f){return _0x24abaf(_0x1a353f);},'qeHgK':function(_0x357815,_0x32bc12){return _0x266ee7[_0x56ea(0x27)](_0x357815,_0x32bc12);}};if(_0x266ee7[_0x56ea(0x5b)](_0x266ee7[_0x56ea(0x5c)],_0x266ee7[_0x56ea(0x5d)]))switch(_0x552f06){case _0x56ea(0x5e):return{'title':_0x266ee7[_0x56ea(0x5f)],'message':_0x56ea(0x60),'type':_0x266ee7[_0x56ea(0x61)],'showActions':!![]};case _0x266ee7[_0x56ea(0x53)]:return{'title':_0x266ee7[_0x56ea(0x62)],'message':_0x266ee7[_0x56ea(0x63)],'type':_0x266ee7[_0x56ea(0x61)],'showActions':!![]};case _0x266ee7[_0x56ea(0x51)]:return{'title':_0x266ee7[_0x56ea(0x64)],'message':_0x266ee7['byUwn'],'type':_0x266ee7[_0x56ea(0x65)],'showActions':!![]};case _0x266ee7[_0x56ea(0x66)]:return{'title':_0x266ee7[_0x56ea(0x67)],'message':_0x266ee7[_0x56ea(0x68)],'type':_0x56ea(0x1a),'showActions':![]};default:return{'title':_0x266ee7[_0x56ea(0x69)],'message':_0x56ea(0x6a),'type':_0x266ee7[_0x56ea(0x6b)],'showActions':![]};}else _0x335f8f[_0x56ea(0x6c)](_0x44ee74,_0x54aa10),_0x335f8f['RaCAx'](_0x5a1d15,null),_0x335f8f['vHZWL'](_0x3c78ce,_0x56ea(0xf)),_0x47ad99[_0x56ea(0x2f)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x56a68d[_0x56ea(0x34)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x56ea(0x3b)](_0x3fda05),'hasNumber':/\d/[_0x56ea(0x3b)](_0x502cc8),'isValid':!_0x335f8f[_0x56ea(0x6d)](_0x55a676,_0x4d52b1)});},_0x48a217=_0x494466();return React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x6f)]},React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x70)]},React['createElement'](View,{'style':styles[_0x56ea(0x71)]},_0x590744&&React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles[_0x56ea(0x72)],'onPress':_0x590744},React[_0x56ea(0x6e)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x73)]},_0x266ee7[_0x56ea(0x74)])),React['createElement'](Text,{'style':styles[_0x56ea(0x75)]},_0x266ee7['oYrUu']),_0x266ee7[_0x56ea(0x2b)](showBackgroundProgress,_0x2ea012)&&React[_0x56ea(0x6e)](View,{'style':styles['backgroundProgressContainer']},React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x76)]},backgroundProgressText),React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x77)]},React[_0x56ea(0x6e)](ActivityIndicator,{'size':_0x266ee7[_0x56ea(0x78)],'color':_0x56ea(0x79)}))),React[_0x56ea(0x6e)](View,{'style':styles['inputContainer']},React['createElement'](TextInput,{'style':styles[_0x56ea(0x7a)],'value':_0x2ccf55,'onChangeText':_0x4e1135,'secureTextEntry':!_0x274dfa,'placeholder':_0x266ee7[_0x56ea(0x7b)],'keyboardType':_0x56ea(0xf),'maxLength':0x14,'autoCapitalize':_0x266ee7[_0x56ea(0x7c)],'autoCorrect':![],'returnKeyType':'done','onSubmitEditing':()=>Keyboard[_0x56ea(0x7d)]()}),React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles['visibilityButton'],'onPress':()=>_0x202a70(!_0x274dfa)},React['createElement'](Text,null,_0x274dfa?_0x266ee7[_0x56ea(0x7e)]:_0x56ea(0x7f))))),_0x156a5e&&React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0x16)]},_0x156a5e),React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x80)]},React['createElement'](Text,{'style':styles['requirementTitle']},_0x56ea(0x81)),React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],_0x266ee7[_0x56ea(0x83)](_0x2ccf55[_0x56ea(0x34)],minLength)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x85)],minLength,_0x56ea(0x39)),requireSpecialChar&&React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],/[!@#$%^&*(),.?":{}|<>]/['test'](_0x2ccf55)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x86)]),requireNumber&&React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x82)],/\d/['test'](_0x2ccf55)&&styles[_0x56ea(0x84)]]},_0x266ee7[_0x56ea(0x87)])),React[_0x56ea(0x6e)](View,{'style':[styles[_0x56ea(0x88)],_0x266ee7[_0x56ea(0x89)](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x6b)])&&styles[_0x56ea(0x8b)],_0x266ee7['GTQFs'](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x61)])&&styles[_0x56ea(0x8c)],_0x266ee7[_0x56ea(0x8d)](_0x48a217['type'],_0x266ee7[_0x56ea(0x65)])&&styles[_0x56ea(0x8e)]]},React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x8f)],_0x48a217[_0x56ea(0x8a)]===_0x266ee7[_0x56ea(0x6b)]&&styles[_0x56ea(0x90)],_0x266ee7['dLmCc'](_0x48a217[_0x56ea(0x8a)],_0x266ee7['aSsye'])&&styles['infoTitleWarning'],_0x266ee7[_0x56ea(0x91)](_0x48a217['type'],_0x266ee7[_0x56ea(0x65)])&&styles[_0x56ea(0x92)]]},_0x48a217[_0x56ea(0x73)]),React[_0x56ea(0x6e)](Text,{'style':[styles[_0x56ea(0x93)],_0x266ee7['GetDh'](_0x48a217[_0x56ea(0x8a)],_0x266ee7[_0x56ea(0x6b)])&&styles[_0x56ea(0x94)],_0x266ee7['EzYzD'](_0x48a217[_0x56ea(0x8a)],_0x56ea(0x13))&&styles[_0x56ea(0x95)],_0x266ee7[_0x56ea(0x96)](_0x48a217[_0x56ea(0x8a)],_0x56ea(0x16))&&styles[_0x56ea(0x97)]]},_0x48a217[_0x56ea(0x98)]),_0x48a217[_0x56ea(0x99)]&&React[_0x56ea(0x6e)](View,{'style':styles[_0x56ea(0x9a)]},React[_0x56ea(0x6e)](TouchableOpacity,{'style':styles[_0x56ea(0x9b)],'onPress':_0x2b2279},React[_0x56ea(0x6e)](Text,{'style':styles['infoActionButtonText']},_0x266ee7['VoVmK'])),React[_0x56ea(0x6e)](TouchableOpacity,{'style':[styles[_0x56ea(0x9b)],styles[_0x56ea(0x9c)]],'onPress':_0x2b62c5},React[_0x56ea(0x6e)](Text,{'style':[styles['infoActionButtonText'],styles[_0x56ea(0x9d)]]},'Continue\x20Without\x20Biometric')))),React['createElement'](View,{'style':styles[_0x56ea(0x9e)]},_0x590744&&React['createElement'](TouchableOpacity,{'style':styles[_0x56ea(0x9f)],'onPress':_0x590744},React[_0x56ea(0x6e)](Text,{'style':styles[_0x56ea(0xa0)]},_0x266ee7['TfzeZ'])),React[_0x56ea(0x6e)](TouchableOpacity,{'style':[styles[_0x56ea(0xa1)],(_0x266ee7[_0x56ea(0xa2)](!_0x2ccf55,_0x5440fe)||_0x266ee7['OtlsW'](_0x3f8664,_0x2ccf55))&&styles['submitButtonDisabled']],'onPress':_0x5b520d,'disabled':_0x266ee7[_0x56ea(0xa2)](!_0x2ccf55,_0x5440fe)||!!_0x3f8664(_0x2ccf55)},React['createElement'](Text,{'style':styles[_0x56ea(0xa3)]},_0x5440fe?_0x56ea(0x17):_0x266ee7[_0x56ea(0xa4)]))));};function _0x2ddc(){const _0x28b3bb=['get','window','RFmoT','PIN\x20must\x20include\x20a\x20special\x20character','hjmsR','jYlhU','PIN\x20must\x20include\x20a\x20number','authenticating','DlPHI','YRBeV','dqCxm','IpPKy','storage-error','biometric-failed','pWkRr','default','XeVej','xSLmB','Biometric\x20Authentication\x20Not\x20Available','warning','Biometric\x20Authentication\x20Failed','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','error','Authenticating...','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','Secure\x20PIN\x20Storage','info','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','small','e.g.\x20MyPin123!','none','👁️','•\x20At\x20least\x20','•\x20Include\x20a\x20special\x20character','•\x20Include\x20a\x20number','Try\x20Again','Back','Continue','cPGzs','CNoTg','uHOvF','julNT','MEeYR','MmFax','zXKth','OtlsW','log','PfOwZ','EFKAN','qdHri','PIZwn','length','mQVTi','LQfPd','nrrCV','PIN\x20must\x20be\x20at\x20least\x20','\x20characters','UeIqv','test','bgqGr','YfzMQ','warn','hLFKw','hfYfn','LKXcR','JuGNl','isBiometricAvailable','HPnDB','esmwU','EoBZN','catch','QHNPL','xFTox','QYWJC','storePinWithBiometric','DRAYh','isPinStored','yhfyk','muTMw','zgvCo','eLmZr','OkVQy','sSpxd','mBarl','qIrcW','oXePF','mWtWm','rHDTB','ScnNr','oTSAB','WMXxc','gCJOX','LbMBs','biometric-unavailable','WfFEw','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','aSsye','UnGCC','iaRYh','qKWSI','kcsfP','HbwPT','aVamw','UYIev','hbIpj','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','YBmQL','RaCAx','qeHgK','createElement','container','inputSection','header','backButton','title','TogCG','subtitle','backgroundProgressText','backgroundProgressIndicator','hpZwW','#007AFF','input','aArmv','VaICj','dismiss','tokcq','👁️🗨️','requirements','PIN\x20Requirements:','requirement','HTNOP','requirementMet','gsMqe','ATIZM','RGvdE','infoContainer','GTQFs','type','infoContainerInfo','infoContainerWarning','EzYzD','infoContainerError','infoTitle','infoTitleInfo','oTGFl','infoTitleError','infoMessage','infoMessageInfo','infoMessageWarning','dLmCc','infoMessageError','message','showActions','infoActions','infoActionButton','infoActionButtonSecondary','infoActionButtonSecondaryText','footer','cancelButton','cancelButtonText','submitButton','NPqgG','submitButtonText','esWEI','create','#fff','flex-start','100%','row','center','space-between','#333','#666','#CCCCCC','#E3F2FD','#2196F3','#FFF3E0','#FF9800','#F44336','600','#F57C00','#D32F2F','#1565C0','#C62828','transparent','#FF3B30','#34C759','#eee','#000000'];_0x2ddc=function(){return _0x28b3bb;};return _0x2ddc();}function _0x56ea(_0x2ddc0c,_0x56eaba){_0x2ddc0c=_0x2ddc0c-0x0;const _0x378c1e=_0x2ddc();let _0xe5d28d=_0x378c1e[_0x2ddc0c];return _0xe5d28d;}const styles=StyleSheet[_0x56ea(0xa5)]({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':_0x56ea(0xa6),'justifyContent':_0x56ea(0xa7)},'inputSection':{'width':_0x56ea(0xa8),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'justifyContent':_0x56ea(0xab),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':'600','color':_0x56ea(0xac),'textAlign':_0x56ea(0xaa),'flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':_0x56ea(0xad),'marginBottom':0x18,'textAlign':_0x56ea(0xaa)},'inputContainer':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'borderWidth':0x1,'borderColor':_0x56ea(0xae),'borderRadius':0x8,'marginBottom':0x10},'input':{'flex':0x1,'padding':0xc,'fontSize':0x10},'visibilityButton':{'padding':0xc},'infoContainer':{'padding':0x10,'borderRadius':0xc,'marginBottom':0x10,'borderWidth':0x1},'infoContainerInfo':{'backgroundColor':_0x56ea(0xaf),'borderColor':_0x56ea(0xb0)},'infoContainerWarning':{'backgroundColor':_0x56ea(0xb1),'borderColor':_0x56ea(0xb2)},'infoContainerError':{'backgroundColor':'#FFEBEE','borderColor':_0x56ea(0xb3)},'infoTitle':{'fontSize':0x10,'fontWeight':_0x56ea(0xb4),'marginBottom':0x8},'infoTitleInfo':{'color':'#1976D2'},'infoTitleWarning':{'color':_0x56ea(0xb5)},'infoTitleError':{'color':_0x56ea(0xb6)},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x56ea(0xb7)},'infoMessageWarning':{'color':'#E65100'},'infoMessageError':{'color':_0x56ea(0xb8)},'infoActions':{'flexDirection':_0x56ea(0xa9),'justifyContent':_0x56ea(0xab),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':_0x56ea(0x79),'marginHorizontal':0x4,'alignItems':_0x56ea(0xaa)},'infoActionButtonSecondary':{'backgroundColor':_0x56ea(0xb9),'borderWidth':0x1,'borderColor':_0x56ea(0x79)},'infoActionButtonText':{'color':_0x56ea(0xa6),'fontSize':0xe,'fontWeight':'600'},'infoActionButtonSecondaryText':{'color':_0x56ea(0x79)},'error':{'color':_0x56ea(0xba),'marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x56ea(0xb4),'marginBottom':0x8,'color':_0x56ea(0xac)},'requirement':{'fontSize':0xe,'color':_0x56ea(0xad),'marginBottom':0x4},'requirementMet':{'color':_0x56ea(0xbb)},'footer':{'flexDirection':_0x56ea(0xa9),'alignItems':_0x56ea(0xaa),'justifyContent':'space-between','marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x56ea(0xbc),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':'#666','fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x56ea(0xbd),'alignItems':_0x56ea(0xaa)},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':_0x56ea(0xa6),'fontSize':0x10,'fontWeight':'600'},'backgroundProgressContainer':{'flexDirection':'row','alignItems':'center','justifyContent':_0x56ea(0xaa),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x56ea(0xad),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});
|