@incodetech/web 0.0.0-dev-20260429-71d4c48 → 0.0.0-dev-20260429-35afdca

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 (160) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/ae-signature-D316IMg7.js +5 -0
  3. package/dist/antifraud/antifraud.es.js +4 -4
  4. package/dist/antifraud-CB-yiVmj.js +5 -0
  5. package/dist/authentication/authentication.es.js +4 -4
  6. package/dist/{back-horizontal-hint-DUuojsev.js → back-horizontal-hint-Rivv4odH.js} +1 -1
  7. package/dist/{back-vertical-hint-CX_hCJhV.js → back-vertical-hint-Bi2GKjAw.js} +1 -1
  8. package/dist/{bottomSheet-BICziA8B.js → bottomSheet-H576o2Ae.js} +2 -2
  9. package/dist/{button-i4SPU5G7.js → button-DXxszYOu.js} +2 -2
  10. package/dist/{checkbox-DSJ1kLyD.js → checkbox-HMGMzcIv.js} +3 -3
  11. package/dist/consent/consent.es.js +10 -10
  12. package/dist/consent-CmVHHfh0.js +5 -0
  13. package/dist/{countrySelector-B3JOaReM.js → countrySelector-DcKjrQye.js} +3 -3
  14. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  15. package/dist/curp-validation/curp-validation.es.js +16 -16
  16. package/dist/curp-validation-BZu1862x.js +5 -0
  17. package/dist/custom-fields-Dy2zIWk5.js +5 -0
  18. package/dist/{customFields-ClP-OHqQ.js → customFields-D2wZYEIM.js} +13 -13
  19. package/dist/{customWatchlist-DaNMXtkt.js → customWatchlist-qxLVolwh.js} +7 -7
  20. package/dist/dateInputComposed-B1930wH-.js +1 -0
  21. package/dist/{dateInputComposed-BISaNEkl.js → dateInputComposed-B4m_OJ0f.js} +5 -5
  22. package/dist/document-capture-klKhslw_.js +5 -0
  23. package/dist/{documentCapture-BD-LU6Y1.js → documentCapture-Bmnd-HoI.js} +14 -14
  24. package/dist/dropdownComposed-D94RHyH9.js +1 -0
  25. package/dist/{dropdownComposed-D7l5VnKk.js → dropdownComposed-ysrtM_xo.js} +4 -4
  26. package/dist/ekyb/ekyb.es.js +1 -1
  27. package/dist/ekyb-AJ5pLamL.js +5 -0
  28. package/dist/{ekybModule-Ckv1f8aB.js → ekybModule-DvXcZXil.js} +13 -13
  29. package/dist/ekybModule-uLHrvaE0.js +2 -0
  30. package/dist/ekyc/ekyc.es.js +1 -1
  31. package/dist/ekyc-CGHe6KZF.js +5 -0
  32. package/dist/{ekycModule-CCJGIP0u.js → ekycModule-DHpDUapu.js} +14 -14
  33. package/dist/ekycModule-PeVktYEv.js +2 -0
  34. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  35. package/dist/{electronic-signature-nZfD6fzf.js → electronic-signature-C-J7f37B.js} +13 -13
  36. package/dist/electronic-signature-CmWQ5m7Z.js +5 -0
  37. package/dist/email/email.es.js +10 -10
  38. package/dist/email-46LcB-zG.js +5 -0
  39. package/dist/{extensibility-BhOLYPko.js → extensibility-DJ7uJJS5.js} +39 -39
  40. package/dist/extensibility.es.js +24 -24
  41. package/dist/face-match/face-match.es.js +1 -1
  42. package/dist/face-match-fK60MxjZ.js +5 -0
  43. package/dist/faceMatch-B2oadZzM.js +2 -0
  44. package/dist/{faceMatch-BAOj4yMN.js → faceMatch-aulhVGxo.js} +10 -10
  45. package/dist/flow/flow.es.js +139 -136
  46. package/dist/flow/styles.css +174 -4729
  47. package/dist/flow-rPJJbW6T.js +5 -0
  48. package/dist/{formField-B34T3LAe.js → formField-9c3OJwOZ.js} +3 -3
  49. package/dist/{front-horizontal-hint-2RcQjgHE.js → front-horizontal-hint-ECtf7INv.js} +1 -1
  50. package/dist/{front-vertical-hint-CRhiWbkP.js → front-vertical-hint-DBdptGwa.js} +1 -1
  51. package/dist/geolocation/geolocation.es.js +8 -8
  52. package/dist/geolocation-tgDRHF5G.js +5 -0
  53. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  54. package/dist/governmentValidation-CRpowRw3.js +5 -0
  55. package/dist/{homeScreen-Dc3ipd-q.js → homeScreen-nNYHPykv.js} +8 -8
  56. package/dist/{i18n-ntrVdqVv.js → i18n-BNE9nYru.js} +2 -2
  57. package/dist/{icons-Bk44oy5t.js → icons-B9-0K6zx.js} +2 -2
  58. package/dist/id/id.es.js +18 -18
  59. package/dist/id-Czs29YjP.js +5 -0
  60. package/dist/id-ocr-De0CziTg.js +5 -0
  61. package/dist/{idOcr-DyEsmJUm.js → idOcr-DWF6lFjq.js} +11 -11
  62. package/dist/identity-reuse/identity-reuse.es.js +7 -7
  63. package/dist/identity-reuse-DRaYjwgl.js +5 -0
  64. package/dist/{incodeComponent-DexcYK3Y.js → incodeComponent-Bj2iIi3-.js} +2 -2
  65. package/dist/incodeModule-4-Ij3Hzt.js +74 -0
  66. package/dist/index.es.js +2 -2
  67. package/dist/inputComposed-BYIbvEZU.js +1 -0
  68. package/dist/{inputComposed-4aHO5YRK.js → inputComposed-CZYVA9pY.js} +4 -4
  69. package/dist/{loadingIcon-C-Sq5v_K.js → loadingIcon-BWeYwnoO.js} +1 -1
  70. package/dist/mandatory-consent-Cwa_D62s.js +5 -0
  71. package/dist/{mandatoryConsent-OCdxJMmo.js → mandatoryConsent-BxmewvFy.js} +10 -10
  72. package/dist/{modal-dixIN7NV.js → modal-BiHWHzbc.js} +37 -37
  73. package/dist/{modal.hooks-BzIVzVbq.js → modal.hooks-BWHmspKt.js} +1 -1
  74. package/dist/{numberedStep-DDP7_KWo.js → numberedStep-CB41HauU.js} +1 -1
  75. package/dist/{optionAccessibleLabel-DGtiAlUq.js → optionAccessibleLabel-oqe5fTiF.js} +6 -6
  76. package/dist/{otpInput-DgtpWHON.js → otpInput-DxekO34i.js} +6 -6
  77. package/dist/{page-BB20C-zy.js → page-C_Z2vd8q.js} +3 -3
  78. package/dist/{passport-horizontal-hint-CAqrHNYZ.js → passport-horizontal-hint-x0w1qXO5.js} +1 -1
  79. package/dist/{passport-vertical-hint-BHH9yd1n.js → passport-vertical-hint-BoPv9mev.js} +1 -1
  80. package/dist/phone/phone.es.js +10 -10
  81. package/dist/phone-ChAbJlMB.js +5 -0
  82. package/dist/{phoneInput-C8OmjU3_.js → phoneInput-B5mP8vvS.js} +3 -3
  83. package/dist/{phoneInputComposed--GQv3M_5.js → phoneInputComposed-C6mrR5NJ.js} +5 -5
  84. package/dist/{processing-AM48BFTl.js → processing-C1ymzBNJ.js} +2 -2
  85. package/dist/qe-signature/qe-signature.es.js +3 -3
  86. package/dist/qe-signature-C4R5aFPn.js +5 -0
  87. package/dist/{radioButtonComposed-CuKvBI5S.js → radioButtonComposed-yT_6g1qe.js} +3 -3
  88. package/dist/redirect-to-mobile-CEkqbyYW.js +5 -0
  89. package/dist/{redirectToMobile-DfUzha84.js → redirectToMobile-BtsF6N0g.js} +14 -14
  90. package/dist/{richText-FMNMBzjD.js → richText-uERDfLN2.js} +1 -1
  91. package/dist/selfie/selfie.es.js +7 -7
  92. package/dist/selfie-DoBsWHhr.js +5 -0
  93. package/dist/signature/signature.es.js +9 -9
  94. package/dist/signature-CEHAjVar.js +5 -0
  95. package/dist/{spacer-CN9uvb__.js → spacer-DCAl0Mjk.js} +1 -1
  96. package/dist/{spinner-Cj7kdZ0T.js → spinner-DTwtoppQ.js} +4 -4
  97. package/dist/spinner-iH4HWMX6.js +1 -0
  98. package/dist/{statusPage-DUnznjtg.js → statusPage-BTF4FmJT.js} +4 -4
  99. package/dist/{successIcon-SlKgTSty.js → successIcon-COlazRl-.js} +1 -1
  100. package/dist/{tabs-sbbH0u2L.js → tabs-z-X6zD3C.js} +2 -2
  101. package/dist/{transitionSpinner-DqDwaNM6.js → transitionSpinner-C_573zFG.js} +4 -4
  102. package/dist/{tutorial-B2lNnuWv.js → tutorial-DcuYI4JA.js} +15 -15
  103. package/dist/types/ae-signature.d.ts +1 -0
  104. package/dist/types/antifraud.d.ts +1 -0
  105. package/dist/types/authentication.d.ts +1 -0
  106. package/dist/types/consent.d.ts +1 -0
  107. package/dist/types/cross-document-data-match.d.ts +1 -0
  108. package/dist/types/curp-validation.d.ts +1 -0
  109. package/dist/types/ekyb.d.ts +1 -0
  110. package/dist/types/ekyc.d.ts +1 -0
  111. package/dist/types/electronic-signature.d.ts +1 -0
  112. package/dist/types/email.d.ts +1 -0
  113. package/dist/types/extensibility.d.ts +1 -0
  114. package/dist/types/face-match.d.ts +1 -0
  115. package/dist/types/flow.d.ts +1 -0
  116. package/dist/types/geolocation.d.ts +1 -0
  117. package/dist/types/governmentValidation.d.ts +1 -0
  118. package/dist/types/id.d.ts +1 -0
  119. package/dist/types/identity-reuse.d.ts +1 -0
  120. package/dist/types/phone.d.ts +1 -0
  121. package/dist/types/qe-signature.d.ts +1 -0
  122. package/dist/types/selfie.d.ts +1 -0
  123. package/dist/types/signature.d.ts +1 -0
  124. package/dist/types/watchlist.d.ts +1 -0
  125. package/dist/types/workflow.d.ts +1 -0
  126. package/dist/{typography-Duug0raB.js → typography-Dn_SWwB2.js} +2 -2
  127. package/dist/{uiConfig-CwpQ-IM6.js → uiConfig-BfJ9gLl7.js} +1 -1
  128. package/dist/{useModuleLoader-T6BIz-cA.js → useModuleLoader-bEVfQbmU.js} +188 -169
  129. package/dist/{vendor-preact-D6SntenC.js → vendor-preact-DYq0_Qbr.js} +1 -1
  130. package/dist/{verificationResult-DTfsw2w2.js → verificationResult-1XSMhl4d.js} +8 -8
  131. package/dist/{verifiedByIncode-CiuBhYBD.js → verifiedByIncode-aGOV-V9q.js} +2 -2
  132. package/dist/watchlist/watchlist.es.js +7 -7
  133. package/dist/watchlist-BdGy5gvP.js +5 -0
  134. package/dist/watchlist-for-business-CubjHodP.js +5 -0
  135. package/dist/{watchlistForBusiness-DirZZuYu.js → watchlistForBusiness-C_i_7Z6J.js} +11 -11
  136. package/dist/workflow/workflow.es.js +50 -51
  137. package/dist/workflow-nsiRkTFR.js +5 -0
  138. package/package.json +2 -2
  139. package/dist/dateInputComposed-DdtZcsfQ.js +0 -1
  140. package/dist/dropdownComposed-C6mYVe2K.js +0 -1
  141. package/dist/ekybModule-pKz3HZFJ.js +0 -2
  142. package/dist/ekycModule-B_pmX3EX.js +0 -2
  143. package/dist/faceMatch-CsBQRvhN.js +0 -2
  144. package/dist/incodeModule-CHzKl22Y.js +0 -18
  145. package/dist/inputComposed-vYWGxUXH.js +0 -1
  146. package/dist/spinner-BYktSnQZ.js +0 -1
  147. /package/dist/{aligndevicelottie-m1gBGZsQ.js → aligndevicelottie-DuYKqFRv.js} +0 -0
  148. /package/dist/{back-tutorial-ClQ08AWx.js → back-tutorial-BveT-Gpg.js} +0 -0
  149. /package/dist/{backdevicelottie-WEvEwLBA.js → backdevicelottie-CVSnQFM6.js} +0 -0
  150. /package/dist/{blurdevicelottie-BNBU2EIM.js → blurdevicelottie-DXyCiuOu.js} +0 -0
  151. /package/dist/{browser-ponyfill-DRrmY6DO.js → browser-ponyfill-Dz8mnsAS.js} +0 -0
  152. /package/dist/{flip-animation-Tm2zxXjs.js → flip-animation-CpYPskQi.js} +0 -0
  153. /package/dist/{frontdevicelottie-BtbZEtwd.js → frontdevicelottie-7OcabHg2.js} +0 -0
  154. /package/dist/{glaredevicelottie-CGQ0DCXc.js → glaredevicelottie-CU-7f-1E.js} +0 -0
  155. /package/dist/{id-laser-h-oGOFXEpO.js → id-laser-h-DVprNART.js} +0 -0
  156. /package/dist/{id-laser-v-DfWJik9l.js → id-laser-v-DHSmrhm6.js} +0 -0
  157. /package/dist/{id-tutorial-C4q-3j3J.js → id-tutorial-DC_FMKi3.js} +0 -0
  158. /package/dist/{passport-tutorial-DhEHJZeD.js → passport-tutorial-DglDEWHt.js} +0 -0
  159. /package/dist/{pdf-DmP3zO_j.js → pdf-CbjnpyBF.js} +0 -0
  160. /package/dist/{selfieTutorial-D8I_4Oam.js → selfieTutorial-Cssu-Gmy.js} +0 -0
@@ -1,14 +1,15 @@
1
- import { i as e, r as t } from "./i18n-ntrVdqVv.js";
2
- import { _ as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
- import { t as o } from "./uiConfig-CwpQ-IM6.js";
4
- import { t as s } from "./button-i4SPU5G7.js";
5
- import { initializeWasmUtil as c, resolveWasmConfig as l, setWasmConfig as u, warmupWasm as d } from "@incodetech/core/wasm";
6
- import { setup as f } from "@incodetech/core";
7
- import { getDeviceClass as p } from "@incodetech/core/device";
8
- import { createOrchestratedFlowManager as m, getFlow as h, getRequiredWasmPipelines as g } from "@incodetech/core/flow";
9
- import { api as _ } from "@incodetech/core/http";
1
+ import { i as e, r as t } from "./i18n-BNE9nYru.js";
2
+ import { S as n, _ as r, l as i, p as a, v as o } from "./vendor-preact-DYq0_Qbr.js";
3
+ import { t as s } from "./uiConfig-BfJ9gLl7.js";
4
+ import { t as c } from "./button-DXxszYOu.js";
5
+ import { n as l, r as u } from "./incodeModule-4-Ij3Hzt.js";
6
+ import { initializeWasmUtil as d, resolveWasmConfig as f, setWasmConfig as p, warmupWasm as m } from "@incodetech/core/wasm";
7
+ import { setup as h } from "@incodetech/core";
8
+ import { getDeviceClass as g } from "@incodetech/core/device";
9
+ import { createOrchestratedFlowManager as ee, getFlow as _, getRequiredWasmPipelines as v } from "@incodetech/core/flow";
10
+ import { api as y } from "@incodetech/core/http";
10
11
  //#region src/styles/generatePalette.ts
11
- function v(e) {
12
+ function b(e) {
12
13
  let t = e.replace("#", "");
13
14
  t.length === 3 && (t = t.split("").map((e) => e + e).join(""));
14
15
  let n = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -34,7 +35,7 @@ function v(e) {
34
35
  l: u * 100
35
36
  };
36
37
  }
37
- function y(e, t, n) {
38
+ function x(e, t, n) {
38
39
  let r = e / 360, i = t / 100, a = n / 100, o, s, c;
39
40
  if (i === 0) o = s = c = a;
40
41
  else {
@@ -47,24 +48,24 @@ function y(e, t, n) {
47
48
  };
48
49
  return `#${l(o)}${l(s)}${l(c)}`;
49
50
  }
50
- function b(e) {
51
- let t = v(e);
51
+ function S(e) {
52
+ let t = b(e);
52
53
  if (!t) throw Error(`Invalid color format: ${e}`);
53
54
  return {
54
- 50: y(t.h, t.s, 95),
55
- 200: y(t.h, t.s, 80),
56
- 300: y(t.h, t.s, 65),
57
- 400: y(t.h, t.s, Math.min(100, t.l + 10)),
55
+ 50: x(t.h, t.s, 95),
56
+ 200: x(t.h, t.s, 80),
57
+ 300: x(t.h, t.s, 65),
58
+ 400: x(t.h, t.s, Math.min(100, t.l + 10)),
58
59
  500: e,
59
- 600: y(t.h, t.s, Math.max(0, t.l - 10)),
60
- 900: y(t.h, t.s, 20)
60
+ 600: x(t.h, t.s, Math.max(0, t.l - 10)),
61
+ 900: x(t.h, t.s, 20)
61
62
  };
62
63
  }
63
64
  //#endregion
64
65
  //#region src/styles/applyTheme.ts
65
- function x(e, t) {
66
+ function C(e, t) {
66
67
  if (typeof document > "u") return;
67
- let n = b(e), r = document.getElementById("incode-theme");
68
+ let n = S(e), r = document.getElementById("incode-theme");
68
69
  r || (r = document.createElement("style"), r.id = "incode-theme", document.head.appendChild(r));
69
70
  let i = t || "#ffffff", a = `
70
71
  :root,
@@ -83,43 +84,46 @@ function x(e, t) {
83
84
  }
84
85
  //#endregion
85
86
  //#region src/styles/fetchTheme.ts
86
- async function S() {
87
- return (await _.get("/omni/asset/fetch-all")).data;
87
+ async function w() {
88
+ return (await y.get("/omni/asset/fetch-all")).data;
88
89
  }
89
- var C = /* @__PURE__ */ new Map();
90
- async function w(e) {
90
+ var T = /* @__PURE__ */ new Map();
91
+ async function E(e) {
91
92
  if (e.startsWith("data:")) return e;
92
- let t = C.get(e);
93
+ let t = T.get(e);
93
94
  if (t) return t;
94
95
  let n = await (await fetch(e)).blob(), r = await new Promise((e, t) => {
95
96
  let r = new FileReader();
96
97
  r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(n);
97
98
  });
98
- return C.set(e, r), r;
99
+ return T.set(e, r), r;
99
100
  }
100
- async function T() {
101
- let e = await S();
101
+ async function D() {
102
+ let e = await w();
102
103
  if (!e.theme) throw Error("Theme URL not found in assets response");
103
104
  let t = e.theme, n = t.startsWith("http://") || t.startsWith("https://"), r;
104
105
  if (n) {
105
106
  let e = await fetch(t);
106
107
  if (!e.ok) throw Error(`Failed to fetch theme: ${e.statusText}`);
107
108
  r = await e.json();
108
- } else r = (await _.get(t)).data;
109
+ } else r = (await y.get(t)).data;
109
110
  let i = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo, a = i;
110
- return i && (a = await w(i)), {
111
+ return i && (a = await E(i)), {
111
112
  ...r,
112
113
  logo: a
113
114
  };
114
115
  }
115
- async function E() {
116
- let e = await T();
117
- return e.main && x(e.main, e.buttonColor), e;
116
+ async function O() {
117
+ let e = await D();
118
+ return e.main && C(e.main, e.buttonColor), e;
118
119
  }
119
120
  //#endregion
120
121
  //#region src/modules/flow/flowInit.ts
121
- var D = () => import("./id/id.es.js").then((e) => e.Id), O = () => import("./homeScreen-Dc3ipd-q.js").then((e) => e.HomeScreen), k;
122
- function A(e) {
122
+ var k = () => import("./id/id.es.js").then((e) => e.Id), A = (e, t) => ({
123
+ cssId: e,
124
+ loadComponent: t
125
+ }), j = () => import("./homeScreen-nNYHPykv.js").then((e) => e.HomeScreen), M;
126
+ function N(e) {
123
127
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
124
128
  if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
125
129
  if (e === "EMAIL") return () => import("@incodetech/core/email").then((e) => e.emailMachine);
@@ -146,99 +150,99 @@ function A(e) {
146
150
  if (e === "QE_SIGNATURE") return () => import("@incodetech/core/qe-signature").then((e) => e.qeSignatureMachine);
147
151
  if (e === "CROSS_DOCUMENT_DATA_MATCH") return () => import("@incodetech/core/cross-document-data-match").then((e) => e.crossDocumentDataMatchMachine);
148
152
  }
149
- function j(e) {
153
+ function P(e) {
150
154
  let t = {};
151
155
  for (let n of e) {
152
156
  let e = n.key;
153
157
  if (t[e]) continue;
154
- let r = A(e);
158
+ let r = N(e);
155
159
  r && (t[e] = r);
156
160
  }
157
161
  return t;
158
162
  }
159
- var M = {
160
- REDIRECT_TO_MOBILE: () => import("./redirectToMobile-DfUzha84.js").then((e) => e.RedirectToMobile),
161
- PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
162
- EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
163
- SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
164
- AUTHENTICATION: () => import("./authentication/authentication.es.js").then((e) => e.Authentication),
165
- ID: D,
166
- ID_CAPTURE: D,
167
- TUTORIAL_ID: D,
168
- SECOND_ID: D,
169
- FACE_MATCH: () => import("./faceMatch-CsBQRvhN.js").then((e) => e.FaceMatch),
170
- CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
171
- GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
172
- GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
173
- EXTERNAL_VERIFICATION: () => import("./ekycModule-B_pmX3EX.js").then((e) => e.EkycModule),
174
- EKYB: () => import("./ekybModule-pKz3HZFJ.js").then((e) => e.EkybModule),
175
- DOCUMENT_CAPTURE: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
176
- ADDRESS: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
177
- COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
178
- MANDATORY_CONSENT: () => import("./mandatoryConsent-OCdxJMmo.js").then((e) => e.MandatoryConsent),
179
- SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
180
- ID_OCR: () => import("./idOcr-DyEsmJUm.js").then((e) => e.IdOcr),
181
- ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
182
- CUSTOM_FIELDS: () => import("./customFields-ClP-OHqQ.js").then((e) => e.CustomFields),
183
- WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
184
- WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-DirZZuYu.js").then((e) => e.WatchlistForBusiness),
185
- INCODE_WATCHLIST: () => import("./customWatchlist-DaNMXtkt.js").then((e) => e.CustomWatchlist),
186
- AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
187
- QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
188
- CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch)
163
+ var F = {
164
+ REDIRECT_TO_MOBILE: A("incode-redirect-to-mobile", () => import("./redirectToMobile-BtsF6N0g.js").then((e) => e.RedirectToMobile)),
165
+ PHONE: A("incode-phone", () => import("./phone/phone.es.js").then((e) => e.Phone)),
166
+ EMAIL: A("incode-email", () => import("./email/email.es.js").then((e) => e.Email)),
167
+ SELFIE: A("incode-selfie", () => import("./selfie/selfie.es.js").then((e) => e.Selfie)),
168
+ AUTHENTICATION: A("incode-authentication", () => import("./authentication/authentication.es.js").then((e) => e.Authentication)),
169
+ ID: A("incode-id", k),
170
+ ID_CAPTURE: A("incode-id", k),
171
+ TUTORIAL_ID: A("incode-id", k),
172
+ SECOND_ID: A("incode-id", k),
173
+ FACE_MATCH: A("incode-face-match", () => import("./faceMatch-B2oadZzM.js").then((e) => e.FaceMatch)),
174
+ CURP_VALIDATION: A("incode-curp-validation", () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation)),
175
+ GOVT_VALIDATION_PROVISIONING: A("incode-government-validation", () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation)),
176
+ GEOLOCATION: A("incode-geolocation", () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation)),
177
+ EXTERNAL_VERIFICATION: A("incode-ekyc", () => import("./ekycModule-PeVktYEv.js").then((e) => e.EkycModule)),
178
+ EKYB: A("incode-ekyb", () => import("./ekybModule-uLHrvaE0.js").then((e) => e.EkybModule)),
179
+ DOCUMENT_CAPTURE: A("incode-document-capture", () => import("./documentCapture-Bmnd-HoI.js").then((e) => e.DocumentCapture)),
180
+ ADDRESS: A("incode-document-capture", () => import("./documentCapture-Bmnd-HoI.js").then((e) => e.DocumentCapture)),
181
+ COMBINED_CONSENT: A("incode-consent", () => import("./consent/consent.es.js").then((e) => e.Consent)),
182
+ MANDATORY_CONSENT: A("incode-mandatory-consent", () => import("./mandatoryConsent-BxmewvFy.js").then((e) => e.MandatoryConsent)),
183
+ SIGNATURE: A("incode-signature", () => import("./signature/signature.es.js").then((e) => e.Signature)),
184
+ ID_OCR: A("incode-id-ocr", () => import("./idOcr-DWF6lFjq.js").then((e) => e.IdOcr)),
185
+ ANTIFRAUD: A("incode-antifraud", () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud)),
186
+ CUSTOM_FIELDS: A("incode-custom-fields", () => import("./customFields-D2wZYEIM.js").then((e) => e.CustomFields)),
187
+ WATCHLIST: A("incode-watchlist", () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist)),
188
+ WATCHLIST_BUSINESS: A("incode-watchlist-for-business", () => import("./watchlistForBusiness-C_i_7Z6J.js").then((e) => e.WatchlistForBusiness)),
189
+ INCODE_WATCHLIST: A("incode-custom-watchlist", () => import("./customWatchlist-qxLVolwh.js").then((e) => e.CustomWatchlist)),
190
+ AE_SIGNATURE: A("incode-ae-signature", () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature)),
191
+ QE_SIGNATURE: A("incode-qe-signature", () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature)),
192
+ CROSS_DOCUMENT_DATA_MATCH: A("incode-cross-document-data-match", () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch))
189
193
  };
190
- function N() {
191
- return O();
194
+ function I() {
195
+ return j();
192
196
  }
193
- function P() {
194
- k || (k = N(), k.catch(() => {
195
- k = void 0;
197
+ function L() {
198
+ M || (M = I(), M.catch(() => {
199
+ M = void 0;
196
200
  }));
197
201
  }
198
- var F;
199
- function I() {
200
- if (F) return;
201
- let e = M.REDIRECT_TO_MOBILE, t = A("REDIRECT_TO_MOBILE"), n = [];
202
- e && n.push(e()), t && n.push(t()), F = Promise.all(n), F.catch(() => {
203
- F = void 0;
202
+ var R;
203
+ function z() {
204
+ if (R) return;
205
+ let e = F.REDIRECT_TO_MOBILE, t = N("REDIRECT_TO_MOBILE"), n = [];
206
+ e && n.push(l(e.cssId), e.loadComponent()), t && n.push(t()), R = Promise.all(n), R.catch(() => {
207
+ R = void 0;
204
208
  });
205
209
  }
206
- function L(e = {}) {
207
- let t = {}, n = e.isDesktop ?? p() === "desktop", { enableHome: r, ...i } = e;
208
- return m({
210
+ function B(e = {}) {
211
+ let t = {}, n = e.isDesktop ?? g() === "desktop", { enableHome: r, ...i } = e;
212
+ return ee({
209
213
  enableHome: r,
210
214
  getFlow: async (e) => {
211
- let r = await h(e, {
215
+ let r = await _(e, {
212
216
  ...i,
213
217
  isDesktop: n
214
- }), a = j(r.flowModules ?? []);
218
+ }), a = P(r.flowModules ?? []);
215
219
  for (let e of Object.keys(t)) delete t[e];
216
220
  return Object.assign(t, a), r;
217
221
  },
218
222
  lazyModules: t
219
223
  });
220
224
  }
221
- async function R(n) {
222
- await f({
225
+ async function V(n) {
226
+ await h({
223
227
  token: n.token,
224
228
  wasm: !1
225
229
  }), t(e(n.lang ? { lang: n.lang } : void 0));
226
230
  }
227
- async function z(e) {
231
+ async function H(e) {
228
232
  let { token: t, lang: n, flowManager: r } = e;
229
- await R({
233
+ await V({
230
234
  token: t,
231
235
  lang: n
232
236
  }), r.load();
233
237
  }
234
- async function B() {
238
+ async function U() {
235
239
  try {
236
- let e = await E(), t = {
240
+ let e = await O(), t = {
237
241
  logoSrc: e.logo,
238
242
  subtitle: e.subtitle,
239
243
  hideFooterBranding: e.hideFooterBranding
240
244
  };
241
- return o(t), {
245
+ return s(t), {
242
246
  theme: e,
243
247
  uiConfig: t
244
248
  };
@@ -246,42 +250,42 @@ async function B() {
246
250
  return {};
247
251
  }
248
252
  }
249
- function V(e, t) {
253
+ function W(e, t) {
250
254
  if (e.currentStep === "REDIRECT_TO_MOBILE") return;
251
- let n = g(e.flow);
255
+ let n = v(e.flow);
252
256
  if (n.length > 0) {
253
- let e = l({
257
+ let e = f({
254
258
  ...t ?? {},
255
259
  pipelines: n
256
260
  }), r = {
257
261
  ...e,
258
262
  pipelines: e.pipelines ? [...e.pipelines] : void 0
259
263
  };
260
- u(r), d(e).then(() => c(r)).catch((e) => {
264
+ p(r), m(e).then(() => d(r)).catch((e) => {
261
265
  console.error("WASM warmup failed:", e);
262
266
  });
263
267
  }
264
268
  }
265
- function H(e) {
269
+ function G(e) {
266
270
  let t = e.currentStep;
267
271
  if (t) {
268
- let e = M[t];
269
- e && e().catch(() => {});
272
+ let e = F[t];
273
+ e && Promise.all([l(e.cssId), e.loadComponent()]).catch(() => {});
270
274
  }
271
275
  }
272
276
  //#endregion
273
277
  //#region src/modules/flow/unsupportedModule.tsx
274
- var U = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ a("section", {
278
+ var K = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ o("section", {
275
279
  class: "IncodeUnsupportedModule",
276
280
  "aria-live": "polite",
277
- children: /* @__PURE__ */ a("div", {
281
+ children: /* @__PURE__ */ o("div", {
278
282
  class: "IncodeUnsupportedModuleContent",
279
283
  children: [
280
- /* @__PURE__ */ a("h2", {
284
+ /* @__PURE__ */ o("h2", {
281
285
  class: "IncodeUnsupportedModuleTitle",
282
286
  children: "Module not available"
283
287
  }),
284
- /* @__PURE__ */ a("p", {
288
+ /* @__PURE__ */ o("p", {
285
289
  class: "IncodeUnsupportedModuleMessage",
286
290
  children: [
287
291
  "The \"",
@@ -289,7 +293,7 @@ var U = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ a("section", {
289
293
  "\" module is not yet supported in this version."
290
294
  ]
291
295
  }),
292
- /* @__PURE__ */ a(s, {
296
+ /* @__PURE__ */ o(c, {
293
297
  onClick: t,
294
298
  class: "IncodeUnsupportedModuleButton",
295
299
  "data-testid": "unsupported-module-next-button",
@@ -300,117 +304,131 @@ var U = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ a("section", {
300
304
  });
301
305
  //#endregion
302
306
  //#region src/modules/flow/useModuleLoader.ts
303
- function W(e, t) {
307
+ function q(e, t) {
304
308
  return e instanceof Error ? e.message : t;
305
309
  }
306
- var G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
307
- function q(e) {
308
- return e;
309
- }
310
- function J(e) {
311
- if (e) return G.get(q(e));
310
+ var J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
311
+ function X(e) {
312
+ if (e) return J.get(e)?.Component;
312
313
  }
313
- function Y(e) {
314
- let t = q(e), n = G.get(t);
315
- if (n) return Promise.resolve(n);
316
- let r = K.get(t);
317
- if (r) return r;
318
- let i = e().then((e) => (G.set(t, e), K.delete(t), e)).catch((e) => {
319
- throw K.delete(t), e;
314
+ function Z(e, t) {
315
+ let n = J.get(e);
316
+ if (n) return u(e.cssId, n.css, t), Promise.resolve(n.Component);
317
+ let r = Y.get(e);
318
+ if (r) return r.then((n) => (u(e.cssId, n.css, t), n.Component));
319
+ let i = Promise.all([l(e.cssId), e.loadComponent()]).then(([t, n]) => {
320
+ let r = {
321
+ css: t,
322
+ Component: n
323
+ };
324
+ return J.set(e, r), Y.delete(e), r;
325
+ }).catch((t) => {
326
+ throw Y.delete(e), t;
320
327
  });
321
- return K.set(t, i), i;
328
+ return Y.set(e, i), i.then((n) => (u(e.cssId, n.css, t), n.Component));
322
329
  }
323
- function X(e) {
330
+ function Q(e) {
324
331
  if (!e) return { status: "idle" };
325
- let t = J(e);
332
+ let t = X(e);
326
333
  return t ? {
327
334
  status: "loaded",
328
335
  Component: t
329
336
  } : { status: "loading" };
330
337
  }
331
- function Z(e) {
332
- let { loader: t, onLoading: a, onLoaded: o, onError: s } = e, [c, l] = i(() => X(t)), u = r(t), d = r(a), f = r(o), p = r(s);
333
- return n(() => {
334
- d.current = a, f.current = o, p.current = s;
338
+ function te(e, t) {
339
+ return t === !0 ? (r) => n(e, {
340
+ ...r,
341
+ disableCss: t
342
+ }) : e;
343
+ }
344
+ function $(e) {
345
+ let { loader: t, disableCss: n, onLoading: o, onLoaded: s, onError: c } = e, [l, u] = a(() => Q(t)), d = i(t), f = i(n), p = i(o), m = i(s), h = i(c);
346
+ return r(() => {
347
+ f.current = n, p.current = o, m.current = s, h.current = c;
335
348
  }, [
336
- a,
349
+ n,
337
350
  o,
338
- s
339
- ]), u.current !== t && (u.current = t, l(X(t))), n(() => {
351
+ s,
352
+ c
353
+ ]), d.current !== t && (d.current = t, u(Q(t))), r(() => {
340
354
  if (!t) return;
341
- if (J(t)) {
342
- f.current?.();
355
+ if (X(t)) {
356
+ Z(t, f.current), m.current?.();
343
357
  return;
344
358
  }
345
- d.current?.();
359
+ p.current?.();
346
360
  let e = !1;
347
- return Y(t).then((t) => {
348
- e || (l({
361
+ return Z(t, f.current).then((t) => {
362
+ e || (u({
349
363
  status: "loaded",
350
364
  Component: t
351
- }), f.current?.());
365
+ }), m.current?.());
352
366
  }).catch((t) => {
353
367
  if (!e) {
354
- let e = W(t, "Failed to load component");
355
- l({
368
+ let e = q(t, "Failed to load component");
369
+ u({
356
370
  status: "error",
357
371
  error: e
358
- }), p.current?.(e);
372
+ }), h.current?.(e);
359
373
  }
360
374
  }), () => {
361
375
  e = !0;
362
376
  };
363
- }, [t]), c;
377
+ }, [t, n]), l;
364
378
  }
365
- function Q(e) {
366
- let { moduleKey: t, modules: r, onModuleLoading: a, onModuleLoaded: o, onError: s } = e, [c, l] = i(void 0), u = t ? r[t] : void 0, d = Z({
367
- loader: u,
368
- onLoading: t ? () => a?.(t) : void 0,
369
- onLoaded: t ? () => o?.(t) : void 0,
370
- onError: t ? (e) => s?.(`Failed to load ${t}: ${e}`) : void 0
379
+ function ne(e) {
380
+ let { moduleKey: t, modules: n, disableCss: i, onModuleLoading: o, onModuleLoaded: s, onError: c } = e, [l, u] = a(void 0), d = t ? n[t] : void 0, f = $({
381
+ loader: d,
382
+ disableCss: i,
383
+ onLoading: t ? () => o?.(t) : void 0,
384
+ onLoaded: t ? () => s?.(t) : void 0,
385
+ onError: t ? (e) => c?.(`Failed to load ${t}: ${e}`) : void 0
371
386
  });
372
- return n(() => {
387
+ return r(() => {
373
388
  if (!t) {
374
- l(void 0);
389
+ u(void 0);
375
390
  return;
376
391
  }
377
- l(u ? void 0 : t);
378
- }, [u, t]), t ? c ? {
392
+ u(d ? void 0 : t);
393
+ }, [d, t]), t ? l ? {
379
394
  status: "unsupported",
380
- moduleKey: c
381
- } : d.status === "idle" || d.status === "loading" ? {
395
+ moduleKey: l
396
+ } : f.status === "idle" || f.status === "loading" ? {
382
397
  status: "loading",
383
398
  moduleKey: t
384
- } : d.status === "error" ? {
399
+ } : f.status === "error" ? {
385
400
  status: "error",
386
401
  moduleKey: t,
387
- error: d.error
402
+ error: f.error
388
403
  } : {
389
404
  status: "loaded",
390
405
  moduleKey: t,
391
- Component: d.Component
406
+ Component: te(f.Component, i)
392
407
  } : { status: "idle" };
393
408
  }
394
- function $(e) {
395
- let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = Z({ loader: r });
396
- return r != null && i.status === "loaded";
409
+ function re(e) {
410
+ let { moduleKey: t, modules: n, disableCss: r } = e, i = t ? n[t] : void 0, a = $({
411
+ loader: i,
412
+ disableCss: r
413
+ });
414
+ return i != null && a.status === "loaded";
397
415
  }
398
- function ee(e) {
416
+ function ie(e) {
399
417
  typeof requestIdleCallback < "u" ? requestIdleCallback(() => {
400
418
  e();
401
419
  }) : setTimeout(e, 0);
402
420
  }
403
- function te(e, t, i, a) {
404
- let o = r(/* @__PURE__ */ new Set());
405
- n(() => {
421
+ function ae(e, t, n, a, o) {
422
+ let s = i(/* @__PURE__ */ new Set());
423
+ r(() => {
406
424
  if (a && t < e.length - 1) {
407
- let n = e[t + 1];
408
- if (n && !o.current.has(n)) {
409
- o.current.add(n);
410
- let e = i[n];
411
- e && ee(() => {
412
- e().catch(() => {
413
- o.current.delete(n);
425
+ let r = e[t + 1];
426
+ if (r && !s.current.has(r)) {
427
+ s.current.add(r);
428
+ let e = n[r];
429
+ e && ie(() => {
430
+ Z(e, o).catch(() => {
431
+ s.current.delete(r);
414
432
  });
415
433
  });
416
434
  }
@@ -418,9 +436,10 @@ function te(e, t, i, a) {
418
436
  }, [
419
437
  e,
420
438
  t,
421
- i,
422
- a
439
+ n,
440
+ a,
441
+ o
423
442
  ]);
424
443
  }
425
444
  //#endregion
426
- export { M as a, z as c, I as d, R as f, U as i, H as l, E as m, $ as n, L as o, V as p, te as r, B as s, Q as t, P as u };
445
+ export { F as a, H as c, z as d, V as f, K as i, G as l, O as m, re as n, B as o, W as p, ae as r, U as s, ne as t, L as u };
@@ -955,4 +955,4 @@ var Et = function(e) {
955
955
  }, t;
956
956
  }(S);
957
957
  //#endregion
958
- export { r as C, x as S, be as _, Re as a, R as b, We as c, K as d, G as f, we as g, Ce as h, Ne as i, xe as l, Te as m, pt as n, Y as o, ve as p, Je as r, lt as s, Et as t, Se as u, le as v, se as x, k as y };
958
+ export { x as C, y as S, be as _, Re as a, R as b, We as c, K as d, G as f, we as g, Ce as h, Ne as i, xe as l, Te as m, pt as n, Y as o, ve as p, Je as r, lt as s, Et as t, Se as u, le as v, r as w, se as x, k as y };
@@ -1,11 +1,11 @@
1
- import { n as e } from "./i18n-ntrVdqVv.js";
2
- import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
- import { t as i } from "./page-BB20C-zy.js";
4
- import { t as a } from "./typography-Duug0raB.js";
5
- import { t as o } from "./spinner-Cj7kdZ0T.js";
6
- import { t as s } from "./button-i4SPU5G7.js";
7
- import { g as c, h as l } from "./icons-Bk44oy5t.js";
8
- import { t as u } from "./successIcon-SlKgTSty.js";
1
+ import { n as e } from "./i18n-BNE9nYru.js";
2
+ import { _ as t, l as n, v as r } from "./vendor-preact-DYq0_Qbr.js";
3
+ import { t as i } from "./page-C_Z2vd8q.js";
4
+ import { t as a } from "./typography-Dn_SWwB2.js";
5
+ import { t as o } from "./spinner-DTwtoppQ.js";
6
+ import { t as s } from "./button-DXxszYOu.js";
7
+ import { g as c, h as l } from "./icons-B9-0K6zx.js";
8
+ import { t as u } from "./successIcon-COlazRl-.js";
9
9
  //#region src/shared/verificationResult/verificationResult.tsx
10
10
  var d = ({ status: d, submittingTitle: f, successTitle: p, failureTitle: m, warningTitle: h, submittingSubtitle: g, onRetry: _, onSkip: v, retryLabel: y, skipLabel: b }) => {
11
11
  let { t: x } = e(), S = n(null);
@@ -1,5 +1,5 @@
1
- import { v as e } from "./vendor-preact-D6SntenC.js";
2
- import { n as t } from "./uiConfig-CwpQ-IM6.js";
1
+ import { v as e } from "./vendor-preact-DYq0_Qbr.js";
2
+ import { n as t } from "./uiConfig-BfJ9gLl7.js";
3
3
  //#region src/shared/page/pageUiConfig.ts
4
4
  function n(e) {
5
5
  for (let t of e) if (t !== void 0) return t;
@@ -1,10 +1,10 @@
1
- import { n as e } from "../i18n-ntrVdqVv.js";
2
- import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
3
- import { o as i, t as a } from "../incodeComponent-DexcYK3Y.js";
4
- import { t as o } from "../loadingIcon-C-Sq5v_K.js";
5
- import { t as s } from "../successIcon-SlKgTSty.js";
6
- import { t as c } from "../incodeModule-CHzKl22Y.js";
7
- import { t as l } from "../statusPage-DUnznjtg.js";
1
+ import { n as e } from "../i18n-BNE9nYru.js";
2
+ import { _ as t, l as n, v as r } from "../vendor-preact-DYq0_Qbr.js";
3
+ import { o as i, t as a } from "../incodeComponent-Bj2iIi3-.js";
4
+ import { t as o } from "../loadingIcon-BWeYwnoO.js";
5
+ import { t as s } from "../successIcon-COlazRl-.js";
6
+ import { t as c } from "../incodeModule-4-Ij3Hzt.js";
7
+ import { t as l } from "../statusPage-BTF4FmJT.js";
8
8
  import { createWatchlistManager as u } from "@incodetech/core/watchlist";
9
9
  //#region src/modules/watchlist/watchlist.tsx
10
10
  var d = ({ onFinish: a }) => {
@@ -0,0 +1,5 @@
1
+ //#endregion
2
+ //#region \0virtual:incode-css/watchlist
3
+ var e = "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n\n";
4
+ //#endregion
5
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ //#endregion
2
+ //#region \0virtual:incode-css/watchlist-for-business
3
+ var e = "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeWatchlistForBusinessPage {\n height: 100%;\n}\n\n.IncodeWatchlistForBusinessPage .IncodeWatchlistForBusinessForm {\n margin-top: var(--spacing-32, var(--spacing-32, 32px));\n gap: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n height: 100%;\n display: flex;\n}\n\n.IncodeWatchlistForBusinessPage .IncodeWatchlistForBusinessForm button {\n margin-top: auto;\n}\n";
4
+ //#endregion
5
+ export { e as default };