@sheerid/jslib 2.297.0 → 2.298.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 +56 -56
- package/chunk/{AddressComponent-CdwQsL7v.js → AddressComponent-BO8uwD81.js} +5 -5
- package/chunk/{AddressComponent-0k1NF_KY.js.map → AddressComponent-BO8uwD81.js.map} +1 -1
- package/chunk/{AddressComponent-0k1NF_KY.js → AddressComponent-CKeSDYEP.js} +5 -5
- package/chunk/{AddressComponent-CdwQsL7v.js.map → AddressComponent-CKeSDYEP.js.map} +1 -1
- package/chunk/AnnouncingHeader-CnV2m0Ak.js +4 -4
- package/chunk/AnnouncingHeader-zH7WLU2-.js +4 -4
- package/chunk/{BirthDateComponent-Dvb6lKmI.js → BirthDateComponent-CpaSjzp1.js} +5 -5
- package/chunk/{BirthDateComponent-CHHstyyj.js.map → BirthDateComponent-CpaSjzp1.js.map} +1 -1
- package/chunk/{BirthDateComponent-CHHstyyj.js → BirthDateComponent-Cvyvrvy9.js} +5 -5
- package/chunk/{BirthDateComponent-Dvb6lKmI.js.map → BirthDateComponent-Cvyvrvy9.js.map} +1 -1
- package/chunk/{CaptchaComponent-DbPdhlAS.js → CaptchaComponent-DThVKBq5.js} +8 -8
- package/chunk/{CaptchaComponent-DbPdhlAS.js.map → CaptchaComponent-DThVKBq5.js.map} +1 -1
- package/chunk/{CaptchaComponent-DozS1WnN.js → CaptchaComponent-uOeIRRjG.js} +8 -8
- package/chunk/{CaptchaComponent-DozS1WnN.js.map → CaptchaComponent-uOeIRRjG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-HFXDiCM-.js → ChangeLocaleComponent-Bxg8pz-l.js} +7 -7
- package/chunk/{ChangeLocaleComponent-BCSP6utA.js.map → ChangeLocaleComponent-Bxg8pz-l.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BCSP6utA.js → ChangeLocaleComponent-pXywcmDe.js} +7 -7
- package/chunk/{ChangeLocaleComponent-HFXDiCM-.js.map → ChangeLocaleComponent-pXywcmDe.js.map} +1 -1
- package/chunk/{City-CfXPJin8.js → City-BTxg-kpr.js} +5 -5
- package/chunk/{City-CfXPJin8.js.map → City-BTxg-kpr.js.map} +1 -1
- package/chunk/{City-DS4thSuO.js → City-DGBDV237.js} +5 -5
- package/chunk/{City-DS4thSuO.js.map → City-DGBDV237.js.map} +1 -1
- package/chunk/{CollegeNameComponent-uWtQskEa.js → CollegeNameComponent-CT3HA393.js} +7 -7
- package/chunk/{CollegeNameComponent-C-jBNGzt.js.map → CollegeNameComponent-CT3HA393.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-jBNGzt.js → CollegeNameComponent-MILlBqzV.js} +7 -7
- package/chunk/{CollegeNameComponent-uWtQskEa.js.map → CollegeNameComponent-MILlBqzV.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BdrpxpHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-Dm3-3x4b.js +4 -4
- package/chunk/{CountryComponentWrapper-DMK4mXyj.js → CountryComponentWrapper-CkTDmoY7.js} +7 -7
- package/chunk/{CountryComponentWrapper-DMK4mXyj.js.map → CountryComponentWrapper-CkTDmoY7.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-u1uEGSoo.js → CountryComponentWrapper-D6RGDNNk.js} +7 -7
- package/chunk/{CountryComponentWrapper-u1uEGSoo.js.map → CountryComponentWrapper-D6RGDNNk.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CWm_rfrf.js → DischargeDateComponent-G_UwgiLj.js} +8 -8
- package/chunk/{DischargeDateComponent-ByMd4z06.js.map → DischargeDateComponent-G_UwgiLj.js.map} +1 -1
- package/chunk/{DischargeDateComponent-ByMd4z06.js → DischargeDateComponent-aioJq4wN.js} +8 -8
- package/chunk/{DischargeDateComponent-CWm_rfrf.js.map → DischargeDateComponent-aioJq4wN.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BH2PgBlR.js → DriverLicenseNumberComponent-D8oSCASJ.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-BH2PgBlR.js.map → DriverLicenseNumberComponent-D8oSCASJ.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D-JmObdn.js → DriverLicenseNumberComponent-eTJwYLrq.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D-JmObdn.js.map → DriverLicenseNumberComponent-eTJwYLrq.js.map} +1 -1
- package/chunk/{EmailLoopPending-pEFU9RKD.js → EmailLoopPending-D-sQeRXY.js} +6 -6
- package/chunk/{EmailLoopPending-CIFjLuY_.js.map → EmailLoopPending-D-sQeRXY.js.map} +1 -1
- package/chunk/{EmailLoopPending-CIFjLuY_.js → EmailLoopPending-DLP9xs7Y.js} +6 -6
- package/chunk/{EmailLoopPending-pEFU9RKD.js.map → EmailLoopPending-DLP9xs7Y.js.map} +1 -1
- package/chunk/{ExtraMessage-wNLR13qq.js → ExtraMessage-BWxjX8XN.js} +5 -5
- package/chunk/{ExtraMessage-CXxx3n3y.js.map → ExtraMessage-BWxjX8XN.js.map} +1 -1
- package/chunk/{ExtraMessage-CXxx3n3y.js → ExtraMessage-rDmm4BJe.js} +5 -5
- package/chunk/{ExtraMessage-wNLR13qq.js.map → ExtraMessage-rDmm4BJe.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-ndZeO7z0.js → FirstResponderOrganizationComponent-C8KYk1hI.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-hF8jNkY-.js.map → FirstResponderOrganizationComponent-C8KYk1hI.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-hF8jNkY-.js → FirstResponderOrganizationComponent-DCpiZhrL.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-ndZeO7z0.js.map → FirstResponderOrganizationComponent-DCpiZhrL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CqFLZK6n.js → FormFieldInputSelect-Bb9YTOUQ.js} +5 -5
- package/chunk/{FormFieldInputSelect-CqFLZK6n.js.map → FormFieldInputSelect-Bb9YTOUQ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DmHsyDSa.js → FormFieldInputSelect-CNmlpO1G.js} +5 -5
- package/chunk/{FormFieldInputSelect-DmHsyDSa.js.map → FormFieldInputSelect-CNmlpO1G.js.map} +1 -1
- package/chunk/FormFieldLayout-D1tb5nAu.js +4 -4
- package/chunk/FormFieldLayout-Dt_dMiDh.js +4 -4
- package/chunk/FormFieldText-BU2NBm1H.js +4 -4
- package/chunk/FormFieldText-CsFISbyw.js +4 -4
- package/chunk/{FormFieldTypeahead-D7JwAbCt.js → FormFieldTypeahead-CNjO6cZl.js} +7 -7
- package/chunk/{FormFieldTypeahead-D7JwAbCt.js.map → FormFieldTypeahead-CNjO6cZl.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C_leSJVU.js → FormFieldTypeahead-CfsHQ5Ci.js} +7 -7
- package/chunk/{FormFieldTypeahead-C_leSJVU.js.map → FormFieldTypeahead-CfsHQ5Ci.js.map} +1 -1
- package/chunk/{FormFooterComponent-CjKa0nmR.js → FormFooterComponent-CHYYNzQm.js} +449 -419
- package/chunk/FormFooterComponent-CHYYNzQm.js.map +1 -0
- package/chunk/{FormFooterComponent-Hqjhhq4x.js → FormFooterComponent-DtOlZ88b.js} +382 -352
- package/chunk/FormFooterComponent-DtOlZ88b.js.map +1 -0
- package/chunk/{FormSelectChoice-D3vZ9YLa.js → FormSelectChoice-DMkiqagN.js} +6 -6
- package/chunk/{FormSelectChoice-8y034X39.js.map → FormSelectChoice-DMkiqagN.js.map} +1 -1
- package/chunk/{FormSelectChoice-8y034X39.js → FormSelectChoice-hWkVj5bu.js} +6 -6
- package/chunk/{FormSelectChoice-D3vZ9YLa.js.map → FormSelectChoice-hWkVj5bu.js.map} +1 -1
- package/chunk/InputText-CuBi-ytU.js +4 -4
- package/chunk/InputText-DMztCQmi.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-Ws1z-TNj.js → LicensedProfessionalOrganizationComponent-5EOEEmwH.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BwVTep9P.js.map → LicensedProfessionalOrganizationComponent-5EOEEmwH.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BwVTep9P.js → LicensedProfessionalOrganizationComponent-DYEcEcSW.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-Ws1z-TNj.js.map → LicensedProfessionalOrganizationComponent-DYEcEcSW.js.map} +1 -1
- package/chunk/{LogoComponent-CNDQdB3O.js → LogoComponent-DzNFW-I7.js} +5 -5
- package/chunk/{LogoComponent-CNDQdB3O.js.map → LogoComponent-DzNFW-I7.js.map} +1 -1
- package/chunk/{LogoComponent-Dg9CMeQ7.js → LogoComponent-Q7DFRDlh.js} +5 -5
- package/chunk/{LogoComponent-Dg9CMeQ7.js.map → LogoComponent-Q7DFRDlh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BH6GOXvO.js → LowIncomeOrganizationComponent-BsrJwp_s.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-BH6GOXvO.js.map → LowIncomeOrganizationComponent-BsrJwp_s.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-B5HBYyEd.js → LowIncomeOrganizationComponent-CsRFm_Ot.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-B5HBYyEd.js.map → LowIncomeOrganizationComponent-CsRFm_Ot.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Dl7Hiief.js → MedicalProfessionalOrganizationComponent-2UM8oA2_.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-Dl7Hiief.js.map → MedicalProfessionalOrganizationComponent-2UM8oA2_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-rLwSwSVP.js → MedicalProfessionalOrganizationComponent-D0jDfTIo.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-rLwSwSVP.js.map → MedicalProfessionalOrganizationComponent-D0jDfTIo.js.map} +1 -1
- package/chunk/{MemberIdComponent-Cl8SJqe1.js → MemberIdComponent-LS4ANgFM.js} +5 -5
- package/chunk/{MemberIdComponent-BS6_Ck5F.js.map → MemberIdComponent-LS4ANgFM.js.map} +1 -1
- package/chunk/{MemberIdComponent-BS6_Ck5F.js → MemberIdComponent-i1znPIaH.js} +5 -5
- package/chunk/{MemberIdComponent-Cl8SJqe1.js.map → MemberIdComponent-i1znPIaH.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Bia4eOXq.js → MembershipOrganizationComponent-CRziDBjW.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-4fmNyvHc.js.map → MembershipOrganizationComponent-CRziDBjW.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-4fmNyvHc.js → MembershipOrganizationComponent-CoMe9z2g.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-Bia4eOXq.js.map → MembershipOrganizationComponent-CoMe9z2g.js.map} +1 -1
- package/chunk/{Message-BKx1mJx9.js → Message-BOsEnoih.js} +5 -5
- package/chunk/{Message-BKx1mJx9.js.map → Message-BOsEnoih.js.map} +1 -1
- package/chunk/{Message-DrsL5cWg.js → Message-FIogbOPV.js} +5 -5
- package/chunk/{Message-DrsL5cWg.js.map → Message-FIogbOPV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-uJnMrhRD.js → PersonalInfoStepSubmitButton-CRsmGAN-.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-CEd1YF_s.js.map → PersonalInfoStepSubmitButton-CRsmGAN-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CEd1YF_s.js → PersonalInfoStepSubmitButton-zgFCp1DS.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-uJnMrhRD.js.map → PersonalInfoStepSubmitButton-zgFCp1DS.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BXYJWMhY.js → PersonalInfoStepWrapper-ClOkee_U.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-BXYJWMhY.js.map → PersonalInfoStepWrapper-ClOkee_U.js.map} +1 -1
- package/chunk/PersonalInfoStepWrapper-DYF8hIJa.js +80 -0
- package/chunk/PersonalInfoStepWrapper-DYF8hIJa.js.map +1 -0
- package/chunk/{PostalCodeComponent-htsoPASM.js → PostalCodeComponent-CvdEHmWZ.js} +5 -5
- package/chunk/{PostalCodeComponent-C8lhzleL.js.map → PostalCodeComponent-CvdEHmWZ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C8lhzleL.js → PostalCodeComponent-mxwAMaWJ.js} +5 -5
- package/chunk/{PostalCodeComponent-htsoPASM.js.map → PostalCodeComponent-mxwAMaWJ.js.map} +1 -1
- package/chunk/{SSN-C9UaWSOT.js → SSN-C68wNSJ-.js} +5 -5
- package/chunk/{SSN-C9UaWSOT.js.map → SSN-C68wNSJ-.js.map} +1 -1
- package/chunk/{SSN-CVQqNHlQ.js → SSN-Dd_eKrCY.js} +5 -5
- package/chunk/{SSN-CVQqNHlQ.js.map → SSN-Dd_eKrCY.js.map} +1 -1
- package/chunk/{StateSelectComponent-F8_noHFk.js → StateSelectComponent-BCEo6pOV.js} +7 -7
- package/chunk/{StateSelectComponent-B7ts5wz_.js.map → StateSelectComponent-BCEo6pOV.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7ts5wz_.js → StateSelectComponent-C_AaWQr4.js} +7 -7
- package/chunk/{StateSelectComponent-F8_noHFk.js.map → StateSelectComponent-C_AaWQr4.js.map} +1 -1
- package/chunk/{StatusComponent-CaMmhM9a.js → StatusComponent-7b2HtFP_.js} +6 -6
- package/chunk/{StatusComponent-CaMmhM9a.js.map → StatusComponent-7b2HtFP_.js.map} +1 -1
- package/chunk/{StatusComponent-CewDc6v7.js → StatusComponent-CRCP5Ck3.js} +6 -6
- package/chunk/{StatusComponent-CewDc6v7.js.map → StatusComponent-CRCP5Ck3.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Dsq6eekA.js → StepAgePersonalInfo-CbMVCM-G.js} +17 -17
- package/chunk/{StepAgePersonalInfo-CAIDFrDE.js.map → StepAgePersonalInfo-CbMVCM-G.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CAIDFrDE.js → StepAgePersonalInfo-Cs4T_WGW.js} +17 -17
- package/chunk/{StepAgePersonalInfo-Dsq6eekA.js.map → StepAgePersonalInfo-Cs4T_WGW.js.map} +1 -1
- package/chunk/StepCard-DJR-l3sW.js +4 -4
- package/chunk/StepCard-wwTRGIhn.js +4 -4
- package/chunk/{StepCollectIdentifier--DcPBqzY.js → StepCollectIdentifier-Bfeyh9Fw.js} +6 -6
- package/chunk/{StepCollectIdentifier-Ck4mVen9.js.map → StepCollectIdentifier-Bfeyh9Fw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Ck4mVen9.js → StepCollectIdentifier-CMTQfeOl.js} +6 -6
- package/chunk/{StepCollectIdentifier--DcPBqzY.js.map → StepCollectIdentifier-CMTQfeOl.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CoBXICwm.js → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CoBXICwm.js.map → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6T97dgm.js → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6T97dgm.js.map → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DcLIZ7K7.js → StepCollectPersonalInfo-BB-pDnx6.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-Daz6gwsR.js.map → StepCollectPersonalInfo-BB-pDnx6.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Daz6gwsR.js → StepCollectPersonalInfo-ZtXdYWLn.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-DcLIZ7K7.js.map → StepCollectPersonalInfo-ZtXdYWLn.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-BawnNriI.js +4 -4
- package/chunk/StepCompleteAuthentication-VpE4-5vs.js +4 -4
- package/chunk/{StepConsolation-CByemu8y.js → StepConsolation-DJIHMPuH.js} +6 -6
- package/chunk/{StepConsolation-CByemu8y.js.map → StepConsolation-DJIHMPuH.js.map} +1 -1
- package/chunk/{StepConsolation-VI5aE9Ff.js → StepConsolation-Dhz8bOzv.js} +6 -6
- package/chunk/{StepConsolation-VI5aE9Ff.js.map → StepConsolation-Dhz8bOzv.js.map} +1 -1
- package/chunk/{StepDocUpload-BHhuxyj8.js → StepDocUpload-CjhDGgG9.js} +7 -7
- package/chunk/{StepDocUpload-BHhuxyj8.js.map → StepDocUpload-CjhDGgG9.js.map} +1 -1
- package/chunk/{StepDocUpload-B2Ato7tg.js → StepDocUpload-bwspfxED.js} +7 -7
- package/chunk/{StepDocUpload-B2Ato7tg.js.map → StepDocUpload-bwspfxED.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-YQti7kE2.js → StepDriverLicensePersonalInfoComponent-Blj27dgj.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-C8acsDEU.js.map → StepDriverLicensePersonalInfoComponent-Blj27dgj.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C8acsDEU.js → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-YQti7kE2.js.map → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js.map} +1 -1
- package/chunk/{StepEmailLoop-DAcnY3JC.js → StepEmailLoop-BEk39hVN.js} +7 -7
- package/chunk/{StepEmailLoop-7CKgLe_b.js.map → StepEmailLoop-BEk39hVN.js.map} +1 -1
- package/chunk/{StepEmailLoop-7CKgLe_b.js → StepEmailLoop-DyQb2WX7.js} +7 -7
- package/chunk/{StepEmailLoop-DAcnY3JC.js.map → StepEmailLoop-DyQb2WX7.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DVwyE-Yr.js → StepEmploymentPersonalInfo-B8vbykFr.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-CZcQrgZ1.js.map → StepEmploymentPersonalInfo-B8vbykFr.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CZcQrgZ1.js → StepEmploymentPersonalInfo-be5QXB1h.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DVwyE-Yr.js.map → StepEmploymentPersonalInfo-be5QXB1h.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-iEfxgt18.js → StepFirstResponderPersonalInfo-C4eENws-.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-Bj8MmUcv.js.map → StepFirstResponderPersonalInfo-C4eENws-.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Bj8MmUcv.js → StepFirstResponderPersonalInfo-CuYa4EuR.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-iEfxgt18.js.map → StepFirstResponderPersonalInfo-CuYa4EuR.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B71tWz0y.js → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BGkXLgCj.js.map → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BGkXLgCj.js → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B71tWz0y.js.map → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BYH7Mblt.js → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-4IFVA64R.js.map → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-4IFVA64R.js → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BYH7Mblt.js.map → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-ui0FC3b2.js → StepIDCheckLoop-BuMIVJ2Y.js} +5 -5
- package/chunk/{StepIDCheckLoop-C_0Hefcj.js.map → StepIDCheckLoop-BuMIVJ2Y.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C_0Hefcj.js → StepIDCheckLoop-aUdbkaXK.js} +5 -5
- package/chunk/{StepIDCheckLoop-ui0FC3b2.js.map → StepIDCheckLoop-aUdbkaXK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bz9Idbty.js → StepIDCheckLoopOnfido-Cr36MKuM.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-Bz9Idbty.js.map → StepIDCheckLoopOnfido-Cr36MKuM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B3sipKmy.js → StepIDCheckLoopOnfido-Cs_Dh6Vm.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-B3sipKmy.js.map → StepIDCheckLoopOnfido-Cs_Dh6Vm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CaGnqRzd.js → StepIDCheckLoopRegula-D_mQMGOf.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-C-c-2SdO.js.map → StepIDCheckLoopRegula-D_mQMGOf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C-c-2SdO.js → StepIDCheckLoopRegula-KNHewCNp.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-CaGnqRzd.js.map → StepIDCheckLoopRegula-KNHewCNp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CDynSBlS.js → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CDynSBlS.js.map → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CFI2NO-r.js → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CFI2NO-r.js.map → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DBMFpp9P.js → StepLowIncomePersonalInfo-2TtDvD5f.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DBMFpp9P.js.map → StepLowIncomePersonalInfo-2TtDvD5f.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Nlccep8k.js → StepLowIncomePersonalInfo-DVqeKiOv.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-Nlccep8k.js.map → StepLowIncomePersonalInfo-DVqeKiOv.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D8mGJQE6.js → StepMedicalProfessionalPersonalInfo-Dehwiifn.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-CX8Kdi38.js.map → StepMedicalProfessionalPersonalInfo-Dehwiifn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CX8Kdi38.js → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-D8mGJQE6.js.map → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-ZYOKLtlx.js → StepMemberPersonalInfo-BcdHa-P5.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-BH5mmkWH.js.map → StepMemberPersonalInfo-BcdHa-P5.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BH5mmkWH.js → StepMemberPersonalInfo-CDdvWxeJ.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-ZYOKLtlx.js.map → StepMemberPersonalInfo-CDdvWxeJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C0QTvowi.js → StepMoverPersonalInfo-BP5hekVe.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-C0QTvowi.js.map → StepMoverPersonalInfo-BP5hekVe.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CWVP0DZ3.js → StepMoverPersonalInfo-BhPghrWu.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CWVP0DZ3.js.map → StepMoverPersonalInfo-BhPghrWu.js.map} +1 -1
- package/chunk/{StepOverrideComponent-rGX9RQRf.js → StepOverrideComponent-CpOO6E0N.js} +7 -7
- package/chunk/{StepOverrideComponent-rGX9RQRf.js.map → StepOverrideComponent-CpOO6E0N.js.map} +1 -1
- package/chunk/{StepOverrideComponent-26qhuhSy.js → StepOverrideComponent-DoLNPdpp.js} +7 -7
- package/chunk/{StepOverrideComponent-26qhuhSy.js.map → StepOverrideComponent-DoLNPdpp.js.map} +1 -1
- package/chunk/{StepSMSLoop-iU3B6jRs.js → StepSMSLoop-Bkqpb_5n.js} +5 -5
- package/chunk/{StepSMSLoop-8bT0iiE_.js.map → StepSMSLoop-Bkqpb_5n.js.map} +1 -1
- package/chunk/{StepSMSLoop-8bT0iiE_.js → StepSMSLoop-Du2-zSZf.js} +5 -5
- package/chunk/{StepSMSLoop-iU3B6jRs.js.map → StepSMSLoop-Du2-zSZf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-TR-_BNnt.js → StepSocialSecurityNumber-0JnSlFJa.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-BmdQcIkT.js.map → StepSocialSecurityNumber-0JnSlFJa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BmdQcIkT.js → StepSocialSecurityNumber-DS-VcGNr.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-TR-_BNnt.js.map → StepSocialSecurityNumber-DS-VcGNr.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BWv-PNZV.js → StepStudentPersonalInfo-BrQ9Hgs2.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-BF5qeKVa.js.map → StepStudentPersonalInfo-BrQ9Hgs2.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BF5qeKVa.js → StepStudentPersonalInfo-CTeaVeHg.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-BWv-PNZV.js.map → StepStudentPersonalInfo-CTeaVeHg.js.map} +1 -1
- package/chunk/{StepSuccess-DipyaSAH.js → StepSuccess-BQEdDXRG.js} +6 -6
- package/chunk/{StepSuccess-D1-3dfsQ.js.map → StepSuccess-BQEdDXRG.js.map} +1 -1
- package/chunk/{StepSuccess-D1-3dfsQ.js → StepSuccess-C4PlFXll.js} +6 -6
- package/chunk/{StepSuccess-DipyaSAH.js.map → StepSuccess-C4PlFXll.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DlzNmBFm.js → StepTeacherPersonalInfo-BLYc_KIx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-CXr8cpYW.js.map → StepTeacherPersonalInfo-BLYc_KIx.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CXr8cpYW.js → StepTeacherPersonalInfo-CxvlqjH2.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-DlzNmBFm.js.map → StepTeacherPersonalInfo-CxvlqjH2.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DXUQHUIt.js → TeacherSchoolComponent-BRQ6YlBG.js} +7 -7
- package/chunk/{TeacherSchoolComponent-DRKDABFa.js.map → TeacherSchoolComponent-BRQ6YlBG.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DRKDABFa.js → TeacherSchoolComponent-Di-VEsl7.js} +7 -7
- package/chunk/{TeacherSchoolComponent-DXUQHUIt.js.map → TeacherSchoolComponent-Di-VEsl7.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BbCY31VT.js +4 -4
- package/chunk/TestingRouteOverrides-DEu_4afz.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-Cr5eEsvc.js +12 -0
- package/chunk/{countryUtils-DEqx7X1F.js.map → countryUtils-Cr5eEsvc.js.map} +1 -1
- package/chunk/{countryUtils-DGhKkc1P.js → countryUtils-HKXAP5-W.js} +5 -5
- package/chunk/{countryUtils-DGhKkc1P.js.map → countryUtils-HKXAP5-W.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-D_RaSClH.js → downshift.esm-CQRDgGac.js} +5 -5
- package/chunk/{downshift.esm-Be63aT-_.js.map → downshift.esm-CQRDgGac.js.map} +1 -1
- package/chunk/{downshift.esm-Be63aT-_.js → downshift.esm-DqYe997a.js} +5 -5
- package/chunk/{downshift.esm-D_RaSClH.js.map → downshift.esm-DqYe997a.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-B034wwK_.js +4 -4
- package/chunk/empties-lrCPA-9V.js +4 -4
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-DtYEjP2m.js +4 -4
- package/chunk/hooks-QCx6OZlb.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-DYOqmiaL.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQO6A867.js +4 -4
- package/chunk/jsx-runtime-DtApx7WX.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-BQNtP7qW.js +4 -4
- package/chunk/mocks-DC7WJf5c.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-DsRV5fwh.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BlMeCwyW.js → programThemeGetters-1awbZc_9.js} +5 -5
- package/chunk/{programThemeGetters-BlMeCwyW.js.map → programThemeGetters-1awbZc_9.js.map} +1 -1
- package/chunk/{programThemeGetters-zfJ5vzCG.js → programThemeGetters-DEFn8PSa.js} +5 -5
- package/chunk/{programThemeGetters-zfJ5vzCG.js.map → programThemeGetters-DEFn8PSa.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers-C-r8qzyD.js +4 -4
- package/chunk/stepComponentHelpers-CDj3don1.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-nnWmHVWb.js → useCollectFieldsEndpoint-1vI8LGMe.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-nnWmHVWb.js.map → useCollectFieldsEndpoint-1vI8LGMe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-mH1ldSpQ.js → useCollectFieldsEndpoint-DvUIaNH0.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-mH1ldSpQ.js.map → useCollectFieldsEndpoint-DvUIaNH0.js.map} +1 -1
- package/chunk/useMetrics-D6LU4c5p.js +4 -4
- package/chunk/useMetrics-DGl7Sxfe.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +874 -888
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-CjKa0nmR.js.map +0 -1
- package/chunk/FormFooterComponent-Hqjhhq4x.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-DBae9z3B.js +0 -94
- package/chunk/PersonalInfoStepWrapper-DBae9z3B.js.map +0 -1
- package/chunk/countryUtils-DEqx7X1F.js +0 -12
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.298.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790871839660
|
|
5
|
+
* BUILD_DATE: Thu Oct 01 2026 16:23:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
7
7
|
*/
|
|
8
8
|
import { c as e, dt as t, kt as n, n as r } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { n as i, s as a, t as o } from "./jsx-runtime-DQO6A867.js";
|
|
10
|
-
import { _ as ee } from "./Message-
|
|
10
|
+
import { _ as ee } from "./Message-BOsEnoih.js";
|
|
11
11
|
import { S as te, b as s, t as ne, u as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { o as re } from "./programThemeGetters-
|
|
13
|
-
import { h as ie, t as ae } from "./FormFooterComponent-
|
|
12
|
+
import { o as re } from "./programThemeGetters-DEFn8PSa.js";
|
|
13
|
+
import { h as ie, t as ae } from "./FormFooterComponent-CHYYNzQm.js";
|
|
14
14
|
import { n as oe } from "../sheerid.js";
|
|
15
|
-
import { t as se } from "./useCollectFieldsEndpoint-
|
|
15
|
+
import { t as se } from "./useCollectFieldsEndpoint-DvUIaNH0.js";
|
|
16
16
|
import { d as l, f as u, i as d, l as f, r as ce, s as le, t as p } from "./stepComponentHelpers-CDj3don1.js";
|
|
17
|
-
import { a as ue, i as de, n as fe, o as pe, s as me, t as m } from "./CaptchaComponent-
|
|
18
|
-
import { n as h, t as g } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { i as _ } from "./FormSelectChoice-
|
|
20
|
-
import { t as v } from "./BirthDateComponent-
|
|
21
|
-
import { t as y } from "./PostalCodeComponent-
|
|
22
|
-
import { t as b } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as x } from "./City-
|
|
24
|
-
import { t as S } from "./AddressComponent-
|
|
25
|
-
import { t as C } from "./ExtraMessage-
|
|
26
|
-
import { t as w } from "./countryUtils-
|
|
27
|
-
import { t as T } from "./CollegeNameComponent-
|
|
28
|
-
import { t as E } from "./StateSelectComponent-
|
|
29
|
-
import { n as D, r as O, t as k } from "./DischargeDateComponent-
|
|
30
|
-
import { t as A } from "./DriverLicenseNumberComponent-
|
|
31
|
-
import { n as j, t as M } from "./LowIncomeOrganizationComponent-
|
|
32
|
-
import { t as N } from "./StatusComponent-
|
|
33
|
-
import { t as P } from "./FirstResponderOrganizationComponent-
|
|
34
|
-
import { t as F } from "./LicensedProfessionalOrganizationComponent-
|
|
35
|
-
import { t as I } from "./MedicalProfessionalOrganizationComponent-
|
|
36
|
-
import { t as he } from "./MemberIdComponent-
|
|
37
|
-
import { t as L } from "./MembershipOrganizationComponent-
|
|
38
|
-
import { t as R } from "./TeacherSchoolComponent-
|
|
39
|
-
import { t as ge } from "./SSN-
|
|
17
|
+
import { a as ue, i as de, n as fe, o as pe, s as me, t as m } from "./CaptchaComponent-uOeIRRjG.js";
|
|
18
|
+
import { n as h, t as g } from "./PersonalInfoStepSubmitButton-CRsmGAN-.js";
|
|
19
|
+
import { i as _ } from "./FormSelectChoice-hWkVj5bu.js";
|
|
20
|
+
import { t as v } from "./BirthDateComponent-Cvyvrvy9.js";
|
|
21
|
+
import { t as y } from "./PostalCodeComponent-CvdEHmWZ.js";
|
|
22
|
+
import { t as b } from "./CountryComponentWrapper-D6RGDNNk.js";
|
|
23
|
+
import { t as x } from "./City-DGBDV237.js";
|
|
24
|
+
import { t as S } from "./AddressComponent-BO8uwD81.js";
|
|
25
|
+
import { t as C } from "./ExtraMessage-rDmm4BJe.js";
|
|
26
|
+
import { t as w } from "./countryUtils-Cr5eEsvc.js";
|
|
27
|
+
import { t as T } from "./CollegeNameComponent-MILlBqzV.js";
|
|
28
|
+
import { t as E } from "./StateSelectComponent-C_AaWQr4.js";
|
|
29
|
+
import { n as D, r as O, t as k } from "./DischargeDateComponent-G_UwgiLj.js";
|
|
30
|
+
import { t as A } from "./DriverLicenseNumberComponent-D8oSCASJ.js";
|
|
31
|
+
import { n as j, t as M } from "./LowIncomeOrganizationComponent-BsrJwp_s.js";
|
|
32
|
+
import { t as N } from "./StatusComponent-CRCP5Ck3.js";
|
|
33
|
+
import { t as P } from "./FirstResponderOrganizationComponent-DCpiZhrL.js";
|
|
34
|
+
import { t as F } from "./LicensedProfessionalOrganizationComponent-DYEcEcSW.js";
|
|
35
|
+
import { t as I } from "./MedicalProfessionalOrganizationComponent-D0jDfTIo.js";
|
|
36
|
+
import { t as he } from "./MemberIdComponent-LS4ANgFM.js";
|
|
37
|
+
import { t as L } from "./MembershipOrganizationComponent-CoMe9z2g.js";
|
|
38
|
+
import { t as R } from "./TeacherSchoolComponent-BRQ6YlBG.js";
|
|
39
|
+
import { t as ge } from "./SSN-Dd_eKrCY.js";
|
|
40
40
|
//#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
|
|
41
41
|
var z = /* @__PURE__ */ n(a(), 1), B = o(), V = ({ verificationService: n }) => {
|
|
42
42
|
let a = n.viewModel, { updateViewModel: o, programTheme: V } = n, [H, _e] = z.useState(void 0), U = (e) => H && H.some((t) => t.key === e), { fieldValidationErrors: W } = n, G = n.verificationResponse, ve = ie(G), K = (t, n) => {
|
package/chunk/{StepCollectPersonalInfo-DcLIZ7K7.js.map → StepCollectPersonalInfo-ZtXdYWLn.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectPersonalInfo-DcLIZ7K7.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { type MessageId } from \"@/lib/intl/types\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n orgToOption,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfoComponent = ({\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n const statusOptions = useFormSelectChoice((dynamicStatuses ?? availableStatuses) as MessageId[]);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA2Ea,KAAoC,EAC/C,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,GAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,EAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,KAAoB,EAAQ,OAAO,CAAC,EAAE,YAAY,IAAI,EAAQ,MAAM,CAAC,GAErE,UACJ,MACC,MAAY,EAAY,mBACvB,MAAY,EAAY,WACxB,MAAY,EAAY,cACxB,MAAY,EAAY,yBACxB,MAAY,EAAY,cACxB,MAAY,EAAY,gBACxB,MAAY,EAAY,WAEtB,EAAE,mBAA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CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCollectPersonalInfo-ZtXdYWLn.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { type MessageId } from \"@/lib/intl/types\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n orgToOption,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfoComponent = ({\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n const statusOptions = useFormSelectChoice((dynamicStatuses ?? availableStatuses) as MessageId[]);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA2Ea,KAAoC,EAC/C,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,GAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,EAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,K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sBACA,GACA,CACF;KACF;KACW;KACX,UAAU,EAAwB,oBAAoB,GAAG;IAC1D,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAmC;KAAqB,QAAO;IAAsB,CAAA;IAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;IACpC,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.298.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790871839660
|
|
5
|
+
* BUILD_DATE: Thu Oct 01 2026 16:23:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
7
7
|
*/
|
|
8
8
|
import { c as e, kt as t } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { n, s as r, t as i } from "./jsx-runtime-DQO6A867.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.298.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790871845642
|
|
9
|
+
* BUILD_DATE: Thu Oct 01 2026 16:24:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
11
11
|
*/
|
|
12
12
|
import { kt as e, p as t } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { b as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.298.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790871839660
|
|
5
|
+
* BUILD_DATE: Thu Oct 01 2026 16:23:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
7
7
|
*/
|
|
8
8
|
import { n as e, t } from "./jsx-runtime-DQO6A867.js";
|
|
9
9
|
import { l as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
10
|
-
import { p as r } from "./programThemeGetters-
|
|
11
|
-
import { t as i } from "./LogoComponent-
|
|
10
|
+
import { p as r } from "./programThemeGetters-DEFn8PSa.js";
|
|
11
|
+
import { t as i } from "./LogoComponent-Q7DFRDlh.js";
|
|
12
12
|
import { t as a } from "./CopyToClipboardComponent-BdrpxpHJ.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
14
|
var o = t(), s = ({ verificationService: t }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-DJIHMPuH.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 <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\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 </>\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":";;;;;;aAsHa,KA1GY,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,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AD;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,15 +4,15 @@
|
|
|
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: Thu
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.298.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790871845642
|
|
9
|
+
* BUILD_DATE: Thu Oct 01 2026 16:24:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
11
11
|
*/
|
|
12
12
|
import { l as e } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
|
-
import { p as t } from "./programThemeGetters-
|
|
13
|
+
import { p as t } from "./programThemeGetters-1awbZc_9.js";
|
|
14
14
|
import { n, t as r } from "./jsx-runtime-DtApx7WX.js";
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
15
|
+
import { t as i } from "./LogoComponent-DzNFW-I7.js";
|
|
16
16
|
import { t as a } from "./CopyToClipboardComponent-Dm3-3x4b.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = r(), s = ({ verificationService: r }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-Dhz8bOzv.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 <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\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 </>\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":";;;;;;aAsHa,KA1GY,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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gB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAsBN;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"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.298.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790871839660
|
|
5
|
+
* BUILD_DATE: Thu Oct 01 2026 16:23:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
7
7
|
*/
|
|
8
8
|
import { Dt as e, F as t, c as n, d as r, dt as i, kt as a, m as o } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { a as s, n as c, s as l, t as u } from "./jsx-runtime-DQO6A867.js";
|
|
10
|
-
import { a as d, c as f, n as p, o as m, t as h } from "./Message-
|
|
10
|
+
import { a as d, c as f, n as p, o as m, t as h } from "./Message-BOsEnoih.js";
|
|
11
11
|
import { S as g, b as _, m as v, u as y } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
12
|
import { i as ee } from "./TestingRouteOverrides-DEu_4afz.js";
|
|
13
|
-
import { t as te } from "./FormFooterComponent-
|
|
13
|
+
import { t as te } from "./FormFooterComponent-CHYYNzQm.js";
|
|
14
14
|
import { t as b, u as x } from "./hooks-QCx6OZlb.js";
|
|
15
15
|
import { n as S, o as C } from "./refs-Mq0rtW9K.js";
|
|
16
|
-
import { t as w } from "./LogoComponent-
|
|
16
|
+
import { t as w } from "./LogoComponent-Q7DFRDlh.js";
|
|
17
17
|
import { t as T } from "./AnnouncingHeader-zH7WLU2-.js";
|
|
18
18
|
import { M as ne, a as E, o as D, r as re, s as O } from "../sheerid.js";
|
|
19
19
|
import { i as ie, o as ae, r as k } from "./useMetrics-DGl7Sxfe.js";
|