@sheerid/jslib 2.276.0 → 2.278.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 +874 -869
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-CaMRwh5O.js +37 -0
- package/chunk/AddressComponent-CaMRwh5O.js.map +1 -0
- package/chunk/AddressComponent-LZTJCC-l.js +41 -0
- package/chunk/AddressComponent-LZTJCC-l.js.map +1 -0
- package/chunk/{AnnouncingHeader-BlnfAnLI.js → AnnouncingHeader-CCVSQeQR.js} +6 -6
- package/chunk/{AnnouncingHeader-BlnfAnLI.js.map → AnnouncingHeader-CCVSQeQR.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CegZwDFd.js → AnnouncingHeader-YPjBYzsZ.js} +6 -6
- package/chunk/{AnnouncingHeader-CegZwDFd.js.map → AnnouncingHeader-YPjBYzsZ.js.map} +1 -1
- package/chunk/ApiUrls-DRCiQtw6.js +44 -0
- package/chunk/ApiUrls-DRCiQtw6.js.map +1 -0
- package/chunk/{ApiUrls-DtgMSGlO.js → ApiUrls-_Hc7S_uv.js} +12 -8
- package/chunk/ApiUrls-_Hc7S_uv.js.map +1 -0
- package/chunk/{BirthDateComponent-2CJqlbNU.js → BirthDateComponent-CAQJ-IWM.js} +8 -8
- package/chunk/{BirthDateComponent-2CJqlbNU.js.map → BirthDateComponent-CAQJ-IWM.js.map} +1 -1
- package/chunk/{BirthDateComponent-BYO6Kfgc.js → BirthDateComponent-_BjsBSM4.js} +8 -8
- package/chunk/{BirthDateComponent-BYO6Kfgc.js.map → BirthDateComponent-_BjsBSM4.js.map} +1 -1
- package/chunk/{CaptchaComponent-CoajXhka.js → CaptchaComponent-BqREyMje.js} +220 -219
- package/chunk/CaptchaComponent-BqREyMje.js.map +1 -0
- package/chunk/{CaptchaComponent-DnyafWoN.js → CaptchaComponent-D2OIvL-b.js} +220 -219
- package/chunk/CaptchaComponent-D2OIvL-b.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js → ChangeLocaleComponent-BvnXlDa-.js} +8 -8
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js.map → ChangeLocaleComponent-BvnXlDa-.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js → ChangeLocaleComponent-CpHB_D8Q.js} +8 -8
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js.map → ChangeLocaleComponent-CpHB_D8Q.js.map} +1 -1
- package/chunk/City-B6bQRRvQ.js +40 -0
- package/chunk/City-B6bQRRvQ.js.map +1 -0
- package/chunk/City-CCBan228.js +36 -0
- package/chunk/City-CCBan228.js.map +1 -0
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js → CollegeNameComponent-BbxIOfzR.js} +9 -9
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js.map → CollegeNameComponent-BbxIOfzR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-TPDjSelK.js → CollegeNameComponent-CEJO0-bq.js} +9 -9
- package/chunk/{CollegeNameComponent-TPDjSelK.js.map → CollegeNameComponent-CEJO0-bq.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js → CopyToClipboardComponent-DGi3bxV2.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js.map → CopyToClipboardComponent-DGi3bxV2.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js → CopyToClipboardComponent-cLuyXFes.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js.map → CopyToClipboardComponent-cLuyXFes.js.map} +1 -1
- package/chunk/CountryComponentWrapper-BNtvUusJ.js +82 -0
- package/chunk/CountryComponentWrapper-BNtvUusJ.js.map +1 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js +78 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js.map +1 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js +120 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js.map +1 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js +116 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js +43 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js +39 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js.map +1 -0
- package/chunk/{EmailLoopPending-DbehVow3.js → EmailLoopPending-CYCQv7pW.js} +25 -25
- package/chunk/{EmailLoopPending-C7SKw1We.js.map → EmailLoopPending-CYCQv7pW.js.map} +1 -1
- package/chunk/{EmailLoopPending-C7SKw1We.js → EmailLoopPending-DNFHR6Ck.js} +24 -24
- package/chunk/{EmailLoopPending-DbehVow3.js.map → EmailLoopPending-DNFHR6Ck.js.map} +1 -1
- package/chunk/{ExtraMessage-CIU0SFFU.js → ExtraMessage-Byw0Tgm1.js} +7 -7
- package/chunk/{ExtraMessage-CIU0SFFU.js.map → ExtraMessage-Byw0Tgm1.js.map} +1 -1
- package/chunk/{ExtraMessage-f9Om84tg.js → ExtraMessage-g4LSV-H2.js} +7 -7
- package/chunk/{ExtraMessage-f9Om84tg.js.map → ExtraMessage-g4LSV-H2.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js.map +1 -0
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js → FormFieldInputSelect-D1aFx17c.js} +7 -7
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js.map → FormFieldInputSelect-D1aFx17c.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BioVB7zS.js → FormFieldInputSelect-ie6Vx1Bx.js} +7 -7
- package/chunk/{FormFieldInputSelect-BioVB7zS.js.map → FormFieldInputSelect-ie6Vx1Bx.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bav93prH.js → FormFieldLayout-C4SCdGBC.js} +6 -6
- package/chunk/{FormFieldLayout-Bav93prH.js.map → FormFieldLayout-C4SCdGBC.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-P2QCto.js → FormFieldLayout-Cj_v9kYa.js} +6 -6
- package/chunk/{FormFieldLayout-C-P2QCto.js.map → FormFieldLayout-Cj_v9kYa.js.map} +1 -1
- package/chunk/{FormFieldText-mvPCLbUG.js → FormFieldText-BbdrtNh_.js} +7 -7
- package/chunk/{FormFieldText-BPefsplc.js.map → FormFieldText-BbdrtNh_.js.map} +1 -1
- package/chunk/{FormFieldText-BPefsplc.js → FormFieldText-Gf13Luq7.js} +7 -7
- package/chunk/{FormFieldText-mvPCLbUG.js.map → FormFieldText-Gf13Luq7.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js → FormFieldTypeahead-DQEez7ko.js} +518 -521
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js.map → FormFieldTypeahead-DQEez7ko.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js → FormFieldTypeahead-uKX8ZHqO.js} +432 -435
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js.map → FormFieldTypeahead-uKX8ZHqO.js.map} +1 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js +2007 -0
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +1 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js +1981 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +1 -0
- package/chunk/{FormSelectChoice-BMOCwG1_.js → FormSelectChoice-Cm99LmoK.js} +16 -16
- package/chunk/{FormSelectChoice-BMOCwG1_.js.map → FormSelectChoice-Cm99LmoK.js.map} +1 -1
- package/chunk/{FormSelectChoice-xPF_7dfg.js → FormSelectChoice-DjcUTWnw.js} +16 -16
- package/chunk/{FormSelectChoice-xPF_7dfg.js.map → FormSelectChoice-DjcUTWnw.js.map} +1 -1
- package/chunk/{InputText-B4CjWTez.js → InputText-BXPuBlPq.js} +7 -7
- package/chunk/{InputText-B4CjWTez.js.map → InputText-BXPuBlPq.js.map} +1 -1
- package/chunk/{InputText-Dc_DjXbQ.js → InputText-h_myNeHr.js} +7 -7
- package/chunk/{InputText-Dc_DjXbQ.js.map → InputText-h_myNeHr.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map +1 -0
- package/chunk/{LogoComponent-BaBfWuKr.js → LogoComponent-Do8K5ydz.js} +6 -6
- package/chunk/{LogoComponent-BaBfWuKr.js.map → LogoComponent-Do8K5ydz.js.map} +1 -1
- package/chunk/{LogoComponent-DSoOQ1Uz.js → LogoComponent-Dx1G-rzE.js} +6 -6
- package/chunk/{LogoComponent-DSoOQ1Uz.js.map → LogoComponent-Dx1G-rzE.js.map} +1 -1
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js +101 -0
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js +105 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js.map +1 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js +39 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js.map +1 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js +43 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js +40 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js +36 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js.map +1 -0
- package/chunk/{FormFooterComponent-BuRQRQFI.js → Message-BK3a2RyH.js} +1419 -3379
- package/chunk/Message-BK3a2RyH.js.map +1 -0
- package/chunk/Message-CSa2etjX.js +6859 -0
- package/chunk/Message-CSa2etjX.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-_wFfZCyV.js → PersonalInfoStepSubmitButton-BcdQUzMO.js} +51 -48
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DvMU95pj.js → PersonalInfoStepSubmitButton-VxT_vwVv.js} +43 -40
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js → PersonalInfoStepWrapper-BHS3GKl7.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js.map → PersonalInfoStepWrapper-BHS3GKl7.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js → PersonalInfoStepWrapper-CxRB64LQ.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js.map → PersonalInfoStepWrapper-CxRB64LQ.js.map} +1 -1
- package/chunk/PostalCodeComponent-CKbC80_m.js +38 -0
- package/chunk/PostalCodeComponent-CKbC80_m.js.map +1 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js +42 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js.map +1 -0
- package/chunk/SSN-DHAzpgQK.js +45 -0
- package/chunk/SSN-DHAzpgQK.js.map +1 -0
- package/chunk/SSN-DNVykxAU.js +49 -0
- package/chunk/SSN-DNVykxAU.js.map +1 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js +42 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js.map +1 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js +38 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js.map +1 -0
- package/chunk/{StatusComponent-DUPrDBFL.js → StatusComponent-CrGh5fqB.js} +15 -14
- package/chunk/StatusComponent-CrGh5fqB.js.map +1 -0
- package/chunk/{StatusComponent-C--lHDG1.js → StatusComponent-CyX5COrt.js} +15 -14
- package/chunk/StatusComponent-CyX5COrt.js.map +1 -0
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js → StepAgePersonalInfo-BswIeVCd.js} +43 -47
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js.map → StepAgePersonalInfo-BswIeVCd.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-CHBH5ROm.js +174 -0
- package/chunk/{StepAgePersonalInfo-Bqy4A9R_.js.map → StepAgePersonalInfo-CHBH5ROm.js.map} +1 -1
- package/chunk/{StepCard-DOhBSDPW.js → StepCard-B0o7IN6g.js} +5 -5
- package/chunk/{StepCard-DOhBSDPW.js.map → StepCard-B0o7IN6g.js.map} +1 -1
- package/chunk/{StepCard-Ym7mbGWv.js → StepCard-CWT2BiAH.js} +5 -5
- package/chunk/{StepCard-Ym7mbGWv.js.map → StepCard-CWT2BiAH.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js → StepCollectIdentifier-D8IjgFjI.js} +11 -11
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js.map → StepCollectIdentifier-D8IjgFjI.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DIYCPon1.js → StepCollectIdentifier-dPXJHRwi.js} +16 -16
- package/chunk/{StepCollectIdentifier-DIYCPon1.js.map → StepCollectIdentifier-dPXJHRwi.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js +372 -0
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +368 -0
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js → StepCompleteAuthentication-Cnv_QzG7.js} +21 -21
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js.map → StepCompleteAuthentication-Cnv_QzG7.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js → StepCompleteAuthentication-D7NH3MFa.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js.map → StepCompleteAuthentication-D7NH3MFa.js.map} +1 -1
- package/chunk/{StepConsolation-CuDYCCAE.js → StepConsolation-CKbOj-OW.js} +9 -9
- package/chunk/{StepConsolation-DPjGqB9c.js.map → StepConsolation-CKbOj-OW.js.map} +1 -1
- package/chunk/{StepConsolation-DPjGqB9c.js → StepConsolation-qvCq7iMz.js} +9 -9
- package/chunk/{StepConsolation-CuDYCCAE.js.map → StepConsolation-qvCq7iMz.js.map} +1 -1
- package/chunk/{StepDocUpload-DXh4w_Gy.js → StepDocUpload-CelPrD2S.js} +224 -223
- package/chunk/{StepDocUpload-DXh4w_Gy.js.map → StepDocUpload-CelPrD2S.js.map} +1 -1
- package/chunk/{StepDocUpload-wmENbcHT.js → StepDocUpload-hbZjFKLA.js} +217 -216
- package/chunk/{StepDocUpload-wmENbcHT.js.map → StepDocUpload-hbZjFKLA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js.map → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js} +36 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js.map → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map} +1 -1
- package/chunk/{StepEmailLoop-qLTbVSgG.js → StepEmailLoop-B_D0MzXV.js} +17 -17
- package/chunk/{StepEmailLoop-CgImGOHm.js.map → StepEmailLoop-B_D0MzXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-CgImGOHm.js → StepEmailLoop-DnFBaEUV.js} +17 -17
- package/chunk/{StepEmailLoop-qLTbVSgG.js.map → StepEmailLoop-DnFBaEUV.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-BEYQjJZE.js +186 -0
- package/chunk/StepFirstResponderPersonalInfo-BEYQjJZE.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-WFafxPno.js +182 -0
- package/chunk/StepFirstResponderPersonalInfo-WFafxPno.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js.map → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js} +45 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js.map → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js.map → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js} +48 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js.map → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map} +1 -1
- package/chunk/StepIDCheckLoop-3dEcYNM-.js +24 -0
- package/chunk/{StepIDCheckLoop-CqMy-kih.js.map → StepIDCheckLoop-3dEcYNM-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js → StepIDCheckLoop-ADjD8T7n.js} +8 -8
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js.map → StepIDCheckLoop-ADjD8T7n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js → StepIDCheckLoopOnfido-DFITsdwV.js} +49 -49
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js.map → StepIDCheckLoopOnfido-DFITsdwV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js → StepIDCheckLoopOnfido-u841Fq12.js} +54 -54
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js.map → StepIDCheckLoopOnfido-u841Fq12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js → StepIDCheckLoopRegula-4XrJNB8_.js} +22 -21
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js.map → StepIDCheckLoopRegula-4XrJNB8_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js → StepIDCheckLoopRegula-DDU-aqdl.js} +22 -21
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js.map → StepIDCheckLoopRegula-DDU-aqdl.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BXscxOmH.js +180 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CvU4u5nA.js +176 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-BD5AdV7z.js +234 -0
- package/chunk/StepLowIncomePersonalInfo-BD5AdV7z.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-BlvN-faw.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-BlvN-faw.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-D-wc9M27.js +208 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DzPoAdkI.js +212 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-BwhcP3-x.js +157 -0
- package/chunk/{StepMemberPersonalInfo-BkdO0M03.js.map → StepMemberPersonalInfo-BwhcP3-x.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-DcH87kDt.js +153 -0
- package/chunk/{StepMemberPersonalInfo-iiEeEHMd.js.map → StepMemberPersonalInfo-DcH87kDt.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-C3e_5Bhi.js +140 -0
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js.map → StepMoverPersonalInfo-C3e_5Bhi.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-DdAYuWun.js +144 -0
- package/chunk/{StepMoverPersonalInfo-ddojJbVP.js.map → StepMoverPersonalInfo-DdAYuWun.js.map} +1 -1
- package/chunk/{StepOverrideComponent-1C4izDUn.js → StepOverrideComponent-BA6ZbYda.js} +16 -16
- package/chunk/{StepOverrideComponent-1C4izDUn.js.map → StepOverrideComponent-BA6ZbYda.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CW4AqS1W.js → StepOverrideComponent-C58-KkL6.js} +16 -16
- package/chunk/{StepOverrideComponent-CW4AqS1W.js.map → StepOverrideComponent-C58-KkL6.js.map} +1 -1
- package/chunk/StepSMSLoop-CiFQF0bq.js +181 -0
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +1 -0
- package/chunk/StepSMSLoop-DmbMtSCW.js +185 -0
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js → StepSocialSecurityNumber-6QeIRjAc.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js → StepSocialSecurityNumber-kcHexBbp.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js.map → StepSocialSecurityNumber-kcHexBbp.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +216 -0
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +220 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +1 -0
- package/chunk/{StepSuccess-D_IWaCdF.js → StepSuccess-Cc0UdSaD.js} +29 -29
- package/chunk/{StepSuccess-CAGzawu7.js.map → StepSuccess-Cc0UdSaD.js.map} +1 -1
- package/chunk/{StepSuccess-CAGzawu7.js → StepSuccess-ZEmH-ZFX.js} +30 -30
- package/chunk/{StepSuccess-D_IWaCdF.js.map → StepSuccess-ZEmH-ZFX.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CiHN6WAb.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-CJXMX4i-.js.map → StepTeacherPersonalInfo-CiHN6WAb.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-X7uaefYx.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-DuQ_2jzT.js.map → StepTeacherPersonalInfo-X7uaefYx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js → TeacherSchoolComponent-DH3cPm43.js} +9 -9
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js.map → TeacherSchoolComponent-DH3cPm43.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js → TeacherSchoolComponent-DL4ZFk5x.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js.map → TeacherSchoolComponent-DL4ZFk5x.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js → TestingRouteOverrides-CAGESMw9.js} +26 -26
- package/chunk/{TestingRouteOverrides-B51tlkPN.js.map → TestingRouteOverrides-CAGESMw9.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +77 -0
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js.map → TestingRouteOverrides-CrhfSmLr.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BuZNO3k4.js → VerificationApiClient-CVe2IgK7.js} +377 -414
- package/chunk/{VerificationApiClient-CSmDqqJd.js.map → VerificationApiClient-CVe2IgK7.js.map} +1 -1
- package/chunk/{VerificationApiClient-CSmDqqJd.js → VerificationApiClient-DOQLbKh3.js} +424 -421
- package/chunk/{VerificationApiClient-BuZNO3k4.js.map → VerificationApiClient-DOQLbKh3.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-AmQexyFX.js → countryUtils-AR9k3KRg.js} +5 -5
- package/chunk/{countryUtils-AmQexyFX.js.map → countryUtils-AR9k3KRg.js.map} +1 -1
- package/chunk/countryUtils-DWqId-zY.js +12 -0
- package/chunk/{countryUtils-_b1AEFmu.js.map → countryUtils-DWqId-zY.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-TD1ZHIGw.js → downshift.esm-5BwX87os.js} +7 -7
- package/chunk/{downshift.esm-a6BpIuFH.js.map → downshift.esm-5BwX87os.js.map} +1 -1
- package/chunk/{downshift.esm-a6BpIuFH.js → downshift.esm-GtunYkBG.js} +7 -7
- package/chunk/{downshift.esm-TD1ZHIGw.js.map → downshift.esm-GtunYkBG.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-Cng4q8t3.js → empties-B6naRhes.js} +64 -73
- package/chunk/empties-B6naRhes.js.map +1 -0
- package/chunk/{empties-B6yh07nS.js → empties-Crmkxudi.js} +64 -73
- package/chunk/empties-Crmkxudi.js.map +1 -0
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-D2tFSceS.js → hooks-C15H5pD-.js} +481 -481
- package/chunk/hooks-C15H5pD-.js.map +1 -0
- package/chunk/{hooks-B179G474.js → hooks-ChQrxN58.js} +480 -480
- package/chunk/hooks-ChQrxN58.js.map +1 -0
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-Ft_65Lzo.js → intl-e5WHiYfA.js} +7 -6
- package/chunk/intl-e5WHiYfA.js.map +1 -0
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-DOqJBLjd.js → jsx-runtime-Ini3eO9_.js} +18 -18
- package/chunk/{jsx-runtime-DOqJBLjd.js.map → jsx-runtime-Ini3eO9_.js.map} +1 -1
- package/chunk/{jsx-runtime-Bq9F3xvK.js → jsx-runtime-LqzCS-0D.js} +18 -18
- package/chunk/{jsx-runtime-Bq9F3xvK.js.map → jsx-runtime-LqzCS-0D.js.map} +1 -1
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{mocks-CoMRz_O2.js → mocks-DGc1byho.js} +10 -9
- package/chunk/{mocks-CoMRz_O2.js.map → mocks-DGc1byho.js.map} +1 -1
- package/chunk/{mocks-C1va3xs9.js → mocks-RU9BGNOn.js} +9 -8
- package/chunk/{mocks-C1va3xs9.js.map → mocks-RU9BGNOn.js.map} +1 -1
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/{options-Co1RW3vc.js → options-pBCAJBwS.js} +7 -6
- package/chunk/options-pBCAJBwS.js.map +1 -0
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-De_Bowzi.js → programThemeGetters-C9Sw0RZq.js} +45 -45
- package/chunk/{programThemeGetters-D2JwF5p-.js.map → programThemeGetters-C9Sw0RZq.js.map} +1 -1
- package/chunk/programThemeGetters-uLsgGat1.js +153 -0
- package/chunk/{programThemeGetters-De_Bowzi.js.map → programThemeGetters-uLsgGat1.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-Cz53Qfgi.js → refs-CGvEbCaw.js} +5 -5
- package/chunk/{refs-BgqdAkVI.js.map → refs-CGvEbCaw.js.map} +1 -1
- package/chunk/{refs-BgqdAkVI.js → refs-CI3K5ndt.js} +5 -5
- package/chunk/{refs-Cz53Qfgi.js.map → refs-CI3K5ndt.js.map} +1 -1
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-BdqtwfRd.js +133 -0
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +1 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js +129 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/useCollectFieldsEndpoint-74jMd594.js +66 -0
- package/chunk/useCollectFieldsEndpoint-74jMd594.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js +62 -0
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js.map +1 -0
- package/chunk/{useMetrics-DBzqwN2m.js → useMetrics-BrHWTzbP.js} +19 -19
- package/chunk/{useMetrics-saY5Oa2a.js.map → useMetrics-BrHWTzbP.js.map} +1 -1
- package/chunk/{useMetrics-saY5Oa2a.js → useMetrics-O5xTFm6y.js} +19 -19
- package/chunk/{useMetrics-DBzqwN2m.js.map → useMetrics-O5xTFm6y.js.map} +1 -1
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.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 +884 -879
- package/sheerid.js.map +1 -1
- package/chunk/AddressComponent-C89pD6Mq.js +0 -36
- package/chunk/AddressComponent-C89pD6Mq.js.map +0 -1
- package/chunk/AddressComponent-DeNJR0XJ.js +0 -40
- package/chunk/AddressComponent-DeNJR0XJ.js.map +0 -1
- package/chunk/ApiUrls-Cn6zYY4_.js +0 -40
- package/chunk/ApiUrls-Cn6zYY4_.js.map +0 -1
- package/chunk/ApiUrls-DtgMSGlO.js.map +0 -1
- package/chunk/CaptchaComponent-CoajXhka.js.map +0 -1
- package/chunk/CaptchaComponent-DnyafWoN.js.map +0 -1
- package/chunk/City-CEOnA40d.js +0 -39
- package/chunk/City-CEOnA40d.js.map +0 -1
- package/chunk/City-CHFvccq5.js +0 -35
- package/chunk/City-CHFvccq5.js.map +0 -1
- package/chunk/CountryComponentWrapper-C45AFJGi.js +0 -82
- package/chunk/CountryComponentWrapper-C45AFJGi.js.map +0 -1
- package/chunk/CountryComponentWrapper-CsMhIsMa.js +0 -78
- package/chunk/CountryComponentWrapper-CsMhIsMa.js.map +0 -1
- package/chunk/DischargeDateComponent-W6LVGtRA.js +0 -117
- package/chunk/DischargeDateComponent-W6LVGtRA.js.map +0 -1
- package/chunk/DischargeDateComponent-YwN1LS7c.js +0 -121
- package/chunk/DischargeDateComponent-YwN1LS7c.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-BgyfMAeh.js +0 -38
- package/chunk/DriverLicenseNumberComponent-BgyfMAeh.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-DWRBwzc1.js +0 -42
- package/chunk/DriverLicenseNumberComponent-DWRBwzc1.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-CCzd7O89.js +0 -40
- package/chunk/FirstResponderOrganizationComponent-CCzd7O89.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-D3iJl4at.js +0 -36
- package/chunk/FirstResponderOrganizationComponent-D3iJl4at.js.map +0 -1
- package/chunk/FormFooterComponent-BEDJQK_Z.js +0 -8849
- package/chunk/FormFooterComponent-BEDJQK_Z.js.map +0 -1
- package/chunk/FormFooterComponent-BuRQRQFI.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-CP_MLvtk.js +0 -39
- package/chunk/LicensedProfessionalOrganizationComponent-CP_MLvtk.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Dwbseq8o.js +0 -35
- package/chunk/LicensedProfessionalOrganizationComponent-Dwbseq8o.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-BXmap6Rx.js +0 -110
- package/chunk/LowIncomeOrganizationComponent-BXmap6Rx.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-D8CNP5HY.js +0 -106
- package/chunk/LowIncomeOrganizationComponent-D8CNP5HY.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BbYalsLY.js +0 -36
- package/chunk/MedicalProfessionalOrganizationComponent-BbYalsLY.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-KmjANRJ9.js +0 -40
- package/chunk/MedicalProfessionalOrganizationComponent-KmjANRJ9.js.map +0 -1
- package/chunk/MemberIdComponent-TNTlU0wZ.js +0 -42
- package/chunk/MemberIdComponent-TNTlU0wZ.js.map +0 -1
- package/chunk/MemberIdComponent-ubWwGiAG.js +0 -38
- package/chunk/MemberIdComponent-ubWwGiAG.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-BlYWLmzA.js +0 -39
- package/chunk/MembershipOrganizationComponent-BlYWLmzA.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-QqiCbPz3.js +0 -35
- package/chunk/MembershipOrganizationComponent-QqiCbPz3.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DvMU95pj.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-_wFfZCyV.js.map +0 -1
- package/chunk/PostalCodeComponent-BF8Fplpm.js +0 -41
- package/chunk/PostalCodeComponent-BF8Fplpm.js.map +0 -1
- package/chunk/PostalCodeComponent-Cn7FPVh2.js +0 -37
- package/chunk/PostalCodeComponent-Cn7FPVh2.js.map +0 -1
- package/chunk/SSN-CbSneflU.js +0 -48
- package/chunk/SSN-CbSneflU.js.map +0 -1
- package/chunk/SSN-DPn5f0xr.js +0 -44
- package/chunk/SSN-DPn5f0xr.js.map +0 -1
- package/chunk/StateSelectComponent-BMxcczlp.js +0 -44
- package/chunk/StateSelectComponent-BMxcczlp.js.map +0 -1
- package/chunk/StateSelectComponent-Fwkoplfb.js +0 -40
- package/chunk/StateSelectComponent-Fwkoplfb.js.map +0 -1
- package/chunk/StatusComponent-C--lHDG1.js.map +0 -1
- package/chunk/StatusComponent-DUPrDBFL.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js +0 -179
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js +0 -183
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js.map +0 -1
- package/chunk/StepAgePersonalInfo-Bqy4A9R_.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-CNctoDoi.js +0 -13
- package/chunk/StepCollectMilitaryStatusComponent-DCVnycL7.js +0 -9
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js +0 -358
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js +0 -362
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-BokWlHYE.js +0 -215
- package/chunk/StepEmploymentPersonalInfo-BokWlHYE.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DmWrWi0w.js +0 -219
- package/chunk/StepEmploymentPersonalInfo-DmWrWi0w.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js +0 -172
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js +0 -176
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js.map +0 -1
- package/chunk/StepIDCheckLoop-CqMy-kih.js +0 -24
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js +0 -237
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js.map +0 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js +0 -241
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js +0 -190
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js +0 -186
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js +0 -223
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js +0 -227
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js +0 -207
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BkdO0M03.js +0 -157
- package/chunk/StepMemberPersonalInfo-iiEeEHMd.js +0 -153
- package/chunk/StepMoverPersonalInfo-B8ulp8r4.js +0 -144
- package/chunk/StepMoverPersonalInfo-ddojJbVP.js +0 -140
- package/chunk/StepSMSLoop-CYsBZ7tK.js +0 -180
- package/chunk/StepSMSLoop-CYsBZ7tK.js.map +0 -1
- package/chunk/StepSMSLoop-ZFEdfzI7.js +0 -184
- package/chunk/StepSMSLoop-ZFEdfzI7.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CPEy1x3k.js +0 -222
- package/chunk/StepStudentPersonalInfo-CPEy1x3k.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DNqHAtn-.js +0 -218
- package/chunk/StepStudentPersonalInfo-DNqHAtn-.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CJXMX4i-.js +0 -150
- package/chunk/StepTeacherPersonalInfo-DuQ_2jzT.js +0 -154
- package/chunk/TestingRouteOverrides-B51tlkPN.js +0 -77
- package/chunk/VerificationApiUtils-BBxvDM3j.js +0 -25
- package/chunk/VerificationApiUtils-BBxvDM3j.js.map +0 -1
- package/chunk/VerificationApiUtils-CFvFUGWV.js +0 -21
- package/chunk/VerificationApiUtils-CFvFUGWV.js.map +0 -1
- package/chunk/countryUtils-_b1AEFmu.js +0 -12
- package/chunk/empties-B6yh07nS.js.map +0 -1
- package/chunk/empties-Cng4q8t3.js.map +0 -1
- package/chunk/hooks-B179G474.js.map +0 -1
- package/chunk/hooks-D2tFSceS.js.map +0 -1
- package/chunk/intl-Ft_65Lzo.js.map +0 -1
- package/chunk/militaryStepHelpers-CJ4smMQ2.js +0 -22
- package/chunk/militaryStepHelpers-CJ4smMQ2.js.map +0 -1
- package/chunk/militaryStepHelpers-tnlMV7Ug.js +0 -26
- package/chunk/militaryStepHelpers-tnlMV7Ug.js.map +0 -1
- package/chunk/options-Co1RW3vc.js.map +0 -1
- package/chunk/programThemeGetters-D2JwF5p-.js +0 -153
- package/chunk/stepComponentHelpers-2Sq02uha.js +0 -174
- package/chunk/stepComponentHelpers-2Sq02uha.js.map +0 -1
- package/chunk/stepComponentHelpers-uJDQGcgs.js +0 -170
- package/chunk/stepComponentHelpers-uJDQGcgs.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js +0 -37
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js +0 -41
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepSMSLoop-ZFEdfzI7.js","names":[],"sources":["../../src/components/FormFields/SMSCode/SMSCodeComponent.tsx","../../src/components/StepSMSLoop/StepSMSLoopComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { InputTextComponent } from \"../../FormInputs/InputText/InputText\";\n\nexport const SMSCode = ({\n onChange,\n value,\n isErrored,\n errorId,\n intl,\n placeholder = \"\",\n}: FormFieldComponentProps) => {\n const getErrorMessage = (errorId) => {\n switch (errorId) {\n case \"invalidSMSCode\":\n return (\n <FormattedHTMLMessage\n id=\"step.smsLoop.errors.codeVerification\"\n defaultMessage=\"Verification code could not be validated.\"\n />\n );\n case \"expiredSMSCode\":\n return (\n <FormattedHTMLMessage\n id=\"step.smsLoop.errors.codeExpired\"\n defaultMessage=\"Verification code expired.\"\n />\n );\n default:\n return <FormattedHTMLMessage id=\"errorId.unknownError\" defaultMessage=\"Unknown Error\" />;\n }\n };\n\n return (\n <div className=\"sid-field sid-sms-code-id\">\n <div className=\"sid-l-space-top-md\" />\n {isErrored ? <div className=\"sid-field-error\">{getErrorMessage(errorId)}</div> : null}\n\n <InputTextComponent\n id=\"sms-code\"\n isErrored={isErrored}\n required\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"smsCodePlaceholder\", defaultMessage: \"SMS Code\" })\n }\n value={value}\n onChange={(e) => onChange(e.target.value)}\n />\n </div>\n );\n};\n\nexport const SMSCodeComponent = injectIntl(SMSCode);\n","import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, type InjectedIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type SMSLoopResponse,\n type SMSLoopViewModel,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { SMSCodeComponent } from \"../FormFields/SMSCode/SMSCodeComponent\";\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepSMSLoopProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepSMSLoop = ({ intl, verificationService }: StepSMSLoopProps) => {\n const viewModel = verificationService.viewModel as SMSLoopViewModel;\n const verificationResponse = verificationService.verificationResponse as SMSLoopResponse;\n const isErrored = Boolean(verificationService.fieldValidationErrors.smsCode);\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const [isAttemptLimitExceeded, setAttemptLimitExceeded] = React.useState(\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectSMSCodeAttemptLimitExceeded\"),\n );\n\n const stepSuccessMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.successResend\",\n defaultMessage: \"SMS message re-sent successfully\",\n });\n const maxTotalRetriesMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const maxRetriesPerCodeMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const errorResendingSMSMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.resend\",\n defaultMessage: \"Error sending the SMS message\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.smsCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n smsCode: verificationResponse.errorIds[0],\n });\n }\n\n const updateSmsCode = (value) => {\n const nextState: SMSLoopViewModel = produce(viewModel, (draft: SMSLoopViewModel) => {\n draft.smsCode = value;\n draft.phoneNumber = previousViewModel && previousViewModel.phoneNumber;\n });\n verificationService.updateViewModel(nextState);\n };\n\n const submitForm = () => {\n logger.info(\"StepSMSLoop submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.smsLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n const resendSmsCode = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewSmsCode(verificationId);\n if (response) {\n setAttemptLimitExceeded(false);\n setStepResultMessage(response.status === 204 ? stepSuccessMessage : maxTotalRetriesMessage);\n } else {\n setStepResultMessage(errorResendingSMSMessage);\n }\n };\n\n return (\n <div id=\"sid-step-sms-loop\" className=\"sid-sms-loop-container sid-l-container\">\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.verificationCode\"\n defaultMessage=\"Verification Code\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {getSafe(() => previousViewModel.phoneNumber) ? (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithNumber\"\n defaultMessage=\"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.\"\n values={{\n number: getSafe(() => previousViewModel.phoneNumber.slice(-4), \"\"),\n }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithoutNumber\"\n defaultMessage=\"We've sent an SMS to your mobile number. Please enter the code here.\"\n />\n )}\n </div>\n\n <div className=\"sid-sms-code-id-wrapper sid-l-horz-center\">\n <SMSCodeComponent\n onChange={updateSmsCode}\n value={viewModel.smsCode}\n isErrored={isErrored}\n errorId={verificationService.fieldValidationErrors.smsCode}\n />\n </div>\n\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-submit sid-sms-loop-submit sid-l-space-top-md sid-l-horz-center\">\n <button\n id=\"sid-submit-sms-code\"\n onClick={submitForm}\n type=\"button\"\n className=\"sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue\"\n aria-label=\"submit\"\n disabled={\n !!(!viewModel.smsCode || viewModel.smsCode.length <= 0 || isAttemptLimitExceeded)\n }\n >\n <FormattedHTMLMessage id=\"step.smsLoop.submitButton\" defaultMessage=\"Submit\" />\n </button>\n\n <div className=\"sid-l-space-left-sm\"> </div>\n\n <button\n id=\"sid-resend-sms-code\"\n onClick={() => resendSmsCode(verificationResponse.verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.smsLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n\n <div className=\"sid-incorrect-number sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber1\"\n defaultMessage=\"Incorrect number? Click\"\n />\n \n <button\n type=\"button\"\n onClick={() => window.location.reload()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber2\"\n defaultMessage=\"here\"\n />\n \n </button>\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber3\"\n defaultMessage=\"to return to {companyName}\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n </div>\n );\n};\n\nexport const StepSMSLoopComponent = injectIntl(StepSMSLoop);\n"],"mappings":";;;;;;4CAsDA,IAAA,GAjDA,EAAA,aAAA,UAAA,cAAA,YAAA,SAAA,iBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDA,GCgJa,IAAuB,GA/Kf,EAAE,SAAM,6BAA4C;CACvE,IAAM,IAAY,EAAoB,WAChC,IAAuB,EAAoB,sBAC3C,IAAY,EAAQ,EAAoB,sBAAsB,SAC9D,IACH,EAAoB,qBAAsD,KAAA,GAEvE,CAAC,GAAmB,KAAA,EAA8B,SAAS,EAAE,GAC7D,CAAC,GAAwB,KAAA,EAAiC,SAC9D,EAAqB,YACnB,EAAqB,SAAS,SAAS,sCAAsC,CACjF,GAEM,IAAqB,EAAK,kBAAkB;EAChD,IAAI;EACJ,gBAAgB;CAClB,CAAC,GACK,IAAyB,EAAK,kBAAkB;EACpD,IAAI;EACJ,gBAAgB;CAClB,CAAC,GACK,IAA2B,EAAK,kBAAkB;EACtD,IAAI;EACJ,gBAAgB;CAClB,CAAC,GACK,IAA2B,EAAK,kBAAkB;EACtD,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAQD,AANA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAqB,CAAwB;CAEjD,GAAG,CAAC,CAAC,GAGH,QAAc,EAAqB,SAAS,MAAM,KAClD,CAAC,EA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MAEiB,CAAA;KACnB;;GACF;;CACF,CAAA;AAET,CAE0D"}
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* WARNING: This file is intended to be used within MySheerID.
|
|
4
|
-
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* VERSION: 2.276.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1787688588835
|
|
9
|
-
* BUILD_DATE: Tue Aug 25 2026 20:09:48 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 2d25c43e9725e6fd856b82b1bdf08408dfb6a86b
|
|
11
|
-
*/
|
|
12
|
-
import { Jt as e, Lt as t, Nt as n, p as r, s as i } from "./intl-Ft_65Lzo.js";
|
|
13
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-Bq9F3xvK.js";
|
|
14
|
-
import { O as l } from "./FormFooterComponent-BuRQRQFI.js";
|
|
15
|
-
import { t as u } from "./hooks-D2tFSceS.js";
|
|
16
|
-
import { t as d } from "../_mysheerid-preview.js";
|
|
17
|
-
import { C as f, S as p, m, u as h } from "./stepComponentHelpers-2Sq02uha.js";
|
|
18
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-CoajXhka.js";
|
|
19
|
-
import { t as S } from "./FormFieldText-BPefsplc.js";
|
|
20
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DvMU95pj.js";
|
|
21
|
-
import { t as T } from "./BirthDateComponent-BYO6Kfgc.js";
|
|
22
|
-
import { t as E } from "./CountryComponentWrapper-C45AFJGi.js";
|
|
23
|
-
import { t as D } from "./ExtraMessage-CIU0SFFU.js";
|
|
24
|
-
import { t as O } from "./ChangeLocaleComponent-Z-taCJ6R.js";
|
|
25
|
-
import { t as k } from "./PersonalInfoStepWrapper-C-DG20qY.js";
|
|
26
|
-
import { t as A } from "./CollegeNameComponent-TPDjSelK.js";
|
|
27
|
-
import { t as j } from "./StatusComponent-DUPrDBFL.js";
|
|
28
|
-
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
29
|
-
var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: o = !1 }) => {
|
|
30
|
-
let c = u("include-cvec-field-france-student");
|
|
31
|
-
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
32
|
-
fieldId: "cvecNumber",
|
|
33
|
-
value: e,
|
|
34
|
-
onChange: n,
|
|
35
|
-
placeholder: a || r.formatHTMLMessage({
|
|
36
|
-
id: "cvecNumberPlaceholder",
|
|
37
|
-
defaultMessage: "CVEC certificate number"
|
|
38
|
-
}),
|
|
39
|
-
label: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
40
|
-
id: "cvecNumber",
|
|
41
|
-
defaultMessage: "CVEC certificate number"
|
|
42
|
-
}),
|
|
43
|
-
errorMessage: t && /* @__PURE__ */ (0, N.jsx)(s, {
|
|
44
|
-
id: "errorId.invalidCvecNumber",
|
|
45
|
-
defaultMessage: "Invalid CVEC certificate number"
|
|
46
|
-
}),
|
|
47
|
-
showPlaceholderAndHideLabel: !!a,
|
|
48
|
-
required: o,
|
|
49
|
-
explanation: i || (c === "labeled-optional" ? /* @__PURE__ */ (0, N.jsx)(s, {
|
|
50
|
-
id: "cvecNumberExplanation",
|
|
51
|
-
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
52
|
-
}) : /* @__PURE__ */ (0, N.jsx)(s, {
|
|
53
|
-
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
54
|
-
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
55
|
-
}))
|
|
56
|
-
});
|
|
57
|
-
}), F = Object.keys(n), I = a(({ verificationService: e, intl: a }) => {
|
|
58
|
-
let o = e.viewModel, { fieldValidationErrors: c } = e, S = e.verificationResponse, I = i(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
59
|
-
M.useEffect(() => {
|
|
60
|
-
let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
|
|
61
|
-
R || (t = [...t, "cvecNumber"]), B || (t = [...t, "status"]), H("fieldsToSkipValidation", t);
|
|
62
|
-
}, [R, B]);
|
|
63
|
-
let V = l(S), H = (t, n) => {
|
|
64
|
-
let i = r(o, (e) => {
|
|
65
|
-
e[t] = n;
|
|
66
|
-
});
|
|
67
|
-
e.updateViewModel(i);
|
|
68
|
-
}, U = o.localeChoice.value, W = (e) => e ? {
|
|
69
|
-
value: e,
|
|
70
|
-
label: a.formatHTMLMessage({
|
|
71
|
-
id: e,
|
|
72
|
-
defaultMessage: n[e]
|
|
73
|
-
})
|
|
74
|
-
} : {
|
|
75
|
-
value: "",
|
|
76
|
-
label: ""
|
|
77
|
-
};
|
|
78
|
-
return /* @__PURE__ */ (0, N.jsxs)(k, {
|
|
79
|
-
verificationService: e,
|
|
80
|
-
step: S.currentStep,
|
|
81
|
-
children: [
|
|
82
|
-
/* @__PURE__ */ (0, N.jsx)(d, {
|
|
83
|
-
verificationService: e,
|
|
84
|
-
classNameIdentifier: "student-personal-info"
|
|
85
|
-
}),
|
|
86
|
-
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: e }),
|
|
87
|
-
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
88
|
-
verificationService: e,
|
|
89
|
-
disabled: h("country")?.disabled
|
|
90
|
-
}),
|
|
91
|
-
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
92
|
-
segmentId: "student",
|
|
93
|
-
label: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
94
|
-
id: "graduationStatus",
|
|
95
|
-
defaultMessage: "Graduation Status"
|
|
96
|
-
}),
|
|
97
|
-
value: W(o.status),
|
|
98
|
-
isErrored: !!c.status,
|
|
99
|
-
options: F.map(W),
|
|
100
|
-
disabled: h("status")?.disabled,
|
|
101
|
-
onChange: (t) => {
|
|
102
|
-
let n = t ? t.value : void 0;
|
|
103
|
-
H("status", n), p("status", n ?? "", e);
|
|
104
|
-
}
|
|
105
|
-
}),
|
|
106
|
-
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
107
|
-
value: e.viewModel.organization,
|
|
108
|
-
verificationService: e,
|
|
109
|
-
isErrored: !!c.organization,
|
|
110
|
-
isRequired: !0,
|
|
111
|
-
disabled: h("organization")?.disabled,
|
|
112
|
-
onChange: (t) => {
|
|
113
|
-
f(t, e), p("organization", t, e);
|
|
114
|
-
}
|
|
115
|
-
}),
|
|
116
|
-
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
117
|
-
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
118
|
-
value: o.cvecNumber,
|
|
119
|
-
isErrored: !!c.cvecNumber,
|
|
120
|
-
disabled: h("cvecNumber")?.disabled,
|
|
121
|
-
onChange: (t) => {
|
|
122
|
-
H("cvecNumber", t), p("cvecNumber", t, e);
|
|
123
|
-
}
|
|
124
|
-
}),
|
|
125
|
-
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
126
|
-
className: "sid-names-explanation sid-l-space-top-md",
|
|
127
|
-
children: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
128
|
-
id: "step.personalInfo.nameInstructions",
|
|
129
|
-
defaultMessage: "Personal or school email is fine"
|
|
130
|
-
})
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ (0, N.jsxs)("div", {
|
|
133
|
-
className: "sid-names",
|
|
134
|
-
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
135
|
-
value: o.firstName,
|
|
136
|
-
isErrored: !!c.firstName,
|
|
137
|
-
disabled: h("firstName")?.disabled,
|
|
138
|
-
onChange: (t) => {
|
|
139
|
-
H("firstName", t), p("firstName", t, e);
|
|
140
|
-
}
|
|
141
|
-
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
142
|
-
value: o.lastName,
|
|
143
|
-
isErrored: !!c.lastName,
|
|
144
|
-
disabled: h("lastName")?.disabled,
|
|
145
|
-
onChange: (t) => {
|
|
146
|
-
H("lastName", t), p("lastName", t, e);
|
|
147
|
-
}
|
|
148
|
-
})]
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ (0, N.jsx)(T, {
|
|
151
|
-
value: o.birthDate,
|
|
152
|
-
errorId: c.birthDate,
|
|
153
|
-
locale: U,
|
|
154
|
-
isRequired: !0,
|
|
155
|
-
disabled: h("birthDate")?.disabled,
|
|
156
|
-
onChange: (t) => {
|
|
157
|
-
H("birthDate", t), p("birthDate", t, e);
|
|
158
|
-
}
|
|
159
|
-
}),
|
|
160
|
-
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
161
|
-
value: o.email,
|
|
162
|
-
isErrored: !!c.email,
|
|
163
|
-
explanation: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
164
|
-
id: "emailExplanation",
|
|
165
|
-
defaultMessage: "Personal or school email is fine"
|
|
166
|
-
}),
|
|
167
|
-
onChange: (t) => {
|
|
168
|
-
H("email", t), p("email", t, e);
|
|
169
|
-
},
|
|
170
|
-
onKeyDown: (e) => m(e),
|
|
171
|
-
disabled: h("email")?.disabled
|
|
172
|
-
}),
|
|
173
|
-
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
174
|
-
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
175
|
-
value: o.phoneNumber,
|
|
176
|
-
isErrored: !!c.phoneNumber,
|
|
177
|
-
disabled: h("phoneNumber")?.disabled,
|
|
178
|
-
onChange: (t) => {
|
|
179
|
-
H("phoneNumber", t), p("phoneNumber", t, e);
|
|
180
|
-
},
|
|
181
|
-
selectedCountryCode: o.countryChoice && o.countryChoice.value
|
|
182
|
-
}) : null,
|
|
183
|
-
(I.customFormFields || []).map((t) => /* @__PURE__ */ (0, N.jsx)(v, {
|
|
184
|
-
config: t,
|
|
185
|
-
verificationService: e
|
|
186
|
-
})),
|
|
187
|
-
" ",
|
|
188
|
-
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
189
|
-
verificationService: e,
|
|
190
|
-
isErrored: !!c.marketConsentValue,
|
|
191
|
-
disabled: h("marketConsentValue")?.disabled,
|
|
192
|
-
onChange: (t) => {
|
|
193
|
-
H("metadata", {
|
|
194
|
-
...e.viewModel.metadata,
|
|
195
|
-
marketConsentValue: t
|
|
196
|
-
}), p("marketConsentValue", t, e);
|
|
197
|
-
},
|
|
198
|
-
viewModel: o
|
|
199
|
-
}),
|
|
200
|
-
/* @__PURE__ */ (0, N.jsx)(D, {
|
|
201
|
-
verificationService: e,
|
|
202
|
-
suffix: "CollectAboveSubmit"
|
|
203
|
-
}),
|
|
204
|
-
/* @__PURE__ */ (0, N.jsx)(x, {
|
|
205
|
-
verificationService: e,
|
|
206
|
-
isErrored: !!c.captchaToken
|
|
207
|
-
}),
|
|
208
|
-
/* @__PURE__ */ (0, N.jsx)(w, {
|
|
209
|
-
step: t.collectStudentPersonalInfo,
|
|
210
|
-
verificationService: e,
|
|
211
|
-
viewModel: o,
|
|
212
|
-
failedInstantMatch: V,
|
|
213
|
-
buttonText: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
214
|
-
id: "step.personalInfo.submitButtonText",
|
|
215
|
-
defaultMessage: "Verify My Student Status"
|
|
216
|
-
})
|
|
217
|
-
})
|
|
218
|
-
]
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
//#endregion
|
|
222
|
-
export { I as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-CPEy1x3k.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"../../lib/types/types\";\n\nimport {\n StudentStatusDefaultMessagesEnum,\n VerificationStepsEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: InjectedIntl;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n intl,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: intl.formatHTMLMessage({\n id: status,\n defaultMessage: StudentStatusDefaultMessagesEnum[status],\n }),\n }\n : { value: \"\", label: \"\" };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).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 {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;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IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAEkF"}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* VERSION: 2.276.0
|
|
4
|
-
* BUILD_TIMESTAMP: 1787688581348
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026 20:09:41 GMT+0000 (Coordinated Universal Time)
|
|
6
|
-
* BUILD_COMMIT: 2d25c43e9725e6fd856b82b1bdf08408dfb6a86b
|
|
7
|
-
*/
|
|
8
|
-
import { Ft as e, Jt as t, c as n, n as r, zt as i } from "./options-Co1RW3vc.js";
|
|
9
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-DOqJBLjd.js";
|
|
10
|
-
import { w as l } from "./FormFooterComponent-BEDJQK_Z.js";
|
|
11
|
-
import { t as u } from "./hooks-B179G474.js";
|
|
12
|
-
import { n as d } from "../sheerid.js";
|
|
13
|
-
import { C as f, S as p, m, u as h } from "./stepComponentHelpers-uJDQGcgs.js";
|
|
14
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-DnyafWoN.js";
|
|
15
|
-
import { t as S } from "./FormFieldText-mvPCLbUG.js";
|
|
16
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-_wFfZCyV.js";
|
|
17
|
-
import { t as T } from "./BirthDateComponent-2CJqlbNU.js";
|
|
18
|
-
import { t as E } from "./CountryComponentWrapper-CsMhIsMa.js";
|
|
19
|
-
import { t as D } from "./ExtraMessage-f9Om84tg.js";
|
|
20
|
-
import { t as O } from "./ChangeLocaleComponent-C4jVlT7w.js";
|
|
21
|
-
import { t as k } from "./PersonalInfoStepWrapper-BCe97Fbw.js";
|
|
22
|
-
import { t as A } from "./CollegeNameComponent-C-Vq-0f_.js";
|
|
23
|
-
import { t as j } from "./StatusComponent-C--lHDG1.js";
|
|
24
|
-
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
25
|
-
var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: o = !1 }) => {
|
|
26
|
-
let c = u("include-cvec-field-france-student");
|
|
27
|
-
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
28
|
-
fieldId: "cvecNumber",
|
|
29
|
-
value: e,
|
|
30
|
-
onChange: n,
|
|
31
|
-
placeholder: a || r.formatHTMLMessage({
|
|
32
|
-
id: "cvecNumberPlaceholder",
|
|
33
|
-
defaultMessage: "CVEC certificate number"
|
|
34
|
-
}),
|
|
35
|
-
label: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
36
|
-
id: "cvecNumber",
|
|
37
|
-
defaultMessage: "CVEC certificate number"
|
|
38
|
-
}),
|
|
39
|
-
errorMessage: t && /* @__PURE__ */ (0, N.jsx)(s, {
|
|
40
|
-
id: "errorId.invalidCvecNumber",
|
|
41
|
-
defaultMessage: "Invalid CVEC certificate number"
|
|
42
|
-
}),
|
|
43
|
-
showPlaceholderAndHideLabel: !!a,
|
|
44
|
-
required: o,
|
|
45
|
-
explanation: i || (c === "labeled-optional" ? /* @__PURE__ */ (0, N.jsx)(s, {
|
|
46
|
-
id: "cvecNumberExplanation",
|
|
47
|
-
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
48
|
-
}) : /* @__PURE__ */ (0, N.jsx)(s, {
|
|
49
|
-
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
50
|
-
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
51
|
-
}))
|
|
52
|
-
});
|
|
53
|
-
}), F = Object.keys(e), I = a(({ verificationService: t, intl: a }) => {
|
|
54
|
-
let o = t.viewModel, { fieldValidationErrors: c } = t, S = t.verificationResponse, I = r(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
55
|
-
M.useEffect(() => {
|
|
56
|
-
let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
|
|
57
|
-
R || (e = [...e, "cvecNumber"]), B || (e = [...e, "status"]), H("fieldsToSkipValidation", e);
|
|
58
|
-
}, [R, B]);
|
|
59
|
-
let V = l(S), H = (e, r) => {
|
|
60
|
-
let i = n(o, (t) => {
|
|
61
|
-
t[e] = r;
|
|
62
|
-
});
|
|
63
|
-
t.updateViewModel(i);
|
|
64
|
-
}, U = o.localeChoice.value, W = (t) => t ? {
|
|
65
|
-
value: t,
|
|
66
|
-
label: a.formatHTMLMessage({
|
|
67
|
-
id: t,
|
|
68
|
-
defaultMessage: e[t]
|
|
69
|
-
})
|
|
70
|
-
} : {
|
|
71
|
-
value: "",
|
|
72
|
-
label: ""
|
|
73
|
-
};
|
|
74
|
-
return /* @__PURE__ */ (0, N.jsxs)(k, {
|
|
75
|
-
verificationService: t,
|
|
76
|
-
step: S.currentStep,
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ (0, N.jsx)(d, {
|
|
79
|
-
verificationService: t,
|
|
80
|
-
classNameIdentifier: "student-personal-info"
|
|
81
|
-
}),
|
|
82
|
-
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: t }),
|
|
83
|
-
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
84
|
-
verificationService: t,
|
|
85
|
-
disabled: h("country")?.disabled
|
|
86
|
-
}),
|
|
87
|
-
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
88
|
-
segmentId: "student",
|
|
89
|
-
label: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
90
|
-
id: "graduationStatus",
|
|
91
|
-
defaultMessage: "Graduation Status"
|
|
92
|
-
}),
|
|
93
|
-
value: W(o.status),
|
|
94
|
-
isErrored: !!c.status,
|
|
95
|
-
options: F.map(W),
|
|
96
|
-
disabled: h("status")?.disabled,
|
|
97
|
-
onChange: (e) => {
|
|
98
|
-
let n = e ? e.value : void 0;
|
|
99
|
-
H("status", n), p("status", n ?? "", t);
|
|
100
|
-
}
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
103
|
-
value: t.viewModel.organization,
|
|
104
|
-
verificationService: t,
|
|
105
|
-
isErrored: !!c.organization,
|
|
106
|
-
isRequired: !0,
|
|
107
|
-
disabled: h("organization")?.disabled,
|
|
108
|
-
onChange: (e) => {
|
|
109
|
-
f(e, t), p("organization", e, t);
|
|
110
|
-
}
|
|
111
|
-
}),
|
|
112
|
-
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
113
|
-
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
114
|
-
value: o.cvecNumber,
|
|
115
|
-
isErrored: !!c.cvecNumber,
|
|
116
|
-
disabled: h("cvecNumber")?.disabled,
|
|
117
|
-
onChange: (e) => {
|
|
118
|
-
H("cvecNumber", e), p("cvecNumber", e, t);
|
|
119
|
-
}
|
|
120
|
-
}),
|
|
121
|
-
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
122
|
-
className: "sid-names-explanation sid-l-space-top-md",
|
|
123
|
-
children: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
124
|
-
id: "step.personalInfo.nameInstructions",
|
|
125
|
-
defaultMessage: "Personal or school email is fine"
|
|
126
|
-
})
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ (0, N.jsxs)("div", {
|
|
129
|
-
className: "sid-names",
|
|
130
|
-
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
131
|
-
value: o.firstName,
|
|
132
|
-
isErrored: !!c.firstName,
|
|
133
|
-
disabled: h("firstName")?.disabled,
|
|
134
|
-
onChange: (e) => {
|
|
135
|
-
H("firstName", e), p("firstName", e, t);
|
|
136
|
-
}
|
|
137
|
-
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
138
|
-
value: o.lastName,
|
|
139
|
-
isErrored: !!c.lastName,
|
|
140
|
-
disabled: h("lastName")?.disabled,
|
|
141
|
-
onChange: (e) => {
|
|
142
|
-
H("lastName", e), p("lastName", e, t);
|
|
143
|
-
}
|
|
144
|
-
})]
|
|
145
|
-
}),
|
|
146
|
-
/* @__PURE__ */ (0, N.jsx)(T, {
|
|
147
|
-
value: o.birthDate,
|
|
148
|
-
errorId: c.birthDate,
|
|
149
|
-
locale: U,
|
|
150
|
-
isRequired: !0,
|
|
151
|
-
disabled: h("birthDate")?.disabled,
|
|
152
|
-
onChange: (e) => {
|
|
153
|
-
H("birthDate", e), p("birthDate", e, t);
|
|
154
|
-
}
|
|
155
|
-
}),
|
|
156
|
-
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
157
|
-
value: o.email,
|
|
158
|
-
isErrored: !!c.email,
|
|
159
|
-
explanation: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
160
|
-
id: "emailExplanation",
|
|
161
|
-
defaultMessage: "Personal or school email is fine"
|
|
162
|
-
}),
|
|
163
|
-
onChange: (e) => {
|
|
164
|
-
H("email", e), p("email", e, t);
|
|
165
|
-
},
|
|
166
|
-
onKeyDown: (e) => m(e),
|
|
167
|
-
disabled: h("email")?.disabled
|
|
168
|
-
}),
|
|
169
|
-
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
170
|
-
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
171
|
-
value: o.phoneNumber,
|
|
172
|
-
isErrored: !!c.phoneNumber,
|
|
173
|
-
disabled: h("phoneNumber")?.disabled,
|
|
174
|
-
onChange: (e) => {
|
|
175
|
-
H("phoneNumber", e), p("phoneNumber", e, t);
|
|
176
|
-
},
|
|
177
|
-
selectedCountryCode: o.countryChoice && o.countryChoice.value
|
|
178
|
-
}) : null,
|
|
179
|
-
(I.customFormFields || []).map((e) => /* @__PURE__ */ (0, N.jsx)(v, {
|
|
180
|
-
config: e,
|
|
181
|
-
verificationService: t
|
|
182
|
-
})),
|
|
183
|
-
" ",
|
|
184
|
-
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
185
|
-
verificationService: t,
|
|
186
|
-
isErrored: !!c.marketConsentValue,
|
|
187
|
-
disabled: h("marketConsentValue")?.disabled,
|
|
188
|
-
onChange: (e) => {
|
|
189
|
-
H("metadata", {
|
|
190
|
-
...t.viewModel.metadata,
|
|
191
|
-
marketConsentValue: e
|
|
192
|
-
}), p("marketConsentValue", e, t);
|
|
193
|
-
},
|
|
194
|
-
viewModel: o
|
|
195
|
-
}),
|
|
196
|
-
/* @__PURE__ */ (0, N.jsx)(D, {
|
|
197
|
-
verificationService: t,
|
|
198
|
-
suffix: "CollectAboveSubmit"
|
|
199
|
-
}),
|
|
200
|
-
/* @__PURE__ */ (0, N.jsx)(x, {
|
|
201
|
-
verificationService: t,
|
|
202
|
-
isErrored: !!c.captchaToken
|
|
203
|
-
}),
|
|
204
|
-
/* @__PURE__ */ (0, N.jsx)(w, {
|
|
205
|
-
step: i.collectStudentPersonalInfo,
|
|
206
|
-
verificationService: t,
|
|
207
|
-
viewModel: o,
|
|
208
|
-
failedInstantMatch: V,
|
|
209
|
-
buttonText: /* @__PURE__ */ (0, N.jsx)(s, {
|
|
210
|
-
id: "step.personalInfo.submitButtonText",
|
|
211
|
-
defaultMessage: "Verify My Student Status"
|
|
212
|
-
})
|
|
213
|
-
})
|
|
214
|
-
]
|
|
215
|
-
});
|
|
216
|
-
});
|
|
217
|
-
//#endregion
|
|
218
|
-
export { I as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-DNqHAtn-.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"../../lib/types/types\";\n\nimport {\n StudentStatusDefaultMessagesEnum,\n VerificationStepsEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: InjectedIntl;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n intl,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: intl.formatHTMLMessage({\n id: status,\n defaultMessage: StudentStatusDefaultMessagesEnum[status],\n }),\n }\n : { value: \"\", label: \"\" };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).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 {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GCnBM,IAAoB,OAAO,KAAK,CAAgC,GAqOzD,IAAmC,GA9Nf,EAC/B,wBACA,cAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,MAAO,MAAO,gBAAgB,MAAO,QACxC;EASA,AARK,MAEH,IAAO,CAAC,GAAG,GAAM,YAAY,IAE1B,MAEH,IAAO,CAAC,GAAG,GAAM,QAAQ,IAE3B,EAAuB,0BAA0B,CAAI;CACvD,GAAG,CAAC,GAAe,CAAuB,CAAC;CAE3C,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B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