@sheerid/jslib-nightly 2.262.0-alpha.0 → 2.262.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +1489 -1604
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-CL1CDsWz.js} +5 -5
- package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-CL1CDsWz.js.map} +1 -1
- package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-DJPGVE04.js} +5 -5
- package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-DJPGVE04.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DSPYeTwU.js → AnnouncingHeader-DGy7wEme.js} +5 -5
- package/chunk/{AnnouncingHeader-DDT5xAyL.js.map → AnnouncingHeader-DGy7wEme.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DDT5xAyL.js → AnnouncingHeader-lotcA5d8.js} +5 -5
- package/chunk/{AnnouncingHeader-DSPYeTwU.js.map → AnnouncingHeader-lotcA5d8.js.map} +1 -1
- package/chunk/{ApiUrls-B4ByDP6J.js → ApiUrls-2nyQYW2W.js} +12 -12
- package/chunk/{ApiUrls-B4ByDP6J.js.map → ApiUrls-2nyQYW2W.js.map} +1 -1
- package/chunk/{ApiUrls-BK_KGyck.js → ApiUrls-COuA4yL_.js} +5 -5
- package/chunk/{ApiUrls-BK_KGyck.js.map → ApiUrls-COuA4yL_.js.map} +1 -1
- package/chunk/{BirthDateComponent-D1JJgBl2.js → BirthDateComponent-DFxS4kMS.js} +6 -6
- package/chunk/{BirthDateComponent-D1JJgBl2.js.map → BirthDateComponent-DFxS4kMS.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dl3W3nIx.js → BirthDateComponent-HZvQy3lM.js} +6 -6
- package/chunk/{BirthDateComponent-Dl3W3nIx.js.map → BirthDateComponent-HZvQy3lM.js.map} +1 -1
- package/chunk/{CaptchaComponent-BTUP8GAT.js → CaptchaComponent-BS8mnq81.js} +150 -150
- package/chunk/{CaptchaComponent-BTUP8GAT.js.map → CaptchaComponent-BS8mnq81.js.map} +1 -1
- package/chunk/{CaptchaComponent-DiFfWhVe.js → CaptchaComponent-CKg700hI.js} +150 -150
- package/chunk/{CaptchaComponent-DiFfWhVe.js.map → CaptchaComponent-CKg700hI.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BaZ5GFUi.js → ChangeLocaleComponent-CRbVlTD8.js} +6 -6
- package/chunk/{ChangeLocaleComponent-BWWd7KAP.js.map → ChangeLocaleComponent-CRbVlTD8.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BWWd7KAP.js → ChangeLocaleComponent-DYOoquLn.js} +6 -6
- package/chunk/{ChangeLocaleComponent-BaZ5GFUi.js.map → ChangeLocaleComponent-DYOoquLn.js.map} +1 -1
- package/chunk/{City-DOi7PTZI.js → City-C7052kY5.js} +5 -5
- package/chunk/{City-CCtrauPi.js.map → City-C7052kY5.js.map} +1 -1
- package/chunk/{City-CCtrauPi.js → City-FRiBMMDp.js} +5 -5
- package/chunk/{City-DOi7PTZI.js.map → City-FRiBMMDp.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CfmsSdHW.js → CollegeNameComponent-DuclBSqH.js} +7 -7
- package/chunk/{CollegeNameComponent-C_WR63dc.js.map → CollegeNameComponent-DuclBSqH.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C_WR63dc.js → CollegeNameComponent-V6porV1g.js} +7 -7
- package/chunk/{CollegeNameComponent-CfmsSdHW.js.map → CollegeNameComponent-V6porV1g.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DyolMvdc.js → CopyToClipboardComponent-DMUuSpCM.js} +5 -5
- package/chunk/{CopyToClipboardComponent-CI5EWk0o.js.map → CopyToClipboardComponent-DMUuSpCM.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-CI5EWk0o.js → CopyToClipboardComponent-DnS2qHDv.js} +5 -5
- package/chunk/{CopyToClipboardComponent-DyolMvdc.js.map → CopyToClipboardComponent-DnS2qHDv.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-B8N-AOdz.js → CountryComponentWrapper-B674Hdv3.js} +23 -23
- package/chunk/{CountryComponentWrapper-B8N-AOdz.js.map → CountryComponentWrapper-B674Hdv3.js.map} +1 -1
- package/chunk/CountryComponentWrapper-DAATNYQK.js +74 -0
- package/chunk/{CountryComponentWrapper-DeOMczUR.js.map → CountryComponentWrapper-DAATNYQK.js.map} +1 -1
- package/chunk/{DischargeDateComponent-a38WjW8U.js → DischargeDateComponent-B057PxFP.js} +15 -15
- package/chunk/{DischargeDateComponent-Bsw6WaP6.js.map → DischargeDateComponent-B057PxFP.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Bsw6WaP6.js → DischargeDateComponent-BKdUiBby.js} +17 -17
- package/chunk/{DischargeDateComponent-a38WjW8U.js.map → DischargeDateComponent-BKdUiBby.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-BpY0Emv_.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BpY0Emv_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-DZtTp8zc.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DZtTp8zc.js.map} +1 -1
- package/chunk/{EmailLoopPending-CIKALvLm.js → EmailLoopPending-BASx0mdz.js} +17 -17
- package/chunk/{EmailLoopPending-CIKALvLm.js.map → EmailLoopPending-BASx0mdz.js.map} +1 -1
- package/chunk/{EmailLoopPending-BehX14qP.js → EmailLoopPending-o2wTb-n0.js} +21 -21
- package/chunk/{EmailLoopPending-BehX14qP.js.map → EmailLoopPending-o2wTb-n0.js.map} +1 -1
- package/chunk/{ExtraMessage-CEUNDVpi.js → ExtraMessage-CXv8VIOx.js} +6 -6
- package/chunk/{ExtraMessage-BCJi-s7l.js.map → ExtraMessage-CXv8VIOx.js.map} +1 -1
- package/chunk/{ExtraMessage-BCJi-s7l.js → ExtraMessage-DdnlgJyb.js} +6 -6
- package/chunk/{ExtraMessage-CEUNDVpi.js.map → ExtraMessage-DdnlgJyb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BNiiNTt7.js → FirstResponderOrganizationComponent-Bj2mT1eO.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-BNiiNTt7.js.map → FirstResponderOrganizationComponent-Bj2mT1eO.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DKV7GVCW.js → FirstResponderOrganizationComponent-DEI0b75P.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DKV7GVCW.js.map → FirstResponderOrganizationComponent-DEI0b75P.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DGP75-4e.js → FormFieldInputSelect-Bt06no_v.js} +6 -6
- package/chunk/{FormFieldInputSelect-DGP75-4e.js.map → FormFieldInputSelect-Bt06no_v.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-_j71XaLW.js → FormFieldInputSelect-CrSQY-QZ.js} +6 -6
- package/chunk/{FormFieldInputSelect-_j71XaLW.js.map → FormFieldInputSelect-CrSQY-QZ.js.map} +1 -1
- package/chunk/{FormFieldLayout-eXRaMPRB.js → FormFieldLayout-Bmwrqqid.js} +5 -5
- package/chunk/{FormFieldLayout-eXRaMPRB.js.map → FormFieldLayout-Bmwrqqid.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-prs50D.js → FormFieldLayout-BzljWm45.js} +5 -5
- package/chunk/{FormFieldLayout-C-prs50D.js.map → FormFieldLayout-BzljWm45.js.map} +1 -1
- package/chunk/{FormFieldText-C44FpzvF.js → FormFieldText-Cd6qEKyH.js} +6 -6
- package/chunk/{FormFieldText-C44FpzvF.js.map → FormFieldText-Cd6qEKyH.js.map} +1 -1
- package/chunk/{FormFieldText-DKDYD6O1.js → FormFieldText-Dj7CbXHB.js} +6 -6
- package/chunk/{FormFieldText-DKDYD6O1.js.map → FormFieldText-Dj7CbXHB.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-mgaV5E38.js → FormFieldTypeahead-BrI_eILx.js} +135 -135
- package/chunk/{FormFieldTypeahead-mgaV5E38.js.map → FormFieldTypeahead-BrI_eILx.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CdEMh8jK.js → FormFieldTypeahead-CYfD3h7j.js} +46 -46
- package/chunk/{FormFieldTypeahead-CdEMh8jK.js.map → FormFieldTypeahead-CYfD3h7j.js.map} +1 -1
- package/chunk/{FormFooterComponent-Clo562J7.js → FormFooterComponent-CN1rXBqV.js} +2208 -2277
- package/chunk/FormFooterComponent-CN1rXBqV.js.map +1 -0
- package/chunk/{FormFooterComponent-SukO1mHN.js → FormFooterComponent-I2iHTqii.js} +1600 -1681
- package/chunk/FormFooterComponent-I2iHTqii.js.map +1 -0
- package/chunk/{FormSelectChoice-pQ_jID7c.js → FormSelectChoice--GHQeXda.js} +12 -8
- package/chunk/{FormSelectChoice-DZuKjVGz.js.map → FormSelectChoice--GHQeXda.js.map} +1 -1
- package/chunk/{FormSelectChoice-DZuKjVGz.js → FormSelectChoice-C8Of7pw2.js} +8 -12
- package/chunk/{FormSelectChoice-pQ_jID7c.js.map → FormSelectChoice-C8Of7pw2.js.map} +1 -1
- package/chunk/{InputText-CDxD4Fcy.js → InputText-15VS1v4H.js} +6 -6
- package/chunk/{InputText-C12rmr0E.js.map → InputText-15VS1v4H.js.map} +1 -1
- package/chunk/{InputText-C12rmr0E.js → InputText-B0p1sWvq.js} +6 -6
- package/chunk/{InputText-CDxD4Fcy.js.map → InputText-B0p1sWvq.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B3c3IfeM.js → LicensedProfessionalOrganizationComponent-D52Pyuo7.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-B3c3IfeM.js.map → LicensedProfessionalOrganizationComponent-D52Pyuo7.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CP9r0hEA.js → LicensedProfessionalOrganizationComponent-Da-emWlV.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-CP9r0hEA.js.map → LicensedProfessionalOrganizationComponent-Da-emWlV.js.map} +1 -1
- package/chunk/{LogoComponent-Dt2sl-7K.js → LogoComponent-CTCMA59a.js} +5 -5
- package/chunk/{LogoComponent-Dt2sl-7K.js.map → LogoComponent-CTCMA59a.js.map} +1 -1
- package/chunk/{LogoComponent-qYFfdGhk.js → LogoComponent-CXrKiNgF.js} +5 -5
- package/chunk/{LogoComponent-qYFfdGhk.js.map → LogoComponent-CXrKiNgF.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DPu10icr.js → LowIncomeOrganizationComponent-BibedtO2.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-DPu10icr.js.map → LowIncomeOrganizationComponent-BibedtO2.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-m8qqbAz3.js → LowIncomeOrganizationComponent-CqfbfXzK.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-m8qqbAz3.js.map → LowIncomeOrganizationComponent-CqfbfXzK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CgoQuZA8.js → MedicalProfessionalOrganizationComponent-iTMjr26o.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-CgoQuZA8.js.map → MedicalProfessionalOrganizationComponent-iTMjr26o.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CtYx3bko.js → MedicalProfessionalOrganizationComponent-qHCnGDXt.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-CtYx3bko.js.map → MedicalProfessionalOrganizationComponent-qHCnGDXt.js.map} +1 -1
- package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-CptMgI3z.js} +5 -5
- package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-CptMgI3z.js.map} +1 -1
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-D9iQX3c1.js} +5 -5
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-D9iQX3c1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D00T5bq6.js → MembershipOrganizationComponent-BL_1Gvwf.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DasXCN5t.js.map → MembershipOrganizationComponent-BL_1Gvwf.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DasXCN5t.js → MembershipOrganizationComponent-DVg0Wmqo.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-D00T5bq6.js.map → MembershipOrganizationComponent-DVg0Wmqo.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-BS-lDcpS.js} +18 -18
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-BS-lDcpS.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-BjmIuVJ1.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-BjmIuVJ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-TGJP5U6C.js → PersonalInfoStepWrapper-DP9_3AGQ.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-TGJP5U6C.js.map → PersonalInfoStepWrapper-DP9_3AGQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D8eq_Wtt.js → PersonalInfoStepWrapper-GeDOFNRv.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-D8eq_Wtt.js.map → PersonalInfoStepWrapper-GeDOFNRv.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BLKNma3I.js} +5 -5
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BLKNma3I.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-CvmEHXss.js} +5 -5
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-CvmEHXss.js.map} +1 -1
- package/chunk/{SSN-V4OsBJo-.js → SSN-7ZWvh6Fl.js} +6 -6
- package/chunk/{SSN-DKOJL4kj.js.map → SSN-7ZWvh6Fl.js.map} +1 -1
- package/chunk/{SSN-DKOJL4kj.js → SSN-D4L9dF07.js} +6 -6
- package/chunk/{SSN-V4OsBJo-.js.map → SSN-D4L9dF07.js.map} +1 -1
- package/chunk/{StateSelectComponent-Crtyb0Zu.js → StateSelectComponent-Dh7COOOn.js} +5 -5
- package/chunk/{StateSelectComponent-C5uGSKMw.js.map → StateSelectComponent-Dh7COOOn.js.map} +1 -1
- package/chunk/{StateSelectComponent-C5uGSKMw.js → StateSelectComponent-YN0sVElW.js} +5 -5
- package/chunk/{StateSelectComponent-Crtyb0Zu.js.map → StateSelectComponent-YN0sVElW.js.map} +1 -1
- package/chunk/{StatusComponent-C6yLT_6w.js → StatusComponent-4NsI309s.js} +6 -6
- package/chunk/{StatusComponent-B64U2q3T.js.map → StatusComponent-4NsI309s.js.map} +1 -1
- package/chunk/{StatusComponent-B64U2q3T.js → StatusComponent-DR7rYTcN.js} +6 -6
- package/chunk/{StatusComponent-C6yLT_6w.js.map → StatusComponent-DR7rYTcN.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js → StepActiveMilitaryPersonalInfoComponent-C1c-o9-b.js} +22 -22
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js.map → StepActiveMilitaryPersonalInfoComponent-C1c-o9-b.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js → StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js.map → StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B_fhJKD6.js → StepAgePersonalInfo-BQbGy0dF.js} +17 -17
- package/chunk/{StepAgePersonalInfo-B_fhJKD6.js.map → StepAgePersonalInfo-BQbGy0dF.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DPNbQWwP.js → StepAgePersonalInfo-D86adXna.js} +17 -17
- package/chunk/{StepAgePersonalInfo-DPNbQWwP.js.map → StepAgePersonalInfo-D86adXna.js.map} +1 -1
- package/chunk/{StepCard-B-nYcoAX.js → StepCard-42EsVjXX.js} +4 -4
- package/chunk/{StepCard-B-nYcoAX.js.map → StepCard-42EsVjXX.js.map} +1 -1
- package/chunk/{StepCard-DXyV0Wj4.js → StepCard-Bp2KEF4j.js} +4 -4
- package/chunk/{StepCard-DXyV0Wj4.js.map → StepCard-Bp2KEF4j.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-S9ylxY5S.js → StepCollectIdentifier-BCqeMDDf.js} +9 -9
- package/chunk/{StepCollectIdentifier-B-9p1C-j.js.map → StepCollectIdentifier-BCqeMDDf.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-B-9p1C-j.js → StepCollectIdentifier-DInLAm3p.js} +7 -7
- package/chunk/{StepCollectIdentifier-S9ylxY5S.js.map → StepCollectIdentifier-DInLAm3p.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-BRrktsOd.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-QAU3rC-7.js → StepCollectMilitaryStatusComponent-BZ82dYt9.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-DmqTN2Po.js → StepCollectPersonalInfo-CdY4UpDc.js} +130 -130
- package/chunk/{StepCollectPersonalInfo-TYr3ZfZt.js.map → StepCollectPersonalInfo-CdY4UpDc.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-TYr3ZfZt.js → StepCollectPersonalInfo-z0mDvmeE.js} +97 -97
- package/chunk/{StepCollectPersonalInfo-DmqTN2Po.js.map → StepCollectPersonalInfo-z0mDvmeE.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-B5kvuKWH.js} +6 -6
- package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js.map → StepCompleteAuthentication-B5kvuKWH.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-ZqAH64xm.js} +6 -6
- package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js.map → StepCompleteAuthentication-ZqAH64xm.js.map} +1 -1
- package/chunk/{StepConsolation-DMEtDUwF.js → StepConsolation-C2zijHAP.js} +8 -8
- package/chunk/{StepConsolation-CNCu1p-c.js.map → StepConsolation-C2zijHAP.js.map} +1 -1
- package/chunk/{StepConsolation-CNCu1p-c.js → StepConsolation-DGh2BB0d.js} +8 -8
- package/chunk/{StepConsolation-DMEtDUwF.js.map → StepConsolation-DGh2BB0d.js.map} +1 -1
- package/chunk/{StepDocUpload-MyD36uMA.js → StepDocUpload-3Nm-72Xn.js} +215 -215
- package/chunk/{StepDocUpload-MyD36uMA.js.map → StepDocUpload-3Nm-72Xn.js.map} +1 -1
- package/chunk/{StepDocUpload-DkW2dA7T.js → StepDocUpload-Dd8ubqcl.js} +207 -207
- package/chunk/{StepDocUpload-DkW2dA7T.js.map → StepDocUpload-Dd8ubqcl.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C0d7h_vU.js → StepDriverLicensePersonalInfoComponent-DnJcQWfb.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-BimlWXi-.js.map → StepDriverLicensePersonalInfoComponent-DnJcQWfb.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BimlWXi-.js → StepDriverLicensePersonalInfoComponent-uxMjgmoP.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-C0d7h_vU.js.map → StepDriverLicensePersonalInfoComponent-uxMjgmoP.js.map} +1 -1
- package/chunk/{StepEmailLoop-D7V1UxL8.js → StepEmailLoop-DL2OP0R8.js} +13 -13
- package/chunk/{StepEmailLoop-BMD9mmRi.js.map → StepEmailLoop-DL2OP0R8.js.map} +1 -1
- package/chunk/{StepEmailLoop-BMD9mmRi.js → StepEmailLoop-DOX_tRZ2.js} +10 -10
- package/chunk/{StepEmailLoop-D7V1UxL8.js.map → StepEmailLoop-DOX_tRZ2.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BirWFiWr.js → StepEmploymentPersonalInfo-DOdLrSuX.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BirWFiWr.js.map → StepEmploymentPersonalInfo-DOdLrSuX.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DedR7oVc.js → StepEmploymentPersonalInfo-D_alZYyi.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DedR7oVc.js.map → StepEmploymentPersonalInfo-D_alZYyi.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BjrLQRYq.js → StepFirstResponderPersonalInfo-BWApRM8R.js} +25 -25
- package/chunk/{StepFirstResponderPersonalInfo-BjrLQRYq.js.map → StepFirstResponderPersonalInfo-BWApRM8R.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CB22u23N.js → StepFirstResponderPersonalInfo-B__OS-IL.js} +23 -23
- package/chunk/{StepFirstResponderPersonalInfo-CB22u23N.js.map → StepFirstResponderPersonalInfo-B__OS-IL.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js → StepGeneralIdentityPersonalInfoComponent-BhIp-Ho1.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js.map → StepGeneralIdentityPersonalInfoComponent-BhIp-Ho1.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js → StepGeneralIdentityPersonalInfoComponent-qp0H0P4I.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js.map → StepGeneralIdentityPersonalInfoComponent-qp0H0P4I.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js → StepHybridIdentityPersonalInfoComponent-CFu3cRhC.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js.map → StepHybridIdentityPersonalInfoComponent-CFu3cRhC.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js → StepHybridIdentityPersonalInfoComponent-D6WjFNFn.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js.map → StepHybridIdentityPersonalInfoComponent-D6WjFNFn.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BMBYj20c.js → StepIDCheckLoop-B-ovs04E.js} +7 -7
- package/chunk/{StepIDCheckLoop-BMBYj20c.js.map → StepIDCheckLoop-B-ovs04E.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DUA6P4bQ.js → StepIDCheckLoop-BakK_1Df.js} +7 -7
- package/chunk/{StepIDCheckLoop-DUA6P4bQ.js.map → StepIDCheckLoop-BakK_1Df.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D9jQ8swA.js → StepIDCheckLoopOnfido-67nx0G7X.js} +36 -36
- package/chunk/{StepIDCheckLoopOnfido-Bo9HlY4S.js.map → StepIDCheckLoopOnfido-67nx0G7X.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bo9HlY4S.js → StepIDCheckLoopOnfido-CTT_tZfG.js} +37 -37
- package/chunk/{StepIDCheckLoopOnfido-D9jQ8swA.js.map → StepIDCheckLoopOnfido-CTT_tZfG.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DAPHjsoR.js → StepIDCheckLoopRegula-DGg-6jCw.js} +19 -19
- package/chunk/{StepIDCheckLoopRegula-B1-v9x5u.js.map → StepIDCheckLoopRegula-DGg-6jCw.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B1-v9x5u.js → StepIDCheckLoopRegula-OhBYXZTy.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-DAPHjsoR.js.map → StepIDCheckLoopRegula-OhBYXZTy.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js → StepInactiveMilitaryPersonalInfoComponent-C05IqKby.js} +31 -31
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js.map → StepInactiveMilitaryPersonalInfoComponent-C05IqKby.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js → StepInactiveMilitaryPersonalInfoComponent-DoO9LFCM.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js.map → StepInactiveMilitaryPersonalInfoComponent-DoO9LFCM.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSR6uyGW.js → StepLicensedProfessionalPersonalInfo-D88TnIAC.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSR6uyGW.js.map → StepLicensedProfessionalPersonalInfo-D88TnIAC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DBaICckY.js → StepLicensedProfessionalPersonalInfo-DC2C_iMj.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DBaICckY.js.map → StepLicensedProfessionalPersonalInfo-DC2C_iMj.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-7PD6nVhq.js → StepLowIncomePersonalInfo-CVimzkdB.js} +29 -29
- package/chunk/{StepLowIncomePersonalInfo-7PD6nVhq.js.map → StepLowIncomePersonalInfo-CVimzkdB.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-B8_Bdz6J.js → StepLowIncomePersonalInfo-DJZpc1sH.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-B8_Bdz6J.js.map → StepLowIncomePersonalInfo-DJZpc1sH.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-rF25m688.js → StepMedicalProfessionalPersonalInfo-BzVvGxHn.js} +24 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-CLlI9lA4.js.map → StepMedicalProfessionalPersonalInfo-BzVvGxHn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CLlI9lA4.js → StepMedicalProfessionalPersonalInfo-D2aQoOB1.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-rF25m688.js.map → StepMedicalProfessionalPersonalInfo-D2aQoOB1.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BXIRckt_.js → StepMemberPersonalInfo-CAOLW8Mj.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-BXIRckt_.js.map → StepMemberPersonalInfo-CAOLW8Mj.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-GCOuR46b.js → StepMemberPersonalInfo-CutpJaNy.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-GCOuR46b.js.map → StepMemberPersonalInfo-CutpJaNy.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Wg154T-c.js → StepMoverPersonalInfo-BR6890Cu.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-BC_CC0ii.js.map → StepMoverPersonalInfo-BR6890Cu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BC_CC0ii.js → StepMoverPersonalInfo-xJ-8G5hz.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-Wg154T-c.js.map → StepMoverPersonalInfo-xJ-8G5hz.js.map} +1 -1
- package/chunk/{StepOverrideComponent-zBjMTa3J.js → StepOverrideComponent-BTDn-G5h.js} +14 -14
- package/chunk/{StepOverrideComponent-B7BcXOC-.js.map → StepOverrideComponent-BTDn-G5h.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B7BcXOC-.js → StepOverrideComponent-DaNND3ht.js} +14 -14
- package/chunk/{StepOverrideComponent-zBjMTa3J.js.map → StepOverrideComponent-DaNND3ht.js.map} +1 -1
- package/chunk/{StepSMSLoop-BiOaasl3.js → StepSMSLoop-Dtyxcxwy.js} +15 -15
- package/chunk/{StepSMSLoop-0HaSMjqk.js.map → StepSMSLoop-Dtyxcxwy.js.map} +1 -1
- package/chunk/{StepSMSLoop-0HaSMjqk.js → StepSMSLoop-MJVHiwbr.js} +15 -15
- package/chunk/{StepSMSLoop-BiOaasl3.js.map → StepSMSLoop-MJVHiwbr.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-CZ-yVv3v.js → StepSocialSecurityNumber-CbTEm5w9.js} +15 -15
- package/chunk/{StepSocialSecurityNumber-CGBBfuX7.js.map → StepSocialSecurityNumber-CbTEm5w9.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CGBBfuX7.js → StepSocialSecurityNumber-DLZrCzqK.js} +15 -15
- package/chunk/{StepSocialSecurityNumber-CZ-yVv3v.js.map → StepSocialSecurityNumber-DLZrCzqK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DvuDscq7.js → StepStudentPersonalInfo-CkHDekAm.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-CxQWE7Yi.js.map → StepStudentPersonalInfo-CkHDekAm.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CxQWE7Yi.js → StepStudentPersonalInfo-Cw7V1qE6.js} +49 -49
- package/chunk/{StepStudentPersonalInfo-DvuDscq7.js.map → StepStudentPersonalInfo-Cw7V1qE6.js.map} +1 -1
- package/chunk/{StepSuccess-GdSJcQra.js → StepSuccess-BoFfh07U.js} +29 -33
- package/chunk/{StepSuccess-Bf4WVIHj.js.map → StepSuccess-BoFfh07U.js.map} +1 -1
- package/chunk/{StepSuccess-Bf4WVIHj.js → StepSuccess-fKcWXJUp.js} +32 -28
- package/chunk/{StepSuccess-GdSJcQra.js.map → StepSuccess-fKcWXJUp.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-PWOMlZ2Q.js → StepTeacherPersonalInfo-BQWkWrGQ.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-DaOyuvoK.js.map → StepTeacherPersonalInfo-BQWkWrGQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DaOyuvoK.js → StepTeacherPersonalInfo-DU5hRzhe.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-PWOMlZ2Q.js.map → StepTeacherPersonalInfo-DU5hRzhe.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-CZOQYGHJ.js → TeacherSchoolComponent-CNyDEsoc.js} +7 -7
- package/chunk/{TeacherSchoolComponent-CZOQYGHJ.js.map → TeacherSchoolComponent-CNyDEsoc.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BlPUYAZK.js → TeacherSchoolComponent-DEBaejkK.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BlPUYAZK.js.map → TeacherSchoolComponent-DEBaejkK.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BQzBlUms.js +77 -0
- package/chunk/{TestingRouteOverrides-C6_6elEq.js.map → TestingRouteOverrides-BQzBlUms.js.map} +1 -1
- package/chunk/TestingRouteOverrides-Dw6GXQ6-.js +81 -0
- package/chunk/{TestingRouteOverrides-DHL_cusu.js.map → TestingRouteOverrides-Dw6GXQ6-.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-DkMe8iY0.js → VerificationApiClient-BBXAAhs5.js} +168 -161
- package/chunk/VerificationApiClient-BBXAAhs5.js.map +1 -0
- package/chunk/{VerificationApiClient-6KGDr9vD.js → VerificationApiClient-D2u6cPDh.js} +109 -102
- package/chunk/VerificationApiClient-D2u6cPDh.js.map +1 -0
- package/chunk/{VerificationApiUtils-CoCXhRjv.js → VerificationApiUtils-CjzRr2iV.js} +7 -7
- package/chunk/{VerificationApiUtils-CoCXhRjv.js.map → VerificationApiUtils-CjzRr2iV.js.map} +1 -1
- package/chunk/{VerificationApiUtils-jK7TFY_P.js → VerificationApiUtils-DjTVnAoy.js} +6 -6
- package/chunk/{VerificationApiUtils-jK7TFY_P.js.map → VerificationApiUtils-DjTVnAoy.js.map} +1 -1
- package/chunk/ar-CZrVPqvf.js +3 -3
- package/chunk/bg-Cj9u62RW.js +3 -3
- package/chunk/bn-IN-AX8JdjQ8.js +3 -3
- package/chunk/{countryUtils-CAW7TO02.js → countryUtils-B0gQRrDx.js} +4 -4
- package/chunk/{countryUtils-CAW7TO02.js.map → countryUtils-B0gQRrDx.js.map} +1 -1
- package/chunk/{countryUtils-CV_Lr16_.js → countryUtils-CLqT0spr.js} +4 -4
- package/chunk/{countryUtils-CV_Lr16_.js.map → countryUtils-CLqT0spr.js.map} +1 -1
- package/chunk/cs-5rrzGv7_.js +3 -3
- package/chunk/da-DMDlBT-5.js +3 -3
- package/chunk/de-DG-q-l7o.js +3 -3
- package/chunk/{downshift.esm-BmU5C7C0.js → downshift.esm-B9WBR05h.js} +121 -121
- package/chunk/{downshift.esm-BmU5C7C0.js.map → downshift.esm-B9WBR05h.js.map} +1 -1
- package/chunk/{downshift.esm-Bt__j-Dt.js → downshift.esm-DyXFLawK.js} +42 -42
- package/chunk/{downshift.esm-Bt__j-Dt.js.map → downshift.esm-DyXFLawK.js.map} +1 -1
- package/chunk/el-yctEkMhE.js +3 -3
- package/chunk/{empties-CuuBn0bi.js → empties-DXsucFOV.js} +4 -4
- package/chunk/{empties-CuuBn0bi.js.map → empties-DXsucFOV.js.map} +1 -1
- package/chunk/{empties-NTFzwSRR.js → empties-GdeHHk2b.js} +48 -48
- package/chunk/{empties-NTFzwSRR.js.map → empties-GdeHHk2b.js.map} +1 -1
- package/chunk/en-GB-6LZCsn1D.js +3 -3
- package/chunk/es-BMeF1R04.js +3 -3
- package/chunk/es-ES-CsFb7QAU.js +3 -3
- package/chunk/et-CiZKWMRu.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-D9V3MCMh.js +3 -3
- package/chunk/fi-poKCN0AL.js +3 -3
- package/chunk/fr-BiSjb5hG.js +3 -3
- package/chunk/fr-CA-zBX3D7Nl.js +3 -3
- package/chunk/ga-jC99p6r7.js +3 -3
- package/chunk/hi-IN-C_1AZftT.js +3 -3
- package/chunk/hr-abbR52XG.js +3 -3
- package/chunk/hu-CeZoihsr.js +3 -3
- package/chunk/id-wFLT8G20.js +3 -3
- package/chunk/{intl-CuZpjbF2.js → intl-B461eGlU.js} +400 -408
- package/chunk/intl-B461eGlU.js.map +1 -0
- package/chunk/is-sc_8Dmxx.js +3 -3
- package/chunk/it-Mhw_31wt.js +3 -3
- package/chunk/iw-BfqjzsAq.js +3 -3
- package/chunk/ja-Bdvw5s91.js +3 -3
- package/chunk/{jsx-runtime-B29HBOo1.js → jsx-runtime-CeRrwqti.js} +4 -4
- package/chunk/{jsx-runtime-B29HBOo1.js.map → jsx-runtime-CeRrwqti.js.map} +1 -1
- package/chunk/{jsx-runtime-Br-ldzo0.js → jsx-runtime-KEs0wOl5.js} +4 -4
- package/chunk/{jsx-runtime-Br-ldzo0.js.map → jsx-runtime-KEs0wOl5.js.map} +1 -1
- package/chunk/kk-mHV9A9HS.js +3 -3
- package/chunk/ko-C7nyKdTs.js +3 -3
- package/chunk/lo-baNG1foB.js +3 -3
- package/chunk/lt-CNU2L7fK.js +3 -3
- package/chunk/lv-bP-HuAKS.js +3 -3
- package/chunk/{militaryStepHelpers-COmBnCcw.js → militaryStepHelpers-BeN98TAk.js} +4 -4
- package/chunk/{militaryStepHelpers-BlzQcNHu.js.map → militaryStepHelpers-BeN98TAk.js.map} +1 -1
- package/chunk/{militaryStepHelpers-BlzQcNHu.js → militaryStepHelpers-CT2x_HCE.js} +4 -4
- package/chunk/{militaryStepHelpers-COmBnCcw.js.map → militaryStepHelpers-CT2x_HCE.js.map} +1 -1
- package/chunk/{mocks-CuPTVtpf.js → mocks-3VPL7XDa.js} +8 -8
- package/chunk/{mocks-BlLp3eOz.js.map → mocks-3VPL7XDa.js.map} +1 -1
- package/chunk/{mocks-BlLp3eOz.js → mocks-CmzyO_3E.js} +8 -8
- package/chunk/{mocks-CuPTVtpf.js.map → mocks-CmzyO_3E.js.map} +1 -1
- package/chunk/ms-Bg8aDCAA.js +3 -3
- package/chunk/nl-BE-Ct8zP0W1.js +3 -3
- package/chunk/nl-CbfjSfKQ.js +3 -3
- package/chunk/no-DjDW2Ec_.js +3 -3
- package/chunk/{options-BqxY1ri6.js → options-PkP3zQGm.js} +385 -393
- package/chunk/{options-BqxY1ri6.js.map → options-PkP3zQGm.js.map} +1 -1
- package/chunk/pl--DnD-6qz.js +3 -3
- package/chunk/{programThemeGetters-BKJAvlOG.js → programThemeGetters-DSFEiKNU.js} +55 -55
- package/chunk/{programThemeGetters-f9o96pYi.js.map → programThemeGetters-DSFEiKNU.js.map} +1 -1
- package/chunk/{programThemeGetters-f9o96pYi.js → programThemeGetters-LYR56E0U.js} +17 -17
- package/chunk/{programThemeGetters-BKJAvlOG.js.map → programThemeGetters-LYR56E0U.js.map} +1 -1
- package/chunk/pt-BR-B02CJDXT.js +3 -3
- package/chunk/pt-CcmRJnZb.js +3 -3
- package/chunk/{refs-CWwQlqJe.js → refs-V7YziA0C.js} +4 -4
- package/chunk/{refs-B-c--SWS.js.map → refs-V7YziA0C.js.map} +1 -1
- package/chunk/{refs-B-c--SWS.js → refs-xcOEsQO3.js} +4 -4
- package/chunk/{refs-CWwQlqJe.js.map → refs-xcOEsQO3.js.map} +1 -1
- package/chunk/ro-CLdi0jqR.js +3 -3
- package/chunk/ru-Z91NV1Cr.js +3 -3
- package/chunk/sk-B7rRmmv6.js +3 -3
- package/chunk/sl-DhAq6T_a.js +3 -3
- package/chunk/sr-DpP50d7v.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-QG7LEZNd.js +3 -3
- package/chunk/sw--WAxwRTW.js +3 -3
- package/chunk/ta-DRF7u30N.js +3 -3
- package/chunk/th-BoK35Z2N.js +3 -3
- package/chunk/tl-BDTwfyaC.js +3 -3
- package/chunk/tr-BoXGTv5p.js +3 -3
- package/chunk/uk-AXN3c9FX.js +3 -3
- package/chunk/ur-D5Nqe4mS.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-CjjqitMW.js → useCollectFieldsEndpoint-CbVPn7oB.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-CfzinFgL.js.map → useCollectFieldsEndpoint-CbVPn7oB.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CfzinFgL.js → useCollectFieldsEndpoint-kTVN-LyD.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-CjjqitMW.js.map → useCollectFieldsEndpoint-kTVN-LyD.js.map} +1 -1
- package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-C13BbDWa.js} +10 -6
- package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-C13BbDWa.js.map} +1 -1
- package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-ntewhX51.js} +6 -10
- package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-ntewhX51.js.map} +1 -1
- package/chunk/{validators-DtqLbhHK.js → validators-BIcHHTv2.js} +287 -287
- package/chunk/{validators-DqymSzki.js.map → validators-BIcHHTv2.js.map} +1 -1
- package/chunk/{validators-DqymSzki.js → validators-CWveyjFm.js} +85 -85
- package/chunk/{validators-DtqLbhHK.js.map → validators-CWveyjFm.js.map} +1 -1
- package/chunk/vi-BE4aMeLo.js +3 -3
- package/chunk/zh-CUzsIz8M.js +3 -3
- package/chunk/zh-HK-BTCqwQOw.js +3 -3
- package/chunk/zu-ChHTiO3Y.js +3 -3
- package/package.json +2 -3
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +1841 -1866
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-DeOMczUR.js +0 -74
- package/chunk/FormFooterComponent-Clo562J7.js.map +0 -1
- package/chunk/FormFooterComponent-SukO1mHN.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BL0juR4i.js +0 -9
- package/chunk/TestingRouteOverrides-C6_6elEq.js +0 -77
- package/chunk/TestingRouteOverrides-DHL_cusu.js +0 -81
- package/chunk/VerificationApiClient-6KGDr9vD.js.map +0 -1
- package/chunk/VerificationApiClient-DkMe8iY0.js.map +0 -1
- package/chunk/intl-CuZpjbF2.js.map +0 -1
|
@@ -4,45 +4,45 @@
|
|
|
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.262.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
7
|
+
* VERSION: 2.262.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1785442385900
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:05 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import { a as d } from "./refs-
|
|
12
|
+
import { Mt as e, Rt as t, Ut as n, bt as r, p as i, s as a } from "./intl-B461eGlU.js";
|
|
13
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-KEs0wOl5.js";
|
|
14
|
+
import { T as u } from "./FormFooterComponent-I2iHTqii.js";
|
|
15
|
+
import { a as d } from "./refs-xcOEsQO3.js";
|
|
16
16
|
import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../_mysheerid-preview.js";
|
|
17
|
-
import { t as b } from "./VerificationApiUtils-
|
|
18
|
-
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-
|
|
19
|
-
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { t as k } from "./BirthDateComponent-
|
|
21
|
-
import { t as A } from "./PostalCodeComponent-
|
|
22
|
-
import { t as j } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as M } from "./City-
|
|
24
|
-
import { t as N } from "./AddressComponent-
|
|
25
|
-
import { t as P } from "./ExtraMessage-
|
|
26
|
-
import { t as F } from "./ChangeLocaleComponent-
|
|
27
|
-
import { t as I } from "./PersonalInfoStepWrapper-
|
|
28
|
-
import { t as L } from "./StateSelectComponent-
|
|
29
|
-
import { n as R, r as z, t as B } from "./DischargeDateComponent-
|
|
30
|
-
import { t as V } from "./StatusComponent-
|
|
31
|
-
import { t as H } from "./militaryStepHelpers-
|
|
17
|
+
import { t as b } from "./VerificationApiUtils-DjTVnAoy.js";
|
|
18
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-CKg700hI.js";
|
|
19
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BjmIuVJ1.js";
|
|
20
|
+
import { t as k } from "./BirthDateComponent-HZvQy3lM.js";
|
|
21
|
+
import { t as A } from "./PostalCodeComponent-CvmEHXss.js";
|
|
22
|
+
import { t as j } from "./CountryComponentWrapper-B674Hdv3.js";
|
|
23
|
+
import { t as M } from "./City-FRiBMMDp.js";
|
|
24
|
+
import { t as N } from "./AddressComponent-DJPGVE04.js";
|
|
25
|
+
import { t as P } from "./ExtraMessage-DdnlgJyb.js";
|
|
26
|
+
import { t as F } from "./ChangeLocaleComponent-CRbVlTD8.js";
|
|
27
|
+
import { t as I } from "./PersonalInfoStepWrapper-DP9_3AGQ.js";
|
|
28
|
+
import { t as L } from "./StateSelectComponent-Dh7COOOn.js";
|
|
29
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-BKdUiBby.js";
|
|
30
|
+
import { t as V } from "./StatusComponent-DR7rYTcN.js";
|
|
31
|
+
import { t as H } from "./militaryStepHelpers-CT2x_HCE.js";
|
|
32
32
|
//#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
|
|
33
33
|
var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
|
|
34
34
|
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
|
|
35
35
|
o.updateViewModel(H(e, t, o, X));
|
|
36
36
|
};
|
|
37
|
-
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep ===
|
|
38
|
-
let
|
|
39
|
-
|
|
37
|
+
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
|
|
38
|
+
let n = i(s, () => {});
|
|
39
|
+
t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
|
|
40
40
|
})(), U.useEffect(() => {
|
|
41
41
|
(async () => {
|
|
42
|
-
if (o.verificationResponse.currentStep ===
|
|
43
|
-
Y((await b(K.verificationId,
|
|
44
|
-
} catch (
|
|
45
|
-
|
|
42
|
+
if (o.verificationResponse.currentStep === e.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
43
|
+
Y((await b(K.verificationId, e.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
44
|
+
} catch (n) {
|
|
45
|
+
t.error(`Failed to determine fields to collect: ${n}`, e.collectInactiveMilitaryPersonalInfo);
|
|
46
46
|
}
|
|
47
47
|
})();
|
|
48
48
|
}, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
|
|
@@ -64,7 +64,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
|
|
|
64
64
|
segmentId: "military",
|
|
65
65
|
value: {
|
|
66
66
|
value: s.status,
|
|
67
|
-
label: _(n, s.status,
|
|
67
|
+
label: _(n, s.status, r)
|
|
68
68
|
},
|
|
69
69
|
isErrored: !!G.status,
|
|
70
70
|
errorId: "invalidMilitaryStatus",
|
|
@@ -224,7 +224,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
|
|
|
224
224
|
isErrored: !!G.captchaToken
|
|
225
225
|
}),
|
|
226
226
|
/* @__PURE__ */ (0, W.jsx)(O, {
|
|
227
|
-
step:
|
|
227
|
+
step: e.collectInactiveMilitaryPersonalInfo,
|
|
228
228
|
verificationService: o,
|
|
229
229
|
viewModel: s,
|
|
230
230
|
failedInstantMatch: q,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,EAAU,eAAe,UAAU,MAEnC,IAAI;IAOF,GAAkB,MANyC,EACzD,EAAqB,gBACrB,EAAsB,qCACtB,CACF,IAEyC,iBAAiB,UAAU,KAAK,MAAM,EAAE,GAAG,CAAC;GACvF,SAAS,GAAO;IACd,EAAO,MACL,0CAA0C,KAC1C,EAAsB,mCACxB;GACF;EAEJ,GAAG;CACL,GAAG,CAA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AA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
|
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-C05IqKby.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC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E,UAAU,EAAwB,YAAY,GAAG;IACjD,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAgC,cAAc,CAAQ,GACtD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { a as d } from "./refs-
|
|
8
|
+
import { Gt as e, It as t, Vt as n, c as r, n as i, wt as a } from "./options-PkP3zQGm.js";
|
|
9
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-CeRrwqti.js";
|
|
10
|
+
import { x as u } from "./FormFooterComponent-CN1rXBqV.js";
|
|
11
|
+
import { a as d } from "./refs-V7YziA0C.js";
|
|
12
12
|
import { G as f, I as p, K as m, L as h, V as g, et as _, r as v, tt as y } from "../sheerid.js";
|
|
13
|
-
import { t as b } from "./VerificationApiUtils-
|
|
14
|
-
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-
|
|
15
|
-
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-
|
|
16
|
-
import { t as k } from "./BirthDateComponent-
|
|
17
|
-
import { t as A } from "./PostalCodeComponent-
|
|
18
|
-
import { t as j } from "./CountryComponentWrapper-
|
|
19
|
-
import { t as M } from "./City-
|
|
20
|
-
import { t as N } from "./AddressComponent-
|
|
21
|
-
import { t as P } from "./ExtraMessage-
|
|
22
|
-
import { t as F } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as I } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as L } from "./StateSelectComponent-
|
|
25
|
-
import { n as R, r as z, t as B } from "./DischargeDateComponent-
|
|
26
|
-
import { t as V } from "./StatusComponent-
|
|
27
|
-
import { t as H } from "./militaryStepHelpers-
|
|
13
|
+
import { t as b } from "./VerificationApiUtils-CjzRr2iV.js";
|
|
14
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-BS8mnq81.js";
|
|
15
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
|
|
16
|
+
import { t as k } from "./BirthDateComponent-DFxS4kMS.js";
|
|
17
|
+
import { t as A } from "./PostalCodeComponent-BLKNma3I.js";
|
|
18
|
+
import { t as j } from "./CountryComponentWrapper-DAATNYQK.js";
|
|
19
|
+
import { t as M } from "./City-C7052kY5.js";
|
|
20
|
+
import { t as N } from "./AddressComponent-CL1CDsWz.js";
|
|
21
|
+
import { t as P } from "./ExtraMessage-CXv8VIOx.js";
|
|
22
|
+
import { t as F } from "./ChangeLocaleComponent-DYOoquLn.js";
|
|
23
|
+
import { t as I } from "./PersonalInfoStepWrapper-GeDOFNRv.js";
|
|
24
|
+
import { t as L } from "./StateSelectComponent-YN0sVElW.js";
|
|
25
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-B057PxFP.js";
|
|
26
|
+
import { t as V } from "./StatusComponent-4NsI309s.js";
|
|
27
|
+
import { t as H } from "./militaryStepHelpers-BeN98TAk.js";
|
|
28
28
|
//#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
|
|
29
|
-
var U = /* @__PURE__ */
|
|
30
|
-
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o,
|
|
29
|
+
var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService: o }) => {
|
|
30
|
+
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, e), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
|
|
31
31
|
o.updateViewModel(H(e, t, o, X));
|
|
32
32
|
};
|
|
33
|
-
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep ===
|
|
34
|
-
let
|
|
35
|
-
|
|
33
|
+
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
|
|
34
|
+
let e = r(s, () => {});
|
|
35
|
+
n.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
|
|
36
36
|
})(), U.useEffect(() => {
|
|
37
37
|
(async () => {
|
|
38
|
-
if (o.verificationResponse.currentStep ===
|
|
39
|
-
Y((await b(K.verificationId,
|
|
40
|
-
} catch (
|
|
41
|
-
|
|
38
|
+
if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
39
|
+
Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
40
|
+
} catch (e) {
|
|
41
|
+
n.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
|
|
42
42
|
}
|
|
43
43
|
})();
|
|
44
44
|
}, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
|
|
@@ -60,7 +60,7 @@ var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService:
|
|
|
60
60
|
segmentId: "military",
|
|
61
61
|
value: {
|
|
62
62
|
value: s.status,
|
|
63
|
-
label: f(
|
|
63
|
+
label: f(e, s.status, a)
|
|
64
64
|
},
|
|
65
65
|
isErrored: !!G.status,
|
|
66
66
|
errorId: "invalidMilitaryStatus",
|
|
@@ -172,7 +172,7 @@ var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService:
|
|
|
172
172
|
isRequired: g("city")?.requireIfOptional
|
|
173
173
|
}),
|
|
174
174
|
J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
|
|
175
|
-
options: h(o.programTheme,
|
|
175
|
+
options: h(o.programTheme, e),
|
|
176
176
|
value: s.state || void 0,
|
|
177
177
|
isErrored: !!G.state,
|
|
178
178
|
onChange: async (e) => {
|
|
@@ -220,7 +220,7 @@ var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService:
|
|
|
220
220
|
isErrored: !!G.captchaToken
|
|
221
221
|
}),
|
|
222
222
|
/* @__PURE__ */ (0, W.jsx)(O, {
|
|
223
|
-
step:
|
|
223
|
+
step: t.collectInactiveMilitaryPersonalInfo,
|
|
224
224
|
verificationService: o,
|
|
225
225
|
viewModel: s,
|
|
226
226
|
failedInstantMatch: q,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,m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/C,CAAA;GAEF,EAAe,SAAS,YAAY,KACnC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,UAAU,EAAwB,YAAY,GAAG;IACjD,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAgC,cAAc,CAAQ,GACtD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
|
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DoO9LFCM.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC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,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
|
|
@@ -4,25 +4,25 @@
|
|
|
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.262.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
7
|
+
* VERSION: 2.262.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1785442385900
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:05 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Mt as e, p as t, s as n } from "./intl-B461eGlU.js";
|
|
13
|
+
import { a as r, n as i, t as a } from "./jsx-runtime-KEs0wOl5.js";
|
|
14
|
+
import { T as o } from "./FormFooterComponent-I2iHTqii.js";
|
|
15
15
|
import { $ as s, B as c, G as l, et as u, n as d } from "../_mysheerid-preview.js";
|
|
16
|
-
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-
|
|
17
|
-
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-
|
|
18
|
-
import { t as b } from "./BirthDateComponent-
|
|
19
|
-
import { t as x } from "./PostalCodeComponent-
|
|
20
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as C } from "./ExtraMessage-
|
|
22
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as E } from "./StatusComponent-
|
|
25
|
-
import { t as D } from "./LicensedProfessionalOrganizationComponent-
|
|
16
|
+
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-CKg700hI.js";
|
|
17
|
+
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BjmIuVJ1.js";
|
|
18
|
+
import { t as b } from "./BirthDateComponent-HZvQy3lM.js";
|
|
19
|
+
import { t as x } from "./PostalCodeComponent-CvmEHXss.js";
|
|
20
|
+
import { t as S } from "./CountryComponentWrapper-B674Hdv3.js";
|
|
21
|
+
import { t as C } from "./ExtraMessage-DdnlgJyb.js";
|
|
22
|
+
import { t as w } from "./ChangeLocaleComponent-CRbVlTD8.js";
|
|
23
|
+
import { t as T } from "./PersonalInfoStepWrapper-DP9_3AGQ.js";
|
|
24
|
+
import { t as E } from "./StatusComponent-DR7rYTcN.js";
|
|
25
|
+
import { t as D } from "./LicensedProfessionalOrganizationComponent-Da-emWlV.js";
|
|
26
26
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
27
27
|
var O = a(), k = {
|
|
28
28
|
LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-BSR6uyGW.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW;CACX,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,wBAAwB;AAC1B,GAuNa,IAAgD,GArNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IA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,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
1
|
+
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-D88TnIAC.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,c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AC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
8
|
+
import { It as e, c as t, n } from "./options-PkP3zQGm.js";
|
|
9
|
+
import { a as r, n as i, t as a } from "./jsx-runtime-CeRrwqti.js";
|
|
10
|
+
import { x as o } from "./FormFooterComponent-CN1rXBqV.js";
|
|
11
11
|
import { K as s, V as c, et as l, r as u, tt as d } from "../sheerid.js";
|
|
12
|
-
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-
|
|
13
|
-
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-
|
|
14
|
-
import { t as b } from "./BirthDateComponent-
|
|
15
|
-
import { t as x } from "./PostalCodeComponent-
|
|
16
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
17
|
-
import { t as C } from "./ExtraMessage-
|
|
18
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
19
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
20
|
-
import { t as E } from "./StatusComponent-
|
|
21
|
-
import { t as D } from "./LicensedProfessionalOrganizationComponent-
|
|
12
|
+
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-BS8mnq81.js";
|
|
13
|
+
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
|
|
14
|
+
import { t as b } from "./BirthDateComponent-DFxS4kMS.js";
|
|
15
|
+
import { t as x } from "./PostalCodeComponent-BLKNma3I.js";
|
|
16
|
+
import { t as S } from "./CountryComponentWrapper-DAATNYQK.js";
|
|
17
|
+
import { t as C } from "./ExtraMessage-CXv8VIOx.js";
|
|
18
|
+
import { t as w } from "./ChangeLocaleComponent-DYOoquLn.js";
|
|
19
|
+
import { t as T } from "./PersonalInfoStepWrapper-GeDOFNRv.js";
|
|
20
|
+
import { t as E } from "./StatusComponent-4NsI309s.js";
|
|
21
|
+
import { t as D } from "./LicensedProfessionalOrganizationComponent-D52Pyuo7.js";
|
|
22
22
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
23
23
|
var O = a(), k = {
|
|
24
24
|
LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
|