@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
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
3
  //#region src/modules/id/assets/id-back-of-card.svg?react
4
4
  var id_back_of_card_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdBackOfCard });
5
5
  var SvgIdBackOfCard = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
3
  //#region src/modules/id/assets/id-back-of-card-vertical.svg?react
4
4
  var id_back_of_card_vertical_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdBackOfCardVertical });
5
5
  var SvgIdBackOfCardVertical = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
3
  //#region src/modules/id/assets/id-front-of-card.svg?react
4
4
  var id_front_of_card_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdFrontOfCard });
5
5
  var SvgIdFrontOfCard = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
3
  //#region src/modules/id/assets/id-front-of-card-vertical.svg?react
4
4
  var id_front_of_card_vertical_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdFrontOfCardVertical });
5
5
  var SvgIdFrontOfCardVertical = (props) => /* @__PURE__ */ u("svg", {
@@ -0,0 +1 @@
1
+ export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeIdOcrPage {\n width: 100%;\n height: 100%;\n animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;\n margin-inline: auto;\n animation-fill-mode: both;\n}\n\n@media (min-width: 48rem) {\n .IncodeIdOcrPage.IncodePageContainer {\n align-items: stretch;\n }\n}\n\n.IncodeIdOcrPage .IncodePageInner {\n height: 100%;\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeIdOcrPage .IncodePageContent {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeIdOcrPage .IncodeIdOcrForm {\n margin-top: var(--spacing-32, var(--spacing-32, 32px));\n height: 100%;\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n display: flex;\n}\n\n.IncodeIdOcrPage .IncodeIdOcrFields {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n justify-content: flex-start;\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n flex: 1;\n width: 100%;\n display: flex;\n overflow-y: auto;\n}\n\n.IncodeIdOcrPage .IncodeIdOcrButton {\n width: 100%;\n padding-top: var(--spacing-16, var(--spacing-16, 16px));\n flex-shrink: 0;\n}\n\n.IncodeIdOcrPage .IncodeIdOcrRadioGroup {\n max-width: var(--incode-form-max-w);\n}\n";
@@ -1,11 +1,12 @@
1
- import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
- import { d as T, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
- import { a as TerminalErrorPage, b as useManager, l as TransitionSpinner, o as Page, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
- import { n as Title } from "../spinner-CJCOHUKx.js";
5
- import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-DzJFIEfu.js";
6
- import { n as Permissions } from "../manualCaptureButton-D58WsS-x.js";
7
- import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
8
- 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 { _ as y, f as d, 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, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
4
+ import { t as Title } from "../typography-CYO7ELEl.js";
5
+ import { t as CameraView } from "../cameraView-BNqv7JUh.js";
6
+ import { t as Permissions } from "../permissions-B0ctl0V9.js";
7
+ import { r as preloadCaptureAnimations } from "../manualCaptureButton-CqwPCE8h.js";
8
+ import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
9
+ 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";
9
10
  import { createIdSelfieFlowManager, resolveIdSelfieFlowConfig, warmupIdSelfieFlowWasm } from "@incodetech/core/id-selfie-flow";
10
11
  import { facingModeForStep } from "@incodetech/core/video-selfie";
11
12
  //#region src/modules/id-selfie-flow/id-selfie-flow.tsx
@@ -131,7 +132,7 @@ var IdSelfieFlowContent = ({ config, onFinish, onError }) => {
131
132
  case "blur": return t("notifications.onBlur");
132
133
  case "faceMask": return t("notifications.mask");
133
134
  case "lenses": return t("notifications.removeLenses");
134
- case "eyesClosed": return t("notifications.eyesClosed");
135
+ case "eyesClosed": return t("notifications.closedEyes");
135
136
  case "headWear": return t("notifications.removeHeadwear");
136
137
  default: return t("videoSelfie.lookCamera");
137
138
  }
@@ -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 {
@@ -287,9 +319,9 @@
287
319
  }
288
320
 
289
321
  .IncodeSelfieManualCapture {
322
+ max-width: var(--manual-face-capture-max-w);
290
323
  flex-direction: column;
291
324
  align-items: center;
292
- max-width: 275px;
293
325
  display: flex;
294
326
  }
295
327
 
@@ -309,7 +341,7 @@
309
341
  }
310
342
 
311
343
  .IncodeVideoSelfieCapturePage {
312
- background-color: var(--color-black, #000);
344
+ background-color: var(--capture-page-backdrop-color);
313
345
  }
314
346
 
315
347
  .IncodeVideoSelfieCapturePage .IncodePageInner {
@@ -413,7 +445,7 @@
413
445
  }
414
446
 
415
447
  .IncodeVideoSelfieTutorialStartButton {
416
- max-width: 420px;
448
+ max-width: var(--incode-form-max-w);
417
449
  margin: auto;
418
450
  }
419
451
 
@@ -1,8 +1,8 @@
1
- import { y as u } from "../vendor-preact-BPXMFRom.js";
2
- import { b as useManager, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
3
- import { t as Spinner } from "../spinner-CJCOHUKx.js";
4
- import { t as ExpiredId } from "../expiredId-BQ1uPh7b.js";
5
- import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
1
+ import { v as u } from "../vendor-preact-C0jX1Cbq.js";
2
+ import { S as useManager, b as useModuleTerminalCallbacks, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
3
+ import { t as Spinner } from "../spinner-hjbTcmA1.js";
4
+ import { t as ExpiredId } from "../expiredId-BPgVum6e.js";
5
+ import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
6
6
  import { createIdVerificationManager } from "@incodetech/core/id-verification";
7
7
  //#region src/modules/id-verification/id-verification.tsx
8
8
  var IdVerificationContent = ({ config, manager: externalManager, onFinish }) => {
@@ -1,14 +1,15 @@
1
- import { a as useTranslation } from "./uiConfig-Dqnjankd.js";
2
- import { d as T, 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 { r as Button } from "./incode-logo-DeIDDejm.js";
5
- import "./extensibility-C5XqL_A3.js";
6
- import { t as VerificationResult } from "./verificationResult-q_zD_Pxh.js";
7
- import { t as InputComposed } from "./inputComposed-C2zTEXsp.js";
8
- import { t as RadioGroupComposed } from "./radioGroupComposed-DQzTWutW.js";
9
- import { t as DateInputComposed } from "./dateInputComposed-DSgV0wnb.js";
10
- import { t as registerIncodeModuleElement } from "./incodeModule-9K8KUs61.js";
11
- import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
1
+ import { o as useTranslation } from "./uiConfig-BcjOx3PY.js";
2
+ import { 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 { x as Button } from "./icons-DNXYxUPA.js";
5
+ import { t as VerificationResult } from "./verificationResult-Bre5Fb7M.js";
6
+ import { t as InputComposed } from "./inputComposed-9aPipTS_.js";
7
+ import "./inputComposed-DZokKK4c.js";
8
+ import { t as DateInputComposed } from "./dateInputComposed-ByhgHDX8.js";
9
+ import "./dateInputComposed-0tUVTT0_.js";
10
+ import { t as RadioGroupComposed } from "./radioGroupComposed-BrawV4FU.js";
11
+ import "./radioGroupComposed-BFzxJVpZ.js";
12
+ import { t as registerIncodeModuleElement } from "./incodeModule-Do8qpZk7.js";
12
13
  import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
13
14
  //#region src/modules/id-ocr/idOcrForm.tsx
14
15
  var TEXT_FIELD_COMPONENTS = {
@@ -34,19 +35,15 @@ var IdOcrForm = ({ fields, data, validationErrors, isReadonly, onChange, onBlur,
34
35
  if (field.key === "documentNumber" && isReadonly) return !!data.documentNumber;
35
36
  return true;
36
37
  });
37
- const mode = T(() => getRequiredHintMode(visibleFields.map((f) => isReadonly ? false : f.required)), [visibleFields, isReadonly]);
38
38
  const renderField = (field) => {
39
39
  const value = data[field.key] ?? "";
40
40
  const fieldErrorKey = validationErrors?.[field.key];
41
41
  const fieldError = fieldErrorKey ? t(fieldErrorKey) : void 0;
42
42
  const isFieldRequired = isReadonly ? false : field.required;
43
- const hint = getFieldHint(mode, isFieldRequired);
44
- const labelHint = hint ? t(`forms.label.${hint}`) : void 0;
45
43
  if (field.type === "radio") return /* @__PURE__ */ u(RadioGroupComposed, {
46
44
  id: `id-ocr-${field.key}`,
47
45
  class: "IncodeIdOcrRadioGroup",
48
46
  label: t(field.labelKey),
49
- labelHint,
50
47
  value,
51
48
  options: (field.options ?? []).map((option) => ({
52
49
  value: option.value,
@@ -61,7 +58,6 @@ var IdOcrForm = ({ fields, data, validationErrors, isReadonly, onChange, onBlur,
61
58
  return /* @__PURE__ */ u(Component, {
62
59
  id: `id-ocr-${field.key}`,
63
60
  label: t(field.labelKey),
64
- labelHint,
65
61
  value,
66
62
  disabled: isReadonly,
67
63
  required: isFieldRequired,
@@ -115,6 +111,7 @@ var IdOcrContent = ({ config, manager: externalManager, onFinish }) => {
115
111
  });
116
112
  if (state.status === "readonly" || state.status === "inputting") return /* @__PURE__ */ u(Page, {
117
113
  title: t("idOcr.title"),
114
+ subtitle: state.status === "inputting" ? t("forms.subtitle") : void 0,
118
115
  className: "IncodeIdOcrPage",
119
116
  hideFooterBranding: true,
120
117
  children: /* @__PURE__ */ u(IdOcrForm, {
@@ -1,118 +1,13 @@
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, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
- import { t as Spinner } from "../spinner-CJCOHUKx.js";
5
- import { r as Button } from "../incode-logo-DeIDDejm.js";
6
- 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, c as Page, t as IncodeComponent } from "../incodeComponent-DeVV0gEn.js";
4
+ import { t as Spinner } from "../spinner-hjbTcmA1.js";
5
+ import { x as Button } from "../icons-DNXYxUPA.js";
6
+ import { t as countryFlagEmoji } from "../countries-5e8kwG_m.js";
7
+ import { t as registerIncodeModuleElement } from "../incodeModule-Do8qpZk7.js";
7
8
  import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
8
9
  //#region src/modules/identity-reuse/identity-reuse.tsx
9
10
  /**
10
- * ISO 3166-1 alpha-3 → alpha-2 mapping for countries the SDK supports.
11
- * The identity-reuse backend returns alpha-3 codes; flag rendering needs
12
- * alpha-2. Extend as backend support expands; unmapped codes fall back to "".
13
- */
14
- var ISO3_TO_ISO2 = {
15
- USA: "US",
16
- MEX: "MX",
17
- CAN: "CA",
18
- GBR: "GB",
19
- DEU: "DE",
20
- FRA: "FR",
21
- ESP: "ES",
22
- ITA: "IT",
23
- BRA: "BR",
24
- ARG: "AR",
25
- COL: "CO",
26
- CHL: "CL",
27
- PER: "PE",
28
- AUS: "AU",
29
- NZL: "NZ",
30
- JPN: "JP",
31
- KOR: "KR",
32
- CHN: "CN",
33
- IND: "IN",
34
- RUS: "RU",
35
- ZAF: "ZA",
36
- NGA: "NG",
37
- EGY: "EG",
38
- ARE: "AE",
39
- SAU: "SA",
40
- ISR: "IL",
41
- TUR: "TR",
42
- NLD: "NL",
43
- BEL: "BE",
44
- CHE: "CH",
45
- AUT: "AT",
46
- SWE: "SE",
47
- NOR: "NO",
48
- DNK: "DK",
49
- FIN: "FI",
50
- POL: "PL",
51
- PRT: "PT",
52
- IRL: "IE",
53
- GRC: "GR",
54
- CZE: "CZ",
55
- HUN: "HU",
56
- ROU: "RO",
57
- UKR: "UA",
58
- PHL: "PH",
59
- IDN: "ID",
60
- MYS: "MY",
61
- SGP: "SG",
62
- THA: "TH",
63
- VNM: "VN",
64
- PAK: "PK",
65
- BGD: "BD",
66
- HKG: "HK",
67
- TWN: "TW",
68
- VEN: "VE",
69
- ECU: "EC",
70
- GTM: "GT",
71
- CRI: "CR",
72
- PAN: "PA",
73
- DOM: "DO",
74
- PRI: "PR",
75
- CUB: "CU",
76
- JAM: "JM",
77
- HND: "HN",
78
- SLV: "SV",
79
- NIC: "NI",
80
- BOL: "BO",
81
- PRY: "PY",
82
- URY: "UY",
83
- KEN: "KE",
84
- GHA: "GH",
85
- MAR: "MA",
86
- TUN: "TN",
87
- KWT: "KW",
88
- QAT: "QA",
89
- BHR: "BH",
90
- OMN: "OM",
91
- JOR: "JO",
92
- LBN: "LB",
93
- SRB: "RS",
94
- HRV: "HR",
95
- SVK: "SK",
96
- SVN: "SI",
97
- BGR: "BG",
98
- LTU: "LT",
99
- LVA: "LV",
100
- EST: "EE",
101
- ISL: "IS",
102
- LUX: "LU",
103
- MLT: "MT",
104
- CYP: "CY"
105
- };
106
- /** Convert an ISO-2 or ISO-3 country code to a flag emoji. */
107
- function countryCodeToFlag(countryCode) {
108
- if (!countryCode) return "";
109
- const upper = countryCode.toUpperCase();
110
- const iso2 = upper.length === 3 ? ISO3_TO_ISO2[upper] ?? "" : upper;
111
- if (iso2.length !== 2) return "";
112
- const A_OFFSET = 127462 - "A".charCodeAt(0);
113
- return String.fromCodePoint(iso2.charCodeAt(0) + A_OFFSET, iso2.charCodeAt(1) + A_OFFSET);
114
- }
115
- /**
116
11
  * Format a backend verification timestamp as a locale-aware short date
117
12
  * (e.g. "15 Apr 2023" in en-US). Auto-detects unit: values >= 1e12 are
118
13
  * treated as milliseconds, smaller values as unix seconds (the documents
@@ -139,7 +34,7 @@ var RadioDot = ({ checked }) => /* @__PURE__ */ u("span", {
139
34
  var DocumentCard = ({ document, selected, recommended, tabIndex, onSelect, locale }) => {
140
35
  const { t } = useTranslation();
141
36
  const typeLabel = t(`identityReuse.documentType.${document.documentType}`);
142
- const flag = countryCodeToFlag(document.countryCode);
37
+ const flag = countryFlagEmoji(document.countryCode);
143
38
  const verifiedDate = formatVerifiedAt(document.verifiedAt, locale);
144
39
  const verifiedWord = t("identityReuse.verified", { defaultValue: "Verified" });
145
40
  const verifiedLabel = verifiedDate ? `${verifiedWord} ${verifiedDate}` : null;
@@ -64,7 +64,7 @@
64
64
 
65
65
  .IncodeIdentityReusePage .IncodeIdentityReuseCard:focus-visible {
66
66
  outline: var(--focus-outline-width) solid var(--border-status-focus);
67
- outline-offset: var(--focus-outline-width);
67
+ outline-offset: var(--focus-outline-offset);
68
68
  }
69
69
 
70
70
  .IncodeIdentityReusePage .IncodeIdentityReuseCardSelected, .IncodeIdentityReusePage .IncodeIdentityReuseCardSelected:hover {
@@ -1,67 +1,4 @@
1
- import { C as k, a as D, y as u } from "./vendor-preact-BPXMFRom.js";
2
- import { d as cn, n as LoadingIcon } from "./spacer-DLEDuWEx.js";
3
- //#region src/shared/button/button.tsx
4
- var LOADER_SIZE = 30;
5
- var variantClass = {
6
- primary: "IncodeButtonPrimary",
7
- secondary: "IncodeButtonSecondary",
8
- link: "IncodeButtonLink"
9
- };
10
- var sizeClass = {
11
- L: "IncodeButtonL",
12
- M: "IncodeButtonM",
13
- S: "IncodeButtonS",
14
- inline: "IncodeButtonInline"
15
- };
16
- var Button = D((props, ref) => {
17
- const { isLoading = false, variant = "primary", size = "L", icon, class: className, type = "button", children, disabled, ...rest } = props;
18
- const iconOnly = !children && !!icon;
19
- const showLoader = isLoading && size === "L";
20
- const renderContent = () => {
21
- if (showLoader) return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(LoadingIcon, { size: LOADER_SIZE }), children ? /* @__PURE__ */ u("span", {
22
- class: "IncodeButtonLoadingLabel",
23
- children
24
- }) : null] });
25
- if (iconOnly) return icon;
26
- if (icon) return /* @__PURE__ */ u(k, { children: [children, icon] });
27
- return children;
28
- };
29
- return /* @__PURE__ */ u("button", {
30
- ref,
31
- ...rest,
32
- class: cn("IncodeButton", variantClass[variant], sizeClass[size], showLoader ? "IncodeButtonLoading" : "", iconOnly ? "IncodeButtonIconOnly" : "", className),
33
- disabled: disabled || showLoader,
34
- "aria-busy": showLoader || void 0,
35
- type,
36
- children: renderContent()
37
- });
38
- });
39
- //#endregion
40
- //#region src/shared/icons/errorIcon.tsx
41
- var ErrorIcon = ({ size = 32 }) => {
42
- return /* @__PURE__ */ u("svg", {
43
- xmlns: "http://www.w3.org/2000/svg",
44
- width: size,
45
- height: size,
46
- viewBox: "0 0 64 64",
47
- fill: "none",
48
- class: "IncodeErrorIcon",
49
- "aria-hidden": "true",
50
- children: [/* @__PURE__ */ u("path", {
51
- "fill-rule": "evenodd",
52
- "clip-rule": "evenodd",
53
- d: "M32 6.66669C18.032 6.66669 6.66669 18.0294 6.66669 32C6.66669 45.968 18.032 57.3334 32 57.3334C45.968 57.3334 57.3334 45.968 57.3334 32C57.3334 18.0294 45.968 6.66669 32 6.66669Z",
54
- fill: "var(--icon-status-negative)"
55
- }), /* @__PURE__ */ u("path", {
56
- "fill-rule": "evenodd",
57
- "clip-rule": "evenodd",
58
- d: "M39.6426 39.6368C39.2533 40.0261 38.7413 40.2235 38.2293 40.2235C37.7146 40.2235 37.2053 40.0261 36.8133 39.6368L31.9973 34.8181L27.1946 39.6208C26.4133 40.4021 25.1467 40.4021 24.3653 39.6208C23.5867 38.8395 23.5867 37.5755 24.3653 36.7941L29.168 31.9915L24.3627 27.1835C23.5813 26.4021 23.5813 25.1381 24.3627 24.3568C25.144 23.5755 26.408 23.5755 27.1893 24.3568L31.9946 29.1621L36.8 24.3595C37.5813 23.5781 38.8453 23.5781 39.6266 24.3595C40.408 25.1381 40.408 26.4048 39.6266 27.1861L34.824 31.9915L39.6426 36.8075C40.424 37.5888 40.424 38.8555 39.6426 39.6368Z",
59
- fill: "var(--icon-neutral-0)"
60
- })]
61
- });
62
- };
63
- //#endregion
64
1
  //#region src/shared/page/incode-logo.svg
65
2
  var incode_logo_default = "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e";
66
3
  //#endregion
67
- export { ErrorIcon as n, Button as r, incode_logo_default as t };
4
+ export { incode_logo_default as t };