@sheerid/jslib-nightly 2.104.0-alpha.0 → 2.104.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/__helpers__/renderers.d.ts +5 -5
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +18054 -16537
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-D-O7IRrU.js → EmailLoopPending-Cp3dQjbH.js} +17 -17
- package/chunk/{EmailLoopPending-D-O7IRrU.js.map → EmailLoopPending-Cp3dQjbH.js.map} +1 -1
- package/chunk/{EmailLoopPending-DmENoLpP.js → EmailLoopPending-WTPkkJsm.js} +17 -17
- package/chunk/{EmailLoopPending-DmENoLpP.js.map → EmailLoopPending-WTPkkJsm.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js +45 -0
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js +49 -0
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js.map +1 -0
- package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js → StepIDCheckLoopOnfido-CQTiZz60.js} +13 -12
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js.map → StepIDCheckLoopOnfido-CQTiZz60.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js → StepIDCheckLoopOnfido-CsO8JOUT.js} +13 -12
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js.map → StepIDCheckLoopOnfido-CsO8JOUT.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-jyg1vIi3.js → StepIDCheckLoopRegula-B2frgNDw.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-B2frgNDw.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-1wd-jJGJ.js → StepIDCheckLoopRegula-VCHUckkA.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-VCHUckkA.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js → StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map → StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js → StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map → StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map} +1 -1
- package/chunk/ar-CtJ_9k3U.js +4 -4
- package/chunk/bg-CWxXfiDq.js +4 -4
- package/chunk/bn-IN-Dpq_hCqt.js +4 -4
- package/chunk/cs-HevyelX7.js +4 -4
- package/chunk/da-6QXhWjWH.js +4 -4
- package/chunk/de-ChuCvRLv.js +4 -4
- package/chunk/el-3IAhABcN.js +4 -4
- package/chunk/en-GB-ByNBaer-.js +4 -4
- package/chunk/es-CL_dUc9X.js +4 -4
- package/chunk/es-ES-CW4At4Ol.js +4 -4
- package/chunk/fi-D8cIebkk.js +4 -4
- package/chunk/fr-BDU-1C6f.js +4 -4
- package/chunk/fr-CA-Dc02rv8D.js +4 -4
- package/chunk/ga-P7eP-INQ.js +4 -4
- package/chunk/hi-IN-DlmwjoqH.js +4 -4
- package/chunk/hr-CT_VP_lm.js +4 -4
- package/chunk/hu-I8Z1uXsR.js +4 -4
- package/chunk/id-CUPTGKOT.js +4 -4
- package/chunk/{index-rjS-77t0.js → index-2QV6VPA3.js} +7 -7
- package/chunk/{index-rjS-77t0.js.map → index-2QV6VPA3.js.map} +1 -1
- package/chunk/{index-BSXBGGOf.js → index-4APDQFqJ.js} +10 -10
- package/chunk/{index-BSXBGGOf.js.map → index-4APDQFqJ.js.map} +1 -1
- package/chunk/{index-D1j4nnQa.js → index-B30_E6pJ.js} +31 -31
- package/chunk/{index-D1j4nnQa.js.map → index-B30_E6pJ.js.map} +1 -1
- package/chunk/{index-D_lbJwrN.js → index-B3NA0DdP.js} +86 -87
- package/chunk/index-B3NA0DdP.js.map +1 -0
- package/chunk/{index-DJReh58z.js → index-BDw8efPp.js} +15 -15
- package/chunk/{index-DJReh58z.js.map → index-BDw8efPp.js.map} +1 -1
- package/{lib/index-CyiYceqn.js → chunk/index-BFMTiaJv.js} +32 -33
- package/chunk/{index-D6RaCifq.js.map → index-BFMTiaJv.js.map} +1 -1
- package/chunk/{index-D6RaCifq.js → index-BGCnajPS.js} +30 -30
- package/chunk/{index-IntP52Fm.js.map → index-BGCnajPS.js.map} +1 -1
- package/chunk/index-BIn_Jf1h.js +48 -0
- package/chunk/index-BIn_Jf1h.js.map +1 -0
- package/chunk/{index-2tpdu0Sm.js → index-BOpxl8V9.js} +28 -28
- package/{lib/index-9ka8yNRo.js.map → chunk/index-BOpxl8V9.js.map} +1 -1
- package/chunk/{index-vIL1gjSk.js → index-BPEB_HHW.js} +219 -237
- package/chunk/index-BPEB_HHW.js.map +1 -0
- package/chunk/{index-CGKKTwvx.js → index-BhkJfnda.js} +15 -15
- package/chunk/{index-CGKKTwvx.js.map → index-BhkJfnda.js.map} +1 -1
- package/chunk/{index-Cb7GlxEu.js → index-BtYzUCrC.js} +11 -11
- package/chunk/{index-BmJ3aubI.js.map → index-BtYzUCrC.js.map} +1 -1
- package/chunk/{index-C6cgSdQ9.js → index-C0jDbJPp.js} +43 -43
- package/chunk/{index-BjWeyRVL.js.map → index-C0jDbJPp.js.map} +1 -1
- package/chunk/{index-DFjiwKs3.js → index-C9bZ7enn.js} +7 -7
- package/chunk/{index-DFjiwKs3.js.map → index-C9bZ7enn.js.map} +1 -1
- package/chunk/{index-BJxmlJd1.js → index-CaSKZsTY.js} +15 -15
- package/{lib/index-DcOpzG-K.js.map → chunk/index-CaSKZsTY.js.map} +1 -1
- package/chunk/index-CfKAGYGb.js +52 -0
- package/chunk/index-CfKAGYGb.js.map +1 -0
- package/chunk/{index-whConjrR.js → index-CgBENXRP.js} +23 -23
- package/{lib/index-BAFdbWcI.js.map → chunk/index-CgBENXRP.js.map} +1 -1
- package/chunk/{index-F-HVkQz5.js → index-CgSW4Vzh.js} +44 -44
- package/{lib/index-CLj9YCrn.js.map → chunk/index-CgSW4Vzh.js.map} +1 -1
- package/chunk/{index-BrVZpRb7.js → index-CtqWr1aK.js} +58 -58
- package/chunk/{index-BgB4HxER.js.map → index-CtqWr1aK.js.map} +1 -1
- package/chunk/{index-CEidf7uT.js → index-D3dphMnl.js} +15 -15
- package/chunk/{index-BJxmlJd1.js.map → index-D3dphMnl.js.map} +1 -1
- package/chunk/{index-GaKINs6g.js → index-D7dDB9pN.js} +23 -23
- package/chunk/{index-i9-QlgZ0.js.map → index-D7dDB9pN.js.map} +1 -1
- package/chunk/{index-D6Gez9pU.js → index-DB9SisGK.js} +21 -21
- package/chunk/{index-DyHhX3QL.js.map → index-DB9SisGK.js.map} +1 -1
- package/chunk/{index-BgB4HxER.js → index-DFQ4PjGJ.js} +58 -58
- package/chunk/{index-BrVZpRb7.js.map → index-DFQ4PjGJ.js.map} +1 -1
- package/chunk/{index-i9-QlgZ0.js → index-DIV55Je2.js} +23 -23
- package/chunk/{index-GaKINs6g.js.map → index-DIV55Je2.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-Cq8qB8GK.js → index-DPEoeYI6.js} +44 -44
- package/chunk/{index-F-HVkQz5.js.map → index-DPEoeYI6.js.map} +1 -1
- package/chunk/{index-DPLvpl1z.js → index-DWjrZunN.js} +10 -10
- package/{lib/index-D-0wY68l.js.map → chunk/index-DWjrZunN.js.map} +1 -1
- package/chunk/{index-DR_Yi6nm.js → index-DZsw9-0u.js} +219 -237
- package/chunk/index-DZsw9-0u.js.map +1 -0
- package/chunk/{index-1tM2UWke.js → index-Dl7QItmr.js} +48 -56
- package/chunk/{index-C3tQa9xA.js.map → index-Dl7QItmr.js.map} +1 -1
- package/chunk/{index-y-QcpyIc.js → index-DtoxnCtM.js} +28 -28
- package/chunk/{index-2tpdu0Sm.js.map → index-DtoxnCtM.js.map} +1 -1
- package/chunk/{index-DyHhX3QL.js → index-MRhfTdmm.js} +21 -21
- package/chunk/{index-D6Gez9pU.js.map → index-MRhfTdmm.js.map} +1 -1
- package/chunk/{index-D8z4eipH.js → index-NjSUlAP4.js} +53 -53
- package/chunk/{index-ygMzyxW9.js.map → index-NjSUlAP4.js.map} +1 -1
- package/chunk/{index-BjWeyRVL.js → index-RmF57u5_.js} +43 -43
- package/chunk/{index-C6cgSdQ9.js.map → index-RmF57u5_.js.map} +1 -1
- package/chunk/{index-25aIMfhs.js → index-XXxK9rgV.js} +86 -87
- package/chunk/index-XXxK9rgV.js.map +1 -0
- package/chunk/{index-DZ0bnNgg.js → index-_ohn63ug.js} +31 -31
- package/chunk/{index-DZ0bnNgg.js.map → index-_ohn63ug.js.map} +1 -1
- package/chunk/{index-C3tQa9xA.js → index-aKTpkBwz.js} +48 -56
- package/chunk/{index-1tM2UWke.js.map → index-aKTpkBwz.js.map} +1 -1
- package/chunk/{index-ygMzyxW9.js → index-oMg5zy_2.js} +53 -53
- package/chunk/{index-D8z4eipH.js.map → index-oMg5zy_2.js.map} +1 -1
- package/chunk/{index-BmJ3aubI.js → index-qAxcloBs.js} +11 -11
- package/chunk/{index-Cb7GlxEu.js.map → index-qAxcloBs.js.map} +1 -1
- package/chunk/{index-n6-LNqUp.js → index-tFgJS6bB.js} +23 -23
- package/chunk/{index-n6-LNqUp.js.map → index-tFgJS6bB.js.map} +1 -1
- package/chunk/is-CUuXi4qZ.js +4 -4
- package/chunk/it-BNmynTsg.js +4 -4
- package/chunk/iw-FGzquR_X.js +4 -4
- package/chunk/ja-YgUpXA0l.js +4 -4
- package/chunk/ko-CuNS5J_M.js +4 -4
- package/chunk/lo-BEf8aFjR.js +4 -4
- package/chunk/lt-DvX1gz1a.js +4 -4
- package/chunk/ms-gSqM-Mfi.js +4 -4
- package/chunk/nl-BE-Cid5LFlN.js +4 -4
- package/chunk/nl-CUUTswxa.js +4 -4
- package/chunk/no-BvUqlShV.js +4 -4
- package/chunk/pl-CU8leZhI.js +4 -4
- package/chunk/pt-BR-CboWpHFi.js +4 -4
- package/chunk/pt-BnK7xRT_.js +4 -4
- package/chunk/ro-BfAyXxSW.js +4 -4
- package/chunk/ru-BD-YGPuQ.js +4 -4
- package/chunk/sk-CqsabpdG.js +4 -4
- package/chunk/sl-CeVAf0S_.js +4 -4
- package/chunk/sr-DSaHxcCQ.js +4 -4
- package/chunk/sv-DOyWYViy.js +4 -4
- package/chunk/sw-2Q7Jo6wp.js +4 -4
- package/chunk/th-BZ6F9sPf.js +4 -4
- package/chunk/tr-om80xrv2.js +4 -4
- package/chunk/uk-Dxugux8e.js +4 -4
- package/chunk/ur-OBILUeZ7.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js → useCollectFieldsEndpoint-BsY8WlOg.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js.map → useCollectFieldsEndpoint-BsY8WlOg.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js → useCollectFieldsEndpoint-DeICm6Vb.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js.map → useCollectFieldsEndpoint-DeICm6Vb.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js → useEmailFirstExperiment-3uKuefem.js} +29 -30
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js.map → useEmailFirstExperiment-3uKuefem.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js → useEmailFirstExperiment-B1_E_D0z.js} +29 -30
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js.map → useEmailFirstExperiment-B1_E_D0z.js.map} +1 -1
- package/chunk/vi-BOR2GuRI.js +4 -4
- package/chunk/zh-HK-BI-IHOGG.js +4 -4
- package/chunk/zh-eoMG5RFC.js +4 -4
- package/chunk/zu-D_A8wcJW.js +4 -4
- package/dev/programIds.d.ts +1 -1
- package/es6.css +4 -4
- package/jslib.js +25 -25
- package/lib/{EmailLoopPending-DUy2k56y.js → EmailLoopPending-CqGboDpE.js} +14 -14
- package/lib/{EmailLoopPending-DUy2k56y.js.map → EmailLoopPending-CqGboDpE.js.map} +1 -1
- package/lib/LicensedProfessionalOrganizationComponent-DZ-zCLNb.js +46 -0
- package/lib/LicensedProfessionalOrganizationComponent-DZ-zCLNb.js.map +1 -0
- package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-BdghJG7J.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-u1rI8N4t.js.map → StepCollectMilitaryStatusComponent-BdghJG7J.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-DirszrOR.js → StepIDCheckLoopOnfido-C6a2v64o.js} +19 -19
- package/lib/{StepIDCheckLoopOnfido-DirszrOR.js.map → StepIDCheckLoopOnfido-C6a2v64o.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-DoIQP1h2.js → StepIDCheckLoopRegula-B4gdB1au.js} +17 -16
- package/lib/StepIDCheckLoopRegula-B4gdB1au.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js → StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js} +52 -52
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js.map → StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js.map} +1 -1
- package/lib/VerificationApiUtils-Dec-3NxE.js +23 -0
- package/lib/{VerificationApiUtils-DXDQAg5m.js.map → VerificationApiUtils-Dec-3NxE.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-CNbgOM7D.js +27974 -0
- package/lib/es6-CNbgOM7D.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-CCflTrqh.js → index-B-vvoe4K.js} +52 -52
- package/lib/{index-CCflTrqh.js.map → index-B-vvoe4K.js.map} +1 -1
- package/lib/index-BUb81vE5.js +11 -0
- package/lib/index-BUb81vE5.js.map +1 -0
- package/{chunk/index-IntP52Fm.js → lib/index-BgxQ03Lw.js} +23 -22
- package/lib/{index-CyiYceqn.js.map → index-BgxQ03Lw.js.map} +1 -1
- package/lib/{index-D-0wY68l.js → index-BpAwd4yZ.js} +10 -10
- package/{chunk/index-DPLvpl1z.js.map → lib/index-BpAwd4yZ.js.map} +1 -1
- package/lib/index-BqMoknWH.js +28 -0
- package/lib/{index-Da2aS2uY.js.map → index-BqMoknWH.js.map} +1 -1
- package/lib/{index-uCUcf8WW.js → index-Bs8gT2Ki.js} +5 -5
- package/lib/{index-uCUcf8WW.js.map → index-Bs8gT2Ki.js.map} +1 -1
- package/lib/{index-9ka8yNRo.js → index-BvZhF_Rn.js} +23 -23
- package/{chunk/index-y-QcpyIc.js.map → lib/index-BvZhF_Rn.js.map} +1 -1
- package/lib/{index-C1JFiqbD.js → index-CF4-uNPC.js} +29 -29
- package/lib/{index-C1JFiqbD.js.map → index-CF4-uNPC.js.map} +1 -1
- package/lib/{index-BAFdbWcI.js → index-CFbGwQvV.js} +32 -32
- package/{chunk/index-whConjrR.js.map → lib/index-CFbGwQvV.js.map} +1 -1
- package/lib/{index-CgJWGuRF.js → index-CFdjELC4.js} +26 -26
- package/lib/{index-CgJWGuRF.js.map → index-CFdjELC4.js.map} +1 -1
- package/lib/{index-CJfYYEay.js → index-CHCJ1GKm.js} +7 -7
- package/lib/{index-CJfYYEay.js.map → index-CHCJ1GKm.js.map} +1 -1
- package/lib/{index-DcOpzG-K.js → index-CWWXURVN.js} +5 -5
- package/{chunk/index-CEidf7uT.js.map → lib/index-CWWXURVN.js.map} +1 -1
- package/lib/{index-CwqfypY1.js → index-CwEH1Xqn.js} +5 -5
- package/lib/{index-CwqfypY1.js.map → index-CwEH1Xqn.js.map} +1 -1
- package/lib/index-DFexphfg.js +11 -0
- package/lib/index-DFexphfg.js.map +1 -0
- package/lib/{index-CLj9YCrn.js → index-DIJ3ZLm3.js} +27 -27
- package/{chunk/index-Cq8qB8GK.js.map → lib/index-DIJ3ZLm3.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-CkW6g9oh.js → index-Da-h4i4f.js} +23 -23
- package/lib/{index-CkW6g9oh.js.map → index-Da-h4i4f.js.map} +1 -1
- package/lib/index-DbevfyP-.js +11 -0
- package/lib/index-DbevfyP-.js.map +1 -0
- package/lib/{index--qLF6ZOW.js → index-DiEccR2E.js} +75 -76
- package/lib/index-DiEccR2E.js.map +1 -0
- package/lib/{index-AWpSRRq3.js → index-Dz5MfyRl.js} +63 -63
- package/lib/{index-AWpSRRq3.js.map → index-Dz5MfyRl.js.map} +1 -1
- package/lib/{index-VC3WFrsr.js → index-JHJAgNn2.js} +9 -9
- package/lib/{index-VC3WFrsr.js.map → index-JHJAgNn2.js.map} +1 -1
- package/lib/{index-DEYBhR7F.js → index-U8Xg6WS9.js} +25 -25
- package/lib/{index-DEYBhR7F.js.map → index-U8Xg6WS9.js.map} +1 -1
- package/lib/index-aInot7yT.js +11 -0
- package/lib/index-aInot7yT.js.map +1 -0
- package/lib/{index-CY10ElCy.js → index-s1MF80_2.js} +385 -402
- package/lib/index-s1MF80_2.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-DhvzoNQ8.js → useCollectFieldsEndpoint-DLjeRtxA.js} +8 -8
- package/lib/{useCollectFieldsEndpoint-DhvzoNQ8.js.map → useCollectFieldsEndpoint-DLjeRtxA.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-r3ZPOBWV.js → useEmailFirstExperiment-RXZazerr.js} +6 -7
- package/lib/{useEmailFirstExperiment-r3ZPOBWV.js.map → useEmailFirstExperiment-RXZazerr.js.map} +1 -1
- package/lib/vi-BOR2GuRI.js +4 -4
- package/lib/zh-HK-BI-IHOGG.js +4 -4
- package/lib/zh-eoMG5RFC.js +4 -4
- package/lib/zu-D_A8wcJW.js +4 -4
- package/package.json +4 -4
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -6
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +18070 -16553
- package/sheerid.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
- package/src/components/Button/Button.d.ts +1 -0
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/src/components/DateComponent/DateComponent.d.ts +2 -2
- package/src/components/ExtraMessage.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
- package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
- package/src/components/FetchOrganizationsComponent.d.ts +1 -1
- package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
- package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
- package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
- package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
- package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
- package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
- package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
- package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
- package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
- package/src/components/Layout/Layout.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +3 -3
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
- package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
- package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
- package/src/components/SingleSignOnComponent.d.ts +2 -2
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
- package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
- package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepError/StepErrorComponent.d.ts +2 -2
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
- package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
- package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
- package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
- package/src/lib/hooks/index.d.ts +1 -1
- package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
- package/src/lib/installScript/affinity.d.ts +1 -1
- package/src/lib/installScript/iframe.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +3 -3
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/state/contextHooks.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +1 -1
- package/src/lib/types/types.d.ts +7 -8
- package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js +0 -55
- package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js +0 -51
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +0 -1
- package/chunk/index-25aIMfhs.js.map +0 -1
- package/chunk/index-B_CvWvhW.js +0 -27
- package/chunk/index-B_CvWvhW.js.map +0 -1
- package/chunk/index-Bv_0MGCt.js +0 -31
- package/chunk/index-Bv_0MGCt.js.map +0 -1
- package/chunk/index-DR_Yi6nm.js.map +0 -1
- package/chunk/index-D_lbJwrN.js.map +0 -1
- package/chunk/index-vIL1gjSk.js.map +0 -1
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js +0 -52
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-u1rI8N4t.js +0 -11
- package/lib/StepIDCheckLoopRegula-DoIQP1h2.js.map +0 -1
- package/lib/VerificationApiUtils-DXDQAg5m.js +0 -21
- package/lib/es6-DS7nD0gX.js +0 -26840
- package/lib/es6-DS7nD0gX.js.map +0 -1
- package/lib/index--qLF6ZOW.js.map +0 -1
- package/lib/index-0NkCv3Y-.js +0 -11
- package/lib/index-0NkCv3Y-.js.map +0 -1
- package/lib/index-B9dEWYQH.js +0 -11
- package/lib/index-B9dEWYQH.js.map +0 -1
- package/lib/index-BY6Xy81u.js +0 -11
- package/lib/index-BY6Xy81u.js.map +0 -1
- package/lib/index-C3Iqch6i.js +0 -11
- package/lib/index-C3Iqch6i.js.map +0 -1
- package/lib/index-CY10ElCy.js.map +0 -1
- package/lib/index-Da2aS2uY.js +0 -28
@@ -0,0 +1,48 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* VERSION: 2.104.0-alpha.1
|
4
|
+
* BUILD_TIMESTAMP: 1746127986395
|
5
|
+
* BUILD_DATE: Thu May 01 2025 19:33:06 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
|
7
|
+
*/
|
8
|
+
import { j as e, aH as t, b7 as p, r as d, b8 as a, ag as r } from "../sheerid.js";
|
9
|
+
const n = ({
|
10
|
+
icon: s,
|
11
|
+
title: c,
|
12
|
+
subtitle: o = void 0,
|
13
|
+
isHighlighted: i = !1
|
14
|
+
}) => /* @__PURE__ */ e.jsxs(
|
15
|
+
"div",
|
16
|
+
{
|
17
|
+
className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
|
18
|
+
children: [
|
19
|
+
/* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__icon", children: s }),
|
20
|
+
/* @__PURE__ */ e.jsxs("div", { className: "sid-id-check-step-card__description", children: [
|
21
|
+
/* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__title", children: c }),
|
22
|
+
o && /* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__subtitle sid-l-space-top-sm", children: o })
|
23
|
+
] })
|
24
|
+
]
|
25
|
+
}
|
26
|
+
), m = n, l = d.lazy(
|
27
|
+
() => import("./StepIDCheckLoopOnfido-CQTiZz60.js")
|
28
|
+
), h = d.lazy(
|
29
|
+
() => import("./StepIDCheckLoopRegula-B2frgNDw.js")
|
30
|
+
), C = ({ verificationService: s }) => {
|
31
|
+
const c = s.verificationResponse, i = t(
|
32
|
+
p
|
33
|
+
) || c.idCheckServiceType;
|
34
|
+
return /* @__PURE__ */ e.jsx(
|
35
|
+
d.Suspense,
|
36
|
+
{
|
37
|
+
fallback: /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(r, { step: "idCheckLoop" }) }),
|
38
|
+
children: i === a.ID_CHECK ? /* @__PURE__ */ e.jsx(h, { verificationService: s }) : /* @__PURE__ */ e.jsx(l, { verificationService: s })
|
39
|
+
}
|
40
|
+
);
|
41
|
+
}, _ = C, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
42
|
+
__proto__: null,
|
43
|
+
default: _
|
44
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
45
|
+
export {
|
46
|
+
m as S,
|
47
|
+
S as i
|
48
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-BIn_Jf1h.js","sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx","../../src/components/StepIDCheckLoop/StepIDCheckLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n","import React, { Suspense, lazy } from \"react\";\nimport { IdCheckLoopServiceType } from \"../../lib/types/runtimeTypes\";\n\nimport { IDCheckLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { QUERY_STRING_ID_CHECK_LOOP_SERVICE_TYPE_OVERRIDE } from \"../../constants\";\nimport { getQueryOrOption } from \"../../lib/ServerApi/TestingRouteOverrides\";\nimport { LoadingScreenComponent } from \"../LoadingScreen/LoadingScreenComponent\";\n\nconst StepIDCheckLoopOnfido = lazy(\n () => import(\"./Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido\"),\n);\nconst StepIDCheckLoopRegula = lazy(\n () => import(\"./Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula\"),\n);\n\nexport interface StepIDCheckLoopComponentProps {\n verificationService: VerificationService;\n}\n\n/**\n * The idCheckLoop step consists of two 3rd party identity verification services. One is `Onfido`, which performs a\n * governemnt ID based identity confirmation, in addition to a liveness check. The other is `Regula`, which only\n * performs identity confirmation without a liveness check. The verification API's serviceType property denotes\n * them as such.\n */\nconst StepIDCheckLoop = ({ verificationService }: StepIDCheckLoopComponentProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const mockIdCheckLoopServiceType = getQueryOrOption(\n QUERY_STRING_ID_CHECK_LOOP_SERVICE_TYPE_OVERRIDE,\n );\n\n const idCheckServiceType = mockIdCheckLoopServiceType || verificationResponse.idCheckServiceType;\n\n return (\n <Suspense\n fallback={\n <div className=\"sid-l-horz-center\">\n <LoadingScreenComponent step=\"idCheckLoop\" />\n </div>\n }\n >\n {idCheckServiceType === IdCheckLoopServiceType.ID_CHECK ? (\n <StepIDCheckLoopRegula verificationService={verificationService} />\n ) : (\n <StepIDCheckLoopOnfido verificationService={verificationService} />\n )}\n </Suspense>\n );\n};\n\nexport const StepIDCheckLoopComponent = StepIDCheckLoop;\n"],"names":["StepCard","icon","title","subtitle","isHighlighted","jsxs","jsx","StepCardComponent","StepIDCheckLoopOnfido","lazy","StepIDCheckLoopRegula","StepIDCheckLoop","verificationService","verificationResponse","idCheckServiceType","getQueryOrOption","QUERY_STRING_ID_CHECK_LOOP_SERVICE_TYPE_OVERRIDE","Suspense","LoadingScreenComponent","IdCheckLoopServiceType","StepIDCheckLoopComponent"],"mappings":";AASA,MAAMA,IAAW,CAAC;AAAA,EAChB,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,eAAAC,IAAgB;AAClB,MACEC,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,0BAA0BD,KAAiB,qCAAqC;AAAA,IAE3F,UAAA;AAAA,MAACE,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAU,gCAAgC,UAAKL,GAAA;AAAA,MAEpDI,gBAAAA,EAAAA,KAAC,OAAI,EAAA,WAAU,uCACb,UAAA;AAAA,QAACC,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAU,iCAAiC,UAAMJ,GAAA;AAAA,QACrDC,KACCG,gBAAAA,EAAA,IAAC,OAAI,EAAA,WAAU,uDAAuD,UAASH,EAAA,CAAA;AAAA,MAAA,EAEnF,CAAA;AAAA,IAAA;AAAA,EAAA;AACF,GAGWI,IAAoBP,GCpB3BQ,IAAwBC,EAAA;AAAA,EAC5B,MAAM,OAAO,qCAAsD;AACrE,GACMC,IAAwBD,EAAA;AAAA,EAC5B,MAAM,OAAO,qCAA+D;AAC9E,GAYME,IAAkB,CAAC,EAAE,qBAAAC,QAAyD;AAClF,QAAMC,IAAuBD,EAAoB,sBAK3CE,IAJ6BC;AAAA,IACjCC;AAAA,EACF,KAEyDH,EAAqB;AAG5E,SAAAP,gBAAAA,EAAA;AAAA,IAACW,EAAA;AAAA,IAAA;AAAA,MACC,gCACG,OAAI,EAAA,WAAU,qBACb,UAACX,gBAAAA,EAAA,IAAAY,GAAA,EAAuB,MAAK,cAAA,CAAc,EAC7C,CAAA;AAAA,MAGD,UAAAJ,MAAuBK,EAAuB,WAC7Cb,gBAAAA,EAAAA,IAACI,KAAsB,qBAAAE,EAA0C,CAAA,IAEhEN,gBAAAA,EAAAA,IAAAE,GAAA,EAAsB,qBAAAI,EAA0C,CAAA;AAAA,IAAA;AAAA,EAErE;AAEJ,GAEaQ,IAA2BT;;;;"}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.104.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE: Thu May 01 2025
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.104.0-alpha.1
|
4
|
+
* BUILD_TIMESTAMP: 1746127986395
|
5
|
+
* BUILD_DATE: Thu May 01 2025 19:33:06 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
|
7
7
|
*/
|
8
|
-
import { h as
|
9
|
-
const
|
8
|
+
import { h as T, j as a, s as f, t as k, P as z, v as O, Q as R, x as t, T as V, U as q, u as d, w as B, y as L, E as W, d as w, a as N, W as H, X as K, D as A, G, M as Q, H as U, e as X, V as J, k as Y } from "../sheerid.js";
|
9
|
+
const Z = ({ verificationService: s }) => {
|
10
10
|
var r, p, b, u, h, C, x, g, M, i, I;
|
11
|
-
const o = s.viewModel, { fieldValidationErrors: n } = s, m = s.verificationResponse, j =
|
12
|
-
const D =
|
11
|
+
const o = s.viewModel, { fieldValidationErrors: n } = s, m = s.verificationResponse, j = T(m), E = k(), y = o.localeChoice.value, l = (e, F) => {
|
12
|
+
const D = Y(
|
13
13
|
o,
|
14
14
|
(P) => {
|
15
15
|
P[e] = F;
|
@@ -18,41 +18,41 @@ const Q = ({ verificationService: s }) => {
|
|
18
18
|
s.updateViewModel(D);
|
19
19
|
};
|
20
20
|
return /* @__PURE__ */ a.jsxs(
|
21
|
-
|
21
|
+
f,
|
22
22
|
{
|
23
23
|
verificationService: s,
|
24
24
|
step: m.currentStep,
|
25
25
|
children: [
|
26
26
|
/* @__PURE__ */ a.jsx(
|
27
|
-
|
27
|
+
z,
|
28
28
|
{
|
29
29
|
verificationService: s,
|
30
30
|
classNameIdentifier: "member-personal-info"
|
31
31
|
}
|
32
32
|
),
|
33
|
-
/* @__PURE__ */ a.jsx(
|
33
|
+
/* @__PURE__ */ a.jsx(O, { verificationService: s }),
|
34
34
|
/* @__PURE__ */ a.jsx(
|
35
|
-
|
35
|
+
R,
|
36
36
|
{
|
37
37
|
verificationService: s,
|
38
38
|
disabled: (r = t("country")) == null ? void 0 : r.disabled
|
39
39
|
}
|
40
40
|
),
|
41
41
|
/* @__PURE__ */ a.jsx(
|
42
|
-
|
42
|
+
V,
|
43
43
|
{
|
44
44
|
value: s.viewModel.organization,
|
45
45
|
verificationService: s,
|
46
46
|
isErrored: !!n.organization,
|
47
47
|
disabled: (p = t("organization")) == null ? void 0 : p.disabled,
|
48
48
|
onChange: (e) => {
|
49
|
-
|
49
|
+
q(e, s), d("organization", e, s);
|
50
50
|
}
|
51
51
|
}
|
52
52
|
),
|
53
53
|
/* @__PURE__ */ a.jsxs("div", { className: "sid-names", children: [
|
54
54
|
/* @__PURE__ */ a.jsx(
|
55
|
-
|
55
|
+
B,
|
56
56
|
{
|
57
57
|
value: o.firstName,
|
58
58
|
isErrored: !!n.firstName,
|
@@ -63,7 +63,7 @@ const Q = ({ verificationService: s }) => {
|
|
63
63
|
}
|
64
64
|
),
|
65
65
|
/* @__PURE__ */ a.jsx(
|
66
|
-
|
66
|
+
L,
|
67
67
|
{
|
68
68
|
value: o.lastName,
|
69
69
|
isErrored: !!n.lastName,
|
@@ -75,7 +75,7 @@ const Q = ({ verificationService: s }) => {
|
|
75
75
|
)
|
76
76
|
] }),
|
77
77
|
/* @__PURE__ */ a.jsx(
|
78
|
-
|
78
|
+
W,
|
79
79
|
{
|
80
80
|
value: o.email,
|
81
81
|
isErrored: !!n.email,
|
@@ -83,12 +83,12 @@ const Q = ({ verificationService: s }) => {
|
|
83
83
|
onChange: (e) => {
|
84
84
|
l("email", e), d("email", e, s);
|
85
85
|
},
|
86
|
-
onKeyDown: (e) =>
|
86
|
+
onKeyDown: (e) => w(e),
|
87
87
|
disabled: (h = t("email")) == null ? void 0 : h.disabled
|
88
88
|
}
|
89
89
|
),
|
90
90
|
/* @__PURE__ */ a.jsx(
|
91
|
-
|
91
|
+
H,
|
92
92
|
{
|
93
93
|
errorId: n.birthDate,
|
94
94
|
locale: y,
|
@@ -101,7 +101,7 @@ const Q = ({ verificationService: s }) => {
|
|
101
101
|
}
|
102
102
|
),
|
103
103
|
/* @__PURE__ */ a.jsx(
|
104
|
-
|
104
|
+
K,
|
105
105
|
{
|
106
106
|
value: o.memberId,
|
107
107
|
isErrored: !!n.memberId,
|
@@ -113,7 +113,7 @@ const Q = ({ verificationService: s }) => {
|
|
113
113
|
}
|
114
114
|
),
|
115
115
|
s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
|
116
|
-
|
116
|
+
A,
|
117
117
|
{
|
118
118
|
isRequired: !!s.programTheme.smsLoopEnabled,
|
119
119
|
value: o.phoneNumber,
|
@@ -125,9 +125,9 @@ const Q = ({ verificationService: s }) => {
|
|
125
125
|
disabled: (i = t("phoneNumber")) == null ? void 0 : i.disabled
|
126
126
|
}
|
127
127
|
) : null,
|
128
|
-
E.customFormFields.map((e) => /* @__PURE__ */ a.jsx(
|
128
|
+
E.customFormFields.map((e) => /* @__PURE__ */ a.jsx(G, { config: e, verificationService: s })),
|
129
129
|
/* @__PURE__ */ a.jsx(
|
130
|
-
|
130
|
+
Q,
|
131
131
|
{
|
132
132
|
verificationService: s,
|
133
133
|
isErrored: !!n.marketConsentValue,
|
@@ -141,11 +141,11 @@ const Q = ({ verificationService: s }) => {
|
|
141
141
|
disabled: (I = t("marketConsentValue")) == null ? void 0 : I.disabled
|
142
142
|
}
|
143
143
|
),
|
144
|
-
/* @__PURE__ */ a.jsx(
|
144
|
+
/* @__PURE__ */ a.jsx(U, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
145
145
|
/* @__PURE__ */ a.jsx(
|
146
|
-
|
146
|
+
X,
|
147
147
|
{
|
148
|
-
step:
|
148
|
+
step: J.collectMemberPersonalInfo,
|
149
149
|
verificationService: s,
|
150
150
|
viewModel: o,
|
151
151
|
failedInstantMatch: j,
|
@@ -161,7 +161,7 @@ const Q = ({ verificationService: s }) => {
|
|
161
161
|
]
|
162
162
|
}
|
163
163
|
);
|
164
|
-
},
|
164
|
+
}, $ = Z;
|
165
165
|
export {
|
166
|
-
|
166
|
+
$ as default
|
167
167
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index-9ka8yNRo.js","sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n Organization,\n MemberPersonalInfoViewModel,\n MemberPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"names":["StepMemberPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","locale","updateMemberViewModel","key","value","nextState","produce","draft","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","MembershipOrganizationComponent","_b","choice","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","FirstName","_c","newValue","LastName","_d","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_e","BirthDate","_f","_g","MemberId","_h","_i","PhoneNumber","_j","config","FormFieldCustom","MarketConsentWrapperComponent","_k","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMemberPersonalInfoComponent"],"mappings":";;AAyCA,MAAMA,IAAyB,CAAC,EAAE,qBAAAC,QAAgE;;AAChG,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,KAEVC,IAASP,EAAU,aAAa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AAsB,YAAY;AAAA,gBAChC,GAAGT,EAAoB,UAAU;AAAA,gBACjC,oBAAoB8B;AAAA,cAAA,CACrB,GACoCH,EAAA,sBAAsBG,GAAU9B,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUgD,IAAA3B,EAAwB,oBAAoB,MAA5C,gBAAA2B,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAEChC,gBAAAA,EAAAA,IAAAiC,GAAA,EAAa,qBAAAlD,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFiB,gBAAAA,EAAA;AAAA,UAACkC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAApD;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEa,gBAAAA,EAAA;AAAA,cAACiB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEamB,IAAkCtD;"}
|
1
|
+
{"version":3,"file":"index-BOpxl8V9.js","sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n Organization,\n MemberPersonalInfoViewModel,\n MemberPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"names":["StepMemberPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","locale","updateMemberViewModel","key","value","nextState","produce","draft","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","MembershipOrganizationComponent","_b","choice","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","FirstName","_c","newValue","LastName","_d","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_e","BirthDate","_f","_g","MemberId","_h","_i","PhoneNumber","_j","config","FormFieldCustom","MarketConsentWrapperComponent","_k","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMemberPersonalInfoComponent"],"mappings":";AAyCA,MAAMA,IAAyB,CAAC,EAAE,qBAAAC,QAAgE;;AAChG,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAW,GAErBC,IAASP,EAAU,aAAa,OAEhCQ,IAAwB,CAACC,GAAwCC,MAAe;AACpF,UAAMC,IAAyCC;AAAAA,MAC7CZ;AAAA,MACA,CAACa,MAAuC;AACrC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MAAA;AAAA,IAE1B;AACA,IAAAX,EAAoB,gBAAgBY,CAAS;AAAA,EAC/C;AAGE,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAAhB;AAAA,MACA,MAAMG,EAAqB;AAAA,MAE3B,UAAA;AAAA,QAAAc,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,qBAAAlB;AAAA,YACA,qBAAo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