@sheerid/jslib-nightly 2.286.0-alpha.2 → 2.287.0-alpha.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 +44 -44
- package/chunk/{AddressComponent-CEvgEQMA.js → AddressComponent-B5eAINS_.js} +8 -8
- package/chunk/{AddressComponent-CEvgEQMA.js.map → AddressComponent-B5eAINS_.js.map} +1 -1
- package/chunk/{AddressComponent-fSIQCSHy.js → AddressComponent-BX0jgUls.js} +8 -8
- package/chunk/{AddressComponent-fSIQCSHy.js.map → AddressComponent-BX0jgUls.js.map} +1 -1
- package/chunk/{AnnouncingHeader-Cm6ysN0V.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-Cm6ysN0V.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-yslSIrZR.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-yslSIrZR.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/{ApiUrls-Zdy0p875.js → ApiUrls-ol4IjBVl.js} +6 -6
- package/chunk/{ApiUrls-Zdy0p875.js.map → ApiUrls-ol4IjBVl.js.map} +1 -1
- package/chunk/{ApiUrls-DT6YDZwO.js → ApiUrls-qObYCkBX.js} +6 -6
- package/chunk/{ApiUrls-DT6YDZwO.js.map → ApiUrls-qObYCkBX.js.map} +1 -1
- package/chunk/{BirthDateComponent-COBjAdFk.js → BirthDateComponent-C3dciAx3.js} +8 -8
- package/chunk/{BirthDateComponent-COBjAdFk.js.map → BirthDateComponent-C3dciAx3.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dv6hU22_.js → BirthDateComponent-H5HznEwd.js} +8 -8
- package/chunk/{BirthDateComponent-Dv6hU22_.js.map → BirthDateComponent-H5HznEwd.js.map} +1 -1
- package/chunk/{CaptchaComponent-Dtr_Cbvu.js → CaptchaComponent-Bas7iNWQ.js} +15 -15
- package/chunk/{CaptchaComponent-3qiTIduG.js.map → CaptchaComponent-Bas7iNWQ.js.map} +1 -1
- package/chunk/{CaptchaComponent-3qiTIduG.js → CaptchaComponent-Diu_--ln.js} +15 -15
- package/chunk/{CaptchaComponent-Dtr_Cbvu.js.map → CaptchaComponent-Diu_--ln.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B4Tlnh2U.js → ChangeLocaleComponent-9Y4SphUw.js} +9 -9
- package/chunk/{ChangeLocaleComponent-B4Tlnh2U.js.map → ChangeLocaleComponent-9Y4SphUw.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-jMvrJEW-.js → ChangeLocaleComponent-FJyzBxaT.js} +9 -9
- package/chunk/{ChangeLocaleComponent-jMvrJEW-.js.map → ChangeLocaleComponent-FJyzBxaT.js.map} +1 -1
- package/chunk/{City-BIL97VTt.js → City-BKbamDaP.js} +8 -8
- package/chunk/{City-BIL97VTt.js.map → City-BKbamDaP.js.map} +1 -1
- package/chunk/{City-xUKTZJTo.js → City-Ca9g2hnZ.js} +8 -8
- package/chunk/{City-xUKTZJTo.js.map → City-Ca9g2hnZ.js.map} +1 -1
- package/chunk/{CollegeNameComponent-OwBwjKji.js → CollegeNameComponent-CGVtD-y7.js} +10 -10
- package/chunk/{CollegeNameComponent-Hnhr9YwU.js.map → CollegeNameComponent-CGVtD-y7.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Hnhr9YwU.js → CollegeNameComponent-FGIW65gB.js} +10 -10
- package/chunk/{CollegeNameComponent-OwBwjKji.js.map → CollegeNameComponent-FGIW65gB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BvzDoXkd.js → CopyToClipboardComponent-BAOwMLHJ.js} +28 -27
- package/chunk/CopyToClipboardComponent-BAOwMLHJ.js.map +1 -0
- package/chunk/{CopyToClipboardComponent-CHdDPJEa.js → CopyToClipboardComponent-BejK3fLR.js} +28 -27
- package/chunk/CopyToClipboardComponent-BejK3fLR.js.map +1 -0
- package/chunk/{CountryComponentWrapper-B1wLa3TB.js → CountryComponentWrapper-D80nVtWG.js} +16 -16
- package/chunk/{CountryComponentWrapper-B1wLa3TB.js.map → CountryComponentWrapper-D80nVtWG.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DhAq6SAW.js → CountryComponentWrapper-DVpRUMxT.js} +16 -16
- package/chunk/{CountryComponentWrapper-DhAq6SAW.js.map → CountryComponentWrapper-DVpRUMxT.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CjUKk-H2.js → DischargeDateComponent-CmkIWUkY.js} +15 -15
- package/chunk/{DischargeDateComponent-CAtYqcPo.js.map → DischargeDateComponent-CmkIWUkY.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CAtYqcPo.js → DischargeDateComponent-KHotEkM_.js} +15 -15
- package/chunk/{DischargeDateComponent-CjUKk-H2.js.map → DischargeDateComponent-KHotEkM_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BNd8xL27.js → DriverLicenseNumberComponent-51I57PrX.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B877KIX3.js.map → DriverLicenseNumberComponent-51I57PrX.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B877KIX3.js → DriverLicenseNumberComponent-BPTZ3YCP.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-BNd8xL27.js.map → DriverLicenseNumberComponent-BPTZ3YCP.js.map} +1 -1
- package/chunk/{EmailLoopPending-CUKvLcJV.js → EmailLoopPending-BA_s5Mka.js} +11 -11
- package/chunk/{EmailLoopPending-CUKvLcJV.js.map → EmailLoopPending-BA_s5Mka.js.map} +1 -1
- package/chunk/{EmailLoopPending-uBm7ltwg.js → EmailLoopPending-D0NtDW9P.js} +11 -11
- package/chunk/{EmailLoopPending-uBm7ltwg.js.map → EmailLoopPending-D0NtDW9P.js.map} +1 -1
- package/chunk/{ExtraMessage-OwXiBnCM.js → ExtraMessage-DE-G2A6f.js} +7 -7
- package/chunk/{ExtraMessage-Bx2shBsO.js.map → ExtraMessage-DE-G2A6f.js.map} +1 -1
- package/chunk/{ExtraMessage-Bx2shBsO.js → ExtraMessage-avw7s1h3.js} +7 -7
- package/chunk/{ExtraMessage-OwXiBnCM.js.map → ExtraMessage-avw7s1h3.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Gj4VL7DI.js → FirstResponderOrganizationComponent-D8PWm5LF.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-BtSgJTlK.js.map → FirstResponderOrganizationComponent-D8PWm5LF.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BtSgJTlK.js → FirstResponderOrganizationComponent-LcdE0Dfk.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-Gj4VL7DI.js.map → FirstResponderOrganizationComponent-LcdE0Dfk.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C2JbVtSi.js → FormFieldInputSelect-BjJQMfE5.js} +7 -7
- package/chunk/{FormFieldInputSelect-0RWaXUZ0.js.map → FormFieldInputSelect-BjJQMfE5.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-0RWaXUZ0.js → FormFieldInputSelect-C_6HBdJ7.js} +7 -7
- package/chunk/{FormFieldInputSelect-C2JbVtSi.js.map → FormFieldInputSelect-C_6HBdJ7.js.map} +1 -1
- package/chunk/{FormFieldLayout-Ci7MzpgW.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-C6rbRhh0.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-C6rbRhh0.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-Ci7MzpgW.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-blykeSRX.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-Dx92JsxR.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-Dx92JsxR.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-blykeSRX.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DIhWUSSE.js → FormFieldTypeahead-Bx3K_8cN.js} +13 -13
- package/chunk/{FormFieldTypeahead-DIhWUSSE.js.map → FormFieldTypeahead-Bx3K_8cN.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Fu_3FlXg.js → FormFieldTypeahead-CyI4wYc-.js} +13 -13
- package/chunk/{FormFieldTypeahead-Fu_3FlXg.js.map → FormFieldTypeahead-CyI4wYc-.js.map} +1 -1
- package/chunk/{FormFooterComponent-DYBSB7Oh.js → FormFooterComponent-B7fxKAhI.js} +13 -13
- package/chunk/{FormFooterComponent-DYBSB7Oh.js.map → FormFooterComponent-B7fxKAhI.js.map} +1 -1
- package/chunk/{FormFooterComponent-C68F5kaP.js → FormFooterComponent-BprB7621.js} +13 -13
- package/chunk/{FormFooterComponent-C68F5kaP.js.map → FormFooterComponent-BprB7621.js.map} +1 -1
- package/chunk/{FormSelectChoice-XdFgcHCe.js → FormSelectChoice-ClCU5Lc5.js} +8 -8
- package/chunk/{FormSelectChoice-LqM1ihM5.js.map → FormSelectChoice-ClCU5Lc5.js.map} +1 -1
- package/chunk/{FormSelectChoice-LqM1ihM5.js → FormSelectChoice-Dh__kjxg.js} +8 -8
- package/chunk/{FormSelectChoice-XdFgcHCe.js.map → FormSelectChoice-Dh__kjxg.js.map} +1 -1
- package/chunk/{InputText-C79edroa.js → InputText-CMu4ei8e.js} +6 -6
- package/chunk/{InputText-C79edroa.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-GzAnMGCC.js → InputText-dflyPe3J.js} +6 -6
- package/chunk/{InputText-GzAnMGCC.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DnfCid0C.js → LicensedProfessionalOrganizationComponent-CNzUnqrq.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-NJR6sc0z.js.map → LicensedProfessionalOrganizationComponent-CNzUnqrq.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-NJR6sc0z.js → LicensedProfessionalOrganizationComponent-DUjw4wg8.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-DnfCid0C.js.map → LicensedProfessionalOrganizationComponent-DUjw4wg8.js.map} +1 -1
- package/chunk/{LogoComponent-EBhWWnBF.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-88BDkLwD.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-88BDkLwD.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-EBhWWnBF.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-JbEkRbLK.js → LowIncomeOrganizationComponent-DNsHaaYQ.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-BW3TNx8b.js.map → LowIncomeOrganizationComponent-DNsHaaYQ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BW3TNx8b.js → LowIncomeOrganizationComponent-Di8GqFcn.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-JbEkRbLK.js.map → LowIncomeOrganizationComponent-Di8GqFcn.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Cp4yUfxf.js → MedicalProfessionalOrganizationComponent-DQYVDeVz.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-Cp4yUfxf.js.map → MedicalProfessionalOrganizationComponent-DQYVDeVz.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B3QspdhP.js → MedicalProfessionalOrganizationComponent-F5DaG4Sw.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B3QspdhP.js.map → MedicalProfessionalOrganizationComponent-F5DaG4Sw.js.map} +1 -1
- package/chunk/{MemberIdComponent-UMnfxBez.js → MemberIdComponent-B0Y8uQ5K.js} +8 -8
- package/chunk/{MemberIdComponent-UMnfxBez.js.map → MemberIdComponent-B0Y8uQ5K.js.map} +1 -1
- package/chunk/{MemberIdComponent-cwxA9cHM.js → MemberIdComponent-B2eCH51_.js} +8 -8
- package/chunk/{MemberIdComponent-cwxA9cHM.js.map → MemberIdComponent-B2eCH51_.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Vhp79C62.js → MembershipOrganizationComponent-DKs3_Cjf.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BkWW4Yeo.js.map → MembershipOrganizationComponent-DKs3_Cjf.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BkWW4Yeo.js → MembershipOrganizationComponent-Lwp4zROw.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Vhp79C62.js.map → MembershipOrganizationComponent-Lwp4zROw.js.map} +1 -1
- package/chunk/{Message-DJBqbWrp.js → Message-BTaP_P7J.js} +10 -10
- package/chunk/{Message-DJBqbWrp.js.map → Message-BTaP_P7J.js.map} +1 -1
- package/chunk/{Message-BunzH7fa.js → Message-BdW9Sgcn.js} +10 -10
- package/chunk/{Message-BunzH7fa.js.map → Message-BdW9Sgcn.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DZaG_Bd6.js → PersonalInfoStepSubmitButton-75e6wHAD.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-C4NAU26j.js.map → PersonalInfoStepSubmitButton-75e6wHAD.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-C4NAU26j.js → PersonalInfoStepSubmitButton-C8bnmojJ.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-DZaG_Bd6.js.map → PersonalInfoStepSubmitButton-C8bnmojJ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BgmoL6ee.js → PersonalInfoStepWrapper-B4Lo-i6j.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BgmoL6ee.js.map → PersonalInfoStepWrapper-B4Lo-i6j.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Dlmhjo6N.js → PersonalInfoStepWrapper-grvDK4pu.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-Dlmhjo6N.js.map → PersonalInfoStepWrapper-grvDK4pu.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CPZfUESZ.js → PostalCodeComponent-DZKBbfzI.js} +8 -8
- package/chunk/{PostalCodeComponent-CPZfUESZ.js.map → PostalCodeComponent-DZKBbfzI.js.map} +1 -1
- package/chunk/{PostalCodeComponent-VDfukHbY.js → PostalCodeComponent-uywldAa4.js} +8 -8
- package/chunk/{PostalCodeComponent-VDfukHbY.js.map → PostalCodeComponent-uywldAa4.js.map} +1 -1
- package/chunk/{SSN-B67W8oLs.js → SSN-CXXqvJti.js} +8 -8
- package/chunk/{SSN-B67W8oLs.js.map → SSN-CXXqvJti.js.map} +1 -1
- package/chunk/{SSN-BVh7Dhuk.js → SSN-Cvn_3Oxv.js} +8 -8
- package/chunk/{SSN-BVh7Dhuk.js.map → SSN-Cvn_3Oxv.js.map} +1 -1
- package/chunk/StateSelectComponent-BDtt7Vys.js +38 -0
- package/chunk/StateSelectComponent-BDtt7Vys.js.map +1 -0
- package/chunk/StateSelectComponent-CQVlBnFd.js +42 -0
- package/chunk/StateSelectComponent-CQVlBnFd.js.map +1 -0
- package/chunk/{StatusComponent-CqF9cCjU.js → StatusComponent-CzvTJXEe.js} +9 -9
- package/chunk/{StatusComponent-CqF9cCjU.js.map → StatusComponent-CzvTJXEe.js.map} +1 -1
- package/chunk/{StatusComponent-DU8VVzqB.js → StatusComponent-QdCFsSuE.js} +9 -9
- package/chunk/{StatusComponent-DU8VVzqB.js.map → StatusComponent-QdCFsSuE.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-X8ebAelC.js → StepAgePersonalInfo-C57P-2UU.js} +41 -41
- package/chunk/{StepAgePersonalInfo-CDNNfePx.js.map → StepAgePersonalInfo-C57P-2UU.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CDNNfePx.js → StepAgePersonalInfo-CCZtMg_C.js} +41 -41
- package/chunk/{StepAgePersonalInfo-X8ebAelC.js.map → StepAgePersonalInfo-CCZtMg_C.js.map} +1 -1
- package/chunk/{StepCard-DXc8h6Xb.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-D3V6UR1D.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-D3V6UR1D.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-DXc8h6Xb.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DjHVmRka.js → StepCollectIdentifier-D42gq2YF.js} +11 -11
- package/chunk/{StepCollectIdentifier-DjHVmRka.js.map → StepCollectIdentifier-D42gq2YF.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-pFxNA5-S.js → StepCollectIdentifier-DQVT7GsN.js} +11 -11
- package/chunk/{StepCollectIdentifier-pFxNA5-S.js.map → StepCollectIdentifier-DQVT7GsN.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BDYBC-PI.js +250 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BDYBC-PI.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-uZswkFAe.js +246 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-uZswkFAe.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-Dg4eJobW.js +369 -0
- package/chunk/StepCollectPersonalInfo-Dg4eJobW.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-R283bSjW.js +373 -0
- package/chunk/StepCollectPersonalInfo-R283bSjW.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Bi-I4iQd.js → StepCompleteAuthentication-DmkwcwhP.js} +9 -9
- package/chunk/{StepCompleteAuthentication-Bi-I4iQd.js.map → StepCompleteAuthentication-DmkwcwhP.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-nlgzsvQo.js → StepCompleteAuthentication-oWf-NQ40.js} +9 -9
- package/chunk/{StepCompleteAuthentication-nlgzsvQo.js.map → StepCompleteAuthentication-oWf-NQ40.js.map} +1 -1
- package/chunk/{StepConsolation-Ctfums38.js → StepConsolation-CA7jRR16.js} +17 -19
- package/chunk/StepConsolation-CA7jRR16.js.map +1 -0
- package/chunk/{StepConsolation-C8l0AsAN.js → StepConsolation-Dkgvb8lc.js} +17 -19
- package/chunk/StepConsolation-Dkgvb8lc.js.map +1 -0
- package/chunk/{StepDocUpload-B6U1kt-J.js → StepDocUpload-Czv8xkNJ.js} +13 -13
- package/chunk/{StepDocUpload-B6U1kt-J.js.map → StepDocUpload-Czv8xkNJ.js.map} +1 -1
- package/chunk/{StepDocUpload-u87pI7B5.js → StepDocUpload-yORpP9JN.js} +13 -13
- package/chunk/{StepDocUpload-u87pI7B5.js.map → StepDocUpload-yORpP9JN.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-BnB2TLuM.js +146 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-BnB2TLuM.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Do--Ecsk.js +142 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Do--Ecsk.js.map +1 -0
- package/chunk/{StepEmailLoop-LNvZO2lA.js → StepEmailLoop-DGCXUZlQ.js} +13 -13
- package/chunk/{StepEmailLoop-LNvZO2lA.js.map → StepEmailLoop-DGCXUZlQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-Bep5IjIv.js → StepEmailLoop-DyYmmWou.js} +13 -13
- package/chunk/{StepEmailLoop-Bep5IjIv.js.map → StepEmailLoop-DyYmmWou.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-C1dWVX-m.js → StepEmploymentPersonalInfo-BKiTall_.js} +64 -63
- package/chunk/StepEmploymentPersonalInfo-BKiTall_.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-D9mQOTuf.js → StepEmploymentPersonalInfo-CUQROBSN.js} +64 -63
- package/chunk/StepEmploymentPersonalInfo-CUQROBSN.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-DlUpQoEU.js → StepFirstResponderPersonalInfo-B4zUkIKg.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-CT1gRYaq.js.map → StepFirstResponderPersonalInfo-B4zUkIKg.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CT1gRYaq.js → StepFirstResponderPersonalInfo-DvxR1yyx.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-DlUpQoEU.js.map → StepFirstResponderPersonalInfo-DvxR1yyx.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-1-z8c41b.js → StepGeneralIdentityPersonalInfoComponent-Bzlgt2jx.js} +62 -70
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Bzlgt2jx.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CmgvtAGS.js +175 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CmgvtAGS.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-B4LBkBb9.js +184 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-B4LBkBb9.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CTeNJ_9b.js +188 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CTeNJ_9b.js.map +1 -0
- package/chunk/{StepIDCheckLoop-C_8ZbGg3.js → StepIDCheckLoop-B9TJ2Dba.js} +8 -8
- package/chunk/{StepIDCheckLoop-C_8ZbGg3.js.map → StepIDCheckLoop-B9TJ2Dba.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-B4XZRie5.js → StepIDCheckLoop-ti0ZOEGu.js} +8 -8
- package/chunk/{StepIDCheckLoop-B4XZRie5.js.map → StepIDCheckLoop-ti0ZOEGu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-xcgqvCT4.js → StepIDCheckLoopOnfido-Bd0rkZZ7.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-xcgqvCT4.js.map → StepIDCheckLoopOnfido-Bd0rkZZ7.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DHJ1eACS.js → StepIDCheckLoopOnfido-ubJ6feL4.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-DHJ1eACS.js.map → StepIDCheckLoopOnfido-ubJ6feL4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DHBybeFp.js → StepIDCheckLoopRegula-CazRqxyJ.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-BKzknlsH.js.map → StepIDCheckLoopRegula-CazRqxyJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BKzknlsH.js → StepIDCheckLoopRegula-CmncRiW6.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DHBybeFp.js.map → StepIDCheckLoopRegula-CmncRiW6.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BNua2Voe.js → StepLicensedProfessionalPersonalInfo-1wChhYZu.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-BNua2Voe.js.map → StepLicensedProfessionalPersonalInfo-1wChhYZu.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DxzL7PKs.js → StepLicensedProfessionalPersonalInfo-B3-E22Mw.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-DxzL7PKs.js.map → StepLicensedProfessionalPersonalInfo-B3-E22Mw.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-ChHOr4Dn.js → StepLowIncomePersonalInfo-B0tw7uDV.js} +70 -69
- package/chunk/StepLowIncomePersonalInfo-B0tw7uDV.js.map +1 -0
- package/chunk/{StepLowIncomePersonalInfo-zPhDWXQu.js → StepLowIncomePersonalInfo-DT1jX62H.js} +71 -70
- package/chunk/StepLowIncomePersonalInfo-DT1jX62H.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-CenlDA7k.js → StepMedicalProfessionalPersonalInfo-C0z_WSeh.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-CenlDA7k.js.map → StepMedicalProfessionalPersonalInfo-C0z_WSeh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFjztEA9.js → StepMedicalProfessionalPersonalInfo-Dy5CTlLh.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFjztEA9.js.map → StepMedicalProfessionalPersonalInfo-Dy5CTlLh.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-x4tfVQwF.js → StepMemberPersonalInfo-B27X1eX6.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-CIrTZrzs.js.map → StepMemberPersonalInfo-B27X1eX6.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CIrTZrzs.js → StepMemberPersonalInfo-CgmKNiea.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-x4tfVQwF.js.map → StepMemberPersonalInfo-CgmKNiea.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D9AupBvx.js → StepMoverPersonalInfo-CWSqewTD.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-CJOQKMaw.js.map → StepMoverPersonalInfo-CWSqewTD.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CJOQKMaw.js → StepMoverPersonalInfo-Cr9fuYAg.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-D9AupBvx.js.map → StepMoverPersonalInfo-Cr9fuYAg.js.map} +1 -1
- package/chunk/{StepOverrideComponent-QsyKT4aZ.js → StepOverrideComponent-Cv_YKSqT.js} +12 -12
- package/chunk/{StepOverrideComponent-Bj7PAZ4Z.js.map → StepOverrideComponent-Cv_YKSqT.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bj7PAZ4Z.js → StepOverrideComponent-DpFC6eQo.js} +12 -12
- package/chunk/{StepOverrideComponent-QsyKT4aZ.js.map → StepOverrideComponent-DpFC6eQo.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bmt8tVWk.js → StepSMSLoop-B-_E4tM_.js} +9 -9
- package/chunk/{StepSMSLoop-CzViaU2K.js.map → StepSMSLoop-B-_E4tM_.js.map} +1 -1
- package/chunk/{StepSMSLoop-CzViaU2K.js → StepSMSLoop-Ja0i_GoL.js} +9 -9
- package/chunk/{StepSMSLoop-Bmt8tVWk.js.map → StepSMSLoop-Ja0i_GoL.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CxjWst3F.js → StepSocialSecurityNumber-CieWaLTm.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-B-lac1dq.js.map → StepSocialSecurityNumber-CieWaLTm.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-B-lac1dq.js → StepSocialSecurityNumber-DzSsFNZG.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-CxjWst3F.js.map → StepSocialSecurityNumber-DzSsFNZG.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C19uuc35.js → StepStudentPersonalInfo-Db17XKs7.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-BbNYLYQM.js.map → StepStudentPersonalInfo-Db17XKs7.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BbNYLYQM.js → StepStudentPersonalInfo-RtCvMVyw.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-C19uuc35.js.map → StepStudentPersonalInfo-RtCvMVyw.js.map} +1 -1
- package/chunk/{StepSuccess-BTjwSlUq.js → StepSuccess-BA_Lm04o.js} +83 -84
- package/chunk/StepSuccess-BA_Lm04o.js.map +1 -0
- package/chunk/{StepSuccess-B8GUwLl1.js → StepSuccess-Ceg-IRq0.js} +83 -84
- package/chunk/StepSuccess-Ceg-IRq0.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-C2OKI-SB.js → StepTeacherPersonalInfo-CYUqKy-w.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-C2OKI-SB.js.map → StepTeacherPersonalInfo-CYUqKy-w.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DrB0FfDl.js → StepTeacherPersonalInfo-gpUtUxsE.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-DrB0FfDl.js.map → StepTeacherPersonalInfo-gpUtUxsE.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-C6_Q1Hyc.js → TeacherSchoolComponent-CDX2J8qT.js} +10 -10
- package/chunk/{TeacherSchoolComponent-BGCYNyOF.js.map → TeacherSchoolComponent-CDX2J8qT.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BGCYNyOF.js → TeacherSchoolComponent-lvtX6aEM.js} +10 -10
- package/chunk/{TeacherSchoolComponent-C6_Q1Hyc.js.map → TeacherSchoolComponent-lvtX6aEM.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-g0sNWumM.js → TestingRouteOverrides-EggQSvgh.js} +6 -6
- package/chunk/{TestingRouteOverrides-BJ6TzzV2.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-BJ6TzzV2.js → TestingRouteOverrides-ipf_F-iY.js} +6 -6
- package/chunk/{TestingRouteOverrides-g0sNWumM.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-2xROZ0HR.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-2xROZ0HR.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-BrbLtF3F.js.map → countryUtils-n_5QoHGV.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-DvaoY6u7.js → downshift.esm-Cz6Fmx7J.js} +7 -7
- package/chunk/{downshift.esm-DvaoY6u7.js.map → downshift.esm-Cz6Fmx7J.js.map} +1 -1
- package/chunk/{downshift.esm-CUJv4odi.js → downshift.esm-DnOxwk9V.js} +7 -7
- package/chunk/{downshift.esm-CUJv4odi.js.map → downshift.esm-DnOxwk9V.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-DVYWFiU4.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-CrGLsC5v.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-CrGLsC5v.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-DVYWFiU4.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-j2dPIOl1.js → hooks-BlwolTIT.js} +9 -8
- package/chunk/{hooks-Bl6VU6hP.js.map → hooks-BlwolTIT.js.map} +1 -1
- package/chunk/{hooks-Bl6VU6hP.js → hooks-gC9DtNY1.js} +9 -8
- package/chunk/{hooks-j2dPIOl1.js.map → hooks-gC9DtNY1.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/{intl-D0f52P7V.js → intl-CvSmE54g.js} +6 -6
- package/chunk/{intl-D0f52P7V.js.map → intl-CvSmE54g.js.map} +1 -1
- 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-ClghfwTa.js → jsx-runtime-CyXcV_93.js} +5 -5
- package/chunk/{jsx-runtime-ClghfwTa.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-FfARtXk2.js → jsx-runtime-JSlXFmKD.js} +5 -5
- package/chunk/{jsx-runtime-FfARtXk2.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-Baq-FHji.js → mocks-Dpf6dNc6.js} +5 -5
- package/chunk/{mocks-Baq-FHji.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-DLTwXwzM.js → mocks-DrV8NINc.js} +5 -5
- package/chunk/{mocks-DLTwXwzM.js.map → mocks-DrV8NINc.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/{options-CvRaXPRs.js → options-CRzdSTAR.js} +6 -6
- package/chunk/{options-CvRaXPRs.js.map → options-CRzdSTAR.js.map} +1 -1
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-CQmR9Vit.js → programThemeGetters-DYWYXv-a.js} +5 -5
- package/chunk/{programThemeGetters-CQmR9Vit.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/{programThemeGetters-Bhp4oSEn.js → programThemeGetters-VBnkSxuj.js} +5 -5
- package/chunk/{programThemeGetters-Bhp4oSEn.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-BweXuNBz.js → stepComponentHelpers-BFyXhiWa.js} +46 -40
- package/chunk/stepComponentHelpers-BFyXhiWa.js.map +1 -0
- package/chunk/{stepComponentHelpers-CmZT1Man.js → stepComponentHelpers-CcEMtmwt.js} +46 -40
- package/chunk/stepComponentHelpers-CcEMtmwt.js.map +1 -0
- 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-D15FcoFB.js → useCollectFieldsEndpoint-BjmY4OHG.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-D15FcoFB.js.map → useCollectFieldsEndpoint-BjmY4OHG.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DV9zk9Je.js → useCollectFieldsEndpoint-C0CTHnra.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-DV9zk9Je.js.map → useCollectFieldsEndpoint-C0CTHnra.js.map} +1 -1
- package/chunk/{useMetrics-BEoV8Edp.js → useMetrics-C3KNudJk.js} +7 -7
- package/chunk/{useMetrics-BEoV8Edp.js.map → useMetrics-C3KNudJk.js.map} +1 -1
- package/chunk/{useMetrics-CRK2aOGa.js → useMetrics-Cjo0Vkjx.js} +7 -7
- package/chunk/{useMetrics-CRK2aOGa.js.map → useMetrics-Cjo0Vkjx.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 +5 -5
- package/sheerid.js +44 -44
- package/chunk/CopyToClipboardComponent-BvzDoXkd.js.map +0 -1
- package/chunk/CopyToClipboardComponent-CHdDPJEa.js.map +0 -1
- package/chunk/StateSelectComponent-BG1HTtFx.js +0 -42
- package/chunk/StateSelectComponent-BG1HTtFx.js.map +0 -1
- package/chunk/StateSelectComponent-DSZEVrkF.js +0 -46
- package/chunk/StateSelectComponent-DSZEVrkF.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js +0 -245
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js +0 -249
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js +0 -372
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js +0 -368
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js.map +0 -1
- package/chunk/StepConsolation-C8l0AsAN.js.map +0 -1
- package/chunk/StepConsolation-Ctfums38.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js +0 -145
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js +0 -141
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-C1dWVX-m.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-D9mQOTuf.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js +0 -174
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js +0 -178
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-1-z8c41b.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js +0 -183
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-ChHOr4Dn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-zPhDWXQu.js.map +0 -1
- package/chunk/StepSuccess-B8GUwLl1.js.map +0 -1
- package/chunk/StepSuccess-BTjwSlUq.js.map +0 -1
- package/chunk/countryUtils-BrbLtF3F.js +0 -12
- package/chunk/stepComponentHelpers-BweXuNBz.js.map +0 -1
- package/chunk/stepComponentHelpers-CmZT1Man.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-Bi-I4iQd.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 role=\"main\">\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(\n \"authenticationCode\",\n token,\n verificationService,\n );\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 </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IAAoB,MAA0B,KAAK,IAAI,iBAAiB,GACxE,IAAY,EAAK,WACjB,IAAiB,EAAK,WACtB,IAAY,MAAmB,KAAK,IAAI,KAAO,GAC/C,IAAqB,EAAK,oBAC1B,IAAW,EAAK,UAChB,IAAiB,EAAK,gBACtB,IAAkB,EAAK,YACvB,IAAa,MAAoB,KAAK,IAAI,KAAQ,GAClD,IAAc,EAAK,QACnB,IAAS,MAAgB,KAAK,IAAI,IAAI,GACtC,IAAc,EAAK,aACnB,IAAW,EAAK;CAEpB,IAAI,MAAM,CAAM,KAAK,IAAS,GAC5B,MAAU,MAAM,8CAA8C;CAGhE,IAAI,CAAC,EAAwB,KAAK,SAAU,GAAO;EACjD,OAAO,MAAU;CACnB,CAAC,GACC,MAAU,MAAM,0EAA0E;CAG5F,IAAI,KAAA,GAAA,EAAA,QAAmB,CAAC,CAAC,GACrB,IAAa,EAAS;CAqB1B,CApBA,GAAA,EAAA,qBAAoB,GAAK,WAAY;EACnC,O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AAA,UACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-DmkwcwhP.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 role=\"main\">\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(\n \"authenticationCode\",\n token,\n verificationService,\n );\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 </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SA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ication-oWf-NQ40.js}
RENAMED
|
@@ -4,17 +4,17 @@
|
|
|
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:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { Ot as e, p as t } from "./intl-
|
|
12
|
+
import { Ot as e, p as t } from "./intl-CvSmE54g.js";
|
|
13
13
|
import { b as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { c as r, n as i, t as a } from "./jsx-runtime-
|
|
15
|
-
import { t as o } from "./hooks-
|
|
16
|
-
import { t as s } from "./AnnouncingHeader-
|
|
17
|
-
import {
|
|
14
|
+
import { c as r, n as i, t as a } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
+
import { t as o } from "./hooks-BlwolTIT.js";
|
|
16
|
+
import { t as s } from "./AnnouncingHeader-B0Ku-xl_.js";
|
|
17
|
+
import { g as c, m as l } from "./stepComponentHelpers-CcEMtmwt.js";
|
|
18
18
|
//#region ../node_modules/react-auth-code-input/dist/index.modern.js
|
|
19
19
|
var u = /* @__PURE__ */ e(r()), d = [
|
|
20
20
|
"alpha",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-nlgzsvQo.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 role=\"main\">\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(\n \"authenticationCode\",\n token,\n verificationService,\n );\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 </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IAAoB,MAA0B,KAAK,IAAI,iBAAiB,GACxE,IAAY,EAAK,WACjB,IAAiB,EAAK,WACtB,IAAY,MAAmB,KAAK,IAAI,KAAO,GAC/C,IAAqB,EAAK,oBAC1B,IAAW,EAAK,UAChB,IAAiB,EAAK,gBACtB,IAAkB,EAAK,YACvB,IAAa,MAAoB,KAAK,IAAI,KAAQ,GAClD,IAAc,EAAK,QACnB,IAAS,MAAgB,KAAK,IAAI,IAAI,GACtC,IAAc,EAAK,aACnB,IAAW,EAAK;CAEpB,IAAI,MAAM,CAAM,KAAK,IAAS,GAC5B,MAAU,MAAM,8CAA8C;CAGhE,IAAI,CAAC,EAAwB,KAAK,SAAU,GAAO;EACjD,OAAO,MAAU;CACnB,CAAC,GACC,MAAU,MAAM,0EAA0E;CAG5F,IAAI,KAAA,GAAA,EAAA,QAAmB,CAAC,CAAC,GACrB,IAAa,EAAS;CAqB1B,CApBA,GAAA,EAAA,qBAAoB,GAAK,WAAY;EACnC,OAAO;GACL,OAAO,WAAiB;IACtB,AAAI,EAAU,WACZ,EAAU,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ACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-oWf-NQ40.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 role=\"main\">\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(\n \"authenticationCode\",\n token,\n verificationService,\n );\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 </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IA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AMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { n as e, t } from "./jsx-runtime-
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-CyXcV_93.js";
|
|
9
9
|
import { l as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
10
|
-
import { t as r } from "./ApiUrls-
|
|
11
|
-
import { t as i } from "./LogoComponent-
|
|
12
|
-
import { t as a } from "./CopyToClipboardComponent-
|
|
10
|
+
import { t as r } from "./ApiUrls-ol4IjBVl.js";
|
|
11
|
+
import { t as i } from "./LogoComponent-DASXTR4v.js";
|
|
12
|
+
import { t as a } from "./CopyToClipboardComponent-BejK3fLR.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
14
|
var o = t(), s = ({ verificationService: t }) => {
|
|
15
15
|
let s = t.verificationResponse.consolationRewardCode || "${consolationRewardCode}", c = t.programTheme.config.offerType === "noCode", { verificationId: l } = t.verificationResponse, { rewardDisplay: u } = t.programTheme.config, d = !c && !!u.length;
|
|
@@ -56,18 +56,16 @@ var o = t(), s = ({ verificationService: t }) => {
|
|
|
56
56
|
className: "sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center",
|
|
57
57
|
role: "region",
|
|
58
58
|
children: s
|
|
59
|
-
}), /* @__PURE__ */ (0, o.jsx)(
|
|
59
|
+
}), /* @__PURE__ */ (0, o.jsx)(a, {
|
|
60
60
|
className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
defaultMessage: "Copy Coupon code"
|
|
70
|
-
})
|
|
61
|
+
textToCopy: s,
|
|
62
|
+
notificationText: /* @__PURE__ */ (0, o.jsx)(e, {
|
|
63
|
+
id: "copied",
|
|
64
|
+
defaultMessage: "Copied"
|
|
65
|
+
}),
|
|
66
|
+
children: /* @__PURE__ */ (0, o.jsx)(e, {
|
|
67
|
+
id: "step.success.copyCouponCode",
|
|
68
|
+
defaultMessage: "Copy Coupon code"
|
|
71
69
|
})
|
|
72
70
|
})] }) : /* @__PURE__ */ (0, o.jsx)("img", {
|
|
73
71
|
className: "sid-l-space-top-md sid-barcode",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepConsolation-CA7jRR16.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAsHa,KA1GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,IAAG;OACH,MAAK;iBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ;OACT,CAAA;MACE,CAAA;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAc,gBAAe;mBAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;SACE,IAAG;SACH,gBAAe;SACf,QAAQ,EAAE,eAAY;QACvB,CAAA;OAEiB,CAAA;MACnB,CAAA;KACF;;IAEJ,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACZ,EAAc,KAAK,MACd,MAAgB,EAAkB,OAUpC,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;MACE,WAAU;MACV,MAAK;gBAEJ;KACE,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,WAAU;MACV,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,CACjB,EAAA,CAAA,IAzBA,iBAAA,GAAA,EAAA,KAAC,OAAD;MAEE,WAAU;MACV,KAAK;MACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAsBN;IACE,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -4,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:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
12
|
import { l as e } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
|
-
import { t } from "./ApiUrls-
|
|
14
|
-
import { n, t as r } from "./jsx-runtime-
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
16
|
-
import { t as a } from "./CopyToClipboardComponent-
|
|
13
|
+
import { t } from "./ApiUrls-qObYCkBX.js";
|
|
14
|
+
import { n, t as r } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
+
import { t as i } from "./LogoComponent-BDhMcJvy.js";
|
|
16
|
+
import { t as a } from "./CopyToClipboardComponent-BAOwMLHJ.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = r(), s = ({ verificationService: r }) => {
|
|
19
19
|
let s = r.verificationResponse.consolationRewardCode || "${consolationRewardCode}", c = r.programTheme.config.offerType === "noCode", { verificationId: l } = r.verificationResponse, { rewardDisplay: u } = r.programTheme.config, d = !c && !!u.length;
|
|
@@ -60,18 +60,16 @@ var o = r(), s = ({ verificationService: r }) => {
|
|
|
60
60
|
className: "sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center",
|
|
61
61
|
role: "region",
|
|
62
62
|
children: s
|
|
63
|
-
}), /* @__PURE__ */ (0, o.jsx)(
|
|
63
|
+
}), /* @__PURE__ */ (0, o.jsx)(a, {
|
|
64
64
|
className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center",
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
defaultMessage: "Copy Coupon code"
|
|
74
|
-
})
|
|
65
|
+
textToCopy: s,
|
|
66
|
+
notificationText: /* @__PURE__ */ (0, o.jsx)(n, {
|
|
67
|
+
id: "copied",
|
|
68
|
+
defaultMessage: "Copied"
|
|
69
|
+
}),
|
|
70
|
+
children: /* @__PURE__ */ (0, o.jsx)(n, {
|
|
71
|
+
id: "step.success.copyCouponCode",
|
|
72
|
+
defaultMessage: "Copy Coupon code"
|
|
75
73
|
})
|
|
76
74
|
})] }) : /* @__PURE__ */ (0, o.jsx)("img", {
|
|
77
75
|
className: "sid-l-space-top-md sid-barcode",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepConsolation-Dkgvb8lc.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\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AA,GACL,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,WAAU;MACV,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,CACjB,EAAA,CAAA,IAzBA,iBAAA,GAAA,EAAA,KAAC,OAAD;MAEE,WAAU;MACV,KAAK;MACL,KAAK,EAAc,GAAgB,yBAAyB,CAAW;KACxE,GAJM,CAIN,CAsBN;IACE,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { Et as e, F as t, Ot as n, c as r, d as i, m as a, ut as o } from "./options-
|
|
9
|
-
import { c as s, n as c, o as l, t as u } from "./jsx-runtime-
|
|
10
|
-
import { a as d, c as f, n as p, o as m, t as h } from "./Message-
|
|
8
|
+
import { Et as e, F as t, Ot as n, c as r, d as i, m as a, ut as o } from "./options-CRzdSTAR.js";
|
|
9
|
+
import { c as s, n as c, o as l, t as u } from "./jsx-runtime-CyXcV_93.js";
|
|
10
|
+
import { a as d, c as f, n as p, o as m, t as h } from "./Message-BTaP_P7J.js";
|
|
11
11
|
import { S as g, b as _, m as v, u as y } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { i as ee } from "./TestingRouteOverrides-
|
|
13
|
-
import { t as te } from "./FormFooterComponent-
|
|
14
|
-
import { t as b, u as x } from "./hooks-
|
|
12
|
+
import { i as ee } from "./TestingRouteOverrides-EggQSvgh.js";
|
|
13
|
+
import { t as te } from "./FormFooterComponent-B7fxKAhI.js";
|
|
14
|
+
import { t as b, u as x } from "./hooks-gC9DtNY1.js";
|
|
15
15
|
import { n as S, o as C } from "./refs-Mq0rtW9K.js";
|
|
16
|
-
import { t as w } from "./LogoComponent-
|
|
17
|
-
import { t as T } from "./AnnouncingHeader-
|
|
16
|
+
import { t as w } from "./LogoComponent-DASXTR4v.js";
|
|
17
|
+
import { t as T } from "./AnnouncingHeader-CXTQdbKG.js";
|
|
18
18
|
import { M as ne, a as E, o as D, r as re, s as O } from "../sheerid.js";
|
|
19
|
-
import { i as ie, o as ae, r as k } from "./useMetrics-
|
|
19
|
+
import { i as ie, o as ae, r as k } from "./useMetrics-Cjo0Vkjx.js";
|
|
20
20
|
//#region ../node_modules/@heroicons/react/24/outline/esm/PlusCircleIcon.js
|
|
21
21
|
var A = /* @__PURE__ */ n(l()), j = u(), M = /* @__PURE__ */ n(s());
|
|
22
22
|
function N({ title: e, titleId: t, ...n }, r) {
|