@incodetech/web 2.3.2 → 2.4.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.
- package/THIRD_PARTY_NOTICES.txt +0 -3
- package/dist/GeolocationPermissionDenied-BFMCy-vh.js +444 -0
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-OntsEubt.js → af-ZA-BrjGHv_T.js} +33 -6
- package/dist/ageVerification-DGLniT4Y.js +77 -0
- package/dist/{am-yUcnt3vq.js → am-DE3X3yyA.js} +33 -6
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/antifraud/styles.css +0 -1
- package/dist/{ar-AE-BfxiKovT.js → ar-AE-CMTI-_Uo.js} +34 -7
- package/dist/{ar-57Dd-l4I.js → ar-BNacVOWD.js} +34 -7
- package/dist/{ar-EG-BgDjHJBi.js → ar-EG-D9uwNPoU.js} +33 -6
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-DebebrwQ.js → autoFocusTitle-shYRUp-4.js} +1 -1
- package/dist/{az-dT363k-q.js → az-Wr9zZpTx.js} +33 -6
- package/dist/back-horizontal-hint-BztyPanp.js +134 -0
- package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
- package/dist/base.css +1 -7230
- package/dist/{baseTutorial-CyVBbj9b.js → baseTutorial-D_Jq0Kz2.js} +13 -24
- package/dist/{bn-CKZ00roT.js → bn-C_dbLk3y.js} +33 -6
- package/dist/{bottomSheet-DpSr7d9-.js → bottomSheet-Cdwz_7C5.js} +2 -2
- package/dist/{bs-BnLdLnmZ.js → bs-C30W6le2.js} +33 -6
- package/dist/{ca-D3PGkuQc.js → ca-5-jdy0XG.js} +33 -6
- package/dist/cameraOverlay-rWy5OHQK.js +2 -0
- package/dist/cameraOverlayHeader-DUwk9XJR.js +83 -0
- package/dist/{cameraView-CoWyMnTT.js → cameraView-DJhoELeE.js} +2 -2
- package/dist/{ceb-R-2VANeF.js → ceb-D91AsHCc.js} +33 -6
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
- package/dist/certificate-issuance/styles.css +1 -72
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/check-icon-BpjpKqhJ.js +48 -0
- package/dist/{checkbox-CNc8kQS0.js → checkbox-BCr_W3eL.js} +2 -2
- package/dist/connectionError-D4qOfYzz.js +45 -0
- package/dist/consent/consent.es.js +8 -6
- package/dist/consent/styles.css +1 -129
- package/dist/consent/styles.css.js +1 -1
- package/dist/countryDefinitions-BO9OSKQO.js +555 -0
- package/dist/countryFlag-2Vj85OIZ.js +67 -0
- package/dist/{countrySelector-BlC5_2rW.js → countrySelector-ck-DQ89q.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-bm9MEri0.js → cs-C4eEOpdT.js} +33 -6
- package/dist/{cs-CZ-CEidLhWp.js → cs-CZ-DiJ5MEfY.js} +33 -6
- package/dist/curp-validation/curp-validation.es.js +13 -11
- package/dist/curp-validation/styles.css +1 -128
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/custom-fields/styles.css +1 -21
- package/dist/custom-fields/styles.css.js +1 -1
- package/dist/{customFields-C_iIhQYG.js → customFields-CihI8HLg.js} +10 -9
- package/dist/{customWatchlist-utPTNwCU.js → customWatchlist-avefsmET.js} +6 -6
- package/dist/{da-DK-BuSuFTsg.js → da-DK-C3zlFkKn.js} +33 -6
- package/dist/{dashboardTheme-DdWs3tlN.js → dashboardTheme-CL3jdGes.js} +1 -1
- package/dist/dateInputComposed-9c_0YlmT.js +1 -0
- package/dist/{dateInputComposed-CylyZPCj.js → dateInputComposed-BNmac2I-.js} +4 -4
- package/dist/{de-BCPdribE.js → de-BefcT58V.js} +33 -6
- package/dist/denied-Cs9yuLM4.js +1871 -0
- package/dist/deviceWallet-B0fJl22u.js +66 -0
- package/dist/digitalIdRedirect-BMakPQkG.js +162 -0
- package/dist/digitalIdUpload-D39gUOUa.js +496 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -378
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-BrhKPBNZ.js → documentCapture-64bza6r6.js} +127 -180
- package/dist/documentCapture-D_cQ0luo.js +2 -0
- package/dist/{dropdownComposed-B0WxIm-I.js → dropdownComposed-DMsLAeKB.js} +8 -14
- package/dist/dropdownComposed-MlXFSguX.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
- package/dist/dynamic-forms/styles.css +1 -104
- package/dist/dynamic-forms/styles.css.js +1 -1
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -113
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/ekybModule-B1gUqxgm.js +2 -0
- package/dist/{ekybModule-BwD2ohHx.js → ekybModule-ChOhP6uM.js} +13 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -108
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/{ekycModule-Y9GYfYAt.js → ekycModule-4q3A2JP3.js} +46 -14
- package/dist/ekycModule-DTIkPJjl.js +2 -0
- package/dist/{el-60ThHM2U.js → el-BqLmhuTU.js} +34 -7
- package/dist/{el-GR-D6WIhwC3.js → el-GR-BN31SzAR.js} +33 -6
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +1 -407
- package/dist/electronic-signature/styles.css.js +1 -1
- package/dist/{electronic-signature-Bmn4AOpj.js → electronic-signature-Dhw2cLem.js} +24 -21
- package/dist/email/email.es.js +8 -7
- package/dist/email/styles.css +1 -11
- package/dist/email/styles.css.js +1 -1
- package/dist/{emailInput-DgQXpURU.js → emailInput-yOCErcEc.js} +3 -3
- package/dist/{en-ISV8KwbL.js → en-CJnRQ8fU.js} +33 -6
- package/dist/{en-DG-Crvtj3p2.js → en-DG-Dx4B_KVS.js} +33 -6
- package/dist/{errorContent-XVdZTMAl.js → errorContent-mqhVNRSO.js} +5 -5
- package/dist/{es-419-pXqNpSti.js → es-419-Dl-olR1G.js} +33 -6
- package/dist/{es-1QCV_aoe.js → es-BZmJSsux.js} +33 -6
- package/dist/{es-ES-BIYzpL_B.js → es-ES-1YZMu7Kf.js} +33 -6
- package/dist/{es-MX-Cih_nZPr.js → es-MX-CyxCkl1y.js} +33 -6
- package/dist/esm-15CISqPe.js +430 -0
- package/dist/{et-CgCGIoIQ.js → et-C1S6VW9K.js} +33 -6
- package/dist/{expiredId-BhQM_AcZ.js → expiredId-DfqiC9HI.js} +6 -6
- package/dist/extensibility.es.js +38 -36
- package/dist/{fa-IR-YnGtqwsy.js → fa-IR-BPyBkaiF.js} +33 -6
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -535
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-BgN3CPdN.js +2 -0
- package/dist/faceMatch-UbygvNeb.js +336 -0
- package/dist/{fi-FI-3XXKPtj1.js → fi-FI-CfKLgU-O.js} +33 -6
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css +1 -27
- package/dist/field-comparison/styles.css.js +1 -1
- package/dist/fieldComparison-CNaAVsGY.js +2 -0
- package/dist/{fieldComparison-D7rZ657j.js → fieldComparison-CmRsH7pg.js} +13 -7
- package/dist/finalSuccessScreen-2-RZENUP.js +500 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
- package/dist/fiscal-qr/styles.css +1 -82
- package/dist/fiscal-qr/styles.css.js +1 -1
- package/dist/{flipAnimation-BGXItWj0.js → flipAnimation-DI5Gw5Ks.js} +643 -355
- package/dist/flow/flow.es.js +41 -24
- package/dist/flow/shell/styles.css +1 -401
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -5702
- package/dist/{formField-Cf25rdkJ.js → formField-2VLEaztk.js} +2 -2
- package/dist/{fr-CA-DULWz0cf.js → fr-CA-BJlED1CS.js} +33 -6
- package/dist/{fr-BwDYP0LQ.js → fr-yKqRZbZ6.js} +33 -6
- package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
- package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
- package/dist/geolocation/geolocation.es.js +26 -459
- package/dist/geolocation/styles.css +1 -165
- package/dist/geolocation/styles.css.js +1 -1
- package/dist/government-validation/government-validation.es.js +15 -13
- package/dist/government-validation/styles.css +1 -4
- package/dist/government-validation/styles.css.js +1 -1
- package/dist/{he-BZVxeCzZ.js → he-Dr88a3D5.js} +33 -6
- package/dist/{hi-Bp8GM653.js → hi-ac5Rf53r.js} +33 -6
- package/dist/{hmn-Bj6F8ToZ.js → hmn-bwkkfetx.js} +33 -6
- package/dist/{homeScreen-eYD0Zo8Y.js → homeScreen-BezGnGit.js} +10 -11
- package/dist/{hr-uz9DXHS8.js → hr-CHcVE152.js} +33 -6
- package/dist/{ht-BGd4L5Je.js → ht-IPMniPpi.js} +33 -6
- package/dist/{hu-BvTVDhN5.js → hu-CG5ZOzy2.js} +33 -6
- package/dist/icons-CSP6Tne6.js +535 -0
- package/dist/id/id.es.js +315 -1174
- package/dist/id/styles.css +1 -1691
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-D0EG-hya.js → id-DYinFjLQ.js} +33 -6
- package/dist/id-back-of-card-C7Au2tqk.js +71 -0
- package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
- package/dist/id-front-of-card-BmHL_keG.js +305 -0
- package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
- package/dist/id-ocr/styles.css +1 -55
- package/dist/id-ocr/styles.css.js +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
- package/dist/id-selfie-flow/styles.css +1 -780
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/{idOcr-66OmIUeD.js → idOcr-DN1gTAJ7.js} +12 -11
- package/dist/identity-reuse/identity-reuse.es.js +167 -139
- package/dist/identity-reuse/styles.css +1 -216
- package/dist/incode-logo-DIujvtwd.js +341 -0
- package/dist/{incodeComponent--XJZ07QN.js → incodeComponent-WXvcRKkM.js} +147 -269
- package/dist/incodeModule-DsWO19Nv.js +68 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-ByIWAPSr.js → inputComposed-D-WVQEpg.js} +2 -2
- package/dist/inputComposed-Dca8NJxF.js +1 -0
- package/dist/{it-DWY7_sYa.js → it-pBVnbw9L.js} +34 -7
- package/dist/{ja-z6DqLSKX.js → ja-BtG6-Vh2.js} +33 -6
- package/dist/{ja-JP-DvHAizEm.js → ja-JP-CuWo_Mj3.js} +33 -6
- package/dist/{jv-CkRJjzon.js → jv-BT_G8rCL.js} +33 -6
- package/dist/{ka-BvgWMiTW.js → ka-WxIHXEYK.js} +33 -6
- package/dist/{kk-BAYGOXZ1.js → kk-qwv1f2i0.js} +33 -6
- package/dist/{km-Bn1-UMaR.js → km-CMxgTPm2.js} +40 -13
- package/dist/{ko-CtAqOkND.js → ko-ByRDnTNU.js} +33 -6
- package/dist/{ko-KP-kVzak00f.js → ko-KP-DT8OH4nm.js} +33 -6
- package/dist/{ky-Cegtfua2.js → ky-DrRlDMWB.js} +33 -6
- package/dist/{lo-DtW4luOG.js → lo-CazQUHLa.js} +33 -6
- package/dist/{lt-CnaDc_UD.js → lt-CBMtCNcX.js} +33 -6
- package/dist/{lv-SBquFvpr.js → lv-QLEUT4Fk.js} +33 -6
- package/dist/{mandatoryConsent-BMvNiuiY.js → mandatoryConsent-B8JxEysm.js} +8 -6
- package/dist/{manualCaptureButton-6HOiu1ud.js → manualCaptureButton-CortdhZS.js} +5 -5
- package/dist/{manualCaptureButton-CI-lIiuA.js → manualCaptureButton-XLjthVmp.js} +43 -34
- package/dist/{mk-Bym8Rbmu.js → mk-DDDwwQ8b.js} +33 -6
- package/dist/{mn-C-EiXg08.js → mn-CKxduUYN.js} +33 -6
- package/dist/{ms-k_GCoKmE.js → ms-CFER5NeU.js} +33 -6
- package/dist/{my-v5GqdpqS.js → my-mmwQAfjf.js} +33 -6
- package/dist/{nb-NO-Ca1WyJtF.js → nb-NO-CGgKs8rj.js} +33 -6
- package/dist/{ne-DZ1xJQOA.js → ne-BJqy-qcj.js} +33 -6
- package/dist/{nl-DsWJVGHj.js → nl-DJr6e9c-.js} +33 -6
- package/dist/{optionAccessibleLabel-CkP9Zu6D.js → optionAccessibleLabel-Da2eL5BH.js} +5 -5
- package/dist/{otpInput-CmcE2rnQ.js → otpInput-DhyZLO7E.js} +6 -6
- package/dist/page-BksTT2IT.js +299 -0
- package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
- package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
- package/dist/{passwordInputComposed-DkHtXfpN.js → passwordInputComposed-DUuchiG5.js} +4 -4
- package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
- package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
- package/dist/pdfViewer-DI6ftHlp.js +2 -0
- package/dist/pdfViewer-jx6A8s9-.js +154 -0
- package/dist/{permissions-D85sVpRH.js → permissions-CSwqOb8W.js} +41 -14
- package/dist/phone/phone.es.js +9 -8
- package/dist/phone/styles.css +1 -10
- package/dist/phone/styles.css.js +1 -1
- package/dist/phoneInputComposed-B-rmar65.js +249 -0
- package/dist/{pl-B32zvfat.js → pl-eSIxcu-k.js} +33 -6
- package/dist/policyUrls-B3M8nLRh.js +7 -0
- package/dist/{processing-DB6ZtByy.js → processing-DXSGB91D.js} +1 -1
- package/dist/progressBar-CFcaF74Q.js +27 -0
- package/dist/{pt-BR-CZSBmrhf.js → pt-BR-CJA5ZG6e.js} +33 -6
- package/dist/{pt-CI9A94gT.js → pt-CmJV-wZ-.js} +33 -6
- package/dist/{pt-PT-dD8X7Uk-.js → pt-PT-BFdqErGN.js} +33 -6
- package/dist/{spacer-Csi6kZZI.js → purify.es-0fCPkEV1.js} +2 -740
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-BDYikM_v.js +1 -0
- package/dist/{radioGroupComposed-BKEEwEPO.js → radioGroupComposed-CP8O7fH0.js} +2 -2
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
- package/dist/redirect-to-mobile/styles.css +1 -323
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/reload-icon-elAFo9-k.js +70 -0
- package/dist/{resendTimer-QICiM2K0.js → resendTimer-B57abKjj.js} +1 -1
- package/dist/{richText-2CpStx6w.js → richText-aCnLd3j2.js} +2 -2
- package/dist/{ro-9pJ4k0ri.js → ro-CWG17Pwq.js} +33 -6
- package/dist/{ru-RU-Bbq_NDQg.js → ru-RU-B92HlMCp.js} +33 -6
- package/dist/{ru-DU8F6ner.js → ru-ax21b71G.js} +33 -6
- package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
- package/dist/selfie/selfie.es.js +9 -184
- package/dist/selfie/styles.css +1 -501
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +8 -7
- package/dist/signature/styles.css +1 -116
- package/dist/signature/styles.css.js +1 -1
- package/dist/{sk-COjINm80.js → sk-Ds3au8Jk.js} +35 -8
- package/dist/{sl-BHEN5hgb.js → sl-B6IDJen8.js} +33 -6
- package/dist/{smsTabContent-6ehe5Tx-.js → smsTabContent-BlG83kTA.js} +6 -7
- package/dist/{so-BK_1PgA0.js → so-YhVExrIs.js} +33 -6
- package/dist/spacer-CkjGrKvv.js +741 -0
- package/dist/{spinner-C9D0Usrj.js → spinner-ceW7fzMV.js} +2 -2
- package/dist/{sr-CXHt_PCR.js → sr-DHyxTTRS.js} +33 -6
- package/dist/{sr-Latn-BBXL4zhk.js → sr-Latn-DVXk3-Ar.js} +40 -13
- package/dist/{sr-YU-D3DxWT8Q.js → sr-YU-A98YyASK.js} +33 -6
- package/dist/{statusPage-BbOa8Zsp.js → statusPage-DcunZz7q.js} +3 -3
- package/dist/{sv-SE-B6_0mJU7.js → sv-SE-BKSmMaSz.js} +33 -6
- package/dist/{sw-BUZuOFDH.js → sw-BlrxyPqO.js} +33 -6
- package/dist/{th-DZN2Iv8L.js → th-Bwohp3kt.js} +33 -6
- package/dist/{th-TH-B5S1TAOp.js → th-TH-CJpVz2u5.js} +33 -6
- package/dist/themes/dark.css +1 -1537
- package/dist/themes/light.css +1 -1413
- package/dist/{tl-DO_ExzG4.js → tl-D-896paK.js} +33 -6
- package/dist/{tl-PH-CbqgynTp.js → tl-PH-CpeFjacJ.js} +33 -6
- package/dist/{tr-DuzhV6aC.js → tr-UpF9aXXo.js} +34 -7
- package/dist/transitionSpinner-t_urdfwD.js +76 -0
- package/dist/{tutorial-CGHCyHq1.js → tutorial-Hoic1tQU.js} +14 -18
- package/dist/types/ae-signature.d.ts +27 -5
- package/dist/types/antifraud.d.ts +27 -5
- package/dist/types/authentication.d.ts +27 -5
- package/dist/types/certificate-issuance.d.ts +27 -5
- package/dist/types/consent.d.ts +27 -3
- package/dist/types/cross-document-data-match.d.ts +32 -2
- package/dist/types/curp-validation.d.ts +27 -5
- package/dist/types/document-capture.d.ts +32 -2
- package/dist/types/dynamic-forms.d.ts +27 -5
- package/dist/types/ekyb.d.ts +32 -2
- package/dist/types/ekyc.d.ts +32 -2
- package/dist/types/electronic-signature.d.ts +27 -5
- package/dist/types/email.d.ts +27 -3
- package/dist/types/extensibility.d.ts +135 -27
- package/dist/types/face-match.d.ts +32 -2
- package/dist/types/field-comparison.d.ts +32 -2
- package/dist/types/fiscal-qr.d.ts +27 -3
- package/dist/types/flow.d.ts +27 -3
- package/dist/types/geolocation.d.ts +27 -3
- package/dist/types/government-validation.d.ts +32 -2
- package/dist/types/id-selfie-flow.d.ts +27 -14
- package/dist/types/id-verification.d.ts +27 -5
- package/dist/types/id.d.ts +27 -3
- package/dist/types/identity-reuse.d.ts +27 -5
- package/dist/types/index.d.ts +52 -1
- package/dist/types/phone.d.ts +27 -3
- package/dist/types/qe-signature.d.ts +27 -5
- package/dist/types/selfie.d.ts +27 -3
- package/dist/types/signature.d.ts +27 -5
- package/dist/types/video-selfie.d.ts +5 -2
- package/dist/types/watchlist.d.ts +27 -5
- package/dist/types/workflow.d.ts +50 -4
- package/dist/{typography-Ck7V6DNZ.js → typography-CjBuzXWX.js} +1 -1
- package/dist/{uiConfig-Dd7jp1PI.js → uiConfig-Bh5WEbvy.js} +256 -874
- package/dist/{uk-BLrKoj8p.js → uk-DsTY-qEZ.js} +33 -6
- package/dist/{uk-UA-D6AgqKAE.js → uk-UA-BsILxTGz.js} +33 -6
- package/dist/{ur-uciedoGK.js → ur-n9ZinGDJ.js} +33 -6
- package/dist/useCaptureHelpButton-f7JWgp_k.js +86 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/{uz-D1RcQJml.js → uz-C-oPc-JB.js} +33 -6
- package/dist/{verificationResult-CMeZfcp-.js → verificationResult-M2YRY8Gb.js} +6 -6
- package/dist/{vi-ftDWx05b.js → vi-CwwSd-oQ.js} +33 -6
- package/dist/video-selfie/styles.css +1 -864
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +15 -12
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/watchlist-for-business/styles.css +1 -17
- package/dist/watchlist-for-business/styles.css.js +1 -1
- package/dist/{watchlistForBusiness-CAVtOlvf.js → watchlistForBusiness-CAUTDAJh.js} +265 -8
- package/dist/{resolveApiKey-uVJm2km3.js → withEndScreenTexts-VQlYb0bU.js} +53 -25
- package/dist/workflow/styles.css +1 -5116
- package/dist/workflow/workflow.es.js +83 -28
- package/dist/{zh-CN-C6BX8R6-.js → zh-CN-Dc3X6PNO.js} +35 -8
- package/dist/{zh-CJ974_0X.js → zh-Dgdyqejo.js} +33 -6
- package/dist/{zh-HANT-CbCj1ENS.js → zh-HANT-BDp9XkY7.js} +33 -6
- package/dist/{zh-TW-DGxz1fli.js → zh-TW-QBmOmVhc.js} +33 -6
- package/package.json +8 -6
- package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
- package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
- package/dist/cameraOverlay-Dp8micQ1.js +0 -2
- package/dist/cameraOverlayHeader-BMfNitmC.js +0 -43
- package/dist/captureFooter-xMZdYH2O.js +0 -67
- package/dist/connectionError-BhxGYSwy.js +0 -45
- package/dist/countries-5e8kwG_m.js +0 -8560
- package/dist/dateInputComposed-DM6MXdpn.js +0 -1
- package/dist/denied-PJnw8fbL.js +0 -2191
- package/dist/documentCapture-Bcw3g1Q1.js +0 -2
- package/dist/dropdownComposed-C2bmup-w.js +0 -1
- package/dist/ekybModule-DHJWniii.js +0 -2
- package/dist/ekycModule-5d4qgrAk.js +0 -2
- package/dist/faceMatch-B7ayVA3N.js +0 -2
- package/dist/faceMatch-Tj39bhkm.js +0 -334
- package/dist/fieldComparison-75FGbygj.js +0 -2
- package/dist/finalSuccessScreen-ikiIjPhC.js +0 -499
- package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
- package/dist/icons-DO-rf5yd.js +0 -533
- package/dist/id-back-of-card-B6EcmiCs.js +0 -83
- package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
- package/dist/id-front-of-card-V_BlLaZr.js +0 -308
- package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
- package/dist/incode-logo-BzJOZr3f.js +0 -4
- package/dist/incodeModule-n_Am6zwM.js +0 -31
- package/dist/inputComposed-B33LMERA.js +0 -1
- package/dist/modal-DNfrzKC7.js +0 -140
- package/dist/modal.hooks-B0Wrc9s2.js +0 -201
- package/dist/pdfViewer-CygtdQPU.js +0 -149
- package/dist/pdfViewer-Yf7ZKXLz.js +0 -2
- package/dist/phoneInputComposed-7i6GGW1B.js +0 -3751
- package/dist/radioGroupComposed-Bm3iEn-6.js +0 -1
- package/dist/tabs-CW12_glt.js +0 -104
- /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
- /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
- /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
- /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
- /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
- /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
- /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
- /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
- /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
- /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
- /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
- /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
- /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
- /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
- /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
- /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
- /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
- /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import { o as useTranslation, r as useUiConfig } from "./uiConfig-Dd7jp1PI.js";
|
|
3
|
-
import { _ as y, b as Q, c as A, d as _, f as d, g as x, h as q, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
4
|
-
//#region src/styles/cn.tsx
|
|
5
|
-
var cn = (...classes) => {
|
|
6
|
-
const result = [];
|
|
7
|
-
for (const cls of classes) {
|
|
8
|
-
if (!cls) continue;
|
|
9
|
-
if (typeof cls === "string") result.push(cls);
|
|
10
|
-
else if (typeof cls === "object") {
|
|
11
|
-
for (const [key, value] of Object.entries(cls)) if (value) result.push(key);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return result.join(" ");
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
1
|
//#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
|
|
18
2
|
/*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
|
|
19
3
|
var { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object;
|
|
@@ -1617,728 +1601,6 @@ function createDOMPurify() {
|
|
|
1617
1601
|
};
|
|
1618
1602
|
return DOMPurify;
|
|
1619
1603
|
}
|
|
1620
|
-
var purify
|
|
1621
|
-
//#endregion
|
|
1622
|
-
//#region src/shared/assets/sanitizeSvg.ts
|
|
1623
|
-
var SVG_SANITIZE_CONFIG = {
|
|
1624
|
-
USE_PROFILES: {
|
|
1625
|
-
svg: true,
|
|
1626
|
-
svgFilters: true
|
|
1627
|
-
},
|
|
1628
|
-
FORBID_TAGS: ["foreignObject"],
|
|
1629
|
-
ADD_TAGS: ["use"]
|
|
1630
|
-
};
|
|
1631
|
-
var purify = purify$1(window);
|
|
1632
|
-
var strippedHref = false;
|
|
1633
|
-
purify.addHook("uponSanitizeAttribute", (_node, data) => {
|
|
1634
|
-
if ((data.attrName === "href" || data.attrName === "xlink:href") && !String(data.attrValue).startsWith("#")) {
|
|
1635
|
-
data.keepAttr = false;
|
|
1636
|
-
strippedHref = true;
|
|
1637
|
-
}
|
|
1638
|
-
});
|
|
1639
|
-
/**
|
|
1640
|
-
* Sanitizes untrusted SVG markup for safe inline injection. Strips scripts,
|
|
1641
|
-
* event handlers, `<foreignObject>`, and external `href` / `xlink:href` (while
|
|
1642
|
-
* keeping in-document `#fragment` references SVGs rely on for gradients and
|
|
1643
|
-
* filters). An all-stripped payload yields `markup: ''`; the caller treats
|
|
1644
|
-
* both that and `strippedHref` as a failed override and falls back to the
|
|
1645
|
-
* built-in default.
|
|
1646
|
-
*/
|
|
1647
|
-
function sanitizeSvg(raw) {
|
|
1648
|
-
strippedHref = false;
|
|
1649
|
-
return {
|
|
1650
|
-
markup: purify.sanitize(raw, SVG_SANITIZE_CONFIG),
|
|
1651
|
-
strippedHref
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
//#endregion
|
|
1655
|
-
//#region src/shared/assets/instanceOverrides.ts
|
|
1656
|
-
var InstanceOverridesContext = Q({});
|
|
1657
|
-
var InstanceOverridesProvider = InstanceOverridesContext.Provider;
|
|
1658
|
-
function useInstanceOverrides() {
|
|
1659
|
-
return x(InstanceOverridesContext);
|
|
1660
|
-
}
|
|
1661
|
-
//#endregion
|
|
1662
|
-
//#region src/shared/assets/assetRegistry.ts
|
|
1663
|
-
var defaultExport = (module) => module.default;
|
|
1664
|
-
var decorative = { ariaHidden: true };
|
|
1665
|
-
var assetRegistry = {
|
|
1666
|
-
"faceMatch.success": { a11y: decorative },
|
|
1667
|
-
"faceMatch.fail": { a11y: decorative },
|
|
1668
|
-
"documentCapture.tutorial": { a11y: decorative },
|
|
1669
|
-
"id.uploadScreen": { a11y: decorative },
|
|
1670
|
-
"id.ageVerification.dob": { a11y: decorative },
|
|
1671
|
-
"id.ageVerification.scan": { a11y: decorative },
|
|
1672
|
-
"id.ageVerification.privacy": { a11y: decorative },
|
|
1673
|
-
"videoSelfie.success": { a11y: decorative },
|
|
1674
|
-
"videoSelfie.fail": { a11y: decorative },
|
|
1675
|
-
"videoSelfie.tutorial.permission": { a11y: decorative },
|
|
1676
|
-
"videoSelfie.tutorial.selfie": { a11y: decorative },
|
|
1677
|
-
"videoSelfie.tutorial.frontId": { a11y: decorative },
|
|
1678
|
-
"videoSelfie.tutorial.backId": { a11y: decorative },
|
|
1679
|
-
"videoSelfie.tutorial.poa": { a11y: decorative },
|
|
1680
|
-
"videoSelfie.tutorial.questions": { a11y: decorative },
|
|
1681
|
-
"videoSelfie.tutorial.speech": { a11y: decorative },
|
|
1682
|
-
"loader.spinner": { a11y: decorative }
|
|
1683
|
-
};
|
|
1684
|
-
var animationRegistry = {
|
|
1685
|
-
"id.tutorial.front": {
|
|
1686
|
-
default: () => import("./id-tutorial-IhmAzrIF.js").then(defaultExport),
|
|
1687
|
-
a11y: decorative
|
|
1688
|
-
},
|
|
1689
|
-
"id.tutorial.back": {
|
|
1690
|
-
default: () => import("./back-tutorial-XdmQ0Wml.js").then(defaultExport),
|
|
1691
|
-
a11y: decorative
|
|
1692
|
-
},
|
|
1693
|
-
"id.tutorial.passport": {
|
|
1694
|
-
default: () => import("./passport-tutorial-61vlloJS.js").then(defaultExport),
|
|
1695
|
-
a11y: decorative
|
|
1696
|
-
},
|
|
1697
|
-
"id.flip": {
|
|
1698
|
-
default: () => import("./flip-animation-VicedlT5.js").then(defaultExport),
|
|
1699
|
-
a11y: decorative
|
|
1700
|
-
},
|
|
1701
|
-
"id.processing": {
|
|
1702
|
-
default: {
|
|
1703
|
-
horizontal: () => import("./id-laser-h-B0-iXcvl.js").then(defaultExport),
|
|
1704
|
-
vertical: () => import("./id-laser-v-Bqh6vimi.js").then(defaultExport)
|
|
1705
|
-
},
|
|
1706
|
-
a11y: decorative
|
|
1707
|
-
},
|
|
1708
|
-
"selfie.tutorial": {
|
|
1709
|
-
default: () => import("./selfieTutorial-BRQ2QNxQ.js").then(defaultExport),
|
|
1710
|
-
a11y: decorative
|
|
1711
|
-
},
|
|
1712
|
-
"loader.spinner": {
|
|
1713
|
-
default: null,
|
|
1714
|
-
a11y: decorative
|
|
1715
|
-
}
|
|
1716
|
-
};
|
|
1717
|
-
//#endregion
|
|
1718
|
-
//#region src/shared/assets/resolveAsset.ts
|
|
1719
|
-
/**
|
|
1720
|
-
* Whether a resolved value represents an active override, as opposed to no
|
|
1721
|
-
* override at all (`type === 'default'`).
|
|
1722
|
-
*/
|
|
1723
|
-
function isActiveOverride(resolved) {
|
|
1724
|
-
return resolved !== null && resolved.type !== "default";
|
|
1725
|
-
}
|
|
1726
|
-
function warnUnknownKey(key) {
|
|
1727
|
-
`${key}`;
|
|
1728
|
-
}
|
|
1729
|
-
function isValidUrl(url) {
|
|
1730
|
-
const SCHEME_PREFIX = /^[a-zA-Z][a-zA-Z0-9+.-]*:/;
|
|
1731
|
-
if (url === "" || /\s/.test(url)) return false;
|
|
1732
|
-
if (!SCHEME_PREFIX.test(url)) return true;
|
|
1733
|
-
try {
|
|
1734
|
-
new URL(url);
|
|
1735
|
-
return true;
|
|
1736
|
-
} catch {
|
|
1737
|
-
return false;
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
function normalizeAssetOverride(override) {
|
|
1741
|
-
if (override === void 0) return null;
|
|
1742
|
-
if (typeof override === "string") {
|
|
1743
|
-
const value = override.trim();
|
|
1744
|
-
if (value === "") return null;
|
|
1745
|
-
if (value.startsWith("<")) return {
|
|
1746
|
-
type: "override-raw",
|
|
1747
|
-
raw: value
|
|
1748
|
-
};
|
|
1749
|
-
if (!isValidUrl(value)) return null;
|
|
1750
|
-
return {
|
|
1751
|
-
type: "override-url",
|
|
1752
|
-
url: value
|
|
1753
|
-
};
|
|
1754
|
-
}
|
|
1755
|
-
if ("svg" in override) return {
|
|
1756
|
-
type: "override-component",
|
|
1757
|
-
component: override.svg
|
|
1758
|
-
};
|
|
1759
|
-
if ("raw" in override) {
|
|
1760
|
-
const raw = override.raw.trim();
|
|
1761
|
-
return raw === "" ? null : {
|
|
1762
|
-
type: "override-raw",
|
|
1763
|
-
raw
|
|
1764
|
-
};
|
|
1765
|
-
}
|
|
1766
|
-
if ("url" in override) {
|
|
1767
|
-
const url = override.url.trim();
|
|
1768
|
-
if (url === "") return null;
|
|
1769
|
-
if (!isValidUrl(url)) return null;
|
|
1770
|
-
return {
|
|
1771
|
-
type: "override-url",
|
|
1772
|
-
url
|
|
1773
|
-
};
|
|
1774
|
-
}
|
|
1775
|
-
return null;
|
|
1776
|
-
}
|
|
1777
|
-
function normalizeAnimationOverride(override) {
|
|
1778
|
-
if (override === void 0) return null;
|
|
1779
|
-
if ("url" in override) {
|
|
1780
|
-
const url = override.url.trim();
|
|
1781
|
-
if (url === "") return null;
|
|
1782
|
-
if (!isValidUrl(url)) return null;
|
|
1783
|
-
return {
|
|
1784
|
-
type: "override-url",
|
|
1785
|
-
url
|
|
1786
|
-
};
|
|
1787
|
-
}
|
|
1788
|
-
if ("animationData" in override) return {
|
|
1789
|
-
type: "override-data",
|
|
1790
|
-
animationData: override.animationData
|
|
1791
|
-
};
|
|
1792
|
-
return {
|
|
1793
|
-
type: "override-data",
|
|
1794
|
-
animationData: override
|
|
1795
|
-
};
|
|
1796
|
-
}
|
|
1797
|
-
function resolveAsset(key, scopes = {}) {
|
|
1798
|
-
scopes.instance;
|
|
1799
|
-
scopes.global;
|
|
1800
|
-
const entry = assetRegistry[key];
|
|
1801
|
-
if (entry === void 0) {
|
|
1802
|
-
warnUnknownKey(key);
|
|
1803
|
-
return null;
|
|
1804
|
-
}
|
|
1805
|
-
const override = normalizeAssetOverride(scopes.instance?.[key]) ?? normalizeAssetOverride(scopes.global?.[key]);
|
|
1806
|
-
if (override !== null) return {
|
|
1807
|
-
...override,
|
|
1808
|
-
a11y: entry.a11y
|
|
1809
|
-
};
|
|
1810
|
-
return {
|
|
1811
|
-
type: "default",
|
|
1812
|
-
a11y: entry.a11y
|
|
1813
|
-
};
|
|
1814
|
-
}
|
|
1815
|
-
function resolveAnimation(key, scopes = {}) {
|
|
1816
|
-
scopes.instance;
|
|
1817
|
-
scopes.global;
|
|
1818
|
-
const entry = animationRegistry[key];
|
|
1819
|
-
if (entry === void 0) {
|
|
1820
|
-
warnUnknownKey(key);
|
|
1821
|
-
return null;
|
|
1822
|
-
}
|
|
1823
|
-
const override = normalizeAnimationOverride(scopes.instance?.[key]) ?? normalizeAnimationOverride(scopes.global?.[key]);
|
|
1824
|
-
if (override !== null) return {
|
|
1825
|
-
...override,
|
|
1826
|
-
a11y: entry.a11y
|
|
1827
|
-
};
|
|
1828
|
-
return {
|
|
1829
|
-
type: "default",
|
|
1830
|
-
default: entry.default,
|
|
1831
|
-
a11y: entry.a11y
|
|
1832
|
-
};
|
|
1833
|
-
}
|
|
1834
|
-
//#endregion
|
|
1835
|
-
//#region src/shared/assets/useAsset.ts
|
|
1836
|
-
function useAsset(key) {
|
|
1837
|
-
const instance = useInstanceOverrides();
|
|
1838
|
-
const uiConfig = useUiConfig();
|
|
1839
|
-
return T(() => {
|
|
1840
|
-
return resolveAsset(key, {
|
|
1841
|
-
instance: instance.assets,
|
|
1842
|
-
global: uiConfig.assets
|
|
1843
|
-
});
|
|
1844
|
-
}, [
|
|
1845
|
-
key,
|
|
1846
|
-
instance.assets,
|
|
1847
|
-
uiConfig.assets
|
|
1848
|
-
]);
|
|
1849
|
-
}
|
|
1850
|
-
function useAnimation(key) {
|
|
1851
|
-
const instance = useInstanceOverrides();
|
|
1852
|
-
const uiConfig = useUiConfig();
|
|
1853
|
-
return T(() => {
|
|
1854
|
-
return resolveAnimation(key, {
|
|
1855
|
-
instance: instance.animations,
|
|
1856
|
-
global: uiConfig.animations
|
|
1857
|
-
});
|
|
1858
|
-
}, [
|
|
1859
|
-
key,
|
|
1860
|
-
instance.animations,
|
|
1861
|
-
uiConfig.animations
|
|
1862
|
-
]);
|
|
1863
|
-
}
|
|
1864
|
-
//#endregion
|
|
1865
|
-
//#region src/shared/assets/asset.tsx
|
|
1866
|
-
function altText(a11y, t) {
|
|
1867
|
-
return "altKey" in a11y ? t(a11y.altKey) : "";
|
|
1868
|
-
}
|
|
1869
|
-
function svgA11y(a11y, t) {
|
|
1870
|
-
return "altKey" in a11y ? {
|
|
1871
|
-
role: "img",
|
|
1872
|
-
"aria-label": t(a11y.altKey)
|
|
1873
|
-
} : { "aria-hidden": "true" };
|
|
1874
|
-
}
|
|
1875
|
-
/**
|
|
1876
|
-
* Normalizes the call-site `default` into a renderable shape. Trusted (it is a
|
|
1877
|
-
* bundled SDK asset), so raw markup is not sanitized — unlike a customer raw
|
|
1878
|
-
* override.
|
|
1879
|
-
*/
|
|
1880
|
-
function defaultToRenderable(value) {
|
|
1881
|
-
if (value === void 0) return null;
|
|
1882
|
-
if (typeof value === "function") return {
|
|
1883
|
-
kind: "component",
|
|
1884
|
-
value
|
|
1885
|
-
};
|
|
1886
|
-
return value.trim().startsWith("<") ? {
|
|
1887
|
-
kind: "raw",
|
|
1888
|
-
value
|
|
1889
|
-
} : {
|
|
1890
|
-
kind: "url",
|
|
1891
|
-
value
|
|
1892
|
-
};
|
|
1893
|
-
}
|
|
1894
|
-
function useAssetContent(key, defaultAsset, onFallback) {
|
|
1895
|
-
const resolved = useAsset(key);
|
|
1896
|
-
const [failedUrl, setFailedUrl] = d(null);
|
|
1897
|
-
const rawOverride = resolved?.type === "override-raw" ? resolved.raw : null;
|
|
1898
|
-
const sanitizedRaw = T(() => rawOverride === null ? null : sanitizeSvg(rawOverride), [rawOverride]);
|
|
1899
|
-
const urlFailed = resolved?.type === "override-url" && resolved.url === failedUrl;
|
|
1900
|
-
const rawStripped = rawOverride !== null && (sanitizedRaw?.strippedHref === true || (sanitizedRaw?.markup ?? "").trim() === "");
|
|
1901
|
-
y(() => {
|
|
1902
|
-
if (urlFailed || rawStripped) onFallback?.();
|
|
1903
|
-
}, [
|
|
1904
|
-
urlFailed,
|
|
1905
|
-
rawStripped,
|
|
1906
|
-
onFallback
|
|
1907
|
-
]);
|
|
1908
|
-
if (resolved === null) return null;
|
|
1909
|
-
const useDefault = resolved.type === "default" || urlFailed || rawStripped;
|
|
1910
|
-
const { a11y } = resolved;
|
|
1911
|
-
if (!useDefault) switch (resolved.type) {
|
|
1912
|
-
case "override-component": return {
|
|
1913
|
-
content: {
|
|
1914
|
-
kind: "component",
|
|
1915
|
-
value: resolved.component
|
|
1916
|
-
},
|
|
1917
|
-
a11y
|
|
1918
|
-
};
|
|
1919
|
-
case "override-url": return {
|
|
1920
|
-
content: {
|
|
1921
|
-
kind: "url",
|
|
1922
|
-
value: resolved.url,
|
|
1923
|
-
onError: () => setFailedUrl(resolved.url)
|
|
1924
|
-
},
|
|
1925
|
-
a11y
|
|
1926
|
-
};
|
|
1927
|
-
case "override-raw": return {
|
|
1928
|
-
content: {
|
|
1929
|
-
kind: "raw",
|
|
1930
|
-
value: sanitizedRaw?.markup ?? ""
|
|
1931
|
-
},
|
|
1932
|
-
a11y
|
|
1933
|
-
};
|
|
1934
|
-
}
|
|
1935
|
-
const content = defaultToRenderable(defaultAsset);
|
|
1936
|
-
return content ? {
|
|
1937
|
-
content,
|
|
1938
|
-
a11y
|
|
1939
|
-
} : null;
|
|
1940
|
-
}
|
|
1941
|
-
function renderAsset(content, a11y, t, className) {
|
|
1942
|
-
switch (content.kind) {
|
|
1943
|
-
case "component": {
|
|
1944
|
-
const Svg = content.value;
|
|
1945
|
-
return /* @__PURE__ */ u(Svg, {
|
|
1946
|
-
class: className,
|
|
1947
|
-
...svgA11y(a11y, t)
|
|
1948
|
-
});
|
|
1949
|
-
}
|
|
1950
|
-
case "url": return /* @__PURE__ */ u("img", {
|
|
1951
|
-
src: content.value,
|
|
1952
|
-
alt: altText(a11y, t),
|
|
1953
|
-
"aria-hidden": "altKey" in a11y ? void 0 : "true",
|
|
1954
|
-
class: className,
|
|
1955
|
-
onError: content.onError
|
|
1956
|
-
});
|
|
1957
|
-
case "raw": return /* @__PURE__ */ u("span", {
|
|
1958
|
-
class: cn("IncodeAssetRaw", className),
|
|
1959
|
-
...svgA11y(a11y, t),
|
|
1960
|
-
dangerouslySetInnerHTML: { __html: content.value }
|
|
1961
|
-
});
|
|
1962
|
-
default: return content;
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
/**
|
|
1966
|
-
* Renders a branded illustration by catalog key, honoring the resolved
|
|
1967
|
-
* precedence (per-instance → global → built-in default). The built-in default
|
|
1968
|
-
* is supplied by the call site via `default` (imported on-site).
|
|
1969
|
-
*/
|
|
1970
|
-
function Asset({ name, class: className, default: defaultAsset, onFallback }) {
|
|
1971
|
-
const { t } = useTranslation();
|
|
1972
|
-
const result = useAssetContent(name, defaultAsset, onFallback);
|
|
1973
|
-
if (result === null) return null;
|
|
1974
|
-
return renderAsset(result.content, result.a11y, t, className);
|
|
1975
|
-
}
|
|
1976
|
-
//#endregion
|
|
1977
|
-
//#region src/shared/lottie/lottie.tsx
|
|
1978
|
-
var lottiePromise = null;
|
|
1979
|
-
async function loadLottie() {
|
|
1980
|
-
if (lottiePromise) return lottiePromise;
|
|
1981
|
-
lottiePromise = import("./lottie_light-CzZ3CHBk.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => mod.default);
|
|
1982
|
-
return lottiePromise;
|
|
1983
|
-
}
|
|
1984
|
-
var AUTO_STOP_AFTER_MS = 5e3;
|
|
1985
|
-
function Lottie({ animationData, loop = true, autoplay = true, reverse = false, style, className, onComplete, autoStop = false, stopFramePosition }) {
|
|
1986
|
-
const containerRef = A(null);
|
|
1987
|
-
const effectiveAutoplay = reverse ? false : autoplay;
|
|
1988
|
-
const animationOptionsRef = A({
|
|
1989
|
-
container: containerRef.current,
|
|
1990
|
-
renderer: "svg",
|
|
1991
|
-
loop,
|
|
1992
|
-
autoplay: effectiveAutoplay,
|
|
1993
|
-
animationData
|
|
1994
|
-
});
|
|
1995
|
-
y(() => {
|
|
1996
|
-
animationOptionsRef.current = {
|
|
1997
|
-
container: containerRef.current,
|
|
1998
|
-
renderer: "svg",
|
|
1999
|
-
loop,
|
|
2000
|
-
autoplay: effectiveAutoplay,
|
|
2001
|
-
animationData
|
|
2002
|
-
};
|
|
2003
|
-
}, [
|
|
2004
|
-
animationData,
|
|
2005
|
-
loop,
|
|
2006
|
-
effectiveAutoplay
|
|
2007
|
-
]);
|
|
2008
|
-
y(() => {
|
|
2009
|
-
if (!containerRef.current) return;
|
|
2010
|
-
let anim;
|
|
2011
|
-
let stopTimer;
|
|
2012
|
-
let isMounted = true;
|
|
2013
|
-
loadLottie().then((lottie) => {
|
|
2014
|
-
if (!isMounted) return;
|
|
2015
|
-
anim = lottie.loadAnimation(animationOptionsRef.current);
|
|
2016
|
-
if (reverse) {
|
|
2017
|
-
anim.setDirection(-1);
|
|
2018
|
-
anim.goToAndPlay(anim.totalFrames - 1, true);
|
|
2019
|
-
}
|
|
2020
|
-
if (onComplete) anim.addEventListener("complete", onComplete);
|
|
2021
|
-
if (autoStop) stopTimer = window.setTimeout(() => {
|
|
2022
|
-
const current = anim;
|
|
2023
|
-
if (!current) return;
|
|
2024
|
-
if (!stopFramePosition) {
|
|
2025
|
-
current.pause();
|
|
2026
|
-
return;
|
|
2027
|
-
}
|
|
2028
|
-
const totalFrames = current.totalFrames;
|
|
2029
|
-
if (!totalFrames || totalFrames <= 0) {
|
|
2030
|
-
current.stop();
|
|
2031
|
-
return;
|
|
2032
|
-
}
|
|
2033
|
-
const targetFrame = stopFramePosition === "last" ? Math.max(totalFrames - 1, 0) : stopFramePosition === "first" ? 0 : Math.floor((totalFrames - 1) / 2);
|
|
2034
|
-
current.goToAndStop(targetFrame, true);
|
|
2035
|
-
}, AUTO_STOP_AFTER_MS);
|
|
2036
|
-
});
|
|
2037
|
-
return () => {
|
|
2038
|
-
isMounted = false;
|
|
2039
|
-
if (stopTimer !== void 0) window.clearTimeout(stopTimer);
|
|
2040
|
-
if (anim) {
|
|
2041
|
-
if (onComplete) anim.removeEventListener("complete", onComplete);
|
|
2042
|
-
anim.destroy();
|
|
2043
|
-
}
|
|
2044
|
-
};
|
|
2045
|
-
}, [
|
|
2046
|
-
onComplete,
|
|
2047
|
-
reverse,
|
|
2048
|
-
autoStop,
|
|
2049
|
-
stopFramePosition
|
|
2050
|
-
]);
|
|
2051
|
-
return /* @__PURE__ */ u("div", {
|
|
2052
|
-
ref: containerRef,
|
|
2053
|
-
style,
|
|
2054
|
-
className,
|
|
2055
|
-
"aria-hidden": "true"
|
|
2056
|
-
});
|
|
2057
|
-
}
|
|
2058
|
-
//#endregion
|
|
2059
|
-
//#region src/shared/assets/animatedAsset.tsx
|
|
2060
|
-
var overrideUrlCache = /* @__PURE__ */ new Map();
|
|
2061
|
-
function fetchAnimation(url) {
|
|
2062
|
-
const cached = overrideUrlCache.get(url);
|
|
2063
|
-
if (cached) return cached;
|
|
2064
|
-
const pending = fetch(url).then((response) => {
|
|
2065
|
-
if (!response.ok) throw new Error(`Request for "${url}" failed with status ${response.status}.`);
|
|
2066
|
-
return response.json();
|
|
2067
|
-
});
|
|
2068
|
-
overrideUrlCache.set(url, pending);
|
|
2069
|
-
pending.catch(() => overrideUrlCache.delete(url));
|
|
2070
|
-
return pending;
|
|
2071
|
-
}
|
|
2072
|
-
function loadAnimationDefault(def, orientation) {
|
|
2073
|
-
if (def === null) return Promise.resolve(null);
|
|
2074
|
-
if (typeof def === "function") return def();
|
|
2075
|
-
return def[orientation]();
|
|
2076
|
-
}
|
|
2077
|
-
var defaultCache = /* @__PURE__ */ new Map();
|
|
2078
|
-
function defaultCacheKey(name, orientation) {
|
|
2079
|
-
return `${name}|${orientation}`;
|
|
2080
|
-
}
|
|
2081
|
-
function loadDefaultCached(name, orientation) {
|
|
2082
|
-
const cacheKey = defaultCacheKey(name, orientation);
|
|
2083
|
-
if (defaultCache.has(cacheKey)) return Promise.resolve(defaultCache.get(cacheKey) ?? null);
|
|
2084
|
-
return loadAnimationDefault(animationRegistry[name]?.default ?? null, orientation).then((value) => {
|
|
2085
|
-
defaultCache.set(cacheKey, value);
|
|
2086
|
-
return value;
|
|
2087
|
-
});
|
|
2088
|
-
}
|
|
2089
|
-
/**
|
|
2090
|
-
* Warms the built-in animation cache for the given catalog keys so a later
|
|
2091
|
-
* render is synchronous (no flash). Best-effort; call it before the screen
|
|
2092
|
-
* mounts.
|
|
2093
|
-
*/
|
|
2094
|
-
function preloadAnimations(keys, orientation = "vertical") {
|
|
2095
|
-
for (const key of keys) loadDefaultCached(key, orientation).catch(() => {});
|
|
2096
|
-
}
|
|
2097
|
-
/**
|
|
2098
|
-
* Resolves the winning animation to parsed `animationData` plus whether it came
|
|
2099
|
-
* from a customer override. Reads the default cache synchronously on first
|
|
2100
|
-
* render, so a preloaded animation shows with no flash. A failed override URL
|
|
2101
|
-
* silently falls back to the built-in default.
|
|
2102
|
-
*
|
|
2103
|
-
* Shared by `AnimatedAsset` and by tutorial surfaces that render Lottie
|
|
2104
|
-
* themselves (e.g. `BaseTutorial`, which recolors only built-in defaults).
|
|
2105
|
-
*
|
|
2106
|
-
* `onFallback`, if given, fires only when a *configured* override actually
|
|
2107
|
-
* fails to load (never when there was simply no override to begin with) —
|
|
2108
|
-
* for a caller whose true fallback lives outside this system entirely, so it
|
|
2109
|
-
* can react to a real failure instead of committing to render this component before
|
|
2110
|
-
* knowing whether the override will actually work.
|
|
2111
|
-
*/
|
|
2112
|
-
function useAnimationData(name, orientation = "vertical", onFallback) {
|
|
2113
|
-
const resolved = useAnimation(name);
|
|
2114
|
-
const type = resolved?.type;
|
|
2115
|
-
const isOverride = isActiveOverride(resolved);
|
|
2116
|
-
const overrideUrl = resolved?.type === "override-url" ? resolved.url : void 0;
|
|
2117
|
-
const overrideData = resolved?.type === "override-data" ? resolved.animationData : void 0;
|
|
2118
|
-
const [data, setData] = d(() => {
|
|
2119
|
-
if (type === "override-data") return overrideData ?? null;
|
|
2120
|
-
if (type === "default") return defaultCache.get(defaultCacheKey(name, orientation)) ?? null;
|
|
2121
|
-
return null;
|
|
2122
|
-
});
|
|
2123
|
-
const [overrideFailed, setOverrideFailed] = d(false);
|
|
2124
|
-
y(() => {
|
|
2125
|
-
let active = true;
|
|
2126
|
-
setOverrideFailed(false);
|
|
2127
|
-
if (type === void 0) setData(null);
|
|
2128
|
-
else if (type === "override-data") setData(overrideData ?? null);
|
|
2129
|
-
else if (type === "override-url" && overrideUrl !== void 0) fetchAnimation(overrideUrl).then((value) => {
|
|
2130
|
-
if (active) setData(value);
|
|
2131
|
-
}, (error) => {
|
|
2132
|
-
`${name}`;
|
|
2133
|
-
if (active) {
|
|
2134
|
-
setOverrideFailed(true);
|
|
2135
|
-
loadDefaultCached(name, orientation).then((value) => {
|
|
2136
|
-
if (active) setData(value);
|
|
2137
|
-
}, () => {});
|
|
2138
|
-
}
|
|
2139
|
-
});
|
|
2140
|
-
else loadDefaultCached(name, orientation).then((value) => {
|
|
2141
|
-
if (active) setData(value);
|
|
2142
|
-
}, (error) => {
|
|
2143
|
-
if (active) {
|
|
2144
|
-
setData(null);
|
|
2145
|
-
`${name}`;
|
|
2146
|
-
}
|
|
2147
|
-
});
|
|
2148
|
-
return () => {
|
|
2149
|
-
active = false;
|
|
2150
|
-
};
|
|
2151
|
-
}, [
|
|
2152
|
-
name,
|
|
2153
|
-
orientation,
|
|
2154
|
-
type,
|
|
2155
|
-
overrideUrl,
|
|
2156
|
-
overrideData
|
|
2157
|
-
]);
|
|
2158
|
-
y(() => {
|
|
2159
|
-
if (overrideFailed) onFallback?.();
|
|
2160
|
-
}, [overrideFailed, onFallback]);
|
|
2161
|
-
return {
|
|
2162
|
-
data,
|
|
2163
|
-
isOverride
|
|
2164
|
-
};
|
|
2165
|
-
}
|
|
2166
|
-
/**
|
|
2167
|
-
* Renders a Lottie animation by catalog key, honoring the resolved precedence
|
|
2168
|
-
* (per-instance → global → built-in default). Renders nothing while pending or
|
|
2169
|
-
* when there is no Lottie to show; the container is `aria-hidden` (all catalog
|
|
2170
|
-
* animations are decorative).
|
|
2171
|
-
*/
|
|
2172
|
-
function AnimatedAsset({ name, autoStop, stopFramePosition, orientation = "vertical", loop, reverse, onComplete, class: className, onFallback }) {
|
|
2173
|
-
const { data } = useAnimationData(name, orientation, onFallback);
|
|
2174
|
-
if (data === null) return null;
|
|
2175
|
-
return /* @__PURE__ */ u(Lottie, {
|
|
2176
|
-
animationData: data,
|
|
2177
|
-
autoStop,
|
|
2178
|
-
stopFramePosition,
|
|
2179
|
-
loop,
|
|
2180
|
-
reverse,
|
|
2181
|
-
onComplete,
|
|
2182
|
-
className
|
|
2183
|
-
});
|
|
2184
|
-
}
|
|
2185
|
-
//#endregion
|
|
2186
|
-
//#region src/shared/loader/loadingIcon.tsx
|
|
2187
|
-
/**
|
|
2188
|
-
* Duration of the CSS spin animation on `.IncodeLoadingIcon`.
|
|
2189
|
-
* Must stay in sync with the `animation-duration` declared in the stylesheet.
|
|
2190
|
-
*/
|
|
2191
|
-
var SPIN_DURATION_MS = 1e3;
|
|
2192
|
-
var SpinnerPrimary = ({ size, className }) => {
|
|
2193
|
-
return /* @__PURE__ */ u("svg", {
|
|
2194
|
-
width: size,
|
|
2195
|
-
height: size,
|
|
2196
|
-
viewBox: "0 0 31 31",
|
|
2197
|
-
fill: "none",
|
|
2198
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2199
|
-
class: cn("IncodeLoadingIconPrimaryIcon", className),
|
|
2200
|
-
"aria-hidden": "true",
|
|
2201
|
-
children: /* @__PURE__ */ u("path", { d: "M28.1614 15.2837C29.453 15.2837 30.5186 14.2304 30.3181 12.9545C30.1344 11.7862 29.8129 10.6411 29.3582 9.54344C28.6044 7.72356 27.4995 6.06997 26.1066 4.67709C24.7137 3.28421 23.0601 2.17932 21.2403 1.4255C20.1426 0.970841 18.9974 0.649265 17.8292 0.46563C16.5533 0.265073 15.5 1.33073 15.5 2.62232C15.5 3.91391 16.5601 4.93461 17.8187 5.22473C18.3748 5.35291 18.9206 5.52729 19.4503 5.74672C20.7028 6.26548 21.8407 7.02585 22.7993 7.98441C23.7578 8.94296 24.5182 10.0809 25.037 11.3333C25.2564 11.8631 25.4308 12.4089 25.559 12.965C25.8491 14.2236 26.8698 15.2837 28.1614 15.2837Z" })
|
|
2202
|
-
});
|
|
2203
|
-
};
|
|
2204
|
-
var SpinnerSecondary = ({ size, className }) => {
|
|
2205
|
-
return /* @__PURE__ */ u("svg", {
|
|
2206
|
-
width: size,
|
|
2207
|
-
height: size,
|
|
2208
|
-
viewBox: "0 0 31 31",
|
|
2209
|
-
fill: "none",
|
|
2210
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2211
|
-
class: cn("IncodeLoadingIconSecondaryIcon", className),
|
|
2212
|
-
"aria-hidden": "true",
|
|
2213
|
-
children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.2837C30.5 23.568 23.7843 30.2837 15.5 30.2837C7.21573 30.2837 0.5 23.568 0.5 15.2837C0.5 6.99942 7.21573 0.283691 15.5 0.283691C23.7843 0.283691 30.5 6.99942 30.5 15.2837ZM5.17725 15.2837C5.17725 20.9848 9.7989 25.6064 15.5 25.6064C21.2011 25.6064 25.8227 20.9848 25.8227 15.2837C25.8227 9.5826 21.2011 4.96095 15.5 4.96095C9.7989 4.96095 5.17725 9.5826 5.17725 15.2837Z" })]
|
|
2214
|
-
});
|
|
2215
|
-
};
|
|
2216
|
-
var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
|
|
2217
|
-
const ref = A(null);
|
|
2218
|
-
const overrideRef = A(null);
|
|
2219
|
-
const animation = useAnimation("loader.spinner");
|
|
2220
|
-
const svg = useAsset("loader.spinner");
|
|
2221
|
-
const hasAnimationOverride = isActiveOverride(animation);
|
|
2222
|
-
const hasSvgOverride = isActiveOverride(svg);
|
|
2223
|
-
const [overrideFailed, setOverrideFailed] = d(false);
|
|
2224
|
-
const handleFallback = q(() => setOverrideFailed(true), []);
|
|
2225
|
-
const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
|
|
2226
|
-
/**
|
|
2227
|
-
* Cross-module loaders (e.g. ID processing → selfie initialising) unmount
|
|
2228
|
-
* and remount this component as the user moves between flow steps. By
|
|
2229
|
-
* default each remount restarts the CSS spin animation from frame 0, which
|
|
2230
|
-
* reads as a visible "stutter" or reset of the spinner during otherwise
|
|
2231
|
-
* seamless transitions.
|
|
2232
|
-
*
|
|
2233
|
-
* To keep the rotation continuous across remounts we anchor the animation
|
|
2234
|
-
* to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
|
|
2235
|
-
* how far into the current spin cycle we are, and applying it as a
|
|
2236
|
-
* negative `animation-delay` makes the new instance pick up exactly where
|
|
2237
|
-
* the previous one left off. (Built-in default only.)
|
|
2238
|
-
*/
|
|
2239
|
-
_(() => {
|
|
2240
|
-
if (hasOverride || !ref.current) return;
|
|
2241
|
-
const offsetMs = performance.now() % SPIN_DURATION_MS;
|
|
2242
|
-
ref.current.style.animationDelay = `-${offsetMs}ms`;
|
|
2243
|
-
}, [hasOverride]);
|
|
2244
|
-
_(() => {
|
|
2245
|
-
if (!overrideRef.current) return;
|
|
2246
|
-
overrideRef.current.style.width = `${size}px`;
|
|
2247
|
-
overrideRef.current.style.height = `${size}px`;
|
|
2248
|
-
}, [size, hasOverride]);
|
|
2249
|
-
if (hasOverride) return /* @__PURE__ */ u("div", {
|
|
2250
|
-
ref: overrideRef,
|
|
2251
|
-
class: "IncodeLoadingIconOverride",
|
|
2252
|
-
children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
|
|
2253
|
-
name: "loader.spinner",
|
|
2254
|
-
loop: true,
|
|
2255
|
-
onFallback: handleFallback
|
|
2256
|
-
}) : /* @__PURE__ */ u(Asset, {
|
|
2257
|
-
name: "loader.spinner",
|
|
2258
|
-
onFallback: handleFallback
|
|
2259
|
-
})
|
|
2260
|
-
});
|
|
2261
|
-
return /* @__PURE__ */ u("div", {
|
|
2262
|
-
ref,
|
|
2263
|
-
class: "IncodeLoadingIcon",
|
|
2264
|
-
children: [/* @__PURE__ */ u(SpinnerSecondary, {
|
|
2265
|
-
size,
|
|
2266
|
-
className: secondaryClass
|
|
2267
|
-
}), /* @__PURE__ */ u("div", {
|
|
2268
|
-
class: "IncodeLoadingIconPrimary",
|
|
2269
|
-
children: /* @__PURE__ */ u(SpinnerPrimary, {
|
|
2270
|
-
size,
|
|
2271
|
-
className: primaryClass
|
|
2272
|
-
})
|
|
2273
|
-
})]
|
|
2274
|
-
});
|
|
2275
|
-
};
|
|
2276
|
-
//#endregion
|
|
2277
|
-
//#region src/shared/spacer/spacer.tsx
|
|
2278
|
-
var scaleTokens = new Set([
|
|
2279
|
-
0,
|
|
2280
|
-
2,
|
|
2281
|
-
4,
|
|
2282
|
-
8,
|
|
2283
|
-
12,
|
|
2284
|
-
16,
|
|
2285
|
-
20,
|
|
2286
|
-
24,
|
|
2287
|
-
32,
|
|
2288
|
-
40,
|
|
2289
|
-
48,
|
|
2290
|
-
64,
|
|
2291
|
-
80,
|
|
2292
|
-
96,
|
|
2293
|
-
104,
|
|
2294
|
-
120,
|
|
2295
|
-
200
|
|
2296
|
-
]);
|
|
2297
|
-
var scaleToClassName = (size, direction) => {
|
|
2298
|
-
if (direction === "horizontal") return {
|
|
2299
|
-
0: "IncodeSpacerHorizontal0",
|
|
2300
|
-
2: "IncodeSpacerHorizontal2",
|
|
2301
|
-
4: "IncodeSpacerHorizontal4",
|
|
2302
|
-
8: "IncodeSpacerHorizontal8",
|
|
2303
|
-
12: "IncodeSpacerHorizontal12",
|
|
2304
|
-
16: "IncodeSpacerHorizontal16",
|
|
2305
|
-
20: "IncodeSpacerHorizontal20",
|
|
2306
|
-
24: "IncodeSpacerHorizontal24",
|
|
2307
|
-
32: "IncodeSpacerHorizontal32",
|
|
2308
|
-
40: "IncodeSpacerHorizontal40",
|
|
2309
|
-
48: "IncodeSpacerHorizontal48",
|
|
2310
|
-
64: "IncodeSpacerHorizontal64",
|
|
2311
|
-
80: "IncodeSpacerHorizontal80",
|
|
2312
|
-
96: "IncodeSpacerHorizontal96",
|
|
2313
|
-
104: "IncodeSpacerHorizontal104",
|
|
2314
|
-
120: "IncodeSpacerHorizontal120",
|
|
2315
|
-
200: "IncodeSpacerHorizontal200"
|
|
2316
|
-
}[size];
|
|
2317
|
-
return {
|
|
2318
|
-
0: "IncodeSpacerVertical0",
|
|
2319
|
-
2: "IncodeSpacerVertical2",
|
|
2320
|
-
4: "IncodeSpacerVertical4",
|
|
2321
|
-
8: "IncodeSpacerVertical8",
|
|
2322
|
-
12: "IncodeSpacerVertical12",
|
|
2323
|
-
16: "IncodeSpacerVertical16",
|
|
2324
|
-
20: "IncodeSpacerVertical20",
|
|
2325
|
-
24: "IncodeSpacerVertical24",
|
|
2326
|
-
32: "IncodeSpacerVertical32",
|
|
2327
|
-
40: "IncodeSpacerVertical40",
|
|
2328
|
-
48: "IncodeSpacerVertical48",
|
|
2329
|
-
64: "IncodeSpacerVertical64",
|
|
2330
|
-
80: "IncodeSpacerVertical80",
|
|
2331
|
-
96: "IncodeSpacerVertical96",
|
|
2332
|
-
104: "IncodeSpacerVertical104",
|
|
2333
|
-
120: "IncodeSpacerVertical120",
|
|
2334
|
-
200: "IncodeSpacerVertical200"
|
|
2335
|
-
}[size];
|
|
2336
|
-
};
|
|
2337
|
-
var Spacer = ({ size, className, direction = "vertical" }) => {
|
|
2338
|
-
if (size === void 0) return /* @__PURE__ */ u("div", { class: `IncodeSpacerFlex ${className || ""}` });
|
|
2339
|
-
if (!(direction === "horizontal" ? "w" : direction === "vertical" ? "h" : void 0)) return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
2340
|
-
if (typeof size === "number" && scaleTokens.has(size)) return /* @__PURE__ */ u("div", { class: `${scaleToClassName(size, direction)} ${className || ""}` });
|
|
2341
|
-
return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
2342
|
-
};
|
|
1604
|
+
var purify = createDOMPurify();
|
|
2343
1605
|
//#endregion
|
|
2344
|
-
export {
|
|
1606
|
+
export { purify as t };
|