@onairos/react-native 3.6.4 → 3.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/lib/commonjs/api/index.js +1 -1
  2. package/lib/commonjs/components/BodyText.js +1 -1
  3. package/lib/commonjs/components/BrandMark.js +1 -1
  4. package/lib/commonjs/components/CodeInput.js +1 -1
  5. package/lib/commonjs/components/EmailInput.js +1 -1
  6. package/lib/commonjs/components/GoogleButton.js +1 -1
  7. package/lib/commonjs/components/HeadingGroup.js +1 -1
  8. package/lib/commonjs/components/LLMDataInputModal.js +1 -1
  9. package/lib/commonjs/components/ModalHeader.js +1 -1
  10. package/lib/commonjs/components/ModalSheet.js +1 -1
  11. package/lib/commonjs/components/Onairos.js +1 -1
  12. package/lib/commonjs/components/OnairosButton.js +1 -1
  13. package/lib/commonjs/components/OnairosSignInButton.js +1 -1
  14. package/lib/commonjs/components/Overlay.js +1 -1
  15. package/lib/commonjs/components/PersonaImage.js +1 -1
  16. package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
  17. package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
  18. package/lib/commonjs/components/PinCreationScreen.js +1 -1
  19. package/lib/commonjs/components/PinInput.js +1 -1
  20. package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
  21. package/lib/commonjs/components/PlatformList.js +1 -1
  22. package/lib/commonjs/components/PlatformToggle.js +1 -1
  23. package/lib/commonjs/components/PrimaryButton.js +1 -1
  24. package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
  25. package/lib/commonjs/components/SignInStep.js +1 -1
  26. package/lib/commonjs/components/UniversalOnboarding.js +1 -1
  27. package/lib/commonjs/components/VerificationStep.js +1 -1
  28. package/lib/commonjs/components/WelcomeScreen.js +1 -1
  29. package/lib/commonjs/components/icons/Basicproficon.js +1 -1
  30. package/lib/commonjs/components/icons/Basicprofile.js +1 -1
  31. package/lib/commonjs/components/icons/Checkbox.js +1 -1
  32. package/lib/commonjs/components/icons/Checkmark.js +1 -1
  33. package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
  34. package/lib/commonjs/components/icons/Contenticon.js +1 -1
  35. package/lib/commonjs/components/icons/EnochE.js +1 -1
  36. package/lib/commonjs/components/icons/Personalityicon.js +1 -1
  37. package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
  38. package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
  39. package/lib/commonjs/components/icons/Userpreferences.js +1 -1
  40. package/lib/commonjs/components/icons/index.js +1 -1
  41. package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
  42. package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
  43. package/lib/commonjs/components/onboarding/PinInput.js +1 -1
  44. package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
  45. package/lib/commonjs/config/api.js +1 -1
  46. package/lib/commonjs/constants/index.js +1 -1
  47. package/lib/commonjs/context/AuthContext.js +1 -1
  48. package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
  49. package/lib/commonjs/hooks/useConnections.js +1 -1
  50. package/lib/commonjs/hooks/useCredentials.js +1 -1
  51. package/lib/commonjs/hooks/useUserConnections.js +1 -1
  52. package/lib/commonjs/index.js +1 -1
  53. package/lib/commonjs/services/apiClient.js +1 -1
  54. package/lib/commonjs/services/apiKeyService.js +924 -9
  55. package/lib/commonjs/services/authService.js +627 -10
  56. package/lib/commonjs/services/biometricPinService.js +1 -1
  57. package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
  58. package/lib/commonjs/services/chatGPTConversationService.js +1 -1
  59. package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
  60. package/lib/commonjs/services/claudeConversationService.js +1 -1
  61. package/lib/commonjs/services/connectedAccountsService.js +1 -1
  62. package/lib/commonjs/services/googleAuthService.js +1 -1
  63. package/lib/commonjs/services/hingeDataExtractor.js +1 -1
  64. package/lib/commonjs/services/hingeDataService.js +1 -1
  65. package/lib/commonjs/services/imageCompressionService.js +1 -1
  66. package/lib/commonjs/services/instagramDataExtractor.js +1 -1
  67. package/lib/commonjs/services/instagramDataService.js +1 -1
  68. package/lib/commonjs/services/jwtStorageService.js +1 -1
  69. package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
  70. package/lib/commonjs/services/linkedinProfileService.js +1 -1
  71. package/lib/commonjs/services/linkedinScrapingService.js +1 -1
  72. package/lib/commonjs/services/llmDataStorage.js +1 -1
  73. package/lib/commonjs/services/mobileTrainingService.js +1 -1
  74. package/lib/commonjs/services/oauthService.js +391 -11
  75. package/lib/commonjs/services/pinEncryptionService.js +1 -1
  76. package/lib/commonjs/services/pinStorageUtils.js +1 -1
  77. package/lib/commonjs/services/platformAuthService.js +1 -1
  78. package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
  79. package/lib/commonjs/services/sephoraDataService.js +1 -1
  80. package/lib/commonjs/services/storageService.js +1 -1
  81. package/lib/commonjs/services/telegramDataExtractor.js +1 -1
  82. package/lib/commonjs/services/telegramDataService.js +1 -1
  83. package/lib/commonjs/services/trainingApiHelpers.js +1 -1
  84. package/lib/commonjs/services/userConnectionsService.js +1 -1
  85. package/lib/commonjs/services/youtubeMigrationService.js +1 -1
  86. package/lib/commonjs/theme/index.js +1 -1
  87. package/lib/commonjs/types/index.js +1 -1
  88. package/lib/commonjs/types.js +1 -1
  89. package/lib/commonjs/utils/Portal.js +1 -1
  90. package/lib/commonjs/utils/api.js +1 -1
  91. package/lib/commonjs/utils/assetRegistry.js +1 -1
  92. package/lib/commonjs/utils/auth.js +1 -1
  93. package/lib/commonjs/utils/connectorTests.js +1 -1
  94. package/lib/commonjs/utils/crypto.js +1 -1
  95. package/lib/commonjs/utils/debugHelper.js +1 -1
  96. package/lib/commonjs/utils/encryption.js +1 -1
  97. package/lib/commonjs/utils/eventUtils.js +1 -1
  98. package/lib/commonjs/utils/haptics.js +1 -1
  99. package/lib/commonjs/utils/imagePreloader.js +1 -1
  100. package/lib/commonjs/utils/networkDiagnostics.js +1 -1
  101. package/lib/commonjs/utils/onairosApi.js +1 -1
  102. package/lib/commonjs/utils/programmaticFlow.js +1 -1
  103. package/lib/commonjs/utils/retryHelper.js +1 -1
  104. package/lib/commonjs/utils/secureStorage.js +1 -1
  105. package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
  106. package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
  107. package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
  108. package/lib/commonjs/utils/webviewScripts/index.js +1 -1
  109. package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
  110. package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
  111. package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
  112. package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
  113. package/lib/module/api/index.js +1 -1
  114. package/lib/module/components/BodyText.js +1 -1
  115. package/lib/module/components/BrandMark.js +1 -1
  116. package/lib/module/components/CodeInput.js +1 -1
  117. package/lib/module/components/EmailInput.js +1 -1
  118. package/lib/module/components/GoogleButton.js +1 -1
  119. package/lib/module/components/HeadingGroup.js +1 -1
  120. package/lib/module/components/LLMDataInputModal.js +1 -1
  121. package/lib/module/components/ModalHeader.js +1 -1
  122. package/lib/module/components/ModalSheet.js +1 -1
  123. package/lib/module/components/Onairos.js +1 -1
  124. package/lib/module/components/OnairosButton.js +1 -1
  125. package/lib/module/components/OnairosSignInButton.js +1 -1
  126. package/lib/module/components/Overlay.js +1 -1
  127. package/lib/module/components/PersonaImage.js +1 -1
  128. package/lib/module/components/PersonaLoadingScreen.js +1 -1
  129. package/lib/module/components/PersonalizationConsentScreen.js +1 -1
  130. package/lib/module/components/PinCreationScreen.js +1 -1
  131. package/lib/module/components/PinInput.js +1 -1
  132. package/lib/module/components/PlatformConnectorsStep.js +1 -1
  133. package/lib/module/components/PlatformList.js +1 -1
  134. package/lib/module/components/PlatformToggle.js +1 -1
  135. package/lib/module/components/PrimaryButton.js +1 -1
  136. package/lib/module/components/SignInMatchAnimation.js +1 -1
  137. package/lib/module/components/SignInStep.js +1 -1
  138. package/lib/module/components/UniversalOnboarding.js +1 -1
  139. package/lib/module/components/VerificationStep.js +1 -1
  140. package/lib/module/components/WelcomeScreen.js +1 -1
  141. package/lib/module/components/icons/Basicproficon.js +1 -1
  142. package/lib/module/components/icons/Basicprofile.js +1 -1
  143. package/lib/module/components/icons/Checkbox.js +1 -1
  144. package/lib/module/components/icons/Checkmark.js +1 -1
  145. package/lib/module/components/icons/Contentanalysis.js +1 -1
  146. package/lib/module/components/icons/Contenticon.js +1 -1
  147. package/lib/module/components/icons/EnochE.js +1 -1
  148. package/lib/module/components/icons/Personalityicon.js +1 -1
  149. package/lib/module/components/icons/Personalityprofile.js +1 -1
  150. package/lib/module/components/icons/Personalitytraits.js +1 -1
  151. package/lib/module/components/icons/Userpreferences.js +1 -1
  152. package/lib/module/components/onboarding/OAuthWebView.js +1 -1
  153. package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
  154. package/lib/module/components/onboarding/PinInput.js +1 -1
  155. package/lib/module/components/onboarding/PlatformConnector.js +1 -1
  156. package/lib/module/config/api.js +1 -1
  157. package/lib/module/constants/index.js +1 -1
  158. package/lib/module/context/AuthContext.js +1 -1
  159. package/lib/module/hooks/useConnectedAccounts.js +1 -1
  160. package/lib/module/hooks/useConnections.js +1 -1
  161. package/lib/module/hooks/useCredentials.js +1 -1
  162. package/lib/module/hooks/useUserConnections.js +1 -1
  163. package/lib/module/index.js +1 -1
  164. package/lib/module/services/apiClient.js +1 -1
  165. package/lib/module/services/apiKeyService.js +898 -1
  166. package/lib/module/services/authService.js +602 -1
  167. package/lib/module/services/biometricPinService.js +1 -1
  168. package/lib/module/services/chatGPTConversationExtractor.js +1 -1
  169. package/lib/module/services/chatGPTConversationService.js +1 -1
  170. package/lib/module/services/claudeConversationExtractor.js +1 -1
  171. package/lib/module/services/claudeConversationService.js +1 -1
  172. package/lib/module/services/connectedAccountsService.js +1 -1
  173. package/lib/module/services/googleAuthService.js +1 -1
  174. package/lib/module/services/hingeDataExtractor.js +1 -1
  175. package/lib/module/services/hingeDataService.js +1 -1
  176. package/lib/module/services/imageCompressionService.js +1 -1
  177. package/lib/module/services/instagramDataExtractor.js +1 -1
  178. package/lib/module/services/instagramDataService.js +1 -1
  179. package/lib/module/services/jwtStorageService.js +1 -1
  180. package/lib/module/services/linkedinDOMExtractor.js +1 -1
  181. package/lib/module/services/linkedinProfileService.js +1 -1
  182. package/lib/module/services/linkedinScrapingService.js +1 -1
  183. package/lib/module/services/llmDataStorage.js +1 -1
  184. package/lib/module/services/mobileTrainingService.js +1 -1
  185. package/lib/module/services/oauthService.js +381 -1
  186. package/lib/module/services/pinEncryptionService.js +1 -1
  187. package/lib/module/services/pinStorageUtils.js +1 -1
  188. package/lib/module/services/platformAuthService.js +1 -1
  189. package/lib/module/services/sephoraDataExtractor.js +1 -1
  190. package/lib/module/services/sephoraDataService.js +1 -1
  191. package/lib/module/services/storageService.js +1 -1
  192. package/lib/module/services/telegramDataExtractor.js +1 -1
  193. package/lib/module/services/telegramDataService.js +1 -1
  194. package/lib/module/services/trainingApiHelpers.js +1 -1
  195. package/lib/module/services/userConnectionsService.js +1 -1
  196. package/lib/module/services/youtubeMigrationService.js +1 -1
  197. package/lib/module/theme/index.js +1 -1
  198. package/lib/module/types.js +1 -1
  199. package/lib/module/utils/Portal.js +1 -1
  200. package/lib/module/utils/api.js +1 -1
  201. package/lib/module/utils/assetRegistry.js +1 -1
  202. package/lib/module/utils/auth.js +1 -1
  203. package/lib/module/utils/connectorTests.js +1 -1
  204. package/lib/module/utils/crypto.js +1 -1
  205. package/lib/module/utils/debugHelper.js +1 -1
  206. package/lib/module/utils/encryption.js +1 -1
  207. package/lib/module/utils/eventUtils.js +1 -1
  208. package/lib/module/utils/haptics.js +1 -1
  209. package/lib/module/utils/networkDiagnostics.js +1 -1
  210. package/lib/module/utils/onairosApi.js +1 -1
  211. package/lib/module/utils/programmaticFlow.js +1 -1
  212. package/lib/module/utils/retryHelper.js +1 -1
  213. package/lib/module/utils/secureStorage.js +1 -1
  214. package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
  215. package/lib/module/utils/webviewScripts/claude.js +1 -1
  216. package/lib/module/utils/webviewScripts/hinge.js +1 -1
  217. package/lib/module/utils/webviewScripts/index.js +1 -1
  218. package/lib/module/utils/webviewScripts/instagram.js +1 -1
  219. package/lib/module/utils/webviewScripts/linkedin.js +1 -1
  220. package/lib/module/utils/webviewScripts/sephora.js +1 -1
  221. package/lib/module/utils/webviewScripts/telegram.js +1 -1
  222. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x5d36(_0x38b840,_0x5d36e6){_0x38b840=_0x38b840-0x0;const _0x4d3d01=_0x38b8();let _0x4d7da0=_0x4d3d01[_0x38b840];return _0x4d7da0;}import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';function _0x38b8(){const _0x46fbab=['FXDYM','hVIOH','aSpQV','IcGGO','contain','Welcome\x20back!','Choose\x20what\x20to\x20share:','#4CD964','Connected\x20Platforms','Connect\x20more','small','#FFFFFF','Use\x20different\x20account','utXVY','BUTTON_PRESS','values','some','createElement','scrollContent','iconContainer','headerIcon','eOObk','enochIcon','titleContainer','welcomeBackText','xGvOS','title','czHWg','subtitle','optionsContainer','optionRow','basicProfile','optionIcon','grey800','optionText','checkboxContainer','SaNFe','grey400','contentAnalysis','optionLeft','checkbox','grey700','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','LQnDw','length','connectedPlatformsIcons','map','connectedPlatformIconContainer','connectedPlatformIcon','nzXRP','ZTtkf','jIZVt','mhfYc','CFoad','connectMoreText','nxVzL','buttonContainer','acceptButtonActive','acceptButtonLoading','ZoRCQ','mAvjG','fVcoR','epazV','NrADl','acceptButtonTextActive','Accept\x20&\x20Continue','buttonArrow','buttonArrowActive','CCDTf','declineButtonText','Decline','logoutButton','KXLiI','ANDsY','ptSXb','rYTef','create','row','center','IBM\x20Plex\x20Sans','700','grey600','600','Inter','space-between','#E5E5E5','#2D3436','#999999','500','400','grey500','underline','#F8F9FA','#000'];_0x38b8=function(){return _0x46fbab;};return _0x38b8();}import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x233d6a,onAccept:_0x533256,onDecline:_0x5c61be,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x541d38,isReturningUser:isReturningUser=![],appName:appName='Enoch',onLogout:_0x3af862})=>{const _0x21ac32={'mhfYc':function(_0x3e3924,_0x2fa8ee){return _0x3e3924(_0x2fa8ee);},'CFoad':function(_0x300fca){return _0x300fca();},'nzXRP':function(_0x1b46ad,_0x35c17d){return _0x1b46ad!==_0x35c17d;},'ZTtkf':_0x5d36(0x0),'jIZVt':_0x5d36(0x1),'ZoRCQ':function(_0x4ccc2f,_0x3c5ab3){return _0x4ccc2f!==_0x3c5ab3;},'mAvjG':_0x5d36(0x2),'fVcoR':function(_0x503aed){return _0x503aed();},'CCDTf':function(_0x584e7a){return _0x584e7a();},'KXLiI':function(_0x2c1efd,_0x21da02){return _0x2c1efd===_0x21da02;},'ANDsY':_0x5d36(0x3),'ImNzJ':'sIQxP','utXVY':function(_0x48f4d4,_0x49a9c3){return _0x48f4d4(_0x49a9c3);},'ptSXb':function(_0x3edead){return _0x3edead();},'eOObk':_0x5d36(0x4),'xGvOS':_0x5d36(0x5),'czHWg':'\x20wants\x20to\x20personalize\x20your\x20experience','JUpdK':_0x5d36(0x6),'SaNFe':_0x5d36(0x7),'LQnDw':_0x5d36(0x8),'wUbvD':function(_0x1d2763,_0x490fef){return _0x1d2763>_0x490fef;},'nxVzL':_0x5d36(0x9),'epazV':_0x5d36(0xa),'NrADl':_0x5d36(0xb),'rYTef':_0x5d36(0xc)},[_0x4ac62d,_0x24462c]=_0x21ac32[_0x5d36(0xd)](useState,{'basicProfile':![],'contentAnalysis':![],'personalityProfile':![]}),_0x2f7891=_0x4d8bc1=>{triggerHaptic(HapticType[_0x5d36(0xe)]),_0x21ac32['mhfYc'](_0x24462c,_0x415c28=>({..._0x415c28,[_0x4d8bc1]:!_0x415c28[_0x4d8bc1]}));},_0x179d4f=Object[_0x5d36(0xf)](_0x4ac62d)[_0x5d36(0x10)](_0x391fcf=>_0x391fcf);if(!_0x233d6a)return null;return React['createElement'](View,{'style':styles['container']},React[_0x5d36(0x11)](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles[_0x5d36(0x12)],'showsVerticalScrollIndicator':![]},React['createElement'](View,{'style':styles['headerContainer']},React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x13)]},React['createElement'](Image,{'source':BRAND_IMAGES['onairosLogo'],'style':styles[_0x5d36(0x14)],'resizeMode':_0x21ac32[_0x5d36(0x15)]})),React[_0x5d36(0x11)](Text,{'style':styles['arrow']},'→'),React[_0x5d36(0x11)](Image,{'source':BRAND_IMAGES[_0x5d36(0x16)],'style':styles['enochAppIcon'],'resizeMode':_0x21ac32[_0x5d36(0x15)]})),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x17)]},isReturningUser&&React[_0x5d36(0x11)](Text,{'style':styles[_0x5d36(0x18)]},_0x21ac32[_0x5d36(0x19)]),React['createElement'](Text,{'style':styles[_0x5d36(0x1a)]},appName,_0x21ac32[_0x5d36(0x1b)]),React[_0x5d36(0x11)](Text,{'style':styles[_0x5d36(0x1c)]},_0x21ac32['JUpdK'])),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x1d)]},React[_0x5d36(0x11)](TouchableOpacity,{'style':styles[_0x5d36(0x1e)],'onPress':()=>_0x2f7891(_0x5d36(0x1f))},React[_0x5d36(0x11)](View,{'style':styles['optionLeft']},React[_0x5d36(0x11)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x5d36(0x20)]}),React['createElement'](Basicprofile,{'height':0x18,'fill':COLORS[_0x5d36(0x21)],'style':styles[_0x5d36(0x22)]})),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x23)]},_0x4ac62d[_0x5d36(0x1f)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0x21ac32[_0x5d36(0x24)],'style':styles['checkbox']}):React[_0x5d36(0x11)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x5d36(0x25)],'style':styles['checkbox']}))),React[_0x5d36(0x11)](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x2f7891(_0x5d36(0x26))},React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x27)]},React[_0x5d36(0x11)](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x5d36(0x20)]}),React[_0x5d36(0x11)](Userpreferences,{'height':0x18,'fill':COLORS[_0x5d36(0x21)],'style':styles[_0x5d36(0x22)]})),React['createElement'](View,{'style':styles[_0x5d36(0x23)]},_0x4ac62d[_0x5d36(0x26)]?React[_0x5d36(0x11)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x21ac32['SaNFe'],'style':styles[_0x5d36(0x28)]}):React[_0x5d36(0x11)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x5d36(0x25)],'style':styles[_0x5d36(0x28)]}))),React[_0x5d36(0x11)](TouchableOpacity,{'style':styles[_0x5d36(0x1e)],'onPress':()=>_0x2f7891('personalityProfile')},React['createElement'](View,{'style':styles[_0x5d36(0x27)]},React['createElement'](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x5d36(0x29)],'style':styles[_0x5d36(0x20)]}),React[_0x5d36(0x11)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x5d36(0x22)]})),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x23)]},_0x4ac62d[_0x5d36(0x2a)]?React[_0x5d36(0x11)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x21ac32['SaNFe'],'style':styles[_0x5d36(0x28)]}):React[_0x5d36(0x11)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x5d36(0x25)],'style':styles[_0x5d36(0x28)]})))),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x2b)]},React[_0x5d36(0x11)](Text,{'style':styles[_0x5d36(0x2c)]},_0x21ac32[_0x5d36(0x2d)]),_0x21ac32['wUbvD'](connectedPlatforms[_0x5d36(0x2e)],0x0)&&React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x2f)]},connectedPlatforms[_0x5d36(0x30)](_0x3de29e=>React['createElement'](View,{'key':_0x3de29e,'style':styles[_0x5d36(0x31)]},React['createElement'](Image,{'source':getPlatformIcon(_0x3de29e),'style':styles[_0x5d36(0x32)],'resizeMode':'contain'})))),_0x541d38&&React['createElement'](TouchableOpacity,{'style':styles['connectMoreButton'],'onPress':()=>{_0x21ac32[_0x5d36(0x33)](_0x21ac32[_0x5d36(0x34)],_0x21ac32[_0x5d36(0x35)])?(_0x21ac32[_0x5d36(0x36)](triggerHaptic,HapticType[_0x5d36(0xe)]),_0x21ac32[_0x5d36(0x37)](_0x541d38)):(_0x21ac32[_0x5d36(0x36)](_0x1a0d48,_0x123aa3['BUTTON_PRESS']),_0x21ac32[_0x5d36(0x37)](_0x2d4c78));}},React[_0x5d36(0x11)](Text,{'style':styles[_0x5d36(0x38)]},_0x21ac32[_0x5d36(0x39)]),React[_0x5d36(0x11)](View,{'style':styles['connectMorePlusCircle']},React[_0x5d36(0x11)](Text,{'style':styles['connectMorePlus']},'+'))))),React[_0x5d36(0x11)](View,{'style':styles[_0x5d36(0x3a)]},React[_0x5d36(0x11)](TouchableOpacity,{'style':[styles['acceptButton'],_0x179d4f&&styles[_0x5d36(0x3b)],loading&&styles[_0x5d36(0x3c)]],'onPress':()=>{_0x21ac32[_0x5d36(0x3d)](_0x21ac32[_0x5d36(0x3e)],_0x21ac32[_0x5d36(0x3e)])?!_0x5a90c2&&(_0x362f0d(_0x53be0a[_0x5d36(0xe)]),_0x21ac32[_0x5d36(0x37)](_0x2c1c62)):!loading&&(_0x21ac32[_0x5d36(0x36)](triggerHaptic,HapticType[_0x5d36(0xe)]),_0x21ac32[_0x5d36(0x3f)](_0x533256));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0x5d36(0x11)](ActivityIndicator,{'size':_0x21ac32[_0x5d36(0x40)],'color':_0x21ac32[_0x5d36(0x41)]}):React['createElement'](React['Fragment'],null,React['createElement'](Text,{'style':[styles['acceptButtonText'],_0x179d4f&&styles[_0x5d36(0x42)]]},_0x5d36(0x43)),React[_0x5d36(0x11)](Text,{'style':[styles[_0x5d36(0x44)],_0x179d4f&&styles[_0x5d36(0x45)]]},'→'))),React[_0x5d36(0x11)](TouchableOpacity,{'style':styles['declineButton'],'onPress':()=>{triggerHaptic(HapticType['BUTTON_PRESS']),_0x21ac32[_0x5d36(0x46)](_0x5c61be);}},React[_0x5d36(0x11)](Text,{'style':styles[_0x5d36(0x47)]},_0x5d36(0x48))),_0x3af862&&React[_0x5d36(0x11)](TouchableOpacity,{'style':styles[_0x5d36(0x49)],'onPress':()=>{_0x21ac32[_0x5d36(0x4a)](_0x21ac32[_0x5d36(0x4b)],_0x21ac32['ImNzJ'])?(_0x21ac32['mhfYc'](_0x4032c0,_0x8380c0['BUTTON_PRESS']),_0x21ac32['CFoad'](_0x2ede9a)):(_0x21ac32[_0x5d36(0xd)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x21ac32[_0x5d36(0x4c)](_0x3af862));}},React[_0x5d36(0x11)](Text,{'style':styles['logoutButtonText']},_0x21ac32[_0x5d36(0x4d)]))));},styles=StyleSheet[_0x5d36(0x4e)]({'container':{'flex':0x1,'backgroundColor':COLORS['surface'],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x5d36(0x4f),'alignItems':_0x5d36(0x50),'justifyContent':_0x5d36(0x50),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x5d36(0xb),'borderRadius':0xc,'alignItems':_0x5d36(0x50),'justifyContent':_0x5d36(0x50),'marginHorizontal':0x8,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'headerIcon':{'width':0x2a,'height':0x2a},'enochAppIcon':{'width':0x48,'height':0x48,'marginHorizontal':0x8},'enochLetter':{'fontSize':0x1c,'fontFamily':_0x5d36(0x51),'fontWeight':_0x5d36(0x52),'color':COLORS[_0x5d36(0x21)]},'arrow':{'fontSize':0x18,'color':COLORS[_0x5d36(0x53)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x5d36(0x50),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x5d36(0x51),'fontWeight':'700','color':COLORS[_0x5d36(0x21)],'textAlign':_0x5d36(0x50),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x5d36(0x54),'color':COLORS[_0x5d36(0x21)],'textAlign':_0x5d36(0x50),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x5d36(0x55),'fontWeight':'400','color':COLORS['grey600'],'textAlign':_0x5d36(0x50)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':'row','alignItems':'center','justifyContent':_0x5d36(0x56),'paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':'#F8F9FA','borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0x5d36(0x4f),'alignItems':_0x5d36(0x50),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x5d36(0x50),'justifyContent':'center'},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x5d36(0x57),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x5d36(0x4f),'alignItems':_0x5d36(0x50),'justifyContent':_0x5d36(0x50)},'acceptButtonActive':{'backgroundColor':_0x5d36(0x58)},'acceptButtonLoading':{'backgroundColor':_0x5d36(0x58),'opacity':0.8},'acceptButtonText':{'color':_0x5d36(0x59),'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0x5d36(0x54),'marginRight':0x8},'acceptButtonTextActive':{'color':_0x5d36(0xb)},'buttonArrow':{'color':_0x5d36(0x59),'fontSize':0x10},'buttonArrowActive':{'color':'#FFFFFF'},'declineButton':{'backgroundColor':_0x5d36(0x57),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':_0x5d36(0x50),'justifyContent':'center'},'declineButtonText':{'color':COLORS[_0x5d36(0x53)],'fontSize':0x10,'fontFamily':_0x5d36(0x55),'fontWeight':_0x5d36(0x5a)},'logoutButton':{'alignItems':_0x5d36(0x50),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0x5d36(0x55),'fontWeight':_0x5d36(0x5b),'color':COLORS[_0x5d36(0x5c)],'textDecorationLine':_0x5d36(0x5d)},'connectedPlatformsSection':{'alignItems':_0x5d36(0x50),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x5d36(0x5e),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x5d36(0x55),'fontWeight':_0x5d36(0x5a),'color':COLORS[_0x5d36(0x5c)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':'row','justifyContent':_0x5d36(0x50),'alignItems':_0x5d36(0x50),'flexWrap':'wrap','gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x5d36(0xb),'justifyContent':_0x5d36(0x50),'alignItems':_0x5d36(0x50),'shadowColor':_0x5d36(0x5f),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0x5d36(0x4f),'alignItems':_0x5d36(0x50),'justifyContent':_0x5d36(0x50),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0x5d36(0x5a),'color':COLORS[_0x5d36(0x5c)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0x5d36(0x25)],'justifyContent':_0x5d36(0x50),'alignItems':_0x5d36(0x50)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0x5d36(0x5a),'color':COLORS[_0x5d36(0x5c)],'marginTop':-0x2}});export{PersonalizationConsentScreen};export default PersonalizationConsentScreen;
1
+ import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';function _0x39e2(){const _0x46f348=['Enoch','basicProfile','kLETj','QvpJp','contain','Welcome\x20back!','Choose\x20what\x20to\x20share:','#4CD964','Connect\x20more','small','#FFFFFF','Accept\x20&\x20Continue','Decline','HeHop','some','createElement','container','scrollContent','headerContainer','iconContainer','onairosLogo','headerIcon','UYAow','arrow','enochIcon','enochAppIcon','titleContainer','sguSs','FxASZ','subtitle','UIotU','optionsContainer','optionLeft','optionIcon','grey800','checkboxContainer','checkbox','grey400','contentAnalysis','optionText','eoVFx','personalityProfile','grey700','connectedPlatformsSection','HzYHm','map','connectedPlatformIconContainer','connectedPlatformIcon','connectMoreButton','niFGg','MzHAC','NuxpO','WVuez','VSVDk','ZPOka','mTiEt','WoZQg','BUTTON_PRESS','EEHAL','connectMoreText','AFFDT','connectMorePlusCircle','connectMorePlus','buttonContainer','acceptButton','acceptButtonActive','acceptButtonLoading','YNCos','hZocU','bqwkh','DtrFL','Rxxnt','aBEZd','acceptButtonText','acceptButtonTextActive','NFFcC','buttonArrow','buttonArrowActive','declineButton','KVtfu','declineButtonText','rJHrh','create','surface','row','center','IBM\x20Plex\x20Sans','700','grey600','Inter','400','space-between','#E5E5E5','#2D3436','#999999','600','500','grey500','#F8F9FA','wrap','#000'];_0x39e2=function(){return _0x46f348;};return _0x39e2();}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x498c41,onAccept:_0x25a1d1,onDecline:_0x4f8db2,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x43d718,isReturningUser:isReturningUser=![],appName:appName=_0x4069(0x0),onLogout:_0x5505bc})=>{const _0x45e217={'BKJLL':function(_0x136027,_0x20ed9d){return _0x136027===_0x20ed9d;},'lmDwo':function(_0x3c8198,_0x5bd1f4){return _0x3c8198(_0x5bd1f4);},'niFGg':_0x4069(0x1),'MzHAC':function(_0x33c0a1,_0x979f33){return _0x33c0a1(_0x979f33);},'NuxpO':function(_0x4fc16c,_0x3261a8){return _0x4fc16c===_0x3261a8;},'WVuez':'qbkeX','VSVDk':'zNqaf','YNCos':function(_0x4cc088){return _0x4cc088();},'hZocU':function(_0x49b11a,_0x180970){return _0x49b11a===_0x180970;},'bqwkh':_0x4069(0x2),'DtrFL':_0x4069(0x3),'mRQpc':function(_0x2f4b5b,_0x20c26e){return _0x2f4b5b(_0x20c26e);},'sxtMB':function(_0x5b0b60){return _0x5b0b60();},'xWJIq':function(_0x4be93f,_0x1222ff){return _0x4be93f(_0x1222ff);},'KVtfu':function(_0x4da1c7){return _0x4da1c7();},'HeHop':function(_0x3fd4e0,_0x188c62){return _0x3fd4e0(_0x188c62);},'UYAow':_0x4069(0x4),'sguSs':_0x4069(0x5),'FxASZ':'\x20wants\x20to\x20personalize\x20your\x20experience','UIotU':_0x4069(0x6),'eoVFx':_0x4069(0x7),'HzYHm':'Connected\x20Platforms','zknZQ':function(_0x6d701d,_0x5749c8){return _0x6d701d>_0x5749c8;},'AFFDT':_0x4069(0x8),'Rxxnt':_0x4069(0x9),'aBEZd':_0x4069(0xa),'NFFcC':_0x4069(0xb),'rJHrh':_0x4069(0xc)},[_0x38bf85,_0x83663f]=_0x45e217[_0x4069(0xd)](useState,{'basicProfile':!![],'contentAnalysis':![],'personalityProfile':![]}),_0x26be3e=_0x446fc3=>{if(_0x45e217['BKJLL'](_0x446fc3,_0x4069(0x1)))return;_0x45e217['lmDwo'](triggerHaptic,HapticType['BUTTON_PRESS']),_0x45e217['lmDwo'](_0x83663f,_0x325932=>({..._0x325932,[_0x446fc3]:!_0x325932[_0x446fc3]}));},_0x454217=Object['values'](_0x38bf85)[_0x4069(0xe)](_0x10150c=>_0x10150c);if(!_0x498c41)return null;return React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x10)]},React[_0x4069(0xf)](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles[_0x4069(0x11)],'showsVerticalScrollIndicator':![]},React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x12)]},React['createElement'](View,{'style':styles[_0x4069(0x13)]},React[_0x4069(0xf)](Image,{'source':BRAND_IMAGES[_0x4069(0x14)],'style':styles[_0x4069(0x15)],'resizeMode':_0x45e217[_0x4069(0x16)]})),React['createElement'](Text,{'style':styles[_0x4069(0x17)]},'→'),React[_0x4069(0xf)](Image,{'source':BRAND_IMAGES[_0x4069(0x18)],'style':styles[_0x4069(0x19)],'resizeMode':_0x45e217[_0x4069(0x16)]})),React['createElement'](View,{'style':styles[_0x4069(0x1a)]},isReturningUser&&React[_0x4069(0xf)](Text,{'style':styles['welcomeBackText']},_0x45e217[_0x4069(0x1b)]),React[_0x4069(0xf)](Text,{'style':styles['title']},appName,_0x45e217[_0x4069(0x1c)]),React['createElement'](Text,{'style':styles[_0x4069(0x1d)]},_0x45e217[_0x4069(0x1e)])),React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x1f)]},React['createElement'](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x26be3e('basicProfile')},React['createElement'](View,{'style':styles[_0x4069(0x20)]},React[_0x4069(0xf)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x4069(0x21)]}),React['createElement'](Basicprofile,{'height':0x18,'fill':COLORS[_0x4069(0x22)],'style':styles['optionText']})),React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x23)]},_0x38bf85[_0x4069(0x1)]?React[_0x4069(0xf)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x45e217['eoVFx'],'style':styles[_0x4069(0x24)]}):React[_0x4069(0xf)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x4069(0x25)],'style':styles[_0x4069(0x24)]}))),React[_0x4069(0xf)](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x26be3e(_0x4069(0x26))},React[_0x4069(0xf)](View,{'style':styles['optionLeft']},React[_0x4069(0xf)](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x4069(0x21)]}),React[_0x4069(0xf)](Userpreferences,{'height':0x18,'fill':COLORS[_0x4069(0x22)],'style':styles[_0x4069(0x27)]})),React[_0x4069(0xf)](View,{'style':styles['checkboxContainer']},_0x38bf85[_0x4069(0x26)]?React[_0x4069(0xf)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x45e217[_0x4069(0x28)],'style':styles[_0x4069(0x24)]}):React[_0x4069(0xf)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x4069(0x25)],'style':styles[_0x4069(0x24)]}))),React['createElement'](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x26be3e(_0x4069(0x29))},React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x20)]},React['createElement'](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x4069(0x2a)],'style':styles[_0x4069(0x21)]}),React[_0x4069(0xf)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x4069(0x27)]})),React['createElement'](View,{'style':styles[_0x4069(0x23)]},_0x38bf85[_0x4069(0x29)]?React[_0x4069(0xf)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x45e217['eoVFx'],'style':styles['checkbox']}):React[_0x4069(0xf)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x4069(0x25)],'style':styles['checkbox']})))),React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x2b)]},React['createElement'](Text,{'style':styles['connectedPlatformsTitle']},_0x45e217[_0x4069(0x2c)]),_0x45e217['zknZQ'](connectedPlatforms['length'],0x0)&&React[_0x4069(0xf)](View,{'style':styles['connectedPlatformsIcons']},connectedPlatforms[_0x4069(0x2d)](_0x5b9b44=>React['createElement'](View,{'key':_0x5b9b44,'style':styles[_0x4069(0x2e)]},React[_0x4069(0xf)](Image,{'source':getPlatformIcon(_0x5b9b44),'style':styles[_0x4069(0x2f)],'resizeMode':'contain'})))),_0x43d718&&React[_0x4069(0xf)](TouchableOpacity,{'style':styles[_0x4069(0x30)],'onPress':()=>{const _0x36c8dd={'ZPOka':function(_0x52b1d0,_0xef21db){return _0x52b1d0===_0xef21db;},'mTiEt':_0x45e217[_0x4069(0x31)],'WoZQg':function(_0x326086,_0x1247ac){return _0x45e217[_0x4069(0x32)](_0x326086,_0x1247ac);},'EEHAL':function(_0x2fed8d,_0x2b99b2){return _0x2fed8d(_0x2b99b2);}};if(_0x45e217[_0x4069(0x33)](_0x45e217[_0x4069(0x34)],_0x45e217[_0x4069(0x35)])){if(_0x36c8dd[_0x4069(0x36)](_0x59cc91,_0x36c8dd[_0x4069(0x37)]))return;_0x36c8dd[_0x4069(0x38)](_0x3ab87f,_0x4c3b18[_0x4069(0x39)]),_0x36c8dd[_0x4069(0x3a)](_0x2cb90f,_0x4cddcb=>({..._0x4cddcb,[_0x24fee3]:!_0x4cddcb[_0x2a5555]}));}else triggerHaptic(HapticType[_0x4069(0x39)]),_0x43d718();}},React['createElement'](Text,{'style':styles[_0x4069(0x3b)]},_0x45e217[_0x4069(0x3c)]),React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x3d)]},React[_0x4069(0xf)](Text,{'style':styles[_0x4069(0x3e)]},'+')))),React[_0x4069(0xf)](View,{'style':styles[_0x4069(0x3f)]},React[_0x4069(0xf)](TouchableOpacity,{'style':[styles[_0x4069(0x40)],_0x454217&&styles[_0x4069(0x41)],loading&&styles[_0x4069(0x42)]],'onPress':()=>{const _0x3ca5f6={'wUHGF':function(_0x3497cd){return _0x45e217[_0x4069(0x43)](_0x3497cd);}};!loading&&(_0x45e217[_0x4069(0x44)](_0x45e217[_0x4069(0x45)],_0x45e217[_0x4069(0x46)])?(_0x4969f6(_0x2762bc[_0x4069(0x39)]),_0x3ca5f6['wUHGF'](_0x58e3cb)):(_0x45e217['mRQpc'](triggerHaptic,HapticType['BUTTON_PRESS']),_0x45e217['sxtMB'](_0x25a1d1)));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React['createElement'](ActivityIndicator,{'size':_0x45e217[_0x4069(0x47)],'color':_0x45e217[_0x4069(0x48)]}):React['createElement'](React['Fragment'],null,React[_0x4069(0xf)](Text,{'style':[styles[_0x4069(0x49)],_0x454217&&styles[_0x4069(0x4a)]]},_0x45e217[_0x4069(0x4b)]),React[_0x4069(0xf)](Text,{'style':[styles[_0x4069(0x4c)],_0x454217&&styles[_0x4069(0x4d)]]},'→'))),React['createElement'](TouchableOpacity,{'style':styles[_0x4069(0x4e)],'onPress':()=>{_0x45e217['xWJIq'](triggerHaptic,HapticType[_0x4069(0x39)]),_0x45e217[_0x4069(0x4f)](_0x4f8db2);}},React['createElement'](Text,{'style':styles[_0x4069(0x50)]},_0x45e217[_0x4069(0x51)])))));},styles=StyleSheet[_0x4069(0x52)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x4069(0x53)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x4069(0x54),'alignItems':_0x4069(0x55),'justifyContent':_0x4069(0x55),'marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x4069(0xa),'borderRadius':0xc,'alignItems':_0x4069(0x55),'justifyContent':_0x4069(0x55),'marginHorizontal':0x8,'shadowColor':'#000','shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'headerIcon':{'width':0x2a,'height':0x2a},'enochAppIcon':{'width':0x48,'height':0x48,'marginHorizontal':0x8},'enochLetter':{'fontSize':0x1c,'fontFamily':_0x4069(0x56),'fontWeight':_0x4069(0x57),'color':COLORS['grey800']},'arrow':{'fontSize':0x18,'color':COLORS[_0x4069(0x58)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x4069(0x55),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':_0x4069(0x56),'fontWeight':_0x4069(0x57),'color':COLORS[_0x4069(0x22)],'textAlign':_0x4069(0x55),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0x4069(0x56),'fontWeight':'600','color':COLORS['grey800'],'textAlign':_0x4069(0x55),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x4069(0x59),'fontWeight':_0x4069(0x5a),'color':COLORS['grey600'],'textAlign':'center'},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0x4069(0x54),'alignItems':'center','justifyContent':_0x4069(0x5b),'paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':'#F8F9FA','borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':_0x4069(0x54),'alignItems':'center','flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':_0x4069(0x55),'justifyContent':_0x4069(0x55)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':_0x4069(0x5c),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x4069(0x54),'alignItems':_0x4069(0x55),'justifyContent':_0x4069(0x55)},'acceptButtonActive':{'backgroundColor':_0x4069(0x5d)},'acceptButtonLoading':{'backgroundColor':_0x4069(0x5d),'opacity':0.8},'acceptButtonText':{'color':_0x4069(0x5e),'fontSize':0x10,'fontFamily':_0x4069(0x59),'fontWeight':_0x4069(0x5f),'marginRight':0x8},'acceptButtonTextActive':{'color':_0x4069(0xa)},'buttonArrow':{'color':'#999999','fontSize':0x10},'buttonArrowActive':{'color':_0x4069(0xa)},'declineButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':'center','justifyContent':_0x4069(0x55)},'declineButtonText':{'color':COLORS[_0x4069(0x58)],'fontSize':0x10,'fontFamily':_0x4069(0x59),'fontWeight':_0x4069(0x60)},'logoutButton':{'alignItems':_0x4069(0x55),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':'Inter','fontWeight':_0x4069(0x5a),'color':COLORS[_0x4069(0x61)],'textDecorationLine':'underline'},'connectedPlatformsSection':{'alignItems':'center','paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x4069(0x62),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x4069(0x59),'fontWeight':_0x4069(0x60),'color':COLORS[_0x4069(0x61)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':'row','justifyContent':_0x4069(0x55),'alignItems':_0x4069(0x55),'flexWrap':_0x4069(0x63),'gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x4069(0xa),'justifyContent':_0x4069(0x55),'alignItems':'center','shadowColor':_0x4069(0x64),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0x4069(0x54),'alignItems':_0x4069(0x55),'justifyContent':_0x4069(0x55),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x4069(0x59),'fontWeight':'500','color':COLORS[_0x4069(0x61)]},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0x4069(0x25)],'justifyContent':_0x4069(0x55),'alignItems':_0x4069(0x55)},'connectMorePlus':{'fontSize':0x12,'fontWeight':'500','color':COLORS[_0x4069(0x61)],'marginTop':-0x2}});export{PersonalizationConsentScreen};function _0x4069(_0x39e2cd,_0x406908){_0x39e2cd=_0x39e2cd-0x0;const _0x2a1eb4=_0x39e2();let _0x14bb62=_0x2a1eb4[_0x39e2cd];return _0x14bb62;}export default PersonalizationConsentScreen;
@@ -1 +1 @@
1
- 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';function _0x54e0(_0x19da73,_0x54e098){_0x19da73=_0x19da73-0x0;const _0x17977f=_0x19da();let _0x261d4e=_0x17977f[_0x19da73];return _0x261d4e;}import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0x3633af,onComplete:_0x58a19f,onBack:_0x47d013})=>{const _0x28ad58={'oQgYk':function(_0x36ae95,_0x279003){return _0x36ae95(_0x279003);},'cQEzs':function(_0x40eda2,_0xb7bc3d){return _0x40eda2(_0xb7bc3d);},'gRaNl':function(_0x500175,_0x4c11ad){return _0x500175!==_0x4c11ad;},'KaMLT':'yvCRs','RjjLE':function(_0x2b3d3b,_0x3e8e63){return _0x2b3d3b>=_0x3e8e63;},'lrGvW':function(_0x11901b,_0x1e89d4){return _0x11901b(_0x1e89d4);},'hAUSi':function(_0x2c3ddd,_0x197007){return _0x2c3ddd(_0x197007);},'TKsHA':_0x54e0(0x0),'xcEBR':function(_0x258b9c,_0x2c3f89){return _0x258b9c(_0x2c3f89);},'wOnmN':_0x54e0(0x1),'itPkS':function(_0xb11d12,_0x5a1fe8){return _0xb11d12(_0x5a1fe8);},'riDiB':function(_0x57807c,_0x38a7d7){return _0x57807c(_0x38a7d7);},'gHmcA':function(_0x190ab6,_0x384259){return _0x190ab6(_0x384259);},'UTQoP':_0x54e0(0x2),'eHagC':function(_0x111dfd,_0x2afcb4){return _0x111dfd(_0x2afcb4);},'OKPSO':function(_0x152076,_0xd430c2){return _0x152076===_0xd430c2;},'TmCON':_0x54e0(0x3),'NrIoR':_0x54e0(0x4),'LnlXv':_0x54e0(0x5),'fKygs':'📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','AhkFB':'❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','shKMl':_0x54e0(0x6),'JqaYl':_0x54e0(0x7),'wyGhf':function(_0x24ae29,_0x469d23){return _0x24ae29===_0x469d23;},'TDTNv':_0x54e0(0x8),'Snlry':_0x54e0(0x9),'OYwct':_0x54e0(0xa),'aKXSg':function(_0x96ae08,_0x1f1398){return _0x96ae08(_0x1f1398);},'HGfmO':_0x54e0(0xb),'ZQyxG':function(_0x10d795,_0x26ab10,_0x5a249a){return _0x10d795(_0x26ab10,_0x5a249a);},'OFZsh':'error','BSvjs':'PIN\x20Storage\x20Error','kAMzr':_0x54e0(0xc),'KdHRv':_0x54e0(0xd),'YFejP':_0x54e0(0xe),'FLibG':function(_0x1df45b,_0x9dd542){return _0x1df45b(_0x9dd542);},'cuqaS':_0x54e0(0xf),'liBBB':_0x54e0(0x10),'JtLps':function(_0x40d0ab,_0x3a777f){return _0x40d0ab(_0x3a777f);},'EUHRM':function(_0x56e254,_0xd8029f){return _0x56e254(_0xd8029f);},'zmhEr':_0x54e0(0x11),'sRxxw':_0x54e0(0x12),'fIooo':function(_0x3e5f91,_0x16eab2){return _0x3e5f91(_0x16eab2);},'kEiWK':function(_0xb0baf6,_0x302156){return _0xb0baf6(_0x302156);},'HOYtu':'PIN\x20Creation\x20Error','FPjzZ':_0x54e0(0x13),'REpFB':'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','mXPGA':_0x54e0(0x14),'MsMtc':function(_0x29c3d4){return _0x29c3d4();},'auBtE':_0x54e0(0x15),'Ekugk':_0x54e0(0x16),'ArGzH':_0x54e0(0x17),'SPpfi':_0x54e0(0x18),'QSoHU':function(_0x523867,_0x30e443){return _0x523867(_0x30e443);},'aaHOg':function(_0x4c2809,_0x5d2b91){return _0x4c2809(_0x5d2b91);},'yiJET':function(_0x2739cc,_0x20fa3d){return _0x2739cc!==_0x20fa3d;},'LtXsR':'fhrij','SzxNc':'rXwaX','orGrt':function(_0x4cc845){return _0x4cc845();},'BjCMl':function(_0x2a481c,_0x140ec5){return _0x2a481c(_0x140ec5);},'PkFfa':function(_0x28934d,_0x50c10b){return _0x28934d(_0x50c10b);},'jZANL':function(_0x4e0dbe,_0x31565c){return _0x4e0dbe(_0x31565c);},'cWSHp':function(_0x2902c8,_0x18b248,_0x540612){return _0x2902c8(_0x18b248,_0x540612);},'cxxHU':_0x54e0(0x19),'bBfoH':_0x54e0(0x1a),'jmoVP':_0x54e0(0x1b),'AgZOQ':'Be\x20at\x20least\x208\x20characters\x20in\x20length.','AfKbj':_0x54e0(0x1c),'UjylC':_0x54e0(0x1d),'XUsol':_0x54e0(0x1e),'gwLfC':function(_0x29168b,_0x2e0af0){return _0x29168b===_0x2e0af0;},'DoaNN':_0x54e0(0x1f),'agRdU':_0x54e0(0x20),'XieGo':function(_0x503397,_0x3473ed){return _0x503397===_0x3473ed;},'oBNRf':function(_0x55d4fe,_0x18309a){return _0x55d4fe===_0x18309a;},'uAySz':function(_0x3dd66e,_0xb616fe){return _0x3dd66e===_0xb616fe;},'qAVAm':'Checking\x20Face\x20ID...','QKAHo':function(_0x145fd2,_0xcb9b0){return _0x145fd2===_0xcb9b0;},'FCGox':function(_0x334831,_0x6e9813){return _0x334831===_0x6e9813;},'lmsKW':_0x54e0(0x21),'eLcmP':_0x54e0(0x22),'xYiUH':_0x54e0(0x23),'trSSn':_0x54e0(0x24),'hmGlT':_0x54e0(0x25),'zTyLv':function(_0x2c507c,_0x25554d){return _0x2c507c===_0x25554d;},'pcIyf':_0x54e0(0x26),'NkQRu':function(_0x2ca3a0,_0x1676c5){return _0x2ca3a0===_0x1676c5;},'gPAjx':_0x54e0(0x27),'bKGgJ':'Your\x20PIN\x20is\x20now\x20protected\x20with\x20Face\x20ID\x20authentication.','xlslR':function(_0x5ef9ff,_0x5ce474){return _0x5ef9ff||_0x5ce474;},'jIrJX':_0x54e0(0x28),'tIVWM':'Continue'},[_0x254eac,_0xfacef9]=_0x28ad58['eHagC'](useState,''),[_0x179bd4,_0x2b9900]=_0x28ad58[_0x54e0(0x29)](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x137323,_0x482743]=_0x28ad58[_0x54e0(0x2a)](useState,![]),[_0x4701a7,_0x2959e2]=_0x28ad58[_0x54e0(0x2b)](useState,![]),[_0x33a25f,_0x480213]=_0x28ad58['jZANL'](useState,_0x28ad58[_0x54e0(0x2c)]),_0x344df8=_0x49a069=>{if(_0x28ad58[_0x54e0(0x2d)](_0x54e0(0x2e),_0x28ad58[_0x54e0(0x2f)]))_0x28ad58[_0x54e0(0x2a)](_0x5e36f6,![]),_0x28ad58[_0x54e0(0x30)](_0x1a18cd,_0x353435);else{const _0x535ef6={'length':_0x28ad58[_0x54e0(0x31)](_0x49a069[_0x54e0(0x32)],0x8),'uppercase':/[A-Z]/[_0x54e0(0x33)](_0x49a069),'number':/[0-9]/[_0x54e0(0x33)](_0x49a069),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x54e0(0x33)](_0x49a069)};return _0x28ad58[_0x54e0(0x34)](_0x2b9900,_0x535ef6),Object['values'](_0x535ef6)[_0x54e0(0x35)](_0x108644=>_0x108644);}},_0x1cb065=_0x4437d8=>{_0x28ad58[_0x54e0(0x36)](_0xfacef9,_0x4437d8),_0x344df8(_0x4437d8);},_0x743485=async()=>{const _0xd8a564={'FbmAB':function(_0x329be7,_0x3d28e8){return _0x329be7(_0x3d28e8);},'cArCm':function(_0x1b8fac,_0x183318){return _0x28ad58[_0x54e0(0x36)](_0x1b8fac,_0x183318);}};if(!_0x28ad58[_0x54e0(0x37)](_0x344df8,_0x254eac)){_0x28ad58['gHmcA'](triggerHaptic,HapticType[_0x54e0(0x38)]),Alert[_0x54e0(0x39)](_0x28ad58[_0x54e0(0x3a)],'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.');return;}_0x28ad58['eHagC'](triggerHaptic,HapticType[_0x54e0(0x3b)]),_0x28ad58['eHagC'](_0x482743,!![]);try{if(_0x28ad58['OKPSO'](_0x28ad58[_0x54e0(0x3c)],_0x54e0(0x3d))){const _0x4c4051={'length':_0x28ad58[_0x54e0(0x31)](_0x202ea0[_0x54e0(0x32)],0x8),'uppercase':/[A-Z]/[_0x54e0(0x33)](_0x13cfdb),'number':/[0-9]/[_0x54e0(0x33)](_0x32830a),'symbol':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x14f5d1)};return _0x579512(_0x4c4051),_0x43e7db[_0x54e0(0x3e)](_0x4c4051)[_0x54e0(0x35)](_0x8ed9bb=>_0x8ed9bb);}else{console['log'](_0x28ad58['NrIoR']),_0x28ad58[_0x54e0(0x3f)](setTemporaryPin,_0x254eac),console[_0x54e0(0x40)]('📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding');if(_0x4701a7){_0x480213(_0x54e0(0x1f)),console[_0x54e0(0x40)](_0x28ad58[_0x54e0(0x41)]);const _0x5286f0=await biometricPinService['isBiometricAvailable']();console[_0x54e0(0x40)](_0x28ad58['fKygs'],_0x5286f0);if(!_0x5286f0){console[_0x54e0(0x42)](_0x28ad58[_0x54e0(0x43)]),_0x28ad58['oQgYk'](_0x480213,_0x28ad58[_0x54e0(0x44)]),_0x482743(![]);return;}console[_0x54e0(0x40)](_0x54e0(0x45));const _0x4fc098=await biometricPinService[_0x54e0(0x46)](_0x254eac);if(_0x4fc098){console[_0x54e0(0x40)](_0x28ad58[_0x54e0(0x47)]);const _0x57479c=await biometricPinService[_0x54e0(0x48)]();_0x57479c?_0x28ad58[_0x54e0(0x49)](_0x28ad58[_0x54e0(0x4a)],_0x28ad58[_0x54e0(0x4b)])?(_0x288e9b['error'](_0x28ad58[_0x54e0(0x4c)]),_0x28ad58[_0x54e0(0x2a)](_0x19e301,_0x54e0(0x42)),_0x458f3b(![]),_0x28ad58[_0x54e0(0x4d)](_0x5c8242,_0xf0cb1a[_0x54e0(0x38)]),Alert[_0x54e0(0x39)](_0x54e0(0x4e),_0x28ad58[_0x54e0(0x4f)],[{'text':'OK'}])):(console[_0x54e0(0x40)](_0x28ad58[_0x54e0(0x50)]),_0x28ad58[_0x54e0(0x51)](_0x480213,_0x28ad58[_0x54e0(0x52)]),_0x28ad58[_0x54e0(0x37)](triggerHaptic,HapticType[_0x54e0(0x53)]),_0x28ad58[_0x54e0(0x54)](setTimeout,()=>{_0x28ad58['itPkS'](_0x482743,![]),_0x28ad58[_0x54e0(0x34)](_0x58a19f,_0x254eac);},0x320)):(console[_0x54e0(0x42)](_0x28ad58[_0x54e0(0x4c)]),_0x28ad58[_0x54e0(0x55)](_0x480213,_0x28ad58['OFZsh']),_0x28ad58[_0x54e0(0x56)](_0x482743,![]),triggerHaptic(HapticType[_0x54e0(0x38)]),Alert[_0x54e0(0x39)](_0x28ad58['BSvjs'],_0x54e0(0x1),[{'text':'OK'}]));}else _0x28ad58[_0x54e0(0x2d)](_0x28ad58[_0x54e0(0x57)],_0x28ad58['KdHRv'])?(console[_0x54e0(0x40)](_0x28ad58[_0x54e0(0x58)]),_0x480213(_0x28ad58[_0x54e0(0x59)]),_0x28ad58[_0x54e0(0x5a)](triggerHaptic,HapticType[_0x54e0(0x38)]),Alert['alert'](_0x54e0(0x5b),_0x28ad58[_0x54e0(0x5c)],[{'text':_0x28ad58['liBBB'],'onPress':()=>{_0xd8a564[_0x54e0(0x5d)](_0x482743,![]),_0x480213(_0x54e0(0x16));}},{'text':'Continue\x20Without\x20Face\x20ID','onPress':()=>{_0xd8a564['FbmAB'](_0x482743,![]),_0xd8a564[_0x54e0(0x5e)](_0x58a19f,_0x254eac);}}])):(_0x57e4ec(_0x24d3b9),_0x28ad58[_0x54e0(0x55)](_0x2c5ced,_0x28b8bb));}else console[_0x54e0(0x40)](_0x54e0(0x5f)),_0x28ad58[_0x54e0(0x5a)](_0x480213,_0x28ad58[_0x54e0(0x44)]),_0x28ad58[_0x54e0(0x60)](_0x482743,![]),_0x28ad58['EUHRM'](_0x58a19f,_0x254eac);}}catch(_0x3590a7){const _0x45ecd6=_0x28ad58[_0x54e0(0x61)][_0x54e0(0x62)]('|');let _0x42bd14=0x0;while(!![]){switch(_0x45ecd6[_0x42bd14++]){case'0':_0x480213(_0x28ad58[_0x54e0(0x59)]);continue;case'1':console[_0x54e0(0x42)](_0x28ad58[_0x54e0(0x63)],_0x3590a7);continue;case'2':_0x28ad58[_0x54e0(0x64)](_0x482743,![]);continue;case'3':_0x28ad58[_0x54e0(0x65)](triggerHaptic,HapticType[_0x54e0(0x38)]);continue;case'4':Alert[_0x54e0(0x39)](_0x28ad58[_0x54e0(0x66)],_0x28ad58[_0x54e0(0x67)],[{'text':'OK'}]);continue;}break;}}},_0x446d9c=()=>{if(_0x28ad58[_0x54e0(0x68)](_0x28ad58[_0x54e0(0x69)],_0x28ad58[_0x54e0(0x69)]))triggerHaptic(HapticType[_0x54e0(0x3b)]),_0x28ad58[_0x54e0(0x6a)](_0x47d013);else{_0x28ad58[_0x54e0(0x5a)](_0x4da04a,_0x2ecc8f['ERROR']),Alert['alert'](_0x28ad58['UTQoP'],_0x28ad58['REpFB']);return;}};_0x28ad58[_0x54e0(0x6b)](useEffect,()=>{const _0x5ebdcb={'JjRYb':_0x54e0(0x5f),'xzYQM':function(_0x8fb7f,_0x53e1c7){return _0x28ad58['QSoHU'](_0x8fb7f,_0x53e1c7);},'STLrl':_0x28ad58[_0x54e0(0x44)],'qjrGA':function(_0x385519,_0x25505a){return _0x28ad58[_0x54e0(0x6c)](_0x385519,_0x25505a);},'xhqbM':function(_0x1ba8cb,_0x540591){return _0x1ba8cb(_0x540591);}},_0xa7c910=async()=>{try{_0x480213(_0x28ad58[_0x54e0(0x2c)]);const _0x4bf52e=await biometricPinService[_0x54e0(0x6d)]();_0x2959e2(_0x4bf52e),_0x28ad58[_0x54e0(0x60)](_0x480213,_0x4bf52e?_0x28ad58[_0x54e0(0x6e)]:_0x28ad58[_0x54e0(0x44)]),console[_0x54e0(0x40)](_0x28ad58['ArGzH'],_0x4bf52e);}catch(_0x225747){_0x28ad58[_0x54e0(0x68)](_0x54e0(0x6f),'yzTEj')?(console[_0x54e0(0x42)](_0x28ad58[_0x54e0(0x70)],_0x225747),_0x28ad58['xcEBR'](_0x2959e2,![]),_0x28ad58['eHagC'](_0x480213,'unavailable')):(_0x543752[_0x54e0(0x40)](_0x5ebdcb['JjRYb']),_0x5ebdcb[_0x54e0(0x71)](_0x1bc207,_0x5ebdcb[_0x54e0(0x72)]),_0x198d4a(![]),_0x2cf2e3(_0x57413d));}};_0x3633af&&(_0x28ad58['yiJET'](_0x28ad58[_0x54e0(0x73)],_0x28ad58['SzxNc'])?_0x28ad58[_0x54e0(0x74)](_0xa7c910):(_0x4de54a[_0x54e0(0x42)](_0x54e0(0x18),_0x4ef888),_0x5ebdcb['qjrGA'](_0x2f90ab,![]),_0x5ebdcb[_0x54e0(0x75)](_0x40c0a5,'unavailable')));},[_0x3633af]);const _0x3a533f=Object[_0x54e0(0x3e)](_0x179bd4)['every'](_0x2f9041=>_0x2f9041);if(!_0x3633af)return null;return React[_0x54e0(0x76)](View,{'style':styles[_0x54e0(0x77)]},React[_0x54e0(0x76)](View,{'style':styles['titleContainer']},React[_0x54e0(0x76)](Text,{'style':styles['title']},_0x28ad58['cxxHU']),React[_0x54e0(0x76)](Text,{'style':styles['subtitle']},'A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.')),React[_0x54e0(0x76)](View,{'style':styles[_0x54e0(0x78)]},React[_0x54e0(0x76)](TextInput,{'style':styles[_0x54e0(0x79)],'value':_0x254eac,'onChangeText':_0x1cb065,'placeholder':_0x28ad58[_0x54e0(0x7a)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React['createElement'](View,{'style':styles[_0x54e0(0x7b)]},React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x7c)]},_0x28ad58['jmoVP']),React[_0x54e0(0x76)](View,{'style':styles['requirementItem']},React[_0x54e0(0x76)](View,{'style':[styles[_0x54e0(0x7d)],_0x179bd4[_0x54e0(0x32)]&&styles['checkboxChecked']]},_0x179bd4[_0x54e0(0x32)]&&React['createElement'](Text,{'style':styles['checkmark']},'✓')),React['createElement'](Text,{'style':[styles['requirementText'],_0x179bd4[_0x54e0(0x32)]&&styles[_0x54e0(0x7e)]]},_0x28ad58[_0x54e0(0x7f)])),React[_0x54e0(0x76)](View,{'style':styles['requirementItem']},React['createElement'](View,{'style':[styles[_0x54e0(0x7d)],_0x179bd4[_0x54e0(0x80)]&&styles[_0x54e0(0x81)]]},_0x179bd4[_0x54e0(0x80)]&&React['createElement'](Text,{'style':styles['checkmark']},'✓')),React[_0x54e0(0x76)](Text,{'style':[styles[_0x54e0(0x82)],_0x179bd4['uppercase']&&styles[_0x54e0(0x7e)]]},_0x28ad58[_0x54e0(0x83)])),React[_0x54e0(0x76)](View,{'style':styles[_0x54e0(0x84)]},React[_0x54e0(0x76)](View,{'style':[styles['checkbox'],_0x179bd4['number']&&styles[_0x54e0(0x81)]]},_0x179bd4[_0x54e0(0x85)]&&React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x86)]},'✓')),React[_0x54e0(0x76)](Text,{'style':[styles[_0x54e0(0x82)],_0x179bd4[_0x54e0(0x85)]&&styles[_0x54e0(0x7e)]]},_0x28ad58[_0x54e0(0x87)])),React['createElement'](View,{'style':styles['requirementItem']},React['createElement'](View,{'style':[styles[_0x54e0(0x7d)],_0x179bd4[_0x54e0(0x88)]&&styles[_0x54e0(0x81)]]},_0x179bd4[_0x54e0(0x88)]&&React[_0x54e0(0x76)](Text,{'style':styles['checkmark']},'✓')),React[_0x54e0(0x76)](Text,{'style':[styles[_0x54e0(0x82)],_0x179bd4[_0x54e0(0x88)]&&styles[_0x54e0(0x7e)]]},'Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).'))),React[_0x54e0(0x76)](View,{'style':[styles[_0x54e0(0x89)],_0x28ad58['wyGhf'](_0x33a25f,'success')&&styles[_0x54e0(0x8a)],_0x28ad58[_0x54e0(0x68)](_0x33a25f,_0x28ad58[_0x54e0(0x59)])&&styles[_0x54e0(0x8b)]]},React[_0x54e0(0x76)](View,{'style':styles['securityIconContainer']},_0x33a25f===_0x28ad58[_0x54e0(0x2c)]&&React[_0x54e0(0x76)](ActivityIndicator,{'size':_0x28ad58['XUsol'],'color':COLORS[_0x54e0(0x8c)]}),_0x28ad58[_0x54e0(0x8d)](_0x33a25f,_0x28ad58[_0x54e0(0x8e)])&&React['createElement'](ActivityIndicator,{'size':_0x28ad58['XUsol'],'color':_0x28ad58['agRdU']}),_0x28ad58[_0x54e0(0x68)](_0x33a25f,_0x54e0(0x16))&&React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x8f)]},'🔐'),_0x28ad58['gwLfC'](_0x33a25f,'unavailable')&&React['createElement'](Text,{'style':styles[_0x54e0(0x8f)]},'⚠️'),_0x28ad58['XieGo'](_0x33a25f,'success')&&React['createElement'](Text,{'style':styles[_0x54e0(0x8f)]},'✅'),_0x28ad58[_0x54e0(0x90)](_0x33a25f,_0x28ad58[_0x54e0(0x59)])&&React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x8f)]},'❌')),React['createElement'](View,{'style':styles['securityTextContainer']},React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x91)]},_0x28ad58[_0x54e0(0x92)](_0x33a25f,_0x28ad58['auBtE'])&&_0x28ad58[_0x54e0(0x93)],_0x28ad58[_0x54e0(0x94)](_0x33a25f,_0x54e0(0x16))&&_0x54e0(0x95),_0x28ad58['FCGox'](_0x33a25f,_0x28ad58[_0x54e0(0x44)])&&_0x28ad58[_0x54e0(0x96)],_0x33a25f===_0x28ad58['DoaNN']&&_0x28ad58[_0x54e0(0x97)],_0x33a25f===_0x28ad58['HGfmO']&&_0x28ad58[_0x54e0(0x98)],_0x33a25f===_0x28ad58[_0x54e0(0x59)]&&_0x28ad58[_0x54e0(0x99)]),React[_0x54e0(0x76)](Text,{'style':styles[_0x54e0(0x9a)]},_0x28ad58[_0x54e0(0x90)](_0x33a25f,_0x28ad58['auBtE'])&&_0x28ad58['hmGlT'],_0x28ad58[_0x54e0(0x9b)](_0x33a25f,_0x28ad58[_0x54e0(0x6e)])&&_0x54e0(0x9c),_0x33a25f===_0x54e0(0x6)&&_0x28ad58['pcIyf'],_0x28ad58[_0x54e0(0x9d)](_0x33a25f,_0x54e0(0x1f))&&_0x28ad58['gPAjx'],_0x28ad58[_0x54e0(0x9d)](_0x33a25f,_0x28ad58['HGfmO'])&&_0x28ad58[_0x54e0(0x9e)],_0x33a25f===_0x28ad58[_0x54e0(0x59)]&&_0x54e0(0x9f)))),React['createElement'](View,{'style':styles[_0x54e0(0xa0)]},React[_0x54e0(0x76)](TouchableOpacity,{'style':[styles['continueButton'],_0x3a533f&&styles['continueButtonActive']],'onPress':_0x743485,'disabled':_0x28ad58['xlslR'](!_0x3a533f,_0x137323)},_0x137323?React[_0x54e0(0x76)](ActivityIndicator,{'size':_0x28ad58['XUsol'],'color':_0x28ad58[_0x54e0(0xa1)]}):React[_0x54e0(0x76)](Text,{'style':[styles['continueButtonText'],_0x3a533f&&styles['continueButtonTextActive']]},_0x28ad58[_0x54e0(0xa2)]))));},styles=StyleSheet[_0x54e0(0xa3)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x54e0(0xa4)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':_0x54e0(0xa5),'marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x54e0(0xa6),'color':COLORS['grey800'],'marginBottom':0x8,'fontFamily':_0x54e0(0xa7)},'subtitle':{'fontSize':0x10,'color':COLORS[_0x54e0(0x8c)],'lineHeight':0x18,'fontFamily':'Inter'},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x54e0(0xa8),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x54e0(0xa9),'borderWidth':0x1,'borderColor':_0x54e0(0xaa)},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x54e0(0xab),'color':COLORS[_0x54e0(0xac)],'marginBottom':0x10,'fontFamily':_0x54e0(0xa9)},'requirementItem':{'flexDirection':_0x54e0(0xad),'alignItems':_0x54e0(0xa5),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':'#E5E5E5','marginRight':0xc,'alignItems':_0x54e0(0xa5),'justifyContent':_0x54e0(0xa5)},'checkboxChecked':{'borderColor':_0x54e0(0xae),'backgroundColor':'#4CD964'},'checkmark':{'color':_0x54e0(0x28),'fontSize':0xc,'fontWeight':_0x54e0(0xaf)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x54e0(0x8c)],'fontFamily':_0x54e0(0xa9),'flex':0x1},'requirementTextMet':{'color':COLORS['grey800']},'securityCard':{'backgroundColor':_0x54e0(0xa8),'borderRadius':0xc,'padding':0x10,'flexDirection':'row','alignItems':'center','marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x54e0(0xaa)},'securityCardSuccess':{'backgroundColor':_0x54e0(0xb0),'borderColor':_0x54e0(0xb1)},'securityCardError':{'backgroundColor':_0x54e0(0xb2),'borderColor':_0x54e0(0xb3)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x54e0(0xab),'color':COLORS[_0x54e0(0xac)],'marginBottom':0x4,'fontFamily':_0x54e0(0xa9)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x54e0(0x8c)],'lineHeight':0x12,'fontFamily':_0x54e0(0xa9)},'buttonContainer':{'marginTop':_0x54e0(0xb4),'paddingBottom':0x22},'continueButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0x10,'alignItems':_0x54e0(0xa5),'justifyContent':_0x54e0(0xa5)},'continueButtonActive':{'backgroundColor':'#2D3436'},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x54e0(0xab),'color':_0x54e0(0xb5),'fontFamily':_0x54e0(0xa9)},'continueButtonTextActive':{'color':_0x54e0(0x28)}});function _0x19da(){const _0x1ea6f5=['❌\x20PIN\x20storage\x20verification\x20failed','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','Invalid\x20PIN','YsSaC','🔐\x20Starting\x20PIN\x20creation\x20process...','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','unavailable','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','tSaGO','bktBo','✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','success','YCVIw','RmAjw','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','Try\x20Again','1|0|2|3|4','❌\x20Error\x20in\x20PIN\x20creation\x20process:','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','jrlTI','checking','available','📱\x20Biometric\x20availability\x20check:','❌\x20Error\x20checking\x20biometric\x20availability:','Create\x20a\x20PIN','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Contain\x20an\x20uppercase\x20letter.','Contain\x20a\x20number.','small','storing','#D4A536','Face\x20ID\x20Unavailable','Securing\x20with\x20Face\x20ID...','PIN\x20Secured\x20with\x20Face\x20ID','Face\x20ID\x20Setup\x20Failed','Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','Please\x20authenticate\x20with\x20Face\x20ID\x20to\x20secure\x20your\x20PIN.','#FFFFFF','BjCMl','oQgYk','PkFfa','auBtE','gRaNl','yvCRs','KaMLT','cQEzs','RjjLE','length','test','lrGvW','every','hAUSi','itPkS','ERROR','alert','UTQoP','BUTTON_PRESS','TmCON','zQrDb','values','gHmcA','log','LnlXv','error','AhkFB','shKMl','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','storePinWithBiometric','JqaYl','isPinStored','wyGhf','TDTNv','Snlry','TKsHA','xcEBR','PIN\x20Storage\x20Error','wOnmN','OYwct','aKXSg','HGfmO','SUCCESS','ZQyxG','riDiB','eHagC','kAMzr','YFejP','OFZsh','FLibG','Face\x20ID\x20Setup','cuqaS','FbmAB','cArCm','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','JtLps','zmhEr','split','sRxxw','fIooo','kEiWK','HOYtu','FPjzZ','OKPSO','mXPGA','MsMtc','cWSHp','aaHOg','isBiometricAvailable','Ekugk','yzTEj','SPpfi','xzYQM','STLrl','LtXsR','orGrt','xhqbM','createElement','container','pinContainer','pinInput','bBfoH','requirementsContainer','requirementsTitle','checkbox','requirementTextMet','AgZOQ','uppercase','checkboxChecked','requirementText','AfKbj','requirementItem','number','checkmark','UjylC','symbol','securityCard','securityCardSuccess','securityCardError','grey600','gwLfC','DoaNN','securityIcon','oBNRf','securityTitle','uAySz','qAVAm','QKAHo','Enhanced\x20Security','lmsKW','eLcmP','xYiUH','trSSn','securityDescription','zTyLv','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','NkQRu','bKGgJ','Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','buttonContainer','jIrJX','tIVWM','create','surface','center','700','IBM\x20Plex\x20Sans','#F8F9FA','Inter','#E5E5E5','600','grey800','row','#4CD964','bold','#F0FDF4','#22C55E','#FEF2F2','#EF4444','auto','#999999'];_0x19da=function(){return _0x1ea6f5;};return _0x19da();}export{PinCreationScreen};export default PinCreationScreen;
1
+ import React,{useState,useEffect}from'react';import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';import{COLORS}from'../theme';function _0x556b(_0x17cae3,_0x556b08){_0x17cae3=_0x17cae3-0x0;const _0x48c4fa=_0x17ca();let _0x4ceee7=_0x48c4fa[_0x17cae3];return _0x4ceee7;}import{triggerHaptic,HapticType}from'../utils/haptics';import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';function _0x17ca(){const _0x424c5a=['Invalid\x20PIN','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','error','PIN\x20Storage\x20Error','QyamF','storing','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','zpoqZ','WgJKD','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID','✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','MdiPk','ytRiI','3|1|0|4|2','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','BKzcR','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','Try\x20Again','Continue\x20Without\x20Face\x20ID','eeWPg','❌\x20Error\x20in\x20PIN\x20creation\x20process:','jaTDA','checking','Create\x20a\x20PIN','Enter\x20your\x20PIN','Your\x20PIN\x20must:','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20a\x20number.','small','success','Checking\x20Face\x20ID...','Enhanced\x20Security','Face\x20ID\x20Unavailable','Securing\x20with\x20Face\x20ID...','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.','Face\x20ID\x20setup\x20failed,\x20but\x20your\x20PIN\x20is\x20stored\x20securely.','Continue','abLOo','IXVbe','XPEnv','kuFqq','TMdLR','length','test','values','every','TuPWg','KRMOm','eDIfk','JXBqX','HkgrF','ERROR','GCfVg','bIkaB','BUTTON_PRESS','🔐\x20Starting\x20PIN\x20creation\x20process...','EwaKW','log','bieyK','mTfwQ','jXaRF','AQNZY','yFJZs','EVpFg','isBiometricAvailable','📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:','ctxPT','xwmKD','MLuem','ZzpCG','tWBwF','unavailable','storePinWithBiometric','ilMHH','isPinStored','zesHY','oqjTm','cxCCW','wqefU','VrrUT','SUCCESS','NuIDp','ozswo','TmgwT','alert','TJenV','bpAjv','hcRRk','pvbTw','cEKgS','Mtbwd','gkJHk','iDNOm','ilsxG','aAIaz','ODKUa','JRPZG','hFDew','Ertvu','nWgvx','split','mPMjq','There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','vSaBe','1|3|0|2|4','zcmKg','Chgmr','BufEK','📱\x20Biometric\x20availability\x20check:','SmFMP','Ripry','KljPN','GlzYM','fvVnl','IQRKC','fUcDY','VyRsE','mLnDF','Jcwix','SUupG','sPTHI','createElement','container','titleContainer','title','subtitle','pinInput','uEpGR','requirementsContainer','coAWg','checkbox','checkboxChecked','checkmark','requirementTextMet','requirementItem','uppercase','requirementText','number','QMCFv','symbol','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','securityCard','ZzwWN','securityCardSuccess','securityCardError','securityIconContainer','grey600','FlOWG','securityIcon','Bknjt','nbmzZ','securityTextContainer','securityTitle','vQzTD','wYcIM','bFZUJ','SpqOo','LARUC','XDGNF','Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','YcvgX','UwqLz','BtgbH','ZwwPk','continueButton','continueButtonActive','OMtlh','mAstV','hUMCb','continueButtonText','continueButtonTextActive','AjebC','create','center','700','grey800','IBM\x20Plex\x20Sans','Inter','#E5E5E5','600','#4CD964','#FFFFFF','bold','#F8F9FA','row','#F0FDF4','#22C55E','#FEF2F2','#EF4444','auto','#2D3436'];_0x17ca=function(){return _0x424c5a;};return _0x17ca();}const PinCreationScreen=({visible:_0xd44dc0,onComplete:_0x5b31a9,onBack:_0x4807c6})=>{const _0xec950a={'TMdLR':function(_0x3f73be,_0x4a51b9){return _0x3f73be>=_0x4a51b9;},'XPEnv':function(_0x417ead,_0x68520d){return _0x417ead(_0x68520d);},'jXaRF':function(_0x24cf4f,_0xdc492c){return _0x24cf4f>=_0xdc492c;},'ZzpCG':'❌\x20Error\x20checking\x20biometric\x20availability:','tWBwF':function(_0x221ee0,_0x257906){return _0x221ee0(_0x257906);},'KRMOm':'unavailable','nutrd':_0x556b(0x0),'GCfVg':'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.','EwaKW':function(_0x5843e6,_0x3f3499){return _0x5843e6(_0x3f3499);},'Mtbwd':'available','ctxPT':function(_0x577015,_0x3a30ad){return _0x577015===_0x3a30ad;},'iDNOm':'sQcBx','xVVPT':function(_0x4ec21b){return _0x4ec21b();},'oJiSK':_0x556b(0x1),'TuPWg':_0x556b(0x2),'IXVbe':function(_0x3b4e0a,_0x32c559){return _0x3b4e0a(_0x32c559);},'eDIfk':_0x556b(0x3),'JXBqX':_0x556b(0x4),'HkgrF':function(_0xc5e424,_0x432031){return _0xc5e424(_0x432031);},'bIkaB':function(_0x4651ec,_0x458630){return _0x4651ec(_0x458630);},'bieyK':'📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','mTfwQ':_0x556b(0x5),'AQNZY':function(_0x3f9098,_0x42786c){return _0x3f9098(_0x42786c);},'yFJZs':_0x556b(0x6),'EVpFg':_0x556b(0x7),'xwmKD':_0x556b(0x8),'MLuem':_0x556b(0x9),'nUSRD':function(_0xef8a26,_0x1b3f68){return _0xef8a26(_0x1b3f68);},'aEbgG':_0x556b(0xa),'ilMHH':_0x556b(0xb),'zesHY':'oqjTm','YLgBn':_0x556b(0xc),'NuIDp':_0x556b(0xd),'ozswo':_0x556b(0xe),'mMFGg':_0x556b(0xf),'TmgwT':function(_0x393d63,_0x2dbf33){return _0x393d63(_0x2dbf33);},'TJenV':_0x556b(0x10),'bpAjv':'❌\x20PIN\x20storage\x20verification\x20failed','hcRRk':function(_0x188004,_0x499f0d){return _0x188004===_0x499f0d;},'cEKgS':_0x556b(0x11),'gkJHk':_0x556b(0x12),'TgvVU':_0x556b(0x13),'bxOET':_0x556b(0x14),'jCThz':'eeCsf','hFDew':function(_0x1f8e08,_0x47ef94){return _0x1f8e08(_0x47ef94);},'Ertvu':_0x556b(0x15),'nWgvx':'3|2|4|0|1','mPMjq':'PIN\x20Creation\x20Error','qXXZT':function(_0x5d9af9,_0x68c894){return _0x5d9af9(_0x68c894);},'vSaBe':_0x556b(0x16),'Nybbg':function(_0x57f6bd,_0x2aefa0){return _0x57f6bd(_0x2aefa0);},'BufEK':function(_0x15e99){return _0x15e99();},'SmFMP':function(_0x3b4d80,_0xf166c5){return _0x3b4d80(_0xf166c5);},'Ripry':_0x556b(0x17),'sPTHI':function(_0x44896e){return _0x44896e();},'abLOo':function(_0x21edd7,_0x45b250){return _0x21edd7(_0x45b250);},'kuFqq':_0x556b(0x18),'OCwgh':function(_0x5bbad7,_0x1de43f,_0x40dc11){return _0x5bbad7(_0x1de43f,_0x40dc11);},'TrAWH':_0x556b(0x19),'YXZGh':'A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','uEpGR':_0x556b(0x1a),'coAWg':_0x556b(0x1b),'fsIlp':_0x556b(0x1c),'gqDZC':'Contain\x20an\x20uppercase\x20letter.','QMCFv':_0x556b(0x1d),'ZzwWN':function(_0x2be78b,_0x315912){return _0x2be78b===_0x315912;},'UwqLz':function(_0x47e407,_0x2e72d4){return _0x47e407===_0x2e72d4;},'mAstV':_0x556b(0x1e),'FlOWG':'#D4A536','Bknjt':function(_0x3b76b9,_0x3aada2){return _0x3b76b9===_0x3aada2;},'nbmzZ':_0x556b(0x1f),'vQzTD':_0x556b(0x20),'pXibo':_0x556b(0x21),'wYcIM':_0x556b(0x22),'bFZUJ':function(_0x474a79,_0x5b924f){return _0x474a79===_0x5b924f;},'SpqOo':_0x556b(0x23),'LARUC':_0x556b(0x24),'APgcz':function(_0x3d2de6,_0x14b0f7){return _0x3d2de6===_0x14b0f7;},'XDGNF':'Face\x20ID\x20Setup\x20Failed','ZjLQR':_0x556b(0x25),'YcvgX':_0x556b(0x26),'iPWIu':_0x556b(0x27),'BtgbH':function(_0x54d6fc,_0x356dc1){return _0x54d6fc===_0x356dc1;},'ZwwPk':_0x556b(0x28),'ksnrW':_0x556b(0x29),'OMtlh':function(_0x135b00,_0x2e8974){return _0x135b00||_0x2e8974;},'hUMCb':'#FFFFFF','AjebC':_0x556b(0x2a)},[_0x5ba5e3,_0x20c7f3]=_0xec950a[_0x556b(0x2b)](useState,''),[_0x4880b9,_0x4c0f0d]=_0xec950a[_0x556b(0x2c)](useState,{'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x3aba26,_0x41a8b4]=useState(![]),[_0x37ab6d,_0x20c4dd]=_0xec950a[_0x556b(0x2d)](useState,![]),[_0x172a2b,_0x5b9da1]=useState(_0xec950a[_0x556b(0x2e)]),_0xb2b6e4=_0x116362=>{const _0x1ff1a4={'length':_0xec950a[_0x556b(0x2f)](_0x116362[_0x556b(0x30)],0x8),'uppercase':/[A-Z]/[_0x556b(0x31)](_0x116362),'number':/[0-9]/[_0x556b(0x31)](_0x116362),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x556b(0x31)](_0x116362)};return _0x4c0f0d(_0x1ff1a4),Object[_0x556b(0x32)](_0x1ff1a4)[_0x556b(0x33)](_0x1ccef9=>_0x1ccef9);},_0x44a2f3=_0x1bed32=>{_0x20c7f3(_0x1bed32),_0xec950a[_0x556b(0x2d)](_0xb2b6e4,_0x1bed32);},_0x44477e=async()=>{const _0x158961={'cxCCW':_0xec950a['oJiSK'],'wqefU':function(_0x3b8fd1,_0x169b41){return _0xec950a[_0x556b(0x2d)](_0x3b8fd1,_0x169b41);},'VrrUT':function(_0x8ba877,_0x5a220b){return _0xec950a[_0x556b(0x2d)](_0x8ba877,_0x5a220b);},'wlrAg':_0xec950a[_0x556b(0x34)],'aAIaz':_0xec950a[_0x556b(0x35)],'ODKUa':function(_0x3163c8,_0x1e5ed9){return _0x3163c8(_0x1e5ed9);},'zcmKg':function(_0x12fa0c,_0x3c8bb4){return _0xec950a[_0x556b(0x2c)](_0x12fa0c,_0x3c8bb4);},'Chgmr':_0xec950a[_0x556b(0x36)],'FAExu':_0xec950a[_0x556b(0x37)]};if(!_0xec950a[_0x556b(0x38)](_0xb2b6e4,_0x5ba5e3)){triggerHaptic(HapticType[_0x556b(0x39)]),Alert['alert'](_0x556b(0x0),_0xec950a[_0x556b(0x3a)]);return;}_0xec950a[_0x556b(0x3b)](triggerHaptic,HapticType[_0x556b(0x3c)]),_0xec950a['XPEnv'](_0x41a8b4,!![]);try{console['log'](_0x556b(0x3d)),_0xec950a[_0x556b(0x3e)](setTemporaryPin,_0x5ba5e3),console[_0x556b(0x3f)](_0xec950a[_0x556b(0x40)]);if(_0x37ab6d){if(_0xec950a['mTfwQ']!==_0xec950a[_0x556b(0x41)]){const _0x2d229f={'length':_0xec950a[_0x556b(0x42)](_0x3c6eaf[_0x556b(0x30)],0x8),'uppercase':/[A-Z]/['test'](_0x2373fb),'number':/[0-9]/[_0x556b(0x31)](_0x42f1f7),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x556b(0x31)](_0xac78f3)};return _0xec950a['XPEnv'](_0x208e65,_0x2d229f),_0x5a4be3['values'](_0x2d229f)[_0x556b(0x33)](_0x2608be=>_0x2608be);}else{_0xec950a[_0x556b(0x43)](_0x5b9da1,_0xec950a[_0x556b(0x44)]),console[_0x556b(0x3f)](_0xec950a[_0x556b(0x45)]);const _0x4e8972=await biometricPinService[_0x556b(0x46)]();console[_0x556b(0x3f)](_0x556b(0x47),_0x4e8972);if(!_0x4e8972){if(_0xec950a[_0x556b(0x48)](_0xec950a[_0x556b(0x49)],_0xec950a[_0x556b(0x4a)]))_0x44f167['error'](_0xec950a[_0x556b(0x4b)],_0x3f98c1),_0xec950a[_0x556b(0x4c)](_0x338485,![]),_0x235ec8(_0xec950a[_0x556b(0x35)]);else{console[_0x556b(0x3)](_0xec950a[_0x556b(0x34)]),_0xec950a['nUSRD'](_0x5b9da1,_0x556b(0x4d)),_0x41a8b4(![]);return;}}console['log'](_0xec950a['aEbgG']);const _0x197afc=await biometricPinService[_0x556b(0x4e)](_0x5ba5e3);if(_0x197afc){console[_0x556b(0x3f)](_0xec950a[_0x556b(0x4f)]);const _0x14b032=await biometricPinService[_0x556b(0x50)]();if(_0x14b032)_0xec950a[_0x556b(0x51)]!==_0x556b(0x52)?(_0x589df6[_0x556b(0x3f)](_0x158961[_0x556b(0x53)]),_0x158961[_0x556b(0x54)](_0x195f7d,_0x556b(0x4d)),_0x158961[_0x556b(0x55)](_0x5e4c87,![]),_0x158961[_0x556b(0x54)](_0x3e2211,_0x2e0674)):(console['log'](_0xec950a['YLgBn']),_0x5b9da1(_0x556b(0x1f)),_0xec950a['IXVbe'](triggerHaptic,HapticType[_0x556b(0x56)]),setTimeout(()=>{_0x41a8b4(![]),_0xec950a[_0x556b(0x2d)](_0x5b31a9,_0x5ba5e3);},0x320));else{if(_0xec950a[_0x556b(0x57)]!==_0xec950a[_0x556b(0x58)]){const _0x5afc92=_0xec950a['mMFGg']['split']('|');let _0x5caa98=0x0;while(!![]){switch(_0x5afc92[_0x5caa98++]){case'0':_0xec950a[_0x556b(0x59)](_0x41a8b4,![]);continue;case'1':_0xec950a[_0x556b(0x38)](_0x5b9da1,_0xec950a[_0x556b(0x36)]);continue;case'2':Alert[_0x556b(0x5a)](_0xec950a[_0x556b(0x37)],_0xec950a[_0x556b(0x5b)],[{'text':'OK'}]);continue;case'3':console[_0x556b(0x3)](_0xec950a[_0x556b(0x5c)]);continue;case'4':_0xec950a[_0x556b(0x2d)](triggerHaptic,HapticType[_0x556b(0x39)]);continue;}break;}}else{_0xec950a[_0x556b(0x4c)](_0x16e1a3,_0x1923d2[_0x556b(0x39)]),Alert[_0x556b(0x5a)](_0xec950a['nutrd'],_0xec950a[_0x556b(0x3a)]);return;}}}else _0xec950a[_0x556b(0x5d)](_0x556b(0x5e),_0xec950a[_0x556b(0x5f)])?(_0xec950a[_0x556b(0x3e)](_0x49006f,![]),_0xec950a[_0x556b(0x4c)](_0x11661d,_0xec950a[_0x556b(0x60)])):(console['log']('⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed'),_0xec950a['HkgrF'](_0x5b9da1,'error'),_0xec950a[_0x556b(0x59)](triggerHaptic,HapticType['ERROR']),Alert[_0x556b(0x5a)]('Face\x20ID\x20Setup',_0xec950a[_0x556b(0x61)],[{'text':_0xec950a['TgvVU'],'onPress':()=>{_0xec950a['EwaKW'](_0x41a8b4,![]),_0xec950a[_0x556b(0x4c)](_0x5b9da1,_0xec950a['Mtbwd']);}},{'text':_0xec950a['bxOET'],'onPress':()=>{if(_0xec950a[_0x556b(0x48)](_0xec950a[_0x556b(0x62)],_0x556b(0x63))){_0xc130c3[_0x556b(0x3)](_0x158961['wlrAg']),_0x158961[_0x556b(0x54)](_0xaefb94,_0x158961[_0x556b(0x64)]),_0x158961[_0x556b(0x65)](_0x576132,![]);return;}else _0x41a8b4(![]),_0xec950a[_0x556b(0x2d)](_0x5b31a9,_0x5ba5e3);}}]));}}else _0x556b(0x66)===_0xec950a['jCThz']?_0xec950a['xVVPT'](_0x14a4a9):(console[_0x556b(0x3f)](_0x556b(0x1)),_0x5b9da1(_0x556b(0x4d)),_0xec950a[_0x556b(0x67)](_0x41a8b4,![]),_0xec950a[_0x556b(0x3b)](_0x5b31a9,_0x5ba5e3));}catch(_0x3e1676){if(_0xec950a['Ertvu']===_0xec950a[_0x556b(0x68)]){const _0x3a34ed=_0xec950a[_0x556b(0x69)][_0x556b(0x6a)]('|');let _0x28252a=0x0;while(!![]){switch(_0x3a34ed[_0x28252a++]){case'0':triggerHaptic(HapticType[_0x556b(0x39)]);continue;case'1':Alert[_0x556b(0x5a)](_0xec950a[_0x556b(0x6b)],_0x556b(0x6c),[{'text':'OK'}]);continue;case'2':_0xec950a['qXXZT'](_0x5b9da1,_0x556b(0x3));continue;case'3':console[_0x556b(0x3)](_0xec950a[_0x556b(0x6d)],_0x3e1676);continue;case'4':_0xec950a['Nybbg'](_0x41a8b4,![]);continue;}break;}}else{const _0x5c1d2a=_0x556b(0x6e)[_0x556b(0x6a)]('|');let _0x239808=0x0;while(!![]){switch(_0x5c1d2a[_0x239808++]){case'0':_0x158961[_0x556b(0x6f)](_0x598df0,![]);continue;case'1':_0xa93eba['error']('❌\x20PIN\x20storage\x20verification\x20failed');continue;case'2':_0x158961[_0x556b(0x54)](_0x293c38,_0x36f834[_0x556b(0x39)]);continue;case'3':_0x158961[_0x556b(0x65)](_0x8cc47,_0x158961[_0x556b(0x70)]);continue;case'4':Alert[_0x556b(0x5a)](_0x158961['FAExu'],_0x556b(0x10),[{'text':'OK'}]);continue;}break;}}}},_0x104898=()=>{triggerHaptic(HapticType[_0x556b(0x3c)]),_0xec950a[_0x556b(0x71)](_0x4807c6);};_0xec950a['OCwgh'](useEffect,()=>{const _0x5c6a3a={'fvVnl':function(_0x386ac0,_0x3a0e43){return _0x386ac0(_0x3a0e43);},'GlzYM':function(_0x351a54){return _0x351a54();},'IQRKC':_0xec950a[_0x556b(0x60)],'fUcDY':_0x556b(0x4d),'VyRsE':_0x556b(0x72),'mLnDF':_0xec950a[_0x556b(0x4b)],'Jcwix':function(_0x344a2b,_0x5e448a){return _0xec950a[_0x556b(0x73)](_0x344a2b,_0x5e448a);},'SUupG':function(_0xf35ba5,_0x2222ff){return _0xec950a[_0x556b(0x2d)](_0xf35ba5,_0x2222ff);}};if(_0xec950a[_0x556b(0x5d)](_0xec950a[_0x556b(0x74)],_0x556b(0x75)))_0x5c6a3a['fvVnl'](_0x18038d,_0x70b076[_0x556b(0x3c)]),_0x5c6a3a[_0x556b(0x76)](_0x2a435e);else{const _0x49646d=async()=>{try{_0x5b9da1(_0x556b(0x18));const _0x2847c7=await biometricPinService[_0x556b(0x46)]();_0x5c6a3a[_0x556b(0x77)](_0x20c4dd,_0x2847c7),_0x5c6a3a[_0x556b(0x77)](_0x5b9da1,_0x2847c7?_0x5c6a3a[_0x556b(0x78)]:_0x5c6a3a[_0x556b(0x79)]),console['log'](_0x5c6a3a[_0x556b(0x7a)],_0x2847c7);}catch(_0x3403f9){console['error'](_0x5c6a3a[_0x556b(0x7b)],_0x3403f9),_0x5c6a3a[_0x556b(0x7c)](_0x20c4dd,![]),_0x5c6a3a[_0x556b(0x7d)](_0x5b9da1,_0x5c6a3a[_0x556b(0x79)]);}};_0xd44dc0&&_0xec950a[_0x556b(0x7e)](_0x49646d);}},[_0xd44dc0]);const _0xd1846d=Object['values'](_0x4880b9)['every'](_0x33c5c5=>_0x33c5c5);if(!_0xd44dc0)return null;return React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x80)]},React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x81)]},React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x82)]},_0xec950a['TrAWH']),React['createElement'](Text,{'style':styles[_0x556b(0x83)]},_0xec950a['YXZGh'])),React[_0x556b(0x7f)](View,{'style':styles['pinContainer']},React[_0x556b(0x7f)](TextInput,{'style':styles[_0x556b(0x84)],'value':_0x5ba5e3,'onChangeText':_0x44a2f3,'placeholder':_0xec950a[_0x556b(0x85)],'secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React['createElement'](View,{'style':styles[_0x556b(0x86)]},React[_0x556b(0x7f)](Text,{'style':styles['requirementsTitle']},_0xec950a[_0x556b(0x87)]),React[_0x556b(0x7f)](View,{'style':styles['requirementItem']},React[_0x556b(0x7f)](View,{'style':[styles[_0x556b(0x88)],_0x4880b9[_0x556b(0x30)]&&styles[_0x556b(0x89)]]},_0x4880b9[_0x556b(0x30)]&&React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x8a)]},'✓')),React[_0x556b(0x7f)](Text,{'style':[styles['requirementText'],_0x4880b9[_0x556b(0x30)]&&styles[_0x556b(0x8b)]]},_0xec950a['fsIlp'])),React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x8c)]},React[_0x556b(0x7f)](View,{'style':[styles['checkbox'],_0x4880b9['uppercase']&&styles[_0x556b(0x89)]]},_0x4880b9[_0x556b(0x8d)]&&React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x8a)]},'✓')),React[_0x556b(0x7f)](Text,{'style':[styles[_0x556b(0x8e)],_0x4880b9['uppercase']&&styles[_0x556b(0x8b)]]},_0xec950a['gqDZC'])),React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x8c)]},React[_0x556b(0x7f)](View,{'style':[styles['checkbox'],_0x4880b9[_0x556b(0x8f)]&&styles[_0x556b(0x89)]]},_0x4880b9[_0x556b(0x8f)]&&React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x8a)]},'✓')),React[_0x556b(0x7f)](Text,{'style':[styles['requirementText'],_0x4880b9[_0x556b(0x8f)]&&styles['requirementTextMet']]},_0xec950a[_0x556b(0x90)])),React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x8c)]},React['createElement'](View,{'style':[styles['checkbox'],_0x4880b9[_0x556b(0x91)]&&styles[_0x556b(0x89)]]},_0x4880b9['symbol']&&React['createElement'](Text,{'style':styles[_0x556b(0x8a)]},'✓')),React[_0x556b(0x7f)](Text,{'style':[styles['requirementText'],_0x4880b9['symbol']&&styles[_0x556b(0x8b)]]},_0x556b(0x92)))),React[_0x556b(0x7f)](View,{'style':[styles[_0x556b(0x93)],_0xec950a[_0x556b(0x94)](_0x172a2b,_0x556b(0x1f))&&styles[_0x556b(0x95)],_0x172a2b===_0xec950a[_0x556b(0x36)]&&styles[_0x556b(0x96)]]},React[_0x556b(0x7f)](View,{'style':styles[_0x556b(0x97)]},_0xec950a['UwqLz'](_0x172a2b,_0xec950a[_0x556b(0x2e)])&&React[_0x556b(0x7f)](ActivityIndicator,{'size':_0xec950a['mAstV'],'color':COLORS[_0x556b(0x98)]}),_0x172a2b===_0xec950a['yFJZs']&&React[_0x556b(0x7f)](ActivityIndicator,{'size':'small','color':_0xec950a[_0x556b(0x99)]}),_0x172a2b===_0xec950a[_0x556b(0x60)]&&React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x9a)]},'🔐'),_0xec950a[_0x556b(0x9b)](_0x172a2b,'unavailable')&&React['createElement'](Text,{'style':styles[_0x556b(0x9a)]},'⚠️'),_0x172a2b===_0xec950a[_0x556b(0x9c)]&&React['createElement'](Text,{'style':styles[_0x556b(0x9a)]},'✅'),_0xec950a['ctxPT'](_0x172a2b,_0xec950a['eDIfk'])&&React[_0x556b(0x7f)](Text,{'style':styles['securityIcon']},'❌')),React['createElement'](View,{'style':styles[_0x556b(0x9d)]},React[_0x556b(0x7f)](Text,{'style':styles[_0x556b(0x9e)]},_0x172a2b===_0xec950a[_0x556b(0x2e)]&&_0xec950a[_0x556b(0x9f)],_0x172a2b===_0xec950a[_0x556b(0x60)]&&_0xec950a['pXibo'],_0x172a2b===_0xec950a[_0x556b(0x35)]&&_0xec950a[_0x556b(0xa0)],_0xec950a[_0x556b(0xa1)](_0x172a2b,_0xec950a['yFJZs'])&&_0xec950a[_0x556b(0xa2)],_0x172a2b===_0x556b(0x1f)&&_0xec950a[_0x556b(0xa3)],_0xec950a['APgcz'](_0x172a2b,_0xec950a[_0x556b(0x36)])&&_0xec950a[_0x556b(0xa4)]),React[_0x556b(0x7f)](Text,{'style':styles['securityDescription']},_0xec950a[_0x556b(0x94)](_0x172a2b,_0xec950a[_0x556b(0x2e)])&&_0x556b(0xa5),_0xec950a['UwqLz'](_0x172a2b,_0xec950a['Mtbwd'])&&_0xec950a['ZjLQR'],_0xec950a['ctxPT'](_0x172a2b,_0xec950a[_0x556b(0x35)])&&_0xec950a[_0x556b(0xa6)],_0xec950a[_0x556b(0xa7)](_0x172a2b,_0xec950a[_0x556b(0x44)])&&_0xec950a['iPWIu'],_0xec950a[_0x556b(0xa8)](_0x172a2b,'success')&&_0xec950a[_0x556b(0xa9)],_0xec950a[_0x556b(0x9b)](_0x172a2b,_0xec950a[_0x556b(0x36)])&&_0xec950a['ksnrW']))),React[_0x556b(0x7f)](View,{'style':styles['buttonContainer']},React[_0x556b(0x7f)](TouchableOpacity,{'style':[styles[_0x556b(0xaa)],_0xd1846d&&styles[_0x556b(0xab)]],'onPress':_0x44477e,'disabled':_0xec950a[_0x556b(0xac)](!_0xd1846d,_0x3aba26)},_0x3aba26?React[_0x556b(0x7f)](ActivityIndicator,{'size':_0xec950a[_0x556b(0xad)],'color':_0xec950a[_0x556b(0xae)]}):React[_0x556b(0x7f)](Text,{'style':[styles[_0x556b(0xaf)],_0xd1846d&&styles[_0x556b(0xb0)]]},_0xec950a[_0x556b(0xb1)]))));},styles=StyleSheet[_0x556b(0xb2)]({'container':{'flex':0x1,'backgroundColor':COLORS['surface'],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':_0x556b(0xb3),'marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x556b(0xb4),'color':COLORS[_0x556b(0xb5)],'marginBottom':0x8,'fontFamily':_0x556b(0xb6)},'subtitle':{'fontSize':0x10,'color':COLORS[_0x556b(0x98)],'lineHeight':0x18,'fontFamily':_0x556b(0xb7)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':'#F8F9FA','borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':_0x556b(0xb7),'borderWidth':0x1,'borderColor':_0x556b(0xb8)},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x556b(0xb9),'color':COLORS[_0x556b(0xb5)],'marginBottom':0x10,'fontFamily':'Inter'},'requirementItem':{'flexDirection':'row','alignItems':_0x556b(0xb3),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x556b(0xb8),'marginRight':0xc,'alignItems':_0x556b(0xb3),'justifyContent':_0x556b(0xb3)},'checkboxChecked':{'borderColor':_0x556b(0xba),'backgroundColor':_0x556b(0xba)},'checkmark':{'color':_0x556b(0xbb),'fontSize':0xc,'fontWeight':_0x556b(0xbc)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x556b(0x98)],'fontFamily':_0x556b(0xb7),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x556b(0xb5)]},'securityCard':{'backgroundColor':_0x556b(0xbd),'borderRadius':0xc,'padding':0x10,'flexDirection':_0x556b(0xbe),'alignItems':_0x556b(0xb3),'marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x556b(0xb8)},'securityCardSuccess':{'backgroundColor':_0x556b(0xbf),'borderColor':_0x556b(0xc0)},'securityCardError':{'backgroundColor':_0x556b(0xc1),'borderColor':_0x556b(0xc2)},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x556b(0xb9),'color':COLORS[_0x556b(0xb5)],'marginBottom':0x4,'fontFamily':_0x556b(0xb7)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x556b(0x98)],'lineHeight':0x12,'fontFamily':_0x556b(0xb7)},'buttonContainer':{'marginTop':_0x556b(0xc3),'paddingBottom':0x22},'continueButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0x10,'alignItems':'center','justifyContent':'center'},'continueButtonActive':{'backgroundColor':_0x556b(0xc4)},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x556b(0xb9),'color':'#999999','fontFamily':'Inter'},'continueButtonTextActive':{'color':_0x556b(0xbb)}});export{PinCreationScreen};export default PinCreationScreen;
@@ -1 +1 @@
1
- function _0x235f(_0x10e96a,_0x235f30){_0x10e96a=_0x10e96a-0x0;const _0x3f2670=_0x10e9();let _0x18c582=_0x3f2670[_0x10e96a];return _0x18c582;}function _0x10e9(){const _0x395deb=['get','Training\x20is\x20starting\x20in\x20the\x20background...','biometric-unavailable','ZQzQH','XkpFx','qyDLd','LwFmS','storage-error','default','warning','biometric-failed','Storage\x20Error','An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','Secure\x20PIN\x20Storage','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','small','e.g.\x20MyPin123!','none','done','PIN\x20Requirements:','•\x20At\x20least\x20','\x20characters','error','Continue','LWkdc','LkyXk','xjjLg','AebJv','useEffect','catch','tYRDp','BLWor','ouSNC','cLNmu','length','PIN\x20must\x20include\x20a\x20special\x20character','IhTWZ','uhOHY','EUvVu','tVRnP','LwhOV','log','YvKvA','xyNNY','HYEGe','warn','MndzJ','vDTrx','isBiometricAvailable','PjEOu','storePinWithBiometric','zijmd','tnOtf','isPinStored','aTAJA','PlFbh','cGZji','rWXjF','GhbiY','FqFUj','WQIxR','WMJNC','lJkWu','test','cvGEx','qHcSG','FXIPE','dChNH','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','YGbjd','MdsAn','nLkdJ','DahMX','Authenticating...','muOsY','info','wzkaU','JAPaA','svmpW','createElement','container','inputSection','header','backButton','title','ECEhj','subtitle','ElvuY','backgroundProgressContainer','backgroundProgressText','backgroundProgressIndicator','GjdMn','#007AFF','inputContainer','input','qBDDM','IgAii','dismiss','visibilityButton','Rwqhe','requirements','requirementTitle','requirement','requirementMet','pdtXc','QlzmV','CQHZl','•\x20Include\x20a\x20number','infoContainer','DBHrt','type','infoContainerInfo','infoContainerWarning','infoTitle','bqYjA','infoTitleInfo','tPVHL','infoTitleWarning','dCJsg','oOwMj','infoTitleError','infoMessage','infoMessageInfo','infoMessageWarning','infoMessageError','message','showActions','infoActions','infoActionButton','infoActionButtonText','gSdYf','infoActionButtonSecondary','Continue\x20Without\x20Biometric','cancelButtonText','ksAYv','submitButton','mAVTo','submitButtonDisabled','QlpXO','WtmJC','create','#fff','flex-start','100%','row','center','600','#CCCCCC','#E3F2FD','#2196F3','#FFF3E0','#FF9800','#FFEBEE','#F44336','#1976D2','#F57C00','#1565C0','#C62828','space-between','transparent','#FF3B30','#333','#666','#34C759','#eee','#000000'];_0x10e9=function(){return _0x395deb;};return _0x10e9();}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[_0x235f(0x0)]('window');export const PinInput=({onSubmit:_0x5bef54,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0xc75eca,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x44892b,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText=_0x235f(0x1)})=>{const _0x245698={'xUmdE':function(_0xda2173){return _0xda2173();},'tYRDp':_0x235f(0x2),'BLWor':_0x235f(0x3),'uhOHY':function(_0x55c30d,_0x5ef3ed){return _0x55c30d(_0x5ef3ed);},'EUvVu':function(_0x8d04d5){return _0x8d04d5();},'tVRnP':function(_0x52fc0f,_0x52dd36){return _0x52fc0f!==_0x52dd36;},'OgzTb':_0x235f(0x4),'YvKvA':function(_0x110021,_0x698c81){return _0x110021(_0x698c81);},'xyNNY':'authenticating','PjEOu':function(_0xa284dc,_0x2d984d){return _0xa284dc(_0x2d984d);},'zijmd':function(_0x3266f0,_0x5495f3){return _0x3266f0===_0x5495f3;},'PfXmg':'UXCTm','vFqDu':_0x235f(0x5),'aTAJA':function(_0x3abe76,_0x413fc6){return _0x3abe76(_0x413fc6);},'PlFbh':_0x235f(0x6),'LWkdc':function(_0x36f4ec,_0x479a0e){return _0x36f4ec(_0x479a0e);},'rWXjF':_0x235f(0x7),'GhbiY':function(_0x57b219,_0x49b80c){return _0x57b219(_0x49b80c);},'FqFUj':function(_0x1cfb12,_0x57460b){return _0x1cfb12(_0x57460b);},'xjjLg':function(_0x556630,_0x3d946e){return _0x556630(_0x3d946e);},'LkyXk':function(_0x39ff4d,_0x5afda0){return _0x39ff4d(_0x5afda0);},'lJkWu':_0x235f(0x8),'cvGEx':function(_0x5497a8,_0x1fe89e){return _0x5497a8(_0x1fe89e);},'AebJv':function(_0x39d71f,_0x46f098){return _0x39d71f(_0x46f098);},'qHcSG':function(_0x425f68,_0xab1df8){return _0x425f68===_0xab1df8;},'mkoYL':'Biometric\x20Authentication\x20Not\x20Available','YGbjd':_0x235f(0x9),'qETEI':_0x235f(0xa),'MdsAn':'Biometric\x20Authentication\x20Failed','nLkdJ':'Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','DahMX':_0x235f(0xb),'ygLzS':_0x235f(0xc),'muOsY':_0x235f(0xd),'wzkaU':_0x235f(0xe),'JAPaA':_0x235f(0xf),'IhTWZ':function(_0x1c7008,_0x397d26,_0x35d5ab){return _0x1c7008(_0x397d26,_0x35d5ab);},'WMJNC':function(_0x6c4a38,_0x3fc4b0,_0x34670c){return _0x6c4a38(_0x3fc4b0,_0x34670c);},'svmpW':function(_0x1ceeb5){return _0x1ceeb5();},'ECEhj':'Create\x20a\x20PIN','VBWil':_0x235f(0x10),'ElvuY':function(_0x293a51,_0x101d1a){return _0x293a51&&_0x101d1a;},'GjdMn':_0x235f(0x11),'LZrGh':_0x235f(0x12),'qBDDM':_0x235f(0x13),'IgAii':_0x235f(0x14),'Rwqhe':'👁️','UJJbc':_0x235f(0x15),'pdtXc':_0x235f(0x16),'QlzmV':_0x235f(0x17),'CQHZl':'•\x20Include\x20a\x20special\x20character','DBHrt':function(_0x2c4564,_0x432484){return _0x2c4564===_0x432484;},'bqYjA':'info','oOwMj':_0x235f(0x18),'tPVHL':function(_0x3da540,_0x2e61b9){return _0x3da540===_0x2e61b9;},'dCJsg':function(_0x148303,_0x132c27){return _0x148303===_0x132c27;},'IDqCf':function(_0xac64a9,_0x29be7b){return _0xac64a9===_0x29be7b;},'gSdYf':'Try\x20Again','ksAYv':'Back','raqLA':function(_0x182231,_0x49394e){return _0x182231||_0x49394e;},'mAVTo':function(_0x9b48a0,_0x27814e){return _0x9b48a0(_0x27814e);},'QlpXO':function(_0x3a1d70,_0x209659){return _0x3a1d70||_0x209659;},'WtmJC':function(_0x40a402,_0x2305b9){return _0x40a402(_0x2305b9);},'CkQdS':'Authenticating...','TaNHt':_0x235f(0x19)},[_0x5538da,_0x15a19f]=_0x245698[_0x235f(0x1a)](useState,''),[_0x47b082,_0x1f25c3]=_0x245698[_0x235f(0x1b)](useState,null),[_0x57b3bd,_0x5da1af]=_0x245698[_0x235f(0x1b)](useState,![]),[_0x58cf5c,_0x2bdd3d]=_0x245698[_0x235f(0x1a)](useState,![]),[_0x272957,_0x5e542f]=_0x245698[_0x235f(0x1c)](useState,_0x235f(0x8)),[_0x43ef57,_0x5c259a]=_0x245698[_0x235f(0x1d)](useState,![]);React[_0x235f(0x1e)](()=>{_0x44892b&&!_0x43ef57&&showBackgroundProgress&&(console['log']('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x5c259a(!![]),_0x245698['xUmdE'](_0x44892b)[_0x235f(0x1f)](_0x410a64=>{console['error']('\u274C [PIN INPUT] Background training failed:',_0x410a64),_0x5c259a(![]);}));},[_0x44892b,_0x43ef57,showBackgroundProgress]);const _0x3c60eb=useCallback(_0x137ad2=>{const _0x15e5ac={'ouSNC':function(_0x2204f1,_0x270edf){return _0x2204f1(_0x270edf);},'cLNmu':_0x245698[_0x235f(0x20)]};if(_0x245698[_0x235f(0x21)]!==_0x245698['BLWor']){_0x12a713['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0x15e5ac[_0x235f(0x22)](_0x5d3984,_0x15e5ac[_0x235f(0x23)]),_0x15e5ac[_0x235f(0x22)](_0x28cf63,![]);return;}else{if(_0x137ad2[_0x235f(0x24)]<minLength)return'PIN\x20must\x20be\x20at\x20least\x20'+minLength+_0x235f(0x17);if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/['test'](_0x137ad2))return _0x235f(0x25);if(requireNumber&&!/\d/['test'](_0x137ad2))return'PIN\x20must\x20include\x20a\x20number';return null;}},[minLength,requireSpecialChar,requireNumber]),_0x1343ee=_0x245698[_0x235f(0x26)](useCallback,async()=>{const _0x59d250={'HSfsq':function(_0x4adc2c,_0x42bba3){return _0x245698[_0x235f(0x27)](_0x4adc2c,_0x42bba3);},'MndzJ':'biometric-failed','vDTrx':function(_0xc1cad6,_0x370234){return _0x245698[_0x235f(0x27)](_0xc1cad6,_0x370234);},'tnOtf':'PIN\x20must\x20include\x20a\x20number','mYukt':function(_0x292a6a,_0x2a96ff){return _0x245698['uhOHY'](_0x292a6a,_0x2a96ff);},'cGZji':function(_0x358b9e){return _0x245698[_0x235f(0x28)](_0x358b9e);},'WQIxR':_0x235f(0x25)};if(_0x245698[_0x235f(0x29)](_0x245698['OgzTb'],_0x235f(0x2a))){console[_0x235f(0x2b)]('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x5538da[_0x235f(0x24)]);const _0x4844ee=_0x245698[_0x235f(0x27)](_0x3c60eb,_0x5538da);if(_0x4844ee){console['log']('\u274C [PIN INPUT] Validation failed:',_0x4844ee),_0x245698['YvKvA'](_0x1f25c3,_0x4844ee);return;}console[_0x235f(0x2b)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x235f(0x2b)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x245698[_0x235f(0x27)](_0x2bdd3d,!![]),_0x245698[_0x235f(0x2c)](_0x5e542f,_0x245698[_0x235f(0x2d)]);try{if(_0x245698[_0x235f(0x29)](_0x235f(0x2e),'HYEGe'))_0x1c1dc5[_0x235f(0x2f)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x59d250['HSfsq'](_0x196111,_0x59d250[_0x235f(0x30)]),_0x59d250[_0x235f(0x31)](_0x3e6da4,![]);else{const _0x1fa2fa=await biometricPinService[_0x235f(0x32)]();console[_0x235f(0x2b)]('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x1fa2fa);if(!_0x1fa2fa){console[_0x235f(0x18)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x245698[_0x235f(0x33)](_0x5e542f,'biometric-unavailable'),_0x245698[_0x235f(0x2c)](_0x2bdd3d,![]);return;}console[_0x235f(0x2b)]('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x23e04b=await biometricPinService[_0x235f(0x34)](_0x5538da);if(_0x23e04b){if(_0x245698[_0x235f(0x35)](_0x245698['PfXmg'],_0x245698['vFqDu']))return _0x59d250[_0x235f(0x36)];else{console[_0x235f(0x2b)]('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x582d46=await biometricPinService[_0x235f(0x37)]();_0x582d46?(console[_0x235f(0x2b)]('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0x245698[_0x235f(0x38)](_0x5bef54,_0x5538da)):_0x245698[_0x235f(0x29)](_0x245698[_0x235f(0x39)],'LwFmS')?(_0x349066['log']('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x59d250['mYukt'](_0xbd5f93,!![]),_0x59d250[_0x235f(0x3a)](_0x58e248)[_0x235f(0x1f)](_0x17e5e3=>{_0x1bd976[_0x235f(0x18)]('\u274C [PIN INPUT] Background training failed:',_0x17e5e3),_0x47d02a(![]);})):(console[_0x235f(0x18)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x245698[_0x235f(0x1a)](_0x5e542f,_0x245698[_0x235f(0x3b)]),_0x245698[_0x235f(0x38)](_0x2bdd3d,![]));}}else console['warn']('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0x245698[_0x235f(0x33)](_0x5e542f,_0x235f(0xa)),_0x245698[_0x235f(0x3c)](_0x2bdd3d,![]);}}catch(_0xa74e57){console['error']('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0xa74e57),_0x245698['YvKvA'](_0x5e542f,_0x245698[_0x235f(0x3b)]),_0x245698[_0x235f(0x3d)](_0x2bdd3d,![]);}}else console[_0x235f(0x2b)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0x245698[_0x235f(0x38)](_0x5bef54,_0x5538da);}else return _0x59d250[_0x235f(0x3e)];},[_0x5538da,_0x3c60eb,_0x5bef54,enableBiometricStorage]),_0x5928b3=_0x245698[_0x235f(0x3f)](useCallback,_0xf844d8=>{_0x245698['xjjLg'](_0x15a19f,_0xf844d8),_0x245698[_0x235f(0x3c)](_0x1f25c3,null),_0x245698[_0x235f(0x1b)](_0x5e542f,_0x245698[_0x235f(0x40)]),console['log']('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0xf844d8['length'],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x235f(0x41)](_0xf844d8),'hasNumber':/\d/[_0x235f(0x41)](_0xf844d8),'isValid':!_0x3c60eb(_0xf844d8)});},[_0x3c60eb]),_0x4b9eeb=useCallback(()=>{console[_0x235f(0x2f)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x245698[_0x235f(0x42)](_0x5bef54,_0x5538da);},[_0x5538da,_0x5bef54]),_0x20ca64=useCallback(()=>{_0x245698[_0x235f(0x42)](_0x5e542f,_0x245698[_0x235f(0x40)]),_0x1343ee();},[_0x1343ee]),_0x24ae01=()=>{const _0x3e7f40={'MWGsk':function(_0x50ae3b,_0x1a7afe){return _0x245698[_0x235f(0x1d)](_0x50ae3b,_0x1a7afe);}};if(_0x245698[_0x235f(0x43)](_0x235f(0x44),_0x235f(0x45)))_0x3ec301[_0x235f(0x18)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x5ca715(_0x235f(0x7)),_0x3e7f40['MWGsk'](_0x639b31,![]);else switch(_0x272957){case _0x245698['tYRDp']:return{'title':_0x245698['mkoYL'],'message':_0x235f(0x46),'type':_0x245698[_0x235f(0x47)],'showActions':!![]};case _0x245698['qETEI']:return{'title':_0x245698[_0x235f(0x48)],'message':_0x245698[_0x235f(0x49)],'type':_0x245698[_0x235f(0x47)],'showActions':!![]};case _0x235f(0x7):return{'title':_0x245698[_0x235f(0x4a)],'message':_0x245698['ygLzS'],'type':'error','showActions':!![]};case _0x245698[_0x235f(0x2d)]:return{'title':_0x235f(0x4b),'message':_0x245698[_0x235f(0x4c)],'type':_0x235f(0x4d),'showActions':![]};default:return{'title':_0x245698[_0x235f(0x4e)],'message':_0x245698[_0x235f(0x4f)],'type':'info','showActions':![]};}},_0x2d51fe=_0x245698[_0x235f(0x50)](_0x24ae01);return React[_0x235f(0x51)](View,{'style':styles[_0x235f(0x52)]},React['createElement'](View,{'style':styles[_0x235f(0x53)]},React['createElement'](View,{'style':styles[_0x235f(0x54)]},_0xc75eca&&React['createElement'](TouchableOpacity,{'style':styles[_0x235f(0x55)],'onPress':_0xc75eca},React[_0x235f(0x51)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x235f(0x51)](Text,{'style':styles[_0x235f(0x56)]},_0x245698[_0x235f(0x57)])),React['createElement'](Text,{'style':styles[_0x235f(0x58)]},_0x245698['VBWil']),_0x245698[_0x235f(0x59)](showBackgroundProgress,_0x43ef57)&&React['createElement'](View,{'style':styles[_0x235f(0x5a)]},React['createElement'](Text,{'style':styles[_0x235f(0x5b)]},backgroundProgressText),React[_0x235f(0x51)](View,{'style':styles[_0x235f(0x5c)]},React[_0x235f(0x51)](ActivityIndicator,{'size':_0x245698[_0x235f(0x5d)],'color':_0x235f(0x5e)}))),React[_0x235f(0x51)](View,{'style':styles[_0x235f(0x5f)]},React[_0x235f(0x51)](TextInput,{'style':styles[_0x235f(0x60)],'value':_0x5538da,'onChangeText':_0x5928b3,'secureTextEntry':!_0x57b3bd,'placeholder':_0x245698['LZrGh'],'keyboardType':_0x245698[_0x235f(0x40)],'maxLength':0x14,'autoCapitalize':_0x245698[_0x235f(0x61)],'autoCorrect':![],'returnKeyType':_0x245698[_0x235f(0x62)],'onSubmitEditing':()=>Keyboard[_0x235f(0x63)]()}),React[_0x235f(0x51)](TouchableOpacity,{'style':styles[_0x235f(0x64)],'onPress':()=>_0x5da1af(!_0x57b3bd)},React[_0x235f(0x51)](Text,null,_0x57b3bd?_0x245698[_0x235f(0x65)]:'👁️‍🗨️')))),_0x47b082&&React[_0x235f(0x51)](Text,{'style':styles[_0x235f(0x18)]},_0x47b082),React[_0x235f(0x51)](View,{'style':styles[_0x235f(0x66)]},React[_0x235f(0x51)](Text,{'style':styles[_0x235f(0x67)]},_0x245698['UJJbc']),React[_0x235f(0x51)](Text,{'style':[styles[_0x235f(0x68)],_0x5538da[_0x235f(0x24)]>=minLength&&styles[_0x235f(0x69)]]},_0x245698[_0x235f(0x6a)],minLength,_0x245698[_0x235f(0x6b)]),requireSpecialChar&&React['createElement'](Text,{'style':[styles['requirement'],/[!@#$%^&*(),.?":{}|<>]/[_0x235f(0x41)](_0x5538da)&&styles[_0x235f(0x69)]]},_0x245698[_0x235f(0x6c)]),requireNumber&&React[_0x235f(0x51)](Text,{'style':[styles[_0x235f(0x68)],/\d/['test'](_0x5538da)&&styles[_0x235f(0x69)]]},_0x235f(0x6d))),React[_0x235f(0x51)](View,{'style':[styles[_0x235f(0x6e)],_0x245698[_0x235f(0x6f)](_0x2d51fe[_0x235f(0x70)],_0x245698['bqYjA'])&&styles[_0x235f(0x71)],_0x245698[_0x235f(0x35)](_0x2d51fe[_0x235f(0x70)],_0x245698['YGbjd'])&&styles[_0x235f(0x72)],_0x245698[_0x235f(0x43)](_0x2d51fe[_0x235f(0x70)],_0x245698['oOwMj'])&&styles['infoContainerError']]},React['createElement'](Text,{'style':[styles[_0x235f(0x73)],_0x245698[_0x235f(0x43)](_0x2d51fe[_0x235f(0x70)],_0x245698[_0x235f(0x74)])&&styles[_0x235f(0x75)],_0x245698[_0x235f(0x76)](_0x2d51fe['type'],_0x245698['YGbjd'])&&styles[_0x235f(0x77)],_0x245698[_0x235f(0x78)](_0x2d51fe[_0x235f(0x70)],_0x245698[_0x235f(0x79)])&&styles[_0x235f(0x7a)]]},_0x2d51fe[_0x235f(0x56)]),React[_0x235f(0x51)](Text,{'style':[styles[_0x235f(0x7b)],_0x2d51fe[_0x235f(0x70)]===_0x245698['bqYjA']&&styles[_0x235f(0x7c)],_0x245698['IDqCf'](_0x2d51fe[_0x235f(0x70)],'warning')&&styles[_0x235f(0x7d)],_0x2d51fe['type']==='error'&&styles[_0x235f(0x7e)]]},_0x2d51fe[_0x235f(0x7f)]),_0x2d51fe[_0x235f(0x80)]&&React['createElement'](View,{'style':styles[_0x235f(0x81)]},React[_0x235f(0x51)](TouchableOpacity,{'style':styles[_0x235f(0x82)],'onPress':_0x20ca64},React['createElement'](Text,{'style':styles[_0x235f(0x83)]},_0x245698[_0x235f(0x84)])),React[_0x235f(0x51)](TouchableOpacity,{'style':[styles['infoActionButton'],styles[_0x235f(0x85)]],'onPress':_0x4b9eeb},React[_0x235f(0x51)](Text,{'style':[styles[_0x235f(0x83)],styles['infoActionButtonSecondaryText']]},_0x235f(0x86))))),React['createElement'](View,{'style':styles['footer']},_0xc75eca&&React['createElement'](TouchableOpacity,{'style':styles['cancelButton'],'onPress':_0xc75eca},React['createElement'](Text,{'style':styles[_0x235f(0x87)]},_0x245698[_0x235f(0x88)])),React['createElement'](TouchableOpacity,{'style':[styles[_0x235f(0x89)],(_0x245698['raqLA'](!_0x5538da,_0x58cf5c)||_0x245698[_0x235f(0x8a)](_0x3c60eb,_0x5538da))&&styles[_0x235f(0x8b)]],'onPress':_0x1343ee,'disabled':_0x245698[_0x235f(0x8c)](!_0x5538da,_0x58cf5c)||!!_0x245698[_0x235f(0x8d)](_0x3c60eb,_0x5538da)},React['createElement'](Text,{'style':styles['submitButtonText']},_0x58cf5c?_0x245698['CkQdS']:_0x245698['TaNHt']))));};const styles=StyleSheet[_0x235f(0x8e)]({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':_0x235f(0x8f),'justifyContent':_0x235f(0x90)},'inputSection':{'width':_0x235f(0x91),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x235f(0x92),'alignItems':_0x235f(0x93),'justifyContent':'space-between','marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':_0x235f(0x94),'color':'#333','textAlign':_0x235f(0x93),'flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':'#666','marginBottom':0x18,'textAlign':_0x235f(0x93)},'inputContainer':{'flexDirection':'row','alignItems':_0x235f(0x93),'borderWidth':0x1,'borderColor':_0x235f(0x95),'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':_0x235f(0x96),'borderColor':_0x235f(0x97)},'infoContainerWarning':{'backgroundColor':_0x235f(0x98),'borderColor':_0x235f(0x99)},'infoContainerError':{'backgroundColor':_0x235f(0x9a),'borderColor':_0x235f(0x9b)},'infoTitle':{'fontSize':0x10,'fontWeight':_0x235f(0x94),'marginBottom':0x8},'infoTitleInfo':{'color':_0x235f(0x9c)},'infoTitleWarning':{'color':_0x235f(0x9d)},'infoTitleError':{'color':'#D32F2F'},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x235f(0x9e)},'infoMessageWarning':{'color':'#E65100'},'infoMessageError':{'color':_0x235f(0x9f)},'infoActions':{'flexDirection':_0x235f(0x92),'justifyContent':_0x235f(0xa0),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':'#007AFF','marginHorizontal':0x4,'alignItems':_0x235f(0x93)},'infoActionButtonSecondary':{'backgroundColor':_0x235f(0xa1),'borderWidth':0x1,'borderColor':_0x235f(0x5e)},'infoActionButtonText':{'color':'#fff','fontSize':0xe,'fontWeight':_0x235f(0x94)},'infoActionButtonSecondaryText':{'color':_0x235f(0x5e)},'error':{'color':_0x235f(0xa2),'marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':'600','marginBottom':0x8,'color':_0x235f(0xa3)},'requirement':{'fontSize':0xe,'color':_0x235f(0xa4),'marginBottom':0x4},'requirementMet':{'color':_0x235f(0xa5)},'footer':{'flexDirection':_0x235f(0x92),'alignItems':_0x235f(0x93),'justifyContent':'space-between','marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x235f(0xa6),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':'#666','fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x235f(0xa7),'alignItems':'center'},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':'#fff','fontSize':0x10,'fontWeight':_0x235f(0x94)},'backgroundProgressContainer':{'flexDirection':'row','alignItems':'center','justifyContent':_0x235f(0x93),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x235f(0xa4),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});
1
+ import React,{useState,useCallback}from'react';function _0x58fc(){const _0x298ba8=['get','window','Training\x20is\x20starting\x20in\x20the\x20background...','MnMFV','biometric-unavailable','aaZvD','PIN\x20must\x20include\x20a\x20special\x20character','PIN\x20must\x20include\x20a\x20number','default','KtjoY','NFRcv','rzUnS','hSrid','bRAyR','sOzxQ','gMGlY','kuokB','NlsNE','YhNMt','This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','warning','Storage\x20Error','An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','error','Secure\x20PIN\x20Storage','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','e.g.\x20MyPin123!','none','done','👁️‍🗨️','•\x20Include\x20a\x20special\x20character','•\x20Include\x20a\x20number','info','Try\x20Again','Back','lMKor','bogRY','fMwYG','useEffect','mVUaJ','RrBkr','pbaza','vECPJ','iWvwI','log','catch','tSMKe','uKgad','nXQUE','ELbwT','jJBoN','boMBJ','PIN\x20must\x20be\x20at\x20least\x20','test','Nmgqb','RAeLa','length','XqNkO','authenticating','warn','WoURS','isBiometricAvailable','xmbkN','storePinWithBiometric','isPinStored','oTVMo','bDcGX','rkJPv','yyzMv','\x20characters','cSurC','UyNmr','biometric-failed','mLIUS','vmLgK','Tgpjd','GGSEq','NqqDN','vRnTR','SCFga','HHVJa','bYnfP','yOdmt','NRYMW','Biometric\x20Authentication\x20Not\x20Available','HDQzl','HTCSV','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','storage-error','cAEAE','PkCUq','wSygU','Czkgu','PxDSi','YyrER','APkZy','createElement','header','backButton','title','Create\x20a\x20PIN','subtitle','backgroundProgressContainer','ADOmQ','inputContainer','input','BntpM','SSASf','bezpy','dismiss','visibilityButton','AlfGh','wNWbC','requirements','requirementTitle','oPmZe','requirement','requirementMet','VxexJ','gXZuF','type','XZvGy','infoContainerInfo','infoContainerWarning','ruqcz','infoContainerError','infoTitle','TnbDG','infoTitleWarning','hVPhM','infoTitleError','infoMessage','infoMessageInfo','infoMessageWarning','infoMessageError','message','showActions','infoActionButtonText','uLxfm','infoActionButtonSecondaryText','Continue\x20Without\x20Biometric','footer','Zxqxe','submitButton','YOSRN','HntNu','submitButtonText','Continue','#fff','flex-start','100%','row','center','space-between','600','#333','#CCCCCC','#E3F2FD','#2196F3','#FFF3E0','#FFEBEE','#F44336','#1976D2','#F57C00','#1565C0','#E65100','#007AFF','transparent','#FF3B30','#666','#34C759','#eee','#000000'];_0x58fc=function(){return _0x298ba8;};return _0x58fc();}import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';function _0x3ffb(_0x58fc19,_0x3ffb0e){_0x58fc19=_0x58fc19-0x0;const _0x1478a9=_0x58fc();let _0x598f6b=_0x1478a9[_0x58fc19];return _0x598f6b;}import{biometricPinService}from'../services/biometricPinService';const {width}=Dimensions[_0x3ffb(0x0)](_0x3ffb(0x1));export const PinInput=({onSubmit:_0xef367,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x52c3d9,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x6e946d,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText=_0x3ffb(0x2)})=>{const _0xe93706={'lMKor':function(_0x4513ce,_0x5afd51){return _0x4513ce(_0x5afd51);},'mVUaJ':'storage-error','RrBkr':function(_0x4431cf,_0xf0b232){return _0x4431cf!==_0xf0b232;},'pbaza':_0x3ffb(0x3),'iWvwI':function(_0x1df013,_0x458390){return _0x1df013&&_0x458390;},'boMBJ':_0x3ffb(0x4),'ELbwT':function(_0x2a2cf,_0xd4cf2b){return _0x2a2cf!==_0xd4cf2b;},'jJBoN':_0x3ffb(0x5),'Nmgqb':_0x3ffb(0x6),'RAeLa':_0x3ffb(0x7),'XqNkO':function(_0x304273,_0x1f53bc){return _0x304273(_0x1f53bc);},'WoURS':'biometric-failed','yOdmt':function(_0x1314bc,_0x2f01b4){return _0x1314bc(_0x2f01b4);},'yyzMv':function(_0x2fc70e,_0x4237db){return _0x2fc70e<_0x4237db;},'fMwYG':_0x3ffb(0x8),'tRjRI':_0x3ffb(0x9),'xmbkN':function(_0x1f6f13,_0x27bfa4){return _0x1f6f13(_0x27bfa4);},'oTVMo':function(_0x36efd0,_0x33e754){return _0x36efd0(_0x33e754);},'bDcGX':function(_0x41fce3,_0x55e807){return _0x41fce3===_0x55e807;},'HxZlx':_0x3ffb(0xa),'rkJPv':_0x3ffb(0xb),'DXbWB':function(_0x179d54,_0x41219f){return _0x179d54(_0x41219f);},'cSurC':function(_0x4b4d2a,_0x55d347){return _0x4b4d2a(_0x55d347);},'UyNmr':function(_0x14f513,_0x55c96f){return _0x14f513(_0x55c96f);},'mLIUS':function(_0x227670,_0x5b91be){return _0x227670(_0x5b91be);},'lWuXv':function(_0x4083ef,_0x2784a5){return _0x4083ef(_0x2784a5);},'vmLgK':_0x3ffb(0xc),'ZHbPf':_0x3ffb(0xd),'Tgpjd':_0x3ffb(0xe),'GGSEq':_0x3ffb(0xf),'NqqDN':_0x3ffb(0x10),'SCFga':function(_0x5e7fc3,_0x241575){return _0x5e7fc3!==_0x241575;},'HHVJa':_0x3ffb(0x11),'bYnfP':_0x3ffb(0x12),'NRYMW':function(_0x53d49a){return _0x53d49a();},'GiKxX':_0x3ffb(0x13),'HDQzl':_0x3ffb(0x14),'HTCSV':'Biometric\x20Authentication\x20Failed','fGNLE':_0x3ffb(0x15),'cAEAE':_0x3ffb(0x16),'PkCUq':_0x3ffb(0x17),'wSygU':'Authenticating...','Czkgu':'Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','PxDSi':_0x3ffb(0x18),'YyrER':_0x3ffb(0x19),'vaRRT':function(_0x3efcb2,_0x191994){return _0x3efcb2(_0x191994);},'bogRY':function(_0x1bbb8a,_0x33e79c){return _0x1bbb8a(_0x33e79c);},'PjrKP':function(_0x155683,_0x3c5b04){return _0x155683(_0x3c5b04);},'nXQUE':function(_0x2fa1df,_0x1c47b0,_0x4d6f15){return _0x2fa1df(_0x1c47b0,_0x4d6f15);},'APkZy':function(_0x31d0f2){return _0x31d0f2();},'tdoAz':'A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','ADOmQ':'small','BntpM':_0x3ffb(0x1a),'SSASf':_0x3ffb(0x1b),'bezpy':_0x3ffb(0x1c),'AlfGh':'👁️','wNWbC':_0x3ffb(0x1d),'oPmZe':'PIN\x20Requirements:','hmClz':function(_0x5e96fc,_0x25f75d){return _0x5e96fc>=_0x25f75d;},'AtgGl':'•\x20At\x20least\x20','jbsHC':'\x20characters','VxexJ':_0x3ffb(0x1e),'gXZuF':_0x3ffb(0x1f),'ruqcz':function(_0x2f2159,_0x5eb288){return _0x2f2159===_0x5eb288;},'XZvGy':_0x3ffb(0x20),'BzjIb':function(_0x103e37,_0x7bbbf4){return _0x103e37===_0x7bbbf4;},'TnbDG':function(_0x49c271,_0x3fcb00){return _0x49c271===_0x3fcb00;},'hVPhM':function(_0xb3de91,_0x39427e){return _0xb3de91===_0x39427e;},'uLxfm':_0x3ffb(0x21),'Zxqxe':_0x3ffb(0x22),'YOSRN':function(_0x344d96,_0x28b138){return _0x344d96||_0x28b138;},'JfTXn':function(_0x20b1f5,_0x21931a){return _0x20b1f5(_0x21931a);},'HntNu':function(_0x2fb0ed,_0x15d56a){return _0x2fb0ed||_0x15d56a;}},[_0x28a5fa,_0x275476]=_0xe93706['DXbWB'](useState,''),[_0x549a69,_0x3815f4]=_0xe93706[_0x3ffb(0x23)](useState,null),[_0x26a368,_0x58e7fb]=useState(![]),[_0x20cc94,_0x2f89a5]=_0xe93706['vaRRT'](useState,![]),[_0x41d1c9,_0x5429a9]=_0xe93706[_0x3ffb(0x24)](useState,_0xe93706[_0x3ffb(0x25)]),[_0x1d3944,_0x1acb3c]=_0xe93706['PjrKP'](useState,![]);React[_0x3ffb(0x26)](()=>{const _0x1af551={'tSMKe':function(_0x4bf033,_0xf3c2c7){return _0x4bf033(_0xf3c2c7);},'uKgad':_0xe93706[_0x3ffb(0x27)]};_0xe93706[_0x3ffb(0x28)](_0xe93706[_0x3ffb(0x29)],_0x3ffb(0x2a))?_0xe93706[_0x3ffb(0x2b)](_0x6e946d,!_0x1d3944)&&showBackgroundProgress&&(console[_0x3ffb(0x2c)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0xe93706[_0x3ffb(0x23)](_0x1acb3c,!![]),_0x6e946d()[_0x3ffb(0x2d)](_0x535e9a=>{console[_0x3ffb(0x17)]('\u274C [PIN INPUT] Background training failed:',_0x535e9a),_0xe93706[_0x3ffb(0x23)](_0x1acb3c,![]);})):(_0x2a4b1f[_0x3ffb(0x17)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x1af551[_0x3ffb(0x2e)](_0x5dbc19,_0x1af551[_0x3ffb(0x2f)]),_0x1af551[_0x3ffb(0x2e)](_0x94f635,![]));},[_0x6e946d,_0x1d3944,showBackgroundProgress]);const _0x2c2fd1=_0xe93706[_0x3ffb(0x30)](useCallback,_0x44692e=>{if(_0x44692e['length']<minLength){if(_0xe93706[_0x3ffb(0x31)](_0xe93706[_0x3ffb(0x32)],_0xe93706['jJBoN'])){_0x377540[_0x3ffb(0x17)]('\u274C [PIN INPUT] Face ID not available on this device'),_0x28aa03(_0xe93706[_0x3ffb(0x33)]),_0xe93706[_0x3ffb(0x23)](_0x12e1b6,![]);return;}else return _0x3ffb(0x34)+minLength+'\x20characters';}if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x3ffb(0x35)](_0x44692e))return _0xe93706[_0x3ffb(0x36)];if(requireNumber&&!/\d/['test'](_0x44692e))return _0xe93706[_0x3ffb(0x37)];return null;},[minLength,requireSpecialChar,requireNumber]),_0x8e7683=_0xe93706[_0x3ffb(0x30)](useCallback,async()=>{console['log']('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x28a5fa[_0x3ffb(0x38)]);const _0x8d0681=_0xe93706[_0x3ffb(0x39)](_0x2c2fd1,_0x28a5fa);if(_0x8d0681){console[_0x3ffb(0x2c)]('\u274C [PIN INPUT] Validation failed:',_0x8d0681),_0x3815f4(_0x8d0681);return;}console[_0x3ffb(0x2c)]('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){console[_0x3ffb(0x2c)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x2f89a5(!![]),_0xe93706['lMKor'](_0x5429a9,_0x3ffb(0x3a));try{if(_0xe93706['ELbwT'](_0xe93706['tRjRI'],_0xe93706['tRjRI']))_0x598db3[_0x3ffb(0x3b)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0xe93706[_0x3ffb(0x39)](_0x4e65bd,_0xe93706[_0x3ffb(0x3c)]),_0xe93706['yOdmt'](_0x2aa5e1,![]);else{const _0x1ffbc8=await biometricPinService[_0x3ffb(0x3d)]();console[_0x3ffb(0x2c)]('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0x1ffbc8);if(!_0x1ffbc8){console['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0xe93706[_0x3ffb(0x3e)](_0x5429a9,_0xe93706[_0x3ffb(0x33)]),_0xe93706['lMKor'](_0x2f89a5,![]);return;}console[_0x3ffb(0x2c)]('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x11f114=await biometricPinService[_0x3ffb(0x3f)](_0x28a5fa);if(_0x11f114){console['log']('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x56c8c1=await biometricPinService[_0x3ffb(0x40)]();if(_0x56c8c1)console[_0x3ffb(0x2c)]('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0xe93706[_0x3ffb(0x41)](_0xef367,_0x28a5fa);else{if(_0xe93706[_0x3ffb(0x42)](_0xe93706['HxZlx'],_0xe93706[_0x3ffb(0x43)])){if(_0xe93706[_0x3ffb(0x44)](_0x353649[_0x3ffb(0x38)],_0x57ea73))return _0x3ffb(0x34)+_0x591579+_0x3ffb(0x45);if(_0x196671&&!/[!@#$%^&*(),.?":{}|<>]/[_0x3ffb(0x35)](_0xb638bf))return _0xe93706[_0x3ffb(0x36)];if(_0x51486a&&!/\d/[_0x3ffb(0x35)](_0x395e8f))return _0x3ffb(0x7);return null;}else console[_0x3ffb(0x17)]('\u274C [PIN INPUT] PIN storage verification failed'),_0xe93706['DXbWB'](_0x5429a9,_0xe93706[_0x3ffb(0x27)]),_0xe93706[_0x3ffb(0x46)](_0x2f89a5,![]);}}else console[_0x3ffb(0x3b)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0xe93706[_0x3ffb(0x47)](_0x5429a9,_0x3ffb(0x48)),_0xe93706[_0x3ffb(0x49)](_0x2f89a5,![]);}}catch(_0x469dda){console[_0x3ffb(0x17)]('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x469dda),_0x5429a9(_0xe93706[_0x3ffb(0x27)]),_0xe93706['lWuXv'](_0x2f89a5,![]);}}else _0xe93706[_0x3ffb(0x4a)]!==_0xe93706['ZHbPf']?(console[_0x3ffb(0x2c)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0xe93706[_0x3ffb(0x49)](_0xef367,_0x28a5fa)):(_0x45bcf6(_0xe93706[_0x3ffb(0x25)]),_0x3cf40f());},[_0x28a5fa,_0x2c2fd1,_0xef367,enableBiometricStorage]),_0xb4481=useCallback(_0x447f64=>{_0xe93706[_0x3ffb(0x4b)]!==_0x3ffb(0xe)?(_0x5bcd0a['error']('\u274C [PIN INPUT] Background training failed:',_0x1d0790),_0x5d9b52(![])):(_0xe93706[_0x3ffb(0x39)](_0x275476,_0x447f64),_0xe93706['lMKor'](_0x3815f4,null),_0x5429a9(_0xe93706[_0x3ffb(0x25)]),console[_0x3ffb(0x2c)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x447f64[_0x3ffb(0x38)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/['test'](_0x447f64),'hasNumber':/\d/[_0x3ffb(0x35)](_0x447f64),'isValid':!_0xe93706['XqNkO'](_0x2c2fd1,_0x447f64)}));},[_0x2c2fd1]),_0x5a02c6=_0xe93706[_0x3ffb(0x30)](useCallback,()=>{const _0xc5790e={'vRnTR':_0xe93706['Nmgqb']};if(_0xe93706[_0x3ffb(0x31)](_0xe93706[_0x3ffb(0x4c)],_0xe93706[_0x3ffb(0x4d)]))console[_0x3ffb(0x3b)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0xef367(_0x28a5fa);else return _0xc5790e[_0x3ffb(0x4e)];},[_0x28a5fa,_0xef367]),_0x36f0e9=_0xe93706[_0x3ffb(0x30)](useCallback,()=>{if(_0xe93706[_0x3ffb(0x4f)](_0xe93706[_0x3ffb(0x50)],_0xe93706[_0x3ffb(0x51)]))_0xe93706[_0x3ffb(0x52)](_0x5429a9,_0xe93706['fMwYG']),_0xe93706[_0x3ffb(0x53)](_0x8e7683);else{_0x45647e[_0x3ffb(0x2c)]('\u274C [PIN INPUT] Validation failed:',_0x22ffb8),_0xef0041(_0x11a1a9);return;}},[_0x8e7683]),_0x211667=()=>{switch(_0x41d1c9){case _0xe93706['boMBJ']:return{'title':_0x3ffb(0x54),'message':_0xe93706['GiKxX'],'type':_0xe93706[_0x3ffb(0x55)],'showActions':!![]};case _0xe93706['WoURS']:return{'title':_0xe93706[_0x3ffb(0x56)],'message':_0x3ffb(0x57),'type':_0xe93706[_0x3ffb(0x55)],'showActions':!![]};case _0x3ffb(0x58):return{'title':_0xe93706['fGNLE'],'message':_0xe93706[_0x3ffb(0x59)],'type':_0xe93706[_0x3ffb(0x5a)],'showActions':!![]};case _0x3ffb(0x3a):return{'title':_0xe93706[_0x3ffb(0x5b)],'message':_0xe93706[_0x3ffb(0x5c)],'type':'info','showActions':![]};default:return{'title':_0xe93706[_0x3ffb(0x5d)],'message':_0xe93706[_0x3ffb(0x5e)],'type':_0x3ffb(0x20),'showActions':![]};}},_0x4db0d1=_0xe93706[_0x3ffb(0x5f)](_0x211667);return React[_0x3ffb(0x60)](View,{'style':styles['container']},React[_0x3ffb(0x60)](View,{'style':styles['inputSection']},React['createElement'](View,{'style':styles[_0x3ffb(0x61)]},_0x52c3d9&&React['createElement'](TouchableOpacity,{'style':styles[_0x3ffb(0x62)],'onPress':_0x52c3d9},React[_0x3ffb(0x60)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x3ffb(0x60)](Text,{'style':styles[_0x3ffb(0x63)]},_0x3ffb(0x64))),React[_0x3ffb(0x60)](Text,{'style':styles[_0x3ffb(0x65)]},_0xe93706['tdoAz']),_0xe93706[_0x3ffb(0x2b)](showBackgroundProgress,_0x1d3944)&&React[_0x3ffb(0x60)](View,{'style':styles[_0x3ffb(0x66)]},React['createElement'](Text,{'style':styles['backgroundProgressText']},backgroundProgressText),React[_0x3ffb(0x60)](View,{'style':styles['backgroundProgressIndicator']},React[_0x3ffb(0x60)](ActivityIndicator,{'size':_0xe93706[_0x3ffb(0x67)],'color':'#007AFF'}))),React[_0x3ffb(0x60)](View,{'style':styles[_0x3ffb(0x68)]},React[_0x3ffb(0x60)](TextInput,{'style':styles[_0x3ffb(0x69)],'value':_0x28a5fa,'onChangeText':_0xb4481,'secureTextEntry':!_0x26a368,'placeholder':_0xe93706[_0x3ffb(0x6a)],'keyboardType':_0xe93706[_0x3ffb(0x25)],'maxLength':0x14,'autoCapitalize':_0xe93706[_0x3ffb(0x6b)],'autoCorrect':![],'returnKeyType':_0xe93706[_0x3ffb(0x6c)],'onSubmitEditing':()=>Keyboard[_0x3ffb(0x6d)]()}),React['createElement'](TouchableOpacity,{'style':styles[_0x3ffb(0x6e)],'onPress':()=>_0x58e7fb(!_0x26a368)},React[_0x3ffb(0x60)](Text,null,_0x26a368?_0xe93706[_0x3ffb(0x6f)]:_0xe93706[_0x3ffb(0x70)])))),_0x549a69&&React[_0x3ffb(0x60)](Text,{'style':styles[_0x3ffb(0x17)]},_0x549a69),React[_0x3ffb(0x60)](View,{'style':styles[_0x3ffb(0x71)]},React[_0x3ffb(0x60)](Text,{'style':styles[_0x3ffb(0x72)]},_0xe93706[_0x3ffb(0x73)]),React[_0x3ffb(0x60)](Text,{'style':[styles[_0x3ffb(0x74)],_0xe93706['hmClz'](_0x28a5fa['length'],minLength)&&styles[_0x3ffb(0x75)]]},_0xe93706['AtgGl'],minLength,_0xe93706['jbsHC']),requireSpecialChar&&React[_0x3ffb(0x60)](Text,{'style':[styles[_0x3ffb(0x74)],/[!@#$%^&*(),.?":{}|<>]/[_0x3ffb(0x35)](_0x28a5fa)&&styles[_0x3ffb(0x75)]]},_0xe93706[_0x3ffb(0x76)]),requireNumber&&React[_0x3ffb(0x60)](Text,{'style':[styles[_0x3ffb(0x74)],/\d/['test'](_0x28a5fa)&&styles[_0x3ffb(0x75)]]},_0xe93706[_0x3ffb(0x77)])),React['createElement'](View,{'style':[styles['infoContainer'],_0xe93706['ruqcz'](_0x4db0d1[_0x3ffb(0x78)],_0xe93706[_0x3ffb(0x79)])&&styles[_0x3ffb(0x7a)],_0x4db0d1[_0x3ffb(0x78)]===_0xe93706[_0x3ffb(0x55)]&&styles[_0x3ffb(0x7b)],_0xe93706[_0x3ffb(0x7c)](_0x4db0d1[_0x3ffb(0x78)],_0xe93706[_0x3ffb(0x5a)])&&styles[_0x3ffb(0x7d)]]},React[_0x3ffb(0x60)](Text,{'style':[styles[_0x3ffb(0x7e)],_0xe93706['BzjIb'](_0x4db0d1[_0x3ffb(0x78)],_0xe93706[_0x3ffb(0x79)])&&styles['infoTitleInfo'],_0xe93706[_0x3ffb(0x7f)](_0x4db0d1[_0x3ffb(0x78)],_0x3ffb(0x14))&&styles[_0x3ffb(0x80)],_0xe93706[_0x3ffb(0x81)](_0x4db0d1[_0x3ffb(0x78)],_0x3ffb(0x17))&&styles[_0x3ffb(0x82)]]},_0x4db0d1[_0x3ffb(0x63)]),React[_0x3ffb(0x60)](Text,{'style':[styles[_0x3ffb(0x83)],_0x4db0d1[_0x3ffb(0x78)]===_0xe93706[_0x3ffb(0x79)]&&styles[_0x3ffb(0x84)],_0x4db0d1[_0x3ffb(0x78)]===_0xe93706['HDQzl']&&styles[_0x3ffb(0x85)],_0xe93706[_0x3ffb(0x7f)](_0x4db0d1[_0x3ffb(0x78)],_0xe93706['PkCUq'])&&styles[_0x3ffb(0x86)]]},_0x4db0d1[_0x3ffb(0x87)]),_0x4db0d1[_0x3ffb(0x88)]&&React['createElement'](View,{'style':styles['infoActions']},React['createElement'](TouchableOpacity,{'style':styles['infoActionButton'],'onPress':_0x36f0e9},React[_0x3ffb(0x60)](Text,{'style':styles[_0x3ffb(0x89)]},_0xe93706[_0x3ffb(0x8a)])),React[_0x3ffb(0x60)](TouchableOpacity,{'style':[styles['infoActionButton'],styles['infoActionButtonSecondary']],'onPress':_0x5a02c6},React[_0x3ffb(0x60)](Text,{'style':[styles['infoActionButtonText'],styles[_0x3ffb(0x8b)]]},_0x3ffb(0x8c))))),React['createElement'](View,{'style':styles[_0x3ffb(0x8d)]},_0x52c3d9&&React[_0x3ffb(0x60)](TouchableOpacity,{'style':styles['cancelButton'],'onPress':_0x52c3d9},React[_0x3ffb(0x60)](Text,{'style':styles['cancelButtonText']},_0xe93706[_0x3ffb(0x8e)])),React['createElement'](TouchableOpacity,{'style':[styles[_0x3ffb(0x8f)],(_0xe93706[_0x3ffb(0x90)](!_0x28a5fa,_0x20cc94)||_0xe93706['JfTXn'](_0x2c2fd1,_0x28a5fa))&&styles['submitButtonDisabled']],'onPress':_0x8e7683,'disabled':_0xe93706[_0x3ffb(0x91)](!_0x28a5fa,_0x20cc94)||!!_0xe93706[_0x3ffb(0x47)](_0x2c2fd1,_0x28a5fa)},React['createElement'](Text,{'style':styles[_0x3ffb(0x92)]},_0x20cc94?'Authenticating...':_0x3ffb(0x93)))));};const styles=StyleSheet['create']({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':_0x3ffb(0x94),'justifyContent':_0x3ffb(0x95)},'inputSection':{'width':_0x3ffb(0x96),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x3ffb(0x97),'alignItems':_0x3ffb(0x98),'justifyContent':_0x3ffb(0x99),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':_0x3ffb(0x9a),'color':_0x3ffb(0x9b),'textAlign':'center','flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':'#666','marginBottom':0x18,'textAlign':'center'},'inputContainer':{'flexDirection':_0x3ffb(0x97),'alignItems':_0x3ffb(0x98),'borderWidth':0x1,'borderColor':_0x3ffb(0x9c),'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':_0x3ffb(0x9d),'borderColor':_0x3ffb(0x9e)},'infoContainerWarning':{'backgroundColor':_0x3ffb(0x9f),'borderColor':'#FF9800'},'infoContainerError':{'backgroundColor':_0x3ffb(0xa0),'borderColor':_0x3ffb(0xa1)},'infoTitle':{'fontSize':0x10,'fontWeight':_0x3ffb(0x9a),'marginBottom':0x8},'infoTitleInfo':{'color':_0x3ffb(0xa2)},'infoTitleWarning':{'color':_0x3ffb(0xa3)},'infoTitleError':{'color':'#D32F2F'},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x3ffb(0xa4)},'infoMessageWarning':{'color':_0x3ffb(0xa5)},'infoMessageError':{'color':'#C62828'},'infoActions':{'flexDirection':'row','justifyContent':_0x3ffb(0x99),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':_0x3ffb(0xa6),'marginHorizontal':0x4,'alignItems':_0x3ffb(0x98)},'infoActionButtonSecondary':{'backgroundColor':_0x3ffb(0xa7),'borderWidth':0x1,'borderColor':'#007AFF'},'infoActionButtonText':{'color':_0x3ffb(0x94),'fontSize':0xe,'fontWeight':_0x3ffb(0x9a)},'infoActionButtonSecondaryText':{'color':_0x3ffb(0xa6)},'error':{'color':_0x3ffb(0xa8),'marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x3ffb(0x9a),'marginBottom':0x8,'color':_0x3ffb(0x9b)},'requirement':{'fontSize':0xe,'color':_0x3ffb(0xa9),'marginBottom':0x4},'requirementMet':{'color':_0x3ffb(0xaa)},'footer':{'flexDirection':_0x3ffb(0x97),'alignItems':_0x3ffb(0x98),'justifyContent':_0x3ffb(0x99),'marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':_0x3ffb(0xab),'paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':_0x3ffb(0xa9),'fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':_0x3ffb(0xac),'alignItems':_0x3ffb(0x98)},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':_0x3ffb(0x94),'fontSize':0x10,'fontWeight':'600'},'backgroundProgressContainer':{'flexDirection':_0x3ffb(0x97),'alignItems':'center','justifyContent':'center','marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x3ffb(0xa9),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});