@sheerid/jslib 2.263.0 → 2.264.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 +1376 -3792
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-BcUOtiOW.js} +5 -5
- package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
- package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-cZ7Rrphj.js} +5 -5
- package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
- package/chunk/AnnouncingHeader-DDT5xAyL.js +4 -4
- package/chunk/AnnouncingHeader-DSPYeTwU.js +4 -4
- package/chunk/{ApiUrls-5BL8244F.js → ApiUrls-BGkT0u8_.js} +5 -5
- package/chunk/{ApiUrls-5BL8244F.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
- package/chunk/{ApiUrls-BtzfsgUq.js → ApiUrls-DplKihXV.js} +5 -5
- package/chunk/{ApiUrls-BtzfsgUq.js.map → ApiUrls-DplKihXV.js.map} +1 -1
- package/chunk/{BirthDateComponent-DolPukGV.js → BirthDateComponent-DiRfVMkQ.js} +6 -6
- package/chunk/{BirthDateComponent-C9D52_sv.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
- package/chunk/{BirthDateComponent-C9D52_sv.js → BirthDateComponent-mw3tGfO1.js} +6 -6
- package/chunk/{BirthDateComponent-DolPukGV.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
- package/chunk/{CaptchaComponent-Bd0QiNl5.js → CaptchaComponent-Bo6-PXzj.js} +7 -7
- package/chunk/{CaptchaComponent-Bd0QiNl5.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
- package/chunk/{CaptchaComponent-jOXCtvzE.js → CaptchaComponent-D6FNNlKj.js} +15 -15
- package/chunk/{CaptchaComponent-jOXCtvzE.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js → ChangeLocaleComponent-B905JfFy.js} +6 -6
- package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-qKZIgmCX.js → ChangeLocaleComponent-C1vybPVc.js} +6 -6
- package/chunk/{ChangeLocaleComponent-qKZIgmCX.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
- package/chunk/{City-CCtrauPi.js → City-BiuOEuRx.js} +5 -5
- package/chunk/{City-CCtrauPi.js.map → City-BiuOEuRx.js.map} +1 -1
- package/chunk/{City-DOi7PTZI.js → City-D-gJ5H6v.js} +5 -5
- package/chunk/{City-DOi7PTZI.js.map → City-D-gJ5H6v.js.map} +1 -1
- package/chunk/{CollegeNameComponent-B02MJ5F0.js → CollegeNameComponent-BDZD28ed.js} +6 -6
- package/chunk/{CollegeNameComponent-B02MJ5F0.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BoT4meEn.js → CollegeNameComponent-C_1m4XT-.js} +6 -6
- package/chunk/{CollegeNameComponent-BoT4meEn.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-CI5EWk0o.js +4 -4
- package/chunk/CopyToClipboardComponent-DyolMvdc.js +4 -4
- package/chunk/{CountryComponentWrapper-GPBK6Y8O.js → CountryComponentWrapper-BrhHPoQD.js} +9 -9
- package/chunk/{CountryComponentWrapper-CCoy3Zoi.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CCoy3Zoi.js → CountryComponentWrapper-HDMnK8-s.js} +10 -10
- package/chunk/{CountryComponentWrapper-GPBK6Y8O.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
- package/chunk/{DischargeDateComponent-ymNhH1GN.js → DischargeDateComponent-CFgYtvv6.js} +12 -12
- package/chunk/{DischargeDateComponent-CyYECS-K.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CyYECS-K.js → DischargeDateComponent-D3GK6UIu.js} +8 -8
- package/chunk/{DischargeDateComponent-ymNhH1GN.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-BzgEUUM2.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-DoJspVrD.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
- package/chunk/{EmailLoopPending-Czkli3uD.js → EmailLoopPending-Bm7vJ_QR.js} +55 -54
- package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
- package/chunk/{EmailLoopPending-FiV8oqMN.js → EmailLoopPending-CpMrwV1m.js} +55 -54
- package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
- package/chunk/{ExtraMessage-CZyIoyAy.js → ExtraMessage-BbACElsX.js} +5 -5
- package/chunk/{ExtraMessage-CZyIoyAy.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
- package/chunk/{ExtraMessage-D6xvBugr.js → ExtraMessage-C4sJr6cw.js} +5 -5
- package/chunk/{ExtraMessage-D6xvBugr.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Bzcg97PF.js → FormFieldInputSelect-B3UZlH_H.js} +5 -5
- package/chunk/{FormFieldInputSelect-Bzcg97PF.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DZsD_cQO.js → FormFieldInputSelect-CnGFMROq.js} +5 -5
- package/chunk/{FormFieldInputSelect-DZsD_cQO.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
- package/chunk/FormFieldLayout-C-prs50D.js +4 -4
- package/chunk/FormFieldLayout-eXRaMPRB.js +4 -4
- package/chunk/FormFieldText-C44FpzvF.js +4 -4
- package/chunk/FormFieldText-DKDYD6O1.js +4 -4
- package/chunk/{FormFieldTypeahead-WerEgh8b.js → FormFieldTypeahead-BSbSF1lL.js} +457 -456
- package/chunk/{FormFieldTypeahead-WerEgh8b.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D_LQgN8U.js → FormFieldTypeahead-DmKNOVYP.js} +459 -458
- package/chunk/{FormFieldTypeahead-D_LQgN8U.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
- package/chunk/{FormFooterComponent-7bb8jZLG.js → FormFooterComponent-BkXmQxBf.js} +1114 -1114
- package/chunk/{FormFooterComponent-7bb8jZLG.js.map → FormFooterComponent-BkXmQxBf.js.map} +1 -1
- package/chunk/{FormFooterComponent-DNXKayDA.js → FormFooterComponent-khRc1L5E.js} +1198 -1198
- package/chunk/{FormFooterComponent-DNXKayDA.js.map → FormFooterComponent-khRc1L5E.js.map} +1 -1
- package/chunk/{FormSelectChoice-BcBYNROQ.js → FormSelectChoice-DJuQmzKz.js} +6 -6
- package/chunk/{FormSelectChoice-BcBYNROQ.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
- package/chunk/{FormSelectChoice-Cd6Pov12.js → FormSelectChoice-tC4ovQdX.js} +6 -6
- package/chunk/{FormSelectChoice-Cd6Pov12.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
- package/chunk/InputText-C12rmr0E.js +4 -4
- package/chunk/InputText-CDxD4Fcy.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
- package/chunk/LogoComponent-Dt2sl-7K.js +4 -4
- package/chunk/LogoComponent-qYFfdGhk.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +10 -10
- package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
- package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-DDa-iQtj.js} +5 -5
- package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-DDpGpO2e.js} +5 -5
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js → MembershipOrganizationComponent-BEOw1H7n.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js → MembershipOrganizationComponent-CCCYoUe_.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js → PersonalInfoStepWrapper-BmHuTQIp.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js → PersonalInfoStepWrapper-D0IAqpda.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BSNHro7-.js} +5 -5
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-EPa7PrEn.js} +5 -5
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
- package/chunk/{SSN-V4OsBJo-.js → SSN-BTH_HKwP.js} +5 -5
- package/chunk/{SSN-DKOJL4kj.js.map → SSN-BTH_HKwP.js.map} +1 -1
- package/chunk/{SSN-DKOJL4kj.js → SSN-CoqeSJiv.js} +5 -5
- package/chunk/{SSN-V4OsBJo-.js.map → SSN-CoqeSJiv.js.map} +1 -1
- package/chunk/{StateSelectComponent-H1NOjMea.js → StateSelectComponent-CsMhYr5S.js} +5 -5
- package/chunk/{StateSelectComponent-H1NOjMea.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
- package/chunk/{StateSelectComponent-n7Tw6woS.js → StateSelectComponent-D3JOWUan.js} +5 -5
- package/chunk/{StateSelectComponent-n7Tw6woS.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
- package/chunk/{StatusComponent-DjlW-ELF.js → StatusComponent-BV3O5IFV.js} +6 -6
- package/chunk/{StatusComponent-Bcd8Ga_d.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
- package/chunk/{StatusComponent-Bcd8Ga_d.js → StatusComponent-CZMNhzFo.js} +6 -6
- package/chunk/{StatusComponent-DjlW-ELF.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +49 -45
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CAR0KywC.js → StepAgePersonalInfo-7J8X1jpZ.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BSbrQCh3.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BSbrQCh3.js → StepAgePersonalInfo-CdgtxCTX.js} +40 -40
- package/chunk/{StepAgePersonalInfo-CAR0KywC.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
- package/chunk/StepCard-B-nYcoAX.js +4 -4
- package/chunk/StepCard-DXyV0Wj4.js +4 -4
- package/chunk/{StepCollectIdentifier-l3Wvwdwp.js → StepCollectIdentifier-BGN4P47k.js} +9 -9
- package/chunk/{StepCollectIdentifier-z-vfDewz.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-z-vfDewz.js → StepCollectIdentifier-DNIMAHOm.js} +7 -7
- package/chunk/{StepCollectIdentifier-l3Wvwdwp.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-CdmUVnga.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js → StepCollectPersonalInfo-DSYGRZsu.js} +86 -86
- package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-C-CKn207.js → StepCollectPersonalInfo-Dnp2yK42.js} +118 -118
- package/chunk/{StepCollectPersonalInfo-C-CKn207.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-COpZ5w8i.js} +44 -43
- package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-CWDsVUrM.js} +44 -43
- package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
- package/chunk/{StepConsolation-C_Prf3j3.js → StepConsolation-CWZOfBEr.js} +5 -5
- package/chunk/{StepConsolation-BQAOeOOd.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
- package/chunk/{StepConsolation-BQAOeOOd.js → StepConsolation-DISoSIlj.js} +5 -5
- package/chunk/{StepConsolation-C_Prf3j3.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
- package/chunk/{StepDocUpload-C1IXuvwZ.js → StepDocUpload-BDm37Fq1.js} +60 -60
- package/chunk/{StepDocUpload-C1IXuvwZ.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
- package/chunk/{StepDocUpload-B43mxO56.js → StepDocUpload-ETxR-vzb.js} +56 -56
- package/chunk/{StepDocUpload-B43mxO56.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
- package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
- package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
- package/chunk/{StepEmailLoop-CHiMm3ff.js → StepEmailLoop-66eXFv6H.js} +48 -47
- package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
- package/chunk/{StepEmailLoop-C7flA645.js → StepEmailLoop-DQiSiwAG.js} +49 -48
- package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
- package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
- package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +38 -38
- package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CCSjd3UQ.js → StepIDCheckLoop-DKQFGeYF.js} +6 -6
- package/chunk/{StepIDCheckLoop-CCSjd3UQ.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CIOkLGwo.js → StepIDCheckLoop-DzY5dNGP.js} +6 -6
- package/chunk/{StepIDCheckLoop-CIOkLGwo.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js → StepIDCheckLoopOnfido-Cch_5u12.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js → StepIDCheckLoopRegula-BTQfpfOM.js} +8 -8
- package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js → StepIDCheckLoopRegula-DdWBTpVn.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +74 -70
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
- package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
- package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
- package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +35 -39
- package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +54 -50
- package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +26 -30
- package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BofE_acL.js → StepMemberPersonalInfo-CVOzYqMw.js} +35 -35
- package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js → StepMemberPersonalInfo-DvmSqX4n.js} +25 -25
- package/chunk/{StepMemberPersonalInfo-BofE_acL.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js → StepMoverPersonalInfo-ADq4X93i.js} +21 -21
- package/chunk/{StepMoverPersonalInfo-BD_EHnng.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BD_EHnng.js → StepMoverPersonalInfo-u06pbtdj.js} +22 -22
- package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-redazXZp.js → StepOverrideComponent-CPTcGV0Y.js} +38 -38
- package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
- package/chunk/{StepOverrideComponent-fPPJK_4j.js → StepOverrideComponent-DrnSMis1.js} +38 -38
- package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
- package/chunk/{StepSMSLoop-CQmW0RCA.js → StepSMSLoop-BeJD_bwf.js} +5 -5
- package/chunk/{StepSMSLoop-DkvcaHot.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
- package/chunk/{StepSMSLoop-DkvcaHot.js → StepSMSLoop-WBuEgD6l.js} +5 -5
- package/chunk/{StepSMSLoop-CQmW0RCA.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
- package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
- package/chunk/StepSSO-DfPU73JX.js +9 -0
- package/chunk/{StepSocialSecurityNumber-DV9hLypX.js → StepSocialSecurityNumber-CxmDZ_yz.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js → StepSocialSecurityNumber-DR2_1m3S.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-DV9hLypX.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js → StepStudentPersonalInfo-C27MhV1r.js} +41 -40
- package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BZbY6a71.js → StepStudentPersonalInfo-Cw-DUf5K.js} +40 -39
- package/chunk/{StepStudentPersonalInfo-BZbY6a71.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
- package/chunk/{StepSuccess-BU5AsEbz.js → StepSuccess-BFG2uFAo.js} +73 -72
- package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
- package/chunk/{StepSuccess-CYK71tK1.js → StepSuccess-DjqHe3hp.js} +73 -72
- package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js → StepTeacherPersonalInfo-DMMFjHnf.js} +34 -34
- package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js → StepTeacherPersonalInfo-j1D03USI.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
- package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
- package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js → TeacherSchoolComponent-CiMvlnGq.js} +6 -6
- package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BhQA41W4.js → TeacherSchoolComponent-DsUzj_xt.js} +6 -6
- package/chunk/{TeacherSchoolComponent-BhQA41W4.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
- package/chunk/TestingRouteOverrides-C6_6elEq.js +4 -4
- package/chunk/TestingRouteOverrides-DHL_cusu.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-DMn0LZDJ.js → VerificationApiClient-1OjLrKjE.js} +5 -5
- package/chunk/{VerificationApiClient-DMn0LZDJ.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
- package/chunk/{VerificationApiClient-D25kKPW3.js → VerificationApiClient-PLVc1WDR.js} +5 -5
- package/chunk/{VerificationApiClient-D25kKPW3.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DqEF-n7G.js → VerificationApiUtils-CbPWShkM.js} +6 -6
- package/chunk/{VerificationApiUtils-DqEF-n7G.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
- package/chunk/{VerificationApiUtils-if8YfRNb.js → VerificationApiUtils-DnXcSPRj.js} +6 -6
- package/chunk/{VerificationApiUtils-if8YfRNb.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
- package/chunk/ar-CZrVPqvf.js +4 -4
- package/chunk/bg-Cj9u62RW.js +4 -4
- package/chunk/bn-IN-AX8JdjQ8.js +4 -4
- package/chunk/countryUtils-CAW7TO02.js +4 -4
- package/chunk/countryUtils-CV_Lr16_.js +4 -4
- package/chunk/cs-5rrzGv7_.js +4 -4
- package/chunk/da-DMDlBT-5.js +4 -4
- package/chunk/de-DG-q-l7o.js +4 -4
- package/chunk/{downshift.esm-_-Q1VM-s.js → downshift.esm-BaiLtXU1.js} +5 -5
- package/chunk/{downshift.esm-_-Q1VM-s.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
- package/chunk/{downshift.esm-DVFysUHL.js → downshift.esm-DG33Aw1V.js} +5 -5
- package/chunk/{downshift.esm-DVFysUHL.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
- package/chunk/el-yctEkMhE.js +4 -4
- package/chunk/empties-CuuBn0bi.js +4 -4
- package/chunk/empties-NTFzwSRR.js +4 -4
- package/chunk/en-GB-6LZCsn1D.js +4 -4
- package/chunk/es-BMeF1R04.js +4 -4
- package/chunk/es-ES-CsFb7QAU.js +4 -4
- package/chunk/et-CiZKWMRu.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-D9V3MCMh.js +4 -4
- package/chunk/fi-poKCN0AL.js +4 -4
- package/chunk/fr-BiSjb5hG.js +4 -4
- package/chunk/fr-CA-zBX3D7Nl.js +4 -4
- package/chunk/ga-jC99p6r7.js +4 -4
- package/chunk/hi-IN-C_1AZftT.js +4 -4
- package/chunk/hooks-ClexZCWs.js +2888 -0
- package/chunk/hooks-ClexZCWs.js.map +1 -0
- package/chunk/hooks-DqGWdJ7N.js +2892 -0
- package/chunk/hooks-DqGWdJ7N.js.map +1 -0
- package/chunk/hr-abbR52XG.js +4 -4
- package/chunk/hu-CeZoihsr.js +4 -4
- package/chunk/id-wFLT8G20.js +4 -4
- package/chunk/intl-CuZpjbF2.js +4 -4
- package/chunk/is-sc_8Dmxx.js +4 -4
- package/chunk/it-Mhw_31wt.js +4 -4
- package/chunk/iw-BfqjzsAq.js +4 -4
- package/chunk/ja-Bdvw5s91.js +4 -4
- package/chunk/jsx-runtime-B29HBOo1.js +4 -4
- package/chunk/jsx-runtime-Br-ldzo0.js +4 -4
- package/chunk/kk-mHV9A9HS.js +4 -4
- package/chunk/ko-C7nyKdTs.js +4 -4
- package/chunk/lo-baNG1foB.js +4 -4
- package/chunk/lt-CNU2L7fK.js +4 -4
- package/chunk/lv-bP-HuAKS.js +4 -4
- package/chunk/militaryStepHelpers-BlzQcNHu.js +4 -4
- package/chunk/militaryStepHelpers-COmBnCcw.js +4 -4
- package/chunk/mocks-BlLp3eOz.js +4 -4
- package/chunk/mocks-CuPTVtpf.js +4 -4
- package/chunk/ms-Bg8aDCAA.js +4 -4
- package/chunk/nl-BE-Ct8zP0W1.js +4 -4
- package/chunk/nl-CbfjSfKQ.js +4 -4
- package/chunk/no-DjDW2Ec_.js +4 -4
- package/chunk/options-BqxY1ri6.js +4 -4
- package/chunk/pl--DnD-6qz.js +4 -4
- package/chunk/programThemeGetters-BKJAvlOG.js +4 -4
- package/chunk/programThemeGetters-f9o96pYi.js +4 -4
- package/chunk/pt-BR-B02CJDXT.js +4 -4
- package/chunk/pt-CcmRJnZb.js +4 -4
- package/chunk/refs-B-c--SWS.js +4 -4
- package/chunk/refs-CWwQlqJe.js +4 -4
- package/chunk/ro-CLdi0jqR.js +4 -4
- package/chunk/ru-Z91NV1Cr.js +4 -4
- package/chunk/sk-B7rRmmv6.js +4 -4
- package/chunk/sl-DhAq6T_a.js +4 -4
- package/chunk/sr-DpP50d7v.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-QG7LEZNd.js +4 -4
- package/chunk/sw--WAxwRTW.js +4 -4
- package/chunk/ta-DRF7u30N.js +4 -4
- package/chunk/th-BoK35Z2N.js +4 -4
- package/chunk/tl-BDTwfyaC.js +4 -4
- package/chunk/tr-BoXGTv5p.js +4 -4
- package/chunk/uk-AXN3c9FX.js +4 -4
- package/chunk/ur-D5Nqe4mS.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js → useCollectFieldsEndpoint-ChTjhl6c.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js → useCollectFieldsEndpoint-CqGDsmUW.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
- package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-BIJ6jLMV.js} +5 -5
- package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
- package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-DWYTjtqD.js} +5 -5
- package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
- package/chunk/vi-BE4aMeLo.js +4 -4
- package/chunk/zh-CUzsIz8M.js +4 -4
- package/chunk/zh-HK-BTCqwQOw.js +4 -4
- package/chunk/zu-ChHTiO3Y.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 +1360 -3776
- package/sheerid.js.map +1 -1
- package/chunk/EmailLoopPending-Czkli3uD.js.map +0 -1
- package/chunk/EmailLoopPending-FiV8oqMN.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BqeZDXtK.js +0 -9
- package/chunk/StepCompleteAuthentication-Al4mmZZ4.js.map +0 -1
- package/chunk/StepCompleteAuthentication-zrcJ8B4S.js.map +0 -1
- package/chunk/StepEmailLoop-C7flA645.js.map +0 -1
- package/chunk/StepEmailLoop-CHiMm3ff.js.map +0 -1
- package/chunk/StepOverrideComponent-fPPJK_4j.js.map +0 -1
- package/chunk/StepOverrideComponent-redazXZp.js.map +0 -1
- package/chunk/StepSSO-BRFhNvkp.js +0 -9
- package/chunk/StepSuccess-BU5AsEbz.js.map +0 -1
- package/chunk/StepSuccess-CYK71tK1.js.map +0 -1
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
- package/chunk/validators-DqymSzki.js +0 -470
- package/chunk/validators-DqymSzki.js.map +0 -1
- package/chunk/validators-DtqLbhHK.js +0 -474
- package/chunk/validators-DtqLbhHK.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-CWDsVUrM.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\"authenticationCode\", token, verificationService);\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -4,14 +4,14 @@
|
|
|
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: Fri Jul 31 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.264.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785521582792
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
11
11
|
*/
|
|
12
12
|
import { Dt as e } from "./intl-CuZpjbF2.js";
|
|
13
13
|
import { n as t, t as n } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
-
import { t as r } from "./ApiUrls-
|
|
14
|
+
import { t as r } from "./ApiUrls-BGkT0u8_.js";
|
|
15
15
|
import { t as i } from "./LogoComponent-qYFfdGhk.js";
|
|
16
16
|
import { t as a } from "./CopyToClipboardComponent-CI5EWk0o.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-CWZOfBEr.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAgHa,KApGY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC;GACE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf;KACE,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;KACvD,CAAA;KAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;MACE,WAAU;MACV,IAAG;MACH,MAAK;gBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;OACf,SAAQ;MACT,CAAA;KACE,CAAA;KAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF;;GAEJ,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;cACZ,EAAc,KAAK,MACd,MAAgB,EAAkB,OAUpC,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;eAEJ;IACE,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,YAAY;MACZ,kBAAkB,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAsB,IAAG;OAAS,gBAAe;MAAU,CAAA;gBAE7E,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACc,CAAA;IACd,CAAA,CACL,EAAA,CAAA,IA1BA,iBAAA,GAAA,EAAA,KAAC,OAAD;KAEE,WAAU;KACV,KAAK;KACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;IACxE,GAJM,CAIN,CAuBN;GACE,CAAA;GAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;cACb,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GACE,CAAA;GAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,WAAU;IACV,MAAK;cAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAc,gBAAe;gBAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;MACf,QAAQ,EAAE,eAAY;KACvB,CAAA;IAEiB,CAAA;GACnB,CAAA;EACF;;AAET"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Fri Jul 31 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.264.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785521577545
|
|
5
|
+
* BUILD_DATE: Fri Jul 31 2026 18:12:57 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
7
7
|
*/
|
|
8
8
|
import { kt as e } from "./options-BqxY1ri6.js";
|
|
9
9
|
import { n as t, t as n } from "./jsx-runtime-B29HBOo1.js";
|
|
10
|
-
import { t as r } from "./ApiUrls-
|
|
10
|
+
import { t as r } from "./ApiUrls-DplKihXV.js";
|
|
11
11
|
import { t as i } from "./LogoComponent-Dt2sl-7K.js";
|
|
12
12
|
import { t as a } from "./CopyToClipboardComponent-DyolMvdc.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-DISoSIlj.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAgHa,KApGY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC;GACE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf;KACE,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;KACvD,CAAA;KAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;MACE,WAAU;MACV,IAAG;MACH,MAAK;gBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;OACf,SAAQ;MACT,CAAA;KACE,CAAA;KAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF;;GAEJ,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;cACZ,EAAc,KAAK,MACd,MAAgB,EAAkB,OAUpC,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;eAEJ;IACE,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,YAAY;MACZ,kBAAkB,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAsB,IAAG;OAAS,gBAAe;MAAU,CAAA;gBAE7E,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACc,CAAA;IACd,CAAA,CACL,EAAA,CAAA,IA1BA,iBAAA,GAAA,EAAA,KAAC,OAAD;KAEE,WAAU;KACV,KAAK;KACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;IACxE,GAJM,CAIN,CAuBN;GACE,CAAA;GAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;cACb,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GACE,CAAA;GAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,WAAU;IACV,MAAK;cAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAc,gBAAe;gBAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;MACf,QAAQ,EAAE,eAAY;KACvB,CAAA;IAEiB,CAAA;GACnB,CAAA;EACF;;AAET"}
|
|
@@ -4,21 +4,21 @@
|
|
|
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: Fri Jul 31 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.264.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785521582792
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
11
11
|
*/
|
|
12
12
|
import { Bt as e, Ft as t, I as n, Kt as r, Mt as i, Ot as a, Vt as o, Wt as s, g as c, p as l, y as u } from "./intl-CuZpjbF2.js";
|
|
13
13
|
import { a as d, c as f, n as p, o as m, t as h } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
-
import { t as
|
|
15
|
-
import { i as
|
|
16
|
-
import {
|
|
14
|
+
import { t as g } from "./FormFooterComponent-BkXmQxBf.js";
|
|
15
|
+
import { i as _ } from "./TestingRouteOverrides-DHL_cusu.js";
|
|
16
|
+
import { t as v, u as ee } from "./hooks-DqGWdJ7N.js";
|
|
17
17
|
import { n as te, o as ne } from "./refs-B-c--SWS.js";
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import {
|
|
21
|
-
import { i as T, o as ae, r as oe } from "./useMetrics-
|
|
18
|
+
import { t as y } from "./LogoComponent-qYFfdGhk.js";
|
|
19
|
+
import { t as re } from "./AnnouncingHeader-DDT5xAyL.js";
|
|
20
|
+
import { R as ie, a as b, i as x, n as S, o as C, rt as w } from "../_mysheerid-preview.js";
|
|
21
|
+
import { i as T, o as ae, r as oe } from "./useMetrics-DWYTjtqD.js";
|
|
22
22
|
//#region ../node_modules/@heroicons/react/24/outline/esm/PlusCircleIcon.js
|
|
23
23
|
var E = /* @__PURE__ */ r(m()), D = h(), O = /* @__PURE__ */ r(f());
|
|
24
24
|
function k({ title: e, titleId: t, ...n }, r) {
|
|
@@ -168,7 +168,7 @@ function P(e) {
|
|
|
168
168
|
//#region ../node_modules/file-selector/dist/es5/file-selector.js
|
|
169
169
|
var F = [".DS_Store", "Thumbs.db"];
|
|
170
170
|
function I(e) {
|
|
171
|
-
return
|
|
171
|
+
return x(this, void 0, void 0, function() {
|
|
172
172
|
return b(this, function(t) {
|
|
173
173
|
return z(e) && L(e) ? [2, H(e.dataTransfer, e.type)] : R(e) ? [2, B(e)] : Array.isArray(e) && e.every(function(e) {
|
|
174
174
|
return "getFile" in e && typeof e.getFile == "function";
|
|
@@ -191,7 +191,7 @@ function B(e) {
|
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
193
|
function V(e) {
|
|
194
|
-
return
|
|
194
|
+
return x(this, void 0, void 0, function() {
|
|
195
195
|
var t;
|
|
196
196
|
return b(this, function(n) {
|
|
197
197
|
switch (n.label) {
|
|
@@ -206,7 +206,7 @@ function V(e) {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
function H(e, t) {
|
|
209
|
-
return
|
|
209
|
+
return x(this, void 0, void 0, function() {
|
|
210
210
|
var n, r;
|
|
211
211
|
return b(this, function(i) {
|
|
212
212
|
switch (i.label) {
|
|
@@ -241,7 +241,7 @@ function ce(e) {
|
|
|
241
241
|
}
|
|
242
242
|
function le(e) {
|
|
243
243
|
return e.reduce(function(e, t) {
|
|
244
|
-
return
|
|
244
|
+
return C(e, Array.isArray(t) ? le(t) : [t]);
|
|
245
245
|
}, []);
|
|
246
246
|
}
|
|
247
247
|
function G(e) {
|
|
@@ -251,7 +251,7 @@ function G(e) {
|
|
|
251
251
|
return Promise.resolve(n);
|
|
252
252
|
}
|
|
253
253
|
function K(e) {
|
|
254
|
-
return
|
|
254
|
+
return x(this, void 0, void 0, function() {
|
|
255
255
|
return b(this, function(t) {
|
|
256
256
|
return [2, e.isDirectory ? q(e) : ue(e)];
|
|
257
257
|
});
|
|
@@ -264,7 +264,7 @@ function q(e) {
|
|
|
264
264
|
function i() {
|
|
265
265
|
var a = this;
|
|
266
266
|
t.readEntries(function(t) {
|
|
267
|
-
return
|
|
267
|
+
return x(a, void 0, void 0, function() {
|
|
268
268
|
var a, o, s;
|
|
269
269
|
return b(this, function(c) {
|
|
270
270
|
switch (c.label) {
|
|
@@ -293,7 +293,7 @@ function q(e) {
|
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
295
|
function ue(e) {
|
|
296
|
-
return
|
|
296
|
+
return x(this, void 0, void 0, function() {
|
|
297
297
|
return b(this, function(t) {
|
|
298
298
|
return [2, new Promise(function(t, n) {
|
|
299
299
|
e.file(function(n) {
|
|
@@ -648,9 +648,9 @@ var it = {
|
|
|
648
648
|
fileRejections: []
|
|
649
649
|
};
|
|
650
650
|
function at() {
|
|
651
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, rt), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, p = t.onDropAccepted, m = t.onDropRejected, h = t.onFileDialogCancel,
|
|
652
|
-
return typeof
|
|
653
|
-
}, [
|
|
651
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, rt), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, p = t.onDropAccepted, m = t.onDropRejected, h = t.onFileDialogCancel, g = t.onFileDialogOpen, _ = t.useFsAccessApi, v = t.preventDropOnDocument, ee = t.noClick, te = t.noKeyboard, ne = t.noDrag, y = t.noDragEventsBubbling, re = t.validator, ie = (0, O.useMemo)(function() {
|
|
652
|
+
return typeof g == "function" ? g : st;
|
|
653
|
+
}, [g]), b = (0, O.useMemo)(function() {
|
|
654
654
|
return typeof h == "function" ? h : st;
|
|
655
655
|
}, [h]), x = (0, O.useRef)(null), S = (0, O.useRef)(null), C = qe((0, O.useReducer)(ot, it), 2), w = C[0], T = C[1], ae = w.isFocused, oe = w.isFileDialogActive, E = w.draggedFiles, D = function() {
|
|
656
656
|
oe && setTimeout(function() {
|
|
@@ -658,26 +658,26 @@ function at() {
|
|
|
658
658
|
}, 300);
|
|
659
659
|
};
|
|
660
660
|
(0, O.useEffect)(function() {
|
|
661
|
-
return
|
|
661
|
+
return _ && Le() ? function() {} : (window.addEventListener("focus", D, !1), function() {
|
|
662
662
|
window.removeEventListener("focus", D, !1);
|
|
663
663
|
});
|
|
664
664
|
}, [
|
|
665
665
|
S,
|
|
666
666
|
oe,
|
|
667
667
|
b,
|
|
668
|
-
|
|
668
|
+
_
|
|
669
669
|
]);
|
|
670
670
|
var k = (0, O.useRef)([]), A = function(e) {
|
|
671
671
|
x.current && x.current.contains(e.target) || (e.preventDefault(), k.current = []);
|
|
672
672
|
};
|
|
673
673
|
(0, O.useEffect)(function() {
|
|
674
|
-
return
|
|
675
|
-
|
|
674
|
+
return v && (document.addEventListener("dragover", Ne, !1), document.addEventListener("drop", A, !1)), function() {
|
|
675
|
+
v && (document.removeEventListener("dragover", Ne), document.removeEventListener("drop", A));
|
|
676
676
|
};
|
|
677
|
-
}, [x,
|
|
677
|
+
}, [x, v]);
|
|
678
678
|
var j = (0, O.useCallback)(function(e) {
|
|
679
679
|
e.preventDefault(), e.persist(), U(e), k.current = [].concat(Ue(k.current), [e.target]), Me(e) && Promise.resolve(i(e)).then(function(t) {
|
|
680
|
-
je(e) && !
|
|
680
|
+
je(e) && !y || (T({
|
|
681
681
|
draggedFiles: t,
|
|
682
682
|
isDragActive: !0,
|
|
683
683
|
type: "setDraggedFiles"
|
|
@@ -686,7 +686,7 @@ function at() {
|
|
|
686
686
|
}, [
|
|
687
687
|
i,
|
|
688
688
|
l,
|
|
689
|
-
|
|
689
|
+
y
|
|
690
690
|
]), se = (0, O.useCallback)(function(e) {
|
|
691
691
|
e.preventDefault(), e.persist(), U(e);
|
|
692
692
|
var t = Me(e);
|
|
@@ -694,7 +694,7 @@ function at() {
|
|
|
694
694
|
e.dataTransfer.dropEffect = "copy";
|
|
695
695
|
} catch {}
|
|
696
696
|
return t && d && d(e), !1;
|
|
697
|
-
}, [d,
|
|
697
|
+
}, [d, y]), M = (0, O.useCallback)(function(e) {
|
|
698
698
|
e.preventDefault(), e.persist(), U(e);
|
|
699
699
|
var t = k.current.filter(function(e) {
|
|
700
700
|
return x.current && x.current.contains(e);
|
|
@@ -707,11 +707,11 @@ function at() {
|
|
|
707
707
|
}, [
|
|
708
708
|
x,
|
|
709
709
|
u,
|
|
710
|
-
|
|
710
|
+
y
|
|
711
711
|
]), N = (0, O.useCallback)(function(e, t) {
|
|
712
712
|
var r = [], i = [];
|
|
713
713
|
e.forEach(function(e) {
|
|
714
|
-
var t = qe(Oe(e, n), 2), s = t[0], c = t[1], l = qe(ke(e, o, a), 2), u = l[0], d = l[1], f =
|
|
714
|
+
var t = qe(Oe(e, n), 2), s = t[0], c = t[1], l = qe(ke(e, o, a), 2), u = l[0], d = l[1], f = re ? re(e) : null;
|
|
715
715
|
if (s && u && !f) r.push(e);
|
|
716
716
|
else {
|
|
717
717
|
var p = [c, d];
|
|
@@ -742,17 +742,17 @@ function at() {
|
|
|
742
742
|
f,
|
|
743
743
|
p,
|
|
744
744
|
m,
|
|
745
|
-
|
|
745
|
+
re
|
|
746
746
|
]), P = (0, O.useCallback)(function(e) {
|
|
747
747
|
e.preventDefault(), e.persist(), U(e), k.current = [], Me(e) && Promise.resolve(i(e)).then(function(t) {
|
|
748
|
-
je(e) && !
|
|
748
|
+
je(e) && !y || N(t, e);
|
|
749
749
|
}), T({ type: "reset" });
|
|
750
750
|
}, [
|
|
751
751
|
i,
|
|
752
752
|
N,
|
|
753
|
-
|
|
753
|
+
y
|
|
754
754
|
]), F = (0, O.useCallback)(function() {
|
|
755
|
-
if (
|
|
755
|
+
if (_ && Le()) {
|
|
756
756
|
T({ type: "openDialog" }), ie();
|
|
757
757
|
var e = {
|
|
758
758
|
multiple: s,
|
|
@@ -774,7 +774,7 @@ function at() {
|
|
|
774
774
|
T,
|
|
775
775
|
ie,
|
|
776
776
|
b,
|
|
777
|
-
|
|
777
|
+
_,
|
|
778
778
|
N,
|
|
779
779
|
n,
|
|
780
780
|
s
|
|
@@ -789,19 +789,19 @@ function at() {
|
|
|
789
789
|
}, []), R = (0, O.useCallback)(function() {
|
|
790
790
|
T({ type: "blur" });
|
|
791
791
|
}, []), z = (0, O.useCallback)(function() {
|
|
792
|
-
|
|
792
|
+
ee || (Ie() ? setTimeout(F, 0) : F());
|
|
793
793
|
}, [
|
|
794
794
|
S,
|
|
795
|
-
|
|
795
|
+
ee,
|
|
796
796
|
F
|
|
797
797
|
]), B = function(e) {
|
|
798
798
|
return r ? null : e;
|
|
799
799
|
}, V = function(e) {
|
|
800
|
-
return
|
|
800
|
+
return te ? null : B(e);
|
|
801
801
|
}, H = function(e) {
|
|
802
|
-
return
|
|
802
|
+
return ne ? null : B(e);
|
|
803
803
|
}, U = function(e) {
|
|
804
|
-
|
|
804
|
+
y && e.stopPropagation();
|
|
805
805
|
}, W = (0, O.useMemo)(function() {
|
|
806
806
|
return function() {
|
|
807
807
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = tt(e, Ve);
|
|
@@ -815,7 +815,7 @@ function at() {
|
|
|
815
815
|
onDragLeave: H(X(d, M)),
|
|
816
816
|
onDrop: H(X(f, P)),
|
|
817
817
|
role: typeof i == "string" && i !== "" ? i : "button"
|
|
818
|
-
}, n, x), !r && !
|
|
818
|
+
}, n, x), !r && !te ? { tabIndex: 0 } : {}), p);
|
|
819
819
|
};
|
|
820
820
|
}, [
|
|
821
821
|
x,
|
|
@@ -827,8 +827,8 @@ function at() {
|
|
|
827
827
|
se,
|
|
828
828
|
M,
|
|
829
829
|
P,
|
|
830
|
+
te,
|
|
830
831
|
ne,
|
|
831
|
-
re,
|
|
832
832
|
r
|
|
833
833
|
]), ce = (0, O.useCallback)(function(e) {
|
|
834
834
|
e.stopPropagation();
|
|
@@ -1907,11 +1907,11 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
1907
1907
|
children: e
|
|
1908
1908
|
}, `error-${e}`)) : null]
|
|
1909
1909
|
}) : null, It = d(({ verificationService: r, intl: i }) => {
|
|
1910
|
-
let [s, d] = (0, O.useState)(!1), f = r.verificationResponse, { rejectionReasons: m, segment: h, subSegment:
|
|
1910
|
+
let [s, d] = (0, O.useState)(!1), f = r.verificationResponse, { rejectionReasons: m, segment: h, subSegment: b, verificationId: x, locale: C, country: E } = f, { programTheme: k, programId: A } = r, j = r.viewModel, { fieldValidationErrors: M } = r, { overrideEnabled: N } = r.programTheme, P = v("doc-upload-redesign-use-legacy-message-keys"), F = v("doc-upload-considerations"), I = (P ? pt : Nt)(h, b), L = r.verificationResponse.country === "US", R = (e) => ({
|
|
1911
1911
|
name: e.name,
|
|
1912
1912
|
url: e.type.includes("image") ? URL.createObjectURL(e) : ""
|
|
1913
|
-
}), [z, B] = (0, O.useState)({}), { userDidConvert: V } = ae({ segment: h }), H = [], U =
|
|
1914
|
-
|
|
1913
|
+
}), [z, B] = (0, O.useState)({}), { userDidConvert: V } = ae({ segment: h }), H = [], U = v("doc-upload-may24"), W = f.segment === "student" && f.locale === "en-US" ? U : "default";
|
|
1914
|
+
_("mockDocSelected") && H.push({
|
|
1915
1915
|
name: "myFile.png",
|
|
1916
1916
|
url: ""
|
|
1917
1917
|
});
|
|
@@ -1923,21 +1923,21 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
1923
1923
|
let le = H.map((e) => z[e.name]), G = (e, t) => {
|
|
1924
1924
|
u(c.DOC_UPLOAD_ADD_FILES, {
|
|
1925
1925
|
programId: A,
|
|
1926
|
-
locale:
|
|
1927
|
-
verificationId:
|
|
1926
|
+
locale: C,
|
|
1927
|
+
verificationId: x
|
|
1928
1928
|
}), d(!1), r.updateViewModel(ct(j, e, t));
|
|
1929
1929
|
}, K = (e) => {
|
|
1930
1930
|
u(c.DOC_UPLOAD_REMOVE_FILES, {
|
|
1931
1931
|
programId: A,
|
|
1932
|
-
locale:
|
|
1933
|
-
verificationId:
|
|
1932
|
+
locale: C,
|
|
1933
|
+
verificationId: x
|
|
1934
1934
|
});
|
|
1935
1935
|
let t = e + 1;
|
|
1936
1936
|
d(!1), r.updateViewModel(lt(j, t));
|
|
1937
1937
|
}, q = M.docUpload || e(() => r.verificationResponse.errorIds[0], void 0), ue = (e, n) => {
|
|
1938
1938
|
let i = [], a = [], o = [];
|
|
1939
1939
|
for (let s of e) {
|
|
1940
|
-
let e =
|
|
1940
|
+
let e = ee(t.docUpload, s, r.formValidationOptions);
|
|
1941
1941
|
e === void 0 ? (n && B({
|
|
1942
1942
|
...z,
|
|
1943
1943
|
[s.name]: n
|
|
@@ -2003,16 +2003,16 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2003
2003
|
children: [
|
|
2004
2004
|
/* @__PURE__ */ (0, D.jsx)("div", {
|
|
2005
2005
|
className: "sid-doc-upload-logo-container sid-l-horz-center",
|
|
2006
|
-
children: /* @__PURE__ */ (0, D.jsx)(
|
|
2006
|
+
children: /* @__PURE__ */ (0, D.jsx)(y, { verificationService: r })
|
|
2007
2007
|
}),
|
|
2008
|
-
/* @__PURE__ */ (0, D.jsx)(
|
|
2008
|
+
/* @__PURE__ */ (0, D.jsx)(re, {
|
|
2009
2009
|
align: "start",
|
|
2010
2010
|
children: /* @__PURE__ */ (0, D.jsx)(p, {
|
|
2011
2011
|
id: "step.docUpload.title",
|
|
2012
2012
|
tagName: "h1"
|
|
2013
2013
|
})
|
|
2014
2014
|
}),
|
|
2015
|
-
/* @__PURE__ */ (0, D.jsx)(
|
|
2015
|
+
/* @__PURE__ */ (0, D.jsx)(S, { verificationService: r }),
|
|
2016
2016
|
m && m.length > 0 && /* @__PURE__ */ (0, D.jsxs)("div", {
|
|
2017
2017
|
className: "sid-upload-rejection__wrapper",
|
|
2018
2018
|
children: [
|
|
@@ -2178,7 +2178,7 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2178
2178
|
}, e))
|
|
2179
2179
|
})
|
|
2180
2180
|
})
|
|
2181
|
-
] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [F === "add-doc-considerations" && L && (
|
|
2181
|
+
] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [F === "add-doc-considerations" && L && (b === "activeDuty" || b === "reservist") && /* @__PURE__ */ (0, D.jsx)($, {
|
|
2182
2182
|
id: "docConsiderations",
|
|
2183
2183
|
title: /* @__PURE__ */ (0, D.jsx)(p, {
|
|
2184
2184
|
id: "experiment.step.docUpload.documentConsiderations",
|
|
@@ -2210,7 +2210,7 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2210
2210
|
P && /* @__PURE__ */ (0, D.jsx)(p, { id: "step.docUpload.acceptableUploadExamples" }),
|
|
2211
2211
|
/* @__PURE__ */ (0, D.jsxs)("ul", {
|
|
2212
2212
|
className: "sid-acceptable-document-types",
|
|
2213
|
-
children: [(P ? Tt : Mt)(h,
|
|
2213
|
+
children: [(P ? Tt : Mt)(h, b).map((e) => /* @__PURE__ */ (0, D.jsx)("li", {
|
|
2214
2214
|
className: "sid-acceptable-document-types__item",
|
|
2215
2215
|
children: /* @__PURE__ */ (0, D.jsx)(p, { id: e })
|
|
2216
2216
|
}, e)), /* @__PURE__ */ (0, D.jsx)("li", {
|
|
@@ -2218,7 +2218,7 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2218
2218
|
children: /* @__PURE__ */ (0, D.jsx)(p, { id: "step.docUpload.acceptedTypes" })
|
|
2219
2219
|
})]
|
|
2220
2220
|
}),
|
|
2221
|
-
F !== "add-doc-considerations" && L && (
|
|
2221
|
+
F !== "add-doc-considerations" && L && (b === "activeDuty" || b === "reservist") && /* @__PURE__ */ (0, D.jsx)("div", {
|
|
2222
2222
|
className: "sid-acceptable-document-types",
|
|
2223
2223
|
children: /* @__PURE__ */ (0, D.jsxs)("p", { children: [/* @__PURE__ */ (0, D.jsx)("span", {
|
|
2224
2224
|
className: "display-block",
|
|
@@ -2251,9 +2251,9 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2251
2251
|
/* @__PURE__ */ (0, D.jsx)("p", { children: /* @__PURE__ */ (0, D.jsx)(p, {
|
|
2252
2252
|
id: "step.docUpload.reviewTime",
|
|
2253
2253
|
defaultMessage: "Expected review time is {estimatedWaitTime}.",
|
|
2254
|
-
values: { estimatedWaitTime:
|
|
2254
|
+
values: { estimatedWaitTime: ie(f, k, i).estReviewTime }
|
|
2255
2255
|
}) }),
|
|
2256
|
-
/* @__PURE__ */ (0, D.jsx)("p", { children: /* @__PURE__ */ (0, D.jsx)(
|
|
2256
|
+
/* @__PURE__ */ (0, D.jsx)("p", { children: /* @__PURE__ */ (0, D.jsx)(w, { verificationService: r }) })
|
|
2257
2257
|
]
|
|
2258
2258
|
}),
|
|
2259
2259
|
/* @__PURE__ */ (0, D.jsx)($, {
|
|
@@ -2281,7 +2281,7 @@ var Pt = "DE", Ft = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2281
2281
|
})
|
|
2282
2282
|
})
|
|
2283
2283
|
]
|
|
2284
|
-
}), /* @__PURE__ */ (0, D.jsx)(
|
|
2284
|
+
}), /* @__PURE__ */ (0, D.jsx)(g, {
|
|
2285
2285
|
verificationService: r,
|
|
2286
2286
|
showShield: !1
|
|
2287
2287
|
})]
|