@sheerid/jslib 2.272.0 → 2.273.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 +949 -939
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-BGFbAsvK.js +4 -4
- package/chunk/{AddressComponent-BLDI7tct.js → AddressComponent-DeQlodxe.js} +7 -7
- package/chunk/{AddressComponent-BLDI7tct.js.map → AddressComponent-DeQlodxe.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BRATyipQ.js → AnnouncingHeader-Ces-_Aei.js} +6 -6
- package/chunk/{AnnouncingHeader-BRATyipQ.js.map → AnnouncingHeader-Ces-_Aei.js.map} +1 -1
- package/chunk/AnnouncingHeader-D01_AW-Z.js +4 -4
- package/chunk/{ApiUrls-C95G_IDd.js → ApiUrls-BSpA-EvE.js} +15 -11
- package/chunk/ApiUrls-BSpA-EvE.js.map +1 -0
- package/chunk/{ApiUrls--XFHYK_y.js → ApiUrls-D2NBzsjd.js} +12 -10
- package/chunk/ApiUrls-D2NBzsjd.js.map +1 -0
- package/chunk/{BirthDateComponent-fvOK4oaB.js → BirthDateComponent-BtHq4Iif.js} +5 -5
- package/chunk/{BirthDateComponent-D_pIZKnS.js.map → BirthDateComponent-BtHq4Iif.js.map} +1 -1
- package/chunk/{BirthDateComponent-D_pIZKnS.js → BirthDateComponent-DrSpm0Qd.js} +8 -8
- package/chunk/{BirthDateComponent-fvOK4oaB.js.map → BirthDateComponent-DrSpm0Qd.js.map} +1 -1
- package/chunk/{CaptchaComponent-WxyecFik.js → CaptchaComponent-BG-8kESy.js} +89 -89
- package/chunk/{CaptchaComponent-D-Nz76Qg.js.map → CaptchaComponent-BG-8kESy.js.map} +1 -1
- package/chunk/{CaptchaComponent-D-Nz76Qg.js → CaptchaComponent-Bc1fHINu.js} +6 -6
- package/chunk/{CaptchaComponent-WxyecFik.js.map → CaptchaComponent-Bc1fHINu.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DJQZb54_.js → ChangeLocaleComponent-BGbETEkv.js} +5 -5
- package/chunk/{ChangeLocaleComponent-BlBc_jHa.js.map → ChangeLocaleComponent-BGbETEkv.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BlBc_jHa.js → ChangeLocaleComponent-CW99SZg6.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DJQZb54_.js.map → ChangeLocaleComponent-CW99SZg6.js.map} +1 -1
- package/chunk/City-BJB8URp9.js +4 -4
- package/chunk/{City-EIxs9ACD.js → City-C1CWD14n.js} +7 -7
- package/chunk/{City-EIxs9ACD.js.map → City-C1CWD14n.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CBt---A3.js → CollegeNameComponent-CgEhhfKb.js} +5 -5
- package/chunk/{CollegeNameComponent-C9EAsbzB.js.map → CollegeNameComponent-CgEhhfKb.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C9EAsbzB.js → CollegeNameComponent-_X8YrEiD.js} +9 -9
- package/chunk/{CollegeNameComponent-CBt---A3.js.map → CollegeNameComponent-_X8YrEiD.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-L-1toxiA.js → CopyToClipboardComponent-C4DDGwe8.js} +6 -6
- package/chunk/{CopyToClipboardComponent-L-1toxiA.js.map → CopyToClipboardComponent-C4DDGwe8.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-CWCaNcMS.js +4 -4
- package/chunk/{CountryComponentWrapper-LGUaAegT.js → CountryComponentWrapper-5NauYfPI.js} +5 -5
- package/chunk/{CountryComponentWrapper-Dc-JmygI.js.map → CountryComponentWrapper-5NauYfPI.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Dc-JmygI.js → CountryComponentWrapper-DIwD6bnY.js} +10 -10
- package/chunk/{CountryComponentWrapper-LGUaAegT.js.map → CountryComponentWrapper-DIwD6bnY.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CofeIk6F.js → DischargeDateComponent-BL8p4AAH.js} +7 -7
- package/chunk/{DischargeDateComponent-XQlaYCm3.js.map → DischargeDateComponent-BL8p4AAH.js.map} +1 -1
- package/chunk/{DischargeDateComponent-XQlaYCm3.js → DischargeDateComponent-CeJ1mFmV.js} +11 -11
- package/chunk/{DischargeDateComponent-CofeIk6F.js.map → DischargeDateComponent-CeJ1mFmV.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js → DriverLicenseNumberComponent-CFbngokf.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js.map → DriverLicenseNumberComponent-CFbngokf.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-Cfjxx2ik.js +4 -4
- package/chunk/EmailLoopPending-B4Fh096x.js +141 -0
- package/chunk/EmailLoopPending-B4Fh096x.js.map +1 -0
- package/chunk/EmailLoopPending-CGfAWhh1.js +137 -0
- package/chunk/EmailLoopPending-CGfAWhh1.js.map +1 -0
- package/chunk/{ExtraMessage-BWiMOnGY.js → ExtraMessage-BsiERsIi.js} +7 -7
- package/chunk/{ExtraMessage-2Q_abIAw.js.map → ExtraMessage-BsiERsIi.js.map} +1 -1
- package/chunk/{ExtraMessage-2Q_abIAw.js → ExtraMessage-HTrDGLg2.js} +5 -5
- package/chunk/{ExtraMessage-BWiMOnGY.js.map → ExtraMessage-HTrDGLg2.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js → FirstResponderOrganizationComponent-BIHryrkz.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js.map → FirstResponderOrganizationComponent-BIHryrkz.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js → FirstResponderOrganizationComponent-DxQ7b_E4.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js.map → FirstResponderOrganizationComponent-DxQ7b_E4.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BZAr3lul.js → FormFieldInputSelect-BZOrwRe2.js} +5 -5
- package/chunk/{FormFieldInputSelect-C8JRUmT0.js.map → FormFieldInputSelect-BZOrwRe2.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C8JRUmT0.js → FormFieldInputSelect-CwaMM3Sq.js} +7 -7
- package/chunk/{FormFieldInputSelect-BZAr3lul.js.map → FormFieldInputSelect-CwaMM3Sq.js.map} +1 -1
- package/chunk/{FormFieldLayout-CZyAbU7A.js → FormFieldLayout-BPBIL09f.js} +6 -6
- package/chunk/{FormFieldLayout-CZyAbU7A.js.map → FormFieldLayout-BPBIL09f.js.map} +1 -1
- package/chunk/FormFieldLayout-CuxYu2-h.js +4 -4
- package/chunk/{FormFieldText-hh7QLPOB.js → FormFieldText-BTWjkwwz.js} +7 -7
- package/chunk/{FormFieldText-hh7QLPOB.js.map → FormFieldText-BTWjkwwz.js.map} +1 -1
- package/chunk/FormFieldText-Qen7EAhG.js +4 -4
- package/chunk/{FormFieldTypeahead-BX2aRyXH.js → FormFieldTypeahead-D0x3JaT6.js} +15 -15
- package/chunk/{FormFieldTypeahead-BX2aRyXH.js.map → FormFieldTypeahead-D0x3JaT6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D_9PZ8-X.js → FormFieldTypeahead-DAtS-f0j.js} +7 -7
- package/chunk/{FormFieldTypeahead-D_9PZ8-X.js.map → FormFieldTypeahead-DAtS-f0j.js.map} +1 -1
- package/chunk/{FormFooterComponent-2At3EC6s.js → FormFooterComponent-1R8WNHYQ.js} +14 -14
- package/chunk/{FormFooterComponent-2At3EC6s.js.map → FormFooterComponent-1R8WNHYQ.js.map} +1 -1
- package/chunk/{FormFooterComponent-C_die6IY.js → FormFooterComponent-B8ugGLFu.js} +7 -7
- package/chunk/{FormFooterComponent-C_die6IY.js.map → FormFooterComponent-B8ugGLFu.js.map} +1 -1
- package/chunk/{FormSelectChoice-Bw2i04PW.js → FormSelectChoice-DNly6WMw.js} +8 -8
- package/chunk/{FormSelectChoice-Bw2i04PW.js.map → FormSelectChoice-DNly6WMw.js.map} +1 -1
- package/chunk/{FormSelectChoice-DaO1Ka0G.js → FormSelectChoice-U1Rhqazm.js} +5 -5
- package/chunk/{FormSelectChoice-DaO1Ka0G.js.map → FormSelectChoice-U1Rhqazm.js.map} +1 -1
- package/chunk/InputText-Bw9hR6-E.js +4 -4
- package/chunk/{InputText-DLjv31-v.js → InputText-C8Mt-ybW.js} +7 -7
- package/chunk/{InputText-DLjv31-v.js.map → InputText-C8Mt-ybW.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js → LicensedProfessionalOrganizationComponent-CX-kVW_-.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js.map → LicensedProfessionalOrganizationComponent-CX-kVW_-.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js → LicensedProfessionalOrganizationComponent-DmNTI3AC.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js.map → LicensedProfessionalOrganizationComponent-DmNTI3AC.js.map} +1 -1
- package/chunk/LogoComponent-BbW4WS1K.js +4 -4
- package/chunk/{LogoComponent-DwoLE9u6.js → LogoComponent-CRfZyj0K.js} +6 -6
- package/chunk/{LogoComponent-DwoLE9u6.js.map → LogoComponent-CRfZyj0K.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js → LowIncomeOrganizationComponent-BiHU-zNm.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js.map → LowIncomeOrganizationComponent-BiHU-zNm.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js → LowIncomeOrganizationComponent-Hth2rGlu.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js.map → LowIncomeOrganizationComponent-Hth2rGlu.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js → MedicalProfessionalOrganizationComponent-DcgIWx2N.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js.map → MedicalProfessionalOrganizationComponent-DcgIWx2N.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js → MedicalProfessionalOrganizationComponent-P2DcDMBc.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js.map → MedicalProfessionalOrganizationComponent-P2DcDMBc.js.map} +1 -1
- package/chunk/MemberIdComponent-CuflPh6q.js +4 -4
- package/chunk/{MemberIdComponent-B5k8k7Ri.js → MemberIdComponent-DbvTJcos.js} +7 -7
- package/chunk/{MemberIdComponent-B5k8k7Ri.js.map → MemberIdComponent-DbvTJcos.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js → MembershipOrganizationComponent-CVr_5zc3.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js.map → MembershipOrganizationComponent-CVr_5zc3.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js → MembershipOrganizationComponent-DntafM-o.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js.map → MembershipOrganizationComponent-DntafM-o.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js → PersonalInfoStepSubmitButton-C7QmpcVd.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js.map → PersonalInfoStepSubmitButton-C7QmpcVd.js.map} +1 -1
- package/chunk/PersonalInfoStepSubmitButton-D55ut5Yp.js +4 -4
- package/chunk/{PersonalInfoStepWrapper-DITCr11F.js → PersonalInfoStepWrapper-BvWqmplR.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-DITCr11F.js.map → PersonalInfoStepWrapper-BvWqmplR.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js → PersonalInfoStepWrapper-CZ9RvUM1.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js.map → PersonalInfoStepWrapper-CZ9RvUM1.js.map} +1 -1
- package/chunk/PostalCodeComponent-Bs9KyOzc.js +4 -4
- package/chunk/{PostalCodeComponent-D9AMJfw1.js → PostalCodeComponent-Cd3MQUvZ.js} +7 -7
- package/chunk/{PostalCodeComponent-D9AMJfw1.js.map → PostalCodeComponent-Cd3MQUvZ.js.map} +1 -1
- package/chunk/SSN-Bj9BhqVP.js +4 -4
- package/chunk/{SSN-U1aHmtP9.js → SSN-xvlX6KT5.js} +8 -8
- package/chunk/{SSN-U1aHmtP9.js.map → SSN-xvlX6KT5.js.map} +1 -1
- package/chunk/{StateSelectComponent-DHTKj5Wr.js → StateSelectComponent-DB-icJb4.js} +5 -5
- package/chunk/{StateSelectComponent-BHVGDHvm.js.map → StateSelectComponent-DB-icJb4.js.map} +1 -1
- package/chunk/{StateSelectComponent-BHVGDHvm.js → StateSelectComponent-HNquhK5M.js} +6 -6
- package/chunk/{StateSelectComponent-DHTKj5Wr.js.map → StateSelectComponent-HNquhK5M.js.map} +1 -1
- package/chunk/{StatusComponent-BB2vWFCb.js → StatusComponent-CbxiKW6N.js} +5 -5
- package/chunk/{StatusComponent-BB2vWFCb.js.map → StatusComponent-CbxiKW6N.js.map} +1 -1
- package/chunk/{StatusComponent-BIHaYuzH.js → StatusComponent-FCCzivNr.js} +8 -8
- package/chunk/{StatusComponent-BIHaYuzH.js.map → StatusComponent-FCCzivNr.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js → StepActiveMilitaryPersonalInfoComponent-80fdvKYN.js} +19 -19
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js.map → StepActiveMilitaryPersonalInfoComponent-80fdvKYN.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js → StepActiveMilitaryPersonalInfoComponent-B5It1LHf.js} +13 -13
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js.map → StepActiveMilitaryPersonalInfoComponent-B5It1LHf.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CqlMEv4L.js → StepAgePersonalInfo-D99jCwDW.js} +12 -12
- package/chunk/{StepAgePersonalInfo-DNgmilV6.js.map → StepAgePersonalInfo-D99jCwDW.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DNgmilV6.js → StepAgePersonalInfo-dGaBneRd.js} +19 -19
- package/chunk/{StepAgePersonalInfo-CqlMEv4L.js.map → StepAgePersonalInfo-dGaBneRd.js.map} +1 -1
- package/chunk/StepCard-CPjUPPj0.js +4 -4
- package/chunk/{StepCard-C_A_mMZ0.js → StepCard-CbZaVC-t.js} +5 -5
- package/chunk/{StepCard-C_A_mMZ0.js.map → StepCard-CbZaVC-t.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CeoBjs-4.js → StepCollectIdentifier-B1TMICO6.js} +5 -5
- package/chunk/{StepCollectIdentifier-CeoBjs-4.js.map → StepCollectIdentifier-B1TMICO6.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BCDtRblo.js → StepCollectIdentifier-DTJvarZx.js} +9 -9
- package/chunk/{StepCollectIdentifier-BCDtRblo.js.map → StepCollectIdentifier-DTJvarZx.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-DI0gV31g.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-Cmh7V4nS.js → StepCollectMilitaryStatusComponent-DnwYFCWA.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-B72pYr2M.js → StepCollectPersonalInfo-DpR-uelA.js} +20 -20
- package/chunk/{StepCollectPersonalInfo-B72pYr2M.js.map → StepCollectPersonalInfo-DpR-uelA.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js → StepCollectPersonalInfo-DpnPSRSb.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js.map → StepCollectPersonalInfo-DpnPSRSb.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_kMG5T4.js → StepCompleteAuthentication-AKjdo3J9.js} +63 -60
- package/chunk/{StepCompleteAuthentication-B_kMG5T4.js.map → StepCompleteAuthentication-AKjdo3J9.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-WNoY9V_A.js → StepCompleteAuthentication-DytIfFlB.js} +68 -65
- package/chunk/{StepCompleteAuthentication-WNoY9V_A.js.map → StepCompleteAuthentication-DytIfFlB.js.map} +1 -1
- package/chunk/StepConsolation-BXsey-Qa.js +106 -0
- package/chunk/StepConsolation-BXsey-Qa.js.map +1 -0
- package/chunk/StepConsolation-CU5th9Bj.js +102 -0
- package/chunk/StepConsolation-CU5th9Bj.js.map +1 -0
- package/chunk/{StepDocUpload-YUcB9r4W.js → StepDocUpload-DN9ZfWII.js} +13 -13
- package/chunk/{StepDocUpload-YUcB9r4W.js.map → StepDocUpload-DN9ZfWII.js.map} +1 -1
- package/chunk/{StepDocUpload-mqNa0ERD.js → StepDocUpload-DSoMUEzB.js} +5 -5
- package/chunk/{StepDocUpload-mqNa0ERD.js.map → StepDocUpload-DSoMUEzB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js → StepDriverLicensePersonalInfoComponent-DAzXiXpo.js} +10 -10
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js.map → StepDriverLicensePersonalInfoComponent-DAzXiXpo.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js → StepDriverLicensePersonalInfoComponent-k4-3JHQu.js} +16 -16
- package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js.map → StepDriverLicensePersonalInfoComponent-k4-3JHQu.js.map} +1 -1
- package/chunk/{StepEmailLoop-B8jULmEc.js → StepEmailLoop-CFCTUQ2H.js} +6 -6
- package/chunk/{StepEmailLoop-CPTtkURy.js.map → StepEmailLoop-CFCTUQ2H.js.map} +1 -1
- package/chunk/{StepEmailLoop-CPTtkURy.js → StepEmailLoop-D-HkcLYo.js} +13 -13
- package/chunk/{StepEmailLoop-B8jULmEc.js.map → StepEmailLoop-D-HkcLYo.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js → StepEmploymentPersonalInfo-BTsNHWZF.js} +11 -11
- package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js.map → StepEmploymentPersonalInfo-BTsNHWZF.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js → StepEmploymentPersonalInfo-Bana5lJJ.js} +19 -19
- package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js.map → StepEmploymentPersonalInfo-Bana5lJJ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js → StepFirstResponderPersonalInfo-0Wmk4K8o.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js.map → StepFirstResponderPersonalInfo-0Wmk4K8o.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js → StepFirstResponderPersonalInfo-E8DwIYDK.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js.map → StepFirstResponderPersonalInfo-E8DwIYDK.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js → StepGeneralIdentityPersonalInfoComponent-CvK2tVsW.js} +19 -19
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js.map → StepGeneralIdentityPersonalInfoComponent-CvK2tVsW.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js → StepGeneralIdentityPersonalInfoComponent-DynWrWja.js} +11 -11
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js.map → StepGeneralIdentityPersonalInfoComponent-DynWrWja.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js → StepHybridIdentityPersonalInfoComponent-DPl3W3Cf.js} +11 -11
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js.map → StepHybridIdentityPersonalInfoComponent-DPl3W3Cf.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js → StepHybridIdentityPersonalInfoComponent-oxxDx61O.js} +20 -20
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js.map → StepHybridIdentityPersonalInfoComponent-oxxDx61O.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DIYrsFwr.js → StepIDCheckLoop-C55UI0Oi.js} +8 -8
- package/chunk/{StepIDCheckLoop-CEjxRr5H.js.map → StepIDCheckLoop-C55UI0Oi.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CEjxRr5H.js → StepIDCheckLoop-Dt7xuo29.js} +5 -5
- package/chunk/{StepIDCheckLoop-DIYrsFwr.js.map → StepIDCheckLoop-Dt7xuo29.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js → StepIDCheckLoopOnfido-BFOFCYz9.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js.map → StepIDCheckLoopOnfido-BFOFCYz9.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js → StepIDCheckLoopOnfido-FXOQfnb5.js} +12 -12
- package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js.map → StepIDCheckLoopOnfido-FXOQfnb5.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js → StepIDCheckLoopRegula-V5XUp5Sp.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js.map → StepIDCheckLoopRegula-V5XUp5Sp.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js → StepIDCheckLoopRegula-nrHR4HBV.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js.map → StepIDCheckLoopRegula-nrHR4HBV.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js → StepInactiveMilitaryPersonalInfoComponent-4IM-NgSZ.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js.map → StepInactiveMilitaryPersonalInfoComponent-4IM-NgSZ.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js → StepInactiveMilitaryPersonalInfoComponent-C-EKKZ_Y.js} +24 -24
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js.map → StepInactiveMilitaryPersonalInfoComponent-C-EKKZ_Y.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js → StepLicensedProfessionalPersonalInfo-CCpe2JOf.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js.map → StepLicensedProfessionalPersonalInfo-CCpe2JOf.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js → StepLicensedProfessionalPersonalInfo-Dmro2sZO.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js.map → StepLicensedProfessionalPersonalInfo-Dmro2sZO.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js → StepLowIncomePersonalInfo-B3tof8VK.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js.map → StepLowIncomePersonalInfo-B3tof8VK.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js → StepLowIncomePersonalInfo-o80w9ZIz.js} +22 -22
- package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js.map → StepLowIncomePersonalInfo-o80w9ZIz.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js → StepMedicalProfessionalPersonalInfo-COU9jt5d.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js.map → StepMedicalProfessionalPersonalInfo-COU9jt5d.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js → StepMedicalProfessionalPersonalInfo-DMYnTMCS.js} +14 -14
- package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js.map → StepMedicalProfessionalPersonalInfo-DMYnTMCS.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BW67LVWx.js → StepMemberPersonalInfo-CVUtun0N.js} +12 -12
- package/chunk/{StepMemberPersonalInfo-BW67LVWx.js.map → StepMemberPersonalInfo-CVUtun0N.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js → StepMemberPersonalInfo-U-DDdhfI.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js.map → StepMemberPersonalInfo-U-DDdhfI.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js → StepMoverPersonalInfo-BPjXPhGE.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js.map → StepMoverPersonalInfo-BPjXPhGE.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js → StepMoverPersonalInfo-DVJeXj4p.js} +9 -9
- package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js.map → StepMoverPersonalInfo-DVJeXj4p.js.map} +1 -1
- package/chunk/{StepOverrideComponent-wiMuwIu-.js → StepOverrideComponent-C9RKQNbb.js} +5 -5
- package/chunk/{StepOverrideComponent-Cde3FPYX.js.map → StepOverrideComponent-C9RKQNbb.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Cde3FPYX.js → StepOverrideComponent-DxptMf1-.js} +11 -11
- package/chunk/{StepOverrideComponent-wiMuwIu-.js.map → StepOverrideComponent-DxptMf1-.js.map} +1 -1
- package/chunk/StepSMSLoop-DXcFnMxw.js +184 -0
- package/chunk/StepSMSLoop-DXcFnMxw.js.map +1 -0
- package/chunk/StepSMSLoop-Sw6fpsl2.js +180 -0
- package/chunk/StepSMSLoop-Sw6fpsl2.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js → StepSocialSecurityNumber-BqFiivH2.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-BOaXygFU.js.map → StepSocialSecurityNumber-BqFiivH2.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BOaXygFU.js → StepSocialSecurityNumber-Ctj2VlDU.js} +13 -13
- package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js.map → StepSocialSecurityNumber-Ctj2VlDU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js → StepStudentPersonalInfo-D2pk-8s_.js} +13 -13
- package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js.map → StepStudentPersonalInfo-D2pk-8s_.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js → StepStudentPersonalInfo-RPB8ihlV.js} +19 -19
- package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js.map → StepStudentPersonalInfo-RPB8ihlV.js.map} +1 -1
- package/chunk/{StepSuccess-Fh5qHhhJ.js → StepSuccess-BQBziAXc.js} +78 -74
- package/chunk/StepSuccess-BQBziAXc.js.map +1 -0
- package/chunk/{StepSuccess-B4m12cuz.js → StepSuccess-e7HG4ePN.js} +104 -100
- package/chunk/StepSuccess-e7HG4ePN.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js → StepTeacherPersonalInfo-B7uUAMg6.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js.map → StepTeacherPersonalInfo-B7uUAMg6.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js → StepTeacherPersonalInfo-Cezkzt9-.js} +13 -13
- package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js.map → StepTeacherPersonalInfo-Cezkzt9-.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js → TeacherSchoolComponent-B1TEhsOV.js} +9 -9
- package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js.map → TeacherSchoolComponent-B1TEhsOV.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BQd6FhY1.js → TeacherSchoolComponent-Cwzczii7.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BQd6FhY1.js.map → TeacherSchoolComponent-Cwzczii7.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BeBP6XXB.js +4 -4
- package/chunk/{TestingRouteOverrides-DmJbygl9.js → TestingRouteOverrides-Bt8QuyMY.js} +13 -13
- package/chunk/{TestingRouteOverrides-DmJbygl9.js.map → TestingRouteOverrides-Bt8QuyMY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BU-AI9RP.js → VerificationApiClient-BTck-af9.js} +5 -5
- package/chunk/{VerificationApiClient-BU-AI9RP.js.map → VerificationApiClient-BTck-af9.js.map} +1 -1
- package/chunk/{VerificationApiClient-D9TY-1LV.js → VerificationApiClient-DIt6HZRu.js} +36 -36
- package/chunk/{VerificationApiClient-D9TY-1LV.js.map → VerificationApiClient-DIt6HZRu.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DcBv0vx1.js → VerificationApiUtils-DEbZosCm.js} +8 -8
- package/chunk/{VerificationApiUtils-BSy9Ko-O.js.map → VerificationApiUtils-DEbZosCm.js.map} +1 -1
- package/chunk/{VerificationApiUtils-BSy9Ko-O.js → VerificationApiUtils-DQlrPmrh.js} +6 -6
- package/chunk/{VerificationApiUtils-DcBv0vx1.js.map → VerificationApiUtils-DQlrPmrh.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/countryUtils-Bg9KdIbF.js +4 -4
- package/chunk/{countryUtils-DuFXy-Lc.js → countryUtils-QLzXPJsg.js} +5 -5
- package/chunk/{countryUtils-DuFXy-Lc.js.map → countryUtils-QLzXPJsg.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm--oxGxbi5.js → downshift.esm-CqBJT95X.js} +7 -7
- package/chunk/{downshift.esm--oxGxbi5.js.map → downshift.esm-CqBJT95X.js.map} +1 -1
- package/chunk/{downshift.esm-KWl0sOpP.js → downshift.esm-CwOn56SI.js} +5 -5
- package/chunk/{downshift.esm-KWl0sOpP.js.map → downshift.esm-CwOn56SI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/empties-COfIPxJ5.js +4 -4
- package/chunk/{empties-1_PAn0id.js → empties-DctbDY5s.js} +5 -5
- package/chunk/{empties-1_PAn0id.js.map → empties-DctbDY5s.js.map} +1 -1
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-XC-iN9KQ.js → hooks-DLtMDttz.js} +7 -7
- package/chunk/{hooks-XC-iN9KQ.js.map → hooks-DLtMDttz.js.map} +1 -1
- package/chunk/hooks-PN48cX8E.js +4 -4
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-DJeZs3uh.js → intl-TN1Dianl.js} +583 -583
- package/chunk/{intl-DJeZs3uh.js.map → intl-TN1Dianl.js.map} +1 -1
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-Dd4OJ9ft.js → jsx-runtime-QRCZ6ZTK.js} +5 -5
- package/chunk/{jsx-runtime-Dd4OJ9ft.js.map → jsx-runtime-QRCZ6ZTK.js.map} +1 -1
- package/chunk/jsx-runtime-lVLuHIkM.js +4 -4
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{militaryStepHelpers-DHTF3XjP.js → militaryStepHelpers-CF0fNRKQ.js} +5 -5
- package/chunk/{militaryStepHelpers-DHTF3XjP.js.map → militaryStepHelpers-CF0fNRKQ.js.map} +1 -1
- package/chunk/militaryStepHelpers-W31scSUE.js +4 -4
- package/chunk/{mocks-D4xoUQMt.js → mocks-BN2OnOjp.js} +6 -6
- package/chunk/{mocks-D4xoUQMt.js.map → mocks-BN2OnOjp.js.map} +1 -1
- package/chunk/mocks-l2e0aaeT.js +4 -4
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/options-BK6Zk2Oe.js +4 -4
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/programThemeGetters-4Wf-YSPx.js +4 -4
- package/chunk/{programThemeGetters-UDiPGnE3.js → programThemeGetters-DECHMs91.js} +5 -5
- package/chunk/{programThemeGetters-UDiPGnE3.js.map → programThemeGetters-DECHMs91.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-i0Eo9ybu.js → refs-6KTRrw-F.js} +5 -5
- package/chunk/{refs-i0Eo9ybu.js.map → refs-6KTRrw-F.js.map} +1 -1
- package/chunk/refs-B8CaE8yL.js +4 -4
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-Darhp1Nn.js +4 -4
- package/chunk/{stepComponentHelpers-D-rc0nWU.js → stepComponentHelpers-DeWac6nj.js} +9 -9
- package/chunk/{stepComponentHelpers-D-rc0nWU.js.map → stepComponentHelpers-DeWac6nj.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js → useCollectFieldsEndpoint-B_vdP-Vu.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js.map → useCollectFieldsEndpoint-B_vdP-Vu.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js → useCollectFieldsEndpoint-DO9D14eY.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js.map → useCollectFieldsEndpoint-DO9D14eY.js.map} +1 -1
- package/chunk/{useMetrics-BXtJHRFy.js → useMetrics-CiB8jnkE.js} +7 -7
- package/chunk/{useMetrics-BXtJHRFy.js.map → useMetrics-CiB8jnkE.js.map} +1 -1
- package/chunk/useMetrics-iqbs0R1u.js +4 -4
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -5
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +59 -50
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls--XFHYK_y.js.map +0 -1
- package/chunk/ApiUrls-C95G_IDd.js.map +0 -1
- package/chunk/EmailLoopPending-DE3tDyAY.js +0 -138
- package/chunk/EmailLoopPending-DE3tDyAY.js.map +0 -1
- package/chunk/EmailLoopPending-e5hz6IDY.js +0 -134
- package/chunk/EmailLoopPending-e5hz6IDY.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-DDpq80DQ.js +0 -9
- package/chunk/StepConsolation-DP_22v0E.js +0 -104
- package/chunk/StepConsolation-DP_22v0E.js.map +0 -1
- package/chunk/StepConsolation-ol5BCfGd.js +0 -100
- package/chunk/StepConsolation-ol5BCfGd.js.map +0 -1
- package/chunk/StepSMSLoop-0m1VJY-W.js +0 -181
- package/chunk/StepSMSLoop-0m1VJY-W.js.map +0 -1
- package/chunk/StepSMSLoop-CPLQBDGY.js +0 -177
- package/chunk/StepSMSLoop-CPLQBDGY.js.map +0 -1
- package/chunk/StepSuccess-B4m12cuz.js.map +0 -1
- package/chunk/StepSuccess-Fh5qHhhJ.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:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.273.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787093703440
|
|
9
|
+
* BUILD_DATE: Tue Aug 18 2026 22:55:03 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
|
|
11
11
|
*/
|
|
12
12
|
//#region \0rolldown/runtime.js
|
|
13
13
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
@@ -26,7 +26,78 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
26
26
|
}, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
|
|
27
27
|
value: n,
|
|
28
28
|
enumerable: !0
|
|
29
|
-
}) : a, n)), u =
|
|
29
|
+
}) : a, n)), u = {}, d = (e) => Object.entries(e).forEach(([e, t]) => {
|
|
30
|
+
u[e] = t;
|
|
31
|
+
}), f = async () => u, p = () => window.navigator.globalPrivacyControl, m = () => window.NREUM && !p(), h = 4, g = "", _ = {
|
|
32
|
+
info: 1,
|
|
33
|
+
log: 2,
|
|
34
|
+
warn: 3,
|
|
35
|
+
error: 4,
|
|
36
|
+
silent: 5
|
|
37
|
+
}, v = {
|
|
38
|
+
info: "#26c1db",
|
|
39
|
+
log: "#09f979",
|
|
40
|
+
warn: "#f6b13f",
|
|
41
|
+
error: "#e12046"
|
|
42
|
+
}, y = "color: white; font-weight: bold; padding: 2px 10px;", b = () => ({}), x = (e) => e && e.stack && e.message, S = (...e) => {
|
|
43
|
+
h <= 3 && console.warn(`%c${g} warn`, `background: ${v.warn};${y}`, ...e);
|
|
44
|
+
}, ee = (...e) => {
|
|
45
|
+
h <= 2 && console.log(`%c${g} log`, `background: ${v.log};${y}`, ...e);
|
|
46
|
+
}, C = (...e) => {
|
|
47
|
+
h <= 1 && console.log(`%c${g} info`, `background: ${v.info};${y}`, ...e);
|
|
48
|
+
}, w = async (e, t = "unknown group", n = {}) => {
|
|
49
|
+
if (h <= 4) {
|
|
50
|
+
if (!e) {
|
|
51
|
+
console.error(/* @__PURE__ */ Error("An error must be supplied"));
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
let r;
|
|
55
|
+
typeof e == "string" && (r = Error(e)), x(e) && (r = e), r ||= /* @__PURE__ */ Error("Unknown error");
|
|
56
|
+
let i = { errorMessageGroup: t };
|
|
57
|
+
try {
|
|
58
|
+
i = {
|
|
59
|
+
...await f(),
|
|
60
|
+
...i
|
|
61
|
+
}, delete i.jslibVersionActual;
|
|
62
|
+
} catch (e) {
|
|
63
|
+
m() ? window.NREUM.noticeError(r, i) : S("Unable to assemble GA error attributes", e);
|
|
64
|
+
}
|
|
65
|
+
try {
|
|
66
|
+
let e = b();
|
|
67
|
+
i = {
|
|
68
|
+
...i,
|
|
69
|
+
...e,
|
|
70
|
+
...n
|
|
71
|
+
};
|
|
72
|
+
} catch (e) {
|
|
73
|
+
m() ? window.NREUM.noticeError(r, i) : S("Unable to assemble useful error attributes", e);
|
|
74
|
+
}
|
|
75
|
+
m() && window.NREUM.noticeError(r, i), console.error(`%c${g} error`, `background: ${v.error};${y}`, r, i);
|
|
76
|
+
}
|
|
77
|
+
}, T = (e, t = {}) => {
|
|
78
|
+
m() && window.NREUM.addPageAction(e, t);
|
|
79
|
+
}, E = {
|
|
80
|
+
error: w,
|
|
81
|
+
warn: S,
|
|
82
|
+
log: ee,
|
|
83
|
+
info: C,
|
|
84
|
+
logAPIResponseTime: (e, t) => {
|
|
85
|
+
T("API-calls-timing", {
|
|
86
|
+
api_call: e,
|
|
87
|
+
api_response_time: t
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
setLogLevel: (e) => {
|
|
91
|
+
if (!_.hasOwnProperty(e)) throw Error(`Unknown logLevel '${e}'`);
|
|
92
|
+
h = _[e], console.log(`%c${g} log level set to ${e}`, `background: ${v[e]};${y}`), m() || S("Offsite logging not enabled");
|
|
93
|
+
},
|
|
94
|
+
setPrefix: (e) => {
|
|
95
|
+
g = e;
|
|
96
|
+
},
|
|
97
|
+
init: (e) => {
|
|
98
|
+
b = e;
|
|
99
|
+
}
|
|
100
|
+
}, te = /* @__PURE__ */ o(((e, t) => {
|
|
30
101
|
t.exports = i, i.flatten = i, i.unflatten = a;
|
|
31
102
|
function n(e) {
|
|
32
103
|
return e && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
|
|
@@ -79,81 +150,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
79
150
|
f[i] = a(e[n], t);
|
|
80
151
|
}), l;
|
|
81
152
|
}
|
|
82
|
-
}))
|
|
83
|
-
d[e] = t;
|
|
84
|
-
}), p = async () => d, m = () => window.navigator.globalPrivacyControl, h = () => window.NREUM && !m(), g = 4, _ = "", v = {
|
|
85
|
-
info: 1,
|
|
86
|
-
log: 2,
|
|
87
|
-
warn: 3,
|
|
88
|
-
error: 4,
|
|
89
|
-
silent: 5
|
|
90
|
-
}, y = {
|
|
91
|
-
info: "#26c1db",
|
|
92
|
-
log: "#09f979",
|
|
93
|
-
warn: "#f6b13f",
|
|
94
|
-
error: "#e12046"
|
|
95
|
-
}, b = "color: white; font-weight: bold; padding: 2px 10px;", x = () => ({}), S = (e) => e && e.stack && e.message, C = (...e) => {
|
|
96
|
-
g <= 3 && console.warn(`%c${_} warn`, `background: ${y.warn};${b}`, ...e);
|
|
97
|
-
}, w = (...e) => {
|
|
98
|
-
g <= 2 && console.log(`%c${_} log`, `background: ${y.log};${b}`, ...e);
|
|
99
|
-
}, T = (...e) => {
|
|
100
|
-
g <= 1 && console.log(`%c${_} info`, `background: ${y.info};${b}`, ...e);
|
|
101
|
-
}, E = async (e, t = "unknown group", n = {}) => {
|
|
102
|
-
if (g <= 4) {
|
|
103
|
-
if (!e) {
|
|
104
|
-
console.error(/* @__PURE__ */ Error("An error must be supplied"));
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
let r;
|
|
108
|
-
typeof e == "string" && (r = Error(e)), S(e) && (r = e), r ||= /* @__PURE__ */ Error("Unknown error");
|
|
109
|
-
let i = { errorMessageGroup: t };
|
|
110
|
-
try {
|
|
111
|
-
i = {
|
|
112
|
-
...await p(),
|
|
113
|
-
...i
|
|
114
|
-
}, delete i.jslibVersionActual;
|
|
115
|
-
} catch (e) {
|
|
116
|
-
h() ? window.NREUM.noticeError(r, i) : C("Unable to assemble GA error attributes", e);
|
|
117
|
-
}
|
|
118
|
-
try {
|
|
119
|
-
let e = x();
|
|
120
|
-
i = {
|
|
121
|
-
...i,
|
|
122
|
-
...e,
|
|
123
|
-
...n
|
|
124
|
-
};
|
|
125
|
-
} catch (e) {
|
|
126
|
-
h() ? window.NREUM.noticeError(r, i) : C("Unable to assemble useful error attributes", e);
|
|
127
|
-
}
|
|
128
|
-
h() && window.NREUM.noticeError(r, i), console.error(`%c${_} error`, `background: ${y.error};${b}`, r, i);
|
|
129
|
-
}
|
|
130
|
-
}, ee = (e, t = {}) => {
|
|
131
|
-
h() && window.NREUM.addPageAction(e, t);
|
|
132
|
-
}, D = {
|
|
133
|
-
error: E,
|
|
134
|
-
warn: C,
|
|
135
|
-
log: w,
|
|
136
|
-
info: T,
|
|
137
|
-
logAPIResponseTime: (e, t) => {
|
|
138
|
-
ee("API-calls-timing", {
|
|
139
|
-
api_call: e,
|
|
140
|
-
api_response_time: t
|
|
141
|
-
});
|
|
142
|
-
},
|
|
143
|
-
setLogLevel: (e) => {
|
|
144
|
-
if (!v.hasOwnProperty(e)) throw Error(`Unknown logLevel '${e}'`);
|
|
145
|
-
g = v[e], console.log(`%c${_} log level set to ${e}`, `background: ${y[e]};${b}`), h() || C("Offsite logging not enabled");
|
|
146
|
-
},
|
|
147
|
-
setPrefix: (e) => {
|
|
148
|
-
_ = e;
|
|
149
|
-
},
|
|
150
|
-
init: (e) => {
|
|
151
|
-
x = e;
|
|
152
|
-
}
|
|
153
|
-
};
|
|
153
|
+
}));
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region ../packages/shared/src/utils/getSafe.ts
|
|
156
|
-
function
|
|
156
|
+
function ne(e, t) {
|
|
157
157
|
try {
|
|
158
158
|
return e();
|
|
159
159
|
} catch {
|
|
@@ -162,12 +162,12 @@ function te(e, t) {
|
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/lib/validators/customValidators.ts
|
|
165
|
-
var
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
Has a custom validator been registered using the setCustomValidator method?`, "getCustomValidator"), null),
|
|
165
|
+
var re = {}, ie = [], ae = (e, t) => {
|
|
166
|
+
E.log(`customValidator registering \n${t}\n for custom field '${e}'`), re[e] = t, ie.push(e);
|
|
167
|
+
}, oe = (e) => re[e] ? (E.log(`getCustomValidator returning '${e}'`), re[e]) : (E.error(`Custom validator for field '${e}' does not exist.
|
|
168
|
+
Has a custom validator been registered using the setCustomValidator method?`, "getCustomValidator"), null), se = () => ie, ce = /* @__PURE__ */ function(e) {
|
|
169
169
|
return e.collectStudentPersonalInfo = "collectStudentPersonalInfo", e.collectTeacherPersonalInfo = "collectTeacherPersonalInfo", e.collectMemberPersonalInfo = "collectMemberPersonalInfo", e.collectMilitaryStatus = "collectMilitaryStatus", e.collectActiveMilitaryPersonalInfo = "collectActiveMilitaryPersonalInfo", e.collectInactiveMilitaryPersonalInfo = "collectInactiveMilitaryPersonalInfo", e.collectSeniorPersonalInfo = "collectSeniorPersonalInfo", e.collectAgePersonalInfo = "collectAgePersonalInfo", e.collectFirstResponderPersonalInfo = "collectFirstResponderPersonalInfo", e.collectMedicalProfessionalPersonalInfo = "collectMedicalProfessionalPersonalInfo", e.collectEmployeePersonalInfo = "collectEmployeePersonalInfo", e.collectSocialSecurityNumber = "collectSocialSecurityNumber", e.cancelSocialSecurityNumber = "cancelSocialSecurityNumber", e.collectDriverLicensePersonalInfo = "collectDriverLicensePersonalInfo", e.collectGeneralIdentityPersonalInfo = "collectGeneralIdentityPersonalInfo", e.collectHybridIdentityPersonalInfo = "collectHybridIdentityPersonalInfo", e.collectLicensedProfessionalPersonalInfo = "collectLicensedProfessionalPersonalInfo", e.collectMoverPersonalInfo = "collectMoverPersonalInfo", e.collectLowIncomePersonalInfo = "collectLowIncomePersonalInfo", e.collectIdentifier = "collectIdentifier", e.collectPersonalInfo = "collectPersonalInfo", e.docUpload = "docUpload", e.pending = "pending", e.docReviewLimitExceeded = "docReviewLimitExceeded", e.success = "success", e.error = "error", e.sso = "sso", e.smsLoop = "smsLoop", e.emailLoop = "emailLoop", e.emailLoopCollectOrganizationEmail = "emailLoopCollectOrganizationEmail", e.completeAuthentication = "completeAuthentication", e.cancelEmailLoop = "cancelEmailLoop", e.idCheckLoop = "idCheckLoop", e.consolation = "consolation", e.override = "override", e.cancelDocUpload = "cancelDocUpload", e.missingRequiredMetadata = "missingRequiredMetadata", e.missingRequiredExternalId = "missingRequiredExternalId", e.thirdPartyLoop = "thirdPartyLoop", e;
|
|
170
|
-
}({}),
|
|
170
|
+
}({}), le = Object.values(ce), ue = [
|
|
171
171
|
"collectStudentPersonalInfo",
|
|
172
172
|
"collectTeacherPersonalInfo",
|
|
173
173
|
"collectMemberPersonalInfo",
|
|
@@ -187,194 +187,194 @@ var ne = {}, re = [], ie = (e, t) => {
|
|
|
187
187
|
"collectLowIncomePersonalInfo",
|
|
188
188
|
"collectIdentifier",
|
|
189
189
|
"collectPersonalInfo"
|
|
190
|
-
],
|
|
190
|
+
], de = /* @__PURE__ */ function(e) {
|
|
191
191
|
return e.loading = "loading", e.collect = "collect", e;
|
|
192
|
-
}({}),
|
|
192
|
+
}({}), fe = [
|
|
193
193
|
"cancelDocUpload",
|
|
194
194
|
"cancelEmailLoop",
|
|
195
195
|
"cancelSocialSecurityNumber",
|
|
196
196
|
"collectMilitaryStatus"
|
|
197
197
|
];
|
|
198
|
-
[...Object.values(
|
|
199
|
-
function
|
|
200
|
-
return
|
|
198
|
+
[...Object.values(ce).filter((e) => !fe.includes(e)), ...Object.values(de)];
|
|
199
|
+
function pe(e) {
|
|
200
|
+
return ue.includes(e);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
203
|
-
|
|
202
|
+
var me = [.../* @__PURE__ */ "ar.bg.bn-IN.cs.da.de.el.en-GB.en-US.es-ES.es.et.fa.fi.fr-CA.fr.ga.hi-IN.hr.hu.id.is.it.iw.ja.kk.ko.lo.lt.lv.ms.nl.nl-BE.no.pl.pt-BR.pt.ro.ru.sk.sl.sr.sv.sw.ta.tl.uk.ur.vi.th.tr.zh-HK.zh.zu".split(".")], he = (e) => {
|
|
203
|
+
E.info(`Registering additional locales ${e.join(", ")}`), me.push(...e);
|
|
204
204
|
};
|
|
205
|
-
function
|
|
205
|
+
function ge(e) {
|
|
206
206
|
return e?.currentStep === "success";
|
|
207
207
|
}
|
|
208
208
|
Object.values(/* @__PURE__ */ function(e) {
|
|
209
209
|
return e.docUpload = "docUpload", e.pending = "pending", e.error = "error", e;
|
|
210
210
|
}({}));
|
|
211
|
-
var
|
|
211
|
+
var _e = /* @__PURE__ */ function(e) {
|
|
212
212
|
return e.loading = "loading", e.collect = "collect", e;
|
|
213
|
-
}({}),
|
|
213
|
+
}({}), ve = [
|
|
214
214
|
"cancelDocUpload",
|
|
215
215
|
"cancelEmailLoop",
|
|
216
216
|
"cancelSocialSecurityNumber",
|
|
217
217
|
"collectMilitaryStatus"
|
|
218
|
-
],
|
|
218
|
+
], ye = [...Object.values(ce).filter((e) => !ve.includes(e)), ...Object.values(_e)], be = /* @__PURE__ */ function(e) {
|
|
219
219
|
return e.TEXT = "TEXT", e.QR = "QR", e.PDF417 = "PDF417", e.UPC_A = "UPC_A", e.ITF = "ITF", e.CODE_128 = "CODE_128", e;
|
|
220
|
-
}({}), be = /* @__PURE__ */ function(e) {
|
|
221
|
-
return e.student = "collectStudentPersonalInfo", e.military = "collectMilitaryStatus", e.teacher = "collectTeacherPersonalInfo", e.firstResponder = "collectFirstResponderPersonalInfo", e.senior = "collectSeniorPersonalInfo", e.age = "collectAgePersonalInfo", e.medical = "collectMedicalProfessionalPersonalInfo", e.recentMover = "collectMoverPersonalInfo", e.licensedProfessional = "collectLicensedProfessionalPersonalInfo", e.identity = "collectGeneralIdentityPersonalInfo", e.member = "collectMemberPersonalInfo", e;
|
|
222
220
|
}({}), xe = /* @__PURE__ */ function(e) {
|
|
221
|
+
return e.student = "collectStudentPersonalInfo", e.military = "collectMilitaryStatus", e.teacher = "collectTeacherPersonalInfo", e.firstResponder = "collectFirstResponderPersonalInfo", e.senior = "collectSeniorPersonalInfo", e.age = "collectAgePersonalInfo", e.medical = "collectMedicalProfessionalPersonalInfo", e.recentMover = "collectMoverPersonalInfo", e.licensedProfessional = "collectLicensedProfessionalPersonalInfo", e.identity = "collectGeneralIdentityPersonalInfo", e.member = "collectMemberPersonalInfo", e;
|
|
222
|
+
}({}), Se = /* @__PURE__ */ function(e) {
|
|
223
223
|
return e.STUDENT = "student", e.MILITARY = "military", e.TEACHER = "teacher", e.MEMBER = "member", e.SENIOR = "senior", e.AGE = "age", e.FIRST_RESPONDER = "firstResponder", e.MEDICAL = "medical", e.EMPLOYMENT = "employment", e.IDENTITY = "identity", e.LICENSED_PROFESSIONAL = "licensedProfessional", e.RECENT_MOVER = "recentMover", e.LOW_INCOME = "lowIncome", e;
|
|
224
224
|
}({});
|
|
225
|
-
Object.values(
|
|
226
|
-
var
|
|
225
|
+
Object.values(Se);
|
|
226
|
+
var Ce = /* @__PURE__ */ function(e) {
|
|
227
227
|
return e.ACTIVE_DUTY = "activeDuty", e.VETERAN = "veteran", e.RESERVIST = "reservist", e.MILITARY_RETIREE = "retiree", e.MILITARY_FAMILY = "militaryFamily", e.GOLD_STAR_FAMILY = "goldStarFamily", e.GRADUATE = "graduate", e.FIREFIGHTER = "fireFighter", e.POLICE = "police", e.EMT = "emt", e.NURSE = "nurse", e.DRIVER_LICENSE = "driverLicense", e.GENERAL_IDENTITY = "generalIdentity", e.HYBRID_IDENTITY = "hybridIdentity", e.HOME_BUYER = "homeBuyer", e.OTHER_MOVER = "otherMover", e.LICENSED_COSMETOLOGIST = "licensedCosmetologist", e.LICENSED_REAL_ESTATE_AGENT = "licensedRealEstateAgent", e.VETERINARIAN = "veterinarian", e.SNAP_BENEFITS = "snapBenefits", e.OTHER_GOVERNMENT_ASSISTANCE = "otherGovernmentAssistance", e.CHILD_CARE_WORKER = "childCareWorker", e.LIBRARIAN = "librarian", e.INTERIOR_DESIGNER = "interiorDesigner", e.ARCHITECT = "architect", e.GENERAL_CONTRACTOR = "generalContractor", e.NUTRITION_PROFESSIONAL = "nutritionProfessional", e;
|
|
228
228
|
}({});
|
|
229
|
-
Object.values(
|
|
230
|
-
var
|
|
229
|
+
Object.values(Ce);
|
|
230
|
+
var we = {
|
|
231
231
|
ACTIVE_DUTY: "Active Duty",
|
|
232
232
|
MILITARY_RETIREE: "Military Retiree",
|
|
233
233
|
RESERVIST: "Reservist or National Guard",
|
|
234
234
|
VETERAN: "Military Veteran or Retiree",
|
|
235
235
|
MILITARY_FAMILY: "Military Family",
|
|
236
236
|
GOLD_STAR_FAMILY: "Gold Star Family"
|
|
237
|
-
},
|
|
237
|
+
}, Te = {
|
|
238
238
|
FIREFIGHTER: "Firefighter",
|
|
239
239
|
POLICE: "Police",
|
|
240
240
|
EMT: "EMT",
|
|
241
241
|
SEARCH_AND_RESCUE: "Search and Rescue"
|
|
242
|
-
},
|
|
242
|
+
}, Ee = {
|
|
243
243
|
NURSE: "Nurse",
|
|
244
244
|
DOCTOR: "Doctor",
|
|
245
245
|
OTHER_HEALTH_WORKER: "Other Health Worker",
|
|
246
246
|
DENTIST: "Dentist",
|
|
247
247
|
PHARMACIST: "Pharmacist"
|
|
248
|
-
},
|
|
248
|
+
}, De = {
|
|
249
249
|
HOME_BUYER: "Home Buyer",
|
|
250
250
|
OTHER_MOVER: "Other Mover"
|
|
251
|
-
},
|
|
251
|
+
}, Oe = {
|
|
252
252
|
SNAP_BENEFITS: "Snap Benefits Recipient",
|
|
253
253
|
OTHER_GOVERNMENT_ASSISTANCE: "Other Government Assistance Recipient",
|
|
254
254
|
COMMUNITY_ELIGIBILITY_PROVISION: "CEP (Community Eligibility Provision, Title 1/LAP)"
|
|
255
|
-
},
|
|
255
|
+
}, ke = {
|
|
256
256
|
STUDENT: "Student",
|
|
257
257
|
GRADUATE: "Graduate"
|
|
258
258
|
};
|
|
259
|
-
Object.values(
|
|
260
|
-
var
|
|
259
|
+
Object.values(we), Object.values(Te), Object.values(Ee), Object.values(De), Object.values(Oe), Object.values(ke);
|
|
260
|
+
var Ae = /* @__PURE__ */ function(e) {
|
|
261
261
|
return e.firstName = "firstName", e.lastName = "lastName", e.memberId = "memberId", e.organization = "organization", e.birthDate = "birthDate", e.email = "email", e.phoneNumber = "phoneNumber", e.postalCode = "postalCode", e.address1 = "address1", e.city = "city", e.country = "country", e.state = "state", e.dischargeDate = "dischargeDate", e.activeDutyStartDate = "activeDutyStartDate", e.docUpload = "docUpload", e.status = "status", e.statuses = "statuses", e.marketConsentValue = "marketConsentValue", e.socialSecurityNumber = "socialSecurityNumber", e.carrierConsentValue = "carrierConsentValue", e.driverLicenseNumber = "driverLicenseNumber", e.ebtCardNumber = "ebtCardNumber", e.overrideCode = "overrideCode", e.organizationEmail = "organizationEmail", e.authenticationCode = "authenticationCode", e.cvecNumber = "cvecNumber", e.captchaToken = "captchaToken", e;
|
|
262
|
-
}({}),
|
|
262
|
+
}({}), je = Object.values(Ae), Me = Object.values(/* @__PURE__ */ function(e) {
|
|
263
263
|
return e.ON_VERIFICATION_READY = "ON_VERIFICATION_READY", e.ON_VERIFICATION_SUCCESS = "ON_VERIFICATION_SUCCESS", e.ON_VERIFICATION_STEP_CHANGE = "ON_VERIFICATION_STEP_CHANGE", e.ON_FORM_LOCALE_CHANGE = "ON_FORM_LOCALE_CHANGE", e;
|
|
264
|
-
}({})),
|
|
264
|
+
}({})), Ne = /* @__PURE__ */ function(e) {
|
|
265
265
|
return e.AK = "AK", e.AL = "AL", e.AR = "AR", e.AZ = "AZ", e.AS = "AS", e.CA = "CA", e.CO = "CO", e.CT = "CT", e.DC = "DC", e.DE = "DE", e.FL = "FL", e.GA = "GA", e.GU = "GU", e.HI = "HI", e.IA = "IA", e.ID = "ID", e.IL = "IL", e.IN = "IN", e.KS = "KS", e.KY = "KY", e.LA = "LA", e.MA = "MA", e.MD = "MD", e.ME = "ME", e.MI = "MI", e.MN = "MN", e.MO = "MO", e.MS = "MS", e.MT = "MT", e.NC = "NC", e.ND = "ND", e.NE = "NE", e.NH = "NH", e.NJ = "NJ", e.NM = "NM", e.NV = "NV", e.NY = "NY", e.OH = "OH", e.OK = "OK", e.OR = "OR", e.PA = "PA", e.PR = "PR", e.RI = "RI", e.SC = "SC", e.SD = "SD", e.TN = "TN", e.TX = "TX", e.UT = "UT", e.VA = "VA", e.VI = "VI", e.VT = "VT", e.WA = "WA", e.WI = "WI", e.WV = "WV", e.WY = "WY", e;
|
|
266
|
-
}({}), Ne = /* @__PURE__ */ function(e) {
|
|
267
|
-
return e.DOCUMENT = "document", e.FACIAL_SIMILARITY_MOTION = "facial_similarity_motion", e;
|
|
268
266
|
}({}), Pe = /* @__PURE__ */ function(e) {
|
|
269
|
-
return e.
|
|
267
|
+
return e.DOCUMENT = "document", e.FACIAL_SIMILARITY_MOTION = "facial_similarity_motion", e;
|
|
270
268
|
}({}), Fe = /* @__PURE__ */ function(e) {
|
|
271
|
-
return e.
|
|
269
|
+
return e.PASSPORT = "passport", e.NATIONAL_IDENTITY_CARD = "national_identity_card", e.DRIVING_LICENCE = "driving_licence", e.RESIDENCE_PERMIT = "residence_permit", e;
|
|
272
270
|
}({}), Ie = /* @__PURE__ */ function(e) {
|
|
271
|
+
return e.ID_CHECK = "ID_CHECK", e.ID_CHECK_LIVENESS = "ID_CHECK_LIVENESS", e;
|
|
272
|
+
}({}), Le = /* @__PURE__ */ function(e) {
|
|
273
273
|
return e.SIGNZY = "signzy", e;
|
|
274
|
-
}({}),
|
|
275
|
-
if (
|
|
276
|
-
}, Re = (e) => {
|
|
277
|
-
if (ve.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
274
|
+
}({}), Re = (e) => {
|
|
275
|
+
if (le.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
278
276
|
}, ze = (e) => {
|
|
279
|
-
if (
|
|
280
|
-
}, Be = (e) =>
|
|
277
|
+
if (ye.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
278
|
+
}, Be = (e) => {
|
|
279
|
+
if (!Ve(e)) throw Error(`Invalid locale ${e}, expected one of ${me.join(", ")}`);
|
|
280
|
+
}, Ve = (e) => me.indexOf(e) > -1, He = (e) => {
|
|
281
281
|
if (!(e && e.nodeType === Node.ELEMENT_NODE)) throw Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`);
|
|
282
|
-
}, He = (e) => {
|
|
283
|
-
Ye(e);
|
|
284
282
|
}, Ue = (e) => {
|
|
285
|
-
|
|
286
|
-
if (Ae.indexOf(e) < 0 && t.indexOf(e) < 0) throw Error(`Expected valid field ID but received ${e}.
|
|
287
|
-
Valid FieldIds are [${Ae.join(", ")}, ${t.join(", ")}]`);
|
|
283
|
+
Xe(e);
|
|
288
284
|
}, We = (e) => {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
285
|
+
let t = se();
|
|
286
|
+
if (je.indexOf(e) < 0 && t.indexOf(e) < 0) throw Error(`Expected valid field ID but received ${e}.
|
|
287
|
+
Valid FieldIds are [${je.join(", ")}, ${t.join(", ")}]`);
|
|
288
|
+
}, Ge = (e) => {
|
|
289
|
+
qe(e.name), Je(e.callback);
|
|
290
|
+
}, Ke = (e) => Me.includes(e);
|
|
291
|
+
function qe(e) {
|
|
292
|
+
if (!Ke(e)) throw Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Me.join(", ")}]`);
|
|
293
293
|
}
|
|
294
|
-
var
|
|
294
|
+
var Je = (e) => {
|
|
295
295
|
if (typeof e != "function") throw Error(`Expected type "function", but received ${typeof e}`);
|
|
296
|
-
},
|
|
296
|
+
}, Ye = (e) => {
|
|
297
297
|
if (typeof e != "string") throw Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);
|
|
298
298
|
if (e.length < 1) throw Error("Expected trackingId string length greater than 0.");
|
|
299
|
-
},
|
|
299
|
+
}, Xe = (e) => {
|
|
300
300
|
if (!/^[0-9a-fA-F]{24}$/.test(e)) throw Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`);
|
|
301
301
|
};
|
|
302
|
-
function
|
|
302
|
+
function Ze(e) {
|
|
303
303
|
return e ? e.currentStep === "docUpload" : !1;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Qe(e) {
|
|
306
306
|
return e ? e.currentStep === "pending" : !1;
|
|
307
307
|
}
|
|
308
308
|
//#endregion
|
|
309
309
|
//#region src/lib/utils/routing/Url.ts
|
|
310
|
-
var
|
|
310
|
+
var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
311
311
|
let t = new URL(e || window.location.toString());
|
|
312
312
|
return new URLSearchParams(t.search.slice(1));
|
|
313
|
-
},
|
|
313
|
+
}, tt = (e, t) => et(t).get(e), nt = (e) => {
|
|
314
314
|
let t = new URLSearchParams(e).get("verificationId");
|
|
315
315
|
return typeof t == "string" && t.length === 0 ? null : t;
|
|
316
|
-
},
|
|
316
|
+
}, rt = (e) => {
|
|
317
317
|
let t = new URLSearchParams(e).get("trackingId");
|
|
318
318
|
return typeof t == "string" && t.length === 0 ? null : t;
|
|
319
|
-
},
|
|
319
|
+
}, D = "en-US", it = [
|
|
320
320
|
"image/png",
|
|
321
321
|
"image/jpg",
|
|
322
322
|
"image/jpeg",
|
|
323
323
|
"application/pdf"
|
|
324
|
-
],
|
|
324
|
+
], at = [
|
|
325
325
|
".jpg",
|
|
326
326
|
".jpeg",
|
|
327
327
|
".png",
|
|
328
328
|
".pdf"
|
|
329
|
-
],
|
|
329
|
+
], ot = "file", O = "mockStep", st = "mockSegment", ct = "mockSubSegment", lt = "mockErrorId", ut = "mockErrorDetailId", dt = "mockRewardCode", ft = "mockRedirectUrl", pt = "mockConsumerInfoState", mt = "mockIdCheckLoopServiceType", ht = "mockDocSelected", gt = "mockPreviousStep", _t = "thirdPartyLoopProvider", vt = "ssoMethod", yt = "installPageUrl", bt = "installType", xt = "externalUserId", St = "mockCaptchaState", Ct = "https://verify.sheerid.com/verification-support/feedback.html?token=", wt = "https://support.sheerid.com", Tt = "https://www.cloudflare.com/privacypolicy/", Et = 1e4, Dt = /* @__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("."), k = (e) => typeof e == "string", A = () => {
|
|
330
330
|
let e, t, n = new Promise((n, r) => {
|
|
331
331
|
e = n, t = r;
|
|
332
332
|
});
|
|
333
333
|
return n.resolve = e, n.reject = t, n;
|
|
334
|
-
},
|
|
334
|
+
}, Ot = (e) => e == null ? "" : "" + e, kt = (e, t, n) => {
|
|
335
335
|
e.forEach((e) => {
|
|
336
336
|
t[e] && (n[e] = t[e]);
|
|
337
337
|
});
|
|
338
|
-
},
|
|
339
|
-
let r =
|
|
338
|
+
}, At = /###/g, jt = (e) => e && e.indexOf("###") > -1 ? e.replace(At, ".") : e, Mt = (e) => !e || k(e), j = (e, t, n) => {
|
|
339
|
+
let r = k(t) ? t.split(".") : t, i = 0;
|
|
340
340
|
for (; i < r.length - 1;) {
|
|
341
|
-
if (
|
|
342
|
-
let t =
|
|
341
|
+
if (Mt(e)) return {};
|
|
342
|
+
let t = jt(r[i]);
|
|
343
343
|
!e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
|
|
344
344
|
}
|
|
345
|
-
return
|
|
345
|
+
return Mt(e) ? {} : {
|
|
346
346
|
obj: e,
|
|
347
|
-
k:
|
|
347
|
+
k: jt(r[i])
|
|
348
348
|
};
|
|
349
|
-
},
|
|
350
|
-
let { obj: r, k: i } =
|
|
349
|
+
}, Nt = (e, t, n) => {
|
|
350
|
+
let { obj: r, k: i } = j(e, t, Object);
|
|
351
351
|
if (r !== void 0 || t.length === 1) {
|
|
352
352
|
r[i] = n;
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
355
|
-
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s =
|
|
356
|
-
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s =
|
|
355
|
+
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = j(e, o, Object);
|
|
356
|
+
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = j(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
|
|
357
357
|
s.obj[`${s.k}.${a}`] = n;
|
|
358
|
-
},
|
|
359
|
-
let { obj: i, k: a } =
|
|
358
|
+
}, Pt = (e, t, n, r) => {
|
|
359
|
+
let { obj: i, k: a } = j(e, t, Object);
|
|
360
360
|
i[a] = i[a] || [], i[a].push(n);
|
|
361
|
-
},
|
|
362
|
-
let { obj: n, k: r } =
|
|
361
|
+
}, Ft = (e, t) => {
|
|
362
|
+
let { obj: n, k: r } = j(e, t);
|
|
363
363
|
if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
|
|
364
|
-
}, Ft = (e, t, n) => {
|
|
365
|
-
let r = Pt(e, n);
|
|
366
|
-
return r === void 0 ? Pt(t, n) : r;
|
|
367
364
|
}, It = (e, t, n) => {
|
|
368
|
-
|
|
365
|
+
let r = Ft(e, n);
|
|
366
|
+
return r === void 0 ? Ft(t, n) : r;
|
|
367
|
+
}, Lt = (e, t, n) => {
|
|
368
|
+
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? k(e[r]) || e[r] instanceof String || k(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Lt(e[r], t[r], n) : e[r] = t[r]);
|
|
369
369
|
return e;
|
|
370
|
-
},
|
|
370
|
+
}, M = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), Rt = {
|
|
371
371
|
"&": "&",
|
|
372
372
|
"<": "<",
|
|
373
373
|
">": ">",
|
|
374
374
|
"\"": """,
|
|
375
375
|
"'": "'",
|
|
376
376
|
"/": "/"
|
|
377
|
-
},
|
|
377
|
+
}, zt = (e) => k(e) ? e.replace(/[&<>"'\/]/g, (e) => Rt[e]) : e, Bt = class {
|
|
378
378
|
constructor(e) {
|
|
379
379
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
380
380
|
}
|
|
@@ -384,23 +384,23 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
384
384
|
let n = new RegExp(e);
|
|
385
385
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, Vt = [
|
|
388
388
|
" ",
|
|
389
389
|
",",
|
|
390
390
|
"?",
|
|
391
391
|
"!",
|
|
392
392
|
";"
|
|
393
|
-
],
|
|
393
|
+
], Ht = new Bt(20), Ut = (e, t, n) => {
|
|
394
394
|
t ||= "", n ||= "";
|
|
395
|
-
let r =
|
|
395
|
+
let r = Vt.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
|
|
396
396
|
if (r.length === 0) return !0;
|
|
397
|
-
let i =
|
|
397
|
+
let i = Ht.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
|
|
398
398
|
if (!a) {
|
|
399
399
|
let t = e.indexOf(n);
|
|
400
400
|
t > 0 && !i.test(e.substring(0, t)) && (a = !0);
|
|
401
401
|
}
|
|
402
402
|
return a;
|
|
403
|
-
},
|
|
403
|
+
}, Wt = (e, t, n = ".") => {
|
|
404
404
|
if (!e) return;
|
|
405
405
|
if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
|
|
406
406
|
let r = t.split(n), i = e;
|
|
@@ -419,7 +419,7 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
419
419
|
i = t;
|
|
420
420
|
}
|
|
421
421
|
return i;
|
|
422
|
-
},
|
|
422
|
+
}, N = (e) => e?.replace(/_/g, "-"), Gt = {
|
|
423
423
|
type: "logger",
|
|
424
424
|
log(e) {
|
|
425
425
|
this.output("log", e);
|
|
@@ -433,12 +433,12 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
433
433
|
output(e, t) {
|
|
434
434
|
console?.[e]?.apply?.(console, t);
|
|
435
435
|
}
|
|
436
|
-
},
|
|
436
|
+
}, P = new class e {
|
|
437
437
|
constructor(e, t = {}) {
|
|
438
438
|
this.init(e, t);
|
|
439
439
|
}
|
|
440
440
|
init(e, t = {}) {
|
|
441
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
441
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Gt, this.options = t, this.debug = t.debug;
|
|
442
442
|
}
|
|
443
443
|
log(...e) {
|
|
444
444
|
return this.forward(e, "log", "", !0);
|
|
@@ -453,7 +453,7 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
453
453
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
454
454
|
}
|
|
455
455
|
forward(e, t, n, r) {
|
|
456
|
-
return r && !this.debug ? null : (
|
|
456
|
+
return r && !this.debug ? null : (k(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
457
457
|
}
|
|
458
458
|
create(t) {
|
|
459
459
|
return new e(this.logger, {
|
|
@@ -464,7 +464,7 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
464
464
|
clone(t) {
|
|
465
465
|
return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
|
|
466
466
|
}
|
|
467
|
-
}(),
|
|
467
|
+
}(), Kt = class {
|
|
468
468
|
constructor() {
|
|
469
469
|
this.observers = {};
|
|
470
470
|
}
|
|
@@ -491,7 +491,7 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
491
491
|
for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
|
-
},
|
|
494
|
+
}, qt = class extends Kt {
|
|
495
495
|
constructor(e, t = {
|
|
496
496
|
ns: ["translation"],
|
|
497
497
|
defaultNS: "translation"
|
|
@@ -507,16 +507,16 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
507
507
|
}
|
|
508
508
|
getResource(e, t, n, r = {}) {
|
|
509
509
|
let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
|
|
510
|
-
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) :
|
|
511
|
-
let s =
|
|
512
|
-
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !
|
|
510
|
+
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : k(n) && i ? o.push(...n.split(i)) : o.push(n)));
|
|
511
|
+
let s = Ft(this.data, o);
|
|
512
|
+
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !k(n) ? s : Wt(this.data?.[e]?.[t], n, i);
|
|
513
513
|
}
|
|
514
514
|
addResource(e, t, n, r, i = { silent: !1 }) {
|
|
515
515
|
let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
|
|
516
|
-
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t),
|
|
516
|
+
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Nt(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
|
|
517
517
|
}
|
|
518
518
|
addResources(e, t, n, r = { silent: !1 }) {
|
|
519
|
-
for (let r in n) (
|
|
519
|
+
for (let r in n) (k(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
|
|
520
520
|
r.silent || this.emit("added", e, t, n);
|
|
521
521
|
}
|
|
522
522
|
addResourceBundle(e, t, n, r, i, a = {
|
|
@@ -525,11 +525,11 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
525
525
|
}) {
|
|
526
526
|
let o = [e, t];
|
|
527
527
|
e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
|
|
528
|
-
let s =
|
|
529
|
-
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ?
|
|
528
|
+
let s = Ft(this.data, o) || {};
|
|
529
|
+
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? Lt(s, n, i) : s = {
|
|
530
530
|
...s,
|
|
531
531
|
...n
|
|
532
|
-
},
|
|
532
|
+
}, Nt(this.data, o, s), a.silent || this.emit("added", e, t, n);
|
|
533
533
|
}
|
|
534
534
|
removeResourceBundle(e, t) {
|
|
535
535
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -550,7 +550,7 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
550
550
|
toJSON() {
|
|
551
551
|
return this.data;
|
|
552
552
|
}
|
|
553
|
-
},
|
|
553
|
+
}, Jt = {
|
|
554
554
|
processors: {},
|
|
555
555
|
addPostProcessor(e) {
|
|
556
556
|
this.processors[e.name] = e;
|
|
@@ -560,22 +560,22 @@ var Qe = (e) => e.replace(/\/?$/, "/"), $e = (e) => {
|
|
|
560
560
|
t = this.processors[e]?.process(t, n, r, i) ?? t;
|
|
561
561
|
}), t;
|
|
562
562
|
}
|
|
563
|
-
},
|
|
564
|
-
function
|
|
563
|
+
}, Yt = Symbol("i18next/PATH_KEY");
|
|
564
|
+
function Xt() {
|
|
565
565
|
let e = [], t = Object.create(null), n;
|
|
566
|
-
return t.get = (r, i) => (n?.revoke?.(), i ===
|
|
566
|
+
return t.get = (r, i) => (n?.revoke?.(), i === Yt ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
569
|
-
let { [
|
|
568
|
+
function F(e, t) {
|
|
569
|
+
let { [Yt]: n } = e(Xt()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
|
|
570
570
|
if (n.length > 1 && i) {
|
|
571
571
|
let e = t?.ns, a = Array.isArray(e) ? e : null;
|
|
572
572
|
if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
|
|
573
573
|
}
|
|
574
574
|
return n.join(r);
|
|
575
575
|
}
|
|
576
|
-
var
|
|
576
|
+
var Zt = {}, Qt = (e) => !k(e) && typeof e != "boolean" && typeof e != "number", $t = class e extends Kt {
|
|
577
577
|
constructor(e, t = {}) {
|
|
578
|
-
super(),
|
|
578
|
+
super(), kt([
|
|
579
579
|
"resourceStore",
|
|
580
580
|
"languageUtils",
|
|
581
581
|
"pluralResolver",
|
|
@@ -583,7 +583,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
583
583
|
"backendConnector",
|
|
584
584
|
"i18nFormat",
|
|
585
585
|
"utils"
|
|
586
|
-
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
586
|
+
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = P.create("translator");
|
|
587
587
|
}
|
|
588
588
|
changeLanguage(e) {
|
|
589
589
|
e && (this.language = e);
|
|
@@ -593,34 +593,34 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
593
593
|
if (e == null) return !1;
|
|
594
594
|
let r = this.resolve(e, n);
|
|
595
595
|
if (r?.res === void 0) return !1;
|
|
596
|
-
let i =
|
|
596
|
+
let i = Qt(r.res);
|
|
597
597
|
return !(n.returnObjects === !1 && i);
|
|
598
598
|
}
|
|
599
599
|
extractFromKey(e, t) {
|
|
600
600
|
let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
|
|
601
601
|
n === void 0 && (n = ":");
|
|
602
|
-
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 && !
|
|
602
|
+
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 && !Ut(e, n, r);
|
|
603
603
|
if (a && !o) {
|
|
604
604
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
605
605
|
if (t && t.length > 0) return {
|
|
606
606
|
key: e,
|
|
607
|
-
namespaces:
|
|
607
|
+
namespaces: k(i) ? [i] : i
|
|
608
608
|
};
|
|
609
609
|
let a = e.split(n);
|
|
610
610
|
(n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
|
|
611
611
|
}
|
|
612
612
|
return {
|
|
613
613
|
key: e,
|
|
614
|
-
namespaces:
|
|
614
|
+
namespaces: k(i) ? [i] : i
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
617
|
translate(t, n, r) {
|
|
618
618
|
let i = typeof n == "object" ? { ...n } : n;
|
|
619
619
|
if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
|
|
620
|
-
typeof t == "function" && (t =
|
|
620
|
+
typeof t == "function" && (t = F(t, {
|
|
621
621
|
...this.options,
|
|
622
622
|
...i
|
|
623
|
-
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ?
|
|
623
|
+
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? F(e, {
|
|
624
624
|
...this.options,
|
|
625
625
|
...i
|
|
626
626
|
}) : String(e));
|
|
@@ -646,42 +646,42 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
646
646
|
"[object Number]",
|
|
647
647
|
"[object Function]",
|
|
648
648
|
"[object RegExp]"
|
|
649
|
-
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !
|
|
650
|
-
y && !m && x && (
|
|
651
|
-
let
|
|
652
|
-
if (y &&
|
|
649
|
+
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !k(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", ee = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", C = b && !i.ordinal && i.count === 0, w = C && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${ee}`] || i.defaultValue, T = m;
|
|
650
|
+
y && !m && x && (T = w);
|
|
651
|
+
let E = Qt(T), te = Object.prototype.toString.apply(T);
|
|
652
|
+
if (y && T && E && _.indexOf(te) < 0 && !(k(v) && Array.isArray(T))) {
|
|
653
653
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
654
654
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
655
|
-
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h,
|
|
655
|
+
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, T, {
|
|
656
656
|
...i,
|
|
657
657
|
ns: c
|
|
658
658
|
}) : `key '${s} (${this.language})' returned an object instead of string.`;
|
|
659
659
|
return a ? (p.res = e, p.usedParams = this.getUsedParamsDetails(i), p) : e;
|
|
660
660
|
}
|
|
661
661
|
if (o) {
|
|
662
|
-
let e = Array.isArray(
|
|
663
|
-
for (let e in
|
|
662
|
+
let e = Array.isArray(T), t = e ? [] : {}, n = e ? g : h;
|
|
663
|
+
for (let e in T) if (Object.prototype.hasOwnProperty.call(T, e)) {
|
|
664
664
|
let r = `${n}${o}${e}`;
|
|
665
665
|
x && !m ? t[e] = this.translate(r, {
|
|
666
666
|
...i,
|
|
667
|
-
defaultValue:
|
|
667
|
+
defaultValue: Qt(w) ? w[e] : void 0,
|
|
668
668
|
joinArrays: !1,
|
|
669
669
|
ns: c
|
|
670
670
|
}) : t[e] = this.translate(r, {
|
|
671
671
|
...i,
|
|
672
672
|
joinArrays: !1,
|
|
673
673
|
ns: c
|
|
674
|
-
}), t[e] === r && (t[e] =
|
|
674
|
+
}), t[e] === r && (t[e] = T[e]);
|
|
675
675
|
}
|
|
676
676
|
m = t;
|
|
677
677
|
}
|
|
678
|
-
} else if (y &&
|
|
678
|
+
} else if (y && k(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
|
|
679
679
|
else {
|
|
680
680
|
let e = !1, n = !1;
|
|
681
|
-
!this.isValidLookup(m) && x && (e = !0, m =
|
|
682
|
-
let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x &&
|
|
681
|
+
!this.isValidLookup(m) && x && (e = !0, m = w), this.isValidLookup(m) || (n = !0, m = s);
|
|
682
|
+
let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x && w !== m && this.options.updateMissing;
|
|
683
683
|
if (n || e || c) {
|
|
684
|
-
if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ?
|
|
684
|
+
if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? w : m), o) {
|
|
685
685
|
let e = this.resolve(s, {
|
|
686
686
|
...i,
|
|
687
687
|
keySeparator: !1
|
|
@@ -697,10 +697,10 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
697
697
|
};
|
|
698
698
|
this.options.saveMissing && (this.options.saveMissingPlurals && b ? e.forEach((e) => {
|
|
699
699
|
let t = this.pluralResolver.getSuffixes(e, i);
|
|
700
|
-
|
|
701
|
-
n([e], s + t, i[`defaultValue${t}`] ||
|
|
700
|
+
C && i[`defaultValue${this.options.pluralSeparator}zero`] && t.indexOf(`${this.options.pluralSeparator}zero`) < 0 && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => {
|
|
701
|
+
n([e], s + t, i[`defaultValue${t}`] || w);
|
|
702
702
|
});
|
|
703
|
-
}) : n(e, s,
|
|
703
|
+
}) : n(e, s, w));
|
|
704
704
|
}
|
|
705
705
|
m = this.extendTranslation(m, t, i, p, r), n && m === s && this.options.appendNamespaceToMissingKey && (m = `${l}${u}${s}`), (n || e) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${u}${s}` : s, e ? m : void 0, i));
|
|
706
706
|
}
|
|
@@ -719,12 +719,12 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
719
719
|
...n.interpolation
|
|
720
720
|
}
|
|
721
721
|
});
|
|
722
|
-
let a =
|
|
722
|
+
let a = k(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
|
|
723
723
|
if (a) {
|
|
724
724
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
725
725
|
o = t && t.length;
|
|
726
726
|
}
|
|
727
|
-
let s = n.replace && !
|
|
727
|
+
let s = n.replace && !k(n.replace) ? n.replace : n;
|
|
728
728
|
if (this.options.interpolation.defaultVariables && (s = {
|
|
729
729
|
...this.options.interpolation.defaultVariables,
|
|
730
730
|
...s
|
|
@@ -734,8 +734,8 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
734
734
|
}
|
|
735
735
|
!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();
|
|
736
736
|
}
|
|
737
|
-
let a = n.postProcess || this.options.postProcess, o =
|
|
738
|
-
return e != null && o?.length && n.applyPostProcessor !== !1 && (e =
|
|
737
|
+
let a = n.postProcess || this.options.postProcess, o = k(a) ? [a] : a;
|
|
738
|
+
return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Jt.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
739
739
|
i18nResolved: {
|
|
740
740
|
...r,
|
|
741
741
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -745,7 +745,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
745
745
|
}
|
|
746
746
|
resolve(e, t = {}) {
|
|
747
747
|
let n, r, i, a, o;
|
|
748
|
-
return
|
|
748
|
+
return k(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? F(e, {
|
|
749
749
|
...this.options,
|
|
750
750
|
...t
|
|
751
751
|
}) : e)), e.forEach((e) => {
|
|
@@ -754,9 +754,9 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
754
754
|
r = c;
|
|
755
755
|
let l = s.namespaces;
|
|
756
756
|
this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
|
|
757
|
-
let u = t.count !== void 0 && !
|
|
757
|
+
let u = t.count !== void 0 && !k(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (k(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
758
758
|
l.forEach((e) => {
|
|
759
|
-
this.isValidLookup(n) || (o = e, !
|
|
759
|
+
this.isValidLookup(n) || (o = e, !Zt[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (Zt[`${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) => {
|
|
760
760
|
if (this.isValidLookup(n)) return;
|
|
761
761
|
a = r;
|
|
762
762
|
let o = [c];
|
|
@@ -805,7 +805,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
805
805
|
"joinArrays",
|
|
806
806
|
"postProcess",
|
|
807
807
|
"interpolation"
|
|
808
|
-
], n = e.replace && !
|
|
808
|
+
], n = e.replace && !k(e.replace), r = n ? e.replace : e;
|
|
809
809
|
if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
|
|
810
810
|
...this.options.interpolation.defaultVariables,
|
|
811
811
|
...r
|
|
@@ -819,22 +819,22 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
819
819
|
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
|
|
820
820
|
return !1;
|
|
821
821
|
}
|
|
822
|
-
},
|
|
822
|
+
}, en = class {
|
|
823
823
|
constructor(e) {
|
|
824
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
824
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = P.create("languageUtils");
|
|
825
825
|
}
|
|
826
826
|
getScriptPartFromCode(e) {
|
|
827
|
-
if (e =
|
|
827
|
+
if (e = N(e), !e || e.indexOf("-") < 0) return null;
|
|
828
828
|
let t = e.split("-");
|
|
829
829
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
830
830
|
}
|
|
831
831
|
getLanguagePartFromCode(e) {
|
|
832
|
-
if (e =
|
|
832
|
+
if (e = N(e), !e || e.indexOf("-") < 0) return e;
|
|
833
833
|
let t = e.split("-");
|
|
834
834
|
return this.formatLanguageCode(t[0]);
|
|
835
835
|
}
|
|
836
836
|
formatLanguageCode(e) {
|
|
837
|
-
if (
|
|
837
|
+
if (k(e) && e.indexOf("-") > -1) {
|
|
838
838
|
let t;
|
|
839
839
|
try {
|
|
840
840
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -866,7 +866,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
866
866
|
}
|
|
867
867
|
getFallbackCodes(e, t) {
|
|
868
868
|
if (!e) return [];
|
|
869
|
-
if (typeof e == "function" && (e = e(t)),
|
|
869
|
+
if (typeof e == "function" && (e = e(t)), k(e) && (e = [e]), Array.isArray(e)) return e;
|
|
870
870
|
if (!t) return e.default || [];
|
|
871
871
|
let n = e[t];
|
|
872
872
|
return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
|
|
@@ -875,29 +875,29 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
875
875
|
let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
|
|
876
876
|
e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
|
|
877
877
|
};
|
|
878
|
-
return
|
|
878
|
+
return k(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))) : k(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
|
|
879
879
|
r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
|
|
880
880
|
}), r;
|
|
881
881
|
}
|
|
882
|
-
},
|
|
882
|
+
}, tn = {
|
|
883
883
|
zero: 0,
|
|
884
884
|
one: 1,
|
|
885
885
|
two: 2,
|
|
886
886
|
few: 3,
|
|
887
887
|
many: 4,
|
|
888
888
|
other: 5
|
|
889
|
-
},
|
|
889
|
+
}, nn = {
|
|
890
890
|
select: (e) => e === 1 ? "one" : "other",
|
|
891
891
|
resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
|
|
892
|
-
},
|
|
892
|
+
}, rn = class {
|
|
893
893
|
constructor(e, t = {}) {
|
|
894
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
894
|
+
this.languageUtils = e, this.options = t, this.logger = P.create("pluralResolver"), this.pluralRulesCache = {};
|
|
895
895
|
}
|
|
896
896
|
clearCache() {
|
|
897
897
|
this.pluralRulesCache = {};
|
|
898
898
|
}
|
|
899
899
|
getRule(e, t = {}) {
|
|
900
|
-
let n =
|
|
900
|
+
let n = N(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
|
|
901
901
|
cleanedCode: n,
|
|
902
902
|
type: r
|
|
903
903
|
});
|
|
@@ -906,8 +906,8 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
906
906
|
try {
|
|
907
907
|
a = new Intl.PluralRules(n, { type: r });
|
|
908
908
|
} catch {
|
|
909
|
-
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
910
|
-
if (!e.match(/-|_/)) return
|
|
909
|
+
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), nn;
|
|
910
|
+
if (!e.match(/-|_/)) return nn;
|
|
911
911
|
let n = this.languageUtils.getLanguagePartFromCode(e);
|
|
912
912
|
a = this.getRule(n, t);
|
|
913
913
|
}
|
|
@@ -922,23 +922,23 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
922
922
|
}
|
|
923
923
|
getSuffixes(e, t = {}) {
|
|
924
924
|
let n = this.getRule(e, t);
|
|
925
|
-
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) =>
|
|
925
|
+
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => tn[e] - tn[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
|
|
926
926
|
}
|
|
927
927
|
getSuffix(e, t, n = {}) {
|
|
928
928
|
let r = this.getRule(e, n);
|
|
929
929
|
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));
|
|
930
930
|
}
|
|
931
|
-
},
|
|
932
|
-
let a =
|
|
933
|
-
return !a && i &&
|
|
934
|
-
},
|
|
931
|
+
}, an = (e, t, n, r = ".", i = !0) => {
|
|
932
|
+
let a = It(e, t, n);
|
|
933
|
+
return !a && i && k(n) && (a = Wt(e, n, r), a === void 0 && (a = Wt(t, n, r))), a;
|
|
934
|
+
}, on = (e) => e.replace(/\$/g, "$$$$"), sn = class {
|
|
935
935
|
constructor(e = {}) {
|
|
936
|
-
this.logger =
|
|
936
|
+
this.logger = P.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
|
|
937
937
|
}
|
|
938
938
|
init(e = {}) {
|
|
939
939
|
e.interpolation ||= { escapeValue: !0 };
|
|
940
940
|
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;
|
|
941
|
-
this.escape = t === void 0 ?
|
|
941
|
+
this.escape = t === void 0 ? zt : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? M(i) : a || "{{", this.suffix = o ? M(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? M(d) : f || M("$t("), this.nestingSuffix = p ? M(p) : m || M(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
|
|
942
942
|
}
|
|
943
943
|
reset() {
|
|
944
944
|
this.options && this.init(this.options);
|
|
@@ -950,7 +950,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
950
950
|
interpolate(e, t, n, r) {
|
|
951
951
|
let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
|
|
952
952
|
if (e.indexOf(this.formatSeparator) < 0) {
|
|
953
|
-
let i =
|
|
953
|
+
let i = an(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
954
954
|
return this.alwaysFormat ? this.format(i, void 0, n, {
|
|
955
955
|
...r,
|
|
956
956
|
...t,
|
|
@@ -958,7 +958,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
958
958
|
}) : i;
|
|
959
959
|
}
|
|
960
960
|
let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
|
|
961
|
-
return this.format(
|
|
961
|
+
return this.format(an(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
|
|
962
962
|
...r,
|
|
963
963
|
...t,
|
|
964
964
|
interpolationkey: a
|
|
@@ -968,22 +968,22 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
968
968
|
let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
|
|
969
969
|
return [{
|
|
970
970
|
regex: this.regexpUnescape,
|
|
971
|
-
safeValue: (e) =>
|
|
971
|
+
safeValue: (e) => on(e)
|
|
972
972
|
}, {
|
|
973
973
|
regex: this.regexp,
|
|
974
|
-
safeValue: (e) => this.escapeValue ?
|
|
974
|
+
safeValue: (e) => this.escapeValue ? on(this.escape(e)) : on(e)
|
|
975
975
|
}].forEach((t) => {
|
|
976
976
|
for (o = 0; i = t.regex.exec(e);) {
|
|
977
977
|
let n = i[1].trim();
|
|
978
978
|
if (a = c(n), a === void 0) if (typeof l == "function") {
|
|
979
979
|
let t = l(e, i, r);
|
|
980
|
-
a =
|
|
980
|
+
a = k(t) ? t : "";
|
|
981
981
|
} else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
|
|
982
982
|
else if (u) {
|
|
983
983
|
a = i[0];
|
|
984
984
|
continue;
|
|
985
985
|
} else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
|
|
986
|
-
else !
|
|
986
|
+
else !k(a) && !this.useRawValueToEscape && (a = Ot(a));
|
|
987
987
|
let s = t.safeValue(a);
|
|
988
988
|
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;
|
|
989
989
|
}
|
|
@@ -993,7 +993,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
993
993
|
let r, i, a, o = (e, t) => {
|
|
994
994
|
let n = this.nestingOptionsSeparator;
|
|
995
995
|
if (e.indexOf(n) < 0) return e;
|
|
996
|
-
let r = e.split(RegExp(`${
|
|
996
|
+
let r = e.split(RegExp(`${M(n)}[ ]*{`)), i = `{${r[1]}`;
|
|
997
997
|
e = r[0], i = this.interpolate(i, a);
|
|
998
998
|
let o = i.match(/'/g), s = i.match(/"/g);
|
|
999
999
|
((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
|
|
@@ -1009,17 +1009,17 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1009
1009
|
};
|
|
1010
1010
|
for (; r = this.nestingRegexp.exec(e);) {
|
|
1011
1011
|
let s = [];
|
|
1012
|
-
a = { ...n }, a = a.replace && !
|
|
1012
|
+
a = { ...n }, a = a.replace && !k(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
1013
1013
|
let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
1014
|
-
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 && !
|
|
1015
|
-
|
|
1014
|
+
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 && !k(i)) return i;
|
|
1015
|
+
k(i) || (i = Ot(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, {
|
|
1016
1016
|
...n,
|
|
1017
1017
|
interpolationkey: r[1].trim()
|
|
1018
1018
|
}), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
|
|
1019
1019
|
}
|
|
1020
1020
|
return e;
|
|
1021
1021
|
}
|
|
1022
|
-
},
|
|
1022
|
+
}, cn = (e) => {
|
|
1023
1023
|
let t = e.toLowerCase().trim(), n = {};
|
|
1024
1024
|
if (e.indexOf("(") > -1) {
|
|
1025
1025
|
let r = e.split("(");
|
|
@@ -1036,7 +1036,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1036
1036
|
formatName: t,
|
|
1037
1037
|
formatOptions: n
|
|
1038
1038
|
};
|
|
1039
|
-
},
|
|
1039
|
+
}, ln = (e) => {
|
|
1040
1040
|
let t = {};
|
|
1041
1041
|
return (n, r, i) => {
|
|
1042
1042
|
let a = i;
|
|
@@ -1045,15 +1045,15 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1045
1045
|
[i.interpolationkey]: void 0
|
|
1046
1046
|
});
|
|
1047
1047
|
let o = r + JSON.stringify(a), s = t[o];
|
|
1048
|
-
return s || (s = e(
|
|
1048
|
+
return s || (s = e(N(r), i), t[o] = s), s(n);
|
|
1049
1049
|
};
|
|
1050
|
-
},
|
|
1050
|
+
}, un = (e) => (t, n, r) => e(N(n), r)(t), dn = class {
|
|
1051
1051
|
constructor(e = {}) {
|
|
1052
|
-
this.logger =
|
|
1052
|
+
this.logger = P.create("formatter"), this.options = e, this.init(e);
|
|
1053
1053
|
}
|
|
1054
1054
|
init(e, t = { interpolation: {} }) {
|
|
1055
1055
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
1056
|
-
let n = t.cacheInBuiltFormats ?
|
|
1056
|
+
let n = t.cacheInBuiltFormats ? ln : un;
|
|
1057
1057
|
this.formats = {
|
|
1058
1058
|
number: n((e, t) => {
|
|
1059
1059
|
let n = new Intl.NumberFormat(e, { ...t });
|
|
@@ -1084,7 +1084,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1084
1084
|
this.formats[e.toLowerCase().trim()] = t;
|
|
1085
1085
|
}
|
|
1086
1086
|
addCached(e, t) {
|
|
1087
|
-
this.formats[e.toLowerCase().trim()] =
|
|
1087
|
+
this.formats[e.toLowerCase().trim()] = ln(t);
|
|
1088
1088
|
}
|
|
1089
1089
|
format(e, t, n, r = {}) {
|
|
1090
1090
|
let i = t.split(this.formatSeparator);
|
|
@@ -1093,7 +1093,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1093
1093
|
i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
|
|
1094
1094
|
}
|
|
1095
1095
|
return i.reduce((e, t) => {
|
|
1096
|
-
let { formatName: i, formatOptions: a } =
|
|
1096
|
+
let { formatName: i, formatOptions: a } = cn(t);
|
|
1097
1097
|
if (this.formats[i]) {
|
|
1098
1098
|
let t = e;
|
|
1099
1099
|
try {
|
|
@@ -1111,11 +1111,11 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1111
1111
|
return e;
|
|
1112
1112
|
}, e);
|
|
1113
1113
|
}
|
|
1114
|
-
},
|
|
1114
|
+
}, fn = (e, t) => {
|
|
1115
1115
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
1116
|
-
},
|
|
1116
|
+
}, pn = class extends Kt {
|
|
1117
1117
|
constructor(e, t, n, r = {}) {
|
|
1118
|
-
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger =
|
|
1118
|
+
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = P.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);
|
|
1119
1119
|
}
|
|
1120
1120
|
queueLoad(e, t, n, r) {
|
|
1121
1121
|
let i = {}, a = {}, o = {}, s = {};
|
|
@@ -1143,7 +1143,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1143
1143
|
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);
|
|
1144
1144
|
let o = {};
|
|
1145
1145
|
this.queue.forEach((n) => {
|
|
1146
|
-
|
|
1146
|
+
Pt(n.loaded, [i], a), fn(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
|
|
1147
1147
|
o[e] || (o[e] = {});
|
|
1148
1148
|
let t = n.loaded[e];
|
|
1149
1149
|
t.length && t.forEach((t) => {
|
|
@@ -1192,7 +1192,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1192
1192
|
}
|
|
1193
1193
|
prepareLoading(e, t, n = {}, r) {
|
|
1194
1194
|
if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
|
|
1195
|
-
|
|
1195
|
+
k(e) && (e = this.languageUtils.toResolveHierarchy(e)), k(t) && (t = [t]);
|
|
1196
1196
|
let i = this.queueLoad(e, t, n, r);
|
|
1197
1197
|
if (!i.toLoad.length) return i.pending.length || r(), null;
|
|
1198
1198
|
i.toLoad.forEach((e) => {
|
|
@@ -1233,7 +1233,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1233
1233
|
!e || !e[0] || this.store.addResource(e[0], t, n, r);
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
|
-
},
|
|
1236
|
+
}, mn = () => ({
|
|
1237
1237
|
debug: !1,
|
|
1238
1238
|
initAsync: !0,
|
|
1239
1239
|
ns: ["translation"],
|
|
@@ -1268,7 +1268,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1268
1268
|
appendNamespaceToCIMode: !1,
|
|
1269
1269
|
overloadTranslationOptionHandler: (e) => {
|
|
1270
1270
|
let t = {};
|
|
1271
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
1271
|
+
if (typeof e[1] == "object" && (t = e[1]), k(e[1]) && (t.defaultValue = e[1]), k(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
1272
1272
|
let n = e[3] || e[2];
|
|
1273
1273
|
Object.keys(n).forEach((e) => {
|
|
1274
1274
|
t[e] = n[e];
|
|
@@ -1290,15 +1290,15 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1290
1290
|
skipOnVariables: !0
|
|
1291
1291
|
},
|
|
1292
1292
|
cacheInBuiltFormats: !0
|
|
1293
|
-
}),
|
|
1293
|
+
}), hn = (e) => (k(e.ns) && (e.ns = [e.ns]), k(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), k(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), gn = () => {}, _n = (e) => {
|
|
1294
1294
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
|
|
1295
1295
|
typeof e[t] == "function" && (e[t] = e[t].bind(e));
|
|
1296
1296
|
});
|
|
1297
|
-
},
|
|
1298
|
-
typeof globalThis < "u" && (globalThis[
|
|
1299
|
-
},
|
|
1297
|
+
}, vn = "__i18next_supportNoticeShown", yn = () => !!(typeof globalThis < "u" && globalThis[vn] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), bn = () => {
|
|
1298
|
+
typeof globalThis < "u" && (globalThis[vn] = !0);
|
|
1299
|
+
}, xn = (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)), I = class e extends Kt {
|
|
1300
1300
|
constructor(e = {}, t) {
|
|
1301
|
-
if (super(), this.options =
|
|
1301
|
+
if (super(), this.options = hn(e), this.services = {}, this.logger = P, this.modules = { external: [] }, _n(this), t && !this.isInitialized && !e.isClone) {
|
|
1302
1302
|
if (!this.options.initAsync) return this.init(e, t), this;
|
|
1303
1303
|
setTimeout(() => {
|
|
1304
1304
|
this.init(e, t);
|
|
@@ -1306,36 +1306,36 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
1308
|
init(e = {}, t) {
|
|
1309
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (
|
|
1310
|
-
let n =
|
|
1309
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (k(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1310
|
+
let n = mn();
|
|
1311
1311
|
this.options = {
|
|
1312
1312
|
...n,
|
|
1313
1313
|
...this.options,
|
|
1314
|
-
...
|
|
1314
|
+
...hn(e)
|
|
1315
1315
|
}, this.options.interpolation = {
|
|
1316
1316
|
...n.interpolation,
|
|
1317
1317
|
...this.options.interpolation
|
|
1318
|
-
}, 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 && !
|
|
1318
|
+
}, 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 && !xn(this) && !yn() && (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 💙"), bn());
|
|
1319
1319
|
let r = (e) => e ? typeof e == "function" ? new e() : e : null;
|
|
1320
1320
|
if (!this.options.isClone) {
|
|
1321
|
-
this.modules.logger ?
|
|
1321
|
+
this.modules.logger ? P.init(r(this.modules.logger), this.options) : P.init(null, this.options);
|
|
1322
1322
|
let e;
|
|
1323
|
-
e = this.modules.formatter ? this.modules.formatter :
|
|
1324
|
-
let t = new
|
|
1325
|
-
this.store = new
|
|
1323
|
+
e = this.modules.formatter ? this.modules.formatter : dn;
|
|
1324
|
+
let t = new en(this.options);
|
|
1325
|
+
this.store = new qt(this.options.resources, this.options);
|
|
1326
1326
|
let i = this.services;
|
|
1327
|
-
i.logger =
|
|
1327
|
+
i.logger = P, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new rn(t, {
|
|
1328
1328
|
prepend: this.options.pluralSeparator,
|
|
1329
1329
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1330
|
-
}), 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
|
|
1330
|
+
}), 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 sn(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new pn(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
|
|
1331
1331
|
this.emit(e, ...t);
|
|
1332
|
-
}), 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
|
|
1332
|
+
}), 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 $t(this.services, this.options), this.translator.on("*", (e, ...t) => {
|
|
1333
1333
|
this.emit(e, ...t);
|
|
1334
1334
|
}), this.modules.external.forEach((e) => {
|
|
1335
1335
|
e.init && e.init(this);
|
|
1336
1336
|
});
|
|
1337
1337
|
}
|
|
1338
|
-
if (this.format = this.options.interpolation.format, t ||=
|
|
1338
|
+
if (this.format = this.options.interpolation.format, t ||= gn, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1339
1339
|
let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1340
1340
|
e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
|
|
1341
1341
|
}
|
|
@@ -1354,7 +1354,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1354
1354
|
].forEach((e) => {
|
|
1355
1355
|
this[e] = (...t) => (this.store[e](...t), this);
|
|
1356
1356
|
});
|
|
1357
|
-
let i =
|
|
1357
|
+
let i = A(), a = () => {
|
|
1358
1358
|
let e = (e, n) => {
|
|
1359
1359
|
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);
|
|
1360
1360
|
};
|
|
@@ -1363,8 +1363,8 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1363
1363
|
};
|
|
1364
1364
|
return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
|
|
1365
1365
|
}
|
|
1366
|
-
loadResources(e, t =
|
|
1367
|
-
let n = t, r =
|
|
1366
|
+
loadResources(e, t = gn) {
|
|
1367
|
+
let n = t, r = k(e) ? e : this.language;
|
|
1368
1368
|
if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1369
1369
|
if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
1370
1370
|
let e = [], t = (t) => {
|
|
@@ -1378,15 +1378,15 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1378
1378
|
} else n(null);
|
|
1379
1379
|
}
|
|
1380
1380
|
reloadResources(e, t, n) {
|
|
1381
|
-
let r =
|
|
1382
|
-
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 ||=
|
|
1381
|
+
let r = A();
|
|
1382
|
+
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 ||= gn, this.services.backendConnector.reload(e, t, (e) => {
|
|
1383
1383
|
r.resolve(), n(e);
|
|
1384
1384
|
}), r;
|
|
1385
1385
|
}
|
|
1386
1386
|
use(e) {
|
|
1387
1387
|
if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1388
1388
|
if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1389
|
-
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" &&
|
|
1389
|
+
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" && Jt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1390
1390
|
}
|
|
1391
1391
|
setResolvedLanguage(e) {
|
|
1392
1392
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
|
|
@@ -1402,7 +1402,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1402
1402
|
}
|
|
1403
1403
|
changeLanguage(e, t) {
|
|
1404
1404
|
this.isLanguageChangingTo = e;
|
|
1405
|
-
let n =
|
|
1405
|
+
let n = A();
|
|
1406
1406
|
this.emit("languageChanging", e);
|
|
1407
1407
|
let r = (e) => {
|
|
1408
1408
|
this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
|
|
@@ -1410,7 +1410,7 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1410
1410
|
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));
|
|
1411
1411
|
}, a = (t) => {
|
|
1412
1412
|
!e && !t && this.services.languageDetector && (t = []);
|
|
1413
|
-
let n =
|
|
1413
|
+
let n = k(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(k(t) ? [t] : t);
|
|
1414
1414
|
a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
|
|
1415
1415
|
i(e, a);
|
|
1416
1416
|
});
|
|
@@ -1425,11 +1425,11 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1425
1425
|
...this.options,
|
|
1426
1426
|
...a
|
|
1427
1427
|
};
|
|
1428
|
-
typeof a.keyPrefix == "function" && (a.keyPrefix =
|
|
1428
|
+
typeof a.keyPrefix == "function" && (a.keyPrefix = F(a.keyPrefix, o));
|
|
1429
1429
|
let s = this.options.keySeparator || ".", c;
|
|
1430
|
-
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e =
|
|
1430
|
+
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = F(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = F(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
|
|
1431
1431
|
};
|
|
1432
|
-
return
|
|
1432
|
+
return k(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
|
|
1433
1433
|
}
|
|
1434
1434
|
t(...e) {
|
|
1435
1435
|
return this.translator?.translate(...e);
|
|
@@ -1456,16 +1456,16 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1456
1456
|
return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
|
|
1457
1457
|
}
|
|
1458
1458
|
loadNamespaces(e, t) {
|
|
1459
|
-
let n =
|
|
1460
|
-
return this.options.ns ? (
|
|
1459
|
+
let n = A();
|
|
1460
|
+
return this.options.ns ? (k(e) && (e = [e]), e.forEach((e) => {
|
|
1461
1461
|
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
1462
1462
|
}), this.loadResources((e) => {
|
|
1463
1463
|
n.resolve(), t && t(e);
|
|
1464
1464
|
}), n) : (t && t(), Promise.resolve());
|
|
1465
1465
|
}
|
|
1466
1466
|
loadLanguages(e, t) {
|
|
1467
|
-
let n =
|
|
1468
|
-
|
|
1467
|
+
let n = A();
|
|
1468
|
+
k(e) && (e = [e]);
|
|
1469
1469
|
let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
|
|
1470
1470
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
|
|
1471
1471
|
n.resolve(), t && t(e);
|
|
@@ -1480,14 +1480,14 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1480
1480
|
if (e && e.direction) return e.direction;
|
|
1481
1481
|
}
|
|
1482
1482
|
} catch {}
|
|
1483
|
-
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
|
|
1483
|
+
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 en(mn());
|
|
1484
1484
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1485
1485
|
}
|
|
1486
1486
|
static createInstance(t = {}, n) {
|
|
1487
1487
|
let r = new e(t, n);
|
|
1488
1488
|
return r.createInstance = e.createInstance, r;
|
|
1489
1489
|
}
|
|
1490
|
-
cloneInstance(t = {}, n =
|
|
1490
|
+
cloneInstance(t = {}, n = gn) {
|
|
1491
1491
|
let r = t.forkResourceStore;
|
|
1492
1492
|
r && delete t.forkResourceStore;
|
|
1493
1493
|
let i = {
|
|
@@ -1501,18 +1501,18 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1501
1501
|
"language"
|
|
1502
1502
|
].forEach((e) => {
|
|
1503
1503
|
a[e] = this[e];
|
|
1504
|
-
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new
|
|
1504
|
+
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new qt(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) {
|
|
1505
1505
|
let e = {
|
|
1506
|
-
...
|
|
1506
|
+
...mn().interpolation,
|
|
1507
1507
|
...this.options.interpolation,
|
|
1508
1508
|
...t.interpolation
|
|
1509
1509
|
}, n = {
|
|
1510
1510
|
...i,
|
|
1511
1511
|
interpolation: e
|
|
1512
1512
|
};
|
|
1513
|
-
a.services.interpolator = new
|
|
1513
|
+
a.services.interpolator = new sn(n);
|
|
1514
1514
|
}
|
|
1515
|
-
return a.translator = new
|
|
1515
|
+
return a.translator = new $t(a.services, i), a.translator.on("*", (e, ...t) => {
|
|
1516
1516
|
a.emit(e, ...t);
|
|
1517
1517
|
}), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
|
|
1518
1518
|
}
|
|
@@ -1526,10 +1526,10 @@ var Xt = {}, Zt = (e) => !A(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1526
1526
|
};
|
|
1527
1527
|
}
|
|
1528
1528
|
}.createInstance();
|
|
1529
|
-
|
|
1529
|
+
I.createInstance, I.dir, I.init, I.loadResources, I.reloadResources, I.use, I.changeLanguage, I.getFixedT, I.t, I.exists, I.setDefaultNamespace, I.hasLoadedNamespace, I.loadNamespaces, I.loadLanguages;
|
|
1530
1530
|
//#endregion
|
|
1531
1531
|
//#region ../node_modules/i18next-resources-to-backend/dist/esm/index.js
|
|
1532
|
-
var
|
|
1532
|
+
var Sn = function(e) {
|
|
1533
1533
|
return {
|
|
1534
1534
|
type: "backend",
|
|
1535
1535
|
init: function(e, t, n) {},
|
|
@@ -1552,7 +1552,7 @@ var xn = function(e) {
|
|
|
1552
1552
|
r(null, e && e[t] && e[t][n]);
|
|
1553
1553
|
}
|
|
1554
1554
|
};
|
|
1555
|
-
},
|
|
1555
|
+
}, Cn = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, wn = {
|
|
1556
1556
|
"&": "&",
|
|
1557
1557
|
"&": "&",
|
|
1558
1558
|
"<": "<",
|
|
@@ -1573,7 +1573,7 @@ var xn = function(e) {
|
|
|
1573
1573
|
"…": "…",
|
|
1574
1574
|
"/": "/",
|
|
1575
1575
|
"/": "/"
|
|
1576
|
-
},
|
|
1576
|
+
}, Tn = (e) => wn[e], En = (e) => e.replace(Cn, Tn), Dn = {
|
|
1577
1577
|
bindI18n: "languageChanged",
|
|
1578
1578
|
bindI18nStore: "",
|
|
1579
1579
|
transEmptyNodeValue: "",
|
|
@@ -1586,21 +1586,21 @@ var xn = function(e) {
|
|
|
1586
1586
|
"p"
|
|
1587
1587
|
],
|
|
1588
1588
|
useSuspense: !0,
|
|
1589
|
-
unescape:
|
|
1589
|
+
unescape: En,
|
|
1590
1590
|
transDefaultProps: void 0
|
|
1591
|
-
},
|
|
1592
|
-
|
|
1593
|
-
...
|
|
1591
|
+
}, On = (e = {}) => {
|
|
1592
|
+
Dn = {
|
|
1593
|
+
...Dn,
|
|
1594
1594
|
...e
|
|
1595
1595
|
};
|
|
1596
|
-
},
|
|
1597
|
-
|
|
1598
|
-
},
|
|
1596
|
+
}, kn = () => Dn, An, jn = (e) => {
|
|
1597
|
+
An = e;
|
|
1598
|
+
}, Mn = () => An, Nn = {
|
|
1599
1599
|
type: "3rdParty",
|
|
1600
1600
|
init(e) {
|
|
1601
|
-
|
|
1601
|
+
On(e.options.react), jn(e);
|
|
1602
1602
|
}
|
|
1603
|
-
},
|
|
1603
|
+
}, Pn = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
|
|
1604
1604
|
var n = (function() {
|
|
1605
1605
|
function e(e, t) {
|
|
1606
1606
|
return t != null && e instanceof t;
|
|
@@ -1665,9 +1665,9 @@ var xn = function(e) {
|
|
|
1665
1665
|
var x = b[v], S = Object.getOwnPropertyDescriptor(a, x);
|
|
1666
1666
|
S && !S.enumerable && !u || (h[x] = m(a[x], s - 1), S.enumerable || Object.defineProperty(h, x, { enumerable: !1 }));
|
|
1667
1667
|
}
|
|
1668
|
-
if (u) for (var
|
|
1669
|
-
var
|
|
1670
|
-
S && S.enumerable || (h[
|
|
1668
|
+
if (u) for (var ee = Object.getOwnPropertyNames(a), v = 0; v < ee.length; v++) {
|
|
1669
|
+
var C = ee[v], S = Object.getOwnPropertyDescriptor(a, C);
|
|
1670
|
+
S && S.enumerable || (h[C] = m(a[C], s - 1), Object.defineProperty(h, C, { enumerable: !1 }));
|
|
1671
1671
|
}
|
|
1672
1672
|
return h;
|
|
1673
1673
|
}
|
|
@@ -1702,13 +1702,13 @@ var xn = function(e) {
|
|
|
1702
1702
|
})();
|
|
1703
1703
|
typeof t == "object" && t.exports && (t.exports = n);
|
|
1704
1704
|
})))(), 1);
|
|
1705
|
-
function
|
|
1705
|
+
function Fn(e) {
|
|
1706
1706
|
return Array.isArray(e) ? !1 : typeof e != "object" || Object.keys(e).length === 0;
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1709
|
-
return (0,
|
|
1708
|
+
function In(e) {
|
|
1709
|
+
return (0, Pn.default)(e);
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function Ln(...e) {
|
|
1712
1712
|
let t = (e) => e && typeof e == "object";
|
|
1713
1713
|
function n(e, r) {
|
|
1714
1714
|
return Object.keys(r).forEach((i) => {
|
|
@@ -1722,124 +1722,124 @@ function In(...e) {
|
|
|
1722
1722
|
for (; i = e.shift();) n(r, i);
|
|
1723
1723
|
return r;
|
|
1724
1724
|
}
|
|
1725
|
-
var
|
|
1726
|
-
function
|
|
1727
|
-
if (!
|
|
1725
|
+
var Rn = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
1726
|
+
function zn(e, t) {
|
|
1727
|
+
if (!Rn(e) || !Rn(t)) return t === void 0 ? e : t;
|
|
1728
1728
|
let n = { ...e };
|
|
1729
1729
|
return Object.keys(t).forEach((e) => {
|
|
1730
|
-
n[e] =
|
|
1730
|
+
n[e] = zn(n[e], t[e]);
|
|
1731
1731
|
}), n;
|
|
1732
1732
|
}
|
|
1733
1733
|
//#endregion
|
|
1734
1734
|
//#region src/lib/intl/i18next.ts
|
|
1735
|
-
var
|
|
1735
|
+
var L = {
|
|
1736
1736
|
DEFAULT: "default",
|
|
1737
1737
|
THEME: "theme",
|
|
1738
1738
|
OPTIONS: "options"
|
|
1739
1739
|
};
|
|
1740
|
-
|
|
1741
|
-
|
|
1740
|
+
I.on("missingKey", (e, t, n, r) => {
|
|
1741
|
+
E.warn(`i18next: MISSING KEY in ${t}.${n} for languages: ${e.join(", ")}`, { result: r });
|
|
1742
1742
|
});
|
|
1743
|
-
function
|
|
1743
|
+
function Bn(e, t) {
|
|
1744
1744
|
if (typeof t != "object") return;
|
|
1745
1745
|
let n = {};
|
|
1746
1746
|
return Object.entries(t).forEach(([t, r]) => {
|
|
1747
|
-
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] =
|
|
1747
|
+
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] = Bn(e, r));
|
|
1748
1748
|
}), n;
|
|
1749
1749
|
}
|
|
1750
|
-
async function
|
|
1750
|
+
async function Vn(e, t) {
|
|
1751
1751
|
let n = await ni(e), r;
|
|
1752
1752
|
switch (t) {
|
|
1753
1753
|
case "default": {
|
|
1754
|
-
let e = Object.entries(n.segmentMessages).map(([e, t]) =>
|
|
1755
|
-
r =
|
|
1754
|
+
let e = Object.entries(n.segmentMessages).map(([e, t]) => Bn(e, t));
|
|
1755
|
+
r = Ln({}, n.defaultMessages, ...e);
|
|
1756
1756
|
break;
|
|
1757
1757
|
}
|
|
1758
1758
|
case "theme": break;
|
|
1759
1759
|
case "options": break;
|
|
1760
|
-
default:
|
|
1760
|
+
default: E.error("Unexpected namespace resource request", t);
|
|
1761
1761
|
}
|
|
1762
1762
|
return r;
|
|
1763
1763
|
}
|
|
1764
|
-
var
|
|
1764
|
+
var Hn = {
|
|
1765
1765
|
debug: !1,
|
|
1766
1766
|
partialBundledLanguages: !0,
|
|
1767
|
-
ns: Object.values(
|
|
1768
|
-
defaultNS:
|
|
1769
|
-
fallbackNS: [
|
|
1767
|
+
ns: Object.values(L),
|
|
1768
|
+
defaultNS: L.OPTIONS,
|
|
1769
|
+
fallbackNS: [L.THEME, L.DEFAULT],
|
|
1770
1770
|
fallbackLng: !1,
|
|
1771
1771
|
react: { transSupportBasicHtmlNodes: !1 },
|
|
1772
1772
|
showSupportNotice: !1
|
|
1773
1773
|
};
|
|
1774
|
-
|
|
1775
|
-
function
|
|
1774
|
+
I.use(Nn).use(Sn(Vn)).init(Hn);
|
|
1775
|
+
function Un(e, t = I) {
|
|
1776
1776
|
e && Object.entries(e).forEach(([e, n]) => {
|
|
1777
|
-
n && t.addResourceBundle(e,
|
|
1777
|
+
n && t.addResourceBundle(e, L.OPTIONS, n, !1, !0);
|
|
1778
1778
|
});
|
|
1779
1779
|
}
|
|
1780
|
-
var
|
|
1780
|
+
var Wn = I, Gn = /* @__PURE__ */ function(e) {
|
|
1781
1781
|
return e.TRUE = "true", e.FALSE = "false", e;
|
|
1782
|
-
}({}),
|
|
1782
|
+
}({}), Kn = ["sheerid.com"], qn = /* @__PURE__ */ function(e) {
|
|
1783
1783
|
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;
|
|
1784
|
-
}({}), qn = /* @__PURE__ */ function(e) {
|
|
1785
|
-
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;
|
|
1786
1784
|
}({}), Jn = /* @__PURE__ */ function(e) {
|
|
1785
|
+
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;
|
|
1786
|
+
}({}), Yn = /* @__PURE__ */ function(e) {
|
|
1787
1787
|
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;
|
|
1788
1788
|
}({});
|
|
1789
|
-
function
|
|
1790
|
-
if (
|
|
1789
|
+
function Xn(e, t, n) {
|
|
1790
|
+
if (p()) return E.info("Not able to track");
|
|
1791
1791
|
try {
|
|
1792
1792
|
return window.gtag(e, t, n);
|
|
1793
1793
|
} catch (n) {
|
|
1794
|
-
|
|
1794
|
+
E.warn(`Failed ${e}:${t} event`, n);
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
|
-
var
|
|
1797
|
+
var Zn = async (e) => {
|
|
1798
1798
|
try {
|
|
1799
1799
|
let t = {
|
|
1800
|
-
...await
|
|
1800
|
+
...await f() || {},
|
|
1801
1801
|
...e.params
|
|
1802
1802
|
};
|
|
1803
|
-
|
|
1803
|
+
Xn("event", e.eventName, t), m() && window.NREUM.addPageAction(e.eventName, t);
|
|
1804
1804
|
} catch (e) {
|
|
1805
|
-
|
|
1805
|
+
E.error(e);
|
|
1806
1806
|
}
|
|
1807
|
-
},
|
|
1808
|
-
|
|
1807
|
+
}, Qn = async (e, t) => {
|
|
1808
|
+
Zn({
|
|
1809
1809
|
eventName: e,
|
|
1810
1810
|
params: t
|
|
1811
1811
|
});
|
|
1812
|
-
},
|
|
1813
|
-
if (
|
|
1814
|
-
|
|
1812
|
+
}, $n = (e, t) => {
|
|
1813
|
+
if (d({ [e]: t }), !p()) try {
|
|
1814
|
+
Xn("set", "user_properties", { [e]: t });
|
|
1815
1815
|
} catch (t) {
|
|
1816
|
-
|
|
1816
|
+
E.warn(`Failed to set ${e}`, t);
|
|
1817
1817
|
}
|
|
1818
|
-
},
|
|
1818
|
+
}, er = (e) => {
|
|
1819
1819
|
try {
|
|
1820
|
-
|
|
1820
|
+
d({
|
|
1821
1821
|
verificationId: e.verificationId,
|
|
1822
1822
|
segment: e.segment,
|
|
1823
1823
|
subSegment: e.subSegment,
|
|
1824
1824
|
step: e.currentStep
|
|
1825
1825
|
});
|
|
1826
1826
|
} catch (e) {
|
|
1827
|
-
|
|
1827
|
+
E.warn(e);
|
|
1828
1828
|
}
|
|
1829
|
-
},
|
|
1829
|
+
}, tr = $n, nr = (e) => {
|
|
1830
1830
|
try {
|
|
1831
1831
|
let { email: t } = e;
|
|
1832
|
-
t &&
|
|
1832
|
+
t && Kn.filter((e) => t.indexOf(e) > -1).length > 0 && tr("testRequest", "true");
|
|
1833
1833
|
} catch (e) {
|
|
1834
|
-
|
|
1834
|
+
E.warn("Error setting testRequest dimension", e);
|
|
1835
1835
|
}
|
|
1836
1836
|
};
|
|
1837
|
-
function
|
|
1837
|
+
function rr() {
|
|
1838
1838
|
try {
|
|
1839
1839
|
if (PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")) {
|
|
1840
1840
|
let e = new PerformanceObserver((t) => {
|
|
1841
1841
|
let n = t.getEntries(), r = n[n.length - 1];
|
|
1842
|
-
|
|
1842
|
+
E.log("Performance:", "largestContentfulPaint", r.startTime), ar("largestContentfulPaint", r.startTime), e.disconnect();
|
|
1843
1843
|
});
|
|
1844
1844
|
e.observe({
|
|
1845
1845
|
type: "largest-contentful-paint",
|
|
@@ -1851,7 +1851,7 @@ function nr() {
|
|
|
1851
1851
|
let n = t.getEntries();
|
|
1852
1852
|
n = n.filter((e) => e.name === "initialStepLoad");
|
|
1853
1853
|
let r = n[0];
|
|
1854
|
-
r && (
|
|
1854
|
+
r && (E.log("Performance:", "initialStepLoad", r.startTime), ar("initialStepLoad", r.startTime), e.disconnect());
|
|
1855
1855
|
});
|
|
1856
1856
|
e.observe({
|
|
1857
1857
|
type: "mark",
|
|
@@ -1859,78 +1859,78 @@ function nr() {
|
|
|
1859
1859
|
});
|
|
1860
1860
|
}
|
|
1861
1861
|
} catch (e) {
|
|
1862
|
-
|
|
1862
|
+
E.warn("Error setting up observePerformanceMetrics", e);
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
|
-
var
|
|
1866
|
-
|
|
1865
|
+
var ir = (e, t = "") => {
|
|
1866
|
+
Xn("event", "Verification", {
|
|
1867
1867
|
step: e,
|
|
1868
1868
|
step_action: t
|
|
1869
1869
|
});
|
|
1870
|
-
},
|
|
1871
|
-
|
|
1870
|
+
}, ar = (e, t) => {
|
|
1871
|
+
Xn("event", "Performance", {
|
|
1872
1872
|
name: e,
|
|
1873
1873
|
value: t
|
|
1874
1874
|
});
|
|
1875
1875
|
};
|
|
1876
1876
|
//#endregion
|
|
1877
1877
|
//#region ../node_modules/immer/dist/immer.esm.mjs
|
|
1878
|
-
function
|
|
1878
|
+
function R(e) {
|
|
1879
1879
|
var t = [...arguments].slice(1);
|
|
1880
1880
|
throw Error("[Immer] minified error nr: " + e + (t.length ? " " + t.map((function(e) {
|
|
1881
1881
|
return "'" + e + "'";
|
|
1882
1882
|
})).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1885
|
-
return !!e && !!e[
|
|
1884
|
+
function z(e) {
|
|
1885
|
+
return !!e && !!e[J];
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1887
|
+
function B(e) {
|
|
1888
1888
|
return !!e && (function(e) {
|
|
1889
1889
|
if (!e || typeof e != "object") return !1;
|
|
1890
1890
|
var t = Object.getPrototypeOf(e);
|
|
1891
1891
|
if (t === null) return !0;
|
|
1892
1892
|
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
1893
|
-
return n === Object || typeof n == "function" && Function.toString.call(n) ===
|
|
1894
|
-
}(e) || Array.isArray(e) || !!e[
|
|
1893
|
+
return n === Object || typeof n == "function" && Function.toString.call(n) === Br;
|
|
1894
|
+
}(e) || Array.isArray(e) || !!e[zr] || !!e.constructor?.[zr] || lr(e) || ur(e));
|
|
1895
1895
|
}
|
|
1896
|
-
function
|
|
1897
|
-
n === void 0 && (n = !1),
|
|
1896
|
+
function V(e, t, n) {
|
|
1897
|
+
n === void 0 && (n = !1), H(e) === 0 ? (n ? Object.keys : Y)(e).forEach((function(r) {
|
|
1898
1898
|
n && typeof r == "symbol" || t(r, e[r], e);
|
|
1899
1899
|
})) : e.forEach((function(n, r) {
|
|
1900
1900
|
return t(r, n, e);
|
|
1901
1901
|
}));
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1904
|
-
var t = e[
|
|
1905
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 :
|
|
1903
|
+
function H(e) {
|
|
1904
|
+
var t = e[J];
|
|
1905
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : lr(e) ? 2 : ur(e) ? 3 : 0;
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1908
|
-
return
|
|
1907
|
+
function U(e, t) {
|
|
1908
|
+
return H(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
1909
1909
|
}
|
|
1910
|
-
function
|
|
1911
|
-
return
|
|
1910
|
+
function or(e, t) {
|
|
1911
|
+
return H(e) === 2 ? e.get(t) : e[t];
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1914
|
-
var r =
|
|
1913
|
+
function sr(e, t, n) {
|
|
1914
|
+
var r = H(e);
|
|
1915
1915
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
1916
1916
|
}
|
|
1917
|
-
function
|
|
1917
|
+
function cr(e, t) {
|
|
1918
1918
|
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
1919
1919
|
}
|
|
1920
|
-
function cr(e) {
|
|
1921
|
-
return Pr && e instanceof Map;
|
|
1922
|
-
}
|
|
1923
1920
|
function lr(e) {
|
|
1924
|
-
return Fr && e instanceof
|
|
1921
|
+
return Fr && e instanceof Map;
|
|
1925
1922
|
}
|
|
1926
|
-
function
|
|
1923
|
+
function ur(e) {
|
|
1924
|
+
return Ir && e instanceof Set;
|
|
1925
|
+
}
|
|
1926
|
+
function W(e) {
|
|
1927
1927
|
return e.o || e.t;
|
|
1928
1928
|
}
|
|
1929
|
-
function
|
|
1929
|
+
function dr(e) {
|
|
1930
1930
|
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
1931
|
-
var t =
|
|
1932
|
-
delete t[
|
|
1933
|
-
for (var n =
|
|
1931
|
+
var t = Vr(e);
|
|
1932
|
+
delete t[J];
|
|
1933
|
+
for (var n = Y(t), r = 0; r < n.length; r++) {
|
|
1934
1934
|
var i = n[r], a = t[i];
|
|
1935
1935
|
!1 === a.writable && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {
|
|
1936
1936
|
configurable: !0,
|
|
@@ -1941,107 +1941,107 @@ function ur(e) {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
return Object.create(Object.getPrototypeOf(e), t);
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
return t === void 0 && (t = !1),
|
|
1946
|
-
return
|
|
1944
|
+
function fr(e, t) {
|
|
1945
|
+
return t === void 0 && (t = !1), mr(e) || z(e) || !B(e) || (H(e) > 1 && (e.set = e.add = e.clear = e.delete = pr), Object.freeze(e), t && V(e, (function(e, t) {
|
|
1946
|
+
return fr(t, !0);
|
|
1947
1947
|
}), !0)), e;
|
|
1948
1948
|
}
|
|
1949
|
-
function
|
|
1950
|
-
|
|
1949
|
+
function pr() {
|
|
1950
|
+
R(2);
|
|
1951
1951
|
}
|
|
1952
|
-
function
|
|
1952
|
+
function mr(e) {
|
|
1953
1953
|
return typeof e != "object" || !e || Object.isFrozen(e);
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1956
|
-
var t =
|
|
1957
|
-
return t ||
|
|
1958
|
-
}
|
|
1959
|
-
function mr(e, t) {
|
|
1960
|
-
Vr[e] || (Vr[e] = t);
|
|
1955
|
+
function G(e) {
|
|
1956
|
+
var t = Hr[e];
|
|
1957
|
+
return t || R(18, e), t;
|
|
1961
1958
|
}
|
|
1962
|
-
function hr() {
|
|
1963
|
-
|
|
1959
|
+
function hr(e, t) {
|
|
1960
|
+
Hr[e] || (Hr[e] = t);
|
|
1964
1961
|
}
|
|
1965
|
-
function gr(
|
|
1966
|
-
|
|
1962
|
+
function gr() {
|
|
1963
|
+
return q;
|
|
1967
1964
|
}
|
|
1968
|
-
function _r(e) {
|
|
1969
|
-
|
|
1965
|
+
function _r(e, t) {
|
|
1966
|
+
t && (G("Patches"), e.u = [], e.s = [], e.v = t);
|
|
1970
1967
|
}
|
|
1971
1968
|
function vr(e) {
|
|
1972
|
-
e
|
|
1969
|
+
yr(e), e.p.forEach(xr), e.p = null;
|
|
1973
1970
|
}
|
|
1974
1971
|
function yr(e) {
|
|
1975
|
-
|
|
1972
|
+
e === q && (q = e.l);
|
|
1973
|
+
}
|
|
1974
|
+
function br(e) {
|
|
1975
|
+
return q = {
|
|
1976
1976
|
p: [],
|
|
1977
|
-
l:
|
|
1977
|
+
l: q,
|
|
1978
1978
|
h: e,
|
|
1979
1979
|
m: !0,
|
|
1980
1980
|
_: 0
|
|
1981
1981
|
};
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1984
|
-
var t = e[
|
|
1983
|
+
function xr(e) {
|
|
1984
|
+
var t = e[J];
|
|
1985
1985
|
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
1986
1986
|
}
|
|
1987
|
-
function
|
|
1987
|
+
function Sr(e, t) {
|
|
1988
1988
|
t._ = t.p.length;
|
|
1989
1989
|
var n = t.p[0], r = e !== void 0 && e !== n;
|
|
1990
|
-
return t.h.O ||
|
|
1990
|
+
return t.h.O || G("ES5").S(t, e, r), r ? (n[J].P && (vr(t), R(4)), B(e) && (e = Cr(t, e), t.l || Tr(t, e)), t.u && G("Patches").M(n[J].t, e, t.u, t.s)) : e = Cr(t, n, []), vr(t), t.u && t.v(t.u, t.s), e === Rr ? void 0 : e;
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1993
|
-
if (
|
|
1994
|
-
var r = t[
|
|
1995
|
-
if (!r) return
|
|
1996
|
-
return
|
|
1992
|
+
function Cr(e, t, n) {
|
|
1993
|
+
if (mr(t)) return t;
|
|
1994
|
+
var r = t[J];
|
|
1995
|
+
if (!r) return V(t, (function(i, a) {
|
|
1996
|
+
return wr(e, r, t, i, a, n);
|
|
1997
1997
|
}), !0), t;
|
|
1998
1998
|
if (r.A !== e) return t;
|
|
1999
|
-
if (!r.P) return
|
|
1999
|
+
if (!r.P) return Tr(e, r.t, !0), r.t;
|
|
2000
2000
|
if (!r.I) {
|
|
2001
2001
|
r.I = !0, r.A._--;
|
|
2002
|
-
var i = r.i === 4 || r.i === 5 ? r.o =
|
|
2003
|
-
r.i === 3 && (a = new Set(i), i.clear(), o = !0),
|
|
2004
|
-
return
|
|
2005
|
-
})),
|
|
2002
|
+
var i = r.i === 4 || r.i === 5 ? r.o = dr(r.k) : r.o, a = i, o = !1;
|
|
2003
|
+
r.i === 3 && (a = new Set(i), i.clear(), o = !0), V(a, (function(t, a) {
|
|
2004
|
+
return wr(e, r, i, t, a, n, o);
|
|
2005
|
+
})), Tr(e, i, !1), n && e.u && G("Patches").N(r, n, e.u, e.s);
|
|
2006
2006
|
}
|
|
2007
2007
|
return r.o;
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2010
|
-
if (
|
|
2011
|
-
var s =
|
|
2012
|
-
if (
|
|
2009
|
+
function wr(e, t, n, r, i, a, o) {
|
|
2010
|
+
if (z(i)) {
|
|
2011
|
+
var s = Cr(e, i, a && t && t.i !== 3 && !U(t.R, r) ? a.concat(r) : void 0);
|
|
2012
|
+
if (sr(n, r, s), !z(s)) return;
|
|
2013
2013
|
e.m = !1;
|
|
2014
2014
|
} else o && n.add(i);
|
|
2015
|
-
if (
|
|
2015
|
+
if (B(i) && !mr(i)) {
|
|
2016
2016
|
if (!e.h.D && e._ < 1) return;
|
|
2017
|
-
|
|
2017
|
+
Cr(e, i), t && t.A.l || Tr(e, i);
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2021
|
-
n === void 0 && (n = !1), !e.l && e.h.D && e.m &&
|
|
2022
|
-
}
|
|
2023
|
-
function Tr(e, t) {
|
|
2024
|
-
var n = e[Y];
|
|
2025
|
-
return (n ? G(n) : e)[t];
|
|
2020
|
+
function Tr(e, t, n) {
|
|
2021
|
+
n === void 0 && (n = !1), !e.l && e.h.D && e.m && fr(t, n);
|
|
2026
2022
|
}
|
|
2027
2023
|
function Er(e, t) {
|
|
2024
|
+
var n = e[J];
|
|
2025
|
+
return (n ? W(n) : e)[t];
|
|
2026
|
+
}
|
|
2027
|
+
function Dr(e, t) {
|
|
2028
2028
|
if (t in e) for (var n = Object.getPrototypeOf(e); n;) {
|
|
2029
2029
|
var r = Object.getOwnPropertyDescriptor(n, t);
|
|
2030
2030
|
if (r) return r;
|
|
2031
2031
|
n = Object.getPrototypeOf(n);
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
|
-
function
|
|
2035
|
-
e.P || (e.P = !0, e.l &&
|
|
2034
|
+
function K(e) {
|
|
2035
|
+
e.P || (e.P = !0, e.l && K(e.l));
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2038
|
-
e.o ||=
|
|
2037
|
+
function Or(e) {
|
|
2038
|
+
e.o ||= dr(e.t);
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2041
|
-
var r =
|
|
2040
|
+
function kr(e, t, n) {
|
|
2041
|
+
var r = lr(t) ? G("MapSet").F(t, n) : ur(t) ? G("MapSet").T(t, n) : e.O ? function(e, t) {
|
|
2042
2042
|
var n = Array.isArray(e), r = {
|
|
2043
2043
|
i: +!!n,
|
|
2044
|
-
A: t ? t.A :
|
|
2044
|
+
A: t ? t.A : gr(),
|
|
2045
2045
|
P: !1,
|
|
2046
2046
|
I: !1,
|
|
2047
2047
|
R: {},
|
|
@@ -2051,72 +2051,72 @@ function Or(e, t, n) {
|
|
|
2051
2051
|
o: null,
|
|
2052
2052
|
j: null,
|
|
2053
2053
|
C: !1
|
|
2054
|
-
}, i = r, a =
|
|
2055
|
-
n && (i = [r], a =
|
|
2054
|
+
}, i = r, a = Ur;
|
|
2055
|
+
n && (i = [r], a = Wr);
|
|
2056
2056
|
var o = Proxy.revocable(i, a), s = o.revoke, c = o.proxy;
|
|
2057
2057
|
return r.k = c, r.j = s, c;
|
|
2058
|
-
}(t, n) :
|
|
2059
|
-
return (n ? n.A :
|
|
2058
|
+
}(t, n) : G("ES5").J(t, n);
|
|
2059
|
+
return (n ? n.A : gr()).p.push(r), r;
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2062
|
-
return
|
|
2063
|
-
if (!
|
|
2064
|
-
var n, r = t[
|
|
2061
|
+
function Ar(e) {
|
|
2062
|
+
return z(e) || R(22, e), function e(t) {
|
|
2063
|
+
if (!B(t)) return t;
|
|
2064
|
+
var n, r = t[J], i = H(t);
|
|
2065
2065
|
if (r) {
|
|
2066
|
-
if (!r.P && (r.i < 4 || !
|
|
2067
|
-
r.I = !0, n =
|
|
2068
|
-
} else n =
|
|
2069
|
-
return
|
|
2070
|
-
r &&
|
|
2066
|
+
if (!r.P && (r.i < 4 || !G("ES5").K(r))) return r.t;
|
|
2067
|
+
r.I = !0, n = jr(t, i), r.I = !1;
|
|
2068
|
+
} else n = jr(t, i);
|
|
2069
|
+
return V(n, (function(t, i) {
|
|
2070
|
+
r && or(r.t, t) === i || sr(n, t, e(i));
|
|
2071
2071
|
})), i === 3 ? new Set(n) : n;
|
|
2072
2072
|
}(e);
|
|
2073
2073
|
}
|
|
2074
|
-
function
|
|
2074
|
+
function jr(e, t) {
|
|
2075
2075
|
switch (t) {
|
|
2076
2076
|
case 2: return new Map(e);
|
|
2077
2077
|
case 3: return Array.from(e);
|
|
2078
2078
|
}
|
|
2079
|
-
return
|
|
2079
|
+
return dr(e);
|
|
2080
2080
|
}
|
|
2081
|
-
function
|
|
2081
|
+
function Mr() {
|
|
2082
2082
|
function e(e, t) {
|
|
2083
2083
|
var n = i[e];
|
|
2084
2084
|
return n ? n.enumerable = t : i[e] = n = {
|
|
2085
2085
|
configurable: !0,
|
|
2086
2086
|
enumerable: t,
|
|
2087
2087
|
get: function() {
|
|
2088
|
-
var t = this[
|
|
2089
|
-
return
|
|
2088
|
+
var t = this[J];
|
|
2089
|
+
return Ur.get(t, e);
|
|
2090
2090
|
},
|
|
2091
2091
|
set: function(t) {
|
|
2092
|
-
var n = this[
|
|
2093
|
-
|
|
2092
|
+
var n = this[J];
|
|
2093
|
+
Ur.set(n, e, t);
|
|
2094
2094
|
}
|
|
2095
2095
|
}, n;
|
|
2096
2096
|
}
|
|
2097
2097
|
function t(e) {
|
|
2098
2098
|
for (var t = e.length - 1; t >= 0; t--) {
|
|
2099
|
-
var i = e[t][
|
|
2099
|
+
var i = e[t][J];
|
|
2100
2100
|
if (!i.P) switch (i.i) {
|
|
2101
2101
|
case 5:
|
|
2102
|
-
r(i) &&
|
|
2102
|
+
r(i) && K(i);
|
|
2103
2103
|
break;
|
|
2104
|
-
case 4: n(i) &&
|
|
2104
|
+
case 4: n(i) && K(i);
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
2108
|
function n(e) {
|
|
2109
|
-
for (var t = e.t, n = e.k, r =
|
|
2109
|
+
for (var t = e.t, n = e.k, r = Y(n), i = r.length - 1; i >= 0; i--) {
|
|
2110
2110
|
var a = r[i];
|
|
2111
|
-
if (a !==
|
|
2111
|
+
if (a !== J) {
|
|
2112
2112
|
var o = t[a];
|
|
2113
|
-
if (o === void 0 && !
|
|
2114
|
-
var s = n[a], c = s && s[
|
|
2115
|
-
if (c ? c.t !== o : !
|
|
2113
|
+
if (o === void 0 && !U(t, a)) return !0;
|
|
2114
|
+
var s = n[a], c = s && s[J];
|
|
2115
|
+
if (c ? c.t !== o : !cr(s, o)) return !0;
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
|
-
var l = !!t[
|
|
2119
|
-
return r.length !==
|
|
2118
|
+
var l = !!t[J];
|
|
2119
|
+
return r.length !== Y(t).length + +!l;
|
|
2120
2120
|
}
|
|
2121
2121
|
function r(e) {
|
|
2122
2122
|
var t = e.k;
|
|
@@ -2127,23 +2127,23 @@ function jr() {
|
|
|
2127
2127
|
return !1;
|
|
2128
2128
|
}
|
|
2129
2129
|
var i = {};
|
|
2130
|
-
|
|
2130
|
+
hr("ES5", {
|
|
2131
2131
|
J: function(t, n) {
|
|
2132
2132
|
var r = Array.isArray(t), i = function(t, n) {
|
|
2133
2133
|
if (t) {
|
|
2134
2134
|
for (var r = Array(n.length), i = 0; i < n.length; i++) Object.defineProperty(r, "" + i, e(i, !0));
|
|
2135
2135
|
return r;
|
|
2136
2136
|
}
|
|
2137
|
-
var a =
|
|
2138
|
-
delete a[
|
|
2139
|
-
for (var o =
|
|
2137
|
+
var a = Vr(n);
|
|
2138
|
+
delete a[J];
|
|
2139
|
+
for (var o = Y(a), s = 0; s < o.length; s++) {
|
|
2140
2140
|
var c = o[s];
|
|
2141
2141
|
a[c] = e(c, t || !!a[c].enumerable);
|
|
2142
2142
|
}
|
|
2143
2143
|
return Object.create(Object.getPrototypeOf(n), a);
|
|
2144
2144
|
}(r, t), a = {
|
|
2145
2145
|
i: r ? 5 : 4,
|
|
2146
|
-
A: n ? n.A :
|
|
2146
|
+
A: n ? n.A : gr(),
|
|
2147
2147
|
P: !1,
|
|
2148
2148
|
I: !1,
|
|
2149
2149
|
R: {},
|
|
@@ -2154,24 +2154,24 @@ function jr() {
|
|
|
2154
2154
|
g: !1,
|
|
2155
2155
|
C: !1
|
|
2156
2156
|
};
|
|
2157
|
-
return Object.defineProperty(i,
|
|
2157
|
+
return Object.defineProperty(i, J, {
|
|
2158
2158
|
value: a,
|
|
2159
2159
|
writable: !0
|
|
2160
2160
|
}), i;
|
|
2161
2161
|
},
|
|
2162
2162
|
S: function(e, n, i) {
|
|
2163
|
-
i ?
|
|
2163
|
+
i ? z(n) && n[J].A === e && t(e.p) : (e.u && function e(t) {
|
|
2164
2164
|
if (t && typeof t == "object") {
|
|
2165
|
-
var n = t[
|
|
2165
|
+
var n = t[J];
|
|
2166
2166
|
if (n) {
|
|
2167
2167
|
var i = n.t, a = n.k, o = n.R, s = n.i;
|
|
2168
|
-
if (s === 4)
|
|
2169
|
-
t !==
|
|
2170
|
-
})),
|
|
2171
|
-
a[e] !== void 0 ||
|
|
2168
|
+
if (s === 4) V(a, (function(t) {
|
|
2169
|
+
t !== J && (i[t] !== void 0 || U(i, t) ? o[t] || e(a[t]) : (o[t] = !0, K(n)));
|
|
2170
|
+
})), V(i, (function(e) {
|
|
2171
|
+
a[e] !== void 0 || U(a, e) || (o[e] = !1, K(n));
|
|
2172
2172
|
}));
|
|
2173
2173
|
else if (s === 5) {
|
|
2174
|
-
if (r(n) && (
|
|
2174
|
+
if (r(n) && (K(n), o.length = !0), a.length < i.length) for (var c = a.length; c < i.length; c++) o[c] = !1;
|
|
2175
2175
|
else for (var l = i.length; l < a.length; l++) o[l] = !0;
|
|
2176
2176
|
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]);
|
|
2177
2177
|
}
|
|
@@ -2184,46 +2184,46 @@ function jr() {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
});
|
|
2186
2186
|
}
|
|
2187
|
-
var
|
|
2187
|
+
var Nr, q, Pr = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Fr = typeof Map < "u", Ir = typeof Set < "u", Lr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", Rr = Pr ? Symbol.for("immer-nothing") : ((Nr = {})["immer-nothing"] = !0, Nr), zr = Pr ? Symbol.for("immer-draftable") : "__$immer_draftable", J = Pr ? Symbol.for("immer-state") : "__$immer_state", Br = "" + Object.prototype.constructor, Y = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols === void 0 ? Object.getOwnPropertyNames : function(e) {
|
|
2188
2188
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
2189
|
-
},
|
|
2189
|
+
}, Vr = Object.getOwnPropertyDescriptors || function(e) {
|
|
2190
2190
|
var t = {};
|
|
2191
|
-
return
|
|
2191
|
+
return Y(e).forEach((function(n) {
|
|
2192
2192
|
t[n] = Object.getOwnPropertyDescriptor(e, n);
|
|
2193
2193
|
})), t;
|
|
2194
|
-
},
|
|
2194
|
+
}, Hr = {}, Ur = {
|
|
2195
2195
|
get: function(e, t) {
|
|
2196
|
-
if (t ===
|
|
2197
|
-
var n =
|
|
2198
|
-
if (!
|
|
2199
|
-
var r =
|
|
2196
|
+
if (t === J) return e;
|
|
2197
|
+
var n = W(e);
|
|
2198
|
+
if (!U(n, t)) return function(e, t, n) {
|
|
2199
|
+
var r = Dr(t, n);
|
|
2200
2200
|
return r ? "value" in r ? r.value : r.get?.call(e.k) : void 0;
|
|
2201
2201
|
}(e, n, t);
|
|
2202
2202
|
var r = n[t];
|
|
2203
|
-
return e.I || !
|
|
2203
|
+
return e.I || !B(r) ? r : r === Er(e.t, t) ? (Or(e), e.o[t] = kr(e.A.h, r, e)) : r;
|
|
2204
2204
|
},
|
|
2205
2205
|
has: function(e, t) {
|
|
2206
|
-
return t in
|
|
2206
|
+
return t in W(e);
|
|
2207
2207
|
},
|
|
2208
2208
|
ownKeys: function(e) {
|
|
2209
|
-
return Reflect.ownKeys(
|
|
2209
|
+
return Reflect.ownKeys(W(e));
|
|
2210
2210
|
},
|
|
2211
2211
|
set: function(e, t, n) {
|
|
2212
|
-
var r =
|
|
2212
|
+
var r = Dr(W(e), t);
|
|
2213
2213
|
if (r?.set) return r.set.call(e.k, n), !0;
|
|
2214
2214
|
if (!e.P) {
|
|
2215
|
-
var i =
|
|
2215
|
+
var i = Er(W(e), t), a = i?.[J];
|
|
2216
2216
|
if (a && a.t === n) return e.o[t] = n, e.R[t] = !1, !0;
|
|
2217
|
-
if (
|
|
2218
|
-
|
|
2217
|
+
if (cr(n, i) && (n !== void 0 || U(e.t, t))) return !0;
|
|
2218
|
+
Or(e), K(e);
|
|
2219
2219
|
}
|
|
2220
2220
|
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;
|
|
2221
2221
|
},
|
|
2222
2222
|
deleteProperty: function(e, t) {
|
|
2223
|
-
return
|
|
2223
|
+
return Er(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, Or(e), K(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
2224
2224
|
},
|
|
2225
2225
|
getOwnPropertyDescriptor: function(e, t) {
|
|
2226
|
-
var n =
|
|
2226
|
+
var n = W(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
2227
2227
|
return r && {
|
|
2228
2228
|
writable: !0,
|
|
2229
2229
|
configurable: e.i !== 1 || t !== "length",
|
|
@@ -2232,28 +2232,28 @@ var Mr, J, Nr = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Pr = type
|
|
|
2232
2232
|
};
|
|
2233
2233
|
},
|
|
2234
2234
|
defineProperty: function() {
|
|
2235
|
-
|
|
2235
|
+
R(11);
|
|
2236
2236
|
},
|
|
2237
2237
|
getPrototypeOf: function(e) {
|
|
2238
2238
|
return Object.getPrototypeOf(e.t);
|
|
2239
2239
|
},
|
|
2240
2240
|
setPrototypeOf: function() {
|
|
2241
|
-
|
|
2241
|
+
R(12);
|
|
2242
2242
|
}
|
|
2243
|
-
},
|
|
2244
|
-
|
|
2245
|
-
|
|
2243
|
+
}, Wr = {};
|
|
2244
|
+
V(Ur, (function(e, t) {
|
|
2245
|
+
Wr[e] = function() {
|
|
2246
2246
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
2247
2247
|
};
|
|
2248
|
-
})),
|
|
2249
|
-
return
|
|
2250
|
-
},
|
|
2251
|
-
return
|
|
2248
|
+
})), Wr.deleteProperty = function(e, t) {
|
|
2249
|
+
return Wr.set.call(this, e, t, void 0);
|
|
2250
|
+
}, Wr.set = function(e, t, n) {
|
|
2251
|
+
return Ur.set.call(this, e[0], t, n, e[0]);
|
|
2252
2252
|
};
|
|
2253
|
-
var
|
|
2253
|
+
var X = new (function() {
|
|
2254
2254
|
function e(e) {
|
|
2255
2255
|
var t = this;
|
|
2256
|
-
this.O =
|
|
2256
|
+
this.O = Lr, this.D = !0, this.produce = function(e, n, r) {
|
|
2257
2257
|
if (typeof e == "function" && typeof n != "function") {
|
|
2258
2258
|
var i = n;
|
|
2259
2259
|
n = e;
|
|
@@ -2269,27 +2269,27 @@ var Z = new (function() {
|
|
|
2269
2269
|
};
|
|
2270
2270
|
}
|
|
2271
2271
|
var o;
|
|
2272
|
-
if (typeof n != "function" &&
|
|
2273
|
-
var s =
|
|
2272
|
+
if (typeof n != "function" && R(6), r !== void 0 && typeof r != "function" && R(7), B(e)) {
|
|
2273
|
+
var s = br(t), c = kr(t, e, void 0), l = !0;
|
|
2274
2274
|
try {
|
|
2275
2275
|
o = n(c), l = !1;
|
|
2276
2276
|
} finally {
|
|
2277
|
-
l ?
|
|
2277
|
+
l ? vr(s) : yr(s);
|
|
2278
2278
|
}
|
|
2279
2279
|
return typeof Promise < "u" && o instanceof Promise ? o.then((function(e) {
|
|
2280
|
-
return
|
|
2280
|
+
return _r(s, r), Sr(e, s);
|
|
2281
2281
|
}), (function(e) {
|
|
2282
|
-
throw
|
|
2283
|
-
})) : (
|
|
2282
|
+
throw vr(s), e;
|
|
2283
|
+
})) : (_r(s, r), Sr(o, s));
|
|
2284
2284
|
}
|
|
2285
2285
|
if (!e || typeof e != "object") {
|
|
2286
|
-
if ((o = n(e)) === void 0 && (o = e), o ===
|
|
2286
|
+
if ((o = n(e)) === void 0 && (o = e), o === Rr && (o = void 0), t.D && fr(o, !0), r) {
|
|
2287
2287
|
var u = [], d = [];
|
|
2288
|
-
|
|
2288
|
+
G("Patches").M(e, o, u, d), r(u, d);
|
|
2289
2289
|
}
|
|
2290
2290
|
return o;
|
|
2291
2291
|
}
|
|
2292
|
-
|
|
2292
|
+
R(21, e);
|
|
2293
2293
|
}, this.produceWithPatches = function(e, n) {
|
|
2294
2294
|
if (typeof e == "function") return function(n) {
|
|
2295
2295
|
var r = [...arguments].slice(1);
|
|
@@ -2315,16 +2315,16 @@ var Z = new (function() {
|
|
|
2315
2315
|
}
|
|
2316
2316
|
var t = e.prototype;
|
|
2317
2317
|
return t.createDraft = function(e) {
|
|
2318
|
-
|
|
2319
|
-
var t =
|
|
2320
|
-
return n[
|
|
2318
|
+
B(e) || R(8), z(e) && (e = Ar(e));
|
|
2319
|
+
var t = br(this), n = kr(this, e, void 0);
|
|
2320
|
+
return n[J].C = !0, yr(t), n;
|
|
2321
2321
|
}, t.finishDraft = function(e, t) {
|
|
2322
|
-
var n = (e && e[
|
|
2323
|
-
return
|
|
2322
|
+
var n = (e && e[J]).A;
|
|
2323
|
+
return _r(n, t), Sr(void 0, n);
|
|
2324
2324
|
}, t.setAutoFreeze = function(e) {
|
|
2325
2325
|
this.D = e;
|
|
2326
2326
|
}, t.setUseProxies = function(e) {
|
|
2327
|
-
e && !
|
|
2327
|
+
e && !Lr && R(20), this.O = e;
|
|
2328
2328
|
}, t.applyPatches = function(e, t) {
|
|
2329
2329
|
var n;
|
|
2330
2330
|
for (n = t.length - 1; n >= 0; n--) {
|
|
@@ -2335,23 +2335,23 @@ var Z = new (function() {
|
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
2337
2337
|
n > -1 && (t = t.slice(n + 1));
|
|
2338
|
-
var i =
|
|
2339
|
-
return
|
|
2338
|
+
var i = G("Patches").$;
|
|
2339
|
+
return z(e) ? i(e, t) : this.produce(e, (function(e) {
|
|
2340
2340
|
return i(e, t);
|
|
2341
2341
|
}));
|
|
2342
2342
|
}, e;
|
|
2343
|
-
}())(),
|
|
2344
|
-
|
|
2343
|
+
}())(), Gr = X.produce;
|
|
2344
|
+
X.produceWithPatches.bind(X), X.setAutoFreeze.bind(X), X.setUseProxies.bind(X), X.applyPatches.bind(X), X.createDraft.bind(X), X.finishDraft.bind(X);
|
|
2345
2345
|
//#endregion
|
|
2346
2346
|
//#region src/lib/utils/arrays.ts
|
|
2347
|
-
function
|
|
2347
|
+
function Kr(e) {
|
|
2348
2348
|
return e.sort().filter((e, t, n) => !t || e !== n[t - 1]);
|
|
2349
2349
|
}
|
|
2350
|
-
var
|
|
2350
|
+
var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
2351
2351
|
if (!Array.isArray(n)) return e;
|
|
2352
2352
|
let r = n.indexOf(t, 0);
|
|
2353
2353
|
return r > -1 && n.splice(r, 1), n;
|
|
2354
|
-
}),
|
|
2354
|
+
}), Yr = {
|
|
2355
2355
|
restApi: {
|
|
2356
2356
|
serviceUrl: "https://services.sheerid.com/",
|
|
2357
2357
|
resources: {
|
|
@@ -2406,7 +2406,7 @@ var Kr = (e, t) => e < t ? -1 : +(e > t), qr = (e, t) => Wr(e, (n) => {
|
|
|
2406
2406
|
verificationId: void 0,
|
|
2407
2407
|
externalUserId: void 0,
|
|
2408
2408
|
minimumOrganizationSearchLength: 1,
|
|
2409
|
-
httpRequestTimeout:
|
|
2409
|
+
httpRequestTimeout: Et,
|
|
2410
2410
|
hideTestModeFlag: !1,
|
|
2411
2411
|
hideMilitaryFamilyAcceptableUploads: !1,
|
|
2412
2412
|
customFormFields: [],
|
|
@@ -2415,45 +2415,45 @@ var Kr = (e, t) => e < t ? -1 : +(e > t), qr = (e, t) => Wr(e, (n) => {
|
|
|
2415
2415
|
tryAgainAction: { type: "reset" },
|
|
2416
2416
|
_launchDarklyUserTargeting: !1,
|
|
2417
2417
|
_launchDarklyFlagCb: () => {}
|
|
2418
|
-
},
|
|
2419
|
-
let t =
|
|
2420
|
-
if (Object.prototype.hasOwnProperty.call(t, e)) return
|
|
2421
|
-
},
|
|
2422
|
-
|
|
2423
|
-
},
|
|
2418
|
+
}, Z = { ...Yr }, Q = () => Z, Xr = (e) => {
|
|
2419
|
+
let t = Q();
|
|
2420
|
+
if (Object.prototype.hasOwnProperty.call(t, e)) return Q()[e];
|
|
2421
|
+
}, Zr = () => {
|
|
2422
|
+
Z = { ...Yr };
|
|
2423
|
+
}, Qr = (e) => {
|
|
2424
2424
|
try {
|
|
2425
2425
|
if (typeof e == "object") {
|
|
2426
2426
|
let t = Object.keys(e);
|
|
2427
|
-
|
|
2427
|
+
Fn(e.messagesWithLocale) && (t = Jr(t, "messagesWithLocale")), Fn(e.messages) && (t = Jr(t, "messages")), t.length > 0 && $n(Jn.options, t.join(","));
|
|
2428
2428
|
}
|
|
2429
2429
|
} catch (e) {
|
|
2430
|
-
|
|
2430
|
+
E.error(e);
|
|
2431
2431
|
}
|
|
2432
2432
|
if (e.hasOwnProperty("logLevel")) {
|
|
2433
2433
|
try {
|
|
2434
|
-
|
|
2434
|
+
E.setLogLevel(e.logLevel);
|
|
2435
2435
|
} catch (e) {
|
|
2436
2436
|
console.error(e);
|
|
2437
2437
|
}
|
|
2438
|
-
|
|
2438
|
+
Z.logLevel = e.logLevel;
|
|
2439
2439
|
}
|
|
2440
2440
|
if (e.hasOwnProperty("restApi") && e.restApi.hasOwnProperty("serviceUrl")) {
|
|
2441
|
-
let t =
|
|
2442
|
-
|
|
2441
|
+
let t = $e(e.restApi.serviceUrl);
|
|
2442
|
+
Z.restApi.serviceUrl = t, E.info(`option "serviceUrl" set to ${Z.restApi.serviceUrl}`);
|
|
2443
2443
|
}
|
|
2444
|
-
if (e.hasOwnProperty("mockStep") && (
|
|
2445
|
-
...
|
|
2444
|
+
if (e.hasOwnProperty("mockStep") && (ze(e[O]), Z[O] = e[O], E.info(`option "${O}" set to ${Z[O]}`)), e.hasOwnProperty("mockPreviousStep") && (ze(e[O]), Z[gt] = e[gt], E.info(`option "${gt}" set to ${Z[gt]}`)), e.hasOwnProperty("mockSegment") && (Z[st] = e[st], E.info(`option "${st}" set to ${Z[st]}`)), e.hasOwnProperty("mockSubSegment") && (Z[ct] = e[ct], E.info(`option "${ct}" set to ${Z[ct]}`)), e.hasOwnProperty("mockErrorId") && (Z[lt] = e[lt], E.info(`option "${lt}" set to ${Z[lt]}`)), e.hasOwnProperty("mockErrorDetailId") && (Z[ut] = e[ut], E.info(`option "${ut}" set to ${Z[ut]}`)), e.hasOwnProperty("mockCaptchaState") && (Z[St] = e[St], E.info(`option "${St}" set to ${Z[St]}`)), e.hasOwnProperty("mockRewardCode") && (Z[dt] = e[dt], E.info(`option "${dt}" set to ${Z[dt]}`)), e.hasOwnProperty("mockRedirectUrl") && (Z[ft] = e[ft], E.info(`option "${ft}" set to ${Z[ft]}`)), e.hasOwnProperty("mockConsumerInfoState") && (ze(e[O]), Z[pt] = e[pt], E.info(`option "${pt}" set to ${Z[pt]}`)), e.hasOwnProperty("mockIdCheckLoopServiceType") && (Z[mt] = e[mt], E.info(`option "${mt}" set to ${Z[mt]}`)), e.hasOwnProperty("installPageUrl") && (Z[yt] = e[yt], E.info(`option "${yt}" set to ${Z[yt]}`)), e.hasOwnProperty("mockDocSelected") && (Z[ht] = e[ht], E.info(`option "${ht}" set to ${Z[ht]}`)), e.hasOwnProperty("mockResponse") && (Z.mockResponse = In(e.mockResponse), E.info("option \"mockResponse\" set to", Z.mockResponse)), e.hasOwnProperty("messages") && (Z.messagesWithLocale = {
|
|
2445
|
+
...Z.messagesWithLocale,
|
|
2446
2446
|
"en-US": e.messages
|
|
2447
|
-
},
|
|
2448
|
-
|
|
2447
|
+
}, E.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 = Ln({}, Z.messagesWithLocale, e.messagesWithLocale), e && e.messagesWithLocale && he(Object.keys(e.messagesWithLocale)), Un(Z.messagesWithLocale), E.info("option \"messagesWithLocale\" set to", Z.messagesWithLocale)), e.hasOwnProperty("locale")) try {
|
|
2448
|
+
Be(e.locale), Z.locale = e.locale, E.info(`option "locale" set to ${Z.locale}`);
|
|
2449
2449
|
} catch (e) {
|
|
2450
|
-
|
|
2450
|
+
E.error(e);
|
|
2451
2451
|
}
|
|
2452
|
-
e.hasOwnProperty("urlStudentFaq") && (
|
|
2453
|
-
...
|
|
2452
|
+
e.hasOwnProperty("urlStudentFaq") && (Z.urlStudentFaq = e.urlStudentFaq, E.info(`option "urlStudentFaq" set to ${Z.urlStudentFaq}`)), e.hasOwnProperty("urlSeniorFaq") && (Z.urlSeniorFaq = e.urlSeniorFaq, E.info(`option "urlSeniorFaq" set to ${Z.urlSeniorFaq}`)), e.hasOwnProperty("urlMilitaryFaq") && (Z.urlMilitaryFaq = e.urlMilitaryFaq, E.info(`option "urlMilitaryFaq" set to ${Z.urlMilitaryFaq}`)), e.hasOwnProperty("urlTeacherFaq") && (Z.urlTeacherFaq = e.urlTeacherFaq, E.info(`option "urlTeacherFaq" set to ${Z.urlTeacherFaq}`)), e.hasOwnProperty("urlMemberFaq") && (Z.urlMemberFaq = e.urlMemberFaq, E.info(`option "urlMemberFaq" set to ${Z.urlMemberFaq}`)), e.hasOwnProperty("urlMedicalFaq") && (Z.urlMedicalFaq = e.urlMedicalFaq, E.info(`option "urlMedicalFaq" set to ${Z.urlMedicalFaq}`)), e.hasOwnProperty("urlEmploymentFaq") && (Z.urlEmploymentFaq = e.urlEmploymentFaq, E.info(`option "urlEmploymentFaq" set to ${Z.urlEmploymentFaq}`)), e.hasOwnProperty("urlAddSchoolFaq") && (Z.urlAddSchoolFaq = e.urlAddSchoolFaq, E.info(`option "urlAddSchoolFaq" set to ${Z.urlAddSchoolFaq}`)), e.hasOwnProperty("urlAddSchoolForm") && (Z.urlAddSchoolForm = e.urlAddSchoolForm, E.info(`option "urlAddSchoolForm" set to ${Z.urlAddSchoolForm}`)), e.hasOwnProperty("doFetchTheme") && (Z.doFetchTheme = e.doFetchTheme, E.info(`option "doFetchTheme" set to ${Z.doFetchTheme}`)), e.hasOwnProperty("cookies") && (Z.cookies = {
|
|
2453
|
+
...Z.cookies,
|
|
2454
2454
|
...e.cookies
|
|
2455
|
-
},
|
|
2456
|
-
},
|
|
2455
|
+
}, E.info("option \"cookies\" set to", Z.cookies)), e.hasOwnProperty("useFingerprinting") && (Z.useFingerprinting = e.useFingerprinting, E.info("option \"useFingerprinting\" set to", Z.useFingerprinting)), e.hasOwnProperty("marketConsent") && (Z.marketConsent = e.marketConsent, E.info("option \"market consent\" set to", Z.marketConsent)), e.hasOwnProperty("verificationId") && (Z.verificationId = e.verificationId, E.info("option \"verificationId\" set to", Z.verificationId)), e.hasOwnProperty("externalUserId") && (Z.externalUserId = e.externalUserId, E.info("option \"externalUserId\" set to", Z.externalUserId)), e.hasOwnProperty("minimumOrganizationSearchLength") && (Z.minimumOrganizationSearchLength = e.minimumOrganizationSearchLength, E.info("option \"minimumOrganizationSearchLength\" set to", Z.minimumOrganizationSearchLength)), e.hasOwnProperty("customCss") && (Z.customCss = e.customCss, E.info("option \"customCss\" set to", Z.customCss)), e.hasOwnProperty("logoUrl") && (Z.logoUrl = e.logoUrl, E.info("option \"logoUrl\" set to", Z.logoUrl)), e.hasOwnProperty("httpRequestTimeout") && (Z.httpRequestTimeout = e.httpRequestTimeout, E.info("option \"httpRequestTimeout\" set to", Z.httpRequestTimeout)), e.hasOwnProperty("privacyPolicyUrl") && (Z.privacyPolicyUrl = e.privacyPolicyUrl, E.info("option \"privacyPolicyUrl\" set to", Z.privacyPolicyUrl)), (e.hasOwnProperty("hideTestModeFlag") || tt("hideTestModeFlag")) && (Z.hideTestModeFlag = e.hideTestModeFlag || tt("hideTestModeFlag") === "true", E.info("option \"hideTestModeFlag\" set to", Z.hideTestModeFlag)), e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads") && (Z.hideMilitaryFamilyAcceptableUploads = e.hideMilitaryFamilyAcceptableUploads, E.info("option \"hideMilitaryFamilyAcceptableUploads\" set to", Z.hideMilitaryFamilyAcceptableUploads)), e.hasOwnProperty("customFormFields") && (Z.customFormFields = e.customFormFields, E.info("option \"customFormFields\" set to", Z.customFormFields)), e.hasOwnProperty("formFieldConfig") && (Z.formFieldConfig = e.formFieldConfig, E.info("option \"formFieldConfig\" set to", Z.formFieldConfig)), e.hasOwnProperty("customMetadata") && (Z.customMetadata = e.customMetadata, E.info("option \"customMetadata\" set to", Z.customMetadata)), e.hasOwnProperty("renderAs") && (Z.renderAs = e.renderAs, E.info("option \"renderAs\" set to", Z.renderAs)), Object.prototype.hasOwnProperty.call(e, "tryAgainAction") && (Z.tryAgainAction = e.tryAgainAction, E.info("option \"tryAgainAction\" set to", Z.tryAgainAction)), e.hasOwnProperty("_launchDarklyUserTargeting") && (Z._launchDarklyUserTargeting = e._launchDarklyUserTargeting, E.info("option \"_launchDarklyUserTargeting\" set to", Z._launchDarklyUserTargeting)), e.hasOwnProperty("_launchDarklyFlagCb") && (Z._launchDarklyFlagCb = e._launchDarklyFlagCb, E.info("option \"_launchDarklyFlagCb\" set to", Z._launchDarklyFlagCb));
|
|
2456
|
+
}, $r = {
|
|
2457
2457
|
"defaultMessages.ACTIVE_DUTY": "Active Duty",
|
|
2458
2458
|
"defaultMessages.ARCHITECT": "Architect",
|
|
2459
2459
|
"defaultMessages.CHILD_CARE_WORKER": "Child Care Worker",
|
|
@@ -3603,9 +3603,9 @@ var Kr = (e, t) => e < t ? -1 : +(e > t), qr = (e, t) => Wr(e, (n) => {
|
|
|
3603
3603
|
"defaultMessages.step.docUpload.uploadInfo.issueDate": "An issue date within the last 90 days",
|
|
3604
3604
|
"defaultMessages.step.docUpload.uploadInfo.enrollmentProof": "Proof of <strong>current enrollment</strong>, shown by one of the following:",
|
|
3605
3605
|
"defaultMessages.contactSupport": "If you believe you're eligible, see our <faqLink>help center</faqLink> or <feedbackFormLink>contact SheerID support</feedbackFormLink>"
|
|
3606
|
-
}, $
|
|
3606
|
+
}, $ = /* @__PURE__ */ l(te(), 1), ei = /* @__PURE__ */ new Map(), ti = (e) => {
|
|
3607
3607
|
let t = Object.keys(e).reduce((t, n) => (e[n] && (t[n] = e[n]), t), {});
|
|
3608
|
-
return
|
|
3608
|
+
return $.flatten.unflatten(t);
|
|
3609
3609
|
}, ni = async (e) => {
|
|
3610
3610
|
if (ei.has(e)) return ei.get(e);
|
|
3611
3611
|
let t = (async () => {
|
|
@@ -3660,7 +3660,7 @@ var Kr = (e, t) => e < t ? -1 : +(e > t), qr = (e, t) => Wr(e, (n) => {
|
|
|
3660
3660
|
).then((e) => e.default);
|
|
3661
3661
|
break;
|
|
3662
3662
|
case "en-US":
|
|
3663
|
-
t =
|
|
3663
|
+
t = $r;
|
|
3664
3664
|
break;
|
|
3665
3665
|
case "es-ES":
|
|
3666
3666
|
t = await import(
|
|
@@ -3932,32 +3932,32 @@ var Kr = (e, t) => e < t ? -1 : +(e > t), qr = (e, t) => Wr(e, (n) => {
|
|
|
3932
3932
|
"./zu-DNMG8Idu.js"
|
|
3933
3933
|
).then((e) => e.default);
|
|
3934
3934
|
break;
|
|
3935
|
-
default:
|
|
3935
|
+
default: E.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t = $r;
|
|
3936
3936
|
}
|
|
3937
3937
|
return ti(t);
|
|
3938
3938
|
})();
|
|
3939
3939
|
return ei.set(e, t), t;
|
|
3940
3940
|
}, ri = (e) => {
|
|
3941
|
-
let t = (0,
|
|
3941
|
+
let t = (0, $.flatten)(e), n = {};
|
|
3942
3942
|
return Object.keys(t).forEach((e) => {
|
|
3943
3943
|
typeof t[e] == "string" && (n[e] = t[e]);
|
|
3944
3944
|
}), n;
|
|
3945
3945
|
}, ii = (e) => {
|
|
3946
3946
|
let t = {};
|
|
3947
|
-
return
|
|
3947
|
+
return Q().messagesWithLocale[e] && (t = Q().messagesWithLocale[e]), t;
|
|
3948
3948
|
}, ai = (e) => e === "iw" ? "he" : e, oi = async (e, t, n) => {
|
|
3949
3949
|
let r = e;
|
|
3950
|
-
|
|
3951
|
-
let i = await ni(r), a = i ? i.defaultMessages : {}, o = i && i.segmentMessages, s = n && o ? i.segmentMessages[n] : {}, c = ii(r), l = t ? ri(t) : {}, u = r === "en-US" ? {} : await oi(
|
|
3952
|
-
return Object.assign({}, u, a ? (0,
|
|
3950
|
+
Ve(r) || (E.error(`Invalid locale ${r}, falling back to ${D} for the verification form`, "Invalid locale"), r = D);
|
|
3951
|
+
let i = await ni(r), a = i ? i.defaultMessages : {}, o = i && i.segmentMessages, s = n && o ? i.segmentMessages[n] : {}, c = ii(r), l = t ? ri(t) : {}, u = r === "en-US" ? {} : await oi(D, t, n);
|
|
3952
|
+
return Object.assign({}, u, a ? (0, $.flatten)(a) : {}, s ? (0, $.flatten)(s) : {}, l, c ? (0, $.flatten)(c) : {});
|
|
3953
3953
|
}, si = (e, t) => {
|
|
3954
3954
|
function n() {
|
|
3955
|
-
return
|
|
3955
|
+
return et(window.location.href).get("locale") || void 0;
|
|
3956
3956
|
}
|
|
3957
|
-
let r =
|
|
3958
|
-
if (
|
|
3957
|
+
let r = ne(() => e.localeChoice.value) || ne(() => t.locale) || Q().locale || n() || "en-US";
|
|
3958
|
+
if (Ve(r)) return r;
|
|
3959
3959
|
let i = r.substring(0, 2);
|
|
3960
|
-
return
|
|
3960
|
+
return Ve(i) ? i : D;
|
|
3961
3961
|
}, ci = (e) => e.replace("-", "_");
|
|
3962
3962
|
//#endregion
|
|
3963
|
-
export {
|
|
3963
|
+
export { st as $, zn as A, Se as At, Dt as B, se as Bt, nr as C, Oe as Ct, Wn as D, Fe as Dt, Un as E, _e as Et, it as F, Le as Ft, xt as G, T as Gt, ht as H, ne as Ht, at as I, ge as It, bt as J, l as Jt, mt as K, o as Kt, Tt as L, ce as Lt, kn as M, Ne as Mt, En as N, ke as Nt, In as O, Pe as Ot, F as P, Ce as Pt, dt as Q, D as R, pe as Rt, er as S, Ie as St, L as T, we as Tt, ut as U, te as Ut, St as V, ae as Vt, lt as W, E as Wt, ft as X, gt as Y, pt as Z, Gn as _, Re as _t, ci as a, ot as at, ir as b, Ae as bt, Zr as c, rt as ct, Kr as d, Je as dt, vt as et, Mr as f, Ge as ft, qn as g, Ye as gt, Yn as h, Ue as ht, ai as i, wt as it, Mn as j, xe as jt, Ln as k, be as kt, Qr as l, nt as lt, Jn as m, Be as mt, oi as n, ct as nt, Xr as o, tt as ot, Gr as p, He as pt, yt as q, s as qt, ii as r, _t as rt, Q as s, et as st, si as t, O as tt, qr as u, We as ut, rr as v, Ze as vt, $n as w, Ee as wt, Zn as x, Te as xt, Qn as y, Qe as yt, Ct as z, oe as zt };
|