@sheerid/jslib 2.143.0 → 2.145.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/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +20 -10
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-ZOpr2Sd2.js +4 -4
- package/chunk/EmailLoopPending-pdu6KCZh.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BNIsJOMr.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-Zs8Wmydy.js +4 -4
- package/chunk/Onfido-BX3RMDPu.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-BhP65_7M.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-Z4lvS9lb.js +4 -4
- package/chunk/{StepIDCheckLoopRegula-uhn66aNW.js → StepIDCheckLoopRegula-BvLgkrQh.js} +5 -4
- package/chunk/StepIDCheckLoopRegula-BvLgkrQh.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-DZwUZI9d.js → StepIDCheckLoopRegula-RdvQoONf.js} +5 -4
- package/chunk/StepIDCheckLoopRegula-RdvQoONf.js.map +1 -0
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DQORFj6O.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-zigsn4OT.js +4 -4
- package/chunk/ar-DgWnOHb0.js +4 -4
- package/chunk/bg-BOoVh0N7.js +4 -4
- package/chunk/bn-IN-DfQpdb68.js +4 -4
- package/chunk/cs-B9lN4RVR.js +4 -4
- package/chunk/da-BaOy33h_.js +4 -4
- package/chunk/de-uUHs3YXy.js +4 -4
- package/chunk/el-xIXJ9sqU.js +4 -4
- package/chunk/en-GB-8EI1uDkp.js +4 -4
- package/chunk/es-B7SMjWOB.js +4 -4
- package/chunk/es-ES-DZwHzn0T.js +4 -4
- package/chunk/fi-DdpuBVsY.js +4 -4
- package/chunk/fr-CA-CWSDRram.js +4 -4
- package/chunk/fr-Crh-QCJ-.js +4 -4
- package/chunk/ga-2XNN2X9n.js +4 -4
- package/chunk/hi-IN-CXpzvJ5p.js +4 -4
- package/chunk/hr-BWFHQt1b.js +4 -4
- package/chunk/hu-BQsQ1_1B.js +4 -4
- package/chunk/id-D1BredfW.js +4 -4
- package/chunk/index--RDwDtvm.js +4 -4
- package/chunk/index-7ODtRWLz.js +4 -4
- package/chunk/index-BEmrHA5k.js +4 -4
- package/chunk/index-BFbpUbk0.js +4 -4
- package/chunk/index-BGyQS1iv.js +4 -4
- package/chunk/index-BOQ4-dYo.js +4 -4
- package/chunk/index-BSzQzHea.js +4 -4
- package/chunk/index-BTsqzeUV.js +4 -4
- package/chunk/{index-BF9661Op.js → index-BVP6nold.js} +5 -5
- package/chunk/{index-BF9661Op.js.map → index-BVP6nold.js.map} +1 -1
- package/chunk/index-BZ34WyPM.js +4 -4
- package/chunk/index-BzRS77LO.js +4 -4
- package/chunk/index-C1RsiZ-I.js +4 -4
- package/chunk/index-C3ikYj3u.js +4 -4
- package/chunk/index-C3puJbMQ.js +4 -4
- package/chunk/index-C4aGKdns.js +4 -4
- package/chunk/{index-Dsph5pn2.js → index-C5rBbjf6.js} +5 -5
- package/chunk/{index-Dsph5pn2.js.map → index-C5rBbjf6.js.map} +1 -1
- package/chunk/index-CFPn-c4o.js +4 -4
- package/chunk/index-CRnbHGCy.js +4 -4
- package/chunk/index-CVu3gaIt.js +4 -4
- package/chunk/index-CW-KUuMO.js +4 -4
- package/chunk/index-CbwaNn4o.js +4 -4
- package/chunk/index-CdzKlzBt.js +4 -4
- package/chunk/index-CnavGelU.js +4 -4
- package/chunk/index-Crb7Nhvh.js +4 -4
- package/chunk/index-CvKMnkKr.js +4 -4
- package/chunk/index-CvdyoiF1.js +4 -4
- package/chunk/index-D-QnGu-X.js +4 -4
- package/chunk/index-DCyWqpgt.js +4 -4
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DPiXShRg.js +4 -4
- package/chunk/index-Dbh2iG5X.js +4 -4
- package/chunk/index-Df2w22A5.js +4 -4
- package/chunk/index-DttaCFoZ.js +4 -4
- package/chunk/index-DvshY7Fc.js +4 -4
- package/chunk/index-WjvSBJ53.js +4 -4
- package/chunk/index-_udOaGVh.js +4 -4
- package/chunk/index-bd1a-r7s.js +4 -4
- package/chunk/index-dftC0Qnv.js +4 -4
- package/chunk/index-z2oAhMO1.js +4 -4
- package/chunk/is-BQ1w_dZd.js +4 -4
- package/chunk/it-DWcg5lrp.js +4 -4
- package/chunk/iw-CH8pA0K5.js +4 -4
- package/chunk/ja-DTB4oZtr.js +4 -4
- package/chunk/ko-YjkGeAf9.js +4 -4
- package/chunk/lo-BUmUlWoZ.js +4 -4
- package/chunk/lt-DyDf6oJm.js +4 -4
- package/chunk/ms-CIV35HiR.js +4 -4
- package/chunk/nl-BE-qnndQXN-.js +4 -4
- package/chunk/nl-BEcCaCBh.js +4 -4
- package/chunk/no-6tZgKN0w.js +4 -4
- package/chunk/pl-CfngpFII.js +4 -4
- package/chunk/pt-BR-BkmnC8r-.js +4 -4
- package/chunk/pt-D3Gz8aCi.js +4 -4
- package/chunk/ro-SIuDm7Nt.js +4 -4
- package/chunk/ru-DrinNLb3.js +4 -4
- package/chunk/sk-DK0CgugP.js +4 -4
- package/chunk/sl-BSnDNZ_p.js +4 -4
- package/chunk/sr-t_C4aOh0.js +4 -4
- package/chunk/sv-hjxeMgEO.js +4 -4
- package/chunk/sw-Bx_fcZ4c.js +4 -4
- package/chunk/th-kkF4cO_F.js +4 -4
- package/chunk/tr-Dra2pQ5h.js +4 -4
- package/chunk/uk-UEKtnnPj.js +4 -4
- package/chunk/ur-COGBRjXF.js +4 -4
- package/chunk/useCollectFieldsEndpoint-CbTn-hzl.js +4 -4
- package/chunk/useCollectFieldsEndpoint-qOvpdrTf.js +4 -4
- package/chunk/useEmailFirstExperiment-C8t5ezDb.js +4 -4
- package/chunk/useEmailFirstExperiment-D-bO03Zj.js +4 -4
- package/chunk/vi-CAhGkrs3.js +4 -4
- package/chunk/zh-CobVQtU0.js +4 -4
- package/chunk/zh-HK-BuYPE4ck.js +4 -4
- package/chunk/zu-LijCPCBd.js +4 -4
- package/es6.css +4 -4
- package/jslib.js +5 -5
- package/lib/{EmailLoopPending-D-z8QygU.js → EmailLoopPending-DEfnjHLE.js} +5 -5
- package/lib/{EmailLoopPending-D-z8QygU.js.map → EmailLoopPending-DEfnjHLE.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-0VVfwnZE.js → LicensedProfessionalOrganizationComponent-fQvo4UqM.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-0VVfwnZE.js.map → LicensedProfessionalOrganizationComponent-fQvo4UqM.js.map} +1 -1
- package/lib/Onfido-BX3RMDPu.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-BO-Wm6S_.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-3-VOJfnj.js.map → StepCollectMilitaryStatusComponent-BO-Wm6S_.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-DPK_U4ZH.js → StepIDCheckLoopOnfido-dlwWW-_g.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-DPK_U4ZH.js.map → StepIDCheckLoopOnfido-dlwWW-_g.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-D6YfYi30.js → StepIDCheckLoopRegula-CZpJPa8I.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-D6YfYi30.js.map → StepIDCheckLoopRegula-CZpJPa8I.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BOH2_5PP.js → StepInactiveMilitaryPersonalInfoComponent-BPKVZ-bK.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BOH2_5PP.js.map → StepInactiveMilitaryPersonalInfoComponent-BPKVZ-bK.js.map} +1 -1
- package/lib/{VerificationApiUtils-BVya4KkH.js → VerificationApiUtils-BLRwwYPE.js} +5 -5
- package/lib/{VerificationApiUtils-BVya4KkH.js.map → VerificationApiUtils-BLRwwYPE.js.map} +1 -1
- package/lib/ar-DgWnOHb0.js +4 -4
- package/lib/bg-BOoVh0N7.js +4 -4
- package/lib/bn-IN-DfQpdb68.js +4 -4
- package/lib/cs-B9lN4RVR.js +4 -4
- package/lib/da-BaOy33h_.js +4 -4
- package/lib/de-uUHs3YXy.js +4 -4
- package/lib/el-xIXJ9sqU.js +4 -4
- package/lib/en-GB-8EI1uDkp.js +4 -4
- package/lib/es-B7SMjWOB.js +4 -4
- package/lib/es-ES-DZwHzn0T.js +4 -4
- package/lib/{es6-BlgM27o0.js → es6-CqxJnCSS.js} +47 -36
- package/lib/es6-CqxJnCSS.js.map +1 -0
- package/lib/fi-DdpuBVsY.js +4 -4
- package/lib/fr-CA-CWSDRram.js +4 -4
- package/lib/fr-Crh-QCJ-.js +4 -4
- package/lib/ga-2XNN2X9n.js +4 -4
- package/lib/hi-IN-CXpzvJ5p.js +4 -4
- package/lib/hr-BWFHQt1b.js +4 -4
- package/lib/hu-BQsQ1_1B.js +4 -4
- package/lib/id-D1BredfW.js +4 -4
- package/lib/{index-CnY7aw8N.js → index-BAdG8_dX.js} +5 -5
- package/lib/{index-CnY7aw8N.js.map → index-BAdG8_dX.js.map} +1 -1
- package/lib/{index-B2RASkKK.js → index-BQ8AQjw0.js} +5 -5
- package/lib/{index-B2RASkKK.js.map → index-BQ8AQjw0.js.map} +1 -1
- package/lib/{index-BNDGUV_N.js → index-BRGHFcZk.js} +5 -5
- package/lib/{index-BNDGUV_N.js.map → index-BRGHFcZk.js.map} +1 -1
- package/lib/{index-2rMlqXx8.js → index-BRyEFfgY.js} +5 -5
- package/lib/{index-2rMlqXx8.js.map → index-BRyEFfgY.js.map} +1 -1
- package/lib/{index-DcLoT5fO.js → index-BVFlOQca.js} +7 -7
- package/lib/{index-DcLoT5fO.js.map → index-BVFlOQca.js.map} +1 -1
- package/lib/{index-BiJDofAB.js → index-B_-EXeQa.js} +5 -5
- package/lib/{index-BiJDofAB.js.map → index-B_-EXeQa.js.map} +1 -1
- package/lib/index-BkT-i5Xl.js +11 -0
- package/lib/index-BkT-i5Xl.js.map +1 -0
- package/lib/{index-DFIeQTPB.js → index-BvfK4mYk.js} +5 -5
- package/lib/{index-DFIeQTPB.js.map → index-BvfK4mYk.js.map} +1 -1
- package/lib/index-CIRBogwE.js +11 -0
- package/lib/index-CIRBogwE.js.map +1 -0
- package/lib/{index-BHUSqOi3.js → index-CUqaAPwW.js} +5 -5
- package/lib/{index-BHUSqOi3.js.map → index-CUqaAPwW.js.map} +1 -1
- package/lib/index-Cf0Awazz.js +11 -0
- package/lib/index-Cf0Awazz.js.map +1 -0
- package/lib/{index-bO2LZAE3.js → index-Cl7g60Ni.js} +6 -6
- package/lib/{index-bO2LZAE3.js.map → index-Cl7g60Ni.js.map} +1 -1
- package/lib/{index-CFVT0RFq.js → index-CoZDiNKd.js} +6 -6
- package/lib/{index-CFVT0RFq.js.map → index-CoZDiNKd.js.map} +1 -1
- package/lib/{index-6ljqLJeo.js → index-D1HkTDUP.js} +5 -5
- package/lib/{index-6ljqLJeo.js.map → index-D1HkTDUP.js.map} +1 -1
- package/lib/{index-CuXsuuw0.js → index-DBXuPSja.js} +6 -6
- package/lib/{index-CuXsuuw0.js.map → index-DBXuPSja.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/{index-BC_hAUES.js → index-DY9lcyLT.js} +6 -6
- package/lib/{index-BC_hAUES.js.map → index-DY9lcyLT.js.map} +1 -1
- package/lib/{index-BNo9w5Q9.js → index-DmGKvaS3.js} +6 -6
- package/lib/{index-BNo9w5Q9.js.map → index-DmGKvaS3.js.map} +1 -1
- package/lib/{index-Dtjjd-vH.js → index-Dt0E-1oO.js} +6 -6
- package/lib/{index-Dtjjd-vH.js.map → index-Dt0E-1oO.js.map} +1 -1
- package/lib/{index-3SCIPFPy.js → index-DvApQshv.js} +5 -5
- package/lib/{index-3SCIPFPy.js.map → index-DvApQshv.js.map} +1 -1
- package/lib/{index-DRp7rQ2L.js → index-DxRIStgk.js} +5 -5
- package/lib/{index-DRp7rQ2L.js.map → index-DxRIStgk.js.map} +1 -1
- package/lib/{index-BUegM_NV.js → index-Z6Hfve9m.js} +6 -6
- package/lib/{index-BUegM_NV.js.map → index-Z6Hfve9m.js.map} +1 -1
- package/lib/{index-3KGse4bY.js → index-kqpIil3u.js} +7 -7
- package/lib/{index-3KGse4bY.js.map → index-kqpIil3u.js.map} +1 -1
- package/lib/index-rCodOVor.js +11 -0
- package/lib/index-rCodOVor.js.map +1 -0
- package/lib/is-BQ1w_dZd.js +4 -4
- package/lib/it-DWcg5lrp.js +4 -4
- package/lib/iw-CH8pA0K5.js +4 -4
- package/lib/ja-DTB4oZtr.js +4 -4
- package/lib/ko-YjkGeAf9.js +4 -4
- package/lib/lo-BUmUlWoZ.js +4 -4
- package/lib/lt-DyDf6oJm.js +4 -4
- package/lib/ms-CIV35HiR.js +4 -4
- package/lib/nl-BE-qnndQXN-.js +4 -4
- package/lib/nl-BEcCaCBh.js +4 -4
- package/lib/no-6tZgKN0w.js +4 -4
- package/lib/pl-CfngpFII.js +4 -4
- package/lib/pt-BR-BkmnC8r-.js +4 -4
- package/lib/pt-D3Gz8aCi.js +4 -4
- package/lib/ro-SIuDm7Nt.js +4 -4
- package/lib/ru-DrinNLb3.js +4 -4
- package/lib/sk-DK0CgugP.js +4 -4
- package/lib/sl-BSnDNZ_p.js +4 -4
- package/lib/sr-t_C4aOh0.js +4 -4
- package/lib/sv-hjxeMgEO.js +4 -4
- package/lib/sw-Bx_fcZ4c.js +4 -4
- package/lib/th-kkF4cO_F.js +4 -4
- package/lib/tr-Dra2pQ5h.js +4 -4
- package/lib/uk-UEKtnnPj.js +4 -4
- package/lib/ur-COGBRjXF.js +4 -4
- package/lib/{useCollectFieldsEndpoint-DsjB5VU9.js → useCollectFieldsEndpoint-DWUKCgjD.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-DsjB5VU9.js.map → useCollectFieldsEndpoint-DWUKCgjD.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Cqge3XOL.js → useEmailFirstExperiment-DjSOkQf5.js} +5 -5
- package/lib/{useEmailFirstExperiment-Cqge3XOL.js.map → useEmailFirstExperiment-DjSOkQf5.js.map} +1 -1
- package/lib/vi-CAhGkrs3.js +4 -4
- package/lib/zh-CobVQtU0.js +4 -4
- package/lib/zh-HK-BuYPE4ck.js +4 -4
- package/lib/zu-LijCPCBd.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +5 -5
- package/sheerid.css +5 -5
- package/sheerid.js +20 -10
- package/sheerid.js.map +1 -1
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/chunk/StepIDCheckLoopRegula-DZwUZI9d.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-uhn66aNW.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-3-VOJfnj.js +0 -11
- package/lib/es6-BlgM27o0.js.map +0 -1
- package/lib/index-6lTqUcMh.js +0 -11
- package/lib/index-6lTqUcMh.js.map +0 -1
- package/lib/index-CLOg8Rc-.js +0 -11
- package/lib/index-CLOg8Rc-.js.map +0 -1
- package/lib/index-DeGN10vq.js +0 -11
- package/lib/index-DeGN10vq.js.map +0 -1
- package/lib/index-RL2BzhlD.js +0 -11
- package/lib/index-RL2BzhlD.js.map +0 -1
package/chunk/vi-CAhGkrs3.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.145.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1761319608228
|
|
9
|
+
* BUILD_DATE: Fri Oct 24 2025 15:26:48 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
11
11
|
*/
|
|
12
12
|
const e = {
|
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "Đang Tại Ngũ",
|
package/chunk/zh-CobVQtU0.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.145.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1761319608228
|
|
9
|
+
* BUILD_DATE: Fri Oct 24 2025 15:26:48 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
11
11
|
*/
|
|
12
12
|
const e = {
|
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "现役",
|
package/chunk/zh-HK-BuYPE4ck.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.145.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1761319608228
|
|
9
|
+
* BUILD_DATE: Fri Oct 24 2025 15:26:48 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
11
11
|
*/
|
|
12
12
|
const e = {
|
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "現役",
|
package/chunk/zu-LijCPCBd.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.145.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1761319608228
|
|
9
|
+
* BUILD_DATE: Fri Oct 24 2025 15:26:48 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
8
|
.sid-input-clear-button{background-color:transparent;border:none;height:100%;margin:0;padding:0;position:absolute;top:0;width:35px}.sid-ltr .sid-input-clear-button{right:0}.sid-rtl .sid-input-clear-button{left:0}.sid-input-clear-button--disabled{cursor:not-allowed}.sid-text-input{padding-right:30px;text-overflow:ellipsis}.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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { by as s, cT as o, W as t, a5 as n, aL as i, e9 as r, cN as d, x as l, aa as m, av as c, ai as p, C, c_ as g, cO as E, a2 as S, bB as u, bA as R, bD as I, dA as b, aN as T, e8 as V, aT as _, E as y, $ as F, eg as O, b8 as M, dR as L, z as D, bl as f, e6 as P, T as h, ar as N, at as A, cR as U, Z as v, cS as k, a1 as w, q as G, dk as B, dz as Q, dB as H, bF as Y, bg as x, bn as W, cZ as q, d1 as z, a7 as K, G as J, dQ as X, dM as j, dP as Z, dL as $, ei as aa, ek as ea, U as sa, e5 as oa, am as ta, bo as na, t as ia, aW as ra, bf as da, b5 as la, eh as ma, ef as ca, _ as pa, ax as Ca, ay as ga, a6 as Ea, a3 as Sa, aP as ua, bi as Ra, bp as Ia, br as ba, cP as Ta, dK as Va, dT as _a, p as ya, N as Fa, Y as Oa, dy as Ma, P as La, X as Da, dO as fa, cV as Pa, cW as ha, bJ as Na, Q as Aa, bM as Ua, bL as va, ad as ka, bK as wa, bH as Ga, bG as Ba, bI as Qa, ej as Ha, d0 as Ya, R as xa, b4 as Wa, bE as qa, a0 as za, bC as Ka, c$ as Ja, aQ as Xa, bk as ja, d_ as Za, dV as $a, dZ as ae, y as ee, dW as se, w as oe, cQ as te, bh as ne, aj as ie, ac as re, a as de, H as le, e2 as me, e3 as ce, e4 as pe, b as Ce, S as ge, b1 as Ee, an as Se, cY as ue, cX as Re, bm as Ie, dN as be, bz as Te, cU as Ve, M as _e, cM as ye, bj as Fe, V as Oe, be as Me, ck as Le, dE as De, dq as fe, c1 as Pe, b$ as he, bV as Ne, bZ as Ae, bX as Ue, bY as ve, bT as ke, bS as we, bQ as Ge, bU as Be, bR as Qe, b_ as He, bW as Ye, bP as xe, as as We, dc as qe, bt as ze, e7 as Ke, cB as Je, dG as Xe, dF as je, cg as Ze, d9 as $e, da as as, dX as es, dm as ss, c3 as os, cJ as ts, dC as ns, db as is, dl as rs, a8 as ds, d2 as ls, ct as ms, aJ as cs, ak as ps, cr as Cs, cs as gs, cA as Es, cf as Ss, ch as us, a9 as Rs, cG as Is, dp as bs, b7 as Ts, cu as Vs, dj as _s, cq as ys, d4 as Fs, c4 as Os, di as Ms, cD as Ls, d3 as Ds, cl as fs, ae as Ps, cw as hs, aR as Ns, cv as As, dD as Us, cn as vs, du as ks, dt as ws, dr as Gs, O as Bs, cz as Qs, dx as Hs, ca as Ys, c8 as xs, cy as Ws, cx as qs, ds as zs, e as Ks, cH as Js, ba as Xs, bw as js, dw as Zs, i as $s, d8 as ao, aq as eo, bu as so, cK as oo, cI as to, dv as no, d5 as io, n as ro, dS as lo, k as mo, cm as co, dJ as po, c6 as Co, c5 as go, ee as Eo, c0 as So, c7 as uo, dH as Ro, d$ as Io, e0 as bo, l as To, aX as Vo, df as _o, cE as yo, c9 as Fo, dd as Oo, J as Mo, e1 as Lo, dU as Do, de as fo, ab as Po, d7 as ho, ea as No, eb as Ao, dh as Uo, bq as vo, cL as ko, ci as wo, b9 as Go, cj as Bo, cp as Qo, bO as Ho, cF as Yo, cb as xo, aK as Wo, dg as qo, bv as zo, cd as Ko, cC as Jo, ce as Xo, ec as jo, bx as Zo, ed as $o, co as at, bN as et, B as st, bs as ot, cc as tt, ah as nt, ao as it, dn as rt, dI as dt, D as lt, dY as mt, d6 as ct, o as pt, aO as Ct, a4 as gt, K as Et, bd as St, c2 as ut } from "./lib/es6-
|
|
8
|
+
import { by as s, cT as o, W as t, a5 as n, aL as i, e9 as r, cN as d, x as l, aa as m, av as c, ai as p, C, c_ as g, cO as E, a2 as S, bB as u, bA as R, bD as I, dA as b, aN as T, e8 as V, aT as _, E as y, $ as F, eg as O, b8 as M, dR as L, z as D, bl as f, e6 as P, T as h, ar as N, at as A, cR as U, Z as v, cS as k, a1 as w, q as G, dk as B, dz as Q, dB as H, bF as Y, bg as x, bn as W, cZ as q, d1 as z, a7 as K, G as J, dQ as X, dM as j, dP as Z, dL as $, ei as aa, ek as ea, U as sa, e5 as oa, am as ta, bo as na, t as ia, aW as ra, bf as da, b5 as la, eh as ma, ef as ca, _ as pa, ax as Ca, ay as ga, a6 as Ea, a3 as Sa, aP as ua, bi as Ra, bp as Ia, br as ba, cP as Ta, dK as Va, dT as _a, p as ya, N as Fa, Y as Oa, dy as Ma, P as La, X as Da, dO as fa, cV as Pa, cW as ha, bJ as Na, Q as Aa, bM as Ua, bL as va, ad as ka, bK as wa, bH as Ga, bG as Ba, bI as Qa, ej as Ha, d0 as Ya, R as xa, b4 as Wa, bE as qa, a0 as za, bC as Ka, c$ as Ja, aQ as Xa, bk as ja, d_ as Za, dV as $a, dZ as ae, y as ee, dW as se, w as oe, cQ as te, bh as ne, aj as ie, ac as re, a as de, H as le, e2 as me, e3 as ce, e4 as pe, b as Ce, S as ge, b1 as Ee, an as Se, cY as ue, cX as Re, bm as Ie, dN as be, bz as Te, cU as Ve, M as _e, cM as ye, bj as Fe, V as Oe, be as Me, ck as Le, dE as De, dq as fe, c1 as Pe, b$ as he, bV as Ne, bZ as Ae, bX as Ue, bY as ve, bT as ke, bS as we, bQ as Ge, bU as Be, bR as Qe, b_ as He, bW as Ye, bP as xe, as as We, dc as qe, bt as ze, e7 as Ke, cB as Je, dG as Xe, dF as je, cg as Ze, d9 as $e, da as as, dX as es, dm as ss, c3 as os, cJ as ts, dC as ns, db as is, dl as rs, a8 as ds, d2 as ls, ct as ms, aJ as cs, ak as ps, cr as Cs, cs as gs, cA as Es, cf as Ss, ch as us, a9 as Rs, cG as Is, dp as bs, b7 as Ts, cu as Vs, dj as _s, cq as ys, d4 as Fs, c4 as Os, di as Ms, cD as Ls, d3 as Ds, cl as fs, ae as Ps, cw as hs, aR as Ns, cv as As, dD as Us, cn as vs, du as ks, dt as ws, dr as Gs, O as Bs, cz as Qs, dx as Hs, ca as Ys, c8 as xs, cy as Ws, cx as qs, ds as zs, e as Ks, cH as Js, ba as Xs, bw as js, dw as Zs, i as $s, d8 as ao, aq as eo, bu as so, cK as oo, cI as to, dv as no, d5 as io, n as ro, dS as lo, k as mo, cm as co, dJ as po, c6 as Co, c5 as go, ee as Eo, c0 as So, c7 as uo, dH as Ro, d$ as Io, e0 as bo, l as To, aX as Vo, df as _o, cE as yo, c9 as Fo, dd as Oo, J as Mo, e1 as Lo, dU as Do, de as fo, ab as Po, d7 as ho, ea as No, eb as Ao, dh as Uo, bq as vo, cL as ko, ci as wo, b9 as Go, cj as Bo, cp as Qo, bO as Ho, cF as Yo, cb as xo, aK as Wo, dg as qo, bv as zo, cd as Ko, cC as Jo, ce as Xo, ec as jo, bx as Zo, ed as $o, co as at, bN as et, B as st, bs as ot, cc as tt, ah as nt, ao as it, dn as rt, dI as dt, D as lt, dY as mt, d6 as ct, o as pt, aO as Ct, a4 as gt, K as Et, bd as St, c2 as ut } from "./lib/es6-CqxJnCSS.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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { i as _, J as C, K as w, j as e, t as y, A as V, l as g, V as f, r as A, M as T } from "./es6-
|
|
8
|
+
import { i as _, J as C, K as w, j as e, t as y, A as V, l as g, V as f, r as A, M as T } from "./es6-CqxJnCSS.js";
|
|
9
9
|
import n from "react";
|
|
10
10
|
import { injectIntl as v, FormattedHTMLMessage as a } from "react-intl";
|
|
11
11
|
const P = 1e4, I = ({ intl: o, verificationService: s }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailLoopPending-D-z8QygU.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,MAAcF,GAChB,EAAE,gBAAAG,MAAmBF,GACrB,EAAE,oBAAAG,MAAuBH,GACzBI,IAAqBJ,EAAqB,WAC1CK,IAAYN,EAAoB,WAChCO,IACHP,EAAoB,qBAAsD,QACvEQ,IACJR,EA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AC,OAAA,EAAI,WAAU,qCACb,UAAA;AAAA,MAAAC,gBAAAA,EAAAA;AAAAA,QAACG;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MAAA;AAAA,MACf;AAAA,MAEFH,gBAAAA,EAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,SAAS,MAAMJ,EAAA;AAAA,UACf,WAAU;AAAA,UAEV,UAAAI,gBAAAA,EAAAA,IAACG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,OAAA,CAAO;AAAA,QAAA;AAAA,MAAA;AAAA,MACtE;AAAA,MAETH,gBAAAA,EAAAA,IAACG,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,eAAA,CAAe;AAAA,IAAA,GACrF;AAAA,IAGD5B,KACCyB,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,0EACb,UAAAA,gBAAAA,EAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,SAAS,MAAMV,EAAYhB,CAAc;AAAA,QACzC,MAAK;AAAA,QACL,WAAU;AAAA,QACV,cAAW;AAAA,QAEX,UAAA0B,gBAAAA,EAAAA,IAACG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,UAAA,CAAU;AAAA,MAAA;AAAA,IAAA,GAEpF;AAAA,IAGDvB,2BACE,OAAA,EAAI,WAAU,uCACb,UAAAoB,gBAAAA,EAAAA,IAAC,KAAA,EAAG,aAAc,EAAA,CACpB;AAAA,IAGFA,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,qBAAA,CAAqB;AAAA,EAAA,GACtC;AAEJ,GAEaI,IAA4BC,EAAWpC,CAAgB;"}
|
|
1
|
+
{"version":3,"file":"EmailLoopPending-DEfnjHLE.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","injectInt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Ac,EAAA,CACpB;AAAA,IAGFA,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,qBAAA,CAAqB;AAAA,EAAA,GACtC;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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { f as m, j as a, F as f, h } from "./es6-
|
|
8
|
+
import { f as m, j as a, F as f, h } from "./es6-CqxJnCSS.js";
|
|
9
9
|
import { injectIntl as u, FormattedHTMLMessage as i } from "react-intl";
|
|
10
10
|
const z = ({
|
|
11
11
|
value: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-fQvo4UqM.js","sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\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(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"names":["LicensedProfessionalOrganization","value","isErrored","onChange","verificationService","intl","placeholder","disabled","_a","getFieldConfigByFieldId","jsx","FormFieldTypeahead","choice","FormattedHTMLMessage","getOrgSearchUrl","LicensedProfessionalOrganizationComponent","injectIntl"],"mappings":";;AAWO,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,MAA0D;;AAGxD,WAFsBC,IAAAC,EAAwB,cAAc,MAAtC,gBAAAD,EAAyC,UAGtD,OAIPE,gBAAAA,EAAAA;AAAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,OAAAV;AAAA,MACA,qBAAAG;AAAA,MACA,UAAU,CAACQ,MAAyBT,EAASS,CAAM;AAAA,MACnD,aACEN,KACAD,EAAK,kBAAkB;AAAA,QACrB,IAAI;AAAA,QACJ,gBAAgB;AAAA,MAAA,CACjB;AAAA,MAEH,OAAOK,gBAAAA,EAAAA,IAACG,GAAA,EAAqB,IAAG,gBAAe,gBAAe,gBAAe;AAAA,MAC7E,cACEX,KACEQ,gBAAAA,EAAAA;AAAAA,QAACG;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MAAA;AAAA,MAIrB,cAAcC;AAAA,QACZV,EAAoB;AAAA,QACpBA,EAAoB;AAAA,MAAA;AAAA,MAEtB,6BAA6B,CAAC,CAACE;AAAA,MAC/B,UAAAC;AAAA,IAAA;AAAA,EAAA;AAGN,GAEaQ,IAA4CC;AAAA,EACvDhB;AACF;"}
|
package/lib/Onfido-BX3RMDPu.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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
8
|
var a = Object.defineProperty, d = (n, e, t) => e in n ? a(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, i = (n, e, t) => (d(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
9
9
|
class h {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
|
+
*/
|
|
8
|
+
import { a as f } from "./es6-CqxJnCSS.js";
|
|
9
|
+
export {
|
|
10
|
+
f as default
|
|
11
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectMilitaryStatusComponent-
|
|
1
|
+
{"version":3,"file":"StepCollectMilitaryStatusComponent-BO-Wm6S_.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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, q as m, i as n, H as h, a7 as u, A as f, l as g, V as k } from "./es6-
|
|
8
|
+
import { j as e, q as m, i as n, H as h, a7 as u, A as f, l as g, V as k } from "./es6-CqxJnCSS.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-DPK_U4ZH.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":";;;AAUO,MAAMA,IAA0B,CAAC,EAAE,qBAAAC,EAAA,MACxCC,gBAAAA,EAAAA,IAACC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OAAA,EACC,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KAAA,EACC,UAAAA,gBAAAA,EAAAA;AAAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,YACEH,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;A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AI,WAAU,6DACb,UAAAA,gBAAAA,EAAAA;AAAAA,UAACS;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,gBAAe;AAAA,UAAA;AAAA,QAAA,GAEnB;AAAA,8BAEC,OAAA,EAAI,WAAU,4BACZ,UAAAJ,EAA6BN,EAAoB,YAAY,GAChE;AAAA,QAEAC,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,sEACb,UAAAA,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,SAASqB;AAAA,YACT,MAAK;AAAA,YACL,WAAU;AAAA,YACV,cAAW;AAAA,YAEX,UAAArB,gBAAAA,EAAAA,IAACS,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,WAAA,CAAW;AAAA,UAAA;AAAA,QAAA,EACjF,CACF;AAAA,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,EAAA,CAA0C;AAAA,IAAA,EAAA,CACrE;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopOnfido-dlwWW-_g.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":";;;AAUO,MAAMA,IAA0B,CAAC,EAAE,qBAAAC,EAAA,MACxCC,gBAAAA,EAAAA,IAACC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OAAA,EACC,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KAAA,EACC,UAAAA,gBAAAA,EAAAA;AAAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,YACEH,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAAA;AAAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,QAGJ,mBACEH,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAAA;AAAAA,cAACG;AAAA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;AAAA,YAEX,UAAArB,gBAAAA,EAAAA,IAACS,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,WAAA,CAAW;AAAA,UAAA;AAAA,QAAA,EACjF,CACF;AAAA,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,EAAA,CAA0C;AAAA,IAAA,EAAA,CACrE;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, q as n, t as l, G as p, A as h, H as u } from "./es6-
|
|
8
|
+
import { j as e, q as n, t as l, G as p, A as h, H as u } from "./es6-CqxJnCSS.js";
|
|
9
9
|
import c from "react";
|
|
10
10
|
import { FormattedMessage as i, FormattedHTMLMessage as o } from "react-intl";
|
|
11
11
|
const m = ({ verificationService: t }) => /* @__PURE__ */ e.jsx(n, { verificationService: t, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopRegula-
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-CZpJPa8I.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 { LogoComponent } from \"@/components/LogoComponent/LogoComponent\";\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 <div className=\"sid-l-horz-center\">\n <div className=\"sid-doc-upload-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n </div>\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={\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.info.title\"\n defaultMessage=\"Photo of a government-issued ID\"\n />\n }\n subtitle={\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.info.subtitle\"\n defaultMessage=\"Drivers 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/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","LogoComponent","IdCheckLoopRegulaComponent","Fragment","AnnouncingHeader","FormattedHTMLMessage","StepCardComponent"],"mappings":";;;AAUO,MAAMA,IAA0B,CAAC,EAAE,qBAAAC,EAAA,MACxCC,gBAAAA,EAAAA,IAACC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OAAA,EACC,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KAAA,EACC,UAAAA,gBAAAA,EAAAA;AAAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,mBACEH,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAAA;AAAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,QAGJ,gBACEH,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAAA;AAAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IAAG;AAA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A,MAAA,GACF;AAAA,MACAf,gBAAAA,MAACF,KAAwB,qBAAAC,EAAA,CAA0C;AAAA,IAAA,EAAA,CACrE;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.145.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1761319651819
|
|
5
|
+
* BUILD_DATE: Fri Oct 24 2025 15:27:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c8148922ef3c22d3cb5b6f5acf53604145609fe3
|
|
7
7
|
*/
|
|
8
|
-
import { k as $, aJ as J, V as i, l as W, aK as X, j as t, N as Y, m as Z, O as G, x as Q, a2 as S, f as o, ac as v, aq as aa, o as d, aL as sa, a4 as ea, T as ta, U as oa, a5 as la, aM as da, aN as na, E as ra, n as ia, Y as ua, W as ma, aa as pa, aj as Ca, ak as ba, X as ha, Z as ya, _ as ga, $ as Ma, p as xa, r as Ia, aO as ja, aP as ca } from "./es6-
|
|
8
|
+
import { k as $, aJ as J, V as i, l as W, aK as X, j as t, N as Y, m as Z, O as G, x as Q, a2 as S, f as o, ac as v, aq as aa, o as d, aL as sa, a4 as ea, T as ta, U as oa, a5 as la, aM as da, aN as na, E as ra, n as ia, Y as ua, W as ma, aa as pa, aj as Ca, ak as ba, X as ha, Z as ya, _ as ga, $ as Ma, p as xa, r as Ia, aO as ja, aP as ca } from "./es6-CqxJnCSS.js";
|
|
9
9
|
import y from "react";
|
|
10
10
|
import { injectIntl as Da, FormattedHTMLMessage as g } from "react-intl";
|
|
11
|
-
import { g as Ea } from "./VerificationApiUtils-
|
|
11
|
+
import { g as Ea } from "./VerificationApiUtils-BLRwwYPE.js";
|
|
12
12
|
const Na = ({
|
|
13
13
|
intl: p,
|
|
14
14
|
verificationService: s
|