@onairos/react-native 3.6.2 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +1 -1
  55. package/lib/commonjs/services/authService.js +1 -1
  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 +1 -1
  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 +1 -1
  166. package/lib/module/services/authService.js +1 -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 +1 -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
- import React,{useState}from'react';import{View,Text,StyleSheet,TouchableOpacity,Image,ScrollView,ActivityIndicator}from'react-native';function _0x1ea3(_0xf32106,_0x1ea39c){_0xf32106=_0xf32106-0x0;const _0x406033=_0xf321();let _0x46a70e=_0x406033[_0xf32106];return _0x46a70e;}import{COLORS}from'../theme';import{triggerHaptic,HapticType}from'../utils/haptics';import{getPlatformIcon}from'../services/connectedAccountsService';function _0xf321(){const _0x59fd07=['Enoch','dAXod','ArsoS','hjWAK','oelzd','contain','Welcome\x20back!','\x20wants\x20to\x20personalize\x20your\x20experience','Choose\x20what\x20to\x20share:','small','Accept\x20&\x20Continue','Decline','Use\x20different\x20account','tCBeY','ysLYL','BUTTON_PRESS','values','some','createElement','container','scrollContent','headerContainer','iconContainer','onairosLogo','yJPOs','arrow','titleContainer','IokGP','title','KUjUd','subtitle','cRpxW','optionRow','basicProfile','optionLeft','optionIcon','grey800','optionText','checkboxContainer','wuwrv','grey400','checkbox','grey700','contentAnalysis','#4CD964','personalityProfile','connectedPlatformsSection','connectedPlatformsTitle','FiWsN','kFAEw','length','connectedPlatformIcon','RzyGh','tDPCb','Connect\x20more','connectMorePlusCircle','buttonContainer','acceptButton','acceptButtonActive','acceptButtonLoading','qFlSD','KAaNb','enSpm','HdZsm','#FFFFFF','Fragment','buttonArrow','buttonArrowActive','declineButton','ayPdc','gQWSe','oJQZF','gnKsc','eXyfl','logoutButton','QSPNl','rzfKi','jJFns','mCCEm','logoutButtonText','aNSrK','create','surface','row','center','IBM\x20Plex\x20Sans','700','grey600','Inter','#F8F9FA','#2D3436','#999999','600','#E5E5E5','500','underline','grey500','#000'];_0xf321=function(){return _0x59fd07;};return _0xf321();}import{BRAND_IMAGES}from'../utils/assetRegistry';import{Basicproficon,Basicprofile,Contenticon,Personalityicon,Personalitytraits,Userpreferences,Checkbox,Checkmark}from'./icons';const PersonalizationConsentScreen=({visible:_0x5cbf15,onAccept:_0x40c012,onDecline:_0x54a723,loading:loading=![],connectedPlatforms:connectedPlatforms=[],onConnectMore:_0x3941ca,isReturningUser:isReturningUser=![],appName:appName=_0x1ea3(0x0),onLogout:_0x28c8f5})=>{const _0x1b6080={'ysLYL':function(_0xb6ae3f,_0x2fbace){return _0xb6ae3f(_0x2fbace);},'remdI':function(_0x482e0c,_0xf81aff){return _0x482e0c===_0xf81aff;},'tCBeY':'YANNJ','HeTCz':_0x1ea3(0x1),'vDZgW':function(_0x55135e,_0x43ac01){return _0x55135e(_0x43ac01);},'RzyGh':function(_0x47f3ef,_0x57b9cc){return _0x47f3ef(_0x57b9cc);},'tDPCb':function(_0xbffb30){return _0xbffb30();},'qFlSD':function(_0x9e8e07,_0x242707){return _0x9e8e07!==_0x242707;},'KAaNb':_0x1ea3(0x2),'enSpm':function(_0x357ec3){return _0x357ec3();},'ayPdc':_0x1ea3(0x3),'gQWSe':'TbXXZ','oJQZF':function(_0x2840c0,_0x164877){return _0x2840c0(_0x164877);},'gnKsc':function(_0x558a5e){return _0x558a5e();},'HZpBK':function(_0x39914c,_0x11e17){return _0x39914c===_0x11e17;},'QSPNl':_0x1ea3(0x4),'CPEKa':function(_0x3130c7){return _0x3130c7();},'yJPOs':_0x1ea3(0x5),'IokGP':_0x1ea3(0x6),'KUjUd':_0x1ea3(0x7),'cRpxW':_0x1ea3(0x8),'wuwrv':'#4CD964','FiWsN':'Connected\x20Platforms','kFAEw':function(_0x449feb,_0x293414){return _0x449feb>_0x293414;},'HdZsm':_0x1ea3(0x9),'YjZIR':_0x1ea3(0xa),'eXyfl':_0x1ea3(0xb),'aNSrK':_0x1ea3(0xc)},[_0x35c251,_0x45d889]=useState({'basicProfile':![],'contentAnalysis':![],'personalityProfile':![]}),_0x28392b=_0x30d811=>{_0x1b6080['remdI'](_0x1b6080[_0x1ea3(0xd)],_0x1b6080['HeTCz'])?(_0x410c2e(_0x13f655['BUTTON_PRESS']),_0x1b6080[_0x1ea3(0xe)](_0x152956,_0x193f04=>({..._0x193f04,[_0x19efa5]:!_0x193f04[_0xaecd49]}))):(_0x1b6080[_0x1ea3(0xe)](triggerHaptic,HapticType[_0x1ea3(0xf)]),_0x1b6080['vDZgW'](_0x45d889,_0x228f51=>({..._0x228f51,[_0x30d811]:!_0x228f51[_0x30d811]})));},_0x13b3b2=Object[_0x1ea3(0x10)](_0x35c251)[_0x1ea3(0x11)](_0x11a9a4=>_0x11a9a4);if(!_0x5cbf15)return null;return React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x13)]},React[_0x1ea3(0x12)](ScrollView,{'style':styles['scrollView'],'contentContainerStyle':styles[_0x1ea3(0x14)],'showsVerticalScrollIndicator':![]},React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x15)]},React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x16)]},React['createElement'](Image,{'source':BRAND_IMAGES[_0x1ea3(0x17)],'style':styles['headerIcon'],'resizeMode':_0x1b6080[_0x1ea3(0x18)]})),React[_0x1ea3(0x12)](Text,{'style':styles[_0x1ea3(0x19)]},'→'),React[_0x1ea3(0x12)](Image,{'source':BRAND_IMAGES['enochIcon'],'style':styles['enochAppIcon'],'resizeMode':_0x1b6080[_0x1ea3(0x18)]})),React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x1a)]},isReturningUser&&React['createElement'](Text,{'style':styles['welcomeBackText']},_0x1b6080[_0x1ea3(0x1b)]),React['createElement'](Text,{'style':styles[_0x1ea3(0x1c)]},appName,_0x1b6080[_0x1ea3(0x1d)]),React[_0x1ea3(0x12)](Text,{'style':styles[_0x1ea3(0x1e)]},_0x1b6080[_0x1ea3(0x1f)])),React[_0x1ea3(0x12)](View,{'style':styles['optionsContainer']},React[_0x1ea3(0x12)](TouchableOpacity,{'style':styles[_0x1ea3(0x20)],'onPress':()=>_0x28392b(_0x1ea3(0x21))},React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x22)]},React[_0x1ea3(0x12)](Basicproficon,{'width':0x20,'height':0x20,'fill':COLORS['grey700'],'style':styles[_0x1ea3(0x23)]}),React[_0x1ea3(0x12)](Basicprofile,{'height':0x18,'fill':COLORS[_0x1ea3(0x24)],'style':styles[_0x1ea3(0x25)]})),React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x26)]},_0x35c251[_0x1ea3(0x21)]?React[_0x1ea3(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x1b6080[_0x1ea3(0x27)],'style':styles['checkbox']}):React[_0x1ea3(0x12)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS[_0x1ea3(0x28)],'style':styles[_0x1ea3(0x29)]}))),React['createElement'](TouchableOpacity,{'style':styles[_0x1ea3(0x20)],'onPress':()=>_0x28392b('contentAnalysis')},React['createElement'](View,{'style':styles['optionLeft']},React[_0x1ea3(0x12)](Contenticon,{'width':0x20,'height':0x20,'fill':COLORS[_0x1ea3(0x2a)],'style':styles[_0x1ea3(0x23)]}),React[_0x1ea3(0x12)](Userpreferences,{'height':0x18,'fill':COLORS[_0x1ea3(0x24)],'style':styles[_0x1ea3(0x25)]})),React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x26)]},_0x35c251[_0x1ea3(0x2b)]?React['createElement'](Checkmark,{'width':0x18,'height':0x18,'fill':_0x1ea3(0x2c),'style':styles[_0x1ea3(0x29)]}):React[_0x1ea3(0x12)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS['grey400'],'style':styles[_0x1ea3(0x29)]}))),React[_0x1ea3(0x12)](TouchableOpacity,{'style':styles['optionRow'],'onPress':()=>_0x28392b(_0x1ea3(0x2d))},React[_0x1ea3(0x12)](View,{'style':styles['optionLeft']},React[_0x1ea3(0x12)](Personalityicon,{'width':0x20,'height':0x20,'fill':COLORS[_0x1ea3(0x2a)],'style':styles['optionIcon']}),React[_0x1ea3(0x12)](Personalitytraits,{'height':0x18,'fill':COLORS['grey800'],'style':styles[_0x1ea3(0x25)]})),React[_0x1ea3(0x12)](View,{'style':styles['checkboxContainer']},_0x35c251[_0x1ea3(0x2d)]?React[_0x1ea3(0x12)](Checkmark,{'width':0x18,'height':0x18,'fill':_0x1ea3(0x2c),'style':styles[_0x1ea3(0x29)]}):React[_0x1ea3(0x12)](Checkbox,{'width':0x18,'height':0x18,'stroke':COLORS['grey400'],'style':styles[_0x1ea3(0x29)]})))),React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x2e)]},React[_0x1ea3(0x12)](Text,{'style':styles[_0x1ea3(0x2f)]},_0x1b6080[_0x1ea3(0x30)]),_0x1b6080[_0x1ea3(0x31)](connectedPlatforms[_0x1ea3(0x32)],0x0)&&React[_0x1ea3(0x12)](View,{'style':styles['connectedPlatformsIcons']},connectedPlatforms['map'](_0x5be9e1=>React[_0x1ea3(0x12)](View,{'key':_0x5be9e1,'style':styles['connectedPlatformIconContainer']},React[_0x1ea3(0x12)](Image,{'source':getPlatformIcon(_0x5be9e1),'style':styles[_0x1ea3(0x33)],'resizeMode':_0x1ea3(0x5)})))),_0x3941ca&&React[_0x1ea3(0x12)](TouchableOpacity,{'style':styles['connectMoreButton'],'onPress':()=>{_0x1b6080[_0x1ea3(0x34)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x1b6080[_0x1ea3(0x35)](_0x3941ca);}},React['createElement'](Text,{'style':styles['connectMoreText']},_0x1ea3(0x36)),React[_0x1ea3(0x12)](View,{'style':styles[_0x1ea3(0x37)]},React[_0x1ea3(0x12)](Text,{'style':styles['connectMorePlus']},'+'))))),React['createElement'](View,{'style':styles[_0x1ea3(0x38)]},React[_0x1ea3(0x12)](TouchableOpacity,{'style':[styles[_0x1ea3(0x39)],_0x13b3b2&&styles[_0x1ea3(0x3a)],loading&&styles[_0x1ea3(0x3b)]],'onPress':()=>{const _0x3e8cbe={'aYvQU':function(_0x2e0ad3,_0x39263a){return _0x1b6080[_0x1ea3(0xe)](_0x2e0ad3,_0x39263a);}};!loading&&(_0x1b6080[_0x1ea3(0x3c)](_0x1b6080[_0x1ea3(0x3d)],_0x1b6080['KAaNb'])?(_0x3e8cbe['aYvQU'](_0x234759,_0x33f123[_0x1ea3(0xf)]),_0x2e9ce0()):(triggerHaptic(HapticType[_0x1ea3(0xf)]),_0x1b6080[_0x1ea3(0x3e)](_0x40c012)));},'disabled':loading,'activeOpacity':loading?0x1:0.7},loading?React[_0x1ea3(0x12)](ActivityIndicator,{'size':_0x1b6080[_0x1ea3(0x3f)],'color':_0x1ea3(0x40)}):React[_0x1ea3(0x12)](React[_0x1ea3(0x41)],null,React[_0x1ea3(0x12)](Text,{'style':[styles['acceptButtonText'],_0x13b3b2&&styles['acceptButtonTextActive']]},_0x1b6080['YjZIR']),React[_0x1ea3(0x12)](Text,{'style':[styles[_0x1ea3(0x42)],_0x13b3b2&&styles[_0x1ea3(0x43)]]},'→'))),React['createElement'](TouchableOpacity,{'style':styles[_0x1ea3(0x44)],'onPress':()=>{_0x1b6080[_0x1ea3(0x3c)](_0x1b6080[_0x1ea3(0x45)],_0x1b6080[_0x1ea3(0x46)])?(_0x1b6080[_0x1ea3(0x47)](triggerHaptic,HapticType[_0x1ea3(0xf)]),_0x1b6080[_0x1ea3(0x48)](_0x54a723)):(_0x1b6080[_0x1ea3(0xe)](_0x11e269,_0x462097[_0x1ea3(0xf)]),_0x53dc9b());}},React[_0x1ea3(0x12)](Text,{'style':styles['declineButtonText']},_0x1b6080[_0x1ea3(0x49)])),_0x28c8f5&&React[_0x1ea3(0x12)](TouchableOpacity,{'style':styles[_0x1ea3(0x4a)],'onPress':()=>{const _0x17492c={'jJFns':function(_0x4f60a0,_0x31f5be){return _0x1b6080['RzyGh'](_0x4f60a0,_0x31f5be);},'mCCEm':function(_0x25dea3){return _0x25dea3();}};_0x1b6080['HZpBK'](_0x1b6080[_0x1ea3(0x4b)],_0x1ea3(0x4c))?(_0x17492c[_0x1ea3(0x4d)](_0x4a31b9,_0x210707[_0x1ea3(0xf)]),_0x17492c[_0x1ea3(0x4e)](_0x210f52)):(triggerHaptic(HapticType[_0x1ea3(0xf)]),_0x1b6080['CPEKa'](_0x28c8f5));}},React[_0x1ea3(0x12)](Text,{'style':styles[_0x1ea3(0x4f)]},_0x1b6080[_0x1ea3(0x50)]))));},styles=StyleSheet[_0x1ea3(0x51)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x1ea3(0x52)],'paddingHorizontal':0x18,'paddingTop':0x28,'paddingBottom':0x8},'headerContainer':{'flexDirection':_0x1ea3(0x53),'alignItems':_0x1ea3(0x54),'justifyContent':'center','marginBottom':0xc,'marginTop':0x0},'iconContainer':{'width':0x40,'height':0x40,'backgroundColor':_0x1ea3(0x40),'borderRadius':0xc,'alignItems':_0x1ea3(0x54),'justifyContent':'center','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':_0x1ea3(0x55),'fontWeight':_0x1ea3(0x56),'color':COLORS[_0x1ea3(0x24)]},'arrow':{'fontSize':0x18,'color':COLORS[_0x1ea3(0x57)],'marginHorizontal':0x10},'titleContainer':{'alignItems':_0x1ea3(0x54),'marginBottom':0x8},'welcomeBackText':{'fontSize':0x18,'fontFamily':'IBM\x20Plex\x20Sans','fontWeight':_0x1ea3(0x56),'color':COLORS['grey800'],'textAlign':_0x1ea3(0x54),'marginBottom':0x2},'title':{'fontSize':0x14,'fontFamily':_0x1ea3(0x55),'fontWeight':'600','color':COLORS[_0x1ea3(0x24)],'textAlign':_0x1ea3(0x54),'marginBottom':0xa},'subtitle':{'fontSize':0x10,'fontFamily':_0x1ea3(0x58),'fontWeight':'400','color':COLORS[_0x1ea3(0x57)],'textAlign':_0x1ea3(0x54)},'scrollView':{'flex':0x1},'scrollContent':{'flexGrow':0x1},'optionsContainer':{'marginBottom':0x8},'optionRow':{'flexDirection':_0x1ea3(0x53),'alignItems':'center','justifyContent':'space-between','paddingVertical':0xc,'paddingHorizontal':0x2,'backgroundColor':_0x1ea3(0x59),'borderRadius':0xc,'marginBottom':0x6,'marginHorizontal':0x0},'optionLeft':{'flexDirection':'row','alignItems':_0x1ea3(0x54),'flex':0x1},'optionIcon':{'marginRight':0xc,'marginLeft':0x2,'marginTop':-0x4},'optionText':{'flex':0x1,'marginLeft':0x2},'checkboxContainer':{'paddingLeft':0x4,'paddingRight':0x2,'alignItems':'center','justifyContent':_0x1ea3(0x54)},'checkbox':{},'buttonContainer':{'gap':0x8,'paddingHorizontal':0x0,'paddingBottom':0x10,'marginTop':0x10},'acceptButton':{'backgroundColor':'#E5E5E5','borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'flexDirection':_0x1ea3(0x53),'alignItems':_0x1ea3(0x54),'justifyContent':_0x1ea3(0x54)},'acceptButtonActive':{'backgroundColor':_0x1ea3(0x5a)},'acceptButtonLoading':{'backgroundColor':'#2D3436','opacity':0.8},'acceptButtonText':{'color':_0x1ea3(0x5b),'fontSize':0x10,'fontFamily':'Inter','fontWeight':_0x1ea3(0x5c),'marginRight':0x8},'acceptButtonTextActive':{'color':_0x1ea3(0x40)},'buttonArrow':{'color':_0x1ea3(0x5b),'fontSize':0x10},'buttonArrowActive':{'color':_0x1ea3(0x40)},'declineButton':{'backgroundColor':_0x1ea3(0x5d),'borderRadius':0x19,'paddingVertical':0xa,'paddingHorizontal':0x18,'alignItems':'center','justifyContent':'center'},'declineButtonText':{'color':COLORS[_0x1ea3(0x57)],'fontSize':0x10,'fontFamily':_0x1ea3(0x58),'fontWeight':_0x1ea3(0x5e)},'logoutButton':{'alignItems':_0x1ea3(0x54),'paddingVertical':0xc,'marginTop':0x8},'logoutButtonText':{'fontSize':0xe,'fontFamily':_0x1ea3(0x58),'fontWeight':'400','color':COLORS['grey500'],'textDecorationLine':_0x1ea3(0x5f)},'connectedPlatformsSection':{'alignItems':_0x1ea3(0x54),'paddingVertical':0xa,'paddingHorizontal':0x10,'backgroundColor':_0x1ea3(0x59),'borderRadius':0x10,'marginBottom':0xa,'marginTop':0x10},'connectedPlatformsTitle':{'fontSize':0xf,'fontFamily':_0x1ea3(0x58),'fontWeight':_0x1ea3(0x5e),'color':COLORS[_0x1ea3(0x60)],'marginBottom':0xa},'connectedPlatformsIcons':{'flexDirection':_0x1ea3(0x53),'justifyContent':'center','alignItems':'center','flexWrap':'wrap','gap':0xa,'marginBottom':0xa},'connectedPlatformIconContainer':{'width':0x30,'height':0x30,'borderRadius':0xa,'backgroundColor':_0x1ea3(0x40),'justifyContent':'center','alignItems':_0x1ea3(0x54),'shadowColor':_0x1ea3(0x61),'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.1,'shadowRadius':0x4,'elevation':0x2},'connectedPlatformIcon':{'width':0x20,'height':0x20},'connectMoreButton':{'flexDirection':_0x1ea3(0x53),'alignItems':_0x1ea3(0x54),'justifyContent':_0x1ea3(0x54),'gap':0x8},'connectMoreText':{'fontSize':0x10,'fontFamily':_0x1ea3(0x58),'fontWeight':_0x1ea3(0x5e),'color':COLORS['grey500']},'connectMorePlusCircle':{'width':0x1c,'height':0x1c,'borderRadius':0xe,'borderWidth':0x2,'borderColor':COLORS[_0x1ea3(0x28)],'justifyContent':_0x1ea3(0x54),'alignItems':_0x1ea3(0x54)},'connectMorePlus':{'fontSize':0x12,'fontWeight':_0x1ea3(0x5e),'color':COLORS[_0x1ea3(0x60)],'marginTop':-0x2}});export{PersonalizationConsentScreen};export default PersonalizationConsentScreen;
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 +1 @@
1
- import React,{useState,useEffect}from'react';function _0x23ed(){const _0x46984b=['error','PIN\x20Creation\x20Error','4|3|1|0|2','PIN\x20Storage\x20Error','PIN\x20storage\x20verification\x20failed.\x20Please\x20try\x20again.','❌\x20PIN\x20storage\x20verification\x20failed','❌\x20[PIN\x20CREATION]\x20Face\x20ID\x20not\x20available\x20on\x20this\x20device','unavailable','OGqEy','DWlfZ','afwPe','📝\x20PIN\x20stored\x20temporarily\x20for\x20onboarding','GKYUB','storing','🔐\x20[PIN\x20CREATION]\x20Biometric\x20storage\x20enabled,\x20starting\x20biometric\x20flow...','✅\x20PIN\x20storage\x20verified\x20-\x20proceeding\x20with\x20onboarding','success','Hpuew','⚠️\x20Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed','Face\x20ID\x20Setup','Face\x20ID\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20is\x20still\x20saved\x20securely.','📱\x20Biometric\x20not\x20available,\x20continuing\x20without\x20Face\x20ID','BSwRB','Create\x20a\x20PIN','Your\x20PIN\x20must:','Be\x20at\x20least\x208\x20characters\x20in\x20length.','Contain\x20an\x20uppercase\x20letter.','Contain\x20a\x20symbol\x20(e.g.\x20!@#$%^&*).','small','Checking\x20Face\x20ID...','Enhanced\x20Security','Face\x20ID\x20Unavailable','Securing\x20with\x20Face\x20ID...','PIN\x20Secured\x20with\x20Face\x20ID','Verifying\x20Face\x20ID\x20availability\x20on\x20your\x20device.','We\x20use\x20Face\x20ID\x20to\x20ensure\x20only\x20you\x20can\x20access\x20your\x20data.','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.','#FFFFFF','stKMg','ZSrUP','QQlYH','dXBOj','length','test','RBakK','values','NvCnw','YpCTS','LUtGR','uXzuL','xuozf','available','uISuy','voZyJ','BUTTON_PRESS','ERROR','Invalid\x20PIN','gXQdP','DZOgs','InDlY','FKRNY','sVVEI','log','EMFMY','tSusi','xIxJc','WgTVx','wjaOj','SPvpI','isBiometricAvailable','🔐\x20[PIN\x20CREATION]\x20Triggering\x20biometric\x20authentication\x20for\x20PIN\x20storage...','WPGtm','HhVuU','fRHfL','KGcHz','tJZoi','wAosZ','wHTof','TPEga','majNu','fyZuC','1|2|0|4|3','split','❌\x20Error\x20in\x20PIN\x20creation\x20process:','dHXKY','alert','IOiaw','IVBcJ','rjzUb','suzll','lcyeg','OniYb','WQbCH','TuwgC','uXcRn','pLTOU','EvOfX','PWNWR','EjweU','CGcKe','vNWwg','AVqGN','giFnm','hfETd','gSSWs','ShWDC','xVyiL','UHeMZ','❌\x20Error\x20checking\x20biometric\x20availability:','EdqyI','xRloy','FDxLn','every','createElement','titleContainer','dGiMS','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data.','pinContainer','requirementsContainer','requirementsTitle','RXNsd','requirementItem','checkbox','checkboxChecked','requirementTextMet','AoZUY','uppercase','checkmark','requirementText','number','gwwgh','symbol','securityCard','clZAs','securityCardError','securityIconContainer','grey600','jlJff','#D4A536','securityIcon','bPaHa','securityTextContainer','securityTitle','jifnT','sfiyU','qghuw','BmzkO','qLeqO','IGObz','QthgX','securityDescription','checking','dmQmt','yFhqX','JBEQU','QuyjX','ylNJK','buttonContainer','HXcRg','continueButtonText','create','surface','center','700','grey800','Inter','#F8F9FA','#E5E5E5','600','row','#4CD964','bold','#22C55E','#FEF2F2','auto','#2D3436','#999999'];_0x23ed=function(){return _0x46984b;};return _0x23ed();}import{View,Text,StyleSheet,TouchableOpacity,TextInput,Alert,ActivityIndicator}from'react-native';import{COLORS}from'../theme';function _0x3f3c(_0x23edfb,_0x3f3c14){_0x23edfb=_0x23edfb-0x0;const _0x4b7609=_0x23ed();let _0x5dff9b=_0x4b7609[_0x23edfb];return _0x5dff9b;}import{triggerHaptic,HapticType}from'../utils/haptics';import{biometricPinService}from'../services/biometricPinService';import{setTemporaryPin}from'../services/pinStorageUtils';const PinCreationScreen=({visible:_0xeecc74,onComplete:_0x41e137,onBack:_0x18a74f})=>{const _0x91a4c2={'dXBOj':function(_0x2eba7f,_0x311bcf){return _0x2eba7f>=_0x311bcf;},'RBakK':function(_0x573640,_0x510540){return _0x573640(_0x510540);},'uXzuL':function(_0x1878e1,_0xf9ec78){return _0x1878e1(_0xf9ec78);},'dHXKY':_0x3f3c(0x0),'euWor':_0x3f3c(0x1),'hfETd':'There\x20was\x20an\x20issue\x20creating\x20your\x20PIN.\x20Please\x20try\x20again.','WgTVx':function(_0x27599a,_0x33efc8){return _0x27599a(_0x33efc8);},'PWNWR':_0x3f3c(0x2),'gXQdP':function(_0x3ce67b,_0xe3361f){return _0x3ce67b(_0xe3361f);},'EjweU':_0x3f3c(0x3),'OniYb':_0x3f3c(0x4),'lcyeg':_0x3f3c(0x5),'AVqGN':_0x3f3c(0x6),'EdqyI':_0x3f3c(0x7),'stKMg':function(_0x55a58f,_0x25df68){return _0x55a58f(_0x25df68);},'NvCnw':function(_0x3f9bab){return _0x3f9bab();},'YpCTS':function(_0x49b7a7,_0x164beb){return _0x49b7a7!==_0x164beb;},'LUtGR':_0x3f3c(0x8),'xuozf':function(_0x3506a1,_0x11c352){return _0x3506a1(_0x11c352);},'uISuy':function(_0xe1b4a7,_0x1564ad){return _0xe1b4a7!==_0x1564ad;},'voZyJ':_0x3f3c(0x9),'InDlY':_0x3f3c(0xa),'FKRNY':'🔐\x20Starting\x20PIN\x20creation\x20process...','sVVEI':function(_0x5396fe,_0x488830){return _0x5396fe(_0x488830);},'EMFMY':_0x3f3c(0xb),'tSusi':function(_0x66addf,_0x3cb899){return _0x66addf===_0x3cb899;},'xIxJc':_0x3f3c(0xc),'wjaOj':_0x3f3c(0xd),'SPvpI':_0x3f3c(0xe),'WPGtm':function(_0xc0ab5c,_0x2e280e){return _0xc0ab5c!==_0x2e280e;},'fRHfL':'eeXBy','tBYrm':_0x3f3c(0xf),'clZAs':_0x3f3c(0x10),'KGcHz':function(_0x22c6cd,_0x3f039e,_0x2b04b2){return _0x22c6cd(_0x3f039e,_0x2b04b2);},'IOiaw':function(_0xc5ca0f,_0x34d50d){return _0xc5ca0f!==_0x34d50d;},'rjzUb':_0x3f3c(0x11),'suzll':'3|2|0|1|4','WQbCH':_0x3f3c(0x12),'TuwgC':_0x3f3c(0x13),'uXcRn':_0x3f3c(0x14),'pLTOU':'Try\x20Again','BXIyO':'Continue\x20Without\x20Face\x20ID','FGIIj':_0x3f3c(0x15),'CGcKe':function(_0x35f749,_0x4c102c){return _0x35f749(_0x4c102c);},'vNWwg':function(_0x369d12,_0xd89ac){return _0x369d12(_0xd89ac);},'giFnm':function(_0x107a5d,_0x68af8d){return _0x107a5d(_0x68af8d);},'ZSrUP':function(_0x302e85,_0x1036e0){return _0x302e85(_0x1036e0);},'gSSWs':'ShWDC','QQlYH':'checking','PWYyb':function(_0x3ebab1,_0x3f1b48){return _0x3ebab1(_0x3f1b48);},'wfFpY':function(_0x31f131,_0x5c2eaa){return _0x31f131(_0x5c2eaa);},'UHeMZ':'available','xRloy':function(_0x5ab22b,_0x35ee89){return _0x5ab22b===_0x35ee89;},'FDxLn':_0x3f3c(0x16),'ZHMBT':function(_0xd3de54){return _0xd3de54();},'dGiMS':_0x3f3c(0x17),'RXNsd':_0x3f3c(0x18),'AoZUY':_0x3f3c(0x19),'wCxJN':_0x3f3c(0x1a),'gwwgh':'Contain\x20a\x20number.','IVNud':_0x3f3c(0x1b),'jlJff':_0x3f3c(0x1c),'bPaHa':function(_0x30e70e,_0x32e1bc){return _0x30e70e===_0x32e1bc;},'JBEQU':function(_0x4b681b,_0x179f5c){return _0x4b681b===_0x179f5c;},'jifnT':_0x3f3c(0x1d),'sfiyU':function(_0x54fd06,_0x4ff8b6){return _0x54fd06===_0x4ff8b6;},'qghuw':_0x3f3c(0x1e),'BmzkO':_0x3f3c(0x1f),'qLeqO':_0x3f3c(0x20),'IGObz':_0x3f3c(0x21),'QthgX':'Face\x20ID\x20Setup\x20Failed','nWZvP':_0x3f3c(0x22),'dmQmt':_0x3f3c(0x23),'yFhqX':'Face\x20ID\x20is\x20not\x20available\x20on\x20this\x20device.\x20Your\x20PIN\x20will\x20be\x20stored\x20securely.','QuyjX':_0x3f3c(0x24),'vFnNQ':_0x3f3c(0x25),'ylNJK':_0x3f3c(0x26),'HXcRg':function(_0x243594,_0x4db9ce){return _0x243594||_0x4db9ce;},'FvIvo':_0x3f3c(0x27),'CkQLQ':'Continue'},[_0x39ddae,_0x3ed4dd]=useState(''),[_0x49134c,_0x3e57af]=useState({'length':![],'uppercase':![],'number':![],'symbol':![]}),[_0x1830bd,_0x4157d7]=useState(![]),[_0x5b82f9,_0x39c9df]=_0x91a4c2[_0x3f3c(0x28)](useState,![]),[_0x45311e,_0x470918]=_0x91a4c2[_0x3f3c(0x29)](useState,_0x91a4c2[_0x3f3c(0x2a)]),_0x598272=_0x542b03=>{const _0x248bee={'length':_0x91a4c2[_0x3f3c(0x2b)](_0x542b03[_0x3f3c(0x2c)],0x8),'uppercase':/[A-Z]/[_0x3f3c(0x2d)](_0x542b03),'number':/[0-9]/[_0x3f3c(0x2d)](_0x542b03),'symbol':/[!@#$%^&*(),.?":{}|<>]/[_0x3f3c(0x2d)](_0x542b03)};return _0x91a4c2[_0x3f3c(0x2e)](_0x3e57af,_0x248bee),Object[_0x3f3c(0x2f)](_0x248bee)['every'](_0xbc871e=>_0xbc871e);},_0x438d2d=_0x5a1520=>{_0x91a4c2[_0x3f3c(0x2e)](_0x3ed4dd,_0x5a1520),_0x598272(_0x5a1520);},_0x1a9e16=async()=>{const _0x129d31={'nADXu':function(_0x2a631e){return _0x91a4c2[_0x3f3c(0x30)](_0x2a631e);},'fyZuC':function(_0x9d9e64,_0x5daefb){return _0x91a4c2['dXBOj'](_0x9d9e64,_0x5daefb);},'majNu':function(_0x120db2,_0x54eabf){return _0x91a4c2['WgTVx'](_0x120db2,_0x54eabf);},'tJZoi':function(_0x4dbd9f,_0x53a7c3){return _0x91a4c2[_0x3f3c(0x31)](_0x4dbd9f,_0x53a7c3);},'wAosZ':_0x91a4c2[_0x3f3c(0x32)],'TPEga':function(_0x17335d,_0x3ea6ae){return _0x91a4c2[_0x3f3c(0x33)](_0x17335d,_0x3ea6ae);},'MESyj':function(_0x2221fd,_0x5350c4){return _0x91a4c2[_0x3f3c(0x34)](_0x2221fd,_0x5350c4);},'EvOfX':_0x3f3c(0x35)};if(!_0x91a4c2[_0x3f3c(0x34)](_0x598272,_0x39ddae)){if(_0x91a4c2[_0x3f3c(0x36)](_0x91a4c2['voZyJ'],_0x91a4c2[_0x3f3c(0x37)]))_0x30937d(_0x4b699e[_0x3f3c(0x38)]),_0x129d31['nADXu'](_0x18c96e);else{_0x91a4c2[_0x3f3c(0x28)](triggerHaptic,HapticType[_0x3f3c(0x39)]),Alert['alert'](_0x3f3c(0x3a),'Please\x20ensure\x20your\x20PIN\x20meets\x20all\x20requirements.');return;}}_0x91a4c2[_0x3f3c(0x34)](triggerHaptic,HapticType['BUTTON_PRESS']),_0x91a4c2[_0x3f3c(0x3b)](_0x4157d7,!![]);try{if(_0x3f3c(0x3c)!==_0x91a4c2[_0x3f3c(0x3d)]){console['log'](_0x91a4c2[_0x3f3c(0x3e)]),_0x91a4c2[_0x3f3c(0x3f)](setTemporaryPin,_0x39ddae),console[_0x3f3c(0x40)](_0x91a4c2[_0x3f3c(0x41)]);if(_0x5b82f9){if(_0x91a4c2[_0x3f3c(0x42)](_0x91a4c2['xIxJc'],_0x91a4c2[_0x3f3c(0x43)])){_0x91a4c2[_0x3f3c(0x44)](_0x470918,_0x91a4c2[_0x3f3c(0x45)]),console['log'](_0x91a4c2[_0x3f3c(0x46)]);const _0x2a79e1=await biometricPinService[_0x3f3c(0x47)]();console['log']('📱\x20[PIN\x20CREATION]\x20Biometric\x20available\x20before\x20storage:',_0x2a79e1);if(!_0x2a79e1){console['error'](_0x91a4c2['AVqGN']),_0x91a4c2['sVVEI'](_0x470918,_0x3f3c(0x7)),_0x91a4c2[_0x3f3c(0x2e)](_0x4157d7,![]);return;}console[_0x3f3c(0x40)](_0x3f3c(0x48));const _0x5b99ec=await biometricPinService['storePinWithBiometric'](_0x39ddae);if(_0x5b99ec){console[_0x3f3c(0x40)]('✅\x20PIN\x20stored\x20successfully\x20with\x20Face\x20ID');const _0x3a2d47=await biometricPinService['isPinStored']();if(_0x3a2d47){if(_0x91a4c2[_0x3f3c(0x49)](_0x3f3c(0x4a),_0x91a4c2[_0x3f3c(0x4b)]))console['log'](_0x91a4c2['tBYrm']),_0x470918(_0x91a4c2['clZAs']),triggerHaptic(HapticType['SUCCESS']),_0x91a4c2[_0x3f3c(0x4c)](setTimeout,()=>{if(_0x129d31[_0x3f3c(0x4d)](_0x129d31[_0x3f3c(0x4e)],_0x3f3c(0x4f)))_0x129d31[_0x3f3c(0x50)](_0x4157d7,![]),_0x129d31[_0x3f3c(0x51)](_0x41e137,_0x39ddae);else{const _0x1e168d={'length':_0x129d31[_0x3f3c(0x52)](_0x14e0d3[_0x3f3c(0x2c)],0x8),'uppercase':/[A-Z]/[_0x3f3c(0x2d)](_0x246f80),'number':/[0-9]/[_0x3f3c(0x2d)](_0x16870d),'symbol':/[!@#$%^&*(),.?":{}|<>]/['test'](_0xaf57e6)};return _0x129d31[_0x3f3c(0x51)](_0x7ad554,_0x1e168d),_0x522759[_0x3f3c(0x2f)](_0x1e168d)['every'](_0x15d39f=>_0x15d39f);}},0x320);else{const _0x3b2c26=_0x3f3c(0x53)[_0x3f3c(0x54)]('|');let _0x12857b=0x0;while(!![]){switch(_0x3b2c26[_0x12857b++]){case'0':_0xfbd887(![]);continue;case'1':_0x558f72[_0x3f3c(0x0)](_0x3f3c(0x55),_0xe662e5);continue;case'2':_0x91a4c2['uXzuL'](_0x133642,_0x91a4c2[_0x3f3c(0x56)]);continue;case'3':Alert[_0x3f3c(0x57)](_0x91a4c2['euWor'],_0x91a4c2['hfETd'],[{'text':'OK'}]);continue;case'4':_0x91a4c2[_0x3f3c(0x44)](_0xca5883,_0xaa2e3[_0x3f3c(0x39)]);continue;}break;}}}else{if(_0x91a4c2[_0x3f3c(0x58)](_0x3f3c(0x59),_0x91a4c2[_0x3f3c(0x5a)])){const _0x4271a0=_0x91a4c2[_0x3f3c(0x5b)][_0x3f3c(0x54)]('|');let _0x4062ea=0x0;while(!![]){switch(_0x4271a0[_0x4062ea++]){case'0':_0x4157d7(![]);continue;case'1':_0x91a4c2[_0x3f3c(0x44)](triggerHaptic,HapticType[_0x3f3c(0x39)]);continue;case'2':_0x470918(_0x3f3c(0x0));continue;case'3':console[_0x3f3c(0x0)](_0x91a4c2[_0x3f3c(0x5c)]);continue;case'4':Alert[_0x3f3c(0x57)](_0x3f3c(0x3),_0x91a4c2[_0x3f3c(0x5d)],[{'text':'OK'}]);continue;}break;}}else _0x18ab75(_0x21ecdb),_0x129d31[_0x3f3c(0x51)](_0x24b497,_0x548d10);}}else console[_0x3f3c(0x40)](_0x91a4c2[_0x3f3c(0x5e)]),_0x470918(_0x91a4c2[_0x3f3c(0x56)]),_0x91a4c2[_0x3f3c(0x3b)](triggerHaptic,HapticType[_0x3f3c(0x39)]),Alert[_0x3f3c(0x57)](_0x91a4c2[_0x3f3c(0x5f)],_0x91a4c2[_0x3f3c(0x60)],[{'text':_0x91a4c2[_0x3f3c(0x61)],'onPress':()=>{_0x4157d7(![]),_0x129d31['MESyj'](_0x470918,_0x129d31[_0x3f3c(0x62)]);}},{'text':_0x91a4c2['BXIyO'],'onPress':()=>{_0x129d31[_0x3f3c(0x50)](_0x4157d7,![]),_0x129d31[_0x3f3c(0x50)](_0x41e137,_0x39ddae);}}]);}else{const _0x4fec1a=_0x91a4c2[_0x3f3c(0x63)]['split']('|');let _0x177bee=0x0;while(!![]){switch(_0x4fec1a[_0x177bee++]){case'0':_0x91a4c2['RBakK'](_0x19c22c,_0xa4cf21['ERROR']);continue;case'1':_0x91a4c2[_0x3f3c(0x3b)](_0x3eaf85,![]);continue;case'2':Alert['alert'](_0x91a4c2[_0x3f3c(0x64)],_0x91a4c2[_0x3f3c(0x5d)],[{'text':'OK'}]);continue;case'3':_0x251941(_0x91a4c2['dHXKY']);continue;case'4':_0x302032[_0x3f3c(0x0)](_0x91a4c2['lcyeg']);continue;}break;}}}else console[_0x3f3c(0x40)](_0x91a4c2['FGIIj']),_0x470918('unavailable'),_0x91a4c2[_0x3f3c(0x65)](_0x4157d7,![]),_0x91a4c2[_0x3f3c(0x66)](_0x41e137,_0x39ddae);}else{_0x365fff['error'](_0x91a4c2[_0x3f3c(0x67)]),_0x23a0b1(_0x91a4c2['EdqyI']),_0x91a4c2[_0x3f3c(0x28)](_0x4c00e3,![]);return;}}catch(_0x234fe3){console[_0x3f3c(0x0)]('❌\x20Error\x20in\x20PIN\x20creation\x20process:',_0x234fe3),_0x91a4c2[_0x3f3c(0x65)](_0x470918,_0x91a4c2['dHXKY']),_0x91a4c2[_0x3f3c(0x33)](_0x4157d7,![]),_0x91a4c2[_0x3f3c(0x68)](triggerHaptic,HapticType[_0x3f3c(0x39)]),Alert[_0x3f3c(0x57)](_0x91a4c2['euWor'],_0x91a4c2[_0x3f3c(0x69)],[{'text':'OK'}]);}},_0x3233b2=()=>{_0x91a4c2['RBakK'](triggerHaptic,HapticType['BUTTON_PRESS']),_0x91a4c2[_0x3f3c(0x30)](_0x18a74f);};useEffect(()=>{const _0x3fbfba=async()=>{const _0x10263d={'xVyiL':function(_0x4f9780,_0x278c40){return _0x91a4c2[_0x3f3c(0x29)](_0x4f9780,_0x278c40);}};if(_0x91a4c2[_0x3f3c(0x58)](_0x91a4c2[_0x3f3c(0x6a)],_0x3f3c(0x6b)))_0x2863a5(![]),_0x10263d[_0x3f3c(0x6c)](_0x594f00,_0x973507);else try{_0x91a4c2[_0x3f3c(0x44)](_0x470918,_0x91a4c2[_0x3f3c(0x2a)]);const _0x438ca1=await biometricPinService[_0x3f3c(0x47)]();_0x91a4c2['PWYyb'](_0x39c9df,_0x438ca1),_0x91a4c2['wfFpY'](_0x470918,_0x438ca1?_0x91a4c2[_0x3f3c(0x6d)]:_0x3f3c(0x7)),console[_0x3f3c(0x40)]('📱\x20Biometric\x20availability\x20check:',_0x438ca1);}catch(_0x1085a9){console[_0x3f3c(0x0)](_0x3f3c(0x6e),_0x1085a9),_0x91a4c2[_0x3f3c(0x68)](_0x39c9df,![]),_0x470918(_0x91a4c2[_0x3f3c(0x6f)]);}};_0xeecc74&&(_0x91a4c2[_0x3f3c(0x70)](_0x91a4c2[_0x3f3c(0x71)],_0x91a4c2[_0x3f3c(0x71)])?_0x91a4c2['ZHMBT'](_0x3fbfba):(_0x91a4c2['WgTVx'](_0x33bf58,![]),_0x91a4c2[_0x3f3c(0x65)](_0x89b529,_0xeb65e3)));},[_0xeecc74]);const _0x1cd167=Object[_0x3f3c(0x2f)](_0x49134c)[_0x3f3c(0x72)](_0xa25c24=>_0xa25c24);if(!_0xeecc74)return null;return React[_0x3f3c(0x73)](View,{'style':styles['container']},React['createElement'](View,{'style':styles[_0x3f3c(0x74)]},React[_0x3f3c(0x73)](Text,{'style':styles['title']},_0x91a4c2[_0x3f3c(0x75)]),React[_0x3f3c(0x73)](Text,{'style':styles['subtitle']},_0x3f3c(0x76))),React['createElement'](View,{'style':styles[_0x3f3c(0x77)]},React[_0x3f3c(0x73)](TextInput,{'style':styles['pinInput'],'value':_0x39ddae,'onChangeText':_0x438d2d,'placeholder':'Enter\x20your\x20PIN','secureTextEntry':!![],'autoFocus':!![],'maxLength':0x14})),React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x78)]},React['createElement'](Text,{'style':styles[_0x3f3c(0x79)]},_0x91a4c2[_0x3f3c(0x7a)]),React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x7b)]},React[_0x3f3c(0x73)](View,{'style':[styles[_0x3f3c(0x7c)],_0x49134c[_0x3f3c(0x2c)]&&styles[_0x3f3c(0x7d)]]},_0x49134c[_0x3f3c(0x2c)]&&React[_0x3f3c(0x73)](Text,{'style':styles['checkmark']},'✓')),React['createElement'](Text,{'style':[styles['requirementText'],_0x49134c[_0x3f3c(0x2c)]&&styles[_0x3f3c(0x7e)]]},_0x91a4c2[_0x3f3c(0x7f)])),React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x7b)]},React['createElement'](View,{'style':[styles[_0x3f3c(0x7c)],_0x49134c[_0x3f3c(0x80)]&&styles[_0x3f3c(0x7d)]]},_0x49134c[_0x3f3c(0x80)]&&React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x81)]},'✓')),React['createElement'](Text,{'style':[styles[_0x3f3c(0x82)],_0x49134c[_0x3f3c(0x80)]&&styles[_0x3f3c(0x7e)]]},_0x91a4c2['wCxJN'])),React['createElement'](View,{'style':styles['requirementItem']},React['createElement'](View,{'style':[styles[_0x3f3c(0x7c)],_0x49134c[_0x3f3c(0x83)]&&styles[_0x3f3c(0x7d)]]},_0x49134c['number']&&React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x81)]},'✓')),React[_0x3f3c(0x73)](Text,{'style':[styles[_0x3f3c(0x82)],_0x49134c[_0x3f3c(0x83)]&&styles[_0x3f3c(0x7e)]]},_0x91a4c2[_0x3f3c(0x84)])),React['createElement'](View,{'style':styles['requirementItem']},React['createElement'](View,{'style':[styles[_0x3f3c(0x7c)],_0x49134c[_0x3f3c(0x85)]&&styles[_0x3f3c(0x7d)]]},_0x49134c[_0x3f3c(0x85)]&&React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x81)]},'✓')),React['createElement'](Text,{'style':[styles[_0x3f3c(0x82)],_0x49134c[_0x3f3c(0x85)]&&styles[_0x3f3c(0x7e)]]},_0x91a4c2['IVNud']))),React[_0x3f3c(0x73)](View,{'style':[styles[_0x3f3c(0x86)],_0x91a4c2[_0x3f3c(0x70)](_0x45311e,_0x91a4c2[_0x3f3c(0x87)])&&styles['securityCardSuccess'],_0x91a4c2[_0x3f3c(0x42)](_0x45311e,_0x91a4c2[_0x3f3c(0x56)])&&styles[_0x3f3c(0x88)]]},React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x89)]},_0x45311e===_0x91a4c2[_0x3f3c(0x2a)]&&React[_0x3f3c(0x73)](ActivityIndicator,{'size':_0x91a4c2['jlJff'],'color':COLORS[_0x3f3c(0x8a)]}),_0x91a4c2[_0x3f3c(0x70)](_0x45311e,_0x91a4c2[_0x3f3c(0x45)])&&React[_0x3f3c(0x73)](ActivityIndicator,{'size':_0x91a4c2[_0x3f3c(0x8b)],'color':_0x3f3c(0x8c)}),_0x45311e===_0x91a4c2[_0x3f3c(0x6d)]&&React['createElement'](Text,{'style':styles[_0x3f3c(0x8d)]},'🔐'),_0x91a4c2[_0x3f3c(0x8e)](_0x45311e,_0x3f3c(0x7))&&React['createElement'](Text,{'style':styles[_0x3f3c(0x8d)]},'⚠️'),_0x91a4c2[_0x3f3c(0x42)](_0x45311e,_0x91a4c2[_0x3f3c(0x87)])&&React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x8d)]},'✅'),_0x91a4c2[_0x3f3c(0x42)](_0x45311e,_0x91a4c2[_0x3f3c(0x56)])&&React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x8d)]},'❌')),React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x8f)]},React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x90)]},_0x91a4c2['JBEQU'](_0x45311e,_0x91a4c2[_0x3f3c(0x2a)])&&_0x91a4c2[_0x3f3c(0x91)],_0x91a4c2[_0x3f3c(0x92)](_0x45311e,_0x91a4c2[_0x3f3c(0x6d)])&&_0x91a4c2[_0x3f3c(0x93)],_0x45311e===_0x91a4c2['EdqyI']&&_0x91a4c2[_0x3f3c(0x94)],_0x45311e==='storing'&&_0x91a4c2[_0x3f3c(0x95)],_0x91a4c2['JBEQU'](_0x45311e,_0x91a4c2['clZAs'])&&_0x91a4c2[_0x3f3c(0x96)],_0x91a4c2[_0x3f3c(0x70)](_0x45311e,_0x91a4c2[_0x3f3c(0x56)])&&_0x91a4c2[_0x3f3c(0x97)]),React[_0x3f3c(0x73)](Text,{'style':styles[_0x3f3c(0x98)]},_0x45311e===_0x3f3c(0x99)&&_0x91a4c2['nWZvP'],_0x45311e===_0x91a4c2[_0x3f3c(0x6d)]&&_0x91a4c2[_0x3f3c(0x9a)],_0x45311e===_0x91a4c2[_0x3f3c(0x6f)]&&_0x91a4c2[_0x3f3c(0x9b)],_0x91a4c2[_0x3f3c(0x9c)](_0x45311e,_0x3f3c(0xd))&&_0x91a4c2[_0x3f3c(0x9d)],_0x91a4c2[_0x3f3c(0x42)](_0x45311e,_0x91a4c2['clZAs'])&&_0x91a4c2['vFnNQ'],_0x45311e===_0x3f3c(0x0)&&_0x91a4c2[_0x3f3c(0x9e)]))),React[_0x3f3c(0x73)](View,{'style':styles[_0x3f3c(0x9f)]},React[_0x3f3c(0x73)](TouchableOpacity,{'style':[styles['continueButton'],_0x1cd167&&styles['continueButtonActive']],'onPress':_0x1a9e16,'disabled':_0x91a4c2[_0x3f3c(0xa0)](!_0x1cd167,_0x1830bd)},_0x1830bd?React[_0x3f3c(0x73)](ActivityIndicator,{'size':_0x91a4c2[_0x3f3c(0x8b)],'color':_0x91a4c2['FvIvo']}):React[_0x3f3c(0x73)](Text,{'style':[styles[_0x3f3c(0xa1)],_0x1cd167&&styles['continueButtonTextActive']]},_0x91a4c2['CkQLQ']))));},styles=StyleSheet[_0x3f3c(0xa2)]({'container':{'flex':0x1,'backgroundColor':COLORS[_0x3f3c(0xa3)],'paddingHorizontal':0x18,'paddingTop':0x28},'titleContainer':{'alignItems':_0x3f3c(0xa4),'marginBottom':0x18,'paddingTop':0x0,'marginTop':0x0},'title':{'fontSize':0x18,'fontWeight':_0x3f3c(0xa5),'color':COLORS[_0x3f3c(0xa6)],'marginBottom':0x8,'fontFamily':'IBM\x20Plex\x20Sans'},'subtitle':{'fontSize':0x10,'color':COLORS[_0x3f3c(0x8a)],'lineHeight':0x18,'fontFamily':_0x3f3c(0xa7)},'pinContainer':{'marginBottom':0x20},'pinInput':{'backgroundColor':_0x3f3c(0xa8),'borderRadius':0xc,'paddingVertical':0x10,'paddingHorizontal':0x10,'fontSize':0x10,'fontFamily':'Inter','borderWidth':0x1,'borderColor':_0x3f3c(0xa9)},'requirementsContainer':{'marginBottom':0x20},'requirementsTitle':{'fontSize':0x10,'fontWeight':_0x3f3c(0xaa),'color':COLORS['grey800'],'marginBottom':0x10,'fontFamily':_0x3f3c(0xa7)},'requirementItem':{'flexDirection':_0x3f3c(0xab),'alignItems':_0x3f3c(0xa4),'marginBottom':0xc},'checkbox':{'width':0x14,'height':0x14,'borderRadius':0xa,'borderWidth':0x2,'borderColor':_0x3f3c(0xa9),'marginRight':0xc,'alignItems':_0x3f3c(0xa4),'justifyContent':_0x3f3c(0xa4)},'checkboxChecked':{'borderColor':_0x3f3c(0xac),'backgroundColor':'#4CD964'},'checkmark':{'color':_0x3f3c(0x27),'fontSize':0xc,'fontWeight':_0x3f3c(0xad)},'requirementText':{'fontSize':0xe,'color':COLORS[_0x3f3c(0x8a)],'fontFamily':_0x3f3c(0xa7),'flex':0x1},'requirementTextMet':{'color':COLORS[_0x3f3c(0xa6)]},'securityCard':{'backgroundColor':'#F8F9FA','borderRadius':0xc,'padding':0x10,'flexDirection':_0x3f3c(0xab),'alignItems':'center','marginBottom':0x18,'borderWidth':0x1,'borderColor':_0x3f3c(0xa9)},'securityCardSuccess':{'backgroundColor':'#F0FDF4','borderColor':_0x3f3c(0xae)},'securityCardError':{'backgroundColor':_0x3f3c(0xaf),'borderColor':'#EF4444'},'securityIconContainer':{'marginRight':0xc},'securityIcon':{'fontSize':0x18},'securityTextContainer':{'flex':0x1},'securityTitle':{'fontSize':0xe,'fontWeight':_0x3f3c(0xaa),'color':COLORS['grey800'],'marginBottom':0x4,'fontFamily':_0x3f3c(0xa7)},'securityDescription':{'fontSize':0xd,'color':COLORS[_0x3f3c(0x8a)],'lineHeight':0x12,'fontFamily':_0x3f3c(0xa7)},'buttonContainer':{'marginTop':_0x3f3c(0xb0),'paddingBottom':0x22},'continueButton':{'backgroundColor':_0x3f3c(0xa9),'borderRadius':0x19,'paddingVertical':0x10,'alignItems':_0x3f3c(0xa4),'justifyContent':_0x3f3c(0xa4)},'continueButtonActive':{'backgroundColor':_0x3f3c(0xb1)},'continueButtonText':{'fontSize':0x10,'fontWeight':_0x3f3c(0xaa),'color':_0x3f3c(0xb2),'fontFamily':_0x3f3c(0xa7)},'continueButtonTextActive':{'color':_0x3f3c(0x27)}});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';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 +1 @@
1
- import React,{useState,useCallback}from'react';function _0x4acb(_0x53e23a,_0x4acb79){_0x53e23a=_0x53e23a-0x0;const _0x512c37=_0x53e2();let _0x11a8b3=_0x512c37[_0x53e23a];return _0x11a8b3;}import{View,Text,StyleSheet,TextInput,TouchableOpacity,Dimensions,Keyboard,ActivityIndicator}from'react-native';import{biometricPinService}from'../services/biometricPinService';const {width}=Dimensions[_0x4acb(0x0)](_0x4acb(0x1));export const PinInput=({onSubmit:_0x5b518d,minLength:minLength=0x8,requireSpecialChar:requireSpecialChar=!![],requireNumber:requireNumber=!![],onBack:_0x2554cc,enableBiometricStorage:enableBiometricStorage=!![],onBackgroundTrainingStart:_0x597bf0,showBackgroundProgress:showBackgroundProgress=![],backgroundProgressText:backgroundProgressText=_0x4acb(0x2)})=>{const _0xe39b33={'xcrPK':function(_0x30162b,_0x8a1417){return _0x30162b(_0x8a1417);},'rlidl':_0x4acb(0x3),'TKWtC':_0x4acb(0x4),'kaMEX':function(_0x67cbeb,_0x417dd8){return _0x67cbeb!==_0x417dd8;},'umdfO':_0x4acb(0x5),'mOiiX':function(_0x45de6c,_0x4538ed){return _0x45de6c(_0x4538ed);},'vvHml':function(_0x103616,_0x7b2ed3){return _0x103616(_0x7b2ed3);},'CZWwB':_0x4acb(0x6),'QypOg':function(_0x1d3f04,_0x25803c){return _0x1d3f04&&_0x25803c;},'emkqN':function(_0x184611,_0xad62f5){return _0x184611!==_0xad62f5;},'bacoQ':function(_0x350753,_0x3b3aed){return _0x350753(_0x3b3aed);},'BxWKd':function(_0x573e9b){return _0x573e9b();},'QYnSk':'This\x20device\x20does\x20not\x20support\x20Face\x20ID\x20or\x20Touch\x20ID.\x20Please\x20enable\x20biometric\x20authentication\x20in\x20your\x20device\x20settings\x20to\x20secure\x20your\x20PIN.','qeNMo':'warning','iybuO':_0x4acb(0x7),'fRXWU':_0x4acb(0x8),'etZKH':_0x4acb(0x9),'DFaBK':_0x4acb(0xa),'NNUYA':_0x4acb(0xb),'bUxoy':_0x4acb(0xc),'Yoiks':function(_0x993c5f,_0x37f369){return _0x993c5f<_0x37f369;},'lCrLe':function(_0x156977,_0x5d944f){return _0x156977===_0x5d944f;},'ADIyT':_0x4acb(0xd),'xRgzY':_0x4acb(0xe),'SsmHh':_0x4acb(0xf),'IhgcL':_0x4acb(0x10),'MGFlC':_0x4acb(0x11),'vmDGm':function(_0xf2e53f,_0x5a3950){return _0xf2e53f(_0x5a3950);},'YspaZ':function(_0x5cc07e,_0x365a2c){return _0x5cc07e(_0x365a2c);},'VgFxj':function(_0x4f3c37,_0x18ac4e){return _0x4f3c37(_0x18ac4e);},'zvBeq':function(_0x252f52,_0x534e68){return _0x252f52&&_0x534e68;},'nsRdR':_0x4acb(0x12),'sMHwd':function(_0x45aabe,_0x10bb75){return _0x45aabe!==_0x10bb75;},'GPGcx':_0x4acb(0x13),'RrwSV':function(_0x11e03c,_0x280d5e){return _0x11e03c(_0x280d5e);},'kQvJT':'weiZK','dUiqM':_0x4acb(0x14),'HtMSZ':_0x4acb(0x15),'PVuob':function(_0x15fc28,_0x5ba392){return _0x15fc28(_0x5ba392);},'CNsjP':function(_0x16624f,_0x50d224){return _0x16624f(_0x50d224);},'jyVOU':'storage-error','RWPTD':function(_0x5927f8,_0x44a3ab){return _0x5927f8(_0x44a3ab);},'RCOwe':function(_0x31a9cb,_0x157694){return _0x31a9cb(_0x157694);},'UQYHv':'qPvMi','wnstO':function(_0x329586,_0x475073){return _0x329586(_0x475073);},'TbkCs':function(_0x5253b7,_0x7571a1){return _0x5253b7(_0x7571a1);},'djvrm':function(_0x202362,_0x405e32){return _0x202362!==_0x405e32;},'ynNhT':_0x4acb(0x16),'hNQKh':_0x4acb(0x17),'kbovz':_0x4acb(0x18),'FdzrC':_0x4acb(0x19),'wBFWB':_0x4acb(0x1a),'IiLYg':_0x4acb(0x1b),'LMgBT':_0x4acb(0x1c),'aKLZG':function(_0x22b02d,_0x427de1){return _0x22b02d(_0x427de1);},'mIKlL':function(_0x5d1064,_0x516ff4){return _0x5d1064(_0x516ff4);},'OOKOp':function(_0xd5629d,_0x3c1f80,_0x2545f3){return _0xd5629d(_0x3c1f80,_0x2545f3);},'cBzEf':function(_0x10d7b,_0x409962,_0x428f9f){return _0x10d7b(_0x409962,_0x428f9f);},'iXeYr':_0x4acb(0x1d),'uWDQj':_0x4acb(0x1e),'EACeN':_0x4acb(0x1f),'YZlkn':'#007AFF','kKTCN':_0x4acb(0x20),'WomTs':_0x4acb(0x21),'xgFPX':_0x4acb(0x22),'XEIVW':_0x4acb(0x23),'PLvAT':function(_0x5a2d68,_0x31f45a){return _0x5a2d68>=_0x31f45a;},'FeveS':_0x4acb(0x24),'liKad':'•\x20Include\x20a\x20special\x20character','TwCtl':'•\x20Include\x20a\x20number','dfyiA':function(_0x27a746,_0x4de92b){return _0x27a746===_0x4de92b;},'sRqil':function(_0x14d55b,_0x450f02){return _0x14d55b===_0x450f02;},'fydPj':function(_0x422dda,_0x261a71){return _0x422dda===_0x261a71;},'mUlHT':function(_0x549a07,_0x575bae){return _0x549a07===_0x575bae;},'zsVty':function(_0x446c02,_0x75a789){return _0x446c02===_0x75a789;},'JgGMs':_0x4acb(0x25),'QlukZ':'Continue\x20Without\x20Biometric','qqcSf':_0x4acb(0x26),'weibJ':function(_0x54921b,_0x5e3af4){return _0x54921b||_0x5e3af4;}},[_0x97ba67,_0x4bee66]=_0xe39b33[_0x4acb(0x27)](useState,''),[_0x4c16e3,_0x41734e]=_0xe39b33['VgFxj'](useState,null),[_0x1ac060,_0xfff5a8]=_0xe39b33[_0x4acb(0x28)](useState,![]),[_0x25415a,_0x260c7a]=_0xe39b33[_0x4acb(0x29)](useState,![]),[_0x5f1649,_0x2f088b]=useState(_0xe39b33[_0x4acb(0x2a)]),[_0x568215,_0x58ff66]=_0xe39b33[_0x4acb(0x29)](useState,![]);React['useEffect'](()=>{const _0x1679e1={'LohKl':_0xe39b33[_0x4acb(0x2b)],'BCsZY':function(_0x901266,_0x309538){return _0xe39b33[_0x4acb(0x2c)](_0x901266,_0x309538);},'nnLcS':function(_0x11b795,_0x39cc5f){return _0xe39b33['kaMEX'](_0x11b795,_0x39cc5f);},'fpNBR':_0xe39b33[_0x4acb(0x2d)],'VrdLO':function(_0x4bcbe0,_0xfed730){return _0xe39b33[_0x4acb(0x2c)](_0x4bcbe0,_0xfed730);},'hbtRt':function(_0x36fc2d,_0x30d071){return _0xe39b33['mOiiX'](_0x36fc2d,_0x30d071);},'FzFXe':_0xe39b33[_0x4acb(0x2a)],'dZWEi':function(_0x133bc7,_0xab6b3d){return _0xe39b33[_0x4acb(0x2e)](_0x133bc7,_0xab6b3d);}};_0xe39b33[_0x4acb(0x2f)]!==_0x4acb(0x6)?(_0xe39b33[_0x4acb(0x2c)](_0x3f9551,_0xe39b33[_0x4acb(0x2a)]),_0x5f414a()):_0xe39b33['QypOg'](_0x597bf0,!_0x568215)&&showBackgroundProgress&&(_0xe39b33[_0x4acb(0x30)]('CerXG','uWSQz')?(console[_0x4acb(0x31)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0xe39b33['bacoQ'](_0x58ff66,!![]),_0xe39b33[_0x4acb(0x32)](_0x597bf0)['catch'](_0x57bbd3=>{if(_0x1679e1[_0x4acb(0x33)](_0x1679e1[_0x4acb(0x34)],_0x1679e1[_0x4acb(0x34)])){_0x33d4f1['error']('\u274C [PIN INPUT] Face ID not available on this device'),_0x51d4b6(_0x1679e1[_0x4acb(0x35)]),_0x1679e1[_0x4acb(0x36)](_0x93e87f,![]);return;}else console[_0x4acb(0x1b)]('\u274C [PIN INPUT] Background training failed:',_0x57bbd3),_0x1679e1[_0x4acb(0x37)](_0x58ff66,![]);})):(_0x1679e1['hbtRt'](_0xc5c4ee,_0x2a3439),_0x1679e1[_0x4acb(0x38)](_0x2af86b,null),_0x1679e1[_0x4acb(0x37)](_0x53e32c,_0x1679e1[_0x4acb(0x39)]),_0x5769ed[_0x4acb(0x31)]('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x5f55ca[_0x4acb(0x3a)],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x4acb(0x3b)](_0x99c5a0),'hasNumber':/\d/[_0x4acb(0x3b)](_0x59b6b5),'isValid':!_0x1679e1[_0x4acb(0x3c)](_0x5ce5f1,_0x5ac25b)})));},[_0x597bf0,_0x568215,showBackgroundProgress]);const _0x3e3395=_0xe39b33[_0x4acb(0x3d)](useCallback,_0x2bf399=>{const _0xf1f801={'RzKKI':_0xe39b33[_0x4acb(0x2b)],'OtyHU':_0xe39b33[_0x4acb(0x3e)],'QJBST':_0xe39b33[_0x4acb(0x3f)],'elVis':_0xe39b33[_0x4acb(0x40)],'VnpDs':'Biometric\x20Authentication\x20Failed','MReWA':_0x4acb(0x41),'RJRlK':_0x4acb(0x1a),'OTDuO':_0xe39b33['fRXWU'],'VuDXG':_0xe39b33[_0x4acb(0x42)],'osFrl':_0xe39b33[_0x4acb(0x43)],'yzGSg':_0xe39b33[_0x4acb(0x44)],'EegzE':_0xe39b33[_0x4acb(0x45)]};if(_0xe39b33[_0x4acb(0x46)](_0x2bf399[_0x4acb(0x3a)],minLength))return _0x4acb(0x47)+minLength+'\x20characters';if(requireSpecialChar&&!/[!@#$%^&*(),.?":{}|<>]/[_0x4acb(0x3b)](_0x2bf399)){if(_0xe39b33[_0x4acb(0x48)](_0xe39b33[_0x4acb(0x49)],_0xe39b33['ADIyT']))return _0xe39b33[_0x4acb(0x4a)];else{_0x48cbf2[_0x4acb(0x31)]('\u274C [PIN INPUT] Validation failed:',_0x1ddeaf),_0xe39b33[_0x4acb(0x2c)](_0x394039,_0x3bd201);return;}}if(requireNumber&&!/\d/['test'](_0x2bf399)){if(_0xe39b33[_0x4acb(0x4b)]!==_0xe39b33[_0x4acb(0x4c)])return _0xe39b33[_0x4acb(0x4d)];else switch(_0x3f499e){case _0xf1f801[_0x4acb(0x4e)]:return{'title':_0x4acb(0x17),'message':_0xf1f801[_0x4acb(0x4f)],'type':_0xf1f801[_0x4acb(0x50)],'showActions':!![]};case _0xf1f801[_0x4acb(0x51)]:return{'title':_0xf1f801[_0x4acb(0x52)],'message':'Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','type':_0x4acb(0x53),'showActions':!![]};case _0xf1f801[_0x4acb(0x54)]:return{'title':_0x4acb(0x19),'message':_0xf1f801[_0x4acb(0x55)],'type':'error','showActions':!![]};case _0xf1f801[_0x4acb(0x56)]:return{'title':_0xf1f801[_0x4acb(0x57)],'message':_0xf1f801[_0x4acb(0x58)],'type':_0xf1f801[_0x4acb(0x59)],'showActions':![]};default:return{'title':_0x4acb(0x1c),'message':_0xf1f801['EegzE'],'type':_0xf1f801['yzGSg'],'showActions':![]};}}return null;},[minLength,requireSpecialChar,requireNumber]),_0x260610=_0xe39b33[_0x4acb(0x3d)](useCallback,async()=>{const _0x5b0881={'vRpXD':function(_0x2d0f97,_0x24176d){return _0xe39b33[_0x4acb(0x5a)](_0x2d0f97,_0x24176d);},'FZhZj':function(_0x26ea82,_0x4f6f9a){return _0xe39b33[_0x4acb(0x5b)](_0x26ea82,_0x4f6f9a);},'WKIdS':function(_0x24584a){return _0xe39b33[_0x4acb(0x32)](_0x24584a);}};if(_0xe39b33['emkqN'](_0x4acb(0x12),_0xe39b33[_0x4acb(0x5c)]))_0x57c168[_0x4acb(0x5d)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0x5b0881[_0x4acb(0x5e)](_0xbada0,_0x167f31);else{console['log']('\uD83D\uDD0D [PIN INPUT] handleSubmit called with PIN length:',_0x97ba67[_0x4acb(0x3a)]);const _0x4a414b=_0x3e3395(_0x97ba67);if(_0x4a414b){console[_0x4acb(0x31)]('\u274C [PIN INPUT] Validation failed:',_0x4a414b),_0xe39b33[_0x4acb(0x5f)](_0x41734e,_0x4a414b);return;}console['log']('\u2705 [PIN INPUT] PIN validation passed');if(enableBiometricStorage){if(_0xe39b33['sMHwd'](_0xe39b33[_0x4acb(0x60)],_0xe39b33[_0x4acb(0x60)]))_0x5b0881['FZhZj'](_0x3e3528,!_0x1d38d3)&&_0x4c6896&&(_0x51c2b8[_0x4acb(0x31)]('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x10be58(!![]),_0x5b0881[_0x4acb(0x61)](_0x420bc7)[_0x4acb(0x62)](_0x44c04a=>{_0x4277b2['error']('\u274C [PIN INPUT] Background training failed:',_0x44c04a),_0x4b81b5(![]);}));else{console[_0x4acb(0x31)]('\uD83D\uDD10 [PIN INPUT] Biometric storage enabled, starting biometric flow...'),_0x260c7a(!![]),_0xe39b33[_0x4acb(0x63)](_0x2f088b,_0x4acb(0x8));try{if(_0xe39b33[_0x4acb(0x48)](_0xe39b33['kQvJT'],_0xe39b33[_0x4acb(0x64)])){const _0xcec25=await biometricPinService[_0x4acb(0x65)]();console['log']('\uD83D\uDCF1 [PIN INPUT] Biometric available:',_0xcec25);if(!_0xcec25){console[_0x4acb(0x1b)]('\u274C [PIN INPUT] Face ID not available on this device'),_0xe39b33['YspaZ'](_0x2f088b,_0x4acb(0x4)),_0xe39b33[_0x4acb(0x66)](_0x260c7a,![]);return;}console['log']('\uD83D\uDD10 [PIN INPUT] Triggering biometric authentication for PIN storage...');const _0x489f3b=await biometricPinService[_0x4acb(0x67)](_0x97ba67);if(_0x489f3b){console[_0x4acb(0x31)]('\u2705 [PIN INPUT] PIN stored successfully with biometric protection');const _0x26dcae=await biometricPinService[_0x4acb(0x68)]();_0x26dcae?_0xe39b33[_0x4acb(0x69)](_0xe39b33[_0x4acb(0x6a)],_0xe39b33[_0x4acb(0x6b)])?(console[_0x4acb(0x31)]('\u2705 [PIN INPUT] PIN storage verified - proceeding with onboarding'),_0xe39b33[_0x4acb(0x2c)](_0x5b518d,_0x97ba67)):(_0x59bc64[_0x4acb(0x5d)]('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0xe39b33[_0x4acb(0x6c)](_0x5326b9,_0xe39b33[_0x4acb(0x40)]),_0xe39b33[_0x4acb(0x6d)](_0xc01d95,![])):(console[_0x4acb(0x1b)]('\u274C [PIN INPUT] PIN storage verification failed'),_0x2f088b(_0x4acb(0x41)),_0xe39b33[_0x4acb(0x27)](_0x260c7a,![]));}else console['warn']('\u26A0️ [PIN INPUT] Biometric authentication failed or was cancelled'),_0xe39b33[_0x4acb(0x6e)](_0x2f088b,_0xe39b33[_0x4acb(0x40)]),_0xe39b33[_0x4acb(0x5a)](_0x260c7a,![]);}else _0x21098e[_0x4acb(0x31)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0xe39b33[_0x4acb(0x2e)](_0x28e10b,_0x123a44);}catch(_0x225542){console[_0x4acb(0x1b)]('\u274C [PIN INPUT] Error handling biometric PIN storage:',_0x225542),_0x2f088b(_0xe39b33[_0x4acb(0x6f)]),_0xe39b33[_0x4acb(0x70)](_0x260c7a,![]);}}}else console[_0x4acb(0x31)]('\uD83D\uDD10 [PIN INPUT] Biometric storage disabled, proceeding normally'),_0xe39b33[_0x4acb(0x71)](_0x5b518d,_0x97ba67);}},[_0x97ba67,_0x3e3395,_0x5b518d,enableBiometricStorage]),_0x9fecfb=_0xe39b33['cBzEf'](useCallback,_0x26372e=>{if(_0xe39b33[_0x4acb(0x48)](_0xe39b33['UQYHv'],'qPvMi'))_0x4bee66(_0x26372e),_0xe39b33[_0x4acb(0x72)](_0x41734e,null),_0xe39b33['TbkCs'](_0x2f088b,_0xe39b33['rlidl']),console['log']('\uD83D\uDD0D [PIN INPUT] PIN changed:',{'length':_0x26372e['length'],'hasSpecialChar':/[!@#$%^&*(),.?":{}|<>]/[_0x4acb(0x3b)](_0x26372e),'hasNumber':/\d/[_0x4acb(0x3b)](_0x26372e),'isValid':!_0xe39b33[_0x4acb(0x70)](_0x3e3395,_0x26372e)});else return'PIN\x20must\x20be\x20at\x20least\x20'+_0x5a4644+_0x4acb(0x24);},[_0x3e3395]),_0x36867d=useCallback(()=>{console[_0x4acb(0x5d)]('\u26A0️ [PIN INPUT] User chose to continue without biometric security'),_0xe39b33[_0x4acb(0x5f)](_0x5b518d,_0x97ba67);},[_0x97ba67,_0x5b518d]),_0x43d92f=_0xe39b33[_0x4acb(0x73)](useCallback,()=>{if(_0xe39b33[_0x4acb(0x74)](_0xe39b33[_0x4acb(0x75)],'Eihjo'))_0x2f088b(_0xe39b33[_0x4acb(0x2a)]),_0xe39b33[_0x4acb(0x32)](_0x260610);else{const _0x1bce6d={'LCQhe':function(_0x590af2,_0x4fc13c){return _0xe39b33['xcrPK'](_0x590af2,_0x4fc13c);}};_0x4ae5c1['log']('\uD83D\uDE80 [PIN INPUT] Background training explicitly requested...'),_0x5936f9(!![]),_0xe39b33['BxWKd'](_0x205138)[_0x4acb(0x62)](_0x487267=>{_0x3670f9[_0x4acb(0x1b)]('\u274C [PIN INPUT] Background training failed:',_0x487267),_0x1bce6d['LCQhe'](_0x512bee,![]);});}},[_0x260610]),_0x4940c7=()=>{switch(_0x5f1649){case _0x4acb(0x4):return{'title':_0xe39b33['hNQKh'],'message':_0xe39b33['QYnSk'],'type':_0x4acb(0x53),'showActions':!![]};case _0xe39b33[_0x4acb(0x40)]:return{'title':'Biometric\x20Authentication\x20Failed','message':_0xe39b33[_0x4acb(0x76)],'type':_0xe39b33[_0x4acb(0x3f)],'showActions':!![]};case _0xe39b33['jyVOU']:return{'title':_0xe39b33[_0x4acb(0x77)],'message':_0xe39b33['wBFWB'],'type':_0xe39b33[_0x4acb(0x78)],'showActions':!![]};case'authenticating':return{'title':_0xe39b33[_0x4acb(0x42)],'message':_0xe39b33[_0x4acb(0x43)],'type':_0xe39b33[_0x4acb(0x44)],'showActions':![]};default:return{'title':_0xe39b33['LMgBT'],'message':_0xe39b33[_0x4acb(0x45)],'type':_0xe39b33[_0x4acb(0x44)],'showActions':![]};}},_0x599728=_0x4940c7();return React['createElement'](View,{'style':styles[_0x4acb(0x79)]},React[_0x4acb(0x7a)](View,{'style':styles['inputSection']},React['createElement'](View,{'style':styles[_0x4acb(0x7b)]},_0x2554cc&&React[_0x4acb(0x7a)](TouchableOpacity,{'style':styles[_0x4acb(0x7c)],'onPress':_0x2554cc},React[_0x4acb(0x7a)](Text,{'style':{'fontSize':0x18}},'←')),React[_0x4acb(0x7a)](Text,{'style':styles[_0x4acb(0x7d)]},_0xe39b33[_0x4acb(0x7e)])),React[_0x4acb(0x7a)](Text,{'style':styles[_0x4acb(0x7f)]},_0xe39b33[_0x4acb(0x80)]),_0xe39b33[_0x4acb(0x5b)](showBackgroundProgress,_0x568215)&&React[_0x4acb(0x7a)](View,{'style':styles[_0x4acb(0x81)]},React[_0x4acb(0x7a)](Text,{'style':styles['backgroundProgressText']},backgroundProgressText),React['createElement'](View,{'style':styles[_0x4acb(0x82)]},React[_0x4acb(0x7a)](ActivityIndicator,{'size':_0xe39b33[_0x4acb(0x83)],'color':_0xe39b33[_0x4acb(0x84)]}))),React['createElement'](View,{'style':styles[_0x4acb(0x85)]},React['createElement'](TextInput,{'style':styles['input'],'value':_0x97ba67,'onChangeText':_0x9fecfb,'secureTextEntry':!_0x1ac060,'placeholder':'e.g.\x20MyPin123!','keyboardType':_0xe39b33[_0x4acb(0x2a)],'maxLength':0x14,'autoCapitalize':_0xe39b33[_0x4acb(0x86)],'autoCorrect':![],'returnKeyType':_0xe39b33[_0x4acb(0x87)],'onSubmitEditing':()=>Keyboard[_0x4acb(0x88)]()}),React[_0x4acb(0x7a)](TouchableOpacity,{'style':styles[_0x4acb(0x89)],'onPress':()=>_0xfff5a8(!_0x1ac060)},React[_0x4acb(0x7a)](Text,null,_0x1ac060?_0xe39b33[_0x4acb(0x8a)]:_0x4acb(0x8b))))),_0x4c16e3&&React['createElement'](Text,{'style':styles[_0x4acb(0x1b)]},_0x4c16e3),React['createElement'](View,{'style':styles['requirements']},React[_0x4acb(0x7a)](Text,{'style':styles['requirementTitle']},_0xe39b33['XEIVW']),React[_0x4acb(0x7a)](Text,{'style':[styles['requirement'],_0xe39b33[_0x4acb(0x8c)](_0x97ba67['length'],minLength)&&styles[_0x4acb(0x8d)]]},_0x4acb(0x8e),minLength,_0xe39b33[_0x4acb(0x8f)]),requireSpecialChar&&React[_0x4acb(0x7a)](Text,{'style':[styles[_0x4acb(0x90)],/[!@#$%^&*(),.?":{}|<>]/[_0x4acb(0x3b)](_0x97ba67)&&styles[_0x4acb(0x8d)]]},_0xe39b33[_0x4acb(0x91)]),requireNumber&&React[_0x4acb(0x7a)](Text,{'style':[styles['requirement'],/\d/[_0x4acb(0x3b)](_0x97ba67)&&styles[_0x4acb(0x8d)]]},_0xe39b33[_0x4acb(0x92)])),React['createElement'](View,{'style':[styles[_0x4acb(0x93)],_0x599728['type']===_0xe39b33[_0x4acb(0x44)]&&styles['infoContainerInfo'],_0x599728['type']===_0xe39b33['qeNMo']&&styles[_0x4acb(0x94)],_0xe39b33[_0x4acb(0x95)](_0x599728[_0x4acb(0x96)],_0xe39b33[_0x4acb(0x78)])&&styles[_0x4acb(0x97)]]},React[_0x4acb(0x7a)](Text,{'style':[styles[_0x4acb(0x98)],_0xe39b33[_0x4acb(0x99)](_0x599728[_0x4acb(0x96)],_0xe39b33[_0x4acb(0x44)])&&styles[_0x4acb(0x9a)],_0xe39b33['dfyiA'](_0x599728[_0x4acb(0x96)],_0xe39b33['qeNMo'])&&styles[_0x4acb(0x9b)],_0xe39b33[_0x4acb(0x9c)](_0x599728['type'],_0x4acb(0x1b))&&styles[_0x4acb(0x9d)]]},_0x599728[_0x4acb(0x7d)]),React[_0x4acb(0x7a)](Text,{'style':[styles[_0x4acb(0x9e)],_0xe39b33[_0x4acb(0x9f)](_0x599728['type'],_0xe39b33[_0x4acb(0x44)])&&styles[_0x4acb(0xa0)],_0xe39b33['dfyiA'](_0x599728[_0x4acb(0x96)],_0xe39b33['qeNMo'])&&styles['infoMessageWarning'],_0xe39b33[_0x4acb(0xa1)](_0x599728[_0x4acb(0x96)],_0xe39b33[_0x4acb(0x78)])&&styles['infoMessageError']]},_0x599728[_0x4acb(0xa2)]),_0x599728[_0x4acb(0xa3)]&&React[_0x4acb(0x7a)](View,{'style':styles[_0x4acb(0xa4)]},React[_0x4acb(0x7a)](TouchableOpacity,{'style':styles[_0x4acb(0xa5)],'onPress':_0x43d92f},React['createElement'](Text,{'style':styles[_0x4acb(0xa6)]},_0xe39b33[_0x4acb(0xa7)])),React[_0x4acb(0x7a)](TouchableOpacity,{'style':[styles[_0x4acb(0xa5)],styles[_0x4acb(0xa8)]],'onPress':_0x36867d},React[_0x4acb(0x7a)](Text,{'style':[styles['infoActionButtonText'],styles[_0x4acb(0xa9)]]},_0xe39b33[_0x4acb(0xaa)])))),React[_0x4acb(0x7a)](View,{'style':styles[_0x4acb(0xab)]},_0x2554cc&&React[_0x4acb(0x7a)](TouchableOpacity,{'style':styles[_0x4acb(0xac)],'onPress':_0x2554cc},React['createElement'](Text,{'style':styles[_0x4acb(0xad)]},_0xe39b33['qqcSf'])),React[_0x4acb(0x7a)](TouchableOpacity,{'style':[styles['submitButton'],(!_0x97ba67||_0x25415a||_0xe39b33['xcrPK'](_0x3e3395,_0x97ba67))&&styles[_0x4acb(0xae)]],'onPress':_0x260610,'disabled':_0xe39b33[_0x4acb(0xaf)](!_0x97ba67,_0x25415a)||!!_0xe39b33[_0x4acb(0x29)](_0x3e3395,_0x97ba67)},React['createElement'](Text,{'style':styles[_0x4acb(0xb0)]},_0x25415a?_0xe39b33[_0x4acb(0x42)]:_0x4acb(0xb1)))));};function _0x53e2(){const _0x13a756=['get','window','Training\x20is\x20starting\x20in\x20the\x20background...','default','biometric-unavailable','vxiTg','pPRZs','biometric-failed','authenticating','Authenticating...','Please\x20complete\x20biometric\x20authentication\x20to\x20secure\x20your\x20PIN.','info','Your\x20PIN\x20will\x20be\x20securely\x20stored\x20locally\x20on\x20your\x20device\x20using\x20biometric\x20authentication\x20(Face\x20ID\x20or\x20Touch\x20ID)\x20for\x20enhanced\x20security.','uhpAd','PIN\x20must\x20include\x20a\x20special\x20character','bLwzB','erOyZ','PIN\x20must\x20include\x20a\x20number','LHWez','xCKvJ','GUrGU','uCHQs','SDgkX','Biometric\x20Authentication\x20Not\x20Available','Biometric\x20authentication\x20was\x20cancelled\x20or\x20failed.\x20Your\x20PIN\x20needs\x20to\x20be\x20secured\x20with\x20biometric\x20authentication\x20to\x20proceed.','Storage\x20Error','An\x20error\x20occurred\x20while\x20securing\x20your\x20PIN.\x20Would\x20you\x20like\x20to\x20try\x20again?','error','Secure\x20PIN\x20Storage','Create\x20a\x20PIN','A\x20PIN\x20so\x20only\x20you\x20have\x20access\x20to\x20your\x20data','small','none','done','👁️','PIN\x20Requirements:','\x20characters','Try\x20Again','Back','PVuob','aKLZG','mIKlL','rlidl','TKWtC','xcrPK','umdfO','vvHml','CZWwB','emkqN','log','BxWKd','nnLcS','fpNBR','LohKl','BCsZY','VrdLO','hbtRt','FzFXe','length','test','dZWEi','OOKOp','QYnSk','qeNMo','iybuO','storage-error','etZKH','DFaBK','NNUYA','bUxoy','Yoiks','PIN\x20must\x20be\x20at\x20least\x20','lCrLe','ADIyT','xRgzY','SsmHh','IhgcL','MGFlC','RzKKI','OtyHU','QJBST','elVis','VnpDs','warning','MReWA','RJRlK','OTDuO','VuDXG','osFrl','yzGSg','VgFxj','zvBeq','nsRdR','warn','vRpXD','bacoQ','GPGcx','WKIdS','catch','RrwSV','kQvJT','isBiometricAvailable','mOiiX','storePinWithBiometric','isPinStored','sMHwd','dUiqM','HtMSZ','vmDGm','YspaZ','CNsjP','jyVOU','RWPTD','RCOwe','wnstO','cBzEf','djvrm','ynNhT','kbovz','FdzrC','IiLYg','container','createElement','header','backButton','title','iXeYr','subtitle','uWDQj','backgroundProgressContainer','backgroundProgressIndicator','EACeN','YZlkn','inputContainer','kKTCN','WomTs','dismiss','visibilityButton','xgFPX','👁️‍🗨️','PLvAT','requirementMet','•\x20At\x20least\x20','FeveS','requirement','liKad','TwCtl','infoContainer','infoContainerWarning','dfyiA','type','infoContainerError','infoTitle','sRqil','infoTitleInfo','infoTitleWarning','fydPj','infoTitleError','infoMessage','mUlHT','infoMessageInfo','zsVty','message','showActions','infoActions','infoActionButton','infoActionButtonText','JgGMs','infoActionButtonSecondary','infoActionButtonSecondaryText','QlukZ','footer','cancelButton','cancelButtonText','submitButtonDisabled','weibJ','submitButtonText','Continue','create','flex-start','100%','row','space-between','600','#333','center','#666','#CCCCCC','#2196F3','#FFF3E0','#FF9800','#1976D2','#F57C00','#D32F2F','#1565C0','#C62828','#fff','#007AFF','#34C759'];_0x53e2=function(){return _0x13a756;};return _0x53e2();}const styles=StyleSheet[_0x4acb(0xb2)]({'container':{'flex':0x1,'padding':0x10,'width':width,'backgroundColor':'#fff','justifyContent':_0x4acb(0xb3)},'inputSection':{'width':_0x4acb(0xb4),'marginTop':0x0,'paddingTop':0x0},'header':{'flexDirection':_0x4acb(0xb5),'alignItems':'center','justifyContent':_0x4acb(0xb6),'marginBottom':0x10,'paddingVertical':0x8},'backButton':{'padding':0x8},'title':{'fontSize':0x14,'fontWeight':_0x4acb(0xb7),'color':_0x4acb(0xb8),'textAlign':_0x4acb(0xb9),'flex':0x1,'marginBottom':0x8},'subtitle':{'fontSize':0xe,'color':_0x4acb(0xba),'marginBottom':0x18,'textAlign':_0x4acb(0xb9)},'inputContainer':{'flexDirection':_0x4acb(0xb5),'alignItems':'center','borderWidth':0x1,'borderColor':_0x4acb(0xbb),'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':'#E3F2FD','borderColor':_0x4acb(0xbc)},'infoContainerWarning':{'backgroundColor':_0x4acb(0xbd),'borderColor':_0x4acb(0xbe)},'infoContainerError':{'backgroundColor':'#FFEBEE','borderColor':'#F44336'},'infoTitle':{'fontSize':0x10,'fontWeight':_0x4acb(0xb7),'marginBottom':0x8},'infoTitleInfo':{'color':_0x4acb(0xbf)},'infoTitleWarning':{'color':_0x4acb(0xc0)},'infoTitleError':{'color':_0x4acb(0xc1)},'infoMessage':{'fontSize':0xe,'lineHeight':0x14,'marginBottom':0xc},'infoMessageInfo':{'color':_0x4acb(0xc2)},'infoMessageWarning':{'color':'#E65100'},'infoMessageError':{'color':_0x4acb(0xc3)},'infoActions':{'flexDirection':_0x4acb(0xb5),'justifyContent':_0x4acb(0xb6),'marginTop':0x8},'infoActionButton':{'flex':0x1,'paddingVertical':0xa,'paddingHorizontal':0x10,'borderRadius':0x8,'backgroundColor':'#007AFF','marginHorizontal':0x4,'alignItems':_0x4acb(0xb9)},'infoActionButtonSecondary':{'backgroundColor':'transparent','borderWidth':0x1,'borderColor':'#007AFF'},'infoActionButtonText':{'color':_0x4acb(0xc4),'fontSize':0xe,'fontWeight':_0x4acb(0xb7)},'infoActionButtonSecondaryText':{'color':_0x4acb(0xc5)},'error':{'color':'#FF3B30','marginBottom':0x10},'requirements':{'marginBottom':0x18},'requirementTitle':{'fontSize':0xe,'fontWeight':_0x4acb(0xb7),'marginBottom':0x8,'color':_0x4acb(0xb8)},'requirement':{'fontSize':0xe,'color':_0x4acb(0xba),'marginBottom':0x4},'requirementMet':{'color':_0x4acb(0xc6)},'footer':{'flexDirection':'row','alignItems':_0x4acb(0xb9),'justifyContent':'space-between','marginTop':0x18,'borderTopWidth':0x1,'borderTopColor':'#eee','paddingTop':0x10},'cancelButton':{'paddingVertical':0x8,'paddingHorizontal':0x10},'cancelButtonText':{'color':_0x4acb(0xba),'fontSize':0x10},'submitButton':{'paddingVertical':0x10,'paddingHorizontal':0x20,'borderRadius':0x10,'backgroundColor':'#000000','alignItems':'center'},'submitButtonDisabled':{'opacity':0.5},'submitButtonText':{'color':_0x4acb(0xc4),'fontSize':0x10,'fontWeight':'600'},'backgroundProgressContainer':{'flexDirection':_0x4acb(0xb5),'alignItems':_0x4acb(0xb9),'justifyContent':_0x4acb(0xb9),'marginBottom':0x10},'backgroundProgressText':{'fontSize':0xe,'color':_0x4acb(0xba),'marginRight':0xa},'backgroundProgressIndicator':{'padding':0x5}});
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}});