@incodetech/web 2.2.0 → 2.3.0-rc.1

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 (296) hide show
  1. package/THIRD_PARTY_NOTICES.txt +398 -0
  2. package/dist/ae-signature/ae-signature.es.js +4 -4
  3. package/dist/af-ZA-CiGNWICE.js +3043 -0
  4. package/dist/am-C5YehVGG.js +3043 -0
  5. package/dist/antifraud/antifraud.es.js +4 -4
  6. package/dist/ar-AE-BMJuIKTB.js +3059 -0
  7. package/dist/ar-CUw7KMHb.js +3059 -0
  8. package/dist/ar-EG-ojf2Ene5.js +3059 -0
  9. package/dist/assets/dm-sans-latin-400-normal.woff2 +0 -0
  10. package/dist/assets/dm-sans-latin-500-normal.woff2 +0 -0
  11. package/dist/assets/dm-sans-latin-600-normal.woff2 +0 -0
  12. package/dist/assets/dm-sans-latin-700-normal.woff2 +0 -0
  13. package/dist/assets/rethink-sans-latin-800-normal.woff2 +0 -0
  14. package/dist/authentication/authentication.es.js +15 -11
  15. package/dist/{autoFocusTitle-DB-23sv_.js → autoFocusTitle-CVjuQOGZ.js} +2 -2
  16. package/dist/az-DsqjgKhY.js +3043 -0
  17. package/dist/{back-horizontal-hint-CjdigFZj.js → back-horizontal-hint-UQ7Nof6k.js} +1 -1
  18. package/dist/{back-vertical-hint-OhaKsINF.js → back-vertical-hint-Crc8ybfk.js} +1 -1
  19. package/dist/base.css +917 -283
  20. package/dist/baseTutorial-BM2Ho3QZ.js +172 -0
  21. package/dist/bn-Bbn6O_i2.js +3043 -0
  22. package/dist/bottomSheet-Cixb81_b.js +101 -0
  23. package/dist/bs-CYW5eATI.js +3047 -0
  24. package/dist/ca-D5u2Z71o.js +3043 -0
  25. package/dist/cameraOverlay-MpL3OBQu.js +2 -0
  26. package/dist/cameraOverlayHeader-BarDrIC9.js +43 -0
  27. package/dist/cameraView-BNqv7JUh.js +49 -0
  28. package/dist/captureFooter-De74TCQi.js +67 -0
  29. package/dist/ceb-tXsl4nyX.js +3043 -0
  30. package/dist/certificate-issuance/certificate-issuance.es.js +19 -14
  31. package/dist/certificate-issuance/styles.css.js +1 -0
  32. package/dist/{checkbox-FGA-Ij-D.js → checkbox-BR-RTI4R.js} +9 -8
  33. package/dist/{connectionError-BurQq_4R.js → connectionError-Haw33Di8.js} +4 -4
  34. package/dist/consent/consent.es.js +26 -33
  35. package/dist/consent/styles.css +4 -4
  36. package/dist/consent/styles.css.js +1 -0
  37. package/dist/countries-5e8kwG_m.js +8560 -0
  38. package/dist/{countrySelector-COZ7XQHp.js → countrySelector-Zbe2eGzy.js} +8 -10
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  40. package/dist/cs-CZ-BUx_DNTa.js +3051 -0
  41. package/dist/cs-D_6Vg3XS.js +3051 -0
  42. package/dist/curp-validation/curp-validation.es.js +15 -22
  43. package/dist/curp-validation/styles.css.js +1 -0
  44. package/dist/custom-fields/styles.css.js +1 -0
  45. package/dist/{customFields-rVMTo1Yu.js → customFields-CEFWn2wC.js} +44 -19
  46. package/dist/{customWatchlist-DgpXtVRf.js → customWatchlist-Xn3d-zbf.js} +14 -11
  47. package/dist/da-DK-CsmjiCBo.js +3043 -0
  48. package/dist/{dashboardTheme-BUDq5UYs.js → dashboardTheme-B_YjGFDU.js} +31 -7
  49. package/dist/dateInputComposed-0tUVTT0_.js +1 -0
  50. package/dist/{dateInputComposed-DSgV0wnb.js → dateInputComposed-ByhgHDX8.js} +5 -5
  51. package/dist/de-BsJlhx6J.js +3043 -0
  52. package/dist/{manualCaptureButton-D58WsS-x.js → denied-CB1v3PyY.js} +270 -233
  53. package/dist/document-capture/document-capture.es.js +1 -1
  54. package/dist/document-capture/styles.css +4 -4
  55. package/dist/document-capture/styles.css.js +1 -0
  56. package/dist/{documentCapture-sZj09g0I.js → documentCapture-Cj8G5Wgb.js} +16 -17
  57. package/dist/documentCapture-D0o4Xh1J.js +2 -0
  58. package/dist/dropdownComposed-BsEtJjhn.js +1 -0
  59. package/dist/{dropdownComposed-CEegNzG4.js → dropdownComposed-DptsxuHA.js} +9 -9
  60. package/dist/{dynamicForms-t3vepXqJ.js → dynamic-forms/dynamic-forms.es.js} +24 -19
  61. package/dist/dynamic-forms/styles.css +5 -0
  62. package/dist/dynamic-forms/styles.css.js +1 -0
  63. package/dist/ekyb/ekyb.es.js +1 -1
  64. package/dist/ekyb/styles.css +15 -13
  65. package/dist/ekyb/styles.css.js +1 -0
  66. package/dist/ekybModule-B-gioC08.js +2 -0
  67. package/dist/{ekybModule-Dvkf5WAr.js → ekybModule-DqA0hfNQ.js} +17 -30
  68. package/dist/ekyc/ekyc.es.js +1 -1
  69. package/dist/ekyc/styles.css +17 -16
  70. package/dist/ekyc/styles.css.js +1 -0
  71. package/dist/ekycModule-CjkpPQ3f.js +2 -0
  72. package/dist/{ekycModule-C5QXVGP7.js → ekycModule-bRC6FW2H.js} +14 -29
  73. package/dist/el-Dq-L-4X5.js +3043 -0
  74. package/dist/el-GR-c9roJIs_.js +3043 -0
  75. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  76. package/dist/electronic-signature/styles.css +62 -2
  77. package/dist/electronic-signature/styles.css.js +1 -0
  78. package/dist/{electronic-signature-CyE8F7LZ.js → electronic-signature-DRMdCzdF.js} +65 -18
  79. package/dist/email/email.es.js +9 -8
  80. package/dist/email/styles.css.js +1 -0
  81. package/dist/{emailInput-CsT8_C01.js → emailInput-Dz8ukhAE.js} +4 -4
  82. package/dist/en-CmZT05w8.js +3043 -0
  83. package/dist/en-DG-BQHfwiXE.js +3043 -0
  84. package/dist/errorContent-aJuo21I4.js +58 -0
  85. package/dist/es-419-CoqfXTDl.js +3043 -0
  86. package/dist/es-DXFWBB40.js +3043 -0
  87. package/dist/es-ES-TOSb7vSR.js +3043 -0
  88. package/dist/es-MX-CpubyuFB.js +3043 -0
  89. package/dist/et-dg12JfIX.js +3043 -0
  90. package/dist/{expiredId-BQ1uPh7b.js → expiredId-BPgVum6e.js} +22 -27
  91. package/dist/extensibility.es.js +701 -24
  92. package/dist/fa-IR-TKcZgrd1.js +3043 -0
  93. package/dist/face-match/face-match.es.js +1 -1
  94. package/dist/face-match/styles.css +76 -40
  95. package/dist/face-match/styles.css.js +1 -0
  96. package/dist/{faceMatch-Rf-MMdto.js → faceMatch-BcScQR2O.js} +7 -8
  97. package/dist/faceMatch-BvaN_Ggn.js +2 -0
  98. package/dist/fi-FI-BP9vgY5F.js +3043 -0
  99. package/dist/field-comparison/field-comparison.es.js +1 -1
  100. package/dist/field-comparison/styles.css +12 -0
  101. package/dist/field-comparison/styles.css.js +1 -0
  102. package/dist/fieldComparison-D4YoXJKX.js +2 -0
  103. package/dist/{fieldComparison-BnGj3nNp.js → fieldComparison-UKZsi875.js} +27 -11
  104. package/dist/fieldLabelHint-CxjArYkQ.js +16 -0
  105. package/dist/{finalSuccessScreen-B9uB3bST.js → finalSuccessScreen-7OX0TdIz.js} +13 -14
  106. package/dist/fiscal-qr/fiscal-qr.es.js +28 -9
  107. package/dist/fiscal-qr/styles.css +13 -1
  108. package/dist/fiscal-qr/styles.css.js +1 -0
  109. package/dist/{extensibility-C5XqL_A3.js → flipAnimation-BwI4pEJc.js} +608 -1005
  110. package/dist/flow/flow.es.js +308 -62
  111. package/dist/flow/shell/styles.css +402 -0
  112. package/dist/flow/shell/styles.css.js +1 -0
  113. package/dist/flow/styles.css +582 -312
  114. package/dist/formField-DWExlgnz.js +60 -0
  115. package/dist/fr-B4LoNDGy.js +3047 -0
  116. package/dist/fr-CA-CjN8CDsE.js +3047 -0
  117. package/dist/{front-horizontal-hint-Bhz1rq-w.js → front-horizontal-hint-mgovnJf3.js} +1 -1
  118. package/dist/{front-vertical-hint-C4FC1ksx.js → front-vertical-hint-qXMVdLri.js} +1 -1
  119. package/dist/geolocation/geolocation.es.js +9 -9
  120. package/dist/geolocation/styles.css +4 -4
  121. package/dist/geolocation/styles.css.js +1 -0
  122. package/dist/government-validation/government-validation.es.js +38 -86
  123. package/dist/government-validation/styles.css +2 -38
  124. package/dist/government-validation/styles.css.js +1 -0
  125. package/dist/he-CJNS0xku.js +3051 -0
  126. package/dist/hi-CoHu7PnX.js +3043 -0
  127. package/dist/hmn-qubMIB6T.js +3043 -0
  128. package/dist/{homeScreen-Bv9mUUOF.js → homeScreen-CqLbJbhW.js} +8 -7
  129. package/dist/hr-N3Dy9ndd.js +3047 -0
  130. package/dist/ht-iHGiGZhO.js +3043 -0
  131. package/dist/hu-hlQUlAJs.js +3043 -0
  132. package/dist/{icons-ChHV5iHi.js → icons-DNXYxUPA.js} +99 -11
  133. package/dist/id/id.es.js +576 -62
  134. package/dist/id/styles.css +114 -45
  135. package/dist/id/styles.css.js +1 -0
  136. package/dist/id-Dhk7ywrq.js +3037 -0
  137. package/dist/{id-back-of-card-C4XViC7W.js → id-back-of-card-B6EcmiCs.js} +1 -1
  138. package/dist/{id-back-of-card-vertical-DCz0rj8m.js → id-back-of-card-vertical-B3FXhPpj.js} +1 -1
  139. package/dist/{id-front-of-card-CUA1ocVF.js → id-front-of-card-V_BlLaZr.js} +1 -1
  140. package/dist/{id-front-of-card-vertical-Ddm_BwD3.js → id-front-of-card-vertical-CuZjL8kc.js} +1 -1
  141. package/dist/id-ocr/styles.css.js +1 -0
  142. package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -9
  143. package/dist/id-selfie-flow/styles.css +40 -8
  144. package/dist/id-verification/id-verification.es.js +5 -5
  145. package/dist/{idOcr-Da1-2sWY.js → idOcr-Bt0V72id.js} +13 -16
  146. package/dist/identity-reuse/identity-reuse.es.js +8 -113
  147. package/dist/identity-reuse/styles.css +1 -1
  148. package/dist/{incode-logo-DeIDDejm.js → incode-logo-BzJOZr3f.js} +1 -64
  149. package/dist/{incodeComponent-BtFz-bx2.js → incodeComponent-DeVV0gEn.js} +192 -22
  150. package/dist/{incodeModule-9K8KUs61.js → incodeModule-Do8qpZk7.js} +3 -3
  151. package/dist/index.es.js +4 -3
  152. package/dist/{inputComposed-C2zTEXsp.js → inputComposed-9aPipTS_.js} +9 -9
  153. package/dist/inputComposed-DZokKK4c.js +1 -0
  154. package/dist/it-CXYuJ5BQ.js +3043 -0
  155. package/dist/ja-B5OkMrWD.js +3037 -0
  156. package/dist/ja-JP-SlPp7xE2.js +3037 -0
  157. package/dist/jv-DduD6MhM.js +3037 -0
  158. package/dist/ka-CG2wabuB.js +3043 -0
  159. package/dist/kk-D984nBRQ.js +3043 -0
  160. package/dist/km-B-DaaNxL.js +3037 -0
  161. package/dist/ko-B8I6YPOu.js +3037 -0
  162. package/dist/ko-KP-BTQZdVex.js +3037 -0
  163. package/dist/ky-p_wAYlXq.js +3043 -0
  164. package/dist/lo-CS-RhXrt.js +3037 -0
  165. package/dist/lt-C1yAMYTU.js +3051 -0
  166. package/dist/lv-CiHCsaN9.js +3047 -0
  167. package/dist/{mandatoryConsent-CxShVycM.js → mandatoryConsent-BJcDf3s-.js} +10 -7
  168. package/dist/manualCaptureButton-2RTC1vZC.js +63 -0
  169. package/dist/{manualCaptureButton-DzJFIEfu.js → manualCaptureButton-CqwPCE8h.js} +10 -55
  170. package/dist/mk-VumecXcv.js +3043 -0
  171. package/dist/mn-DGMJpCs6.js +3043 -0
  172. package/dist/{modal-BH2wi8Q0.js → modal-H_YHBjxJ.js} +7 -6
  173. package/dist/{modal.hooks-DcakflQ4.js → modal.hooks-B0Wrc9s2.js} +7 -1
  174. package/dist/ms-CBk2NkZ1.js +3037 -0
  175. package/dist/my-BWcPvvs5.js +3037 -0
  176. package/dist/nb-NO-D7azau2s.js +3043 -0
  177. package/dist/ne-D9CU-qx6.js +3043 -0
  178. package/dist/nl-BVhLZVXm.js +3043 -0
  179. package/dist/{numberedStep-DqtXyT11.js → numberedStep-C8e_uPaz.js} +1 -1
  180. package/dist/{optionAccessibleLabel-C5iZCrlq.js → optionAccessibleLabel-C0BRq4LF.js} +6 -6
  181. package/dist/{otpInput-CvPR3ZpP.js → otpInput-C8mlw_Cm.js} +8 -83
  182. package/dist/{passport-horizontal-hint-DzkhjC8Q.js → passport-horizontal-hint-6Ghn2EEN.js} +1 -1
  183. package/dist/{passport-vertical-hint-Bd0BQn2Y.js → passport-vertical-hint-UPFFpdf4.js} +1 -1
  184. package/dist/passwordInputComposed-CDbxJKHR.js +74 -0
  185. package/dist/{pdf-BUoY_2gv.js → pdf-CFubyG0B.js} +1 -1
  186. package/dist/pdfViewer-CCu7pBQv.js +2 -0
  187. package/dist/{pdfViewer-TTZmPABh.js → pdfViewer-DTwxqwSD.js} +4 -4
  188. package/dist/permissions-B0ctl0V9.js +212 -0
  189. package/dist/phone/phone.es.js +10 -9
  190. package/dist/phone/styles.css +1 -1
  191. package/dist/phone/styles.css.js +1 -0
  192. package/dist/{phoneInputComposed-byyszNoS.js → phoneInputComposed-Bz37hY_u.js} +20 -8412
  193. package/dist/pl-DWKpY783.js +3051 -0
  194. package/dist/{processing-B2eaSGLu.js → processing-CrNgzN1u.js} +2 -2
  195. package/dist/pt-B2_-n4Z3.js +3043 -0
  196. package/dist/pt-BR-CC8MxgMX.js +3043 -0
  197. package/dist/pt-PT-vo9--bzz.js +3043 -0
  198. package/dist/qe-signature/qe-signature.es.js +4 -4
  199. package/dist/radioGroupComposed-BFzxJVpZ.js +1 -0
  200. package/dist/{radioGroupComposed-DQzTWutW.js → radioGroupComposed-BrawV4FU.js} +15 -71
  201. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -178
  202. package/dist/redirect-to-mobile/styles.css +2 -27
  203. package/dist/redirect-to-mobile/styles.css.js +1 -0
  204. package/dist/{registerIncodeElement-DW2PE_DX.js → registerIncodeElement-CbZczi4S.js} +1 -1
  205. package/dist/resendTimer-C0HqF9VE.js +79 -0
  206. package/dist/{useModuleLoader-DxOEZ0vn.js → resolveApiKey-DU0APKTv.js} +70 -222
  207. package/dist/{richText-CEwM8jib.js → richText-BEuqr0as.js} +9 -9
  208. package/dist/ro-DOhwcTr3.js +3047 -0
  209. package/dist/ru-CD71PeIH.js +3051 -0
  210. package/dist/ru-RU-DLHiNY0O.js +3051 -0
  211. package/dist/selfie/selfie.es.js +184 -8
  212. package/dist/selfie/styles.css +225 -36
  213. package/dist/selfie/styles.css.js +1 -0
  214. package/dist/signature/signature.es.js +8 -9
  215. package/dist/signature/styles.css.js +1 -0
  216. package/dist/sk-DaVWjX4k.js +3051 -0
  217. package/dist/sl-YiCpfUol.js +3051 -0
  218. package/dist/smsTabContent-C1C1g4GT.js +172 -0
  219. package/dist/so-B2bRmOT5.js +3043 -0
  220. package/dist/{spacer-DLEDuWEx.js → spacer-DZ-t7RMQ.js} +10 -10
  221. package/dist/spinner-hjbTcmA1.js +88 -0
  222. package/dist/sr-BbjKCO-a.js +3047 -0
  223. package/dist/sr-Latn-D-xKaOqV.js +3047 -0
  224. package/dist/sr-YU-1ULH6b8i.js +3047 -0
  225. package/dist/{statusPage-BF4qGjF3.js → statusPage-DeP-KBHD.js} +4 -4
  226. package/dist/sv-SE-5wAQ-CsE.js +3043 -0
  227. package/dist/sw-DVj-0--U.js +3043 -0
  228. package/dist/{tabs-BGL1oRLb.js → tabs-C8WsKO4V.js} +2 -2
  229. package/dist/th-TH-DAqLZmwn.js +3037 -0
  230. package/dist/th-ubpxty9O.js +3037 -0
  231. package/dist/themes/dark.css +125 -0
  232. package/dist/themes/light.css +124 -0
  233. package/dist/tl-DCL6tS5T.js +3043 -0
  234. package/dist/tl-PH-Wftt86RZ.js +3043 -0
  235. package/dist/tr-B58sWy89.js +3043 -0
  236. package/dist/{tutorial-LQuJ4dse.js → tutorial-BP1F722m.js} +40 -226
  237. package/dist/types/certificate-issuance.d.ts +4 -4
  238. package/dist/types/dynamic-forms.d.ts +177 -0
  239. package/dist/types/extensibility.d.ts +75 -23
  240. package/dist/types/flow.d.ts +37 -0
  241. package/dist/types/government-validation.d.ts +2 -1
  242. package/dist/types/index.d.ts +28 -4
  243. package/dist/types/video-selfie.d.ts +6 -161
  244. package/dist/typography-CYO7ELEl.js +53 -0
  245. package/dist/{uiConfig-Dqnjankd.js → uiConfig-BcjOx3PY.js} +184 -8
  246. package/dist/uk-BaklGIxd.js +3051 -0
  247. package/dist/uk-UA-BoawOp_y.js +3051 -0
  248. package/dist/ur-MYw3j3wD.js +3043 -0
  249. package/dist/useModuleLoader-DpcbSKBH.js +176 -0
  250. package/dist/uz-DWfToWrZ.js +3043 -0
  251. package/dist/{vendor-preact-BPXMFRom.js → vendor-preact-C0jX1Cbq.js} +68 -181
  252. package/dist/{verificationResult-q_zD_Pxh.js → verificationResult-Bre5Fb7M.js} +32 -25
  253. package/dist/vi-IY_487Pk.js +3037 -0
  254. package/dist/video-selfie/styles.css +51 -17
  255. package/dist/video-selfie/styles.css.js +1 -0
  256. package/dist/video-selfie/video-selfie.es.js +35 -23
  257. package/dist/watchlist/watchlist.es.js +7 -7
  258. package/dist/watchlist-for-business/styles.css.js +1 -0
  259. package/dist/{watchlistForBusiness-C_zqdY4P.js → watchlistForBusiness-BIrl-mYj.js} +28 -16
  260. package/dist/workflow/styles.css +1073 -356
  261. package/dist/workflow/workflow.es.js +17 -15
  262. package/dist/zh-B1yRDjHf.js +3037 -0
  263. package/dist/zh-CN-B2Yvvabk.js +3037 -0
  264. package/dist/zh-HANT-CdNxQtKM.js +3037 -0
  265. package/dist/zh-TW-BgqFmnMA.js +3037 -0
  266. package/package.json +32 -22
  267. package/dist/bottomSheet-BWEUBq8m.js +0 -38
  268. package/dist/dateInputComposed-BGC37jC7.js +0 -1
  269. package/dist/documentCapture-CO9kIxru.js +0 -2
  270. package/dist/dropdownComposed-Bf4EcKFw.js +0 -1
  271. package/dist/ekybModule-uN0ComAn.js +0 -2
  272. package/dist/ekycModule-B7KRJ7l3.js +0 -2
  273. package/dist/faceMatch-DjD2hgBp.js +0 -2
  274. package/dist/fieldComparison-DFH4hUM_.js +0 -2
  275. package/dist/inputComposed-kKtrvJU5.js +0 -1
  276. package/dist/pdfViewer-C1B-07Wu.js +0 -2
  277. package/dist/requiredLabelHint-Dx0WS2cR.js +0 -17
  278. package/dist/snackbar-eBOj46AK.js +0 -16
  279. package/dist/spinner-CJCOHUKx.js +0 -95
  280. package/dist/successIcon-DS8BLsgy.js +0 -30
  281. package/dist/types/dynamic-forms/styles.d.ts +0 -1
  282. /package/dist/{aligndevicelottie-CfoZ5Uus.js → aligndevicelottie-B12hbVhG.js} +0 -0
  283. /package/dist/{back-tutorial-BHyRHyET.js → back-tutorial-XdmQ0Wml.js} +0 -0
  284. /package/dist/{backdevicelottie-yKkczgFy.js → backdevicelottie-m_DOD8xE.js} +0 -0
  285. /package/dist/{blurdevicelottie-8BbophdM.js → blurdevicelottie-DQo_hTMD.js} +0 -0
  286. /package/dist/{browser-ponyfill-CBjGwwPW.js → browser-ponyfill-ZkeBm4ji.js} +0 -0
  287. /package/dist/{defineProperty-BbpBna-2.js → defineProperty-BojnCa44.js} +0 -0
  288. /package/dist/{flip-animation-CvN8FLNc.js → flip-animation-VicedlT5.js} +0 -0
  289. /package/dist/{frontdevicelottie-CFcahVLk.js → frontdevicelottie-CyIerlMv.js} +0 -0
  290. /package/dist/{glaredevicelottie-Cnvah0kz.js → glaredevicelottie-QM2C6Ivp.js} +0 -0
  291. /package/dist/{id-laser-h-BaUHzX-d.js → id-laser-h-B0-iXcvl.js} +0 -0
  292. /package/dist/{id-laser-v-Dv9yEYJE.js → id-laser-v-Bqh6vimi.js} +0 -0
  293. /package/dist/{id-tutorial-BOOsXlAJ.js → id-tutorial-IhmAzrIF.js} +0 -0
  294. /package/dist/{lottie_light-Bv56F2Ae.js → lottie_light-CzZ3CHBk.js} +0 -0
  295. /package/dist/{passport-tutorial-CeSup6m9.js → passport-tutorial-61vlloJS.js} +0 -0
  296. /package/dist/{selfieTutorial-CYa8bq6B.js → selfieTutorial-BRQ2QNxQ.js} +0 -0
@@ -37,6 +37,28 @@
37
37
  }
38
38
  }
39
39
 
40
+ @keyframes incodeToastFadeInOut {
41
+ 0% {
42
+ opacity: 0;
43
+ transform: translate(-50%, -20px);
44
+ }
45
+
46
+ 15% {
47
+ opacity: 1;
48
+ transform: translate(-50%);
49
+ }
50
+
51
+ 85% {
52
+ opacity: 1;
53
+ transform: translate(-50%);
54
+ }
55
+
56
+ 100% {
57
+ opacity: 0;
58
+ transform: translate(-50%, -20px);
59
+ }
60
+ }
61
+
40
62
  .IncodeCaptureContainer {
41
63
  flex-direction: column;
42
64
  flex: 1;
@@ -51,12 +73,12 @@
51
73
 
52
74
  .IncodeCaptureContainer .IncodeCaptureFrame {
53
75
  aspect-ratio: 1;
76
+ width: 100%;
77
+ max-width: var(--face-capture-frame-max-w);
54
78
  border-radius: var(--radius-full, var(--border-radius-full));
55
79
  border-style: var(--tw-border-style);
56
80
  border-width: 12px;
57
81
  border-color: #0000;
58
- width: 100%;
59
- max-width: 335px;
60
82
  position: relative;
61
83
  }
62
84
 
@@ -68,7 +90,7 @@
68
90
  translate: var(--tw-translate-x) var(--tw-translate-y);
69
91
  transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
70
92
  border-radius: var(--radius-full, var(--border-radius-full));
71
- background-color: var(--color-white, #fff);
93
+ background-color: var(--color-surface-neutral-100-static, var(--surface-neutral-100-static));
72
94
  justify-content: center;
73
95
  align-items: center;
74
96
  display: flex;
@@ -86,12 +108,17 @@
86
108
  }
87
109
 
88
110
  .IncodeCaptureContainer .IncodeCaptureVideoElement {
111
+ inset: var(--spacing-0, var(--spacing-none, 0px));
89
112
  object-fit: cover;
90
113
  width: 100%;
91
114
  height: 100%;
92
115
  position: absolute;
93
116
  }
94
117
 
118
+ .IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeMediaCoverPending {
119
+ opacity: 0;
120
+ }
121
+
95
122
  .IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeCaptureVideoMirrored {
96
123
  transform: scaleX(-1);
97
124
  }
@@ -103,12 +130,17 @@
103
130
  }
104
131
 
105
132
  .IncodeCaptureContainer .IncodeCaptureAvatarElement {
133
+ inset: var(--spacing-0, var(--spacing-none, 0px));
106
134
  object-fit: cover;
107
135
  width: 100%;
108
136
  height: 100%;
109
137
  position: absolute;
110
138
  }
111
139
 
140
+ .IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeMediaCoverPending {
141
+ opacity: 0;
142
+ }
143
+
112
144
  .IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {
113
145
  transform: scaleX(-1);
114
146
  }
@@ -133,7 +165,7 @@
133
165
  .IncodeLoadingBorder {
134
166
  aspect-ratio: 1;
135
167
  width: 100%;
136
- max-width: 335px;
168
+ max-width: var(--face-capture-frame-max-w);
137
169
  position: absolute;
138
170
  }
139
171
 
@@ -188,9 +220,9 @@
188
220
  background-color: var(--color-surface-neutral-900-80, var(--surface-neutral-900-80));
189
221
  width: 100%;
190
222
  padding-inline: var(--spacing-20, var(--spacing-20, 20px));
223
+ box-shadow: var(--id-capture-notification-content-shadow);
191
224
  display: flex;
192
225
  overflow: hidden;
193
- box-shadow: 0 2.079px 36.379px #00000059;
194
226
  }
195
227
 
196
228
  .IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText {
@@ -230,7 +262,7 @@
230
262
  }
231
263
 
232
264
  .IncodeVideoSelfieCapturePage {
233
- background-color: var(--color-black, #000);
265
+ background-color: var(--capture-page-backdrop-color);
234
266
  }
235
267
 
236
268
  .IncodeVideoSelfieCapturePage .IncodePageInner {
@@ -380,7 +412,7 @@
380
412
  }
381
413
 
382
414
  .IncodeVideoSelfieTutorialStartButton {
383
- max-width: 420px;
415
+ max-width: var(--incode-form-max-w);
384
416
  margin: auto;
385
417
  }
386
418
 
@@ -622,20 +654,22 @@
622
654
  }
623
655
 
624
656
  .IncodeVsPoaBanner {
625
- background: #000c;
657
+ top: var(--spacing-0, var(--spacing-none, 0px));
658
+ right: var(--spacing-0, var(--spacing-none, 0px));
659
+ left: var(--spacing-0, var(--spacing-none, 0px));
660
+ background-color: var(--color-surface-neutral-1000-80-static, var(--surface-neutral-1000-80-static));
661
+ padding-inline: var(--spacing-16, var(--spacing-16, 16px));
662
+ padding-top: var(--poa-mask-banner-padding-top);
663
+ padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
626
664
  justify-content: center;
627
665
  align-items: center;
628
- padding: 80px 16px 16px;
629
666
  display: flex;
630
667
  position: absolute;
631
- top: 0;
632
- left: 0;
633
- right: 0;
634
668
  }
635
669
 
636
670
  .IncodeVsPoaBannerText {
637
671
  text-align: center;
638
- color: #fff;
672
+ color: var(--poa-mask-banner-text-color);
639
673
  margin: 0;
640
674
  font-size: 1.5rem;
641
675
  font-weight: 700;
@@ -643,16 +677,16 @@
643
677
  }
644
678
 
645
679
  .IncodeVsPoaBannerEmphasis {
646
- color: #00b2fd;
680
+ color: var(--poa-mask-emphasis-color);
647
681
  }
648
682
 
649
683
  .IncodeVsPoaActions {
684
+ right: var(--spacing-16, var(--spacing-16, 16px));
685
+ bottom: var(--spacing-16, var(--spacing-16, 16px));
686
+ left: var(--spacing-16, var(--spacing-16, 16px));
650
687
  justify-content: center;
651
688
  display: flex;
652
689
  position: absolute;
653
- bottom: 16px;
654
- left: 16px;
655
- right: 16px;
656
690
  }
657
691
 
658
692
  .IncodeVsPoaButton {
@@ -0,0 +1 @@
1
+ export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n .IncodeComponent, .IncodeComponent *, .IncodeComponent :before, .IncodeComponent :after, .IncodeComponent ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n }\n }\n}\n\n@layer incode-theme, incode-utilities, incode-base, incode-components;\n\n@keyframes slideUp {\n from {\n transform: translateY(100%);\n }\n\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes incodeToastFadeInOut {\n 0% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n\n 15% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 85% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 100% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n}\n\n.IncodeCaptureContainer {\n flex-direction: column;\n flex: 1;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n height: 100%;\n display: flex;\n position: relative;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureFrame {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n border-radius: var(--radius-full, var(--border-radius-full));\n border-style: var(--tw-border-style);\n border-width: 12px;\n border-color: #0000;\n position: relative;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoWrapper {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n width: calc(100% - 24px);\n height: calc(100% - 24px);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-surface-neutral-100-static, var(--surface-neutral-100-static));\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideo {\n z-index: 50;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeCaptureVideoMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarHost {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureVisuallyHidden {\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n\n.IncodeFaceOutline {\n width: 100%;\n height: 100%;\n}\n\n.IncodeLoadingBorder {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderBase, .IncodeLoadingBorder .IncodeLoadingBorderForeground {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderForeground.IncodeLoadingBorderSpinning {\n animation: var(--animate-spin, spin 1s linear infinite);\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderPath {\n transition: all 1s ease-in-out;\n}\n\n.IncodeNotification {\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n.IncodeNotification .IncodeNotificationText {\n text-align: center;\n font-family: var(--typography-feedback-family);\n font-size: var(--typography-feedback-l-size);\n font-weight: var(--typography-feedback-l-weight);\n line-height: var(--typography-feedback-l-line-height);\n letter-spacing: var(--typography-feedback-l-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeIdCaptureNotification {\n top: var(--spacing-24, var(--spacing-24, 24px));\n right: var(--spacing-24, var(--spacing-24, 24px));\n left: var(--spacing-24, var(--spacing-24, 24px));\n z-index: 100;\n max-width: var(--incode-form-max-w);\n padding-bottom: var(--spacing-32, var(--spacing-32, 32px));\n align-items: flex-end;\n margin: auto;\n display: flex;\n position: absolute;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent {\n z-index: 100;\n border-radius: var(--radius-large, var(--border-radius-large));\n border-style: var(--tw-border-style);\n border-width: 2px;\n border-color: var(--color-border-neutral-300, var(--border-neutral-300));\n background-color: var(--color-surface-neutral-900-80, var(--surface-neutral-900-80));\n width: 100%;\n padding-inline: var(--spacing-20, var(--spacing-20, 20px));\n box-shadow: var(--id-capture-notification-content-shadow);\n display: flex;\n overflow: hidden;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText {\n justify-content: center;\n gap: var(--spacing-8, var(--spacing-8, 8px));\n padding-top: var(--spacing-16, var(--spacing-16, 16px));\n padding-bottom: var(--spacing-12, var(--spacing-12, 12px));\n text-align: center;\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n flex-direction: column;\n display: flex;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText .IncodeIdCaptureNotificationTitle {\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h3-size);\n font-weight: var(--typography-headline-h3-weight);\n line-height: var(--typography-headline-h3-line-height);\n letter-spacing: var(--typography-headline-h3-letter-spacing);\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText .IncodeIdCaptureNotificationDescription {\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h5-size);\n font-weight: var(--typography-headline-h5-weight);\n line-height: var(--typography-headline-h5-line-height);\n letter-spacing: var(--typography-headline-h5-letter-spacing);\n color: var(--color-text-body-tertiary-static, var(--text-body-300-tertiary-static));\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationAnimation {\n height: var(--id-capture-notification-animation-height);\n justify-content: center;\n align-items: center;\n width: auto;\n display: flex;\n}\n\n.IncodeVideoSelfieCapturePage {\n background-color: var(--capture-page-backdrop-color);\n}\n\n.IncodeVideoSelfieCapturePage .IncodePageInner {\n padding: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieCapturePage .IncodePageContent {\n flex: 1;\n position: relative;\n}\n\n.IncodeVideoSelfieOverlay {\n pointer-events: none;\n inset: var(--spacing-0, var(--spacing-none, 0px));\n z-index: 10;\n flex-direction: column;\n align-items: center;\n display: flex;\n position: absolute;\n container-type: inline-size;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage {\n background-color: var(--color-surface-neutral-900-static, var(--surface-neutral-900-static));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodePageInner {\n padding: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodePageContent {\n flex: 1;\n position: relative;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCamera {\n width: 100%;\n height: 100%;\n padding-inline: var(--spacing-24, var(--spacing-24, 24px));\n flex-direction: column;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraContent {\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n flex-direction: column;\n display: flex;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraIcon {\n width: var(--spacing-40, var(--spacing-40, 40px));\n height: var(--spacing-40, var(--spacing-40, 40px));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraTitle {\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n}\n\n.IncodeVideoSelfieTutorialPage .IncodePageContent {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieTutorialBody {\n margin-top: var(--spacing-24, var(--spacing-24, 24px));\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n flex: 1;\n overflow-y: auto;\n}\n\n.IncodeVideoSelfieTutorialSteps {\n width: 100%;\n max-width: var(--incode-form-max-w);\n gap: var(--spacing-8, var(--spacing-8, 8px));\n flex-direction: column;\n margin-inline: auto;\n display: flex;\n}\n\n.IncodeVideoSelfieTutorialStep {\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n display: flex;\n}\n\n.IncodeVideoSelfieTutorialStepIcon {\n width: var(--spacing-40, var(--spacing-40, 40px));\n height: var(--spacing-40, var(--spacing-40, 40px));\n border-radius: var(--radius-small, var(--border-radius-small));\n border-style: var(--tw-border-style);\n border-width: 2px;\n border-color: var(--color-border-neutral-100, var(--border-neutral-100));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n.IncodeVideoSelfieTutorialStepIcon svg {\n height: var(--spacing-24, var(--spacing-24, 24px));\n width: var(--spacing-24, var(--spacing-24, 24px));\n}\n\n.IncodeVideoSelfieTutorialStep:not(:last-child) .IncodeVideoSelfieTutorialStepIcon:after {\n content: \"\";\n height: var(--spacing-8, var(--spacing-8, 8px));\n width: var(--spacing-2, var(--spacing-2, 2px));\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n background-color: var(--color-border-neutral-100, var(--border-neutral-100));\n position: absolute;\n top: 100%;\n left: 50%;\n}\n\n.IncodeVideoSelfieTutorialStepLabel {\n text-align: left;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h4-size);\n font-weight: var(--typography-headline-h4-weight);\n line-height: var(--typography-headline-h4-line-height);\n letter-spacing: var(--typography-headline-h4-letter-spacing);\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n}\n\n.IncodeVideoSelfieTutorialActions {\n bottom: var(--spacing-0, var(--spacing-none, 0px));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n width: 100%;\n padding-top: var(--spacing-24, var(--spacing-24, 24px));\n padding-bottom: var(--spacing-24, var(--spacing-24, 24px));\n flex-shrink: 0;\n display: flex;\n position: sticky;\n}\n\n.IncodeVideoSelfieTutorialStartButton {\n max-width: var(--incode-form-max-w);\n margin: auto;\n}\n\n.IncodeVsStepsHeader {\n inset-inline: var(--spacing-0, var(--spacing-none, 0px));\n top: var(--spacing-0, var(--spacing-none, 0px));\n gap: var(--spacing-2, var(--spacing-2, 2px));\n width: 100%;\n padding-inline: var(--spacing-24, var(--spacing-24, 24px));\n padding-top: var(--spacing-24, var(--spacing-24, 24px));\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n z-index: var(--video-selfie-chrome-z-index);\n background-color: #0000;\n list-style-type: none;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStep {\n align-items: center;\n gap: var(--spacing-8, var(--spacing-8, 8px));\n width: 100%;\n height: var(--video-selfie-stepper-height);\n flex-direction: column;\n flex: 1;\n display: flex;\n position: relative;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStep img {\n width: var(--spacing-32, var(--spacing-32, 32px));\n height: var(--spacing-32, var(--spacing-32, 32px));\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderPill {\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-surface-neutral-200, var(--surface-neutral-200));\n width: 100%;\n height: var(--video-selfie-stepper-pill-height);\n opacity: .25;\n transition: opacity .3s ease-in-out;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStepCompleted .IncodeVsStepsHeaderPill {\n opacity: .5;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStepCurrent .IncodeVsStepsHeaderPill {\n opacity: 1;\n}\n\n.IncodeVsStepsHeader.IncodeVsStepsHeaderFinished .IncodeVsStepsHeaderPill {\n background-color: var(--border-status-positive-static);\n opacity: 1;\n}\n\n.IncodeVsSelfieManualCapture {\n pointer-events: auto;\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMask {\n border-radius: var(--radius-full, var(--border-radius-full));\n z-index: var(--video-selfie-mask-z-index);\n width: 86cqw;\n height: 86cqw;\n box-shadow: var(--video-selfie-mask-vignette-shadow);\n position: absolute;\n top: calc(50% - 7cqw);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMask .IncodeVsSelfieMaskRing {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: visible;\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskFeedback {\n inset-inline: var(--spacing-0, var(--spacing-none, 0px));\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n width: 100%;\n z-index: var(--video-selfie-chrome-z-index);\n max-width: var(--video-selfie-feedback-max-width);\n flex-direction: column;\n margin-inline: auto;\n display: flex;\n position: absolute;\n top: calc(50% + 36cqw + 40px);\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskIcon {\n width: var(--spacing-32, var(--spacing-32, 32px));\n height: var(--spacing-32, var(--spacing-32, 32px));\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskText {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n}\n\n.IncodeVsIdMask {\n z-index: 50;\n padding-inline: var(--spacing-24);\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n inset: 0;\n}\n\n.IncodeVsIdMask .IncodeVsIdManualCapture {\n bottom: var(--spacing-32);\n z-index: 60;\n pointer-events: auto;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.IncodeVsIdMask .IncodeIdCaptureNotification {\n top: calc(var(--spacing-24) + var(--video-selfie-stepper-height) + var(--spacing-16));\n}\n\n.IncodeVsIdMask .IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent {\n background-color: var(--surface-neutral-900-static);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback {\n z-index: 100;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n border-radius: var(--radius-medium, var(--border-radius-medium));\n padding: var(--spacing-32, var(--spacing-32, 32px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n background-color: var(--surface-neutral-900-static);\n border: var(--border-width-regular) solid var(--border-neutral-100-static);\n width: max-content;\n max-width: var(--video-selfie-id-feedback-max-width);\n flex-direction: column;\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n overflow: hidden;\n transform: translate(-50%, -50%);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackError {\n width: var(--video-selfie-id-feedback-width);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackProcessing {\n gap: var(--spacing-16);\n color: var(--text-body-50-static);\n width: var(--video-selfie-id-processing-feedback-width);\n height: var(--video-selfie-id-processing-feedback-height);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackProcessing p {\n white-space: nowrap;\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback .IncodeVsIdFeedbackSpinnerPrimary {\n fill: var(--spinner-surface-primary);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback .IncodeVsIdFeedbackSpinnerSecondary {\n fill: var(--surface-brand-900-static);\n}\n\n.IncodeVsIdFlipModal .IncodeModalDialog {\n max-width: none;\n height: 100%;\n}\n\n.IncodeVsIdFlipModal .IncodeModalContent {\n border-radius: var(--radius-none, var(--border-radius-none));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n max-width: none;\n height: 100%;\n padding: var(--spacing-24, var(--spacing-24, 24px));\n justify-content: center;\n gap: var(--video-selfie-id-flip-gap);\n}\n\n.IncodeVsIdFlipModal .IncodeModalTitleSectionCenter {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVsIdFlipModal .IncodeVsIdFlipAnimation {\n height: var(--video-selfie-id-flip-animation-height);\n width: var(--video-selfie-id-flip-animation-width);\n overflow: hidden;\n}\n\n.IncodeVsFinalSuccess {\n justify-content: center;\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n padding-block: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n flex: 1;\n display: flex;\n}\n\n.IncodeVsFinalSuccess .IncodeVsFinalSuccessTitle {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeVsPoaMask {\n pointer-events: none;\n z-index: 50;\n position: absolute;\n inset: 0;\n}\n\n.IncodeVsPoaBanner {\n top: var(--spacing-0, var(--spacing-none, 0px));\n right: var(--spacing-0, var(--spacing-none, 0px));\n left: var(--spacing-0, var(--spacing-none, 0px));\n background-color: var(--color-surface-neutral-1000-80-static, var(--surface-neutral-1000-80-static));\n padding-inline: var(--spacing-16, var(--spacing-16, 16px));\n padding-top: var(--poa-mask-banner-padding-top);\n padding-bottom: var(--spacing-16, var(--spacing-16, 16px));\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsPoaBannerText {\n text-align: center;\n color: var(--poa-mask-banner-text-color);\n margin: 0;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.4;\n}\n\n.IncodeVsPoaBannerEmphasis {\n color: var(--poa-mask-emphasis-color);\n}\n\n.IncodeVsPoaActions {\n right: var(--spacing-16, var(--spacing-16, 16px));\n bottom: var(--spacing-16, var(--spacing-16, 16px));\n left: var(--spacing-16, var(--spacing-16, 16px));\n justify-content: center;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsPoaButton {\n pointer-events: auto;\n width: 100%;\n}\n\n.IncodeVsVoicePanel {\n pointer-events: auto;\n z-index: var(--video-selfie-mask-z-index);\n align-items: center;\n gap: var(--spacing-12);\n padding: var(--spacing-20) var(--spacing-16);\n border-radius: var(--border-radius-large);\n background: var(--surface-neutral-0-static);\n color: var(--text-body-800-primary-static);\n border: var(--video-selfie-voice-panel-border-width) solid transparent;\n box-shadow: var(--video-selfie-voice-vignette-shadow);\n flex-direction: column;\n transition: border-color .3s ease-in-out;\n display: flex;\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n}\n\n.IncodeVsVoicePanel.IncodeVsVoicePanelActive {\n border-color: var(--border-brand-500);\n}\n\n.IncodeVsVoicePanel.IncodeVsVoicePanelProcessing {\n border-style: var(--tw-border-style);\n left: var(--spacing-8);\n right: var(--spacing-8);\n bottom: var(--spacing-8);\n justify-content: center;\n align-items: center;\n gap: var(--spacing-16);\n height: var(--video-selfie-voice-processing-height);\n min-height: var(--video-selfie-voice-processing-height);\n padding: var(--spacing-24) var(--spacing-16);\n border-width: 0;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelProcessingTitle {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-spinner-text-title, var(--spinner-text-title));\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelLabel {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h4-size);\n font-weight: var(--typography-headline-h4-weight);\n line-height: var(--typography-headline-h4-line-height);\n letter-spacing: var(--typography-headline-h4-letter-spacing);\n color: var(--text-body-500-secondary-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelTitle {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n padding-inline: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--text-body-800-primary-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelButton {\n width: 100%;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStepper {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n gap: var(--spacing-8, var(--spacing-8, 8px));\n width: 100%;\n padding: var(--spacing-0, var(--spacing-none, 0px));\n list-style-type: none;\n display: flex;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStep {\n height: var(--spacing-4);\n border-radius: var(--border-radius-full);\n background: var(--surface-neutral-100-static);\n flex: 1;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStepActive {\n background: var(--surface-brand-500-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceMic {\n width: var(--spacing-16);\n height: var(--spacing-16);\n border-radius: var(--border-radius-full);\n background: var(--icon-status-negative);\n animation: 1.2s ease-in-out infinite IncodeVsVoiceMicPulse;\n}\n\n@keyframes IncodeVsVoiceMicPulse {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n\n 50% {\n opacity: .4;\n transform: scale(.8);\n }\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n";
@@ -1,17 +1,16 @@
1
- import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
- import { C as k, d as T, g as q, l as A, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
- import { a as TerminalErrorPage, b as useManager, f as useTimeoutHandle, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
- import { d as cn, n as LoadingIcon } from "../spacer-DLEDuWEx.js";
5
- import { n as Title } from "../spinner-CJCOHUKx.js";
6
- import { r as Button } from "../incode-logo-DeIDDejm.js";
7
- import "../icons-ChHV5iHi.js";
8
- import { t as SuccessIcon } from "../successIcon-DS8BLsgy.js";
9
- import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-DzJFIEfu.js";
10
- import { n as Permissions } from "../manualCaptureButton-D58WsS-x.js";
11
- import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
12
- import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-B9uB3bST.js";
1
+ import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
2
+ import { S as k, _ as y, c as A, f as d, h as q, u as T, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
+ import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, i as withStandaloneModuleBootstrap, m as useTimeoutHandle, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
4
+ import { d as cn, n as LoadingIcon } from "../spacer-DZ-t7RMQ.js";
5
+ import { t as Title } from "../typography-CYO7ELEl.js";
6
+ import { r as SuccessIcon, x as Button } from "../icons-DNXYxUPA.js";
7
+ import { t as CameraView } from "../cameraView-BNqv7JUh.js";
8
+ import { t as Permissions } from "../permissions-B0ctl0V9.js";
9
+ import { r as preloadCaptureAnimations } from "../manualCaptureButton-CqwPCE8h.js";
10
+ import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
11
+ import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-7OX0TdIz.js";
13
12
  import { eventModuleNames, eventScreenNames, screenEvent, videoSelfieEvents } from "@incodetech/core/events";
14
- import { createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, warmupVideoSelfieWasm } from "@incodetech/core/video-selfie";
13
+ import { VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
15
14
  //#region src/modules/video-selfie/poaMask.tsx
16
15
  /**
17
16
  * Port of V1's `ProofOfAddressMask`: a pass-through overlay for the
@@ -431,9 +430,11 @@ var getSelfieVariant = (detectionStatus) => {
431
430
  };
432
431
  var VideoSelfieContent = ({ config, onFinish, onError }) => {
433
432
  const { t } = useTranslation();
434
- const cameraWarmer = T(() => config ? createVideoSelfieCameraWarmer(config) : null, [config]);
433
+ const steps = T(() => config ? resolveVideoSelfieSteps(config) : [], [config]);
434
+ const cameraWarmer = T(() => config ? createVideoSelfieCameraWarmer(config, steps) : null, [config, steps]);
435
435
  const [state, manager] = useManager(() => createVideoSelfieRecordingManager({
436
436
  config,
437
+ steps,
437
438
  dependencies: cameraWarmer ? { acquireCamera: cameraWarmer.acquireCamera } : void 0
438
439
  }), { autoLoad: false });
439
440
  const [phase, setPhase] = d(config?.showTutorials ? "tutorial" : "permissions");
@@ -444,8 +445,7 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
444
445
  });
445
446
  y(() => {
446
447
  if ((phase === "tutorial" || phase === "permissions") && config) {
447
- warmupVideoSelfieWasm(config);
448
- if (config.checkIdScan) {
448
+ if (steps.some((step) => step === "frontId" || step === "backId")) {
449
449
  preloadCaptureAnimations();
450
450
  preloadIdFlipAnimation();
451
451
  }
@@ -454,6 +454,7 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
454
454
  }, [
455
455
  phase,
456
456
  config,
457
+ steps,
457
458
  cameraWarmer
458
459
  ]);
459
460
  y(() => () => cameraWarmer?.dispose(), [cameraWarmer]);
@@ -461,14 +462,20 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
461
462
  if (phase !== "capture") return;
462
463
  manager.start();
463
464
  }, [manager, phase]);
464
- useModuleTerminalCallbacks({
465
+ const validationAttemptsExhausted = state.status === "error" && state.errorKind === "validationAttemptsExhausted";
466
+ useModuleTerminalCallbacks(validationAttemptsExhausted ? {
467
+ status: state.status,
468
+ onFinish,
469
+ onError,
470
+ error: state.error,
471
+ moduleErrorCode: VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE
472
+ } : {
465
473
  status: state.status,
466
474
  onFinish
467
475
  });
468
- const steps = T(() => config ? resolveVideoSelfieSteps(config) : [], [config]);
469
476
  const step = state.step ?? "selfie";
470
477
  if (phase === "tutorial" && config) return /* @__PURE__ */ u(VideoSelfieTutorial, {
471
- config,
478
+ steps,
472
479
  onStart: () => setPhase("permissions")
473
480
  });
474
481
  if (phase === "permissions") return /* @__PURE__ */ u(Permissions, {
@@ -476,10 +483,15 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
476
483
  permissionStatus
477
484
  });
478
485
  if (state.status === "finished" || state.status === "aborted") return null;
479
- if (state.status === "error") return /* @__PURE__ */ u(TerminalErrorPage, {
480
- message: state.errorKind === "connection" ? t("connectionError.subtitle") : void 0,
481
- onRetry: () => manager.retry()
482
- });
486
+ if (state.status === "error") {
487
+ if (validationAttemptsExhausted) return null;
488
+ const isTerminalTimeout = state.errorKind === "maxVideoLengthReached";
489
+ return /* @__PURE__ */ u(TerminalErrorPage, {
490
+ message: isTerminalTimeout ? t("videoSelfie.error.maxVideoLengthReached") : state.errorKind === "connection" ? t("connectionError.subtitle") : void 0,
491
+ retryable: !isTerminalTimeout,
492
+ onRetry: isTerminalTimeout ? void 0 : () => manager.retry()
493
+ });
494
+ }
483
495
  if (state.status === "finalizing") return /* @__PURE__ */ u(VideoSelfieFinalizingScreen, {});
484
496
  if (state.status === "success") return /* @__PURE__ */ u(VideoSelfieFinalSuccessScreen, {});
485
497
  if (state.status === "switchingCamera") return /* @__PURE__ */ u(SwitchingCameraScreen, {
@@ -1,10 +1,10 @@
1
- import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
- import { v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
- import { b as useManager, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
- import { n as LoadingIcon } from "../spacer-DLEDuWEx.js";
5
- import { t as SuccessIcon } from "../successIcon-DS8BLsgy.js";
6
- import { t as StatusPage } from "../statusPage-BF4qGjF3.js";
7
- import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
1
+ import { o as useTranslation } from "../uiConfig-BcjOx3PY.js";
2
+ import { _ as y, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
+ import { S as useManager, b as useModuleTerminalCallbacks, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
4
+ import { n as LoadingIcon } from "../spacer-DZ-t7RMQ.js";
5
+ import { r as SuccessIcon } from "../icons-DNXYxUPA.js";
6
+ import { t as StatusPage } from "../statusPage-DeP-KBHD.js";
7
+ import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
8
8
  import { createWatchlistManager } from "@incodetech/core/watchlist";
9
9
  //#region src/modules/watchlist/watchlist.tsx
10
10
  var WatchlistContent = ({ manager: externalManager, onFinish }) => {
@@ -0,0 +1 @@
1
+ export default "/*! 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 align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.IncodeWatchlistForBusinessPage .IncodeWatchlistForBusinessForm button {\n margin-top: auto;\n}\n";
@@ -1,18 +1,17 @@
1
- import { a as useTranslation } from "./uiConfig-Dqnjankd.js";
2
- import { v as y, y as u } from "./vendor-preact-BPXMFRom.js";
3
- import { b as useManager, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "./incodeComponent-BtFz-bx2.js";
4
- import { n as LoadingIcon } from "./spacer-DLEDuWEx.js";
5
- import { r as Button } from "./incode-logo-DeIDDejm.js";
6
- import { t as SuccessIcon } from "./successIcon-DS8BLsgy.js";
7
- import { t as StatusPage } from "./statusPage-BF4qGjF3.js";
8
- import { t as InputComposed } from "./inputComposed-C2zTEXsp.js";
9
- import { t as registerIncodeModuleElement } from "./incodeModule-9K8KUs61.js";
10
- import { t as CountrySelector } from "./countrySelector-COZ7XQHp.js";
1
+ import { o as useTranslation } from "./uiConfig-BcjOx3PY.js";
2
+ import { _ as y, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "./incodeComponent-DeVV0gEn.js";
4
+ import { n as LoadingIcon } from "./spacer-DZ-t7RMQ.js";
5
+ import { r as SuccessIcon, x as Button } from "./icons-DNXYxUPA.js";
6
+ import { t as StatusPage } from "./statusPage-DeP-KBHD.js";
7
+ import { t as InputComposed } from "./inputComposed-9aPipTS_.js";
8
+ import { t as registerIncodeModuleElement } from "./incodeModule-Do8qpZk7.js";
9
+ import { t as CountrySelector } from "./countrySelector-Zbe2eGzy.js";
11
10
  import { createWatchlistForBusinessManager } from "@incodetech/core/watchlist-for-business";
12
11
  //#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
13
- var WatchlistForBusinessContent = ({ onFinish }) => {
12
+ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
14
13
  const { t } = useTranslation();
15
- const [state, manager] = useManager(() => createWatchlistForBusinessManager());
14
+ const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager(), { manageLifecycle: !externalManager });
16
15
  y(() => {
17
16
  manager.load();
18
17
  }, [manager]);
@@ -34,21 +33,26 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
34
33
  });
35
34
  if (state.status === "form" || state.status === "idle") {
36
35
  const formState = state.status === "form" ? state : null;
36
+ const businessNameError = formState?.validationErrors?.businessName;
37
37
  return /* @__PURE__ */ u(Page, {
38
38
  className: "IncodeWatchlistForBusinessPage",
39
39
  title: t("watchlistForBusiness.title"),
40
+ subtitle: t("forms.subtitle"),
40
41
  hideFooterBranding: true,
42
+ "data-testid": "watchlist-for-business-page",
41
43
  children: /* @__PURE__ */ u("form", {
42
44
  class: "IncodeWatchlistForBusinessForm",
45
+ "data-testid": "watchlist-for-business-form",
46
+ noValidate: true,
43
47
  onSubmit: (e) => {
44
48
  e.preventDefault();
45
49
  manager.submit();
46
50
  },
47
- autoComplete: "off",
48
51
  children: [
49
52
  /* @__PURE__ */ u(CountrySelector, {
50
53
  id: "watchlist-for-business-country",
51
54
  label: t("watchlistForBusiness.country"),
55
+ required: true,
52
56
  value: formState?.country ?? "US",
53
57
  onChange: (country) => manager.setCountry(country),
54
58
  "data-testid": "watchlist-for-business-country-selector"
@@ -57,12 +61,17 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
57
61
  id: "businessName",
58
62
  name: "businessName",
59
63
  label: t("watchlistForBusiness.businessName"),
64
+ "data-testid": "watchlist-for-business-name",
65
+ autoComplete: "organization",
66
+ required: true,
67
+ error: businessNameError ? t(businessNameError) : void 0,
68
+ showErrorIcon: !!businessNameError,
60
69
  value: formState?.businessName ?? "",
61
70
  onInput: (e) => manager.setBusinessName(e.target.value)
62
71
  }),
63
72
  /* @__PURE__ */ u(Button, {
64
73
  type: "submit",
65
- disabled: !formState?.isValid,
74
+ disabled: formState ? !formState.canSubmit : false,
66
75
  "data-testid": "watchlist-for-business-submit",
67
76
  children: t("watchlistForBusiness.continue")
68
77
  })
@@ -72,8 +81,11 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
72
81
  }
73
82
  return null;
74
83
  };
75
- var WatchlistForBusinessWithLocalConfig = ({ onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, { onFinish }) });
76
- var WatchlistForBusiness = withStandaloneModuleBootstrap(WatchlistForBusinessWithLocalConfig, "WATCHLIST_BUSINESS");
84
+ var WatchlistForBusinessWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
85
+ manager,
86
+ onFinish
87
+ }) });
88
+ var WatchlistForBusiness = withStandaloneModuleBootstrap(WatchlistForBusinessWithLocalConfig, "WATCHLIST_BUSINESS", { supportsExternalManager: true });
77
89
  registerIncodeModuleElement(WatchlistForBusiness, "incode-watchlist-for-business");
78
90
  //#endregion
79
91
  export { WatchlistForBusiness };