@sheerid/jslib 2.314.0 → 2.316.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 +856 -852
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DT1QSw8o.js → AddressComponent-BxavEqNN.js} +14 -13
- package/chunk/{AddressComponent-BhsB0ubP.js.map → AddressComponent-BxavEqNN.js.map} +1 -1
- package/chunk/{AddressComponent-BhsB0ubP.js → AddressComponent-D2mEkfix.js} +14 -13
- package/chunk/{AddressComponent-DT1QSw8o.js.map → AddressComponent-D2mEkfix.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CM01vEpF.js → AnnouncingHeader-C3W0VQzV.js} +6 -6
- package/chunk/{AnnouncingHeader-CM01vEpF.js.map → AnnouncingHeader-C3W0VQzV.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CSh0UW8I.js → AnnouncingHeader-OtaykXZw.js} +6 -6
- package/chunk/{AnnouncingHeader-CSh0UW8I.js.map → AnnouncingHeader-OtaykXZw.js.map} +1 -1
- package/chunk/ApiUrls-C604MmkC.js +36 -0
- package/chunk/ApiUrls-C604MmkC.js.map +1 -0
- package/chunk/ApiUrls-DC453lFN.js +32 -0
- package/chunk/ApiUrls-DC453lFN.js.map +1 -0
- package/chunk/BirthDateComponent-BwcAqOFe.js +38 -0
- package/chunk/{BirthDateComponent-B3mQalKa.js.map → BirthDateComponent-BwcAqOFe.js.map} +1 -1
- package/chunk/{BirthDateComponent-BPaAXZlv.js → BirthDateComponent-d6voii3J.js} +14 -13
- package/chunk/{BirthDateComponent-BPaAXZlv.js.map → BirthDateComponent-d6voii3J.js.map} +1 -1
- package/chunk/{CaptchaComponent-Nm59DuJO.js → CaptchaComponent-Cw4MkQRy.js} +151 -150
- package/chunk/{CaptchaComponent-B-0n8Sgc.js.map → CaptchaComponent-Cw4MkQRy.js.map} +1 -1
- package/chunk/{CaptchaComponent-B-0n8Sgc.js → CaptchaComponent-Da7DkPA_.js} +128 -127
- package/chunk/{CaptchaComponent-Nm59DuJO.js.map → CaptchaComponent-Da7DkPA_.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B47RYyd8.js → ChangeLocaleComponent--uRPSHsI.js} +27 -26
- package/chunk/{ChangeLocaleComponent-B47RYyd8.js.map → ChangeLocaleComponent--uRPSHsI.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-2ItMdEpd.js → ChangeLocaleComponent-CUEmQuoA.js} +27 -26
- package/chunk/{ChangeLocaleComponent-2ItMdEpd.js.map → ChangeLocaleComponent-CUEmQuoA.js.map} +1 -1
- package/chunk/{City-Dx5l48so.js → City-CR2xigNn.js} +14 -13
- package/chunk/{City-BZP2jWJC.js.map → City-CR2xigNn.js.map} +1 -1
- package/chunk/City-DoccJLpM.js +37 -0
- package/chunk/{City-Dx5l48so.js.map → City-DoccJLpM.js.map} +1 -1
- package/chunk/CollegeNameComponent-DwA9T43o.js +41 -0
- package/chunk/{CollegeNameComponent-DF_dcHnu.js.map → CollegeNameComponent-DwA9T43o.js.map} +1 -1
- package/chunk/{CollegeNameComponent-f6_gBtpS.js → CollegeNameComponent-gIG7563E.js} +18 -17
- package/chunk/{CollegeNameComponent-f6_gBtpS.js.map → CollegeNameComponent-gIG7563E.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js → CopyToClipboardComponent-DdLZvzfB.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js.map → CopyToClipboardComponent-DdLZvzfB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js → CopyToClipboardComponent-De_3_3VT.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js.map → CopyToClipboardComponent-De_3_3VT.js.map} +1 -1
- package/chunk/CountryComponentWrapper-D6bRhqUP.js +84 -0
- package/chunk/{CountryComponentWrapper-CDJl-HHu.js.map → CountryComponentWrapper-D6bRhqUP.js.map} +1 -1
- package/chunk/CountryComponentWrapper-PZKJeo-8.js +80 -0
- package/chunk/{CountryComponentWrapper-CPH7Q2C9.js.map → CountryComponentWrapper-PZKJeo-8.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DfiBSI4n.js → DischargeDateComponent-DllDTFXI.js} +39 -37
- package/chunk/{DischargeDateComponent-DfiBSI4n.js.map → DischargeDateComponent-DllDTFXI.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Cx5GtJC0.js → DischargeDateComponent-sCHfnq4x.js} +42 -40
- package/chunk/{DischargeDateComponent-Cx5GtJC0.js.map → DischargeDateComponent-sCHfnq4x.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js → DriverLicenseNumberComponent-CdRJgKXz.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js.map → DriverLicenseNumberComponent-CdRJgKXz.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js → DriverLicenseNumberComponent-iE4uZhjY.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js.map → DriverLicenseNumberComponent-iE4uZhjY.js.map} +1 -1
- package/chunk/{EmailLoopPending-mlaNRUD9.js → EmailLoopPending-B3Y7-M0k.js} +32 -30
- package/chunk/{EmailLoopPending-mlaNRUD9.js.map → EmailLoopPending-B3Y7-M0k.js.map} +1 -1
- package/chunk/{EmailLoopPending-D67NiV5x.js → EmailLoopPending-DPEx2yPl.js} +28 -26
- package/chunk/{EmailLoopPending-D67NiV5x.js.map → EmailLoopPending-DPEx2yPl.js.map} +1 -1
- package/chunk/{ExtraMessage-DpGDn2nE.js → ExtraMessage-CR5rN46Q.js} +7 -7
- package/chunk/{ExtraMessage-DpGDn2nE.js.map → ExtraMessage-CR5rN46Q.js.map} +1 -1
- package/chunk/{ExtraMessage-G5N0ZMea.js → ExtraMessage-Dy5YujvI.js} +7 -7
- package/chunk/{ExtraMessage-G5N0ZMea.js.map → ExtraMessage-Dy5YujvI.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-Bnqi3SpC.js +39 -0
- package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js.map → FirstResponderOrganizationComponent-Bnqi3SpC.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js → FirstResponderOrganizationComponent-CrsqGhmT.js} +17 -16
- package/chunk/{FirstResponderOrganizationComponent-exaiDKTT.js.map → FirstResponderOrganizationComponent-CrsqGhmT.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D6tAkFNC.js → FormFieldInputSelect-DCe1fl-X.js} +7 -7
- package/chunk/{FormFieldInputSelect-BSKPqpm_.js.map → FormFieldInputSelect-DCe1fl-X.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BSKPqpm_.js → FormFieldInputSelect-wzL--dyG.js} +7 -7
- package/chunk/{FormFieldInputSelect-D6tAkFNC.js.map → FormFieldInputSelect-wzL--dyG.js.map} +1 -1
- package/chunk/{FormFieldLayout-KJilu-sR.js → FormFieldLayout-Cx2ljZnE.js} +6 -6
- package/chunk/{FormFieldLayout-KJilu-sR.js.map → FormFieldLayout-Cx2ljZnE.js.map} +1 -1
- package/chunk/{FormFieldLayout-UCIBwDRH.js → FormFieldLayout-eZlxsUFO.js} +6 -6
- package/chunk/{FormFieldLayout-UCIBwDRH.js.map → FormFieldLayout-eZlxsUFO.js.map} +1 -1
- package/chunk/{FormFieldText-B_2IOFED.js → FormFieldText-BqN10-Wh.js} +7 -7
- package/chunk/{FormFieldText-B_2IOFED.js.map → FormFieldText-BqN10-Wh.js.map} +1 -1
- package/chunk/{FormFieldText-CkPmuIPf.js → FormFieldText-CSfUMOnT.js} +7 -7
- package/chunk/{FormFieldText-CkPmuIPf.js.map → FormFieldText-CSfUMOnT.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Bz3TMnYw.js → FormFieldTypeahead-CP2_PAIw.js} +139 -137
- package/chunk/{FormFieldTypeahead-Bz3TMnYw.js.map → FormFieldTypeahead-CP2_PAIw.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BRaA3hcO.js → FormFieldTypeahead-CoH3Km-j.js} +132 -130
- package/chunk/{FormFieldTypeahead-BRaA3hcO.js.map → FormFieldTypeahead-CoH3Km-j.js.map} +1 -1
- package/chunk/{FormFooterComponent-CVXgmWQR.js → FormFooterComponent-BNcMAlwo.js} +502 -502
- package/chunk/{FormFooterComponent-CVXgmWQR.js.map → FormFooterComponent-BNcMAlwo.js.map} +1 -1
- package/chunk/{FormFooterComponent-B4IrNZhK.js → FormFooterComponent-CCnomymd.js} +256 -256
- package/chunk/{FormFooterComponent-B4IrNZhK.js.map → FormFooterComponent-CCnomymd.js.map} +1 -1
- package/chunk/{FormSelectChoice-CbcfEHuQ.js → FormSelectChoice-BtoOF4T1.js} +25 -24
- package/chunk/FormSelectChoice-BtoOF4T1.js.map +1 -0
- package/chunk/{FormSelectChoice-CIB7HacQ.js → FormSelectChoice-OvLHNUCT.js} +29 -28
- package/chunk/FormSelectChoice-OvLHNUCT.js.map +1 -0
- package/chunk/{InputText-C2qEtF0t.js → InputText-CofmfudI.js} +6 -6
- package/chunk/{InputText-Bvj815Th.js.map → InputText-CofmfudI.js.map} +1 -1
- package/chunk/{InputText-Bvj815Th.js → InputText-Dcl3FSxA.js} +6 -6
- package/chunk/{InputText-C2qEtF0t.js.map → InputText-Dcl3FSxA.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js → LicensedProfessionalOrganizationComponent-BpaFeYR-.js} +17 -16
- package/chunk/{LicensedProfessionalOrganizationComponent-3wnxm1gl.js.map → LicensedProfessionalOrganizationComponent-BpaFeYR-.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Do2puR4-.js +38 -0
- package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js.map → LicensedProfessionalOrganizationComponent-Do2puR4-.js.map} +1 -1
- package/chunk/{LogoComponent-CNTRIZ82.js → LogoComponent-1FE2nzPz.js} +10 -9
- package/chunk/{LogoComponent-B4tFzxvs.js.map → LogoComponent-1FE2nzPz.js.map} +1 -1
- package/chunk/LogoComponent-Dwrer09q.js +28 -0
- package/chunk/{LogoComponent-CNTRIZ82.js.map → LogoComponent-Dwrer09q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js → LowIncomeOrganizationComponent-ClsRb34i.js} +37 -35
- package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js.map → LowIncomeOrganizationComponent-ClsRb34i.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js → LowIncomeOrganizationComponent-DtM5LGeH.js} +34 -32
- package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js.map → LowIncomeOrganizationComponent-DtM5LGeH.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js → MedicalProfessionalOrganizationComponent-BGx4efvQ.js} +17 -16
- package/chunk/{MedicalProfessionalOrganizationComponent-DM-H8kwu.js.map → MedicalProfessionalOrganizationComponent-BGx4efvQ.js.map} +1 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DH-kRN2y.js +39 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js.map → MedicalProfessionalOrganizationComponent-DH-kRN2y.js.map} +1 -1
- package/chunk/{MemberIdComponent-DH_i2bP8.js → MemberIdComponent-Bwd8_Zby.js} +15 -14
- package/chunk/{MemberIdComponent-DH_i2bP8.js.map → MemberIdComponent-Bwd8_Zby.js.map} +1 -1
- package/chunk/MemberIdComponent-Op5eJ6S1.js +40 -0
- package/chunk/{MemberIdComponent-BviEO2xf.js.map → MemberIdComponent-Op5eJ6S1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js → MembershipOrganizationComponent-B7Xe1YGg.js} +17 -16
- package/chunk/{MembershipOrganizationComponent-Dzoxr8Ix.js.map → MembershipOrganizationComponent-B7Xe1YGg.js.map} +1 -1
- package/chunk/MembershipOrganizationComponent-jn62suuT.js +38 -0
- package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js.map → MembershipOrganizationComponent-jn62suuT.js.map} +1 -1
- package/chunk/Message-B40rYRnQ.js +660 -0
- package/chunk/Message-B40rYRnQ.js.map +1 -0
- package/chunk/Message-DeYfEIfJ.js +656 -0
- package/chunk/Message-DeYfEIfJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js → PersonalInfoStepSubmitButton-CT7lguuZ.js} +32 -31
- package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js.map → PersonalInfoStepSubmitButton-CT7lguuZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js → PersonalInfoStepSubmitButton-jF2Q-TQ1.js} +42 -41
- package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js.map → PersonalInfoStepSubmitButton-jF2Q-TQ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js → PersonalInfoStepWrapper-8bWmgyhA.js} +10 -10
- package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js.map → PersonalInfoStepWrapper-8bWmgyhA.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Xz-23FXk.js → PersonalInfoStepWrapper-Wq0T4gth.js} +17 -17
- package/chunk/PersonalInfoStepWrapper-Wq0T4gth.js.map +1 -0
- package/chunk/{PostalCodeComponent-Mn1fl8iu.js → PostalCodeComponent-CM7B9nbQ.js} +14 -13
- package/chunk/{PostalCodeComponent-B1YC9e96.js.map → PostalCodeComponent-CM7B9nbQ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-B1YC9e96.js → PostalCodeComponent-DOaiP-XH.js} +14 -13
- package/chunk/{PostalCodeComponent-Mn1fl8iu.js.map → PostalCodeComponent-DOaiP-XH.js.map} +1 -1
- package/chunk/{SSN-sfKSdRmS.js → SSN-CLdLfiNj.js} +16 -15
- package/chunk/{SSN-B1VwdvmE.js.map → SSN-CLdLfiNj.js.map} +1 -1
- package/chunk/{SSN-B1VwdvmE.js → SSN-CxrFw1Bw.js} +14 -13
- package/chunk/{SSN-sfKSdRmS.js.map → SSN-CxrFw1Bw.js.map} +1 -1
- package/chunk/{StateSelectComponent-DhkRqivG.js → StateSelectComponent-Bs0zMXwM.js} +14 -13
- package/chunk/{StateSelectComponent-DhkRqivG.js.map → StateSelectComponent-Bs0zMXwM.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7eQinP3.js → StateSelectComponent-CDUxaxhl.js} +12 -11
- package/chunk/{StateSelectComponent-B7eQinP3.js.map → StateSelectComponent-CDUxaxhl.js.map} +1 -1
- package/chunk/{StatusComponent-DJMknEBZ.js → StatusComponent-B9xHqfyT.js} +14 -13
- package/chunk/{StatusComponent-DHvMI6LS.js.map → StatusComponent-B9xHqfyT.js.map} +1 -1
- package/chunk/StatusComponent-wmBrTgh8.js +42 -0
- package/chunk/{StatusComponent-DJMknEBZ.js.map → StatusComponent-wmBrTgh8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-8s929DzY.js +177 -0
- package/chunk/{StepAgePersonalInfo-15a4u8lW.js.map → StepAgePersonalInfo-8s929DzY.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-Bbh1q-Ny.js +173 -0
- package/chunk/{StepAgePersonalInfo-D2ax7PaI.js.map → StepAgePersonalInfo-Bbh1q-Ny.js.map} +1 -1
- package/chunk/{StepCard-BEucy3JJ.js → StepCard-C1asZqmo.js} +5 -5
- package/chunk/{StepCard-BEucy3JJ.js.map → StepCard-C1asZqmo.js.map} +1 -1
- package/chunk/{StepCard-Blp7ZcI-.js → StepCard-CSGX5DWE.js} +5 -5
- package/chunk/{StepCard-Blp7ZcI-.js.map → StepCard-CSGX5DWE.js.map} +1 -1
- package/chunk/StepCollectIdentifier-BnKW0Kpp.js +61 -0
- package/chunk/{StepCollectIdentifier-_kan_kzu.js.map → StepCollectIdentifier-BnKW0Kpp.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-_kan_kzu.js → StepCollectIdentifier-eNuejbhk.js} +20 -19
- package/chunk/{StepCollectIdentifier-8Wsj7KLS.js.map → StepCollectIdentifier-eNuejbhk.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js} +40 -35
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js.map → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js} +42 -45
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js.map → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Bxj7rasK.js +373 -0
- package/chunk/{StepCollectPersonalInfo-PuREf52a.js.map → StepCollectPersonalInfo-Bxj7rasK.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-DmTVCQ3_.js +369 -0
- package/chunk/{StepCollectPersonalInfo-DWygvbfF.js.map → StepCollectPersonalInfo-DmTVCQ3_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js → StepCompleteAuthentication-Bjs9HhHK.js} +30 -25
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js.map → StepCompleteAuthentication-Bjs9HhHK.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js → StepCompleteAuthentication-CK8SYf3r.js} +31 -34
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js.map → StepCompleteAuthentication-CK8SYf3r.js.map} +1 -1
- package/chunk/{StepConsolation-BFfTMQZf.js → StepConsolation-Do3BvzLY.js} +27 -25
- package/chunk/{StepConsolation-C5SL95Kz.js.map → StepConsolation-Do3BvzLY.js.map} +1 -1
- package/chunk/{StepConsolation-C5SL95Kz.js → StepConsolation-qIEGxdup.js} +24 -22
- package/chunk/{StepConsolation-BFfTMQZf.js.map → StepConsolation-qIEGxdup.js.map} +1 -1
- package/chunk/{StepDocUpload-DFGy-RZb.js → StepDocUpload-DZFVexGs.js} +109 -108
- package/chunk/{StepDocUpload-Cfe9u-Yg.js.map → StepDocUpload-DZFVexGs.js.map} +1 -1
- package/chunk/{StepDocUpload-Cfe9u-Yg.js → StepDocUpload-Dwczk00D.js} +479 -478
- package/chunk/{StepDocUpload-DFGy-RZb.js.map → StepDocUpload-Dwczk00D.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js} +30 -25
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js.map → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js} +47 -50
- package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js.map → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js.map} +1 -1
- package/chunk/{StepEmailLoop-eZzSYgjK.js → StepEmailLoop-CPF3-q6j.js} +33 -32
- package/chunk/{StepEmailLoop-eZzSYgjK.js.map → StepEmailLoop-CPF3-q6j.js.map} +1 -1
- package/chunk/{StepEmailLoop-BvbQpNhg.js → StepEmailLoop-CuJwIM1_.js} +35 -34
- package/chunk/{StepEmailLoop-BvbQpNhg.js.map → StepEmailLoop-CuJwIM1_.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js → StepEmploymentPersonalInfo-D5nZkseJ.js} +75 -78
- package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js.map → StepEmploymentPersonalInfo-D5nZkseJ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js → StepEmploymentPersonalInfo-DkDvxjer.js} +60 -55
- package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js.map → StepEmploymentPersonalInfo-DkDvxjer.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js → StepFirstResponderPersonalInfo-CLxwkudV.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js.map → StepFirstResponderPersonalInfo-CLxwkudV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js → StepFirstResponderPersonalInfo-HdJfcO_z.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js.map → StepFirstResponderPersonalInfo-HdJfcO_z.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js} +52 -55
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js.map → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js} +32 -27
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js.map → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js} +54 -57
- package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js.map → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js} +33 -28
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js.map → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CWyxFjNe.js → StepIDCheckLoop-DUYjdP69.js} +8 -8
- package/chunk/{StepIDCheckLoop-CWyxFjNe.js.map → StepIDCheckLoop-DUYjdP69.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BRlf5SAt.js → StepIDCheckLoop-qIX2zLc8.js} +8 -8
- package/chunk/{StepIDCheckLoop-BRlf5SAt.js.map → StepIDCheckLoop-qIX2zLc8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js → StepIDCheckLoopOnfido-CV3kt9oK.js} +81 -79
- package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js.map → StepIDCheckLoopOnfido-CV3kt9oK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js → StepIDCheckLoopOnfido-tvPCLWF8.js} +66 -64
- package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js.map → StepIDCheckLoopOnfido-tvPCLWF8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js → StepIDCheckLoopRegula-BILUu5tf.js} +41 -40
- package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js.map → StepIDCheckLoopRegula-BILUu5tf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js → StepIDCheckLoopRegula-De-6wF71.js} +52 -51
- package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js.map → StepIDCheckLoopRegula-De-6wF71.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js → StepLicensedProfessionalPersonalInfo-1usJS0LC.js} +35 -30
- package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js.map → StepLicensedProfessionalPersonalInfo-1usJS0LC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js} +57 -60
- package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js.map → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js → StepLowIncomePersonalInfo-BDfU93Fg.js} +83 -83
- package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js.map → StepLowIncomePersonalInfo-BDfU93Fg.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js → StepLowIncomePersonalInfo-Gb1n2pGQ.js} +80 -80
- package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js.map → StepLowIncomePersonalInfo-Gb1n2pGQ.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-39h1tErA.js +209 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js.map → StepMedicalProfessionalPersonalInfo-39h1tErA.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js} +79 -74
- package/chunk/{StepMedicalProfessionalPersonalInfo-BM1Innu0.js.map → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BaXygfnb.js +160 -0
- package/chunk/{StepMemberPersonalInfo-6-8V13Wd.js.map → StepMemberPersonalInfo-BaXygfnb.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BcAmXMmQ.js +156 -0
- package/chunk/{StepMemberPersonalInfo-JPen0Cdx.js.map → StepMemberPersonalInfo-BcAmXMmQ.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BGrXmC7p.js +143 -0
- package/chunk/{StepMoverPersonalInfo-8W0j39Gd.js.map → StepMoverPersonalInfo-BGrXmC7p.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BaKNdrcZ.js +147 -0
- package/chunk/{StepMoverPersonalInfo-BiHRl_6u.js.map → StepMoverPersonalInfo-BaKNdrcZ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CpFR0L_g.js → StepOverrideComponent-BB3pmLMm.js} +35 -34
- package/chunk/{StepOverrideComponent-CpFR0L_g.js.map → StepOverrideComponent-BB3pmLMm.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BjEUdOOY.js → StepOverrideComponent-Bs0kS5Fn.js} +32 -31
- package/chunk/{StepOverrideComponent-BjEUdOOY.js.map → StepOverrideComponent-Bs0kS5Fn.js.map} +1 -1
- package/chunk/{StepSMSLoop-B8V9weE6.js → StepSMSLoop-BzPFHGko.js} +45 -39
- package/chunk/{StepSMSLoop-B8V9weE6.js.map → StepSMSLoop-BzPFHGko.js.map} +1 -1
- package/chunk/{StepSMSLoop-D7PRpbEu.js → StepSMSLoop-ChHl3FJv.js} +37 -39
- package/chunk/{StepSMSLoop-D7PRpbEu.js.map → StepSMSLoop-ChHl3FJv.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js → StepSocialSecurityNumber-D-MJ_k8J.js} +39 -38
- package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js.map → StepSocialSecurityNumber-D-MJ_k8J.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js → StepSocialSecurityNumber-DWVLAzbC.js} +36 -35
- package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js.map → StepSocialSecurityNumber-DWVLAzbC.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BBZZ7gam.js +237 -0
- package/chunk/{StepStudentPersonalInfo-Dvtm83FY.js.map → StepStudentPersonalInfo-BBZZ7gam.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BUc4GbpM.js +233 -0
- package/chunk/{StepStudentPersonalInfo-ChDYBAZG.js.map → StepStudentPersonalInfo-BUc4GbpM.js.map} +1 -1
- package/chunk/{StepSuccess-D7nS4d-g.js → StepSuccess-CZdiXPoC.js} +59 -57
- package/chunk/{StepSuccess-D7nS4d-g.js.map → StepSuccess-CZdiXPoC.js.map} +1 -1
- package/chunk/{StepSuccess-BixNUZ52.js → StepSuccess-l84qE6Kp.js} +49 -47
- package/chunk/{StepSuccess-BixNUZ52.js.map → StepSuccess-l84qE6Kp.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-Bn402aTO.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-DF0rT1j8.js.map → StepTeacherPersonalInfo-Bn402aTO.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BuMUyAcB.js +157 -0
- package/chunk/{StepTeacherPersonalInfo-BuoLWqai.js.map → StepTeacherPersonalInfo-BuMUyAcB.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/TeacherSchoolComponent-D9ZZzXXt.js +41 -0
- package/chunk/{TeacherSchoolComponent-C1Wugzcm.js.map → TeacherSchoolComponent-D9ZZzXXt.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js → TeacherSchoolComponent-uIDJa9LF.js} +18 -17
- package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js.map → TeacherSchoolComponent-uIDJa9LF.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DXjtFZZd.js → TestingRouteOverrides-Dq_tcy8v.js} +32 -32
- package/chunk/TestingRouteOverrides-Dq_tcy8v.js.map +1 -0
- package/chunk/{TestingRouteOverrides-fnlJLg1Z.js → TestingRouteOverrides-FmMiDhr9.js} +30 -30
- package/chunk/TestingRouteOverrides-FmMiDhr9.js.map +1 -0
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{Message-BJIH7xEA.js → VerificationApiClient-D-j3JgWo.js} +326 -970
- package/chunk/VerificationApiClient-D-j3JgWo.js.map +1 -0
- package/chunk/{Message-DcW8EpbY.js → VerificationApiClient-DbvSVsoF.js} +331 -975
- package/chunk/VerificationApiClient-DbvSVsoF.js.map +1 -0
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-Ckbc78Ow.js +12 -0
- package/chunk/{countryUtils-BsXU1kSm.js.map → countryUtils-Ckbc78Ow.js.map} +1 -1
- package/chunk/{countryUtils-BsXU1kSm.js → countryUtils-DGu3xN9n.js} +5 -5
- package/chunk/{countryUtils-CsytXtrZ.js.map → countryUtils-DGu3xN9n.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-CrOf4z_h.js → downshift.esm-BHmrbwB5.js} +156 -151
- package/chunk/{downshift.esm-pUcOp4cT.js.map → downshift.esm-BHmrbwB5.js.map} +1 -1
- package/chunk/{downshift.esm-pUcOp4cT.js → downshift.esm-Bo38bpfV.js} +135 -138
- package/chunk/{downshift.esm-CrOf4z_h.js.map → downshift.esm-Bo38bpfV.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{intl-BK4prEGw.js → empties-DtevBq9w.js} +819 -469
- package/chunk/empties-DtevBq9w.js.map +1 -0
- package/chunk/{i18next-iyVj5hRL.js → empties-xLh6FzDA.js} +685 -333
- package/chunk/empties-xLh6FzDA.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-D0X_qdc-.js → hooks-D4L3tNqJ.js} +59 -56
- package/chunk/{hooks-D0X_qdc-.js.map → hooks-D4L3tNqJ.js.map} +1 -1
- package/chunk/{hooks-B7aeAwHn.js → hooks-df3XJbin.js} +81 -86
- package/chunk/{hooks-B7aeAwHn.js.map → hooks-df3XJbin.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{jsx-runtime-BUMIo32n.js → index.es-Cir3-TDI.js} +496 -895
- package/chunk/index.es-Cir3-TDI.js.map +1 -0
- package/chunk/{jsx-runtime-DwmrsRqi.js → index.es-Dw43pp1V.js} +496 -895
- package/chunk/index.es-Dw43pp1V.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQgZVOUX.js +414 -0
- package/chunk/jsx-runtime-DQgZVOUX.js.map +1 -0
- package/chunk/jsx-runtime-h9ybVYa3.js +410 -0
- package/chunk/jsx-runtime-h9ybVYa3.js.map +1 -0
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/{mocks-DV23paUj.js → mocks-D7frr82N.js} +5 -5
- package/chunk/{mocks-DV23paUj.js.map → mocks-D7frr82N.js.map} +1 -1
- package/chunk/{mocks-R-p7VtJz.js → mocks-jT71x7MH.js} +5 -5
- package/chunk/{mocks-R-p7VtJz.js.map → mocks-jT71x7MH.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DlZHVdvX.js → programThemeGetters-B2hrl_I4.js} +378 -398
- package/chunk/programThemeGetters-B2hrl_I4.js.map +1 -0
- package/chunk/{programThemeGetters-DxY7DDdO.js → programThemeGetters-BhNmQw7_.js} +1743 -1766
- package/chunk/programThemeGetters-BhNmQw7_.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-Dztw-HNP.js → stepComponentHelpers-3SlH9niv.js} +36 -37
- package/chunk/{stepComponentHelpers-CyqXTDdj.js.map → stepComponentHelpers-3SlH9niv.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CyqXTDdj.js → stepComponentHelpers-BcYAcI_q.js} +26 -27
- package/chunk/{stepComponentHelpers-Dztw-HNP.js.map → stepComponentHelpers-BcYAcI_q.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-1jasoT_J.js +64 -0
- package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js.map → useCollectFieldsEndpoint-1jasoT_J.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js → useCollectFieldsEndpoint-CE4ZmnRu.js} +21 -20
- package/chunk/{useCollectFieldsEndpoint-Cu69CIHE.js.map → useCollectFieldsEndpoint-CE4ZmnRu.js.map} +1 -1
- package/chunk/{useMetrics-O66_lNx5.js → useMetrics-B96ha_3m.js} +16 -16
- package/chunk/{useMetrics-O66_lNx5.js.map → useMetrics-B96ha_3m.js.map} +1 -1
- package/chunk/{useMetrics-C13Ap129.js → useMetrics-BV3Mnauz.js} +16 -16
- package/chunk/{useMetrics-C13Ap129.js.map → useMetrics-BV3Mnauz.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1054 -1049
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-B3mQalKa.js +0 -37
- package/chunk/City-BZP2jWJC.js +0 -36
- package/chunk/CollegeNameComponent-DF_dcHnu.js +0 -40
- package/chunk/CountryComponentWrapper-CDJl-HHu.js +0 -84
- package/chunk/CountryComponentWrapper-CPH7Q2C9.js +0 -80
- package/chunk/FirstResponderOrganizationComponent-exaiDKTT.js +0 -38
- package/chunk/FormSelectChoice-CIB7HacQ.js.map +0 -1
- package/chunk/FormSelectChoice-CbcfEHuQ.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-3wnxm1gl.js +0 -37
- package/chunk/LogoComponent-B4tFzxvs.js +0 -27
- package/chunk/MedicalProfessionalOrganizationComponent-DM-H8kwu.js +0 -38
- package/chunk/MemberIdComponent-BviEO2xf.js +0 -39
- package/chunk/MembershipOrganizationComponent-Dzoxr8Ix.js +0 -37
- package/chunk/Message-BJIH7xEA.js.map +0 -1
- package/chunk/Message-DcW8EpbY.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-Xz-23FXk.js.map +0 -1
- package/chunk/StatusComponent-DHvMI6LS.js +0 -41
- package/chunk/StepAgePersonalInfo-15a4u8lW.js +0 -172
- package/chunk/StepAgePersonalInfo-D2ax7PaI.js +0 -176
- package/chunk/StepCollectIdentifier-8Wsj7KLS.js +0 -60
- package/chunk/StepCollectPersonalInfo-DWygvbfF.js +0 -372
- package/chunk/StepCollectPersonalInfo-PuREf52a.js +0 -368
- package/chunk/StepMedicalProfessionalPersonalInfo-BM1Innu0.js +0 -212
- package/chunk/StepMemberPersonalInfo-6-8V13Wd.js +0 -159
- package/chunk/StepMemberPersonalInfo-JPen0Cdx.js +0 -155
- package/chunk/StepMoverPersonalInfo-8W0j39Gd.js +0 -146
- package/chunk/StepMoverPersonalInfo-BiHRl_6u.js +0 -142
- package/chunk/StepStudentPersonalInfo-ChDYBAZG.js +0 -232
- package/chunk/StepStudentPersonalInfo-Dvtm83FY.js +0 -236
- package/chunk/StepTeacherPersonalInfo-BuoLWqai.js +0 -152
- package/chunk/StepTeacherPersonalInfo-DF0rT1j8.js +0 -156
- package/chunk/TeacherSchoolComponent-C1Wugzcm.js +0 -40
- package/chunk/TestingRouteOverrides-DXjtFZZd.js.map +0 -1
- package/chunk/TestingRouteOverrides-fnlJLg1Z.js.map +0 -1
- package/chunk/countryUtils-CsytXtrZ.js +0 -12
- package/chunk/empties-BBKd53_B.js +0 -363
- package/chunk/empties-BBKd53_B.js.map +0 -1
- package/chunk/empties-DcQjcgEV.js +0 -367
- package/chunk/empties-DcQjcgEV.js.map +0 -1
- package/chunk/i18next-iyVj5hRL.js.map +0 -1
- package/chunk/intl-BK4prEGw.js.map +0 -1
- package/chunk/jsx-runtime-BUMIo32n.js.map +0 -1
- package/chunk/jsx-runtime-DwmrsRqi.js.map +0 -1
- package/chunk/programThemeGetters-DlZHVdvX.js.map +0 -1
- package/chunk/programThemeGetters-DxY7DDdO.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-Cu69CIHE.js +0 -63
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollegeNameComponent-
|
|
1
|
+
{"version":3,"file":"CollegeNameComponent-gIG7563E.js","names":["getOptions","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","require_jsx_runtime","CollegeNameComponent","programConfiguration","useMessage","urlAddSchoolForm","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/CollegeName/CollegeNameComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { getOptions } from \"../../../options/options\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramConfiguration/programConfigurationGetters\";\n\nexport const CollegeNameComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps<Organization> & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\n const { msg } = useMessage();\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"college-name\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"schoolNamePlaceholder\" })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"University / College name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={isRequired}\n showPlaceholderAndHideLabel={!!placeholder}\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;;A,aAgBaQ,KAAwB,EACnC,UACA,cACA,aACA,wBACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC2D;CACtE,IAAMC,IAAuBR,EAAwB,GAC/C,EAAE,WAAQS,EAAW,GACrBC,KAAoBX,EAAW,CAAC,CAAC,oBAAoB,GAAA,CAAI,KAAK;CAQpE,OANsBI,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBO,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,wBAAwB,CAAC;EAC/D,OAAO,iBAAA,GAAAT,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAA6B,CAAA;EACzF,cACEa,KACE,iBAAA,GAAAV,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGO;EACZ,6BAA6B,CAAC,CAACW;EAC/B,cAAcZ,EAAgBe,EAAoB,WAAWR,CAAoB;EAC/D;EACR;CACX,CAAA;AAEL"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.316.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793815392848
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { Lt as e, zt as t } from "./empties-xLh6FzDA.js";
|
|
9
|
+
import { r as n, t as r } from "./jsx-runtime-h9ybVYa3.js";
|
|
10
10
|
import { t as i } from "./clsx-DC8twM4t.js";
|
|
11
11
|
//#region ../node_modules/toggle-selection/index.js
|
|
12
|
-
var a = /* @__PURE__ */
|
|
12
|
+
var a = /* @__PURE__ */ e(((e, t) => {
|
|
13
13
|
t.exports = function() {
|
|
14
14
|
var e = document.getSelection();
|
|
15
15
|
if (!e.rangeCount) return function() {};
|
|
@@ -27,7 +27,7 @@ var a = /* @__PURE__ */ t(((e, t) => {
|
|
|
27
27
|
}), t && t.focus();
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
})), o = /* @__PURE__ */
|
|
30
|
+
})), o = /* @__PURE__ */ e(((e, t) => {
|
|
31
31
|
var n = a(), r = {
|
|
32
32
|
"text/plain": "Text",
|
|
33
33
|
"text/html": "Url",
|
|
@@ -65,7 +65,7 @@ var a = /* @__PURE__ */ t(((e, t) => {
|
|
|
65
65
|
return f;
|
|
66
66
|
}
|
|
67
67
|
t.exports = s;
|
|
68
|
-
})), s = /* @__PURE__ */
|
|
68
|
+
})), s = /* @__PURE__ */ t(n(), 1), c = /* @__PURE__ */ t(o(), 1), l = r(), u = 2e3, d = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden", f = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible", p = class extends s.Component {
|
|
69
69
|
notificationTimeout;
|
|
70
70
|
timeoutRef;
|
|
71
71
|
constructor(e) {
|
package/chunk/{CopyToClipboardComponent-BN9qCovT.js.map → CopyToClipboardComponent-DdLZvzfB.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboardComponent-BN9qCovT.js","names":["__toESM","__commonJSMin","require_react","require_jsx_runtime","clsx","require_toggle_selection","selection","active","ranges","i","range","require_copy_to_clipboard","deselectCurrent","clipboardToIE11Formatting","\"default\"","defaultMessage","format","copyKey","message","copy","debug","reselectPrevious","mark","success","options","text","e","err","import_react","import_copy_to_clipboard","import_jsx_runtime","twoSeconds","classNameHidden","classNameVisible","CopyToClipboard","props","textToCopy","className","isShowing","notificationText","children"],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n className?: string;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children, className } = this.props;\n return (\n <div className={clsx(\"sid-to-clipboard\", className)}>\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"ignoreList":[0,1],"mappings":";;;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAIM,IAAY,SAAS,aAAa;EACtC,IAAI,CAACA,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHDC,IAAS,SAAS,eAElBC,IAAS,CAAC,GACLC,IAAI,GAAGA,IAAIH,EAAU,YAAY,KACxC,EAAO,KAAKA,EAAU,WAAWG,CAAC,CAAC;EAGrC,QAAQF,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF,SACE,IAAS;EAEb;EAGA,OADAD,EAAU,gBAAgB,GACnB,WAAY;GAUjB,AATAA,EAAU,SAAS,WACnBA,EAAU,gBAAgB,GAErBA,EAAU,cACbE,EAAO,QAAQ,SAAS,GAAO;IAC7B,EAAU,SAASE,CAAK;GAC1B,CAAC,GAGHH,KACAA,EAAO,MAAM;EACf;CACF;;CCpCA,IAAIK,IAAAP,EAAA,GAEAQ,IAA4B;EAC9B,cAAc;EACd,aAAa;EACbC,SAAW;CACb,GAEIC,IAAiB;CAErB,SAASC,EAAO,GAAS;EACvB,IAAIC,KAAW,YAAY,KAAK,UAAU,SAAS,IAAI,MAAM,UAAU;EACvE,OAAOC,EAAQ,QAAQ,iBAAiBD,CAAO;CACjD;CAEA,SAASE,EAAK,GAAM,GAAS;EAC3B,IAAIC,GACFF,GACAG,GACAX,GACAJ,GACAgB,GACAC,IAAU;EAIZ,AAHA,AACEC,MAAU,CAAC,GAEb,IAAQA,EAAQ,SAAS;EACzB,IAAI;GAkDF,IAjDA,IAAmBZ,EAAgB,GAEnC,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GQ,IAAYL,IAAmBD;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;IAEC,UAAAM,MAAcC,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAAT,EAAA,IAAA,CAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;IAET,UAAAU,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
1
|
+
{"version":3,"file":"CopyToClipboardComponent-DdLZvzfB.js","names":["__commonJSMin","__toESM","require_react","require_jsx_runtime","clsx","require_toggle_selection","selection","active","ranges","i","range","require_copy_to_clipboard","deselectCurrent","clipboardToIE11Formatting","\"default\"","defaultMessage","format","copyKey","message","copy","debug","reselectPrevious","mark","success","options","text","e","err","import_react","import_copy_to_clipboard","import_jsx_runtime","twoSeconds","classNameHidden","classNameVisible","CopyToClipboard","props","textToCopy","className","isShowing","notificationText","children"],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n className?: string;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children, className } = this.props;\n return (\n <div className={clsx(\"sid-to-clipboard\", className)}>\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"ignoreList":[0,1],"mappings":";;;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAIM,IAAY,SAAS,aAAa;EACtC,IAAI,CAACA,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHDC,IAAS,SAAS,eAElBC,IAAS,CAAC,GACLC,IAAI,GAAGA,IAAIH,EAAU,YAAY,KACxC,EAAO,KAAKA,EAAU,WAAWG,CAAC,CAAC;EAGrC,QAAQF,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF,SACE,IAAS;EAEb;EAGA,OADAD,EAAU,gBAAgB,GACnB,WAAY;GAUjB,AATAA,EAAU,SAAS,WACnBA,EAAU,gBAAgB,GAErBA,EAAU,cACbE,EAAO,QAAQ,SAAS,GAAO;IAC7B,EAAU,SAASE,CAAK;GAC1B,CAAC,GAGHH,KACAA,EAAO,MAAM;EACf;CACF;;CCpCA,IAAIK,IAAAP,EAAA,GAEAQ,IAA4B;EAC9B,cAAc;EACd,aAAa;EACbC,SAAW;CACb,GAEIC,IAAiB;CAErB,SAASC,EAAO,GAAS;EACvB,IAAIC,KAAW,YAAY,KAAK,UAAU,SAAS,IAAI,MAAM,UAAU;EACvE,OAAOC,EAAQ,QAAQ,iBAAiBD,CAAO;CACjD;CAEA,SAASE,EAAK,GAAM,GAAS;EAC3B,IAAIC,GACFF,GACAG,GACAX,GACAJ,GACAgB,GAC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AC,OAAD;GAAK,WAAW1B,EAAK,oBAAoBiC,CAAS;GAAlD,UAAA,CACE,iBAAA,GAAAP,EAAA,IAAA,CAAC,OAAD;IACE,WAAW,GAAGQ,IAAYL,IAAmBD;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;IAEC,UAAAM,MAAcC,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAAT,EAAA,IAAA,CAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;IAET,UAAAU,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.316.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793815397313
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { Lt as e, zt as t } from "./empties-DtevBq9w.js";
|
|
13
|
+
import { r as n, t as r } from "./jsx-runtime-DQgZVOUX.js";
|
|
14
14
|
import { t as i } from "./clsx-DC8twM4t.js";
|
|
15
15
|
//#region ../node_modules/toggle-selection/index.js
|
|
16
|
-
var a = /* @__PURE__ */
|
|
16
|
+
var a = /* @__PURE__ */ e(((e, t) => {
|
|
17
17
|
t.exports = function() {
|
|
18
18
|
var e = document.getSelection();
|
|
19
19
|
if (!e.rangeCount) return function() {};
|
|
@@ -31,7 +31,7 @@ var a = /* @__PURE__ */ t(((e, t) => {
|
|
|
31
31
|
}), t && t.focus();
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
})), o = /* @__PURE__ */
|
|
34
|
+
})), o = /* @__PURE__ */ e(((e, t) => {
|
|
35
35
|
var n = a(), r = {
|
|
36
36
|
"text/plain": "Text",
|
|
37
37
|
"text/html": "Url",
|
|
@@ -69,7 +69,7 @@ var a = /* @__PURE__ */ t(((e, t) => {
|
|
|
69
69
|
return f;
|
|
70
70
|
}
|
|
71
71
|
t.exports = s;
|
|
72
|
-
})), s = /* @__PURE__ */
|
|
72
|
+
})), s = /* @__PURE__ */ t(n(), 1), c = /* @__PURE__ */ t(o(), 1), l = r(), u = 2e3, d = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden", f = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible", p = class extends s.Component {
|
|
73
73
|
notificationTimeout;
|
|
74
74
|
timeoutRef;
|
|
75
75
|
constructor(e) {
|
package/chunk/{CopyToClipboardComponent-Dag4rxf8.js.map → CopyToClipboardComponent-De_3_3VT.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboardComponent-Dag4rxf8.js","names":["__toESM","__commonJSMin","require_react","require_jsx_runtime","clsx","require_toggle_selection","selection","active","ranges","i","range","require_copy_to_clipboard","deselectCurrent","clipboardToIE11Formatting","\"default\"","defaultMessage","format","copyKey","message","copy","debug","reselectPrevious","mark","success","options","text","e","err","import_react","import_copy_to_clipboard","import_jsx_runtime","twoSeconds","classNameHidden","classNameVisible","CopyToClipboard","props","textToCopy","className","isShowing","notificationText","children"],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n className?: string;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children, className } = this.props;\n return (\n <div className={clsx(\"sid-to-clipboard\", className)}>\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"ignoreList":[0,1],"mappings":";;;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAIM,IAAY,SAAS,aAAa;EACtC,IAAI,CAACA,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHDC,IAAS,SAAS,eAElBC,IAAS,CAAC,GACLC,IAAI,GAAGA,IAAIH,EAAU,YAAY,KACxC,EAAO,KAAKA,EAAU,WAAWG,CAAC,CAAC;EAGrC,QAAQF,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF,SACE,IAAS;EAEb;EAGA,OADAD,EAAU,gBAAgB,GACnB,WAAY;GAUjB,AATAA,EAAU,SAAS,WACnBA,EAAU,gBAAgB,GAErBA,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AAuB;EACrB,aAAa,KAAK,UAAU;CAC9B;CAEA,SAAS;EACP,IAAM,EAAE,kBAAe,KAAK;EAI5B,CAHA,GAAAF,EAAA,QAAA,CAAgBO,CAAU,GAC1B,KAAK,gBAAgB,EAAE,WAAW,GAAK,EAAE,GACzC,aAAa,KAAK,UAAU,GAC5B,KAAK,aAAa,iBAAiB;GACjC,KAAK,gBAAgB,EAAE,WAAW,GAAM,EAAE;EAC5C,GAAG,KAAK,mBAAmB;CAC7B;CAEA,SAAS;EACP,IAAM,EAAE,iBAAc,KAAK,OACrB,EAAE,qBAAkB,aAAU,iBAAc,KAAK;EACvD,OACE,iBAAA,GAAAN,EAAA,KAAA,CAAC,OAAD;GAAK,WAAW1B,EAAK,oBAAoBiC,CAAS;GAAlD,UAAA,CACE,iBAAA,GAAAP,EAAA,IAAA,CAAC,OAAD;IACE,WAAW,GAAGQ,IAAYL,IAAmBD;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;IAEC,UAAAM,MAAcC,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAAT,EAAA,IAAA,CAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;IAET,UAAAU,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
1
|
+
{"version":3,"file":"CopyToClipboardComponent-De_3_3VT.js","names":["__commonJSMin","__toESM","require_react","require_jsx_runtime","clsx","require_toggle_selection","selection","active","ranges","i","range","require_copy_to_clipboard","deselectCurrent","clipboardToIE11Formatting","\"default\"","defaultMessage","format","copyKey","message","copy","debug","reselectPrevious","mark","success","options","text","e","err","import_react","import_copy_to_clipboard","import_jsx_runtime","twoSeconds","classNameHidden","classNameVisible","CopyToClipboard","props","textToCopy","className","isShowing","notificationText","children"],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n className?: string;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children, className } = this.props;\n return (\n <div className={clsx(\"sid-to-clipboard\", className)}>\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"ignoreList":[0,1],"mappings":";;;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAIM,IAAY,SAAS,aAAa;EACtC,IAAI,CAACA,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHDC,IAAS,SAAS,eAElBC,IAAS,CAAC,GACLC,IAAI,GAAGA,IAAIH,EAAU,YAAY,KACxC,EAAO,KAAKA,EAAU,WAAWG,CAAC,CAAC;EAGrC,QAAQF,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ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K,IAAI,GACnC,KAAK,QAAQ,EAAE,WAAW,GAAM,GAChC,AAGE,KAAK,sBAHHA,EAAM,sBACmBA,EAAM,sBAENJ;CAE/B;CAEA,uBAAuB;EACrB,aAAa,KAAK,UAAU;CAC9B;CAEA,SAAS;EACP,IAAM,EAAE,kBAAe,KAAK;EAI5B,CAHA,GAAAF,EAAA,QAAA,CAAgBO,CAAU,GAC1B,KAAK,gBAAgB,EAAE,WAAW,GAAK,EAAE,GACzC,aAAa,KAAK,UAAU,GAC5B,KAAK,aAAa,iBAAiB;GACjC,KAAK,gBAAgB,EAAE,WAAW,GAAM,EAAE;EAC5C,GAAG,KAAK,mBAAmB;CAC7B;CAEA,SAAS;EACP,IAAM,EAAE,iBAAc,KAAK,OACrB,EAAE,qBAAkB,aAAU,iBAAc,KAAK;EACvD,OACE,iBAAA,GAAAN,EAAA,KAAA,CAAC,OAAD;GAAK,WAAW1B,EAAK,oBAAoBiC,CAAS;GAAlD,UAAA,CACE,iBAAA,GAAAP,EAAA,IAAA,CAAC,OAAD;IACE,WAAW,GAAGQ,IAAYL,IAAmBD;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;IAEC,UAAAM,MAAcC,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAAT,EAAA,IAAA,CAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;IAET,UAAAU,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.316.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793815397313
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
11
|
+
*/
|
|
12
|
+
import { S as e, a as t, zt as n } from "./empties-DtevBq9w.js";
|
|
13
|
+
import { r, t as i } from "./jsx-runtime-DQgZVOUX.js";
|
|
14
|
+
import { n as a } from "./Message-B40rYRnQ.js";
|
|
15
|
+
import { o } from "./programThemeGetters-B2hrl_I4.js";
|
|
16
|
+
import { y as s } from "./FormFooterComponent-BNcMAlwo.js";
|
|
17
|
+
import { u as c } from "./hooks-D4L3tNqJ.js";
|
|
18
|
+
import { t as l } from "./index.es-Cir3-TDI.js";
|
|
19
|
+
import { d as u, o as d, t as f, u as p } from "./stepComponentHelpers-3SlH9niv.js";
|
|
20
|
+
import { t as m } from "./FormFieldInputSelect-wzL--dyG.js";
|
|
21
|
+
//#region src/components/FormFields/Country/CountryComponent.tsx
|
|
22
|
+
var h = /* @__PURE__ */ n(r(), 1), g = i(), _ = ({ value: e, isErrored: t, options: n, onChange: r, onKeyDown: i, placeholder: o = "", isRequired: s = !0, suppressPlaceholder: c = !1, disabled: u = !1 }) => {
|
|
23
|
+
let { msg: d } = a();
|
|
24
|
+
return /* @__PURE__ */ (0, g.jsx)(m, {
|
|
25
|
+
fieldId: "country",
|
|
26
|
+
options: n,
|
|
27
|
+
onChange: (e) => r(e),
|
|
28
|
+
onKeyDown: i,
|
|
29
|
+
placeholder: o || d({ id: "countryPlaceholder" }),
|
|
30
|
+
value: n.find((t) => t.value === (e && e.value)),
|
|
31
|
+
isRequired: s,
|
|
32
|
+
label: /* @__PURE__ */ (0, g.jsx)(l, {
|
|
33
|
+
id: "country",
|
|
34
|
+
defaultMessage: "Country"
|
|
35
|
+
}),
|
|
36
|
+
errorMessage: t && /* @__PURE__ */ (0, g.jsx)(l, {
|
|
37
|
+
id: "errorId.invalidCountry",
|
|
38
|
+
defaultMessage: "Invalid country"
|
|
39
|
+
}),
|
|
40
|
+
showPlaceholderAndHideLabel: !!o,
|
|
41
|
+
suppressPlaceholder: c,
|
|
42
|
+
disabled: u
|
|
43
|
+
});
|
|
44
|
+
}, v = ({ verificationService: n, viewModelDraftDecorator: r = void 0, disabled: i = !1 }) => {
|
|
45
|
+
let l = o(), { i18n: m, msg: v } = a(), y = s(l).map((e) => ({
|
|
46
|
+
value: e,
|
|
47
|
+
label: v({ id: `countries.${e}` })
|
|
48
|
+
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = n, x = y.length > 1, S = f("country")?.hidden, C = (i) => {
|
|
49
|
+
let a = e(n.viewModel, (e) => {
|
|
50
|
+
e.countryChoice = i || void 0, e.country = i ? i.value : void 0, r && r(e, i), e.organization &&= t.organization;
|
|
51
|
+
});
|
|
52
|
+
n.updateViewModel(a);
|
|
53
|
+
};
|
|
54
|
+
return h.useEffect(() => {
|
|
55
|
+
let e = y.some((e) => e.value === "US");
|
|
56
|
+
if (!x && !e) {
|
|
57
|
+
let e = n.viewModel.fieldsToSkipValidation ? [...n.viewModel.fieldsToSkipValidation, "country"] : [
|
|
58
|
+
"country",
|
|
59
|
+
"address1",
|
|
60
|
+
"postalCode",
|
|
61
|
+
"state",
|
|
62
|
+
"city"
|
|
63
|
+
];
|
|
64
|
+
n.updateViewModel(d(n.viewModel, "fieldsToSkipValidation", e));
|
|
65
|
+
}
|
|
66
|
+
}, [x]), h.useEffect(() => {
|
|
67
|
+
let t = e(n.fieldValidationErrors, (e) => {
|
|
68
|
+
e.country &&= c("country", n.viewModel.countryChoice, n.formValidationOptions), "postalCode" in n.viewModel && n.viewModel.postalCode && (e.postalCode = c("postalCode", n.viewModel.postalCode, n.formValidationOptions));
|
|
69
|
+
});
|
|
70
|
+
p(t, n);
|
|
71
|
+
}, [n.viewModel.countryChoice]), !x || S ? null : /* @__PURE__ */ (0, g.jsx)(_, {
|
|
72
|
+
isRequired: !0,
|
|
73
|
+
options: y,
|
|
74
|
+
value: n.viewModel.countryChoice,
|
|
75
|
+
isErrored: !!b.country,
|
|
76
|
+
disabled: i,
|
|
77
|
+
onChange: async (e) => {
|
|
78
|
+
let t = e ? e.value : void 0;
|
|
79
|
+
C(e), u("country", t, n);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
export { v as t };
|
package/chunk/{CountryComponentWrapper-CDJl-HHu.js.map → CountryComponentWrapper-D6bRhqUP.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountryComponentWrapper-
|
|
1
|
+
{"version":3,"file":"CountryComponentWrapper-D6bRhqUP.js","names":["produce","fn","blankOrganization","__toESM","require_jsx_runtime","useMessage","getConfiguredCountries","validateFieldById","FormattedHTMLMessage","updateFieldValidationErrorsByFieldId","produceDraftViewModel","getFieldConfigByFieldId","updateFieldValidationErrors","FormFieldInputSelect","import_react","require_react","import_jsx_runtime","CountryComponent","onChange","country","placeholder","msg","options","option","value","isErrored","CountryComponentWrapper","programConfiguration","useProgramConfiguration","countryChoices","countryCode","i18n","a","b","verificationService","hasMultipleCountries","isFieldHidden","updateCountryChoice","nextState","countryChoice","viewModelDraftDecorator","draft","includesUS","choice","fieldsToSkip","updatedFieldValidationErrors","fieldValidationErrors","countryValue"],"sources":["../../src/components/FormFields/Country/CountryComponent.tsx","../../src/components/FormFields/Country/CountryComponentWrapper.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldInputSelect } from \"@/components/FormFields/FormFieldInputSelect/FormFieldInputSelect\";\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"@/lib/types/types\";\n\nexport const CountryComponent = ({\n value,\n isErrored,\n options,\n onChange,\n onKeyDown,\n placeholder = \"\",\n isRequired = true,\n suppressPlaceholder = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n const inputId = \"country\";\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(country: FormSelectChoice) => onChange(country)}\n onKeyDown={onKeyDown}\n placeholder={placeholder || msg({ id: \"countryPlaceholder\" })}\n value={options.find((option) => option.value === (value && value.value))}\n isRequired={isRequired}\n label={<FormattedHTMLMessage id=\"country\" defaultMessage=\"Country\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidCountry\" defaultMessage=\"Invalid country\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n suppressPlaceholder={suppressPlaceholder}\n disabled={disabled}\n />\n );\n};\n","import React from \"react\";\nimport produce from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\nimport {\n type VerificationService,\n type Country,\n type FormSelectChoice,\n type ViewModel,\n type ErrorId,\n type FieldId,\n type WithOrganization,\n} from \"@/lib/types/types\";\nimport {\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n updateFieldValidationErrors,\n getFieldConfigByFieldId,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { validateFieldById } from \"@/lib/validators/validators\";\nimport { blankOrganization } from \"@/lib/types/empties\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\n\nimport { CountryComponent } from \"./CountryComponent\";\n\ntype CountryComponentWrapperProps = {\n verificationService: VerificationService;\n viewModelDraftDecorator?: (\n draft: ViewModel,\n countryChoice?: FormSelectChoice<Country, string>,\n ) => void;\n disabled?: boolean;\n};\n\nexport const CountryComponentWrapper = ({\n verificationService,\n viewModelDraftDecorator = undefined,\n disabled = false,\n}: CountryComponentWrapperProps) => {\n const programConfiguration = useProgramConfiguration();\n const { i18n, msg } = useMessage();\n\n const availableCountries: Country[] = getConfiguredCountries(programConfiguration);\n const localeAwareSorter = (a, b) => Intl.Collator(i18n.language).compare(a.label, b.label);\n const countryChoices = availableCountries\n .map((countryCode) => ({\n value: countryCode,\n label: msg({ id: `countries.${countryCode}` }),\n }))\n .sort(localeAwareSorter);\n\n const { fieldValidationErrors } = verificationService;\n const hasMultipleCountries = countryChoices.length > 1;\n const isFieldHidden = getFieldConfigByFieldId(\"country\")?.hidden;\n\n const updateCountryChoice = (countryChoice?: FormSelectChoice<Country, string>) => {\n const nextState: ViewModel = produce(\n verificationService.viewModel,\n (draft: ViewModel & WithOrganization) => {\n draft.countryChoice = countryChoice || undefined;\n\n // Adds backwards compatibility with Age and Employment programs\n (draft as any).country = countryChoice ? countryChoice.value : undefined;\n if (viewModelDraftDecorator) {\n viewModelDraftDecorator(draft, countryChoice);\n }\n\n // Reset to a blank org when changing the country choice\n if (draft.organization) {\n draft.organization = blankOrganization.organization;\n }\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const includesUS = countryChoices.some((choice) => choice.value === \"US\");\n if (!hasMultipleCountries && !includesUS) {\n const fieldsToSkip: FieldId[] = verificationService.viewModel.fieldsToSkipValidation\n ? [...verificationService.viewModel.fieldsToSkipValidation, \"country\"]\n : [\"country\", \"address1\", \"postalCode\", \"state\", \"city\"];\n verificationService.updateViewModel(\n produceDraftViewModel(\n verificationService.viewModel,\n \"fieldsToSkipValidation\",\n fieldsToSkip,\n ),\n );\n }\n }, [hasMultipleCountries]);\n\n React.useEffect(() => {\n const updatedFieldValidationErrors = produce(\n verificationService.fieldValidationErrors,\n (draft) => {\n if (draft.country) {\n draft.country = validateFieldById(\n \"country\",\n verificationService.viewModel.countryChoice,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n if (\n \"postalCode\" in verificationService.viewModel &&\n verificationService.viewModel.postalCode\n ) {\n draft.postalCode = validateFieldById(\n \"postalCode\",\n verificationService.viewModel.postalCode,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n },\n );\n updateFieldValidationErrors(updatedFieldValidationErrors, verificationService);\n }, [verificationService.viewModel.countryChoice]);\n\n if (!hasMultipleCountries || isFieldHidden) {\n return null;\n }\n\n return (\n <CountryComponent\n isRequired\n options={countryChoices}\n value={verificationService.viewModel.countryChoice}\n isErrored={Boolean(fieldValidationErrors.country)}\n disabled={disabled}\n onChange={async (countryChoice: FormSelectChoice<Country, string>) => {\n const countryValue = countryChoice ? countryChoice.value : undefined;\n updateCountryChoice(countryChoice);\n updateFieldValidationErrorsByFieldId(\"country\", countryValue, verificationService);\n }}\n />\n );\n};\n"],"mappings":";;;;;;;;;;A,4CAMaiB,KAAoB,EAC/B,UACA,cACA,YACA,aACA,cACA,iBAAc,IACd,gBAAa,IACb,yBAAsB,IACtB,cAAW,SACoB;CAC/B,IAAM,EAAE,WAAQZ,EAAW;CAE3B,OACE,iBAAA,GAAAW,EAAA,IAAA,CAACH,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA8BK,EAASC,CAAO;EAC9C;EACX,aAAaC,KAAeC,EAAI,EAAE,IAAI,qBAAqB,CAAC;EAC5D,OAAOC,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;EAC3D;EACZ,OAAO,iBAAA,GAAAR,EAAA,IAAA,CAACR,GAAD;GAAsB,IAAG;GAAU,gBAAe;EAAW,CAAA;EACpE,cACEiB,KACE,iBAAA,GAAAT,EAAA,IAAA,CAACR,GAAD;GAAsB,IAAG;GAAyB,gBAAe;EAAmB,CAAA;EAGxF,6BAA6B,CAAC,CAACY;EACV;EACX;CACX,CAAA;AAEL,GCJaM,KAA2B,EACtC,wBACA,6BAA0B,KAAA,GAC1B,cAAW,SACuB;CAClC,IAAMC,IAAuBC,EAAwB,GAC/C,EAAE,SAAM,WAAQvB,EAAW,GAI3BwB,IAFgCvB,EAAuBqB,CAEtC,CAAA,CACpB,KAAK,OAAiB;EACrB,OAAOG;EACP,OAAOT,EAAI,EAAE,IAAI,aAAaS,IAAc,CAAC;CAC/C,EAAE,CAAC,CACF,MANwB,GAAG,MAAM,KAAK,SAASC,EAAK,QAAQ,CAAC,CAAC,QAAQC,EAAE,OAAOC,EAAE,KAAK,CAMhE,GAEnB,EAAE,6BAA0BC,GAC5BC,IAAuBN,EAAe,S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R,IAAgBA,EAAc,QAAQ,KAAA;GAE3D,AADAF,EAAoBE,CAAa,GACjC9B,EAAqC,WAAWsC,GAAcb,CAAmB;EACnF;CACD,CAAA;AAEL"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.316.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793815392848
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
7
|
+
*/
|
|
8
|
+
import { a as e, bt as t, zt as n } from "./empties-xLh6FzDA.js";
|
|
9
|
+
import { r, t as i } from "./jsx-runtime-h9ybVYa3.js";
|
|
10
|
+
import { o as a } from "./programThemeGetters-BhNmQw7_.js";
|
|
11
|
+
import { n as o } from "./Message-DeYfEIfJ.js";
|
|
12
|
+
import { S as s } from "./FormFooterComponent-CCnomymd.js";
|
|
13
|
+
import { u as c } from "./hooks-df3XJbin.js";
|
|
14
|
+
import { t as l } from "./index.es-Dw43pp1V.js";
|
|
15
|
+
import { d as u, o as d, t as f, u as p } from "./stepComponentHelpers-BcYAcI_q.js";
|
|
16
|
+
import { t as m } from "./FormFieldInputSelect-DCe1fl-X.js";
|
|
17
|
+
//#region src/components/FormFields/Country/CountryComponent.tsx
|
|
18
|
+
var h = /* @__PURE__ */ n(r(), 1), g = i(), _ = ({ value: e, isErrored: t, options: n, onChange: r, onKeyDown: i, placeholder: a = "", isRequired: s = !0, suppressPlaceholder: c = !1, disabled: u = !1 }) => {
|
|
19
|
+
let { msg: d } = o();
|
|
20
|
+
return /* @__PURE__ */ (0, g.jsx)(m, {
|
|
21
|
+
fieldId: "country",
|
|
22
|
+
options: n,
|
|
23
|
+
onChange: (e) => r(e),
|
|
24
|
+
onKeyDown: i,
|
|
25
|
+
placeholder: a || d({ id: "countryPlaceholder" }),
|
|
26
|
+
value: n.find((t) => t.value === (e && e.value)),
|
|
27
|
+
isRequired: s,
|
|
28
|
+
label: /* @__PURE__ */ (0, g.jsx)(l, {
|
|
29
|
+
id: "country",
|
|
30
|
+
defaultMessage: "Country"
|
|
31
|
+
}),
|
|
32
|
+
errorMessage: t && /* @__PURE__ */ (0, g.jsx)(l, {
|
|
33
|
+
id: "errorId.invalidCountry",
|
|
34
|
+
defaultMessage: "Invalid country"
|
|
35
|
+
}),
|
|
36
|
+
showPlaceholderAndHideLabel: !!a,
|
|
37
|
+
suppressPlaceholder: c,
|
|
38
|
+
disabled: u
|
|
39
|
+
});
|
|
40
|
+
}, v = ({ verificationService: n, viewModelDraftDecorator: r = void 0, disabled: i = !1 }) => {
|
|
41
|
+
let l = a(), { i18n: m, msg: v } = o(), y = s(l).map((e) => ({
|
|
42
|
+
value: e,
|
|
43
|
+
label: v({ id: `countries.${e}` })
|
|
44
|
+
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = n, x = y.length > 1, S = f("country")?.hidden, C = (i) => {
|
|
45
|
+
let a = t(n.viewModel, (t) => {
|
|
46
|
+
t.countryChoice = i || void 0, t.country = i ? i.value : void 0, r && r(t, i), t.organization &&= e.organization;
|
|
47
|
+
});
|
|
48
|
+
n.updateViewModel(a);
|
|
49
|
+
};
|
|
50
|
+
return h.useEffect(() => {
|
|
51
|
+
let e = y.some((e) => e.value === "US");
|
|
52
|
+
if (!x && !e) {
|
|
53
|
+
let e = n.viewModel.fieldsToSkipValidation ? [...n.viewModel.fieldsToSkipValidation, "country"] : [
|
|
54
|
+
"country",
|
|
55
|
+
"address1",
|
|
56
|
+
"postalCode",
|
|
57
|
+
"state",
|
|
58
|
+
"city"
|
|
59
|
+
];
|
|
60
|
+
n.updateViewModel(d(n.viewModel, "fieldsToSkipValidation", e));
|
|
61
|
+
}
|
|
62
|
+
}, [x]), h.useEffect(() => {
|
|
63
|
+
let e = t(n.fieldValidationErrors, (e) => {
|
|
64
|
+
e.country &&= c("country", n.viewModel.countryChoice, n.formValidationOptions), "postalCode" in n.viewModel && n.viewModel.postalCode && (e.postalCode = c("postalCode", n.viewModel.postalCode, n.formValidationOptions));
|
|
65
|
+
});
|
|
66
|
+
p(e, n);
|
|
67
|
+
}, [n.viewModel.countryChoice]), !x || S ? null : /* @__PURE__ */ (0, g.jsx)(_, {
|
|
68
|
+
isRequired: !0,
|
|
69
|
+
options: y,
|
|
70
|
+
value: n.viewModel.countryChoice,
|
|
71
|
+
isErrored: !!b.country,
|
|
72
|
+
disabled: i,
|
|
73
|
+
onChange: async (e) => {
|
|
74
|
+
let t = e ? e.value : void 0;
|
|
75
|
+
C(e), u("country", t, n);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { v as t };
|
package/chunk/{CountryComponentWrapper-CPH7Q2C9.js.map → CountryComponentWrapper-PZKJeo-8.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountryComponentWrapper-
|
|
1
|
+
{"version":3,"file":"CountryComponentWrapper-PZKJeo-8.js","names":["produce","blankOrganization","fn","__toESM","require_jsx_runtime","useProgramConfiguration","useMessage","getConfiguredCountries","validateFieldById","FormattedHTMLMessage","updateFieldValidationErrorsByFieldId","produceDraftViewModel","getFieldConfigByFieldId","updateFieldValidationErrors","FormFieldInputSelect","import_react","require_react","import_jsx_runtime","CountryComponent","onChange","country","placeholder","msg","options","option","value","isErrored","CountryComponentWrapper","programConfiguration","countryChoices","countryCode","i18n","a","b","verificationService","hasMultipleCountries","isFieldHidden","updateCountryChoice","nextState","countryChoice","viewModelDraftDecorator","draft","includesUS","choice","fieldsToSkip","updatedFieldValidationErrors","fieldValidationErrors","countryValue"],"sources":["../../src/components/FormFields/Country/CountryComponent.tsx","../../src/components/FormFields/Country/CountryComponentWrapper.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldInputSelect } from \"@/components/FormFields/FormFieldInputSelect/FormFieldInputSelect\";\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"@/lib/types/types\";\n\nexport const CountryComponent = ({\n value,\n isErrored,\n options,\n onChange,\n onKeyDown,\n placeholder = \"\",\n isRequired = true,\n suppressPlaceholder = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n const inputId = \"country\";\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(country: FormSelectChoice) => onChange(country)}\n onKeyDown={onKeyDown}\n placeholder={placeholder || msg({ id: \"countryPlaceholder\" })}\n value={options.find((option) => option.value === (value && value.value))}\n isRequired={isRequired}\n label={<FormattedHTMLMessage id=\"country\" defaultMessage=\"Country\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidCountry\" defaultMessage=\"Invalid country\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n suppressPlaceholder={suppressPlaceholder}\n disabled={disabled}\n />\n );\n};\n","import React from \"react\";\nimport produce from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\nimport {\n type VerificationService,\n type Country,\n type FormSelectChoice,\n type ViewModel,\n type ErrorId,\n type FieldId,\n type WithOrganization,\n} from \"@/lib/types/types\";\nimport {\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n updateFieldValidationErrors,\n getFieldConfigByFieldId,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { validateFieldById } from \"@/lib/validators/validators\";\nimport { blankOrganization } from \"@/lib/types/empties\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\n\nimport { CountryComponent } from \"./CountryComponent\";\n\ntype CountryComponentWrapperProps = {\n verificationService: VerificationService;\n viewModelDraftDecorator?: (\n draft: ViewModel,\n countryChoice?: FormSelectChoice<Country, string>,\n ) => void;\n disabled?: boolean;\n};\n\nexport const CountryComponentWrapper = ({\n verificationService,\n viewModelDraftDecorator = undefined,\n disabled = false,\n}: CountryComponentWrapperProps) => {\n const programConfiguration = useProgramConfiguration();\n const { i18n, msg } = useMessage();\n\n const availableCountries: Country[] = getConfiguredCountries(programConfiguration);\n const localeAwareSorter = (a, b) => Intl.Collator(i18n.language).compare(a.label, b.label);\n const countryChoices = availableCountries\n .map((countryCode) => ({\n value: countryCode,\n label: msg({ id: `countries.${countryCode}` }),\n }))\n .sort(localeAwareSorter);\n\n const { fieldValidationErrors } = verificationService;\n const hasMultipleCountries = countryChoices.length > 1;\n const isFieldHidden = getFieldConfigByFieldId(\"country\")?.hidden;\n\n const updateCountryChoice = (countryChoice?: FormSelectChoice<Country, string>) => {\n const nextState: ViewModel = produce(\n verificationService.viewModel,\n (draft: ViewModel & WithOrganization) => {\n draft.countryChoice = countryChoice || undefined;\n\n // Adds backwards compatibility with Age and Employment programs\n (draft as any).country = countryChoice ? countryChoice.value : undefined;\n if (viewModelDraftDecorator) {\n viewModelDraftDecorator(draft, countryChoice);\n }\n\n // Reset to a blank org when changing the country choice\n if (draft.organization) {\n draft.organization = blankOrganization.organization;\n }\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const includesUS = countryChoices.some((choice) => choice.value === \"US\");\n if (!hasMultipleCountries && !includesUS) {\n const fieldsToSkip: FieldId[] = verificationService.viewModel.fieldsToSkipValidation\n ? [...verificationService.viewModel.fieldsToSkipValidation, \"country\"]\n : [\"country\", \"address1\", \"postalCode\", \"state\", \"city\"];\n verificationService.updateViewModel(\n produceDraftViewModel(\n verificationService.viewModel,\n \"fieldsToSkipValidation\",\n fieldsToSkip,\n ),\n );\n }\n }, [hasMultipleCountries]);\n\n React.useEffect(() => {\n const updatedFieldValidationErrors = produce(\n verificationService.fieldValidationErrors,\n (draft) => {\n if (draft.country) {\n draft.country = validateFieldById(\n \"country\",\n verificationService.viewModel.countryChoice,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n if (\n \"postalCode\" in verificationService.viewModel &&\n verificationService.viewModel.postalCode\n ) {\n draft.postalCode = validateFieldById(\n \"postalCode\",\n verificationService.viewModel.postalCode,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n },\n );\n updateFieldValidationErrors(updatedFieldValidationErrors, verificationService);\n }, [verificationService.viewModel.countryChoice]);\n\n if (!hasMultipleCountries || isFieldHidden) {\n return null;\n }\n\n return (\n <CountryComponent\n isRequired\n options={countryChoices}\n value={verificationService.viewModel.countryChoice}\n isErrored={Boolean(fieldValidationErrors.country)}\n disabled={disabled}\n onChange={async (countryChoice: FormSelectChoice<Country, string>) => {\n const countryValue = countryChoice ? countryChoice.value : undefined;\n updateCountryChoice(countryChoice);\n updateFieldValidationErrorsByFieldId(\"country\", countryValue, verificationService);\n }}\n />\n );\n};\n"],"mappings":";;;;;;;;;;A,4CAMakB,KAAoB,EAC/B,UACA,cACA,YACA,aACA,cACA,iBAAc,IACd,gBAAa,IACb,yBAAsB,IACtB,cAAW,SACoB;CAC/B,IAAM,EAAE,WAAQZ,EAAW;CAE3B,OACE,iBAAA,GAAAW,EAAA,IAAA,CAACH,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA8BK,EAASC,CAAO;EAC9C;EACX,aAAaC,KAAeC,EAAI,EAAE,IAAI,qBAAqB,CAAC;EAC5D,OAAOC,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;EAC3D;EACZ,OAAO,iBAAA,GAAAR,EAAA,IAAA,CAACR,GAAD;GAAsB,IAAG;GAAU,gBAAe;EAAW,CAAA;EACpE,cACEiB,KACE,iBAAA,GAAAT,EAAA,IAAA,CAACR,GAAD;GAAsB,IAAG;GAAyB,gBAAe;EAAmB,CAAA;EAGxF,6BAA6B,CAAC,CAACY;EACV;EACX;CACX,CAAA;AAEL,GCJaM,KAA2B,EACtC,wBACA,6BAA0B,KAAA,GAC1B,cAAW,SACuB;CAClC,IAAMC,IAAuBvB,EAAwB,GAC/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