@sheerid/jslib 2.105.0 → 2.107.0
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/__tests__/__helpers__/renderers.d.ts +5 -5
- package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +1 -0
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +18168 -16565
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-DmENoLpP.js → EmailLoopPending-Dtf0p85F.js} +18 -18
- package/chunk/{EmailLoopPending-D-O7IRrU.js.map → EmailLoopPending-Dtf0p85F.js.map} +1 -1
- package/chunk/{EmailLoopPending-D-O7IRrU.js → EmailLoopPending-Dy8mLFvV.js} +18 -18
- package/chunk/{EmailLoopPending-DmENoLpP.js.map → EmailLoopPending-Dy8mLFvV.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BrW9osPt.js → LicensedProfessionalOrganizationComponent-BYijEfDT.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-BrW9osPt.js.map → LicensedProfessionalOrganizationComponent-BYijEfDT.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Cu6a9uBs.js → LicensedProfessionalOrganizationComponent-CiYU-2dW.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map → LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map} +1 -1
- package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js → StepIDCheckLoopOnfido-CmNwFqjD.js} +12 -11
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js.map → StepIDCheckLoopOnfido-CmNwFqjD.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js → StepIDCheckLoopOnfido-DtbplNxs.js} +12 -11
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js.map → StepIDCheckLoopOnfido-DtbplNxs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-1wd-jJGJ.js → StepIDCheckLoopRegula-RoX971sR.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-jyg1vIi3.js → StepIDCheckLoopRegula-oqf-QxHT.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js.map} +1 -1
- package/chunk/ar-CtJ_9k3U.js +4 -4
- package/chunk/bg-CWxXfiDq.js +4 -4
- package/chunk/bn-IN-Dpq_hCqt.js +4 -4
- package/chunk/cs-HevyelX7.js +4 -4
- package/chunk/da-6QXhWjWH.js +4 -4
- package/chunk/de-ChuCvRLv.js +4 -4
- package/chunk/el-3IAhABcN.js +4 -4
- package/chunk/en-GB-ByNBaer-.js +4 -4
- package/chunk/es-CL_dUc9X.js +4 -4
- package/chunk/es-ES-CW4At4Ol.js +4 -4
- package/chunk/fi-D8cIebkk.js +4 -4
- package/chunk/fr-BDU-1C6f.js +4 -4
- package/chunk/fr-CA-Dc02rv8D.js +4 -4
- package/chunk/ga-P7eP-INQ.js +4 -4
- package/chunk/hi-IN-DlmwjoqH.js +4 -4
- package/chunk/hr-CT_VP_lm.js +4 -4
- package/chunk/hu-I8Z1uXsR.js +4 -4
- package/chunk/id-CUPTGKOT.js +4 -4
- package/chunk/{index-IntP52Fm.js → index-4APUDd8S.js} +26 -26
- package/chunk/{index-IntP52Fm.js.map → index-4APUDd8S.js.map} +1 -1
- package/chunk/{index-BrVZpRb7.js → index-9OD0Bw98.js} +58 -58
- package/chunk/{index-BgB4HxER.js.map → index-9OD0Bw98.js.map} +1 -1
- package/chunk/index-B-PpnUEO.js +52 -0
- package/chunk/index-B-PpnUEO.js.map +1 -0
- package/chunk/{index-D_lbJwrN.js → index-B8F8N-JM.js} +46 -46
- package/chunk/{index-D_lbJwrN.js.map → index-B8F8N-JM.js.map} +1 -1
- package/chunk/{index-C3tQa9xA.js → index-B8KPM--K.js} +48 -56
- package/chunk/{index-C3tQa9xA.js.map → index-B8KPM--K.js.map} +1 -1
- package/chunk/{index-BJxmlJd1.js → index-BD2bjH-C.js} +5 -5
- package/{lib/index-mtr_UcW2.js.map → chunk/index-BD2bjH-C.js.map} +1 -1
- package/chunk/{index-GaKINs6g.js → index-BD_a0MZT.js} +24 -24
- package/chunk/{index-i9-QlgZ0.js.map → index-BD_a0MZT.js.map} +1 -1
- package/chunk/{index-DZ0bnNgg.js → index-BDrKYann.js} +29 -29
- package/chunk/{index-D1j4nnQa.js.map → index-BDrKYann.js.map} +1 -1
- package/chunk/{index-ygMzyxW9.js → index-BTMETMEE.js} +52 -52
- package/chunk/index-BTMETMEE.js.map +1 -0
- package/chunk/{index-DJReh58z.js → index-Bi9QXN5x.js} +9 -9
- package/chunk/{index-DJReh58z.js.map → index-Bi9QXN5x.js.map} +1 -1
- package/chunk/{index-whConjrR.js → index-Bmq6cJ3F.js} +25 -25
- package/{lib/index-CkM0aH9Q.js.map → chunk/index-Bmq6cJ3F.js.map} +1 -1
- package/chunk/{index-i9-QlgZ0.js → index-BpZoH-Wz.js} +24 -24
- package/chunk/{index-GaKINs6g.js.map → index-BpZoH-Wz.js.map} +1 -1
- package/chunk/{index-F-HVkQz5.js → index-BuX76GyE.js} +40 -40
- package/{lib/index-CZyo7O6A.js.map → chunk/index-BuX76GyE.js.map} +1 -1
- package/chunk/{index-1tM2UWke.js → index-C2h0Wj84.js} +48 -56
- package/chunk/{index-1tM2UWke.js.map → index-C2h0Wj84.js.map} +1 -1
- package/chunk/{index-D6RaCifq.js → index-C8MQD8EK.js} +26 -26
- package/chunk/{index-D6RaCifq.js.map → index-C8MQD8EK.js.map} +1 -1
- package/chunk/{index-Cb7GlxEu.js → index-C8u9IJUa.js} +11 -11
- package/chunk/{index-BmJ3aubI.js.map → index-C8u9IJUa.js.map} +1 -1
- package/chunk/{index-n6-LNqUp.js → index-C96ntS0u.js} +25 -25
- package/chunk/{index-n6-LNqUp.js.map → index-C96ntS0u.js.map} +1 -1
- package/chunk/index-CHK5i4jj.js +48 -0
- package/chunk/index-CHK5i4jj.js.map +1 -0
- package/chunk/{index-BSXBGGOf.js → index-CTb96lOK.js} +8 -8
- package/chunk/{index-BSXBGGOf.js.map → index-CTb96lOK.js.map} +1 -1
- package/chunk/{index-CEidf7uT.js → index-CcRowarb.js} +5 -5
- package/chunk/{index-CEidf7uT.js.map → index-CcRowarb.js.map} +1 -1
- package/chunk/{index-DFjiwKs3.js → index-CeHu2Npu.js} +7 -7
- package/chunk/{index-rjS-77t0.js.map → index-CeHu2Npu.js.map} +1 -1
- package/chunk/{index-vIL1gjSk.js → index-CniY_P3e.js} +219 -237
- package/chunk/index-CniY_P3e.js.map +1 -0
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-BgB4HxER.js → index-DKWjcFJK.js} +58 -58
- package/chunk/{index-BrVZpRb7.js.map → index-DKWjcFJK.js.map} +1 -1
- package/chunk/{index-D6Gez9pU.js → index-DLz31Fzh.js} +17 -17
- package/chunk/{index-DyHhX3QL.js.map → index-DLz31Fzh.js.map} +1 -1
- package/chunk/{index-Cq8qB8GK.js → index-DO5Z3e-E.js} +40 -40
- package/chunk/{index-F-HVkQz5.js.map → index-DO5Z3e-E.js.map} +1 -1
- package/chunk/{index-BmJ3aubI.js → index-DRlGAW07.js} +11 -11
- package/chunk/{index-Cb7GlxEu.js.map → index-DRlGAW07.js.map} +1 -1
- package/chunk/{index-rjS-77t0.js → index-DVynViqA.js} +7 -7
- package/chunk/{index-DFjiwKs3.js.map → index-DVynViqA.js.map} +1 -1
- package/chunk/{index-NMedOT6B.js → index-D_9J6arc.js} +62 -59
- package/chunk/index-D_9J6arc.js.map +1 -0
- package/chunk/{index-25aIMfhs.js → index-Dg8t7-dm.js} +46 -46
- package/chunk/{index-25aIMfhs.js.map → index-Dg8t7-dm.js.map} +1 -1
- package/chunk/{index-D1j4nnQa.js → index-DhGg9lvf.js} +29 -29
- package/chunk/{index-DZ0bnNgg.js.map → index-DhGg9lvf.js.map} +1 -1
- package/chunk/{index-DkuH8kG3.js → index-DsgCNIS5.js} +62 -59
- package/chunk/index-DsgCNIS5.js.map +1 -0
- package/chunk/{index-C6cgSdQ9.js → index-DvQoVn8P.js} +53 -50
- package/chunk/index-DvQoVn8P.js.map +1 -0
- package/chunk/{index-DyHhX3QL.js → index-DzqRsB7_.js} +17 -17
- package/chunk/{index-D6Gez9pU.js.map → index-DzqRsB7_.js.map} +1 -1
- package/chunk/{index-DR_Yi6nm.js → index-FfXcSdRM.js} +219 -237
- package/chunk/index-FfXcSdRM.js.map +1 -0
- package/chunk/{index-CGKKTwvx.js → index-FjzhfDlx.js} +9 -9
- package/chunk/{index-CGKKTwvx.js.map → index-FjzhfDlx.js.map} +1 -1
- package/chunk/{index-DPLvpl1z.js → index-Gfy-1H7s.js} +8 -8
- package/{lib/index-DNrYLi4q.js.map → chunk/index-Gfy-1H7s.js.map} +1 -1
- package/chunk/{index-BjWeyRVL.js → index-YSVzGeq_.js} +53 -50
- package/chunk/index-YSVzGeq_.js.map +1 -0
- package/chunk/{index-D8z4eipH.js → index-_t8SsXjy.js} +52 -52
- package/chunk/index-_t8SsXjy.js.map +1 -0
- package/chunk/is-CUuXi4qZ.js +4 -4
- package/chunk/it-BNmynTsg.js +4 -4
- package/chunk/iw-FGzquR_X.js +4 -4
- package/chunk/ja-YgUpXA0l.js +4 -4
- package/chunk/ko-CuNS5J_M.js +4 -4
- package/chunk/lo-BEf8aFjR.js +4 -4
- package/chunk/lt-DvX1gz1a.js +4 -4
- package/chunk/ms-gSqM-Mfi.js +4 -4
- package/chunk/nl-BE-Cid5LFlN.js +4 -4
- package/chunk/nl-CUUTswxa.js +4 -4
- package/chunk/no-BvUqlShV.js +4 -4
- package/chunk/pl-CU8leZhI.js +4 -4
- package/chunk/pt-BR-CboWpHFi.js +4 -4
- package/chunk/pt-BnK7xRT_.js +4 -4
- package/chunk/ro-BfAyXxSW.js +4 -4
- package/chunk/ru-BD-YGPuQ.js +4 -4
- package/chunk/sk-CqsabpdG.js +4 -4
- package/chunk/sl-CeVAf0S_.js +4 -4
- package/chunk/sr-DSaHxcCQ.js +4 -4
- package/chunk/sv-DOyWYViy.js +4 -4
- package/chunk/sw-2Q7Jo6wp.js +4 -4
- package/chunk/th-BZ6F9sPf.js +4 -4
- package/chunk/tr-om80xrv2.js +4 -4
- package/chunk/uk-Dxugux8e.js +4 -4
- package/chunk/ur-OBILUeZ7.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js → useCollectFieldsEndpoint-C5fsaYJe.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js.map → useCollectFieldsEndpoint-C5fsaYJe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js → useCollectFieldsEndpoint-kmLFyUA-.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js.map → useCollectFieldsEndpoint-kmLFyUA-.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js → useEmailFirstExperiment-BbDrKQEs.js} +29 -30
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js.map → useEmailFirstExperiment-BbDrKQEs.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js → useEmailFirstExperiment-CgU-itQI.js} +29 -30
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js.map → useEmailFirstExperiment-CgU-itQI.js.map} +1 -1
- package/chunk/vi-BOR2GuRI.js +4 -4
- package/chunk/zh-HK-BI-IHOGG.js +4 -4
- package/chunk/zh-eoMG5RFC.js +4 -4
- package/chunk/zu-D_A8wcJW.js +4 -4
- package/dev/programIds.d.ts +1 -1
- package/es6.css +4 -4
- package/jslib.js +15 -15
- package/lib/{EmailLoopPending-CU7XS8L8.js → EmailLoopPending-Cgv6H292.js} +11 -11
- package/lib/{EmailLoopPending-CU7XS8L8.js.map → EmailLoopPending-Cgv6H292.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-CE90PGza.js → LicensedProfessionalOrganizationComponent-BL8b4uOQ.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-CE90PGza.js.map → LicensedProfessionalOrganizationComponent-BL8b4uOQ.js.map} +1 -1
- package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-DhTtNN4h.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DvJIjJ8Z.js.map → StepCollectMilitaryStatusComponent-DhTtNN4h.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-B8g2Degw.js → StepIDCheckLoopOnfido-GHJRJUvB.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-B8g2Degw.js.map → StepIDCheckLoopOnfido-GHJRJUvB.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-C971tdOB.js → StepIDCheckLoopRegula-D5eT-SKW.js} +22 -21
- package/lib/StepIDCheckLoopRegula-D5eT-SKW.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-bOA0LI.js → StepInactiveMilitaryPersonalInfoComponent-D1JRxb0T.js} +49 -49
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-bOA0LI.js.map → StepInactiveMilitaryPersonalInfoComponent-D1JRxb0T.js.map} +1 -1
- package/lib/VerificationApiUtils-CSOIBr2l.js +23 -0
- package/lib/{VerificationApiUtils-Cn5PJJ2V.js.map → VerificationApiUtils-CSOIBr2l.js.map} +1 -1
- package/lib/ar-CtJ_9k3U.js +4 -4
- package/lib/bg-CWxXfiDq.js +4 -4
- package/lib/bn-IN-Dpq_hCqt.js +4 -4
- package/lib/cs-HevyelX7.js +4 -4
- package/lib/da-6QXhWjWH.js +4 -4
- package/lib/de-ChuCvRLv.js +4 -4
- package/lib/el-3IAhABcN.js +4 -4
- package/lib/en-GB-ByNBaer-.js +4 -4
- package/lib/es-CL_dUc9X.js +4 -4
- package/lib/es-ES-CW4At4Ol.js +4 -4
- package/lib/{es6-BxF8vNXX.js → es6-Cd5CU1rk.js} +12444 -11224
- package/lib/es6-Cd5CU1rk.js.map +1 -0
- package/lib/fi-D8cIebkk.js +4 -4
- package/lib/fr-BDU-1C6f.js +4 -4
- package/lib/fr-CA-Dc02rv8D.js +4 -4
- package/lib/ga-P7eP-INQ.js +4 -4
- package/lib/hi-IN-DlmwjoqH.js +4 -4
- package/lib/hr-CT_VP_lm.js +4 -4
- package/lib/hu-I8Z1uXsR.js +4 -4
- package/lib/id-CUPTGKOT.js +4 -4
- package/lib/{index-DF0_IZ4J.js → index-8rGphWWB.js} +5 -5
- package/lib/{index-DF0_IZ4J.js.map → index-8rGphWWB.js.map} +1 -1
- package/lib/index-B8_yVVjT.js +11 -0
- package/lib/index-B8_yVVjT.js.map +1 -0
- package/lib/{index-ByJQnMVd.js → index-BI7GVXtW.js} +9 -9
- package/lib/{index-ByJQnMVd.js.map → index-BI7GVXtW.js.map} +1 -1
- package/lib/index-BVSkyAhp.js +174 -0
- package/lib/index-BVSkyAhp.js.map +1 -0
- package/lib/index-BzizKoKM.js +28 -0
- package/lib/{index-BvonWwY9.js.map → index-BzizKoKM.js.map} +1 -1
- package/lib/{index-C9Fn2hpc.js → index-C-UBKjB3.js} +7 -7
- package/lib/{index-C9Fn2hpc.js.map → index-C-UBKjB3.js.map} +1 -1
- package/lib/{index-CyEPe472.js → index-CAmO2ePK.js} +28 -28
- package/lib/{index-CyEPe472.js.map → index-CAmO2ePK.js.map} +1 -1
- package/lib/{index-kFFbuxGz.js → index-CNJMsPkI.js} +30 -30
- package/lib/{index-kFFbuxGz.js.map → index-CNJMsPkI.js.map} +1 -1
- package/lib/index-COT-MMXU.js +11 -0
- package/lib/index-COT-MMXU.js.map +1 -0
- package/lib/{index-DNrYLi4q.js → index-CquhMPch.js} +10 -10
- package/{chunk/index-DPLvpl1z.js.map → lib/index-CquhMPch.js.map} +1 -1
- package/lib/{index-CkM0aH9Q.js → index-CrU_oFr5.js} +31 -31
- package/{chunk/index-whConjrR.js.map → lib/index-CrU_oFr5.js.map} +1 -1
- package/lib/{index-BM4FQqsg.js → index-CycvFL4s.js} +51 -51
- package/lib/index-CycvFL4s.js.map +1 -0
- package/lib/{index-DV-jRbN_.js → index-D8xBboSY.js} +385 -402
- package/lib/index-D8xBboSY.js.map +1 -0
- package/lib/index-DIKagexz.js +11 -0
- package/lib/index-DIKagexz.js.map +1 -0
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-DYEdh22B.js → index-DXMyDp6l.js} +5 -5
- package/lib/{index-DYEdh22B.js.map → index-DXMyDp6l.js.map} +1 -1
- package/lib/index-DapHnb_O.js +11 -0
- package/lib/index-DapHnb_O.js.map +1 -0
- package/lib/{index-CLCBNuVt.js → index-DfgcgKL8.js} +61 -61
- package/lib/{index-CLCBNuVt.js.map → index-DfgcgKL8.js.map} +1 -1
- package/lib/{index--LSZP8PV.js → index-Di4nVjsP.js} +34 -34
- package/lib/{index--LSZP8PV.js.map → index-Di4nVjsP.js.map} +1 -1
- package/lib/{index-CdboVnqo.js → index-NEgQaFMt.js} +34 -34
- package/lib/{index-CdboVnqo.js.map → index-NEgQaFMt.js.map} +1 -1
- package/lib/{index-Cm9LAqYW.js → index-V4Aq0AEi.js} +40 -37
- package/lib/index-V4Aq0AEi.js.map +1 -0
- package/lib/{index-T7cotgLv.js → index-bflegEA0.js} +27 -27
- package/lib/{index-T7cotgLv.js.map → index-bflegEA0.js.map} +1 -1
- package/lib/{index-mtr_UcW2.js → index-n33pq1qL.js} +5 -5
- package/{chunk/index-BJxmlJd1.js.map → lib/index-n33pq1qL.js.map} +1 -1
- package/lib/{index-CZyo7O6A.js → index-qKcACX8u.js} +19 -19
- package/{chunk/index-Cq8qB8GK.js.map → lib/index-qKcACX8u.js.map} +1 -1
- package/lib/is-CUuXi4qZ.js +4 -4
- package/lib/it-BNmynTsg.js +4 -4
- package/lib/iw-FGzquR_X.js +4 -4
- package/lib/ja-YgUpXA0l.js +4 -4
- package/lib/ko-CuNS5J_M.js +4 -4
- package/lib/lo-BEf8aFjR.js +4 -4
- package/lib/lt-DvX1gz1a.js +4 -4
- package/lib/ms-gSqM-Mfi.js +4 -4
- package/lib/nl-BE-Cid5LFlN.js +4 -4
- package/lib/nl-CUUTswxa.js +4 -4
- package/lib/no-BvUqlShV.js +4 -4
- package/lib/pl-CU8leZhI.js +4 -4
- package/lib/pt-BR-CboWpHFi.js +4 -4
- package/lib/pt-BnK7xRT_.js +4 -4
- package/lib/ro-BfAyXxSW.js +4 -4
- package/lib/ru-BD-YGPuQ.js +4 -4
- package/lib/sk-CqsabpdG.js +4 -4
- package/lib/sl-CeVAf0S_.js +4 -4
- package/lib/sr-DSaHxcCQ.js +4 -4
- package/lib/sv-DOyWYViy.js +4 -4
- package/lib/sw-2Q7Jo6wp.js +4 -4
- package/lib/th-BZ6F9sPf.js +4 -4
- package/lib/tr-om80xrv2.js +4 -4
- package/lib/uk-Dxugux8e.js +4 -4
- package/lib/ur-OBILUeZ7.js +4 -4
- package/lib/{useCollectFieldsEndpoint-gIqEUxfv.js → useCollectFieldsEndpoint-oar_yAF6.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-gIqEUxfv.js.map → useCollectFieldsEndpoint-oar_yAF6.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-B0sWtBW-.js → useEmailFirstExperiment-CUsNZ8ig.js} +6 -7
- package/lib/{useEmailFirstExperiment-B0sWtBW-.js.map → useEmailFirstExperiment-CUsNZ8ig.js.map} +1 -1
- package/lib/vi-BOR2GuRI.js +4 -4
- package/lib/zh-HK-BI-IHOGG.js +4 -4
- package/lib/zh-eoMG5RFC.js +4 -4
- package/lib/zu-D_A8wcJW.js +4 -4
- package/package.json +4 -4
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -6
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +18344 -16741
- package/sheerid.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
- package/src/components/Button/Button.d.ts +1 -0
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/src/components/DateComponent/DateComponent.d.ts +2 -2
- package/src/components/ExtraMessage.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
- package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
- package/src/components/FetchOrganizationsComponent.d.ts +1 -1
- package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
- package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
- package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
- package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
- package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
- package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
- package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
- package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
- package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
- package/src/components/Layout/Layout.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +3 -3
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
- package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
- package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
- package/src/components/SingleSignOnComponent.d.ts +2 -2
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
- package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
- package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepError/StepErrorComponent.d.ts +2 -2
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
- package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
- package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
- package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
- package/src/lib/VerificationService/ViewModel.d.ts +5 -3
- package/src/lib/hooks/index.d.ts +1 -1
- package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
- package/src/lib/installScript/affinity.d.ts +1 -1
- package/src/lib/installScript/iframe.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +3 -3
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
- package/src/lib/state/contextHooks.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +1 -1
- package/src/lib/types/types.d.ts +12 -8
- package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +0 -1
- package/chunk/index-B_CvWvhW.js +0 -27
- package/chunk/index-B_CvWvhW.js.map +0 -1
- package/chunk/index-BjWeyRVL.js.map +0 -1
- package/chunk/index-Bv_0MGCt.js +0 -31
- package/chunk/index-Bv_0MGCt.js.map +0 -1
- package/chunk/index-C6cgSdQ9.js.map +0 -1
- package/chunk/index-D8z4eipH.js.map +0 -1
- package/chunk/index-DR_Yi6nm.js.map +0 -1
- package/chunk/index-DkuH8kG3.js.map +0 -1
- package/chunk/index-NMedOT6B.js.map +0 -1
- package/chunk/index-vIL1gjSk.js.map +0 -1
- package/chunk/index-ygMzyxW9.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-DvJIjJ8Z.js +0 -11
- package/lib/StepIDCheckLoopRegula-C971tdOB.js.map +0 -1
- package/lib/VerificationApiUtils-Cn5PJJ2V.js +0 -21
- package/lib/es6-BxF8vNXX.js.map +0 -1
- package/lib/index-BM4FQqsg.js.map +0 -1
- package/lib/index-BbYtScSJ.js +0 -171
- package/lib/index-BbYtScSJ.js.map +0 -1
- package/lib/index-Bf3CeTFC.js +0 -11
- package/lib/index-Bf3CeTFC.js.map +0 -1
- package/lib/index-BvonWwY9.js +0 -28
- package/lib/index-Cm9LAqYW.js.map +0 -1
- package/lib/index-DAjrVVta.js +0 -11
- package/lib/index-DAjrVVta.js.map +0 -1
- package/lib/index-DO-KFs1U.js +0 -11
- package/lib/index-DO-KFs1U.js.map +0 -1
- package/lib/index-DV-jRbN_.js.map +0 -1
- package/lib/index-GAJX_Tjm.js +0 -11
- package/lib/index-GAJX_Tjm.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.107.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746734275088
|
|
5
|
+
* BUILD_DATE: Thu May 08 2025 19:57:55 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 3dcde0ad6edf065c5f8e85780481e41d2352c9a5
|
|
7
|
+
*/
|
|
8
|
+
import { a as f } from "./es6-Cd5CU1rk.js";
|
|
9
|
+
export {
|
|
10
|
+
f as default
|
|
11
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectMilitaryStatusComponent-
|
|
1
|
+
{"version":3,"file":"StepCollectMilitaryStatusComponent-DhTtNN4h.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.107.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746734275088
|
|
5
|
+
* BUILD_DATE: Thu May 08 2025 19:57:55 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 3dcde0ad6edf065c5f8e85780481e41d2352c9a5
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, p as m, i as n,
|
|
8
|
+
import { j as e, p as m, i as n, G as h, a6 as u, A as f, l as g, V as k } from "./es6-Cd5CU1rk.js";
|
|
9
9
|
import r from "react";
|
|
10
10
|
import { FormattedMessage as o, FormattedHTMLMessage as t } from "react-intl";
|
|
11
11
|
const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(m, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopOnfido-B8g2Degw.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.tsx","../../src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.tsx","../../src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopOnfidoFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopOnfidoFooter = ({ verificationService }: IdCheckLoopOnfidoFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept {scanPolicy}, {privacyPolicyLink}, and {termsOfService}.'\n values={{\n scanPolicy: (\n <a\n href=\"https://onfido.com/facial-scan-policy-and-release/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.scanPolicy\"\n defaultMessage=\"Onfido Facial Scan Policy and Release\"\n />\n </a>\n ),\n privacyPolicyLink: (\n <a\n href=\"https://www.onfido.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://onfido.com/terms-of-service/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Onfido\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopOnfidoFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { ProgramTheme } from \"../../../../lib/types/types\";\nimport { getSafe } from \"../../../../lib/utils/getSafe\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\n\nexport const getAndFormatOrderedStepCards = (programTheme: ProgramTheme): React.ReactElement[] => {\n const stepComponents: (() => {\n title: React.ReactNode;\n icon: React.ReactNode;\n subtitle?: React.ReactNode;\n })[] = [];\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"document\"), false)) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.title\"\n defaultMessage=\"Take a photo of your government ID\"\n />\n ),\n subtitle: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.subtitle\"\n defaultMessage=\"A valid government-issued document such as a driver's license, state ID, passport, or residence permit.\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/id-photo.svg\"\n />\n ),\n }));\n }\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"facial_similarity_motion\"))) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.selfie.title\"\n defaultMessage=\"Take a selfie\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/selfie.svg\"\n />\n ),\n }));\n }\n\n if (programTheme.docUploadEnabled) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.docReview.title\"\n defaultMessage=\"Upload proof of status\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n ),\n }));\n }\n\n return stepComponents.map((stepComponentFunction, i) => {\n const { title, subtitle, icon } = stepComponentFunction();\n return (\n <StepCardComponent\n title={title}\n subtitle={subtitle}\n icon={icon}\n isHighlighted={i === 0}\n key={title.toString()}\n />\n );\n });\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\n\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { IdCheckLoopOnfidoComponent } from \"../IdCheckLoopOnfido/IdCheckLoopOnfido\";\nimport IdCheckLoopOnfidoFooter from \"../../IdCheckLoopFooter/IdCheckLoopOnfidoFooter\";\nimport { getAndFormatOrderedStepCards } from \"../utils/getAndFormatOrderedStepCards\";\n\nexport interface StepIDCheckLoopOnfidoProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopOnfido = ({ verificationService }: StepIDCheckLoopOnfidoProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const [shouldShowIdCheckLoop, setShouldShowIdCheckLoop] = React.useState(false);\n\n const initiateIdCheckLoop = () => {\n logger.info(\"StepIDCheckLoop initiating ID Check Loop\");\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse.sdkToken) {\n setShouldShowIdCheckLoop(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {shouldShowIdCheckLoop && (\n <div className=\"sid-l-space-btm-lg\">\n <div role=\"main\">\n <IdCheckLoopOnfidoComponent verificationService={verificationService} />\n </div>\n </div>\n )}\n\n {!shouldShowIdCheckLoop && (\n <div>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.title\"\n defaultMessage=\"Let's verify your identity\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"You'll need access to a mobile phone with a camera or computer with a webcam.\"\n />\n </div>\n\n <div className=\"sid-identity-check-steps\">\n {getAndFormatOrderedStepCards(verificationService.programTheme)}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={initiateIdCheckLoop}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopOnfidoFooter verificationService={verificationService} />\n </div>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopOnfido;\n"],"names":["IdCheckLoopOnfidoFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","getAndFormatOrderedStepCards","programTheme","stepComponents","getSafe","FormattedHTMLMessage","stepComponentFunction","i","title","subtitle","icon","StepCardComponent","StepIDCheckLoopOnfido","verificationResponse","shouldShowIdCheckLoop","setShouldShowIdCheckLoop","React","initiateIdCheckLoop","logger","VerificationStepsEnum","IdCheckLoopOnfidoComponent","AnnouncingHeader"],"mappings":";;;AAUa,MAAAA,IAA0B,CAAC,EAAE,qBAAAC,QACvCC,gBAAAA,EAAA,IAAAC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OACC,EAAA,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KACC,EAAA,UAAAA,gBAAAA,EAAA;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,YACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,U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AAA,UAACS;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,gBAAe;AAAA,UAAA;AAAA,QAAA,GAEnB;AAAA,8BAEC,OAAI,EAAA,WAAU,4BACZ,UAA6BJ,EAAAN,EAAoB,YAAY,GAChE;AAAA,QAEAC,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sEACb,UAAAA,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,SAASqB;AAAA,YACT,MAAK;AAAA,YACL,WAAU;AAAA,YACV,cAAW;AAAA,YAEX,UAACrB,gBAAAA,EAAA,IAAAS,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,YAAW;AAAA,UAAA;AAAA,QAAA,GAEnF;AAAA,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,GAA0C;AAAA,IAAA,GACrE;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopOnfido-GHJRJUvB.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.tsx","../../src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.tsx","../../src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopOnfidoFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopOnfidoFooter = ({ verificationService }: IdCheckLoopOnfidoFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept {scanPolicy}, {privacyPolicyLink}, and {termsOfService}.'\n values={{\n scanPolicy: (\n <a\n href=\"https://onfido.com/facial-scan-policy-and-release/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.scanPolicy\"\n defaultMessage=\"Onfido Facial Scan Policy and Release\"\n />\n </a>\n ),\n privacyPolicyLink: (\n <a\n href=\"https://www.onfido.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://onfido.com/terms-of-service/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Onfido\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopOnfidoFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { ProgramTheme } from \"../../../../lib/types/types\";\nimport { getSafe } from \"../../../../lib/utils/getSafe\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\n\nexport const getAndFormatOrderedStepCards = (programTheme: ProgramTheme): React.ReactElement[] => {\n const stepComponents: (() => {\n title: React.ReactNode;\n icon: React.ReactNode;\n subtitle?: React.ReactNode;\n })[] = [];\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"document\"), false)) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.title\"\n defaultMessage=\"Take a photo of your government ID\"\n />\n ),\n subtitle: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.subtitle\"\n defaultMessage=\"A valid government-issued document such as a driver's license, state ID, passport, or residence permit.\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/id-photo.svg\"\n />\n ),\n }));\n }\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"facial_similarity_motion\"))) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.selfie.title\"\n defaultMessage=\"Take a selfie\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/selfie.svg\"\n />\n ),\n }));\n }\n\n if (programTheme.docUploadEnabled) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.docReview.title\"\n defaultMessage=\"Upload proof of status\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n ),\n }));\n }\n\n return stepComponents.map((stepComponentFunction, i) => {\n const { title, subtitle, icon } = stepComponentFunction();\n return (\n <StepCardComponent\n title={title}\n subtitle={subtitle}\n icon={icon}\n isHighlighted={i === 0}\n key={title.toString()}\n />\n );\n });\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\n\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { IdCheckLoopOnfidoComponent } from \"../IdCheckLoopOnfido/IdCheckLoopOnfido\";\nimport IdCheckLoopOnfidoFooter from \"../../IdCheckLoopFooter/IdCheckLoopOnfidoFooter\";\nimport { getAndFormatOrderedStepCards } from \"../utils/getAndFormatOrderedStepCards\";\n\nexport interface StepIDCheckLoopOnfidoProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopOnfido = ({ verificationService }: StepIDCheckLoopOnfidoProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const [shouldShowIdCheckLoop, setShouldShowIdCheckLoop] = React.useState(false);\n\n const initiateIdCheckLoop = () => {\n logger.info(\"StepIDCheckLoop initiating ID Check Loop\");\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse.sdkToken) {\n setShouldShowIdCheckLoop(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {shouldShowIdCheckLoop && (\n <div className=\"sid-l-space-btm-lg\">\n <div role=\"main\">\n <IdCheckLoopOnfidoComponent verificationService={verificationService} />\n </div>\n </div>\n )}\n\n {!shouldShowIdCheckLoop && (\n <div>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.title\"\n defaultMessage=\"Let's verify your identity\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"You'll need access to a mobile phone with a camera or computer with a webcam.\"\n />\n </div>\n\n <div className=\"sid-identity-check-steps\">\n {getAndFormatOrderedStepCards(verificationService.programTheme)}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={initiateIdCheckLoop}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopOnfidoFooter verificationService={verificationService} />\n </div>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopOnfido;\n"],"names":["IdCheckLoopOnfidoFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","getAndFormatOrderedStepCards","programTheme","stepComponents","getSafe","FormattedHTMLMessage","stepComponentFunction","i","title","subtitle","icon","StepCardComponent","StepIDCheckLoopOnfido","verificationResponse","shouldShowIdCheckLoop","setShouldShowIdCheckLoop","React","initiateIdCheckLoop","logger","VerificationStepsEnum","IdCheckLoopOnfidoComponent","AnnouncingHeader"],"mappings":";;;AAUa,MAAAA,IAA0B,CAAC,EAAE,qBAAAC,QACvCC,gBAAAA,EAAA,IAAAC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OACC,EAAA,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KACC,EAAA,UAAAA,gBAAAA,EAAA;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,YACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAA;AAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QACF;AAAA,QAEF,mBACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAA;AAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB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A,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,EAA0C,CAAA;AAAA,IAAA,EACrE,CAAA;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.107.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746734275088
|
|
5
|
+
* BUILD_DATE: Thu May 08 2025 19:57:55 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 3dcde0ad6edf065c5f8e85780481e41d2352c9a5
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, p as n,
|
|
8
|
+
import { j as e, p as n, D as l, A as p, G as m } from "./es6-Cd5CU1rk.js";
|
|
9
9
|
import c from "react";
|
|
10
|
-
import { FormattedMessage as i, FormattedHTMLMessage as
|
|
11
|
-
const
|
|
10
|
+
import { FormattedMessage as i, FormattedHTMLMessage as r } from "react-intl";
|
|
11
|
+
const h = ({ verificationService: t }) => /* @__PURE__ */ e.jsx(n, { verificationService: t, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
12
12
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
13
13
|
i,
|
|
14
14
|
{
|
|
@@ -50,39 +50,40 @@ const u = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(n, { verificatio
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
) }),
|
|
53
|
-
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
53
|
+
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(i, { id: "companyName", defaultMessage: "{Company}", children: (s) => /* @__PURE__ */ e.jsx(
|
|
54
54
|
i,
|
|
55
55
|
{
|
|
56
56
|
id: "step.idCheckLoop.disclaimer",
|
|
57
|
-
defaultMessage: "SheerID
|
|
57
|
+
defaultMessage: "SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.",
|
|
58
58
|
values: {
|
|
59
|
-
serviceType: "Regula"
|
|
59
|
+
serviceType: "Regula",
|
|
60
|
+
companyName: s
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
) })
|
|
63
|
-
] }) }), x = ({ verificationService:
|
|
64
|
-
const
|
|
63
|
+
) }) })
|
|
64
|
+
] }) }), x = ({ verificationService: t }) => {
|
|
65
|
+
const s = t.verificationResponse, [o, a] = c.useState(!1);
|
|
65
66
|
return c.useEffect(() => {
|
|
66
67
|
var d;
|
|
67
|
-
|
|
68
|
-
}, [
|
|
68
|
+
s && ((d = s == null ? void 0 : s.errorIds) == null ? void 0 : d.length) > 0 && a(!0);
|
|
69
|
+
}, [s]), /* @__PURE__ */ e.jsx("div", { id: "sid-step-id-check-loop", className: "sid-l-container", children: o ? /* @__PURE__ */ e.jsx("div", { role: "main", children: /* @__PURE__ */ e.jsx(l, { verificationService: t }) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
69
70
|
/* @__PURE__ */ e.jsxs("div", { role: "main", children: [
|
|
70
71
|
/* @__PURE__ */ e.jsx(p, { align: "center", children: /* @__PURE__ */ e.jsx(
|
|
71
|
-
|
|
72
|
+
r,
|
|
72
73
|
{
|
|
73
74
|
id: "step.idCheckLoop.regula.title",
|
|
74
75
|
defaultMessage: "To continue, we need to verify your identity."
|
|
75
76
|
}
|
|
76
77
|
) }),
|
|
77
78
|
/* @__PURE__ */ e.jsx("div", { className: "sid-header__subtitle sid-l-horz-center sid-l-space-btm-md", children: /* @__PURE__ */ e.jsx(
|
|
78
|
-
|
|
79
|
+
r,
|
|
79
80
|
{
|
|
80
81
|
id: "step.idCheckLoop.subtitle",
|
|
81
82
|
defaultMessage: "To complete the verification process, we ask that you provide us with:"
|
|
82
83
|
}
|
|
83
84
|
) }),
|
|
84
85
|
/* @__PURE__ */ e.jsx("div", { className: "sid-identity-check-steps", children: /* @__PURE__ */ e.jsx(
|
|
85
|
-
|
|
86
|
+
m,
|
|
86
87
|
{
|
|
87
88
|
title: "Photo of a government-issued ID",
|
|
88
89
|
subtitle: "Drivers license, state ID, passport, or residence permit.",
|
|
@@ -101,15 +102,15 @@ const u = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(n, { verificatio
|
|
|
101
102
|
/* @__PURE__ */ e.jsx("div", { className: "sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md", children: /* @__PURE__ */ e.jsx(
|
|
102
103
|
"button",
|
|
103
104
|
{
|
|
104
|
-
onClick: () => a(!
|
|
105
|
+
onClick: () => a(!o),
|
|
105
106
|
type: "button",
|
|
106
107
|
className: "sid-btn sid-btn--dark",
|
|
107
108
|
"aria-label": "submit",
|
|
108
|
-
children: /* @__PURE__ */ e.jsx(
|
|
109
|
+
children: /* @__PURE__ */ e.jsx(r, { id: "step.idCheckLoop.continue", defaultMessage: "Continue" })
|
|
109
110
|
}
|
|
110
111
|
) })
|
|
111
112
|
] }),
|
|
112
|
-
/* @__PURE__ */ e.jsx(
|
|
113
|
+
/* @__PURE__ */ e.jsx(h, { verificationService: t })
|
|
113
114
|
] }) });
|
|
114
115
|
};
|
|
115
116
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-D5eT-SKW.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.tsx","../../src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopRegulaFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopRegulaFooter = ({ verificationService }: IdCheckLoopRegulaFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.regula.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.'\n values={{\n privacyPolicyLink: (\n <a\n href=\"https://regulaforensics.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://regulaforensics.com/terms-of-use/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopRegulaFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\nimport IdCheckLoopRegulaFooter from \"../../IdCheckLoopFooter/IdCheckLoopRegulaFooter\";\nimport { IdCheckLoopRegulaComponent } from \"../IdCheckLoopRegula/IdCheckLoopRegula\";\n\nexport interface StepIDCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopRegula = ({ verificationService }: StepIDCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n\n const [showUpload, setShowUpload] = React.useState<boolean>(false);\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse?.errorIds?.length > 0) {\n setShowUpload(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {showUpload ? (\n <div role=\"main\">\n <IdCheckLoopRegulaComponent verificationService={verificationService} />\n </div>\n ) : (\n <>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.title\"\n defaultMessage=\"To continue, we need to verify your identity.\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"To complete the verification process, we ask that you provide us with:\"\n />\n </div>\n <div className=\"sid-identity-check-steps\">\n <StepCardComponent\n title=\"Photo of a government-issued ID\"\n subtitle=\"Drivers license, state ID, passport, or residence permit.\"\n icon={\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n }\n isHighlighted\n key=\"\"\n />\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={() => setShowUpload(!showUpload)}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopRegulaFooter verificationService={verificationService} />\n </>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopRegula;\n"],"names":["IdCheckLoopRegulaFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","StepIDCheckLoopRegula","verificationResponse","showUpload","setShowUpload","React","_a","IdCheckLo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AA,QAAA;AAAA,QACT;AAAA,MAAA,GAER;AAAA,MAEAA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sEACb,UAAAA,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,SAAS,MAAMQ,EAAc,CAACD,CAAU;AAAA,UACxC,MAAK;AAAA,UACL,WAAU;AAAA,UACV,cAAW;AAAA,UAEX,UAACP,gBAAAA,EAAA,IAAAc,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,WAAW,CAAA;AAAA,QAAA;AAAA,MAAA,EAEnF,CAAA;AAAA,IAAA,GACF;AAAA,IACAd,gBAAAA,MAACF,KAAwB,qBAAAC,EAA0C,CAAA;AAAA,EAAA,EAAA,CACrE,EAEJ,CAAA;AAEJ;"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.107.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746734275088
|
|
5
|
+
* BUILD_DATE: Thu May 08 2025 19:57:55 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 3dcde0ad6edf065c5f8e85780481e41d2352c9a5
|
|
7
7
|
*/
|
|
8
|
-
import { k as
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import { g as Ea } from "./VerificationApiUtils-
|
|
8
|
+
import { k as J, aI as X, V as i, l as W, aJ as Y, j as t, M as Z, m as $, N as G, w as Q, a1 as S, f as o, ab as v, ap as aa, u as d, aK as sa, a3 as ea, O as ta, T as oa, a4 as la, aL as da, aM as na, E as ra, n as ia, X as ua, U as ma, a9 as pa, ai as Ca, aj as ba, W as ha, Y as ya, Z as ga, _ as Ma, o as xa, q as Ia, aN as ja, aO as Da } from "./es6-Cd5CU1rk.js";
|
|
9
|
+
import y from "react";
|
|
10
|
+
import { injectIntl as ca, FormattedHTMLMessage as g } from "react-intl";
|
|
11
|
+
import { g as Ea } from "./VerificationApiUtils-CSOIBr2l.js";
|
|
12
12
|
const Na = ({
|
|
13
13
|
intl: p,
|
|
14
14
|
verificationService: s
|
|
15
15
|
}) => {
|
|
16
|
-
var I, j,
|
|
17
|
-
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, K =
|
|
16
|
+
var I, j, D, c, E, N, f, F, R, P, O, T, q, V, k, B, L, w, z;
|
|
17
|
+
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, K = J(C), [m, x] = y.useState([]), b = X(s, p), h = e.localeChoice.value, U = G(), n = (a, r) => {
|
|
18
18
|
s.updateViewModel(
|
|
19
|
-
|
|
19
|
+
ja(a, r, s, b)
|
|
20
20
|
);
|
|
21
21
|
}, _ = () => {
|
|
22
22
|
const a = Ia(e, () => {
|
|
@@ -27,7 +27,7 @@ const Na = ({
|
|
|
27
27
|
s.previousVerificationResponse || s.verificationResponse
|
|
28
28
|
);
|
|
29
29
|
};
|
|
30
|
-
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && _(),
|
|
30
|
+
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && _(), y.useEffect(() => {
|
|
31
31
|
(async () => {
|
|
32
32
|
var a, r, A;
|
|
33
33
|
if (s.verificationResponse.currentStep === i.collectInactiveMilitaryPersonalInfo && ((a = e.countryChoice) == null ? void 0 : a.value) === "US")
|
|
@@ -45,39 +45,39 @@ const Na = ({
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
})();
|
|
48
|
-
}, [s.verificationResponse.currentStep, e.countryChoice]),
|
|
48
|
+
}, [s.verificationResponse.currentStep, e.countryChoice]), y.useEffect(() => {
|
|
49
49
|
var a;
|
|
50
50
|
((a = e.countryChoice) == null ? void 0 : a.value) !== "US" && x([]);
|
|
51
|
-
}, [e.countryChoice]),
|
|
52
|
-
|
|
51
|
+
}, [e.countryChoice]), Y(), /* @__PURE__ */ t.jsxs(
|
|
52
|
+
Z,
|
|
53
53
|
{
|
|
54
54
|
verificationService: s,
|
|
55
55
|
step: C.currentStep,
|
|
56
56
|
className: "sid-military-personal-info-container",
|
|
57
57
|
children: [
|
|
58
58
|
/* @__PURE__ */ t.jsx(
|
|
59
|
-
|
|
59
|
+
$,
|
|
60
60
|
{
|
|
61
61
|
verificationService: s,
|
|
62
62
|
classNameIdentifier: "inactive-military-personal-info"
|
|
63
63
|
}
|
|
64
64
|
),
|
|
65
65
|
/* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
66
|
-
/* @__PURE__ */ t.jsx(
|
|
66
|
+
/* @__PURE__ */ t.jsx(Q, { verificationService: s }),
|
|
67
67
|
/* @__PURE__ */ t.jsx(
|
|
68
|
-
|
|
68
|
+
S,
|
|
69
69
|
{
|
|
70
70
|
verificationService: s,
|
|
71
71
|
disabled: (I = o("country")) == null ? void 0 : I.disabled
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
74
|
b ? /* @__PURE__ */ t.jsx(
|
|
75
|
-
|
|
75
|
+
v,
|
|
76
76
|
{
|
|
77
77
|
segmentId: "military",
|
|
78
78
|
value: {
|
|
79
79
|
value: e.status,
|
|
80
|
-
label:
|
|
80
|
+
label: aa(p, e.status, Da)
|
|
81
81
|
},
|
|
82
82
|
isErrored: !!l.status,
|
|
83
83
|
errorId: "invalidMilitaryStatus",
|
|
@@ -93,34 +93,34 @@ const Na = ({
|
|
|
93
93
|
}
|
|
94
94
|
) : null,
|
|
95
95
|
/* @__PURE__ */ t.jsx(
|
|
96
|
-
|
|
96
|
+
sa,
|
|
97
97
|
{
|
|
98
98
|
isErrored: !!l.organization,
|
|
99
99
|
onChange: (a) => {
|
|
100
|
-
|
|
100
|
+
ea(a, s), d("organization", a, s);
|
|
101
101
|
},
|
|
102
102
|
value: {
|
|
103
103
|
value: s.viewModel.organization.id,
|
|
104
104
|
label: s.viewModel.organization.name
|
|
105
105
|
},
|
|
106
106
|
verificationService: s,
|
|
107
|
-
disabled: (
|
|
107
|
+
disabled: (D = o("organization")) == null ? void 0 : D.disabled
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
110
|
/* @__PURE__ */ t.jsxs("div", { className: "sid-names", children: [
|
|
111
111
|
/* @__PURE__ */ t.jsx(
|
|
112
|
-
|
|
112
|
+
ta,
|
|
113
113
|
{
|
|
114
114
|
value: e.firstName,
|
|
115
115
|
isErrored: !!l.firstName,
|
|
116
|
-
disabled: (
|
|
116
|
+
disabled: (c = o("firstName")) == null ? void 0 : c.disabled,
|
|
117
117
|
onChange: (a) => {
|
|
118
118
|
n("firstName", a), d("firstName", a, s);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
),
|
|
122
122
|
/* @__PURE__ */ t.jsx(
|
|
123
|
-
|
|
123
|
+
oa,
|
|
124
124
|
{
|
|
125
125
|
value: e.lastName,
|
|
126
126
|
isErrored: !!l.lastName,
|
|
@@ -132,10 +132,10 @@ const Na = ({
|
|
|
132
132
|
)
|
|
133
133
|
] }),
|
|
134
134
|
/* @__PURE__ */ t.jsx(
|
|
135
|
-
|
|
135
|
+
la,
|
|
136
136
|
{
|
|
137
137
|
errorId: l.birthDate,
|
|
138
|
-
locale:
|
|
138
|
+
locale: h,
|
|
139
139
|
onChange: (a) => {
|
|
140
140
|
n("birthDate", a), d("birthDate", a, s);
|
|
141
141
|
},
|
|
@@ -144,10 +144,10 @@ const Na = ({
|
|
|
144
144
|
}
|
|
145
145
|
),
|
|
146
146
|
s.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ t.jsx(
|
|
147
|
-
|
|
147
|
+
da,
|
|
148
148
|
{
|
|
149
149
|
errorId: l.activeDutyStartDate,
|
|
150
|
-
locale:
|
|
150
|
+
locale: h,
|
|
151
151
|
onChange: (a) => {
|
|
152
152
|
n("activeDutyStartDate", a), d(
|
|
153
153
|
"activeDutyStartDate",
|
|
@@ -160,19 +160,19 @@ const Na = ({
|
|
|
160
160
|
}
|
|
161
161
|
),
|
|
162
162
|
/* @__PURE__ */ t.jsx(
|
|
163
|
-
|
|
163
|
+
na,
|
|
164
164
|
{
|
|
165
165
|
errorId: l.dischargeDate,
|
|
166
166
|
onChange: (a) => {
|
|
167
167
|
n("dischargeDate", a), d("dischargeDate", a, s);
|
|
168
168
|
},
|
|
169
169
|
value: e.dischargeDate,
|
|
170
|
-
locale:
|
|
170
|
+
locale: h,
|
|
171
171
|
disabled: (F = o("dischargeDate")) == null ? void 0 : F.disabled
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
174
|
/* @__PURE__ */ t.jsx(
|
|
175
|
-
|
|
175
|
+
ra,
|
|
176
176
|
{
|
|
177
177
|
value: e.email,
|
|
178
178
|
isErrored: !!l.email,
|
|
@@ -186,12 +186,12 @@ const Na = ({
|
|
|
186
186
|
onChange: (a) => {
|
|
187
187
|
n("email", a), d("email", a, s);
|
|
188
188
|
},
|
|
189
|
-
onKeyDown: (a) =>
|
|
190
|
-
disabled: (
|
|
189
|
+
onKeyDown: (a) => ia(a),
|
|
190
|
+
disabled: (R = o("email")) == null ? void 0 : R.disabled
|
|
191
191
|
}
|
|
192
192
|
),
|
|
193
193
|
s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled ? /* @__PURE__ */ t.jsx(
|
|
194
|
-
|
|
194
|
+
ua,
|
|
195
195
|
{
|
|
196
196
|
isRequired: !!s.programTheme.smsLoopEnabled,
|
|
197
197
|
value: e.phoneNumber,
|
|
@@ -200,11 +200,11 @@ const Na = ({
|
|
|
200
200
|
n("phoneNumber", a), d("phoneNumber", a, s);
|
|
201
201
|
},
|
|
202
202
|
selectedCountryCode: e.countryChoice && e.countryChoice.value,
|
|
203
|
-
disabled: (
|
|
203
|
+
disabled: (P = o("phoneNumber")) == null ? void 0 : P.disabled
|
|
204
204
|
}
|
|
205
205
|
) : null,
|
|
206
206
|
m.includes("address1") && /* @__PURE__ */ t.jsx(
|
|
207
|
-
|
|
207
|
+
ma,
|
|
208
208
|
{
|
|
209
209
|
value: e.address1,
|
|
210
210
|
isErrored: !!l.address1,
|
|
@@ -217,7 +217,7 @@ const Na = ({
|
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
m.includes("city") && /* @__PURE__ */ t.jsx(
|
|
220
|
-
|
|
220
|
+
pa,
|
|
221
221
|
{
|
|
222
222
|
value: e.city,
|
|
223
223
|
isErrored: !!l.city,
|
|
@@ -230,9 +230,9 @@ const Na = ({
|
|
|
230
230
|
}
|
|
231
231
|
),
|
|
232
232
|
m.includes("state") && /* @__PURE__ */ t.jsx(
|
|
233
|
-
|
|
233
|
+
Ca,
|
|
234
234
|
{
|
|
235
|
-
options:
|
|
235
|
+
options: ba(s.programTheme, p),
|
|
236
236
|
value: e.state || void 0,
|
|
237
237
|
isErrored: !!l.state,
|
|
238
238
|
onChange: async (a) => {
|
|
@@ -245,7 +245,7 @@ const Na = ({
|
|
|
245
245
|
}
|
|
246
246
|
),
|
|
247
247
|
m.includes("postalCode") && /* @__PURE__ */ t.jsx(
|
|
248
|
-
|
|
248
|
+
ha,
|
|
249
249
|
{
|
|
250
250
|
required: (L = o("postalCode")) == null ? void 0 : L.requireIfOptional,
|
|
251
251
|
isErrored: !!l.postalCode,
|
|
@@ -253,12 +253,12 @@ const Na = ({
|
|
|
253
253
|
n("postalCode", a), d("postalCode", a, s);
|
|
254
254
|
},
|
|
255
255
|
value: e.postalCode,
|
|
256
|
-
disabled: (
|
|
256
|
+
disabled: (w = o("postalCode")) == null ? void 0 : w.disabled
|
|
257
257
|
}
|
|
258
258
|
),
|
|
259
|
-
U.customFormFields.map((a) => /* @__PURE__ */ t.jsx(
|
|
259
|
+
U.customFormFields.map((a) => /* @__PURE__ */ t.jsx(ya, { config: a, verificationService: s })),
|
|
260
260
|
/* @__PURE__ */ t.jsx(
|
|
261
|
-
|
|
261
|
+
ga,
|
|
262
262
|
{
|
|
263
263
|
verificationService: s,
|
|
264
264
|
isErrored: !!l.marketConsentValue,
|
|
@@ -273,12 +273,12 @@ const Na = ({
|
|
|
273
273
|
);
|
|
274
274
|
},
|
|
275
275
|
viewModel: e,
|
|
276
|
-
disabled: (
|
|
276
|
+
disabled: (z = o("marketConsentValue")) == null ? void 0 : z.disabled
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
|
-
/* @__PURE__ */ t.jsx(
|
|
279
|
+
/* @__PURE__ */ t.jsx(Ma, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
|
280
280
|
/* @__PURE__ */ t.jsx(
|
|
281
|
-
|
|
281
|
+
xa,
|
|
282
282
|
{
|
|
283
283
|
step: i.collectInactiveMilitaryPersonalInfo,
|
|
284
284
|
verificationService: s,
|
|
@@ -297,7 +297,7 @@ const Na = ({
|
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
);
|
|
300
|
-
}, Oa =
|
|
300
|
+
}, Oa = ca(
|
|
301
301
|
Na
|
|
302
302
|
);
|
|
303
303
|
export {
|