@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd

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 (282) hide show
  1. package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
  2. package/dist/Actor-iTq7YY48.d.ts +1 -0
  3. package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
  4. package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
  5. package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
  6. package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
  7. package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
  8. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
  9. package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
  10. package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
  11. package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
  12. package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
  13. package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
  14. package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
  15. package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
  16. package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
  17. package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
  18. package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
  19. package/dist/ae-signature.d.ts +2 -6
  20. package/dist/ae-signature.esm.js +10 -11
  21. package/dist/antifraud.d.ts +1 -6
  22. package/dist/antifraud.esm.js +3 -8
  23. package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
  24. package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
  25. package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
  26. package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
  27. package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
  28. package/dist/authentication.d.ts +2 -19
  29. package/dist/authentication.esm.js +3 -34
  30. package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
  31. package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
  32. package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
  33. package/dist/avatar.d.ts +2 -2
  34. package/dist/avatar.esm.js +2 -3
  35. package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
  36. package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
  37. package/dist/callback-645_omgz.d.ts +133 -0
  38. package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
  39. package/dist/camera.d.ts +1 -2
  40. package/dist/camera.esm.js +2 -6
  41. package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
  42. package/dist/certificate-issuance.d.ts +34 -39
  43. package/dist/certificate-issuance.esm.js +4 -11
  44. package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
  45. package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
  46. package/dist/consent.d.ts +1 -4
  47. package/dist/consent.esm.js +3 -8
  48. package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
  49. package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
  50. package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
  51. package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
  52. package/dist/cpf-ocr.d.ts +1 -5
  53. package/dist/cpf-ocr.esm.js +2 -8
  54. package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
  55. package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
  56. package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
  57. package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
  58. package/dist/cross-document-data-match.d.ts +1 -5
  59. package/dist/cross-document-data-match.esm.js +2 -8
  60. package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
  61. package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
  62. package/dist/curp-validation.d.ts +1 -11
  63. package/dist/curp-validation.esm.js +3 -8
  64. package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
  65. package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
  66. package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
  67. package/dist/custom-fields.d.ts +2 -5
  68. package/dist/custom-fields.esm.js +24 -11
  69. package/dist/custom-watchlist.d.ts +1 -3
  70. package/dist/custom-watchlist.esm.js +11 -10
  71. package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
  72. package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
  73. package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
  74. package/dist/deepsightService-CR-CYdka.d.ts +218 -0
  75. package/dist/device.d.ts +0 -1
  76. package/dist/device.esm.js +5 -10
  77. package/dist/document-capture.d.ts +1 -6
  78. package/dist/document-capture.esm.js +3 -16
  79. package/dist/document-upload.d.ts +48 -55
  80. package/dist/document-upload.esm.js +8 -14
  81. package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
  82. package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
  83. package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
  84. package/dist/dynamic-forms.d.ts +1 -4
  85. package/dist/dynamic-forms.esm.js +3 -10
  86. package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
  87. package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
  88. package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
  89. package/dist/ekyb.d.ts +4 -11
  90. package/dist/ekyb.esm.js +3 -20
  91. package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
  92. package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
  93. package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
  94. package/dist/ekyc.d.ts +2 -7
  95. package/dist/ekyc.esm.js +3 -11
  96. package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
  97. package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
  98. package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
  99. package/dist/electronic-signature.d.ts +2 -5
  100. package/dist/electronic-signature.esm.js +2 -10
  101. package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
  102. package/dist/email.d.ts +1 -5
  103. package/dist/email.esm.js +3 -10
  104. package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
  105. package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
  106. package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
  107. package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
  108. package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
  109. package/dist/events.d.ts +1 -9
  110. package/dist/events.esm.js +2 -4
  111. package/dist/extensibility.d.ts +30 -42
  112. package/dist/extensibility.esm.js +29 -87
  113. package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
  114. package/dist/face-match.d.ts +1 -5
  115. package/dist/face-match.esm.js +3 -8
  116. package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
  117. package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
  118. package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
  119. package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
  120. package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
  121. package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
  122. package/dist/field-comparison.d.ts +1 -4
  123. package/dist/field-comparison.esm.js +2 -7
  124. package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
  125. package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
  126. package/dist/fiscal-qr.d.ts +1 -6
  127. package/dist/fiscal-qr.esm.js +14 -29
  128. package/dist/flow-events.d.ts +2 -9
  129. package/dist/flow.d.ts +13 -19
  130. package/dist/flow.esm.js +109 -34
  131. package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
  132. package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
  133. package/dist/geolocation.d.ts +1 -4
  134. package/dist/geolocation.esm.js +3 -9
  135. package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
  136. package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
  137. package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
  138. package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
  139. package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
  140. package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
  141. package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
  142. package/dist/government-validation.d.ts +3 -6
  143. package/dist/government-validation.esm.js +7 -13
  144. package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
  145. package/dist/home.d.ts +14 -22
  146. package/dist/home.esm.js +3 -8
  147. package/dist/http.d.ts +0 -1
  148. package/dist/http.esm.js +2 -4
  149. package/dist/id-ocr.d.ts +1 -5
  150. package/dist/id-ocr.esm.js +3 -9
  151. package/dist/id-verification.d.ts +1 -4
  152. package/dist/id-verification.esm.js +3 -8
  153. package/dist/id.d.ts +105 -18
  154. package/dist/id.esm.js +40 -50
  155. package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
  156. package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
  157. package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
  158. package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
  159. package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
  160. package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
  161. package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
  162. package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
  163. package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
  164. package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
  165. package/dist/identity-reuse.d.ts +1 -4
  166. package/dist/identity-reuse.esm.js +3 -8
  167. package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
  168. package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
  169. package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
  170. package/dist/index-B8weJxmL.d.ts +1 -0
  171. package/dist/index-BKOWUhxG.d.ts +258 -0
  172. package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
  173. package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
  174. package/dist/index.d.ts +1 -3
  175. package/dist/index.esm.js +2 -15
  176. package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
  177. package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
  178. package/dist/mandatory-consent.d.ts +1 -10
  179. package/dist/mandatory-consent.esm.js +3 -8
  180. package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
  181. package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
  182. package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
  183. package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
  184. package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
  185. package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
  186. package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
  187. package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
  188. package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
  189. package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
  190. package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
  191. package/dist/personhood.d.ts +13 -20
  192. package/dist/personhood.esm.js +153 -72
  193. package/dist/phone.d.ts +1 -5
  194. package/dist/phone.esm.js +3 -10
  195. package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
  196. package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
  197. package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
  198. package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
  199. package/dist/qe-signature.d.ts +2 -6
  200. package/dist/qe-signature.esm.js +10 -11
  201. package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
  202. package/dist/redirect-to-mobile.d.ts +1 -6
  203. package/dist/redirect-to-mobile.esm.js +3 -10
  204. package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
  205. package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
  206. package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
  207. package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
  208. package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
  209. package/dist/selfie.d.ts +7 -20
  210. package/dist/selfie.esm.js +40 -46
  211. package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
  212. package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
  213. package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
  214. package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
  215. package/dist/session-CQ2x2aLl.esm.js +1 -0
  216. package/dist/session.d.ts +2 -9
  217. package/dist/session.esm.js +153 -15
  218. package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
  219. package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
  220. package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
  221. package/dist/signature.d.ts +2 -6
  222. package/dist/signature.esm.js +6 -9
  223. package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
  224. package/dist/spawn-D9jgw9pW.d.ts +1441 -0
  225. package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
  226. package/dist/stats.esm.js +2 -5
  227. package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
  228. package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
  229. package/dist/tri.d.ts +2 -2
  230. package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
  231. package/dist/tri.esm.js +2 -4
  232. package/dist/trust-graph.d.ts +4 -5
  233. package/dist/trust-graph.esm.js +13 -9
  234. package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
  235. package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
  236. package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
  237. package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
  238. package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
  239. package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
  240. package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
  241. package/dist/video-selfie.d.ts +10 -15
  242. package/dist/video-selfie.esm.js +114 -106
  243. package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
  244. package/dist/wasm.d.ts +2 -4
  245. package/dist/wasm.esm.js +3 -15
  246. package/dist/watchlist-for-business.d.ts +1 -3
  247. package/dist/watchlist-for-business.esm.js +9 -9
  248. package/dist/watchlist.d.ts +1 -3
  249. package/dist/watchlist.esm.js +11 -10
  250. package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
  251. package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
  252. package/dist/workflow.d.ts +124 -146
  253. package/dist/workflow.esm.js +75 -80
  254. package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
  255. package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
  256. package/package.json +2 -2
  257. package/dist/Actor-CdjYVucI.d.ts +0 -2
  258. package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
  259. package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
  260. package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
  261. package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
  262. package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
  263. package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
  264. package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
  265. package/dist/canvas-COIxuirO.d.ts +0 -112
  266. package/dist/chunk-CIKcdghV.esm.js +0 -49
  267. package/dist/deepsightLoader-BppeThau.esm.js +0 -67
  268. package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
  269. package/dist/http-C3Pq6njG.esm.js +0 -0
  270. package/dist/index-BD6ZVw2f.d.ts +0 -93
  271. package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
  272. package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
  273. package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
  274. package/dist/session--C2lbjK5.esm.js +0 -152
  275. package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
  276. package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
  277. /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
  278. /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
  279. /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
  280. /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
  281. /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
  282. /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
@@ -1,11 +1,2 @@
1
- import "./StateMachine-BTkXO3Na.js";
2
- import "./Manager-DE5DydXZ.js";
3
- import "./Actor-CdjYVucI.js";
4
- import "./camera-DRH7co71.js";
5
- import "./types-DCOl8zy6.js";
6
- import "./types-B6KIOo6S.js";
7
- import "./canvas-COIxuirO.js";
8
- import "./createFaceAvatar-BjBu2CrU.js";
9
- import "./types-NizIIgLD.js";
10
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-D0qQHcl2.js";
1
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BlB4bX6_.js";
11
2
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,8 +1,3 @@
1
- import "./api-DsbUi7TO.esm.js";
2
- import "./events-aeCkGlnn.esm.js";
3
- import "./endpoints-CwrFQfW7.esm.js";
4
- import "./xstate.esm-nY3M5UYm.esm.js";
5
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DYeKH1L7.esm.js";
6
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-Bh_n0uEP.esm.js";
7
-
8
- export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
1
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
2
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CQC-zA4P.esm.js";
3
+ export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,8 +1,8 @@
1
- import { t as Manager } from "./Manager-DE5DydXZ.js";
2
- import { t as ActorRefFrom } from "./Actor-CdjYVucI.js";
3
- import { a as RegulationTypes } from "./types-NizIIgLD.js";
4
- import * as xstate768 from "xstate";
5
-
1
+ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
+ import "./StateMachine-EDpYWy0i.js";
3
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
4
+ import "./Actor-iTq7YY48.js";
5
+ import { a as RegulationTypes } from "./types-BnEHzP1K.js";
6
6
  //#region src/modules/mandatory-consent/types.d.ts
7
7
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
8
8
  type MandatoryConsentConfig = {
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
32
32
  type MandatoryConsentInput = {
33
33
  config: MandatoryConsentConfig;
34
34
  };
35
- declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentContext, {
35
+ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "TOGGLE";
@@ -45,125 +45,123 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
45
45
  } | {
46
46
  type: "RESET";
47
47
  }, {
48
- [x: string]: xstate768.ActorRefFromLogic<xstate768.PromiseActorLogic<FetchMandatoryConsentResponse, {
48
+ [x: string]: ActorRefFromLogic<PromiseActorLogic<FetchMandatoryConsentResponse, {
49
49
  config: MandatoryConsentConfig;
50
- }, xstate768.EventObject>> | xstate768.ActorRefFromLogic<xstate768.PromiseActorLogic<void, {
50
+ }, EventObject>> | ActorRefFromLogic<PromiseActorLogic<void, {
51
51
  consentId: string;
52
52
  isSigned: boolean;
53
- }, xstate768.EventObject>> | undefined;
54
- }, xstate768.Values<{
53
+ }, EventObject>> | undefined;
54
+ }, Values<{
55
55
  fetchConsent: {
56
56
  src: "fetchConsent";
57
- logic: xstate768.PromiseActorLogic<FetchMandatoryConsentResponse, {
57
+ logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
58
58
  config: MandatoryConsentConfig;
59
- }, xstate768.EventObject>;
59
+ }, EventObject>;
60
60
  id: string | undefined;
61
61
  };
62
62
  submitConsent: {
63
63
  src: "submitConsent";
64
- logic: xstate768.PromiseActorLogic<void, {
64
+ logic: PromiseActorLogic<void, {
65
65
  consentId: string;
66
66
  isSigned: boolean;
67
- }, xstate768.EventObject>;
67
+ }, EventObject>;
68
68
  id: string | undefined;
69
69
  };
70
- }>, xstate768.Values<{
70
+ }>, Values<{
71
71
  setConsent: {
72
72
  type: "setConsent";
73
- params: xstate768.NonReducibleUnknown;
73
+ params: NonReducibleUnknown;
74
74
  };
75
75
  setError: {
76
76
  type: "setError";
77
- params: xstate768.NonReducibleUnknown;
77
+ params: NonReducibleUnknown;
78
78
  };
79
79
  clearError: {
80
80
  type: "clearError";
81
- params: xstate768.NonReducibleUnknown;
82
- };
83
- resetContext: {
84
- type: "resetContext";
85
- params: xstate768.NonReducibleUnknown;
81
+ params: NonReducibleUnknown;
86
82
  };
87
83
  toggleSigned: {
88
84
  type: "toggleSigned";
89
- params: xstate768.NonReducibleUnknown;
85
+ params: NonReducibleUnknown;
86
+ };
87
+ resetContext: {
88
+ type: "resetContext";
89
+ params: NonReducibleUnknown;
90
90
  };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate768.NonReducibleUnknown, xstate768.EventObject, xstate768.MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
- readonly context: ({
98
- input
99
- }: {
97
+ readonly context: ({ input }: {
100
98
  spawn: {
101
99
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
102
100
  src: "fetchConsent";
103
- logic: xstate768.PromiseActorLogic<FetchMandatoryConsentResponse, {
101
+ logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
104
102
  config: MandatoryConsentConfig;
105
- }, xstate768.EventObject>;
103
+ }, EventObject>;
106
104
  id: string | undefined;
107
- } extends infer T ? T extends {
105
+ } extends (infer T) ? T extends {
108
106
  src: "fetchConsent";
109
- logic: xstate768.PromiseActorLogic<FetchMandatoryConsentResponse, {
107
+ logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
110
108
  config: MandatoryConsentConfig;
111
- }, xstate768.EventObject>;
109
+ }, EventObject>;
112
110
  id: string | undefined;
113
111
  } ? T extends {
114
112
  src: TSrc;
115
- } ? xstate768.ConditionalRequired<[options?: ({
113
+ } ? ConditionalRequired<[options?: ({
116
114
  id?: T["id"] | undefined;
117
115
  systemId?: string;
118
- input?: xstate768.InputFrom<T["logic"]> | undefined;
116
+ input?: InputFrom<T["logic"]> | undefined;
119
117
  syncSnapshot?: boolean;
120
- } & { [K in xstate768.RequiredActorOptions<T>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredActorOptions<T>>> : never : never : never) | ({
118
+ } & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
121
119
  src: "submitConsent";
122
- logic: xstate768.PromiseActorLogic<void, {
120
+ logic: PromiseActorLogic<void, {
123
121
  consentId: string;
124
122
  isSigned: boolean;
125
- }, xstate768.EventObject>;
123
+ }, EventObject>;
126
124
  id: string | undefined;
127
- } extends infer T_1 ? T_1 extends {
125
+ } extends (infer T_1) ? T_1 extends {
128
126
  src: "submitConsent";
129
- logic: xstate768.PromiseActorLogic<void, {
127
+ logic: PromiseActorLogic<void, {
130
128
  consentId: string;
131
129
  isSigned: boolean;
132
- }, xstate768.EventObject>;
130
+ }, EventObject>;
133
131
  id: string | undefined;
134
132
  } ? T_1 extends {
135
133
  src: TSrc;
136
- } ? xstate768.ConditionalRequired<[options?: ({
134
+ } ? ConditionalRequired<[options?: ({
137
135
  id?: T_1["id"] | undefined;
138
136
  systemId?: string;
139
- input?: xstate768.InputFrom<T_1["logic"]> | undefined;
137
+ input?: InputFrom<T_1["logic"]> | undefined;
140
138
  syncSnapshot?: boolean;
141
- } & { [K_1 in xstate768.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredActorOptions<T_1>>> : never : never : never)): xstate768.ActorRefFromLogic<xstate768.GetConcreteByKey<xstate768.Values<{
139
+ } & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
142
140
  fetchConsent: {
143
141
  src: "fetchConsent";
144
- logic: xstate768.PromiseActorLogic<FetchMandatoryConsentResponse, {
142
+ logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
145
143
  config: MandatoryConsentConfig;
146
- }, xstate768.EventObject>;
144
+ }, EventObject>;
147
145
  id: string | undefined;
148
146
  };
149
147
  submitConsent: {
150
148
  src: "submitConsent";
151
- logic: xstate768.PromiseActorLogic<void, {
149
+ logic: PromiseActorLogic<void, {
152
150
  consentId: string;
153
151
  isSigned: boolean;
154
- }, xstate768.EventObject>;
152
+ }, EventObject>;
155
153
  id: string | undefined;
156
154
  };
157
155
  }>, "src", TSrc>["logic"]>;
158
- <TLogic extends xstate768.AnyActorLogic>(src: TLogic, ...[options]: xstate768.ConditionalRequired<[options?: ({
156
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
159
157
  id?: never;
160
158
  systemId?: string;
161
- input?: xstate768.InputFrom<TLogic> | undefined;
159
+ input?: InputFrom<TLogic> | undefined;
162
160
  syncSnapshot?: boolean;
163
- } & { [K in xstate768.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredLogicInput<TLogic>>>): xstate768.ActorRefFromLogic<TLogic>;
161
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
164
162
  };
165
163
  input: MandatoryConsentInput;
166
- self: xstate768.ActorRef<xstate768.MachineSnapshot<MandatoryConsentContext, {
164
+ self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
167
165
  type: "LOAD";
168
166
  } | {
169
167
  type: "TOGGLE";
@@ -175,7 +173,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
175
173
  type: "RETRY";
176
174
  } | {
177
175
  type: "RESET";
178
- }, Record<string, xstate768.AnyActorRef | undefined>, xstate768.StateValue, string, unknown, any, any>, {
176
+ }, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
179
177
  type: "LOAD";
180
178
  } | {
181
179
  type: "TOGGLE";
@@ -187,7 +185,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
187
185
  type: "RETRY";
188
186
  } | {
189
187
  type: "RESET";
190
- }, xstate768.AnyEventObject>;
188
+ }, AnyEventObject>;
191
189
  }) => {
192
190
  config: MandatoryConsentConfig;
193
191
  consent: undefined;
@@ -207,9 +205,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
207
205
  readonly invoke: {
208
206
  readonly id: "fetchConsent";
209
207
  readonly src: "fetchConsent";
210
- readonly input: ({
211
- context
212
- }: {
208
+ readonly input: ({ context }: {
213
209
  context: MandatoryConsentContext;
214
210
  event: {
215
211
  type: "LOAD";
@@ -224,7 +220,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
224
220
  } | {
225
221
  type: "RESET";
226
222
  };
227
- self: xstate768.ActorRef<xstate768.MachineSnapshot<MandatoryConsentContext, {
223
+ self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
228
224
  type: "LOAD";
229
225
  } | {
230
226
  type: "TOGGLE";
@@ -236,7 +232,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
236
232
  type: "RETRY";
237
233
  } | {
238
234
  type: "RESET";
239
- }, Record<string, xstate768.AnyActorRef>, xstate768.StateValue, string, unknown, any, any>, {
235
+ }, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
240
236
  type: "LOAD";
241
237
  } | {
242
238
  type: "TOGGLE";
@@ -248,7 +244,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
248
244
  type: "RETRY";
249
245
  } | {
250
246
  type: "RESET";
251
- }, xstate768.AnyEventObject>;
247
+ }, AnyEventObject>;
252
248
  }) => {
253
249
  config: MandatoryConsentConfig;
254
250
  };
@@ -284,9 +280,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
284
280
  readonly invoke: {
285
281
  readonly id: "submitConsent";
286
282
  readonly src: "submitConsent";
287
- readonly input: ({
288
- context
289
- }: {
283
+ readonly input: ({ context }: {
290
284
  context: MandatoryConsentContext;
291
285
  event: {
292
286
  type: "LOAD";
@@ -301,7 +295,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
301
295
  } | {
302
296
  type: "RESET";
303
297
  };
304
- self: xstate768.ActorRef<xstate768.MachineSnapshot<MandatoryConsentContext, {
298
+ self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
305
299
  type: "LOAD";
306
300
  } | {
307
301
  type: "TOGGLE";
@@ -313,7 +307,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
313
307
  type: "RETRY";
314
308
  } | {
315
309
  type: "RESET";
316
- }, Record<string, xstate768.AnyActorRef>, xstate768.StateValue, string, unknown, any, any>, {
310
+ }, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
317
311
  type: "LOAD";
318
312
  } | {
319
313
  type: "TOGGLE";
@@ -325,7 +319,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
325
319
  type: "RETRY";
326
320
  } | {
327
321
  type: "RESET";
328
- }, xstate768.AnyEventObject>;
322
+ }, AnyEventObject>;
329
323
  }) => {
330
324
  consentId: string;
331
325
  isSigned: boolean;
@@ -1,12 +1,10 @@
1
- import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
2
- import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DYeKH1L7.esm.js";
4
-
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
5
4
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
6
5
  function createMandatoryConsentActor(options) {
7
6
  return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
8
7
  }
9
-
10
8
  //#endregion
11
9
  //#region src/modules/mandatory-consent/mandatoryConsentManager.ts
12
10
  function mapState(snapshot) {
@@ -84,6 +82,5 @@ function createMandatoryConsentManagerFromActor(actor) {
84
82
  instrumentation: createManagerInstrumentation(eventModuleNames.mlConsent)
85
83
  });
86
84
  }
87
-
88
85
  //#endregion
89
- export { createMandatoryConsentManagerFromActor as n, createMandatoryConsentManager as t };
86
+ export { createMandatoryConsentManagerFromActor as n, createMandatoryConsentManager as t };
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DsbUi7TO.esm.js";
2
- import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
4
-
1
+ import { t as api } from "./api-BDTZNnca.esm.js";
2
+ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentServices.ts
6
6
  async function fetchMandatoryConsent(regulationType, language, type, signal) {
7
7
  const res = await api.get(endpoints.getConsents, {
@@ -19,7 +19,6 @@ async function submitMandatoryConsent(params, signal) {
19
19
  const res = await api.post(endpoints.submitMlConsent, params, { signal });
20
20
  if (!res.ok) throw new Error(`POST ${endpoints.submitMlConsent} failed: ${res.status} ${res.statusText}`);
21
21
  }
22
-
23
22
  //#endregion
24
23
  //#region src/modules/mandatory-consent/mandatoryConsentStateMachine.ts
25
24
  const mandatoryConsentMachine = setup({
@@ -121,6 +120,5 @@ const mandatoryConsentMachine = setup({
121
120
  closed: { type: "final" }
122
121
  }
123
122
  });
124
-
125
123
  //#endregion
126
- export { mandatoryConsentMachine as t };
124
+ export { mandatoryConsentMachine as t };
@@ -1,5 +1,4 @@
1
- import { r as isIOS } from "./platform-BoeUeUrV.esm.js";
2
-
1
+ import { r as isIOS } from "./platform-wmV7oTAJ.esm.js";
3
2
  //#region ../infra/src/media/mediaRecorderOptions.ts
4
3
  /**
5
4
  * Picks a `MediaRecorder` mime type the current browser actually supports,
@@ -37,6 +36,5 @@ function getAdaptiveMediaRecorderOptions() {
37
36
  bitsPerSecond: 5e5
38
37
  };
39
38
  }
40
-
41
39
  //#endregion
42
- export { getSupportedMediaRecorderMimeType as n, getAdaptiveMediaRecorderOptions as t };
40
+ export { getSupportedMediaRecorderMimeType as n, getAdaptiveMediaRecorderOptions as t };
@@ -52,16 +52,12 @@ function asRvfc(video) {
52
52
  const v = video;
53
53
  return typeof v.requestVideoFrameCallback === "function" && typeof v.cancelVideoFrameCallback === "function" ? v : null;
54
54
  }
55
- const REF_FRAME_MS = 1e3 / 30;
56
- /** Clamp on the EMA delta so a frame stall can't over-snap the smoother. */
57
- const MAX_EMA_DT_MS = 100;
58
55
  /** Frame-rate-independent EMA factor for a 30 fps-authored `refAlpha` over `dtMs`. */
59
56
  function dtAlpha(refAlpha, dtMs) {
60
57
  if (refAlpha <= 0) return 0;
61
58
  if (refAlpha >= 1) return 1;
62
- const tau = -REF_FRAME_MS / Math.log(1 - refAlpha);
59
+ const tau = -33.333333333333336 / Math.log(1 - refAlpha);
63
60
  return 1 - Math.exp(-dtMs / tau);
64
61
  }
65
-
66
62
  //#endregion
67
- export { dtAlpha as i, asRvfc as n, createFaceLandmarker as r, MAX_EMA_DT_MS as t };
63
+ export { createFaceLandmarker as n, dtAlpha as r, asRvfc as t };
@@ -1,15 +1,12 @@
1
- import { a as mlWasmJSApi_default, d as WasmPipelineType, n as BaseWasmProvider } from "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
- import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
3
- import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
4
- import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
5
- import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-BoeUeUrV.esm.js";
6
- import { a as stopCameraStream, r as requestCameraAccess } from "./camera-B0yWS33x.esm.js";
7
- import { t as sleep } from "./ITimerCapability-G7lQg-be.esm.js";
8
- import { t as IncodeCanvas } from "./canvas-DsJa51yU.esm.js";
9
- import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-DYnfq7Hr.esm.js";
10
- import { t as getDeviceClass } from "./getDeviceClass-DsNb6nEl.esm.js";
11
- import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
12
-
1
+ import { a as mlWasmJSApi_default, n as BaseWasmProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
+ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
+ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
4
+ import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
5
+ import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
6
+ import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
7
+ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
8
+ import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
9
+ import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
13
10
  //#region ../infra/src/scheduling/yieldUntilNextPaint.ts
14
11
  /**
15
12
  * Resolves after the browser has had a chance to commit and paint a queued
@@ -57,7 +54,6 @@ function yieldUntilNextPaint() {
57
54
  setTimeout(done, 100);
58
55
  });
59
56
  }
60
-
61
57
  //#endregion
62
58
  //#region ../infra/src/providers/wasm/FaceDetectionProvider.ts
63
59
  /**
@@ -76,7 +72,7 @@ function tryDeleteEmbindHandle(value) {
76
72
  }
77
73
  var FaceDetectionProvider = class extends BaseWasmProvider {
78
74
  constructor() {
79
- super(WasmPipelineType.SelfieWithQualityMetrics);
75
+ super(4);
80
76
  this.defaultThresholds = {
81
77
  frameMinX: 0,
82
78
  frameMinY: 0,
@@ -120,10 +116,10 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
120
116
  }
121
117
  async initialize(config) {
122
118
  if (config.videoSelfie === true) {
123
- this.pipelineType = WasmPipelineType.SelfieWithAggregationMetrics;
119
+ this.pipelineType = 3;
124
120
  await this.initializeBase(config, "videoSelfie");
125
121
  } else if (config.useOnDeviceWorkflow === true) {
126
- this.pipelineType = WasmPipelineType.OnDeviceSelfieWorkflow;
122
+ this.pipelineType = 5;
127
123
  await this.initializeBase(config, "onDeviceSelfie");
128
124
  } else await this.initializeBase(config, "selfie");
129
125
  this.applyDefaults(config.autocaptureInterval ?? 0);
@@ -258,7 +254,6 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
258
254
  };
259
255
  }
260
256
  };
261
-
262
257
  //#endregion
263
258
  //#region ../infra/src/media/StreamCanvasProcessingSession.ts
264
259
  var StreamCanvasProcessingSession = class {
@@ -300,7 +295,6 @@ var StreamCanvasProcessingSession = class {
300
295
  return this.disposed;
301
296
  }
302
297
  };
303
-
304
298
  //#endregion
305
299
  //#region src/internal/recordings/recordingsRepository.ts
306
300
  async function createRecordingSession(type) {
@@ -316,7 +310,7 @@ async function startRecording(params) {
316
310
  hasAudio: params.hasAudio ?? false
317
311
  })).data;
318
312
  }
319
- async function stopRecording(videoRecordingId) {
313
+ async function stopRecording$1(videoRecordingId) {
320
314
  return (await api.post(endpoints.recordingStopV2, { videoRecordingId })).data;
321
315
  }
322
316
  async function uploadDeepsightVideo(encryptedVideo, token) {
@@ -329,64 +323,6 @@ async function uploadDeepsightVideo(encryptedVideo, token) {
329
323
  return "";
330
324
  }
331
325
  }
332
-
333
- //#endregion
334
- //#region src/modules/selfie/selfieUploadService.ts
335
- /**
336
- * Uploads a selfie image to the backend.
337
- */
338
- async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, metadata, recordingId, imageType = "selfie", deepsightService }) {
339
- try {
340
- const payload = {
341
- base64Image: encryptedBase64Image,
342
- faceCoordinates: faceCoordinates ?? void 0,
343
- encrypted: true,
344
- clientInfo: { deviceClass: getDeviceClass() },
345
- metadata: metadata ?? void 0
346
- };
347
- const query = { imageType };
348
- if (recordingId) query.recordingId = recordingId;
349
- const res = await api.post(endpoints.selfie, payload, {
350
- signal,
351
- query
352
- });
353
- if (!res.ok) throw new Error(`POST ${endpoints.selfie} failed: ${res.status} ${res.statusText}`);
354
- if (deepsightService) addDeviceStats({
355
- frontIdStatsAnalysisStatus: "",
356
- backIdStatsAnalysisStatus: "",
357
- selfieStatsAnalysisStatus: deepsightService.getAnalysisStatus(),
358
- motionStatus: deepsightService.getMotionStatus()
359
- });
360
- return res.data;
361
- } catch (error) {
362
- const errorCode = getFaceErrorCodeFromHttpError(error);
363
- if (errorCode) throw new Error(errorCode);
364
- throw new Error(FACE_ERROR_CODES.SERVER);
365
- }
366
- }
367
- const getFaceErrorCodeFromHttpError = (error) => {
368
- const err = error;
369
- if (err.ok !== false || typeof err.status !== "number") return;
370
- if (err.status !== 400) return FACE_ERROR_CODES.SERVER;
371
- if (typeof err.data?.status !== "number") return FACE_ERROR_CODES.BAD_REQUEST;
372
- return {
373
- 3004: FACE_ERROR_CODES.FACE_NOT_FOUND,
374
- 3005: FACE_ERROR_CODES.FACE_NOT_FOUND,
375
- 3006: FACE_ERROR_CODES.TOO_BLURRY,
376
- 3007: FACE_ERROR_CODES.TOO_DARK,
377
- 4010: FACE_ERROR_CODES.MULTIPLE_FACES,
378
- 4019: FACE_ERROR_CODES.FACE_NOT_FOUND,
379
- 4077: FACE_ERROR_CODES.BAD_PHOTO_QUALITY,
380
- 4078: FACE_ERROR_CODES.FACE_OCCLUDED
381
- }[err.data.status] ?? FACE_ERROR_CODES.BAD_REQUEST;
382
- };
383
- async function processFace(imageType = "selfie", signal) {
384
- return (await api.post(endpoints.processFace, {}, {
385
- query: { imageType },
386
- signal
387
- })).data;
388
- }
389
-
390
326
  //#endregion
391
327
  //#region src/internal/faceCapture/faceCaptureServices.ts
392
328
  const ONDEVICE_AUTOCAPTURE_INTERVAL_MS = 2147483647;
@@ -540,7 +476,7 @@ function buildResolutionFromStream(stream) {
540
476
  if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
541
477
  }
542
478
  async function createOpenViduRecordingProvider() {
543
- const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-xR5osKzW.esm.js");
479
+ const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-Du98qevC.esm.js");
544
480
  return new OpenViduRecordingProvider();
545
481
  }
546
482
  async function startRecordingSession(params) {
@@ -572,21 +508,20 @@ async function startRecordingSession(params) {
572
508
  hasAudio
573
509
  };
574
510
  }
575
- async function stopRecording$1(session) {
511
+ async function stopRecording(session) {
576
512
  try {
577
- await stopRecording(session.videoRecordingId);
513
+ await stopRecording$1(session.videoRecordingId);
578
514
  } finally {
579
515
  await session.connection.disconnect();
580
516
  }
581
517
  }
582
518
  async function initializeDeepsightSession(options) {
583
- const { loadDeepsightSession } = await import("./deepsightLoader-BppeThau.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-CQWGVLP0.esm.js");
584
520
  return loadDeepsightSession({
585
521
  ds: options.ds,
586
522
  storage: options.storage
587
523
  });
588
524
  }
589
-
590
525
  //#endregion
591
526
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
592
527
  /**
@@ -698,6 +633,5 @@ async function postOnDeviceFaceResults(ctx, signal) {
698
633
  timeout: 3e4
699
634
  }) ?? {};
700
635
  }
701
-
702
636
  //#endregion
703
- export { stopRecording as _, encryptSelfieImage as a, FaceDetectionProvider as b, sendLabelInspectionEvent as c, stopRecording$1 as d, stopStream as f, startRecording as g, createRecordingSession as h, prepareOnDeviceFaceUpload as i, startDetection as l, uploadSelfie as m, isOnDeviceMode as n, initializeCamera as o, processFace as p, postOnDeviceFaceResults as r, initializeDeepsightSession as s, defaultPrepareFaceUpload as t, startRecordingSession as u, uploadDeepsightVideo as v, StreamCanvasProcessingSession as y };
637
+ export { StreamCanvasProcessingSession as _, encryptSelfieImage as a, sendLabelInspectionEvent as c, stopRecording as d, stopStream as f, uploadDeepsightVideo as g, stopRecording$1 as h, prepareOnDeviceFaceUpload as i, startDetection as l, startRecording as m, isOnDeviceMode as n, initializeCamera as o, createRecordingSession as p, postOnDeviceFaceResults as r, initializeDeepsightSession as s, defaultPrepareFaceUpload as t, startRecordingSession as u, FaceDetectionProvider as v };
@@ -0,0 +1,10 @@
1
+ import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
2
+ //#region ../infra/src/providers/browser/openviduLazy.ts
3
+ let openViduImport;
4
+ async function loadOpenVidu() {
5
+ if (openViduImport) return openViduImport;
6
+ openViduImport = import("./lib-DAyUtOTj.esm.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
7
+ return openViduImport;
8
+ }
9
+ //#endregion
10
+ export { loadOpenVidu };
@@ -1,5 +1,4 @@
1
1
  //#region src/shared/otp.d.ts
2
-
3
2
  /** Client-side OTP validation errors, keyed by field. Empty when valid. */
4
3
  type OtpValidationErrors = {
5
4
  otp?: string;
@@ -1,20 +1,10 @@
1
- //#region src/shared/otp.ts
2
- /**
3
- * Expected length of an OTP verification code.
4
- *
5
- * Owned by Core so the phone, email, and government-validation modules — and
6
- * the UI (via each manager's exposed `otpLength`) — agree on a single value.
7
- * This is a pure leaf utility: modules import it independently, so it never
8
- * introduces a dependency between them.
9
- */
10
- const OTP_CODE_LENGTH = 6;
11
1
  /** Validation-error code for an OTP code that is not yet complete. */
12
2
  const OTP_INCOMPLETE_ERROR = "incompleteOtp";
13
3
  /**
14
4
  * Returns true when the code has exactly the expected number of characters.
15
5
  * Normalization (casing, stripping separators) is the caller's responsibility.
16
6
  */
17
- function isOtpComplete(code, length = OTP_CODE_LENGTH) {
7
+ function isOtpComplete(code, length = 6) {
18
8
  return code.length === length;
19
9
  }
20
10
  /**
@@ -24,10 +14,9 @@ function isOtpComplete(code, length = OTP_CODE_LENGTH) {
24
14
  * empty), or an empty object when complete. Mirrors the phone/email
25
15
  * `computeValidationErrors` shape so state machines can treat it identically.
26
16
  */
27
- function computeOtpValidationErrors(code, length = OTP_CODE_LENGTH) {
17
+ function computeOtpValidationErrors(code, length = 6) {
28
18
  if (!isOtpComplete(code, length)) return { otp: OTP_INCOMPLETE_ERROR };
29
19
  return {};
30
20
  }
31
-
32
21
  //#endregion
33
- export { computeOtpValidationErrors as n, isOtpComplete as r, OTP_CODE_LENGTH as t };
22
+ export { isOtpComplete as n, computeOtpValidationErrors as t };
@@ -1,5 +1,4 @@
1
- import { a as isWasmMotionPrimedForModule } from "./permissionServices-B7lD6fiG.esm.js";
2
-
1
+ import { a as isWasmMotionPrimedForModule } from "./permissionServices-DwNCUB2I.esm.js";
3
2
  //#region src/internal/permissions/permissionGuards.ts
4
3
  function resolveStoredPermissionResult(fromEvent, fromContext) {
5
4
  if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
@@ -18,6 +17,5 @@ function needsMotionPrimeOnlyFromPermission(permissionResult, ds) {
18
17
  if (ds !== true) return false;
19
18
  return !isWasmMotionPrimedForModule();
20
19
  }
21
-
22
20
  //#endregion
23
- export { needsMotionPrimeOnlyFromPermission as n, resolveStoredPermissionResult as r, isReadyForCaptureFromPermission as t };
21
+ export { needsMotionPrimeOnlyFromPermission as n, resolveStoredPermissionResult as r, isReadyForCaptureFromPermission as t };