@sheerid/jslib-nightly 2.104.0-alpha.2 → 2.105.0-alpha.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__/e2e/collectInfo/collectInfo.spec.d.ts +1 -0
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +30 -23
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-CKTAwQQA.js +4 -4
- package/chunk/EmailLoopPending-Dzs07hxx.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js +4 -4
- package/chunk/Onfido-CMH3IUna.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-C9iUX8TC.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-lChJAp_W.js +4 -4
- package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js +4 -4
- package/chunk/StepIDCheckLoopRegula-D8XhToQz.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js +4 -4
- 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-B1579hxf.js +4 -4
- package/chunk/index-B4B6qxaM.js +4 -4
- package/chunk/index-B5okgMmp.js +4 -4
- package/chunk/index-B8tKf2Rd.js +4 -4
- package/chunk/index-B92Kfyw6.js +4 -4
- package/chunk/index-BDsZCFuU.js +4 -4
- package/chunk/index-BGGHZBWq.js +4 -4
- package/chunk/index-BW4s6-PH.js +4 -4
- package/chunk/index-BYMr8It7.js +4 -4
- package/chunk/index-BjaCS2a8.js +4 -4
- package/chunk/index-Bld-AWYE.js +4 -4
- package/chunk/index-BnPrfsM1.js +4 -4
- package/chunk/{index-QVvWIHrD.js → index-BqnEM3hj.js} +5 -5
- package/chunk/index-BqnEM3hj.js.map +1 -0
- package/chunk/{index-Bb9hNLHu.js → index-BrkIzqD1.js} +22 -19
- package/chunk/index-BrkIzqD1.js.map +1 -0
- package/chunk/index-BupTUiiS.js +4 -4
- package/chunk/index-BvGP9l7M.js +4 -4
- package/chunk/index-C7nYtBX_.js +172 -0
- package/chunk/index-C7nYtBX_.js.map +1 -0
- package/chunk/index-CCUi9Uhw.js +4 -4
- package/chunk/index-CEi_QkyI.js +4 -4
- package/chunk/index-CLCPYu7D.js +176 -0
- package/chunk/index-CLCPYu7D.js.map +1 -0
- package/chunk/index-CZjGTko2.js +4 -4
- package/chunk/index-CfUabHav.js +4 -4
- package/chunk/index-CjcHzfTY.js +4 -4
- package/chunk/index-Cp0C-9fh.js +4 -4
- package/chunk/index-Cq__fToG.js +4 -4
- package/chunk/index-D6oLMvTq.js +4 -4
- package/chunk/index-D7O7vvSe.js +4 -4
- package/chunk/index-DGGRPaEI.js +4 -4
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DPv0lytr.js +4 -4
- package/chunk/index-DSrYVtDo.js +4 -4
- package/chunk/index-Dba2dHcR.js +4 -4
- package/chunk/index-DhpucFa7.js +4 -4
- package/chunk/index-DnCqjuSC.js +4 -4
- package/chunk/index-DpYUZXus.js +4 -4
- package/chunk/{index-DFsuXQL_.js → index-F6_JySe5.js} +5 -5
- package/chunk/index-F6_JySe5.js.map +1 -0
- package/chunk/index-YmkMflXj.js +4 -4
- package/chunk/{index-DCKw4cP_.js → index-eYM75vHB.js} +22 -19
- package/chunk/index-eYM75vHB.js.map +1 -0
- package/chunk/index-iZ8pO5if.js +4 -4
- 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-C5fsaYJe.js +4 -4
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
- package/chunk/useEmailFirstExperiment-CSa3DQll.js +4 -4
- package/chunk/useEmailFirstExperiment-DZ1B78ke.js +4 -4
- 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/es6.css +4 -4
- package/jslib.js +5 -5
- package/lib/{EmailLoopPending-9TIqOjh0.js → EmailLoopPending-Dv5RU8aW.js} +5 -5
- package/lib/{EmailLoopPending-9TIqOjh0.js.map → EmailLoopPending-Dv5RU8aW.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-BdlRIkjK.js → LicensedProfessionalOrganizationComponent-DtoPR91l.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-BdlRIkjK.js.map → LicensedProfessionalOrganizationComponent-DtoPR91l.js.map} +1 -1
- package/lib/Onfido-CMH3IUna.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-D9AxEZrO.js.map → StepCollectMilitaryStatusComponent-DGfjdYFR.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-tTk18P23.js → StepIDCheckLoopOnfido-DiSAKwu6.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-tTk18P23.js.map → StepIDCheckLoopOnfido-DiSAKwu6.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-BzHh3YEv.js → StepIDCheckLoopRegula-Cbr1wxzD.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-BzHh3YEv.js.map → StepIDCheckLoopRegula-Cbr1wxzD.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js.map → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map} +1 -1
- package/lib/{VerificationApiUtils-hb7EqMfE.js → VerificationApiUtils-BaeyxwKQ.js} +5 -5
- package/lib/{VerificationApiUtils-hb7EqMfE.js.map → VerificationApiUtils-BaeyxwKQ.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-C6MdgCMX.js → es6-DIUKg5Yl.js} +54 -47
- package/lib/es6-DIUKg5Yl.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-D4eERCAu.js → index-348MFV_0.js} +5 -5
- package/lib/{index-D4eERCAu.js.map → index-348MFV_0.js.map} +1 -1
- package/lib/{index-vHwl9Ouo.js → index-5FO_J7_Z.js} +5 -5
- package/lib/{index-vHwl9Ouo.js.map → index-5FO_J7_Z.js.map} +1 -1
- package/lib/{index-B4tPRnWs.js → index-B8tJDCPk.js} +6 -6
- package/lib/{index-B4tPRnWs.js.map → index-B8tJDCPk.js.map} +1 -1
- package/lib/{index-N-dolDtu.js → index-BNxZc3yj.js} +5 -5
- package/lib/{index-N-dolDtu.js.map → index-BNxZc3yj.js.map} +1 -1
- package/lib/{index-qTuKj59y.js → index-BR7Obj6X.js} +5 -5
- package/lib/{index-qTuKj59y.js.map → index-BR7Obj6X.js.map} +1 -1
- package/lib/{index-B0q6ScmE.js → index-BfZIEtAp.js} +59 -56
- package/lib/index-BfZIEtAp.js.map +1 -0
- package/lib/{index-QQE4f5yZ.js → index-BwlcJZwR.js} +6 -6
- package/lib/{index-QQE4f5yZ.js.map → index-BwlcJZwR.js.map} +1 -1
- package/lib/{index-DKrXU7hs.js → index-CEOPDO2Y.js} +11 -8
- package/lib/index-CEOPDO2Y.js.map +1 -0
- package/lib/{index-Cp36Pcoi.js → index-CGjXCGni.js} +6 -6
- package/lib/{index-Cp36Pcoi.js.map → index-CGjXCGni.js.map} +1 -1
- package/lib/index-CLowb6Wx.js +11 -0
- package/lib/index-CLowb6Wx.js.map +1 -0
- package/lib/{index-cfFxpmJ0.js → index-CT2Bcg4x.js} +5 -5
- package/lib/{index-cfFxpmJ0.js.map → index-CT2Bcg4x.js.map} +1 -1
- package/lib/{index-BpszpgeX.js → index-CUzHMJTj.js} +6 -6
- package/lib/{index-BpszpgeX.js.map → index-CUzHMJTj.js.map} +1 -1
- package/lib/{index-A2uleoGr.js → index-CeXTXAJi.js} +6 -6
- package/lib/{index-A2uleoGr.js.map → index-CeXTXAJi.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DPs8xffH.js +11 -0
- package/lib/index-DPs8xffH.js.map +1 -0
- package/lib/index-DWo3Cysb.js +11 -0
- package/lib/index-DWo3Cysb.js.map +1 -0
- package/lib/{index-BplQ7imw.js → index-DXdjJ-86.js} +7 -7
- package/lib/{index-BplQ7imw.js.map → index-DXdjJ-86.js.map} +1 -1
- package/lib/{index-BJIfbxEt.js → index-DdQXDuhi.js} +5 -5
- package/lib/{index-BJIfbxEt.js.map → index-DdQXDuhi.js.map} +1 -1
- package/lib/{index-DyBgfOX7.js → index-LZPXbSqW.js} +5 -5
- package/lib/{index-DyBgfOX7.js.map → index-LZPXbSqW.js.map} +1 -1
- package/lib/{index-BF3H-Cda.js → index-MzEDmZWe.js} +6 -6
- package/lib/{index-BF3H-Cda.js.map → index-MzEDmZWe.js.map} +1 -1
- package/lib/index-TKSJ1nbf.js +11 -0
- package/lib/index-TKSJ1nbf.js.map +1 -0
- package/lib/{index-CZodZNg-.js → index-UiGEZV81.js} +5 -5
- package/lib/{index-CZodZNg-.js.map → index-UiGEZV81.js.map} +1 -1
- package/lib/{index-uG_slt2C.js → index-ed6oGI-U.js} +5 -5
- package/lib/{index-uG_slt2C.js.map → index-ed6oGI-U.js.map} +1 -1
- package/lib/{index-CZjkIENw.js → index-s5CW4RjM.js} +16 -16
- package/lib/index-s5CW4RjM.js.map +1 -0
- 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-wNz5nMBP.js → useCollectFieldsEndpoint-CS1fVgEX.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-wNz5nMBP.js.map → useCollectFieldsEndpoint-CS1fVgEX.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Bk3uBcKy.js → useEmailFirstExperiment-Co9DPGhK.js} +5 -5
- package/lib/{useEmailFirstExperiment-Bk3uBcKy.js.map → useEmailFirstExperiment-Co9DPGhK.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 +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +5 -5
- package/sheerid.css +4 -4
- package/sheerid.js +974 -967
- package/sheerid.js.map +1 -1
- package/src/lib/VerificationService/ViewModel.d.ts +5 -3
- package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
- package/src/lib/types/types.d.ts +5 -1
- package/types-reference.zip +0 -0
- package/chunk/index-Bb9hNLHu.js.map +0 -1
- package/chunk/index-CblWzXDU.js +0 -169
- package/chunk/index-CblWzXDU.js.map +0 -1
- package/chunk/index-DCKw4cP_.js.map +0 -1
- package/chunk/index-DFsuXQL_.js.map +0 -1
- package/chunk/index-QVvWIHrD.js.map +0 -1
- package/chunk/index-UGfD9tnj.js +0 -173
- package/chunk/index-UGfD9tnj.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-D9AxEZrO.js +0 -11
- package/lib/es6-C6MdgCMX.js.map +0 -1
- package/lib/index-B0q6ScmE.js.map +0 -1
- package/lib/index-BvlWWXiT.js +0 -11
- package/lib/index-BvlWWXiT.js.map +0 -1
- package/lib/index-CJvrsSXZ.js +0 -11
- package/lib/index-CJvrsSXZ.js.map +0 -1
- package/lib/index-CZjkIENw.js.map +0 -1
- package/lib/index-DKrXU7hs.js.map +0 -1
- package/lib/index-DLUpqP9u.js +0 -11
- package/lib/index-DLUpqP9u.js.map +0 -1
- package/lib/index-wzVNqFMX.js +0 -11
- package/lib/index-wzVNqFMX.js.map +0 -1
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
import { R as o, c as m, d as r, l as q } from "../_mysheerid-preview.js";
|
13
13
|
const b = ({
|
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202200333
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
8
|
import { R as o, c as m, d as r, l as q } from "../sheerid.js";
|
9
9
|
const b = ({
|
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
import { r as o, j as i, a as d, aq as R, ar as L, l as E, as as B, at as H, al as q, au as I, av as G, aw as J, ax as K, b as z, ay as Y, az as W } from "../_mysheerid-preview.js";
|
13
13
|
const V = ({
|
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202200333
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
8
|
import { r as o, j as i, a as d, aq as R, ar as L, l as E, as as B, at as H, al as q, au as I, av as G, aw as J, ax as K, b as z, ay as Y, az as W } from "../sheerid.js";
|
9
9
|
const V = ({
|
package/chunk/vi-BOR2GuRI.js
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "Đang Tại Ngũ",
|
package/chunk/zh-HK-BI-IHOGG.js
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "現役",
|
package/chunk/zh-eoMG5RFC.js
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "现役",
|
package/chunk/zu-D_A8wcJW.js
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "Umsebenzi Engiwenzayo",
|
package/es6.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
8
|
.sid-inline-iframe{border:0;height:100%;min-width:32rem}.sid-modal__wrapper{background:#fff;border-radius:5px;box-shadow:#989898 10px 10px 15px;left:50%;max-height:calc(100% - 80px);opacity:0;outline:none;overflow-y:auto;position:fixed;top:50%;transform:translate(-50%,-50%);transition:opacity .3s linear;width:32rem;z-index:9998}.sid-modal__wrapper.fade-in{opacity:1}.sid-modal__iframe{border:0;display:block;height:100%;min-width:250px;width:100%}.sid-modal__close-button{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;flex-direction:row;position:absolute;right:10px;text-decoration:none;top:10px;z-index:9999}.sid-modal__close-icon{background-image:url(https://services.sheerid.com/jsapi/img/btn1.png);background-repeat:no-repeat;filter:brightness(25%);height:20px;width:20px}.sid-modal__close-text{color:#000;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:var(--sheerid-font-size-body);margin-right:5px}.sid-modal__overlay{background-color:#b3b3b3;height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s linear;width:100%;z-index:9997}.sid-modal__overlay.fade-in{opacity:.75}@media (width <= 620px){.sid-modal__wrapper{max-width:calc(100vw - 1rem)}}@media (width <= 32rem){.sid-inline-iframe{min-width:calc(100vw - 1rem);width:100%}}:root{--sheerid-button-border-width: 1px}.sid-button-container{display:grid;gap:.5em;grid-template-columns:1fr;margin-top:.5em}.sid-button{border:solid var(--sheerid-button-border-width) transparent;outline-offset:2px;padding:var(--sheerid-font-size-medium);transition:border .2s,background .2s,color .2s;width:100%}.sid-button-font{font-size:1rem;font-weight:600}.sid-button:hover{cursor:pointer}.sid-button[aria-disabled=true]{background-color:#f3f4f6;border:solid 1px transparent;color:#9ca3af;cursor:not-allowed}:root{--sheerid-button-primary-background-color: hsl(189deg 72% 50%);--sheerid-button-primary-border-color: transparent;--sheerid-button-primary-color: hsl(0deg 0% 100%);--sheerid-button-primary-background-color-hover: hsl(189deg 72% 46%);--sheerid-button-primary-border-color-hover: transparent;--sheerid-button-primary-color-hover: hsl(0deg 0% 100%);--sheerid-button-primary-background-color-active: hsl(189deg 72% 42%);--sheerid-button-primary-border-color-active: transparent;--sheerid-button-primary-color-active: hsl(0deg 0% 100%)}.sid-button-primary{background-color:var(--sheerid-button-primary-background-color);border-color:var(--sheerid-button-primary-border-color);color:var(--sheerid-button-primary-color)}.sid-button-primary:hover,.sid-button-primary:focus-visible{background-color:var(--sheerid-button-primary-background-color-hover);border-color:var(--sheerid-button-primary-border-color-hover);color:var(--sheerid-button-primary-color-hover)}.sid-button-primary:active{background-color:var(--sheerid-button-primary-background-color-active);border-color:var(--sheerid-button-primary-border-color-active);color:var(--sheerid-button-primary-color-active)}:root{--sheerid-button-secondary-background-color: hsl(0deg 0% 100%);--sheerid-button-secondary-border-color: hsl(189deg 72% 50%);--sheerid-button-secondary-color: hsl(189deg 72% 50%);--sheerid-button-secondary-background-color-hover: hsl(189deg 72% 96%);--sheerid-button-secondary-border-color-hover: hsl(189deg 72% 50%);--sheerid-button-secondary-color-hover: hsl(189deg 72% 50%);--sheerid-button-secondary-background-color-active: hsl(189deg 72% 92%);--sheerid-button-secondary-border-color-active: hsl(189deg 72% 50%);--sheerid-button-secondary-color-active: hsl(189deg 72% 50%)}.sid-button-secondary{background-color:var(--sheerid-button-secondary-background-color);border-color:var(--sheerid-button-secondary-border-color);color:var(--sheerid-button-secondary-color)}.sid-button-secondary:hover,.sid-button-secondary:focus-visible{background-color:var(--sheerid-button-secondary-background-color-hover);border-color:var(--sheerid-button-secondary-border-color-hover);color:var(--sheerid-button-secondary-color-hover)}.sid-button-secondary:active{background-color:var(--sheerid-button-secondary-background-color-active);border-color:var(--sheerid-button-secondary-border-color-active);color:var(--sheerid-button-secondary-color-active)}:root{--sheerid-button-destructive-background-color: hsl(348deg 76% 100%);--sheerid-button-destructive-border-color: hsl(348deg 76% 50%);--sheerid-button-destructive-color: hsl(348deg 76% 50%);--sheerid-button-destructive-background-color-hover: hsl(348deg 76% 96%);--sheerid-button-destructive-border-color-hover: hsl(348deg 76% 50%);--sheerid-button-destructive-color-hover: hsl(348deg 76% 50%);--sheerid-button-destructive-background-color-active: hsl(348deg 76% 92%);--sheerid-button-destructive-border-color-active: hsl(348deg 76% 50%);--sheerid-button-destructive-color-active: hsl(348deg 76% 50%)}.sid-button-destructive{background-color:var(--sheerid-button-destructive-background-color);border-color:var(--sheerid-button-destructive-border-color);color:var(--sheerid-button-destructive-color)}.sid-button-destructive:hover,.sid-button-destructive:focus-visible{background-color:var(--sheerid-button-destructive-background-color-hover);border-color:var(--sheerid-button-destructive-border-color-hover);color:var(--sheerid-button-destructive-border-color-hover)}.sid-button-destructive:active{background-color:var(--sheerid-button-destructive-background-color-active);border-color:var(--sheerid-button-destructive-border-color-active);color:var(--sheerid-button-destructive-border-color-active)}.sid-button-textLike{background:transparent;border:none;border-radius:0;font:inherit;padding:0;width:auto}
|
package/jslib.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { bz as s, cU as o, U as t, a5 as n, aK as i, ea as r, cO as d, x as l, aa as m, av as c, ai as p, C, c$ as g, cP as E, a2 as S, bC as u, bB as R, bE as I, dB as b, aM as T, e9 as V, aT as _, E as y, _ as F, ei as M, b9 as O, dS as D, z as L, bm as f, e7 as P, N as h, as as N, aq as A, cS as U, Y as v, cT as k, a1 as w, o as G, dl as B, dA as Q, dC as H, bG as Y, bh as x, bo as W, c_ as q, d2 as z, a7 as J, t as K, dR as X, dN as j, dQ as Z, dM as $, ek as aa, em as ea, T as sa, e6 as oa, am as ta, bp as na, q as ia, aW as ra, bg as da, b5 as la, ej as ma, eh as ca, Z as pa, ay as Ca, aw as ga, a6 as Ea, a3 as Sa, aP as ua, bj as Ra, bq as Ia, bs as ba, cQ as Ta, dL as Va, dU as _a, n as ya, M as Fa, X as Ma, dz as Oa, P as Da, W as La, dP as fa, cW as Pa, cX as ha, bK as Na, Q as Aa, bN as Ua, bM as va, ad as ka, bL as wa, bI as Ga, bH as Ba, bJ as Qa, el as Ha, d1 as Ya, R as xa, b4 as Wa, bF as qa, a0 as za, bD as Ja, d0 as Ka, aQ as Xa, bl as ja, d$ as Za, dW as $a, d_ as ae, y as ee, dX as se, w as oe, cR as te, bi as ne, aj as ie, ac as re, a as de, v as le, e3 as me, e4 as ce, e5 as pe, b as Ce, S as ge, b1 as Ee, an as Se, cZ as ue, cY as Re, bn as Ie, dO as be, bA as Te, cV as Ve, J as _e, cN as ye, bk as Fe, V as Me, bf as Oe, cl as De, dF as Le, dr as fe, c2 as Pe, c0 as he, bW as Ne, b_ as Ae, bY as Ue, bZ as ve, bU as ke, bT as we, bR as Ge, bV as Be, bS as Qe, b$ as He, bX as Ye, bQ as xe, at as We, dd as qe, bu as ze, e8 as Je, cC as Ke, dH as Xe, dG as je, ch as Ze, da as $e, db as as, dY as es, dn as ss, c4 as os, cK as ts, dD as ns, dc as is, dm as rs, a8 as ds, d3 as ls, cu as ms, aJ as cs, ak as ps, cs as Cs, ct as gs, cB as Es, cg as Ss, ci as us, a9 as Rs, cH as Is, dq as bs, b8 as Ts, cv as Vs, dk as _s, cr as ys, d5 as Fs, c5 as Ms, dj as Os, cE as Ds, d4 as Ls, cm as fs, ae as Ps, cx as hs, aR as Ns, cw as As, dE as Us, co as vs, dv as ks, du as ws, ds as Gs, $ as Bs, cA as Qs, dy as Hs, cb as Ys, c9 as xs, cz as Ws, cy as qs, dt as zs, e as Js, cI as Ks, bd as Xs, bx as js, dx as Zs, h as $s, d9 as ao, ap as eo, bv as so, cL as oo, cJ as to, dw as no, d6 as io, m as ro, dT as lo, i as mo, cn as co, dK as po, c7 as Co, c6 as go, eg as Eo, c1 as So, c8 as uo, dI as Ro, e0 as Io, e1 as bo, l as To, aX as Vo, dg as _o, cF as yo, ca as Fo, de as Mo, G as Oo, e2 as Do, dV as Lo, df as fo, ab as Po, d8 as ho, eb as No, ed as Ao, ec as Uo, di as vo, br as ko, cM as wo, cj as Go, ba as Bo, ck as Qo, cq as Ho, bP as Yo, cG as xo, cc as Wo, aO as qo, dh as zo, bw as Jo, ce as Ko, cD as Xo, cf as jo, ee as Zo, by as $o, ef as at, cp as et, bO as st, D as ot, bt as tt, cd as nt, ah as it, ao as rt, dp as dt, dJ as lt, B as mt, dZ as ct, d7 as pt, u as Ct, aN as gt, a4 as Et, H as St, be as ut, c3 as Rt } from "./lib/es6-
|
8
|
+
import { bz as s, cU as o, U as t, a5 as n, aK as i, ea as r, cO as d, x as l, aa as m, av as c, ai as p, C, c$ as g, cP as E, a2 as S, bC as u, bB as R, bE as I, dB as b, aM as T, e9 as V, aT as _, E as y, _ as F, ei as M, b9 as O, dS as D, z as L, bm as f, e7 as P, N as h, as as N, aq as A, cS as U, Y as v, cT as k, a1 as w, o as G, dl as B, dA as Q, dC as H, bG as Y, bh as x, bo as W, c_ as q, d2 as z, a7 as J, t as K, dR as X, dN as j, dQ as Z, dM as $, ek as aa, em as ea, T as sa, e6 as oa, am as ta, bp as na, q as ia, aW as ra, bg as da, b5 as la, ej as ma, eh as ca, Z as pa, ay as Ca, aw as ga, a6 as Ea, a3 as Sa, aP as ua, bj as Ra, bq as Ia, bs as ba, cQ as Ta, dL as Va, dU as _a, n as ya, M as Fa, X as Ma, dz as Oa, P as Da, W as La, dP as fa, cW as Pa, cX as ha, bK as Na, Q as Aa, bN as Ua, bM as va, ad as ka, bL as wa, bI as Ga, bH as Ba, bJ as Qa, el as Ha, d1 as Ya, R as xa, b4 as Wa, bF as qa, a0 as za, bD as Ja, d0 as Ka, aQ as Xa, bl as ja, d$ as Za, dW as $a, d_ as ae, y as ee, dX as se, w as oe, cR as te, bi as ne, aj as ie, ac as re, a as de, v as le, e3 as me, e4 as ce, e5 as pe, b as Ce, S as ge, b1 as Ee, an as Se, cZ as ue, cY as Re, bn as Ie, dO as be, bA as Te, cV as Ve, J as _e, cN as ye, bk as Fe, V as Me, bf as Oe, cl as De, dF as Le, dr as fe, c2 as Pe, c0 as he, bW as Ne, b_ as Ae, bY as Ue, bZ as ve, bU as ke, bT as we, bR as Ge, bV as Be, bS as Qe, b$ as He, bX as Ye, bQ as xe, at as We, dd as qe, bu as ze, e8 as Je, cC as Ke, dH as Xe, dG as je, ch as Ze, da as $e, db as as, dY as es, dn as ss, c4 as os, cK as ts, dD as ns, dc as is, dm as rs, a8 as ds, d3 as ls, cu as ms, aJ as cs, ak as ps, cs as Cs, ct as gs, cB as Es, cg as Ss, ci as us, a9 as Rs, cH as Is, dq as bs, b8 as Ts, cv as Vs, dk as _s, cr as ys, d5 as Fs, c5 as Ms, dj as Os, cE as Ds, d4 as Ls, cm as fs, ae as Ps, cx as hs, aR as Ns, cw as As, dE as Us, co as vs, dv as ks, du as ws, ds as Gs, $ as Bs, cA as Qs, dy as Hs, cb as Ys, c9 as xs, cz as Ws, cy as qs, dt as zs, e as Js, cI as Ks, bd as Xs, bx as js, dx as Zs, h as $s, d9 as ao, ap as eo, bv as so, cL as oo, cJ as to, dw as no, d6 as io, m as ro, dT as lo, i as mo, cn as co, dK as po, c7 as Co, c6 as go, eg as Eo, c1 as So, c8 as uo, dI as Ro, e0 as Io, e1 as bo, l as To, aX as Vo, dg as _o, cF as yo, ca as Fo, de as Mo, G as Oo, e2 as Do, dV as Lo, df as fo, ab as Po, d8 as ho, eb as No, ed as Ao, ec as Uo, di as vo, br as ko, cM as wo, cj as Go, ba as Bo, ck as Qo, cq as Ho, bP as Yo, cG as xo, cc as Wo, aO as qo, dh as zo, bw as Jo, ce as Ko, cD as Xo, cf as jo, ee as Zo, by as $o, ef as at, cp as et, bO as st, D as ot, bt as tt, cd as nt, ah as it, ao as rt, dp as dt, dJ as lt, B as mt, dZ as ct, d7 as pt, u as Ct, aN as gt, a4 as Et, H as St, be as ut, c3 as Rt } from "./lib/es6-DIUKg5Yl.js";
|
9
9
|
export {
|
10
10
|
s as ACCEPTED_DOC_MIME_TYPES,
|
11
11
|
o as AcceptableUploadsComponent,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { h as _, G as C, H as w, j as e, q as y, A as V, l as g, V as f, J as A, K as T } from "./es6-
|
8
|
+
import { h as _, G as C, H as w, j as e, q as y, A as V, l as g, V as f, J as A, K as T } from "./es6-DIUKg5Yl.js";
|
9
9
|
import n from "react";
|
10
10
|
import { FormattedHTMLMessage as a, injectIntl as v } from "react-intl";
|
11
11
|
const P = 1e4, H = ({ intl: o, verificationService: s }) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmailLoopPending-9TIqOjh0.js","sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { injectIntl, FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n StudentPersonalInfoViewModel,\n EmailLoopViewModel,\n EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport const EmailLoopPending = ({ intl, verificationService }: StepEmailLoopComponentProps) => {\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const successMsgObject = {\n id: \"step.emailLoop.successResend\",\n defaultMessage: \"Email re-sent successfully.\",\n };\n const maxRetriesMsgObject = {\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n };\n const message =\n response.status === 204\n ? intl.formatHTMLMessage(successMsgObject)\n : intl.formatHTMLMessage(maxRetriesMsgObject);\n setResendMessage(message);\n } else {\n setResendMessage(\n intl.formatHTMLMessage({\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n }),\n );\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n \n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n \n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n );\n};\n\nexport const EmailLoopPendingComponent = injectIntl(EmailLoopPending);\nexport default EmailLoopPendingComponent;\n"],"names":["EMAIL_LOOP_POLL_DURATION","EmailLoopPending","intl","verificationService","verificationResponse","programId","verificationId","canResendEmailLoop","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","resendMessage","setResendMessage","React","email","getSafe","submitForm","logger","VerificationStepsEnum","populateViewModelFromQueryParams","usePollingInterval","resendEmail","response","VerificationApiClient","successMsgObject","maxRetriesMsgObject","message","cancelEmailLoop","nextState","produce","jsxs","jsx","LogoComponent","AnnouncingHeader","FormattedHTMLMessage","EmailLoopPendingComponent","injectIntl"],"mappings":";;;AAqBA,MAAMA,IAA2B,KAEpBC,IAAmB,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAAuD;AAC9F,QAAMC,IAAuBD,EAAoB,sBAC3C,EAAE,WAAAE,EAAc,IAAAF,GAChB,EAAE,gBAAAG,EAAmB,IAAAF,GACrB,EAAE,oBAAAG,EAAuB,IAAAH,GACzBI,IAAqBJ,EAAqB,WAC1CK,IAAYN,EAAoB,WAChCO,IACHP,EAAoB,qBAAsD,QACvEQ,IACJR,EAAoB,gCAAgC,QAEhD,CAACS,GAAeC,CAAgB,IAAIC,EAAM,SAAS,EAAE,GACrDC,IAAQC,EAAQ,MAAMN,EAAkB,KAAK,GAE7CO,IAAa,MAAM;AACvB,IAAAC,EAAO,KAAK,wCAAwC,GAChCf,EAAA;AAAA,MAClBgB,EAAsB;AAAA,MACtBV;AAAA,MACAN,EAAoB;AAAA,IAAA;AAAA,EACtB;AAGFW,EAAAA,EAAM,UAAU,MAAM;AACpB,IAAAM,EAAiCjB,CAAmB;AAAA,EACtD,GAAG,CAAE,CAAA,GAELW,EAAM,UAAU,MAAM;AACpB,IAAIL,EAAU,cACDQ;EACb,GACC,CAACR,EAAU,UAAU,CAAC,GAEzBY,EAAmB,MAAM;AACH,IAAAlB,EAAA;AAAA,MAClBE;AAAA,MACAC;AAAA,MACAK;AAAA,MACAD;AAAA,MACA;AAAA,IAAA;AAAA,KAEDV,CAAwB;AAErB,QAAAsB,IAAc,OAAOhB,MAAmB;AAC5C,UAAMiB,IAAW,MAAMC,EAAsB,sBAAs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AA,QACV,cAAW;AAAA,QAEX,UAAC0B,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,WAAU;AAAA,MAAA;AAAA,IAAA,GAEpF;AAAA,IAGDvB,2BACE,OAAI,EAAA,WAAU,uCACb,UAACoB,gBAAAA,EAAA,IAAA,KAAA,EAAG,aAAc,EACpB,CAAA;AAAA,IAGFA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,EACtC,EAAA,CAAA;AAEJ,GAEaI,IAA4BC,EAAWpC,CAAgB;"}
|
1
|
+
{"version":3,"file":"EmailLoopPending-Dv5RU8aW.js","sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { injectIntl, FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n StudentPersonalInfoViewModel,\n EmailLoopViewModel,\n EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport const EmailLoopPending = ({ intl, verificationService }: StepEmailLoopComponentProps) => {\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const successMsgObject = {\n id: \"step.emailLoop.successResend\",\n defaultMessage: \"Email re-sent successfully.\",\n };\n const maxRetriesMsgObject = {\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n };\n const message =\n response.status === 204\n ? intl.formatHTMLMessage(successMsgObject)\n : intl.formatHTMLMessage(maxRetriesMsgObject);\n setResendMessage(message);\n } else {\n setResendMessage(\n intl.formatHTMLMessage({\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n }),\n );\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n \n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n \n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n );\n};\n\nexport const EmailLoopPendingComponent = injectIntl(EmailLoopPending);\nexport default EmailLoopPendingComponent;\n"],"names":["EMAIL_LOOP_POLL_DURATION","EmailLoopPending","intl","verificationService","verificationResponse","programId","verificationId","canResendEmailLoop","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","resendMessage","setResendMessage","React","email","getSafe","submitForm","logger","VerificationStepsEnum","populateViewModelFromQueryParams","usePollingInterval","resendEmail","response","VerificationApiClient","successMsgObject","maxRetriesMsgObject","message","cancelEmailLoop","nextState","produce","jsxs","jsx","LogoComponent","AnnouncingHeader","FormattedHTMLMessage","EmailLoopPendingComponent","injectIntl"],"mappings":";;;AAqBA,MAAMA,IAA2B,KAEpBC,IAAmB,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAAuD;AAC9F,QAAMC,IAAuBD,EAAoB,sBAC3C,EAAE,WAAAE,EAAc,IAAAF,GAChB,EAAE,gBAAAG,EAAmB,IAAAF,GACrB,EAAE,oBAAAG,EAAuB,IAAAH,GACzBI,IAAqBJ,EAAqB,WAC1CK,IAAYN,EAAoB,WAChCO,IACHP,EAAoB,qBAAsD,QACvEQ,IACJR,EAAoB,gCAAgC,QAEhD,CAACS,GAAeC,CAAgB,IAAIC,EAAM,SAAS,EAAE,GACrDC,IAAQC,EAAQ,MAAMN,EAAkB,KAAK,GAE7CO,IAAa,MAAM;AACvB,IAAAC,EAAO,KAAK,wCAAwC,GAChCf,EAAA;AAAA,MAClBgB,EAAsB;AAAA,MACtBV;AAAA,MACAN,EAAoB;AAAA,IAAA;AAAA,EACtB;AAGFW,EAAAA,EAAM,UAAU,MAAM;AACpB,IAAAM,EAAiCjB,CAAmB;AAAA,EACtD,GAAG,CAAE,CAAA,GAELW,EAAM,UAAU,MAAM;AACpB,IAAIL,EAAU,cAC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AAG,6BAA4B,gBAAe,gBAAe;AAAA,IAAA,GACrF;AAAA,IAGD5B,KACCyB,gBAAAA,EAAA,IAAC,OAAI,EAAA,WAAU,0EACb,UAAAA,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,SAAS,MAAMV,EAAYhB,CAAc;AAAA,QACzC,MAAK;AAAA,QACL,WAAU;AAAA,QACV,cAAW;AAAA,QAEX,UAAC0B,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,WAAU;AAAA,MAAA;AAAA,IAAA,GAEpF;AAAA,IAGDvB,2BACE,OAAI,EAAA,WAAU,uCACb,UAACoB,gBAAAA,EAAA,IAAA,KAAA,EAAG,aAAc,EACpB,CAAA;AAAA,IAGFA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,EACtC,EAAA,CAAA;AAEJ,GAEaI,IAA4BC,EAAWpC,CAAgB;"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { j as a, F as g, f as m } from "./es6-
|
8
|
+
import { j as a, F as g, f as m } from "./es6-DIUKg5Yl.js";
|
9
9
|
import { injectIntl as f, FormattedHTMLMessage as s } from "react-intl";
|
10
10
|
const h = ({
|
11
11
|
value: r,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-DtoPR91l.js","sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport {\n FormFieldComponentProps,\n VerificationServiceProps,\n Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, verificationService.programTheme)}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n);\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"names":["LicensedProfessionalOrganization","value","isErrored","onChange","verificationService","intl","placeholder","disabled","jsx","FormFieldTypeahead","choice","FormattedHTMLMessage","getOrgSearchUrl","LicensedProfessionalOrganizationComponent","injectIntl"],"mappings":";;AAUO,MAAMA,IAAmC,CAAC;AAAA,EAC/C,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAAQ;AAAA,IACR,OAAAR;AAAA,IACA,qBAAAG;AAAA,IACA,UAAU,CAACM,MAAyBP,EAASO,CAAM;AAAA,IACnD,aACEJ,KACAD,EAAK,kBAAkB;AAAA,MACrB,IAAI;AAAA,MACJ,gBAAgB;AAAA,IAAA,CACjB;AAAA,IAEH,OAAQG,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,gBAAe,gBAAe,gBAAe;AAAA,IAC7E,cACET,KACEM,gBAAAA,EAAA;AAAA,MAACG;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IACjB;AAAA,IAGJ,cAAcC,EAAgBR,EAAoB,WAAWA,EAAoB,YAAY;AAAA,IAC7F,6BAA6B,CAAC,CAACE;AAAA,IAC/B,UAAAC;AAAA,EAAA;AACF,GAGWM,IAA4CC;AAAA,EACvDd;AACF;"}
|
package/lib/Onfido-CMH3IUna.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
8
|
var a = Object.defineProperty, l = (t, e, n) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, i = (t, e, n) => (l(t, typeof e != "symbol" ? e + "" : e, n), n);
|
9
9
|
class d {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
|
+
*/
|
8
|
+
import { a as f } from "./es6-DIUKg5Yl.js";
|
9
|
+
export {
|
10
|
+
f as default
|
11
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StepCollectMilitaryStatusComponent-
|
1
|
+
{"version":3,"file":"StepCollectMilitaryStatusComponent-DGfjdYFR.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.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { j as e, o as m, h as n, v as h, a7 as u, A as f, l as g, V as k } from "./es6-
|
8
|
+
import { j as e, o as m, h as n, v as h, a7 as u, A as f, l as g, V as k } from "./es6-DIUKg5Yl.js";
|
9
9
|
import r from "react";
|
10
10
|
import { FormattedMessage as t, FormattedHTMLMessage as o } 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-tTk18P23.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;A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AAA;AAAA,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-DiSAKwu6.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,YACjB;AAAA,UAAA;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,YACjB;AAAA,U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AAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,GAA0C;AAAA,IAAA,GACrE;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { j as e, o as n, t as l, A as p, v as h } from "./es6-
|
8
|
+
import { j as e, o as n, t as l, A as p, v as h } from "./es6-DIUKg5Yl.js";
|
9
9
|
import c from "react";
|
10
10
|
import { FormattedMessage as i, FormattedHTMLMessage as o } from "react-intl";
|
11
11
|
const u = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(n, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopRegula-
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-Cbr1wxzD.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\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID uses a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n }}\n />\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","StepIDCheckLoopRegula","verificationResponse","showUpload","setShowUpload","React","_a","IdCheckLoopRegulaComponent","Fragment","AnnouncingHeader","FormattedHTMLMessage","StepCardComponent"],"mappings":";;;AAUa,MAAAA,IAA0B,CAAC,EAAE,qBAAAC,QACvCC,gBAAAA,EAAA,IAAAC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EA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AA4B,gBAAe,YAAW;AAAA,QAAA;AAAA,MAAA,GAEnF;AAAA,IAAA,GACF;AAAA,IACAb,gBAAAA,MAACF,KAAwB,qBAAAC,GAA0C;AAAA,EAAA,EACrE,CAAA,EAEJ,CAAA;AAEJ;"}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202293151
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
7
|
*/
|
8
|
-
import { i as $, aJ as J, V as i, l as W, j as t, M as X, k as Y, x as Z, a2 as G, O as o, ac as Q, ap as S, u as d, aK as v, a4 as aa, N as sa, T as ea, a5 as ta, aL as oa, aM as la, E as da, m as na, X as ra, U as ia, aa as ua, aj as ma, ak as pa, W as Ca, Y as ba, Z as ha, _ as ya, n as ga, $ as Ma, aN as xa, p as Ia, aO as ja, aP as ca } from "./es6-
|
8
|
+
import { i as $, aJ as J, V as i, l as W, j as t, M as X, k as Y, x as Z, a2 as G, O as o, ac as Q, ap as S, u as d, aK as v, a4 as aa, N as sa, T as ea, a5 as ta, aL as oa, aM as la, E as da, m as na, X as ra, U as ia, aa as ua, aj as ma, ak as pa, W as Ca, Y as ba, Z as ha, _ as ya, n as ga, $ as Ma, aN as xa, p as Ia, aO as ja, aP as ca } from "./es6-DIUKg5Yl.js";
|
9
9
|
import y from "react";
|
10
10
|
import { FormattedHTMLMessage as g, injectIntl as Da } from "react-intl";
|
11
|
-
import { g as Ea } from "./VerificationApiUtils-
|
11
|
+
import { g as Ea } from "./VerificationApiUtils-BaeyxwKQ.js";
|
12
12
|
const Na = ({
|
13
13
|
intl: p,
|
14
14
|
verificationService: s
|