@sheerid/jslib-nightly 2.259.0-alpha.4 → 2.259.0-alpha.5
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 +1812 -1924
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BAzFHRbA.js → AddressComponent-DMwOmjiG.js} +5 -5
- package/chunk/{AddressComponent-BAzFHRbA.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
- package/chunk/{AddressComponent-DwBYG6uf.js → AddressComponent-DluNaOpg.js} +5 -5
- package/chunk/{AddressComponent-DwBYG6uf.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DQHkHL1F.js → AnnouncingHeader-BZreAj2L.js} +5 -5
- package/chunk/{AnnouncingHeader-C3SZBL-2.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
- package/chunk/{AnnouncingHeader-C3SZBL-2.js → AnnouncingHeader-DjgtqEeX.js} +5 -5
- package/chunk/{AnnouncingHeader-DQHkHL1F.js.map → AnnouncingHeader-DjgtqEeX.js.map} +1 -1
- package/chunk/{ApiUrls-C1i2zShE.js → ApiUrls-Bm0m_Rwr.js} +14 -14
- package/chunk/ApiUrls-Bm0m_Rwr.js.map +1 -0
- package/chunk/ApiUrls-DfkXTMXt.js +42 -0
- package/chunk/ApiUrls-DfkXTMXt.js.map +1 -0
- package/chunk/{BirthDateComponent-D9LlGf-7.js → BirthDateComponent-C-ucdi-0.js} +6 -6
- package/chunk/{BirthDateComponent-CWp6qCwi.js.map → BirthDateComponent-C-ucdi-0.js.map} +1 -1
- package/chunk/{BirthDateComponent-CWp6qCwi.js → BirthDateComponent-DzXHrrWH.js} +6 -6
- package/chunk/{BirthDateComponent-D9LlGf-7.js.map → BirthDateComponent-DzXHrrWH.js.map} +1 -1
- package/chunk/{CaptchaComponent-ZNBrwLAd.js → CaptchaComponent-BeC9p9QW.js} +104 -104
- package/chunk/{CaptchaComponent-BLKVnsDS.js.map → CaptchaComponent-BeC9p9QW.js.map} +1 -1
- package/chunk/{CaptchaComponent-BLKVnsDS.js → CaptchaComponent-zEryv6N9.js} +166 -166
- package/chunk/{CaptchaComponent-ZNBrwLAd.js.map → CaptchaComponent-zEryv6N9.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-MCyF8czV.js → ChangeLocaleComponent-DxAsnIOf.js} +6 -6
- package/chunk/{ChangeLocaleComponent-CkmHNHiE.js.map → ChangeLocaleComponent-DxAsnIOf.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CkmHNHiE.js → ChangeLocaleComponent-_bwpduI-.js} +6 -6
- package/chunk/{ChangeLocaleComponent-MCyF8czV.js.map → ChangeLocaleComponent-_bwpduI-.js.map} +1 -1
- package/chunk/{City-umz1wU5f.js → City-BP95fpVf.js} +5 -5
- package/chunk/{City-Ch0wNVmN.js.map → City-BP95fpVf.js.map} +1 -1
- package/chunk/{City-Ch0wNVmN.js → City-CmO85Z9x.js} +5 -5
- package/chunk/{City-umz1wU5f.js.map → City-CmO85Z9x.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bw1V9DWR.js → CollegeNameComponent-C24g_6em.js} +7 -7
- package/chunk/{CollegeNameComponent-Bw1V9DWR.js.map → CollegeNameComponent-C24g_6em.js.map} +1 -1
- package/chunk/{CollegeNameComponent-sTb0aLwH.js → CollegeNameComponent-Cy2w58Rc.js} +7 -7
- package/chunk/{CollegeNameComponent-sTb0aLwH.js.map → CollegeNameComponent-Cy2w58Rc.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-CfiR0il_.js → CopyToClipboardComponent-1BeB_oX_.js} +8 -8
- package/chunk/{CopyToClipboardComponent-CfiR0il_.js.map → CopyToClipboardComponent-1BeB_oX_.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-eiQyVezJ.js → CopyToClipboardComponent-6MY3v7_-.js} +5 -5
- package/chunk/{CopyToClipboardComponent-eiQyVezJ.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BWQRtr9a.js → CountryComponentWrapper-DAMRC1wO.js} +19 -15
- package/chunk/{CountryComponentWrapper-BSSdDVcs.js.map → CountryComponentWrapper-DAMRC1wO.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BSSdDVcs.js → CountryComponentWrapper-DJKsauB4.js} +13 -17
- package/chunk/{CountryComponentWrapper-BWQRtr9a.js.map → CountryComponentWrapper-DJKsauB4.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BX2aPQbK.js → DischargeDateComponent-C322xzkT.js} +12 -12
- package/chunk/{DischargeDateComponent-BX2aPQbK.js.map → DischargeDateComponent-C322xzkT.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DmQ9YAzc.js → DischargeDateComponent-N0iOhMHH.js} +13 -13
- package/chunk/{DischargeDateComponent-DmQ9YAzc.js.map → DischargeDateComponent-N0iOhMHH.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BVOVJVvt.js → DriverLicenseNumberComponent-CQeKZs0G.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-BVOVJVvt.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-oKgkWwie.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-oKgkWwie.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
- package/chunk/{EmailLoopPending-IfP5ilCU.js → EmailLoopPending-DH498Sdw.js} +14 -18
- package/chunk/{EmailLoopPending-IfP5ilCU.js.map → EmailLoopPending-DH498Sdw.js.map} +1 -1
- package/chunk/{EmailLoopPending-CE-tueNf.js → EmailLoopPending-DW5rFI-r.js} +17 -13
- package/chunk/{EmailLoopPending-CE-tueNf.js.map → EmailLoopPending-DW5rFI-r.js.map} +1 -1
- package/chunk/{ExtraMessage-BicSxrM8.js → ExtraMessage-CCy4Y9ez.js} +6 -6
- package/chunk/{ExtraMessage-BicSxrM8.js.map → ExtraMessage-CCy4Y9ez.js.map} +1 -1
- package/chunk/{ExtraMessage-D_tMUnf9.js → ExtraMessage-W8JUBktH.js} +6 -6
- package/chunk/{ExtraMessage-D_tMUnf9.js.map → ExtraMessage-W8JUBktH.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DATMg2cJ.js → FirstResponderOrganizationComponent-CJsCK3rp.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DATMg2cJ.js.map → FirstResponderOrganizationComponent-CJsCK3rp.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CarIvxfO.js → FirstResponderOrganizationComponent-DIyWek9L.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-CarIvxfO.js.map → FirstResponderOrganizationComponent-DIyWek9L.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-PSqzJ3aN.js → FormFieldInputSelect-DHimlvh_.js} +6 -6
- package/chunk/{FormFieldInputSelect-BoPAcenZ.js.map → FormFieldInputSelect-DHimlvh_.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BoPAcenZ.js → FormFieldInputSelect-DVx_UCxU.js} +6 -6
- package/chunk/{FormFieldInputSelect-PSqzJ3aN.js.map → FormFieldInputSelect-DVx_UCxU.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bb1WuAD0.js → FormFieldLayout-CUA-PItd.js} +5 -5
- package/chunk/{FormFieldLayout-DXsnKxvN.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
- package/chunk/{FormFieldLayout-DXsnKxvN.js → FormFieldLayout-DIcCOsGu.js} +5 -5
- package/chunk/{FormFieldLayout-Bb1WuAD0.js.map → FormFieldLayout-DIcCOsGu.js.map} +1 -1
- package/chunk/{FormFieldText-B9pb3dXH.js → FormFieldText-BeEhq8Kc.js} +6 -6
- package/chunk/{FormFieldText-B9pb3dXH.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
- package/chunk/{FormFieldText-pZJ86ywV.js → FormFieldText-zjWk7Cyc.js} +6 -6
- package/chunk/{FormFieldText-pZJ86ywV.js.map → FormFieldText-zjWk7Cyc.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DSiQ4zHO.js → FormFieldTypeahead-DvW92mn-.js} +136 -136
- package/chunk/{FormFieldTypeahead-DSiQ4zHO.js.map → FormFieldTypeahead-DvW92mn-.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BLvDi0is.js → FormFieldTypeahead-k2MeD7NT.js} +81 -81
- package/chunk/{FormFieldTypeahead-BLvDi0is.js.map → FormFieldTypeahead-k2MeD7NT.js.map} +1 -1
- package/chunk/{FormFooterComponent-B5sO7lYC.js → FormFooterComponent-CpavN1kM.js} +8091 -8157
- package/chunk/FormFooterComponent-CpavN1kM.js.map +1 -0
- package/chunk/{FormFooterComponent-DsvjZf4o.js → FormFooterComponent-kzrpWTiu.js} +8113 -8211
- package/chunk/FormFooterComponent-kzrpWTiu.js.map +1 -0
- package/chunk/{FormSelectChoice-DoK87Gbl.js → FormSelectChoice-BS3mEUVw.js} +7 -7
- package/chunk/{FormSelectChoice-DoK87Gbl.js.map → FormSelectChoice-BS3mEUVw.js.map} +1 -1
- package/chunk/{FormSelectChoice-YtuMSK5M.js → FormSelectChoice-D1hAFVDg.js} +16 -16
- package/chunk/{FormSelectChoice-YtuMSK5M.js.map → FormSelectChoice-D1hAFVDg.js.map} +1 -1
- package/chunk/{InputText-CM38DNW0.js → InputText-Bzkl8mKj.js} +6 -6
- package/chunk/{InputText-B3qMKLhG.js.map → InputText-Bzkl8mKj.js.map} +1 -1
- package/chunk/{InputText-B3qMKLhG.js → InputText-CkDvaW9P.js} +6 -6
- package/chunk/{InputText-CM38DNW0.js.map → InputText-CkDvaW9P.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-7Ch23kP0.js → LicensedProfessionalOrganizationComponent-CWUoo-Dd.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-7Ch23kP0.js.map → LicensedProfessionalOrganizationComponent-CWUoo-Dd.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-bpm8_oJn.js → LicensedProfessionalOrganizationComponent-DWmLC_9v.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-bpm8_oJn.js.map → LicensedProfessionalOrganizationComponent-DWmLC_9v.js.map} +1 -1
- package/chunk/{LogoComponent-DwplRUhZ.js → LogoComponent-BMeuu-aK.js} +5 -5
- package/chunk/{LogoComponent-C2JeW5X0.js.map → LogoComponent-BMeuu-aK.js.map} +1 -1
- package/chunk/{LogoComponent-C2JeW5X0.js → LogoComponent-CFPoRk_q.js} +5 -5
- package/chunk/{LogoComponent-DwplRUhZ.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CF8b7PRT.js → LowIncomeOrganizationComponent-CR_-8cYf.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-CF8b7PRT.js.map → LowIncomeOrganizationComponent-CR_-8cYf.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DNH8KSnF.js → LowIncomeOrganizationComponent-DBmvbHcq.js} +13 -13
- package/chunk/{LowIncomeOrganizationComponent-DNH8KSnF.js.map → LowIncomeOrganizationComponent-DBmvbHcq.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CQYCEMrI.js → MedicalProfessionalOrganizationComponent-B9zWXe5G.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-CQYCEMrI.js.map → MedicalProfessionalOrganizationComponent-B9zWXe5G.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DrbGfGEM.js → MedicalProfessionalOrganizationComponent-DSgwSX8i.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DrbGfGEM.js.map → MedicalProfessionalOrganizationComponent-DSgwSX8i.js.map} +1 -1
- package/chunk/{MemberIdComponent-CTSpgRAd.js → MemberIdComponent-D_KVob09.js} +5 -5
- package/chunk/{MemberIdComponent-CFB8g_hq.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
- package/chunk/{MemberIdComponent-CFB8g_hq.js → MemberIdComponent-Dva2Xx7J.js} +5 -5
- package/chunk/{MemberIdComponent-CTSpgRAd.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-sZW8Wagq.js → MembershipOrganizationComponent-CKsVMayC.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DGi-HUka.js.map → MembershipOrganizationComponent-CKsVMayC.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DGi-HUka.js → MembershipOrganizationComponent-th_QDNVO.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-sZW8Wagq.js.map → MembershipOrganizationComponent-th_QDNVO.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-5tuzy7zT.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-5tuzy7zT.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Cz_CdAWG.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-Cz_CdAWG.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-4ZK1A1_g.js → PersonalInfoStepWrapper-BOxXjOcR.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-4ZK1A1_g.js.map → PersonalInfoStepWrapper-BOxXjOcR.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-ARH3ZED1.js → PersonalInfoStepWrapper-i8BIqIp_.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-ARH3ZED1.js.map → PersonalInfoStepWrapper-i8BIqIp_.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BwpQbUxr.js → PostalCodeComponent-C97fgZFI.js} +5 -5
- package/chunk/{PostalCodeComponent-BYqnLcHd.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BYqnLcHd.js → PostalCodeComponent-YFm2z5qa.js} +5 -5
- package/chunk/{PostalCodeComponent-BwpQbUxr.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
- package/chunk/{SSN-DAInA3wn.js → SSN-CtVtLOD7.js} +6 -6
- package/chunk/{SSN-BDVJgGSQ.js.map → SSN-CtVtLOD7.js.map} +1 -1
- package/chunk/{SSN-BDVJgGSQ.js → SSN-mk_cMbDH.js} +6 -6
- package/chunk/{SSN-DAInA3wn.js.map → SSN-mk_cMbDH.js.map} +1 -1
- package/chunk/{StateSelectComponent-C12-PmBR.js → StateSelectComponent-DO-QvisF.js} +5 -5
- package/chunk/{StateSelectComponent-C12-PmBR.js.map → StateSelectComponent-DO-QvisF.js.map} +1 -1
- package/chunk/{StateSelectComponent-Ctqsq9QW.js → StateSelectComponent-SUC4FKeR.js} +5 -5
- package/chunk/{StateSelectComponent-Ctqsq9QW.js.map → StateSelectComponent-SUC4FKeR.js.map} +1 -1
- package/chunk/{StatusComponent-DWf6Z-oB.js → StatusComponent-BrSaLUaw.js} +6 -6
- package/chunk/{StatusComponent-BkaYM9ne.js.map → StatusComponent-BrSaLUaw.js.map} +1 -1
- package/chunk/{StatusComponent-BkaYM9ne.js → StatusComponent-CpNkE27W.js} +6 -6
- package/chunk/{StatusComponent-DWf6Z-oB.js.map → StatusComponent-CpNkE27W.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js → StepActiveMilitaryPersonalInfoComponent-B94_qUoP.js} +22 -22
- package/chunk/{StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js.map → StepActiveMilitaryPersonalInfoComponent-B94_qUoP.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js → StepActiveMilitaryPersonalInfoComponent-DMik3zUA.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js.map → StepActiveMilitaryPersonalInfoComponent-DMik3zUA.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-9ff8EN7s.js +169 -0
- package/chunk/{StepAgePersonalInfo-ApVus-QC.js.map → StepAgePersonalInfo-9ff8EN7s.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-D2TBteBL.js → StepAgePersonalInfo-j8uCF5Wv.js} +46 -42
- package/chunk/{StepAgePersonalInfo-D2TBteBL.js.map → StepAgePersonalInfo-j8uCF5Wv.js.map} +1 -1
- package/chunk/{StepCard-Byk_N2eu.js → StepCard-7t2vkHqM.js} +4 -4
- package/chunk/{StepCard-Byk_N2eu.js.map → StepCard-7t2vkHqM.js.map} +1 -1
- package/chunk/{StepCard-CTG7niZl.js → StepCard-BF_RD7Rd.js} +4 -4
- package/chunk/{StepCard-CTG7niZl.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BACoD6-6.js → StepCollectIdentifier-CXYq0SqD.js} +7 -7
- package/chunk/{StepCollectIdentifier-BACoD6-6.js.map → StepCollectIdentifier-CXYq0SqD.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BWoApZSB.js → StepCollectIdentifier-CviN169K.js} +9 -9
- package/chunk/{StepCollectIdentifier-BWoApZSB.js.map → StepCollectIdentifier-CviN169K.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-CqIz5JtY.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-CAmLY6bG.js → StepCollectMilitaryStatusComponent-DRLJeipP.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-C4oB2-uA.js → StepCollectPersonalInfo-AsCssFWQ.js} +128 -128
- package/chunk/{StepCollectPersonalInfo-C4oB2-uA.js.map → StepCollectPersonalInfo-AsCssFWQ.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BNODUQ4o.js +357 -0
- package/chunk/{StepCollectPersonalInfo-D6nFnozX.js.map → StepCollectPersonalInfo-BNODUQ4o.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DZ5iFFUF.js → StepCompleteAuthentication-Cs4zhI-D.js} +10 -14
- package/chunk/{StepCompleteAuthentication-C0eGb9ij.js.map → StepCompleteAuthentication-Cs4zhI-D.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-C0eGb9ij.js → StepCompleteAuthentication-q5i7ecb3.js} +14 -10
- package/chunk/{StepCompleteAuthentication-DZ5iFFUF.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
- package/chunk/{StepConsolation-DD2SGGyo.js → StepConsolation-D1CrvvjH.js} +8 -8
- package/chunk/{StepConsolation-8kRAj5Sz.js.map → StepConsolation-D1CrvvjH.js.map} +1 -1
- package/chunk/{StepConsolation-8kRAj5Sz.js → StepConsolation-ax8ghOdV.js} +8 -8
- package/chunk/{StepConsolation-DD2SGGyo.js.map → StepConsolation-ax8ghOdV.js.map} +1 -1
- package/chunk/{StepDocUpload-BHToEeCL.js → StepDocUpload-CSvqcRBG.js} +93 -93
- package/chunk/{StepDocUpload-BHToEeCL.js.map → StepDocUpload-CSvqcRBG.js.map} +1 -1
- package/chunk/{StepDocUpload-CQUiXtli.js → StepDocUpload-D-w_wDgF.js} +202 -202
- package/chunk/{StepDocUpload-CQUiXtli.js.map → StepDocUpload-D-w_wDgF.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CHEgMokE.js → StepDriverLicensePersonalInfoComponent-Drm271TD.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-CHEgMokE.js.map → StepDriverLicensePersonalInfoComponent-Drm271TD.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js → StepDriverLicensePersonalInfoComponent-ZussaDaY.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js.map → StepDriverLicensePersonalInfoComponent-ZussaDaY.js.map} +1 -1
- package/chunk/{StepEmailLoop-DQDO5FRh.js → StepEmailLoop-BHqWIqZF.js} +14 -14
- package/chunk/{StepEmailLoop-BVn2f_di.js.map → StepEmailLoop-BHqWIqZF.js.map} +1 -1
- package/chunk/{StepEmailLoop-BVn2f_di.js → StepEmailLoop-ZTu9DNfy.js} +13 -13
- package/chunk/{StepEmailLoop-DQDO5FRh.js.map → StepEmailLoop-ZTu9DNfy.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BQXJZC68.js → StepEmploymentPersonalInfo-B3S3OM2z.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-4AHfUrMV.js.map → StepEmploymentPersonalInfo-B3S3OM2z.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-4AHfUrMV.js → StepEmploymentPersonalInfo-CyRz06r0.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BQXJZC68.js.map → StepEmploymentPersonalInfo-CyRz06r0.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BnYellOy.js → StepFirstResponderPersonalInfo-BV6Hj5iV.js} +25 -25
- package/chunk/{StepFirstResponderPersonalInfo-BnYellOy.js.map → StepFirstResponderPersonalInfo-BV6Hj5iV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-C6vO86r_.js → StepFirstResponderPersonalInfo-DL0N0_B3.js} +31 -31
- package/chunk/{StepFirstResponderPersonalInfo-C6vO86r_.js.map → StepFirstResponderPersonalInfo-DL0N0_B3.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js → StepGeneralIdentityPersonalInfoComponent-BWBtKkx8.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js.map → StepGeneralIdentityPersonalInfoComponent-BWBtKkx8.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js → StepGeneralIdentityPersonalInfoComponent-DcZz8Ort.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js.map → StepGeneralIdentityPersonalInfoComponent-DcZz8Ort.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-wwCb9afT.js → StepHybridIdentityPersonalInfoComponent-QZq4btkR.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js.map → StepHybridIdentityPersonalInfoComponent-QZq4btkR.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js → StepHybridIdentityPersonalInfoComponent-xLrhnNhd.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-wwCb9afT.js.map → StepHybridIdentityPersonalInfoComponent-xLrhnNhd.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CqafffPd.js → StepIDCheckLoop-CEP8CaSl.js} +7 -7
- package/chunk/{StepIDCheckLoop-B22CZjOb.js.map → StepIDCheckLoop-CEP8CaSl.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-B22CZjOb.js → StepIDCheckLoop-CJaBozYj.js} +7 -7
- package/chunk/{StepIDCheckLoop-CqafffPd.js.map → StepIDCheckLoop-CJaBozYj.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BubFyrh9.js → StepIDCheckLoopOnfido-CAao_k07.js} +31 -31
- package/chunk/{StepIDCheckLoopOnfido-QHwxn2Tv.js.map → StepIDCheckLoopOnfido-CAao_k07.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-QHwxn2Tv.js → StepIDCheckLoopOnfido-jc7cQJjg.js} +43 -43
- package/chunk/{StepIDCheckLoopOnfido-BubFyrh9.js.map → StepIDCheckLoopOnfido-jc7cQJjg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DBucry3o.js → StepIDCheckLoopRegula-C_Cg5Onb.js} +19 -19
- package/chunk/{StepIDCheckLoopRegula-DBucry3o.js.map → StepIDCheckLoopRegula-C_Cg5Onb.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-piiOyU4g.js → StepIDCheckLoopRegula-DFSudL-A.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-piiOyU4g.js.map → StepIDCheckLoopRegula-DFSudL-A.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js → StepInactiveMilitaryPersonalInfoComponent-CeWZxm-3.js} +30 -30
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js.map → StepInactiveMilitaryPersonalInfoComponent-CeWZxm-3.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js → StepInactiveMilitaryPersonalInfoComponent-KCHFG9yH.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js.map → StepInactiveMilitaryPersonalInfoComponent-KCHFG9yH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js → StepLicensedProfessionalPersonalInfo-B2jYRY3l.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js.map → StepLicensedProfessionalPersonalInfo-B2jYRY3l.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DD34r3AQ.js → StepLicensedProfessionalPersonalInfo-D-ofNtjZ.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DD34r3AQ.js.map → StepLicensedProfessionalPersonalInfo-D-ofNtjZ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-t49sIPYt.js → StepLowIncomePersonalInfo-CzH7I5pb.js} +31 -31
- package/chunk/{StepLowIncomePersonalInfo-t49sIPYt.js.map → StepLowIncomePersonalInfo-CzH7I5pb.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-uMs4T1U6.js → StepLowIncomePersonalInfo-WeASi14j.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-uMs4T1U6.js.map → StepLowIncomePersonalInfo-WeASi14j.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFspAO2Z.js → StepMedicalProfessionalPersonalInfo-BIT0Khty.js} +23 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFspAO2Z.js.map → StepMedicalProfessionalPersonalInfo-BIT0Khty.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-FBuxl6LW.js → StepMedicalProfessionalPersonalInfo-D_huUPqd.js} +23 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-FBuxl6LW.js.map → StepMedicalProfessionalPersonalInfo-D_huUPqd.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Duikog5u.js → StepMemberPersonalInfo-BASLL3fh.js} +30 -26
- package/chunk/{StepMemberPersonalInfo-BPnbyPU4.js.map → StepMemberPersonalInfo-BASLL3fh.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BPnbyPU4.js → StepMemberPersonalInfo-D8bKSPEk.js} +26 -30
- package/chunk/{StepMemberPersonalInfo-Duikog5u.js.map → StepMemberPersonalInfo-D8bKSPEk.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C5OxWQd3.js → StepMoverPersonalInfo-DYSOWdVh.js} +26 -22
- package/chunk/{StepMoverPersonalInfo-C5OxWQd3.js.map → StepMoverPersonalInfo-DYSOWdVh.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Rxgi-6Uo.js → StepMoverPersonalInfo-ambjwH5d.js} +22 -26
- package/chunk/{StepMoverPersonalInfo-Rxgi-6Uo.js.map → StepMoverPersonalInfo-ambjwH5d.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CXOVt03w.js → StepOverrideComponent-BBD1buPj.js} +14 -14
- package/chunk/{StepOverrideComponent-CDa3ffZl.js.map → StepOverrideComponent-BBD1buPj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CDa3ffZl.js → StepOverrideComponent-CXRDR2tR.js} +14 -14
- package/chunk/{StepOverrideComponent-CXOVt03w.js.map → StepOverrideComponent-CXRDR2tR.js.map} +1 -1
- package/chunk/{StepSMSLoop-BRma4Yv7.js → StepSMSLoop-CqRn7DH2.js} +16 -16
- package/chunk/{StepSMSLoop-B8Sfi7lM.js.map → StepSMSLoop-CqRn7DH2.js.map} +1 -1
- package/chunk/{StepSMSLoop-B8Sfi7lM.js → StepSMSLoop-D6l8Ec-u.js} +15 -15
- package/chunk/{StepSMSLoop-BRma4Yv7.js.map → StepSMSLoop-D6l8Ec-u.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-BJPa_XQ3.js → StepSocialSecurityNumber-D13aKxpv.js} +20 -16
- package/chunk/{StepSocialSecurityNumber-BJPa_XQ3.js.map → StepSocialSecurityNumber-D13aKxpv.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-xfhVCa0b.js → StepSocialSecurityNumber-Dya63hnB.js} +18 -22
- package/chunk/{StepSocialSecurityNumber-xfhVCa0b.js.map → StepSocialSecurityNumber-Dya63hnB.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CKhmp2it.js → StepStudentPersonalInfo-DggLgDPN.js} +27 -31
- package/chunk/{StepStudentPersonalInfo-CKhmp2it.js.map → StepStudentPersonalInfo-DggLgDPN.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-HjQOPJBa.js → StepStudentPersonalInfo-gXih5d8e.js} +31 -27
- package/chunk/{StepStudentPersonalInfo-HjQOPJBa.js.map → StepStudentPersonalInfo-gXih5d8e.js.map} +1 -1
- package/chunk/{StepSuccess-U4LQ1MYZ.js → StepSuccess-Be7eqOIJ.js} +82 -86
- package/chunk/StepSuccess-Be7eqOIJ.js.map +1 -0
- package/chunk/{StepSuccess-CECU-0Sl.js → StepSuccess-C5ll33ie.js} +84 -80
- package/chunk/StepSuccess-C5ll33ie.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-Bi_F5GHB.js → StepTeacherPersonalInfo-1av5nXCa.js} +27 -31
- package/chunk/{StepTeacherPersonalInfo-Bi_F5GHB.js.map → StepTeacherPersonalInfo-1av5nXCa.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CsDLjaqb.js → StepTeacherPersonalInfo-Dny7oMmf.js} +31 -27
- package/chunk/{StepTeacherPersonalInfo-CsDLjaqb.js.map → StepTeacherPersonalInfo-Dny7oMmf.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-C59ljPjO.js → TeacherSchoolComponent-D7erc8X0.js} +7 -7
- package/chunk/{TeacherSchoolComponent-Ds7hYDf8.js.map → TeacherSchoolComponent-D7erc8X0.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Ds7hYDf8.js → TeacherSchoolComponent-vIvcw-r3.js} +7 -7
- package/chunk/{TeacherSchoolComponent-C59ljPjO.js.map → TeacherSchoolComponent-vIvcw-r3.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +77 -0
- package/chunk/{TestingRouteOverrides-eSRTiZoc.js.map → TestingRouteOverrides-B-zcTBa_.js.map} +1 -1
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +81 -0
- package/chunk/{TestingRouteOverrides-olL49Zx5.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-Dw1w8mF1.js → VerificationApiClient-CqJPbEXr.js} +314 -306
- package/chunk/VerificationApiClient-CqJPbEXr.js.map +1 -0
- package/chunk/{VerificationApiClient-qzcaFPIZ.js → VerificationApiClient-DYx_ZKqq.js} +243 -235
- package/chunk/VerificationApiClient-DYx_ZKqq.js.map +1 -0
- package/chunk/{VerificationApiUtils-CgS02nkR.js → VerificationApiUtils-D2rey3Np.js} +6 -6
- package/chunk/{VerificationApiUtils-BuPDlUJJ.js.map → VerificationApiUtils-D2rey3Np.js.map} +1 -1
- package/chunk/{VerificationApiUtils-BuPDlUJJ.js → VerificationApiUtils-hjvhKSWU.js} +6 -6
- package/chunk/{VerificationApiUtils-CgS02nkR.js.map → VerificationApiUtils-hjvhKSWU.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +3 -3
- package/chunk/bg-D2-seofX.js +3 -3
- package/chunk/bn-IN-B5PyYaJU.js +3 -3
- package/chunk/{countryUtils-BTcv-xa-.js → countryUtils-BAFwHnuu.js} +4 -4
- package/chunk/{countryUtils-BTcv-xa-.js.map → countryUtils-BAFwHnuu.js.map} +1 -1
- package/chunk/{countryUtils-Dw8fXGgB.js → countryUtils-QSjR1rBI.js} +4 -4
- package/chunk/{countryUtils-Dw8fXGgB.js.map → countryUtils-QSjR1rBI.js.map} +1 -1
- package/chunk/cs-CsEnIopo.js +3 -3
- package/chunk/da-Da-m3VU_.js +3 -3
- package/chunk/de-BSoD5U3-.js +3 -3
- package/chunk/{downshift.esm-BIKsMPP5.js → downshift.esm-DtfHVJmV.js} +121 -121
- package/chunk/{downshift.esm-BtBgxJmR.js.map → downshift.esm-DtfHVJmV.js.map} +1 -1
- package/chunk/{downshift.esm-BtBgxJmR.js → downshift.esm-qC38xPRk.js} +42 -42
- package/chunk/{downshift.esm-BIKsMPP5.js.map → downshift.esm-qC38xPRk.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/{empties-BL76XMwN.js → empties-BIoZK05_.js} +46 -46
- package/chunk/{empties-BL76XMwN.js.map → empties-BIoZK05_.js.map} +1 -1
- package/chunk/{empties-BfAKqhLo.js → empties-Ck9OJXHG.js} +4 -4
- package/chunk/{empties-BfAKqhLo.js.map → empties-Ck9OJXHG.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +3 -3
- package/chunk/es-D18tLxcT.js +3 -3
- package/chunk/es-ES-7x2bVUQr.js +3 -3
- package/chunk/et-udrWMVlD.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-DgwYULMs.js +3 -3
- package/chunk/fi-CkCWFGDC.js +3 -3
- package/chunk/fr-BprIFEa8.js +3 -3
- package/chunk/fr-CA-DrjICejr.js +3 -3
- package/chunk/ga-LaV5ZJgg.js +3 -3
- package/chunk/hi-IN-7dtEICYI.js +3 -3
- package/chunk/hr-2Bctl997.js +3 -3
- package/chunk/hu-BT0z6TPZ.js +3 -3
- package/chunk/id-BvyYep3X.js +3 -3
- package/chunk/{intl-C8E3kZCc.js → intl-aUfdCP8t.js} +421 -429
- package/chunk/intl-aUfdCP8t.js.map +1 -0
- package/chunk/is-DOsKfa80.js +3 -3
- package/chunk/it-3dX9AQk7.js +3 -3
- package/chunk/iw-5I90wqQ8.js +3 -3
- package/chunk/ja-CHdgbMgX.js +3 -3
- package/chunk/{jsx-runtime-v0uEISUn.js → jsx-runtime-BknAqbDq.js} +17 -17
- package/chunk/{jsx-runtime-Cqcg28yY.js.map → jsx-runtime-BknAqbDq.js.map} +1 -1
- package/chunk/{jsx-runtime-Cqcg28yY.js → jsx-runtime-XNwIsY_N.js} +4 -4
- package/chunk/{jsx-runtime-v0uEISUn.js.map → jsx-runtime-XNwIsY_N.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +3 -3
- package/chunk/ko-DsMaax3V.js +3 -3
- package/chunk/lo-CjASRmNr.js +3 -3
- package/chunk/lt-DF29E1de.js +3 -3
- package/chunk/lv-DlHBZyt-.js +3 -3
- package/chunk/{militaryStepHelpers-D9B8OAip.js → militaryStepHelpers-UF-7lF1f.js} +4 -4
- package/chunk/{militaryStepHelpers-D9B8OAip.js.map → militaryStepHelpers-UF-7lF1f.js.map} +1 -1
- package/chunk/{militaryStepHelpers-DZi-bs5z.js → militaryStepHelpers-qMYyQgVn.js} +4 -4
- package/chunk/{militaryStepHelpers-DZi-bs5z.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
- package/chunk/{mocks-DpCSGKUm.js → mocks-1r84in2Q.js} +7 -7
- package/chunk/{mocks-CQJujYjv.js.map → mocks-1r84in2Q.js.map} +1 -1
- package/chunk/{mocks-CQJujYjv.js → mocks-fUTXc8-e.js} +7 -7
- package/chunk/{mocks-DpCSGKUm.js.map → mocks-fUTXc8-e.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +3 -3
- package/chunk/nl-BE-Dw1IGXuF.js +3 -3
- package/chunk/nl-Cqkrr5-r.js +3 -3
- package/chunk/no-876EdwkX.js +3 -3
- package/chunk/{options-BlmP6RQn.js → options-D19mRw5a.js} +343 -351
- package/chunk/{options-BlmP6RQn.js.map → options-D19mRw5a.js.map} +1 -1
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/{programThemeGetters-Cwj-2rp9.js → programThemeGetters-CyMKyJao.js} +41 -41
- package/chunk/{programThemeGetters-1A422VwF.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
- package/chunk/programThemeGetters-Lz3L0Vh7.js +165 -0
- package/chunk/{programThemeGetters-Cwj-2rp9.js.map → programThemeGetters-Lz3L0Vh7.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/{refs-DhfzTkb0.js → refs--ECXpllB.js} +4 -4
- package/chunk/{refs-DRZANumu.js.map → refs--ECXpllB.js.map} +1 -1
- package/chunk/{refs-DRZANumu.js → refs-Bbe0gnJ3.js} +4 -4
- package/chunk/{refs-DhfzTkb0.js.map → refs-Bbe0gnJ3.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-B4u8S9oy.js → useCollectFieldsEndpoint--N87qGy7.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-Cs3WWTUu.js.map → useCollectFieldsEndpoint--N87qGy7.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Cs3WWTUu.js → useCollectFieldsEndpoint-A2hY1pce.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-B4u8S9oy.js.map → useCollectFieldsEndpoint-A2hY1pce.js.map} +1 -1
- package/chunk/{useMetrics-fJHxK9XL.js → useMetrics-D_8asKZL.js} +17 -17
- package/chunk/{useMetrics-fJHxK9XL.js.map → useMetrics-D_8asKZL.js.map} +1 -1
- package/chunk/{useMetrics-C7IgrrFm.js → useMetrics-Ivet_g4B.js} +11 -11
- package/chunk/{useMetrics-C7IgrrFm.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
- package/chunk/{validators-CaMDTJo6.js → validators-BZCydYkb.js} +70 -66
- package/chunk/{validators-W5FGeAnu.js.map → validators-BZCydYkb.js.map} +1 -1
- package/chunk/{validators-W5FGeAnu.js → validators-Do9xo2t_.js} +75 -79
- package/chunk/{validators-CaMDTJo6.js.map → validators-Do9xo2t_.js.map} +1 -1
- package/chunk/vi-CdPTWSev.js +3 -3
- package/chunk/zh-DhnjKBoc.js +3 -3
- package/chunk/zh-HK-CWKNP_HX.js +3 -3
- package/chunk/zu-BpMHS0oR.js +3 -3
- package/package.json +2 -3
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +48 -43
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +3 -3
- package/sheerid.js +1582 -1608
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-C1i2zShE.js.map +0 -1
- package/chunk/ApiUrls-dZcmNEuL.js +0 -42
- package/chunk/ApiUrls-dZcmNEuL.js.map +0 -1
- package/chunk/FormFooterComponent-B5sO7lYC.js.map +0 -1
- package/chunk/FormFooterComponent-DsvjZf4o.js.map +0 -1
- package/chunk/StepAgePersonalInfo-ApVus-QC.js +0 -173
- package/chunk/StepCollectMilitaryStatusComponent-Dr2wJ6o4.js +0 -9
- package/chunk/StepCollectPersonalInfo-D6nFnozX.js +0 -357
- package/chunk/StepSuccess-CECU-0Sl.js.map +0 -1
- package/chunk/StepSuccess-U4LQ1MYZ.js.map +0 -1
- package/chunk/TestingRouteOverrides-eSRTiZoc.js +0 -77
- package/chunk/TestingRouteOverrides-olL49Zx5.js +0 -81
- package/chunk/VerificationApiClient-Dw1w8mF1.js.map +0 -1
- package/chunk/VerificationApiClient-qzcaFPIZ.js.map +0 -1
- package/chunk/intl-C8E3kZCc.js.map +0 -1
- package/chunk/programThemeGetters-1A422VwF.js +0 -165
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
3
|
+
* VERSION: 2.259.0-alpha.5
|
|
4
|
+
* BUILD_TIMESTAMP: 1784849946846
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 23:39:06 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
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 { Bt as e, Ft as t, Wt as n, c as r, n as i, wt as a } from "./options-D19mRw5a.js";
|
|
9
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
+
import { x as u } from "./FormFooterComponent-CpavN1kM.js";
|
|
11
|
+
import { a as d } from "./refs-Bbe0gnJ3.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-hjvhKSWU.js";
|
|
14
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-zEryv6N9.js";
|
|
15
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
16
|
+
import { t as k } from "./BirthDateComponent-DzXHrrWH.js";
|
|
17
|
+
import { t as A } from "./PostalCodeComponent-C97fgZFI.js";
|
|
18
|
+
import { t as j } from "./CountryComponentWrapper-DJKsauB4.js";
|
|
19
|
+
import { t as M } from "./City-CmO85Z9x.js";
|
|
20
|
+
import { t as N } from "./AddressComponent-DMwOmjiG.js";
|
|
21
|
+
import { t as P } from "./ExtraMessage-CCy4Y9ez.js";
|
|
22
|
+
import { t as F } from "./ChangeLocaleComponent-_bwpduI-.js";
|
|
23
|
+
import { t as I } from "./PersonalInfoStepWrapper-i8BIqIp_.js";
|
|
24
|
+
import { t as L } from "./StateSelectComponent-SUC4FKeR.js";
|
|
25
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-N0iOhMHH.js";
|
|
26
|
+
import { t as V } from "./StatusComponent-BrSaLUaw.js";
|
|
27
|
+
import { t as H } from "./militaryStepHelpers-UF-7lF1f.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__ */ n(s(), 1), W = l(), G = ({ intl: n, 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, n), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
|
|
31
31
|
o.updateViewModel(H(e, t, o, X));
|
|
32
32
|
};
|
|
33
33
|
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
|
|
34
|
-
let
|
|
35
|
-
|
|
34
|
+
let n = r(s, () => {});
|
|
35
|
+
e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
|
|
36
36
|
})(), U.useEffect(() => {
|
|
37
37
|
(async () => {
|
|
38
38
|
if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
39
39
|
Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
40
|
-
} catch (
|
|
41
|
-
|
|
40
|
+
} catch (n) {
|
|
41
|
+
e.error(`Failed to determine fields to collect: ${n}`, t.collectInactiveMilitaryPersonalInfo);
|
|
42
42
|
}
|
|
43
43
|
})();
|
|
44
44
|
}, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
|
|
@@ -60,7 +60,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
|
|
|
60
60
|
segmentId: "military",
|
|
61
61
|
value: {
|
|
62
62
|
value: s.status,
|
|
63
|
-
label: f(
|
|
63
|
+
label: f(n, s.status, a)
|
|
64
64
|
},
|
|
65
65
|
isErrored: !!G.status,
|
|
66
66
|
errorId: "invalidMilitaryStatus",
|
|
@@ -172,7 +172,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, 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, n),
|
|
176
176
|
value: s.state || void 0,
|
|
177
177
|
isErrored: !!G.state,
|
|
178
178
|
onChange: async (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.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,G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AAC,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-CeWZxm-3.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,IAA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IAC5C,YAAY,EAAwB,OAAO,GAAG;GAC/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"}
|
|
@@ -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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
7
|
+
* VERSION: 2.259.0-alpha.5
|
|
8
|
+
* BUILD_TIMESTAMP: 1784849951105
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 23:39:11 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
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 { Ht as e, Lt as t, bt as n, jt as r, p as i, s as a } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as u } from "./FormFooterComponent-kzrpWTiu.js";
|
|
15
|
+
import { a as d } from "./refs--ECXpllB.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-D2rey3Np.js";
|
|
18
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-BeC9p9QW.js";
|
|
19
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
20
|
+
import { t as k } from "./BirthDateComponent-C-ucdi-0.js";
|
|
21
|
+
import { t as A } from "./PostalCodeComponent-YFm2z5qa.js";
|
|
22
|
+
import { t as j } from "./CountryComponentWrapper-DAMRC1wO.js";
|
|
23
|
+
import { t as M } from "./City-BP95fpVf.js";
|
|
24
|
+
import { t as N } from "./AddressComponent-DluNaOpg.js";
|
|
25
|
+
import { t as P } from "./ExtraMessage-W8JUBktH.js";
|
|
26
|
+
import { t as F } from "./ChangeLocaleComponent-DxAsnIOf.js";
|
|
27
|
+
import { t as I } from "./PersonalInfoStepWrapper-BOxXjOcR.js";
|
|
28
|
+
import { t as L } from "./StateSelectComponent-DO-QvisF.js";
|
|
29
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-C322xzkT.js";
|
|
30
|
+
import { t as V } from "./StatusComponent-CpNkE27W.js";
|
|
31
|
+
import { t as H } from "./militaryStepHelpers-qMYyQgVn.js";
|
|
32
32
|
//#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
|
|
33
|
-
var U = /* @__PURE__ */
|
|
34
|
-
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o,
|
|
33
|
+
var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService: o }) => {
|
|
34
|
+
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, e), 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 === r.collectMilitaryStatus) && (() => {
|
|
38
|
+
let e = i(s, () => {});
|
|
39
|
+
t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(r.collectMilitaryStatus, e, 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 === r.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
43
|
+
Y((await b(K.verificationId, r.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
44
|
+
} catch (e) {
|
|
45
|
+
t.error(`Failed to determine fields to collect: ${e}`, r.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: _(
|
|
67
|
+
label: _(e, s.status, n)
|
|
68
68
|
},
|
|
69
69
|
isErrored: !!G.status,
|
|
70
70
|
errorId: "invalidMilitaryStatus",
|
|
@@ -176,7 +176,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
|
|
|
176
176
|
isRequired: p("city")?.requireIfOptional
|
|
177
177
|
}),
|
|
178
178
|
J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
|
|
179
|
-
options: g(o.programTheme,
|
|
179
|
+
options: g(o.programTheme, e),
|
|
180
180
|
value: s.state || void 0,
|
|
181
181
|
isErrored: !!G.state,
|
|
182
182
|
onChange: async (e) => {
|
|
@@ -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: r.collectInactiveMilitaryPersonalInfo,
|
|
228
228
|
verificationService: o,
|
|
229
229
|
viewModel: s,
|
|
230
230
|
failedInstantMatch: q,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.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 = inj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alInfoComponent-KCHFG9yH.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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AAU,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,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
3
|
+
* VERSION: 2.259.0-alpha.5
|
|
4
|
+
* BUILD_TIMESTAMP: 1784849946846
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 23:39:06 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
8
|
+
import { Ft as e, c as t, n } from "./options-D19mRw5a.js";
|
|
9
|
+
import { a as r, n as i, t as a } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
+
import { x as o } from "./FormFooterComponent-CpavN1kM.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-zEryv6N9.js";
|
|
13
|
+
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
14
|
+
import { t as b } from "./BirthDateComponent-DzXHrrWH.js";
|
|
15
|
+
import { t as x } from "./PostalCodeComponent-C97fgZFI.js";
|
|
16
|
+
import { t as S } from "./CountryComponentWrapper-DJKsauB4.js";
|
|
17
|
+
import { t as C } from "./ExtraMessage-CCy4Y9ez.js";
|
|
18
|
+
import { t as w } from "./ChangeLocaleComponent-_bwpduI-.js";
|
|
19
|
+
import { t as T } from "./PersonalInfoStepWrapper-i8BIqIp_.js";
|
|
20
|
+
import { t as E } from "./StatusComponent-BrSaLUaw.js";
|
|
21
|
+
import { t as D } from "./LicensedProfessionalOrganizationComponent-CWUoo-Dd.js";
|
|
22
22
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
23
23
|
var O = a(), k = {
|
|
24
24
|
LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-C3Z9WWZc.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,WAA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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
|
+
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-B2jYRY3l.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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,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;EACkB;;AAEzB,CAIA"}
|
|
@@ -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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
7
|
+
* VERSION: 2.259.0-alpha.5
|
|
8
|
+
* BUILD_TIMESTAMP: 1784849951105
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 23:39:11 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { jt as e, p as t, s as n } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as r, n as i, t as a } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as o } from "./FormFooterComponent-kzrpWTiu.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-BeC9p9QW.js";
|
|
17
|
+
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
18
|
+
import { t as b } from "./BirthDateComponent-C-ucdi-0.js";
|
|
19
|
+
import { t as x } from "./PostalCodeComponent-YFm2z5qa.js";
|
|
20
|
+
import { t as S } from "./CountryComponentWrapper-DAMRC1wO.js";
|
|
21
|
+
import { t as C } from "./ExtraMessage-W8JUBktH.js";
|
|
22
|
+
import { t as w } from "./ChangeLocaleComponent-DxAsnIOf.js";
|
|
23
|
+
import { t as T } from "./PersonalInfoStepWrapper-BOxXjOcR.js";
|
|
24
|
+
import { t as E } from "./StatusComponent-CpNkE27W.js";
|
|
25
|
+
import { t as D } from "./LicensedProfessionalOrganizationComponent-DWmLC_9v.js";
|
|
26
26
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
27
27
|
var O = a(), k = {
|
|
28
28
|
LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
|