@incodetech/web 2.4.1-agentic.5 → 2.4.1-agentic.7

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 (271) hide show
  1. package/dist/{GeolocationPermissionDenied-BJNTlg_Y.js → GeolocationPermissionDenied-3mTykEZh.js} +3 -3
  2. package/dist/ae-signature/ae-signature.es.js +3 -3
  3. package/dist/{af-ZA-CiFv40jj.js → af-ZA-DateoR0B.js} +2 -0
  4. package/dist/{ageVerification-CtA_jt83.js → ageVerification-DqO9J_x1.js} +3 -3
  5. package/dist/{am-B9FTMDnt.js → am-C6jaAEZr.js} +2 -0
  6. package/dist/antifraud/antifraud.es.js +4 -4
  7. package/dist/{applyStudioConfig-Bv6hDQPF.js → applyStudioConfig-DkG_xMJg.js} +3 -3
  8. package/dist/{ar-AE-DpjV-vdh.js → ar-AE-DXhd_SRU.js} +2 -0
  9. package/dist/{ar-4J7OZB7L.js → ar-DBpBX-qe.js} +2 -0
  10. package/dist/{ar-EG-BwrDU1AU.js → ar-EG-CBv_hBOE.js} +2 -0
  11. package/dist/{asset-B_qa0dx0.js → asset-B5BiSMLu.js} +11 -11
  12. package/dist/authentication/authentication.es.js +6 -6
  13. package/dist/{az-D5xVnDdW.js → az-mhk1ebvA.js} +2 -0
  14. package/dist/{baseTutorial-CFFEYoIK.js → baseTutorial-CdCVfaVE.js} +2 -2
  15. package/dist/{bn-CuQpemyH.js → bn-BA1MrK9J.js} +2 -0
  16. package/dist/{bottomSheet-1Rsn5u1m.js → bottomSheet-B9pTb4rQ.js} +1 -1
  17. package/dist/{bs-D74HDAG5.js → bs-BYOwW4lV.js} +2 -0
  18. package/dist/{ca-DTeraD_x.js → ca-CLn0LB3W.js} +2 -0
  19. package/dist/cameraOverlay-DI9J7Lli.js +2 -0
  20. package/dist/{cameraOverlayHeader-CQzJBbTC.js → cameraOverlayHeader-CjqkzqeU.js} +1 -1
  21. package/dist/{cameraView-B2u3A2er.js → cameraView-o0_drKHQ.js} +1 -1
  22. package/dist/capture-CE2PNWF0.js +3 -0
  23. package/dist/{capture-PORSuL9q.js → capture-D5WqNI_8.js} +18 -18
  24. package/dist/capture-DxafsIYk.js +2 -0
  25. package/dist/{capture-f_wb5tzL.js → capture-DxzgnjUj.js} +8 -8
  26. package/dist/{captureFocusContext-LZDiTHUc.js → captureFocusContext-6QJOI2Z5.js} +7 -7
  27. package/dist/{captureFooter-tXDiaHeB.js → captureFooter-xVlPhBJh.js} +2 -2
  28. package/dist/{ceb-BjfACP-7.js → ceb-CMWRVM4o.js} +2 -0
  29. package/dist/certificate-issuance/certificate-issuance.es.js +6 -6
  30. package/dist/chooser-CDQ6tx57.js +1518 -0
  31. package/dist/{connectionError-B-3E6cLJ.js → connectionError-Cr-xLkYW.js} +2 -2
  32. package/dist/consent/consent.es.js +7 -7
  33. package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CVWXjepc.js} +1 -1
  34. package/dist/{countrySelector-7s3pNP6_.js → countrySelector-BLH5uAYj.js} +3 -3
  35. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  36. package/dist/{cs-CZ-BbjTLhyz.js → cs-CZ-DuTNvUXH.js} +2 -0
  37. package/dist/{cs-Biuu-_gN.js → cs-hfCvtFWO.js} +2 -0
  38. package/dist/curp-validation/curp-validation.es.js +10 -10
  39. package/dist/{customFields-BmhL7Sw8.js → customFields-Otyx_2nU.js} +8 -8
  40. package/dist/{customWatchlist-iifvpPU4.js → customWatchlist-QjcjxelY.js} +6 -6
  41. package/dist/{da-DK-Duota7oh.js → da-DK-WQ2KQPuJ.js} +2 -0
  42. package/dist/dashboardTheme-7BWYR0iN.js +364 -0
  43. package/dist/dateInputComposed-CrfyTeqc.js +1 -0
  44. package/dist/{de-BhTjBjpR.js → de-C98XsEZ9.js} +2 -0
  45. package/dist/{denied-CucAlluC.js → denied-_nJKRI2k.js} +5 -5
  46. package/dist/{deviceWallet-ChGwlp_e.js → deviceWallet-4Jk7CqX-.js} +3 -3
  47. package/dist/{digitalIdRedirect-C2RrfLHJ.js → digitalIdRedirect-BurERRxl.js} +3 -3
  48. package/dist/{digitalIdUpload-DGyB2XGJ.js → digitalIdUpload-NvzT3UmN.js} +5 -5
  49. package/dist/document-capture/document-capture.es.js +1 -1
  50. package/dist/{documentCapture-8KabAGc-.js → documentCapture-B8JyEA7L.js} +17 -17
  51. package/dist/documentCapture-D8m2Hazg.js +2 -0
  52. package/dist/dropdownComposed-CZwrZSQu.js +1 -0
  53. package/dist/dynamic-forms/dynamic-forms.es.js +11 -11
  54. package/dist/ekyb/ekyb.es.js +1 -1
  55. package/dist/{ekybModule-DZLFo67i.js → ekybModule-CBy5rSgL.js} +12 -11
  56. package/dist/ekybModule-E8kXGMGo.js +2 -0
  57. package/dist/ekyc/ekyc.es.js +1 -1
  58. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  59. package/dist/ekyc-prefill/styles.css +2 -0
  60. package/dist/ekyc-prefill/styles.css.js +1 -0
  61. package/dist/{ekycModule-ByqkBddY.js → ekycModule-403hDcHa.js} +14 -13
  62. package/dist/ekycModule-CR_v7Urc.js +2 -0
  63. package/dist/ekycPrefillModule-BfjC46eL.js +2 -0
  64. package/dist/ekycPrefillModule-Dzu1Uyav.js +206 -0
  65. package/dist/{el-GR-CkDZDLhI.js → el-GR-BOZZ6kGP.js} +2 -0
  66. package/dist/{el-YN-grXaf.js → el-q9uGOIQj.js} +2 -0
  67. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  68. package/dist/{electronic-signature-BjqGRr3W.js → electronic-signature-DMHWbVT-.js} +8 -8
  69. package/dist/email/email.es.js +7 -7
  70. package/dist/{emailInput-BU0kQEGI.js → emailInput-pJb_11ym.js} +1 -1
  71. package/dist/{en-CBt0Ye_1.js → en-467cbjdQ.js} +2 -0
  72. package/dist/{en-DG-T_olkoMp.js → en-DG-B3O9C2V1.js} +2 -0
  73. package/dist/{errorContent-D5tIrjUN.js → errorContent-9Nn9vlCk.js} +3 -3
  74. package/dist/{formField-BwFQTv_l.js → errorParams-DksU0z9B.js} +2 -33
  75. package/dist/{es-419-bxUiyEwo.js → es-419-BsG4018F.js} +1 -1
  76. package/dist/{es-CObFA7C6.js → es-D1K3CMdM.js} +2 -0
  77. package/dist/{es-ES-DPd-qbOT.js → es-ES-DdPLSyPa.js} +2 -0
  78. package/dist/{es-MX-DuvThbhU.js → es-MX-Ch3EQcSx.js} +2 -0
  79. package/dist/{et-BWjx2g8p.js → et-Bq0Dts6v.js} +2 -0
  80. package/dist/{expiredId-BiODDerF.js → expiredId-mGt8OPsN.js} +2 -2
  81. package/dist/extensibility.es.js +36 -36
  82. package/dist/{fa-IR-ay6VRK4A.js → fa-IR-LNN-YxHn.js} +2 -0
  83. package/dist/face-match/face-match.es.js +1 -1
  84. package/dist/{faceMatch-CN1Yg4IV.js → faceMatch-BV8xt_-3.js} +7 -7
  85. package/dist/faceMatch-BsI10paU.js +2 -0
  86. package/dist/{fi-FI-D3QRmzv6.js → fi-FI-BNxIaRzY.js} +2 -0
  87. package/dist/field-comparison/field-comparison.es.js +1 -1
  88. package/dist/{fieldComparison-BcMABuzz.js → fieldComparison-BcLvJpjX.js} +6 -6
  89. package/dist/fieldComparison-CaMQ2xna.js +2 -0
  90. package/dist/{finalSuccessScreen-BpsDueA_.js → finalSuccessScreen-DjFfxeJ4.js} +10 -10
  91. package/dist/fiscal-qr/fiscal-qr.es.js +12 -12
  92. package/dist/{flipAnimation-B61pFKUj.js → flipAnimation-DzF8TDyk.js} +2 -2
  93. package/dist/{flipCapturedCardEligibility-B8vc_nIf.js → flipCapturedCardEligibility-Dc36mGgW.js} +1 -1
  94. package/dist/flow/flow.es.js +30 -28
  95. package/dist/flow/styles.css +1 -1
  96. package/dist/formField-M7p_iFWM.js +34 -0
  97. package/dist/{fr-CA-BF5G8qJB.js → fr-CA-S06QCk9V.js} +2 -0
  98. package/dist/{fr-GetxCO8r.js → fr-u29vuYQx.js} +2 -0
  99. package/dist/geolocation/geolocation.es.js +7 -7
  100. package/dist/government-validation/government-validation.es.js +6 -6
  101. package/dist/{he-D_eKu3ap.js → he-BC9YLbjY.js} +2 -0
  102. package/dist/{hi-BvSRKMYQ.js → hi-CVkRRwIg.js} +2 -0
  103. package/dist/{hmn-CcekIvzi.js → hmn-D-0W_S4F.js} +2 -0
  104. package/dist/{homeScreen-BY8BWb6X.js → homeScreen-D5rxve7d.js} +10 -8
  105. package/dist/{hooks-BrS_ACtf.js → hooks-CDR35bse.js} +5 -5
  106. package/dist/{hr-QXx_HZe0.js → hr-CWjVVM6I.js} +2 -0
  107. package/dist/{ht-B0XKVh-6.js → ht-ChtH9wIJ.js} +2 -0
  108. package/dist/{hu-J00UA1ME.js → hu-B3UPgPTw.js} +2 -0
  109. package/dist/{i18n-ptY20DE1.js → i18n-u3NzadJk.js} +83 -84
  110. package/dist/id/id.es.js +34 -34
  111. package/dist/{id-BRaSJEeS.js → id-CxxniPDa.js} +2 -0
  112. package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -10
  113. package/dist/id-verification/id-verification.es.js +5 -5
  114. package/dist/{idFlipTransition-BfVTScDx.js → idFlipTransition-D_3Xcv5t.js} +9 -9
  115. package/dist/{idOcr-8D8fBAO2.js → idOcr-DQoug5MS.js} +10 -10
  116. package/dist/identity-reuse/identity-reuse.es.js +9 -9
  117. package/dist/{incodeComponent-QkHKy0HS.js → incodeComponent-BiJXBKeU.js} +7 -7
  118. package/dist/{incodeModule-CY2D4C_T.js → incodeModule-DVfOvMqz.js} +4 -4
  119. package/dist/index.es.js +4 -4
  120. package/dist/{it-MZWQQ6ZV.js → it-BWNi1ssJ.js} +2 -0
  121. package/dist/{ja-lJXN_zRz.js → ja-Bi87ddtW.js} +2 -0
  122. package/dist/{ja-JP-DZGO0Yez.js → ja-JP-CJa2A3eS.js} +2 -0
  123. package/dist/{jv-3QiXTqVj.js → jv-DACu96LS.js} +2 -0
  124. package/dist/{ka-mYKxCCIH.js → ka-CsJepV5w.js} +2 -0
  125. package/dist/{kk-C5zClH5y.js → kk-X7c1l89K.js} +2 -0
  126. package/dist/{km-Dz-hRSP9.js → km-CvXCyken.js} +2 -0
  127. package/dist/{ko-DMV8WRai.js → ko-DHgrTAp2.js} +2 -0
  128. package/dist/{ko-KP-B8kXDW6S.js → ko-KP-DwoyFpy2.js} +2 -0
  129. package/dist/{ky-97ZOLMBm.js → ky-DOTbMMTY.js} +2 -0
  130. package/dist/kyb-checks/kyb-checks.es.js +1 -1
  131. package/dist/{kybChecksModule-C0mRehGS.js → kybChecksModule-Bb-PqYhl.js} +11 -11
  132. package/dist/kybChecksModule-W3urT_Bv.js +2 -0
  133. package/dist/{lo-C5SEEmQn.js → lo-DMVttlBh.js} +2 -0
  134. package/dist/{lt-BXthDw5k.js → lt-Fs9DJf4D.js} +2 -0
  135. package/dist/{lv-DUsVHjL7.js → lv-q3oRHomC.js} +2 -0
  136. package/dist/{mandatoryConsent-Ch13QL6p.js → mandatoryConsent-h3x9ZwtD.js} +7 -7
  137. package/dist/{manualCaptureButton-Dn8byKuZ.js → manualCaptureButton-Ckjt9d0h.js} +1 -1
  138. package/dist/{manualCaptureButton-CViq10gG.js → manualCaptureButton-NsonWEPN.js} +9 -9
  139. package/dist/{mk-CuUZ4W5D.js → mk-JBoZLiy-.js} +2 -0
  140. package/dist/{mn-B5GO4hF8.js → mn-DIUjCj1v.js} +2 -0
  141. package/dist/{ms-C6aiwqsc.js → ms-Dn1SQEpm.js} +2 -0
  142. package/dist/{my-CAuEhlcg.js → my-CFbwa84N.js} +2 -0
  143. package/dist/{nb-NO-tyiZmETQ.js → nb-NO-ClpZ74DD.js} +2 -0
  144. package/dist/{ne-C_fyRC7y.js → ne-CNBg_gU2.js} +2 -0
  145. package/dist/{nl-BG6Wbi3N.js → nl-a3PViqF7.js} +2 -0
  146. package/dist/{optionAccessibleLabel-CvOO9ZVT.js → optionAccessibleLabel-C2y1oHVy.js} +4 -4
  147. package/dist/{otpInput-AaSn9Ruh.js → otpInput-BDVO3HOb.js} +2 -2
  148. package/dist/{page-CnpmxyvZ.js → page-ECTZ7Scm.js} +13 -10
  149. package/dist/{pageUiConfig-ClF7nWSE.js → pageUiConfig-BZn0ChHi.js} +25 -7
  150. package/dist/{pdf-CKGcYdXK.js → pdf-DhnlSeEH.js} +2 -2
  151. package/dist/pdfViewer-BgoqZciN.js +2 -0
  152. package/dist/{pdfViewer-qdh1DKTC.js → pdfViewer-D23fWzxN.js} +2 -2
  153. package/dist/{permissions-ifxYelIH.js → permissions-B93BiIsP.js} +8 -8
  154. package/dist/phone/phone.es.js +7 -7
  155. package/dist/{phoneInputComposed-BOV8kRk0.js → phoneInputComposed-D-lgH0d8.js} +2 -2
  156. package/dist/{pl-BNroDq7G.js → pl-CVluXWsU.js} +2 -0
  157. package/dist/{processing-CZiUy4BT.js → processing-BSPocNrJ.js} +1 -1
  158. package/dist/{pt-BR-CSJg1BAM.js → pt-BR-Div2fk79.js} +2 -0
  159. package/dist/{pt-CsLiWfXa.js → pt-Cy3AqRwB.js} +2 -0
  160. package/dist/{pt-PT-Doc4guSK.js → pt-PT-C8ZNbxUp.js} +2 -0
  161. package/dist/qe-signature/qe-signature.es.js +3 -3
  162. package/dist/radioGroupComposed-Ce4VE6ML.js +1 -0
  163. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +11 -12
  164. package/dist/{resendTimer-CktMT08l.js → resendTimer-BWOgfa5C.js} +1 -1
  165. package/dist/{richText-DBGVN4P1.js → richText-CrEcRraT.js} +3 -3
  166. package/dist/{ro-BsqPtooL.js → ro-Cns7UINU.js} +2 -0
  167. package/dist/{ru-RU-BIEZPugh.js → ru-RU-Dmyj3klD.js} +2 -0
  168. package/dist/{ru-eDdezCNQ.js → ru-zpwWzbmA.js} +2 -0
  169. package/dist/{sanitizeSvg-Dqsvc2EE.js → sanitizeSvg-OaeiB1E_.js} +1 -1
  170. package/dist/selfie/selfie.es.js +10 -10
  171. package/dist/signature/signature.es.js +7 -7
  172. package/dist/{sk-B08pEpLj.js → sk-B5OyePoE.js} +2 -0
  173. package/dist/{sl-BLFTkiyF.js → sl-CY_QJ1RK.js} +2 -0
  174. package/dist/{smsTabContent-CAhRkCbr.js → smsTabContent-D1emomux.js} +3 -3
  175. package/dist/{so-BdJPYzOM.js → so-aI_KpKFL.js} +2 -0
  176. package/dist/{spinner-DFB8ASip.js → spinner-DJB6V2X_.js} +3 -3
  177. package/dist/{sr-C3cxf_Wq.js → sr-C8o3y1pd.js} +2 -0
  178. package/dist/{sr-Latn-DOH184iM.js → sr-Latn-BYhPtZEb.js} +2 -0
  179. package/dist/{sr-YU-oj1KcRYc.js → sr-YU-BnKpP-Gi.js} +1 -1
  180. package/dist/step-up/step-up.es.js +13 -20
  181. package/dist/step-up/styles.css +1 -1
  182. package/dist/{sv-SE-6PPPYiVN.js → sv-SE-C2J7iWlO.js} +2 -0
  183. package/dist/{sw-CQt5ubBe.js → sw-xrmQJvJY.js} +2 -0
  184. package/dist/{th-TH-BDekaNPB.js → th-TH-CkT6oACc.js} +2 -0
  185. package/dist/{th-Dl3az7aD.js → th-wS5S0tbM.js} +2 -0
  186. package/dist/themes/dark.css +1 -1
  187. package/dist/themes/light.css +1 -1
  188. package/dist/{tl-l6V8f4g8.js → tl-D3xTuT9W.js} +2 -0
  189. package/dist/{tl-PH-Bql8aiw_.js → tl-PH-DKFgMSQB.js} +2 -0
  190. package/dist/{tr-BG00CEF6.js → tr-B9vTooiF.js} +2 -0
  191. package/dist/{transitionSpinner-BmtOUyI9.js → transitionSpinner-B2aXWGqv.js} +4 -4
  192. package/dist/{tutorial-CmQm1Oat.js → tutorial-BEr0rzJr.js} +3 -3
  193. package/dist/types/ekyc-prefill.d.ts +209 -0
  194. package/dist/types/step-up.d.ts +3 -0
  195. package/dist/{uiConfig-71gkIpbB.js → uiConfig-BA0o63SK.js} +10 -1
  196. package/dist/{uk-oi7_ILoF.js → uk-K5uuUMVh.js} +2 -0
  197. package/dist/{uk-UA-umT1PLY3.js → uk-UA-CD-Tnkn-.js} +2 -0
  198. package/dist/{ur-CbB_FNG9.js → ur-Ci0j8RF3.js} +2 -0
  199. package/dist/{useCaptureHelpButton-BWTOl2Jm.js → useCaptureHelpButton-BDP8HPRE.js} +2 -2
  200. package/dist/{useModuleLoader-MHFwe5jf.js → useModuleLoader-Cm84w8E1.js} +6 -1
  201. package/dist/{uz-BVUzioDD.js → uz-Bzgi60OH.js} +2 -0
  202. package/dist/{verificationResult-D0yfJXdi.js → verificationResult-qjCRtOZT.js} +3 -3
  203. package/dist/{vi-CfITnkTL.js → vi-B41KkyjT.js} +2 -0
  204. package/dist/video-selfie/video-selfie.es.js +11 -11
  205. package/dist/watchlist/watchlist.es.js +6 -6
  206. package/dist/{watchlistForBusiness-BxVywBZi.js → watchlistForBusiness-D_3JR48E.js} +9 -9
  207. package/dist/{withEndScreenTexts-CHwH12Oy.js → withEndScreenTexts-DuSplRjK.js} +25 -22
  208. package/dist/workflow/styles.css +1 -1
  209. package/dist/workflow/workflow.es.js +1 -1
  210. package/dist/{workflow-B8b0_DVe.js → workflow-3-iJLkTe.js} +12 -15
  211. package/dist/{zh-PykhHX-U.js → zh-B3otAu_X.js} +2 -0
  212. package/dist/{zh-CN-BFHmgdKC.js → zh-CN-CzatE4Zg.js} +2 -0
  213. package/dist/{zh-HANT-sca23yLb.js → zh-HANT-Ctni0FrV.js} +2 -0
  214. package/dist/{zh-TW-DpGSNWmc.js → zh-TW-CV_7XIZh.js} +2 -0
  215. package/package.json +12 -3
  216. package/dist/cameraOverlay-DVLyOlkh.js +0 -2
  217. package/dist/capture-JjjRDaf0.js +0 -3
  218. package/dist/capture-fcvLuNOf.js +0 -2
  219. package/dist/chooser-C3wIcrGN.js +0 -1589
  220. package/dist/dashboardTheme-g7Uzl4ha.js +0 -246
  221. package/dist/dateInputComposed-dlwceD7F.js +0 -1
  222. package/dist/documentCapture-dJxCjqAo.js +0 -2
  223. package/dist/dropdownComposed-CSxkP-9c.js +0 -1
  224. package/dist/ekybModule-B8tvqDqG.js +0 -2
  225. package/dist/ekycModule-DlqlqRid.js +0 -2
  226. package/dist/faceMatch--b_FzMnW.js +0 -2
  227. package/dist/fieldComparison-CGJGNOUu.js +0 -2
  228. package/dist/kybChecksModule-DJBey8SW.js +0 -2
  229. package/dist/pdfViewer-S9Y3vraB.js +0 -2
  230. package/dist/radioGroupComposed-OjEvWy7Y.js +0 -1
  231. /package/dist/{aligndevicelottie-DroBRtbt.js → aligndevicelottie-C5Nr_FF0.js} +0 -0
  232. /package/dist/{assertClassBrand-DJr5K93j.js → assertClassBrand--vndzvkj.js} +0 -0
  233. /package/dist/{back-horizontal-hint-D5xvRtEe.js → back-horizontal-hint-Chms43yu.js} +0 -0
  234. /package/dist/{back-tutorial-ydxRtY-Y.js → back-tutorial-CsLjEe1h.js} +0 -0
  235. /package/dist/{back-vertical-hint-DoKJSQhY.js → back-vertical-hint-iIm6Tgar.js} +0 -0
  236. /package/dist/{backdevicelottie-hv8vbwYH.js → backdevicelottie-B-yh2vaH.js} +0 -0
  237. /package/dist/{blurdevicelottie-Cgu4hKn7.js → blurdevicelottie-B-MnEJJ9.js} +0 -0
  238. /package/dist/{captureButtonIcon-D1yXASJj.js → captureButtonIcon-AIwPnxHO.js} +0 -0
  239. /package/dist/{check-icon-BcWK-zvF.js → check-icon-BPtqe7V3.js} +0 -0
  240. /package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-DlsV3Tf8.js} +0 -0
  241. /package/dist/{dateInputComposed-BbKtrgYY.js → dateInputComposed-Olt9MK1v.js} +0 -0
  242. /package/dist/{defineProperty-E9wRIIo9.js → defineProperty-B6A4KUIl.js} +0 -0
  243. /package/dist/{devWarn-CW20j1Qd.js → devWarn-BQ2Sjncn.js} +0 -0
  244. /package/dist/{dropdownComposed-K3uWlHr4.js → dropdownComposed-B4kIb2ET.js} +0 -0
  245. /package/dist/{flip-animation-CJhh7l_J.js → flip-animation-2ApKMmiz.js} +0 -0
  246. /package/dist/{front-horizontal-hint-CDHj9LQF.js → front-horizontal-hint-hRDAcU5c.js} +0 -0
  247. /package/dist/{front-vertical-hint-B_pU27Iv.js → front-vertical-hint-DzlrK9KI.js} +0 -0
  248. /package/dist/{frontdevicelottie-vyO3BJJe.js → frontdevicelottie-D5U9tg8-.js} +0 -0
  249. /package/dist/{glaredevicelottie-DrgkRjFh.js → glaredevicelottie-exDO2WQS.js} +0 -0
  250. /package/dist/{id-back-of-card-BEAthtU0.js → id-back-of-card-D9tIT4x8.js} +0 -0
  251. /package/dist/{id-back-of-card-vertical-Ce0d7tp5.js → id-back-of-card-vertical-CadHCOQb.js} +0 -0
  252. /package/dist/{id-front-of-card-DS0lS9jP.js → id-front-of-card-DQP6DK1A.js} +0 -0
  253. /package/dist/{id-front-of-card-vertical-BLWn85NX.js → id-front-of-card-vertical-Bw8mJ2eW.js} +0 -0
  254. /package/dist/{id-laser-h-CUz29uFc.js → id-laser-h-C1VNfV0z.js} +0 -0
  255. /package/dist/{id-laser-v-Bnf10QJp.js → id-laser-v-CwYRuzKJ.js} +0 -0
  256. /package/dist/{id-tutorial-DGwvKAMs.js → id-tutorial-Cp4YGXxy.js} +0 -0
  257. /package/dist/{lottie_light-Bam05Bc9.js → lottie_light-pO5qdkhZ.js} +0 -0
  258. /package/dist/{numberedStep-CCwW7rAI.js → numberedStep-Bt1E0snV.js} +0 -0
  259. /package/dist/{passport-horizontal-hint-JdWoLKa5.js → passport-horizontal-hint-w_QG1Moi.js} +0 -0
  260. /package/dist/{passport-tutorial-DoqqyBXo.js → passport-tutorial-CTGbQDlK.js} +0 -0
  261. /package/dist/{passport-vertical-hint-BgtJXbvC.js → passport-vertical-hint-DcsBg3dK.js} +0 -0
  262. /package/dist/{pdf.worker.min-D0hm-8jN.js → pdf.worker.min-3yVqy4Ya.js} +0 -0
  263. /package/dist/{policyUrls-Benduf-R.js → policyUrls-DH8bb0Xl.js} +0 -0
  264. /package/dist/{preloadableLazy-CauER0_6.js → preloadableLazy-CW8rESao.js} +0 -0
  265. /package/dist/{purify.es-CSPoFViI.js → purify.es-IJ9QRduG.js} +0 -0
  266. /package/dist/{radioGroupComposed-kaR9Jvk7.js → radioGroupComposed-5QBeaKRS.js} +0 -0
  267. /package/dist/{registerIncodeElement-DkDorW4-.js → registerIncodeElement-CGbGH7-7.js} +0 -0
  268. /package/dist/{reload-icon-iuOvlXo8.js → reload-icon-BE7SzNn7.js} +0 -0
  269. /package/dist/{selfieTutorial-BTewRjM5.js → selfieTutorial-T41XPQa8.js} +0 -0
  270. /package/dist/{useCameraPreview-BML51Swe.js → useCameraPreview-Ba7VDF0M.js} +0 -0
  271. /package/dist/{useIsDarkTheme-Ci5PUppi.js → useIsDarkTheme-BJKIqiyH.js} +0 -0
@@ -1,1589 +0,0 @@
1
- import { a as useTranslation } from "./i18n-ptY20DE1.js";
2
- import { T as k, b as u, d as T, m as d } from "./vendor-preact-HIccnts1.js";
3
- import { f as CloseIcon, p as ChevronRightIcon, t as LightningIcon, x as PrizmaButton } from "./icons-JOXfeNVq.js";
4
- import { n as cn, t as Spacer } from "./spacer-B7en1YsW.js";
5
- import { t as Page } from "./page-CnpmxyvZ.js";
6
- import { a as useAnimationData } from "./spinner-DFB8ASip.js";
7
- import { t as countryDefinitions } from "./countryDefinitions-RBVGM1D_.js";
8
- import { t as BaseTutorial } from "./baseTutorial-CFFEYoIK.js";
9
- import "./captureFocusContext-LZDiTHUc.js";
10
- import "./flipCapturedCardEligibility-B8vc_nIf.js";
11
- import { t as countryFlagEmoji } from "./countryFlag-CQMfCnE9.js";
12
- import "./captureButtonIcon-D1yXASJj.js";
13
- import { t as CountrySelector } from "./countrySelector-7s3pNP6_.js";
14
- //#region src/shared/card/verificationOption/verificationOptionCard.tsx
15
- function VerificationOptionCardList({ children }) {
16
- return /* @__PURE__ */ u("div", {
17
- class: "IncodeVerificationOptionCardList",
18
- children
19
- });
20
- }
21
- function VerificationOptionCard({ icon: Icon, iconSrc, title, description, testId, onClick, tag }) {
22
- return /* @__PURE__ */ u("button", {
23
- type: "button",
24
- class: "IncodeVerificationOptionCard",
25
- onClick,
26
- "data-testid": testId,
27
- "aria-labelledby": `${testId}-label`,
28
- "aria-describedby": description ? `${testId}-description` : void 0,
29
- children: [/* @__PURE__ */ u("span", {
30
- class: "IncodeVerificationOptionCardIcon",
31
- "aria-hidden": "true",
32
- "data-testid": `${testId}-icon`,
33
- children: iconSrc ? /* @__PURE__ */ u("img", {
34
- class: "IncodeVerificationOptionCardImage",
35
- src: iconSrc,
36
- alt: "",
37
- loading: "lazy",
38
- decoding: "async"
39
- }) : /* @__PURE__ */ u(Icon, {})
40
- }), /* @__PURE__ */ u("span", {
41
- class: "IncodeVerificationOptionCardContent",
42
- children: [/* @__PURE__ */ u("span", {
43
- class: "IncodeVerificationOptionCardText",
44
- children: [/* @__PURE__ */ u("span", {
45
- id: `${testId}-label`,
46
- class: "IncodeVerificationOptionCardTitleTagContainer",
47
- children: [/* @__PURE__ */ u("span", {
48
- class: "IncodeVerificationOptionCardTitle",
49
- children: title
50
- }), tag && /* @__PURE__ */ u(VerificationOptionCardTag, { label: tag })]
51
- }), description && /* @__PURE__ */ u("span", {
52
- id: `${testId}-description`,
53
- class: "IncodeVerificationOptionCardDescription",
54
- "data-testid": `${testId}-description`,
55
- children: description
56
- })]
57
- }), /* @__PURE__ */ u("span", {
58
- class: "IncodeVerificationOptionCardArrow",
59
- "data-testid": "chevron-right-icon",
60
- children: /* @__PURE__ */ u(ChevronRightIcon, {
61
- size: 24,
62
- variant: "m"
63
- })
64
- })]
65
- })]
66
- });
67
- }
68
- function VerificationOptionCardTag({ label }) {
69
- return /* @__PURE__ */ u("div", {
70
- class: "IncodeVerificationOptionCardTag",
71
- children: [/* @__PURE__ */ u(LightningIcon, {}), /* @__PURE__ */ u("span", { children: label })]
72
- });
73
- }
74
- //#endregion
75
- //#region src/modules/id/tutorialHelpers.ts
76
- /**
77
- * Resolves the tutorial's animation and copy for one document/side pairing.
78
- *
79
- * The three shapes are mutually exclusive, so each returns whole — passport
80
- * wins over side, matching the order the screen's copy was authored in.
81
- */
82
- function getTutorialContent(t, isPassport, isBack, disclaimerText) {
83
- let adjustedDisclaimerText;
84
- if (isBack) adjustedDisclaimerText = t("idv2.backTutorial.disclaimer");
85
- else adjustedDisclaimerText = t("idv2.tutorial.v2.autocapture");
86
- if (disclaimerText) adjustedDisclaimerText = disclaimerText;
87
- if (isPassport) return {
88
- animationKey: "id.tutorial.passport",
89
- title: t("idv2.capture.passport.title"),
90
- subtitle: t("idv2.capture.passport.subtitle"),
91
- disclaimerText: adjustedDisclaimerText
92
- };
93
- if (isBack) return {
94
- animationKey: "id.tutorial.back",
95
- title: t("idv2.backTutorial.title"),
96
- subtitle: t("idv2.backTutorial.subtitle"),
97
- disclaimerText: adjustedDisclaimerText
98
- };
99
- return {
100
- animationKey: "id.tutorial.front",
101
- title: t("idv2.tutorial.title"),
102
- subtitle: t("idv2.tutorial.subtitle"),
103
- disclaimerText: adjustedDisclaimerText
104
- };
105
- }
106
- //#endregion
107
- //#region src/modules/id/tutorial.tsx
108
- var Tutorial = ({ manager, documentType, mode, isLoading: isLoadingProp, actionsSlot, onContinue, disclaimerText, shouldScaleAnimationContainer = true }) => {
109
- const { t } = useTranslation();
110
- const [internalIsLoading, setInternalIsLoading] = d(false);
111
- const isLoading = isLoadingProp ?? internalIsLoading;
112
- const isPassport = documentType === "passport";
113
- const tutorialContent = getTutorialContent(t, isPassport, mode === "back", disclaimerText);
114
- const { data: animationData, isOverride } = useAnimationData(tutorialContent.animationKey);
115
- const handleContinue = async () => {
116
- if (isLoadingProp === void 0) setInternalIsLoading(true);
117
- if (onContinue) {
118
- onContinue();
119
- return;
120
- }
121
- await manager.nextStep();
122
- };
123
- return /* @__PURE__ */ u(BaseTutorial, {
124
- animationData,
125
- recolor: !isOverride,
126
- title: tutorialContent.title,
127
- subtitle: tutorialContent.subtitle,
128
- onContinue: handleContinue,
129
- buttonText: t("idv2.tutorial.startScan"),
130
- disclaimerText: tutorialContent.disclaimerText,
131
- isLoading,
132
- actionsSlot,
133
- className: cn("IncodeIdTutorial", isPassport ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId"),
134
- shouldScaleAnimationContainer
135
- });
136
- };
137
- //#endregion
138
- //#region src/modules/id/assets/idCardIcon.tsx
139
- var IdCardIcon = () => {
140
- return /* @__PURE__ */ u("svg", {
141
- width: "119",
142
- height: "86",
143
- viewBox: "0 0 119 86",
144
- fill: "none",
145
- xmlns: "http://www.w3.org/2000/svg",
146
- class: "IncodeIdCardIcon",
147
- "aria-hidden": "true",
148
- children: [
149
- /* @__PURE__ */ u("title", { children: "ID Card" }),
150
- /* @__PURE__ */ u("rect", {
151
- x: "21.9619",
152
- y: "21.5",
153
- width: "75",
154
- height: "43",
155
- rx: "2",
156
- fill: "white"
157
- }),
158
- /* @__PURE__ */ u("rect", {
159
- x: "27.9619",
160
- y: "28.5",
161
- width: "75",
162
- height: "43",
163
- rx: "5",
164
- fill: "#C9C9C9",
165
- fillOpacity: "0.15"
166
- }),
167
- /* @__PURE__ */ u("path", {
168
- d: "M20.462 23a3 3 0 0 1 3-3h72a3 3 0 0 1 3 3v40a3 3 0 0 1-3 3h-72a3 3 0 0 1-3-3z",
169
- fill: "#C9C9C9",
170
- fillOpacity: "0.8"
171
- }),
172
- /* @__PURE__ */ u("path", {
173
- d: "M21.896 23.43a2 2 0 0 1 2-2h70.75a2 2 0 0 1 2 2v38.856a2 2 0 0 1-2 2h-70.75a2 2 0 0 1-2-2z",
174
- fill: "white"
175
- }),
176
- /* @__PURE__ */ u("path", {
177
- fillRule: "evenodd",
178
- clipRule: "evenodd",
179
- d: "M25.882 32.392c0-.55.447-.997.997-.997h64.783a.997.997 0 1 1 0 1.994H26.879a.997.997 0 0 1-.997-.997Z",
180
- fill: "#C9C9C9",
181
- fillOpacity: "0.5"
182
- }),
183
- /* @__PURE__ */ u("path", {
184
- fillRule: "evenodd",
185
- clipRule: "evenodd",
186
- d: "M67.742 37.376h-17.94v2.99h17.94zm0 5.98h-17.94v2.99h17.94zm-17.94 5.98h23.92v2.99h-23.92zm7.973 5.98h-7.973v2.99h7.973z",
187
- fill: "#C9C9C9",
188
- fillOpacity: "0.5"
189
- }),
190
- /* @__PURE__ */ u("rect", {
191
- x: "25.8818",
192
- y: "24.4189",
193
- width: "30.8967",
194
- height: "3.98667",
195
- rx: "1",
196
- fill: "#C9C9C9",
197
- fillOpacity: "0.5"
198
- }),
199
- /* @__PURE__ */ u("rect", {
200
- x: "86.2949",
201
- y: "24.4907",
202
- width: "5.98",
203
- height: "3.93138",
204
- fill: "#EAF0F6"
205
- }),
206
- /* @__PURE__ */ u("rect", {
207
- x: "25.9619",
208
- y: "35.5",
209
- width: "21",
210
- height: "24",
211
- rx: "2",
212
- class: "IncodeIdCardIconFill"
213
- }),
214
- /* @__PURE__ */ u("path", {
215
- d: "M33.13 52.42c-.01.776-1.359 1.025-2.265 1.9 1.577 1.135 3.855 1.9 5.432 1.9 1.834 0 3.955-.765 5.532-1.9-.907-.875-2.337-1.122-2.357-1.9 0-.296.001-3.173.003-3.468 0-4.973-6.535-7.932-6.354.08q.007 1.695.009 3.387Z",
216
- fill: "url(#paint0_linear_id)"
217
- }),
218
- /* @__PURE__ */ u("path", {
219
- fillRule: "evenodd",
220
- clipRule: "evenodd",
221
- d: "M46.888 58.041a2 2 0 0 1-1.926 1.459h-17a2 2 0 0 1-2-2v-1.52c1.762-1.447 6.207-2.658 6.207-2.658 0 1.039 2.58 2.665 4.14 2.691 2.174 0 4.14-1.651 4.14-2.69 0 0 4.916 1.589 5.865 3.303.212.383.404.878.574 1.415Z",
222
- fill: "#CECECE"
223
- }),
224
- /* @__PURE__ */ u("path", {
225
- d: "M41.92 45.294a.87.87 0 0 0-.616-1.069l-.091-.024a.87.87 0 0 0-1.037.521l-.697 1.76a.872.872 0 0 0 .688 1.185l.311.044a.87.87 0 0 0 .966-.637z",
226
- fill: "url(#paint1_linear_id)"
227
- }),
228
- /* @__PURE__ */ u("path", {
229
- d: "M31.003 45.294a.872.872 0 1 1 1.685-.451l.451 1.684a.872.872 0 1 1-1.685.452z",
230
- fill: "url(#paint2_linear_id)"
231
- }),
232
- /* @__PURE__ */ u("path", {
233
- d: "M41.258 45.085c0 3.82-2.694 6.915-4.796 6.915-2.3 0-4.797-3.096-4.797-6.915 0-3.402.265-7.038 4.797-7.038 4.531 0 4.796 3.557 4.796 7.038Z",
234
- fill: "url(#paint3_linear_id)"
235
- }),
236
- /* @__PURE__ */ u("defs", { children: [
237
- /* @__PURE__ */ u("linearGradient", {
238
- id: "paint0_linear_id",
239
- x1: "35.8774",
240
- y1: "49.2574",
241
- x2: "35.8774",
242
- y2: "53.7757",
243
- gradientUnits: "userSpaceOnUse",
244
- children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
245
- offset: "1",
246
- stopColor: "white"
247
- })]
248
- }),
249
- /* @__PURE__ */ u("linearGradient", {
250
- id: "paint1_linear_id",
251
- x1: "39.9447",
252
- y1: "46.8213",
253
- x2: "41.2507",
254
- y2: "46.8737",
255
- gradientUnits: "userSpaceOnUse",
256
- children: [/* @__PURE__ */ u("stop", {
257
- offset: "0.0416667",
258
- stopColor: "#B5B5B5"
259
- }), /* @__PURE__ */ u("stop", {
260
- offset: "1",
261
- stopColor: "white"
262
- })]
263
- }),
264
- /* @__PURE__ */ u("linearGradient", {
265
- id: "paint2_linear_id",
266
- x1: "32.0377",
267
- y1: "46.8216",
268
- x2: "30.7317",
269
- y2: "46.874",
270
- gradientUnits: "userSpaceOnUse",
271
- children: [/* @__PURE__ */ u("stop", {
272
- offset: "0.0416667",
273
- stopColor: "#B5B5B5"
274
- }), /* @__PURE__ */ u("stop", {
275
- offset: "1",
276
- stopColor: "white"
277
- })]
278
- }),
279
- /* @__PURE__ */ u("linearGradient", {
280
- id: "paint3_linear_id",
281
- x1: "31.7839",
282
- y1: "45.028",
283
- x2: "38.5592",
284
- y2: "45.0529",
285
- gradientUnits: "userSpaceOnUse",
286
- children: [/* @__PURE__ */ u("stop", { stopColor: "#E0E0E0" }), /* @__PURE__ */ u("stop", {
287
- offset: "1",
288
- stopColor: "white"
289
- })]
290
- })
291
- ] })
292
- ]
293
- });
294
- };
295
- //#endregion
296
- //#region src/modules/id/assets/passportIcon.tsx
297
- var PassportIcon = () => {
298
- return /* @__PURE__ */ u("svg", {
299
- width: "118",
300
- height: "86",
301
- viewBox: "0 0 118 86",
302
- fill: "none",
303
- xmlns: "http://www.w3.org/2000/svg",
304
- class: "IncodePassportIcon",
305
- "aria-hidden": "true",
306
- children: [
307
- /* @__PURE__ */ u("title", { children: "Passport" }),
308
- /* @__PURE__ */ u("g", {
309
- "clip-path": "url(#clip0_25823_31181)",
310
- children: [
311
- /* @__PURE__ */ u("rect", {
312
- x: "29.5381",
313
- y: "11",
314
- width: "67",
315
- height: "75",
316
- rx: "5",
317
- fill: "#C9C9C9",
318
- "fill-opacity": "0.15"
319
- }),
320
- /* @__PURE__ */ u("rect", {
321
- x: "26.8977",
322
- y: "5.66234",
323
- width: "64.3575",
324
- height: "74.3225",
325
- rx: "4.21024",
326
- stroke: "#C9C9C9",
327
- "stroke-opacity": "0.8",
328
- "stroke-width": "1.24563"
329
- }),
330
- /* @__PURE__ */ u("path", {
331
- d: "M27.434 42.295h63.197V76.34a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
332
- fill: "white"
333
- }),
334
- /* @__PURE__ */ u("path", {
335
- d: "M55.603 66.41c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296h-8.408a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm17-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm-7-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm0-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296z",
336
- fill: "#E9E9EB"
337
- }),
338
- /* @__PURE__ */ u("rect", {
339
- x: "80.4148",
340
- y: "66.9609",
341
- width: "6.44508",
342
- height: "1.95402",
343
- rx: "0.295996",
344
- fill: "#E9E9EB"
345
- }),
346
- /* @__PURE__ */ u("rect", {
347
- x: "80.4148",
348
- y: "62.7734",
349
- width: "6.44508",
350
- height: "1.95402",
351
- rx: "0.295996",
352
- fill: "#E9E9EB"
353
- }),
354
- /* @__PURE__ */ u("rect", {
355
- x: "80.4148",
356
- y: "58.5859",
357
- width: "6.44508",
358
- height: "1.95402",
359
- rx: "0.295996",
360
- fill: "#E9E9EB"
361
- }),
362
- /* @__PURE__ */ u("path", {
363
- d: "M27.434 71.715h63.197v4.627a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
364
- fill: "#F4F4F5"
365
- }),
366
- /* @__PURE__ */ u("rect", {
367
- x: "31.8992",
368
- y: "46.4102",
369
- width: "26",
370
- height: "3",
371
- rx: "0.295996",
372
- fill: "#C9C9C9",
373
- "fill-opacity": "0.5"
374
- }),
375
- /* @__PURE__ */ u("rect", {
376
- x: "81.8992",
377
- y: "46.4102",
378
- width: "5",
379
- height: "4",
380
- rx: "0.295996",
381
- fill: "#EAF0F6"
382
- }),
383
- /* @__PURE__ */ u("rect", {
384
- x: "30.8992",
385
- y: "73.4102",
386
- width: "56",
387
- height: "2",
388
- rx: "0.295996",
389
- fill: "#C9C9C9",
390
- "fill-opacity": "0.5"
391
- }),
392
- /* @__PURE__ */ u("rect", {
393
- x: "30.8992",
394
- y: "76.4102",
395
- width: "56",
396
- height: "2",
397
- rx: "0.295996",
398
- fill: "#C9C9C9",
399
- "fill-opacity": "0.5"
400
- }),
401
- /* @__PURE__ */ u("g", {
402
- "clip-path": "url(#clip1_25823_31181)",
403
- children: /* @__PURE__ */ u("g", {
404
- "clip-path": "url(#clip2_25823_31181)",
405
- children: [
406
- /* @__PURE__ */ u("rect", {
407
- x: "31.2175",
408
- y: "52.8086",
409
- width: "14.1292",
410
- height: "16.9552",
411
- class: "IncodePassportIconFill"
412
- }),
413
- /* @__PURE__ */ u("path", {
414
- d: "M45.602 67.29c.649 1.16 1.023 3.84 1.023 3.84H30.26s.373-2.68 1.022-3.84c.65-1.162 4.604-2.239 4.604-2.239.35.633 1.379 1.21 2.432 1.236 1.142.028 2.313-.55 2.677-1.236 0 0 3.957 1.077 4.606 2.238Z",
415
- fill: "white"
416
- }),
417
- /* @__PURE__ */ u("path", {
418
- d: "M36.52 64.13v.026q-.01.82-1.382 1.235c1.102.8 2.204 1.44 3.306 1.44s2.204-.64 3.306-1.44q-1.362-.414-1.382-1.237l.001-2.444c.066.01.06.004 0-.013.002-.686.005.212.01-.725.003-.937-3.922-1.775-3.864.797 0 .263.002 2.064.006 2.361Z",
419
- fill: "url(#paint0_linear_25823_31181)"
420
- }),
421
- /* @__PURE__ */ u("path", {
422
- d: "M36.469 62.872c1.613-.168 3.132.53 3.132.53s-.301 1.582-3.133 1.123z",
423
- fill: "#CDCDCD"
424
- }),
425
- /* @__PURE__ */ u("path", {
426
- d: "M45.602 67.29c.649 1.16 1.023 3.84 1.023 3.84H30.26s.373-2.68 1.022-3.84c.65-1.162 4.604-2.239 4.604-2.239 0 .704 1.365 1.72 2.432 1.737 1.487 0 2.677-1.033 2.677-1.737 0 0 3.957 1.077 4.606 2.238Z",
427
- fill: "#CECECE"
428
- }),
429
- /* @__PURE__ */ u("path", {
430
- d: "M35.146 59.56c.215-.358.483-.111.59.057l.15 1.596c-.005.138-.088.227-.305.254-.271.034-.45-.704-.513-.98-.062-.276-.19-.478.078-.926Z",
431
- fill: "url(#paint1_linear_25823_31181)"
432
- }),
433
- /* @__PURE__ */ u("path", {
434
- d: "M41.639 59.655c-.212-.361-.483-.117-.592.05l-.165 1.594c.004.139.087.228.303.257.271.037.457-.7.522-.975.066-.275.196-.476-.069-.927Z",
435
- fill: "url(#paint2_linear_25823_31181)"
436
- }),
437
- /* @__PURE__ */ u("path", {
438
- d: "M41.425 59.934c0 2.307-1.67 4.178-2.974 4.178-1.426 0-2.974-1.87-2.974-4.178 0-2.056.164-4.252 2.974-4.252s2.974 2.149 2.974 4.252Z",
439
- fill: "url(#paint3_linear_25823_31181)"
440
- })
441
- ]
442
- })
443
- }),
444
- /* @__PURE__ */ u("mask", {
445
- id: "path-23-inside-1_25823_31181",
446
- fill: "white",
447
- children: /* @__PURE__ */ u("path", { d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z" })
448
- }),
449
- /* @__PURE__ */ u("path", {
450
- d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z",
451
- fill: "#F4F4F5"
452
- }),
453
- /* @__PURE__ */ u("path", {
454
- d: "M90.629 6.285v36.539zM27.517 42.824V6.285zm0-36.539h63.112zm63.112 37.751H27.517v-2.425h63.112z",
455
- fill: "#C9C9C9",
456
- "fill-opacity": "0.8",
457
- mask: "url(#path-23-inside-1_25823_31181)"
458
- })
459
- ]
460
- }),
461
- /* @__PURE__ */ u("defs", { children: [
462
- /* @__PURE__ */ u("linearGradient", {
463
- id: "paint0_linear_25823_31181",
464
- x1: "38.1511",
465
- y1: "61.9259",
466
- x2: "38.1511",
467
- y2: "65.1098",
468
- gradientUnits: "userSpaceOnUse",
469
- children: [/* @__PURE__ */ u("stop", { "stop-color": "#B1B1B1" }), /* @__PURE__ */ u("stop", {
470
- offset: "1",
471
- "stop-color": "white"
472
- })]
473
- }),
474
- /* @__PURE__ */ u("linearGradient", {
475
- id: "paint1_linear_25823_31181",
476
- x1: "35.7261",
477
- y1: "60.3676",
478
- x2: "35.2086",
479
- y2: "60.4633",
480
- gradientUnits: "userSpaceOnUse",
481
- children: [
482
- /* @__PURE__ */ u("stop", {
483
- offset: "0.171875",
484
- "stop-color": "#BDBDBD"
485
- }),
486
- /* @__PURE__ */ u("stop", {
487
- offset: "0.640625",
488
- "stop-color": "#E1E1E1"
489
- }),
490
- /* @__PURE__ */ u("stop", {
491
- offset: "1",
492
- "stop-color": "#DDDDDD"
493
- })
494
- ]
495
- }),
496
- /* @__PURE__ */ u("linearGradient", {
497
- id: "paint2_linear_25823_31181",
498
- x1: "41.0508",
499
- y1: "60.4556",
500
- x2: "41.5674",
501
- y2: "60.5562",
502
- gradientUnits: "userSpaceOnUse",
503
- children: [
504
- /* @__PURE__ */ u("stop", {
505
- offset: "0.0416667",
506
- "stop-color": "#B5B5B5"
507
- }),
508
- /* @__PURE__ */ u("stop", {
509
- offset: "0.362488",
510
- "stop-color": "#E2E2E2"
511
- }),
512
- /* @__PURE__ */ u("stop", {
513
- offset: "1",
514
- "stop-color": "white"
515
- })
516
- ]
517
- }),
518
- /* @__PURE__ */ u("linearGradient", {
519
- id: "paint3_linear_25823_31181",
520
- x1: "35.8426",
521
- y1: "59.8572",
522
- x2: "40.0436",
523
- y2: "59.8731",
524
- gradientUnits: "userSpaceOnUse",
525
- children: [/* @__PURE__ */ u("stop", { "stop-color": "#E0E0E0" }), /* @__PURE__ */ u("stop", {
526
- offset: "1",
527
- "stop-color": "white"
528
- })]
529
- }),
530
- /* @__PURE__ */ u("clipPath", {
531
- id: "clip0_25823_31181",
532
- children: /* @__PURE__ */ u("rect", {
533
- width: "118",
534
- height: "86",
535
- fill: "white"
536
- })
537
- }),
538
- /* @__PURE__ */ u("clipPath", {
539
- id: "clip1_25823_31181",
540
- children: /* @__PURE__ */ u("rect", {
541
- x: "31.2625",
542
- y: "52.7891",
543
- width: "14.0499",
544
- height: "17.0253",
545
- rx: "2",
546
- fill: "white"
547
- })
548
- }),
549
- /* @__PURE__ */ u("clipPath", {
550
- id: "clip2_25823_31181",
551
- children: /* @__PURE__ */ u("rect", {
552
- width: "18.0004",
553
- height: "18.0005",
554
- fill: "white",
555
- transform: "translate(29.4441 52.7891)"
556
- })
557
- })
558
- ] })
559
- ]
560
- });
561
- };
562
- //#endregion
563
- //#region src/modules/id/assets/deviceWalletsIcon.tsx
564
- var DeviceWalletsIcon = () => {
565
- return /* @__PURE__ */ u("svg", {
566
- width: "60",
567
- height: "60",
568
- viewBox: "0 0 60 60",
569
- fill: "none",
570
- xmlns: "http://www.w3.org/2000/svg",
571
- "aria-hidden": "true",
572
- focusable: "false",
573
- class: "IncodeDeviceWalletsIcon",
574
- children: [
575
- /* @__PURE__ */ u("title", { children: "Mobile Driver License icon" }),
576
- /* @__PURE__ */ u("g", {
577
- clipPath: "url(#clip0_26265_2591)",
578
- children: /* @__PURE__ */ u("g", {
579
- clipPath: "url(#clip1_26265_2591)",
580
- children: /* @__PURE__ */ u("g", {
581
- clipPath: "url(#clip2_26265_2591)",
582
- children: [
583
- /* @__PURE__ */ u("rect", {
584
- x: "24.1111",
585
- y: "10.0779",
586
- width: "20.52",
587
- height: "42.066",
588
- rx: "2.565",
589
- fill: "#C9C9C9",
590
- fillOpacity: "0.15"
591
- }),
592
- /* @__PURE__ */ u("rect", {
593
- x: "18.3396",
594
- y: "49.7073",
595
- width: "41.8095",
596
- height: "23.3415",
597
- rx: "2.69325",
598
- transform: "rotate(-90 18.3396 49.7073)",
599
- fill: "#F7F7F7",
600
- stroke: "#D4D4D4",
601
- strokeWidth: "0.769499"
602
- }),
603
- /* @__PURE__ */ u("path", {
604
- d: "M20.06 13.217c0-.85.688-1.539 1.538-1.539h16.823c.85 0 1.54.689 1.54 1.539v8.492c0 .85-.69 1.54-1.54 1.54H21.598c-.85 0-1.539-.69-1.539-1.54z",
605
- fill: "#C9C9C9",
606
- fillOpacity: "0.8"
607
- }),
608
- /* @__PURE__ */ u("path", {
609
- d: "M20.522 13.167c0-.567.46-1.026 1.026-1.026H38.47c.567 0 1.026.46 1.026 1.026v8.593c0 .566-.46 1.026-1.026 1.026H21.548c-.567 0-1.026-.46-1.026-1.026z",
610
- fill: "white"
611
- }),
612
- /* @__PURE__ */ u("path", {
613
- d: "M30.244 19.75a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-1.63a.25.25 0 0 1-.25-.25V20a.25.25 0 0 1 .25-.25zm4.262-1.598a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-5.893a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25zm-1.598-1.598a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-4.295a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25zm0-1.598a.25.25 0 0 1 .25.25v.299a.25.25 0 0 1-.25.25h-4.295a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25z",
614
- fill: "#C9C9C9",
615
- fillOpacity: "0.5"
616
- }),
617
- /* @__PURE__ */ u("rect", {
618
- x: "21.9907",
619
- y: "14.4548",
620
- width: "5.61267",
621
- height: "6.41448",
622
- rx: "0.592504",
623
- class: "IncodeDeviceWalletsIconFill"
624
- }),
625
- /* @__PURE__ */ u("path", {
626
- d: "M23.907 18.977c-.003.207-.364.274-.606.507.422.304 1.03.508 1.452.508.49 0 1.057-.204 1.478-.508-.242-.233-.624-.3-.63-.507l.001-.927c0-1.33-1.746-2.12-1.698.022q.002.452.003.905Z",
627
- fill: "url(#paint0_linear_26265_2591)"
628
- }),
629
- /* @__PURE__ */ u("path", {
630
- d: "M25.862 19.218c.02.006 1.316.428 1.567.883.054.096.1.22.144.354a.59.59 0 0 1-.562.413h-4.427a.59.59 0 0 1-.593-.591v-.349c.471-.387 1.658-.71 1.658-.71 0 .278.69.712 1.106.719.581 0 1.107-.441 1.107-.719Z",
631
- fill: "#CECECE"
632
- }),
633
- /* @__PURE__ */ u("path", {
634
- d: "M23.907 18.142c.623-.066 1.21.444 1.21.444s-.116.627-1.21.445z",
635
- fill: "#CDCDCD"
636
- }),
637
- /* @__PURE__ */ u("path", {
638
- d: "M26.251 17.086a.247.247 0 0 0-.467-.155l-.17.43a.258.258 0 0 0 .204.35l.03.005a.26.26 0 0 0 .285-.19z",
639
- fill: "url(#paint1_linear_26265_2591)"
640
- }),
641
- /* @__PURE__ */ u("path", {
642
- d: "M23.337 17.073a.233.233 0 0 1 .45-.121l.121.45a.233.233 0 0 1-.45.12z",
643
- fill: "url(#paint2_linear_26265_2591)"
644
- }),
645
- /* @__PURE__ */ u("path", {
646
- d: "M26.08 17.017c0 1.021-.72 1.849-1.282 1.849-.615 0-1.282-.828-1.282-1.849 0-.909.07-1.88 1.282-1.88 1.21 0 1.282.95 1.282 1.88Z",
647
- fill: "url(#paint3_linear_26265_2591)"
648
- }),
649
- /* @__PURE__ */ u("rect", {
650
- x: "22.0591",
651
- y: "43.936",
652
- width: "15.903",
653
- height: "3.078",
654
- rx: "0.512999",
655
- fill: "#E4E4E4"
656
- })
657
- ]
658
- })
659
- })
660
- }),
661
- /* @__PURE__ */ u("defs", { children: [
662
- /* @__PURE__ */ u("linearGradient", {
663
- id: "paint0_linear_26265_2591",
664
- x1: "24.6409",
665
- y1: "18.1316",
666
- x2: "24.6409",
667
- y2: "19.3392",
668
- gradientUnits: "userSpaceOnUse",
669
- children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
670
- offset: "1",
671
- stopColor: "white"
672
- })]
673
- }),
674
- /* @__PURE__ */ u("linearGradient", {
675
- id: "paint1_linear_26265_2591",
676
- x1: "25.7267",
677
- y1: "17.4809",
678
- x2: "26.0758",
679
- y2: "17.4949",
680
- gradientUnits: "userSpaceOnUse",
681
- children: [/* @__PURE__ */ u("stop", {
682
- offset: "0.0416667",
683
- stopColor: "#B5B5B5"
684
- }), /* @__PURE__ */ u("stop", {
685
- offset: "1",
686
- stopColor: "white"
687
- })]
688
- }),
689
- /* @__PURE__ */ u("linearGradient", {
690
- id: "paint2_linear_26265_2591",
691
- x1: "23.614",
692
- y1: "17.4808",
693
- x2: "23.2649",
694
- y2: "17.4948",
695
- gradientUnits: "userSpaceOnUse",
696
- children: [/* @__PURE__ */ u("stop", {
697
- offset: "0.0416667",
698
- stopColor: "#B5B5B5"
699
- }), /* @__PURE__ */ u("stop", {
700
- offset: "1",
701
- stopColor: "white"
702
- })]
703
- }),
704
- /* @__PURE__ */ u("linearGradient", {
705
- id: "paint3_linear_26265_2591",
706
- x1: "23.5474",
707
- y1: "17.0021",
708
- x2: "25.3582",
709
- y2: "17.0087",
710
- gradientUnits: "userSpaceOnUse",
711
- children: [/* @__PURE__ */ u("stop", { stopColor: "#E0E0E0" }), /* @__PURE__ */ u("stop", {
712
- offset: "1",
713
- stopColor: "white"
714
- })]
715
- }),
716
- /* @__PURE__ */ u("clipPath", {
717
- id: "clip0_26265_2591",
718
- children: /* @__PURE__ */ u("rect", {
719
- width: "60",
720
- height: "60",
721
- fill: "white"
722
- })
723
- }),
724
- /* @__PURE__ */ u("clipPath", {
725
- id: "clip1_26265_2591",
726
- children: /* @__PURE__ */ u("rect", {
727
- width: "60",
728
- height: "60",
729
- fill: "white",
730
- transform: "translate(0.5 0.5)"
731
- })
732
- }),
733
- /* @__PURE__ */ u("clipPath", {
734
- id: "clip2_26265_2591",
735
- children: /* @__PURE__ */ u("rect", {
736
- width: "60.5339",
737
- height: "45.144",
738
- fill: "white",
739
- transform: "translate(0 7)"
740
- })
741
- })
742
- ] })
743
- ]
744
- });
745
- };
746
- //#endregion
747
- //#region src/modules/id/assets/digitalIdIcon.tsx
748
- var DigitalIdIcon = () => {
749
- return /* @__PURE__ */ u("svg", {
750
- width: "61",
751
- height: "61",
752
- viewBox: "0 0 61 61",
753
- fill: "none",
754
- xmlns: "http://www.w3.org/2000/svg",
755
- "aria-hidden": "true",
756
- focusable: "false",
757
- class: "IncodeDigitalIdIcon",
758
- children: [
759
- /* @__PURE__ */ u("title", { children: "Digital ID Icon" }),
760
- /* @__PURE__ */ u("g", {
761
- clipPath: "url(#clip0_24620_2022)",
762
- children: [
763
- /* @__PURE__ */ u("g", {
764
- clipPath: "url(#clip1_24620_2022)",
765
- children: [
766
- /* @__PURE__ */ u("path", {
767
- d: "M15.792 9.262c0-.752.609-1.36 1.36-1.36H44.02c.751 0 1.36.608 1.36 1.36v41.15a1.36 1.36 0 0 1-1.36 1.36H17.152a1.36 1.36 0 0 1-1.36-1.36z",
768
- fill: "white"
769
- }),
770
- /* @__PURE__ */ u("rect", {
771
- x: "31.0889",
772
- y: "13.8564",
773
- width: "12.9231",
774
- height: "15.8138",
775
- rx: "1.36032",
776
- fill: "#EAF0F6"
777
- }),
778
- /* @__PURE__ */ u("path", {
779
- fillRule: "evenodd",
780
- clipRule: "evenodd",
781
- d: "M36.047 19.967c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.31 1.309h1.398a1.31 1.31 0 0 0 1.31-1.309v-1.4a1.31 1.31 0 0 0-1.31-1.308Z",
782
- class: "IncodeDigitalIdIconFill"
783
- }),
784
- /* @__PURE__ */ u("path", {
785
- fillRule: "evenodd",
786
- clipRule: "evenodd",
787
- d: "M34.957 18.809a.46.46 0 0 0-.459.461.46.46 0 0 0 .918 0v-.005a.457.457 0 0 0-.459-.456Z",
788
- class: "IncodeDigitalIdIconFill"
789
- }),
790
- /* @__PURE__ */ u("path", {
791
- fillRule: "evenodd",
792
- clipRule: "evenodd",
793
- d: "M34.957 23.974a.46.46 0 0 0-.459.462.46.46 0 0 0 .918 0v-.006a.457.457 0 0 0-.459-.456Z",
794
- class: "IncodeDigitalIdIconFill"
795
- }),
796
- /* @__PURE__ */ u("path", {
797
- fillRule: "evenodd",
798
- clipRule: "evenodd",
799
- d: "M36.047 25.132c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.31 1.309h1.398a1.31 1.31 0 0 0 1.31-1.309v-1.4a1.31 1.31 0 0 0-1.31-1.308Z",
800
- class: "IncodeDigitalIdIconFill"
801
- }),
802
- /* @__PURE__ */ u("path", {
803
- fillRule: "evenodd",
804
- clipRule: "evenodd",
805
- d: "M41.224 25.132c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.309 1.309h1.4a1.31 1.31 0 0 0 1.308-1.309v-1.4a1.31 1.31 0 0 0-1.309-1.308Z",
806
- class: "IncodeDigitalIdIconFill"
807
- }),
808
- /* @__PURE__ */ u("path", {
809
- fillRule: "evenodd",
810
- clipRule: "evenodd",
811
- d: "M40.118 23.966a.46.46 0 0 0-.459.459v.005c0 .253.206.456.46.456a.461.461 0 0 0 0-.92Z",
812
- class: "IncodeDigitalIdIconFill"
813
- }),
814
- /* @__PURE__ */ u("path", {
815
- fillRule: "evenodd",
816
- clipRule: "evenodd",
817
- d: "M38.584 18.18a.46.46 0 0 0 .46-.46v-.005a.457.457 0 0 0-.46-.456.46.46 0 0 0-.459.462c0 .253.206.459.46.459Z",
818
- class: "IncodeDigitalIdIconFill"
819
- }),
820
- /* @__PURE__ */ u("path", {
821
- fillRule: "evenodd",
822
- clipRule: "evenodd",
823
- d: "M40.993 17.259h-.875a.459.459 0 1 0 0 .918h.875c.119 0 .216.097.216.216v.874a.459.459 0 1 0 .918 0v-.874c0-.626-.509-1.134-1.134-1.134Z",
824
- class: "IncodeDigitalIdIconFill"
825
- }),
826
- /* @__PURE__ */ u("path", {
827
- fillRule: "evenodd",
828
- clipRule: "evenodd",
829
- d: "M41.668 20.355h-1.55a.46.46 0 0 0 0 .918h1.55a.46.46 0 0 0 0-.918Z",
830
- class: "IncodeDigitalIdIconFill"
831
- }),
832
- /* @__PURE__ */ u("path", {
833
- fillRule: "evenodd",
834
- clipRule: "evenodd",
835
- d: "M38.584 21.276a.46.46 0 0 0 .46-.459v-.874c0-.12.096-.216.215-.216h.874a.46.46 0 0 0 0-.918h-.874c-.625 0-1.134.508-1.134 1.134v.874c0 .253.206.46.46.46Z",
836
- class: "IncodeDigitalIdIconFill"
837
- }),
838
- /* @__PURE__ */ u("rect", {
839
- x: "18.0088",
840
- y: "32.5596",
841
- width: "10.3725",
842
- height: "2.04049",
843
- rx: "0.680162",
844
- fill: "#EBECEF"
845
- }),
846
- /* @__PURE__ */ u("rect", {
847
- x: "15.792",
848
- y: "10.2881",
849
- width: "29.587",
850
- height: "2.04049",
851
- fill: "#EBECEF"
852
- }),
853
- /* @__PURE__ */ u("rect", {
854
- x: "18.0088",
855
- y: "36.1318",
856
- width: "10.3725",
857
- height: "2.04049",
858
- rx: "0.680162",
859
- fill: "#EBECEF"
860
- }),
861
- /* @__PURE__ */ u("rect", {
862
- x: "18.0088",
863
- y: "39.7002",
864
- width: "13.7733",
865
- height: "2.04049",
866
- rx: "0.680162",
867
- fill: "#EBECEF"
868
- })
869
- ]
870
- }),
871
- /* @__PURE__ */ u("path", {
872
- d: "M44.019 7.405c1.025 0 1.856.832 1.856 1.857v41.15a1.857 1.857 0 0 1-1.856 1.856H17.152a1.857 1.857 0 0 1-1.856-1.857V9.261c0-1.024.831-1.856 1.856-1.856z",
873
- stroke: "#EBECEF",
874
- "stroke-width": "0.991903"
875
- }),
876
- /* @__PURE__ */ u("g", {
877
- clipPath: "url(#clip2_24620_2022)",
878
- children: [
879
- /* @__PURE__ */ u("rect", {
880
- x: "17.1406",
881
- y: "13.9385",
882
- width: "12.9231",
883
- height: "15.7324",
884
- rx: "0.936455",
885
- class: "IncodeDigitalIdIconFill"
886
- }),
887
- /* @__PURE__ */ u("path", {
888
- d: "M21.83 24.439v.024q-.008.76-1.28 1.143c1.021.741 2.042 1.334 3.062 1.334s2.04-.593 3.061-1.334q-1.261-.384-1.28-1.145c0-.193 0-2.07.002-2.263.06.009.055.003 0-.012.001-.635.004.196.008-.671.004-.868-3.631-1.644-3.578.738.001.243.003 1.91.006 2.186Z",
889
- fill: "url(#paint0_linear_24620_2022)"
890
- }),
891
- /* @__PURE__ */ u("path", {
892
- d: "M30.064 27.331v1.405c0 .517-.42.936-.937.936h-11.05a.936.936 0 0 1-.936-.936v-1.368c.6-1.075 4.097-2.073 4.097-2.073.324.586 1.276 1.12 2.251 1.145 1.058.026 2.142-.509 2.48-1.145 0 0 3.494.96 4.095 2.036Z",
893
- fill: "#CECECE"
894
- }),
895
- /* @__PURE__ */ u("path", {
896
- d: "M21.79 23.277c1.494-.155 2.9.492 2.9.492s-.278 1.464-2.9 1.039z",
897
- fill: "#CDCDCD"
898
- }),
899
- /* @__PURE__ */ u("path", {
900
- d: "M20.557 20.208c.2-.332.448-.104.547.052l.139 1.477c-.005.129-.082.21-.283.236-.25.032-.417-.652-.475-.908-.058-.255-.177-.442.072-.857Z",
901
- fill: "url(#paint1_linear_24620_2022)"
902
- }),
903
- /* @__PURE__ */ u("path", {
904
- d: "M26.57 20.29c-.195-.333-.446-.107-.547.048l-.153 1.476c.004.128.08.21.28.238.252.034.424-.648.484-.903s.182-.44-.063-.858Z",
905
- fill: "url(#paint2_linear_24620_2022)"
906
- }),
907
- /* @__PURE__ */ u("path", {
908
- d: "M26.368 20.554c0 2.136-1.546 3.868-2.754 3.868-1.32 0-2.754-1.732-2.754-3.868 0-1.904.152-3.938 2.754-3.938s2.754 1.99 2.754 3.938Z",
909
- fill: "#FAFAFA"
910
- })
911
- ]
912
- })
913
- ]
914
- }),
915
- /* @__PURE__ */ u("defs", { children: [
916
- /* @__PURE__ */ u("linearGradient", {
917
- id: "paint0_linear_24620_2022",
918
- x1: "23.3405",
919
- y1: "22.3978",
920
- x2: "23.3405",
921
- y2: "25.346",
922
- gradientUnits: "userSpaceOnUse",
923
- children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
924
- offset: "1",
925
- stopColor: "white"
926
- })]
927
- }),
928
- /* @__PURE__ */ u("linearGradient", {
929
- id: "paint1_linear_24620_2022",
930
- x1: "21.0945",
931
- y1: "20.9548",
932
- x2: "20.6152",
933
- y2: "21.0435",
934
- gradientUnits: "userSpaceOnUse",
935
- children: [
936
- /* @__PURE__ */ u("stop", {
937
- offset: "0.171875",
938
- stopColor: "#BDBDBD"
939
- }),
940
- /* @__PURE__ */ u("stop", {
941
- offset: "0.640625",
942
- stopColor: "#E1E1E1"
943
- }),
944
- /* @__PURE__ */ u("stop", {
945
- offset: "1",
946
- stopColor: "#DDDDDD"
947
- })
948
- ]
949
- }),
950
- /* @__PURE__ */ u("linearGradient", {
951
- id: "paint2_linear_24620_2022",
952
- x1: "26.0263",
953
- y1: "21.0327",
954
- x2: "26.5047",
955
- y2: "21.1259",
956
- gradientUnits: "userSpaceOnUse",
957
- children: [
958
- /* @__PURE__ */ u("stop", {
959
- offset: "0.0416667",
960
- stopColor: "#B5B5B5"
961
- }),
962
- /* @__PURE__ */ u("stop", {
963
- offset: "0.362488",
964
- stopColor: "#E2E2E2"
965
- }),
966
- /* @__PURE__ */ u("stop", {
967
- offset: "1",
968
- stopColor: "white"
969
- })
970
- ]
971
- }),
972
- /* @__PURE__ */ u("clipPath", {
973
- id: "clip0_24620_2022",
974
- children: /* @__PURE__ */ u("rect", {
975
- width: "60",
976
- height: "60",
977
- fill: "white",
978
- transform: "translate(0.5 0.5)"
979
- })
980
- }),
981
- /* @__PURE__ */ u("clipPath", {
982
- id: "clip1_24620_2022",
983
- children: /* @__PURE__ */ u("path", {
984
- d: "M15.792 9.262c0-.752.609-1.36 1.36-1.36H44.02c.751 0 1.36.608 1.36 1.36v41.15a1.36 1.36 0 0 1-1.36 1.36H17.152a1.36 1.36 0 0 1-1.36-1.36z",
985
- fill: "white"
986
- })
987
- }),
988
- /* @__PURE__ */ u("clipPath", {
989
- id: "clip2_24620_2022",
990
- children: /* @__PURE__ */ u("rect", {
991
- x: "17.1406",
992
- y: "13.9385",
993
- width: "12.9231",
994
- height: "15.7324",
995
- rx: "0.680162",
996
- fill: "white"
997
- })
998
- })
999
- ] })
1000
- ]
1001
- });
1002
- };
1003
- //#endregion
1004
- //#region src/modules/id/chooser/chooser.constants.ts
1005
- var CHOOSER_OPTIONS_LOOKUP = {
1006
- digitalIdRedirect: {
1007
- type: "digitalIdRedirect",
1008
- icon: DigitalIdIcon,
1009
- title: "idv2.chooser.digitalIdRedirectButtonTitle",
1010
- testId: "verification-option-digitalIdRedirect",
1011
- weight: 6
1012
- },
1013
- digitalIdUpload: {
1014
- type: "digitalIdUpload",
1015
- icon: DigitalIdIcon,
1016
- title: "idv2.chooser.digitalIdUploadButtonTitle",
1017
- testId: "verification-option-digitalIdUpload",
1018
- weight: 2
1019
- },
1020
- id: {
1021
- type: "id",
1022
- icon: IdCardIcon,
1023
- title: "idv2.chooser.idButtonTitle",
1024
- testId: "verification-option-id",
1025
- weight: 3
1026
- },
1027
- passport: {
1028
- type: "passport",
1029
- icon: PassportIcon,
1030
- title: "idv2.chooser.passportButtonTitle",
1031
- testId: "verification-option-passport",
1032
- weight: 4
1033
- },
1034
- digitalId: {
1035
- icon: DeviceWalletsIcon,
1036
- title: "idv2.chooser.digitalIdButtonTitle",
1037
- testId: "verification-option-digitalId",
1038
- type: "digitalId",
1039
- weight: 5
1040
- }
1041
- };
1042
- //#endregion
1043
- //#region src/modules/id/chooser/digitalIdProviderLogos.ts
1044
- /**
1045
- * Digital-ID provider logos, keyed by provider id.
1046
- *
1047
- * The backend's `digitalIds.methods[].logoUrl` currently carries bare asset
1048
- * file names (`idin.svg`), which would resolve against the host page and
1049
- * render broken. Until it sends absolute links, the chooser card falls back to
1050
- * this map. A backend-sent absolute URL always wins — see `toCardLogoSrc` in
1051
- * `chooser.helpers.ts`.
1052
- *
1053
- * **The full Trinsic catalog is kept here on purpose**, including providers the
1054
- * SDK does not offer yet, so adding one is a lookup rather than a hunt. Source:
1055
- * the Trinsic integrations catalog (`content.trinsic.id/connect/integrations`).
1056
- *
1057
- * Keys are the Trinsic provider ids. {@link getDigitalIdProviderLogo}
1058
- * normalises before looking up, so the vendor-prefixed form the SDK and
1059
- * `ms-credential-verification` use (`trinsic_netherlands_idin`) finds
1060
- * `netherlands-idin` too.
1061
- *
1062
- * `name` is the catalog's display name. It is reference data — the card shows
1063
- * the backend's `displayName` — but it is what makes this list searchable by
1064
- * the name a person actually knows the provider by.
1065
- */
1066
- var DIGITAL_ID_PROVIDER_LOGOS = {
1067
- "a-mojeid": {
1068
- name: "MojeID login",
1069
- logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
1070
- },
1071
- "australia-connect-id": {
1072
- name: "ConnectID",
1073
- logoUrl: "https://content.trinsic.id/connect/integrations/connectid-logo.png"
1074
- },
1075
- "austria-valera-eudi-sandbox": {
1076
- name: "Austria Valera EUDI Sandbox",
1077
- logoUrl: "https://content.trinsic.id/connect/integrations/austria-valera-eudi-sandbox.png"
1078
- },
1079
- "belgium-itsme": {
1080
- name: "itsme",
1081
- logoUrl: "https://content.trinsic.id/connect/integrations/itsme.svg"
1082
- },
1083
- "brazil-cpf-lookup": {
1084
- name: "Brazil CPF Check",
1085
- logoUrl: "https://content.trinsic.id/connect/integrations/cpf.png"
1086
- },
1087
- "brazil-digital-cnh": {
1088
- name: "Brazil Digital CNH",
1089
- logoUrl: "https://content.trinsic.id/connect/integrations/cnh.png"
1090
- },
1091
- clear: {
1092
- name: "CLEAR",
1093
- logoUrl: "https://content.trinsic.id/connect/integrations/clear.svg"
1094
- },
1095
- "czech-bank-id": {
1096
- name: "Czech Bank iD",
1097
- logoUrl: "https://content.trinsic.id/connect/integrations/czech-bank-id.png"
1098
- },
1099
- "czech-republic-mojeid": {
1100
- name: "MojeID Czech",
1101
- logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
1102
- },
1103
- "denmark-altid": {
1104
- name: "AltID",
1105
- logoUrl: "https://content.trinsic.id/connect/integrations/denmark-altid.png"
1106
- },
1107
- "denmark-mitid": {
1108
- name: "MitID",
1109
- logoUrl: "https://content.trinsic.id/connect/integrations/mitid-logo.svg"
1110
- },
1111
- "document-scan": {
1112
- name: "Scan your government ID",
1113
- logoUrl: "https://content.trinsic.id/connect/integrations/document-scan.png"
1114
- },
1115
- "eudi-reference-wallet": {
1116
- name: "EUDI Reference Wallet",
1117
- logoUrl: "https://content.trinsic.id/connect/integrations/eudi-reference-wallet.png"
1118
- },
1119
- "finnish-trust-network": {
1120
- name: "Finnish Trust Network",
1121
- logoUrl: "https://content.trinsic.id/connect/integrations/ftn.png"
1122
- },
1123
- "france-identite": {
1124
- name: "France Identité",
1125
- logoUrl: "https://content.trinsic.id/connect/integrations/france-identite.png"
1126
- },
1127
- "france-identite-numerique": {
1128
- name: "L'Identité Numérique",
1129
- logoUrl: "https://content.trinsic.id/connect/integrations/france-identite-numerique.png"
1130
- },
1131
- "germany-eudi-sandbox": {
1132
- name: "Germany EUDI Sandbox",
1133
- logoUrl: "https://content.trinsic.id/connect/integrations/germany-eudi-sandbox.png"
1134
- },
1135
- "google-wallet": {
1136
- name: "Google Wallet",
1137
- logoUrl: "https://content.trinsic.id/connect/integrations/google-wallet.png"
1138
- },
1139
- "india-digilocker-aadhaar": {
1140
- name: "DigiLocker (Aadhaar)",
1141
- logoUrl: "https://content.trinsic.id/connect/integrations/aadhaar.png"
1142
- },
1143
- "indonesia-dukcapil-match": {
1144
- name: "Indonesia Identity Verification",
1145
- logoUrl: "https://content.trinsic.id/connect/integrations/indonesia-dukcapil-match.png"
1146
- },
1147
- "italy-spid": {
1148
- name: "SPID",
1149
- logoUrl: "https://content.trinsic.id/connect/integrations/spid.svg"
1150
- },
1151
- "kenya-nid-lookup-3": {
1152
- name: "Kenya NID Lookup",
1153
- logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
1154
- },
1155
- "kenya-nid-match-2": {
1156
- name: "Kenya NID Match",
1157
- logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
1158
- },
1159
- "mobile-id": {
1160
- name: "Mobile-ID",
1161
- logoUrl: "https://content.trinsic.id/connect/integrations/mobiil-id-logo.svg"
1162
- },
1163
- "moldova-evo-wallet": {
1164
- name: "EVO Wallet",
1165
- logoUrl: "https://content.trinsic.id/connect/integrations/moldova-evo-wallet.png"
1166
- },
1167
- "netherlands-idin": {
1168
- name: "IDIN",
1169
- logoUrl: "https://content.trinsic.id/connect/integrations/idin-logo.svg"
1170
- },
1171
- "nigeria-nin-lookup-2": {
1172
- name: "Nigeria NIN Lookup",
1173
- logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1174
- },
1175
- "nigeria-nin-lookup-3": {
1176
- name: "Nigeria NIN Lookup",
1177
- logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1178
- },
1179
- "nigeria-nin-match-2": {
1180
- name: "Nigeria NIN Match",
1181
- logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1182
- },
1183
- "norway-bankid": {
1184
- name: "BankID Norway",
1185
- logoUrl: "https://content.trinsic.id/connect/integrations/no-bankid.png"
1186
- },
1187
- oneid: {
1188
- name: "OneID",
1189
- logoUrl: "https://content.trinsic.id/connect/integrations/oneid-logo.svg"
1190
- },
1191
- "philippines-digital-national-id-qr": {
1192
- name: "Digital National ID",
1193
- logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1194
- },
1195
- "philippines-philsys-match": {
1196
- name: "PhilSys Biometric Verification",
1197
- logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1198
- },
1199
- "philippines-physical-national-id-qr": {
1200
- name: "Philippines National ID",
1201
- logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1202
- },
1203
- "singpass-login": {
1204
- name: "Singpass",
1205
- logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
1206
- },
1207
- "singpass-myinfo": {
1208
- name: "Singpass",
1209
- logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
1210
- },
1211
- "smart-id": {
1212
- name: "Smart-ID",
1213
- logoUrl: "https://content.trinsic.id/connect/integrations/smart-id-logo.svg"
1214
- },
1215
- "south-africa-nid-lookup-2": {
1216
- name: "South Africa NID Lookup",
1217
- logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
1218
- },
1219
- "south-africa-nid-match-2": {
1220
- name: "South Africa NID Match",
1221
- logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
1222
- },
1223
- "sweden-bankid": {
1224
- name: "BankID Sweden",
1225
- logoUrl: "https://content.trinsic.id/connect/integrations/se-bankid.svg"
1226
- },
1227
- "uganda-nid-match-2": {
1228
- name: "Uganda NID",
1229
- logoUrl: "https://content.trinsic.id/connect/integrations/ug-nid.png"
1230
- },
1231
- "uk-evisa-lookup": {
1232
- name: "UK eVisa Lookup",
1233
- logoUrl: "https://content.trinsic.id/connect/integrations/uk-evisa.svg"
1234
- },
1235
- "usa-louisiana-wallet": {
1236
- name: "LA Wallet",
1237
- logoUrl: "https://content.trinsic.id/connect/integrations/la-wallet.png"
1238
- },
1239
- "zimbabwe-nid-lookup-2": {
1240
- name: "Zimbabwe NID Lookup",
1241
- logoUrl: "https://content.trinsic.id/connect/integrations/zw-nid.png"
1242
- },
1243
- "trinsic-mock-output": {
1244
- name: "Mock - Output",
1245
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1246
- },
1247
- "trinsic-test-database-lookup": {
1248
- name: "Mock - Database Lookup",
1249
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1250
- },
1251
- "trinsic-test-deeplink": {
1252
- name: "Mock - DeeplinkToMobile",
1253
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1254
- },
1255
- "trinsic-test-deeplink-refresh": {
1256
- name: "Mock - DeeplinkToMobile + RefreshStepContent",
1257
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1258
- },
1259
- "trinsic-test-delayed-results": {
1260
- name: "Mock - Delayed Results",
1261
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1262
- },
1263
- "trinsic-test-handoff": {
1264
- name: "Mock - Handoff",
1265
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1266
- },
1267
- "trinsic-test-offline": {
1268
- name: "Mock - Offline",
1269
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1270
- },
1271
- "trinsic-test-redirect": {
1272
- name: "Mock - Redirect",
1273
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1274
- },
1275
- "trinsic-test-show-content": {
1276
- name: "Mock - ShowContent",
1277
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1278
- },
1279
- "trinsic-test-show-content-refresh": {
1280
- name: "Mock - ShowContent + RefreshStepContent",
1281
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1282
- },
1283
- "trinsic-test-sub-providers": {
1284
- name: "Mock - Sub-providers",
1285
- logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1286
- }
1287
- };
1288
- /**
1289
- * The map's key form: lowercased, `_` as `-`, and the vendor prefix dropped so
1290
- * `trinsic_netherlands_idin` (what the SDK and `ms-credential-verification`
1291
- * use) finds `netherlands-idin` (what Trinsic publishes).
1292
- *
1293
- * The `trinsic-test-*` / `trinsic-mock-*` keys keep their prefix: it is part of
1294
- * the name there, and dropping only the first segment leaves `test-redirect`,
1295
- * which is still distinct from every real provider.
1296
- */
1297
- function toLogoKey(providerId) {
1298
- return providerId.toLowerCase().replace(/_/g, "-");
1299
- }
1300
- /**
1301
- * The catalog logo for a provider id, or `undefined` when the map does not
1302
- * carry it — the card then falls back to the generic digital-ID glyph.
1303
- */
1304
- function getDigitalIdProviderLogo(providerId) {
1305
- if (!providerId) return;
1306
- const key = toLogoKey(providerId);
1307
- return DIGITAL_ID_PROVIDER_LOGOS[key]?.logoUrl ?? DIGITAL_ID_PROVIDER_LOGOS[key.replace(/^trinsic-/, "")]?.logoUrl;
1308
- }
1309
- //#endregion
1310
- //#region src/modules/id/chooser/chooser.helpers.ts
1311
- /**
1312
- * The card logo: the backend's own link when it is absolute, else the catalog
1313
- * logo for the provider (`digitalIdProviderLogos`), else nothing — the card
1314
- * then renders the generic digital-ID glyph.
1315
- *
1316
- * The backend catalog still carries bare asset file names (`idin.svg`) for
1317
- * some methods. Those would resolve against the host page and render broken,
1318
- * so they are ignored in favour of the catalog map.
1319
- */
1320
- function toCardLogoSrc(logoUrl, providerId) {
1321
- if (logoUrl && /^(https?:\/\/|data:)/i.test(logoUrl)) return logoUrl;
1322
- return getDigitalIdProviderLogo(providerId);
1323
- }
1324
- /**
1325
- * Expands the `digitalIdRedirect` document type into one card per enabled
1326
- * web-redirect provider (iDIN, FTN, …) in backend order. With no provider
1327
- * options (e.g. the mDL wallet fallback) the generic redirect card is kept.
1328
- */
1329
- function toDigitalIdRedirectCards(digitalIdRedirectOptions) {
1330
- const base = CHOOSER_OPTIONS_LOOKUP.digitalIdRedirect;
1331
- if (digitalIdRedirectOptions.length === 0) return [{
1332
- ...base,
1333
- key: base.type
1334
- }];
1335
- return digitalIdRedirectOptions.map((option) => ({
1336
- ...base,
1337
- key: `${base.type}:${option.providerId}`,
1338
- testId: `${base.testId}-${option.providerId}`,
1339
- providerId: option.providerId,
1340
- displayName: option.displayName,
1341
- iconSrc: toCardLogoSrc(option.logoUrl, option.providerId)
1342
- }));
1343
- }
1344
- function getAvailableChooserOptions(availableDocumentTypes, digitalIdRedirectOptions = []) {
1345
- const cards = [];
1346
- for (const documentType of availableDocumentTypes) {
1347
- if (documentType === "digitalIdRedirect") {
1348
- cards.push(...toDigitalIdRedirectCards(digitalIdRedirectOptions));
1349
- continue;
1350
- }
1351
- const chooserOption = CHOOSER_OPTIONS_LOOKUP[documentType];
1352
- if (chooserOption) cards.push({
1353
- ...chooserOption,
1354
- key: chooserOption.type
1355
- });
1356
- }
1357
- return cards.sort((cardA, cardB) => cardA.weight - cardB.weight);
1358
- }
1359
- /** Chooser cards that verify with a digital ID rather than a physical one. */
1360
- var DIGITAL_ID_CARD_TYPES = new Set([
1361
- "digitalId",
1362
- "digitalIdUpload",
1363
- "digitalIdRedirect"
1364
- ]);
1365
- /** Position of a digital-ID card type inside the digital section. */
1366
- var DIGITAL_ID_SECTION_ORDER = {
1367
- digitalId: 0,
1368
- digitalIdUpload: 1,
1369
- digitalIdRedirect: 2
1370
- };
1371
- /**
1372
- * Splits the sorted chooser cards into "Use your ID" and "Digital ID
1373
- * verification". Never adds or drops cards: physical documents keep their
1374
- * order, and the digital section is wallet → Upload Digital ID → redirect
1375
- * providers (stable, so the providers keep their ranking).
1376
- */
1377
- function getChooserCardSections(cards) {
1378
- const useYourId = cards.filter((card) => !DIGITAL_ID_CARD_TYPES.has(card.type));
1379
- const digitalId = cards.filter((card) => DIGITAL_ID_CARD_TYPES.has(card.type)).sort((cardA, cardB) => DIGITAL_ID_SECTION_ORDER[cardA.type] - DIGITAL_ID_SECTION_ORDER[cardB.type]);
1380
- return {
1381
- useYourId,
1382
- digitalId,
1383
- showTitles: cards.length > 2 && useYourId.length > 0 && digitalId.length > 0
1384
- };
1385
- }
1386
- /**
1387
- * Description key for the Digital ID (device wallet) card, naming the wallet
1388
- * the device certainly reaches. `undefined` when the OS is not certain (e.g.
1389
- * macOS Chrome): the card then shows no description.
1390
- *
1391
- * Intentional (ENG-52842 product copy): the description names the wallet
1392
- * family of the *device*, not the wallet methods enabled for the flow. Which
1393
- * wallets are eligible is decided in core (`hasEligibleDeviceWallet`), and that
1394
- * only decides whether the card shows at all. The card itself launches one
1395
- * handshake that lets the OS offer whichever wallet holds the ID, so the copy
1396
- * stays device-level. Narrowing it to the configured methods (e.g. Samsung
1397
- * Internet with only Google Wallet enabled) needs new per-method copy from
1398
- * product and is out of scope here.
1399
- */
1400
- function getDigitalIdWalletDescriptionKey(walletDevice) {
1401
- switch (walletDevice) {
1402
- case "apple": return "idv2.chooser.digitalIdAppleWalletDescription";
1403
- case "samsung": return "idv2.chooser.digitalIdSamsungWalletDescription";
1404
- case "android": return "idv2.chooser.digitalIdGoogleOrSamsungWalletDescription";
1405
- default: return;
1406
- }
1407
- }
1408
- /**
1409
- * Description key shown under a card's title, or `undefined` for cards that
1410
- * have none: the device-wallet card names the wallet for this device, and the
1411
- * Upload Digital ID card explains the upload.
1412
- */
1413
- function getChooserCardDescriptionKey(cardType, walletDevice) {
1414
- if (cardType === "digitalId") return getDigitalIdWalletDescriptionKey(walletDevice);
1415
- if (cardType === "digitalIdUpload") return "idv2.chooser.digitalIdUploadDescription";
1416
- }
1417
- //#endregion
1418
- //#region src/modules/id/chooser/regionChooser.tsx
1419
- /**
1420
- * "Choose your region" — picks the country the chooser ranks digital-ID
1421
- * options for. Done applies it; the close button keeps the current one.
1422
- */
1423
- var RegionChooser = ({ country, providerCountries, onDone, onClose }) => {
1424
- const { t } = useTranslation();
1425
- const [selected, setSelected] = d(country ?? "");
1426
- const countryCodes = T(() => [...new Set([
1427
- ...Object.keys(countryDefinitions),
1428
- ...providerCountries,
1429
- ...country ? [country] : []
1430
- ])], [providerCountries, country]);
1431
- return /* @__PURE__ */ u(Page, {
1432
- title: t("idv2.chooser.chooseRegionTitle"),
1433
- "data-testid": "chooser-region-page",
1434
- className: "IncodeChooserRegionPage",
1435
- hideFooterBranding: true,
1436
- children: [
1437
- /* @__PURE__ */ u(PrizmaButton, {
1438
- variant: "icon",
1439
- size: "S",
1440
- className: "IncodeButton IncodeButtonLink IncodeButtonInline IncodeButtonIconOnly IncodeChooserRegionClose",
1441
- "aria-label": t("common.close"),
1442
- onClick: onClose,
1443
- "data-testid": "chooser-region-close",
1444
- children: /* @__PURE__ */ u(CloseIcon, {
1445
- width: 24,
1446
- height: 24
1447
- })
1448
- }),
1449
- /* @__PURE__ */ u("div", {
1450
- class: "IncodeChooserRegionContent",
1451
- children: /* @__PURE__ */ u(CountrySelector, {
1452
- id: "chooser-region-country",
1453
- label: t("idv2.chooser.yourCountryLabel"),
1454
- value: selected,
1455
- onChange: setSelected,
1456
- countryCodes,
1457
- devOnlyCountryCodes: [],
1458
- searchPlaceholder: t("idv2.chooser.searchCountryPlaceholder"),
1459
- "data-testid": "chooser-region-country"
1460
- })
1461
- }),
1462
- /* @__PURE__ */ u("div", {
1463
- class: "IncodeChooserRegionFooter",
1464
- children: /* @__PURE__ */ u(PrizmaButton, {
1465
- variant: "primary",
1466
- size: "L",
1467
- className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
1468
- disabled: !selected,
1469
- onClick: () => onDone(selected),
1470
- "data-testid": "chooser-region-done",
1471
- children: t("idv2.chooser.chooseRegionDone")
1472
- })
1473
- })
1474
- ]
1475
- });
1476
- };
1477
- //#endregion
1478
- //#region src/modules/id/chooser/viewingOptionsFor.tsx
1479
- /**
1480
- * "Viewing options for 🇺🇸 US" — the country the digital-ID options are
1481
- * ranked for. Tapping the country opens the region picker.
1482
- *
1483
- * The button's accessible name starts with its visible text ("US") so voice
1484
- * control can target it (WCAG 2.5.3); the purpose ("Change region") follows as
1485
- * visually hidden text. The flag is decorative.
1486
- */
1487
- var ViewingOptionsFor = ({ country, onChangeCountry }) => {
1488
- const { t } = useTranslation();
1489
- return /* @__PURE__ */ u("div", {
1490
- class: "IncodeChooserViewingOptions",
1491
- "data-testid": "chooser-viewing-options",
1492
- children: [/* @__PURE__ */ u("span", {
1493
- class: "IncodeChooserViewingOptionsLabel",
1494
- children: t("idv2.chooser.viewingOptionsFor")
1495
- }), /* @__PURE__ */ u(PrizmaButton, {
1496
- variant: "tertiary-link",
1497
- size: "L",
1498
- className: "IncodeButton IncodeButtonLink IncodeButtonInline IncodeChooserViewingOptionsCountry",
1499
- onClick: onChangeCountry,
1500
- "data-testid": "chooser-change-country",
1501
- children: country ? /* @__PURE__ */ u(k, { children: [
1502
- /* @__PURE__ */ u("span", {
1503
- class: "IncodeChooserViewingOptionsFlag",
1504
- "aria-hidden": "true",
1505
- children: countryFlagEmoji(country)
1506
- }),
1507
- /* @__PURE__ */ u("span", {
1508
- class: "IncodeChooserViewingOptionsCode",
1509
- children: country
1510
- }),
1511
- /* @__PURE__ */ u("span", {
1512
- class: "IncodeChooserViewingOptionsHint",
1513
- children: `, ${t("idv2.chooser.changeRegionAriaLabel")}`
1514
- })
1515
- ] }) : /* @__PURE__ */ u("span", {
1516
- class: "IncodeChooserViewingOptionsCode",
1517
- children: t("idv2.chooser.chooseRegionLink")
1518
- })
1519
- })]
1520
- });
1521
- };
1522
- //#endregion
1523
- //#region src/modules/id/chooser/chooser.tsx
1524
- var Chooser = ({ manager, state }) => {
1525
- const { t } = useTranslation();
1526
- const [isChoosingRegion, setIsChoosingRegion] = d(false);
1527
- const availableChooserOptions = T(() => getAvailableChooserOptions(state.availableDocumentTypes, state.digitalIdRedirectOptions), [state.availableDocumentTypes, state.digitalIdRedirectOptions]);
1528
- const sections = T(() => getChooserCardSections(availableChooserOptions), [availableChooserOptions]);
1529
- const providerCountries = T(() => state.digitalIdRedirectOptions.flatMap((option) => option.country ? [option.country.toUpperCase()] : []), [state.digitalIdRedirectOptions]);
1530
- const handleSelect = (card) => {
1531
- if (card.providerId) {
1532
- manager.selectDocument(card.type, { providerId: card.providerId });
1533
- return;
1534
- }
1535
- manager.selectDocument(card.type);
1536
- };
1537
- if (isChoosingRegion) return /* @__PURE__ */ u(RegionChooser, {
1538
- country: state.country,
1539
- providerCountries,
1540
- onClose: () => setIsChoosingRegion(false),
1541
- onDone: (country) => {
1542
- manager.setChooserCountry(country);
1543
- setIsChoosingRegion(false);
1544
- }
1545
- });
1546
- const describeCard = (card) => {
1547
- const descriptionKey = getChooserCardDescriptionKey(card.type, state.walletDevice);
1548
- return descriptionKey ? t(descriptionKey) : void 0;
1549
- };
1550
- const renderCards = (cards) => /* @__PURE__ */ u(VerificationOptionCardList, { children: cards.map((card) => /* @__PURE__ */ u(VerificationOptionCard, {
1551
- icon: card.icon,
1552
- iconSrc: card.iconSrc,
1553
- title: card.displayName ?? t(card.title),
1554
- description: describeCard(card),
1555
- testId: card.testId,
1556
- tag: card.tag ? t(card.tag) : void 0,
1557
- onClick: () => handleSelect(card)
1558
- }, card.key)) });
1559
- const renderSection = (titleKey, cards, testId) => cards.length > 0 ? /* @__PURE__ */ u("section", {
1560
- class: "IncodeChooserSection",
1561
- "aria-labelledby": `${testId}-title`,
1562
- "data-testid": testId,
1563
- children: [/* @__PURE__ */ u("h3", {
1564
- id: `${testId}-title`,
1565
- class: "IncodeChooserSectionTitle",
1566
- children: t(titleKey)
1567
- }), renderCards(cards)]
1568
- }) : null;
1569
- return /* @__PURE__ */ u(Page, {
1570
- title: t("idv2.chooser.chooseHowToVerifyTitle"),
1571
- "data-testid": "document-chooser-page",
1572
- className: "IncodeChooserPage",
1573
- children: [state.countryRanked ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(ViewingOptionsFor, {
1574
- country: state.country,
1575
- onChangeCountry: () => setIsChoosingRegion(true)
1576
- }), /* @__PURE__ */ u(Spacer, {
1577
- size: 40,
1578
- className: "IncodeChooserViewingOptionsSpacer"
1579
- })] }) : null, /* @__PURE__ */ u("div", {
1580
- class: "IncodeChooserContainer",
1581
- children: sections.showTitles ? /* @__PURE__ */ u("div", {
1582
- class: "IncodeChooserSections",
1583
- children: [renderSection("idv2.chooser.useYourIdSectionTitle", sections.useYourId, "chooser-section-use-your-id"), renderSection("idv2.chooser.digitalIdSectionTitle", sections.digitalId, "chooser-section-digital-id")]
1584
- }) : renderCards([...sections.useYourId, ...sections.digitalId])
1585
- })]
1586
- });
1587
- };
1588
- //#endregion
1589
- export { VerificationOptionCardList as i, Tutorial as n, VerificationOptionCard as r, Chooser as t };