@sheerid/jslib-nightly 2.259.0-alpha.1 → 2.259.0-alpha.2
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 +3 -3
- package/_mysheerid-preview.js +3931 -1402
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-RKH3wkuU.js → AddressComponent-CJV3vrMt.js} +6 -6
- package/chunk/{AddressComponent-CN9VzjhI.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
- package/chunk/{AddressComponent-CN9VzjhI.js → AddressComponent-DMwOmjiG.js} +4 -4
- package/chunk/{AddressComponent-RKH3wkuU.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
- package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-MjYrUy5O.js → ApiUrls-BpvEY_I3.js} +4 -4
- package/chunk/{ApiUrls-DNPrws1D.js.map → ApiUrls-BpvEY_I3.js.map} +1 -1
- package/chunk/{ApiUrls-DNPrws1D.js → ApiUrls-Qas0Xjyd.js} +12 -12
- package/chunk/{ApiUrls-MjYrUy5O.js.map → ApiUrls-Qas0Xjyd.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js → BirthDateComponent-DFHRO9YQ.js} +5 -5
- package/chunk/{BirthDateComponent-25k9Dw8L.js.map → BirthDateComponent-DFHRO9YQ.js.map} +1 -1
- package/chunk/{BirthDateComponent-25k9Dw8L.js → BirthDateComponent-Dh5xAxOF.js} +7 -7
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js.map → BirthDateComponent-Dh5xAxOF.js.map} +1 -1
- package/chunk/{CaptchaComponent-DZNI_Mdp.js → CaptchaComponent-DaH202Ah.js} +94 -94
- package/chunk/{CaptchaComponent-DA4ytPM2.js.map → CaptchaComponent-DaH202Ah.js.map} +1 -1
- package/chunk/{CaptchaComponent-DA4ytPM2.js → CaptchaComponent-QYGB0QuK.js} +14 -14
- package/chunk/{CaptchaComponent-DZNI_Mdp.js.map → CaptchaComponent-QYGB0QuK.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-COGR4N31.js → ChangeLocaleComponent-DdX2nV2D.js} +7 -7
- package/chunk/{ChangeLocaleComponent-COGR4N31.js.map → ChangeLocaleComponent-DdX2nV2D.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js → ChangeLocaleComponent-QMQdbxxB.js} +5 -5
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js.map → ChangeLocaleComponent-QMQdbxxB.js.map} +1 -1
- package/chunk/{City-BHrlkpMX.js → City-CmO85Z9x.js} +4 -4
- package/chunk/{City-BHrlkpMX.js.map → City-CmO85Z9x.js.map} +1 -1
- package/chunk/{City-BbRIAxOR.js → City-DlWin4GX.js} +6 -6
- package/chunk/{City-BbRIAxOR.js.map → City-DlWin4GX.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js → CollegeNameComponent-CIhHISji.js} +5 -5
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js.map → CollegeNameComponent-CIhHISji.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DXmseJtL.js → CollegeNameComponent-D_dKLkKY.js} +8 -8
- package/chunk/{CollegeNameComponent-DXmseJtL.js.map → CollegeNameComponent-D_dKLkKY.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js → CountryComponentWrapper-Du13nINk.js} +9 -9
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js.map → CountryComponentWrapper-Du13nINk.js.map} +1 -1
- package/chunk/CountryComponentWrapper-zWLRBrRp.js +78 -0
- package/chunk/{CountryComponentWrapper-CRF7oKmW.js.map → CountryComponentWrapper-zWLRBrRp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dylz_5IN.js → DischargeDateComponent-DH3gbXN-.js} +18 -18
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js.map → DischargeDateComponent-DH3gbXN-.js.map} +1 -1
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js → DischargeDateComponent-DpNsH3Q4.js} +7 -7
- package/chunk/{DischargeDateComponent-Dylz_5IN.js.map → DischargeDateComponent-DpNsH3Q4.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js → DriverLicenseNumberComponent-D8q18o2M.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +4 -4
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
- package/chunk/EmailLoopPending-BpsA3nlg.js +136 -0
- package/chunk/EmailLoopPending-BpsA3nlg.js.map +1 -0
- package/chunk/{EmailLoopPending-MXkvNNP8.js → EmailLoopPending-Dvufu09u.js} +53 -54
- package/chunk/EmailLoopPending-Dvufu09u.js.map +1 -0
- package/chunk/{ExtraMessage-Roxhs2rt.js → ExtraMessage-9BMK2Fd_.js} +6 -6
- package/chunk/{ExtraMessage-DeL_Wn33.js.map → ExtraMessage-9BMK2Fd_.js.map} +1 -1
- package/chunk/{ExtraMessage-DeL_Wn33.js → ExtraMessage-Ca6AF5JE.js} +4 -4
- package/chunk/{ExtraMessage-Roxhs2rt.js.map → ExtraMessage-Ca6AF5JE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js → FirstResponderOrganizationComponent-C88NJlsu.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js.map → FirstResponderOrganizationComponent-C88NJlsu.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js → FirstResponderOrganizationComponent-DgcptK9s.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js.map → FirstResponderOrganizationComponent-DgcptK9s.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js → FormFieldInputSelect-BJlHmrSC.js} +4 -4
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js.map → FormFieldInputSelect-BJlHmrSC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js → FormFieldInputSelect-qjIEfk_y.js} +6 -6
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js.map → FormFieldInputSelect-qjIEfk_y.js.map} +1 -1
- package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
- package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
- package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C3gO98J5.js → FormFieldTypeahead-4sP6yrSp.js} +455 -456
- package/chunk/{FormFieldTypeahead-C3gO98J5.js.map → FormFieldTypeahead-4sP6yrSp.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js → FormFieldTypeahead-CrDv6QmZ.js} +498 -499
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js.map → FormFieldTypeahead-CrDv6QmZ.js.map} +1 -1
- package/chunk/{FormFooterComponent-DcilxYfs.js → FormFooterComponent-CXzDxR2J.js} +2116 -2043
- package/chunk/FormFooterComponent-CXzDxR2J.js.map +1 -0
- package/chunk/{FormFooterComponent-Cobuya5J.js → FormFooterComponent-D9_fIqUs.js} +1335 -1250
- package/chunk/FormFooterComponent-D9_fIqUs.js.map +1 -0
- package/chunk/{FormSelectChoice-Dz_8_0v1.js → FormSelectChoice-BQPP65dN.js} +5 -5
- package/chunk/{FormSelectChoice-DjQUf_kR.js.map → FormSelectChoice-BQPP65dN.js.map} +1 -1
- package/chunk/{FormSelectChoice-DjQUf_kR.js → FormSelectChoice-QRH1HmYa.js} +17 -17
- package/chunk/{FormSelectChoice-Dz_8_0v1.js.map → FormSelectChoice-QRH1HmYa.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
- package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js.map → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js → LicensedProfessionalOrganizationComponent-DD9CuMfT.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js.map → LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
- package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js → LowIncomeOrganizationComponent-D3-otdoS.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js.map → LowIncomeOrganizationComponent-D3-otdoS.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js → LowIncomeOrganizationComponent-Dpvvj9n4.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js.map → LowIncomeOrganizationComponent-Dpvvj9n4.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js → MedicalProfessionalOrganizationComponent-B-hFqd6W.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js.map → MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js.map → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map} +1 -1
- package/chunk/{MemberIdComponent-D4U9CjTr.js → MemberIdComponent-DMGaNM9l.js} +6 -6
- package/chunk/{MemberIdComponent-D4U9CjTr.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
- package/chunk/{MemberIdComponent-DOikwfIV.js → MemberIdComponent-Dva2Xx7J.js} +4 -4
- package/chunk/{MemberIdComponent-DOikwfIV.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js → MembershipOrganizationComponent-CfLlUdPl.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js.map → MembershipOrganizationComponent-CfLlUdPl.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js → MembershipOrganizationComponent-DuJZlKLf.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js.map → MembershipOrganizationComponent-DuJZlKLf.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +22 -22
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js → PersonalInfoStepWrapper-B-1TuvRJ.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js.map → PersonalInfoStepWrapper-B-1TuvRJ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js → PersonalInfoStepWrapper-DgL_kGk3.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js.map → PersonalInfoStepWrapper-DgL_kGk3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DwnHo2aW.js → PostalCodeComponent-BGzBByZd.js} +6 -6
- package/chunk/{PostalCodeComponent-DwnHo2aW.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-hDSZecsX.js → PostalCodeComponent-C97fgZFI.js} +4 -4
- package/chunk/{PostalCodeComponent-hDSZecsX.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
- package/chunk/{SSN-_mJmp2Gg.js → SSN-CNzKgddw.js} +7 -7
- package/chunk/{SSN-B9b4KlAr.js.map → SSN-CNzKgddw.js.map} +1 -1
- package/chunk/{SSN-B9b4KlAr.js → SSN-mk_cMbDH.js} +4 -4
- package/chunk/{SSN-_mJmp2Gg.js.map → SSN-mk_cMbDH.js.map} +1 -1
- package/chunk/{StateSelectComponent-DGQL388D.js → StateSelectComponent-Cx1_JBfI.js} +4 -4
- package/chunk/{StateSelectComponent-D26TjOAn.js.map → StateSelectComponent-Cx1_JBfI.js.map} +1 -1
- package/chunk/{StateSelectComponent-D26TjOAn.js → StateSelectComponent-D2j7QCvj.js} +5 -5
- package/chunk/{StateSelectComponent-DGQL388D.js.map → StateSelectComponent-D2j7QCvj.js.map} +1 -1
- package/chunk/{StatusComponent-Dv3frckJ.js → StatusComponent-Cxw9bsOp.js} +7 -7
- package/chunk/{StatusComponent-Dv3frckJ.js.map → StatusComponent-Cxw9bsOp.js.map} +1 -1
- package/chunk/{StatusComponent-XLL7x50K.js → StatusComponent-_HBklXve.js} +5 -5
- package/chunk/{StatusComponent-XLL7x50K.js.map → StatusComponent-_HBklXve.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js} +47 -51
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js.map → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js} +25 -21
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js.map → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js → StepAgePersonalInfo-DmBYGHG8.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js.map → StepAgePersonalInfo-DmBYGHG8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-X-eQf_2z.js +173 -0
- package/chunk/{StepAgePersonalInfo-KeuFdZua.js.map → StepAgePersonalInfo-X-eQf_2z.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
- package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js → StepCollectIdentifier-8QO4sVSo.js} +10 -10
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js.map → StepCollectIdentifier-8QO4sVSo.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js → StepCollectIdentifier-bhlSO88L.js} +8 -8
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js.map → StepCollectIdentifier-bhlSO88L.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-5RzFVxA_.js → StepCollectMilitaryStatusComponent-CwiPlk5w.js} +4 -4
- package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +9 -0
- package/chunk/StepCollectPersonalInfo-R-5UOPTA.js +361 -0
- package/chunk/{StepCollectPersonalInfo-BVd72Idl.js.map → StepCollectPersonalInfo-R-5UOPTA.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js → StepCollectPersonalInfo-r2uBVXk_.js} +87 -87
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js.map → StepCollectPersonalInfo-r2uBVXk_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js} +50 -51
- package/chunk/StepCompleteAuthentication-C2HoMZzF.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-CmOEE_s5.js → StepCompleteAuthentication-Cs4zhI-D.js} +42 -43
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js.map +1 -0
- package/chunk/{StepConsolation-Bm7fMyFo.js → StepConsolation-CwLUx5P6.js} +4 -4
- package/chunk/{StepConsolation-Bm7fMyFo.js.map → StepConsolation-CwLUx5P6.js.map} +1 -1
- package/chunk/{StepConsolation-euaYpjbw.js → StepConsolation-J6tneCHK.js} +8 -8
- package/chunk/{StepConsolation-euaYpjbw.js.map → StepConsolation-J6tneCHK.js.map} +1 -1
- package/chunk/{StepDocUpload-Fi16blpY.js → StepDocUpload-Dl-gzKui.js} +40 -40
- package/chunk/{StepDocUpload-Dc986T4y.js.map → StepDocUpload-Dl-gzKui.js.map} +1 -1
- package/chunk/{StepDocUpload-Dc986T4y.js → StepDocUpload-dc7sQRtA.js} +242 -242
- package/chunk/{StepDocUpload-Fi16blpY.js.map → StepDocUpload-dc7sQRtA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js} +19 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js.map → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js} +32 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js.map → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map} +1 -1
- package/chunk/{StepEmailLoop-7EwsfbG2.js → StepEmailLoop-BDRiI0kO.js} +46 -47
- package/chunk/StepEmailLoop-BDRiI0kO.js.map +1 -0
- package/chunk/{StepEmailLoop-CLIGNsCO.js → StepEmailLoop-DWNRCm1O.js} +51 -52
- package/chunk/StepEmailLoop-DWNRCm1O.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js → StepEmploymentPersonalInfo-C0UAANQZ.js} +44 -48
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js.map → StepEmploymentPersonalInfo-C0UAANQZ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js → StepEmploymentPersonalInfo-al1phPDp.js} +22 -18
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js.map → StepEmploymentPersonalInfo-al1phPDp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js → StepFirstResponderPersonalInfo-Byb5gsnf.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js.map → StepFirstResponderPersonalInfo-Byb5gsnf.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js → StepFirstResponderPersonalInfo-Ci8gAYOs.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js.map → StepFirstResponderPersonalInfo-Ci8gAYOs.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js} +41 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js.map → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js} +22 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js.map → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js} +44 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js.map → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js} +23 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js.map → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js → StepIDCheckLoop-DiGRkuBM.js} +5 -5
- package/chunk/{StepIDCheckLoop-C7UAES2n.js.map → StepIDCheckLoop-DiGRkuBM.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C7UAES2n.js → StepIDCheckLoop-Djow0hoO.js} +8 -8
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js.map → StepIDCheckLoop-Djow0hoO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js → StepIDCheckLoopOnfido-BvMXuWoN.js} +40 -40
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js.map → StepIDCheckLoopOnfido-BvMXuWoN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js → StepIDCheckLoopOnfido-CT458GtS.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js.map → StepIDCheckLoopOnfido-CT458GtS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js → StepIDCheckLoopRegula-BvLpBUxe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js.map → StepIDCheckLoopRegula-BvLpBUxe.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js → StepIDCheckLoopRegula-DcB8ugg0.js} +18 -18
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js.map → StepIDCheckLoopRegula-DcB8ugg0.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js} +69 -73
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js.map → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js} +33 -29
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js.map → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js} +21 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js.map → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js} +37 -41
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js.map → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js → StepLowIncomePersonalInfo-CTZREXGu.js} +63 -67
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js.map → StepLowIncomePersonalInfo-CTZREXGu.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js → StepLowIncomePersonalInfo-CZlgdCqq.js} +39 -35
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js.map → StepLowIncomePersonalInfo-CZlgdCqq.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js} +28 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js.map → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js} +48 -52
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js.map → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-Dpb5-ENF.js +152 -0
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js.map → StepMemberPersonalInfo-Dpb5-ENF.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js → StepMemberPersonalInfo-TjSa0NJV.js} +20 -16
- package/chunk/{StepMemberPersonalInfo-DzKpsoK8.js.map → StepMemberPersonalInfo-TjSa0NJV.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-6bjpRGAv.js +139 -0
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js.map → StepMoverPersonalInfo-6bjpRGAv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js → StepMoverPersonalInfo-vv7-jdz0.js} +18 -14
- package/chunk/{StepMoverPersonalInfo-DIspTifw.js.map → StepMoverPersonalInfo-vv7-jdz0.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DbbQq6nF.js → StepOverrideComponent-4f8ZZxxE.js} +41 -41
- package/chunk/StepOverrideComponent-4f8ZZxxE.js.map +1 -0
- package/chunk/{StepOverrideComponent-67Wl2Ic3.js → StepOverrideComponent-BXnbZhfO.js} +37 -37
- package/chunk/StepOverrideComponent-BXnbZhfO.js.map +1 -0
- package/chunk/{StepSMSLoop-DU91kmZw.js → StepSMSLoop-DAKxJhXo.js} +4 -4
- package/chunk/{StepSMSLoop-DU91kmZw.js.map → StepSMSLoop-DAKxJhXo.js.map} +1 -1
- package/chunk/{StepSMSLoop-DbvJTafU.js → StepSMSLoop-DO4S-Aje.js} +18 -18
- package/chunk/{StepSMSLoop-DbvJTafU.js.map → StepSMSLoop-DO4S-Aje.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +9 -0
- package/chunk/{StepSSO-Bp-M6Mod.js → StepSSO-BaFk7RFJ.js} +4 -4
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js → StepSocialSecurityNumber-BseFM9rt.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js.map → StepSocialSecurityNumber-BseFM9rt.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js → StepSocialSecurityNumber-D0_62BYK.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-D0_62BYK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js → StepStudentPersonalInfo-0LRBqSx5.js} +72 -73
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-0LRBqSx5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js → StepStudentPersonalInfo-CLG5AxSd.js} +36 -37
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js.map → StepStudentPersonalInfo-CLG5AxSd.js.map} +1 -1
- package/chunk/{StepSuccess-DkoWskiv.js → StepSuccess-8Ek9VvK_.js} +82 -83
- package/chunk/StepSuccess-8Ek9VvK_.js.map +1 -0
- package/chunk/{StepSuccess-DOWQrS9p.js → StepSuccess-Be30r2Og.js} +71 -72
- package/chunk/StepSuccess-Be30r2Og.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js → StepTeacherPersonalInfo-BYTmkyxy.js} +21 -17
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js.map → StepTeacherPersonalInfo-BYTmkyxy.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BfyMicng.js +149 -0
- package/chunk/{StepTeacherPersonalInfo-CW71f8l7.js.map → StepTeacherPersonalInfo-BfyMicng.js.map} +1 -1
- package/chunk/{StepThirdPartyLoop-CbFTIlwP.js → StepThirdPartyLoop-BGHCbduX.js} +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +9 -0
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js → TeacherSchoolComponent-IkCV6bH-.js} +8 -8
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js.map → TeacherSchoolComponent-IkCV6bH-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js → TeacherSchoolComponent-Qyri5g_X.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js.map → TeacherSchoolComponent-Qyri5g_X.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
- package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-CVR-bKWg.js → VerificationApiClient-Br6D_KwQ.js} +4 -4
- package/chunk/{VerificationApiClient-CVR-bKWg.js.map → VerificationApiClient-Br6D_KwQ.js.map} +1 -1
- package/chunk/{VerificationApiClient-xgUCQ1gs.js → VerificationApiClient-D6OYdL72.js} +140 -140
- package/chunk/{VerificationApiClient-xgUCQ1gs.js.map → VerificationApiClient-D6OYdL72.js.map} +1 -1
- package/chunk/{VerificationApiUtils-OKRnuWj4.js → VerificationApiUtils-D5oFJWD5.js} +5 -5
- package/chunk/{VerificationApiUtils-COM2VOcB.js.map → VerificationApiUtils-D5oFJWD5.js.map} +1 -1
- package/chunk/{VerificationApiUtils-COM2VOcB.js → VerificationApiUtils-rnfNWA2k.js} +6 -6
- package/chunk/{VerificationApiUtils-OKRnuWj4.js.map → VerificationApiUtils-rnfNWA2k.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +3 -3
- package/chunk/bg-D2-seofX.js +3 -3
- package/chunk/bn-IN-B5PyYaJU.js +3 -3
- package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
- package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
- package/chunk/countryUtils-QSjR1rBI.js +3 -3
- package/chunk/cs-CsEnIopo.js +3 -3
- package/chunk/da-Da-m3VU_.js +3 -3
- package/chunk/de-BSoD5U3-.js +3 -3
- package/chunk/{downshift.esm-Cy12VCIv.js → downshift.esm-DWGiKAV_.js} +121 -121
- package/chunk/{downshift.esm-Cy12VCIv.js.map → downshift.esm-DWGiKAV_.js.map} +1 -1
- package/chunk/{downshift.esm-D4-Qs4ci.js → downshift.esm-oTd5iRZU.js} +40 -40
- package/chunk/{downshift.esm-D4-Qs4ci.js.map → downshift.esm-oTd5iRZU.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
- package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +3 -3
- package/chunk/es-D18tLxcT.js +3 -3
- package/chunk/es-ES-7x2bVUQr.js +3 -3
- package/chunk/et-udrWMVlD.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-DgwYULMs.js +3 -3
- package/chunk/fi-CkCWFGDC.js +3 -3
- package/chunk/fr-BprIFEa8.js +3 -3
- package/chunk/fr-CA-DrjICejr.js +3 -3
- package/chunk/ga-LaV5ZJgg.js +3 -3
- package/chunk/hi-IN-7dtEICYI.js +3 -3
- package/chunk/hr-2Bctl997.js +3 -3
- package/chunk/hu-BT0z6TPZ.js +3 -3
- package/chunk/id-BvyYep3X.js +3 -3
- package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
- package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
- package/chunk/is-DOsKfa80.js +3 -3
- package/chunk/it-3dX9AQk7.js +3 -3
- package/chunk/iw-5I90wqQ8.js +3 -3
- package/chunk/ja-CHdgbMgX.js +3 -3
- package/chunk/jsx-runtime-BknAqbDq.js +3 -3
- package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
- package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +3 -3
- package/chunk/ko-DsMaax3V.js +3 -3
- package/chunk/lo-CjASRmNr.js +3 -3
- package/chunk/lt-DF29E1de.js +3 -3
- package/chunk/lv-DlHBZyt-.js +3 -3
- package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
- package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
- package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
- package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +3 -3
- package/chunk/nl-BE-Dw1IGXuF.js +3 -3
- package/chunk/nl-Cqkrr5-r.js +3 -3
- package/chunk/no-876EdwkX.js +3 -3
- package/chunk/options-D19mRw5a.js +3 -3
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
- package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
- package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js → useCollectFieldsEndpoint-BSbEIf3Q.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js.map → useCollectFieldsEndpoint-BSbEIf3Q.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js → useCollectFieldsEndpoint-BuXZrZTD.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js.map → useCollectFieldsEndpoint-BuXZrZTD.js.map} +1 -1
- package/chunk/{useMetrics-AzdlM_Kg.js → useMetrics-BdMoL7SD.js} +18 -18
- package/chunk/{useMetrics-DKs1RHom.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
- package/chunk/{useMetrics-DKs1RHom.js → useMetrics-D_8asKZL.js} +4 -4
- package/chunk/{useMetrics-AzdlM_Kg.js.map → useMetrics-D_8asKZL.js.map} +1 -1
- package/chunk/validators-DTjHYDSK.js +474 -0
- package/chunk/validators-DTjHYDSK.js.map +1 -0
- package/chunk/validators-Do9xo2t_.js +470 -0
- package/chunk/validators-Do9xo2t_.js.map +1 -0
- package/chunk/vi-CdPTWSev.js +3 -3
- package/chunk/zh-DhnjKBoc.js +3 -3
- package/chunk/zh-HK-CWKNP_HX.js +3 -3
- package/chunk/zu-BpMHS0oR.js +3 -3
- package/package.json +3 -2
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +3812 -1369
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-CRF7oKmW.js +0 -78
- package/chunk/EmailLoopPending-MXkvNNP8.js.map +0 -1
- package/chunk/EmailLoopPending-anok50US.js +0 -137
- package/chunk/EmailLoopPending-anok50US.js.map +0 -1
- package/chunk/FormFooterComponent-Cobuya5J.js.map +0 -1
- package/chunk/FormFooterComponent-DcilxYfs.js.map +0 -1
- package/chunk/StepAgePersonalInfo-KeuFdZua.js +0 -173
- package/chunk/StepCollectMilitaryStatusComponent-CHOxuZnI.js +0 -9
- package/chunk/StepCollectPersonalInfo-BVd72Idl.js +0 -361
- package/chunk/StepCompleteAuthentication-CYsu3UXL.js.map +0 -1
- package/chunk/StepCompleteAuthentication-CmOEE_s5.js.map +0 -1
- package/chunk/StepEmailLoop-7EwsfbG2.js.map +0 -1
- package/chunk/StepEmailLoop-CLIGNsCO.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-DzKpsoK8.js +0 -156
- package/chunk/StepMoverPersonalInfo-DIspTifw.js +0 -143
- package/chunk/StepOverrideComponent-67Wl2Ic3.js.map +0 -1
- package/chunk/StepOverrideComponent-DbbQq6nF.js.map +0 -1
- package/chunk/StepSSO-DfPU73JX.js +0 -9
- package/chunk/StepSuccess-DOWQrS9p.js.map +0 -1
- package/chunk/StepSuccess-DkoWskiv.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CW71f8l7.js +0 -153
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +0 -9
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
- package/chunk/hooks--D4yPhcg.js +0 -2893
- package/chunk/hooks--D4yPhcg.js.map +0 -1
- package/chunk/hooks-Bn35OzEf.js +0 -2889
- package/chunk/hooks-Bn35OzEf.js.map +0 -1
package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js}
RENAMED
|
@@ -4,22 +4,21 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import { t as o } from "./
|
|
15
|
-
import {
|
|
16
|
-
import { Q as c, X as l } from "../_mysheerid-preview.js";
|
|
12
|
+
import { Mt as e, Ut as t, p as n } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { c as r, n as i, t as a } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { t as o } from "./AnnouncingHeader-BF69hVVm.js";
|
|
15
|
+
import { $ as s, Z as c } from "../_mysheerid-preview.js";
|
|
17
16
|
//#region ../node_modules/react-auth-code-input/dist/index.modern.js
|
|
18
|
-
var
|
|
17
|
+
var l = /* @__PURE__ */ t(r()), u = [
|
|
19
18
|
"alpha",
|
|
20
19
|
"numeric",
|
|
21
20
|
"alphanumeric"
|
|
22
|
-
],
|
|
21
|
+
], d = {
|
|
23
22
|
alpha: {
|
|
24
23
|
type: "text",
|
|
25
24
|
inputMode: "text",
|
|
@@ -37,14 +36,14 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
37
36
|
min: "0",
|
|
38
37
|
max: "9"
|
|
39
38
|
}
|
|
40
|
-
},
|
|
41
|
-
var n = e.allowedCharacters, r = n === void 0 ? "alphanumeric" : n, i = e.ariaLabel, a = e.autoFocus, o = a === void 0 ? !0 : a, s = e.containerClassName, c = e.disabled,
|
|
39
|
+
}, f = (0, l.forwardRef)(function(e, t) {
|
|
40
|
+
var n = e.allowedCharacters, r = n === void 0 ? "alphanumeric" : n, i = e.ariaLabel, a = e.autoFocus, o = a === void 0 ? !0 : a, s = e.containerClassName, c = e.disabled, f = e.inputClassName, p = e.isPassword, m = p === void 0 ? !1 : p, h = e.length, g = h === void 0 ? 6 : h, _ = e.placeholder, v = e.onChange;
|
|
42
41
|
if (isNaN(g) || g < 1) throw Error("Length should be a number and greater than 0");
|
|
43
|
-
if (!
|
|
42
|
+
if (!u.some(function(e) {
|
|
44
43
|
return e === r;
|
|
45
44
|
})) throw Error("Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric");
|
|
46
|
-
var y = (0,
|
|
47
|
-
(0,
|
|
45
|
+
var y = (0, l.useRef)([]), b = d[r];
|
|
46
|
+
(0, l.useImperativeHandle)(t, function() {
|
|
48
47
|
return {
|
|
49
48
|
focus: function() {
|
|
50
49
|
y.current && y.current[0].focus();
|
|
@@ -57,7 +56,7 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
57
56
|
x();
|
|
58
57
|
}
|
|
59
58
|
};
|
|
60
|
-
}), (0,
|
|
59
|
+
}), (0, l.useEffect)(function() {
|
|
61
60
|
o && y.current[0].focus();
|
|
62
61
|
}, []);
|
|
63
62
|
for (var x = function() {
|
|
@@ -88,7 +87,7 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
88
87
|
}
|
|
89
88
|
x(), e.preventDefault();
|
|
90
89
|
}, E = [], D = function(e) {
|
|
91
|
-
E.push(
|
|
90
|
+
E.push(l.createElement("input", Object.assign({
|
|
92
91
|
key: e,
|
|
93
92
|
onChange: S,
|
|
94
93
|
onKeyDown: C,
|
|
@@ -100,87 +99,87 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
100
99
|
y.current[e] = t;
|
|
101
100
|
},
|
|
102
101
|
maxLength: 1,
|
|
103
|
-
className:
|
|
102
|
+
className: f,
|
|
104
103
|
autoComplete: e === 0 ? "one-time-code" : "off",
|
|
105
104
|
"aria-label": i ? i + ". Character " + (e + 1) + "." : "Character " + (e + 1) + ".",
|
|
106
105
|
disabled: c,
|
|
107
106
|
placeholder: _
|
|
108
107
|
})));
|
|
109
108
|
}, O = 0; O < g; O++) D(O);
|
|
110
|
-
return
|
|
111
|
-
}),
|
|
112
|
-
let r =
|
|
113
|
-
let a = n(r, (
|
|
114
|
-
e
|
|
109
|
+
return l.createElement("div", { className: s }, E);
|
|
110
|
+
}), p = a(), m = ({ verificationService: t }) => {
|
|
111
|
+
let r = t.viewModel, { fieldValidationErrors: a, verificationResponse: u } = t, { errorIds: d } = u, m = l.useRef(null), h = (e, i) => {
|
|
112
|
+
let a = n(r, (t) => {
|
|
113
|
+
t[e] = i;
|
|
115
114
|
});
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
let
|
|
115
|
+
t.updateViewModel(a);
|
|
116
|
+
}, g = () => {
|
|
117
|
+
let e = n(r, (e) => {
|
|
119
118
|
e.didManuallyVerify = !0, delete e.authenticationCode;
|
|
120
119
|
});
|
|
121
|
-
return
|
|
120
|
+
return t.updateViewModel(e), e;
|
|
122
121
|
};
|
|
123
|
-
return
|
|
122
|
+
return l.useEffect(() => {
|
|
124
123
|
r.authenticationCode &&= "";
|
|
125
|
-
}, []),
|
|
126
|
-
r.authenticationCode.length >= 6 &&
|
|
127
|
-
}, [r.authenticationCode]), /* @__PURE__ */ (0,
|
|
124
|
+
}, []), l.useEffect(() => {
|
|
125
|
+
r.authenticationCode.length >= 6 && c(r, t, e.completeAuthentication);
|
|
126
|
+
}, [r.authenticationCode]), /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
128
127
|
id: "sid-step-complete-authentication",
|
|
129
128
|
className: "sid-step-complete-authentication-container sid-l-container",
|
|
130
129
|
children: [
|
|
131
|
-
/* @__PURE__ */ (0,
|
|
130
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
132
131
|
className: "sid-header",
|
|
133
|
-
children: [/* @__PURE__ */ (0,
|
|
132
|
+
children: [/* @__PURE__ */ (0, p.jsx)(o, {
|
|
134
133
|
align: "center",
|
|
135
|
-
children: /* @__PURE__ */ (0,
|
|
134
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
136
135
|
id: "step.completeAuthentication.title",
|
|
137
136
|
defaultMessage: "Verify with Remember Me"
|
|
138
137
|
})
|
|
139
|
-
}), /* @__PURE__ */ (0,
|
|
138
|
+
}), /* @__PURE__ */ (0, p.jsx)("div", {
|
|
140
139
|
className: "sid-header__subtitle sid-l-horz-center",
|
|
141
|
-
children: /* @__PURE__ */ (0,
|
|
140
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
142
141
|
id: "step.completeAuthentication.subtitle",
|
|
143
142
|
defaultMessage: "Enter the code sent to your email."
|
|
144
143
|
})
|
|
145
144
|
})]
|
|
146
145
|
}),
|
|
147
|
-
/* @__PURE__ */ (0,
|
|
148
|
-
/* @__PURE__ */ (0,
|
|
146
|
+
/* @__PURE__ */ (0, p.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
147
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
149
148
|
className: "auth-code",
|
|
150
|
-
children: [/* @__PURE__ */ (0,
|
|
151
|
-
onChange: (
|
|
152
|
-
|
|
149
|
+
children: [/* @__PURE__ */ (0, p.jsx)(f, {
|
|
150
|
+
onChange: (e) => {
|
|
151
|
+
h("authenticationCode", e), s("authenticationCode", e, t);
|
|
153
152
|
},
|
|
154
|
-
ref:
|
|
153
|
+
ref: m,
|
|
155
154
|
allowedCharacters: "numeric",
|
|
156
155
|
length: 6,
|
|
157
156
|
isPassword: !0,
|
|
158
157
|
containerClassName: "auth-code__container",
|
|
159
158
|
inputClassName: `auth-code__input${a.authenticationCode ? " auth-code__input-error" : ""}`
|
|
160
|
-
}), a.authenticationCode ||
|
|
159
|
+
}), a.authenticationCode || d?.length > 0 && /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
161
160
|
className: "auth-code__error-container",
|
|
162
|
-
children: [
|
|
161
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", { children: /* @__PURE__ */ (0, p.jsx)("img", {
|
|
163
162
|
alt: "red-exclaimation-circle",
|
|
164
163
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg"
|
|
165
|
-
}) }), /* @__PURE__ */ (0,
|
|
164
|
+
}) }), /* @__PURE__ */ (0, p.jsx)("div", {
|
|
166
165
|
className: "auth-code__error-text",
|
|
167
|
-
children: /* @__PURE__ */ (0,
|
|
166
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
168
167
|
id: "errorId.invalidAuthenticationLoopToken",
|
|
169
168
|
defaultMessage: "The code provided is invalid"
|
|
170
169
|
})
|
|
171
170
|
})]
|
|
172
171
|
})]
|
|
173
172
|
}),
|
|
174
|
-
/* @__PURE__ */ (0,
|
|
173
|
+
/* @__PURE__ */ (0, p.jsx)("div", {
|
|
175
174
|
className: "sid-complete-auth__manually-verify-button-continer",
|
|
176
|
-
children: /* @__PURE__ */ (0,
|
|
175
|
+
children: /* @__PURE__ */ (0, p.jsx)("button", {
|
|
177
176
|
type: "button",
|
|
178
177
|
className: "sid-btn sid-btn-light sid-complete-auth__manually-verify-button",
|
|
179
178
|
"aria-label": "submit",
|
|
180
179
|
onClick: () => {
|
|
181
|
-
|
|
180
|
+
c(g(), t, e.completeAuthentication);
|
|
182
181
|
},
|
|
183
|
-
children: /* @__PURE__ */ (0,
|
|
182
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
184
183
|
id: "step.completeAuthentication.manuallyVerifyButton",
|
|
185
184
|
defaultMessage: "Manually verify"
|
|
186
185
|
})
|
|
@@ -190,4 +189,4 @@ var u = /* @__PURE__ */ e(r()), d = [
|
|
|
190
189
|
});
|
|
191
190
|
};
|
|
192
191
|
//#endregion
|
|
193
|
-
export {
|
|
192
|
+
export { m as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-C2HoMZzF.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\";\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\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 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(\"authenticationCode\", token, verificationService);\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 <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 <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 );\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;CAC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.js → StepCompleteAuthentication-Cs4zhI-D.js}
RENAMED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { Ft as e, Wt as t, c as n } from "./options-D19mRw5a.js";
|
|
9
9
|
import { c as r, n as i, t as a } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import { t as o } from "./
|
|
11
|
-
import {
|
|
12
|
-
import { $ as c, Z as l } from "../sheerid.js";
|
|
10
|
+
import { t as o } from "./AnnouncingHeader-DjgtqEeX.js";
|
|
11
|
+
import { Q as s, et as c } from "../sheerid.js";
|
|
13
12
|
//#region ../node_modules/react-auth-code-input/dist/index.modern.js
|
|
14
|
-
var
|
|
13
|
+
var l = /* @__PURE__ */ t(r()), u = [
|
|
15
14
|
"alpha",
|
|
16
15
|
"numeric",
|
|
17
16
|
"alphanumeric"
|
|
18
|
-
],
|
|
17
|
+
], d = {
|
|
19
18
|
alpha: {
|
|
20
19
|
type: "text",
|
|
21
20
|
inputMode: "text",
|
|
@@ -33,14 +32,14 @@ var u = /* @__PURE__ */ t(r()), d = [
|
|
|
33
32
|
min: "0",
|
|
34
33
|
max: "9"
|
|
35
34
|
}
|
|
36
|
-
},
|
|
37
|
-
var n = e.allowedCharacters, r = n === void 0 ? "alphanumeric" : n, i = e.ariaLabel, a = e.autoFocus, o = a === void 0 ? !0 : a, s = e.containerClassName, c = e.disabled,
|
|
35
|
+
}, f = (0, l.forwardRef)(function(e, t) {
|
|
36
|
+
var n = e.allowedCharacters, r = n === void 0 ? "alphanumeric" : n, i = e.ariaLabel, a = e.autoFocus, o = a === void 0 ? !0 : a, s = e.containerClassName, c = e.disabled, f = e.inputClassName, p = e.isPassword, m = p === void 0 ? !1 : p, h = e.length, g = h === void 0 ? 6 : h, _ = e.placeholder, v = e.onChange;
|
|
38
37
|
if (isNaN(g) || g < 1) throw Error("Length should be a number and greater than 0");
|
|
39
|
-
if (!
|
|
38
|
+
if (!u.some(function(e) {
|
|
40
39
|
return e === r;
|
|
41
40
|
})) throw Error("Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric");
|
|
42
|
-
var y = (0,
|
|
43
|
-
(0,
|
|
41
|
+
var y = (0, l.useRef)([]), b = d[r];
|
|
42
|
+
(0, l.useImperativeHandle)(t, function() {
|
|
44
43
|
return {
|
|
45
44
|
focus: function() {
|
|
46
45
|
y.current && y.current[0].focus();
|
|
@@ -53,7 +52,7 @@ var u = /* @__PURE__ */ t(r()), d = [
|
|
|
53
52
|
x();
|
|
54
53
|
}
|
|
55
54
|
};
|
|
56
|
-
}), (0,
|
|
55
|
+
}), (0, l.useEffect)(function() {
|
|
57
56
|
o && y.current[0].focus();
|
|
58
57
|
}, []);
|
|
59
58
|
for (var x = function() {
|
|
@@ -84,7 +83,7 @@ var u = /* @__PURE__ */ t(r()), d = [
|
|
|
84
83
|
}
|
|
85
84
|
x(), e.preventDefault();
|
|
86
85
|
}, E = [], D = function(e) {
|
|
87
|
-
E.push(
|
|
86
|
+
E.push(l.createElement("input", Object.assign({
|
|
88
87
|
key: e,
|
|
89
88
|
onChange: S,
|
|
90
89
|
onKeyDown: C,
|
|
@@ -96,87 +95,87 @@ var u = /* @__PURE__ */ t(r()), d = [
|
|
|
96
95
|
y.current[e] = t;
|
|
97
96
|
},
|
|
98
97
|
maxLength: 1,
|
|
99
|
-
className:
|
|
98
|
+
className: f,
|
|
100
99
|
autoComplete: e === 0 ? "one-time-code" : "off",
|
|
101
100
|
"aria-label": i ? i + ". Character " + (e + 1) + "." : "Character " + (e + 1) + ".",
|
|
102
101
|
disabled: c,
|
|
103
102
|
placeholder: _
|
|
104
103
|
})));
|
|
105
104
|
}, O = 0; O < g; O++) D(O);
|
|
106
|
-
return
|
|
107
|
-
}),
|
|
108
|
-
let r = t.viewModel, { fieldValidationErrors: a, verificationResponse:
|
|
105
|
+
return l.createElement("div", { className: s }, E);
|
|
106
|
+
}), p = a(), m = ({ verificationService: t }) => {
|
|
107
|
+
let r = t.viewModel, { fieldValidationErrors: a, verificationResponse: u } = t, { errorIds: d } = u, m = l.useRef(null), h = (e, i) => {
|
|
109
108
|
let a = n(r, (t) => {
|
|
110
109
|
t[e] = i;
|
|
111
110
|
});
|
|
112
111
|
t.updateViewModel(a);
|
|
113
|
-
},
|
|
112
|
+
}, g = () => {
|
|
114
113
|
let e = n(r, (e) => {
|
|
115
114
|
e.didManuallyVerify = !0, delete e.authenticationCode;
|
|
116
115
|
});
|
|
117
116
|
return t.updateViewModel(e), e;
|
|
118
117
|
};
|
|
119
|
-
return
|
|
118
|
+
return l.useEffect(() => {
|
|
120
119
|
r.authenticationCode &&= "";
|
|
121
|
-
}, []),
|
|
122
|
-
r.authenticationCode.length >= 6 &&
|
|
123
|
-
}, [r.authenticationCode]), /* @__PURE__ */ (0,
|
|
120
|
+
}, []), l.useEffect(() => {
|
|
121
|
+
r.authenticationCode.length >= 6 && s(r, t, e.completeAuthentication);
|
|
122
|
+
}, [r.authenticationCode]), /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
124
123
|
id: "sid-step-complete-authentication",
|
|
125
124
|
className: "sid-step-complete-authentication-container sid-l-container",
|
|
126
125
|
children: [
|
|
127
|
-
/* @__PURE__ */ (0,
|
|
126
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
128
127
|
className: "sid-header",
|
|
129
|
-
children: [/* @__PURE__ */ (0,
|
|
128
|
+
children: [/* @__PURE__ */ (0, p.jsx)(o, {
|
|
130
129
|
align: "center",
|
|
131
|
-
children: /* @__PURE__ */ (0,
|
|
130
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
132
131
|
id: "step.completeAuthentication.title",
|
|
133
132
|
defaultMessage: "Verify with Remember Me"
|
|
134
133
|
})
|
|
135
|
-
}), /* @__PURE__ */ (0,
|
|
134
|
+
}), /* @__PURE__ */ (0, p.jsx)("div", {
|
|
136
135
|
className: "sid-header__subtitle sid-l-horz-center",
|
|
137
|
-
children: /* @__PURE__ */ (0,
|
|
136
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
138
137
|
id: "step.completeAuthentication.subtitle",
|
|
139
138
|
defaultMessage: "Enter the code sent to your email."
|
|
140
139
|
})
|
|
141
140
|
})]
|
|
142
141
|
}),
|
|
143
|
-
/* @__PURE__ */ (0,
|
|
144
|
-
/* @__PURE__ */ (0,
|
|
142
|
+
/* @__PURE__ */ (0, p.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
143
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
145
144
|
className: "auth-code",
|
|
146
|
-
children: [/* @__PURE__ */ (0,
|
|
145
|
+
children: [/* @__PURE__ */ (0, p.jsx)(f, {
|
|
147
146
|
onChange: (e) => {
|
|
148
|
-
|
|
147
|
+
h("authenticationCode", e), c("authenticationCode", e, t);
|
|
149
148
|
},
|
|
150
|
-
ref:
|
|
149
|
+
ref: m,
|
|
151
150
|
allowedCharacters: "numeric",
|
|
152
151
|
length: 6,
|
|
153
152
|
isPassword: !0,
|
|
154
153
|
containerClassName: "auth-code__container",
|
|
155
154
|
inputClassName: `auth-code__input${a.authenticationCode ? " auth-code__input-error" : ""}`
|
|
156
|
-
}), a.authenticationCode ||
|
|
155
|
+
}), a.authenticationCode || d?.length > 0 && /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
157
156
|
className: "auth-code__error-container",
|
|
158
|
-
children: [
|
|
157
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", { children: /* @__PURE__ */ (0, p.jsx)("img", {
|
|
159
158
|
alt: "red-exclaimation-circle",
|
|
160
159
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg"
|
|
161
|
-
}) }), /* @__PURE__ */ (0,
|
|
160
|
+
}) }), /* @__PURE__ */ (0, p.jsx)("div", {
|
|
162
161
|
className: "auth-code__error-text",
|
|
163
|
-
children: /* @__PURE__ */ (0,
|
|
162
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
164
163
|
id: "errorId.invalidAuthenticationLoopToken",
|
|
165
164
|
defaultMessage: "The code provided is invalid"
|
|
166
165
|
})
|
|
167
166
|
})]
|
|
168
167
|
})]
|
|
169
168
|
}),
|
|
170
|
-
/* @__PURE__ */ (0,
|
|
169
|
+
/* @__PURE__ */ (0, p.jsx)("div", {
|
|
171
170
|
className: "sid-complete-auth__manually-verify-button-continer",
|
|
172
|
-
children: /* @__PURE__ */ (0,
|
|
171
|
+
children: /* @__PURE__ */ (0, p.jsx)("button", {
|
|
173
172
|
type: "button",
|
|
174
173
|
className: "sid-btn sid-btn-light sid-complete-auth__manually-verify-button",
|
|
175
174
|
"aria-label": "submit",
|
|
176
175
|
onClick: () => {
|
|
177
|
-
|
|
176
|
+
s(g(), t, e.completeAuthentication);
|
|
178
177
|
},
|
|
179
|
-
children: /* @__PURE__ */ (0,
|
|
178
|
+
children: /* @__PURE__ */ (0, p.jsx)(i, {
|
|
180
179
|
id: "step.completeAuthentication.manuallyVerifyButton",
|
|
181
180
|
defaultMessage: "Manually verify"
|
|
182
181
|
})
|
|
@@ -186,4 +185,4 @@ var u = /* @__PURE__ */ t(r()), d = [
|
|
|
186
185
|
});
|
|
187
186
|
};
|
|
188
187
|
//#endregion
|
|
189
|
-
export {
|
|
188
|
+
export { m as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-Cs4zhI-D.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\";\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\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 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(\"authenticationCode\", token, verificationService);\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 <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 <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 );\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,AAAI,EAAU,WACZ,EAAU,QAAQ,GAAG,MAAM;GAE/B;GACA,OAAO,WAAiB;IACtB,IAAI,EAAU,SAAS;KACrB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ACE,CAAA,CACF;MAEN;;GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;cACb,iBAAA,GAAA,EAAA,KAAC,UAAD;KACE,MAAK;KACL,WAAU;KACV,cAAW;KACX,eAAe;MACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;KACF;eAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACK,CAAA;GACL,CAAA;EACF;;AAET"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { Ot as e } from "./options-D19mRw5a.js";
|
|
9
9
|
import { n as t, t as n } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import { t as r } from "./ApiUrls-
|
|
10
|
+
import { t as r } from "./ApiUrls-BpvEY_I3.js";
|
|
11
11
|
import { t as i } from "./LogoComponent-BMeuu-aK.js";
|
|
12
12
|
import { t as a } from "./CopyToClipboardComponent-1BeB_oX_.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-CwLUx5P6.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 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\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\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={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\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\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":";;;;;;aAgHa,KApGY,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;GACE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf;KACE,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;KACvD,CAAA;KAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;MACE,WAAU;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,QAAQ,EAAE,eAAY;KACvB,CAAA;IAEiB,CAAA;GACnB,CAAA;EACF;;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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { n as t, t as n } from "./jsx-runtime-
|
|
14
|
-
import { t as r } from "./ApiUrls-
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
16
|
-
import { t as a } from "./CopyToClipboardComponent-
|
|
12
|
+
import { Tt as e } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { n as t, t as n } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { t as r } from "./ApiUrls-Qas0Xjyd.js";
|
|
15
|
+
import { t as i } from "./LogoComponent-BxIXOXCM.js";
|
|
16
|
+
import { t as a } from "./CopyToClipboardComponent-C1BnmvlK.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = n(), s = ({ verificationService: n }) => {
|
|
19
19
|
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-J6tneCHK.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 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\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\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={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\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\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":";;;;;;aAgHa,KApGY,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;GACE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf;KACE,iBAAA,GAAA,EAAA,KAAC,OAAD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