@incodetech/core 2.2.0-rc.8 → 2.3.0-rc.0

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 (258) hide show
  1. package/THIRD_PARTY_NOTICES.txt +281 -0
  2. package/dist/BaseWasmProvider-Dyi6dKp1.d.ts +65 -0
  3. package/dist/{BrowserDiagnosticsCryptoProvider-DslcXorZ.esm.js → BrowserDiagnosticsCryptoProvider-C_9o3L2L.esm.js} +1 -1
  4. package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
  5. package/dist/FaceDetectionProvider-DTetAE8H.esm.js +476 -0
  6. package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +36 -0
  7. package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-RNiFhvXR.d.ts} +7 -33
  8. package/dist/IWasmUtilCapability-CXXDA5l1.d.ts +159 -0
  9. package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-BgTYwg9L.esm.js} +1 -1
  10. package/dist/{deepsightService-DLVQS_RH.d.ts → StreamCanvasCapture-B3YT2Bt6.d.ts} +54 -41
  11. package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
  12. package/dist/{addressSearch-D1XpBdUS.esm.js → addressSearch-BRSu_aGA.esm.js} +1 -1
  13. package/dist/advanceableErrors-CpF2cBy6.esm.js +21 -0
  14. package/dist/ae-signature.d.ts +4 -2
  15. package/dist/ae-signature.esm.js +1 -1
  16. package/dist/antifraud.esm.js +2 -2
  17. package/dist/{antifraudManager-CQFNgSPt.esm.js → antifraudManager-Bg9ynGum.esm.js} +2 -2
  18. package/dist/{antifraudStateMachine-Bf_JVNwn.esm.js → antifraudStateMachine-BHxehiJZ.esm.js} +1 -1
  19. package/dist/{apiError-D4rZe9BR.esm.js → apiError-D0v5hFyN.esm.js} +14 -2
  20. package/dist/authentication.d.ts +3 -3
  21. package/dist/authentication.esm.js +2 -2
  22. package/dist/{authenticationManager-EfCuQy_Y.esm.js → authenticationManager-C4B4-29g.esm.js} +5 -5
  23. package/dist/{authenticationManager-BBMGTcwW.d.ts → authenticationManager-DXTIUcma.d.ts} +7 -1
  24. package/dist/{authenticationStateMachine-B9l3sHEg.esm.js → authenticationStateMachine-DJ0zUm-A.esm.js} +6 -62
  25. package/dist/avatar.d.ts +1 -2
  26. package/dist/avatar.esm.js +1 -1
  27. package/dist/{backCameraStream-CUeYm5eu.esm.js → backCameraStream-BOtyQowf.esm.js} +83 -22
  28. package/dist/{camera-_2sXMXiF.esm.js → camera-sIa9ceW2.esm.js} +19 -1
  29. package/dist/camera.esm.js +1 -1
  30. package/dist/{canvas-E1zGkel4.esm.js → canvas-BxFzWTt-.esm.js} +19 -0
  31. package/dist/certificate-issuance.d.ts +2 -302
  32. package/dist/certificate-issuance.esm.js +3 -66
  33. package/dist/certificateIssuanceManager-Bfvkq7Cy.esm.js +69 -0
  34. package/dist/certificateIssuanceManager-DCgEidHz.d.ts +312 -0
  35. package/dist/{certificateIssuanceStateMachine-D_R92TYu.esm.js → certificateIssuanceStateMachine-BBD5h8c4.esm.js} +1 -1
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-BxjpLZAG.esm.js → consentManager-B5Vqdez-.esm.js} +2 -2
  39. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
  40. package/dist/{consentStateMachine-D9D4ON8Z.esm.js → consentStateMachine-DbUmqWgV.esm.js} +1 -1
  41. package/dist/createCameraCycleOwnership-DQ5-F2oW.esm.js +826 -0
  42. package/dist/{createFaceAvatar-DQKaRise.esm.js → createFaceAvatar-BNHdeFj8.esm.js} +2 -2
  43. package/dist/createFaceAvatar-BlcTYgJv.d.ts +497 -0
  44. package/dist/cross-document-data-match.esm.js +1 -1
  45. package/dist/{crossDocumentDataMatchManager-CGT0V6RV.esm.js → crossDocumentDataMatchManager-QMOGwHXR.esm.js} +2 -2
  46. package/dist/curp-validation.d.ts +1 -1
  47. package/dist/curp-validation.esm.js +2 -2
  48. package/dist/{curpValidationManager-6Nmkn5u1.esm.js → curpValidationManager-D1ppROcF.esm.js} +2 -2
  49. package/dist/{curpValidationManager-DVGr7Fq7.d.ts → curpValidationManager-SSKNrm5Z.d.ts} +1 -1
  50. package/dist/{curpValidationStateMachine-Ds7KMacK.esm.js → curpValidationStateMachine-DvUPC_8S.esm.js} +1 -1
  51. package/dist/custom-fields.d.ts +2 -114
  52. package/dist/custom-fields.esm.js +2 -232
  53. package/dist/custom-watchlist.d.ts +2 -51
  54. package/dist/custom-watchlist.esm.js +3 -70
  55. package/dist/customFieldsManager-2j_PBq4U.esm.js +264 -0
  56. package/dist/customFieldsManager-8-W2KY4n.d.ts +141 -0
  57. package/dist/customWatchlistManager-DUVrEdw9.esm.js +73 -0
  58. package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
  59. package/dist/{customWatchlistStateMachine-YWSgKLbF.esm.js → customWatchlistStateMachine-qZVgkKgP.esm.js} +1 -1
  60. package/dist/{deepsightLoader-DEcRUKfT.esm.js → deepsightLoader-Dm7ejW4v.esm.js} +27 -71
  61. package/dist/device.d.ts +25 -2
  62. package/dist/device.esm.js +69 -7
  63. package/dist/document-capture.d.ts +2 -2
  64. package/dist/document-capture.esm.js +2 -2
  65. package/dist/{documentCaptureManager-DsQQhWry.esm.js → documentCaptureManager-DR_Wv-3H.esm.js} +2 -2
  66. package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DensIj5F.d.ts} +83 -83
  67. package/dist/{documentCaptureStateMachine-BM4Ex_5x.esm.js → documentCaptureStateMachine-CWOATHfE.esm.js} +5 -5
  68. package/dist/dynamic-forms.d.ts +1 -1
  69. package/dist/dynamic-forms.esm.js +2 -2
  70. package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-D5R_uxLQ.d.ts} +25 -3
  71. package/dist/{dynamicFormsManager-CmvBSrzC.esm.js → dynamicFormsManager-Dt98SDfV.esm.js} +16 -5
  72. package/dist/{dynamicFormsStateMachine-C37Rtz1G.esm.js → dynamicFormsStateMachine-obKr4IIp.esm.js} +35 -3
  73. package/dist/ekyb.d.ts +1 -1
  74. package/dist/ekyb.esm.js +3 -3
  75. package/dist/{ekybManager-Bx6dG89U.esm.js → ekybManager-DNZKrKF3.esm.js} +2 -2
  76. package/dist/{ekybStateMachine-uscz9zIj.esm.js → ekybStateMachine-DjhHQXZ8.esm.js} +3 -3
  77. package/dist/ekyc.esm.js +2 -2
  78. package/dist/{ekycManager-DgT48ky6.esm.js → ekycManager-CmQBpeiI.esm.js} +2 -2
  79. package/dist/{ekycStateMachine-CQwqiR-R.esm.js → ekycStateMachine-CmdW2gVm.esm.js} +2 -2
  80. package/dist/electronic-signature.d.ts +3 -3
  81. package/dist/electronic-signature.esm.js +2 -2
  82. package/dist/electronicSignatureManager-Ds-KEVTq.d.ts +2786 -0
  83. package/dist/{electronicSignatureManager-_QiHi1U5.esm.js → electronicSignatureManager-DzulxM4_.esm.js} +357 -51
  84. package/dist/email.esm.js +2 -2
  85. package/dist/{emailManager-BY0jeYwR.esm.js → emailManager-B5ek_UfM.esm.js} +2 -2
  86. package/dist/{emailStateMachine-Crw8QVmc.esm.js → emailStateMachine-CyPFZ7dW.esm.js} +1 -1
  87. package/dist/{endpoints-CCzL3XD_.esm.js → endpoints-D3B9mUHh.esm.js} +24 -7
  88. package/dist/{events-DYiyoSlx.esm.js → events-ijlbX_Wx.esm.js} +2 -2
  89. package/dist/events.d.ts +1 -1
  90. package/dist/events.esm.js +1 -1
  91. package/dist/extensibility.d.ts +24 -64
  92. package/dist/extensibility.esm.js +35 -29
  93. package/dist/face-match.esm.js +2 -2
  94. package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-CvtqcLxs.d.ts} +87 -54
  95. package/dist/{faceCaptureManagerFactory-Bkueb8mk.esm.js → faceCaptureManagerFactory-pCmG4MeF.esm.js} +68 -7
  96. package/dist/faceCaptureSetup-BSextack.esm.js +2106 -0
  97. package/dist/{faceMatchManager-Ri4UbNz0.esm.js → faceMatchManager-Caal2zyV.esm.js} +2 -2
  98. package/dist/{faceMatchStateMachine-20DdZ3jg.esm.js → faceMatchStateMachine-BUc5FXYy.esm.js} +1 -1
  99. package/dist/{feature-management-B3Uygq6K.esm.js → feature-management-B0sGlozZ.esm.js} +32 -7
  100. package/dist/feature-management.d.ts +1 -1
  101. package/dist/feature-management.esm.js +1 -1
  102. package/dist/field-comparison.esm.js +1 -1
  103. package/dist/{fieldComparisonManager-Cg6kPQQx.esm.js → fieldComparisonManager-BIs6HPJG.esm.js} +2 -2
  104. package/dist/fiscal-qr.d.ts +2 -56
  105. package/dist/fiscal-qr.esm.js +2 -308
  106. package/dist/fiscalQrManager-Bp_-3LJr.esm.js +34131 -0
  107. package/dist/fiscalQrManager-CHcBJwUM.d.ts +68 -0
  108. package/dist/flow-events.d.ts +1 -1
  109. package/dist/flow.d.ts +212 -185
  110. package/dist/flow.esm.js +119 -30
  111. package/dist/{flowCompletionService-UakxNaeg.esm.js → flowCompletionService-CLtbWhSK.esm.js} +2 -2
  112. package/dist/{flowServices-CD5m8HqZ.esm.js → flowServices-B5FwukTQ.esm.js} +91 -26
  113. package/dist/geolocation.esm.js +2 -2
  114. package/dist/{geolocationManager-Bz6wJrfI.esm.js → geolocationManager-DIw-xq9a.esm.js} +2 -2
  115. package/dist/{geolocationStateMachine-psEJIVjN.esm.js → geolocationStateMachine-DpG0TFOU.esm.js} +3 -3
  116. package/dist/getBrowser-CBiibsL-.esm.js +19 -0
  117. package/dist/{getBrowser-DNrQeL4T.esm.js → getBrowser-Cbe1C4Tn.esm.js} +2 -1
  118. package/dist/{getDeviceClass-9y-kbVDw.esm.js → getDeviceClass-5NYZg9s6.esm.js} +2 -2
  119. package/dist/getParsedUserAgent-B2iFDql1.esm.js +1278 -0
  120. package/dist/government-validation.d.ts +2 -85
  121. package/dist/government-validation.esm.js +3 -120
  122. package/dist/governmentValidationManager-D02vT4yY.d.ts +63 -0
  123. package/dist/governmentValidationManager-TjC9iVjH.esm.js +79 -0
  124. package/dist/governmentValidationStateMachine-D1ZnEqdd.esm.js +54 -0
  125. package/dist/home.d.ts +1 -1
  126. package/dist/home.esm.js +1 -1
  127. package/dist/id-ocr.d.ts +2 -2
  128. package/dist/id-ocr.esm.js +2 -2
  129. package/dist/id-selfie-flow.d.ts +3 -2
  130. package/dist/id-selfie-flow.esm.js +11 -10
  131. package/dist/id-verification.esm.js +2 -2
  132. package/dist/id.d.ts +29 -5
  133. package/dist/id.esm.js +48 -46
  134. package/dist/idCaptureDefaults-BcxjQDI3.esm.js +484 -0
  135. package/dist/{idCaptureManager-CqrqSjJV.d.ts → idCaptureManager-CvmHOWWd.d.ts} +227 -39
  136. package/dist/{idCaptureManager-BJAquKfp.esm.js → idCaptureManager-Vby8oYqh.esm.js} +259 -46
  137. package/dist/{idCaptureServices-CM6ki4IH.esm.js → idCaptureServices-CJIxD9ep.esm.js} +342 -31
  138. package/dist/idCaptureStateMachine-CmqihkUy.esm.js +5343 -0
  139. package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
  140. package/dist/{idOcrManager-BIQYQXXj.esm.js → idOcrManager-DHU22hVn.esm.js} +2 -2
  141. package/dist/{idOcrStateMachine-cSxzHpHt.esm.js → idOcrStateMachine-33UvRAHE.esm.js} +1 -1
  142. package/dist/{idVerificationManager-JpV_SAsl.esm.js → idVerificationManager-CyaixD0D.esm.js} +2 -2
  143. package/dist/{idVerificationStateMachine-nPeUNyFq.esm.js → idVerificationStateMachine-BPGrQZEm.esm.js} +1 -1
  144. package/dist/identity-reuse.esm.js +2 -2
  145. package/dist/{identityReuseManager-kNCg9AbD.esm.js → identityReuseManager-CWaNHBO3.esm.js} +2 -2
  146. package/dist/{identityReuseStateMachine-DyulxDjP.esm.js → identityReuseStateMachine-CQgnATo5.esm.js} +1 -1
  147. package/dist/{index-CLMF0QLQ.d.ts → index-DLcJT5YP.d.ts} +1 -1
  148. package/dist/index.d.ts +1 -1
  149. package/dist/index.esm.js +1 -1
  150. package/dist/{invokeOnCaptureCallback-GpvMuz9o.esm.js → invokeOnCaptureCallback-BjzPjJ_p.esm.js} +1 -1
  151. package/dist/mandatory-consent.d.ts +2 -2
  152. package/dist/mandatory-consent.esm.js +2 -2
  153. package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-CJSyhTpi.d.ts} +5 -5
  154. package/dist/{mandatoryConsentManager-B4Niyg_u.esm.js → mandatoryConsentManager-Du-m-tZ_.esm.js} +2 -2
  155. package/dist/{mandatoryConsentStateMachine-B4-1u-L8.esm.js → mandatoryConsentStateMachine-DSDAk7WZ.esm.js} +1 -1
  156. package/dist/multipartRecordingService-B3C_zlev.esm.js +594 -0
  157. package/dist/{permissionGuards-KINpmKtI.esm.js → permissionGuards-uYZYFu4J.esm.js} +1 -1
  158. package/dist/{permissionServices-UvUcOSRb.esm.js → permissionServices-Bj_fyWtv.esm.js} +5 -5
  159. package/dist/personhood.d.ts +6 -5
  160. package/dist/personhood.esm.js +10 -10
  161. package/dist/phone.esm.js +2 -2
  162. package/dist/{phoneManager-FsJ0W2Ei.esm.js → phoneManager-N1-sbrY4.esm.js} +2 -2
  163. package/dist/{phoneStateMachine-Ba0wKHyX.esm.js → phoneStateMachine-jl8LJKCo.esm.js} +1 -1
  164. package/dist/{platform-BJrm5nzZ.esm.js → platform-DkcRc9JV.esm.js} +29 -1
  165. package/dist/qe-signature.d.ts +5 -3
  166. package/dist/qe-signature.esm.js +2 -2
  167. package/dist/recordingsRepository-CCWy13M-.esm.js +72 -0
  168. package/dist/redirect-to-mobile.esm.js +2 -2
  169. package/dist/{redirectToMobileManager-y4VQB11M.esm.js → redirectToMobileManager-DsFzdTwA.esm.js} +2 -2
  170. package/dist/{redirectToMobileStateMachine-Cyv2x0PP.esm.js → redirectToMobileStateMachine-v3otpT-L.esm.js} +1 -1
  171. package/dist/{rolldown-runtime-FZ4Itg2g.esm.js → rolldown-runtime-FDOR9p9I.esm.js} +1 -19
  172. package/dist/{runChildModule-BR2RIfRg.esm.js → runChildModule-TuyGE00X.esm.js} +3 -21
  173. package/dist/safeStorage-B-trhxg6.esm.js +423 -0
  174. package/dist/{sdkVersion-BWOdgLZ1.esm.js → sdkVersion-CLxKvdyz.esm.js} +1 -1
  175. package/dist/selfie.d.ts +5 -5
  176. package/dist/selfie.esm.js +14 -76
  177. package/dist/{selfieErrorUtils-C2PYBVsp.esm.js → selfieErrorUtils-C77GXJH6.esm.js} +30 -4
  178. package/dist/{selfieManager-BlImAV-k.esm.js → selfieManager-CihVnODO.esm.js} +5 -5
  179. package/dist/{selfieManager-DwlCppg0.d.ts → selfieManager-D1KRJ39M.d.ts} +8 -11
  180. package/dist/selfieStateMachine-fwMmNtOi.esm.js +69 -0
  181. package/dist/{session-Bp17qJsu.esm.js → session-BHIeAamR.esm.js} +4 -5
  182. package/dist/session.d.ts +21 -11
  183. package/dist/session.esm.js +5 -5
  184. package/dist/{sessionInitializer-CcqQD9Q4.esm.js → sessionInitializer-BLoK7SP9.esm.js} +187 -68
  185. package/dist/{setup-BgoWtvIS.d.ts → setup-Cv-JM9QC.d.ts} +63 -69
  186. package/dist/{setup-CXj5ozZN.esm.js → setup-msLybMbC.esm.js} +226 -100
  187. package/dist/signature.esm.js +2 -2
  188. package/dist/{signatureManager-Ca43yhwk.esm.js → signatureManager-ChsB-nMD.esm.js} +2 -2
  189. package/dist/{signatureStateMachine-K1LMRrxG.esm.js → signatureStateMachine-BHPwkJZS.esm.js} +1 -1
  190. package/dist/{src-0Jurt29N.esm.js → src-35ekGRzK.esm.js} +1 -1
  191. package/dist/{stats-B0nFKawG.esm.js → stats-DkK-f8JT.esm.js} +1 -1
  192. package/dist/stats.esm.js +1 -1
  193. package/dist/{trueSightService-D05SY_Ij.esm.js → trueSightService-CKrrfV0Q.esm.js} +7 -7
  194. package/dist/trust-graph.esm.js +1 -1
  195. package/dist/{types-BX_XkMsQ2.d.ts → types-9_esGTPj.d.ts} +1 -1
  196. package/dist/types-BT_Oalip.d.ts +1 -0
  197. package/dist/{types-DelMqZLe.d.ts → types-BjSly8cp.d.ts} +1 -1
  198. package/dist/{types-Hmd7U0JA.d.ts → types-CM-jtjJ2.d.ts} +6 -81
  199. package/dist/{types-Bdf8_LYB2.d.ts → types-CjKBS37a2.d.ts} +303 -13
  200. package/dist/{types-DVmXIdzW.d.ts → types-D0gekt4U.d.ts} +38 -5
  201. package/dist/types-DgDvvzg0.d.ts +10 -0
  202. package/dist/{types-KPvmag_B.d.ts → types-Do5rEXij.d.ts} +7 -4
  203. package/dist/types-ZT1XFIJ8.d.ts +6 -0
  204. package/dist/video-selfie.d.ts +59 -35
  205. package/dist/video-selfie.esm.js +510 -601
  206. package/dist/{videoSelfieCameraWarmer-BhTWYfGn.esm.js → videoSelfieCameraWarmer-CB1IzZkt.esm.js} +14 -153
  207. package/dist/videoSelfieFlowModuleMachine-BUe2uACW.esm.js +32 -0
  208. package/dist/{videoSelfieStepDetector-D3oo2ofo.d.ts → videoSelfieStepDetector-5YHFe0Mq.d.ts} +21 -5
  209. package/dist/virtualCameraCheck-WOloJ-do.esm.js +48 -0
  210. package/dist/warmup-CUUnwYxe.esm.js +714 -0
  211. package/dist/warmup-Cis2p6O0.d.ts +128 -0
  212. package/dist/wasm.d.ts +30 -6
  213. package/dist/wasm.esm.js +36 -4
  214. package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-B2e8p268.esm.js} +2 -2
  215. package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-B7baE-Wf.esm.js} +358 -28
  216. package/dist/watchlist-for-business.d.ts +2 -78
  217. package/dist/watchlist-for-business.esm.js +3 -102
  218. package/dist/watchlist.esm.js +2 -2
  219. package/dist/watchlistForBusinessManager-CpuuB1J2.esm.js +107 -0
  220. package/dist/watchlistForBusinessManager-CsnJnG-C.d.ts +99 -0
  221. package/dist/{watchlistForBusinessStateMachine-CxFnlshm.esm.js → watchlistForBusinessStateMachine-DEzgjz7C.esm.js} +13 -6
  222. package/dist/{watchlistManager-LoNZH9qm.esm.js → watchlistManager-CI8BHFob.esm.js} +2 -2
  223. package/dist/{watchlistStateMachine-DIKQDoUT.esm.js → watchlistStateMachine-DvOby3a-.esm.js} +1 -1
  224. package/dist/workflow.d.ts +12 -8
  225. package/dist/workflow.esm.js +48 -39
  226. package/package.json +4 -10
  227. package/dist/BrowserStorageProvider-k-FDkC4W.esm.js +0 -67
  228. package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
  229. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
  230. package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
  231. package/dist/OpenViduRecordingProvider-Du98qevC.esm.js +0 -85
  232. package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
  233. package/dist/document-upload.d.ts +0 -325
  234. package/dist/document-upload.esm.js +0 -197
  235. package/dist/electronicSignatureManager-CcUXQZS7.d.ts +0 -1300
  236. package/dist/faceCaptureSetup-BECAis8R.esm.js +0 -863
  237. package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
  238. package/dist/getParsedUserAgent-pJjATANs.esm.js +0 -1622
  239. package/dist/governmentValidationStateMachine-CK9DrZXX.esm.js +0 -226
  240. package/dist/idCaptureDefaults-WeHbQM7W.esm.js +0 -225
  241. package/dist/idCaptureStateMachine-fi-Gq1AH.esm.js +0 -3342
  242. package/dist/lib-DAyUtOTj.esm.js +0 -12420
  243. package/dist/manualReviewService-D4IkipnN.esm.js +0 -15
  244. package/dist/mediaRecorderOptions-dALSV8af.esm.js +0 -40
  245. package/dist/onDeviceFaceResults-CB62pUQf.esm.js +0 -646
  246. package/dist/openviduLazy-CCDpFWg1.esm.js +0 -10
  247. package/dist/recordingService-BRgmVnUT.esm.js +0 -329
  248. package/dist/safeStorage-Ep56I-f_.esm.js +0 -982
  249. package/dist/selfieStateMachine-CPXEC4wV.esm.js +0 -55
  250. package/dist/trueSight-CY0Ibfm9.esm.js +0 -1
  251. package/dist/types-EELWyWpd.d.ts +0 -6
  252. package/dist/types-Vb4P9ovf.d.ts +0 -22
  253. package/dist/warmup-Dv2alr2-.d.ts +0 -82
  254. package/dist/wasmDefaults-DTUrftxR.esm.js +0 -125
  255. package/dist/{Face2DProvider-UUQt_vRC.esm.js → Face2DProvider-BF48sz5c.esm.js} +1 -1
  256. package/dist/{PrivacyLensProvider-D8PS7AJa.esm.js → PrivacyLensProvider-EwnC_C5n.esm.js} +1 -1
  257. /package/dist/{types-BfgmV7s72.d.ts → types-BfgmV7s7.d.ts} +0 -0
  258. /package/dist/{types-CJ7Yl9K-2.d.ts → types-CJ7Yl9K-.d.ts} +0 -0
@@ -230,7 +230,7 @@ function experimentAssigned(module, payload, screen) {
230
230
  screenEvent({
231
231
  module,
232
232
  screen,
233
- code: "experimentsAssigned",
233
+ code: "experimentAssigned",
234
234
  payload: {
235
235
  ...payload,
236
236
  module
@@ -241,7 +241,7 @@ function experimentAssigned(module, payload, screen) {
241
241
  //#region src/internal/events/experimentAssignment.ts
242
242
  const assignedExperiments = /* @__PURE__ */ new Set();
243
243
  /**
244
- * Records an `experimentsAssigned` interview-event, but only the first time
244
+ * Records an `experimentAssigned` interview-event, but only the first time
245
245
  * for a given `dedupeKey` (pass the experiment's `storeParam`) since the
246
246
  * last `resetExperimentAssignments()` call.
247
247
  */
package/dist/events.d.ts CHANGED
@@ -285,7 +285,7 @@ declare function experimentAssigned(module: EventModule | string, payload: Exper
285
285
  //#endregion
286
286
  //#region src/internal/events/experimentAssignment.d.ts
287
287
  /**
288
- * Records an `experimentsAssigned` interview-event, but only the first time
288
+ * Records an `experimentAssigned` interview-event, but only the first time
289
289
  * for a given `dedupeKey` (pass the experiment's `storeParam`) since the
290
290
  * last `resetExperimentAssignments()` call.
291
291
  */
@@ -1,2 +1,2 @@
1
- import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-DYiyoSlx.esm.js";
1
+ import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-ijlbX_Wx.esm.js";
2
2
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -2,36 +2,43 @@ import { E as createActor, O as fromPromise } from "./spawn-D9jgw9pW.js";
2
2
  import { n as fromCallback } from "./callback-645_omgz.js";
3
3
  import "./StateMachine-EDpYWy0i.js";
4
4
  import "./Actor-iTq7YY48.js";
5
- import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js";
6
- import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
5
+ import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
+ import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
8
- import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-BxWPpxyd.js";
9
- import { t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js";
10
- import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
11
- import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Hmd7U0JA.js";
12
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DwlCppg0.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BBMGTcwW.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-CvtqcLxs.js";
9
+ import "./createFaceAvatar-BlcTYgJv.js";
10
+ import { i as IStorageCapability } from "./IWasmUtilCapability-CXXDA5l1.js";
11
+ import "./StreamCanvasCapture-B3YT2Bt6.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DXTIUcma.js";
13
+ import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
16
- import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
17
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js";
18
- import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
16
+ import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-SSKNrm5Z.js";
17
+ import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
18
+ import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
19
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
20
+ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
19
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
20
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
21
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
22
- import { n as CaptureIdResponse } from "./types-Bdf8_LYB2.js";
23
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CqrqSjJV.js";
24
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-D1KRJ39M.js";
25
+ import { i as CaptureIdResponse } from "./types-CjKBS37a2.js";
26
+ import { d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, z as WasmUtilProvider } from "./idCaptureManager-CvmHOWWd.js";
24
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
25
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
29
+ import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
26
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
27
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
28
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js";
29
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CJSyhTpi.js";
33
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
30
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
31
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
32
36
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
37
+ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-D02vT4yY.js";
33
38
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
34
39
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
40
+ import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-CHcBJwUM.js";
41
+ import "./types-DgDvvzg0.js";
35
42
  //#region src/modules/authentication/authenticationUploadService.d.ts
36
43
  type AuthenticationUploadResponse = {
37
44
  overallStatus: 'PASS' | 'FAIL';
@@ -84,53 +91,6 @@ declare class BrowserStorageProvider implements IStorageCapability {
84
91
  clear(): Promise<void>;
85
92
  }
86
93
  //#endregion
87
- //#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
88
- declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
89
- private static instance;
90
- private static initPromise;
91
- static getInstance(): Promise<WasmUtilProvider>;
92
- static resetInstance(): void;
93
- constructor();
94
- initialize(config: WasmUtilConfig): Promise<void>;
95
- processFrame(_image: ImageData): Promise<void>;
96
- encryptImage(image: string): string;
97
- setSdkVersion(version: string): void;
98
- setSdkPlatform(platform: string): void;
99
- setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void;
100
- setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void;
101
- setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
102
- setMotionStatus(status: string): void;
103
- setBackgroundMode(backgroundMode: boolean): void;
104
- setOnDeviceMode(enabled: boolean): void;
105
- setZc(zc: string): void;
106
- setInspectorOpened(opened: boolean): void;
107
- getInspectorOpened(): boolean;
108
- /**
109
- * Toggles the WASM module's production mode. When `true`, the native module
110
- * suppresses its verbose debug logging/console output; when `false`, those
111
- * logs are emitted. The SDK forces this to `true` by default and only flips
112
- * it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
113
- *
114
- * @param productionMode - `true` to silence WASM logs, `false` to emit them.
115
- */
116
- setProductionMode(productionMode: boolean): Promise<void>;
117
- getMetadata(): string;
118
- analyzeFrame(image: ImageData): Promise<void>;
119
- getCheck(): string;
120
- getPipelineState(): string;
121
- estimatePerformance(): string;
122
- isVirtualCamera(label: string | null): boolean;
123
- prc(): Promise<void>;
124
- poc(output: VirtualCameraCheckOutput): Promise<void>;
125
- rsp(): Promise<void>;
126
- ssl(): void;
127
- stl(): void;
128
- osv(): void;
129
- oev(): void;
130
- ckvcks(data: ArrayBuffer): void;
131
- getVersions(): Promise<unknown>;
132
- }
133
- //#endregion
134
94
  //#region ../infra/src/capabilities/IFingerprintCapability.d.ts
135
95
  type DeviceFingerprintInfo = {
136
96
  device: {
@@ -159,4 +119,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
159
119
  //#region src/internal/fingerprint/fingerprintApi.d.ts
160
120
  declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
161
121
  //#endregion
162
- export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
122
+ export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type CertificateIssuanceActor, type CertificateIssuanceManager, type CertificateIssuanceState, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type CustomFieldsActor, type CustomFieldsManager, type CustomFieldsState, type CustomWatchlistActor, type CustomWatchlistManager, type CustomWatchlistState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type FiscalQrActor, type FiscalQrManager, type FiscalQrState, type GeolocationActor, type GeolocationManager, type GeolocationState, type GovernmentValidationActor, type GovernmentValidationManager, type GovernmentValidationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistForBusinessActor, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,31 +1,37 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-CcqQD9Q4.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-msLybMbC.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BLoK7SP9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-_QiHi1U5.esm.js";
7
- import { n as createAntifraudManagerFromActor } from "./antifraudManager-CQFNgSPt.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BECAis8R.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-EfCuQy_Y.esm.js";
10
- import { n as createConsentManagerFromActor } from "./consentManager-BxjpLZAG.esm.js";
11
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CGT0V6RV.esm.js";
12
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-6Nmkn5u1.esm.js";
13
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DsQQhWry.esm.js";
14
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CmvBSrzC.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-Bx6dG89U.esm.js";
16
- import { n as createEkycManagerFromActor } from "./ekycManager-DgT48ky6.esm.js";
17
- import { n as createEmailManagerFromActor } from "./emailManager-BY0jeYwR.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-BlImAV-k.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BJAquKfp.esm.js";
20
- import { n as createPhoneManagerFromActor } from "./phoneManager-FsJ0W2Ei.esm.js";
21
- import { n as createWatchlistManagerFromActor } from "./watchlistManager-LoNZH9qm.esm.js";
22
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-kNCg9AbD.esm.js";
23
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-Cg6kPQQx.esm.js";
24
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-B4Niyg_u.esm.js";
25
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-BIQYQXXj.esm.js";
26
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-y4VQB11M.esm.js";
27
- import { n as createSignatureManagerFromActor } from "./signatureManager-Ca43yhwk.esm.js";
28
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Bz6wJrfI.esm.js";
29
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-JpV_SAsl.esm.js";
30
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Ri4UbNz0.esm.js";
31
- export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DzulxM4_.esm.js";
7
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bg9ynGum.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BSextack.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-C4B4-29g.esm.js";
10
+ import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Bfvkq7Cy.esm.js";
11
+ import { n as createConsentManagerFromActor } from "./consentManager-B5Vqdez-.esm.js";
12
+ import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-QMOGwHXR.esm.js";
13
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-D1ppROcF.esm.js";
14
+ import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-2j_PBq4U.esm.js";
15
+ import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DUVrEdw9.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DR_Wv-3H.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Dt98SDfV.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-DNZKrKF3.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-CmQBpeiI.esm.js";
20
+ import { n as createEmailManagerFromActor } from "./emailManager-B5ek_UfM.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CihVnODO.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Vby8oYqh.esm.js";
23
+ import { n as createPhoneManagerFromActor } from "./phoneManager-N1-sbrY4.esm.js";
24
+ import { n as createWatchlistManagerFromActor } from "./watchlistManager-CI8BHFob.esm.js";
25
+ import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CpuuB1J2.esm.js";
26
+ import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CWaNHBO3.esm.js";
27
+ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-BIs6HPJG.esm.js";
28
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-Du-m-tZ_.esm.js";
29
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-DHU22hVn.esm.js";
30
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DsFzdTwA.esm.js";
31
+ import { n as createSignatureManagerFromActor } from "./signatureManager-ChsB-nMD.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DIw-xq9a.esm.js";
33
+ import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-TjC9iVjH.esm.js";
34
+ import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CyaixD0D.esm.js";
35
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Caal2zyV.esm.js";
36
+ import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-Bp_-3LJr.esm.js";
37
+ export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-20DdZ3jg.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Ri4UbNz0.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Caal2zyV.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -4,57 +4,21 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-B8weJxmL.js";
7
- import { t as CameraStream } from "./camera-9wWD-pwg.js";
8
- import { o as IncodeCanvas } from "./IStorageCapability-ORkQfK3F.js";
9
- import { i as FaceData, r as FaceCoordinates, t as FaceDetectionProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
10
- import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
11
- import { i as FlowModuleConfig } from "./types-KPvmag_B.js";
12
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Hmd7U0JA.js";
7
+ import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
8
+ import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
9
+ import "./IWasmUtilCapability-CXXDA5l1.js";
13
10
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
14
- import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
15
- import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-DLVQS_RH.js";
11
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CM-jtjJ2.js";
12
+ import { t as AuthenticationConfig } from "./types-ZT1XFIJ8.js";
13
+ import "./types-BT_Oalip.js";
14
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-B3YT2Bt6.js";
15
+ import { t as FaceDetectionProvider } from "./FaceDetectionProvider-LdZ47bWy.js";
16
+ import { t as CameraStream } from "./camera-9wWD-pwg.js";
16
17
  //#region src/modules/authentication/authenticationStateMachine.d.ts
17
18
  declare const _authenticationMachine: AnyStateMachine;
18
19
  type AuthenticationMachine = typeof _authenticationMachine;
19
20
  declare const authenticationMachine: AnyStateMachine;
20
21
  //#endregion
21
- //#region ../infra/src/avatar/faceFeed.d.ts
22
- /**
23
- * A tiny per-frame pub/sub channel for the Incode WASM pipeline's `FaceData`.
24
- *
25
- * The parked `incode-2d` avatar drives the cosmetic avatar from the **existing** Incode face-detection
26
- * pipeline (no second MediaPipe model). The detection pipeline lives in core's
27
- * detection actor, while the avatar lives in the avatar actor — so the avatar is
28
- * *fed* `FaceData` through this channel rather than running its own model.
29
- *
30
- * Deliberately NOT routed through XState events/context: the pipeline emits
31
- * ~10×/s, and assigning that into context would re-run `mapState` and notify all
32
- * manager subscribers 10×/s — needless churn that could itself regress UI perf.
33
- * The feed is a plain emitter passed as input to both actors (detection
34
- * publishes, the avatar source subscribes); nothing else observes it.
35
- *
36
- * Strictly read-only w.r.t. the authoritative pipeline — the feed only forwards
37
- * data the pipeline already computed; it never influences detection/autocapture.
38
- */
39
- interface FaceFeedReader {
40
- /** Subscribe to per-frame faces. Returns an unsubscribe function. */
41
- subscribe(listener: (face: FaceData) => void): () => void;
42
- /** The most recently published face, or null if none yet. */
43
- getLatest(): FaceData | null;
44
- /**
45
- * Subscribe to the coarse "eyes closed" pulse — the only real eye signal the
46
- * Incode pipeline exposes (a threshold event, both eyes, fired only when the
47
- * closed-eyes check is enabled via `validateClosedEyes`). The avatar uses it
48
- * to drive a real blink. Returns an unsubscribe function.
49
- */
50
- onEyesClosed(listener: () => void): () => void;
51
- }
52
- interface FaceFeed extends FaceFeedReader {
53
- publish(face: FaceData): void;
54
- /** Fire the eyes-closed pulse (from the detection pipeline's threshold event). */
55
- signalEyesClosed(): void;
56
- }
57
- //#endregion
58
22
  //#region src/modules/authentication/authenticationActor.d.ts
59
23
  type CreateAuthenticationActorOptions = {
60
24
  config: AuthenticationConfig;
@@ -106,12 +70,36 @@ type SendFaceImageResponse = {
106
70
  sessionStatus: string;
107
71
  };
108
72
  //#endregion
73
+ //#region src/modules/selfie/selfieUploadService.d.ts
74
+ type ProcessFaceImageType = 'selfie' | 'videoSelfie';
75
+ type ProcessFaceResponse = {
76
+ faceMatch: boolean;
77
+ confidence: number;
78
+ existingUser: boolean;
79
+ };
80
+ declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
81
+ //#endregion
109
82
  //#region src/internal/faceCapture/recordingService.d.ts
110
83
  type RecordingService = {
111
84
  start(stream: MediaStream): Promise<void>;
85
+ /**
86
+ * Prepares the recording metadata needed by the face-image upload.
87
+ *
88
+ * Local video-liveness recordings must stop here because their upload id is
89
+ * sent with the image. Scoped face recordings return no legacy id, pause at
90
+ * the end of each attempt, and resume the same upload after a rejection; the
91
+ * state machine finalizes them only after the backend accepts the capture.
92
+ */
93
+ prepareUpload(): Promise<{
94
+ recordingId: string | null;
95
+ }>;
112
96
  stop(): Promise<{
113
97
  recordingId: string | null;
114
98
  }>;
99
+ /** Best-effort page-background handling for protected camera cycles. */
100
+ pauseForBackground?(): void;
101
+ /** Resumes the same recorder after its protected presentation track recovers. */
102
+ resumeFromBackground?(stream: MediaStream): Promise<void>;
115
103
  /**
116
104
  * Stops the recorder and returns the raw (un-encrypted, not uploaded)
117
105
  * video as base64. Used by the captureOnly flow, which hands video bytes
@@ -120,8 +108,7 @@ type RecordingService = {
120
108
  * Returns `{ videoBase64: undefined }` when video is not available for
121
109
  * any reason, including:
122
110
  * - the recorder was never started or is already stopped,
123
- * - the provider is server-side (e.g. OpenVidu) and the client never
124
- * holds the bytes,
111
+ * - an injected provider is server-side and the client never holds the bytes,
125
112
  * - video assembly fails.
126
113
  */
127
114
  stopAndGetVideo(): Promise<{
@@ -153,8 +140,10 @@ type FaceCaptureContext = {
153
140
  dependencies: FaceCaptureDependencies;
154
141
  authHint: string | undefined;
155
142
  stream: CameraStream | undefined;
156
- provider: FaceDetectionProvider | undefined;
157
- frameCapturer: StreamCanvasCapture | undefined;
143
+ /** @deprecated Protected capture authority is private and this is always absent. */
144
+ provider?: FaceDetectionProvider | undefined;
145
+ /** @deprecated Protected capture authority is private and this is always absent. */
146
+ frameCapturer?: StreamCanvasCapture | undefined;
158
147
  usingBackCamera: boolean;
159
148
  error: string | FaceErrorObject | undefined;
160
149
  detectionStatus: DetectionStatus;
@@ -162,12 +151,17 @@ type FaceCaptureContext = {
162
151
  faceCoordinates: FaceCoordinates | undefined;
163
152
  uploadResponse: Record<string, unknown> | undefined;
164
153
  processResponse: Record<string, unknown> | undefined;
165
- recordingService: RecordingService | undefined;
154
+ /** @deprecated Recorder ownership is private and this is always absent. */
155
+ recordingService?: RecordingService | undefined;
166
156
  attemptsRemaining: number;
167
157
  uploadError: FaceErrorCode | undefined;
168
158
  permissionResult: PermissionResult | 'refresh' | undefined;
169
- resetDetection: (() => void) | undefined;
170
- deepsightService: DeepsightService | undefined;
159
+ /** @deprecated Detection callback ownership is private and this is always absent. */
160
+ resetDetection?: (() => void) | undefined;
161
+ /** @deprecated Deepsight ownership is private and this is always absent. */
162
+ deepsightService?: DeepsightService | undefined;
163
+ /** Internal semantic readiness marker; no service instance is exposed. */
164
+ deepsightReady?: boolean;
171
165
  encryptedBase64Image: string | undefined;
172
166
  uploadRecordingId: string | null | undefined;
173
167
  manualCaptureTriggered: boolean;
@@ -229,6 +223,15 @@ type FaceCaptureEvent = {
229
223
  canvas: HTMLCanvasElement;
230
224
  } | {
231
225
  type: 'RETRY_CAPTURE';
226
+ } | {
227
+ type: 'GO_TO_MANUAL_UPLOAD';
228
+ } | {
229
+ type: 'MANUAL_UPLOAD_FILE_SELECTED';
230
+ file: File;
231
+ } | {
232
+ type: 'MANUAL_UPLOAD_CONTINUE';
233
+ } | {
234
+ type: 'MANUAL_UPLOAD_RESET';
232
235
  };
233
236
  declare const faceCaptureMachine: AnyStateMachine;
234
237
  //#endregion
@@ -291,6 +294,20 @@ type FaceCaptureLoadingState = {
291
294
  type FaceCaptureTutorialState = {
292
295
  status: 'tutorial';
293
296
  ageAssurance?: boolean;
297
+ /** Whether to offer the manual file-upload alternative to live capture. */
298
+ showManualUploadLink: boolean;
299
+ };
300
+ /** Picking a photo from device storage instead of using the camera */
301
+ type FaceCaptureManualUploadState = {
302
+ status: 'manualUpload';
303
+ /** `uploading` covers both the file conversion and the network call. */
304
+ phase: 'selecting' | 'uploading';
305
+ /** Whether a file has been accepted by the backend. */
306
+ uploaded: boolean;
307
+ canContinue: boolean;
308
+ /** i18n key for the current rejection, or `null`. */
309
+ errorKey: string | null;
310
+ attemptsRemaining: number;
294
311
  };
295
312
  /** Handling camera permissions */
296
313
  type FaceCapturePermissionsState = {
@@ -373,7 +390,7 @@ type FaceCaptureErrorState = {
373
390
  moduleErrorCode?: string;
374
391
  };
375
392
  /** Union of all possible face capture states */
376
- type FaceCaptureManagerState = FaceCaptureIdleState | FaceCaptureLoadingState | FaceCaptureTutorialState | FaceCapturePermissionsState | FaceCaptureCaptureState | FaceCaptureProcessingState | FaceCaptureFinishedState | FaceCaptureClosedState | FaceCaptureErrorState;
393
+ type FaceCaptureManagerState = FaceCaptureIdleState | FaceCaptureLoadingState | FaceCaptureTutorialState | FaceCapturePermissionsState | FaceCaptureCaptureState | FaceCaptureManualUploadState | FaceCaptureProcessingState | FaceCaptureFinishedState | FaceCaptureClosedState | FaceCaptureErrorState;
377
394
  /**
378
395
  * Builds a face capture manager (selfie / authentication / captureOnly) from an
379
396
  * already-created actor.
@@ -433,7 +450,23 @@ declare function createFaceCaptureManagerFromActor(actor: FaceCaptureActor, modu
433
450
  * Only effective when in `capture.detecting` state and `detectionStatus === 'manualCapture'`.
434
451
  */
435
452
  capture(): void;
453
+ /**
454
+ * Leaves the tutorial for the manual file-upload screen.
455
+ * Only effective from `tutorial` and only when the module enables it, so a
456
+ * call from anywhere else — including the console — is a no-op.
457
+ */
458
+ goToManualUpload(): void;
459
+ /**
460
+ * Submits a file the user picked from device storage.
461
+ * Only effective when in `manualUpload`.
462
+ */
463
+ manualUploadSelectFile(file: File): void;
464
+ /**
465
+ * Accepts the uploaded photo and moves on to processing.
466
+ * Only effective when in `manualUpload` and an upload has succeeded.
467
+ */
468
+ manualUploadContinue(): void;
436
469
  };
437
470
  type FaceCaptureManager = ReturnType<typeof createFaceCaptureManagerFromActor>;
438
471
  //#endregion
439
- export { SendFaceImageResponse as _, SelfieCaptureOnlyMachine as a, createAuthenticationActor as b, SelfieActor as c, FaceCaptureContext as d, FaceCaptureEvent as f, SelfieConfig as g, SelfieCaptureOnlyConfig as h, SelfieCaptureOnlyActor as i, SelfieMachine as l, faceCaptureMachine as m, FaceCaptureManagerState as n, selfieCaptureOnlyMachine as o, FaceCaptureInput as p, CreateSelfieCaptureOnlyActorOptions as r, CreateSelfieActorOptions as s, FaceCaptureManager as t, selfieMachine as u, AuthenticationActor as v, authenticationMachine as x, CreateAuthenticationActorOptions as y };
472
+ export { authenticationMachine as C, createAuthenticationActor as S, SelfieCaptureOnlyConfig as _, SelfieCaptureOnlyMachine as a, AuthenticationActor as b, SelfieActor as c, FaceCaptureContext as d, FaceCaptureEvent as f, processFace as g, ProcessFaceResponse as h, SelfieCaptureOnlyActor as i, SelfieMachine as l, faceCaptureMachine as m, FaceCaptureManagerState as n, selfieCaptureOnlyMachine as o, FaceCaptureInput as p, CreateSelfieCaptureOnlyActorOptions as r, CreateSelfieActorOptions as s, FaceCaptureManager as t, selfieMachine as u, SelfieConfig as v, CreateAuthenticationActorOptions as x, SendFaceImageResponse as y };
@@ -1,10 +1,10 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-DYiyoSlx.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { n as concealmentToAvatar } from "./faceCaptureSetup-BECAis8R.esm.js";
5
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
- import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-UvUcOSRb.esm.js";
4
+ import { i as concealmentToAvatar } from "./faceCaptureSetup-BSextack.esm.js";
5
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
6
+ import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
8
8
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
9
9
  function getPermissionStatus(snapshot) {
10
10
  if (!snapshot.matches("permissions")) return;
@@ -26,14 +26,30 @@ function getCaptureStatus(snapshot) {
26
26
  if (snapshot.matches({ capture: "uploadError" })) return "uploadError";
27
27
  if (snapshot.matches({ capture: "success" })) return "success";
28
28
  }
29
+ function mapManualUploadState(snapshot) {
30
+ const childSnapshot = snapshot.children["manualUpload"]?.getSnapshot();
31
+ const childContext = childSnapshot?.context;
32
+ const childValue = childSnapshot?.value;
33
+ const uploaded = childContext?.uploaded ?? false;
34
+ return {
35
+ status: "manualUpload",
36
+ phase: childValue === "preparing" || childValue === "uploading" ? "uploading" : "selecting",
37
+ uploaded,
38
+ canContinue: uploaded,
39
+ errorKey: childContext?.errorKey ?? null,
40
+ attemptsRemaining: childContext?.retriesLeft ?? 0
41
+ };
42
+ }
29
43
  function mapState(snapshot) {
30
44
  const { context } = snapshot;
31
45
  if (snapshot.matches("idle")) return { status: "idle" };
32
46
  if (snapshot.matches("loading")) return { status: "loading" };
33
47
  if (snapshot.matches("tutorial")) return {
34
48
  status: "tutorial",
35
- ageAssurance: context.config?.ageAssurance === true
49
+ ageAssurance: context.config?.ageAssurance === true,
50
+ showManualUploadLink: context.config?.manualUploadSelfieCapture === true
36
51
  };
52
+ if (snapshot.matches("manualUpload")) return mapManualUploadState(snapshot);
37
53
  if (snapshot.matches("closed")) return { status: "closed" };
38
54
  if (snapshot.matches("permissions")) {
39
55
  const permissionStatus = getPermissionStatus(snapshot);
@@ -221,7 +237,9 @@ function getFaceCaptureScreenName(snapshot, moduleName) {
221
237
  case "tutorial": return getFaceCaptureTutorialScreen(snapshot);
222
238
  case "permissions": return "faceCapture.tutorial.default";
223
239
  case "capture": return getCaptureSubstateScreen(snapshot);
240
+ case "manualUpload": return "faceCapture.manualUpload.default";
224
241
  case "processing": return "faceCapture.loading.processing";
242
+ case "terminalProcessing": return "faceCapture.loading.processing";
225
243
  case "finished": return "faceCapture.resultSuccess.default";
226
244
  case "closed": return "faceCapture.closed";
227
245
  case "error": return "faceCapture.resultError.processingFailed";
@@ -314,6 +332,34 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
314
332
  capture() {
315
333
  trackElementClicked?.("capture");
316
334
  actor.send({ type: "MANUAL_CAPTURE" });
335
+ },
336
+ /**
337
+ * Leaves the tutorial for the manual file-upload screen.
338
+ * Only effective from `tutorial` and only when the module enables it, so a
339
+ * call from anywhere else — including the console — is a no-op.
340
+ */
341
+ goToManualUpload() {
342
+ trackElementClicked?.("goToManualUpload");
343
+ actor.send({ type: "GO_TO_MANUAL_UPLOAD" });
344
+ },
345
+ /**
346
+ * Submits a file the user picked from device storage.
347
+ * Only effective when in `manualUpload`.
348
+ */
349
+ manualUploadSelectFile(file) {
350
+ trackElementClicked?.("manualUploadSelectFile");
351
+ actor.send({
352
+ type: "MANUAL_UPLOAD_FILE_SELECTED",
353
+ file
354
+ });
355
+ },
356
+ /**
357
+ * Accepts the uploaded photo and moves on to processing.
358
+ * Only effective when in `manualUpload` and an upload has succeeded.
359
+ */
360
+ manualUploadContinue() {
361
+ trackElementClicked?.("manualUploadContinue");
362
+ actor.send({ type: "MANUAL_UPLOAD_CONTINUE" });
317
363
  }
318
364
  };
319
365
  }
@@ -401,6 +447,12 @@ function getFaceCaptureErrorPayload(snapshot) {
401
447
  * `docs/patterns/CAPABILITY.md`). Pass a fake/no-op to override (tests do).
402
448
  */
403
449
  function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver = new BrowserVisibilityObserverProvider()) {
450
+ const protectedVisibilityActor = actor;
451
+ const initialVisible = visibilityObserver.isVisible();
452
+ protectedVisibilityActor.send({
453
+ type: "PROTECTED_VISIBILITY",
454
+ visible: initialVisible
455
+ });
404
456
  return createManager({
405
457
  actor,
406
458
  mapState,
@@ -409,7 +461,16 @@ function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver
409
461
  getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
410
462
  getErrorName: getFaceCaptureErrorName,
411
463
  getErrorPayload: getFaceCaptureErrorPayload,
412
- visibilityObserver
464
+ visibilityObserver: {
465
+ isVisible: () => visibilityObserver.isVisible(),
466
+ onVisibilityChange: (listener) => visibilityObserver.onVisibilityChange((visible) => {
467
+ protectedVisibilityActor.send({
468
+ type: "PROTECTED_VISIBILITY",
469
+ visible
470
+ });
471
+ listener(visible);
472
+ })
473
+ }
413
474
  })
414
475
  });
415
476
  }