@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.10

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 (220) hide show
  1. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  2. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  3. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +9 -9
  4. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  5. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  6. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
  7. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  8. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
  9. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
  10. package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
  11. package/dist/ae-signature.esm.js +1 -1
  12. package/dist/antifraud.esm.js +2 -2
  13. package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
  14. package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
  15. package/dist/{api-CpP4PS4S.esm.js → api-BSnbg4HO.esm.js} +2 -0
  16. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
  17. package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-zQH85Elh.esm.js} +1 -1
  18. package/dist/authentication.d.ts +3 -3
  19. package/dist/authentication.esm.js +2 -2
  20. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
  21. package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
  22. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
  23. package/dist/avatar.d.ts +1 -1
  24. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
  25. package/dist/camera.esm.js +1 -1
  26. package/dist/certificate-issuance.esm.js +2 -2
  27. package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
  28. package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
  29. package/dist/consent.d.ts +1 -1
  30. package/dist/consent.esm.js +2 -2
  31. package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-7aHaehwF.d.ts} +6 -6
  32. package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
  33. package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
  34. package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
  35. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  36. package/dist/cross-document-data-match.esm.js +1 -1
  37. package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
  38. package/dist/curp-validation.d.ts +1 -1
  39. package/dist/curp-validation.esm.js +2 -2
  40. package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
  41. package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
  42. package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
  43. package/dist/custom-fields.esm.js +1 -1
  44. package/dist/custom-watchlist.esm.js +2 -2
  45. package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
  46. package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
  47. package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
  48. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +5 -5
  49. package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-BHNxbuiv.esm.js} +2 -72
  50. package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +4 -4
  51. package/dist/document-capture.d.ts +1 -1
  52. package/dist/document-capture.esm.js +2 -2
  53. package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +2 -2
  54. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
  55. package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +4 -4
  56. package/dist/dynamic-forms.esm.js +2 -2
  57. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
  58. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
  59. package/dist/ekyb.d.ts +1 -1
  60. package/dist/ekyb.esm.js +2 -2
  61. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
  62. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +6 -4
  63. package/dist/ekyc-prefill.d.ts +17 -0
  64. package/dist/ekyc-prefill.esm.js +3 -0
  65. package/dist/ekyc.d.ts +2 -2
  66. package/dist/ekyc.esm.js +3 -3
  67. package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
  68. package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-q1fos6IY.d.ts} +1 -1
  69. package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
  70. package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
  71. package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
  72. package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
  73. package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-DBTczgGE.esm.js} +584 -534
  74. package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-Dcff8BOD.esm.js} +24 -6
  75. package/dist/electronic-signature.esm.js +1 -1
  76. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
  77. package/dist/email.esm.js +2 -2
  78. package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
  79. package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
  80. package/dist/{events-ggpBBaZ8.esm.js → events-C7h7oaTE.esm.js} +1 -1
  81. package/dist/events.esm.js +1 -1
  82. package/dist/extensibility.d.ts +18 -17
  83. package/dist/extensibility.esm.js +37 -36
  84. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  85. package/dist/face-match.d.ts +1 -1
  86. package/dist/face-match.esm.js +2 -2
  87. package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
  88. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
  89. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +11 -11
  90. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
  91. package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
  92. package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
  93. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-CmKTG_T5.esm.js} +1 -1
  94. package/dist/feature-management.esm.js +1 -1
  95. package/dist/field-comparison.esm.js +1 -1
  96. package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
  97. package/dist/fiscal-qr.esm.js +1 -1
  98. package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +2 -2
  99. package/dist/flow-events.d.ts +1 -1
  100. package/dist/flow.d.ts +31 -16
  101. package/dist/flow.esm.js +76 -15
  102. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
  103. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-Ca2vKNt2.esm.js} +29 -10
  104. package/dist/geolocation.esm.js +2 -2
  105. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
  106. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
  107. package/dist/government-validation.esm.js +2 -2
  108. package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
  109. package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
  110. package/dist/home.d.ts +1 -1
  111. package/dist/home.esm.js +1 -1
  112. package/dist/http.esm.js +1 -1
  113. package/dist/id-ocr.d.ts +2 -2
  114. package/dist/id-ocr.esm.js +3 -19
  115. package/dist/id-selfie-flow.d.ts +3 -3
  116. package/dist/id-selfie-flow.esm.js +8 -8
  117. package/dist/id-verification.esm.js +2 -2
  118. package/dist/id.d.ts +3 -3
  119. package/dist/id.esm.js +3 -3
  120. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
  121. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-B5xqok0L.esm.js} +8 -8
  122. package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-CG8zbAp0.d.ts} +7 -7
  123. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-BIF_7rub.esm.js} +6 -6
  124. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +47 -19
  125. package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
  126. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-B5xeI2lg.d.ts} +2 -2
  127. package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
  128. package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
  129. package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
  130. package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
  131. package/dist/identity-reuse.esm.js +2 -2
  132. package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
  133. package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
  134. package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
  135. package/dist/{index-DC0P2Vzw.d.ts → index-CSPOoqah.d.ts} +1 -1
  136. package/dist/index.d.ts +1 -1
  137. package/dist/index.esm.js +1 -1
  138. package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
  139. package/dist/kyb-checks.esm.js +2 -2
  140. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CnqwgKoV.esm.js} +1 -1
  141. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Be41K_NS.esm.js} +5 -4
  142. package/dist/mandatory-consent.d.ts +2 -2
  143. package/dist/mandatory-consent.esm.js +2 -2
  144. package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +22 -13
  145. package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
  146. package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
  147. package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-CCiRpByl.esm.js} +2 -2
  148. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
  149. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-CZpORUWY.esm.js} +1 -1
  150. package/dist/phone.esm.js +2 -2
  151. package/dist/{phoneFormat-JJNaWthV.esm.js → phoneFormat-DEpESpz2.esm.js} +13 -1
  152. package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-C-qD3p3N.esm.js} +2 -2
  153. package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-BdR1nmSO.esm.js} +1 -1
  154. package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +2 -2
  155. package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
  156. package/dist/qe-signature.esm.js +1 -1
  157. package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-BVSCo0ac.esm.js} +3 -3
  158. package/dist/redirect-to-mobile.esm.js +2 -2
  159. package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +2 -2
  160. package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +2 -2
  161. package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-f9PhUo9j.esm.js} +1 -209
  162. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
  163. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
  164. package/dist/selfie.d.ts +4 -4
  165. package/dist/selfie.esm.js +10 -10
  166. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
  167. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
  168. package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
  169. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
  170. package/dist/{session-CdSX4wsZ.esm.js → session-D0DWDKp9.esm.js} +4 -4
  171. package/dist/session.d.ts +2 -2
  172. package/dist/session.esm.js +5 -5
  173. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-I92b2dmL.esm.js} +20 -9
  174. package/dist/{setup-DDahygZs.esm.js → setup-BpjzWqR1.esm.js} +12 -15
  175. package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
  176. package/dist/signature.esm.js +2 -2
  177. package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
  178. package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
  179. package/dist/{stats-CatA2dea.esm.js → stats-C2sigf9p.esm.js} +1 -1
  180. package/dist/stats.esm.js +1 -1
  181. package/dist/step-up.d.ts +378 -0
  182. package/dist/step-up.esm.js +639 -0
  183. package/dist/{tri-DG6priFa.esm.js → tri-DaUNvo-o.esm.js} +29 -34
  184. package/dist/tri.d.ts +2 -2
  185. package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
  186. package/dist/tri.esm.js +2 -2
  187. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
  188. package/dist/trust-graph.esm.js +1 -1
  189. package/dist/types-B-PIc0en.d.ts +115 -0
  190. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  191. package/dist/{types-BPm1JSu7.d.ts → types-BqlZSoZ-.d.ts} +5 -5
  192. package/dist/{types-Csh8vzPo.d.ts → types-Cbm9J2yF.d.ts} +1 -1
  193. package/dist/{types-BEVHQbbC.d.ts → types-CgihAhT_.d.ts} +3 -3
  194. package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
  195. package/dist/{types-Cd0J0F9D.d.ts → types-P9LzsfRo.d.ts} +3 -2
  196. package/dist/{types-CRaFu6wS.d.ts → types-TisHEbBg.d.ts} +9 -3
  197. package/dist/types-kLsU6Jkt.d.ts +6 -0
  198. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  199. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  200. package/dist/video-selfie.d.ts +5 -4
  201. package/dist/video-selfie.esm.js +8 -8
  202. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +14 -12
  203. package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
  204. package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
  205. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  206. package/dist/wasm.d.ts +9 -3
  207. package/dist/wasm.esm.js +3 -3
  208. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
  209. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
  210. package/dist/watchlist-for-business.esm.js +2 -2
  211. package/dist/watchlist.esm.js +2 -2
  212. package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
  213. package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
  214. package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
  215. package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
  216. package/dist/workflow.d.ts +226 -41
  217. package/dist/workflow.esm.js +157 -61
  218. package/package.json +11 -1
  219. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  220. package/dist/types-J6g6iKe_.d.ts +0 -6
@@ -1,5 +1,5 @@
1
- import { c as WasmPipeline } from "./warmup-BO57syF6.js";
2
- import { _ as MLProviderConfig } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-BimBTONm.js";
3
3
  //#region ../infra/src/wasm/WasmPipelineType.d.ts
4
4
  declare enum WasmPipelineType {
5
5
  IdBlurGlarePipeline = 0,
@@ -0,0 +1,25 @@
1
+ //#region ../infra/src/providers/browser/DateFormattingProvider.ts
2
+ var DateFormattingProvider = class {
3
+ utcToIsoDateString(value) {
4
+ if (value === void 0 || value === null || value === "") return "";
5
+ const date = new Date(value);
6
+ if (Number.isNaN(date.getTime())) return "";
7
+ return `${date.getUTCFullYear()}-${String(date.getUTCMonth() + 1).padStart(2, "0")}-${String(date.getUTCDate()).padStart(2, "0")}`;
8
+ }
9
+ parseIsoDateStringToEpochMs(value) {
10
+ return Date.parse(value);
11
+ }
12
+ getAgeInYears(birthDate, referenceEpochMs) {
13
+ const now = new Date(referenceEpochMs);
14
+ const birth = typeof birthDate === "string" && /^\d{4}-\d{2}-\d{2}$/.test(birthDate) ? (() => {
15
+ const [y, m, d] = birthDate.split("-").map(Number);
16
+ return new Date(y, m - 1, d);
17
+ })() : new Date(birthDate);
18
+ let age = now.getFullYear() - birth.getFullYear();
19
+ const monthDiff = now.getMonth() - birth.getMonth();
20
+ if (monthDiff < 0 || monthDiff === 0 && now.getDate() < birth.getDate()) age--;
21
+ return age;
22
+ }
23
+ };
24
+ //#endregion
25
+ export { DateFormattingProvider as t };
@@ -1,15 +1,15 @@
1
- import { l as wasmRuntime } from "./warmup-DtB0DJpl.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DDahygZs.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
4
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-GuLthUVK.esm.js";
6
- import "./sessionInitializer-DsL7X2j9.esm.js";
7
- import { t as addDeviceStats } from "./stats-CatA2dea.esm.js";
1
+ import { l as wasmRuntime } from "./warmup-9iKKNNuW.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
4
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DHYTBCIn.esm.js";
6
+ import "./sessionInitializer-I92b2dmL.esm.js";
7
+ import { t as addDeviceStats } from "./stats-C2sigf9p.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { n as saveProcessFaceMatch } from "./processFaceMatch-Bst83HaS.esm.js";
12
+ import { n as saveProcessFaceMatch } from "./processFaceMatch-B1YnoBer.esm.js";
13
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
14
14
  /**
15
15
  * On-device still-face capture is owned by the protected camera-cycle actor.
@@ -235,7 +235,7 @@ function startDetection(params) {
235
235
  };
236
236
  }
237
237
  async function initializeDeepsightSession(options) {
238
- const { loadDeepsightSession } = await import("./deepsightLoader-B7DEYoyY.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-BKCT8UT1.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
241
  storage: options.storage
@@ -1,5 +1,5 @@
1
- import "./warmup-BO57syF6.js";
2
- import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import "./warmup-BNhIuURi.js";
2
+ import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
3
3
  //#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
4
4
  /**
5
5
  * Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
@@ -1,5 +1,5 @@
1
- import { c as WasmPipeline } from "./warmup-BO57syF6.js";
2
- import { _ as MLProviderConfig } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-BimBTONm.js";
3
3
  //#region ../infra/src/capabilities/IStorageCapability.d.ts
4
4
  /**
5
5
  * Storage capability interface for abstracting storage operations.
@@ -37,6 +37,7 @@ var MultipartRecordingProvider = class {
37
37
  this.mimeType = "";
38
38
  this.partNumber = 0;
39
39
  this.onPart = null;
40
+ this.settleStop = null;
40
41
  }
41
42
  get isRecording() {
42
43
  return this._isRecording;
@@ -117,7 +118,9 @@ var MultipartRecordingProvider = class {
117
118
  const recorder = this.mediaRecorder;
118
119
  return new Promise((resolve) => {
119
120
  if (recorder && this._isRecording) {
121
+ this.settleStop = resolve;
120
122
  recorder.onstop = () => {
123
+ this.settleStop = null;
121
124
  resolve();
122
125
  };
123
126
  recorder.stop();
@@ -136,6 +139,8 @@ var MultipartRecordingProvider = class {
136
139
  recorder.stream.getTracks().forEach((track) => track.stop());
137
140
  this.mediaRecorder = null;
138
141
  }
142
+ this.settleStop?.();
143
+ this.settleStop = null;
139
144
  this.onPart = null;
140
145
  this._isRecording = false;
141
146
  this._error = null;
@@ -1,5 +1,5 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
2
- import "./IWasmUtilCapability-Cqiaxydi.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
+ import "./IWasmUtilCapability-BRn0wz8v.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
5
5
  type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-BDrax6Eu.esm.js";
3
- import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-DtB0DJpl.esm.js";
2
+ import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-C3v3s_4H.esm.js";
3
+ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-9iKKNNuW.esm.js";
4
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
5
5
  /**
6
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-D9mauUdS.esm.js";
2
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
3
3
  //#region ../infra/src/providers/browser/WorkerEncoderRecordingProvider.ts
4
4
  var WorkerEncoderRecordingProvider_exports = /* @__PURE__ */ __exportAll({ WorkerEncoderRecordingProvider: () => WorkerEncoderRecordingProvider });
5
5
  /**
@@ -0,0 +1,72 @@
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
+ import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
+ //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
5
+ /**
6
+ * The rollout switch for form definitions (ENG-59781): one all-or-nothing
7
+ * answer to "do eKYC and eKYB build their forms from catalog definitions, or
8
+ * with today's builders?". Both module adapters ask it before selecting a
9
+ * definition (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
10
+ * (`internal/forms`) knows nothing about it.
11
+ *
12
+ * Off by default, so every source and country keeps today's builder. A
13
+ * catalog-only eKYC source, one today's builder never knew, uses its
14
+ * definition either way, since it has no old path to fall back to.
15
+ *
16
+ * This is Incode's rollout decision, not the integrator's: it is not a
17
+ * `setup()` option. It stays a constant: customers move to definitions only
18
+ * once the migration is done, so it is turned on in code at that point.
19
+ */
20
+ const ENABLED_BY_DEFAULT = false;
21
+ /** Whether sources and countries with a form definition use it. */
22
+ function isFormDefinitionsEnabled() {
23
+ return ENABLED_BY_DEFAULT;
24
+ }
25
+ //#endregion
26
+ //#region src/shared/addressSearch.ts
27
+ /** Searches for address suggestions via the address autocomplete API. */
28
+ async function searchAddress(query, signal) {
29
+ const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
30
+ if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
31
+ return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
32
+ const addr = item.address ?? item;
33
+ return {
34
+ id: item.id ?? i,
35
+ label: addr.label ?? item.title ?? "",
36
+ street: addr.street,
37
+ city: addr.city,
38
+ stateCode: addr.stateCode ?? addr.state,
39
+ postalCode: addr.postalCode,
40
+ houseNumber: addr.houseNumber,
41
+ countryCode: addr.countryCode
42
+ };
43
+ }) } };
44
+ }
45
+ const DEBOUNCE_MS = 300;
46
+ /**
47
+ * XState callback actor that debounces address search requests.
48
+ * Cancels in-flight HTTP requests when the actor is stopped.
49
+ */
50
+ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
51
+ const timerProvider = BrowserTimerProvider.getInstance();
52
+ const controller = new AbortController();
53
+ const handle = timerProvider.setTimeout(async () => {
54
+ try {
55
+ sendBack({
56
+ type: "RESULTS",
57
+ suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
58
+ });
59
+ } catch {
60
+ if (!controller.signal.aborted) sendBack({
61
+ type: "RESULTS",
62
+ suggestions: []
63
+ });
64
+ }
65
+ }, DEBOUNCE_MS);
66
+ return () => {
67
+ timerProvider.clearTimeout(handle);
68
+ controller.abort();
69
+ };
70
+ });
71
+ //#endregion
72
+ export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BCE3uA3z.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BKQuhJm_.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BObuHBjn.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-CX9I2f3s.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BWCVkSu2.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-CX9I2f3s.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/antifraud/antifraudServices.ts
@@ -64,6 +64,7 @@ const endpoints = {
64
64
  addGeolocation: "/omni/add/geolocation",
65
65
  ekycSubmit: "/omni/externalVerification/ekyc",
66
66
  ekybSubmit: "/omni/externalVerification/ekyb",
67
+ ekycPrefillSubmit: "/omni/externalVerification/ekyc-prefill",
67
68
  kybForm: "/omni/kyb/form",
68
69
  kybSubmit: "/omni/kyb",
69
70
  getCombinedConsent: "/omni/get/combined-consent",
@@ -80,6 +81,7 @@ const endpoints = {
80
81
  documentLegacy: "/omni/add/document",
81
82
  cfdi: "/omni/process/cfdi",
82
83
  finishStatus: "/omni/finish-status",
84
+ redirectionUrl: "/omni/redirection-url",
83
85
  sessionTotalScoreStatus: "/omni/session/total-score-status",
84
86
  updateSession: "/omni/update",
85
87
  onboardingUrl: "/omni/onboarding-url",
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-GuLthUVK.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DHYTBCIn.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { r as getToken } from "./api-CpP4PS4S.esm.js";
1
+ import { r as getToken } from "./api-BSnbg4HO.esm.js";
2
2
  import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
3
3
  //#region src/internal/session/attemptCarry.ts
4
4
  const carried = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DV2ULUYS.js";
2
- import { t as AuthenticationConfig } from "./types-J6g6iKe_.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CWmh7aSY.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BVwVGa3z.js";
2
+ import { t as AuthenticationConfig } from "./types-kLsU6Jkt.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CISxaY6N.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-BMbZL8wm.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DjX0XDyH.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BMD1JLwr.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BoiOaB0m.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-DDahygZs.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
3
- import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
3
+ import { n as eventModuleNames } from "./events-C7h7oaTE.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dp90bedH.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BMbZL8wm.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ClFsByZc.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BMD1JLwr.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DV2ULUYS.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BVwVGa3z.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-ZfiWg0fo.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAY43vSI.esm.js";
5
- import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BGMtYwk3.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-9hv5GC_H.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
5
+ import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Dvvw7PRY.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
package/dist/avatar.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-BimBTONm.js";
2
2
  export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261102213217-fdf43aaae774e4a47feac9e29a928f023032fafd/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261112162640-0cc1fcb5184789f8e4473bfd48740731dbeb295a/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
2
2
  var n = {};
3
3
  var t = Uint8Array;
4
4
  var i = Uint16Array;
@@ -1,2 +1,2 @@
1
- import { a as requestPermission, t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
1
+ import { a as requestPermission, t as checkPermission } from "./permissionServices-CZpORUWY.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -1,3 +1,3 @@
1
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DThXMDqr.esm.js";
2
- import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-C1nETQos.esm.js";
1
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BAOYLACb.esm.js";
2
+ import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-DzDuQTsK.esm.js";
3
3
  export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DThXMDqr.esm.js";
3
+ import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BAOYLACb.esm.js";
4
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
5
5
  /**
6
6
  * Creates and starts a certificate issuance actor.
@@ -1,7 +1,7 @@
1
- import { n as getApi, r as getToken, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { n as getApi, r as getToken, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
- import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
4
+ import { t as externalFetch } from "./externalFetch-cUjJYyXj.esm.js";
5
5
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
6
6
  function buildIssueCertificateUrl(baseURL) {
7
7
  return `${baseURL.endsWith("/") ? baseURL.slice(0, -1) : baseURL}${endpoints.certificateIssuanceIssue}`;
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-bjfVXO7p.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-7aHaehwF.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-DIYSMxKQ.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DMlSL6Ax.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-4nZIH2O8.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DFSKQTcR.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,16 +78,12 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
- setLoadError: {
82
- type: "setLoadError";
83
- params: NonReducibleUnknown;
84
- };
85
81
  clearError: {
86
82
  type: "clearError";
87
83
  params: NonReducibleUnknown;
88
84
  };
89
- resetContext: {
90
- type: "resetContext";
85
+ setLoadError: {
86
+ type: "setLoadError";
91
87
  params: NonReducibleUnknown;
92
88
  };
93
89
  setConsentData: {
@@ -98,6 +94,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
98
94
  type: "toggleCheckbox";
99
95
  params: NonReducibleUnknown;
100
96
  };
97
+ resetContext: {
98
+ type: "resetContext";
99
+ params: NonReducibleUnknown;
100
+ };
101
101
  }>, {
102
102
  type: "canSubmit";
103
103
  params: unknown;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as consentMachine } from "./consentStateMachine-DIYSMxKQ.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-4nZIH2O8.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/consent/consentServices.ts
@@ -1,27 +1,3 @@
1
- //#region ../infra/src/providers/browser/DateFormattingProvider.ts
2
- var DateFormattingProvider = class {
3
- utcToIsoDateString(value) {
4
- if (value === void 0 || value === null || value === "") return "";
5
- const date = new Date(value);
6
- if (Number.isNaN(date.getTime())) return "";
7
- return `${date.getUTCFullYear()}-${String(date.getUTCMonth() + 1).padStart(2, "0")}-${String(date.getUTCDate()).padStart(2, "0")}`;
8
- }
9
- parseIsoDateStringToEpochMs(value) {
10
- return Date.parse(value);
11
- }
12
- getAgeInYears(birthDate, referenceEpochMs) {
13
- const now = new Date(referenceEpochMs);
14
- const birth = typeof birthDate === "string" && /^\d{4}-\d{2}-\d{2}$/.test(birthDate) ? (() => {
15
- const [y, m, d] = birthDate.split("-").map(Number);
16
- return new Date(y, m - 1, d);
17
- })() : new Date(birthDate);
18
- let age = now.getFullYear() - birth.getFullYear();
19
- const monthDiff = now.getMonth() - birth.getMonth();
20
- if (monthDiff < 0 || monthDiff === 0 && now.getDate() < birth.getDate()) age--;
21
- return age;
22
- }
23
- };
24
- //#endregion
25
1
  //#region src/shared/validators/cpf.ts
26
2
  const INVALID_CPF_PATTERNS = [
27
3
  "00000000000",
@@ -58,4 +34,4 @@ function validateCPF(cpfString) {
58
34
  return true;
59
35
  }
60
36
  //#endregion
61
- export { DateFormattingProvider as n, validateCPF as t };
37
+ export { validateCPF as t };
@@ -1,4 +1,4 @@
1
- import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-BO57syF6.js";
1
+ import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-BNhIuURi.js";
2
2
  //#region ../infra/src/media/canvas.d.ts
3
3
  /**
4
4
  * Class representing a canvas element for image capture and manipulation.
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BFTdiEDB.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-D7ka2qOC.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
3
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
@@ -1,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-z8428oCM.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DEqTUWdu.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-B3iVsDyt.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DNpC3wyf.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-FB_MRbZQ.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BVTt7IgC.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,8 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
5
- import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-B3iVsDyt.esm.js";
5
+ import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-FB_MRbZQ.esm.js";
6
6
  //#region src/modules/curp-validation/curpValidationActor.ts
7
7
  function createCurpValidationActor(options) {
8
8
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
4
+ import { i as FlowModuleConfig } from "./types-TisHEbBg.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,7 +1,7 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
- import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
4
+ import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
5
5
  import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
6
6
  //#region src/modules/curp-validation/curpValidationUtils.ts
7
7
  /** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
@@ -1,2 +1,2 @@
1
- import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-CvI-pDT3.esm.js";
1
+ import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-gbsq53p6.esm.js";
2
2
  export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -1,3 +1,3 @@
1
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CiVD9wyF.esm.js";
2
- import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-BuHtUb0y.esm.js";
1
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CpEVPzuT.esm.js";
2
+ import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-50APwk4Z.esm.js";
3
3
  export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CiVD9wyF.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CpEVPzuT.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
6
  function createCustomWatchlistActor() {
7
7
  return createActor(customWatchlistMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/custom-watchlist/customWatchlistServices.ts