@sheerid/jslib 2.290.0 → 2.291.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 +1295 -1289
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DD8h728z.js → AddressComponent-CXsUFn4e.js} +8 -8
- package/chunk/{AddressComponent-DD8h728z.js.map → AddressComponent-CXsUFn4e.js.map} +1 -1
- package/chunk/{AddressComponent-DKfHQAHW.js → AddressComponent-DFMtL5Ji.js} +8 -8
- package/chunk/{AddressComponent-DKfHQAHW.js.map → AddressComponent-DFMtL5Ji.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CXTQdbKG.js → AnnouncingHeader-B6cTB52p.js} +6 -6
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js.map → AnnouncingHeader-B6cTB52p.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js → AnnouncingHeader-DtYf-VWN.js} +6 -6
- package/chunk/{AnnouncingHeader-CXTQdbKG.js.map → AnnouncingHeader-DtYf-VWN.js.map} +1 -1
- package/chunk/{BirthDateComponent-2PEmSvVv.js → BirthDateComponent-DAa17IR4.js} +8 -8
- package/chunk/{BirthDateComponent-2PEmSvVv.js.map → BirthDateComponent-DAa17IR4.js.map} +1 -1
- package/chunk/{BirthDateComponent-Cd0cMZrO.js → BirthDateComponent-DOJ2Eu4P.js} +8 -8
- package/chunk/{BirthDateComponent-Cd0cMZrO.js.map → BirthDateComponent-DOJ2Eu4P.js.map} +1 -1
- package/chunk/{CaptchaComponent-CeJZh2AO.js → CaptchaComponent-CHOmB72u.js} +35 -35
- package/chunk/{CaptchaComponent-CeJZh2AO.js.map → CaptchaComponent-CHOmB72u.js.map} +1 -1
- package/chunk/{CaptchaComponent-D84uhigA.js → CaptchaComponent-CUbOXmiG.js} +42 -42
- package/chunk/{CaptchaComponent-D84uhigA.js.map → CaptchaComponent-CUbOXmiG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-LlVAEjO9.js → ChangeLocaleComponent-D4HiJy2E.js} +9 -9
- package/chunk/{ChangeLocaleComponent-LlVAEjO9.js.map → ChangeLocaleComponent-D4HiJy2E.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Slt2XjmB.js → ChangeLocaleComponent-D4pBfPkg.js} +9 -9
- package/chunk/{ChangeLocaleComponent-Slt2XjmB.js.map → ChangeLocaleComponent-D4pBfPkg.js.map} +1 -1
- package/chunk/{City-DzE-sIfb.js → City-BryCbKPP.js} +8 -8
- package/chunk/{City-DeTr-l8T.js.map → City-BryCbKPP.js.map} +1 -1
- package/chunk/{City-DeTr-l8T.js → City-CdWBe7HL.js} +8 -8
- package/chunk/{City-DzE-sIfb.js.map → City-CdWBe7HL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BIelwnwZ.js → CollegeNameComponent-CWAO3I4R.js} +10 -10
- package/chunk/{CollegeNameComponent-BIelwnwZ.js.map → CollegeNameComponent-CWAO3I4R.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BLK9LM4N.js → CollegeNameComponent-DzyMYXew.js} +10 -10
- package/chunk/{CollegeNameComponent-BLK9LM4N.js.map → CollegeNameComponent-DzyMYXew.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js → CopyToClipboardComponent-BxP-eIzM.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js.map → CopyToClipboardComponent-BxP-eIzM.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js → CopyToClipboardComponent-Dd5ZDKCz.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js.map → CopyToClipboardComponent-Dd5ZDKCz.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DQW_P5GI.js → CountryComponentWrapper-DGqTUeJ9.js} +12 -12
- package/chunk/{CountryComponentWrapper-DQW_P5GI.js.map → CountryComponentWrapper-DGqTUeJ9.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-D_v3ee4V.js → CountryComponentWrapper-DfWex-GH.js} +29 -29
- package/chunk/{CountryComponentWrapper-D_v3ee4V.js.map → CountryComponentWrapper-DfWex-GH.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dlm6t88Y.js → DischargeDateComponent-2sdFQFak.js} +14 -14
- package/chunk/{DischargeDateComponent-CDWiw0-D.js.map → DischargeDateComponent-2sdFQFak.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CDWiw0-D.js → DischargeDateComponent-DsWFEkse.js} +14 -14
- package/chunk/{DischargeDateComponent-Dlm6t88Y.js.map → DischargeDateComponent-DsWFEkse.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js → DriverLicenseNumberComponent-CJmYTF0r.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js.map → DriverLicenseNumberComponent-CJmYTF0r.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js → DriverLicenseNumberComponent-w-Wpm0fk.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js.map → DriverLicenseNumberComponent-w-Wpm0fk.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dz4TsQy4.js → EmailLoopPending-B2Ok4wQ5.js} +16 -16
- package/chunk/{EmailLoopPending-CMiOTpOJ.js.map → EmailLoopPending-B2Ok4wQ5.js.map} +1 -1
- package/chunk/{EmailLoopPending-CMiOTpOJ.js → EmailLoopPending-BVOXk0TZ.js} +17 -17
- package/chunk/{EmailLoopPending-Dz4TsQy4.js.map → EmailLoopPending-BVOXk0TZ.js.map} +1 -1
- package/chunk/{ExtraMessage-Bhmq_Waj.js → ExtraMessage-C31_qJNI.js} +7 -7
- package/chunk/{ExtraMessage-Bhmq_Waj.js.map → ExtraMessage-C31_qJNI.js.map} +1 -1
- package/chunk/{ExtraMessage-CgELJLpn.js → ExtraMessage-nnzMgwxs.js} +7 -7
- package/chunk/{ExtraMessage-CgELJLpn.js.map → ExtraMessage-nnzMgwxs.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js → FirstResponderOrganizationComponent-B_SXFEXh.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js.map → FirstResponderOrganizationComponent-B_SXFEXh.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js → FirstResponderOrganizationComponent-B_ePUlXr.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js.map → FirstResponderOrganizationComponent-B_ePUlXr.js.map} +1 -1
- package/chunk/{FormFieldInputSelect--mO3jmU8.js → FormFieldInputSelect-B4Q9e9yJ.js} +7 -7
- package/chunk/{FormFieldInputSelect--mO3jmU8.js.map → FormFieldInputSelect-B4Q9e9yJ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CPeFv22D.js → FormFieldInputSelect-CijRsSql.js} +7 -7
- package/chunk/{FormFieldInputSelect-CPeFv22D.js.map → FormFieldInputSelect-CijRsSql.js.map} +1 -1
- package/chunk/{FormFieldLayout-NkmhFC9B.js → FormFieldLayout-23VdEPCo.js} +6 -6
- package/chunk/{FormFieldLayout-DEKIQK2R.js.map → FormFieldLayout-23VdEPCo.js.map} +1 -1
- package/chunk/{FormFieldLayout-DEKIQK2R.js → FormFieldLayout-TnxaO2D9.js} +6 -6
- package/chunk/{FormFieldLayout-NkmhFC9B.js.map → FormFieldLayout-TnxaO2D9.js.map} +1 -1
- package/chunk/{FormFieldText-Bn9WIKiI.js → FormFieldText-Cm6HS8da.js} +7 -7
- package/chunk/{FormFieldText-Bn9WIKiI.js.map → FormFieldText-Cm6HS8da.js.map} +1 -1
- package/chunk/{FormFieldText-Py7x4EZ6.js → FormFieldText-g6knOdgq.js} +7 -7
- package/chunk/{FormFieldText-Py7x4EZ6.js.map → FormFieldText-g6knOdgq.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cy-3RAew.js → FormFieldTypeahead-CHRZZqMu.js} +56 -56
- package/chunk/{FormFieldTypeahead-Cy-3RAew.js.map → FormFieldTypeahead-CHRZZqMu.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-LSYbrfBP.js → FormFieldTypeahead-ZVvnLWqG.js} +58 -58
- package/chunk/{FormFieldTypeahead-LSYbrfBP.js.map → FormFieldTypeahead-ZVvnLWqG.js.map} +1 -1
- package/chunk/{FormFooterComponent-Db94BTNT.js → FormFooterComponent-DN_aTukK.js} +73 -73
- package/chunk/{FormFooterComponent-Db94BTNT.js.map → FormFooterComponent-DN_aTukK.js.map} +1 -1
- package/chunk/{FormFooterComponent-D4QJJ-El.js → FormFooterComponent-UodGb8EG.js} +54 -54
- package/chunk/{FormFooterComponent-D4QJJ-El.js.map → FormFooterComponent-UodGb8EG.js.map} +1 -1
- package/chunk/{FormSelectChoice-Zw3pKb9v.js → FormSelectChoice-BIk2v_ij.js} +8 -8
- package/chunk/{FormSelectChoice-BoTIc5oD.js.map → FormSelectChoice-BIk2v_ij.js.map} +1 -1
- package/chunk/{FormSelectChoice-BoTIc5oD.js → FormSelectChoice-XZsvJdSa.js} +8 -8
- package/chunk/{FormSelectChoice-Zw3pKb9v.js.map → FormSelectChoice-XZsvJdSa.js.map} +1 -1
- package/chunk/{InputText-dflyPe3J.js → InputText-DjaVf2dX.js} +6 -6
- package/chunk/{InputText-CMu4ei8e.js.map → InputText-DjaVf2dX.js.map} +1 -1
- package/chunk/{InputText-CMu4ei8e.js → InputText-kW_kzMjm.js} +6 -6
- package/chunk/{InputText-dflyPe3J.js.map → InputText-kW_kzMjm.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js → LicensedProfessionalOrganizationComponent-BU2SZvkL.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js.map → LicensedProfessionalOrganizationComponent-BU2SZvkL.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js → LicensedProfessionalOrganizationComponent-mcCaNV-R.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js.map → LicensedProfessionalOrganizationComponent-mcCaNV-R.js.map} +1 -1
- package/chunk/{LogoComponent-DRlUkzL5.js → LogoComponent-BBiqSSo-.js} +6 -6
- package/chunk/{LogoComponent-CJcMDzxn.js.map → LogoComponent-BBiqSSo-.js.map} +1 -1
- package/chunk/{LogoComponent-CJcMDzxn.js → LogoComponent-WMEJyDHA.js} +6 -6
- package/chunk/{LogoComponent-DRlUkzL5.js.map → LogoComponent-WMEJyDHA.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js → LowIncomeOrganizationComponent-BsAyEpcL.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js.map → LowIncomeOrganizationComponent-BsAyEpcL.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js → LowIncomeOrganizationComponent-DaAfsxyz.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js.map → LowIncomeOrganizationComponent-DaAfsxyz.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js → MedicalProfessionalOrganizationComponent-D-OSmGVW.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js.map → MedicalProfessionalOrganizationComponent-D-OSmGVW.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js → MedicalProfessionalOrganizationComponent-j7YyHlZF.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js.map → MedicalProfessionalOrganizationComponent-j7YyHlZF.js.map} +1 -1
- package/chunk/{MemberIdComponent-CPlvhVZ8.js → MemberIdComponent-BZoHhg8k.js} +8 -8
- package/chunk/{MemberIdComponent-BnJLiVV-.js.map → MemberIdComponent-BZoHhg8k.js.map} +1 -1
- package/chunk/{MemberIdComponent-BnJLiVV-.js → MemberIdComponent-UKnA68zE.js} +8 -8
- package/chunk/{MemberIdComponent-CPlvhVZ8.js.map → MemberIdComponent-UKnA68zE.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js → MembershipOrganizationComponent-CNeWeHzI.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js.map → MembershipOrganizationComponent-CNeWeHzI.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D0YorDhu.js → MembershipOrganizationComponent-Du-uDZEG.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-D0YorDhu.js.map → MembershipOrganizationComponent-Du-uDZEG.js.map} +1 -1
- package/chunk/{Message-BgJQKz_x.js → Message-CbU7t2F7.js} +1346 -1345
- package/chunk/{Message-BgJQKz_x.js.map → Message-CbU7t2F7.js.map} +1 -1
- package/chunk/{Message-C8hwqDr2.js → Message-Dh1_V9dt.js} +730 -729
- package/chunk/{Message-C8hwqDr2.js.map → Message-Dh1_V9dt.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js → PersonalInfoStepSubmitButton-B-M8eKpG.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js.map → PersonalInfoStepSubmitButton-B-M8eKpG.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js → PersonalInfoStepSubmitButton-C67UOzbu.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js.map → PersonalInfoStepSubmitButton-C67UOzbu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js → PersonalInfoStepWrapper-CJporV1L.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js.map → PersonalInfoStepWrapper-CJporV1L.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js → PersonalInfoStepWrapper-Can2a6R_.js} +17 -17
- package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js.map → PersonalInfoStepWrapper-Can2a6R_.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DNdUR9Xg.js → PostalCodeComponent-S8EMzjKA.js} +8 -8
- package/chunk/{PostalCodeComponent-DNdUR9Xg.js.map → PostalCodeComponent-S8EMzjKA.js.map} +1 -1
- package/chunk/{PostalCodeComponent-zteosCwv.js → PostalCodeComponent-S8f2lhPF.js} +8 -8
- package/chunk/{PostalCodeComponent-zteosCwv.js.map → PostalCodeComponent-S8f2lhPF.js.map} +1 -1
- package/chunk/{SSN-BKPNF7cg.js → SSN-CqHnWpBl.js} +8 -8
- package/chunk/{SSN-BKPNF7cg.js.map → SSN-CqHnWpBl.js.map} +1 -1
- package/chunk/{SSN-CTR6jwEC.js → SSN-Dt_cpKLM.js} +8 -8
- package/chunk/{SSN-CTR6jwEC.js.map → SSN-Dt_cpKLM.js.map} +1 -1
- package/chunk/{StateSelectComponent-Dt-vsjau.js → StateSelectComponent-CinTEErP.js} +8 -8
- package/chunk/{StateSelectComponent-CpGuzW45.js.map → StateSelectComponent-CinTEErP.js.map} +1 -1
- package/chunk/{StateSelectComponent-CpGuzW45.js → StateSelectComponent-DUZtpcwe.js} +8 -8
- package/chunk/{StateSelectComponent-Dt-vsjau.js.map → StateSelectComponent-DUZtpcwe.js.map} +1 -1
- package/chunk/{StatusComponent-8j96MYEP.js → StatusComponent-CwwsRQmS.js} +9 -9
- package/chunk/{StatusComponent-8j96MYEP.js.map → StatusComponent-CwwsRQmS.js.map} +1 -1
- package/chunk/{StatusComponent-DZu1lz0O.js → StatusComponent-D3J57l9V.js} +9 -9
- package/chunk/{StatusComponent-DZu1lz0O.js.map → StatusComponent-D3J57l9V.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DFv4SYcW.js → StepAgePersonalInfo-Cd2H3W4S.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BqALUq2Z.js.map → StepAgePersonalInfo-Cd2H3W4S.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BqALUq2Z.js → StepAgePersonalInfo-bff8TmYc.js} +58 -58
- package/chunk/{StepAgePersonalInfo-DFv4SYcW.js.map → StepAgePersonalInfo-bff8TmYc.js.map} +1 -1
- package/chunk/{StepCard-EHeqFY3Y.js → StepCard-A7CfdiZx.js} +5 -5
- package/chunk/{StepCard-DQ9JkAjb.js.map → StepCard-A7CfdiZx.js.map} +1 -1
- package/chunk/{StepCard-DQ9JkAjb.js → StepCard-TuSPjGQj.js} +5 -5
- package/chunk/{StepCard-EHeqFY3Y.js.map → StepCard-TuSPjGQj.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DAwDOBzU.js → StepCollectIdentifier-DhHTccOW.js} +9 -9
- package/chunk/{StepCollectIdentifier-7VdLmT7J.js.map → StepCollectIdentifier-DhHTccOW.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-7VdLmT7J.js → StepCollectIdentifier-DpxG8Qao.js} +9 -9
- package/chunk/{StepCollectIdentifier-DAwDOBzU.js.map → StepCollectIdentifier-DpxG8Qao.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js.map → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js.map → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js → StepCollectPersonalInfo-0D43XcYg.js} +44 -44
- package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js.map → StepCollectPersonalInfo-0D43XcYg.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CXurqlAa.js → StepCollectPersonalInfo-DGCHonaO.js} +44 -44
- package/chunk/{StepCollectPersonalInfo-CXurqlAa.js.map → StepCollectPersonalInfo-DGCHonaO.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BY_5AqX4.js → StepCompleteAuthentication-9IO15InM.js} +9 -9
- package/chunk/{StepCompleteAuthentication-BY_5AqX4.js.map → StepCompleteAuthentication-9IO15InM.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DMwS3S6i.js → StepCompleteAuthentication-BtaBmTdY.js} +20 -20
- package/chunk/{StepCompleteAuthentication-DMwS3S6i.js.map → StepCompleteAuthentication-BtaBmTdY.js.map} +1 -1
- package/chunk/{StepConsolation-yUao3Y71.js → StepConsolation-BYJrzPhb.js} +8 -8
- package/chunk/{StepConsolation-yUao3Y71.js.map → StepConsolation-BYJrzPhb.js.map} +1 -1
- package/chunk/{StepConsolation-f1mq8nYz.js → StepConsolation-BlyaWmH0.js} +8 -8
- package/chunk/{StepConsolation-f1mq8nYz.js.map → StepConsolation-BlyaWmH0.js.map} +1 -1
- package/chunk/{StepDocUpload-D8IflMYV.js → StepDocUpload-Dt9BXXEb.js} +28 -28
- package/chunk/{StepDocUpload-D8IflMYV.js.map → StepDocUpload-Dt9BXXEb.js.map} +1 -1
- package/chunk/{StepDocUpload-D5CXzeAU.js → StepDocUpload-UWDCjeCP.js} +30 -30
- package/chunk/{StepDocUpload-D5CXzeAU.js.map → StepDocUpload-UWDCjeCP.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js → StepDriverLicensePersonalInfoComponent-BefsBTXA.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js.map → StepDriverLicensePersonalInfoComponent-BefsBTXA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js.map → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js.map} +1 -1
- package/chunk/{StepEmailLoop--xNmysns.js → StepEmailLoop-B0oRiGz0.js} +13 -13
- package/chunk/{StepEmailLoop--xNmysns.js.map → StepEmailLoop-B0oRiGz0.js.map} +1 -1
- package/chunk/{StepEmailLoop-BLT6aG-Y.js → StepEmailLoop-CS2KUPEU.js} +13 -13
- package/chunk/{StepEmailLoop-BLT6aG-Y.js.map → StepEmailLoop-CS2KUPEU.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js → StepEmploymentPersonalInfo-B4Q_Vmn1.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js.map → StepEmploymentPersonalInfo-B4Q_Vmn1.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js → StepEmploymentPersonalInfo-Yib6xGXV.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js.map → StepEmploymentPersonalInfo-Yib6xGXV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js → StepFirstResponderPersonalInfo-B4tL9MhD.js} +30 -30
- package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js.map → StepFirstResponderPersonalInfo-B4tL9MhD.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js → StepFirstResponderPersonalInfo-B9PC3Jng.js} +35 -35
- package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js.map → StepFirstResponderPersonalInfo-B9PC3Jng.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js.map → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js.map → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js.map → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js.map → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-YpZuox49.js → StepIDCheckLoop-D4zeYY-d.js} +8 -8
- package/chunk/{StepIDCheckLoop-Cwm6IPWs.js.map → StepIDCheckLoop-D4zeYY-d.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Cwm6IPWs.js → StepIDCheckLoop-DuWYhW6n.js} +8 -8
- package/chunk/{StepIDCheckLoop-YpZuox49.js.map → StepIDCheckLoop-DuWYhW6n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js → StepIDCheckLoopOnfido-Rcx5dDBJ.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js.map → StepIDCheckLoopOnfido-Rcx5dDBJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js → StepIDCheckLoopOnfido-hmgOrSYi.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js.map → StepIDCheckLoopOnfido-hmgOrSYi.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js → StepIDCheckLoopRegula-D4uRVHpI.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js.map → StepIDCheckLoopRegula-D4uRVHpI.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js → StepIDCheckLoopRegula-DNfiiZQR.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js.map → StepIDCheckLoopRegula-DNfiiZQR.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js.map → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js → StepLicensedProfessionalPersonalInfo-CdejPwI2.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js.map → StepLicensedProfessionalPersonalInfo-CdejPwI2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js → StepLowIncomePersonalInfo-Bhg26pJ9.js} +24 -24
- package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js.map → StepLowIncomePersonalInfo-Bhg26pJ9.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js → StepLowIncomePersonalInfo-jV2FDRyA.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js.map → StepLowIncomePersonalInfo-jV2FDRyA.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js.map → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js.map → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js → StepMemberPersonalInfo-49h2IL56.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js.map → StepMemberPersonalInfo-49h2IL56.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js → StepMemberPersonalInfo-BLfVdTS4.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js.map → StepMemberPersonalInfo-BLfVdTS4.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D_lsPua4.js → StepMoverPersonalInfo-BBL0N0po.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js.map → StepMoverPersonalInfo-BBL0N0po.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js → StepMoverPersonalInfo-Bn4baYdo.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-D_lsPua4.js.map → StepMoverPersonalInfo-Bn4baYdo.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Ld6S6tQi.js → StepOverrideComponent-D1Yt52PA.js} +21 -21
- package/chunk/{StepOverrideComponent-Ld6S6tQi.js.map → StepOverrideComponent-D1Yt52PA.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Mf03I7W7.js → StepOverrideComponent-Db2qbG7p.js} +21 -21
- package/chunk/{StepOverrideComponent-Mf03I7W7.js.map → StepOverrideComponent-Db2qbG7p.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bcx24Ycx.js → StepSMSLoop-B5pvxGza.js} +22 -22
- package/chunk/{StepSMSLoop-9sxMk7gX.js.map → StepSMSLoop-B5pvxGza.js.map} +1 -1
- package/chunk/{StepSMSLoop-9sxMk7gX.js → StepSMSLoop-DyFk46pS.js} +22 -22
- package/chunk/{StepSMSLoop-Bcx24Ycx.js.map → StepSMSLoop-DyFk46pS.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DruKpXOw.js → StepSocialSecurityNumber-BScMW4aa.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-7clvuQce.js.map → StepSocialSecurityNumber-BScMW4aa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-7clvuQce.js → StepSocialSecurityNumber-BXTFTRtU.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-DruKpXOw.js.map → StepSocialSecurityNumber-BXTFTRtU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js → StepStudentPersonalInfo-BXgbCDPU.js} +63 -63
- package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js.map → StepStudentPersonalInfo-BXgbCDPU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js → StepStudentPersonalInfo-C_Gwr1pT.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js.map → StepStudentPersonalInfo-C_Gwr1pT.js.map} +1 -1
- package/chunk/{StepSuccess-DTqu9PmR.js → StepSuccess-BWigRqmh.js} +94 -94
- package/chunk/StepSuccess-BWigRqmh.js.map +1 -0
- package/chunk/{StepSuccess-ICuC7CFW.js → StepSuccess-D0GQexPa.js} +92 -92
- package/chunk/StepSuccess-D0GQexPa.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js → StepTeacherPersonalInfo-Bv9DB_Lt.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js.map → StepTeacherPersonalInfo-Bv9DB_Lt.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js → StepTeacherPersonalInfo-DZ4924qb.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js.map → StepTeacherPersonalInfo-DZ4924qb.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-CzT9PLGe.js → TeacherSchoolComponent-DE9AiCxY.js} +10 -10
- package/chunk/{TeacherSchoolComponent-CzT9PLGe.js.map → TeacherSchoolComponent-DE9AiCxY.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-D9M32gJE.js → TeacherSchoolComponent-DmGbff9I.js} +10 -10
- package/chunk/{TeacherSchoolComponent-D9M32gJE.js.map → TeacherSchoolComponent-DmGbff9I.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js → TestingRouteOverrides-A7CajDc2.js} +20 -20
- package/chunk/{TestingRouteOverrides-EggQSvgh.js.map → TestingRouteOverrides-A7CajDc2.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-EggQSvgh.js → TestingRouteOverrides-CteVovkM.js} +12 -12
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js.map → TestingRouteOverrides-CteVovkM.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-CM4nPYrB.js → countryUtils-Cm0CKgKH.js} +5 -5
- package/chunk/{countryUtils-CM4nPYrB.js.map → countryUtils-Cm0CKgKH.js.map} +1 -1
- package/chunk/countryUtils-tSyfKDmf.js +12 -0
- package/chunk/{countryUtils-Df3Rcr8q.js.map → countryUtils-tSyfKDmf.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-BUyxJQSO.js → downshift.esm-DW1n73ef.js} +7 -7
- package/chunk/{downshift.esm-CQ910rwo.js.map → downshift.esm-DW1n73ef.js.map} +1 -1
- package/chunk/{downshift.esm-CQ910rwo.js → downshift.esm-DdyoD_BK.js} +7 -7
- package/chunk/{downshift.esm-BUyxJQSO.js.map → downshift.esm-DdyoD_BK.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-Dhc64eA5.js → empties-CuzjzEsL.js} +5 -5
- package/chunk/{empties-DHI3R7ys.js.map → empties-CuzjzEsL.js.map} +1 -1
- package/chunk/{empties-DHI3R7ys.js → empties-vS2Us_U5.js} +5 -5
- package/chunk/{empties-Dhc64eA5.js.map → empties-vS2Us_U5.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-BlwolTIT.js → hooks-BqfaxVbh.js} +45 -45
- package/chunk/{hooks-BlwolTIT.js.map → hooks-BqfaxVbh.js.map} +1 -1
- package/chunk/{hooks-gC9DtNY1.js → hooks-CAAVVsC2.js} +47 -47
- package/chunk/{hooks-gC9DtNY1.js.map → hooks-CAAVVsC2.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-CvSmE54g.js → intl-8IwAIXoJ.js} +438 -430
- package/chunk/intl-8IwAIXoJ.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-JSlXFmKD.js → jsx-runtime-DOcXt_NQ.js} +5 -5
- package/chunk/{jsx-runtime-JSlXFmKD.js.map → jsx-runtime-DOcXt_NQ.js.map} +1 -1
- package/chunk/{jsx-runtime-CyXcV_93.js → jsx-runtime-Dztc5pGe.js} +5 -5
- package/chunk/{jsx-runtime-CyXcV_93.js.map → jsx-runtime-Dztc5pGe.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-Dpf6dNc6.js → mocks-B63gxlSj.js} +5 -5
- package/chunk/{mocks-DrV8NINc.js.map → mocks-B63gxlSj.js.map} +1 -1
- package/chunk/{mocks-DrV8NINc.js → mocks-DPa4hUmN.js} +5 -5
- package/chunk/{mocks-Dpf6dNc6.js.map → mocks-DPa4hUmN.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-CRzdSTAR.js → options-CbyxEsS6.js} +331 -323
- package/chunk/options-CbyxEsS6.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DhVXOl92.js → programThemeGetters-BzTM_4ke.js} +22 -22
- package/chunk/{programThemeGetters-DhVXOl92.js.map → programThemeGetters-BzTM_4ke.js.map} +1 -1
- package/chunk/{programThemeGetters-CdBaEHVT.js → programThemeGetters-Dz1mfptL.js} +34 -34
- package/chunk/{programThemeGetters-CdBaEHVT.js.map → programThemeGetters-Dz1mfptL.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-CLUoIwIK.js → stepComponentHelpers-CuO5tLTB.js} +7 -7
- package/chunk/{stepComponentHelpers-C6PguBPd.js.map → stepComponentHelpers-CuO5tLTB.js.map} +1 -1
- package/chunk/{stepComponentHelpers-C6PguBPd.js → stepComponentHelpers-JFXsrK-K.js} +7 -7
- package/chunk/{stepComponentHelpers-CLUoIwIK.js.map → stepComponentHelpers-JFXsrK-K.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js → useCollectFieldsEndpoint-B3-jkSlI.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js.map → useCollectFieldsEndpoint-B3-jkSlI.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js → useCollectFieldsEndpoint-DnZkFvvB.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js.map → useCollectFieldsEndpoint-DnZkFvvB.js.map} +1 -1
- package/chunk/{useMetrics-C3KNudJk.js → useMetrics-BtncAWgP.js} +7 -7
- package/chunk/{useMetrics-C3KNudJk.js.map → useMetrics-BtncAWgP.js.map} +1 -1
- package/chunk/{useMetrics-Cjo0Vkjx.js → useMetrics-DRKq3hnJ.js} +7 -7
- package/chunk/{useMetrics-Cjo0Vkjx.js.map → useMetrics-DRKq3hnJ.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +966 -960
- package/sheerid.js.map +1 -1
- package/chunk/StepSuccess-DTqu9PmR.js.map +0 -1
- package/chunk/StepSuccess-ICuC7CFW.js.map +0 -1
- package/chunk/countryUtils-Df3Rcr8q.js +0 -12
- package/chunk/intl-CvSmE54g.js.map +0 -1
- package/chunk/options-CRzdSTAR.js.map +0 -1
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Mon Sep 21 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.291.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790031324838
|
|
9
|
+
* BUILD_DATE: Mon Sep 21 2026 22:55:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
|
|
11
11
|
*/
|
|
12
12
|
import { D as e, E as t, S as n, T as r, _ as i, a, n as o, r as s, v as c, w as l, y as u } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
13
|
//#region \0rolldown/runtime.js
|
|
@@ -140,65 +140,73 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
140
140
|
}, be = (e) => {
|
|
141
141
|
let t = new URLSearchParams(e).get("trackingId");
|
|
142
142
|
return typeof t == "string" && t.length === 0 ? null : t;
|
|
143
|
-
},
|
|
143
|
+
}, xe = (e) => {
|
|
144
|
+
if (!e) return !1;
|
|
145
|
+
try {
|
|
146
|
+
let { protocol: t } = new URL(e);
|
|
147
|
+
return t === "http:" || t === "https:";
|
|
148
|
+
} catch {
|
|
149
|
+
return !1;
|
|
150
|
+
}
|
|
151
|
+
}, D = "en-US", Se = [
|
|
144
152
|
"image/png",
|
|
145
153
|
"image/jpg",
|
|
146
154
|
"image/jpeg",
|
|
147
155
|
"application/pdf"
|
|
148
|
-
],
|
|
156
|
+
], Ce = [
|
|
149
157
|
".jpg",
|
|
150
158
|
".jpeg",
|
|
151
159
|
".png",
|
|
152
160
|
".pdf"
|
|
153
|
-
],
|
|
161
|
+
], we = "file", O = "mockStep", k = "mockSegment", Te = "mockSubSegment", Ee = "mockErrorId", De = "mockErrorDetailId", Oe = "mockRewardCode", ke = "mockRedirectUrl", Ae = "mockConsumerInfoState", je = "mockIdCheckLoopServiceType", Me = "mockDocSelected", Ne = "mockPreviousStep", Pe = "thirdPartyLoopProvider", Fe = "ssoMethod", Ie = "installPageUrl", Le = "installType", Re = "externalUserId", A = "mockCaptchaState", ze = "https://verify.sheerid.com/verification-support/feedback.html?token=", Be = "https://support.sheerid.com", Ve = "https://www.cloudflare.com/privacypolicy/", He = 1e4, Ue = /* @__PURE__ */ "firstName.lastName.memberId.organization.birthDate.email.phoneNumber.postalCode.address1.city.state.dischargeDate.activeDutyStartDate.status.statuses.docUpload.country.smsCode.socialSecurityNumber.marketConsentValue.carrierConsentValue.driverLicenseNumber.overrideCode.ebtCardNumber.organizationEmail.authenticationCode".split("."), j = (e) => typeof e == "string", We = () => {
|
|
154
162
|
let e, t, n = new Promise((n, r) => {
|
|
155
163
|
e = n, t = r;
|
|
156
164
|
});
|
|
157
165
|
return n.resolve = e, n.reject = t, n;
|
|
158
|
-
},
|
|
166
|
+
}, Ge = (e) => e == null ? "" : "" + e, Ke = (e, t, n) => {
|
|
159
167
|
e.forEach((e) => {
|
|
160
168
|
t[e] && (n[e] = t[e]);
|
|
161
169
|
});
|
|
162
|
-
},
|
|
163
|
-
let r =
|
|
170
|
+
}, qe = /###/g, Je = (e) => e && e.indexOf("###") > -1 ? e.replace(qe, ".") : e, Ye = (e) => !e || j(e), M = (e, t, n) => {
|
|
171
|
+
let r = j(t) ? t.split(".") : t, i = 0;
|
|
164
172
|
for (; i < r.length - 1;) {
|
|
165
|
-
if (
|
|
166
|
-
let t =
|
|
173
|
+
if (Ye(e)) return {};
|
|
174
|
+
let t = Je(r[i]);
|
|
167
175
|
!e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
|
|
168
176
|
}
|
|
169
|
-
return
|
|
177
|
+
return Ye(e) ? {} : {
|
|
170
178
|
obj: e,
|
|
171
|
-
k:
|
|
179
|
+
k: Je(r[i])
|
|
172
180
|
};
|
|
173
|
-
},
|
|
174
|
-
let { obj: r, k: i } =
|
|
181
|
+
}, Xe = (e, t, n) => {
|
|
182
|
+
let { obj: r, k: i } = M(e, t, Object);
|
|
175
183
|
if (r !== void 0 || t.length === 1) {
|
|
176
184
|
r[i] = n;
|
|
177
185
|
return;
|
|
178
186
|
}
|
|
179
|
-
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s =
|
|
180
|
-
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s =
|
|
187
|
+
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = M(e, o, Object);
|
|
188
|
+
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = M(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
|
|
181
189
|
s.obj[`${s.k}.${a}`] = n;
|
|
182
|
-
},
|
|
183
|
-
let { obj: i, k: a } =
|
|
190
|
+
}, Ze = (e, t, n, r) => {
|
|
191
|
+
let { obj: i, k: a } = M(e, t, Object);
|
|
184
192
|
i[a] = i[a] || [], i[a].push(n);
|
|
185
|
-
},
|
|
186
|
-
let { obj: n, k: r } =
|
|
193
|
+
}, Qe = (e, t) => {
|
|
194
|
+
let { obj: n, k: r } = M(e, t);
|
|
187
195
|
if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
|
|
188
|
-
},
|
|
189
|
-
let r =
|
|
190
|
-
return r === void 0 ?
|
|
191
|
-
},
|
|
192
|
-
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ?
|
|
196
|
+
}, $e = (e, t, n) => {
|
|
197
|
+
let r = Qe(e, n);
|
|
198
|
+
return r === void 0 ? Qe(t, n) : r;
|
|
199
|
+
}, et = (e, t, n) => {
|
|
200
|
+
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? j(e[r]) || e[r] instanceof String || j(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : et(e[r], t[r], n) : e[r] = t[r]);
|
|
193
201
|
return e;
|
|
194
|
-
},
|
|
202
|
+
}, N = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), tt = {
|
|
195
203
|
"&": "&",
|
|
196
204
|
"<": "<",
|
|
197
205
|
">": ">",
|
|
198
206
|
"\"": """,
|
|
199
207
|
"'": "'",
|
|
200
208
|
"/": "/"
|
|
201
|
-
},
|
|
209
|
+
}, nt = (e) => j(e) ? e.replace(/[&<>"'\/]/g, (e) => tt[e]) : e, rt = class {
|
|
202
210
|
constructor(e) {
|
|
203
211
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
204
212
|
}
|
|
@@ -208,23 +216,23 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
208
216
|
let n = new RegExp(e);
|
|
209
217
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
210
218
|
}
|
|
211
|
-
},
|
|
219
|
+
}, it = [
|
|
212
220
|
" ",
|
|
213
221
|
",",
|
|
214
222
|
"?",
|
|
215
223
|
"!",
|
|
216
224
|
";"
|
|
217
|
-
],
|
|
225
|
+
], at = new rt(20), ot = (e, t, n) => {
|
|
218
226
|
t ||= "", n ||= "";
|
|
219
|
-
let r =
|
|
227
|
+
let r = it.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
|
|
220
228
|
if (r.length === 0) return !0;
|
|
221
|
-
let i =
|
|
229
|
+
let i = at.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
|
|
222
230
|
if (!a) {
|
|
223
231
|
let t = e.indexOf(n);
|
|
224
232
|
t > 0 && !i.test(e.substring(0, t)) && (a = !0);
|
|
225
233
|
}
|
|
226
234
|
return a;
|
|
227
|
-
},
|
|
235
|
+
}, st = (e, t, n = ".") => {
|
|
228
236
|
if (!e) return;
|
|
229
237
|
if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
|
|
230
238
|
let r = t.split(n), i = e;
|
|
@@ -243,7 +251,7 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
243
251
|
i = t;
|
|
244
252
|
}
|
|
245
253
|
return i;
|
|
246
|
-
},
|
|
254
|
+
}, P = (e) => e?.replace(/_/g, "-"), ct = {
|
|
247
255
|
type: "logger",
|
|
248
256
|
log(e) {
|
|
249
257
|
this.output("log", e);
|
|
@@ -257,12 +265,12 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
257
265
|
output(e, t) {
|
|
258
266
|
console?.[e]?.apply?.(console, t);
|
|
259
267
|
}
|
|
260
|
-
},
|
|
268
|
+
}, F = new class e {
|
|
261
269
|
constructor(e, t = {}) {
|
|
262
270
|
this.init(e, t);
|
|
263
271
|
}
|
|
264
272
|
init(e, t = {}) {
|
|
265
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
273
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || ct, this.options = t, this.debug = t.debug;
|
|
266
274
|
}
|
|
267
275
|
log(...e) {
|
|
268
276
|
return this.forward(e, "log", "", !0);
|
|
@@ -277,7 +285,7 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
277
285
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
278
286
|
}
|
|
279
287
|
forward(e, t, n, r) {
|
|
280
|
-
return r && !this.debug ? null : (
|
|
288
|
+
return r && !this.debug ? null : (j(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
281
289
|
}
|
|
282
290
|
create(t) {
|
|
283
291
|
return new e(this.logger, {
|
|
@@ -288,7 +296,7 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
288
296
|
clone(t) {
|
|
289
297
|
return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
|
|
290
298
|
}
|
|
291
|
-
}(),
|
|
299
|
+
}(), lt = class {
|
|
292
300
|
constructor() {
|
|
293
301
|
this.observers = {};
|
|
294
302
|
}
|
|
@@ -315,7 +323,7 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
315
323
|
for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
|
|
316
324
|
});
|
|
317
325
|
}
|
|
318
|
-
},
|
|
326
|
+
}, ut = class extends lt {
|
|
319
327
|
constructor(e, t = {
|
|
320
328
|
ns: ["translation"],
|
|
321
329
|
defaultNS: "translation"
|
|
@@ -331,16 +339,16 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
331
339
|
}
|
|
332
340
|
getResource(e, t, n, r = {}) {
|
|
333
341
|
let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
|
|
334
|
-
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) :
|
|
335
|
-
let s =
|
|
336
|
-
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !
|
|
342
|
+
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : j(n) && i ? o.push(...n.split(i)) : o.push(n)));
|
|
343
|
+
let s = Qe(this.data, o);
|
|
344
|
+
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !j(n) ? s : st(this.data?.[e]?.[t], n, i);
|
|
337
345
|
}
|
|
338
346
|
addResource(e, t, n, r, i = { silent: !1 }) {
|
|
339
347
|
let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
|
|
340
|
-
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t),
|
|
348
|
+
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Xe(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
|
|
341
349
|
}
|
|
342
350
|
addResources(e, t, n, r = { silent: !1 }) {
|
|
343
|
-
for (let r in n) (
|
|
351
|
+
for (let r in n) (j(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
|
|
344
352
|
r.silent || this.emit("added", e, t, n);
|
|
345
353
|
}
|
|
346
354
|
addResourceBundle(e, t, n, r, i, a = {
|
|
@@ -349,11 +357,11 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
349
357
|
}) {
|
|
350
358
|
let o = [e, t];
|
|
351
359
|
e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
|
|
352
|
-
let s =
|
|
353
|
-
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ?
|
|
360
|
+
let s = Qe(this.data, o) || {};
|
|
361
|
+
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? et(s, n, i) : s = {
|
|
354
362
|
...s,
|
|
355
363
|
...n
|
|
356
|
-
},
|
|
364
|
+
}, Xe(this.data, o, s), a.silent || this.emit("added", e, t, n);
|
|
357
365
|
}
|
|
358
366
|
removeResourceBundle(e, t) {
|
|
359
367
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -374,7 +382,7 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
374
382
|
toJSON() {
|
|
375
383
|
return this.data;
|
|
376
384
|
}
|
|
377
|
-
},
|
|
385
|
+
}, dt = {
|
|
378
386
|
processors: {},
|
|
379
387
|
addPostProcessor(e) {
|
|
380
388
|
this.processors[e.name] = e;
|
|
@@ -384,22 +392,22 @@ var ge = (e) => e.replace(/\/?$/, "/"), _e = (e) => {
|
|
|
384
392
|
t = this.processors[e]?.process(t, n, r, i) ?? t;
|
|
385
393
|
}), t;
|
|
386
394
|
}
|
|
387
|
-
},
|
|
388
|
-
function
|
|
395
|
+
}, ft = Symbol("i18next/PATH_KEY");
|
|
396
|
+
function pt() {
|
|
389
397
|
let e = [], t = Object.create(null), n;
|
|
390
|
-
return t.get = (r, i) => (n?.revoke?.(), i ===
|
|
398
|
+
return t.get = (r, i) => (n?.revoke?.(), i === ft ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
|
|
391
399
|
}
|
|
392
|
-
function
|
|
393
|
-
let { [
|
|
400
|
+
function I(e, t) {
|
|
401
|
+
let { [ft]: n } = e(pt()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
|
|
394
402
|
if (n.length > 1 && i) {
|
|
395
403
|
let e = t?.ns, a = Array.isArray(e) ? e : null;
|
|
396
404
|
if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
|
|
397
405
|
}
|
|
398
406
|
return n.join(r);
|
|
399
407
|
}
|
|
400
|
-
var
|
|
408
|
+
var mt = {}, ht = (e) => !j(e) && typeof e != "boolean" && typeof e != "number", gt = class e extends lt {
|
|
401
409
|
constructor(e, t = {}) {
|
|
402
|
-
super(),
|
|
410
|
+
super(), Ke([
|
|
403
411
|
"resourceStore",
|
|
404
412
|
"languageUtils",
|
|
405
413
|
"pluralResolver",
|
|
@@ -407,7 +415,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
407
415
|
"backendConnector",
|
|
408
416
|
"i18nFormat",
|
|
409
417
|
"utils"
|
|
410
|
-
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
418
|
+
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = F.create("translator");
|
|
411
419
|
}
|
|
412
420
|
changeLanguage(e) {
|
|
413
421
|
e && (this.language = e);
|
|
@@ -417,34 +425,34 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
417
425
|
if (e == null) return !1;
|
|
418
426
|
let r = this.resolve(e, n);
|
|
419
427
|
if (r?.res === void 0) return !1;
|
|
420
|
-
let i =
|
|
428
|
+
let i = ht(r.res);
|
|
421
429
|
return !(n.returnObjects === !1 && i);
|
|
422
430
|
}
|
|
423
431
|
extractFromKey(e, t) {
|
|
424
432
|
let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
|
|
425
433
|
n === void 0 && (n = ":");
|
|
426
|
-
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
434
|
+
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ot(e, n, r);
|
|
427
435
|
if (a && !o) {
|
|
428
436
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
429
437
|
if (t && t.length > 0) return {
|
|
430
438
|
key: e,
|
|
431
|
-
namespaces:
|
|
439
|
+
namespaces: j(i) ? [i] : i
|
|
432
440
|
};
|
|
433
441
|
let a = e.split(n);
|
|
434
442
|
(n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
|
|
435
443
|
}
|
|
436
444
|
return {
|
|
437
445
|
key: e,
|
|
438
|
-
namespaces:
|
|
446
|
+
namespaces: j(i) ? [i] : i
|
|
439
447
|
};
|
|
440
448
|
}
|
|
441
449
|
translate(t, n, r) {
|
|
442
450
|
let i = typeof n == "object" ? { ...n } : n;
|
|
443
451
|
if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
|
|
444
|
-
typeof t == "function" && (t =
|
|
452
|
+
typeof t == "function" && (t = I(t, {
|
|
445
453
|
...this.options,
|
|
446
454
|
...i
|
|
447
|
-
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ?
|
|
455
|
+
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? I(e, {
|
|
448
456
|
...this.options,
|
|
449
457
|
...i
|
|
450
458
|
}) : String(e));
|
|
@@ -470,10 +478,10 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
470
478
|
"[object Number]",
|
|
471
479
|
"[object Function]",
|
|
472
480
|
"[object RegExp]"
|
|
473
|
-
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !
|
|
481
|
+
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !j(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
|
|
474
482
|
y && !m && x && (E = T);
|
|
475
|
-
let ee =
|
|
476
|
-
if (y && E && ee && _.indexOf(te) < 0 && !(
|
|
483
|
+
let ee = ht(E), te = Object.prototype.toString.apply(E);
|
|
484
|
+
if (y && E && ee && _.indexOf(te) < 0 && !(j(v) && Array.isArray(E))) {
|
|
477
485
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
478
486
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
479
487
|
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, {
|
|
@@ -488,7 +496,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
488
496
|
let r = `${n}${o}${e}`;
|
|
489
497
|
x && !m ? t[e] = this.translate(r, {
|
|
490
498
|
...i,
|
|
491
|
-
defaultValue:
|
|
499
|
+
defaultValue: ht(T) ? T[e] : void 0,
|
|
492
500
|
joinArrays: !1,
|
|
493
501
|
ns: c
|
|
494
502
|
}) : t[e] = this.translate(r, {
|
|
@@ -499,7 +507,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
499
507
|
}
|
|
500
508
|
m = t;
|
|
501
509
|
}
|
|
502
|
-
} else if (y &&
|
|
510
|
+
} else if (y && j(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
|
|
503
511
|
else {
|
|
504
512
|
let e = !1, n = !1;
|
|
505
513
|
!this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s);
|
|
@@ -543,12 +551,12 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
543
551
|
...n.interpolation
|
|
544
552
|
}
|
|
545
553
|
});
|
|
546
|
-
let a =
|
|
554
|
+
let a = j(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
|
|
547
555
|
if (a) {
|
|
548
556
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
549
557
|
o = t && t.length;
|
|
550
558
|
}
|
|
551
|
-
let s = n.replace && !
|
|
559
|
+
let s = n.replace && !j(n.replace) ? n.replace : n;
|
|
552
560
|
if (this.options.interpolation.defaultVariables && (s = {
|
|
553
561
|
...this.options.interpolation.defaultVariables,
|
|
554
562
|
...s
|
|
@@ -558,8 +566,8 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
558
566
|
}
|
|
559
567
|
!n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
|
|
560
568
|
}
|
|
561
|
-
let a = n.postProcess || this.options.postProcess, o =
|
|
562
|
-
return e != null && o?.length && n.applyPostProcessor !== !1 && (e =
|
|
569
|
+
let a = n.postProcess || this.options.postProcess, o = j(a) ? [a] : a;
|
|
570
|
+
return e != null && o?.length && n.applyPostProcessor !== !1 && (e = dt.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
563
571
|
i18nResolved: {
|
|
564
572
|
...r,
|
|
565
573
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -569,7 +577,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
569
577
|
}
|
|
570
578
|
resolve(e, t = {}) {
|
|
571
579
|
let n, r, i, a, o;
|
|
572
|
-
return
|
|
580
|
+
return j(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? I(e, {
|
|
573
581
|
...this.options,
|
|
574
582
|
...t
|
|
575
583
|
}) : e)), e.forEach((e) => {
|
|
@@ -578,9 +586,9 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
578
586
|
r = c;
|
|
579
587
|
let l = s.namespaces;
|
|
580
588
|
this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
|
|
581
|
-
let u = t.count !== void 0 && !
|
|
589
|
+
let u = t.count !== void 0 && !j(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (j(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
582
590
|
l.forEach((e) => {
|
|
583
|
-
this.isValidLookup(n) || (o = e, !
|
|
591
|
+
this.isValidLookup(n) || (o = e, !mt[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (mt[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
|
|
584
592
|
if (this.isValidLookup(n)) return;
|
|
585
593
|
a = r;
|
|
586
594
|
let o = [c];
|
|
@@ -629,7 +637,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
629
637
|
"joinArrays",
|
|
630
638
|
"postProcess",
|
|
631
639
|
"interpolation"
|
|
632
|
-
], n = e.replace && !
|
|
640
|
+
], n = e.replace && !j(e.replace), r = n ? e.replace : e;
|
|
633
641
|
if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
|
|
634
642
|
...this.options.interpolation.defaultVariables,
|
|
635
643
|
...r
|
|
@@ -643,22 +651,22 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
643
651
|
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
|
|
644
652
|
return !1;
|
|
645
653
|
}
|
|
646
|
-
},
|
|
654
|
+
}, _t = class {
|
|
647
655
|
constructor(e) {
|
|
648
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
656
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = F.create("languageUtils");
|
|
649
657
|
}
|
|
650
658
|
getScriptPartFromCode(e) {
|
|
651
|
-
if (e =
|
|
659
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return null;
|
|
652
660
|
let t = e.split("-");
|
|
653
661
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
654
662
|
}
|
|
655
663
|
getLanguagePartFromCode(e) {
|
|
656
|
-
if (e =
|
|
664
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return e;
|
|
657
665
|
let t = e.split("-");
|
|
658
666
|
return this.formatLanguageCode(t[0]);
|
|
659
667
|
}
|
|
660
668
|
formatLanguageCode(e) {
|
|
661
|
-
if (
|
|
669
|
+
if (j(e) && e.indexOf("-") > -1) {
|
|
662
670
|
let t;
|
|
663
671
|
try {
|
|
664
672
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -690,7 +698,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
690
698
|
}
|
|
691
699
|
getFallbackCodes(e, t) {
|
|
692
700
|
if (!e) return [];
|
|
693
|
-
if (typeof e == "function" && (e = e(t)),
|
|
701
|
+
if (typeof e == "function" && (e = e(t)), j(e) && (e = [e]), Array.isArray(e)) return e;
|
|
694
702
|
if (!t) return e.default || [];
|
|
695
703
|
let n = e[t];
|
|
696
704
|
return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
|
|
@@ -699,29 +707,29 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
699
707
|
let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
|
|
700
708
|
e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
|
|
701
709
|
};
|
|
702
|
-
return
|
|
710
|
+
return j(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : j(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
|
|
703
711
|
r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
|
|
704
712
|
}), r;
|
|
705
713
|
}
|
|
706
|
-
},
|
|
714
|
+
}, vt = {
|
|
707
715
|
zero: 0,
|
|
708
716
|
one: 1,
|
|
709
717
|
two: 2,
|
|
710
718
|
few: 3,
|
|
711
719
|
many: 4,
|
|
712
720
|
other: 5
|
|
713
|
-
},
|
|
721
|
+
}, yt = {
|
|
714
722
|
select: (e) => e === 1 ? "one" : "other",
|
|
715
723
|
resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
|
|
716
|
-
},
|
|
724
|
+
}, bt = class {
|
|
717
725
|
constructor(e, t = {}) {
|
|
718
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
726
|
+
this.languageUtils = e, this.options = t, this.logger = F.create("pluralResolver"), this.pluralRulesCache = {};
|
|
719
727
|
}
|
|
720
728
|
clearCache() {
|
|
721
729
|
this.pluralRulesCache = {};
|
|
722
730
|
}
|
|
723
731
|
getRule(e, t = {}) {
|
|
724
|
-
let n =
|
|
732
|
+
let n = P(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
|
|
725
733
|
cleanedCode: n,
|
|
726
734
|
type: r
|
|
727
735
|
});
|
|
@@ -730,8 +738,8 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
730
738
|
try {
|
|
731
739
|
a = new Intl.PluralRules(n, { type: r });
|
|
732
740
|
} catch {
|
|
733
|
-
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
734
|
-
if (!e.match(/-|_/)) return
|
|
741
|
+
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), yt;
|
|
742
|
+
if (!e.match(/-|_/)) return yt;
|
|
735
743
|
let n = this.languageUtils.getLanguagePartFromCode(e);
|
|
736
744
|
a = this.getRule(n, t);
|
|
737
745
|
}
|
|
@@ -746,23 +754,23 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
746
754
|
}
|
|
747
755
|
getSuffixes(e, t = {}) {
|
|
748
756
|
let n = this.getRule(e, t);
|
|
749
|
-
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) =>
|
|
757
|
+
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => vt[e] - vt[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
|
|
750
758
|
}
|
|
751
759
|
getSuffix(e, t, n = {}) {
|
|
752
760
|
let r = this.getRule(e, n);
|
|
753
761
|
return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
|
|
754
762
|
}
|
|
755
|
-
},
|
|
756
|
-
let a =
|
|
757
|
-
return !a && i &&
|
|
758
|
-
},
|
|
763
|
+
}, xt = (e, t, n, r = ".", i = !0) => {
|
|
764
|
+
let a = $e(e, t, n);
|
|
765
|
+
return !a && i && j(n) && (a = st(e, n, r), a === void 0 && (a = st(t, n, r))), a;
|
|
766
|
+
}, St = (e) => e.replace(/\$/g, "$$$$"), Ct = class {
|
|
759
767
|
constructor(e = {}) {
|
|
760
|
-
this.logger =
|
|
768
|
+
this.logger = F.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
|
|
761
769
|
}
|
|
762
770
|
init(e = {}) {
|
|
763
771
|
e.interpolation ||= { escapeValue: !0 };
|
|
764
772
|
let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
|
|
765
|
-
this.escape = t === void 0 ?
|
|
773
|
+
this.escape = t === void 0 ? nt : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? N(i) : a || "{{", this.suffix = o ? N(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? N(d) : f || N("$t("), this.nestingSuffix = p ? N(p) : m || N(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
|
|
766
774
|
}
|
|
767
775
|
reset() {
|
|
768
776
|
this.options && this.init(this.options);
|
|
@@ -774,7 +782,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
774
782
|
interpolate(e, t, n, r) {
|
|
775
783
|
let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
|
|
776
784
|
if (e.indexOf(this.formatSeparator) < 0) {
|
|
777
|
-
let i =
|
|
785
|
+
let i = xt(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
778
786
|
return this.alwaysFormat ? this.format(i, void 0, n, {
|
|
779
787
|
...r,
|
|
780
788
|
...t,
|
|
@@ -782,7 +790,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
782
790
|
}) : i;
|
|
783
791
|
}
|
|
784
792
|
let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
|
|
785
|
-
return this.format(
|
|
793
|
+
return this.format(xt(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
|
|
786
794
|
...r,
|
|
787
795
|
...t,
|
|
788
796
|
interpolationkey: a
|
|
@@ -792,22 +800,22 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
792
800
|
let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
|
|
793
801
|
return [{
|
|
794
802
|
regex: this.regexpUnescape,
|
|
795
|
-
safeValue: (e) =>
|
|
803
|
+
safeValue: (e) => St(e)
|
|
796
804
|
}, {
|
|
797
805
|
regex: this.regexp,
|
|
798
|
-
safeValue: (e) => this.escapeValue ?
|
|
806
|
+
safeValue: (e) => this.escapeValue ? St(this.escape(e)) : St(e)
|
|
799
807
|
}].forEach((t) => {
|
|
800
808
|
for (o = 0; i = t.regex.exec(e);) {
|
|
801
809
|
let n = i[1].trim();
|
|
802
810
|
if (a = c(n), a === void 0) if (typeof l == "function") {
|
|
803
811
|
let t = l(e, i, r);
|
|
804
|
-
a =
|
|
812
|
+
a = j(t) ? t : "";
|
|
805
813
|
} else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
|
|
806
814
|
else if (u) {
|
|
807
815
|
a = i[0];
|
|
808
816
|
continue;
|
|
809
817
|
} else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
|
|
810
|
-
else !
|
|
818
|
+
else !j(a) && !this.useRawValueToEscape && (a = Ge(a));
|
|
811
819
|
let s = t.safeValue(a);
|
|
812
820
|
if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
|
|
813
821
|
}
|
|
@@ -817,7 +825,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
817
825
|
let r, i, a, o = (e, t) => {
|
|
818
826
|
let n = this.nestingOptionsSeparator;
|
|
819
827
|
if (e.indexOf(n) < 0) return e;
|
|
820
|
-
let r = e.split(RegExp(`${
|
|
828
|
+
let r = e.split(RegExp(`${N(n)}[ ]*{`)), i = `{${r[1]}`;
|
|
821
829
|
e = r[0], i = this.interpolate(i, a);
|
|
822
830
|
let o = i.match(/'/g), s = i.match(/"/g);
|
|
823
831
|
((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
|
|
@@ -833,17 +841,17 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
833
841
|
};
|
|
834
842
|
for (; r = this.nestingRegexp.exec(e);) {
|
|
835
843
|
let s = [];
|
|
836
|
-
a = { ...n }, a = a.replace && !
|
|
844
|
+
a = { ...n }, a = a.replace && !j(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
837
845
|
let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
838
|
-
if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !
|
|
839
|
-
|
|
846
|
+
if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !j(i)) return i;
|
|
847
|
+
j(i) || (i = Ge(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
|
|
840
848
|
...n,
|
|
841
849
|
interpolationkey: r[1].trim()
|
|
842
850
|
}), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
|
|
843
851
|
}
|
|
844
852
|
return e;
|
|
845
853
|
}
|
|
846
|
-
},
|
|
854
|
+
}, wt = (e) => {
|
|
847
855
|
let t = e.toLowerCase().trim(), n = {};
|
|
848
856
|
if (e.indexOf("(") > -1) {
|
|
849
857
|
let r = e.split("(");
|
|
@@ -860,7 +868,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
860
868
|
formatName: t,
|
|
861
869
|
formatOptions: n
|
|
862
870
|
};
|
|
863
|
-
},
|
|
871
|
+
}, Tt = (e) => {
|
|
864
872
|
let t = {};
|
|
865
873
|
return (n, r, i) => {
|
|
866
874
|
let a = i;
|
|
@@ -869,15 +877,15 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
869
877
|
[i.interpolationkey]: void 0
|
|
870
878
|
});
|
|
871
879
|
let o = r + JSON.stringify(a), s = t[o];
|
|
872
|
-
return s || (s = e(
|
|
880
|
+
return s || (s = e(P(r), i), t[o] = s), s(n);
|
|
873
881
|
};
|
|
874
|
-
},
|
|
882
|
+
}, Et = (e) => (t, n, r) => e(P(n), r)(t), Dt = class {
|
|
875
883
|
constructor(e = {}) {
|
|
876
|
-
this.logger =
|
|
884
|
+
this.logger = F.create("formatter"), this.options = e, this.init(e);
|
|
877
885
|
}
|
|
878
886
|
init(e, t = { interpolation: {} }) {
|
|
879
887
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
880
|
-
let n = t.cacheInBuiltFormats ?
|
|
888
|
+
let n = t.cacheInBuiltFormats ? Tt : Et;
|
|
881
889
|
this.formats = {
|
|
882
890
|
number: n((e, t) => {
|
|
883
891
|
let n = new Intl.NumberFormat(e, { ...t });
|
|
@@ -908,7 +916,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
908
916
|
this.formats[e.toLowerCase().trim()] = t;
|
|
909
917
|
}
|
|
910
918
|
addCached(e, t) {
|
|
911
|
-
this.formats[e.toLowerCase().trim()] =
|
|
919
|
+
this.formats[e.toLowerCase().trim()] = Tt(t);
|
|
912
920
|
}
|
|
913
921
|
format(e, t, n, r = {}) {
|
|
914
922
|
let i = t.split(this.formatSeparator);
|
|
@@ -917,7 +925,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
917
925
|
i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
|
|
918
926
|
}
|
|
919
927
|
return i.reduce((e, t) => {
|
|
920
|
-
let { formatName: i, formatOptions: a } =
|
|
928
|
+
let { formatName: i, formatOptions: a } = wt(t);
|
|
921
929
|
if (this.formats[i]) {
|
|
922
930
|
let t = e;
|
|
923
931
|
try {
|
|
@@ -935,11 +943,11 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
935
943
|
return e;
|
|
936
944
|
}, e);
|
|
937
945
|
}
|
|
938
|
-
},
|
|
946
|
+
}, Ot = (e, t) => {
|
|
939
947
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
940
|
-
},
|
|
948
|
+
}, kt = class extends lt {
|
|
941
949
|
constructor(e, t, n, r = {}) {
|
|
942
|
-
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger =
|
|
950
|
+
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = F.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
|
|
943
951
|
}
|
|
944
952
|
queueLoad(e, t, n, r) {
|
|
945
953
|
let i = {}, a = {}, o = {}, s = {};
|
|
@@ -967,7 +975,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
967
975
|
t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
|
|
968
976
|
let o = {};
|
|
969
977
|
this.queue.forEach((n) => {
|
|
970
|
-
|
|
978
|
+
Ze(n.loaded, [i], a), Ot(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
|
|
971
979
|
o[e] || (o[e] = {});
|
|
972
980
|
let t = n.loaded[e];
|
|
973
981
|
t.length && t.forEach((t) => {
|
|
@@ -1016,7 +1024,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1016
1024
|
}
|
|
1017
1025
|
prepareLoading(e, t, n = {}, r) {
|
|
1018
1026
|
if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
|
|
1019
|
-
|
|
1027
|
+
j(e) && (e = this.languageUtils.toResolveHierarchy(e)), j(t) && (t = [t]);
|
|
1020
1028
|
let i = this.queueLoad(e, t, n, r);
|
|
1021
1029
|
if (!i.toLoad.length) return i.pending.length || r(), null;
|
|
1022
1030
|
i.toLoad.forEach((e) => {
|
|
@@ -1057,7 +1065,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1057
1065
|
!e || !e[0] || this.store.addResource(e[0], t, n, r);
|
|
1058
1066
|
}
|
|
1059
1067
|
}
|
|
1060
|
-
},
|
|
1068
|
+
}, At = () => ({
|
|
1061
1069
|
debug: !1,
|
|
1062
1070
|
initAsync: !0,
|
|
1063
1071
|
ns: ["translation"],
|
|
@@ -1092,7 +1100,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1092
1100
|
appendNamespaceToCIMode: !1,
|
|
1093
1101
|
overloadTranslationOptionHandler: (e) => {
|
|
1094
1102
|
let t = {};
|
|
1095
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
1103
|
+
if (typeof e[1] == "object" && (t = e[1]), j(e[1]) && (t.defaultValue = e[1]), j(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
1096
1104
|
let n = e[3] || e[2];
|
|
1097
1105
|
Object.keys(n).forEach((e) => {
|
|
1098
1106
|
t[e] = n[e];
|
|
@@ -1114,15 +1122,15 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1114
1122
|
skipOnVariables: !0
|
|
1115
1123
|
},
|
|
1116
1124
|
cacheInBuiltFormats: !0
|
|
1117
|
-
}),
|
|
1125
|
+
}), jt = (e) => (j(e.ns) && (e.ns = [e.ns]), j(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), j(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Mt = () => {}, Nt = (e) => {
|
|
1118
1126
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
|
|
1119
1127
|
typeof e[t] == "function" && (e[t] = e[t].bind(e));
|
|
1120
1128
|
});
|
|
1121
|
-
},
|
|
1122
|
-
typeof globalThis < "u" && (globalThis[
|
|
1123
|
-
},
|
|
1129
|
+
}, Pt = "__i18next_supportNoticeShown", Ft = () => !!(typeof globalThis < "u" && globalThis[Pt] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), It = () => {
|
|
1130
|
+
typeof globalThis < "u" && (globalThis[Pt] = !0);
|
|
1131
|
+
}, Lt = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), L = class e extends lt {
|
|
1124
1132
|
constructor(e = {}, t) {
|
|
1125
|
-
if (super(), this.options =
|
|
1133
|
+
if (super(), this.options = jt(e), this.services = {}, this.logger = F, this.modules = { external: [] }, Nt(this), t && !this.isInitialized && !e.isClone) {
|
|
1126
1134
|
if (!this.options.initAsync) return this.init(e, t), this;
|
|
1127
1135
|
setTimeout(() => {
|
|
1128
1136
|
this.init(e, t);
|
|
@@ -1130,36 +1138,36 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1130
1138
|
}
|
|
1131
1139
|
}
|
|
1132
1140
|
init(e = {}, t) {
|
|
1133
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (
|
|
1134
|
-
let n =
|
|
1141
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (j(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1142
|
+
let n = At();
|
|
1135
1143
|
this.options = {
|
|
1136
1144
|
...n,
|
|
1137
1145
|
...this.options,
|
|
1138
|
-
...
|
|
1146
|
+
...jt(e)
|
|
1139
1147
|
}, this.options.interpolation = {
|
|
1140
1148
|
...n.interpolation,
|
|
1141
1149
|
...this.options.interpolation
|
|
1142
|
-
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !
|
|
1150
|
+
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Lt(this) && !Ft() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), It());
|
|
1143
1151
|
let r = (e) => e ? typeof e == "function" ? new e() : e : null;
|
|
1144
1152
|
if (!this.options.isClone) {
|
|
1145
|
-
this.modules.logger ?
|
|
1153
|
+
this.modules.logger ? F.init(r(this.modules.logger), this.options) : F.init(null, this.options);
|
|
1146
1154
|
let e;
|
|
1147
|
-
e = this.modules.formatter ? this.modules.formatter :
|
|
1148
|
-
let t = new
|
|
1149
|
-
this.store = new
|
|
1155
|
+
e = this.modules.formatter ? this.modules.formatter : Dt;
|
|
1156
|
+
let t = new _t(this.options);
|
|
1157
|
+
this.store = new ut(this.options.resources, this.options);
|
|
1150
1158
|
let i = this.services;
|
|
1151
|
-
i.logger =
|
|
1159
|
+
i.logger = F, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new bt(t, {
|
|
1152
1160
|
prepend: this.options.pluralSeparator,
|
|
1153
1161
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1154
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new
|
|
1162
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new Ct(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new kt(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
|
|
1155
1163
|
this.emit(e, ...t);
|
|
1156
|
-
}), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new
|
|
1164
|
+
}), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new gt(this.services, this.options), this.translator.on("*", (e, ...t) => {
|
|
1157
1165
|
this.emit(e, ...t);
|
|
1158
1166
|
}), this.modules.external.forEach((e) => {
|
|
1159
1167
|
e.init && e.init(this);
|
|
1160
1168
|
});
|
|
1161
1169
|
}
|
|
1162
|
-
if (this.format = this.options.interpolation.format, t ||=
|
|
1170
|
+
if (this.format = this.options.interpolation.format, t ||= Mt, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1163
1171
|
let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1164
1172
|
e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
|
|
1165
1173
|
}
|
|
@@ -1178,7 +1186,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1178
1186
|
].forEach((e) => {
|
|
1179
1187
|
this[e] = (...t) => (this.store[e](...t), this);
|
|
1180
1188
|
});
|
|
1181
|
-
let i =
|
|
1189
|
+
let i = We(), a = () => {
|
|
1182
1190
|
let e = (e, n) => {
|
|
1183
1191
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
|
|
1184
1192
|
};
|
|
@@ -1187,8 +1195,8 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1187
1195
|
};
|
|
1188
1196
|
return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
|
|
1189
1197
|
}
|
|
1190
|
-
loadResources(e, t =
|
|
1191
|
-
let n = t, r =
|
|
1198
|
+
loadResources(e, t = Mt) {
|
|
1199
|
+
let n = t, r = j(e) ? e : this.language;
|
|
1192
1200
|
if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1193
1201
|
if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
1194
1202
|
let e = [], t = (t) => {
|
|
@@ -1202,15 +1210,15 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1202
1210
|
} else n(null);
|
|
1203
1211
|
}
|
|
1204
1212
|
reloadResources(e, t, n) {
|
|
1205
|
-
let r =
|
|
1206
|
-
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||=
|
|
1213
|
+
let r = We();
|
|
1214
|
+
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Mt, this.services.backendConnector.reload(e, t, (e) => {
|
|
1207
1215
|
r.resolve(), n(e);
|
|
1208
1216
|
}), r;
|
|
1209
1217
|
}
|
|
1210
1218
|
use(e) {
|
|
1211
1219
|
if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1212
1220
|
if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1213
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
1221
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && dt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1214
1222
|
}
|
|
1215
1223
|
setResolvedLanguage(e) {
|
|
1216
1224
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
|
|
@@ -1226,7 +1234,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1226
1234
|
}
|
|
1227
1235
|
changeLanguage(e, t) {
|
|
1228
1236
|
this.isLanguageChangingTo = e;
|
|
1229
|
-
let n =
|
|
1237
|
+
let n = We();
|
|
1230
1238
|
this.emit("languageChanging", e);
|
|
1231
1239
|
let r = (e) => {
|
|
1232
1240
|
this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
|
|
@@ -1234,7 +1242,7 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1234
1242
|
a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e));
|
|
1235
1243
|
}, a = (t) => {
|
|
1236
1244
|
!e && !t && this.services.languageDetector && (t = []);
|
|
1237
|
-
let n =
|
|
1245
|
+
let n = j(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(j(t) ? [t] : t);
|
|
1238
1246
|
a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
|
|
1239
1247
|
i(e, a);
|
|
1240
1248
|
});
|
|
@@ -1249,11 +1257,11 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1249
1257
|
...this.options,
|
|
1250
1258
|
...a
|
|
1251
1259
|
};
|
|
1252
|
-
typeof a.keyPrefix == "function" && (a.keyPrefix =
|
|
1260
|
+
typeof a.keyPrefix == "function" && (a.keyPrefix = I(a.keyPrefix, o));
|
|
1253
1261
|
let s = this.options.keySeparator || ".", c;
|
|
1254
|
-
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e =
|
|
1262
|
+
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = I(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = I(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
|
|
1255
1263
|
};
|
|
1256
|
-
return
|
|
1264
|
+
return j(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
|
|
1257
1265
|
}
|
|
1258
1266
|
t(...e) {
|
|
1259
1267
|
return this.translator?.translate(...e);
|
|
@@ -1280,16 +1288,16 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1280
1288
|
return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
|
|
1281
1289
|
}
|
|
1282
1290
|
loadNamespaces(e, t) {
|
|
1283
|
-
let n =
|
|
1284
|
-
return this.options.ns ? (
|
|
1291
|
+
let n = We();
|
|
1292
|
+
return this.options.ns ? (j(e) && (e = [e]), e.forEach((e) => {
|
|
1285
1293
|
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
1286
1294
|
}), this.loadResources((e) => {
|
|
1287
1295
|
n.resolve(), t && t(e);
|
|
1288
1296
|
}), n) : (t && t(), Promise.resolve());
|
|
1289
1297
|
}
|
|
1290
1298
|
loadLanguages(e, t) {
|
|
1291
|
-
let n =
|
|
1292
|
-
|
|
1299
|
+
let n = We();
|
|
1300
|
+
j(e) && (e = [e]);
|
|
1293
1301
|
let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
|
|
1294
1302
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
|
|
1295
1303
|
n.resolve(), t && t(e);
|
|
@@ -1304,14 +1312,14 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1304
1312
|
if (e && e.direction) return e.direction;
|
|
1305
1313
|
}
|
|
1306
1314
|
} catch {}
|
|
1307
|
-
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new
|
|
1315
|
+
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new _t(At());
|
|
1308
1316
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1309
1317
|
}
|
|
1310
1318
|
static createInstance(t = {}, n) {
|
|
1311
1319
|
let r = new e(t, n);
|
|
1312
1320
|
return r.createInstance = e.createInstance, r;
|
|
1313
1321
|
}
|
|
1314
|
-
cloneInstance(t = {}, n =
|
|
1322
|
+
cloneInstance(t = {}, n = Mt) {
|
|
1315
1323
|
let r = t.forkResourceStore;
|
|
1316
1324
|
r && delete t.forkResourceStore;
|
|
1317
1325
|
let i = {
|
|
@@ -1325,18 +1333,18 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1325
1333
|
"language"
|
|
1326
1334
|
].forEach((e) => {
|
|
1327
1335
|
a[e] = this[e];
|
|
1328
|
-
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new
|
|
1336
|
+
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new ut(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
|
|
1329
1337
|
let e = {
|
|
1330
|
-
...
|
|
1338
|
+
...At().interpolation,
|
|
1331
1339
|
...this.options.interpolation,
|
|
1332
1340
|
...t.interpolation
|
|
1333
1341
|
}, n = {
|
|
1334
1342
|
...i,
|
|
1335
1343
|
interpolation: e
|
|
1336
1344
|
};
|
|
1337
|
-
a.services.interpolator = new
|
|
1345
|
+
a.services.interpolator = new Ct(n);
|
|
1338
1346
|
}
|
|
1339
|
-
return a.translator = new
|
|
1347
|
+
return a.translator = new gt(a.services, i), a.translator.on("*", (e, ...t) => {
|
|
1340
1348
|
a.emit(e, ...t);
|
|
1341
1349
|
}), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
|
|
1342
1350
|
}
|
|
@@ -1350,10 +1358,10 @@ var ft = {}, pt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1350
1358
|
};
|
|
1351
1359
|
}
|
|
1352
1360
|
}.createInstance();
|
|
1353
|
-
|
|
1361
|
+
L.createInstance, L.dir, L.init, L.loadResources, L.reloadResources, L.use, L.changeLanguage, L.getFixedT, L.t, L.exists, L.setDefaultNamespace, L.hasLoadedNamespace, L.loadNamespaces, L.loadLanguages;
|
|
1354
1362
|
//#endregion
|
|
1355
1363
|
//#region ../node_modules/i18next-resources-to-backend/dist/esm/index.js
|
|
1356
|
-
var
|
|
1364
|
+
var Rt = function(e) {
|
|
1357
1365
|
return {
|
|
1358
1366
|
type: "backend",
|
|
1359
1367
|
init: function(e, t, n) {},
|
|
@@ -1376,7 +1384,7 @@ var It = function(e) {
|
|
|
1376
1384
|
r(null, e && e[t] && e[t][n]);
|
|
1377
1385
|
}
|
|
1378
1386
|
};
|
|
1379
|
-
},
|
|
1387
|
+
}, zt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Bt = {
|
|
1380
1388
|
"&": "&",
|
|
1381
1389
|
"&": "&",
|
|
1382
1390
|
"<": "<",
|
|
@@ -1397,7 +1405,7 @@ var It = function(e) {
|
|
|
1397
1405
|
"…": "…",
|
|
1398
1406
|
"/": "/",
|
|
1399
1407
|
"/": "/"
|
|
1400
|
-
},
|
|
1408
|
+
}, Vt = (e) => Bt[e], Ht = (e) => e.replace(zt, Vt), Ut = {
|
|
1401
1409
|
bindI18n: "languageChanged",
|
|
1402
1410
|
bindI18nStore: "",
|
|
1403
1411
|
transEmptyNodeValue: "",
|
|
@@ -1410,21 +1418,21 @@ var It = function(e) {
|
|
|
1410
1418
|
"p"
|
|
1411
1419
|
],
|
|
1412
1420
|
useSuspense: !0,
|
|
1413
|
-
unescape:
|
|
1421
|
+
unescape: Ht,
|
|
1414
1422
|
transDefaultProps: void 0
|
|
1415
|
-
},
|
|
1416
|
-
|
|
1417
|
-
...
|
|
1423
|
+
}, Wt = (e = {}) => {
|
|
1424
|
+
Ut = {
|
|
1425
|
+
...Ut,
|
|
1418
1426
|
...e
|
|
1419
1427
|
};
|
|
1420
|
-
},
|
|
1421
|
-
|
|
1422
|
-
},
|
|
1428
|
+
}, Gt = () => Ut, Kt, qt = (e) => {
|
|
1429
|
+
Kt = e;
|
|
1430
|
+
}, Jt = () => Kt, Yt = {
|
|
1423
1431
|
type: "3rdParty",
|
|
1424
1432
|
init(e) {
|
|
1425
|
-
|
|
1433
|
+
Wt(e.options.react), qt(e);
|
|
1426
1434
|
}
|
|
1427
|
-
},
|
|
1435
|
+
}, Xt = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
|
|
1428
1436
|
var n = (function() {
|
|
1429
1437
|
function e(e, t) {
|
|
1430
1438
|
return t != null && e instanceof t;
|
|
@@ -1526,13 +1534,13 @@ var It = function(e) {
|
|
|
1526
1534
|
})();
|
|
1527
1535
|
typeof t == "object" && t.exports && (t.exports = n);
|
|
1528
1536
|
})))(), 1);
|
|
1529
|
-
function
|
|
1537
|
+
function Zt(e) {
|
|
1530
1538
|
return Array.isArray(e) ? !1 : typeof e != "object" || Object.keys(e).length === 0;
|
|
1531
1539
|
}
|
|
1532
|
-
function
|
|
1533
|
-
return (0,
|
|
1540
|
+
function Qt(e) {
|
|
1541
|
+
return (0, Xt.default)(e);
|
|
1534
1542
|
}
|
|
1535
|
-
function
|
|
1543
|
+
function $t(...e) {
|
|
1536
1544
|
let t = (e) => e && typeof e == "object";
|
|
1537
1545
|
function n(e, r) {
|
|
1538
1546
|
return Object.keys(r).forEach((i) => {
|
|
@@ -1546,37 +1554,37 @@ function Zt(...e) {
|
|
|
1546
1554
|
for (; i = e.shift();) n(r, i);
|
|
1547
1555
|
return r;
|
|
1548
1556
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1551
|
-
if (!
|
|
1557
|
+
var en = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
1558
|
+
function tn(e, t) {
|
|
1559
|
+
if (!en(e) || !en(t)) return t === void 0 ? e : t;
|
|
1552
1560
|
let n = { ...e };
|
|
1553
1561
|
return Object.keys(t).forEach((e) => {
|
|
1554
|
-
n[e] =
|
|
1562
|
+
n[e] = tn(n[e], t[e]);
|
|
1555
1563
|
}), n;
|
|
1556
1564
|
}
|
|
1557
1565
|
//#endregion
|
|
1558
1566
|
//#region src/lib/intl/i18next.ts
|
|
1559
|
-
var
|
|
1567
|
+
var R = {
|
|
1560
1568
|
DEFAULT: "default",
|
|
1561
1569
|
THEME: "theme",
|
|
1562
1570
|
OPTIONS: "options"
|
|
1563
1571
|
};
|
|
1564
|
-
|
|
1572
|
+
L.on("missingKey", (e, t, r, i) => {
|
|
1565
1573
|
n.warn(`i18next: MISSING KEY in ${t}.${r} for languages: ${e.join(", ")}`, { result: i });
|
|
1566
1574
|
});
|
|
1567
|
-
function
|
|
1575
|
+
function nn(e, t) {
|
|
1568
1576
|
if (typeof t != "object") return;
|
|
1569
1577
|
let n = {};
|
|
1570
1578
|
return Object.entries(t).forEach(([t, r]) => {
|
|
1571
|
-
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] =
|
|
1579
|
+
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] = nn(e, r));
|
|
1572
1580
|
}), n;
|
|
1573
1581
|
}
|
|
1574
|
-
async function
|
|
1575
|
-
let r = await
|
|
1582
|
+
async function rn(e, t) {
|
|
1583
|
+
let r = await xr(e), i;
|
|
1576
1584
|
switch (t) {
|
|
1577
1585
|
case "default": {
|
|
1578
|
-
let e = Object.entries(r.segmentMessages).map(([e, t]) =>
|
|
1579
|
-
i =
|
|
1586
|
+
let e = Object.entries(r.segmentMessages).map(([e, t]) => nn(e, t));
|
|
1587
|
+
i = $t({}, r.defaultMessages, ...e);
|
|
1580
1588
|
break;
|
|
1581
1589
|
}
|
|
1582
1590
|
case "theme": break;
|
|
@@ -1585,35 +1593,35 @@ async function tn(e, t) {
|
|
|
1585
1593
|
}
|
|
1586
1594
|
return i;
|
|
1587
1595
|
}
|
|
1588
|
-
var
|
|
1596
|
+
var an = {
|
|
1589
1597
|
debug: !1,
|
|
1590
1598
|
partialBundledLanguages: !0,
|
|
1591
|
-
ns: Object.values(
|
|
1592
|
-
defaultNS:
|
|
1593
|
-
fallbackNS: [
|
|
1599
|
+
ns: Object.values(R),
|
|
1600
|
+
defaultNS: R.OPTIONS,
|
|
1601
|
+
fallbackNS: [R.THEME, R.DEFAULT],
|
|
1594
1602
|
fallbackLng: !1,
|
|
1595
1603
|
react: { transSupportBasicHtmlNodes: !1 },
|
|
1596
1604
|
showSupportNotice: !1
|
|
1597
1605
|
};
|
|
1598
|
-
|
|
1599
|
-
function
|
|
1606
|
+
L.use(Yt).use(Rt(rn)).init(an);
|
|
1607
|
+
function on(e) {
|
|
1600
1608
|
e && (Array.isArray(e) ? e.forEach((e) => n.error(e)) : n.error(e));
|
|
1601
1609
|
}
|
|
1602
|
-
function
|
|
1610
|
+
function sn(e, t = L) {
|
|
1603
1611
|
e && Object.entries(e).forEach(([e, n]) => {
|
|
1604
|
-
n && t.addResourceBundle(e,
|
|
1612
|
+
n && t.addResourceBundle(e, R.OPTIONS, n, !1, !0);
|
|
1605
1613
|
});
|
|
1606
1614
|
}
|
|
1607
|
-
var
|
|
1615
|
+
var cn = L, ln = /* @__PURE__ */ function(e) {
|
|
1608
1616
|
return e.TRUE = "true", e.FALSE = "false", e;
|
|
1609
|
-
}({}),
|
|
1617
|
+
}({}), un = ["sheerid.com"], dn = /* @__PURE__ */ function(e) {
|
|
1610
1618
|
return e.ASR_SELECTED = "AsrSelected", e.ASR_TIPS_SHOWN = "AsrTipsShown", e.ASR_SEARCH_AFTER_TIPS = "AsrSearchAfterTips", e.FORM_PASTE = "FormPaste", e.INVALID_FORM_SUBMIT = "InvalidFormSubmit", e.STEP_SEEN = "StepSeen", e.STEP_SUBMITTED = "StepSubmitted", e.STEP_ACCEPTED = "StepAccepted", e.ORG_SELECTED = "OrgSelected", e.ORGS_DISPLAYED = "OrgsDisplayed", e.VIEW_EXPERIMENT = "ViewExperiment", e.SUCCESS_REDIRECT_CLICKED = "SuccessRedirectClicked", e.SSO_SIGN_IN_CLICKED = "SsoSignInClicked", e.SSO_CANCEL_CLICKED = "SsoCancelClicked", e.DOC_UPLOAD_ADD_FILES = "DocUploadAddFiles", e.DOC_UPLOAD_REMOVE_FILES = "DocUploadRemoveFiles", e.CAPTCHA_CLIENT_ERROR_CODE = "CaptchaClientErrorCode", e.COLLECT_STARTED = "CollectStarted", e.COLLECT_SUBMITTED = "CollectSubmitted", e.PERFORMANCE = "Performance", e.USER_PROPERTIES = "user_properties", e.VERIFICATION = "Verification", e.VERIFICATION_HELP = "VerificationHelp", e;
|
|
1611
|
-
}({}),
|
|
1619
|
+
}({}), fn = /* @__PURE__ */ function(e) {
|
|
1612
1620
|
return e.age = "age", e.jslibVersionActual = "jslibVersionActual", e.clientVersion = "clientVersion", e.programId = "programId", e.segment = "segment", e.subSegment = "subSegment", e.testMode = "testMode", e.testRequest = "testRequest", e.verificationId = "verificationId", e.flags = "flags", e.options = "options", e.flag = "flag", e.step = "step", e.stepAction = "step_action", e.identifier = "id", e.verificationHelpStatus = "verificationHelpStatus", e.visibilityState = "visibilityState", e;
|
|
1613
|
-
}({}),
|
|
1621
|
+
}({}), pn = /* @__PURE__ */ function(e) {
|
|
1614
1622
|
return e.EVENT_DURATION = "eventDuration", e.QUERY_LENGTH = "queryLength", e.SELECTED_RESULT_RANK = "selectedResultRank", e.NUMBER_OF_RESULTS = "numberOfResults", e.NUMBER_REWORKS = "numberReworks", e.INITIAL_STEP_LOAD = "initialStepLoad", e.LCP = "largestContentfulPaint", e.ERROR_CODE = "errorCode", e;
|
|
1615
1623
|
}({});
|
|
1616
|
-
function
|
|
1624
|
+
function mn(e, t, r) {
|
|
1617
1625
|
if (l()) return n.info("Not able to track");
|
|
1618
1626
|
try {
|
|
1619
1627
|
return window.gtag(e, t, r);
|
|
@@ -1621,28 +1629,28 @@ function fn(e, t, r) {
|
|
|
1621
1629
|
n.warn(`Failed ${e}:${t} event`, r);
|
|
1622
1630
|
}
|
|
1623
1631
|
}
|
|
1624
|
-
var
|
|
1632
|
+
var hn = async (e) => {
|
|
1625
1633
|
try {
|
|
1626
1634
|
let n = {
|
|
1627
1635
|
...await r() || {},
|
|
1628
1636
|
...e.params
|
|
1629
1637
|
};
|
|
1630
|
-
|
|
1638
|
+
mn("event", e.eventName, n), t() && window.NREUM.addPageAction(e.eventName, n);
|
|
1631
1639
|
} catch (e) {
|
|
1632
1640
|
n.error(e);
|
|
1633
1641
|
}
|
|
1634
|
-
},
|
|
1635
|
-
|
|
1642
|
+
}, gn = async (e, t) => {
|
|
1643
|
+
hn({
|
|
1636
1644
|
eventName: e,
|
|
1637
1645
|
params: t
|
|
1638
1646
|
});
|
|
1639
|
-
},
|
|
1647
|
+
}, _n = (t, r) => {
|
|
1640
1648
|
if (e({ [t]: r }), !l()) try {
|
|
1641
|
-
|
|
1649
|
+
mn("set", "user_properties", { [t]: r });
|
|
1642
1650
|
} catch (e) {
|
|
1643
1651
|
n.warn(`Failed to set ${t}`, e);
|
|
1644
1652
|
}
|
|
1645
|
-
},
|
|
1653
|
+
}, vn = (t) => {
|
|
1646
1654
|
try {
|
|
1647
1655
|
e({
|
|
1648
1656
|
verificationId: t.verificationId,
|
|
@@ -1653,20 +1661,20 @@ var pn = async (e) => {
|
|
|
1653
1661
|
} catch (e) {
|
|
1654
1662
|
n.warn(e);
|
|
1655
1663
|
}
|
|
1656
|
-
},
|
|
1664
|
+
}, yn = _n, bn = (e) => {
|
|
1657
1665
|
try {
|
|
1658
1666
|
let { email: t } = e;
|
|
1659
|
-
t &&
|
|
1667
|
+
t && un.filter((e) => t.indexOf(e) > -1).length > 0 && yn("testRequest", "true");
|
|
1660
1668
|
} catch (e) {
|
|
1661
1669
|
n.warn("Error setting testRequest dimension", e);
|
|
1662
1670
|
}
|
|
1663
1671
|
};
|
|
1664
|
-
function
|
|
1672
|
+
function xn() {
|
|
1665
1673
|
try {
|
|
1666
1674
|
if (PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")) {
|
|
1667
1675
|
let e = new PerformanceObserver((t) => {
|
|
1668
1676
|
let r = t.getEntries(), i = r[r.length - 1];
|
|
1669
|
-
n.log("Performance:", "largestContentfulPaint", i.startTime),
|
|
1677
|
+
n.log("Performance:", "largestContentfulPaint", i.startTime), Cn("largestContentfulPaint", i.startTime), e.disconnect();
|
|
1670
1678
|
});
|
|
1671
1679
|
e.observe({
|
|
1672
1680
|
type: "largest-contentful-paint",
|
|
@@ -1678,7 +1686,7 @@ function yn() {
|
|
|
1678
1686
|
let r = t.getEntries();
|
|
1679
1687
|
r = r.filter((e) => e.name === "initialStepLoad");
|
|
1680
1688
|
let i = r[0];
|
|
1681
|
-
i && (n.log("Performance:", "initialStepLoad", i.startTime),
|
|
1689
|
+
i && (n.log("Performance:", "initialStepLoad", i.startTime), Cn("initialStepLoad", i.startTime), e.disconnect());
|
|
1682
1690
|
});
|
|
1683
1691
|
e.observe({
|
|
1684
1692
|
type: "mark",
|
|
@@ -1689,75 +1697,75 @@ function yn() {
|
|
|
1689
1697
|
n.warn("Error setting up observePerformanceMetrics", e);
|
|
1690
1698
|
}
|
|
1691
1699
|
}
|
|
1692
|
-
var
|
|
1693
|
-
|
|
1700
|
+
var Sn = (e, t = "") => {
|
|
1701
|
+
mn("event", "Verification", {
|
|
1694
1702
|
step: e,
|
|
1695
1703
|
step_action: t
|
|
1696
1704
|
});
|
|
1697
|
-
},
|
|
1698
|
-
|
|
1705
|
+
}, Cn = (e, t) => {
|
|
1706
|
+
mn("event", "Performance", {
|
|
1699
1707
|
name: e,
|
|
1700
1708
|
value: t
|
|
1701
1709
|
});
|
|
1702
1710
|
};
|
|
1703
1711
|
//#endregion
|
|
1704
1712
|
//#region ../node_modules/immer/dist/immer.esm.mjs
|
|
1705
|
-
function
|
|
1713
|
+
function z(e) {
|
|
1706
1714
|
var t = [...arguments].slice(1);
|
|
1707
1715
|
throw Error("[Immer] minified error nr: " + e + (t.length ? " " + t.map((function(e) {
|
|
1708
1716
|
return "'" + e + "'";
|
|
1709
1717
|
})).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
1710
1718
|
}
|
|
1711
|
-
function
|
|
1712
|
-
return !!e && !!e[
|
|
1719
|
+
function B(e) {
|
|
1720
|
+
return !!e && !!e[J];
|
|
1713
1721
|
}
|
|
1714
|
-
function
|
|
1722
|
+
function V(e) {
|
|
1715
1723
|
return !!e && (function(e) {
|
|
1716
1724
|
if (!e || typeof e != "object") return !1;
|
|
1717
1725
|
var t = Object.getPrototypeOf(e);
|
|
1718
1726
|
if (t === null) return !0;
|
|
1719
1727
|
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
1720
|
-
return n === Object || typeof n == "function" && Function.toString.call(n) ===
|
|
1721
|
-
}(e) || Array.isArray(e) || !!e[
|
|
1728
|
+
return n === Object || typeof n == "function" && Function.toString.call(n) === ar;
|
|
1729
|
+
}(e) || Array.isArray(e) || !!e[ir] || !!e.constructor?.[ir] || Dn(e) || On(e));
|
|
1722
1730
|
}
|
|
1723
|
-
function
|
|
1724
|
-
n === void 0 && (n = !1),
|
|
1731
|
+
function H(e, t, n) {
|
|
1732
|
+
n === void 0 && (n = !1), U(e) === 0 ? (n ? Object.keys : Y)(e).forEach((function(r) {
|
|
1725
1733
|
n && typeof r == "symbol" || t(r, e[r], e);
|
|
1726
1734
|
})) : e.forEach((function(n, r) {
|
|
1727
1735
|
return t(r, n, e);
|
|
1728
1736
|
}));
|
|
1729
1737
|
}
|
|
1730
|
-
function
|
|
1731
|
-
var t = e[
|
|
1732
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 :
|
|
1738
|
+
function U(e) {
|
|
1739
|
+
var t = e[J];
|
|
1740
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : Dn(e) ? 2 : On(e) ? 3 : 0;
|
|
1733
1741
|
}
|
|
1734
|
-
function
|
|
1735
|
-
return
|
|
1742
|
+
function W(e, t) {
|
|
1743
|
+
return U(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
1736
1744
|
}
|
|
1737
|
-
function
|
|
1738
|
-
return
|
|
1745
|
+
function wn(e, t) {
|
|
1746
|
+
return U(e) === 2 ? e.get(t) : e[t];
|
|
1739
1747
|
}
|
|
1740
|
-
function
|
|
1741
|
-
var r =
|
|
1748
|
+
function Tn(e, t, n) {
|
|
1749
|
+
var r = U(e);
|
|
1742
1750
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
1743
1751
|
}
|
|
1744
|
-
function
|
|
1752
|
+
function En(e, t) {
|
|
1745
1753
|
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
1746
1754
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1755
|
+
function Dn(e) {
|
|
1756
|
+
return er && e instanceof Map;
|
|
1749
1757
|
}
|
|
1750
|
-
function
|
|
1751
|
-
return
|
|
1758
|
+
function On(e) {
|
|
1759
|
+
return tr && e instanceof Set;
|
|
1752
1760
|
}
|
|
1753
|
-
function
|
|
1761
|
+
function G(e) {
|
|
1754
1762
|
return e.o || e.t;
|
|
1755
1763
|
}
|
|
1756
|
-
function
|
|
1764
|
+
function kn(e) {
|
|
1757
1765
|
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
1758
|
-
var t =
|
|
1759
|
-
delete t[
|
|
1760
|
-
for (var n =
|
|
1766
|
+
var t = or(e);
|
|
1767
|
+
delete t[J];
|
|
1768
|
+
for (var n = Y(t), r = 0; r < n.length; r++) {
|
|
1761
1769
|
var i = n[r], a = t[i];
|
|
1762
1770
|
!1 === a.writable && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {
|
|
1763
1771
|
configurable: !0,
|
|
@@ -1768,107 +1776,107 @@ function Dn(e) {
|
|
|
1768
1776
|
}
|
|
1769
1777
|
return Object.create(Object.getPrototypeOf(e), t);
|
|
1770
1778
|
}
|
|
1771
|
-
function
|
|
1772
|
-
return t === void 0 && (t = !1),
|
|
1773
|
-
return
|
|
1779
|
+
function An(e, t) {
|
|
1780
|
+
return t === void 0 && (t = !1), Mn(e) || B(e) || !V(e) || (U(e) > 1 && (e.set = e.add = e.clear = e.delete = jn), Object.freeze(e), t && H(e, (function(e, t) {
|
|
1781
|
+
return An(t, !0);
|
|
1774
1782
|
}), !0)), e;
|
|
1775
1783
|
}
|
|
1776
|
-
function
|
|
1777
|
-
|
|
1784
|
+
function jn() {
|
|
1785
|
+
z(2);
|
|
1778
1786
|
}
|
|
1779
|
-
function
|
|
1787
|
+
function Mn(e) {
|
|
1780
1788
|
return typeof e != "object" || !e || Object.isFrozen(e);
|
|
1781
1789
|
}
|
|
1782
|
-
function
|
|
1783
|
-
var t =
|
|
1784
|
-
return t ||
|
|
1785
|
-
}
|
|
1786
|
-
function jn(e, t) {
|
|
1787
|
-
ar[e] || (ar[e] = t);
|
|
1788
|
-
}
|
|
1789
|
-
function Mn() {
|
|
1790
|
-
return Xn;
|
|
1790
|
+
function K(e) {
|
|
1791
|
+
var t = sr[e];
|
|
1792
|
+
return t || z(18, e), t;
|
|
1791
1793
|
}
|
|
1792
1794
|
function Nn(e, t) {
|
|
1793
|
-
|
|
1795
|
+
sr[e] || (sr[e] = t);
|
|
1794
1796
|
}
|
|
1795
|
-
function Pn(
|
|
1796
|
-
|
|
1797
|
+
function Pn() {
|
|
1798
|
+
return Qn;
|
|
1797
1799
|
}
|
|
1798
|
-
function Fn(e) {
|
|
1799
|
-
|
|
1800
|
+
function Fn(e, t) {
|
|
1801
|
+
t && (K("Patches"), e.u = [], e.s = [], e.v = t);
|
|
1800
1802
|
}
|
|
1801
1803
|
function In(e) {
|
|
1802
|
-
|
|
1804
|
+
Ln(e), e.p.forEach(zn), e.p = null;
|
|
1805
|
+
}
|
|
1806
|
+
function Ln(e) {
|
|
1807
|
+
e === Qn && (Qn = e.l);
|
|
1808
|
+
}
|
|
1809
|
+
function Rn(e) {
|
|
1810
|
+
return Qn = {
|
|
1803
1811
|
p: [],
|
|
1804
|
-
l:
|
|
1812
|
+
l: Qn,
|
|
1805
1813
|
h: e,
|
|
1806
1814
|
m: !0,
|
|
1807
1815
|
_: 0
|
|
1808
1816
|
};
|
|
1809
1817
|
}
|
|
1810
|
-
function
|
|
1811
|
-
var t = e[
|
|
1818
|
+
function zn(e) {
|
|
1819
|
+
var t = e[J];
|
|
1812
1820
|
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
1813
1821
|
}
|
|
1814
|
-
function
|
|
1822
|
+
function Bn(e, t) {
|
|
1815
1823
|
t._ = t.p.length;
|
|
1816
1824
|
var n = t.p[0], r = e !== void 0 && e !== n;
|
|
1817
|
-
return t.h.O ||
|
|
1825
|
+
return t.h.O || K("ES5").S(t, e, r), r ? (n[J].P && (In(t), z(4)), V(e) && (e = Vn(t, e), t.l || Un(t, e)), t.u && K("Patches").M(n[J].t, e, t.u, t.s)) : e = Vn(t, n, []), In(t), t.u && t.v(t.u, t.s), e === rr ? void 0 : e;
|
|
1818
1826
|
}
|
|
1819
|
-
function
|
|
1820
|
-
if (
|
|
1821
|
-
var r = t[
|
|
1822
|
-
if (!r) return
|
|
1823
|
-
return
|
|
1827
|
+
function Vn(e, t, n) {
|
|
1828
|
+
if (Mn(t)) return t;
|
|
1829
|
+
var r = t[J];
|
|
1830
|
+
if (!r) return H(t, (function(i, a) {
|
|
1831
|
+
return Hn(e, r, t, i, a, n);
|
|
1824
1832
|
}), !0), t;
|
|
1825
1833
|
if (r.A !== e) return t;
|
|
1826
|
-
if (!r.P) return
|
|
1834
|
+
if (!r.P) return Un(e, r.t, !0), r.t;
|
|
1827
1835
|
if (!r.I) {
|
|
1828
1836
|
r.I = !0, r.A._--;
|
|
1829
|
-
var i = r.i === 4 || r.i === 5 ? r.o =
|
|
1830
|
-
r.i === 3 && (a = new Set(i), i.clear(), o = !0),
|
|
1831
|
-
return
|
|
1832
|
-
})),
|
|
1837
|
+
var i = r.i === 4 || r.i === 5 ? r.o = kn(r.k) : r.o, a = i, o = !1;
|
|
1838
|
+
r.i === 3 && (a = new Set(i), i.clear(), o = !0), H(a, (function(t, a) {
|
|
1839
|
+
return Hn(e, r, i, t, a, n, o);
|
|
1840
|
+
})), Un(e, i, !1), n && e.u && K("Patches").N(r, n, e.u, e.s);
|
|
1833
1841
|
}
|
|
1834
1842
|
return r.o;
|
|
1835
1843
|
}
|
|
1836
|
-
function
|
|
1837
|
-
if (
|
|
1838
|
-
var s =
|
|
1839
|
-
if (
|
|
1844
|
+
function Hn(e, t, n, r, i, a, o) {
|
|
1845
|
+
if (B(i)) {
|
|
1846
|
+
var s = Vn(e, i, a && t && t.i !== 3 && !W(t.R, r) ? a.concat(r) : void 0);
|
|
1847
|
+
if (Tn(n, r, s), !B(s)) return;
|
|
1840
1848
|
e.m = !1;
|
|
1841
1849
|
} else o && n.add(i);
|
|
1842
|
-
if (
|
|
1850
|
+
if (V(i) && !Mn(i)) {
|
|
1843
1851
|
if (!e.h.D && e._ < 1) return;
|
|
1844
|
-
|
|
1852
|
+
Vn(e, i), t && t.A.l || Un(e, i);
|
|
1845
1853
|
}
|
|
1846
1854
|
}
|
|
1847
|
-
function
|
|
1848
|
-
n === void 0 && (n = !1), !e.l && e.h.D && e.m &&
|
|
1855
|
+
function Un(e, t, n) {
|
|
1856
|
+
n === void 0 && (n = !1), !e.l && e.h.D && e.m && An(t, n);
|
|
1849
1857
|
}
|
|
1850
|
-
function
|
|
1851
|
-
var n = e[
|
|
1852
|
-
return (n ?
|
|
1858
|
+
function Wn(e, t) {
|
|
1859
|
+
var n = e[J];
|
|
1860
|
+
return (n ? G(n) : e)[t];
|
|
1853
1861
|
}
|
|
1854
|
-
function
|
|
1862
|
+
function Gn(e, t) {
|
|
1855
1863
|
if (t in e) for (var n = Object.getPrototypeOf(e); n;) {
|
|
1856
1864
|
var r = Object.getOwnPropertyDescriptor(n, t);
|
|
1857
1865
|
if (r) return r;
|
|
1858
1866
|
n = Object.getPrototypeOf(n);
|
|
1859
1867
|
}
|
|
1860
1868
|
}
|
|
1861
|
-
function
|
|
1862
|
-
e.P || (e.P = !0, e.l &&
|
|
1869
|
+
function q(e) {
|
|
1870
|
+
e.P || (e.P = !0, e.l && q(e.l));
|
|
1863
1871
|
}
|
|
1864
|
-
function
|
|
1865
|
-
e.o ||=
|
|
1872
|
+
function Kn(e) {
|
|
1873
|
+
e.o ||= kn(e.t);
|
|
1866
1874
|
}
|
|
1867
|
-
function
|
|
1868
|
-
var r =
|
|
1875
|
+
function qn(e, t, n) {
|
|
1876
|
+
var r = Dn(t) ? K("MapSet").F(t, n) : On(t) ? K("MapSet").T(t, n) : e.O ? function(e, t) {
|
|
1869
1877
|
var n = Array.isArray(e), r = {
|
|
1870
1878
|
i: +!!n,
|
|
1871
|
-
A: t ? t.A :
|
|
1879
|
+
A: t ? t.A : Pn(),
|
|
1872
1880
|
P: !1,
|
|
1873
1881
|
I: !1,
|
|
1874
1882
|
R: {},
|
|
@@ -1878,72 +1886,72 @@ function Gn(e, t, n) {
|
|
|
1878
1886
|
o: null,
|
|
1879
1887
|
j: null,
|
|
1880
1888
|
C: !1
|
|
1881
|
-
}, i = r, a =
|
|
1882
|
-
n && (i = [r], a =
|
|
1889
|
+
}, i = r, a = cr;
|
|
1890
|
+
n && (i = [r], a = lr);
|
|
1883
1891
|
var o = Proxy.revocable(i, a), s = o.revoke, c = o.proxy;
|
|
1884
1892
|
return r.k = c, r.j = s, c;
|
|
1885
|
-
}(t, n) :
|
|
1886
|
-
return (n ? n.A :
|
|
1893
|
+
}(t, n) : K("ES5").J(t, n);
|
|
1894
|
+
return (n ? n.A : Pn()).p.push(r), r;
|
|
1887
1895
|
}
|
|
1888
|
-
function
|
|
1889
|
-
return
|
|
1890
|
-
if (!
|
|
1891
|
-
var n, r = t[
|
|
1896
|
+
function Jn(e) {
|
|
1897
|
+
return B(e) || z(22, e), function e(t) {
|
|
1898
|
+
if (!V(t)) return t;
|
|
1899
|
+
var n, r = t[J], i = U(t);
|
|
1892
1900
|
if (r) {
|
|
1893
|
-
if (!r.P && (r.i < 4 || !
|
|
1894
|
-
r.I = !0, n =
|
|
1895
|
-
} else n =
|
|
1896
|
-
return
|
|
1897
|
-
r &&
|
|
1901
|
+
if (!r.P && (r.i < 4 || !K("ES5").K(r))) return r.t;
|
|
1902
|
+
r.I = !0, n = Yn(t, i), r.I = !1;
|
|
1903
|
+
} else n = Yn(t, i);
|
|
1904
|
+
return H(n, (function(t, i) {
|
|
1905
|
+
r && wn(r.t, t) === i || Tn(n, t, e(i));
|
|
1898
1906
|
})), i === 3 ? new Set(n) : n;
|
|
1899
1907
|
}(e);
|
|
1900
1908
|
}
|
|
1901
|
-
function
|
|
1909
|
+
function Yn(e, t) {
|
|
1902
1910
|
switch (t) {
|
|
1903
1911
|
case 2: return new Map(e);
|
|
1904
1912
|
case 3: return Array.from(e);
|
|
1905
1913
|
}
|
|
1906
|
-
return
|
|
1914
|
+
return kn(e);
|
|
1907
1915
|
}
|
|
1908
|
-
function
|
|
1916
|
+
function Xn() {
|
|
1909
1917
|
function e(e, t) {
|
|
1910
1918
|
var n = i[e];
|
|
1911
1919
|
return n ? n.enumerable = t : i[e] = n = {
|
|
1912
1920
|
configurable: !0,
|
|
1913
1921
|
enumerable: t,
|
|
1914
1922
|
get: function() {
|
|
1915
|
-
var t = this[
|
|
1916
|
-
return
|
|
1923
|
+
var t = this[J];
|
|
1924
|
+
return cr.get(t, e);
|
|
1917
1925
|
},
|
|
1918
1926
|
set: function(t) {
|
|
1919
|
-
var n = this[
|
|
1920
|
-
|
|
1927
|
+
var n = this[J];
|
|
1928
|
+
cr.set(n, e, t);
|
|
1921
1929
|
}
|
|
1922
1930
|
}, n;
|
|
1923
1931
|
}
|
|
1924
1932
|
function t(e) {
|
|
1925
1933
|
for (var t = e.length - 1; t >= 0; t--) {
|
|
1926
|
-
var i = e[t][
|
|
1934
|
+
var i = e[t][J];
|
|
1927
1935
|
if (!i.P) switch (i.i) {
|
|
1928
1936
|
case 5:
|
|
1929
|
-
r(i) &&
|
|
1937
|
+
r(i) && q(i);
|
|
1930
1938
|
break;
|
|
1931
|
-
case 4: n(i) &&
|
|
1939
|
+
case 4: n(i) && q(i);
|
|
1932
1940
|
}
|
|
1933
1941
|
}
|
|
1934
1942
|
}
|
|
1935
1943
|
function n(e) {
|
|
1936
|
-
for (var t = e.t, n = e.k, r =
|
|
1944
|
+
for (var t = e.t, n = e.k, r = Y(n), i = r.length - 1; i >= 0; i--) {
|
|
1937
1945
|
var a = r[i];
|
|
1938
|
-
if (a !==
|
|
1946
|
+
if (a !== J) {
|
|
1939
1947
|
var o = t[a];
|
|
1940
|
-
if (o === void 0 && !
|
|
1941
|
-
var s = n[a], c = s && s[
|
|
1942
|
-
if (c ? c.t !== o : !
|
|
1948
|
+
if (o === void 0 && !W(t, a)) return !0;
|
|
1949
|
+
var s = n[a], c = s && s[J];
|
|
1950
|
+
if (c ? c.t !== o : !En(s, o)) return !0;
|
|
1943
1951
|
}
|
|
1944
1952
|
}
|
|
1945
|
-
var l = !!t[
|
|
1946
|
-
return r.length !==
|
|
1953
|
+
var l = !!t[J];
|
|
1954
|
+
return r.length !== Y(t).length + +!l;
|
|
1947
1955
|
}
|
|
1948
1956
|
function r(e) {
|
|
1949
1957
|
var t = e.k;
|
|
@@ -1954,23 +1962,23 @@ function Jn() {
|
|
|
1954
1962
|
return !1;
|
|
1955
1963
|
}
|
|
1956
1964
|
var i = {};
|
|
1957
|
-
|
|
1965
|
+
Nn("ES5", {
|
|
1958
1966
|
J: function(t, n) {
|
|
1959
1967
|
var r = Array.isArray(t), i = function(t, n) {
|
|
1960
1968
|
if (t) {
|
|
1961
1969
|
for (var r = Array(n.length), i = 0; i < n.length; i++) Object.defineProperty(r, "" + i, e(i, !0));
|
|
1962
1970
|
return r;
|
|
1963
1971
|
}
|
|
1964
|
-
var a =
|
|
1965
|
-
delete a[
|
|
1966
|
-
for (var o =
|
|
1972
|
+
var a = or(n);
|
|
1973
|
+
delete a[J];
|
|
1974
|
+
for (var o = Y(a), s = 0; s < o.length; s++) {
|
|
1967
1975
|
var c = o[s];
|
|
1968
1976
|
a[c] = e(c, t || !!a[c].enumerable);
|
|
1969
1977
|
}
|
|
1970
1978
|
return Object.create(Object.getPrototypeOf(n), a);
|
|
1971
1979
|
}(r, t), a = {
|
|
1972
1980
|
i: r ? 5 : 4,
|
|
1973
|
-
A: n ? n.A :
|
|
1981
|
+
A: n ? n.A : Pn(),
|
|
1974
1982
|
P: !1,
|
|
1975
1983
|
I: !1,
|
|
1976
1984
|
R: {},
|
|
@@ -1981,24 +1989,24 @@ function Jn() {
|
|
|
1981
1989
|
g: !1,
|
|
1982
1990
|
C: !1
|
|
1983
1991
|
};
|
|
1984
|
-
return Object.defineProperty(i,
|
|
1992
|
+
return Object.defineProperty(i, J, {
|
|
1985
1993
|
value: a,
|
|
1986
1994
|
writable: !0
|
|
1987
1995
|
}), i;
|
|
1988
1996
|
},
|
|
1989
1997
|
S: function(e, n, i) {
|
|
1990
|
-
i ?
|
|
1998
|
+
i ? B(n) && n[J].A === e && t(e.p) : (e.u && function e(t) {
|
|
1991
1999
|
if (t && typeof t == "object") {
|
|
1992
|
-
var n = t[
|
|
2000
|
+
var n = t[J];
|
|
1993
2001
|
if (n) {
|
|
1994
2002
|
var i = n.t, a = n.k, o = n.R, s = n.i;
|
|
1995
|
-
if (s === 4)
|
|
1996
|
-
t !==
|
|
1997
|
-
})),
|
|
1998
|
-
a[e] !== void 0 ||
|
|
2003
|
+
if (s === 4) H(a, (function(t) {
|
|
2004
|
+
t !== J && (i[t] !== void 0 || W(i, t) ? o[t] || e(a[t]) : (o[t] = !0, q(n)));
|
|
2005
|
+
})), H(i, (function(e) {
|
|
2006
|
+
a[e] !== void 0 || W(a, e) || (o[e] = !1, q(n));
|
|
1999
2007
|
}));
|
|
2000
2008
|
else if (s === 5) {
|
|
2001
|
-
if (r(n) && (
|
|
2009
|
+
if (r(n) && (q(n), o.length = !0), a.length < i.length) for (var c = a.length; c < i.length; c++) o[c] = !1;
|
|
2002
2010
|
else for (var l = i.length; l < a.length; l++) o[l] = !0;
|
|
2003
2011
|
for (var u = Math.min(a.length, i.length), d = 0; d < u; d++) a.hasOwnProperty(d) || (o[d] = !0), o[d] === void 0 && e(a[d]);
|
|
2004
2012
|
}
|
|
@@ -2011,46 +2019,46 @@ function Jn() {
|
|
|
2011
2019
|
}
|
|
2012
2020
|
});
|
|
2013
2021
|
}
|
|
2014
|
-
var
|
|
2022
|
+
var Zn, Qn, $n = typeof Symbol < "u" && typeof Symbol("x") == "symbol", er = typeof Map < "u", tr = typeof Set < "u", nr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", rr = $n ? Symbol.for("immer-nothing") : ((Zn = {})["immer-nothing"] = !0, Zn), ir = $n ? Symbol.for("immer-draftable") : "__$immer_draftable", J = $n ? Symbol.for("immer-state") : "__$immer_state", ar = "" + Object.prototype.constructor, Y = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols === void 0 ? Object.getOwnPropertyNames : function(e) {
|
|
2015
2023
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
2016
|
-
},
|
|
2024
|
+
}, or = Object.getOwnPropertyDescriptors || function(e) {
|
|
2017
2025
|
var t = {};
|
|
2018
|
-
return
|
|
2026
|
+
return Y(e).forEach((function(n) {
|
|
2019
2027
|
t[n] = Object.getOwnPropertyDescriptor(e, n);
|
|
2020
2028
|
})), t;
|
|
2021
|
-
},
|
|
2029
|
+
}, sr = {}, cr = {
|
|
2022
2030
|
get: function(e, t) {
|
|
2023
|
-
if (t ===
|
|
2024
|
-
var n =
|
|
2025
|
-
if (!
|
|
2026
|
-
var r =
|
|
2031
|
+
if (t === J) return e;
|
|
2032
|
+
var n = G(e);
|
|
2033
|
+
if (!W(n, t)) return function(e, t, n) {
|
|
2034
|
+
var r = Gn(t, n);
|
|
2027
2035
|
return r ? "value" in r ? r.value : r.get?.call(e.k) : void 0;
|
|
2028
2036
|
}(e, n, t);
|
|
2029
2037
|
var r = n[t];
|
|
2030
|
-
return e.I || !
|
|
2038
|
+
return e.I || !V(r) ? r : r === Wn(e.t, t) ? (Kn(e), e.o[t] = qn(e.A.h, r, e)) : r;
|
|
2031
2039
|
},
|
|
2032
2040
|
has: function(e, t) {
|
|
2033
|
-
return t in
|
|
2041
|
+
return t in G(e);
|
|
2034
2042
|
},
|
|
2035
2043
|
ownKeys: function(e) {
|
|
2036
|
-
return Reflect.ownKeys(
|
|
2044
|
+
return Reflect.ownKeys(G(e));
|
|
2037
2045
|
},
|
|
2038
2046
|
set: function(e, t, n) {
|
|
2039
|
-
var r =
|
|
2047
|
+
var r = Gn(G(e), t);
|
|
2040
2048
|
if (r?.set) return r.set.call(e.k, n), !0;
|
|
2041
2049
|
if (!e.P) {
|
|
2042
|
-
var i =
|
|
2050
|
+
var i = Wn(G(e), t), a = i?.[J];
|
|
2043
2051
|
if (a && a.t === n) return e.o[t] = n, e.R[t] = !1, !0;
|
|
2044
|
-
if (
|
|
2045
|
-
|
|
2052
|
+
if (En(n, i) && (n !== void 0 || W(e.t, t))) return !0;
|
|
2053
|
+
Kn(e), q(e);
|
|
2046
2054
|
}
|
|
2047
2055
|
return e.o[t] === n && (n !== void 0 || t in e.o) || Number.isNaN(n) && Number.isNaN(e.o[t]) || (e.o[t] = n, e.R[t] = !0), !0;
|
|
2048
2056
|
},
|
|
2049
2057
|
deleteProperty: function(e, t) {
|
|
2050
|
-
return
|
|
2058
|
+
return Wn(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, Kn(e), q(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
2051
2059
|
},
|
|
2052
2060
|
getOwnPropertyDescriptor: function(e, t) {
|
|
2053
|
-
var n =
|
|
2061
|
+
var n = G(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
2054
2062
|
return r && {
|
|
2055
2063
|
writable: !0,
|
|
2056
2064
|
configurable: e.i !== 1 || t !== "length",
|
|
@@ -2059,28 +2067,28 @@ var Yn, Xn, Zn = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Qn = typ
|
|
|
2059
2067
|
};
|
|
2060
2068
|
},
|
|
2061
2069
|
defineProperty: function() {
|
|
2062
|
-
|
|
2070
|
+
z(11);
|
|
2063
2071
|
},
|
|
2064
2072
|
getPrototypeOf: function(e) {
|
|
2065
2073
|
return Object.getPrototypeOf(e.t);
|
|
2066
2074
|
},
|
|
2067
2075
|
setPrototypeOf: function() {
|
|
2068
|
-
|
|
2076
|
+
z(12);
|
|
2069
2077
|
}
|
|
2070
|
-
},
|
|
2071
|
-
|
|
2072
|
-
|
|
2078
|
+
}, lr = {};
|
|
2079
|
+
H(cr, (function(e, t) {
|
|
2080
|
+
lr[e] = function() {
|
|
2073
2081
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
2074
2082
|
};
|
|
2075
|
-
})),
|
|
2076
|
-
return
|
|
2077
|
-
},
|
|
2078
|
-
return
|
|
2083
|
+
})), lr.deleteProperty = function(e, t) {
|
|
2084
|
+
return lr.set.call(this, e, t, void 0);
|
|
2085
|
+
}, lr.set = function(e, t, n) {
|
|
2086
|
+
return cr.set.call(this, e[0], t, n, e[0]);
|
|
2079
2087
|
};
|
|
2080
|
-
var
|
|
2088
|
+
var X = new (function() {
|
|
2081
2089
|
function e(e) {
|
|
2082
2090
|
var t = this;
|
|
2083
|
-
this.O =
|
|
2091
|
+
this.O = nr, this.D = !0, this.produce = function(e, n, r) {
|
|
2084
2092
|
if (typeof e == "function" && typeof n != "function") {
|
|
2085
2093
|
var i = n;
|
|
2086
2094
|
n = e;
|
|
@@ -2096,27 +2104,27 @@ var Z = new (function() {
|
|
|
2096
2104
|
};
|
|
2097
2105
|
}
|
|
2098
2106
|
var o;
|
|
2099
|
-
if (typeof n != "function" &&
|
|
2100
|
-
var s =
|
|
2107
|
+
if (typeof n != "function" && z(6), r !== void 0 && typeof r != "function" && z(7), V(e)) {
|
|
2108
|
+
var s = Rn(t), c = qn(t, e, void 0), l = !0;
|
|
2101
2109
|
try {
|
|
2102
2110
|
o = n(c), l = !1;
|
|
2103
2111
|
} finally {
|
|
2104
|
-
l ?
|
|
2112
|
+
l ? In(s) : Ln(s);
|
|
2105
2113
|
}
|
|
2106
2114
|
return typeof Promise < "u" && o instanceof Promise ? o.then((function(e) {
|
|
2107
|
-
return
|
|
2115
|
+
return Fn(s, r), Bn(e, s);
|
|
2108
2116
|
}), (function(e) {
|
|
2109
|
-
throw
|
|
2110
|
-
})) : (
|
|
2117
|
+
throw In(s), e;
|
|
2118
|
+
})) : (Fn(s, r), Bn(o, s));
|
|
2111
2119
|
}
|
|
2112
2120
|
if (!e || typeof e != "object") {
|
|
2113
|
-
if ((o = n(e)) === void 0 && (o = e), o ===
|
|
2121
|
+
if ((o = n(e)) === void 0 && (o = e), o === rr && (o = void 0), t.D && An(o, !0), r) {
|
|
2114
2122
|
var u = [], d = [];
|
|
2115
|
-
|
|
2123
|
+
K("Patches").M(e, o, u, d), r(u, d);
|
|
2116
2124
|
}
|
|
2117
2125
|
return o;
|
|
2118
2126
|
}
|
|
2119
|
-
|
|
2127
|
+
z(21, e);
|
|
2120
2128
|
}, this.produceWithPatches = function(e, n) {
|
|
2121
2129
|
if (typeof e == "function") return function(n) {
|
|
2122
2130
|
var r = [...arguments].slice(1);
|
|
@@ -2142,16 +2150,16 @@ var Z = new (function() {
|
|
|
2142
2150
|
}
|
|
2143
2151
|
var t = e.prototype;
|
|
2144
2152
|
return t.createDraft = function(e) {
|
|
2145
|
-
|
|
2146
|
-
var t =
|
|
2147
|
-
return n[
|
|
2153
|
+
V(e) || z(8), B(e) && (e = Jn(e));
|
|
2154
|
+
var t = Rn(this), n = qn(this, e, void 0);
|
|
2155
|
+
return n[J].C = !0, Ln(t), n;
|
|
2148
2156
|
}, t.finishDraft = function(e, t) {
|
|
2149
|
-
var n = (e && e[
|
|
2150
|
-
return
|
|
2157
|
+
var n = (e && e[J]).A;
|
|
2158
|
+
return Fn(n, t), Bn(void 0, n);
|
|
2151
2159
|
}, t.setAutoFreeze = function(e) {
|
|
2152
2160
|
this.D = e;
|
|
2153
2161
|
}, t.setUseProxies = function(e) {
|
|
2154
|
-
e && !
|
|
2162
|
+
e && !nr && z(20), this.O = e;
|
|
2155
2163
|
}, t.applyPatches = function(e, t) {
|
|
2156
2164
|
var n;
|
|
2157
2165
|
for (n = t.length - 1; n >= 0; n--) {
|
|
@@ -2162,23 +2170,23 @@ var Z = new (function() {
|
|
|
2162
2170
|
}
|
|
2163
2171
|
}
|
|
2164
2172
|
n > -1 && (t = t.slice(n + 1));
|
|
2165
|
-
var i =
|
|
2166
|
-
return
|
|
2173
|
+
var i = K("Patches").$;
|
|
2174
|
+
return B(e) ? i(e, t) : this.produce(e, (function(e) {
|
|
2167
2175
|
return i(e, t);
|
|
2168
2176
|
}));
|
|
2169
2177
|
}, e;
|
|
2170
|
-
}())(),
|
|
2171
|
-
|
|
2178
|
+
}())(), ur = X.produce;
|
|
2179
|
+
X.produceWithPatches.bind(X), X.setAutoFreeze.bind(X), X.setUseProxies.bind(X), X.applyPatches.bind(X), X.createDraft.bind(X), X.finishDraft.bind(X);
|
|
2172
2180
|
//#endregion
|
|
2173
2181
|
//#region src/lib/utils/arrays.ts
|
|
2174
|
-
function
|
|
2182
|
+
function dr(e) {
|
|
2175
2183
|
return e.sort().filter((e, t, n) => !t || e !== n[t - 1]);
|
|
2176
2184
|
}
|
|
2177
|
-
var
|
|
2185
|
+
var fr = (e, t) => e < t ? -1 : +(e > t), pr = (e, t) => ur(e, (n) => {
|
|
2178
2186
|
if (!Array.isArray(n)) return e;
|
|
2179
2187
|
let r = n.indexOf(t, 0);
|
|
2180
2188
|
return r > -1 && n.splice(r, 1), n;
|
|
2181
|
-
}),
|
|
2189
|
+
}), mr = {
|
|
2182
2190
|
restApi: {
|
|
2183
2191
|
serviceUrl: "https://services.sheerid.com/",
|
|
2184
2192
|
resources: {
|
|
@@ -2233,7 +2241,7 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
2233
2241
|
verificationId: void 0,
|
|
2234
2242
|
externalUserId: void 0,
|
|
2235
2243
|
minimumOrganizationSearchLength: 1,
|
|
2236
|
-
httpRequestTimeout:
|
|
2244
|
+
httpRequestTimeout: He,
|
|
2237
2245
|
hideTestModeFlag: !1,
|
|
2238
2246
|
hideMilitaryFamilyAcceptableUploads: !1,
|
|
2239
2247
|
customFormFields: [],
|
|
@@ -2242,16 +2250,16 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
2242
2250
|
tryAgainAction: { type: "reset" },
|
|
2243
2251
|
_launchDarklyUserTargeting: !1,
|
|
2244
2252
|
_launchDarklyFlagCb: () => {}
|
|
2245
|
-
},
|
|
2246
|
-
let t =
|
|
2247
|
-
if (Object.prototype.hasOwnProperty.call(t, e)) return
|
|
2248
|
-
},
|
|
2249
|
-
|
|
2250
|
-
},
|
|
2253
|
+
}, Z = { ...mr }, Q = () => Z, hr = (e) => {
|
|
2254
|
+
let t = Q();
|
|
2255
|
+
if (Object.prototype.hasOwnProperty.call(t, e)) return Q()[e];
|
|
2256
|
+
}, gr = () => {
|
|
2257
|
+
Z = { ...mr };
|
|
2258
|
+
}, _r = (e) => {
|
|
2251
2259
|
try {
|
|
2252
2260
|
if (typeof e == "object") {
|
|
2253
2261
|
let t = Object.keys(e);
|
|
2254
|
-
|
|
2262
|
+
Zt(e.messagesWithLocale) && (t = pr(t, "messagesWithLocale")), Zt(e.messages) && (t = pr(t, "messages")), t.length > 0 && _n(fn.options, t.join(","));
|
|
2255
2263
|
}
|
|
2256
2264
|
} catch (e) {
|
|
2257
2265
|
n.error(e);
|
|
@@ -2262,25 +2270,25 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
2262
2270
|
} catch (e) {
|
|
2263
2271
|
console.error(e);
|
|
2264
2272
|
}
|
|
2265
|
-
|
|
2273
|
+
Z.logLevel = e.logLevel;
|
|
2266
2274
|
}
|
|
2267
2275
|
if (e.hasOwnProperty("restApi") && e.restApi.hasOwnProperty("serviceUrl")) {
|
|
2268
2276
|
let t = ge(e.restApi.serviceUrl);
|
|
2269
|
-
|
|
2277
|
+
Z.restApi.serviceUrl = t, n.info(`option "serviceUrl" set to ${Z.restApi.serviceUrl}`);
|
|
2270
2278
|
}
|
|
2271
|
-
if (e.hasOwnProperty("mockStep") && (ne(e[O]),
|
|
2272
|
-
...
|
|
2279
|
+
if (e.hasOwnProperty("mockStep") && (ne(e[O]), Z[O] = e[O], n.info(`option "${O}" set to ${Z[O]}`)), e.hasOwnProperty("mockPreviousStep") && (ne(e[O]), Z[Ne] = e[Ne], n.info(`option "${Ne}" set to ${Z[Ne]}`)), e.hasOwnProperty("mockSegment") && (Z[k] = e[k], n.info(`option "${k}" set to ${Z[k]}`)), e.hasOwnProperty("mockSubSegment") && (Z[Te] = e[Te], n.info(`option "${Te}" set to ${Z[Te]}`)), e.hasOwnProperty("mockErrorId") && (Z[Ee] = e[Ee], n.info(`option "${Ee}" set to ${Z[Ee]}`)), e.hasOwnProperty("mockErrorDetailId") && (Z[De] = e[De], n.info(`option "${De}" set to ${Z[De]}`)), e.hasOwnProperty("mockCaptchaState") && (Z[A] = e[A], n.info(`option "${A}" set to ${Z[A]}`)), e.hasOwnProperty("mockRewardCode") && (Z[Oe] = e[Oe], n.info(`option "${Oe}" set to ${Z[Oe]}`)), e.hasOwnProperty("mockRedirectUrl") && (Z[ke] = e[ke], n.info(`option "${ke}" set to ${Z[ke]}`)), e.hasOwnProperty("mockConsumerInfoState") && (ne(e[O]), Z[Ae] = e[Ae], n.info(`option "${Ae}" set to ${Z[Ae]}`)), e.hasOwnProperty("mockIdCheckLoopServiceType") && (Z[je] = e[je], n.info(`option "${je}" set to ${Z[je]}`)), e.hasOwnProperty("installPageUrl") && (Z[Ie] = e[Ie], n.info(`option "${Ie}" set to ${Z[Ie]}`)), e.hasOwnProperty("mockDocSelected") && (Z[Me] = e[Me], n.info(`option "${Me}" set to ${Z[Me]}`)), e.hasOwnProperty("mockResponse") && (Z.mockResponse = Qt(e.mockResponse), n.info("option \"mockResponse\" set to", Z.mockResponse)), e.hasOwnProperty("messages") && (Z.messagesWithLocale = {
|
|
2280
|
+
...Z.messagesWithLocale,
|
|
2273
2281
|
"en-US": e.messages
|
|
2274
|
-
}, n.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ",
|
|
2275
|
-
re(e.locale),
|
|
2282
|
+
}, n.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ", Z.messagesWithLocale, "\nThese messages will override existing messages of the same key for \"en-US\" locale.")), e.hasOwnProperty("messagesWithLocale") && (Z.messagesWithLocale = $t({}, Z.messagesWithLocale, e.messagesWithLocale), e && e.messagesWithLocale && i(Object.keys(e.messagesWithLocale)), sn(Z.messagesWithLocale), n.info("option \"messagesWithLocale\" set to", Z.messagesWithLocale)), e.hasOwnProperty("locale")) try {
|
|
2283
|
+
re(e.locale), Z.locale = e.locale, n.info(`option "locale" set to ${Z.locale}`);
|
|
2276
2284
|
} catch (e) {
|
|
2277
2285
|
n.error(e);
|
|
2278
2286
|
}
|
|
2279
|
-
e.hasOwnProperty("urlStudentFaq") && (
|
|
2280
|
-
...
|
|
2287
|
+
e.hasOwnProperty("urlStudentFaq") && (Z.urlStudentFaq = e.urlStudentFaq, n.info(`option "urlStudentFaq" set to ${Z.urlStudentFaq}`)), e.hasOwnProperty("urlSeniorFaq") && (Z.urlSeniorFaq = e.urlSeniorFaq, n.info(`option "urlSeniorFaq" set to ${Z.urlSeniorFaq}`)), e.hasOwnProperty("urlMilitaryFaq") && (Z.urlMilitaryFaq = e.urlMilitaryFaq, n.info(`option "urlMilitaryFaq" set to ${Z.urlMilitaryFaq}`)), e.hasOwnProperty("urlTeacherFaq") && (Z.urlTeacherFaq = e.urlTeacherFaq, n.info(`option "urlTeacherFaq" set to ${Z.urlTeacherFaq}`)), e.hasOwnProperty("urlMemberFaq") && (Z.urlMemberFaq = e.urlMemberFaq, n.info(`option "urlMemberFaq" set to ${Z.urlMemberFaq}`)), e.hasOwnProperty("urlMedicalFaq") && (Z.urlMedicalFaq = e.urlMedicalFaq, n.info(`option "urlMedicalFaq" set to ${Z.urlMedicalFaq}`)), e.hasOwnProperty("urlEmploymentFaq") && (Z.urlEmploymentFaq = e.urlEmploymentFaq, n.info(`option "urlEmploymentFaq" set to ${Z.urlEmploymentFaq}`)), e.hasOwnProperty("urlAddSchoolFaq") && (Z.urlAddSchoolFaq = e.urlAddSchoolFaq, n.info(`option "urlAddSchoolFaq" set to ${Z.urlAddSchoolFaq}`)), e.hasOwnProperty("urlAddSchoolForm") && (Z.urlAddSchoolForm = e.urlAddSchoolForm, n.info(`option "urlAddSchoolForm" set to ${Z.urlAddSchoolForm}`)), e.hasOwnProperty("doFetchTheme") && (Z.doFetchTheme = e.doFetchTheme, n.info(`option "doFetchTheme" set to ${Z.doFetchTheme}`)), e.hasOwnProperty("cookies") && (Z.cookies = {
|
|
2288
|
+
...Z.cookies,
|
|
2281
2289
|
...e.cookies
|
|
2282
|
-
}, n.info("option \"cookies\" set to",
|
|
2283
|
-
},
|
|
2290
|
+
}, n.info("option \"cookies\" set to", Z.cookies)), e.hasOwnProperty("useFingerprinting") && (Z.useFingerprinting = e.useFingerprinting, n.info("option \"useFingerprinting\" set to", Z.useFingerprinting)), e.hasOwnProperty("marketConsent") && (Z.marketConsent = e.marketConsent, n.info("option \"market consent\" set to", Z.marketConsent)), e.hasOwnProperty("verificationId") && (Z.verificationId = e.verificationId, n.info("option \"verificationId\" set to", Z.verificationId)), e.hasOwnProperty("externalUserId") && (Z.externalUserId = e.externalUserId, n.info("option \"externalUserId\" set to", Z.externalUserId)), e.hasOwnProperty("minimumOrganizationSearchLength") && (Z.minimumOrganizationSearchLength = e.minimumOrganizationSearchLength, n.info("option \"minimumOrganizationSearchLength\" set to", Z.minimumOrganizationSearchLength)), e.hasOwnProperty("customCss") && (Z.customCss = e.customCss, n.info("option \"customCss\" set to", Z.customCss)), e.hasOwnProperty("logoUrl") && (Z.logoUrl = e.logoUrl, n.info("option \"logoUrl\" set to", Z.logoUrl)), e.hasOwnProperty("httpRequestTimeout") && (Z.httpRequestTimeout = e.httpRequestTimeout, n.info("option \"httpRequestTimeout\" set to", Z.httpRequestTimeout)), e.hasOwnProperty("privacyPolicyUrl") && (Z.privacyPolicyUrl = e.privacyPolicyUrl, n.info("option \"privacyPolicyUrl\" set to", Z.privacyPolicyUrl)), (e.hasOwnProperty("hideTestModeFlag") || ve("hideTestModeFlag")) && (Z.hideTestModeFlag = e.hideTestModeFlag || ve("hideTestModeFlag") === "true", n.info("option \"hideTestModeFlag\" set to", Z.hideTestModeFlag)), e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads") && (Z.hideMilitaryFamilyAcceptableUploads = e.hideMilitaryFamilyAcceptableUploads, n.info("option \"hideMilitaryFamilyAcceptableUploads\" set to", Z.hideMilitaryFamilyAcceptableUploads)), e.hasOwnProperty("customFormFields") && (Z.customFormFields = e.customFormFields, n.info("option \"customFormFields\" set to", Z.customFormFields)), e.hasOwnProperty("formFieldConfig") && (Z.formFieldConfig = e.formFieldConfig, n.info("option \"formFieldConfig\" set to", Z.formFieldConfig)), e.hasOwnProperty("customMetadata") && (Z.customMetadata = e.customMetadata, n.info("option \"customMetadata\" set to", Z.customMetadata)), e.hasOwnProperty("renderAs") && (Z.renderAs = e.renderAs, n.info("option \"renderAs\" set to", Z.renderAs)), Object.prototype.hasOwnProperty.call(e, "tryAgainAction") && (Z.tryAgainAction = e.tryAgainAction, n.info("option \"tryAgainAction\" set to", Z.tryAgainAction)), e.hasOwnProperty("_launchDarklyUserTargeting") && (Z._launchDarklyUserTargeting = e._launchDarklyUserTargeting, n.info("option \"_launchDarklyUserTargeting\" set to", Z._launchDarklyUserTargeting)), e.hasOwnProperty("_launchDarklyFlagCb") && (Z._launchDarklyFlagCb = e._launchDarklyFlagCb, n.info("option \"_launchDarklyFlagCb\" set to", Z._launchDarklyFlagCb));
|
|
2291
|
+
}, vr = {
|
|
2284
2292
|
"defaultMessages.ACTIVE_DUTY": "Active Duty",
|
|
2285
2293
|
"defaultMessages.ARCHITECT": "Architect",
|
|
2286
2294
|
"defaultMessages.CHILD_CARE_WORKER": "Child Care Worker",
|
|
@@ -3432,11 +3440,11 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
3432
3440
|
"defaultMessages.step.docUpload.uploadInfo.issueDate": "An issue date within the last 90 days",
|
|
3433
3441
|
"defaultMessages.step.docUpload.uploadInfo.enrollmentProof": "Proof of <strong>current enrollment</strong>, shown by one of the following:",
|
|
3434
3442
|
"defaultMessages.contactSupport": "If you believe you're eligible, see our <faqLink>help center</faqLink> or <feedbackFormLink>contact SheerID support</feedbackFormLink>"
|
|
3435
|
-
},
|
|
3443
|
+
}, $ = /* @__PURE__ */ b(x(), 1), yr = /* @__PURE__ */ new Map(), br = (e) => {
|
|
3436
3444
|
let t = Object.keys(e).reduce((t, n) => (e[n] && (t[n] = e[n]), t), {});
|
|
3437
|
-
return
|
|
3438
|
-
},
|
|
3439
|
-
if (
|
|
3445
|
+
return $.flatten.unflatten(t);
|
|
3446
|
+
}, xr = async (e) => {
|
|
3447
|
+
if (yr.has(e)) return yr.get(e);
|
|
3440
3448
|
let t = (async () => {
|
|
3441
3449
|
let t;
|
|
3442
3450
|
switch (e) {
|
|
@@ -3489,7 +3497,7 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
3489
3497
|
).then((e) => e.default);
|
|
3490
3498
|
break;
|
|
3491
3499
|
case "en-US":
|
|
3492
|
-
t =
|
|
3500
|
+
t = vr;
|
|
3493
3501
|
break;
|
|
3494
3502
|
case "es-ES":
|
|
3495
3503
|
t = await import(
|
|
@@ -3761,32 +3769,32 @@ var ur = (e, t) => e < t ? -1 : +(e > t), dr = (e, t) => cr(e, (n) => {
|
|
|
3761
3769
|
"./zu-DPhgIh1z.js"
|
|
3762
3770
|
).then((e) => e.default);
|
|
3763
3771
|
break;
|
|
3764
|
-
default: n.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t =
|
|
3772
|
+
default: n.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t = vr;
|
|
3765
3773
|
}
|
|
3766
|
-
return
|
|
3774
|
+
return br(t);
|
|
3767
3775
|
})();
|
|
3768
|
-
return
|
|
3769
|
-
},
|
|
3770
|
-
let t = (0,
|
|
3776
|
+
return yr.set(e, t), t;
|
|
3777
|
+
}, Sr = (e) => {
|
|
3778
|
+
let t = (0, $.flatten)(e), n = {};
|
|
3771
3779
|
return Object.keys(t).forEach((e) => {
|
|
3772
3780
|
typeof t[e] == "string" && (n[e] = t[e]);
|
|
3773
3781
|
}), n;
|
|
3774
|
-
},
|
|
3782
|
+
}, Cr = (e) => {
|
|
3775
3783
|
let t = {};
|
|
3776
|
-
return
|
|
3777
|
-
},
|
|
3784
|
+
return Q().messagesWithLocale[e] && (t = Q().messagesWithLocale[e]), t;
|
|
3785
|
+
}, wr = (e) => e === "iw" ? "he" : e, Tr = async (e, t, r) => {
|
|
3778
3786
|
let i = e;
|
|
3779
3787
|
ie(i) || (n.error(`Invalid locale ${i}, falling back to ${D} for the verification form`, "Invalid locale"), i = D);
|
|
3780
|
-
let a = await
|
|
3781
|
-
return Object.assign({}, d, o ? (0,
|
|
3782
|
-
},
|
|
3788
|
+
let a = await xr(i), o = a ? a.defaultMessages : {}, s = a && a.segmentMessages, c = r && s ? a.segmentMessages[r] : {}, l = Cr(i), u = t ? Sr(t) : {}, d = i === "en-US" ? {} : await Tr(D, t, r);
|
|
3789
|
+
return Object.assign({}, d, o ? (0, $.flatten)(o) : {}, c ? (0, $.flatten)(c) : {}, u, l ? (0, $.flatten)(l) : {});
|
|
3790
|
+
}, Er = (e, t) => {
|
|
3783
3791
|
function n() {
|
|
3784
3792
|
return _e(window.location.href).get("locale") || void 0;
|
|
3785
3793
|
}
|
|
3786
|
-
let r = S(() => e.localeChoice.value) || S(() => t.locale) ||
|
|
3794
|
+
let r = S(() => e.localeChoice.value) || S(() => t.locale) || Q().locale || n() || "en-US";
|
|
3787
3795
|
if (ie(r)) return r;
|
|
3788
3796
|
let i = r.substring(0, 2);
|
|
3789
3797
|
return ie(i) ? i : D;
|
|
3790
|
-
},
|
|
3798
|
+
}, Dr = (e) => e.replace("-", "_");
|
|
3791
3799
|
//#endregion
|
|
3792
|
-
export { Oe as $,
|
|
3800
|
+
export { Oe as $, $t as A, ze as B, bn as C, ee as Ct, cn as D, _ as Dt, sn as E, x as Et, I as F, Ee as G, A as H, Se as I, Ie as J, Re as K, Ce as L, Jt as M, Gt as N, on as O, v as Ot, Ht as P, Ae as Q, Ve as R, vn as S, E as St, R as T, S as Tt, Me as U, Ue as V, De as W, Ne as X, Le as Y, ke as Z, ln as _, oe as _t, Dr as a, Be as at, Sn as b, me as bt, gr as c, _e as ct, dr as d, xe as dt, k as et, Xn as f, se as ft, dn as g, re as gt, pn as h, ae as ht, wr as i, Pe as it, tn as j, Qt as k, b as kt, _r as l, be as lt, fn as m, ce as mt, Tr as n, O as nt, hr as o, we as ot, ur as p, de as pt, je as q, Cr as r, Te as rt, Q as s, ve as st, Er as t, Fe as tt, fr as u, ye as ut, xn as v, fe as vt, _n as w, T as wt, hn as x, he as xt, gn as y, te as yt, D as z };
|