@incodetech/core 2.5.0-agentic.2 → 2.5.0-agentic.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/{FaceDetectionProvider-ClZEDaLF.esm.js → FaceDetectionProvider-B2OEnDt2.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CWjo9dzH.esm.js → apiError-Do_ENltS.esm.js} +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-D_qFuB3y.esm.js → authenticationManager-BWEV6aMx.esm.js} +3 -3
  7. package/dist/{authenticationManager-CkD0JR7Q.d.ts → authenticationManager-D_dz2zK4.d.ts} +1 -1
  8. package/dist/{authenticationStateMachine-DJJWTDZS.esm.js → authenticationStateMachine-BkWq_E_G.esm.js} +3 -3
  9. package/dist/{browser-pQZA35G2-B4Dwja1e.esm.js → browser-pQZA35G2-DveVe0Ui.esm.js} +1 -1
  10. package/dist/consent.d.ts +1 -1
  11. package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-CMed_O5F.d.ts} +8 -8
  12. package/dist/curp-validation.d.ts +1 -1
  13. package/dist/{curpValidationManager-HOidAKvT.d.ts → curpValidationManager-tNhzv7vZ.d.ts} +1 -1
  14. package/dist/{deepsightCaptureConfig-XPx0BN30.esm.js → deepsightCaptureConfig-STnq4lRZ.esm.js} +2 -2
  15. package/dist/{deepsightLoader-Bvs8HYaK.esm.js → deepsightLoader-BmGlg8gs.esm.js} +4 -4
  16. package/dist/{desktopCameraElection-CdrLiJTn.esm.js → desktopCameraElection-D3qtcsc2.esm.js} +4 -4
  17. package/dist/document-capture.d.ts +1 -1
  18. package/dist/document-signature.esm.js +1 -1
  19. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
  20. package/dist/{documentSignatureStateMachine-oqU3EPca.esm.js → documentSignatureStateMachine-BCoecPrg.esm.js} +1 -1
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-YGL7Avp-.esm.js → dynamicFormsManager-DvulYgm9.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-BE_WfmVE.esm.js → dynamicFormsStateMachine-BWPSyqdR.esm.js} +1 -1
  24. package/dist/ekyb.d.ts +1 -1
  25. package/dist/ekyb.esm.js +2 -2
  26. package/dist/{ekybManager-35NxvxZK.esm.js → ekybManager-fcUtnlB1.esm.js} +1 -1
  27. package/dist/{ekybStateMachine-BD4zpC3O.esm.js → ekybStateMachine-CnBuED_Y.esm.js} +1 -1
  28. package/dist/ekyc-prefill.d.ts +1 -1
  29. package/dist/ekyc-prefill.esm.js +2 -2
  30. package/dist/ekyc.d.ts +2 -2
  31. package/dist/ekyc.esm.js +3 -3
  32. package/dist/{ekycManager-D2K8AaMV.esm.js → ekycManager-SUIAHlrm.esm.js} +1 -1
  33. package/dist/{ekycManager-DusmB-4j.d.ts → ekycManager-mv2rWxc4.d.ts} +1 -1
  34. package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +30 -30
  35. package/dist/{ekycPrefillManager-CxzjSch2.esm.js → ekycPrefillManager-fergzYJh.esm.js} +1 -1
  36. package/dist/{ekycPrefillStateMachine-x6skDqhq.esm.js → ekycPrefillStateMachine-C-__JKhu.esm.js} +21 -4
  37. package/dist/{ekycStateMachine-6EKndBd7.esm.js → ekycStateMachine-Czn2CaTV.esm.js} +134 -3
  38. package/dist/{ekycUtils-C6HZB46m.esm.js → ekycUtils-BnTyeA-_.esm.js} +12 -0
  39. package/dist/electronic-signature.esm.js +1 -1
  40. package/dist/{electronicSignatureManager-BYJHywZK.esm.js → electronicSignatureManager-DPuFQg8k.esm.js} +1 -1
  41. package/dist/extensibility.d.ts +15 -15
  42. package/dist/extensibility.esm.js +13 -13
  43. package/dist/{faceCaptureManagerFactory-D1EJw36F.d.ts → faceCaptureManagerFactory-B1WfKaGJ.d.ts} +3 -3
  44. package/dist/{faceCaptureManagerFactory-CYr2rVEj.esm.js → faceCaptureManagerFactory-B269Ti19.esm.js} +2 -2
  45. package/dist/{faceCaptureSetup-DadLKnMf.esm.js → faceCaptureSetup-BE2mXdnw.esm.js} +7 -7
  46. package/dist/{feature-management-CUzbPq54.esm.js → feature-management-D3DN_V9P.esm.js} +1 -1
  47. package/dist/feature-management.esm.js +1 -1
  48. package/dist/flow-events.d.ts +1 -1
  49. package/dist/flow.d.ts +6 -6
  50. package/dist/flow.esm.js +3 -3
  51. package/dist/{flowCompletionService-BSiUcHmU.esm.js → flowCompletionService-Bax6-9W_.esm.js} +1 -1
  52. package/dist/{flowServices-BIMnpB8Q.esm.js → flowServices-BYgGLgPE.esm.js} +5 -5
  53. package/dist/geolocation.d.ts +1 -1
  54. package/dist/geolocation.esm.js +2 -2
  55. package/dist/{geolocationManager-D7J-rLJp.esm.js → geolocationManager-Cd63r06N.esm.js} +1 -1
  56. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  57. package/dist/{geolocationStateMachine-5g2Quxbz.esm.js → geolocationStateMachine-DQoO2rUR.esm.js} +1 -1
  58. package/dist/home.d.ts +1 -1
  59. package/dist/id-ocr.d.ts +1 -1
  60. package/dist/id-selfie-flow.d.ts +1 -1
  61. package/dist/id-selfie-flow.esm.js +6 -6
  62. package/dist/id.d.ts +2 -2
  63. package/dist/id.esm.js +3 -3
  64. package/dist/{idCaptureManager-Du5jr3gJ.esm.js → idCaptureManager--xW144zw.esm.js} +4 -4
  65. package/dist/{idCaptureManager-CNFBeYgV.d.ts → idCaptureManager-DXqvtLr9.d.ts} +2 -2
  66. package/dist/{idCaptureServices-N0sn1AOF.esm.js → idCaptureServices-Bty5n48M.esm.js} +2 -2
  67. package/dist/{idCaptureStateMachine-CHk0uv1U.esm.js → idCaptureStateMachine-CPbkBqqr.esm.js} +45 -25
  68. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
  69. package/dist/identity-reuse.d.ts +1 -1
  70. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  71. package/dist/{index-bsGvWr9-.d.ts → index-B3BI8mVu.d.ts} +12 -3
  72. package/dist/{index-BoGlwLGK.d.ts → index-BnKhmWhM.d.ts} +1 -1
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.esm.js +1 -1
  75. package/dist/kyb-checks.esm.js +2 -2
  76. package/dist/{kybChecksManager-CDxP2pYP.esm.js → kybChecksManager-DkEmoCbB.esm.js} +1 -1
  77. package/dist/{kybChecksStateMachine-ZOKNXTUx.esm.js → kybChecksStateMachine-D0L-Q2hK.esm.js} +1 -1
  78. package/dist/mandatory-consent.d.ts +2 -2
  79. package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-D2LkPii6.d.ts} +9 -9
  80. package/dist/qe-signature.esm.js +1 -1
  81. package/dist/{recordingService-Cg-DwTxA.esm.js → recordingService-DNPhMMoR.esm.js} +1 -1
  82. package/dist/{runChildModule-Dd-tXDh2.esm.js → runChildModule-C2m6mJ2T.esm.js} +1 -1
  83. package/dist/{numericRange-2e1vw1W0.esm.js → scriptCharacters-D7swUycV.esm.js} +13 -1
  84. package/dist/{sdkVersion-DDHH3E2F.esm.js → sdkVersion-CVMUqXNU.esm.js} +1 -1
  85. package/dist/selfie.d.ts +3 -3
  86. package/dist/selfie.esm.js +7 -7
  87. package/dist/{selfieErrorUtils-Dtm9bDS7.esm.js → selfieErrorUtils-ju7aVrLg.esm.js} +1 -1
  88. package/dist/{selfieManager-CqDlUy6B.d.ts → selfieManager-B2j448t4.d.ts} +1 -1
  89. package/dist/{selfieManager-BYJPzJW1.esm.js → selfieManager-C97OhswU.esm.js} +3 -3
  90. package/dist/{selfieStateMachine-DGg7S9O6.esm.js → selfieStateMachine-gC8Z0QCa.esm.js} +3 -3
  91. package/dist/{session-B49EJzZg.esm.js → session-C7UicQ8z.esm.js} +4 -4
  92. package/dist/session.d.ts +1 -1
  93. package/dist/session.esm.js +4 -4
  94. package/dist/{sessionInitializer-CaY5gnUl.esm.js → sessionInitializer-DCcAcsW_.esm.js} +6 -6
  95. package/dist/{setup-B7SDCbtu.esm.js → setup-D4J8ssM5.esm.js} +8 -7
  96. package/dist/{setup-CTnxQSQW.d.ts → setup-DprzbOsJ.d.ts} +1 -1
  97. package/dist/tri-DMUNbQg9.esm.js +559 -0
  98. package/dist/tri.d.ts +1 -1
  99. package/dist/{tri.esm-CftnGf9w.esm.js → tri.esm-DnXGKdlE.esm.js} +1296 -1057
  100. package/dist/tri.esm.js +1 -1
  101. package/dist/trueSight-S1NuY2y8.esm.js +1 -0
  102. package/dist/{trueSightService-BWDGk571.esm.js → trueSightService-Bv1F3g9Y.esm.js} +1 -1
  103. package/dist/{types-BZsmNYom.d.ts → types-BFoC3IpR.d.ts} +2 -2
  104. package/dist/{types-PnJXvTkV.d.ts → types-BkxI3PHf.d.ts} +1 -1
  105. package/dist/{types-D-FEM1rT.d.ts → types-BxJWsAHc.d.ts} +4 -4
  106. package/dist/{types-HHgsFhZn.d.ts → types-CAzi8tyi.d.ts} +1 -1
  107. package/dist/types-CEdI4tfR.d.ts +6 -0
  108. package/dist/{types-tOSLpcSa.d.ts → types-CkzE2gPZ.d.ts} +5 -0
  109. package/dist/{types-LbccjQYX.d.ts → types-DuARPzVa.d.ts} +1 -1
  110. package/dist/video-selfie.d.ts +1 -1
  111. package/dist/video-selfie.esm.js +3 -3
  112. package/dist/{videoSelfieCameraWarmer-DFhlGeRd.esm.js → videoSelfieCameraWarmer-DIqKYhRB.esm.js} +3 -3
  113. package/dist/{videoSelfieStepDetector-CxOc3kSI.d.ts → videoSelfieStepDetector-CrlbZ-rN.d.ts} +2 -2
  114. package/dist/wasm.d.ts +1 -1
  115. package/dist/wasm.esm.js +1 -1
  116. package/dist/workflow.d.ts +1 -1
  117. package/dist/workflow.esm.js +19 -19
  118. package/package.json +4 -3
  119. package/dist/tri-DBB-iiN3.esm.js +0 -385
  120. package/dist/trueSight-Dg3TSVN7.esm.js +0 -1
  121. package/dist/types-BinnzVrL.d.ts +0 -6
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-B7SDCbtu.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-D4J8ssM5.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-BIMnpB8Q.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-BYgGLgPE.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-ClZEDaLF.esm.js";
9
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-B2OEnDt2.esm.js";
10
10
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNopPetU.esm.js";
12
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-N0sn1AOF.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-Bty5n48M.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-BSiUcHmU.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DFhlGeRd.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-Bax6-9W_.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DIqKYhRB.esm.js";
16
16
  import { t as CameraCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
17
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
18
18
  /** Default autocapture window for the selfie step. */
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CNFBeYgV.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-DXqvtLr9.js";
4
4
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
5
5
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-D-FEM1rT.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BxJWsAHc.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-CHk0uv1U.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Du5jr3gJ.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-N0sn1AOF.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-CPbkBqqr.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager--xW144zw.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-Bty5n48M.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,4 +1,4 @@
1
- import { u as BrowserStorageProvider } from "./setup-B7SDCbtu.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-D4J8ssM5.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
4
4
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
@@ -12,9 +12,9 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Bw-P5OG1.esm.js";
12
12
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
13
13
  import { i as primeMotionFromUserGestureIfNeeded, l as resetWasmMotionPrimedForModule, s as requiresMotionPermissionUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
14
14
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
15
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
16
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-CHk0uv1U.esm.js";
17
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-N0sn1AOF.esm.js";
15
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-STnq4lRZ.esm.js";
16
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-CPbkBqqr.esm.js";
17
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-Bty5n48M.esm.js";
18
18
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
19
19
  //#region src/modules/id/digitalUpload/instrumentation.ts
20
20
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -5,14 +5,14 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-DHuAkTe0.js";
7
7
  import "./createFaceAvatar-Ct9QrQ66.js";
8
- import { a as RegulationTypes } from "./types-BZsmNYom.js";
8
+ import { a as RegulationTypes } from "./types-BFoC3IpR.js";
9
9
  import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-CLWIYHB4.js";
10
10
  import { n as PermissionStatus } from "./types-CeEcakO7.js";
11
11
  import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
12
12
  import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
13
13
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
14
14
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
15
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-D-FEM1rT.js";
15
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BxJWsAHc.js";
16
16
  //#region src/internal/http/endpoints.d.ts
17
17
  /**
18
18
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -1,6 +1,6 @@
1
- import { t as ensureWasmPipelines } from "./setup-B7SDCbtu.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-D4J8ssM5.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CUzbPq54.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-D3DN_V9P.esm.js";
4
4
  import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
5
5
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
6
6
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
@@ -1,17 +1,17 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-B7SDCbtu.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-D4J8ssM5.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
4
4
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
6
6
  import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
7
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BWDGk571.esm.js";
8
- import "./trueSight-Dg3TSVN7.esm.js";
9
- import { t as getDisableIpify } from "./sessionInitializer-CaY5gnUl.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-Bv1F3g9Y.esm.js";
8
+ import "./trueSight-S1NuY2y8.esm.js";
9
+ import { t as getDisableIpify } from "./sessionInitializer-DCcAcsW_.esm.js";
10
10
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
11
- import { s as exposeExperimentOnce } from "./feature-management-CUzbPq54.esm.js";
11
+ import { s as exposeExperimentOnce } from "./feature-management-D3DN_V9P.esm.js";
12
12
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
13
13
  import { d as isSamsungDevice, i as isIOS, l as isMacOsSafari, o as isIPad, s as isIPhone14OrHigher, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
14
- import "./session-B49EJzZg.esm.js";
14
+ import "./session-C7UicQ8z.esm.js";
15
15
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
16
16
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
17
17
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -20,8 +20,8 @@ import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
20
20
  import { a as requestMotionPermission, d as queryPermission, n as checkPermission, r as invokeRequestPermissionActor, s as requiresMotionPermissionUserGesture, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
21
21
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
23
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
24
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-CdrLiJTn.esm.js";
23
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-STnq4lRZ.esm.js";
24
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-D3qtcsc2.esm.js";
25
25
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
26
26
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CZTCRHT-.esm.js";
27
27
  import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
@@ -30,7 +30,7 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
30
30
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
31
31
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
32
32
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CNopPetU.esm.js";
33
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-N0sn1AOF.esm.js";
33
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-Bty5n48M.esm.js";
34
34
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
35
35
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
36
36
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -915,48 +915,48 @@ const DIGITAL_ID_REGISTRY = {
915
915
  }, {
916
916
  kind: "trinsicRedirect",
917
917
  documentType: "digitalIdRedirect",
918
- providerId: "trinsic_mdl_placeholder",
918
+ providerId: "mdl_placeholder",
919
919
  method: "MDL"
920
920
  }],
921
921
  iDIN: [{
922
922
  kind: "trinsicRedirect",
923
923
  documentType: "digitalIdRedirect",
924
- providerId: "trinsic_netherlands_idin",
924
+ providerId: "netherlands_idin",
925
925
  method: "IDIN",
926
926
  countries: ["NL"]
927
927
  }],
928
928
  FTN: [{
929
929
  kind: "trinsicRedirect",
930
930
  documentType: "digitalIdRedirect",
931
- providerId: "trinsic_finnish_trust_network",
931
+ providerId: "finnish_trust_network",
932
932
  method: "FTN",
933
933
  countries: ["FI"]
934
934
  }],
935
935
  itsme: [{
936
936
  kind: "trinsicRedirect",
937
937
  documentType: "digitalIdRedirect",
938
- providerId: "trinsic_belgium_itsme",
938
+ providerId: "belgium_itsme",
939
939
  method: "ITSME",
940
940
  countries: ["BE"]
941
941
  }],
942
942
  SPID: [{
943
943
  kind: "trinsicRedirect",
944
944
  documentType: "digitalIdRedirect",
945
- providerId: "trinsic_italy_spid",
945
+ providerId: "italy_spid",
946
946
  method: "SPID",
947
947
  countries: ["IT"]
948
948
  }],
949
949
  MitID: [{
950
950
  kind: "trinsicRedirect",
951
951
  documentType: "digitalIdRedirect",
952
- providerId: "trinsic_denmark_mitid",
952
+ providerId: "denmark_mitid",
953
953
  method: "MITID",
954
954
  countries: ["DK"]
955
955
  }],
956
956
  BankIDSweden: [{
957
957
  kind: "trinsicRedirect",
958
958
  documentType: "digitalIdRedirect",
959
- providerId: "trinsic_sweden_bankid",
959
+ providerId: "sweden_bankid",
960
960
  method: "BANKID_SWEDEN",
961
961
  countries: ["SE"]
962
962
  }],
@@ -970,21 +970,21 @@ const DIGITAL_ID_REGISTRY = {
970
970
  IdentiteNumerique: [{
971
971
  kind: "trinsicRedirect",
972
972
  documentType: "digitalIdRedirect",
973
- providerId: "trinsic_france_identite_numerique",
973
+ providerId: "france_identite_numerique",
974
974
  method: "IDENTITE_NUMERIQUE",
975
975
  countries: ["FR"]
976
976
  }],
977
977
  LAWallet: [{
978
978
  kind: "trinsicRedirect",
979
979
  documentType: "digitalIdRedirect",
980
- providerId: "trinsic_usa_louisiana_wallet",
980
+ providerId: "usa_louisiana_wallet",
981
981
  method: "LA_WALLET",
982
982
  countries: ["US"]
983
983
  }],
984
984
  DigiLocker: [{
985
985
  kind: "trinsicRedirect",
986
986
  documentType: "digitalIdRedirect",
987
- providerId: "trinsic_india_digilocker_aadhaar",
987
+ providerId: "india_digilocker_aadhaar",
988
988
  method: "DIGILOCKER",
989
989
  countries: ["IN"]
990
990
  }]
@@ -1031,6 +1031,23 @@ const REDIRECT_PROVIDER_BY_METHOD = (() => {
1031
1031
  for (const docType of DIGITAL_ID_DOCUMENT_TYPES) for (const entry of DIGITAL_ID_REGISTRY[docType]) if (entry.kind === "trinsicRedirect") map[entry.method] = entry.providerId;
1032
1032
  return map;
1033
1033
  })();
1034
+ /** The registry's redirect provider ids, in their public (platform-neutral) form. */
1035
+ const REGISTRY_REDIRECT_PROVIDER_IDS = new Set(Object.values(REDIRECT_PROVIDER_BY_METHOD));
1036
+ /** Prefix backends released before the platform-neutral ids put on provider ids. */
1037
+ const LEGACY_PROVIDER_ID_PREFIX = "trinsic_";
1038
+ /**
1039
+ * The public provider id for an id a backend sent. Backends released before the
1040
+ * platform-neutral ids enrich methods with the platform-prefixed form
1041
+ * (`trinsic_netherlands_idin`); this maps it to the registry id
1042
+ * (`netherlands_idin`) so ranking, the funnel and the create call see one id.
1043
+ * Ids the registry does not know (other catalog providers, test mocks) pass
1044
+ * through unchanged — the backend accepts both forms.
1045
+ */
1046
+ function toPublicProviderId(providerId) {
1047
+ if (!providerId.startsWith(LEGACY_PROVIDER_ID_PREFIX)) return providerId;
1048
+ const unprefixed = providerId.slice(8);
1049
+ return REGISTRY_REDIRECT_PROVIDER_IDS.has(unprefixed) ? unprefixed : providerId;
1050
+ }
1034
1051
  /**
1035
1052
  * BACK-COMPAT ONLY: catalog provider id → the countries it serves, from the
1036
1053
  * registry. Lets the chooser rank redirect providers by country when the
@@ -1068,7 +1085,7 @@ function resolveRedirectProviderId(method) {
1068
1085
  if (method.flowType) {
1069
1086
  if (!isProviderLaunchFlowType(method.flowType)) return;
1070
1087
  const explicit = method.provider ?? method.providerId;
1071
- if (explicit) return explicit;
1088
+ if (explicit) return toPublicProviderId(explicit);
1072
1089
  }
1073
1090
  return method.method ? REDIRECT_PROVIDER_BY_METHOD[method.method.toUpperCase()] : void 0;
1074
1091
  }
@@ -1183,11 +1200,14 @@ function isEntryActive(entry, config, platform) {
1183
1200
  * `normalizeDigitalIdMethods`.
1184
1201
  */
1185
1202
  function findConfiguredMethod(entry, config) {
1186
- return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
1203
+ return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider !== void 0 && toPublicProviderId(method.provider) === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
1187
1204
  }
1188
1205
  /** Normalizes a raw configured method into the mapped shape for the child input. */
1189
1206
  function toMappedMethod(entry, method) {
1190
- if (method.flowType && isProviderLaunchFlowType(method.flowType)) return method;
1207
+ if (method.flowType && isProviderLaunchFlowType(method.flowType)) return {
1208
+ ...method,
1209
+ provider: entry.providerId
1210
+ };
1191
1211
  return {
1192
1212
  method: method.method,
1193
1213
  provider: entry.providerId,
@@ -1243,7 +1263,7 @@ function toRedirectMethod(method, provider) {
1243
1263
  * backend `configuration.digitalIds` object (`{ enabled, methods: [...] }`);
1244
1264
  * for the raw shape the provider comes from the backend-enriched
1245
1265
  * `providerId`/`flowType` when present, else from the persisted method name
1246
- * via the digital-ID registry (`IDIN` → `trinsic_netherlands_idin`).
1266
+ * via the digital-ID registry (`IDIN` → `netherlands_idin`).
1247
1267
  */
1248
1268
  function getDigitalIdRedirectMethod(config, providerId) {
1249
1269
  for (const method of normalizeDigitalIdMethods(config)) {
@@ -2084,7 +2104,7 @@ fromPromise(async ({ input }) => {
2084
2104
  });
2085
2105
  fromPromise(async ({ input }) => {
2086
2106
  if (!input.dependencies) return;
2087
- const { loadDeepsightSession } = await import("./deepsightLoader-Bvs8HYaK.esm.js");
2107
+ const { loadDeepsightSession } = await import("./deepsightLoader-BmGlg8gs.esm.js");
2088
2108
  return loadDeepsightSession({
2089
2109
  ds: input.ds,
2090
2110
  storage: input.dependencies.storage,
@@ -2528,7 +2548,7 @@ function cleanup(service) {
2528
2548
  service.cleanup();
2529
2549
  } catch {}
2530
2550
  }
2531
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Bvs8HYaK.esm.js")).loadDeepsightSession(input)) {
2551
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-BmGlg8gs.esm.js")).loadDeepsightSession(input)) {
2532
2552
  let disposed = false;
2533
2553
  let preparation;
2534
2554
  let service;
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "inputting" | "submitting" | "loading" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CZ-qJ_Aa.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-D_jiHp1n.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -138,14 +138,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
138
138
  type: "setDocuments";
139
139
  params: NonReducibleUnknown;
140
140
  };
141
- setError: {
142
- type: "setError";
143
- params: NonReducibleUnknown;
144
- };
145
141
  clearError: {
146
142
  type: "clearError";
147
143
  params: NonReducibleUnknown;
148
144
  };
145
+ setError: {
146
+ type: "setError";
147
+ params: NonReducibleUnknown;
148
+ };
149
149
  setSelectedDocument: {
150
150
  type: "setSelectedDocument";
151
151
  params: NonReducibleUnknown;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261126134638-5fecd70f19ccf51aceade38a393876560c0b09d5/node_modules/@incodetech/tri-sdk/dist/index.d.ts
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261130153510-2a00381e18ea88407aeb423f468bc502470035cb/node_modules/@incodetech/tri-sdk/dist/index.d.ts
2
2
  type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'fpsignals';
3
3
  /**
4
4
  * The configurable sub-events of each collector key. For a key in
@@ -320,6 +320,14 @@ declare function getTRIActivityId(): string | null;
320
320
  * default), also calls `start()` internally and returns `'started'` on
321
321
  * success. Pass `autostart: false` to receive `'ready'` and start explicitly.
322
322
  *
323
+ * A page has one TRI, shared by every copy of the SDK on it. When another
324
+ * copy, or an earlier call, has set it up, this reuses it, with a `[TRI]`
325
+ * warning: the result is `'started'`, or `'ready'` when it is not running.
326
+ * A config that differs in where TRI sends what gets `'init-failed'` instead:
327
+ * another `apiURL`, a token for another organization or source, other
328
+ * `capture`, `layers`, `collectors` or `apiVersion`, or another `sanitizeUrl`.
329
+ * After a failed setup, a new call sets TRI up again.
330
+ *
323
331
  * TRI reports the SDK as its host: `{ platform: 'sdk2', version }`.
324
332
  *
325
333
  * @param config - Resolved TRI config (`token` and `apiURL` required).
@@ -340,8 +348,9 @@ declare function startTRI(): Promise<TransactionalRiskIntelligenceState>;
340
348
  */
341
349
  declare function stopTRI(): Promise<TransactionalRiskIntelligenceState>;
342
350
  /**
343
- * Resets the TRI SDK to its initial state. Call this from the SDK's `reset()`
344
- * so that a subsequent `setupTRI` / `startTRI` can begin fresh.
351
+ * Resets the TRI SDK to its initial state, so that a subsequent `setupTRI` /
352
+ * `startTRI` can begin fresh. It resets the page's one TRI, also for the
353
+ * script tag and every other copy of the SDK on the page.
345
354
  */
346
355
  declare function resetTRI(): Promise<TransactionalRiskIntelligenceState>;
347
356
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import "./Manager-DufwKlav.js";
2
- import { n as Flow } from "./types-BZsmNYom.js";
2
+ import { n as Flow } from "./types-BFoC3IpR.js";
3
3
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CTnxQSQW.js";
1
+ import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-DprzbOsJ.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-B7SDCbtu.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-D4J8ssM5.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-ZOKNXTUx.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-CDxP2pYP.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-D0L-Q2hK.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-DkEmoCbB.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-ZOKNXTUx.esm.js";
3
+ import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-D0L-Q2hK.esm.js";
4
4
  //#region src/modules/kyb-checks/kybChecksActor.ts
5
5
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
6
6
  function createKybChecksActor(options = {}) {
@@ -1,6 +1,6 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-CWjo9dzH.esm.js";
3
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-Do_ENltS.esm.js";
4
4
  import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,3 +1,3 @@
1
- import { r as MandatoryConsentConfig } from "./types-LbccjQYX.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BcxCesP5.js";
1
+ import { r as MandatoryConsentConfig } from "./types-DuARPzVa.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-D2LkPii6.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -2,7 +2,7 @@ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput,
2
2
  import "./xstate.cjs-D6Ur0X1F.js";
3
3
  import { t as Manager } from "./Manager-DufwKlav.js";
4
4
  import "./Actor-DqjOqDfU.js";
5
- import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-LbccjQYX.js";
5
+ import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-DuARPzVa.js";
6
6
  //#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
7
7
  type MandatoryConsentContext = {
8
8
  config: MandatoryConsentConfig;
@@ -54,26 +54,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
54
54
  type: "setConsent";
55
55
  params: NonReducibleUnknown;
56
56
  };
57
- setError: {
58
- type: "setError";
59
- params: NonReducibleUnknown;
60
- };
61
57
  clearError: {
62
58
  type: "clearError";
63
59
  params: NonReducibleUnknown;
64
60
  };
65
- setLoadError: {
66
- type: "setLoadError";
61
+ setError: {
62
+ type: "setError";
67
63
  params: NonReducibleUnknown;
68
64
  };
69
- toggleSigned: {
70
- type: "toggleSigned";
65
+ setLoadError: {
66
+ type: "setLoadError";
71
67
  params: NonReducibleUnknown;
72
68
  };
73
69
  resetContext: {
74
70
  type: "resetContext";
75
71
  params: NonReducibleUnknown;
76
72
  };
73
+ toggleSigned: {
74
+ type: "toggleSigned";
75
+ params: NonReducibleUnknown;
76
+ };
77
77
  }>, Values<{
78
78
  canSubmit: {
79
79
  type: "canSubmit";
@@ -1,4 +1,4 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BYJHywZK.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DPuFQg8k.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
2
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
3
- import { n as recordsLivenessClip } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
3
+ import { n as recordsLivenessClip } from "./deepsightCaptureConfig-STnq4lRZ.esm.js";
4
4
  import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
6
6
  import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { C as createEventBus } from "./types-DLsivQsu.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BWDGk571.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Bv1F3g9Y.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  //#region src/internal/flow-events/flowEvents.ts
@@ -253,4 +253,16 @@ function isInNumericRange(value, min, max) {
253
253
  return number >= min && number <= max;
254
254
  }
255
255
  //#endregion
256
- export { isPoBox as a, hasDigitCount as c, isValidInDrivingLicenseNumber as d, isValidFiPersonalIdentityCode as f, isWithinMaxAge as i, resolvePrefill as l, isNotFuture as n, isEmailFormat as o, isValidEsDni as p, hasNameCharacters as r, digitCountError as s, isInNumericRange as t, isValidRut as u };
256
+ //#region src/internal/forms/checks/scriptCharacters.ts
257
+ /** Each supported script as a regex class body, by its Unicode script name. */
258
+ const SCRIPT_PATTERNS = { Han: "\\p{Script=Han}" };
259
+ /**
260
+ * `scriptCharacters`: only characters from `scripts`, with no spaces, digits
261
+ * or punctuation.
262
+ */
263
+ function hasScriptCharacters(value, scripts) {
264
+ const set = scripts.map((s) => SCRIPT_PATTERNS[s]).join("");
265
+ return new RegExp(`^[${set}]+$`, "u").test(value) && !/[\p{N}\p{P}\s]/u.test(value);
266
+ }
267
+ //#endregion
268
+ export { hasNameCharacters as a, isEmailFormat as c, resolvePrefill as d, isValidRut as f, isValidEsDni as h, isNotFuture as i, digitCountError as l, isValidFiPersonalIdentityCode as m, hasScriptCharacters as n, isWithinMaxAge as o, isValidInDrivingLicenseNumber as p, isInNumericRange as r, isPoBox as s, SCRIPT_PATTERNS as t, hasDigitCount as u };
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "2.5.0-agentic.2";
2
+ const SDK_VERSION = "2.5.0-agentic.4";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
package/dist/selfie.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
- import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-D1EJw36F.js";
2
+ import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
4
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-HHgsFhZn.js";
4
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-CAzi8tyi.js";
5
5
  import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
6
6
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
7
- import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-CqDlUy6B.js";
7
+ import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-B2j448t4.js";
8
8
  //#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
9
9
  type SelfieCaptureOnlyState = FaceCaptureManagerState;
10
10
  type SelfieCaptureOnlyManager = FaceCaptureManager;
@@ -1,15 +1,15 @@
1
- import { u as BrowserStorageProvider } from "./setup-B7SDCbtu.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-D4J8ssM5.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
4
4
  import "./events-PUWyizJn.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DadLKnMf.esm.js";
8
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CYr2rVEj.esm.js";
9
- import { s as processFace } from "./FaceDetectionProvider-ClZEDaLF.esm.js";
10
- import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CdrLiJTn.esm.js";
11
- import { t as selfieMachine } from "./selfieStateMachine-DGg7S9O6.esm.js";
12
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BYJPzJW1.esm.js";
7
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BE2mXdnw.esm.js";
8
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B269Ti19.esm.js";
9
+ import { s as processFace } from "./FaceDetectionProvider-B2OEnDt2.esm.js";
10
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-D3qtcsc2.esm.js";
11
+ import { t as selfieMachine } from "./selfieStateMachine-gC8Z0QCa.esm.js";
12
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-C97OhswU.esm.js";
13
13
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
14
14
  /**
15
15
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ClZEDaLF.esm.js";
1
+ import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-B2OEnDt2.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-D1EJw36F.js";
3
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
4
4
  //#region src/modules/selfie/selfieManager.d.ts
5
5
  type SelfieState = FaceCaptureManagerState;
6
6
  /**