@sheerid/jslib 2.294.0 → 2.295.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +37 -37
- package/chunk/{AddressComponent-C2dPxhhj.js → AddressComponent-DgdxVCak.js} +5 -5
- package/chunk/{AddressComponent-C2dPxhhj.js.map → AddressComponent-DgdxVCak.js.map} +1 -1
- package/chunk/{AddressComponent-PHZhb2Mw.js → AddressComponent-maoUGgcH.js} +5 -5
- package/chunk/{AddressComponent-PHZhb2Mw.js.map → AddressComponent-maoUGgcH.js.map} +1 -1
- package/chunk/AnnouncingHeader-C6QNdmy8.js +4 -4
- package/chunk/AnnouncingHeader-DJd16MZV.js +4 -4
- package/chunk/{BirthDateComponent-DCZXOXmm.js → BirthDateComponent-CLfHsLxA.js} +5 -5
- package/chunk/{BirthDateComponent-BpdF0g0b.js.map → BirthDateComponent-CLfHsLxA.js.map} +1 -1
- package/chunk/{BirthDateComponent-BpdF0g0b.js → BirthDateComponent-DsswVPXn.js} +5 -5
- package/chunk/{BirthDateComponent-DCZXOXmm.js.map → BirthDateComponent-DsswVPXn.js.map} +1 -1
- package/chunk/{CaptchaComponent-B0Uxhb51.js → CaptchaComponent-REgKvi8p.js} +8 -8
- package/chunk/{CaptchaComponent-B0Uxhb51.js.map → CaptchaComponent-REgKvi8p.js.map} +1 -1
- package/chunk/{CaptchaComponent-FWZqpEIU.js → CaptchaComponent-Yb-l7_Pn.js} +8 -8
- package/chunk/{CaptchaComponent-FWZqpEIU.js.map → CaptchaComponent-Yb-l7_Pn.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B8ZVvEiq.js → ChangeLocaleComponent-BJ3jZ7Nk.js} +7 -7
- package/chunk/{ChangeLocaleComponent-B8ZVvEiq.js.map → ChangeLocaleComponent-BJ3jZ7Nk.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CGCnqwzm.js → ChangeLocaleComponent-dhAkzkH4.js} +7 -7
- package/chunk/{ChangeLocaleComponent-CGCnqwzm.js.map → ChangeLocaleComponent-dhAkzkH4.js.map} +1 -1
- package/chunk/{City-uCEYG4v0.js → City-D7NN9waG.js} +5 -5
- package/chunk/{City-BPckEV2l.js.map → City-D7NN9waG.js.map} +1 -1
- package/chunk/{City-BPckEV2l.js → City-DL20Kfkf.js} +5 -5
- package/chunk/{City-uCEYG4v0.js.map → City-DL20Kfkf.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BqSQ4YOf.js → CollegeNameComponent-9pp2d2fm.js} +7 -7
- package/chunk/{CollegeNameComponent-BqSQ4YOf.js.map → CollegeNameComponent-9pp2d2fm.js.map} +1 -1
- package/chunk/{CollegeNameComponent-dB7K5QgA.js → CollegeNameComponent-CHM311lm.js} +7 -7
- package/chunk/{CollegeNameComponent-dB7K5QgA.js.map → CollegeNameComponent-CHM311lm.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-cvPop_DN.js +4 -4
- package/chunk/CopyToClipboardComponent-nKhkSaum.js +4 -4
- package/chunk/{CountryComponentWrapper-BRfRmGYM.js → CountryComponentWrapper-CI5jLzGL.js} +7 -7
- package/chunk/{CountryComponentWrapper-BRfRmGYM.js.map → CountryComponentWrapper-CI5jLzGL.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BoVcyVxO.js → CountryComponentWrapper-DMctN0cb.js} +7 -7
- package/chunk/{CountryComponentWrapper-BoVcyVxO.js.map → CountryComponentWrapper-DMctN0cb.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CZSf2ikm.js → DischargeDateComponent-BshmF9Yt.js} +8 -8
- package/chunk/{DischargeDateComponent-BQ459K7a.js.map → DischargeDateComponent-BshmF9Yt.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BQ459K7a.js → DischargeDateComponent-C0EIfXt0.js} +8 -8
- package/chunk/{DischargeDateComponent-CZSf2ikm.js.map → DischargeDateComponent-C0EIfXt0.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DnOPwPeC.js → DriverLicenseNumberComponent-Dc8Qgy7p.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-Bh4Qolmi.js.map → DriverLicenseNumberComponent-Dc8Qgy7p.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Bh4Qolmi.js → DriverLicenseNumberComponent-DeioJNhW.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-DnOPwPeC.js.map → DriverLicenseNumberComponent-DeioJNhW.js.map} +1 -1
- package/chunk/{EmailLoopPending-BCYLcoGT.js → EmailLoopPending-BrRIw6Xp.js} +6 -6
- package/chunk/{EmailLoopPending-BCYLcoGT.js.map → EmailLoopPending-BrRIw6Xp.js.map} +1 -1
- package/chunk/{EmailLoopPending-D5G2UXKG.js → EmailLoopPending-DDmfESwc.js} +6 -6
- package/chunk/{EmailLoopPending-D5G2UXKG.js.map → EmailLoopPending-DDmfESwc.js.map} +1 -1
- package/chunk/{ExtraMessage-Bqf9TUts.js → ExtraMessage-DEA8DQsG.js} +5 -5
- package/chunk/{ExtraMessage-Bqf9TUts.js.map → ExtraMessage-DEA8DQsG.js.map} +1 -1
- package/chunk/{ExtraMessage-DNXSpqvW.js → ExtraMessage-hNyxibRx.js} +5 -5
- package/chunk/{ExtraMessage-DNXSpqvW.js.map → ExtraMessage-hNyxibRx.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CfT8Biwu.js → FirstResponderOrganizationComponent-C7joVP0X.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-CfT8Biwu.js.map → FirstResponderOrganizationComponent-C7joVP0X.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-x0WgcQzG.js → FirstResponderOrganizationComponent-D9I33eOb.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-x0WgcQzG.js.map → FirstResponderOrganizationComponent-D9I33eOb.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cd-wGEHG.js → FormFieldInputSelect-Bzfv3xGL.js} +5 -5
- package/chunk/{FormFieldInputSelect-BfmQAxFP.js.map → FormFieldInputSelect-Bzfv3xGL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BfmQAxFP.js → FormFieldInputSelect-Dj8d1GXq.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cd-wGEHG.js.map → FormFieldInputSelect-Dj8d1GXq.js.map} +1 -1
- package/chunk/FormFieldLayout-Bx2JoyDR.js +4 -4
- package/chunk/FormFieldLayout-_lQMBCmX.js +4 -4
- package/chunk/FormFieldText-5WjD4GNf.js +4 -4
- package/chunk/FormFieldText-BQLBciux.js +4 -4
- package/chunk/{FormFieldTypeahead-DVaRbEQG.js → FormFieldTypeahead-CHXpavSg.js} +7 -7
- package/chunk/{FormFieldTypeahead-DVaRbEQG.js.map → FormFieldTypeahead-CHXpavSg.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-GpVICIeC.js → FormFieldTypeahead-DD5l6OzL.js} +7 -7
- package/chunk/{FormFieldTypeahead-GpVICIeC.js.map → FormFieldTypeahead-DD5l6OzL.js.map} +1 -1
- package/chunk/{FormFooterComponent-Ca6EG7qf.js → FormFooterComponent-DuoNNzmM.js} +8 -8
- package/chunk/{FormFooterComponent-Ca6EG7qf.js.map → FormFooterComponent-DuoNNzmM.js.map} +1 -1
- package/chunk/{FormFooterComponent-Bzz3Bu-9.js → FormFooterComponent-r-Wk8ivg.js} +8 -8
- package/chunk/{FormFooterComponent-Bzz3Bu-9.js.map → FormFooterComponent-r-Wk8ivg.js.map} +1 -1
- package/chunk/{FormSelectChoice-RBx6V3b2.js → FormSelectChoice-Cv7h1Gk-.js} +6 -6
- package/chunk/{FormSelectChoice-BwYh7sj9.js.map → FormSelectChoice-Cv7h1Gk-.js.map} +1 -1
- package/chunk/{FormSelectChoice-BwYh7sj9.js → FormSelectChoice-DRijHkxS.js} +6 -6
- package/chunk/{FormSelectChoice-RBx6V3b2.js.map → FormSelectChoice-DRijHkxS.js.map} +1 -1
- package/chunk/InputText-DBIXmm_R.js +4 -4
- package/chunk/InputText-DqQkxoCM.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-8uaSLE_5.js → LicensedProfessionalOrganizationComponent-Cb3iTvqT.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-8uaSLE_5.js.map → LicensedProfessionalOrganizationComponent-Cb3iTvqT.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BPWGao1m.js → LicensedProfessionalOrganizationComponent-D3xtH997.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BPWGao1m.js.map → LicensedProfessionalOrganizationComponent-D3xtH997.js.map} +1 -1
- package/chunk/{LogoComponent-D0I1mPJw.js → LogoComponent-BdfWOuxB.js} +5 -5
- package/chunk/{LogoComponent-Ca7bTxZE.js.map → LogoComponent-BdfWOuxB.js.map} +1 -1
- package/chunk/{LogoComponent-Ca7bTxZE.js → LogoComponent-DyVO4147.js} +5 -5
- package/chunk/{LogoComponent-D0I1mPJw.js.map → LogoComponent-DyVO4147.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-l_HWVHzW.js → LowIncomeOrganizationComponent-C1Kc1f-S.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-l4L0ov2d.js.map → LowIncomeOrganizationComponent-C1Kc1f-S.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-l4L0ov2d.js → LowIncomeOrganizationComponent-COao8mYF.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-l_HWVHzW.js.map → LowIncomeOrganizationComponent-COao8mYF.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DrzA5GBL.js → MedicalProfessionalOrganizationComponent-RaxoODpA.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-BEV89rdD.js.map → MedicalProfessionalOrganizationComponent-RaxoODpA.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BEV89rdD.js → MedicalProfessionalOrganizationComponent-kkwsXIu4.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DrzA5GBL.js.map → MedicalProfessionalOrganizationComponent-kkwsXIu4.js.map} +1 -1
- package/chunk/{MemberIdComponent-C2G6z0us.js → MemberIdComponent-BN3lbgRi.js} +5 -5
- package/chunk/{MemberIdComponent-C2G6z0us.js.map → MemberIdComponent-BN3lbgRi.js.map} +1 -1
- package/chunk/{MemberIdComponent-_RwOhcAg.js → MemberIdComponent-jvqHM2pn.js} +5 -5
- package/chunk/{MemberIdComponent-_RwOhcAg.js.map → MemberIdComponent-jvqHM2pn.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DaBngl5Q.js → MembershipOrganizationComponent-BZHkjQ5J.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-DaBngl5Q.js.map → MembershipOrganizationComponent-BZHkjQ5J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-oMfREuGs.js → MembershipOrganizationComponent-DYoDg3dU.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-oMfREuGs.js.map → MembershipOrganizationComponent-DYoDg3dU.js.map} +1 -1
- package/chunk/{Message-Boy9Uyy0.js → Message-BOC0ndsP.js} +5 -5
- package/chunk/{Message-Boy9Uyy0.js.map → Message-BOC0ndsP.js.map} +1 -1
- package/chunk/{Message-DvgmOZft.js → Message-TROixmy1.js} +5 -5
- package/chunk/{Message-DvgmOZft.js.map → Message-TROixmy1.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-B_QubSRz.js → PersonalInfoStepSubmitButton-CuQmqVvc.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-B_QubSRz.js.map → PersonalInfoStepSubmitButton-CuQmqVvc.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CASQFLdJ.js → PersonalInfoStepSubmitButton-GwnOAcWy.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-CASQFLdJ.js.map → PersonalInfoStepSubmitButton-GwnOAcWy.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BzdMB6RD.js → PersonalInfoStepWrapper-DNUApKjr.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-BzdMB6RD.js.map → PersonalInfoStepWrapper-DNUApKjr.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D-oNkXVC.js → PersonalInfoStepWrapper-hoTD6n-G.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-D-oNkXVC.js.map → PersonalInfoStepWrapper-hoTD6n-G.js.map} +1 -1
- package/chunk/{PostalCodeComponent-5NKJ6zig.js → PostalCodeComponent-BQ7y0ygq.js} +5 -5
- package/chunk/{PostalCodeComponent-5NKJ6zig.js.map → PostalCodeComponent-BQ7y0ygq.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DTdFZJea.js → PostalCodeComponent-BwV4q_6-.js} +5 -5
- package/chunk/{PostalCodeComponent-DTdFZJea.js.map → PostalCodeComponent-BwV4q_6-.js.map} +1 -1
- package/chunk/{SSN-BeveTYV1.js → SSN-ClwVR0oH.js} +5 -5
- package/chunk/{SSN-BeveTYV1.js.map → SSN-ClwVR0oH.js.map} +1 -1
- package/chunk/{SSN-npx9fciR.js → SSN-u-erpOkk.js} +5 -5
- package/chunk/{SSN-npx9fciR.js.map → SSN-u-erpOkk.js.map} +1 -1
- package/chunk/{StateSelectComponent-BljDbJ_7.js → StateSelectComponent-CWQwYWF8.js} +7 -7
- package/chunk/{StateSelectComponent-BljDbJ_7.js.map → StateSelectComponent-CWQwYWF8.js.map} +1 -1
- package/chunk/{StateSelectComponent-D7vXl3OH.js → StateSelectComponent-ChCBK2cV.js} +7 -7
- package/chunk/{StateSelectComponent-D7vXl3OH.js.map → StateSelectComponent-ChCBK2cV.js.map} +1 -1
- package/chunk/{StatusComponent-5GNGDBSi.js → StatusComponent-DQOSEKFy.js} +6 -6
- package/chunk/{StatusComponent-5GNGDBSi.js.map → StatusComponent-DQOSEKFy.js.map} +1 -1
- package/chunk/{StatusComponent-BGqgQrBr.js → StatusComponent-Dc38Mb9r.js} +6 -6
- package/chunk/{StatusComponent-BGqgQrBr.js.map → StatusComponent-Dc38Mb9r.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BJ6WrgSZ.js → StepAgePersonalInfo-O-fJZAXz.js} +17 -17
- package/chunk/{StepAgePersonalInfo-BJ6WrgSZ.js.map → StepAgePersonalInfo-O-fJZAXz.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CbTV2OHL.js → StepAgePersonalInfo-laL4y5lq.js} +17 -17
- package/chunk/{StepAgePersonalInfo-CbTV2OHL.js.map → StepAgePersonalInfo-laL4y5lq.js.map} +1 -1
- package/chunk/StepCard-CQGeXH7Z.js +4 -4
- package/chunk/StepCard-DD1BU5jb.js +4 -4
- package/chunk/{StepCollectIdentifier-BiMRaTtt.js → StepCollectIdentifier-Cjm32rgq.js} +6 -6
- package/chunk/{StepCollectIdentifier-BXNQfg0X.js.map → StepCollectIdentifier-Cjm32rgq.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BXNQfg0X.js → StepCollectIdentifier-G4pFqOK9.js} +6 -6
- package/chunk/{StepCollectIdentifier-BiMRaTtt.js.map → StepCollectIdentifier-G4pFqOK9.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYUc7Vl8.js → StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bwc_N_YU.js.map → StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bwc_N_YU.js → StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYUc7Vl8.js.map → StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DT-XZGrm.js → StepCollectPersonalInfo-DRNLoSAw.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-DT-XZGrm.js.map → StepCollectPersonalInfo-DRNLoSAw.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-GMuXh62L.js → StepCollectPersonalInfo-DcRynwwh.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-GMuXh62L.js.map → StepCollectPersonalInfo-DcRynwwh.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-5kcqz-By.js +4 -4
- package/chunk/StepCompleteAuthentication-xpON0-yc.js +4 -4
- package/chunk/{StepConsolation-BdSXDPgO.js → StepConsolation-BCOW9PEV.js} +6 -6
- package/chunk/{StepConsolation-BdSXDPgO.js.map → StepConsolation-BCOW9PEV.js.map} +1 -1
- package/chunk/{StepConsolation-D9oaYgDU.js → StepConsolation-G7o48Tin.js} +6 -6
- package/chunk/{StepConsolation-D9oaYgDU.js.map → StepConsolation-G7o48Tin.js.map} +1 -1
- package/chunk/{StepDocUpload-DlVEC1sX.js → StepDocUpload-CWQCHhFI.js} +7 -7
- package/chunk/{StepDocUpload-DlVEC1sX.js.map → StepDocUpload-CWQCHhFI.js.map} +1 -1
- package/chunk/{StepDocUpload-WORC4p6O.js → StepDocUpload-DyHCicU5.js} +7 -7
- package/chunk/{StepDocUpload-WORC4p6O.js.map → StepDocUpload-DyHCicU5.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cfqv4ArX.js → StepDriverLicensePersonalInfoComponent-CRAjwgXK.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cfqv4ArX.js.map → StepDriverLicensePersonalInfoComponent-CRAjwgXK.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C5upCQ_b.js → StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-C5upCQ_b.js.map → StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js.map} +1 -1
- package/chunk/{StepEmailLoop-OYpg9_fk.js → StepEmailLoop-7E6iMUNH.js} +7 -7
- package/chunk/{StepEmailLoop-DDJM3zA3.js.map → StepEmailLoop-7E6iMUNH.js.map} +1 -1
- package/chunk/{StepEmailLoop-DDJM3zA3.js → StepEmailLoop-BtNAJ4VG.js} +7 -7
- package/chunk/{StepEmailLoop-OYpg9_fk.js.map → StepEmailLoop-BtNAJ4VG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-STBW2SrN.js → StepEmploymentPersonalInfo-BDWcx1FU.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BtzyaOOY.js.map → StepEmploymentPersonalInfo-BDWcx1FU.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BtzyaOOY.js → StepEmploymentPersonalInfo-CiqN8uV6.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-STBW2SrN.js.map → StepEmploymentPersonalInfo-CiqN8uV6.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BVZWOft8.js → StepFirstResponderPersonalInfo-BGWMMjgm.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BVQ7ivyQ.js.map → StepFirstResponderPersonalInfo-BGWMMjgm.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BVQ7ivyQ.js → StepFirstResponderPersonalInfo-DtmJru3d.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BVZWOft8.js.map → StepFirstResponderPersonalInfo-DtmJru3d.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B-v5whS7.js → StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-0egbo84U.js.map → StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-0egbo84U.js → StepGeneralIdentityPersonalInfoComponent-af647do9.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B-v5whS7.js.map → StepGeneralIdentityPersonalInfoComponent-af647do9.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DVNnEPFz.js → StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DVNnEPFz.js.map → StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-FkG0Eyf1.js → StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-FkG0Eyf1.js.map → StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DUJFqwvk.js → StepIDCheckLoop-D6qhQn6b.js} +5 -5
- package/chunk/{StepIDCheckLoop-Mrxs3-7G.js.map → StepIDCheckLoop-D6qhQn6b.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Mrxs3-7G.js → StepIDCheckLoop-Do0-tvDI.js} +5 -5
- package/chunk/{StepIDCheckLoop-DUJFqwvk.js.map → StepIDCheckLoop-Do0-tvDI.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CWyxxeuD.js → StepIDCheckLoopOnfido-DDywJIeR.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-znxJ5SR-.js.map → StepIDCheckLoopOnfido-DDywJIeR.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-znxJ5SR-.js → StepIDCheckLoopOnfido-DUItWVK4.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CWyxxeuD.js.map → StepIDCheckLoopOnfido-DUItWVK4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Dv0-RlwY.js → StepIDCheckLoopRegula-CmQLTkrX.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DBUX-ItR.js.map → StepIDCheckLoopRegula-CmQLTkrX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DBUX-ItR.js → StepIDCheckLoopRegula-CvVuirKf.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-Dv0-RlwY.js.map → StepIDCheckLoopRegula-CvVuirKf.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DTfq7vRu.js → StepLicensedProfessionalPersonalInfo-BhIn-AA3.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-3Z8Bx-fV.js.map → StepLicensedProfessionalPersonalInfo-BhIn-AA3.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-3Z8Bx-fV.js → StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-DTfq7vRu.js.map → StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DqKgsikM.js → StepLowIncomePersonalInfo-D_HBmImA.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-CfeMIf_F.js.map → StepLowIncomePersonalInfo-D_HBmImA.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CfeMIf_F.js → StepLowIncomePersonalInfo-n--chtDU.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DqKgsikM.js.map → StepLowIncomePersonalInfo-n--chtDU.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D6Qa3OQa.js → StepMedicalProfessionalPersonalInfo-C6JCaext.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-BABdgYG1.js.map → StepMedicalProfessionalPersonalInfo-C6JCaext.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BABdgYG1.js → StepMedicalProfessionalPersonalInfo-CZhrEe6o.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-D6Qa3OQa.js.map → StepMedicalProfessionalPersonalInfo-CZhrEe6o.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-C-28cVMR.js → StepMemberPersonalInfo--RSWSrn4.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-C-28cVMR.js.map → StepMemberPersonalInfo--RSWSrn4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DD62pLNq.js → StepMemberPersonalInfo-D25hjill.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-DD62pLNq.js.map → StepMemberPersonalInfo-D25hjill.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-RgHhWyvt.js → StepMoverPersonalInfo-Bd1budZI.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-BLVGo4WA.js.map → StepMoverPersonalInfo-Bd1budZI.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BLVGo4WA.js → StepMoverPersonalInfo-b38J1JqS.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-RgHhWyvt.js.map → StepMoverPersonalInfo-b38J1JqS.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C0gkuJTU.js → StepOverrideComponent-CiqRKexX.js} +7 -7
- package/chunk/{StepOverrideComponent-BBwMFjKP.js.map → StepOverrideComponent-CiqRKexX.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BBwMFjKP.js → StepOverrideComponent-c8O0Smnb.js} +7 -7
- package/chunk/{StepOverrideComponent-C0gkuJTU.js.map → StepOverrideComponent-c8O0Smnb.js.map} +1 -1
- package/chunk/{StepSMSLoop-CLyXQmON.js → StepSMSLoop-B3hkEQDG.js} +5 -5
- package/chunk/{StepSMSLoop-CClLLG5y.js.map → StepSMSLoop-B3hkEQDG.js.map} +1 -1
- package/chunk/{StepSMSLoop-CClLLG5y.js → StepSMSLoop-C-HznICP.js} +5 -5
- package/chunk/{StepSMSLoop-CLyXQmON.js.map → StepSMSLoop-C-HznICP.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DORTk9EQ.js → StepSocialSecurityNumber--bK8TwxM.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-C7WCFboD.js.map → StepSocialSecurityNumber--bK8TwxM.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-C7WCFboD.js → StepSocialSecurityNumber-D-S0s81B.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-DORTk9EQ.js.map → StepSocialSecurityNumber-D-S0s81B.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Bi5S_ykn.js → StepStudentPersonalInfo-BAc9QmMn.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-Bi5S_ykn.js.map → StepStudentPersonalInfo-BAc9QmMn.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DoQ_K574.js → StepStudentPersonalInfo-DQ8oCfdE.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-DoQ_K574.js.map → StepStudentPersonalInfo-DQ8oCfdE.js.map} +1 -1
- package/chunk/{StepSuccess-C_qFXDR2.js → StepSuccess-0PqmUdFL.js} +6 -6
- package/chunk/{StepSuccess-C_qFXDR2.js.map → StepSuccess-0PqmUdFL.js.map} +1 -1
- package/chunk/{StepSuccess-CJuSM1ZK.js → StepSuccess-D6kosHAA.js} +6 -6
- package/chunk/{StepSuccess-CJuSM1ZK.js.map → StepSuccess-D6kosHAA.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BMJi4dXH.js → StepTeacherPersonalInfo-BIvT1HlM.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-BMJi4dXH.js.map → StepTeacherPersonalInfo-BIvT1HlM.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DtIq1FKy.js → StepTeacherPersonalInfo-CX-QvAFx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-DtIq1FKy.js.map → StepTeacherPersonalInfo-CX-QvAFx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-P9eOoEkC.js → TeacherSchoolComponent-DCMr56C0.js} +7 -7
- package/chunk/{TeacherSchoolComponent-INc6t5nM.js.map → TeacherSchoolComponent-DCMr56C0.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-INc6t5nM.js → TeacherSchoolComponent-DRNiHn0H.js} +7 -7
- package/chunk/{TeacherSchoolComponent-P9eOoEkC.js.map → TeacherSchoolComponent-DRNiHn0H.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BbCY31VT.js +4 -4
- package/chunk/TestingRouteOverrides-DEu_4afz.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-Dn17xbSI.js +12 -0
- package/chunk/{countryUtils-2MKDd__w.js.map → countryUtils-Dn17xbSI.js.map} +1 -1
- package/chunk/{countryUtils-CRwSXJAo.js → countryUtils-DoVJSI8W.js} +5 -5
- package/chunk/{countryUtils-CRwSXJAo.js.map → countryUtils-DoVJSI8W.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-BkznXSJa.js → downshift.esm--NTaU4XK.js} +5 -5
- package/chunk/{downshift.esm-BkznXSJa.js.map → downshift.esm--NTaU4XK.js.map} +1 -1
- package/chunk/{downshift.esm-CAOak1io.js → downshift.esm-BGnGkwiG.js} +5 -5
- package/chunk/{downshift.esm-CAOak1io.js.map → downshift.esm-BGnGkwiG.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-B034wwK_.js +4 -4
- package/chunk/empties-lrCPA-9V.js +4 -4
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-Bu8Px0Ok.js +4 -4
- package/chunk/hooks-DSoorQS3.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-DYOqmiaL.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-338NbZob.js +4 -4
- package/chunk/jsx-runtime-B6t5B3Mb.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-BQNtP7qW.js +4 -4
- package/chunk/mocks-DC7WJf5c.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-DsRV5fwh.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-VBBOPS4w.js → programThemeGetters-Df5v2sTO.js} +5 -5
- package/chunk/{programThemeGetters-VBBOPS4w.js.map → programThemeGetters-Df5v2sTO.js.map} +1 -1
- package/chunk/{programThemeGetters-cPK2r02v.js → programThemeGetters-DmWeluMk.js} +5 -5
- package/chunk/{programThemeGetters-cPK2r02v.js.map → programThemeGetters-DmWeluMk.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers-J67LZsd0.js +4 -4
- package/chunk/stepComponentHelpers-hkvp2qUS.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-0xjc0i8b.js → useCollectFieldsEndpoint-CQeQ7JOB.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-0xjc0i8b.js.map → useCollectFieldsEndpoint-CQeQ7JOB.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-B2_olsVn.js → useCollectFieldsEndpoint-DzxiHifj.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-B2_olsVn.js.map → useCollectFieldsEndpoint-DzxiHifj.js.map} +1 -1
- package/chunk/useMetrics-C3RIqUJI.js +4 -4
- package/chunk/useMetrics-dwc-Zjl_.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +37 -37
- package/chunk/countryUtils-2MKDd__w.js +0 -12
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.295.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790114644972
|
|
5
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:04 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
7
7
|
*/
|
|
8
8
|
import { c as e, dt as t, kt as n, n as r } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-338NbZob.js";
|
|
10
|
-
import { _ as ee } from "./Message-
|
|
10
|
+
import { _ as ee } from "./Message-TROixmy1.js";
|
|
11
11
|
import { S as te, b as c, t as ne, u as l } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { o as re } from "./programThemeGetters-
|
|
13
|
-
import { h as ie, t as ae } from "./FormFooterComponent-
|
|
12
|
+
import { o as re } from "./programThemeGetters-Df5v2sTO.js";
|
|
13
|
+
import { h as ie, t as ae } from "./FormFooterComponent-r-Wk8ivg.js";
|
|
14
14
|
import { n as oe } from "../sheerid.js";
|
|
15
|
-
import { t as se } from "./useCollectFieldsEndpoint-
|
|
15
|
+
import { t as se } from "./useCollectFieldsEndpoint-DzxiHifj.js";
|
|
16
16
|
import { d as u, f as d, i as ce, l as le, r as ue, s as de, t as f } from "./stepComponentHelpers-hkvp2qUS.js";
|
|
17
|
-
import { a as fe, i as pe, n as me, o as he, s as p, t as m } from "./CaptchaComponent-
|
|
18
|
-
import { n as h, t as g } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { i as _ } from "./FormSelectChoice-
|
|
20
|
-
import { t as v } from "./BirthDateComponent-
|
|
21
|
-
import { t as y } from "./PostalCodeComponent-
|
|
22
|
-
import { t as b } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as x } from "./City-
|
|
24
|
-
import { t as S } from "./AddressComponent-
|
|
25
|
-
import { t as C } from "./ExtraMessage-
|
|
26
|
-
import { t as w } from "./countryUtils-
|
|
27
|
-
import { t as T } from "./CollegeNameComponent-
|
|
28
|
-
import { t as E } from "./StateSelectComponent-
|
|
29
|
-
import { n as D, r as O, t as k } from "./DischargeDateComponent-
|
|
30
|
-
import { t as A } from "./DriverLicenseNumberComponent-
|
|
31
|
-
import { n as j, t as M } from "./LowIncomeOrganizationComponent-
|
|
32
|
-
import { t as N } from "./StatusComponent-
|
|
33
|
-
import { t as P } from "./FirstResponderOrganizationComponent-
|
|
34
|
-
import { t as F } from "./LicensedProfessionalOrganizationComponent-
|
|
35
|
-
import { t as I } from "./MedicalProfessionalOrganizationComponent-
|
|
36
|
-
import { t as ge } from "./MemberIdComponent-
|
|
37
|
-
import { t as L } from "./MembershipOrganizationComponent-
|
|
38
|
-
import { t as _e } from "./TeacherSchoolComponent-
|
|
39
|
-
import { t as ve } from "./SSN-
|
|
17
|
+
import { a as fe, i as pe, n as me, o as he, s as p, t as m } from "./CaptchaComponent-Yb-l7_Pn.js";
|
|
18
|
+
import { n as h, t as g } from "./PersonalInfoStepSubmitButton-CuQmqVvc.js";
|
|
19
|
+
import { i as _ } from "./FormSelectChoice-Cv7h1Gk-.js";
|
|
20
|
+
import { t as v } from "./BirthDateComponent-CLfHsLxA.js";
|
|
21
|
+
import { t as y } from "./PostalCodeComponent-BwV4q_6-.js";
|
|
22
|
+
import { t as b } from "./CountryComponentWrapper-CI5jLzGL.js";
|
|
23
|
+
import { t as x } from "./City-D7NN9waG.js";
|
|
24
|
+
import { t as S } from "./AddressComponent-maoUGgcH.js";
|
|
25
|
+
import { t as C } from "./ExtraMessage-DEA8DQsG.js";
|
|
26
|
+
import { t as w } from "./countryUtils-Dn17xbSI.js";
|
|
27
|
+
import { t as T } from "./CollegeNameComponent-CHM311lm.js";
|
|
28
|
+
import { t as E } from "./StateSelectComponent-CWQwYWF8.js";
|
|
29
|
+
import { n as D, r as O, t as k } from "./DischargeDateComponent-C0EIfXt0.js";
|
|
30
|
+
import { t as A } from "./DriverLicenseNumberComponent-Dc8Qgy7p.js";
|
|
31
|
+
import { n as j, t as M } from "./LowIncomeOrganizationComponent-C1Kc1f-S.js";
|
|
32
|
+
import { t as N } from "./StatusComponent-DQOSEKFy.js";
|
|
33
|
+
import { t as P } from "./FirstResponderOrganizationComponent-D9I33eOb.js";
|
|
34
|
+
import { t as F } from "./LicensedProfessionalOrganizationComponent-Cb3iTvqT.js";
|
|
35
|
+
import { t as I } from "./MedicalProfessionalOrganizationComponent-kkwsXIu4.js";
|
|
36
|
+
import { t as ge } from "./MemberIdComponent-BN3lbgRi.js";
|
|
37
|
+
import { t as L } from "./MembershipOrganizationComponent-BZHkjQ5J.js";
|
|
38
|
+
import { t as _e } from "./TeacherSchoolComponent-DCMr56C0.js";
|
|
39
|
+
import { t as ve } from "./SSN-u-erpOkk.js";
|
|
40
40
|
//#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
|
|
41
41
|
var R = /* @__PURE__ */ n(a(), 1), z = s(), B = i(({ intl: n, verificationService: i }) => {
|
|
42
42
|
let a = i.viewModel, { updateViewModel: s, programTheme: B } = i, [V, ye] = R.useState(void 0), H = (e) => V && V.some((t) => t.key === e), { fieldValidationErrors: U } = i, W = i.verificationResponse, be = ie(W), G = (t, n) => {
|
package/chunk/{StepCollectPersonalInfo-GMuXh62L.js.map → StepCollectPersonalInfo-DcRynwwh.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectPersonalInfo-GMuXh62L.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { type MessageId } from \"@/lib/intl/types\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n orgToOption,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n const statusOptions = useFormSelectChoice((dynamicStatuses ?? availableStatuses) as MessageId[]);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0mBa,IAAmC,GA9hBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,GAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,EAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,KAAoB,EAAQ,OAAO,CAAC,EAAE,YAAY,IAAI,EAAQ,MAAM,CAAC,GAErE,UACJ,MACC,MAAY,EAAY,mBACvB,MAAY,EAAY,WACxB,MAAY,EAAY,cACxB,MAAY,EAAY,yBACxB,MAAY,EAAY,cACxB,MAAY,EAAY,gBACxB,MAAY,EAAY,WAEtB,EAAE,mBAAmB,MAAoB,GAAyB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,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAEkF"}
|
|
1
|
+
{"version":3,"file":"StepCollectPersonalInfo-DcRynwwh.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { type MessageId } from \"@/lib/intl/types\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n orgToOption,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n const statusOptions = useFormSelectChoice((dynamicStatuses ?? availableStatuses) as MessageId[]);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0mBa,IAAmC,GA9hBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,GAC9C,GACA,CAEc,CA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AKtB,AAJA,EAA4B,YAAY;OACtC,GAAG,EAAoB,UAAU;OACjC,oBAAoB;MACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;KACF;KACW;KACX,UAAU,EAAwB,oBAAoB,GAAG;IAC1D,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAmC;KAAqB,QAAO;IAAsB,CAAA;IAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;IACpC,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAEkF"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.295.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790114649208
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:09 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
11
11
|
*/
|
|
12
12
|
import { kt as e, p as t } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { b as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.295.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790114644972
|
|
5
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:04 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
7
7
|
*/
|
|
8
8
|
import { c as e, kt as t } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { c as n, n as r, t as i } from "./jsx-runtime-338NbZob.js";
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.295.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790114649208
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:09 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
11
11
|
*/
|
|
12
12
|
import { l as e } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
|
-
import { p as t } from "./programThemeGetters-
|
|
13
|
+
import { p as t } from "./programThemeGetters-DmWeluMk.js";
|
|
14
14
|
import { n, t as r } from "./jsx-runtime-B6t5B3Mb.js";
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
15
|
+
import { t as i } from "./LogoComponent-DyVO4147.js";
|
|
16
16
|
import { t as a } from "./CopyToClipboardComponent-cvPop_DN.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = r(), s = ({ verificationService: r }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-BCOW9PEV.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAsHa,KA1GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;C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U;MACV,KAAK;MACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAsBN;IACE,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.295.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790114644972
|
|
5
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:04 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
7
7
|
*/
|
|
8
8
|
import { n as e, t } from "./jsx-runtime-338NbZob.js";
|
|
9
9
|
import { l as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
10
|
-
import { p as r } from "./programThemeGetters-
|
|
11
|
-
import { t as i } from "./LogoComponent-
|
|
10
|
+
import { p as r } from "./programThemeGetters-Df5v2sTO.js";
|
|
11
|
+
import { t as i } from "./LogoComponent-BdfWOuxB.js";
|
|
12
12
|
import { t as a } from "./CopyToClipboardComponent-nKhkSaum.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
14
|
var o = t(), s = ({ verificationService: t }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-G7o48Tin.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAsHa,KA1GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBA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ACc,CAAA,CACjB,EAAA,CAAA,IAzBA,iBAAA,GAAA,EAAA,KAAC,OAAD;MAEE,WAAU;MACV,KAAK;MACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAsBN;IACE,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Tue Sep 22 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.295.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790114649208
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 22:04:09 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
|
|
11
11
|
*/
|
|
12
12
|
import { Dt as e, L as t, Tt as n, g as r, kt as i, p as a, y as o } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { S as s, b as c, m as l, u } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { c as d, n as f, o as p, t as m } from "./jsx-runtime-B6t5B3Mb.js";
|
|
15
|
-
import { a as h, c as g, n as _, o as ee, t as te } from "./Message-
|
|
15
|
+
import { a as h, c as g, n as _, o as ee, t as te } from "./Message-BOC0ndsP.js";
|
|
16
16
|
import { i as v } from "./TestingRouteOverrides-BbCY31VT.js";
|
|
17
|
-
import { t as ne } from "./FormFooterComponent-
|
|
17
|
+
import { t as ne } from "./FormFooterComponent-DuoNNzmM.js";
|
|
18
18
|
import { t as y, u as b } from "./hooks-DSoorQS3.js";
|
|
19
19
|
import { n as x, o as S } from "./refs-Mq0rtW9K.js";
|
|
20
|
-
import { t as C } from "./LogoComponent-
|
|
20
|
+
import { t as C } from "./LogoComponent-DyVO4147.js";
|
|
21
21
|
import { t as w } from "./AnnouncingHeader-C6QNdmy8.js";
|
|
22
22
|
import { a as T, i as E, j as D, n as re, o as O } from "../_mysheerid-preview.js";
|
|
23
23
|
import { i as ie, o as ae, r as k } from "./useMetrics-C3RIqUJI.js";
|