@sheerid/jslib 2.275.0 → 2.277.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 +873 -869
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DeQlodxe.js → AddressComponent-C3iwf09x.js} +7 -7
- package/chunk/{AddressComponent-BGFbAsvK.js.map → AddressComponent-C3iwf09x.js.map} +1 -1
- package/chunk/{AddressComponent-BGFbAsvK.js → AddressComponent-oDHvr6bn.js} +7 -7
- package/chunk/{AddressComponent-DeQlodxe.js.map → AddressComponent-oDHvr6bn.js.map} +1 -1
- package/chunk/{AnnouncingHeader-D01_AW-Z.js → AnnouncingHeader-CCVSQeQR.js} +6 -6
- package/chunk/{AnnouncingHeader-Ces-_Aei.js.map → AnnouncingHeader-CCVSQeQR.js.map} +1 -1
- package/chunk/{AnnouncingHeader-Ces-_Aei.js → AnnouncingHeader-YPjBYzsZ.js} +6 -6
- package/chunk/{AnnouncingHeader-D01_AW-Z.js.map → AnnouncingHeader-YPjBYzsZ.js.map} +1 -1
- package/chunk/{ApiUrls-CHE6ck1K.js → ApiUrls-BEuqNxHS.js} +12 -8
- package/chunk/ApiUrls-BEuqNxHS.js.map +1 -0
- package/chunk/ApiUrls-C93kMsSC.js +44 -0
- package/chunk/ApiUrls-C93kMsSC.js.map +1 -0
- package/chunk/{BirthDateComponent-DA7yEebd.js → BirthDateComponent-MZDnneXy.js} +8 -8
- package/chunk/{BirthDateComponent-BzelVdwE.js.map → BirthDateComponent-MZDnneXy.js.map} +1 -1
- package/chunk/{BirthDateComponent-BzelVdwE.js → BirthDateComponent-f9e4it7x.js} +8 -8
- package/chunk/{BirthDateComponent-DA7yEebd.js.map → BirthDateComponent-f9e4it7x.js.map} +1 -1
- package/chunk/{CaptchaComponent-CaHSH2GC.js → CaptchaComponent-CCq7YSum.js} +137 -136
- package/chunk/CaptchaComponent-CCq7YSum.js.map +1 -0
- package/chunk/{CaptchaComponent-DD6kFSw9.js → CaptchaComponent-hqx9tSkk.js} +136 -135
- package/chunk/CaptchaComponent-hqx9tSkk.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-BcCMSbju.js → ChangeLocaleComponent-CKKK4OcA.js} +8 -8
- package/chunk/{ChangeLocaleComponent-BcCMSbju.js.map → ChangeLocaleComponent-CKKK4OcA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-l5uhn4km.js → ChangeLocaleComponent-DtJjnuBc.js} +8 -8
- package/chunk/{ChangeLocaleComponent-l5uhn4km.js.map → ChangeLocaleComponent-DtJjnuBc.js.map} +1 -1
- package/chunk/{City-C1CWD14n.js → City-CUVEjTrI.js} +7 -7
- package/chunk/{City-BJB8URp9.js.map → City-CUVEjTrI.js.map} +1 -1
- package/chunk/{City-BJB8URp9.js → City-Drub1WX8.js} +7 -7
- package/chunk/{City-C1CWD14n.js.map → City-Drub1WX8.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CN-yzFPS.js → CollegeNameComponent-4QYMIIcd.js} +9 -9
- package/chunk/{CollegeNameComponent-CBZS1qbH.js.map → CollegeNameComponent-4QYMIIcd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CBZS1qbH.js → CollegeNameComponent-C47D3rO4.js} +9 -9
- package/chunk/{CollegeNameComponent-CN-yzFPS.js.map → CollegeNameComponent-C47D3rO4.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-CWCaNcMS.js → CopyToClipboardComponent-DGi3bxV2.js} +9 -9
- package/chunk/{CopyToClipboardComponent-C4DDGwe8.js.map → CopyToClipboardComponent-DGi3bxV2.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-C4DDGwe8.js → CopyToClipboardComponent-cLuyXFes.js} +9 -9
- package/chunk/{CopyToClipboardComponent-CWCaNcMS.js.map → CopyToClipboardComponent-cLuyXFes.js.map} +1 -1
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js +78 -0
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +1 -0
- package/chunk/CountryComponentWrapper-DeR9PrA2.js +82 -0
- package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +1 -0
- package/chunk/{DischargeDateComponent-NhaY0FfR.js → DischargeDateComponent-Btg3v71t.js} +21 -21
- package/chunk/{DischargeDateComponent-NhaY0FfR.js.map → DischargeDateComponent-Btg3v71t.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BWErN092.js → DischargeDateComponent-CqKUrGE0.js} +21 -21
- package/chunk/{DischargeDateComponent-BWErN092.js.map → DischargeDateComponent-CqKUrGE0.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CFbngokf.js → DriverLicenseNumberComponent-B2arYwHU.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-CFbngokf.js.map → DriverLicenseNumberComponent-B2arYwHU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Cfjxx2ik.js → DriverLicenseNumberComponent-ByNoEq6v.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-Cfjxx2ik.js.map → DriverLicenseNumberComponent-ByNoEq6v.js.map} +1 -1
- package/chunk/{EmailLoopPending-DsovStZB.js → EmailLoopPending-HyZBgisU.js} +25 -25
- package/chunk/{EmailLoopPending-CKVWdwQ0.js.map → EmailLoopPending-HyZBgisU.js.map} +1 -1
- package/chunk/{EmailLoopPending-CKVWdwQ0.js → EmailLoopPending-ojWCBFjq.js} +24 -24
- package/chunk/{EmailLoopPending-DsovStZB.js.map → EmailLoopPending-ojWCBFjq.js.map} +1 -1
- package/chunk/{ExtraMessage-CpDDdKiN.js → ExtraMessage-BXxlQROb.js} +7 -7
- package/chunk/{ExtraMessage-CpDDdKiN.js.map → ExtraMessage-BXxlQROb.js.map} +1 -1
- package/chunk/{ExtraMessage-DNuEH_rP.js → ExtraMessage-PLTUBdhw.js} +7 -7
- package/chunk/{ExtraMessage-DNuEH_rP.js.map → ExtraMessage-PLTUBdhw.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BwVToZUo.js → FirstResponderOrganizationComponent-BiI8JG49.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-BwVToZUo.js.map → FirstResponderOrganizationComponent-BiI8JG49.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-NdnMGarL.js → FirstResponderOrganizationComponent-BwzXdBV-.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-NdnMGarL.js.map → FirstResponderOrganizationComponent-BwzXdBV-.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C81cxxxF.js → FormFieldInputSelect-C6OyLsWL.js} +7 -7
- package/chunk/{FormFieldInputSelect-C81cxxxF.js.map → FormFieldInputSelect-C6OyLsWL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-ChTWVZ0h.js → FormFieldInputSelect-Cl4QZ12h.js} +7 -7
- package/chunk/{FormFieldInputSelect-ChTWVZ0h.js.map → FormFieldInputSelect-Cl4QZ12h.js.map} +1 -1
- package/chunk/{FormFieldLayout-CuxYu2-h.js → FormFieldLayout-C4SCdGBC.js} +8 -17
- package/chunk/FormFieldLayout-C4SCdGBC.js.map +1 -0
- package/chunk/{FormFieldLayout-BPBIL09f.js → FormFieldLayout-Cj_v9kYa.js} +8 -17
- package/chunk/FormFieldLayout-Cj_v9kYa.js.map +1 -0
- package/chunk/{FormFieldText-Qen7EAhG.js → FormFieldText-BbdrtNh_.js} +7 -7
- package/chunk/{FormFieldText-BTWjkwwz.js.map → FormFieldText-BbdrtNh_.js.map} +1 -1
- package/chunk/{FormFieldText-BTWjkwwz.js → FormFieldText-Gf13Luq7.js} +7 -7
- package/chunk/{FormFieldText-Qen7EAhG.js.map → FormFieldText-Gf13Luq7.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C8HgVKr6.js → FormFieldTypeahead-DTFxOQnf.js} +70 -70
- package/chunk/{FormFieldTypeahead-C8HgVKr6.js.map → FormFieldTypeahead-DTFxOQnf.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CAjM5rBm.js → FormFieldTypeahead-DbrQgvbJ.js} +85 -85
- package/chunk/{FormFieldTypeahead-CAjM5rBm.js.map → FormFieldTypeahead-DbrQgvbJ.js.map} +1 -1
- package/chunk/{FormFooterComponent-BdT7rv1y.js → FormFooterComponent-B2W5vjOS.js} +1949 -1942
- package/chunk/{FormFooterComponent-BdT7rv1y.js.map → FormFooterComponent-B2W5vjOS.js.map} +1 -1
- package/chunk/{FormFooterComponent-B_Wh4HXO.js → FormFooterComponent-CaOt9TQw.js} +196 -189
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +1 -0
- package/chunk/{FormSelectChoice-qC0WYy1y.js → FormSelectChoice-C4LlT7fR.js} +19 -30
- package/chunk/FormSelectChoice-C4LlT7fR.js.map +1 -0
- package/chunk/{FormSelectChoice-cr9QsYX9.js → FormSelectChoice-CClt04rV.js} +19 -30
- package/chunk/FormSelectChoice-CClt04rV.js.map +1 -0
- package/chunk/{InputText-C8Mt-ybW.js → InputText-BXPuBlPq.js} +7 -7
- package/chunk/{InputText-Bw9hR6-E.js.map → InputText-BXPuBlPq.js.map} +1 -1
- package/chunk/{InputText-Bw9hR6-E.js → InputText-h_myNeHr.js} +7 -7
- package/chunk/{InputText-C8Mt-ybW.js.map → InputText-h_myNeHr.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Qr_OcT4S.js → LicensedProfessionalOrganizationComponent-wJSn67h6.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-DD5D6T1j.js.map → LicensedProfessionalOrganizationComponent-wJSn67h6.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DD5D6T1j.js → LicensedProfessionalOrganizationComponent-wfXwXvVc.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Qr_OcT4S.js.map → LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map} +1 -1
- package/chunk/{LogoComponent-BbW4WS1K.js → LogoComponent-Do8K5ydz.js} +6 -6
- package/chunk/{LogoComponent-BbW4WS1K.js.map → LogoComponent-Do8K5ydz.js.map} +1 -1
- package/chunk/{LogoComponent-CRfZyj0K.js → LogoComponent-Dx1G-rzE.js} +6 -6
- package/chunk/{LogoComponent-CRfZyj0K.js.map → LogoComponent-Dx1G-rzE.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-C-ILtROJ.js → LowIncomeOrganizationComponent-C3Dc7HeO.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-C-ILtROJ.js.map → LowIncomeOrganizationComponent-C3Dc7HeO.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-ChuZO5oy.js → LowIncomeOrganizationComponent-D8RlrBXa.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-ChuZO5oy.js.map → LowIncomeOrganizationComponent-D8RlrBXa.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-wF2iUUU3.js → MedicalProfessionalOrganizationComponent-BlEmZTpI.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-QlMPcO92.js.map → MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QlMPcO92.js → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-wF2iUUU3.js.map → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map} +1 -1
- package/chunk/{MemberIdComponent-DbvTJcos.js → MemberIdComponent-5OnkQeLm.js} +7 -7
- package/chunk/{MemberIdComponent-CuflPh6q.js.map → MemberIdComponent-5OnkQeLm.js.map} +1 -1
- package/chunk/{MemberIdComponent-CuflPh6q.js → MemberIdComponent-sR9aGDN4.js} +7 -7
- package/chunk/{MemberIdComponent-DbvTJcos.js.map → MemberIdComponent-sR9aGDN4.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CvpHrQlx.js → MembershipOrganizationComponent-BrbunU1_.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-CvpHrQlx.js.map → MembershipOrganizationComponent-BrbunU1_.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-rAlof4zj.js → MembershipOrganizationComponent-UqzaA4bV.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-rAlof4zj.js.map → MembershipOrganizationComponent-UqzaA4bV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-D55ut5Yp.js → PersonalInfoStepSubmitButton-DA3ceOLw.js} +27 -25
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-C7QmpcVd.js → PersonalInfoStepSubmitButton-D_Y9q0Iy.js} +19 -17
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-CQ-P1pon.js → PersonalInfoStepWrapper-6neTJTQD.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CQ-P1pon.js.map → PersonalInfoStepWrapper-6neTJTQD.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C3OKK8Mh.js → PersonalInfoStepWrapper-Dsb0Qcv5.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-C3OKK8Mh.js.map → PersonalInfoStepWrapper-Dsb0Qcv5.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Cd3MQUvZ.js → PostalCodeComponent-BhBBSAL-.js} +7 -7
- package/chunk/{PostalCodeComponent-Bs9KyOzc.js.map → PostalCodeComponent-BhBBSAL-.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Bs9KyOzc.js → PostalCodeComponent-DKC3DspF.js} +7 -7
- package/chunk/{PostalCodeComponent-Cd3MQUvZ.js.map → PostalCodeComponent-DKC3DspF.js.map} +1 -1
- package/chunk/{SSN-Bj9BhqVP.js → SSN-7DHOlAAq.js} +8 -8
- package/chunk/{SSN-Bj9BhqVP.js.map → SSN-7DHOlAAq.js.map} +1 -1
- package/chunk/{SSN-xvlX6KT5.js → SSN-DlBvRiaZ.js} +8 -8
- package/chunk/{SSN-xvlX6KT5.js.map → SSN-DlBvRiaZ.js.map} +1 -1
- package/chunk/{StateSelectComponent-B2sfW_tb.js → StateSelectComponent-BXHXB6Kn.js} +6 -6
- package/chunk/{StateSelectComponent-B2sfW_tb.js.map → StateSelectComponent-BXHXB6Kn.js.map} +1 -1
- package/chunk/{StateSelectComponent-CCIlFilV.js → StateSelectComponent-lM5e-_1v.js} +6 -6
- package/chunk/{StateSelectComponent-CCIlFilV.js.map → StateSelectComponent-lM5e-_1v.js.map} +1 -1
- package/chunk/{StatusComponent-AEKNerJR.js → StatusComponent-BTvs1WVn.js} +15 -14
- package/chunk/StatusComponent-BTvs1WVn.js.map +1 -0
- package/chunk/{StatusComponent-DFtcHMpS.js → StatusComponent-BxQNsHYs.js} +15 -14
- package/chunk/StatusComponent-BxQNsHYs.js.map +1 -0
- package/chunk/StepAgePersonalInfo-BOnOqXxm.js +174 -0
- package/chunk/{StepAgePersonalInfo-BHWaDlVH.js.map → StepAgePersonalInfo-BOnOqXxm.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CH3r6vpW.js → StepAgePersonalInfo-UWfkIpnn.js} +43 -47
- package/chunk/{StepAgePersonalInfo-CH3r6vpW.js.map → StepAgePersonalInfo-UWfkIpnn.js.map} +1 -1
- package/chunk/{StepCard-CPjUPPj0.js → StepCard-B0o7IN6g.js} +5 -5
- package/chunk/{StepCard-CPjUPPj0.js.map → StepCard-B0o7IN6g.js.map} +1 -1
- package/chunk/{StepCard-CbZaVC-t.js → StepCard-CWT2BiAH.js} +5 -5
- package/chunk/{StepCard-CbZaVC-t.js.map → StepCard-CWT2BiAH.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BcbSXA5J.js → StepCollectIdentifier-CtpUvhZs.js} +11 -11
- package/chunk/{StepCollectIdentifier-BcbSXA5J.js.map → StepCollectIdentifier-CtpUvhZs.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-lhrdWP-H.js → StepCollectIdentifier-D7bSwvYI.js} +15 -15
- package/chunk/{StepCollectIdentifier-lhrdWP-H.js.map → StepCollectIdentifier-D7bSwvYI.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +372 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +368 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-AKjdo3J9.js → StepCompleteAuthentication-Cnv_QzG7.js} +21 -21
- package/chunk/{StepCompleteAuthentication-AKjdo3J9.js.map → StepCompleteAuthentication-Cnv_QzG7.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DytIfFlB.js → StepCompleteAuthentication-D7NH3MFa.js} +21 -21
- package/chunk/{StepCompleteAuthentication-DytIfFlB.js.map → StepCompleteAuthentication-D7NH3MFa.js.map} +1 -1
- package/chunk/{StepConsolation-DO8Lm9dv.js → StepConsolation-BrzJnbYN.js} +9 -9
- package/chunk/{StepConsolation-CExfIb_j.js.map → StepConsolation-BrzJnbYN.js.map} +1 -1
- package/chunk/{StepConsolation-CExfIb_j.js → StepConsolation-C5ZHdmQ6.js} +9 -9
- package/chunk/{StepConsolation-DO8Lm9dv.js.map → StepConsolation-C5ZHdmQ6.js.map} +1 -1
- package/chunk/{StepDocUpload-CYElBSeV.js → StepDocUpload-BuH-EW5U.js} +214 -214
- package/chunk/{StepDocUpload-CYElBSeV.js.map → StepDocUpload-BuH-EW5U.js.map} +1 -1
- package/chunk/{StepDocUpload--1-U-569.js → StepDocUpload-D2_e55pR.js} +221 -221
- package/chunk/{StepDocUpload--1-U-569.js.map → StepDocUpload-D2_e55pR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-ByLP9CLy.js → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-ByLP9CLy.js.map → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CpfSPJBD.js → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js} +36 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-CpfSPJBD.js.map → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map} +1 -1
- package/chunk/{StepEmailLoop-Bok5TmMG.js → StepEmailLoop-138hnevc.js} +17 -17
- package/chunk/{StepEmailLoop-Bok5TmMG.js.map → StepEmailLoop-138hnevc.js.map} +1 -1
- package/chunk/{StepEmailLoop-CdREX-4w.js → StepEmailLoop-p3PjfBvc.js} +17 -17
- package/chunk/{StepEmailLoop-CdREX-4w.js.map → StepEmailLoop-p3PjfBvc.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-XVAvZ0te.js → StepEmploymentPersonalInfo-CIb2V_Aj.js} +44 -44
- package/chunk/{StepEmploymentPersonalInfo-DqFNiu3C.js.map → StepEmploymentPersonalInfo-CIb2V_Aj.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DqFNiu3C.js → StepEmploymentPersonalInfo-txyihsja.js} +48 -48
- package/chunk/{StepEmploymentPersonalInfo-XVAvZ0te.js.map → StepEmploymentPersonalInfo-txyihsja.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js +186 -0
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js +182 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BfYxugan.js → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js} +45 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BfYxugan.js.map → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BqHvbrkO.js → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BqHvbrkO.js.map → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C4SFltJf.js → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C4SFltJf.js.map → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D2bEcQKw.js → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js} +48 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D2bEcQKw.js.map → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map} +1 -1
- package/chunk/StepIDCheckLoop-CX6VsvAJ.js +24 -0
- package/chunk/{StepIDCheckLoop-BDark2Di.js.map → StepIDCheckLoop-CX6VsvAJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BDark2Di.js → StepIDCheckLoop-DFhu-v9n.js} +8 -8
- package/chunk/{StepIDCheckLoop-C0g-rLtR.js.map → StepIDCheckLoop-DFhu-v9n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BzrLqUIy.js → StepIDCheckLoopOnfido-0o-ZdynC.js} +48 -48
- package/chunk/{StepIDCheckLoopOnfido-CpsFKeIS.js.map → StepIDCheckLoopOnfido-0o-ZdynC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CpsFKeIS.js → StepIDCheckLoopOnfido-CiuUU7f9.js} +53 -53
- package/chunk/{StepIDCheckLoopOnfido-BzrLqUIy.js.map → StepIDCheckLoopOnfido-CiuUU7f9.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-nvw5YyKo.js → StepIDCheckLoopRegula-D5Ln2I62.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-DBaRIxgp.js.map → StepIDCheckLoopRegula-D5Ln2I62.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DBaRIxgp.js → StepIDCheckLoopRegula-D94f7Ccr.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-nvw5YyKo.js.map → StepIDCheckLoopRegula-D94f7Ccr.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js +180 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js +176 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js +234 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js +208 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js +212 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-BAjKLJCl.js +153 -0
- package/chunk/{StepMemberPersonalInfo-JVdhDDsO.js.map → StepMemberPersonalInfo-BAjKLJCl.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-CI9Q06Ic.js +157 -0
- package/chunk/{StepMemberPersonalInfo-oxD7cpuH.js.map → StepMemberPersonalInfo-CI9Q06Ic.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-CVT4pPa6.js +144 -0
- package/chunk/{StepMoverPersonalInfo-DQ6omvFs.js.map → StepMoverPersonalInfo-CVT4pPa6.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-DIkMi5zU.js +140 -0
- package/chunk/{StepMoverPersonalInfo-DoRQ7YwV.js.map → StepMoverPersonalInfo-DIkMi5zU.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bk4iLCjb.js → StepOverrideComponent-B9HVSPlq.js} +16 -16
- package/chunk/StepOverrideComponent-B9HVSPlq.js.map +1 -0
- package/chunk/{StepOverrideComponent-BScdpQsD.js → StepOverrideComponent-DOBT7C22.js} +16 -16
- package/chunk/StepOverrideComponent-DOBT7C22.js.map +1 -0
- package/chunk/{StepSMSLoop-Qhui36Ad.js → StepSMSLoop-BM7UE2tP.js} +20 -20
- package/chunk/{StepSMSLoop-CKgyKNf3.js.map → StepSMSLoop-BM7UE2tP.js.map} +1 -1
- package/chunk/{StepSMSLoop-CKgyKNf3.js → StepSMSLoop-Wr-MrFaf.js} +19 -19
- package/chunk/{StepSMSLoop-Qhui36Ad.js.map → StepSMSLoop-Wr-MrFaf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-B73JU0Vm.js → StepSocialSecurityNumber-DepVz3V7.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-B73JU0Vm.js.map → StepSocialSecurityNumber-DepVz3V7.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CxzmRJyj.js → StepSocialSecurityNumber-LcWg-zo5.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-CxzmRJyj.js.map → StepSocialSecurityNumber-LcWg-zo5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-qiawIhbf.js → StepStudentPersonalInfo-CxPq9ICS.js} +47 -47
- package/chunk/{StepStudentPersonalInfo-DSlm69iu.js.map → StepStudentPersonalInfo-CxPq9ICS.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DSlm69iu.js → StepStudentPersonalInfo-DQMWaRSa.js} +77 -77
- package/chunk/{StepStudentPersonalInfo-qiawIhbf.js.map → StepStudentPersonalInfo-DQMWaRSa.js.map} +1 -1
- package/chunk/{StepSuccess-CY6HRbL0.js → StepSuccess-C3a0CPsE.js} +30 -30
- package/chunk/{StepSuccess-BFHXLjzL.js.map → StepSuccess-C3a0CPsE.js.map} +1 -1
- package/chunk/{StepSuccess-BFHXLjzL.js → StepSuccess-CvK7t1zN.js} +29 -29
- package/chunk/{StepSuccess-CY6HRbL0.js.map → StepSuccess-CvK7t1zN.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-DhOL3_0H.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-BzO0_kSV.js.map → StepTeacherPersonalInfo-DhOL3_0H.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-_Wwkq-dn.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-D5JC_By3.js.map → StepTeacherPersonalInfo-_Wwkq-dn.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DUAkXH8Y.js → TeacherSchoolComponent-3HVz97q_.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DSr16b-J.js.map → TeacherSchoolComponent-3HVz97q_.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DSr16b-J.js → TeacherSchoolComponent-BwLUGmNi.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DUAkXH8Y.js.map → TeacherSchoolComponent-BwLUGmNi.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-Bt8QuyMY.js → TestingRouteOverrides-CAGESMw9.js} +26 -26
- package/chunk/{TestingRouteOverrides-BeBP6XXB.js.map → TestingRouteOverrides-CAGESMw9.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +77 -0
- package/chunk/{TestingRouteOverrides-Bt8QuyMY.js.map → TestingRouteOverrides-CrhfSmLr.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-xKQFqber.js → VerificationApiClient-BcE3SjuJ.js} +377 -414
- package/chunk/{VerificationApiClient-CNCGYJN0.js.map → VerificationApiClient-BcE3SjuJ.js.map} +1 -1
- package/chunk/{VerificationApiClient-CNCGYJN0.js → VerificationApiClient-fJ7P4ejD.js} +424 -421
- package/chunk/{VerificationApiClient-xKQFqber.js.map → VerificationApiClient-fJ7P4ejD.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-QLzXPJsg.js → countryUtils-AR9k3KRg.js} +5 -5
- package/chunk/{countryUtils-Bg9KdIbF.js.map → countryUtils-AR9k3KRg.js.map} +1 -1
- package/chunk/countryUtils-DWqId-zY.js +12 -0
- package/chunk/{countryUtils-QLzXPJsg.js.map → countryUtils-DWqId-zY.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-lpoogWsV.js → downshift.esm-BKI3sFd7.js} +7 -7
- package/chunk/{downshift.esm-lpoogWsV.js.map → downshift.esm-BKI3sFd7.js.map} +1 -1
- package/chunk/{downshift.esm-BLpaOzFc.js → downshift.esm-DryiNDJI.js} +7 -7
- package/chunk/{downshift.esm-BLpaOzFc.js.map → downshift.esm-DryiNDJI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-DctbDY5s.js → empties-B6naRhes.js} +64 -73
- package/chunk/empties-B6naRhes.js.map +1 -0
- package/chunk/{empties-COfIPxJ5.js → empties-Crmkxudi.js} +64 -73
- package/chunk/empties-Crmkxudi.js.map +1 -0
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-DLtMDttz.js → hooks-C15H5pD-.js} +481 -481
- package/chunk/hooks-C15H5pD-.js.map +1 -0
- package/chunk/{hooks-PN48cX8E.js → hooks-ChQrxN58.js} +480 -480
- package/chunk/hooks-ChQrxN58.js.map +1 -0
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-TN1Dianl.js → intl-e5WHiYfA.js} +8 -7
- package/chunk/intl-e5WHiYfA.js.map +1 -0
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-lVLuHIkM.js → jsx-runtime-Ini3eO9_.js} +18 -18
- package/chunk/{jsx-runtime-QRCZ6ZTK.js.map → jsx-runtime-Ini3eO9_.js.map} +1 -1
- package/chunk/{jsx-runtime-QRCZ6ZTK.js → jsx-runtime-LqzCS-0D.js} +18 -18
- package/chunk/{jsx-runtime-lVLuHIkM.js.map → jsx-runtime-LqzCS-0D.js.map} +1 -1
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{mocks-BN2OnOjp.js → mocks-DGc1byho.js} +10 -9
- package/chunk/{mocks-l2e0aaeT.js.map → mocks-DGc1byho.js.map} +1 -1
- package/chunk/{mocks-l2e0aaeT.js → mocks-RU9BGNOn.js} +9 -8
- package/chunk/{mocks-BN2OnOjp.js.map → mocks-RU9BGNOn.js.map} +1 -1
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/{options-BK6Zk2Oe.js → options-pBCAJBwS.js} +8 -7
- package/chunk/options-pBCAJBwS.js.map +1 -0
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-4Wf-YSPx.js → programThemeGetters-C9Sw0RZq.js} +45 -45
- package/chunk/{programThemeGetters-4Wf-YSPx.js.map → programThemeGetters-C9Sw0RZq.js.map} +1 -1
- package/chunk/programThemeGetters-uLsgGat1.js +153 -0
- package/chunk/{programThemeGetters-DECHMs91.js.map → programThemeGetters-uLsgGat1.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-B8CaE8yL.js → refs-CGvEbCaw.js} +5 -5
- package/chunk/{refs-6KTRrw-F.js.map → refs-CGvEbCaw.js.map} +1 -1
- package/chunk/{refs-6KTRrw-F.js → refs-CI3K5ndt.js} +5 -5
- package/chunk/{refs-B8CaE8yL.js.map → refs-CI3K5ndt.js.map} +1 -1
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-BdqtwfRd.js +133 -0
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +1 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js +129 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/useCollectFieldsEndpoint-BsX_IHLN.js +62 -0
- package/chunk/useCollectFieldsEndpoint-BsX_IHLN.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js +66 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js.map +1 -0
- package/chunk/{useMetrics-CiB8jnkE.js → useMetrics-BrHWTzbP.js} +19 -19
- package/chunk/{useMetrics-iqbs0R1u.js.map → useMetrics-BrHWTzbP.js.map} +1 -1
- package/chunk/{useMetrics-iqbs0R1u.js → useMetrics-O5xTFm6y.js} +19 -19
- package/chunk/{useMetrics-CiB8jnkE.js.map → useMetrics-O5xTFm6y.js.map} +1 -1
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +5 -5
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +284 -280
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-CHE6ck1K.js.map +0 -1
- package/chunk/ApiUrls-bBmJ3tKE.js +0 -40
- package/chunk/ApiUrls-bBmJ3tKE.js.map +0 -1
- package/chunk/CaptchaComponent-CaHSH2GC.js.map +0 -1
- package/chunk/CaptchaComponent-DD6kFSw9.js.map +0 -1
- package/chunk/CountryComponentWrapper-CEbjr-D-.js +0 -78
- package/chunk/CountryComponentWrapper-CEbjr-D-.js.map +0 -1
- package/chunk/CountryComponentWrapper-Df9x54iO.js +0 -74
- package/chunk/CountryComponentWrapper-Df9x54iO.js.map +0 -1
- package/chunk/FormFieldLayout-BPBIL09f.js.map +0 -1
- package/chunk/FormFieldLayout-CuxYu2-h.js.map +0 -1
- package/chunk/FormFooterComponent-B_Wh4HXO.js.map +0 -1
- package/chunk/FormSelectChoice-cr9QsYX9.js.map +0 -1
- package/chunk/FormSelectChoice-qC0WYy1y.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-C7QmpcVd.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-D55ut5Yp.js.map +0 -1
- package/chunk/StatusComponent-AEKNerJR.js.map +0 -1
- package/chunk/StatusComponent-DFtcHMpS.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-AJL4fROB.js +0 -179
- package/chunk/StepActiveMilitaryPersonalInfoComponent-AJL4fROB.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-Blc8C61_.js +0 -183
- package/chunk/StepActiveMilitaryPersonalInfoComponent-Blc8C61_.js.map +0 -1
- package/chunk/StepAgePersonalInfo-BHWaDlVH.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-CYQ-3N3X.js +0 -13
- package/chunk/StepCollectMilitaryStatusComponent-DxU3lmaC.js +0 -9
- package/chunk/StepCollectPersonalInfo-CdPFtWnn.js +0 -358
- package/chunk/StepCollectPersonalInfo-CdPFtWnn.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-CdkTtRFu.js +0 -362
- package/chunk/StepCollectPersonalInfo-CdkTtRFu.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-C9AchvP4.js +0 -172
- package/chunk/StepFirstResponderPersonalInfo-C9AchvP4.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-CR6tqqbj.js +0 -176
- package/chunk/StepFirstResponderPersonalInfo-CR6tqqbj.js.map +0 -1
- package/chunk/StepIDCheckLoop-C0g-rLtR.js +0 -24
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BA-Z6yOh.js +0 -241
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BA-Z6yOh.js.map +0 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CEAoUlPI.js +0 -237
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CEAoUlPI.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BDOe8tXK.js +0 -190
- package/chunk/StepLicensedProfessionalPersonalInfo-BDOe8tXK.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-CvHsH0eA.js +0 -186
- package/chunk/StepLicensedProfessionalPersonalInfo-CvHsH0eA.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-Dy3cf7Vq.js +0 -223
- package/chunk/StepLowIncomePersonalInfo-Dy3cf7Vq.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-Xn7Si16w.js +0 -227
- package/chunk/StepLowIncomePersonalInfo-Xn7Si16w.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-C4RpaXrw.js +0 -207
- package/chunk/StepMedicalProfessionalPersonalInfo-C4RpaXrw.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-Cdjst53o.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-Cdjst53o.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-JVdhDDsO.js +0 -157
- package/chunk/StepMemberPersonalInfo-oxD7cpuH.js +0 -153
- package/chunk/StepMoverPersonalInfo-DQ6omvFs.js +0 -140
- package/chunk/StepMoverPersonalInfo-DoRQ7YwV.js +0 -144
- package/chunk/StepOverrideComponent-BScdpQsD.js.map +0 -1
- package/chunk/StepOverrideComponent-Bk4iLCjb.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-BzO0_kSV.js +0 -150
- package/chunk/StepTeacherPersonalInfo-D5JC_By3.js +0 -154
- package/chunk/TestingRouteOverrides-BeBP6XXB.js +0 -77
- package/chunk/VerificationApiUtils-EYLI_y22.js +0 -25
- package/chunk/VerificationApiUtils-EYLI_y22.js.map +0 -1
- package/chunk/VerificationApiUtils-PcnM2IQD.js +0 -21
- package/chunk/VerificationApiUtils-PcnM2IQD.js.map +0 -1
- package/chunk/countryUtils-Bg9KdIbF.js +0 -12
- package/chunk/empties-COfIPxJ5.js.map +0 -1
- package/chunk/empties-DctbDY5s.js.map +0 -1
- package/chunk/hooks-DLtMDttz.js.map +0 -1
- package/chunk/hooks-PN48cX8E.js.map +0 -1
- package/chunk/intl-TN1Dianl.js.map +0 -1
- package/chunk/militaryStepHelpers-CF0fNRKQ.js +0 -26
- package/chunk/militaryStepHelpers-CF0fNRKQ.js.map +0 -1
- package/chunk/militaryStepHelpers-W31scSUE.js +0 -22
- package/chunk/militaryStepHelpers-W31scSUE.js.map +0 -1
- package/chunk/options-BK6Zk2Oe.js.map +0 -1
- package/chunk/programThemeGetters-DECHMs91.js +0 -153
- package/chunk/stepComponentHelpers-Darhp1Nn.js +0 -170
- package/chunk/stepComponentHelpers-Darhp1Nn.js.map +0 -1
- package/chunk/stepComponentHelpers-DeWac6nj.js +0 -174
- package/chunk/stepComponentHelpers-DeWac6nj.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-BToJZbHd.js +0 -37
- package/chunk/useCollectFieldsEndpoint-BToJZbHd.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CqUxwQWc.js +0 -41
- package/chunk/useCollectFieldsEndpoint-CqUxwQWc.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-AKjdo3J9.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IAAoB,MAA0B,KAAK,IAAI,iBAAiB,GACxE,IAAY,EAAK,WACjB,IAAiB,EAAK,WACtB,IAAY,MAAmB,KAAK,IAAI,KAAO,GAC/C,IAAqB,EAAK,oBAC1B,IAAW,EAAK,UAChB,IAAiB,EAAK,gBACtB,IAAkB,EAAK,YACvB,IAAa,MAAoB,KAAK,IAAI,KAAQ,GAClD,IAAc,EAAK,QACnB,IAAS,MAAgB,KAAK,IAAI,IAAI,GACtC,IAAc,EAAK,aACnB,IAAW,EAAK;CAEpB,IAAI,MAAM,CAAM,KAAK,IAAS,GAC5B,MAAU,MAAM,8CAA8C;CAGhE,IAAI,CAAC,EAAwB,KAAK,SAAU,GAAO;EACjD,OAAO,MAAU;CACnB,CAAC,GACC,MAAU,MAAM,0EAA0E;CAG5F,IAAI,KAAA,GAAA,EAAA,QAAmB,CAAC,CAAC,GACrB,IAAa,EAAS;CAqB1B,CApBA,GAAA,EAAA,qBAAoB,GAAK,WAAY;EACnC,OAAO;GACL,OAAO,WAAiB;IACtB,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KAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-Cnv_QzG7.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,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,GAClB,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA,CACF;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA;IACrC,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,WAAW,MAAU;OAEnB,AADA,EAAsC,sBAAsB,CAAK,GACjE,EACE,sBACA,GACA,CACF;MACF;MACA,KAAK;MACL,mBAAkB;MAClB,QAAA;MACA,YAAA;MACA,oBAAmB;MACnB,gBAAgB,mBACd,EAAsB,qBAAqB,4BAA4B;KAE1E,CAAA,GACA,EAAsB,sBACpB,GAAU,SAAS,KAClB,iBAAA,GAAA,EAAA,MAAC,OAAD;MAAK,WAAU;gBAAf,CACG,CAAC,KACA,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
package/chunk/{StepCompleteAuthentication-DytIfFlB.js → StepCompleteAuthentication-D7NH3MFa.js}
RENAMED
|
@@ -4,18 +4,18 @@
|
|
|
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.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import { t as o } from "./hooks-
|
|
15
|
-
import { t as s } from "./AnnouncingHeader-
|
|
16
|
-
import {
|
|
12
|
+
import { Nt as e, Wt as t, p as n } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { c as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { t as o } from "./hooks-C15H5pD-.js";
|
|
15
|
+
import { t as s } from "./AnnouncingHeader-YPjBYzsZ.js";
|
|
16
|
+
import { g as c, v as l } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
17
17
|
//#region ../node_modules/react-auth-code-input/dist/index.modern.js
|
|
18
|
-
var u = /* @__PURE__ */
|
|
18
|
+
var u = /* @__PURE__ */ t(r()), d = [
|
|
19
19
|
"alpha",
|
|
20
20
|
"numeric",
|
|
21
21
|
"alphanumeric"
|
|
@@ -108,22 +108,22 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
108
108
|
})));
|
|
109
109
|
}, O = 0; O < g; O++) D(O);
|
|
110
110
|
return u.createElement("div", { className: s }, E);
|
|
111
|
-
}), m = a(), h = ({ verificationService:
|
|
112
|
-
let r =
|
|
113
|
-
let a = n(r, (
|
|
114
|
-
e
|
|
111
|
+
}), m = a(), h = ({ verificationService: t }) => {
|
|
112
|
+
let r = t.viewModel, { fieldValidationErrors: a, verificationResponse: d } = t, { errorIds: f } = d, h = o("hc-my-sheer-id-theme-builder"), g = u.useRef(null), _ = (e, i) => {
|
|
113
|
+
let a = n(r, (t) => {
|
|
114
|
+
t[e] = i;
|
|
115
115
|
});
|
|
116
|
-
|
|
116
|
+
t.updateViewModel(a);
|
|
117
117
|
}, v = () => {
|
|
118
|
-
let
|
|
118
|
+
let e = n(r, (e) => {
|
|
119
119
|
e.didManuallyVerify = !0, delete e.authenticationCode;
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return t.updateViewModel(e), e;
|
|
122
122
|
};
|
|
123
123
|
return u.useEffect(() => {
|
|
124
124
|
r.authenticationCode &&= "";
|
|
125
125
|
}, []), u.useEffect(() => {
|
|
126
|
-
r.authenticationCode.length >= 6 &&
|
|
126
|
+
r.authenticationCode.length >= 6 && c(r, t, e.completeAuthentication);
|
|
127
127
|
}, [r.authenticationCode]), /* @__PURE__ */ (0, m.jsx)("div", {
|
|
128
128
|
id: "sid-step-complete-authentication",
|
|
129
129
|
className: "sid-step-complete-authentication-container sid-l-container",
|
|
@@ -150,8 +150,8 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
150
150
|
/* @__PURE__ */ (0, m.jsxs)("div", {
|
|
151
151
|
className: "auth-code",
|
|
152
152
|
children: [/* @__PURE__ */ (0, m.jsx)(p, {
|
|
153
|
-
onChange: (
|
|
154
|
-
_("authenticationCode",
|
|
153
|
+
onChange: (e) => {
|
|
154
|
+
_("authenticationCode", e), l("authenticationCode", e, t);
|
|
155
155
|
},
|
|
156
156
|
ref: g,
|
|
157
157
|
allowedCharacters: "numeric",
|
|
@@ -180,7 +180,7 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
180
180
|
className: "sid-btn sid-btn-light sid-complete-auth__manually-verify-button",
|
|
181
181
|
"aria-label": "submit",
|
|
182
182
|
onClick: () => {
|
|
183
|
-
|
|
183
|
+
c(v(), t, e.completeAuthentication);
|
|
184
184
|
},
|
|
185
185
|
children: /* @__PURE__ */ (0, m.jsx)(i, {
|
|
186
186
|
id: "step.completeAuthentication.manuallyVerifyButton",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-DytIfFlB.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IAAoB,MAA0B,KAAK,IAAI,iBAAiB,GACxE,IAAY,EAAK,WACjB,IAAiB,EAAK,WACtB,IAAY,MAAmB,KAAK,IAAI,KAAO,GAC/C,IAAqB,EAAK,oBAC1B,IAAW,EAAK,UAChB,IAAiB,EAAK,gBACtB,IAAkB,EAAK,YACvB,IAAa,MAAoB,KAAK,IAAI,KAAQ,GAClD,IAAc,EAAK,QACnB,IAAS,MAAgB,KAAK,IAAI,IAAI,GACtC,IAAc,EAAK,aACnB,IAAW,EA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CAAK,GACjE,EACE,sBACA,GACA,CACF;MACF;MACA,KAAK;MACL,mBAAkB;MAClB,QAAA;MACA,YAAA;MACA,oBAAmB;MACnB,gBAAgB,mBACd,EAAsB,qBAAqB,4BAA4B;KAE1E,CAAA,GACA,EAAsB,sBACpB,GAAU,SAAS,KAClB,iBAAA,GAAA,EAAA,MAAC,OAAD;MAAK,WAAU;gBAAf,CACG,CAAC,KACA,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-D7NH3MFa.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\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BAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.277.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { n as t, t as n } from "./jsx-runtime-
|
|
10
|
-
import { t as r } from "./ApiUrls-
|
|
11
|
-
import { t as i } from "./LogoComponent-
|
|
12
|
-
import { t as a } from "./CopyToClipboardComponent-
|
|
8
|
+
import { Dt as e } from "./options-pBCAJBwS.js";
|
|
9
|
+
import { n as t, t as n } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
+
import { t as r } from "./ApiUrls-C93kMsSC.js";
|
|
11
|
+
import { t as i } from "./LogoComponent-Do8K5ydz.js";
|
|
12
|
+
import { t as a } from "./CopyToClipboardComponent-DGi3bxV2.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
14
|
var o = n(), s = ({ verificationService: n }) => {
|
|
15
15
|
let s = n.verificationResponse.consolationRewardCode || "${consolationRewardCode}", c = n.programTheme.config.offerType === "noCode", { verificationId: l } = n.verificationResponse, { rewardDisplay: u } = n.programTheme.config, d = !c && !!u.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-BrzJnbYN.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={\n <FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />\n }\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAyHa,KA7GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,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Ae;OAChB,CAAA;MACc,CAAA;KACd,CAAA,CACL,EAAA,CAAA,IA5BA,iBAAA,GAAA,EAAA,KAAC,OAAD;MAEE,WAAU;MACV,KAAK;MACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAyBN;IACE,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -4,16 +4,16 @@
|
|
|
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.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { t } from "./ApiUrls-
|
|
14
|
-
import { n, t as r } from "./jsx-runtime-
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
16
|
-
import { t as a } from "./CopyToClipboardComponent-
|
|
12
|
+
import { Tt as e } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { t } from "./ApiUrls-BEuqNxHS.js";
|
|
14
|
+
import { n, t as r } from "./jsx-runtime-LqzCS-0D.js";
|
|
15
|
+
import { t as i } from "./LogoComponent-Dx1G-rzE.js";
|
|
16
|
+
import { t as a } from "./CopyToClipboardComponent-cLuyXFes.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = r(), s = ({ verificationService: r }) => {
|
|
19
19
|
let s = r.verificationResponse.consolationRewardCode || "${consolationRewardCode}", c = r.programTheme.config.offerType === "noCode", { verificationId: l } = r.verificationResponse, { rewardDisplay: u } = r.programTheme.config, d = !c && !!u.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-C5ZHdmQ6.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={\n <FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />\n }\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAyHa,KA7GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,IAAG;OACH,MAAK;iBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ;OACT,CAAA;MACE,CAAA;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAc,gBAAe;mBAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;SACE,IAAG;SACH,gBAAe;SACf,QAAQ,EAAE,eAAY;QACvB,CAAA;OAEiB,CAAA;MACnB,CAAA;KACF;;IAEJ,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACZ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