@sheerid/jslib 2.284.0 → 2.286.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 +1019 -1011
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CZv5pMP1.js → AddressComponent-D2wuzHQj.js} +8 -8
- package/chunk/{AddressComponent-CSguvpox.js.map → AddressComponent-D2wuzHQj.js.map} +1 -1
- package/chunk/{AddressComponent-CSguvpox.js → AddressComponent-y-Ii5tpl.js} +8 -8
- package/chunk/{AddressComponent-CZv5pMP1.js.map → AddressComponent-y-Ii5tpl.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B84Vw5oF.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-B84Vw5oF.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BJHHK6ve.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-BJHHK6ve.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/ApiUrls--L4q-5Tm.js +51 -0
- package/chunk/{ApiUrls-JG2nS1h7.js.map → ApiUrls--L4q-5Tm.js.map} +1 -1
- package/chunk/ApiUrls-ChWDTwjL.js +45 -0
- package/chunk/{ApiUrls-krufIliq.js.map → ApiUrls-ChWDTwjL.js.map} +1 -1
- package/chunk/{BirthDateComponent-OZHQ-MHd.js → BirthDateComponent-CKJzVObF.js} +8 -8
- package/chunk/{BirthDateComponent-CqKNTR4J.js.map → BirthDateComponent-CKJzVObF.js.map} +1 -1
- package/chunk/{BirthDateComponent-CqKNTR4J.js → BirthDateComponent-DahQFdmp.js} +8 -8
- package/chunk/{BirthDateComponent-OZHQ-MHd.js.map → BirthDateComponent-DahQFdmp.js.map} +1 -1
- package/chunk/{CaptchaComponent-523RAr_6.js → CaptchaComponent-C8wOP7tS.js} +63 -62
- package/chunk/{CaptchaComponent-523RAr_6.js.map → CaptchaComponent-C8wOP7tS.js.map} +1 -1
- package/chunk/{CaptchaComponent-DejDOamZ.js → CaptchaComponent-DYlkYclc.js} +111 -110
- package/chunk/{CaptchaComponent-DejDOamZ.js.map → CaptchaComponent-DYlkYclc.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C86ehiKN.js → ChangeLocaleComponent-D1wLkrWR.js} +9 -9
- package/chunk/{ChangeLocaleComponent-C86ehiKN.js.map → ChangeLocaleComponent-D1wLkrWR.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DKs0nm4K.js → ChangeLocaleComponent-DjOWvlLc.js} +9 -9
- package/chunk/{ChangeLocaleComponent-DKs0nm4K.js.map → ChangeLocaleComponent-DjOWvlLc.js.map} +1 -1
- package/chunk/{City-Cp8nDZib.js → City-DVhhliBQ.js} +8 -8
- package/chunk/{City-Cp8nDZib.js.map → City-DVhhliBQ.js.map} +1 -1
- package/chunk/{City-DcB9Lt5k.js → City-D_2sVMWL.js} +8 -8
- package/chunk/{City-DcB9Lt5k.js.map → City-D_2sVMWL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-zYtmC72a.js → CollegeNameComponent-CZ6mrVxh.js} +10 -10
- package/chunk/{CollegeNameComponent-Dwcg89D2.js.map → CollegeNameComponent-CZ6mrVxh.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Dwcg89D2.js → CollegeNameComponent-Dg61STNl.js} +10 -10
- package/chunk/{CollegeNameComponent-zYtmC72a.js.map → CollegeNameComponent-Dg61STNl.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js → CopyToClipboardComponent-3wpB0lTx.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js.map → CopyToClipboardComponent-3wpB0lTx.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js → CopyToClipboardComponent-BXe124AZ.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js.map → CopyToClipboardComponent-BXe124AZ.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BaPPGjxt.js → CountryComponentWrapper-CF45pXeO.js} +12 -12
- package/chunk/{CountryComponentWrapper-BaPPGjxt.js.map → CountryComponentWrapper-CF45pXeO.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Bv66MHPy.js → CountryComponentWrapper-CjUUQdjn.js} +12 -12
- package/chunk/{CountryComponentWrapper-Bv66MHPy.js.map → CountryComponentWrapper-CjUUQdjn.js.map} +1 -1
- package/chunk/{DischargeDateComponent-D7QZ9ldm.js → DischargeDateComponent-BSQ4xUCZ.js} +32 -31
- package/chunk/{DischargeDateComponent-D7QZ9ldm.js.map → DischargeDateComponent-BSQ4xUCZ.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CH9R5iB8.js → DischargeDateComponent-a3Sq69xT.js} +14 -13
- package/chunk/{DischargeDateComponent-CH9R5iB8.js.map → DischargeDateComponent-a3Sq69xT.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C57lvLGk.js → DriverLicenseNumberComponent-CRUuQK5_.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B7IX8jy2.js.map → DriverLicenseNumberComponent-CRUuQK5_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B7IX8jy2.js → DriverLicenseNumberComponent-Dnva3RYJ.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-C57lvLGk.js.map → DriverLicenseNumberComponent-Dnva3RYJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-CVWkH7cw.js → EmailLoopPending-BA1IDc-u.js} +20 -19
- package/chunk/{EmailLoopPending-B-2p8HiB.js.map → EmailLoopPending-BA1IDc-u.js.map} +1 -1
- package/chunk/{EmailLoopPending-B-2p8HiB.js → EmailLoopPending-BnP7C168.js} +29 -28
- package/chunk/{EmailLoopPending-CVWkH7cw.js.map → EmailLoopPending-BnP7C168.js.map} +1 -1
- package/chunk/{ExtraMessage-D7S6IK6P.js → ExtraMessage-BqjXp3Gj.js} +7 -7
- package/chunk/{ExtraMessage-D7S6IK6P.js.map → ExtraMessage-BqjXp3Gj.js.map} +1 -1
- package/chunk/{ExtraMessage-FucjC5O0.js → ExtraMessage-tf_vMomh.js} +7 -7
- package/chunk/{ExtraMessage-FucjC5O0.js.map → ExtraMessage-tf_vMomh.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DNnsBBW9.js → FirstResponderOrganizationComponent-DfkH9LH8.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D6TQ0Pik.js.map → FirstResponderOrganizationComponent-DfkH9LH8.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D6TQ0Pik.js → FirstResponderOrganizationComponent-DzB64as1.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DNnsBBW9.js.map → FirstResponderOrganizationComponent-DzB64as1.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cx3LRp-Q.js → FormFieldInputSelect-CiiD44BO.js} +7 -7
- package/chunk/{FormFieldInputSelect-B1AsyOIV.js.map → FormFieldInputSelect-CiiD44BO.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B1AsyOIV.js → FormFieldInputSelect-uuCBOaNc.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cx3LRp-Q.js.map → FormFieldInputSelect-uuCBOaNc.js.map} +1 -1
- package/chunk/{FormFieldLayout-CfcTWF4b.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-CfcTWF4b.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-CsDsfcRv.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-CsDsfcRv.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-Cba-r9FE.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-Cba-r9FE.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-CoWhLvws.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-CoWhLvws.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D320YKH8.js → FormFieldTypeahead--Zb8Crog.js} +113 -112
- package/chunk/{FormFieldTypeahead-D320YKH8.js.map → FormFieldTypeahead--Zb8Crog.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-B7FmlNZl.js → FormFieldTypeahead-DihXl104.js} +98 -97
- package/chunk/{FormFieldTypeahead-B7FmlNZl.js.map → FormFieldTypeahead-DihXl104.js.map} +1 -1
- package/chunk/{FormFooterComponent-Ckbv1OLP.js → FormFooterComponent-BYIO3JLm.js} +294 -293
- package/chunk/{FormFooterComponent-Ckbv1OLP.js.map → FormFooterComponent-BYIO3JLm.js.map} +1 -1
- package/chunk/{FormFooterComponent-BkIJY29l.js → FormFooterComponent-umNY1fch.js} +397 -396
- package/chunk/{FormFooterComponent-BkIJY29l.js.map → FormFooterComponent-umNY1fch.js.map} +1 -1
- package/chunk/{FormSelectChoice-BpoNPaWE.js → FormSelectChoice-CQr1Jubb.js} +27 -26
- package/chunk/{FormSelectChoice-B8o9l8mY.js.map → FormSelectChoice-CQr1Jubb.js.map} +1 -1
- package/chunk/{FormSelectChoice-B8o9l8mY.js → FormSelectChoice-CqnTysyY.js} +10 -9
- package/chunk/{FormSelectChoice-BpoNPaWE.js.map → FormSelectChoice-CqnTysyY.js.map} +1 -1
- package/chunk/{InputText-CQYoeUfw.js → InputText-CMu4ei8e.js} +7 -7
- package/chunk/{InputText-C4PEMeZJ.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-C4PEMeZJ.js → InputText-dflyPe3J.js} +7 -7
- package/chunk/{InputText-CQYoeUfw.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B_roPqG_.js → LicensedProfessionalOrganizationComponent-CklhhuuU.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BE8IFZ0S.js.map → LicensedProfessionalOrganizationComponent-CklhhuuU.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BE8IFZ0S.js → LicensedProfessionalOrganizationComponent-kHIgzWD4.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-B_roPqG_.js.map → LicensedProfessionalOrganizationComponent-kHIgzWD4.js.map} +1 -1
- package/chunk/{LogoComponent-Cq0AZvcg.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-Cq0AZvcg.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-DKi0XFRw.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-DKi0XFRw.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DqgDy9db.js → LowIncomeOrganizationComponent-PrYNPhRF.js} +30 -29
- package/chunk/{LowIncomeOrganizationComponent-17Ee4XYb.js.map → LowIncomeOrganizationComponent-PrYNPhRF.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-17Ee4XYb.js → LowIncomeOrganizationComponent-YZhd7as_.js} +16 -15
- package/chunk/{LowIncomeOrganizationComponent-DqgDy9db.js.map → LowIncomeOrganizationComponent-YZhd7as_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-D86MbFqB.js → MedicalProfessionalOrganizationComponent-Bjy3TNon.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-D86MbFqB.js.map → MedicalProfessionalOrganizationComponent-Bjy3TNon.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QG6PF2Gf.js → MedicalProfessionalOrganizationComponent-CsMXEJrO.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-QG6PF2Gf.js.map → MedicalProfessionalOrganizationComponent-CsMXEJrO.js.map} +1 -1
- package/chunk/{MemberIdComponent-YFPKpB-w.js → MemberIdComponent-BOy5wl75.js} +8 -8
- package/chunk/{MemberIdComponent-DcyepYUb.js.map → MemberIdComponent-BOy5wl75.js.map} +1 -1
- package/chunk/{MemberIdComponent-DcyepYUb.js → MemberIdComponent-CI5xHJ_c.js} +8 -8
- package/chunk/{MemberIdComponent-YFPKpB-w.js.map → MemberIdComponent-CI5xHJ_c.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CfieVzom.js → MembershipOrganizationComponent-BzDNiluc.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Cbp4HZMa.js.map → MembershipOrganizationComponent-BzDNiluc.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Cbp4HZMa.js → MembershipOrganizationComponent-D21Lq_Wf.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CfieVzom.js.map → MembershipOrganizationComponent-D21Lq_Wf.js.map} +1 -1
- package/chunk/{Message-CLRlAd43.js → Message-9_oXkro6.js} +1600 -1590
- package/chunk/Message-9_oXkro6.js.map +1 -0
- package/chunk/{Message-BNNsbHmI.js → Message-C66R6xdJ.js} +1050 -1038
- package/chunk/Message-C66R6xdJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-D3mRi9aO.js → PersonalInfoStepSubmitButton-BfDq_I9X.js} +23 -22
- package/chunk/{PersonalInfoStepSubmitButton-CxGmsDKD.js.map → PersonalInfoStepSubmitButton-BfDq_I9X.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CxGmsDKD.js → PersonalInfoStepSubmitButton-C31TPJsr.js} +37 -36
- package/chunk/{PersonalInfoStepSubmitButton-D3mRi9aO.js.map → PersonalInfoStepSubmitButton-C31TPJsr.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-L7CiE7rH.js → PersonalInfoStepWrapper-BV0AbuZQ.js} +26 -25
- package/chunk/{PersonalInfoStepWrapper-L7CiE7rH.js.map → PersonalInfoStepWrapper-BV0AbuZQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-HGsdCjac.js → PersonalInfoStepWrapper-_qMmj4Yd.js} +16 -15
- package/chunk/{PersonalInfoStepWrapper-HGsdCjac.js.map → PersonalInfoStepWrapper-_qMmj4Yd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DQizi-5r.js → PostalCodeComponent-CNRdl96V.js} +8 -8
- package/chunk/{PostalCodeComponent-DANP7Ree.js.map → PostalCodeComponent-CNRdl96V.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DANP7Ree.js → PostalCodeComponent-CNwKrZsf.js} +8 -8
- package/chunk/{PostalCodeComponent-DQizi-5r.js.map → PostalCodeComponent-CNwKrZsf.js.map} +1 -1
- package/chunk/{SSN-B31LIw_T.js → SSN-B8MCDSEI.js} +15 -15
- package/chunk/{SSN-43JXhumT.js.map → SSN-B8MCDSEI.js.map} +1 -1
- package/chunk/{SSN-43JXhumT.js → SSN-C_hXBSkj.js} +9 -9
- package/chunk/{SSN-B31LIw_T.js.map → SSN-C_hXBSkj.js.map} +1 -1
- package/chunk/{StateSelectComponent-CY5xfRHI.js → StateSelectComponent-BhdLtglI.js} +7 -7
- package/chunk/{StateSelectComponent-CY5xfRHI.js.map → StateSelectComponent-BhdLtglI.js.map} +1 -1
- package/chunk/{StateSelectComponent-XeAVHT-j.js → StateSelectComponent-DnqzEF_0.js} +7 -7
- package/chunk/{StateSelectComponent-XeAVHT-j.js.map → StateSelectComponent-DnqzEF_0.js.map} +1 -1
- package/chunk/{StatusComponent-hCupxbMY.js → StatusComponent-BH8l0sab.js} +9 -9
- package/chunk/{StatusComponent-hCupxbMY.js.map → StatusComponent-BH8l0sab.js.map} +1 -1
- package/chunk/{StatusComponent-DElMh8XL.js → StatusComponent-CZ7P00k-.js} +9 -9
- package/chunk/{StatusComponent-DElMh8XL.js.map → StatusComponent-CZ7P00k-.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BxrqqLkE.js → StepAgePersonalInfo-uxXEKMVy.js} +54 -53
- package/chunk/{StepAgePersonalInfo-Bbdiu3mC.js.map → StepAgePersonalInfo-uxXEKMVy.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Bbdiu3mC.js → StepAgePersonalInfo-yrJkeJGX.js} +22 -21
- package/chunk/{StepAgePersonalInfo-BxrqqLkE.js.map → StepAgePersonalInfo-yrJkeJGX.js.map} +1 -1
- package/chunk/{StepCard-BPyR9qva.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-5V1_mxeM.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-5V1_mxeM.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-BPyR9qva.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-EsA17z_o.js → StepCollectIdentifier-BTdrX-OE.js} +22 -21
- package/chunk/{StepCollectIdentifier-BqRgMUYf.js.map → StepCollectIdentifier-BTdrX-OE.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BqRgMUYf.js → StepCollectIdentifier-QJDHynf_.js} +14 -13
- package/chunk/{StepCollectIdentifier-EsA17z_o.js.map → StepCollectIdentifier-QJDHynf_.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js +246 -0
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BRzAAXZV.js.map → StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D0kGiKdF.js → StepCollectMilitaryPersonalInfoComponent-DnoOIWHU.js} +35 -34
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D0kGiKdF.js.map → StepCollectMilitaryPersonalInfoComponent-DnoOIWHU.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-D4HeUZom.js +373 -0
- package/chunk/{StepCollectPersonalInfo-D9OvB7el.js.map → StepCollectPersonalInfo-D4HeUZom.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D9OvB7el.js → StepCollectPersonalInfo-tIJ-vjG4.js} +115 -118
- package/chunk/{StepCollectPersonalInfo-B3fsiQf6.js.map → StepCollectPersonalInfo-tIJ-vjG4.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js → StepCompleteAuthentication-D7GOINsk.js} +27 -26
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js.map → StepCompleteAuthentication-D7GOINsk.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js → StepCompleteAuthentication-W7k49rug.js} +17 -16
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js.map → StepCompleteAuthentication-W7k49rug.js.map} +1 -1
- package/chunk/{StepConsolation-Ds4gcJ87.js → StepConsolation-CoQuWtJq.js} +9 -9
- package/chunk/{StepConsolation-BT7NQVer.js.map → StepConsolation-CoQuWtJq.js.map} +1 -1
- package/chunk/{StepConsolation-BT7NQVer.js → StepConsolation-YVxz5A3X.js} +25 -25
- package/chunk/{StepConsolation-Ds4gcJ87.js.map → StepConsolation-YVxz5A3X.js.map} +1 -1
- package/chunk/{StepDocUpload-BFgFE1P6.js → StepDocUpload-8h2y1K6O.js} +629 -628
- package/chunk/{StepDocUpload-BFgFE1P6.js.map → StepDocUpload-8h2y1K6O.js.map} +1 -1
- package/chunk/{StepDocUpload-BPvduGCK.js → StepDocUpload-Dy5N14OB.js} +616 -615
- package/chunk/{StepDocUpload-BPvduGCK.js.map → StepDocUpload-Dy5N14OB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dfy2j5oz.js → StepDriverLicensePersonalInfoComponent-DJcYF8X1.js} +46 -45
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdUPQPYB.js.map → StepDriverLicensePersonalInfoComponent-DJcYF8X1.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdUPQPYB.js → StepDriverLicensePersonalInfoComponent-mfmdHfHS.js} +21 -20
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dfy2j5oz.js.map → StepDriverLicensePersonalInfoComponent-mfmdHfHS.js.map} +1 -1
- package/chunk/{StepEmailLoop-0kk1ZVQR.js → StepEmailLoop-C7c8DTXQ.js} +34 -33
- package/chunk/{StepEmailLoop-0kk1ZVQR.js.map → StepEmailLoop-C7c8DTXQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-D0p8Uguc.js → StepEmailLoop-D3ifl2Sv.js} +17 -16
- package/chunk/{StepEmailLoop-D0p8Uguc.js.map → StepEmailLoop-D3ifl2Sv.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-DuBXeE06.js +217 -0
- package/chunk/{StepEmploymentPersonalInfo-BshfK2mS.js.map → StepEmploymentPersonalInfo-DuBXeE06.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BxYmesv2.js → StepEmploymentPersonalInfo-VcfGDPHF.js} +25 -24
- package/chunk/{StepEmploymentPersonalInfo-BxYmesv2.js.map → StepEmploymentPersonalInfo-VcfGDPHF.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-7etOnfoT.js +183 -0
- package/chunk/{StepFirstResponderPersonalInfo-BYVMAm6O.js.map → StepFirstResponderPersonalInfo-7etOnfoT.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Blb2f1Ec.js → StepFirstResponderPersonalInfo-Dnb0aEWK.js} +37 -36
- package/chunk/{StepFirstResponderPersonalInfo-Blb2f1Ec.js.map → StepFirstResponderPersonalInfo-Dnb0aEWK.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWpW5EH-.js → StepGeneralIdentityPersonalInfoComponent-BqpnwYYj.js} +24 -23
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C5PK2VHb.js.map → StepGeneralIdentityPersonalInfoComponent-BqpnwYYj.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C5PK2VHb.js → StepGeneralIdentityPersonalInfoComponent-DJpsXpNg.js} +51 -50
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWpW5EH-.js.map → StepGeneralIdentityPersonalInfoComponent-DJpsXpNg.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BArnt4Lg.js → StepHybridIdentityPersonalInfoComponent-CzFYhlAE.js} +53 -52
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BArnt4Lg.js.map → StepHybridIdentityPersonalInfoComponent-CzFYhlAE.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSmUmIf.js → StepHybridIdentityPersonalInfoComponent-JbxItzli.js} +25 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSmUmIf.js.map → StepHybridIdentityPersonalInfoComponent-JbxItzli.js.map} +1 -1
- package/chunk/StepIDCheckLoop-CKJFpdU7.js +25 -0
- package/chunk/{StepIDCheckLoop-CTbTYEFE.js.map → StepIDCheckLoop-CKJFpdU7.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CTbTYEFE.js → StepIDCheckLoop-UPYtuj_3.js} +9 -8
- package/chunk/{StepIDCheckLoop-DoGmWgkC.js.map → StepIDCheckLoop-UPYtuj_3.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-zlOMgXN8.js → StepIDCheckLoopOnfido-BqOq60sP.js} +72 -71
- package/chunk/{StepIDCheckLoopOnfido-C62k0412.js.map → StepIDCheckLoopOnfido-BqOq60sP.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-C62k0412.js → StepIDCheckLoopOnfido-DWV0RKh2.js} +41 -40
- package/chunk/{StepIDCheckLoopOnfido-zlOMgXN8.js.map → StepIDCheckLoopOnfido-DWV0RKh2.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-fI3_fV_g.js → StepIDCheckLoopRegula-B8ap2gkD.js} +17 -16
- package/chunk/{StepIDCheckLoopRegula-LJjYzq94.js.map → StepIDCheckLoopRegula-B8ap2gkD.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-LJjYzq94.js → StepIDCheckLoopRegula-BRw-tnai.js} +53 -52
- package/chunk/{StepIDCheckLoopRegula-fI3_fV_g.js.map → StepIDCheckLoopRegula-BRw-tnai.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BK5QWbnL.js → StepLicensedProfessionalPersonalInfo-CFaCOVfa.js} +57 -56
- package/chunk/{StepLicensedProfessionalPersonalInfo-BK5QWbnL.js.map → StepLicensedProfessionalPersonalInfo-CFaCOVfa.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CVIIdb59.js → StepLicensedProfessionalPersonalInfo-DxuvNwwr.js} +26 -25
- package/chunk/{StepLicensedProfessionalPersonalInfo-CVIIdb59.js.map → StepLicensedProfessionalPersonalInfo-DxuvNwwr.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CRkSd58F.js → StepLowIncomePersonalInfo-B3XQJ7pP.js} +88 -87
- package/chunk/{StepLowIncomePersonalInfo-CRkSd58F.js.map → StepLowIncomePersonalInfo-B3XQJ7pP.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Cp_wp8r6.js → StepLowIncomePersonalInfo-CFNPyuDa.js} +35 -34
- package/chunk/{StepLowIncomePersonalInfo-Cp_wp8r6.js.map → StepLowIncomePersonalInfo-CFNPyuDa.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DLJvzVU3.js → StepMedicalProfessionalPersonalInfo-DMGMtX8O.js} +24 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-B3MhjH-2.js.map → StepMedicalProfessionalPersonalInfo-DMGMtX8O.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-B3MhjH-2.js → StepMedicalProfessionalPersonalInfo-DlsJbwe3.js} +87 -86
- package/chunk/{StepMedicalProfessionalPersonalInfo-DLJvzVU3.js.map → StepMedicalProfessionalPersonalInfo-DlsJbwe3.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BVIvEnYz.js → StepMemberPersonalInfo-BtRlES0-.js} +22 -21
- package/chunk/{StepMemberPersonalInfo-BuwhMukd.js.map → StepMemberPersonalInfo-BtRlES0-.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BuwhMukd.js → StepMemberPersonalInfo-Ddm4N4Cl.js} +43 -42
- package/chunk/{StepMemberPersonalInfo-BVIvEnYz.js.map → StepMemberPersonalInfo-Ddm4N4Cl.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DHIRdMxl.js → StepMoverPersonalInfo-IQdRsRMu.js} +20 -19
- package/chunk/{StepMoverPersonalInfo-B73ekEZL.js.map → StepMoverPersonalInfo-IQdRsRMu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B73ekEZL.js → StepMoverPersonalInfo-rp6MCvDz.js} +44 -43
- package/chunk/{StepMoverPersonalInfo-DHIRdMxl.js.map → StepMoverPersonalInfo-rp6MCvDz.js.map} +1 -1
- package/chunk/{StepOverrideComponent-ZtSooB8Z.js → StepOverrideComponent-Bm9qgm9B.js} +15 -14
- package/chunk/{StepOverrideComponent-Dwswmn0U.js.map → StepOverrideComponent-Bm9qgm9B.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Dwswmn0U.js → StepOverrideComponent-JlYf0fjU.js} +28 -27
- package/chunk/{StepOverrideComponent-ZtSooB8Z.js.map → StepOverrideComponent-JlYf0fjU.js.map} +1 -1
- package/chunk/{StepSMSLoop-DAzf3bD-.js → StepSMSLoop-B5crGkEN.js} +18 -17
- package/chunk/{StepSMSLoop-Bsikw-E1.js.map → StepSMSLoop-B5crGkEN.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bsikw-E1.js → StepSMSLoop-jWZFKQ5c.js} +36 -35
- package/chunk/{StepSMSLoop-DAzf3bD-.js.map → StepSMSLoop-jWZFKQ5c.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-ClndT3ZW.js → StepSocialSecurityNumber-Cvfvpujv.js} +38 -37
- package/chunk/{StepSocialSecurityNumber-ClndT3ZW.js.map → StepSocialSecurityNumber-Cvfvpujv.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DDLyA-I2.js → StepSocialSecurityNumber-Dx8LFJum.js} +18 -17
- package/chunk/{StepSocialSecurityNumber-DDLyA-I2.js.map → StepSocialSecurityNumber-Dx8LFJum.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-tUMOn2y-.js → StepStudentPersonalInfo-BEzuVykn.js} +51 -50
- package/chunk/{StepStudentPersonalInfo-C6P3vkk8.js.map → StepStudentPersonalInfo-BEzuVykn.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C6P3vkk8.js → StepStudentPersonalInfo-C7MbAgm1.js} +29 -28
- package/chunk/{StepStudentPersonalInfo-tUMOn2y-.js.map → StepStudentPersonalInfo-C7MbAgm1.js.map} +1 -1
- package/chunk/{StepSuccess-D1oodD3-.js → StepSuccess-BRV0a57v.js} +36 -35
- package/chunk/{StepSuccess-B2UNOf5i.js.map → StepSuccess-BRV0a57v.js.map} +1 -1
- package/chunk/{StepSuccess-B2UNOf5i.js → StepSuccess-Dhs4EnW-.js} +49 -48
- package/chunk/{StepSuccess-D1oodD3-.js.map → StepSuccess-Dhs4EnW-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-8kn84kw2.js → StepTeacherPersonalInfo-D1hIdA2Q.js} +43 -42
- package/chunk/{StepTeacherPersonalInfo-8kn84kw2.js.map → StepTeacherPersonalInfo-D1hIdA2Q.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DiiP4TW3.js → StepTeacherPersonalInfo-LG20UfTt.js} +21 -20
- package/chunk/{StepTeacherPersonalInfo-DiiP4TW3.js.map → StepTeacherPersonalInfo-LG20UfTt.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Dd9XYJ8W.js → TeacherSchoolComponent-BOMW9EkO.js} +10 -10
- package/chunk/{TeacherSchoolComponent-Dd9XYJ8W.js.map → TeacherSchoolComponent-BOMW9EkO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-wXWnR8Nd.js → TeacherSchoolComponent-BZcQyAYO.js} +10 -10
- package/chunk/{TeacherSchoolComponent-wXWnR8Nd.js.map → TeacherSchoolComponent-BZcQyAYO.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +78 -0
- package/chunk/{TestingRouteOverrides-D4n0RZk2.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +82 -0
- package/chunk/{TestingRouteOverrides-uUJqRbL9.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-_E2yHebn.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-D0YJQD1a.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-_E2yHebn.js.map → countryUtils-n_5QoHGV.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-EsIc8yi0.js → downshift.esm-Bc0gEum9.js} +7 -7
- package/chunk/{downshift.esm-BdUQwm0I.js.map → downshift.esm-Bc0gEum9.js.map} +1 -1
- package/chunk/{downshift.esm-BdUQwm0I.js → downshift.esm-Bg5HUokY.js} +7 -7
- package/chunk/{downshift.esm-EsIc8yi0.js.map → downshift.esm-Bg5HUokY.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-BOZDJKb1.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-BOZDJKb1.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-zYUS2tEa.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-zYUS2tEa.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-DY9jekmV.js → hooks-B8Gr4Mtw.js} +60 -59
- package/chunk/{hooks-DPmC5aMQ.js.map → hooks-B8Gr4Mtw.js.map} +1 -1
- package/chunk/{hooks-DPmC5aMQ.js → hooks-Cl3P7QIh.js} +72 -71
- package/chunk/{hooks-DY9jekmV.js.map → hooks-Cl3P7QIh.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{options-kkjACM14.js → intl-CvSmE54g.js} +2102 -2275
- package/chunk/intl-CvSmE54g.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-n0jD1uEy.js → jsx-runtime-CyXcV_93.js} +18 -18
- package/chunk/{jsx-runtime-DmTh-fvV.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-DmTh-fvV.js → jsx-runtime-JSlXFmKD.js} +18 -18
- package/chunk/{jsx-runtime-n0jD1uEy.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +65 -0
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +1 -0
- package/chunk/{mocks-C69Rqq8D.js → mocks-Dpf6dNc6.js} +9 -9
- package/chunk/{mocks-CvUvRHV_.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-CvUvRHV_.js → mocks-DrV8NINc.js} +9 -9
- package/chunk/{mocks-C69Rqq8D.js.map → mocks-DrV8NINc.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{intl-DwZU2l1o.js → options-CRzdSTAR.js} +1114 -1295
- package/chunk/options-CRzdSTAR.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-rty9XxxN.js → programThemeGetters-DYWYXv-a.js} +51 -46
- package/chunk/{programThemeGetters-CZMLVLDB.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +150 -0
- package/chunk/{programThemeGetters-rty9XxxN.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/{refs-DC2-V94e.js → refs-Mq0rtW9K.js} +5 -5
- package/chunk/{refs-D3MifwJO.js.map → refs-Mq0rtW9K.js.map} +1 -1
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +193 -0
- package/chunk/runtimeTypes-B2AGNJMT.js.map +1 -0
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DN6dYb4A.js → stepComponentHelpers-DKGaTSta.js} +31 -30
- package/chunk/{stepComponentHelpers-BhSQbOUm.js.map → stepComponentHelpers-DKGaTSta.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BhSQbOUm.js → stepComponentHelpers-DXPc6DBY.js} +43 -42
- package/chunk/{stepComponentHelpers-DN6dYb4A.js.map → stepComponentHelpers-DXPc6DBY.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-B2MFWUCD.js +62 -0
- package/chunk/{useCollectFieldsEndpoint-CNprsQwH.js.map → useCollectFieldsEndpoint-B2MFWUCD.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-QkleZJ0t.js → useCollectFieldsEndpoint-Dua3Cwp5.js} +17 -16
- package/chunk/{useCollectFieldsEndpoint-QkleZJ0t.js.map → useCollectFieldsEndpoint-Dua3Cwp5.js.map} +1 -1
- package/chunk/{useMetrics-Bd0EhnNL.js → useMetrics-BBypvN8X.js} +14 -13
- package/chunk/{useMetrics-Bd0EhnNL.js.map → useMetrics-BBypvN8X.js.map} +1 -1
- package/chunk/{useMetrics-h8PVjepD.js → useMetrics-Grd89oUa.js} +20 -19
- package/chunk/{useMetrics-h8PVjepD.js.map → useMetrics-Grd89oUa.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +814 -813
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-JG2nS1h7.js +0 -50
- package/chunk/ApiUrls-krufIliq.js +0 -44
- package/chunk/Message-BNNsbHmI.js.map +0 -1
- package/chunk/Message-CLRlAd43.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BRzAAXZV.js +0 -245
- package/chunk/StepCollectPersonalInfo-B3fsiQf6.js +0 -368
- package/chunk/StepEmploymentPersonalInfo-BshfK2mS.js +0 -216
- package/chunk/StepFirstResponderPersonalInfo-BYVMAm6O.js +0 -182
- package/chunk/StepIDCheckLoop-DoGmWgkC.js +0 -24
- package/chunk/TestingRouteOverrides-D4n0RZk2.js +0 -81
- package/chunk/TestingRouteOverrides-uUJqRbL9.js +0 -77
- package/chunk/countryUtils-D0YJQD1a.js +0 -12
- package/chunk/intl-DwZU2l1o.js.map +0 -1
- package/chunk/options-kkjACM14.js.map +0 -1
- package/chunk/programThemeGetters-CZMLVLDB.js +0 -153
- package/chunk/refs-D3MifwJO.js +0 -29
- package/chunk/refs-DC2-V94e.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CNprsQwH.js +0 -61
|
@@ -1,103 +1,80 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* VERSION: 2.284.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1789507151508
|
|
9
|
-
* BUILD_DATE: Tue Sep 15 2026 21:19:11 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 1f15e88c77517e817b5e0876e256ba75f5914978
|
|
3
|
+
* VERSION: 2.286.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789602705295
|
|
5
|
+
* BUILD_DATE: Wed Sep 16 2026 23:51:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
7
|
*/
|
|
8
|
+
import { D as e, E as t, S as n, T as r, _ as i, a, n as o, r as s, v as c, w as l, y as u } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
9
|
//#region \0rolldown/runtime.js
|
|
13
|
-
var
|
|
14
|
-
let
|
|
15
|
-
for (var
|
|
16
|
-
get: e[
|
|
10
|
+
var d = Object.create, f = Object.defineProperty, p = Object.getOwnPropertyDescriptor, m = Object.getOwnPropertyNames, h = Object.getPrototypeOf, g = Object.prototype.hasOwnProperty, _ = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), v = (e, t) => {
|
|
11
|
+
let n = {};
|
|
12
|
+
for (var r in e) f(n, r, {
|
|
13
|
+
get: e[r],
|
|
17
14
|
enumerable: !0
|
|
18
15
|
});
|
|
19
|
-
return
|
|
20
|
-
},
|
|
21
|
-
if (
|
|
22
|
-
get: ((e) =>
|
|
23
|
-
enumerable: !(
|
|
16
|
+
return t || f(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
17
|
+
}, y = (e, t, n, r) => {
|
|
18
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = m(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !g.call(e, s) && s !== n && f(e, s, {
|
|
19
|
+
get: ((e) => t[e]).bind(null, s),
|
|
20
|
+
enumerable: !(r = p(t, s)) || r.enumerable
|
|
24
21
|
});
|
|
25
22
|
return e;
|
|
26
|
-
},
|
|
27
|
-
value:
|
|
23
|
+
}, b = (e, t, n) => (n = e == null ? {} : d(h(e)), y(t || !e || !e.__esModule ? f(n, "default", {
|
|
24
|
+
value: e,
|
|
28
25
|
enumerable: !0
|
|
29
|
-
}) :
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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 (!Object.hasOwn(_, 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;
|
|
26
|
+
}) : n, e)), x = {}, S = [], ee = (e, t) => {
|
|
27
|
+
n.log(`customValidator registering \n${t}\n for custom field '${e}'`), x[e] = t, S.push(e);
|
|
28
|
+
}, C = (e) => x[e] ? (n.log(`getCustomValidator returning '${e}'`), x[e]) : (n.error(`Custom validator for field '${e}' does not exist.
|
|
29
|
+
Has a custom validator been registered using the setCustomValidator method?`, "getCustomValidator"), null), w = () => S, T = (e) => {
|
|
30
|
+
if (u.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
31
|
+
}, te = (e) => {
|
|
32
|
+
if (a.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
33
|
+
}, ne = (e) => {
|
|
34
|
+
if (!re(e)) throw Error(`Invalid locale ${e}, expected one of ${c.join(", ")}`);
|
|
35
|
+
}, re = (e) => c.indexOf(e) > -1, ie = (e) => {
|
|
36
|
+
if (!(e && e.nodeType === Node.ELEMENT_NODE)) throw Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`);
|
|
37
|
+
}, ae = (e) => {
|
|
38
|
+
pe(e);
|
|
39
|
+
}, oe = (e) => {
|
|
40
|
+
let t = w();
|
|
41
|
+
if (o.indexOf(e) < 0 && t.indexOf(e) < 0) throw Error(`Expected valid field ID but received ${e}.
|
|
42
|
+
Valid FieldIds are [${o.join(", ")}, ${t.join(", ")}]`);
|
|
43
|
+
}, se = (e) => {
|
|
44
|
+
le(e.name), ue(e.callback);
|
|
45
|
+
}, ce = (e) => s.includes(e);
|
|
46
|
+
function le(e) {
|
|
47
|
+
if (!ce(e)) throw Error(`Expected valid hook name but received ${e}. Valid HookNames are [${s.join(", ")}]`);
|
|
48
|
+
}
|
|
49
|
+
var ue = (e) => {
|
|
50
|
+
if (typeof e != "function") throw Error(`Expected type "function", but received ${typeof e}`);
|
|
51
|
+
}, de = (e) => {
|
|
52
|
+
if (typeof e != "string") throw Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);
|
|
53
|
+
if (e.length < 1) throw Error("Expected trackingId string length greater than 0.");
|
|
54
|
+
}, fe = (e) => {
|
|
55
|
+
if (typeof e != "object") throw Error(`Expected conversion request to be an object, but received ${typeof e} instead.`);
|
|
56
|
+
if (e.hasOwnProperty("amount") && typeof e.amount != "number") throw Error("Expected conversion request property \"amount\" to have type number.");
|
|
57
|
+
}, pe = (e) => {
|
|
58
|
+
if (!/^[0-9a-fA-F]{24}$/.test(e)) throw Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`);
|
|
59
|
+
};
|
|
60
|
+
function me(e) {
|
|
61
|
+
return e ? e.currentStep === "docUpload" : !1;
|
|
62
|
+
}
|
|
63
|
+
function he(e) {
|
|
64
|
+
return e ? e.currentStep === "pending" : !1;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region ../packages/shared/src/utils/getSafe.ts
|
|
68
|
+
function ge(e, t) {
|
|
69
|
+
try {
|
|
70
|
+
return e();
|
|
71
|
+
} catch {
|
|
72
|
+
return t;
|
|
99
73
|
}
|
|
100
|
-
}
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region ../node_modules/flat/index.js
|
|
77
|
+
var _e = /* @__PURE__ */ _(((e, t) => {
|
|
101
78
|
t.exports = i, i.flatten = i, i.unflatten = a;
|
|
102
79
|
function n(e) {
|
|
103
80
|
return e && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
|
|
@@ -150,232 +127,74 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
150
127
|
f[i] = a(e[n], t);
|
|
151
128
|
}), l;
|
|
152
129
|
}
|
|
153
|
-
}))
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region ../packages/shared/src/utils/getSafe.ts
|
|
156
|
-
function ne(e, t) {
|
|
157
|
-
try {
|
|
158
|
-
return e();
|
|
159
|
-
} catch {
|
|
160
|
-
return t;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
//#endregion
|
|
164
|
-
//#region src/lib/validators/customValidators.ts
|
|
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
|
-
return e.collectStudentPersonalInfo = "collectStudentPersonalInfo", e.collectTeacherPersonalInfo = "collectTeacherPersonalInfo", e.collectMemberPersonalInfo = "collectMemberPersonalInfo", e.collectMilitaryStatus = "collectMilitaryStatus", e.collectActiveMilitaryPersonalInfo = "collectActiveMilitaryPersonalInfo", e.collectInactiveMilitaryPersonalInfo = "collectInactiveMilitaryPersonalInfo", e.collectMilitaryPersonalInfo = "collectMilitaryPersonalInfo", 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
|
-
}({}), le = Object.values(ce), ue = [
|
|
171
|
-
"collectStudentPersonalInfo",
|
|
172
|
-
"collectTeacherPersonalInfo",
|
|
173
|
-
"collectMemberPersonalInfo",
|
|
174
|
-
"collectMilitaryStatus",
|
|
175
|
-
"collectActiveMilitaryPersonalInfo",
|
|
176
|
-
"collectInactiveMilitaryPersonalInfo",
|
|
177
|
-
"collectMilitaryPersonalInfo",
|
|
178
|
-
"collectSeniorPersonalInfo",
|
|
179
|
-
"collectAgePersonalInfo",
|
|
180
|
-
"collectFirstResponderPersonalInfo",
|
|
181
|
-
"collectMedicalProfessionalPersonalInfo",
|
|
182
|
-
"collectEmployeePersonalInfo",
|
|
183
|
-
"collectDriverLicensePersonalInfo",
|
|
184
|
-
"collectGeneralIdentityPersonalInfo",
|
|
185
|
-
"collectHybridIdentityPersonalInfo",
|
|
186
|
-
"collectLicensedProfessionalPersonalInfo",
|
|
187
|
-
"collectMoverPersonalInfo",
|
|
188
|
-
"collectLowIncomePersonalInfo",
|
|
189
|
-
"collectIdentifier",
|
|
190
|
-
"collectPersonalInfo"
|
|
191
|
-
], de = /* @__PURE__ */ function(e) {
|
|
192
|
-
return e.loading = "loading", e.collect = "collect", e;
|
|
193
|
-
}({}), fe = [
|
|
194
|
-
"cancelDocUpload",
|
|
195
|
-
"cancelEmailLoop",
|
|
196
|
-
"cancelSocialSecurityNumber",
|
|
197
|
-
"collectMilitaryStatus"
|
|
198
|
-
];
|
|
199
|
-
[...Object.values(ce).filter((e) => !fe.includes(e)), ...Object.values(de)];
|
|
200
|
-
function pe(e) {
|
|
201
|
-
return ue.includes(e);
|
|
202
|
-
}
|
|
203
|
-
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) => {
|
|
204
|
-
E.info(`Registering additional locales ${e.join(", ")}`), me.push(...e);
|
|
205
|
-
};
|
|
206
|
-
function ge(e) {
|
|
207
|
-
return e?.currentStep === "success";
|
|
208
|
-
}
|
|
209
|
-
Object.values(/* @__PURE__ */ function(e) {
|
|
210
|
-
return e.docUpload = "docUpload", e.pending = "pending", e.error = "error", e;
|
|
211
|
-
}({}));
|
|
212
|
-
var _e = /* @__PURE__ */ function(e) {
|
|
213
|
-
return e.loading = "loading", e.collect = "collect", e;
|
|
214
|
-
}({}), ve = [
|
|
215
|
-
"cancelDocUpload",
|
|
216
|
-
"cancelEmailLoop",
|
|
217
|
-
"cancelSocialSecurityNumber",
|
|
218
|
-
"collectMilitaryStatus"
|
|
219
|
-
], ye = [...Object.values(ce).filter((e) => !ve.includes(e)), ...Object.values(_e)], be = /* @__PURE__ */ function(e) {
|
|
220
|
-
return e.TEXT = "TEXT", e.QR = "QR", e.PDF417 = "PDF417", e.UPC_A = "UPC_A", e.ITF = "ITF", e.CODE_128 = "CODE_128", e;
|
|
221
|
-
}({}), xe = /* @__PURE__ */ function(e) {
|
|
222
|
-
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;
|
|
223
|
-
}({}), Se = /* @__PURE__ */ function(e) {
|
|
224
|
-
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;
|
|
225
|
-
}({});
|
|
226
|
-
Object.values(Se);
|
|
227
|
-
var Ce = /* @__PURE__ */ function(e) {
|
|
228
|
-
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;
|
|
229
|
-
}({});
|
|
230
|
-
Object.values(Ce);
|
|
231
|
-
var we = {
|
|
232
|
-
ACTIVE_DUTY: "Active Duty",
|
|
233
|
-
MILITARY_RETIREE: "Military Retiree",
|
|
234
|
-
RESERVIST: "Reservist or National Guard",
|
|
235
|
-
VETERAN: "Military Veteran or Retiree",
|
|
236
|
-
MILITARY_FAMILY: "Military Family",
|
|
237
|
-
GOLD_STAR_FAMILY: "Gold Star Family"
|
|
238
|
-
}, Te = {
|
|
239
|
-
FIREFIGHTER: "Firefighter",
|
|
240
|
-
POLICE: "Police",
|
|
241
|
-
EMT: "EMT",
|
|
242
|
-
SEARCH_AND_RESCUE: "Search and Rescue"
|
|
243
|
-
}, Ee = {
|
|
244
|
-
NURSE: "Nurse",
|
|
245
|
-
DOCTOR: "Doctor",
|
|
246
|
-
OTHER_HEALTH_WORKER: "Other Health Worker",
|
|
247
|
-
DENTIST: "Dentist",
|
|
248
|
-
PHARMACIST: "Pharmacist"
|
|
249
|
-
}, De = {
|
|
250
|
-
HOME_BUYER: "Home Buyer",
|
|
251
|
-
OTHER_MOVER: "Other Mover"
|
|
252
|
-
}, Oe = {
|
|
253
|
-
SNAP_BENEFITS: "Snap Benefits Recipient",
|
|
254
|
-
OTHER_GOVERNMENT_ASSISTANCE: "Other Government Assistance Recipient",
|
|
255
|
-
COMMUNITY_ELIGIBILITY_PROVISION: "CEP (Community Eligibility Provision, Title 1/LAP)"
|
|
256
|
-
}, ke = {
|
|
257
|
-
STUDENT: "Student",
|
|
258
|
-
GRADUATE: "Graduate"
|
|
259
|
-
};
|
|
260
|
-
Object.values(we), Object.values(Te), Object.values(Ee), Object.values(De), Object.values(Oe), Object.values(ke);
|
|
261
|
-
var Ae = /* @__PURE__ */ function(e) {
|
|
262
|
-
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;
|
|
263
|
-
}({}), je = Object.values(Ae), Me = Object.values(/* @__PURE__ */ function(e) {
|
|
264
|
-
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;
|
|
265
|
-
}({})), Ne = /* @__PURE__ */ function(e) {
|
|
266
|
-
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;
|
|
267
|
-
}({}), Pe = /* @__PURE__ */ function(e) {
|
|
268
|
-
return e.DOCUMENT = "document", e.FACIAL_SIMILARITY_MOTION = "facial_similarity_motion", e;
|
|
269
|
-
}({}), Fe = /* @__PURE__ */ function(e) {
|
|
270
|
-
return e.PASSPORT = "passport", e.NATIONAL_IDENTITY_CARD = "national_identity_card", e.DRIVING_LICENCE = "driving_licence", e.RESIDENCE_PERMIT = "residence_permit", e;
|
|
271
|
-
}({}), Ie = /* @__PURE__ */ function(e) {
|
|
272
|
-
return e.ID_CHECK = "ID_CHECK", e.ID_CHECK_LIVENESS = "ID_CHECK_LIVENESS", e;
|
|
273
|
-
}({}), Le = /* @__PURE__ */ function(e) {
|
|
274
|
-
return e.SIGNZY = "signzy", e;
|
|
275
|
-
}({}), Re = (e) => {
|
|
276
|
-
if (le.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
277
|
-
}, ze = (e) => {
|
|
278
|
-
if (ye.indexOf(e) < 0) throw Error(`Expected valid verification step name but received "${e}".`);
|
|
279
|
-
}, Be = (e) => {
|
|
280
|
-
if (!Ve(e)) throw Error(`Invalid locale ${e}, expected one of ${me.join(", ")}`);
|
|
281
|
-
}, Ve = (e) => me.indexOf(e) > -1, He = (e) => {
|
|
282
|
-
if (!(e && e.nodeType === Node.ELEMENT_NODE)) throw Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`);
|
|
283
|
-
}, Ue = (e) => {
|
|
284
|
-
Xe(e);
|
|
285
|
-
}, We = (e) => {
|
|
286
|
-
let t = se();
|
|
287
|
-
if (je.indexOf(e) < 0 && t.indexOf(e) < 0) throw Error(`Expected valid field ID but received ${e}.
|
|
288
|
-
Valid FieldIds are [${je.join(", ")}, ${t.join(", ")}]`);
|
|
289
|
-
}, Ge = (e) => {
|
|
290
|
-
qe(e.name), Je(e.callback);
|
|
291
|
-
}, Ke = (e) => Me.includes(e);
|
|
292
|
-
function qe(e) {
|
|
293
|
-
if (!Ke(e)) throw Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Me.join(", ")}]`);
|
|
294
|
-
}
|
|
295
|
-
var Je = (e) => {
|
|
296
|
-
if (typeof e != "function") throw Error(`Expected type "function", but received ${typeof e}`);
|
|
297
|
-
}, Ye = (e) => {
|
|
298
|
-
if (typeof e != "string") throw Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);
|
|
299
|
-
if (e.length < 1) throw Error("Expected trackingId string length greater than 0.");
|
|
300
|
-
}, Xe = (e) => {
|
|
301
|
-
if (!/^[0-9a-fA-F]{24}$/.test(e)) throw Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`);
|
|
302
|
-
};
|
|
303
|
-
function Ze(e) {
|
|
304
|
-
return e ? e.currentStep === "docUpload" : !1;
|
|
305
|
-
}
|
|
306
|
-
function Qe(e) {
|
|
307
|
-
return e ? e.currentStep === "pending" : !1;
|
|
308
|
-
}
|
|
309
|
-
//#endregion
|
|
310
|
-
//#region src/lib/utils/routing/Url.ts
|
|
311
|
-
var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
130
|
+
})), ve = (e) => e.replace(/\/?$/, "/"), ye = (e) => {
|
|
312
131
|
let t = new URL(e || window.location.toString());
|
|
313
132
|
return new URLSearchParams(t.search.slice(1));
|
|
314
|
-
},
|
|
133
|
+
}, be = (e, t) => ye(t).get(e), xe = (e) => {
|
|
315
134
|
let t = new URLSearchParams(e).get("verificationId");
|
|
316
135
|
return typeof t == "string" && t.length === 0 ? null : t;
|
|
317
|
-
},
|
|
136
|
+
}, Se = (e) => {
|
|
318
137
|
let t = new URLSearchParams(e).get("trackingId");
|
|
319
138
|
return typeof t == "string" && t.length === 0 ? null : t;
|
|
320
|
-
},
|
|
139
|
+
}, E = "en-US", Ce = [
|
|
321
140
|
"image/png",
|
|
322
141
|
"image/jpg",
|
|
323
142
|
"image/jpeg",
|
|
324
143
|
"application/pdf"
|
|
325
|
-
],
|
|
144
|
+
], we = [
|
|
326
145
|
".jpg",
|
|
327
146
|
".jpeg",
|
|
328
147
|
".png",
|
|
329
148
|
".pdf"
|
|
330
|
-
],
|
|
149
|
+
], Te = "file", D = "mockStep", O = "mockSegment", k = "mockSubSegment", A = "mockErrorId", Ee = "mockErrorDetailId", De = "mockRewardCode", Oe = "mockRedirectUrl", ke = "mockConsumerInfoState", Ae = "mockIdCheckLoopServiceType", je = "mockDocSelected", Me = "mockPreviousStep", Ne = "thirdPartyLoopProvider", Pe = "ssoMethod", Fe = "installPageUrl", Ie = "installType", Le = "externalUserId", Re = "mockCaptchaState", ze = "https://verify.sheerid.com/verification-support/feedback.html?token=", Be = "https://support.sheerid.com", Ve = "https://www.cloudflare.com/privacypolicy/", He = 1e4, Ue = /* @__PURE__ */ "firstName.lastName.memberId.organization.birthDate.email.phoneNumber.postalCode.address1.city.state.dischargeDate.activeDutyStartDate.status.statuses.docUpload.country.smsCode.socialSecurityNumber.marketConsentValue.carrierConsentValue.driverLicenseNumber.overrideCode.ebtCardNumber.organizationEmail.authenticationCode".split("."), j = (e) => typeof e == "string", We = () => {
|
|
331
150
|
let e, t, n = new Promise((n, r) => {
|
|
332
151
|
e = n, t = r;
|
|
333
152
|
});
|
|
334
153
|
return n.resolve = e, n.reject = t, n;
|
|
335
|
-
},
|
|
154
|
+
}, Ge = (e) => e == null ? "" : "" + e, Ke = (e, t, n) => {
|
|
336
155
|
e.forEach((e) => {
|
|
337
156
|
t[e] && (n[e] = t[e]);
|
|
338
157
|
});
|
|
339
|
-
},
|
|
340
|
-
let r =
|
|
158
|
+
}, qe = /###/g, Je = (e) => e && e.indexOf("###") > -1 ? e.replace(qe, ".") : e, Ye = (e) => !e || j(e), M = (e, t, n) => {
|
|
159
|
+
let r = j(t) ? t.split(".") : t, i = 0;
|
|
341
160
|
for (; i < r.length - 1;) {
|
|
342
|
-
if (
|
|
343
|
-
let t =
|
|
161
|
+
if (Ye(e)) return {};
|
|
162
|
+
let t = Je(r[i]);
|
|
344
163
|
!e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
|
|
345
164
|
}
|
|
346
|
-
return
|
|
165
|
+
return Ye(e) ? {} : {
|
|
347
166
|
obj: e,
|
|
348
|
-
k:
|
|
167
|
+
k: Je(r[i])
|
|
349
168
|
};
|
|
350
|
-
},
|
|
351
|
-
let { obj: r, k: i } =
|
|
169
|
+
}, Xe = (e, t, n) => {
|
|
170
|
+
let { obj: r, k: i } = M(e, t, Object);
|
|
352
171
|
if (r !== void 0 || t.length === 1) {
|
|
353
172
|
r[i] = n;
|
|
354
173
|
return;
|
|
355
174
|
}
|
|
356
|
-
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s =
|
|
357
|
-
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s =
|
|
175
|
+
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = M(e, o, Object);
|
|
176
|
+
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = M(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
|
|
358
177
|
s.obj[`${s.k}.${a}`] = n;
|
|
359
|
-
},
|
|
360
|
-
let { obj: i, k: a } =
|
|
178
|
+
}, Ze = (e, t, n, r) => {
|
|
179
|
+
let { obj: i, k: a } = M(e, t, Object);
|
|
361
180
|
i[a] = i[a] || [], i[a].push(n);
|
|
362
|
-
},
|
|
363
|
-
let { obj: n, k: r } =
|
|
181
|
+
}, Qe = (e, t) => {
|
|
182
|
+
let { obj: n, k: r } = M(e, t);
|
|
364
183
|
if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
|
|
365
|
-
},
|
|
366
|
-
let r =
|
|
367
|
-
return r === void 0 ?
|
|
368
|
-
},
|
|
369
|
-
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ?
|
|
184
|
+
}, $e = (e, t, n) => {
|
|
185
|
+
let r = Qe(e, n);
|
|
186
|
+
return r === void 0 ? Qe(t, n) : r;
|
|
187
|
+
}, et = (e, t, n) => {
|
|
188
|
+
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? j(e[r]) || e[r] instanceof String || j(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : et(e[r], t[r], n) : e[r] = t[r]);
|
|
370
189
|
return e;
|
|
371
|
-
},
|
|
190
|
+
}, N = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), tt = {
|
|
372
191
|
"&": "&",
|
|
373
192
|
"<": "<",
|
|
374
193
|
">": ">",
|
|
375
194
|
"\"": """,
|
|
376
195
|
"'": "'",
|
|
377
196
|
"/": "/"
|
|
378
|
-
},
|
|
197
|
+
}, nt = (e) => j(e) ? e.replace(/[&<>"'\/]/g, (e) => tt[e]) : e, rt = class {
|
|
379
198
|
constructor(e) {
|
|
380
199
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
381
200
|
}
|
|
@@ -385,23 +204,23 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
385
204
|
let n = new RegExp(e);
|
|
386
205
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
387
206
|
}
|
|
388
|
-
},
|
|
207
|
+
}, it = [
|
|
389
208
|
" ",
|
|
390
209
|
",",
|
|
391
210
|
"?",
|
|
392
211
|
"!",
|
|
393
212
|
";"
|
|
394
|
-
],
|
|
213
|
+
], at = new rt(20), ot = (e, t, n) => {
|
|
395
214
|
t ||= "", n ||= "";
|
|
396
|
-
let r =
|
|
215
|
+
let r = it.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
|
|
397
216
|
if (r.length === 0) return !0;
|
|
398
|
-
let i =
|
|
217
|
+
let i = at.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
|
|
399
218
|
if (!a) {
|
|
400
219
|
let t = e.indexOf(n);
|
|
401
220
|
t > 0 && !i.test(e.substring(0, t)) && (a = !0);
|
|
402
221
|
}
|
|
403
222
|
return a;
|
|
404
|
-
},
|
|
223
|
+
}, st = (e, t, n = ".") => {
|
|
405
224
|
if (!e) return;
|
|
406
225
|
if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
|
|
407
226
|
let r = t.split(n), i = e;
|
|
@@ -420,7 +239,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
420
239
|
i = t;
|
|
421
240
|
}
|
|
422
241
|
return i;
|
|
423
|
-
},
|
|
242
|
+
}, P = (e) => e?.replace(/_/g, "-"), ct = {
|
|
424
243
|
type: "logger",
|
|
425
244
|
log(e) {
|
|
426
245
|
this.output("log", e);
|
|
@@ -439,7 +258,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
439
258
|
this.init(e, t);
|
|
440
259
|
}
|
|
441
260
|
init(e, t = {}) {
|
|
442
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
261
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || ct, this.options = t, this.debug = t.debug;
|
|
443
262
|
}
|
|
444
263
|
log(...e) {
|
|
445
264
|
return this.forward(e, "log", "", !0);
|
|
@@ -454,7 +273,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
454
273
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
455
274
|
}
|
|
456
275
|
forward(e, t, n, r) {
|
|
457
|
-
return r && !this.debug ? null : (
|
|
276
|
+
return r && !this.debug ? null : (j(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
458
277
|
}
|
|
459
278
|
create(t) {
|
|
460
279
|
return new e(this.logger, {
|
|
@@ -465,7 +284,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
465
284
|
clone(t) {
|
|
466
285
|
return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
|
|
467
286
|
}
|
|
468
|
-
}(),
|
|
287
|
+
}(), lt = class {
|
|
469
288
|
constructor() {
|
|
470
289
|
this.observers = {};
|
|
471
290
|
}
|
|
@@ -492,7 +311,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
492
311
|
for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
|
|
493
312
|
});
|
|
494
313
|
}
|
|
495
|
-
},
|
|
314
|
+
}, ut = class extends lt {
|
|
496
315
|
constructor(e, t = {
|
|
497
316
|
ns: ["translation"],
|
|
498
317
|
defaultNS: "translation"
|
|
@@ -508,16 +327,16 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
508
327
|
}
|
|
509
328
|
getResource(e, t, n, r = {}) {
|
|
510
329
|
let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
|
|
511
|
-
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) :
|
|
512
|
-
let s =
|
|
513
|
-
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !
|
|
330
|
+
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : j(n) && i ? o.push(...n.split(i)) : o.push(n)));
|
|
331
|
+
let s = Qe(this.data, o);
|
|
332
|
+
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !j(n) ? s : st(this.data?.[e]?.[t], n, i);
|
|
514
333
|
}
|
|
515
334
|
addResource(e, t, n, r, i = { silent: !1 }) {
|
|
516
335
|
let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
|
|
517
|
-
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t),
|
|
336
|
+
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Xe(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
|
|
518
337
|
}
|
|
519
338
|
addResources(e, t, n, r = { silent: !1 }) {
|
|
520
|
-
for (let r in n) (
|
|
339
|
+
for (let r in n) (j(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
|
|
521
340
|
r.silent || this.emit("added", e, t, n);
|
|
522
341
|
}
|
|
523
342
|
addResourceBundle(e, t, n, r, i, a = {
|
|
@@ -526,11 +345,11 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
526
345
|
}) {
|
|
527
346
|
let o = [e, t];
|
|
528
347
|
e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
|
|
529
|
-
let s =
|
|
530
|
-
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ?
|
|
348
|
+
let s = Qe(this.data, o) || {};
|
|
349
|
+
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? et(s, n, i) : s = {
|
|
531
350
|
...s,
|
|
532
351
|
...n
|
|
533
|
-
},
|
|
352
|
+
}, Xe(this.data, o, s), a.silent || this.emit("added", e, t, n);
|
|
534
353
|
}
|
|
535
354
|
removeResourceBundle(e, t) {
|
|
536
355
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -551,7 +370,7 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
551
370
|
toJSON() {
|
|
552
371
|
return this.data;
|
|
553
372
|
}
|
|
554
|
-
},
|
|
373
|
+
}, dt = {
|
|
555
374
|
processors: {},
|
|
556
375
|
addPostProcessor(e) {
|
|
557
376
|
this.processors[e.name] = e;
|
|
@@ -561,22 +380,22 @@ var $e = (e) => e.replace(/\/?$/, "/"), et = (e) => {
|
|
|
561
380
|
t = this.processors[e]?.process(t, n, r, i) ?? t;
|
|
562
381
|
}), t;
|
|
563
382
|
}
|
|
564
|
-
},
|
|
565
|
-
function
|
|
383
|
+
}, ft = Symbol("i18next/PATH_KEY");
|
|
384
|
+
function pt() {
|
|
566
385
|
let e = [], t = Object.create(null), n;
|
|
567
|
-
return t.get = (r, i) => (n?.revoke?.(), i ===
|
|
386
|
+
return t.get = (r, i) => (n?.revoke?.(), i === ft ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
|
|
568
387
|
}
|
|
569
388
|
function I(e, t) {
|
|
570
|
-
let { [
|
|
389
|
+
let { [ft]: n } = e(pt()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
|
|
571
390
|
if (n.length > 1 && i) {
|
|
572
391
|
let e = t?.ns, a = Array.isArray(e) ? e : null;
|
|
573
392
|
if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
|
|
574
393
|
}
|
|
575
394
|
return n.join(r);
|
|
576
395
|
}
|
|
577
|
-
var
|
|
396
|
+
var mt = {}, ht = (e) => !j(e) && typeof e != "boolean" && typeof e != "number", gt = class e extends lt {
|
|
578
397
|
constructor(e, t = {}) {
|
|
579
|
-
super(),
|
|
398
|
+
super(), Ke([
|
|
580
399
|
"resourceStore",
|
|
581
400
|
"languageUtils",
|
|
582
401
|
"pluralResolver",
|
|
@@ -594,25 +413,25 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
594
413
|
if (e == null) return !1;
|
|
595
414
|
let r = this.resolve(e, n);
|
|
596
415
|
if (r?.res === void 0) return !1;
|
|
597
|
-
let i =
|
|
416
|
+
let i = ht(r.res);
|
|
598
417
|
return !(n.returnObjects === !1 && i);
|
|
599
418
|
}
|
|
600
419
|
extractFromKey(e, t) {
|
|
601
420
|
let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
|
|
602
421
|
n === void 0 && (n = ":");
|
|
603
|
-
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 && !
|
|
422
|
+
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ot(e, n, r);
|
|
604
423
|
if (a && !o) {
|
|
605
424
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
606
425
|
if (t && t.length > 0) return {
|
|
607
426
|
key: e,
|
|
608
|
-
namespaces:
|
|
427
|
+
namespaces: j(i) ? [i] : i
|
|
609
428
|
};
|
|
610
429
|
let a = e.split(n);
|
|
611
430
|
(n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
|
|
612
431
|
}
|
|
613
432
|
return {
|
|
614
433
|
key: e,
|
|
615
|
-
namespaces:
|
|
434
|
+
namespaces: j(i) ? [i] : i
|
|
616
435
|
};
|
|
617
436
|
}
|
|
618
437
|
translate(t, n, r) {
|
|
@@ -647,10 +466,10 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
647
466
|
"[object Number]",
|
|
648
467
|
"[object Function]",
|
|
649
468
|
"[object RegExp]"
|
|
650
|
-
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !
|
|
469
|
+
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !j(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", 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;
|
|
651
470
|
y && !m && x && (T = w);
|
|
652
|
-
let
|
|
653
|
-
if (y && T &&
|
|
471
|
+
let te = ht(T), ne = Object.prototype.toString.apply(T);
|
|
472
|
+
if (y && T && te && _.indexOf(ne) < 0 && !(j(v) && Array.isArray(T))) {
|
|
654
473
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
655
474
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
656
475
|
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, T, {
|
|
@@ -665,7 +484,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
665
484
|
let r = `${n}${o}${e}`;
|
|
666
485
|
x && !m ? t[e] = this.translate(r, {
|
|
667
486
|
...i,
|
|
668
|
-
defaultValue:
|
|
487
|
+
defaultValue: ht(w) ? w[e] : void 0,
|
|
669
488
|
joinArrays: !1,
|
|
670
489
|
ns: c
|
|
671
490
|
}) : t[e] = this.translate(r, {
|
|
@@ -676,7 +495,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
676
495
|
}
|
|
677
496
|
m = t;
|
|
678
497
|
}
|
|
679
|
-
} else if (y &&
|
|
498
|
+
} else if (y && j(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
|
|
680
499
|
else {
|
|
681
500
|
let e = !1, n = !1;
|
|
682
501
|
!this.isValidLookup(m) && x && (e = !0, m = w), this.isValidLookup(m) || (n = !0, m = s);
|
|
@@ -720,12 +539,12 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
720
539
|
...n.interpolation
|
|
721
540
|
}
|
|
722
541
|
});
|
|
723
|
-
let a =
|
|
542
|
+
let a = j(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
|
|
724
543
|
if (a) {
|
|
725
544
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
726
545
|
o = t && t.length;
|
|
727
546
|
}
|
|
728
|
-
let s = n.replace && !
|
|
547
|
+
let s = n.replace && !j(n.replace) ? n.replace : n;
|
|
729
548
|
if (this.options.interpolation.defaultVariables && (s = {
|
|
730
549
|
...this.options.interpolation.defaultVariables,
|
|
731
550
|
...s
|
|
@@ -735,8 +554,8 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
735
554
|
}
|
|
736
555
|
!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();
|
|
737
556
|
}
|
|
738
|
-
let a = n.postProcess || this.options.postProcess, o =
|
|
739
|
-
return e != null && o?.length && n.applyPostProcessor !== !1 && (e =
|
|
557
|
+
let a = n.postProcess || this.options.postProcess, o = j(a) ? [a] : a;
|
|
558
|
+
return e != null && o?.length && n.applyPostProcessor !== !1 && (e = dt.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
740
559
|
i18nResolved: {
|
|
741
560
|
...r,
|
|
742
561
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -746,7 +565,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
746
565
|
}
|
|
747
566
|
resolve(e, t = {}) {
|
|
748
567
|
let n, r, i, a, o;
|
|
749
|
-
return
|
|
568
|
+
return j(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? I(e, {
|
|
750
569
|
...this.options,
|
|
751
570
|
...t
|
|
752
571
|
}) : e)), e.forEach((e) => {
|
|
@@ -755,9 +574,9 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
755
574
|
r = c;
|
|
756
575
|
let l = s.namespaces;
|
|
757
576
|
this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
|
|
758
|
-
let u = t.count !== void 0 && !
|
|
577
|
+
let u = t.count !== void 0 && !j(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (j(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
759
578
|
l.forEach((e) => {
|
|
760
|
-
this.isValidLookup(n) || (o = e, !
|
|
579
|
+
this.isValidLookup(n) || (o = e, !mt[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (mt[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
|
|
761
580
|
if (this.isValidLookup(n)) return;
|
|
762
581
|
a = r;
|
|
763
582
|
let o = [c];
|
|
@@ -806,7 +625,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
806
625
|
"joinArrays",
|
|
807
626
|
"postProcess",
|
|
808
627
|
"interpolation"
|
|
809
|
-
], n = e.replace && !
|
|
628
|
+
], n = e.replace && !j(e.replace), r = n ? e.replace : e;
|
|
810
629
|
if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
|
|
811
630
|
...this.options.interpolation.defaultVariables,
|
|
812
631
|
...r
|
|
@@ -820,22 +639,22 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
820
639
|
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
|
|
821
640
|
return !1;
|
|
822
641
|
}
|
|
823
|
-
},
|
|
642
|
+
}, _t = class {
|
|
824
643
|
constructor(e) {
|
|
825
644
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = F.create("languageUtils");
|
|
826
645
|
}
|
|
827
646
|
getScriptPartFromCode(e) {
|
|
828
|
-
if (e =
|
|
647
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return null;
|
|
829
648
|
let t = e.split("-");
|
|
830
649
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
831
650
|
}
|
|
832
651
|
getLanguagePartFromCode(e) {
|
|
833
|
-
if (e =
|
|
652
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return e;
|
|
834
653
|
let t = e.split("-");
|
|
835
654
|
return this.formatLanguageCode(t[0]);
|
|
836
655
|
}
|
|
837
656
|
formatLanguageCode(e) {
|
|
838
|
-
if (
|
|
657
|
+
if (j(e) && e.indexOf("-") > -1) {
|
|
839
658
|
let t;
|
|
840
659
|
try {
|
|
841
660
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -867,7 +686,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
867
686
|
}
|
|
868
687
|
getFallbackCodes(e, t) {
|
|
869
688
|
if (!e) return [];
|
|
870
|
-
if (typeof e == "function" && (e = e(t)),
|
|
689
|
+
if (typeof e == "function" && (e = e(t)), j(e) && (e = [e]), Array.isArray(e)) return e;
|
|
871
690
|
if (!t) return e.default || [];
|
|
872
691
|
let n = e[t];
|
|
873
692
|
return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
|
|
@@ -876,21 +695,21 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
876
695
|
let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
|
|
877
696
|
e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
|
|
878
697
|
};
|
|
879
|
-
return
|
|
698
|
+
return j(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : j(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
|
|
880
699
|
r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
|
|
881
700
|
}), r;
|
|
882
701
|
}
|
|
883
|
-
},
|
|
702
|
+
}, vt = {
|
|
884
703
|
zero: 0,
|
|
885
704
|
one: 1,
|
|
886
705
|
two: 2,
|
|
887
706
|
few: 3,
|
|
888
707
|
many: 4,
|
|
889
708
|
other: 5
|
|
890
|
-
},
|
|
709
|
+
}, yt = {
|
|
891
710
|
select: (e) => e === 1 ? "one" : "other",
|
|
892
711
|
resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
|
|
893
|
-
},
|
|
712
|
+
}, bt = class {
|
|
894
713
|
constructor(e, t = {}) {
|
|
895
714
|
this.languageUtils = e, this.options = t, this.logger = F.create("pluralResolver"), this.pluralRulesCache = {};
|
|
896
715
|
}
|
|
@@ -898,7 +717,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
898
717
|
this.pluralRulesCache = {};
|
|
899
718
|
}
|
|
900
719
|
getRule(e, t = {}) {
|
|
901
|
-
let n =
|
|
720
|
+
let n = P(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
|
|
902
721
|
cleanedCode: n,
|
|
903
722
|
type: r
|
|
904
723
|
});
|
|
@@ -907,8 +726,8 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
907
726
|
try {
|
|
908
727
|
a = new Intl.PluralRules(n, { type: r });
|
|
909
728
|
} catch {
|
|
910
|
-
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
911
|
-
if (!e.match(/-|_/)) return
|
|
729
|
+
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), yt;
|
|
730
|
+
if (!e.match(/-|_/)) return yt;
|
|
912
731
|
let n = this.languageUtils.getLanguagePartFromCode(e);
|
|
913
732
|
a = this.getRule(n, t);
|
|
914
733
|
}
|
|
@@ -923,23 +742,23 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
923
742
|
}
|
|
924
743
|
getSuffixes(e, t = {}) {
|
|
925
744
|
let n = this.getRule(e, t);
|
|
926
|
-
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) =>
|
|
745
|
+
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => vt[e] - vt[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
|
|
927
746
|
}
|
|
928
747
|
getSuffix(e, t, n = {}) {
|
|
929
748
|
let r = this.getRule(e, n);
|
|
930
749
|
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));
|
|
931
750
|
}
|
|
932
|
-
},
|
|
933
|
-
let a =
|
|
934
|
-
return !a && i &&
|
|
935
|
-
},
|
|
751
|
+
}, xt = (e, t, n, r = ".", i = !0) => {
|
|
752
|
+
let a = $e(e, t, n);
|
|
753
|
+
return !a && i && j(n) && (a = st(e, n, r), a === void 0 && (a = st(t, n, r))), a;
|
|
754
|
+
}, St = (e) => e.replace(/\$/g, "$$$$"), Ct = class {
|
|
936
755
|
constructor(e = {}) {
|
|
937
756
|
this.logger = F.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
|
|
938
757
|
}
|
|
939
758
|
init(e = {}) {
|
|
940
759
|
e.interpolation ||= { escapeValue: !0 };
|
|
941
760
|
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;
|
|
942
|
-
this.escape = t === void 0 ?
|
|
761
|
+
this.escape = t === void 0 ? nt : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? N(i) : a || "{{", this.suffix = o ? N(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? N(d) : f || N("$t("), this.nestingSuffix = p ? N(p) : m || N(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
|
|
943
762
|
}
|
|
944
763
|
reset() {
|
|
945
764
|
this.options && this.init(this.options);
|
|
@@ -951,7 +770,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
951
770
|
interpolate(e, t, n, r) {
|
|
952
771
|
let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
|
|
953
772
|
if (e.indexOf(this.formatSeparator) < 0) {
|
|
954
|
-
let i =
|
|
773
|
+
let i = xt(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
955
774
|
return this.alwaysFormat ? this.format(i, void 0, n, {
|
|
956
775
|
...r,
|
|
957
776
|
...t,
|
|
@@ -959,7 +778,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
959
778
|
}) : i;
|
|
960
779
|
}
|
|
961
780
|
let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
|
|
962
|
-
return this.format(
|
|
781
|
+
return this.format(xt(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
|
|
963
782
|
...r,
|
|
964
783
|
...t,
|
|
965
784
|
interpolationkey: a
|
|
@@ -969,22 +788,22 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
969
788
|
let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
|
|
970
789
|
return [{
|
|
971
790
|
regex: this.regexpUnescape,
|
|
972
|
-
safeValue: (e) =>
|
|
791
|
+
safeValue: (e) => St(e)
|
|
973
792
|
}, {
|
|
974
793
|
regex: this.regexp,
|
|
975
|
-
safeValue: (e) => this.escapeValue ?
|
|
794
|
+
safeValue: (e) => this.escapeValue ? St(this.escape(e)) : St(e)
|
|
976
795
|
}].forEach((t) => {
|
|
977
796
|
for (o = 0; i = t.regex.exec(e);) {
|
|
978
797
|
let n = i[1].trim();
|
|
979
798
|
if (a = c(n), a === void 0) if (typeof l == "function") {
|
|
980
799
|
let t = l(e, i, r);
|
|
981
|
-
a =
|
|
800
|
+
a = j(t) ? t : "";
|
|
982
801
|
} else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
|
|
983
802
|
else if (u) {
|
|
984
803
|
a = i[0];
|
|
985
804
|
continue;
|
|
986
805
|
} else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
|
|
987
|
-
else !
|
|
806
|
+
else !j(a) && !this.useRawValueToEscape && (a = Ge(a));
|
|
988
807
|
let s = t.safeValue(a);
|
|
989
808
|
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;
|
|
990
809
|
}
|
|
@@ -994,7 +813,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
994
813
|
let r, i, a, o = (e, t) => {
|
|
995
814
|
let n = this.nestingOptionsSeparator;
|
|
996
815
|
if (e.indexOf(n) < 0) return e;
|
|
997
|
-
let r = e.split(RegExp(`${
|
|
816
|
+
let r = e.split(RegExp(`${N(n)}[ ]*{`)), i = `{${r[1]}`;
|
|
998
817
|
e = r[0], i = this.interpolate(i, a);
|
|
999
818
|
let o = i.match(/'/g), s = i.match(/"/g);
|
|
1000
819
|
((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
|
|
@@ -1010,17 +829,17 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1010
829
|
};
|
|
1011
830
|
for (; r = this.nestingRegexp.exec(e);) {
|
|
1012
831
|
let s = [];
|
|
1013
|
-
a = { ...n }, a = a.replace && !
|
|
832
|
+
a = { ...n }, a = a.replace && !j(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
1014
833
|
let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
1015
|
-
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 && !
|
|
1016
|
-
|
|
834
|
+
if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !j(i)) return i;
|
|
835
|
+
j(i) || (i = Ge(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
|
|
1017
836
|
...n,
|
|
1018
837
|
interpolationkey: r[1].trim()
|
|
1019
838
|
}), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
|
|
1020
839
|
}
|
|
1021
840
|
return e;
|
|
1022
841
|
}
|
|
1023
|
-
},
|
|
842
|
+
}, wt = (e) => {
|
|
1024
843
|
let t = e.toLowerCase().trim(), n = {};
|
|
1025
844
|
if (e.indexOf("(") > -1) {
|
|
1026
845
|
let r = e.split("(");
|
|
@@ -1037,7 +856,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1037
856
|
formatName: t,
|
|
1038
857
|
formatOptions: n
|
|
1039
858
|
};
|
|
1040
|
-
},
|
|
859
|
+
}, Tt = (e) => {
|
|
1041
860
|
let t = {};
|
|
1042
861
|
return (n, r, i) => {
|
|
1043
862
|
let a = i;
|
|
@@ -1046,15 +865,15 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1046
865
|
[i.interpolationkey]: void 0
|
|
1047
866
|
});
|
|
1048
867
|
let o = r + JSON.stringify(a), s = t[o];
|
|
1049
|
-
return s || (s = e(
|
|
868
|
+
return s || (s = e(P(r), i), t[o] = s), s(n);
|
|
1050
869
|
};
|
|
1051
|
-
},
|
|
870
|
+
}, Et = (e) => (t, n, r) => e(P(n), r)(t), Dt = class {
|
|
1052
871
|
constructor(e = {}) {
|
|
1053
872
|
this.logger = F.create("formatter"), this.options = e, this.init(e);
|
|
1054
873
|
}
|
|
1055
874
|
init(e, t = { interpolation: {} }) {
|
|
1056
875
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
1057
|
-
let n = t.cacheInBuiltFormats ?
|
|
876
|
+
let n = t.cacheInBuiltFormats ? Tt : Et;
|
|
1058
877
|
this.formats = {
|
|
1059
878
|
number: n((e, t) => {
|
|
1060
879
|
let n = new Intl.NumberFormat(e, { ...t });
|
|
@@ -1085,7 +904,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1085
904
|
this.formats[e.toLowerCase().trim()] = t;
|
|
1086
905
|
}
|
|
1087
906
|
addCached(e, t) {
|
|
1088
|
-
this.formats[e.toLowerCase().trim()] =
|
|
907
|
+
this.formats[e.toLowerCase().trim()] = Tt(t);
|
|
1089
908
|
}
|
|
1090
909
|
format(e, t, n, r = {}) {
|
|
1091
910
|
let i = t.split(this.formatSeparator);
|
|
@@ -1094,7 +913,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1094
913
|
i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
|
|
1095
914
|
}
|
|
1096
915
|
return i.reduce((e, t) => {
|
|
1097
|
-
let { formatName: i, formatOptions: a } =
|
|
916
|
+
let { formatName: i, formatOptions: a } = wt(t);
|
|
1098
917
|
if (this.formats[i]) {
|
|
1099
918
|
let t = e;
|
|
1100
919
|
try {
|
|
@@ -1112,9 +931,9 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1112
931
|
return e;
|
|
1113
932
|
}, e);
|
|
1114
933
|
}
|
|
1115
|
-
},
|
|
934
|
+
}, Ot = (e, t) => {
|
|
1116
935
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
1117
|
-
},
|
|
936
|
+
}, kt = class extends lt {
|
|
1118
937
|
constructor(e, t, n, r = {}) {
|
|
1119
938
|
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = F.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
|
|
1120
939
|
}
|
|
@@ -1144,7 +963,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1144
963
|
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);
|
|
1145
964
|
let o = {};
|
|
1146
965
|
this.queue.forEach((n) => {
|
|
1147
|
-
|
|
966
|
+
Ze(n.loaded, [i], a), Ot(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
|
|
1148
967
|
o[e] || (o[e] = {});
|
|
1149
968
|
let t = n.loaded[e];
|
|
1150
969
|
t.length && t.forEach((t) => {
|
|
@@ -1193,7 +1012,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1193
1012
|
}
|
|
1194
1013
|
prepareLoading(e, t, n = {}, r) {
|
|
1195
1014
|
if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
|
|
1196
|
-
|
|
1015
|
+
j(e) && (e = this.languageUtils.toResolveHierarchy(e)), j(t) && (t = [t]);
|
|
1197
1016
|
let i = this.queueLoad(e, t, n, r);
|
|
1198
1017
|
if (!i.toLoad.length) return i.pending.length || r(), null;
|
|
1199
1018
|
i.toLoad.forEach((e) => {
|
|
@@ -1234,7 +1053,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1234
1053
|
!e || !e[0] || this.store.addResource(e[0], t, n, r);
|
|
1235
1054
|
}
|
|
1236
1055
|
}
|
|
1237
|
-
},
|
|
1056
|
+
}, At = () => ({
|
|
1238
1057
|
debug: !1,
|
|
1239
1058
|
initAsync: !0,
|
|
1240
1059
|
ns: ["translation"],
|
|
@@ -1269,7 +1088,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1269
1088
|
appendNamespaceToCIMode: !1,
|
|
1270
1089
|
overloadTranslationOptionHandler: (e) => {
|
|
1271
1090
|
let t = {};
|
|
1272
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
1091
|
+
if (typeof e[1] == "object" && (t = e[1]), j(e[1]) && (t.defaultValue = e[1]), j(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
1273
1092
|
let n = e[3] || e[2];
|
|
1274
1093
|
Object.keys(n).forEach((e) => {
|
|
1275
1094
|
t[e] = n[e];
|
|
@@ -1291,15 +1110,15 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1291
1110
|
skipOnVariables: !0
|
|
1292
1111
|
},
|
|
1293
1112
|
cacheInBuiltFormats: !0
|
|
1294
|
-
}),
|
|
1113
|
+
}), jt = (e) => (j(e.ns) && (e.ns = [e.ns]), j(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), j(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Mt = () => {}, Nt = (e) => {
|
|
1295
1114
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
|
|
1296
1115
|
typeof e[t] == "function" && (e[t] = e[t].bind(e));
|
|
1297
1116
|
});
|
|
1298
|
-
},
|
|
1299
|
-
typeof globalThis < "u" && (globalThis[
|
|
1300
|
-
},
|
|
1117
|
+
}, Pt = "__i18next_supportNoticeShown", Ft = () => !!(typeof globalThis < "u" && globalThis[Pt] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), It = () => {
|
|
1118
|
+
typeof globalThis < "u" && (globalThis[Pt] = !0);
|
|
1119
|
+
}, Lt = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), L = class e extends lt {
|
|
1301
1120
|
constructor(e = {}, t) {
|
|
1302
|
-
if (super(), this.options =
|
|
1121
|
+
if (super(), this.options = jt(e), this.services = {}, this.logger = F, this.modules = { external: [] }, Nt(this), t && !this.isInitialized && !e.isClone) {
|
|
1303
1122
|
if (!this.options.initAsync) return this.init(e, t), this;
|
|
1304
1123
|
setTimeout(() => {
|
|
1305
1124
|
this.init(e, t);
|
|
@@ -1307,36 +1126,36 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1307
1126
|
}
|
|
1308
1127
|
}
|
|
1309
1128
|
init(e = {}, t) {
|
|
1310
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (
|
|
1311
|
-
let n =
|
|
1129
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (j(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1130
|
+
let n = At();
|
|
1312
1131
|
this.options = {
|
|
1313
1132
|
...n,
|
|
1314
1133
|
...this.options,
|
|
1315
|
-
...
|
|
1134
|
+
...jt(e)
|
|
1316
1135
|
}, this.options.interpolation = {
|
|
1317
1136
|
...n.interpolation,
|
|
1318
1137
|
...this.options.interpolation
|
|
1319
|
-
}, 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 && !
|
|
1138
|
+
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Lt(this) && !Ft() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), It());
|
|
1320
1139
|
let r = (e) => e ? typeof e == "function" ? new e() : e : null;
|
|
1321
1140
|
if (!this.options.isClone) {
|
|
1322
1141
|
this.modules.logger ? F.init(r(this.modules.logger), this.options) : F.init(null, this.options);
|
|
1323
1142
|
let e;
|
|
1324
|
-
e = this.modules.formatter ? this.modules.formatter :
|
|
1325
|
-
let t = new
|
|
1326
|
-
this.store = new
|
|
1143
|
+
e = this.modules.formatter ? this.modules.formatter : Dt;
|
|
1144
|
+
let t = new _t(this.options);
|
|
1145
|
+
this.store = new ut(this.options.resources, this.options);
|
|
1327
1146
|
let i = this.services;
|
|
1328
|
-
i.logger = F, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new
|
|
1147
|
+
i.logger = F, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new bt(t, {
|
|
1329
1148
|
prepend: this.options.pluralSeparator,
|
|
1330
1149
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1331
|
-
}), 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
|
|
1150
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new Ct(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new kt(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
|
|
1332
1151
|
this.emit(e, ...t);
|
|
1333
|
-
}), 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
|
|
1152
|
+
}), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new gt(this.services, this.options), this.translator.on("*", (e, ...t) => {
|
|
1334
1153
|
this.emit(e, ...t);
|
|
1335
1154
|
}), this.modules.external.forEach((e) => {
|
|
1336
1155
|
e.init && e.init(this);
|
|
1337
1156
|
});
|
|
1338
1157
|
}
|
|
1339
|
-
if (this.format = this.options.interpolation.format, t ||=
|
|
1158
|
+
if (this.format = this.options.interpolation.format, t ||= Mt, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1340
1159
|
let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1341
1160
|
e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
|
|
1342
1161
|
}
|
|
@@ -1355,7 +1174,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1355
1174
|
].forEach((e) => {
|
|
1356
1175
|
this[e] = (...t) => (this.store[e](...t), this);
|
|
1357
1176
|
});
|
|
1358
|
-
let i =
|
|
1177
|
+
let i = We(), a = () => {
|
|
1359
1178
|
let e = (e, n) => {
|
|
1360
1179
|
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);
|
|
1361
1180
|
};
|
|
@@ -1364,8 +1183,8 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1364
1183
|
};
|
|
1365
1184
|
return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
|
|
1366
1185
|
}
|
|
1367
|
-
loadResources(e, t =
|
|
1368
|
-
let n = t, r =
|
|
1186
|
+
loadResources(e, t = Mt) {
|
|
1187
|
+
let n = t, r = j(e) ? e : this.language;
|
|
1369
1188
|
if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1370
1189
|
if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
1371
1190
|
let e = [], t = (t) => {
|
|
@@ -1379,15 +1198,15 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1379
1198
|
} else n(null);
|
|
1380
1199
|
}
|
|
1381
1200
|
reloadResources(e, t, n) {
|
|
1382
|
-
let r =
|
|
1383
|
-
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 ||=
|
|
1201
|
+
let r = We();
|
|
1202
|
+
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Mt, this.services.backendConnector.reload(e, t, (e) => {
|
|
1384
1203
|
r.resolve(), n(e);
|
|
1385
1204
|
}), r;
|
|
1386
1205
|
}
|
|
1387
1206
|
use(e) {
|
|
1388
1207
|
if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1389
1208
|
if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1390
|
-
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" &&
|
|
1209
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && dt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1391
1210
|
}
|
|
1392
1211
|
setResolvedLanguage(e) {
|
|
1393
1212
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
|
|
@@ -1403,7 +1222,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1403
1222
|
}
|
|
1404
1223
|
changeLanguage(e, t) {
|
|
1405
1224
|
this.isLanguageChangingTo = e;
|
|
1406
|
-
let n =
|
|
1225
|
+
let n = We();
|
|
1407
1226
|
this.emit("languageChanging", e);
|
|
1408
1227
|
let r = (e) => {
|
|
1409
1228
|
this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
|
|
@@ -1411,7 +1230,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1411
1230
|
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));
|
|
1412
1231
|
}, a = (t) => {
|
|
1413
1232
|
!e && !t && this.services.languageDetector && (t = []);
|
|
1414
|
-
let n =
|
|
1233
|
+
let n = j(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(j(t) ? [t] : t);
|
|
1415
1234
|
a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
|
|
1416
1235
|
i(e, a);
|
|
1417
1236
|
});
|
|
@@ -1430,7 +1249,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1430
1249
|
let s = this.options.keySeparator || ".", c;
|
|
1431
1250
|
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = I(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = I(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
|
|
1432
1251
|
};
|
|
1433
|
-
return
|
|
1252
|
+
return j(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
|
|
1434
1253
|
}
|
|
1435
1254
|
t(...e) {
|
|
1436
1255
|
return this.translator?.translate(...e);
|
|
@@ -1457,16 +1276,16 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1457
1276
|
return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
|
|
1458
1277
|
}
|
|
1459
1278
|
loadNamespaces(e, t) {
|
|
1460
|
-
let n =
|
|
1461
|
-
return this.options.ns ? (
|
|
1279
|
+
let n = We();
|
|
1280
|
+
return this.options.ns ? (j(e) && (e = [e]), e.forEach((e) => {
|
|
1462
1281
|
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
1463
1282
|
}), this.loadResources((e) => {
|
|
1464
1283
|
n.resolve(), t && t(e);
|
|
1465
1284
|
}), n) : (t && t(), Promise.resolve());
|
|
1466
1285
|
}
|
|
1467
1286
|
loadLanguages(e, t) {
|
|
1468
|
-
let n =
|
|
1469
|
-
|
|
1287
|
+
let n = We();
|
|
1288
|
+
j(e) && (e = [e]);
|
|
1470
1289
|
let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
|
|
1471
1290
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
|
|
1472
1291
|
n.resolve(), t && t(e);
|
|
@@ -1481,14 +1300,14 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1481
1300
|
if (e && e.direction) return e.direction;
|
|
1482
1301
|
}
|
|
1483
1302
|
} catch {}
|
|
1484
|
-
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
|
|
1303
|
+
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new _t(At());
|
|
1485
1304
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1486
1305
|
}
|
|
1487
1306
|
static createInstance(t = {}, n) {
|
|
1488
1307
|
let r = new e(t, n);
|
|
1489
1308
|
return r.createInstance = e.createInstance, r;
|
|
1490
1309
|
}
|
|
1491
|
-
cloneInstance(t = {}, n =
|
|
1310
|
+
cloneInstance(t = {}, n = Mt) {
|
|
1492
1311
|
let r = t.forkResourceStore;
|
|
1493
1312
|
r && delete t.forkResourceStore;
|
|
1494
1313
|
let i = {
|
|
@@ -1502,18 +1321,18 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1502
1321
|
"language"
|
|
1503
1322
|
].forEach((e) => {
|
|
1504
1323
|
a[e] = this[e];
|
|
1505
|
-
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new
|
|
1324
|
+
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new ut(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
|
|
1506
1325
|
let e = {
|
|
1507
|
-
...
|
|
1326
|
+
...At().interpolation,
|
|
1508
1327
|
...this.options.interpolation,
|
|
1509
1328
|
...t.interpolation
|
|
1510
1329
|
}, n = {
|
|
1511
1330
|
...i,
|
|
1512
1331
|
interpolation: e
|
|
1513
1332
|
};
|
|
1514
|
-
a.services.interpolator = new
|
|
1333
|
+
a.services.interpolator = new Ct(n);
|
|
1515
1334
|
}
|
|
1516
|
-
return a.translator = new
|
|
1335
|
+
return a.translator = new gt(a.services, i), a.translator.on("*", (e, ...t) => {
|
|
1517
1336
|
a.emit(e, ...t);
|
|
1518
1337
|
}), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
|
|
1519
1338
|
}
|
|
@@ -1530,7 +1349,7 @@ var Xt = {}, Zt = (e) => !N(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1530
1349
|
L.createInstance, L.dir, L.init, L.loadResources, L.reloadResources, L.use, L.changeLanguage, L.getFixedT, L.t, L.exists, L.setDefaultNamespace, L.hasLoadedNamespace, L.loadNamespaces, L.loadLanguages;
|
|
1531
1350
|
//#endregion
|
|
1532
1351
|
//#region ../node_modules/i18next-resources-to-backend/dist/esm/index.js
|
|
1533
|
-
var
|
|
1352
|
+
var Rt = function(e) {
|
|
1534
1353
|
return {
|
|
1535
1354
|
type: "backend",
|
|
1536
1355
|
init: function(e, t, n) {},
|
|
@@ -1553,7 +1372,7 @@ var xn = function(e) {
|
|
|
1553
1372
|
r(null, e && e[t] && e[t][n]);
|
|
1554
1373
|
}
|
|
1555
1374
|
};
|
|
1556
|
-
},
|
|
1375
|
+
}, zt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Bt = {
|
|
1557
1376
|
"&": "&",
|
|
1558
1377
|
"&": "&",
|
|
1559
1378
|
"<": "<",
|
|
@@ -1574,7 +1393,7 @@ var xn = function(e) {
|
|
|
1574
1393
|
"…": "…",
|
|
1575
1394
|
"/": "/",
|
|
1576
1395
|
"/": "/"
|
|
1577
|
-
},
|
|
1396
|
+
}, Vt = (e) => Bt[e], Ht = (e) => e.replace(zt, Vt), Ut = {
|
|
1578
1397
|
bindI18n: "languageChanged",
|
|
1579
1398
|
bindI18nStore: "",
|
|
1580
1399
|
transEmptyNodeValue: "",
|
|
@@ -1587,877 +1406,21 @@ var xn = function(e) {
|
|
|
1587
1406
|
"p"
|
|
1588
1407
|
],
|
|
1589
1408
|
useSuspense: !0,
|
|
1590
|
-
unescape:
|
|
1409
|
+
unescape: Ht,
|
|
1591
1410
|
transDefaultProps: void 0
|
|
1592
|
-
},
|
|
1593
|
-
|
|
1594
|
-
...
|
|
1411
|
+
}, Wt = (e = {}) => {
|
|
1412
|
+
Ut = {
|
|
1413
|
+
...Ut,
|
|
1595
1414
|
...e
|
|
1596
1415
|
};
|
|
1597
|
-
},
|
|
1598
|
-
|
|
1599
|
-
},
|
|
1416
|
+
}, Gt = () => Ut, Kt, qt = (e) => {
|
|
1417
|
+
Kt = e;
|
|
1418
|
+
}, Jt = () => Kt, Yt = {
|
|
1600
1419
|
type: "3rdParty",
|
|
1601
1420
|
init(e) {
|
|
1602
|
-
|
|
1603
|
-
}
|
|
1604
|
-
}, Nn = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
|
|
1605
|
-
var n = (function() {
|
|
1606
|
-
function e(e, t) {
|
|
1607
|
-
return t != null && e instanceof t;
|
|
1608
|
-
}
|
|
1609
|
-
var t;
|
|
1610
|
-
try {
|
|
1611
|
-
t = Map;
|
|
1612
|
-
} catch {
|
|
1613
|
-
t = function() {};
|
|
1614
|
-
}
|
|
1615
|
-
var n;
|
|
1616
|
-
try {
|
|
1617
|
-
n = Set;
|
|
1618
|
-
} catch {
|
|
1619
|
-
n = function() {};
|
|
1620
|
-
}
|
|
1621
|
-
var r;
|
|
1622
|
-
try {
|
|
1623
|
-
r = Promise;
|
|
1624
|
-
} catch {
|
|
1625
|
-
r = function() {};
|
|
1626
|
-
}
|
|
1627
|
-
function i(a, o, s, c, u) {
|
|
1628
|
-
typeof o == "object" && (s = o.depth, c = o.prototype, u = o.includeNonEnumerable, o = o.circular);
|
|
1629
|
-
var d = [], f = [], p = typeof Buffer < "u";
|
|
1630
|
-
o === void 0 && (o = !0), s === void 0 && (s = Infinity);
|
|
1631
|
-
function m(a, s) {
|
|
1632
|
-
if (a === null) return null;
|
|
1633
|
-
if (s === 0) return a;
|
|
1634
|
-
var h, g;
|
|
1635
|
-
if (typeof a != "object") return a;
|
|
1636
|
-
if (e(a, t)) h = new t();
|
|
1637
|
-
else if (e(a, n)) h = new n();
|
|
1638
|
-
else if (e(a, r)) h = new r(function(e, t) {
|
|
1639
|
-
a.then(function(t) {
|
|
1640
|
-
e(m(t, s - 1));
|
|
1641
|
-
}, function(e) {
|
|
1642
|
-
t(m(e, s - 1));
|
|
1643
|
-
});
|
|
1644
|
-
});
|
|
1645
|
-
else if (i.__isArray(a)) h = [];
|
|
1646
|
-
else if (i.__isRegExp(a)) h = new RegExp(a.source, l(a)), a.lastIndex && (h.lastIndex = a.lastIndex);
|
|
1647
|
-
else if (i.__isDate(a)) h = new Date(a.getTime());
|
|
1648
|
-
else if (p && Buffer.isBuffer(a)) return h = Buffer.allocUnsafe ? Buffer.allocUnsafe(a.length) : new Buffer(a.length), a.copy(h), h;
|
|
1649
|
-
else e(a, Error) ? h = Object.create(a) : c === void 0 ? (g = Object.getPrototypeOf(a), h = Object.create(g)) : (h = Object.create(c), g = c);
|
|
1650
|
-
if (o) {
|
|
1651
|
-
var _ = d.indexOf(a);
|
|
1652
|
-
if (_ != -1) return f[_];
|
|
1653
|
-
d.push(a), f.push(h);
|
|
1654
|
-
}
|
|
1655
|
-
for (var v in e(a, t) && a.forEach(function(e, t) {
|
|
1656
|
-
var n = m(t, s - 1), r = m(e, s - 1);
|
|
1657
|
-
h.set(n, r);
|
|
1658
|
-
}), e(a, n) && a.forEach(function(e) {
|
|
1659
|
-
var t = m(e, s - 1);
|
|
1660
|
-
h.add(t);
|
|
1661
|
-
}), a) {
|
|
1662
|
-
var y;
|
|
1663
|
-
g && (y = Object.getOwnPropertyDescriptor(g, v)), !(y && y.set == null) && (h[v] = m(a[v], s - 1));
|
|
1664
|
-
}
|
|
1665
|
-
if (Object.getOwnPropertySymbols) for (var b = Object.getOwnPropertySymbols(a), v = 0; v < b.length; v++) {
|
|
1666
|
-
var x = b[v], S = Object.getOwnPropertyDescriptor(a, x);
|
|
1667
|
-
S && !S.enumerable && !u || (h[x] = m(a[x], s - 1), S.enumerable || Object.defineProperty(h, x, { enumerable: !1 }));
|
|
1668
|
-
}
|
|
1669
|
-
if (u) for (var ee = Object.getOwnPropertyNames(a), v = 0; v < ee.length; v++) {
|
|
1670
|
-
var C = ee[v], S = Object.getOwnPropertyDescriptor(a, C);
|
|
1671
|
-
S && S.enumerable || (h[C] = m(a[C], s - 1), Object.defineProperty(h, C, { enumerable: !1 }));
|
|
1672
|
-
}
|
|
1673
|
-
return h;
|
|
1674
|
-
}
|
|
1675
|
-
return m(a, s);
|
|
1676
|
-
}
|
|
1677
|
-
i.clonePrototype = function(e) {
|
|
1678
|
-
if (e === null) return null;
|
|
1679
|
-
var t = function() {};
|
|
1680
|
-
return t.prototype = e, new t();
|
|
1681
|
-
};
|
|
1682
|
-
function a(e) {
|
|
1683
|
-
return Object.prototype.toString.call(e);
|
|
1684
|
-
}
|
|
1685
|
-
i.__objToStr = a;
|
|
1686
|
-
function o(e) {
|
|
1687
|
-
return typeof e == "object" && a(e) === "[object Date]";
|
|
1688
|
-
}
|
|
1689
|
-
i.__isDate = o;
|
|
1690
|
-
function s(e) {
|
|
1691
|
-
return typeof e == "object" && a(e) === "[object Array]";
|
|
1692
|
-
}
|
|
1693
|
-
i.__isArray = s;
|
|
1694
|
-
function c(e) {
|
|
1695
|
-
return typeof e == "object" && a(e) === "[object RegExp]";
|
|
1696
|
-
}
|
|
1697
|
-
i.__isRegExp = c;
|
|
1698
|
-
function l(e) {
|
|
1699
|
-
var t = "";
|
|
1700
|
-
return e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), t;
|
|
1701
|
-
}
|
|
1702
|
-
return i.__getRegExpFlags = l, i;
|
|
1703
|
-
})();
|
|
1704
|
-
typeof t == "object" && t.exports && (t.exports = n);
|
|
1705
|
-
})))(), 1);
|
|
1706
|
-
function Pn(e) {
|
|
1707
|
-
return Array.isArray(e) ? !1 : typeof e != "object" || Object.keys(e).length === 0;
|
|
1708
|
-
}
|
|
1709
|
-
function Fn(e) {
|
|
1710
|
-
return (0, Nn.default)(e);
|
|
1711
|
-
}
|
|
1712
|
-
function In(...e) {
|
|
1713
|
-
let t = (e) => e && typeof e == "object";
|
|
1714
|
-
function n(e, r) {
|
|
1715
|
-
return Object.keys(r).forEach((i) => {
|
|
1716
|
-
let a = e[i], o = r[i];
|
|
1717
|
-
Array.isArray(a) && Array.isArray(o) ? e[i] = a.concat(o) : t(a) && t(o) ? e[i] = n(Object.assign({}, a), o) : e[i] = o;
|
|
1718
|
-
}), e;
|
|
1719
|
-
}
|
|
1720
|
-
if (e.length < 2) throw Error("deepMerge: this function expects at least 2 objects to be provided");
|
|
1721
|
-
if (e.some((e) => !t(e))) throw Error("deepMerge: all values should be of type \"object\"");
|
|
1722
|
-
let r = e.shift(), i;
|
|
1723
|
-
for (; i = e.shift();) n(r, i);
|
|
1724
|
-
return r;
|
|
1725
|
-
}
|
|
1726
|
-
var Ln = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
1727
|
-
function Rn(e, t) {
|
|
1728
|
-
if (!Ln(e) || !Ln(t)) return t === void 0 ? e : t;
|
|
1729
|
-
let n = { ...e };
|
|
1730
|
-
return Object.keys(t).forEach((e) => {
|
|
1731
|
-
n[e] = Rn(n[e], t[e]);
|
|
1732
|
-
}), n;
|
|
1733
|
-
}
|
|
1734
|
-
//#endregion
|
|
1735
|
-
//#region src/lib/intl/i18next.ts
|
|
1736
|
-
var R = {
|
|
1737
|
-
DEFAULT: "default",
|
|
1738
|
-
THEME: "theme",
|
|
1739
|
-
OPTIONS: "options"
|
|
1740
|
-
};
|
|
1741
|
-
L.on("missingKey", (e, t, n, r) => {
|
|
1742
|
-
E.warn(`i18next: MISSING KEY in ${t}.${n} for languages: ${e.join(", ")}`, { result: r });
|
|
1743
|
-
});
|
|
1744
|
-
function zn(e, t) {
|
|
1745
|
-
if (typeof t != "object") return;
|
|
1746
|
-
let n = {};
|
|
1747
|
-
return Object.entries(t).forEach(([t, r]) => {
|
|
1748
|
-
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] = zn(e, r));
|
|
1749
|
-
}), n;
|
|
1750
|
-
}
|
|
1751
|
-
async function Bn(e, t) {
|
|
1752
|
-
let n = await ri(e), r;
|
|
1753
|
-
switch (t) {
|
|
1754
|
-
case "default": {
|
|
1755
|
-
let e = Object.entries(n.segmentMessages).map(([e, t]) => zn(e, t));
|
|
1756
|
-
r = In({}, n.defaultMessages, ...e);
|
|
1757
|
-
break;
|
|
1758
|
-
}
|
|
1759
|
-
case "theme": break;
|
|
1760
|
-
case "options": break;
|
|
1761
|
-
default: E.error("Unexpected namespace resource request", t);
|
|
1762
|
-
}
|
|
1763
|
-
return r;
|
|
1764
|
-
}
|
|
1765
|
-
var Vn = {
|
|
1766
|
-
debug: !1,
|
|
1767
|
-
partialBundledLanguages: !0,
|
|
1768
|
-
ns: Object.values(R),
|
|
1769
|
-
defaultNS: R.OPTIONS,
|
|
1770
|
-
fallbackNS: [R.THEME, R.DEFAULT],
|
|
1771
|
-
fallbackLng: !1,
|
|
1772
|
-
react: { transSupportBasicHtmlNodes: !1 },
|
|
1773
|
-
showSupportNotice: !1
|
|
1774
|
-
};
|
|
1775
|
-
L.use(Mn).use(xn(Bn)).init(Vn);
|
|
1776
|
-
function Hn(e) {
|
|
1777
|
-
e && (Array.isArray(e) ? e.forEach((e) => E.error(e)) : E.error(e));
|
|
1778
|
-
}
|
|
1779
|
-
function Un(e, t = L) {
|
|
1780
|
-
e && Object.entries(e).forEach(([e, n]) => {
|
|
1781
|
-
n && t.addResourceBundle(e, R.OPTIONS, n, !1, !0);
|
|
1782
|
-
});
|
|
1783
|
-
}
|
|
1784
|
-
var Wn = L, Gn = /* @__PURE__ */ function(e) {
|
|
1785
|
-
return e.TRUE = "true", e.FALSE = "false", e;
|
|
1786
|
-
}({}), Kn = ["sheerid.com"], qn = /* @__PURE__ */ function(e) {
|
|
1787
|
-
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;
|
|
1788
|
-
}({}), Jn = /* @__PURE__ */ function(e) {
|
|
1789
|
-
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;
|
|
1790
|
-
}({}), Yn = /* @__PURE__ */ function(e) {
|
|
1791
|
-
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;
|
|
1792
|
-
}({});
|
|
1793
|
-
function Xn(e, t, n) {
|
|
1794
|
-
if (p()) return E.info("Not able to track");
|
|
1795
|
-
try {
|
|
1796
|
-
return window.gtag(e, t, n);
|
|
1797
|
-
} catch (n) {
|
|
1798
|
-
E.warn(`Failed ${e}:${t} event`, n);
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
var Zn = async (e) => {
|
|
1802
|
-
try {
|
|
1803
|
-
let t = {
|
|
1804
|
-
...await f() || {},
|
|
1805
|
-
...e.params
|
|
1806
|
-
};
|
|
1807
|
-
Xn("event", e.eventName, t), m() && window.NREUM.addPageAction(e.eventName, t);
|
|
1808
|
-
} catch (e) {
|
|
1809
|
-
E.error(e);
|
|
1810
|
-
}
|
|
1811
|
-
}, Qn = async (e, t) => {
|
|
1812
|
-
Zn({
|
|
1813
|
-
eventName: e,
|
|
1814
|
-
params: t
|
|
1815
|
-
});
|
|
1816
|
-
}, $n = (e, t) => {
|
|
1817
|
-
if (d({ [e]: t }), !p()) try {
|
|
1818
|
-
Xn("set", "user_properties", { [e]: t });
|
|
1819
|
-
} catch (t) {
|
|
1820
|
-
E.warn(`Failed to set ${e}`, t);
|
|
1821
|
-
}
|
|
1822
|
-
}, er = (e) => {
|
|
1823
|
-
try {
|
|
1824
|
-
d({
|
|
1825
|
-
verificationId: e.verificationId,
|
|
1826
|
-
segment: e.segment,
|
|
1827
|
-
subSegment: e.subSegment,
|
|
1828
|
-
step: e.currentStep
|
|
1829
|
-
});
|
|
1830
|
-
} catch (e) {
|
|
1831
|
-
E.warn(e);
|
|
1832
|
-
}
|
|
1833
|
-
}, tr = $n, nr = (e) => {
|
|
1834
|
-
try {
|
|
1835
|
-
let { email: t } = e;
|
|
1836
|
-
t && Kn.filter((e) => t.indexOf(e) > -1).length > 0 && tr("testRequest", "true");
|
|
1837
|
-
} catch (e) {
|
|
1838
|
-
E.warn("Error setting testRequest dimension", e);
|
|
1421
|
+
Wt(e.options.react), qt(e);
|
|
1839
1422
|
}
|
|
1840
|
-
}
|
|
1841
|
-
function rr() {
|
|
1842
|
-
try {
|
|
1843
|
-
if (PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")) {
|
|
1844
|
-
let e = new PerformanceObserver((t) => {
|
|
1845
|
-
let n = t.getEntries(), r = n[n.length - 1];
|
|
1846
|
-
E.log("Performance:", "largestContentfulPaint", r.startTime), ar("largestContentfulPaint", r.startTime), e.disconnect();
|
|
1847
|
-
});
|
|
1848
|
-
e.observe({
|
|
1849
|
-
type: "largest-contentful-paint",
|
|
1850
|
-
buffered: !0
|
|
1851
|
-
});
|
|
1852
|
-
}
|
|
1853
|
-
if (PerformanceObserver.supportedEntryTypes.includes("mark")) {
|
|
1854
|
-
let e = new PerformanceObserver((t) => {
|
|
1855
|
-
let n = t.getEntries();
|
|
1856
|
-
n = n.filter((e) => e.name === "initialStepLoad");
|
|
1857
|
-
let r = n[0];
|
|
1858
|
-
r && (E.log("Performance:", "initialStepLoad", r.startTime), ar("initialStepLoad", r.startTime), e.disconnect());
|
|
1859
|
-
});
|
|
1860
|
-
e.observe({
|
|
1861
|
-
type: "mark",
|
|
1862
|
-
buffered: !0
|
|
1863
|
-
});
|
|
1864
|
-
}
|
|
1865
|
-
} catch (e) {
|
|
1866
|
-
E.warn("Error setting up observePerformanceMetrics", e);
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
var ir = (e, t = "") => {
|
|
1870
|
-
Xn("event", "Verification", {
|
|
1871
|
-
step: e,
|
|
1872
|
-
step_action: t
|
|
1873
|
-
});
|
|
1874
|
-
}, ar = (e, t) => {
|
|
1875
|
-
Xn("event", "Performance", {
|
|
1876
|
-
name: e,
|
|
1877
|
-
value: t
|
|
1878
|
-
});
|
|
1879
|
-
};
|
|
1880
|
-
//#endregion
|
|
1881
|
-
//#region ../node_modules/immer/dist/immer.esm.mjs
|
|
1882
|
-
function z(e) {
|
|
1883
|
-
var t = [...arguments].slice(1);
|
|
1884
|
-
throw Error("[Immer] minified error nr: " + e + (t.length ? " " + t.map((function(e) {
|
|
1885
|
-
return "'" + e + "'";
|
|
1886
|
-
})).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
1887
|
-
}
|
|
1888
|
-
function B(e) {
|
|
1889
|
-
return !!e && !!e[J];
|
|
1890
|
-
}
|
|
1891
|
-
function V(e) {
|
|
1892
|
-
return !!e && (function(e) {
|
|
1893
|
-
if (!e || typeof e != "object") return !1;
|
|
1894
|
-
var t = Object.getPrototypeOf(e);
|
|
1895
|
-
if (t === null) return !0;
|
|
1896
|
-
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
1897
|
-
return n === Object || typeof n == "function" && Function.toString.call(n) === Vr;
|
|
1898
|
-
}(e) || Array.isArray(e) || !!e[Br] || !!e.constructor?.[Br] || lr(e) || ur(e));
|
|
1899
|
-
}
|
|
1900
|
-
function H(e, t, n) {
|
|
1901
|
-
n === void 0 && (n = !1), U(e) === 0 ? (n ? Object.keys : Y)(e).forEach((function(r) {
|
|
1902
|
-
n && typeof r == "symbol" || t(r, e[r], e);
|
|
1903
|
-
})) : e.forEach((function(n, r) {
|
|
1904
|
-
return t(r, n, e);
|
|
1905
|
-
}));
|
|
1906
|
-
}
|
|
1907
|
-
function U(e) {
|
|
1908
|
-
var t = e[J];
|
|
1909
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : lr(e) ? 2 : ur(e) ? 3 : 0;
|
|
1910
|
-
}
|
|
1911
|
-
function W(e, t) {
|
|
1912
|
-
return U(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
1913
|
-
}
|
|
1914
|
-
function or(e, t) {
|
|
1915
|
-
return U(e) === 2 ? e.get(t) : e[t];
|
|
1916
|
-
}
|
|
1917
|
-
function sr(e, t, n) {
|
|
1918
|
-
var r = U(e);
|
|
1919
|
-
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
1920
|
-
}
|
|
1921
|
-
function cr(e, t) {
|
|
1922
|
-
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
1923
|
-
}
|
|
1924
|
-
function lr(e) {
|
|
1925
|
-
return Ir && e instanceof Map;
|
|
1926
|
-
}
|
|
1927
|
-
function ur(e) {
|
|
1928
|
-
return Lr && e instanceof Set;
|
|
1929
|
-
}
|
|
1930
|
-
function G(e) {
|
|
1931
|
-
return e.o || e.t;
|
|
1932
|
-
}
|
|
1933
|
-
function dr(e) {
|
|
1934
|
-
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
1935
|
-
var t = Hr(e);
|
|
1936
|
-
delete t[J];
|
|
1937
|
-
for (var n = Y(t), r = 0; r < n.length; r++) {
|
|
1938
|
-
var i = n[r], a = t[i];
|
|
1939
|
-
!1 === a.writable && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {
|
|
1940
|
-
configurable: !0,
|
|
1941
|
-
writable: !0,
|
|
1942
|
-
enumerable: a.enumerable,
|
|
1943
|
-
value: e[i]
|
|
1944
|
-
});
|
|
1945
|
-
}
|
|
1946
|
-
return Object.create(Object.getPrototypeOf(e), t);
|
|
1947
|
-
}
|
|
1948
|
-
function fr(e, t) {
|
|
1949
|
-
return t === void 0 && (t = !1), mr(e) || B(e) || !V(e) || (U(e) > 1 && (e.set = e.add = e.clear = e.delete = pr), Object.freeze(e), t && H(e, (function(e, t) {
|
|
1950
|
-
return fr(t, !0);
|
|
1951
|
-
}), !0)), e;
|
|
1952
|
-
}
|
|
1953
|
-
function pr() {
|
|
1954
|
-
z(2);
|
|
1955
|
-
}
|
|
1956
|
-
function mr(e) {
|
|
1957
|
-
return typeof e != "object" || !e || Object.isFrozen(e);
|
|
1958
|
-
}
|
|
1959
|
-
function K(e) {
|
|
1960
|
-
var t = Ur[e];
|
|
1961
|
-
return t || z(18, e), t;
|
|
1962
|
-
}
|
|
1963
|
-
function hr(e, t) {
|
|
1964
|
-
Ur[e] || (Ur[e] = t);
|
|
1965
|
-
}
|
|
1966
|
-
function gr() {
|
|
1967
|
-
return Pr;
|
|
1968
|
-
}
|
|
1969
|
-
function _r(e, t) {
|
|
1970
|
-
t && (K("Patches"), e.u = [], e.s = [], e.v = t);
|
|
1971
|
-
}
|
|
1972
|
-
function vr(e) {
|
|
1973
|
-
yr(e), e.p.forEach(xr), e.p = null;
|
|
1974
|
-
}
|
|
1975
|
-
function yr(e) {
|
|
1976
|
-
e === Pr && (Pr = e.l);
|
|
1977
|
-
}
|
|
1978
|
-
function br(e) {
|
|
1979
|
-
return Pr = {
|
|
1980
|
-
p: [],
|
|
1981
|
-
l: Pr,
|
|
1982
|
-
h: e,
|
|
1983
|
-
m: !0,
|
|
1984
|
-
_: 0
|
|
1985
|
-
};
|
|
1986
|
-
}
|
|
1987
|
-
function xr(e) {
|
|
1988
|
-
var t = e[J];
|
|
1989
|
-
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
1990
|
-
}
|
|
1991
|
-
function Sr(e, t) {
|
|
1992
|
-
t._ = t.p.length;
|
|
1993
|
-
var n = t.p[0], r = e !== void 0 && e !== n;
|
|
1994
|
-
return t.h.O || K("ES5").S(t, e, r), r ? (n[J].P && (vr(t), z(4)), V(e) && (e = Cr(t, e), t.l || Tr(t, e)), t.u && K("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 === zr ? void 0 : e;
|
|
1995
|
-
}
|
|
1996
|
-
function Cr(e, t, n) {
|
|
1997
|
-
if (mr(t)) return t;
|
|
1998
|
-
var r = t[J];
|
|
1999
|
-
if (!r) return H(t, (function(i, a) {
|
|
2000
|
-
return wr(e, r, t, i, a, n);
|
|
2001
|
-
}), !0), t;
|
|
2002
|
-
if (r.A !== e) return t;
|
|
2003
|
-
if (!r.P) return Tr(e, r.t, !0), r.t;
|
|
2004
|
-
if (!r.I) {
|
|
2005
|
-
r.I = !0, r.A._--;
|
|
2006
|
-
var i = r.i === 4 || r.i === 5 ? r.o = dr(r.k) : r.o, a = i, o = !1;
|
|
2007
|
-
r.i === 3 && (a = new Set(i), i.clear(), o = !0), H(a, (function(t, a) {
|
|
2008
|
-
return wr(e, r, i, t, a, n, o);
|
|
2009
|
-
})), Tr(e, i, !1), n && e.u && K("Patches").N(r, n, e.u, e.s);
|
|
2010
|
-
}
|
|
2011
|
-
return r.o;
|
|
2012
|
-
}
|
|
2013
|
-
function wr(e, t, n, r, i, a, o) {
|
|
2014
|
-
if (B(i)) {
|
|
2015
|
-
var s = Cr(e, i, a && t && t.i !== 3 && !W(t.R, r) ? a.concat(r) : void 0);
|
|
2016
|
-
if (sr(n, r, s), !B(s)) return;
|
|
2017
|
-
e.m = !1;
|
|
2018
|
-
} else o && n.add(i);
|
|
2019
|
-
if (V(i) && !mr(i)) {
|
|
2020
|
-
if (!e.h.D && e._ < 1) return;
|
|
2021
|
-
Cr(e, i), t && t.A.l || Tr(e, i);
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
function Tr(e, t, n) {
|
|
2025
|
-
n === void 0 && (n = !1), !e.l && e.h.D && e.m && fr(t, n);
|
|
2026
|
-
}
|
|
2027
|
-
function Er(e, t) {
|
|
2028
|
-
var n = e[J];
|
|
2029
|
-
return (n ? G(n) : e)[t];
|
|
2030
|
-
}
|
|
2031
|
-
function Dr(e, t) {
|
|
2032
|
-
if (t in e) for (var n = Object.getPrototypeOf(e); n;) {
|
|
2033
|
-
var r = Object.getOwnPropertyDescriptor(n, t);
|
|
2034
|
-
if (r) return r;
|
|
2035
|
-
n = Object.getPrototypeOf(n);
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
function q(e) {
|
|
2039
|
-
e.P || (e.P = !0, e.l && q(e.l));
|
|
2040
|
-
}
|
|
2041
|
-
function Or(e) {
|
|
2042
|
-
e.o ||= dr(e.t);
|
|
2043
|
-
}
|
|
2044
|
-
function kr(e, t, n) {
|
|
2045
|
-
var r = lr(t) ? K("MapSet").F(t, n) : ur(t) ? K("MapSet").T(t, n) : e.O ? function(e, t) {
|
|
2046
|
-
var n = Array.isArray(e), r = {
|
|
2047
|
-
i: +!!n,
|
|
2048
|
-
A: t ? t.A : gr(),
|
|
2049
|
-
P: !1,
|
|
2050
|
-
I: !1,
|
|
2051
|
-
R: {},
|
|
2052
|
-
l: t,
|
|
2053
|
-
t: e,
|
|
2054
|
-
k: null,
|
|
2055
|
-
o: null,
|
|
2056
|
-
j: null,
|
|
2057
|
-
C: !1
|
|
2058
|
-
}, i = r, a = X;
|
|
2059
|
-
n && (i = [r], a = Wr);
|
|
2060
|
-
var o = Proxy.revocable(i, a), s = o.revoke, c = o.proxy;
|
|
2061
|
-
return r.k = c, r.j = s, c;
|
|
2062
|
-
}(t, n) : K("ES5").J(t, n);
|
|
2063
|
-
return (n ? n.A : gr()).p.push(r), r;
|
|
2064
|
-
}
|
|
2065
|
-
function Ar(e) {
|
|
2066
|
-
return B(e) || z(22, e), function e(t) {
|
|
2067
|
-
if (!V(t)) return t;
|
|
2068
|
-
var n, r = t[J], i = U(t);
|
|
2069
|
-
if (r) {
|
|
2070
|
-
if (!r.P && (r.i < 4 || !K("ES5").K(r))) return r.t;
|
|
2071
|
-
r.I = !0, n = jr(t, i), r.I = !1;
|
|
2072
|
-
} else n = jr(t, i);
|
|
2073
|
-
return H(n, (function(t, i) {
|
|
2074
|
-
r && or(r.t, t) === i || sr(n, t, e(i));
|
|
2075
|
-
})), i === 3 ? new Set(n) : n;
|
|
2076
|
-
}(e);
|
|
2077
|
-
}
|
|
2078
|
-
function jr(e, t) {
|
|
2079
|
-
switch (t) {
|
|
2080
|
-
case 2: return new Map(e);
|
|
2081
|
-
case 3: return Array.from(e);
|
|
2082
|
-
}
|
|
2083
|
-
return dr(e);
|
|
2084
|
-
}
|
|
2085
|
-
function Mr() {
|
|
2086
|
-
function e(e, t) {
|
|
2087
|
-
var n = i[e];
|
|
2088
|
-
return n ? n.enumerable = t : i[e] = n = {
|
|
2089
|
-
configurable: !0,
|
|
2090
|
-
enumerable: t,
|
|
2091
|
-
get: function() {
|
|
2092
|
-
var t = this[J];
|
|
2093
|
-
return X.get(t, e);
|
|
2094
|
-
},
|
|
2095
|
-
set: function(t) {
|
|
2096
|
-
var n = this[J];
|
|
2097
|
-
X.set(n, e, t);
|
|
2098
|
-
}
|
|
2099
|
-
}, n;
|
|
2100
|
-
}
|
|
2101
|
-
function t(e) {
|
|
2102
|
-
for (var t = e.length - 1; t >= 0; t--) {
|
|
2103
|
-
var i = e[t][J];
|
|
2104
|
-
if (!i.P) switch (i.i) {
|
|
2105
|
-
case 5:
|
|
2106
|
-
r(i) && q(i);
|
|
2107
|
-
break;
|
|
2108
|
-
case 4: n(i) && q(i);
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
function n(e) {
|
|
2113
|
-
for (var t = e.t, n = e.k, r = Y(n), i = r.length - 1; i >= 0; i--) {
|
|
2114
|
-
var a = r[i];
|
|
2115
|
-
if (a !== J) {
|
|
2116
|
-
var o = t[a];
|
|
2117
|
-
if (o === void 0 && !W(t, a)) return !0;
|
|
2118
|
-
var s = n[a], c = s && s[J];
|
|
2119
|
-
if (c ? c.t !== o : !cr(s, o)) return !0;
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
var l = !!t[J];
|
|
2123
|
-
return r.length !== Y(t).length + +!l;
|
|
2124
|
-
}
|
|
2125
|
-
function r(e) {
|
|
2126
|
-
var t = e.k;
|
|
2127
|
-
if (t.length !== e.t.length) return !0;
|
|
2128
|
-
var n = Object.getOwnPropertyDescriptor(t, t.length - 1);
|
|
2129
|
-
if (n && !n.get) return !0;
|
|
2130
|
-
for (var r = 0; r < t.length; r++) if (!t.hasOwnProperty(r)) return !0;
|
|
2131
|
-
return !1;
|
|
2132
|
-
}
|
|
2133
|
-
var i = {};
|
|
2134
|
-
hr("ES5", {
|
|
2135
|
-
J: function(t, n) {
|
|
2136
|
-
var r = Array.isArray(t), i = function(t, n) {
|
|
2137
|
-
if (t) {
|
|
2138
|
-
for (var r = Array(n.length), i = 0; i < n.length; i++) Object.defineProperty(r, "" + i, e(i, !0));
|
|
2139
|
-
return r;
|
|
2140
|
-
}
|
|
2141
|
-
var a = Hr(n);
|
|
2142
|
-
delete a[J];
|
|
2143
|
-
for (var o = Y(a), s = 0; s < o.length; s++) {
|
|
2144
|
-
var c = o[s];
|
|
2145
|
-
a[c] = e(c, t || !!a[c].enumerable);
|
|
2146
|
-
}
|
|
2147
|
-
return Object.create(Object.getPrototypeOf(n), a);
|
|
2148
|
-
}(r, t), a = {
|
|
2149
|
-
i: r ? 5 : 4,
|
|
2150
|
-
A: n ? n.A : gr(),
|
|
2151
|
-
P: !1,
|
|
2152
|
-
I: !1,
|
|
2153
|
-
R: {},
|
|
2154
|
-
l: n,
|
|
2155
|
-
t,
|
|
2156
|
-
k: i,
|
|
2157
|
-
o: null,
|
|
2158
|
-
g: !1,
|
|
2159
|
-
C: !1
|
|
2160
|
-
};
|
|
2161
|
-
return Object.defineProperty(i, J, {
|
|
2162
|
-
value: a,
|
|
2163
|
-
writable: !0
|
|
2164
|
-
}), i;
|
|
2165
|
-
},
|
|
2166
|
-
S: function(e, n, i) {
|
|
2167
|
-
i ? B(n) && n[J].A === e && t(e.p) : (e.u && function e(t) {
|
|
2168
|
-
if (t && typeof t == "object") {
|
|
2169
|
-
var n = t[J];
|
|
2170
|
-
if (n) {
|
|
2171
|
-
var i = n.t, a = n.k, o = n.R, s = n.i;
|
|
2172
|
-
if (s === 4) H(a, (function(t) {
|
|
2173
|
-
t !== J && (i[t] !== void 0 || W(i, t) ? o[t] || e(a[t]) : (o[t] = !0, q(n)));
|
|
2174
|
-
})), H(i, (function(e) {
|
|
2175
|
-
a[e] !== void 0 || W(a, e) || (o[e] = !1, q(n));
|
|
2176
|
-
}));
|
|
2177
|
-
else if (s === 5) {
|
|
2178
|
-
if (r(n) && (q(n), o.length = !0), a.length < i.length) for (var c = a.length; c < i.length; c++) o[c] = !1;
|
|
2179
|
-
else for (var l = i.length; l < a.length; l++) o[l] = !0;
|
|
2180
|
-
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]);
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2184
|
-
}(e.p[0]), t(e.p));
|
|
2185
|
-
},
|
|
2186
|
-
K: function(e) {
|
|
2187
|
-
return e.i === 4 ? n(e) : r(e);
|
|
2188
|
-
}
|
|
2189
|
-
});
|
|
2190
|
-
}
|
|
2191
|
-
var Nr, Pr, Fr = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Ir = typeof Map < "u", Lr = typeof Set < "u", Rr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", zr = Fr ? Symbol.for("immer-nothing") : ((Nr = {})["immer-nothing"] = !0, Nr), Br = Fr ? Symbol.for("immer-draftable") : "__$immer_draftable", J = Fr ? Symbol.for("immer-state") : "__$immer_state", Vr = "" + Object.prototype.constructor, Y = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols === void 0 ? Object.getOwnPropertyNames : function(e) {
|
|
2192
|
-
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
2193
|
-
}, Hr = Object.getOwnPropertyDescriptors || function(e) {
|
|
2194
|
-
var t = {};
|
|
2195
|
-
return Y(e).forEach((function(n) {
|
|
2196
|
-
t[n] = Object.getOwnPropertyDescriptor(e, n);
|
|
2197
|
-
})), t;
|
|
2198
|
-
}, Ur = {}, X = {
|
|
2199
|
-
get: function(e, t) {
|
|
2200
|
-
if (t === J) return e;
|
|
2201
|
-
var n = G(e);
|
|
2202
|
-
if (!W(n, t)) return function(e, t, n) {
|
|
2203
|
-
var r = Dr(t, n);
|
|
2204
|
-
return r ? "value" in r ? r.value : r.get?.call(e.k) : void 0;
|
|
2205
|
-
}(e, n, t);
|
|
2206
|
-
var r = n[t];
|
|
2207
|
-
return e.I || !V(r) ? r : r === Er(e.t, t) ? (Or(e), e.o[t] = kr(e.A.h, r, e)) : r;
|
|
2208
|
-
},
|
|
2209
|
-
has: function(e, t) {
|
|
2210
|
-
return t in G(e);
|
|
2211
|
-
},
|
|
2212
|
-
ownKeys: function(e) {
|
|
2213
|
-
return Reflect.ownKeys(G(e));
|
|
2214
|
-
},
|
|
2215
|
-
set: function(e, t, n) {
|
|
2216
|
-
var r = Dr(G(e), t);
|
|
2217
|
-
if (r?.set) return r.set.call(e.k, n), !0;
|
|
2218
|
-
if (!e.P) {
|
|
2219
|
-
var i = Er(G(e), t), a = i?.[J];
|
|
2220
|
-
if (a && a.t === n) return e.o[t] = n, e.R[t] = !1, !0;
|
|
2221
|
-
if (cr(n, i) && (n !== void 0 || W(e.t, t))) return !0;
|
|
2222
|
-
Or(e), q(e);
|
|
2223
|
-
}
|
|
2224
|
-
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;
|
|
2225
|
-
},
|
|
2226
|
-
deleteProperty: function(e, t) {
|
|
2227
|
-
return Er(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, Or(e), q(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
2228
|
-
},
|
|
2229
|
-
getOwnPropertyDescriptor: function(e, t) {
|
|
2230
|
-
var n = G(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
2231
|
-
return r && {
|
|
2232
|
-
writable: !0,
|
|
2233
|
-
configurable: e.i !== 1 || t !== "length",
|
|
2234
|
-
enumerable: r.enumerable,
|
|
2235
|
-
value: n[t]
|
|
2236
|
-
};
|
|
2237
|
-
},
|
|
2238
|
-
defineProperty: function() {
|
|
2239
|
-
z(11);
|
|
2240
|
-
},
|
|
2241
|
-
getPrototypeOf: function(e) {
|
|
2242
|
-
return Object.getPrototypeOf(e.t);
|
|
2243
|
-
},
|
|
2244
|
-
setPrototypeOf: function() {
|
|
2245
|
-
z(12);
|
|
2246
|
-
}
|
|
2247
|
-
}, Wr = {};
|
|
2248
|
-
H(X, (function(e, t) {
|
|
2249
|
-
Wr[e] = function() {
|
|
2250
|
-
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
2251
|
-
};
|
|
2252
|
-
})), Wr.deleteProperty = function(e, t) {
|
|
2253
|
-
return Wr.set.call(this, e, t, void 0);
|
|
2254
|
-
}, Wr.set = function(e, t, n) {
|
|
2255
|
-
return X.set.call(this, e[0], t, n, e[0]);
|
|
2256
|
-
};
|
|
2257
|
-
var Z = new (function() {
|
|
2258
|
-
function e(e) {
|
|
2259
|
-
var t = this;
|
|
2260
|
-
this.O = Rr, this.D = !0, this.produce = function(e, n, r) {
|
|
2261
|
-
if (typeof e == "function" && typeof n != "function") {
|
|
2262
|
-
var i = n;
|
|
2263
|
-
n = e;
|
|
2264
|
-
var a = t;
|
|
2265
|
-
return function(e) {
|
|
2266
|
-
var t = this;
|
|
2267
|
-
e === void 0 && (e = i);
|
|
2268
|
-
var r = [...arguments].slice(1);
|
|
2269
|
-
return a.produce(e, (function(e) {
|
|
2270
|
-
var i;
|
|
2271
|
-
return (i = n).call.apply(i, [t, e].concat(r));
|
|
2272
|
-
}));
|
|
2273
|
-
};
|
|
2274
|
-
}
|
|
2275
|
-
var o;
|
|
2276
|
-
if (typeof n != "function" && z(6), r !== void 0 && typeof r != "function" && z(7), V(e)) {
|
|
2277
|
-
var s = br(t), c = kr(t, e, void 0), l = !0;
|
|
2278
|
-
try {
|
|
2279
|
-
o = n(c), l = !1;
|
|
2280
|
-
} finally {
|
|
2281
|
-
l ? vr(s) : yr(s);
|
|
2282
|
-
}
|
|
2283
|
-
return typeof Promise < "u" && o instanceof Promise ? o.then((function(e) {
|
|
2284
|
-
return _r(s, r), Sr(e, s);
|
|
2285
|
-
}), (function(e) {
|
|
2286
|
-
throw vr(s), e;
|
|
2287
|
-
})) : (_r(s, r), Sr(o, s));
|
|
2288
|
-
}
|
|
2289
|
-
if (!e || typeof e != "object") {
|
|
2290
|
-
if ((o = n(e)) === void 0 && (o = e), o === zr && (o = void 0), t.D && fr(o, !0), r) {
|
|
2291
|
-
var u = [], d = [];
|
|
2292
|
-
K("Patches").M(e, o, u, d), r(u, d);
|
|
2293
|
-
}
|
|
2294
|
-
return o;
|
|
2295
|
-
}
|
|
2296
|
-
z(21, e);
|
|
2297
|
-
}, this.produceWithPatches = function(e, n) {
|
|
2298
|
-
if (typeof e == "function") return function(n) {
|
|
2299
|
-
var r = [...arguments].slice(1);
|
|
2300
|
-
return t.produceWithPatches(n, (function(t) {
|
|
2301
|
-
return e.apply(void 0, [t].concat(r));
|
|
2302
|
-
}));
|
|
2303
|
-
};
|
|
2304
|
-
var r, i, a = t.produce(e, n, (function(e, t) {
|
|
2305
|
-
r = e, i = t;
|
|
2306
|
-
}));
|
|
2307
|
-
return typeof Promise < "u" && a instanceof Promise ? a.then((function(e) {
|
|
2308
|
-
return [
|
|
2309
|
-
e,
|
|
2310
|
-
r,
|
|
2311
|
-
i
|
|
2312
|
-
];
|
|
2313
|
-
})) : [
|
|
2314
|
-
a,
|
|
2315
|
-
r,
|
|
2316
|
-
i
|
|
2317
|
-
];
|
|
2318
|
-
}, typeof e?.useProxies == "boolean" && this.setUseProxies(e.useProxies), typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze);
|
|
2319
|
-
}
|
|
2320
|
-
var t = e.prototype;
|
|
2321
|
-
return t.createDraft = function(e) {
|
|
2322
|
-
V(e) || z(8), B(e) && (e = Ar(e));
|
|
2323
|
-
var t = br(this), n = kr(this, e, void 0);
|
|
2324
|
-
return n[J].C = !0, yr(t), n;
|
|
2325
|
-
}, t.finishDraft = function(e, t) {
|
|
2326
|
-
var n = (e && e[J]).A;
|
|
2327
|
-
return _r(n, t), Sr(void 0, n);
|
|
2328
|
-
}, t.setAutoFreeze = function(e) {
|
|
2329
|
-
this.D = e;
|
|
2330
|
-
}, t.setUseProxies = function(e) {
|
|
2331
|
-
e && !Rr && z(20), this.O = e;
|
|
2332
|
-
}, t.applyPatches = function(e, t) {
|
|
2333
|
-
var n;
|
|
2334
|
-
for (n = t.length - 1; n >= 0; n--) {
|
|
2335
|
-
var r = t[n];
|
|
2336
|
-
if (r.path.length === 0 && r.op === "replace") {
|
|
2337
|
-
e = r.value;
|
|
2338
|
-
break;
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
|
-
n > -1 && (t = t.slice(n + 1));
|
|
2342
|
-
var i = K("Patches").$;
|
|
2343
|
-
return B(e) ? i(e, t) : this.produce(e, (function(e) {
|
|
2344
|
-
return i(e, t);
|
|
2345
|
-
}));
|
|
2346
|
-
}, e;
|
|
2347
|
-
}())(), Gr = Z.produce;
|
|
2348
|
-
Z.produceWithPatches.bind(Z), Z.setAutoFreeze.bind(Z), Z.setUseProxies.bind(Z), Z.applyPatches.bind(Z), Z.createDraft.bind(Z), Z.finishDraft.bind(Z);
|
|
2349
|
-
//#endregion
|
|
2350
|
-
//#region src/lib/utils/arrays.ts
|
|
2351
|
-
function Kr(e) {
|
|
2352
|
-
return e.sort().filter((e, t, n) => !t || e !== n[t - 1]);
|
|
2353
|
-
}
|
|
2354
|
-
var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
2355
|
-
if (!Array.isArray(n)) return e;
|
|
2356
|
-
let r = n.indexOf(t, 0);
|
|
2357
|
-
return r > -1 && n.splice(r, 1), n;
|
|
2358
|
-
}), Yr = {
|
|
2359
|
-
restApi: {
|
|
2360
|
-
serviceUrl: "https://services.sheerid.com/",
|
|
2361
|
-
resources: {
|
|
2362
|
-
verification: "rest/v2/verification/",
|
|
2363
|
-
program: {
|
|
2364
|
-
base: "rest/v2/program/",
|
|
2365
|
-
theme: "theme",
|
|
2366
|
-
organization: "organization"
|
|
2367
|
-
},
|
|
2368
|
-
conversion: { base: "rest/v2/conversion/" }
|
|
2369
|
-
}
|
|
2370
|
-
},
|
|
2371
|
-
mockStep: void 0,
|
|
2372
|
-
mockSubSegment: void 0,
|
|
2373
|
-
mockErrorId: void 0,
|
|
2374
|
-
mockErrorDetailId: void 0,
|
|
2375
|
-
mockCaptchaState: void 0,
|
|
2376
|
-
mockRewardCode: void 0,
|
|
2377
|
-
mockRedirectUrl: void 0,
|
|
2378
|
-
mockConsumerInfoState: void 0,
|
|
2379
|
-
mockDocSelected: void 0,
|
|
2380
|
-
mockIdCheckLoopServiceType: void 0,
|
|
2381
|
-
installPageUrl: void 0,
|
|
2382
|
-
mockResponse: void 0,
|
|
2383
|
-
doFetchTheme: !0,
|
|
2384
|
-
logLevel: "error",
|
|
2385
|
-
locale: null,
|
|
2386
|
-
messages: {},
|
|
2387
|
-
messagesWithLocale: {},
|
|
2388
|
-
urlFaq: "https://support.sheerid.com",
|
|
2389
|
-
urlStudentFaq: "https://verify.sheerid.com/student-faq/",
|
|
2390
|
-
urlSeniorFaq: "https://verify.sheerid.com/us-senior-faq/",
|
|
2391
|
-
urlAgeFaq: "https://verify.sheerid.com/us-age-faq/",
|
|
2392
|
-
urlMilitaryFaq: "https://verify.sheerid.com/military-faq/",
|
|
2393
|
-
urlTeacherFaq: "https://verify.sheerid.com/us-teacher-faq/",
|
|
2394
|
-
urlMemberFaq: "https://verify.sheerid.com/membership-faq/",
|
|
2395
|
-
urlFirstResponderFaq: "https://verify.sheerid.com/first-responder-faq/",
|
|
2396
|
-
urlMedicalFaq: "https://verify.sheerid.com/us-medical-faq/",
|
|
2397
|
-
urlEmploymentFaq: "https://verify.sheerid.com/employment-faq/",
|
|
2398
|
-
urlIdentityFaq: "https://verify.sheerid.com/identity-faq/",
|
|
2399
|
-
urlLicensedProfessionalFaq: "https://verify.sheerid.com/professions-faq/",
|
|
2400
|
-
urlLowIncomeFaq: "https://verify.sheerid.com/low-income-faq/",
|
|
2401
|
-
urlAddSchoolFaq: "https://verify.sheerid.com/add-school-request-faq/",
|
|
2402
|
-
urlAddSchoolForm: "https://offers.sheerid.com/sheerid/add-school-request/",
|
|
2403
|
-
privacyPolicyUrl: void 0,
|
|
2404
|
-
cookies: {
|
|
2405
|
-
enabled: !0,
|
|
2406
|
-
secure: !0,
|
|
2407
|
-
expires: 7
|
|
2408
|
-
},
|
|
2409
|
-
useFingerprinting: !1,
|
|
2410
|
-
verificationId: void 0,
|
|
2411
|
-
externalUserId: void 0,
|
|
2412
|
-
minimumOrganizationSearchLength: 1,
|
|
2413
|
-
httpRequestTimeout: St,
|
|
2414
|
-
hideTestModeFlag: !1,
|
|
2415
|
-
hideMilitaryFamilyAcceptableUploads: !1,
|
|
2416
|
-
customFormFields: [],
|
|
2417
|
-
formFieldConfig: [],
|
|
2418
|
-
renderAs: "default",
|
|
2419
|
-
tryAgainAction: { type: "reset" },
|
|
2420
|
-
_launchDarklyUserTargeting: !1,
|
|
2421
|
-
_launchDarklyFlagCb: () => {}
|
|
2422
|
-
}, Q = { ...Yr }, $ = () => Q, Xr = (e) => {
|
|
2423
|
-
let t = $();
|
|
2424
|
-
if (Object.prototype.hasOwnProperty.call(t, e)) return $()[e];
|
|
2425
|
-
}, Zr = () => {
|
|
2426
|
-
Q = { ...Yr };
|
|
2427
|
-
}, Qr = (e) => {
|
|
2428
|
-
try {
|
|
2429
|
-
if (typeof e == "object") {
|
|
2430
|
-
let t = Object.keys(e);
|
|
2431
|
-
Pn(e.messagesWithLocale) && (t = Jr(t, "messagesWithLocale")), Pn(e.messages) && (t = Jr(t, "messages")), t.length > 0 && $n(Jn.options, t.join(","));
|
|
2432
|
-
}
|
|
2433
|
-
} catch (e) {
|
|
2434
|
-
E.error(e);
|
|
2435
|
-
}
|
|
2436
|
-
if (e.hasOwnProperty("logLevel")) {
|
|
2437
|
-
try {
|
|
2438
|
-
E.setLogLevel(e.logLevel);
|
|
2439
|
-
} catch (e) {
|
|
2440
|
-
console.error(e);
|
|
2441
|
-
}
|
|
2442
|
-
Q.logLevel = e.logLevel;
|
|
2443
|
-
}
|
|
2444
|
-
if (e.hasOwnProperty("restApi") && e.restApi.hasOwnProperty("serviceUrl")) {
|
|
2445
|
-
let t = $e(e.restApi.serviceUrl);
|
|
2446
|
-
Q.restApi.serviceUrl = t, E.info(`option "serviceUrl" set to ${Q.restApi.serviceUrl}`);
|
|
2447
|
-
}
|
|
2448
|
-
if (e.hasOwnProperty("mockStep") && (ze(e[D]), Q[D] = e[D], E.info(`option "${D}" set to ${Q[D]}`)), e.hasOwnProperty("mockPreviousStep") && (ze(e[D]), Q[ft] = e[ft], E.info(`option "${ft}" set to ${Q[ft]}`)), e.hasOwnProperty("mockSegment") && (Q[ct] = e[ct], E.info(`option "${ct}" set to ${Q[ct]}`)), e.hasOwnProperty("mockSubSegment") && (Q[lt] = e[lt], E.info(`option "${lt}" set to ${Q[lt]}`)), e.hasOwnProperty("mockErrorId") && (Q[ut] = e[ut], E.info(`option "${ut}" set to ${Q[ut]}`)), e.hasOwnProperty("mockErrorDetailId") && (Q[dt] = e[dt], E.info(`option "${dt}" set to ${Q[dt]}`)), e.hasOwnProperty("mockCaptchaState") && (Q[vt] = e[vt], E.info(`option "${vt}" set to ${Q[vt]}`)), e.hasOwnProperty("mockRewardCode") && (Q[O] = e[O], E.info(`option "${O}" set to ${Q[O]}`)), e.hasOwnProperty("mockRedirectUrl") && (Q[k] = e[k], E.info(`option "${k}" set to ${Q[k]}`)), e.hasOwnProperty("mockConsumerInfoState") && (ze(e[D]), Q[A] = e[A], E.info(`option "${A}" set to ${Q[A]}`)), e.hasOwnProperty("mockIdCheckLoopServiceType") && (Q[j] = e[j], E.info(`option "${j}" set to ${Q[j]}`)), e.hasOwnProperty("installPageUrl") && (Q[ht] = e[ht], E.info(`option "${ht}" set to ${Q[ht]}`)), e.hasOwnProperty("mockDocSelected") && (Q[M] = e[M], E.info(`option "${M}" set to ${Q[M]}`)), e.hasOwnProperty("mockResponse") && (Q.mockResponse = Fn(e.mockResponse), E.info("option \"mockResponse\" set to", Q.mockResponse)), e.hasOwnProperty("messages") && (Q.messagesWithLocale = {
|
|
2449
|
-
...Q.messagesWithLocale,
|
|
2450
|
-
"en-US": e.messages
|
|
2451
|
-
}, E.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ", Q.messagesWithLocale, "\nThese messages will override existing messages of the same key for \"en-US\" locale.")), e.hasOwnProperty("messagesWithLocale") && (Q.messagesWithLocale = In({}, Q.messagesWithLocale, e.messagesWithLocale), e && e.messagesWithLocale && he(Object.keys(e.messagesWithLocale)), Un(Q.messagesWithLocale), E.info("option \"messagesWithLocale\" set to", Q.messagesWithLocale)), e.hasOwnProperty("locale")) try {
|
|
2452
|
-
Be(e.locale), Q.locale = e.locale, E.info(`option "locale" set to ${Q.locale}`);
|
|
2453
|
-
} catch (e) {
|
|
2454
|
-
E.error(e);
|
|
2455
|
-
}
|
|
2456
|
-
e.hasOwnProperty("urlStudentFaq") && (Q.urlStudentFaq = e.urlStudentFaq, E.info(`option "urlStudentFaq" set to ${Q.urlStudentFaq}`)), e.hasOwnProperty("urlSeniorFaq") && (Q.urlSeniorFaq = e.urlSeniorFaq, E.info(`option "urlSeniorFaq" set to ${Q.urlSeniorFaq}`)), e.hasOwnProperty("urlMilitaryFaq") && (Q.urlMilitaryFaq = e.urlMilitaryFaq, E.info(`option "urlMilitaryFaq" set to ${Q.urlMilitaryFaq}`)), e.hasOwnProperty("urlTeacherFaq") && (Q.urlTeacherFaq = e.urlTeacherFaq, E.info(`option "urlTeacherFaq" set to ${Q.urlTeacherFaq}`)), e.hasOwnProperty("urlMemberFaq") && (Q.urlMemberFaq = e.urlMemberFaq, E.info(`option "urlMemberFaq" set to ${Q.urlMemberFaq}`)), e.hasOwnProperty("urlMedicalFaq") && (Q.urlMedicalFaq = e.urlMedicalFaq, E.info(`option "urlMedicalFaq" set to ${Q.urlMedicalFaq}`)), e.hasOwnProperty("urlEmploymentFaq") && (Q.urlEmploymentFaq = e.urlEmploymentFaq, E.info(`option "urlEmploymentFaq" set to ${Q.urlEmploymentFaq}`)), e.hasOwnProperty("urlAddSchoolFaq") && (Q.urlAddSchoolFaq = e.urlAddSchoolFaq, E.info(`option "urlAddSchoolFaq" set to ${Q.urlAddSchoolFaq}`)), e.hasOwnProperty("urlAddSchoolForm") && (Q.urlAddSchoolForm = e.urlAddSchoolForm, E.info(`option "urlAddSchoolForm" set to ${Q.urlAddSchoolForm}`)), e.hasOwnProperty("doFetchTheme") && (Q.doFetchTheme = e.doFetchTheme, E.info(`option "doFetchTheme" set to ${Q.doFetchTheme}`)), e.hasOwnProperty("cookies") && (Q.cookies = {
|
|
2457
|
-
...Q.cookies,
|
|
2458
|
-
...e.cookies
|
|
2459
|
-
}, E.info("option \"cookies\" set to", Q.cookies)), e.hasOwnProperty("useFingerprinting") && (Q.useFingerprinting = e.useFingerprinting, E.info("option \"useFingerprinting\" set to", Q.useFingerprinting)), e.hasOwnProperty("marketConsent") && (Q.marketConsent = e.marketConsent, E.info("option \"market consent\" set to", Q.marketConsent)), e.hasOwnProperty("verificationId") && (Q.verificationId = e.verificationId, E.info("option \"verificationId\" set to", Q.verificationId)), e.hasOwnProperty("externalUserId") && (Q.externalUserId = e.externalUserId, E.info("option \"externalUserId\" set to", Q.externalUserId)), e.hasOwnProperty("minimumOrganizationSearchLength") && (Q.minimumOrganizationSearchLength = e.minimumOrganizationSearchLength, E.info("option \"minimumOrganizationSearchLength\" set to", Q.minimumOrganizationSearchLength)), e.hasOwnProperty("customCss") && (Q.customCss = e.customCss, E.info("option \"customCss\" set to", Q.customCss)), e.hasOwnProperty("logoUrl") && (Q.logoUrl = e.logoUrl, E.info("option \"logoUrl\" set to", Q.logoUrl)), e.hasOwnProperty("httpRequestTimeout") && (Q.httpRequestTimeout = e.httpRequestTimeout, E.info("option \"httpRequestTimeout\" set to", Q.httpRequestTimeout)), e.hasOwnProperty("privacyPolicyUrl") && (Q.privacyPolicyUrl = e.privacyPolicyUrl, E.info("option \"privacyPolicyUrl\" set to", Q.privacyPolicyUrl)), (e.hasOwnProperty("hideTestModeFlag") || tt("hideTestModeFlag")) && (Q.hideTestModeFlag = e.hideTestModeFlag || tt("hideTestModeFlag") === "true", E.info("option \"hideTestModeFlag\" set to", Q.hideTestModeFlag)), e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads") && (Q.hideMilitaryFamilyAcceptableUploads = e.hideMilitaryFamilyAcceptableUploads, E.info("option \"hideMilitaryFamilyAcceptableUploads\" set to", Q.hideMilitaryFamilyAcceptableUploads)), e.hasOwnProperty("customFormFields") && (Q.customFormFields = e.customFormFields, E.info("option \"customFormFields\" set to", Q.customFormFields)), e.hasOwnProperty("formFieldConfig") && (Q.formFieldConfig = e.formFieldConfig, E.info("option \"formFieldConfig\" set to", Q.formFieldConfig)), e.hasOwnProperty("customMetadata") && (Q.customMetadata = e.customMetadata, E.info("option \"customMetadata\" set to", Q.customMetadata)), e.hasOwnProperty("renderAs") && (Q.renderAs = e.renderAs, E.info("option \"renderAs\" set to", Q.renderAs)), Object.prototype.hasOwnProperty.call(e, "tryAgainAction") && (Q.tryAgainAction = e.tryAgainAction, E.info("option \"tryAgainAction\" set to", Q.tryAgainAction)), e.hasOwnProperty("_launchDarklyUserTargeting") && (Q._launchDarklyUserTargeting = e._launchDarklyUserTargeting, E.info("option \"_launchDarklyUserTargeting\" set to", Q._launchDarklyUserTargeting)), e.hasOwnProperty("_launchDarklyFlagCb") && (Q._launchDarklyFlagCb = e._launchDarklyFlagCb, E.info("option \"_launchDarklyFlagCb\" set to", Q._launchDarklyFlagCb));
|
|
2460
|
-
}, $r = {
|
|
1423
|
+
}, Xt = {
|
|
2461
1424
|
"defaultMessages.ACTIVE_DUTY": "Active Duty",
|
|
2462
1425
|
"defaultMessages.ARCHITECT": "Architect",
|
|
2463
1426
|
"defaultMessages.CHILD_CARE_WORKER": "Child Care Worker",
|
|
@@ -3592,9 +2555,9 @@ var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
|
3592
2555
|
"segmentMessages.teacher.step.docUpload.title": "To continue upload documents that confirm your educator status",
|
|
3593
2556
|
"segmentMessages.teacher.step.docUpload.uploadInstructions": "Upload your school-issued document that shows",
|
|
3594
2557
|
"segmentMessages.teacher.step.docUpload.whoIsSheerId": "Document review is handled by SheerID a trusted partner who specializes in verifying educators.",
|
|
3595
|
-
"segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails": "To be eligible for this offer you must currently be employed as
|
|
2558
|
+
"segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails": "To be eligible for this offer, you must currently be employed as an educator, faculty, or staff at an accredited educational institution.<br><br>{{companyName}} uses SheerID, a trusted partner, to verify that you are a current educator, faculty, or staff member. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",
|
|
3596
2559
|
"segmentMessages.teacher.step.personalInfo.submitButtonText": "Verify My Educator Status",
|
|
3597
|
-
"segmentMessages.teacher.step.personalInfo.subtitle": "Verify you're
|
|
2560
|
+
"segmentMessages.teacher.step.personalInfo.subtitle": "Verify you're an educator, faculty, or staff at an accredited educational institution.",
|
|
3598
2561
|
"segmentMessages.teacher.step.personalInfo.title": "Unlock this Educator-Only Offer",
|
|
3599
2562
|
"segmentMessages.teacher.step.personalInfo.tryAgain.subtitle": "Your full name and email address must match what is on record with your school.",
|
|
3600
2563
|
"segmentMessages.teacher.step.personalInfo.tryAgain.title": "Check Your Name & Email",
|
|
@@ -3609,11 +2572,11 @@ var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
|
3609
2572
|
"defaultMessages.step.docUpload.uploadInfo.issueDate": "An issue date within the last 90 days",
|
|
3610
2573
|
"defaultMessages.step.docUpload.uploadInfo.enrollmentProof": "Proof of <strong>current enrollment</strong>, shown by one of the following:",
|
|
3611
2574
|
"defaultMessages.contactSupport": "If you believe you're eligible, see our <faqLink>help center</faqLink> or <feedbackFormLink>contact SheerID support</feedbackFormLink>"
|
|
3612
|
-
},
|
|
2575
|
+
}, R = /* @__PURE__ */ b(_e(), 1), Zt = /* @__PURE__ */ new Map(), Qt = (e) => {
|
|
3613
2576
|
let t = Object.keys(e).reduce((t, n) => (e[n] && (t[n] = e[n]), t), {});
|
|
3614
|
-
return
|
|
3615
|
-
},
|
|
3616
|
-
if (
|
|
2577
|
+
return R.flatten.unflatten(t);
|
|
2578
|
+
}, $t = async (e) => {
|
|
2579
|
+
if (Zt.has(e)) return Zt.get(e);
|
|
3617
2580
|
let t = (async () => {
|
|
3618
2581
|
let t;
|
|
3619
2582
|
switch (e) {
|
|
@@ -3666,7 +2629,7 @@ var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
|
3666
2629
|
).then((e) => e.default);
|
|
3667
2630
|
break;
|
|
3668
2631
|
case "en-US":
|
|
3669
|
-
t =
|
|
2632
|
+
t = Xt;
|
|
3670
2633
|
break;
|
|
3671
2634
|
case "es-ES":
|
|
3672
2635
|
t = await import(
|
|
@@ -3938,32 +2901,888 @@ var qr = (e, t) => e < t ? -1 : +(e > t), Jr = (e, t) => Gr(e, (n) => {
|
|
|
3938
2901
|
"./zu-DPhgIh1z.js"
|
|
3939
2902
|
).then((e) => e.default);
|
|
3940
2903
|
break;
|
|
3941
|
-
default:
|
|
2904
|
+
default: n.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t = Xt;
|
|
2905
|
+
}
|
|
2906
|
+
return Qt(t);
|
|
2907
|
+
})();
|
|
2908
|
+
return Zt.set(e, t), t;
|
|
2909
|
+
}, en = (e) => {
|
|
2910
|
+
let t = (0, R.flatten)(e), n = {};
|
|
2911
|
+
return Object.keys(t).forEach((e) => {
|
|
2912
|
+
typeof t[e] == "string" && (n[e] = t[e]);
|
|
2913
|
+
}), n;
|
|
2914
|
+
}, tn = (e) => {
|
|
2915
|
+
let t = {};
|
|
2916
|
+
return $().messagesWithLocale[e] && (t = $().messagesWithLocale[e]), t;
|
|
2917
|
+
}, nn = (e) => e === "iw" ? "he" : e, rn = async (e, t, r) => {
|
|
2918
|
+
let i = e;
|
|
2919
|
+
re(i) || (n.error(`Invalid locale ${i}, falling back to ${E} for the verification form`, "Invalid locale"), i = E);
|
|
2920
|
+
let a = await $t(i), o = a ? a.defaultMessages : {}, s = a && a.segmentMessages, c = r && s ? a.segmentMessages[r] : {}, l = tn(i), u = t ? en(t) : {}, d = i === "en-US" ? {} : await rn(E, t, r);
|
|
2921
|
+
return Object.assign({}, d, o ? (0, R.flatten)(o) : {}, c ? (0, R.flatten)(c) : {}, u, l ? (0, R.flatten)(l) : {});
|
|
2922
|
+
}, an = (e, t) => {
|
|
2923
|
+
function n() {
|
|
2924
|
+
return ye(window.location.href).get("locale") || void 0;
|
|
2925
|
+
}
|
|
2926
|
+
let r = ge(() => e.localeChoice.value) || ge(() => t.locale) || $().locale || n() || "en-US";
|
|
2927
|
+
if (re(r)) return r;
|
|
2928
|
+
let i = r.substring(0, 2);
|
|
2929
|
+
return re(i) ? i : E;
|
|
2930
|
+
}, on = (e) => e.replace("-", "_"), sn = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
|
|
2931
|
+
var n = (function() {
|
|
2932
|
+
function e(e, t) {
|
|
2933
|
+
return t != null && e instanceof t;
|
|
2934
|
+
}
|
|
2935
|
+
var t;
|
|
2936
|
+
try {
|
|
2937
|
+
t = Map;
|
|
2938
|
+
} catch {
|
|
2939
|
+
t = function() {};
|
|
2940
|
+
}
|
|
2941
|
+
var n;
|
|
2942
|
+
try {
|
|
2943
|
+
n = Set;
|
|
2944
|
+
} catch {
|
|
2945
|
+
n = function() {};
|
|
2946
|
+
}
|
|
2947
|
+
var r;
|
|
2948
|
+
try {
|
|
2949
|
+
r = Promise;
|
|
2950
|
+
} catch {
|
|
2951
|
+
r = function() {};
|
|
2952
|
+
}
|
|
2953
|
+
function i(a, o, s, c, u) {
|
|
2954
|
+
typeof o == "object" && (s = o.depth, c = o.prototype, u = o.includeNonEnumerable, o = o.circular);
|
|
2955
|
+
var d = [], f = [], p = typeof Buffer < "u";
|
|
2956
|
+
o === void 0 && (o = !0), s === void 0 && (s = Infinity);
|
|
2957
|
+
function m(a, s) {
|
|
2958
|
+
if (a === null) return null;
|
|
2959
|
+
if (s === 0) return a;
|
|
2960
|
+
var h, g;
|
|
2961
|
+
if (typeof a != "object") return a;
|
|
2962
|
+
if (e(a, t)) h = new t();
|
|
2963
|
+
else if (e(a, n)) h = new n();
|
|
2964
|
+
else if (e(a, r)) h = new r(function(e, t) {
|
|
2965
|
+
a.then(function(t) {
|
|
2966
|
+
e(m(t, s - 1));
|
|
2967
|
+
}, function(e) {
|
|
2968
|
+
t(m(e, s - 1));
|
|
2969
|
+
});
|
|
2970
|
+
});
|
|
2971
|
+
else if (i.__isArray(a)) h = [];
|
|
2972
|
+
else if (i.__isRegExp(a)) h = new RegExp(a.source, l(a)), a.lastIndex && (h.lastIndex = a.lastIndex);
|
|
2973
|
+
else if (i.__isDate(a)) h = new Date(a.getTime());
|
|
2974
|
+
else if (p && Buffer.isBuffer(a)) return h = Buffer.allocUnsafe ? Buffer.allocUnsafe(a.length) : new Buffer(a.length), a.copy(h), h;
|
|
2975
|
+
else e(a, Error) ? h = Object.create(a) : c === void 0 ? (g = Object.getPrototypeOf(a), h = Object.create(g)) : (h = Object.create(c), g = c);
|
|
2976
|
+
if (o) {
|
|
2977
|
+
var _ = d.indexOf(a);
|
|
2978
|
+
if (_ != -1) return f[_];
|
|
2979
|
+
d.push(a), f.push(h);
|
|
2980
|
+
}
|
|
2981
|
+
for (var v in e(a, t) && a.forEach(function(e, t) {
|
|
2982
|
+
var n = m(t, s - 1), r = m(e, s - 1);
|
|
2983
|
+
h.set(n, r);
|
|
2984
|
+
}), e(a, n) && a.forEach(function(e) {
|
|
2985
|
+
var t = m(e, s - 1);
|
|
2986
|
+
h.add(t);
|
|
2987
|
+
}), a) {
|
|
2988
|
+
var y;
|
|
2989
|
+
g && (y = Object.getOwnPropertyDescriptor(g, v)), !(y && y.set == null) && (h[v] = m(a[v], s - 1));
|
|
2990
|
+
}
|
|
2991
|
+
if (Object.getOwnPropertySymbols) for (var b = Object.getOwnPropertySymbols(a), v = 0; v < b.length; v++) {
|
|
2992
|
+
var x = b[v], S = Object.getOwnPropertyDescriptor(a, x);
|
|
2993
|
+
S && !S.enumerable && !u || (h[x] = m(a[x], s - 1), S.enumerable || Object.defineProperty(h, x, { enumerable: !1 }));
|
|
2994
|
+
}
|
|
2995
|
+
if (u) for (var ee = Object.getOwnPropertyNames(a), v = 0; v < ee.length; v++) {
|
|
2996
|
+
var C = ee[v], S = Object.getOwnPropertyDescriptor(a, C);
|
|
2997
|
+
S && S.enumerable || (h[C] = m(a[C], s - 1), Object.defineProperty(h, C, { enumerable: !1 }));
|
|
2998
|
+
}
|
|
2999
|
+
return h;
|
|
3000
|
+
}
|
|
3001
|
+
return m(a, s);
|
|
3002
|
+
}
|
|
3003
|
+
i.clonePrototype = function(e) {
|
|
3004
|
+
if (e === null) return null;
|
|
3005
|
+
var t = function() {};
|
|
3006
|
+
return t.prototype = e, new t();
|
|
3007
|
+
};
|
|
3008
|
+
function a(e) {
|
|
3009
|
+
return Object.prototype.toString.call(e);
|
|
3010
|
+
}
|
|
3011
|
+
i.__objToStr = a;
|
|
3012
|
+
function o(e) {
|
|
3013
|
+
return typeof e == "object" && a(e) === "[object Date]";
|
|
3014
|
+
}
|
|
3015
|
+
i.__isDate = o;
|
|
3016
|
+
function s(e) {
|
|
3017
|
+
return typeof e == "object" && a(e) === "[object Array]";
|
|
3018
|
+
}
|
|
3019
|
+
i.__isArray = s;
|
|
3020
|
+
function c(e) {
|
|
3021
|
+
return typeof e == "object" && a(e) === "[object RegExp]";
|
|
3022
|
+
}
|
|
3023
|
+
i.__isRegExp = c;
|
|
3024
|
+
function l(e) {
|
|
3025
|
+
var t = "";
|
|
3026
|
+
return e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), t;
|
|
3027
|
+
}
|
|
3028
|
+
return i.__getRegExpFlags = l, i;
|
|
3029
|
+
})();
|
|
3030
|
+
typeof t == "object" && t.exports && (t.exports = n);
|
|
3031
|
+
})))(), 1);
|
|
3032
|
+
function cn(e) {
|
|
3033
|
+
return Array.isArray(e) ? !1 : typeof e != "object" || Object.keys(e).length === 0;
|
|
3034
|
+
}
|
|
3035
|
+
function ln(e) {
|
|
3036
|
+
return (0, sn.default)(e);
|
|
3037
|
+
}
|
|
3038
|
+
function un(...e) {
|
|
3039
|
+
let t = (e) => e && typeof e == "object";
|
|
3040
|
+
function n(e, r) {
|
|
3041
|
+
return Object.keys(r).forEach((i) => {
|
|
3042
|
+
let a = e[i], o = r[i];
|
|
3043
|
+
Array.isArray(a) && Array.isArray(o) ? e[i] = a.concat(o) : t(a) && t(o) ? e[i] = n(Object.assign({}, a), o) : e[i] = o;
|
|
3044
|
+
}), e;
|
|
3045
|
+
}
|
|
3046
|
+
if (e.length < 2) throw Error("deepMerge: this function expects at least 2 objects to be provided");
|
|
3047
|
+
if (e.some((e) => !t(e))) throw Error("deepMerge: all values should be of type \"object\"");
|
|
3048
|
+
let r = e.shift(), i;
|
|
3049
|
+
for (; i = e.shift();) n(r, i);
|
|
3050
|
+
return r;
|
|
3051
|
+
}
|
|
3052
|
+
var dn = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
3053
|
+
function fn(e, t) {
|
|
3054
|
+
if (!dn(e) || !dn(t)) return t === void 0 ? e : t;
|
|
3055
|
+
let n = { ...e };
|
|
3056
|
+
return Object.keys(t).forEach((e) => {
|
|
3057
|
+
n[e] = fn(n[e], t[e]);
|
|
3058
|
+
}), n;
|
|
3059
|
+
}
|
|
3060
|
+
//#endregion
|
|
3061
|
+
//#region src/lib/intl/i18next.ts
|
|
3062
|
+
var z = {
|
|
3063
|
+
DEFAULT: "default",
|
|
3064
|
+
THEME: "theme",
|
|
3065
|
+
OPTIONS: "options"
|
|
3066
|
+
};
|
|
3067
|
+
L.on("missingKey", (e, t, r, i) => {
|
|
3068
|
+
n.warn(`i18next: MISSING KEY in ${t}.${r} for languages: ${e.join(", ")}`, { result: i });
|
|
3069
|
+
});
|
|
3070
|
+
function pn(e, t) {
|
|
3071
|
+
if (typeof t != "object") return;
|
|
3072
|
+
let n = {};
|
|
3073
|
+
return Object.entries(t).forEach(([t, r]) => {
|
|
3074
|
+
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] = pn(e, r));
|
|
3075
|
+
}), n;
|
|
3076
|
+
}
|
|
3077
|
+
async function mn(e, t) {
|
|
3078
|
+
let r = await $t(e), i;
|
|
3079
|
+
switch (t) {
|
|
3080
|
+
case "default": {
|
|
3081
|
+
let e = Object.entries(r.segmentMessages).map(([e, t]) => pn(e, t));
|
|
3082
|
+
i = un({}, r.defaultMessages, ...e);
|
|
3083
|
+
break;
|
|
3084
|
+
}
|
|
3085
|
+
case "theme": break;
|
|
3086
|
+
case "options": break;
|
|
3087
|
+
default: n.error("Unexpected namespace resource request", t);
|
|
3088
|
+
}
|
|
3089
|
+
return i;
|
|
3090
|
+
}
|
|
3091
|
+
var hn = {
|
|
3092
|
+
debug: !1,
|
|
3093
|
+
partialBundledLanguages: !0,
|
|
3094
|
+
ns: Object.values(z),
|
|
3095
|
+
defaultNS: z.OPTIONS,
|
|
3096
|
+
fallbackNS: [z.THEME, z.DEFAULT],
|
|
3097
|
+
fallbackLng: !1,
|
|
3098
|
+
react: { transSupportBasicHtmlNodes: !1 },
|
|
3099
|
+
showSupportNotice: !1
|
|
3100
|
+
};
|
|
3101
|
+
L.use(Yt).use(Rt(mn)).init(hn);
|
|
3102
|
+
function gn(e) {
|
|
3103
|
+
e && (Array.isArray(e) ? e.forEach((e) => n.error(e)) : n.error(e));
|
|
3104
|
+
}
|
|
3105
|
+
function _n(e, t = L) {
|
|
3106
|
+
e && Object.entries(e).forEach(([e, n]) => {
|
|
3107
|
+
n && t.addResourceBundle(e, z.OPTIONS, n, !1, !0);
|
|
3108
|
+
});
|
|
3109
|
+
}
|
|
3110
|
+
var vn = L, yn = /* @__PURE__ */ function(e) {
|
|
3111
|
+
return e.TRUE = "true", e.FALSE = "false", e;
|
|
3112
|
+
}({}), bn = ["sheerid.com"], xn = /* @__PURE__ */ function(e) {
|
|
3113
|
+
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;
|
|
3114
|
+
}({}), Sn = /* @__PURE__ */ function(e) {
|
|
3115
|
+
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;
|
|
3116
|
+
}({}), Cn = /* @__PURE__ */ function(e) {
|
|
3117
|
+
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;
|
|
3118
|
+
}({});
|
|
3119
|
+
function wn(e, t, r) {
|
|
3120
|
+
if (l()) return n.info("Not able to track");
|
|
3121
|
+
try {
|
|
3122
|
+
return window.gtag(e, t, r);
|
|
3123
|
+
} catch (r) {
|
|
3124
|
+
n.warn(`Failed ${e}:${t} event`, r);
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
var Tn = async (e) => {
|
|
3128
|
+
try {
|
|
3129
|
+
let n = {
|
|
3130
|
+
...await r() || {},
|
|
3131
|
+
...e.params
|
|
3132
|
+
};
|
|
3133
|
+
wn("event", e.eventName, n), t() && window.NREUM.addPageAction(e.eventName, n);
|
|
3134
|
+
} catch (e) {
|
|
3135
|
+
n.error(e);
|
|
3136
|
+
}
|
|
3137
|
+
}, En = async (e, t) => {
|
|
3138
|
+
Tn({
|
|
3139
|
+
eventName: e,
|
|
3140
|
+
params: t
|
|
3141
|
+
});
|
|
3142
|
+
}, Dn = (t, r) => {
|
|
3143
|
+
if (e({ [t]: r }), !l()) try {
|
|
3144
|
+
wn("set", "user_properties", { [t]: r });
|
|
3145
|
+
} catch (e) {
|
|
3146
|
+
n.warn(`Failed to set ${t}`, e);
|
|
3147
|
+
}
|
|
3148
|
+
}, On = (t) => {
|
|
3149
|
+
try {
|
|
3150
|
+
e({
|
|
3151
|
+
verificationId: t.verificationId,
|
|
3152
|
+
segment: t.segment,
|
|
3153
|
+
subSegment: t.subSegment,
|
|
3154
|
+
step: t.currentStep
|
|
3155
|
+
});
|
|
3156
|
+
} catch (e) {
|
|
3157
|
+
n.warn(e);
|
|
3158
|
+
}
|
|
3159
|
+
}, kn = Dn, An = (e) => {
|
|
3160
|
+
try {
|
|
3161
|
+
let { email: t } = e;
|
|
3162
|
+
t && bn.filter((e) => t.indexOf(e) > -1).length > 0 && kn("testRequest", "true");
|
|
3163
|
+
} catch (e) {
|
|
3164
|
+
n.warn("Error setting testRequest dimension", e);
|
|
3165
|
+
}
|
|
3166
|
+
};
|
|
3167
|
+
function jn() {
|
|
3168
|
+
try {
|
|
3169
|
+
if (PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")) {
|
|
3170
|
+
let e = new PerformanceObserver((t) => {
|
|
3171
|
+
let r = t.getEntries(), i = r[r.length - 1];
|
|
3172
|
+
n.log("Performance:", "largestContentfulPaint", i.startTime), Nn("largestContentfulPaint", i.startTime), e.disconnect();
|
|
3173
|
+
});
|
|
3174
|
+
e.observe({
|
|
3175
|
+
type: "largest-contentful-paint",
|
|
3176
|
+
buffered: !0
|
|
3177
|
+
});
|
|
3178
|
+
}
|
|
3179
|
+
if (PerformanceObserver.supportedEntryTypes.includes("mark")) {
|
|
3180
|
+
let e = new PerformanceObserver((t) => {
|
|
3181
|
+
let r = t.getEntries();
|
|
3182
|
+
r = r.filter((e) => e.name === "initialStepLoad");
|
|
3183
|
+
let i = r[0];
|
|
3184
|
+
i && (n.log("Performance:", "initialStepLoad", i.startTime), Nn("initialStepLoad", i.startTime), e.disconnect());
|
|
3185
|
+
});
|
|
3186
|
+
e.observe({
|
|
3187
|
+
type: "mark",
|
|
3188
|
+
buffered: !0
|
|
3189
|
+
});
|
|
3190
|
+
}
|
|
3191
|
+
} catch (e) {
|
|
3192
|
+
n.warn("Error setting up observePerformanceMetrics", e);
|
|
3193
|
+
}
|
|
3194
|
+
}
|
|
3195
|
+
var Mn = (e, t = "") => {
|
|
3196
|
+
wn("event", "Verification", {
|
|
3197
|
+
step: e,
|
|
3198
|
+
step_action: t
|
|
3199
|
+
});
|
|
3200
|
+
}, Nn = (e, t) => {
|
|
3201
|
+
wn("event", "Performance", {
|
|
3202
|
+
name: e,
|
|
3203
|
+
value: t
|
|
3204
|
+
});
|
|
3205
|
+
};
|
|
3206
|
+
//#endregion
|
|
3207
|
+
//#region ../node_modules/immer/dist/immer.esm.mjs
|
|
3208
|
+
function B(e) {
|
|
3209
|
+
var t = [...arguments].slice(1);
|
|
3210
|
+
throw Error("[Immer] minified error nr: " + e + (t.length ? " " + t.map((function(e) {
|
|
3211
|
+
return "'" + e + "'";
|
|
3212
|
+
})).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
3213
|
+
}
|
|
3214
|
+
function V(e) {
|
|
3215
|
+
return !!e && !!e[Y];
|
|
3216
|
+
}
|
|
3217
|
+
function H(e) {
|
|
3218
|
+
return !!e && (function(e) {
|
|
3219
|
+
if (!e || typeof e != "object") return !1;
|
|
3220
|
+
var t = Object.getPrototypeOf(e);
|
|
3221
|
+
if (t === null) return !0;
|
|
3222
|
+
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
3223
|
+
return n === Object || typeof n == "function" && Function.toString.call(n) === hr;
|
|
3224
|
+
}(e) || Array.isArray(e) || !!e[mr] || !!e.constructor?.[mr] || Ln(e) || Rn(e));
|
|
3225
|
+
}
|
|
3226
|
+
function U(e, t, n) {
|
|
3227
|
+
n === void 0 && (n = !1), W(e) === 0 ? (n ? Object.keys : X)(e).forEach((function(r) {
|
|
3228
|
+
n && typeof r == "symbol" || t(r, e[r], e);
|
|
3229
|
+
})) : e.forEach((function(n, r) {
|
|
3230
|
+
return t(r, n, e);
|
|
3231
|
+
}));
|
|
3232
|
+
}
|
|
3233
|
+
function W(e) {
|
|
3234
|
+
var t = e[Y];
|
|
3235
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : Ln(e) ? 2 : Rn(e) ? 3 : 0;
|
|
3236
|
+
}
|
|
3237
|
+
function G(e, t) {
|
|
3238
|
+
return W(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
3239
|
+
}
|
|
3240
|
+
function Pn(e, t) {
|
|
3241
|
+
return W(e) === 2 ? e.get(t) : e[t];
|
|
3242
|
+
}
|
|
3243
|
+
function Fn(e, t, n) {
|
|
3244
|
+
var r = W(e);
|
|
3245
|
+
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
3246
|
+
}
|
|
3247
|
+
function In(e, t) {
|
|
3248
|
+
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
3249
|
+
}
|
|
3250
|
+
function Ln(e) {
|
|
3251
|
+
return ur && e instanceof Map;
|
|
3252
|
+
}
|
|
3253
|
+
function Rn(e) {
|
|
3254
|
+
return dr && e instanceof Set;
|
|
3255
|
+
}
|
|
3256
|
+
function K(e) {
|
|
3257
|
+
return e.o || e.t;
|
|
3258
|
+
}
|
|
3259
|
+
function zn(e) {
|
|
3260
|
+
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
3261
|
+
var t = gr(e);
|
|
3262
|
+
delete t[Y];
|
|
3263
|
+
for (var n = X(t), r = 0; r < n.length; r++) {
|
|
3264
|
+
var i = n[r], a = t[i];
|
|
3265
|
+
!1 === a.writable && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {
|
|
3266
|
+
configurable: !0,
|
|
3267
|
+
writable: !0,
|
|
3268
|
+
enumerable: a.enumerable,
|
|
3269
|
+
value: e[i]
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
return Object.create(Object.getPrototypeOf(e), t);
|
|
3273
|
+
}
|
|
3274
|
+
function Bn(e, t) {
|
|
3275
|
+
return t === void 0 && (t = !1), Hn(e) || V(e) || !H(e) || (W(e) > 1 && (e.set = e.add = e.clear = e.delete = Vn), Object.freeze(e), t && U(e, (function(e, t) {
|
|
3276
|
+
return Bn(t, !0);
|
|
3277
|
+
}), !0)), e;
|
|
3278
|
+
}
|
|
3279
|
+
function Vn() {
|
|
3280
|
+
B(2);
|
|
3281
|
+
}
|
|
3282
|
+
function Hn(e) {
|
|
3283
|
+
return typeof e != "object" || !e || Object.isFrozen(e);
|
|
3284
|
+
}
|
|
3285
|
+
function q(e) {
|
|
3286
|
+
var t = _r[e];
|
|
3287
|
+
return t || B(18, e), t;
|
|
3288
|
+
}
|
|
3289
|
+
function Un(e, t) {
|
|
3290
|
+
_r[e] || (_r[e] = t);
|
|
3291
|
+
}
|
|
3292
|
+
function Wn() {
|
|
3293
|
+
return cr;
|
|
3294
|
+
}
|
|
3295
|
+
function Gn(e, t) {
|
|
3296
|
+
t && (q("Patches"), e.u = [], e.s = [], e.v = t);
|
|
3297
|
+
}
|
|
3298
|
+
function Kn(e) {
|
|
3299
|
+
qn(e), e.p.forEach(Yn), e.p = null;
|
|
3300
|
+
}
|
|
3301
|
+
function qn(e) {
|
|
3302
|
+
e === cr && (cr = e.l);
|
|
3303
|
+
}
|
|
3304
|
+
function Jn(e) {
|
|
3305
|
+
return cr = {
|
|
3306
|
+
p: [],
|
|
3307
|
+
l: cr,
|
|
3308
|
+
h: e,
|
|
3309
|
+
m: !0,
|
|
3310
|
+
_: 0
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
function Yn(e) {
|
|
3314
|
+
var t = e[Y];
|
|
3315
|
+
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
3316
|
+
}
|
|
3317
|
+
function Xn(e, t) {
|
|
3318
|
+
t._ = t.p.length;
|
|
3319
|
+
var n = t.p[0], r = e !== void 0 && e !== n;
|
|
3320
|
+
return t.h.O || q("ES5").S(t, e, r), r ? (n[Y].P && (Kn(t), B(4)), H(e) && (e = Zn(t, e), t.l || $n(t, e)), t.u && q("Patches").M(n[Y].t, e, t.u, t.s)) : e = Zn(t, n, []), Kn(t), t.u && t.v(t.u, t.s), e === pr ? void 0 : e;
|
|
3321
|
+
}
|
|
3322
|
+
function Zn(e, t, n) {
|
|
3323
|
+
if (Hn(t)) return t;
|
|
3324
|
+
var r = t[Y];
|
|
3325
|
+
if (!r) return U(t, (function(i, a) {
|
|
3326
|
+
return Qn(e, r, t, i, a, n);
|
|
3327
|
+
}), !0), t;
|
|
3328
|
+
if (r.A !== e) return t;
|
|
3329
|
+
if (!r.P) return $n(e, r.t, !0), r.t;
|
|
3330
|
+
if (!r.I) {
|
|
3331
|
+
r.I = !0, r.A._--;
|
|
3332
|
+
var i = r.i === 4 || r.i === 5 ? r.o = zn(r.k) : r.o, a = i, o = !1;
|
|
3333
|
+
r.i === 3 && (a = new Set(i), i.clear(), o = !0), U(a, (function(t, a) {
|
|
3334
|
+
return Qn(e, r, i, t, a, n, o);
|
|
3335
|
+
})), $n(e, i, !1), n && e.u && q("Patches").N(r, n, e.u, e.s);
|
|
3336
|
+
}
|
|
3337
|
+
return r.o;
|
|
3338
|
+
}
|
|
3339
|
+
function Qn(e, t, n, r, i, a, o) {
|
|
3340
|
+
if (V(i)) {
|
|
3341
|
+
var s = Zn(e, i, a && t && t.i !== 3 && !G(t.R, r) ? a.concat(r) : void 0);
|
|
3342
|
+
if (Fn(n, r, s), !V(s)) return;
|
|
3343
|
+
e.m = !1;
|
|
3344
|
+
} else o && n.add(i);
|
|
3345
|
+
if (H(i) && !Hn(i)) {
|
|
3346
|
+
if (!e.h.D && e._ < 1) return;
|
|
3347
|
+
Zn(e, i), t && t.A.l || $n(e, i);
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
function $n(e, t, n) {
|
|
3351
|
+
n === void 0 && (n = !1), !e.l && e.h.D && e.m && Bn(t, n);
|
|
3352
|
+
}
|
|
3353
|
+
function er(e, t) {
|
|
3354
|
+
var n = e[Y];
|
|
3355
|
+
return (n ? K(n) : e)[t];
|
|
3356
|
+
}
|
|
3357
|
+
function tr(e, t) {
|
|
3358
|
+
if (t in e) for (var n = Object.getPrototypeOf(e); n;) {
|
|
3359
|
+
var r = Object.getOwnPropertyDescriptor(n, t);
|
|
3360
|
+
if (r) return r;
|
|
3361
|
+
n = Object.getPrototypeOf(n);
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
function J(e) {
|
|
3365
|
+
e.P || (e.P = !0, e.l && J(e.l));
|
|
3366
|
+
}
|
|
3367
|
+
function nr(e) {
|
|
3368
|
+
e.o ||= zn(e.t);
|
|
3369
|
+
}
|
|
3370
|
+
function rr(e, t, n) {
|
|
3371
|
+
var r = Ln(t) ? q("MapSet").F(t, n) : Rn(t) ? q("MapSet").T(t, n) : e.O ? function(e, t) {
|
|
3372
|
+
var n = Array.isArray(e), r = {
|
|
3373
|
+
i: +!!n,
|
|
3374
|
+
A: t ? t.A : Wn(),
|
|
3375
|
+
P: !1,
|
|
3376
|
+
I: !1,
|
|
3377
|
+
R: {},
|
|
3378
|
+
l: t,
|
|
3379
|
+
t: e,
|
|
3380
|
+
k: null,
|
|
3381
|
+
o: null,
|
|
3382
|
+
j: null,
|
|
3383
|
+
C: !1
|
|
3384
|
+
}, i = r, a = vr;
|
|
3385
|
+
n && (i = [r], a = yr);
|
|
3386
|
+
var o = Proxy.revocable(i, a), s = o.revoke, c = o.proxy;
|
|
3387
|
+
return r.k = c, r.j = s, c;
|
|
3388
|
+
}(t, n) : q("ES5").J(t, n);
|
|
3389
|
+
return (n ? n.A : Wn()).p.push(r), r;
|
|
3390
|
+
}
|
|
3391
|
+
function ir(e) {
|
|
3392
|
+
return V(e) || B(22, e), function e(t) {
|
|
3393
|
+
if (!H(t)) return t;
|
|
3394
|
+
var n, r = t[Y], i = W(t);
|
|
3395
|
+
if (r) {
|
|
3396
|
+
if (!r.P && (r.i < 4 || !q("ES5").K(r))) return r.t;
|
|
3397
|
+
r.I = !0, n = ar(t, i), r.I = !1;
|
|
3398
|
+
} else n = ar(t, i);
|
|
3399
|
+
return U(n, (function(t, i) {
|
|
3400
|
+
r && Pn(r.t, t) === i || Fn(n, t, e(i));
|
|
3401
|
+
})), i === 3 ? new Set(n) : n;
|
|
3402
|
+
}(e);
|
|
3403
|
+
}
|
|
3404
|
+
function ar(e, t) {
|
|
3405
|
+
switch (t) {
|
|
3406
|
+
case 2: return new Map(e);
|
|
3407
|
+
case 3: return Array.from(e);
|
|
3408
|
+
}
|
|
3409
|
+
return zn(e);
|
|
3410
|
+
}
|
|
3411
|
+
function or() {
|
|
3412
|
+
function e(e, t) {
|
|
3413
|
+
var n = i[e];
|
|
3414
|
+
return n ? n.enumerable = t : i[e] = n = {
|
|
3415
|
+
configurable: !0,
|
|
3416
|
+
enumerable: t,
|
|
3417
|
+
get: function() {
|
|
3418
|
+
var t = this[Y];
|
|
3419
|
+
return vr.get(t, e);
|
|
3420
|
+
},
|
|
3421
|
+
set: function(t) {
|
|
3422
|
+
var n = this[Y];
|
|
3423
|
+
vr.set(n, e, t);
|
|
3424
|
+
}
|
|
3425
|
+
}, n;
|
|
3426
|
+
}
|
|
3427
|
+
function t(e) {
|
|
3428
|
+
for (var t = e.length - 1; t >= 0; t--) {
|
|
3429
|
+
var i = e[t][Y];
|
|
3430
|
+
if (!i.P) switch (i.i) {
|
|
3431
|
+
case 5:
|
|
3432
|
+
r(i) && J(i);
|
|
3433
|
+
break;
|
|
3434
|
+
case 4: n(i) && J(i);
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
function n(e) {
|
|
3439
|
+
for (var t = e.t, n = e.k, r = X(n), i = r.length - 1; i >= 0; i--) {
|
|
3440
|
+
var a = r[i];
|
|
3441
|
+
if (a !== Y) {
|
|
3442
|
+
var o = t[a];
|
|
3443
|
+
if (o === void 0 && !G(t, a)) return !0;
|
|
3444
|
+
var s = n[a], c = s && s[Y];
|
|
3445
|
+
if (c ? c.t !== o : !In(s, o)) return !0;
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3448
|
+
var l = !!t[Y];
|
|
3449
|
+
return r.length !== X(t).length + +!l;
|
|
3450
|
+
}
|
|
3451
|
+
function r(e) {
|
|
3452
|
+
var t = e.k;
|
|
3453
|
+
if (t.length !== e.t.length) return !0;
|
|
3454
|
+
var n = Object.getOwnPropertyDescriptor(t, t.length - 1);
|
|
3455
|
+
if (n && !n.get) return !0;
|
|
3456
|
+
for (var r = 0; r < t.length; r++) if (!t.hasOwnProperty(r)) return !0;
|
|
3457
|
+
return !1;
|
|
3458
|
+
}
|
|
3459
|
+
var i = {};
|
|
3460
|
+
Un("ES5", {
|
|
3461
|
+
J: function(t, n) {
|
|
3462
|
+
var r = Array.isArray(t), i = function(t, n) {
|
|
3463
|
+
if (t) {
|
|
3464
|
+
for (var r = Array(n.length), i = 0; i < n.length; i++) Object.defineProperty(r, "" + i, e(i, !0));
|
|
3465
|
+
return r;
|
|
3466
|
+
}
|
|
3467
|
+
var a = gr(n);
|
|
3468
|
+
delete a[Y];
|
|
3469
|
+
for (var o = X(a), s = 0; s < o.length; s++) {
|
|
3470
|
+
var c = o[s];
|
|
3471
|
+
a[c] = e(c, t || !!a[c].enumerable);
|
|
3472
|
+
}
|
|
3473
|
+
return Object.create(Object.getPrototypeOf(n), a);
|
|
3474
|
+
}(r, t), a = {
|
|
3475
|
+
i: r ? 5 : 4,
|
|
3476
|
+
A: n ? n.A : Wn(),
|
|
3477
|
+
P: !1,
|
|
3478
|
+
I: !1,
|
|
3479
|
+
R: {},
|
|
3480
|
+
l: n,
|
|
3481
|
+
t,
|
|
3482
|
+
k: i,
|
|
3483
|
+
o: null,
|
|
3484
|
+
g: !1,
|
|
3485
|
+
C: !1
|
|
3486
|
+
};
|
|
3487
|
+
return Object.defineProperty(i, Y, {
|
|
3488
|
+
value: a,
|
|
3489
|
+
writable: !0
|
|
3490
|
+
}), i;
|
|
3491
|
+
},
|
|
3492
|
+
S: function(e, n, i) {
|
|
3493
|
+
i ? V(n) && n[Y].A === e && t(e.p) : (e.u && function e(t) {
|
|
3494
|
+
if (t && typeof t == "object") {
|
|
3495
|
+
var n = t[Y];
|
|
3496
|
+
if (n) {
|
|
3497
|
+
var i = n.t, a = n.k, o = n.R, s = n.i;
|
|
3498
|
+
if (s === 4) U(a, (function(t) {
|
|
3499
|
+
t !== Y && (i[t] !== void 0 || G(i, t) ? o[t] || e(a[t]) : (o[t] = !0, J(n)));
|
|
3500
|
+
})), U(i, (function(e) {
|
|
3501
|
+
a[e] !== void 0 || G(a, e) || (o[e] = !1, J(n));
|
|
3502
|
+
}));
|
|
3503
|
+
else if (s === 5) {
|
|
3504
|
+
if (r(n) && (J(n), o.length = !0), a.length < i.length) for (var c = a.length; c < i.length; c++) o[c] = !1;
|
|
3505
|
+
else for (var l = i.length; l < a.length; l++) o[l] = !0;
|
|
3506
|
+
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]);
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
}(e.p[0]), t(e.p));
|
|
3511
|
+
},
|
|
3512
|
+
K: function(e) {
|
|
3513
|
+
return e.i === 4 ? n(e) : r(e);
|
|
3514
|
+
}
|
|
3515
|
+
});
|
|
3516
|
+
}
|
|
3517
|
+
var sr, cr, lr = typeof Symbol < "u" && typeof Symbol("x") == "symbol", ur = typeof Map < "u", dr = typeof Set < "u", fr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", pr = lr ? Symbol.for("immer-nothing") : ((sr = {})["immer-nothing"] = !0, sr), mr = lr ? Symbol.for("immer-draftable") : "__$immer_draftable", Y = lr ? Symbol.for("immer-state") : "__$immer_state", hr = "" + Object.prototype.constructor, X = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols === void 0 ? Object.getOwnPropertyNames : function(e) {
|
|
3518
|
+
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
3519
|
+
}, gr = Object.getOwnPropertyDescriptors || function(e) {
|
|
3520
|
+
var t = {};
|
|
3521
|
+
return X(e).forEach((function(n) {
|
|
3522
|
+
t[n] = Object.getOwnPropertyDescriptor(e, n);
|
|
3523
|
+
})), t;
|
|
3524
|
+
}, _r = {}, vr = {
|
|
3525
|
+
get: function(e, t) {
|
|
3526
|
+
if (t === Y) return e;
|
|
3527
|
+
var n = K(e);
|
|
3528
|
+
if (!G(n, t)) return function(e, t, n) {
|
|
3529
|
+
var r = tr(t, n);
|
|
3530
|
+
return r ? "value" in r ? r.value : r.get?.call(e.k) : void 0;
|
|
3531
|
+
}(e, n, t);
|
|
3532
|
+
var r = n[t];
|
|
3533
|
+
return e.I || !H(r) ? r : r === er(e.t, t) ? (nr(e), e.o[t] = rr(e.A.h, r, e)) : r;
|
|
3534
|
+
},
|
|
3535
|
+
has: function(e, t) {
|
|
3536
|
+
return t in K(e);
|
|
3537
|
+
},
|
|
3538
|
+
ownKeys: function(e) {
|
|
3539
|
+
return Reflect.ownKeys(K(e));
|
|
3540
|
+
},
|
|
3541
|
+
set: function(e, t, n) {
|
|
3542
|
+
var r = tr(K(e), t);
|
|
3543
|
+
if (r?.set) return r.set.call(e.k, n), !0;
|
|
3544
|
+
if (!e.P) {
|
|
3545
|
+
var i = er(K(e), t), a = i?.[Y];
|
|
3546
|
+
if (a && a.t === n) return e.o[t] = n, e.R[t] = !1, !0;
|
|
3547
|
+
if (In(n, i) && (n !== void 0 || G(e.t, t))) return !0;
|
|
3548
|
+
nr(e), J(e);
|
|
3549
|
+
}
|
|
3550
|
+
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;
|
|
3551
|
+
},
|
|
3552
|
+
deleteProperty: function(e, t) {
|
|
3553
|
+
return er(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, nr(e), J(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
3554
|
+
},
|
|
3555
|
+
getOwnPropertyDescriptor: function(e, t) {
|
|
3556
|
+
var n = K(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
3557
|
+
return r && {
|
|
3558
|
+
writable: !0,
|
|
3559
|
+
configurable: e.i !== 1 || t !== "length",
|
|
3560
|
+
enumerable: r.enumerable,
|
|
3561
|
+
value: n[t]
|
|
3562
|
+
};
|
|
3563
|
+
},
|
|
3564
|
+
defineProperty: function() {
|
|
3565
|
+
B(11);
|
|
3566
|
+
},
|
|
3567
|
+
getPrototypeOf: function(e) {
|
|
3568
|
+
return Object.getPrototypeOf(e.t);
|
|
3569
|
+
},
|
|
3570
|
+
setPrototypeOf: function() {
|
|
3571
|
+
B(12);
|
|
3572
|
+
}
|
|
3573
|
+
}, yr = {};
|
|
3574
|
+
U(vr, (function(e, t) {
|
|
3575
|
+
yr[e] = function() {
|
|
3576
|
+
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
3577
|
+
};
|
|
3578
|
+
})), yr.deleteProperty = function(e, t) {
|
|
3579
|
+
return yr.set.call(this, e, t, void 0);
|
|
3580
|
+
}, yr.set = function(e, t, n) {
|
|
3581
|
+
return vr.set.call(this, e[0], t, n, e[0]);
|
|
3582
|
+
};
|
|
3583
|
+
var Z = new (function() {
|
|
3584
|
+
function e(e) {
|
|
3585
|
+
var t = this;
|
|
3586
|
+
this.O = fr, this.D = !0, this.produce = function(e, n, r) {
|
|
3587
|
+
if (typeof e == "function" && typeof n != "function") {
|
|
3588
|
+
var i = n;
|
|
3589
|
+
n = e;
|
|
3590
|
+
var a = t;
|
|
3591
|
+
return function(e) {
|
|
3592
|
+
var t = this;
|
|
3593
|
+
e === void 0 && (e = i);
|
|
3594
|
+
var r = [...arguments].slice(1);
|
|
3595
|
+
return a.produce(e, (function(e) {
|
|
3596
|
+
var i;
|
|
3597
|
+
return (i = n).call.apply(i, [t, e].concat(r));
|
|
3598
|
+
}));
|
|
3599
|
+
};
|
|
3600
|
+
}
|
|
3601
|
+
var o;
|
|
3602
|
+
if (typeof n != "function" && B(6), r !== void 0 && typeof r != "function" && B(7), H(e)) {
|
|
3603
|
+
var s = Jn(t), c = rr(t, e, void 0), l = !0;
|
|
3604
|
+
try {
|
|
3605
|
+
o = n(c), l = !1;
|
|
3606
|
+
} finally {
|
|
3607
|
+
l ? Kn(s) : qn(s);
|
|
3608
|
+
}
|
|
3609
|
+
return typeof Promise < "u" && o instanceof Promise ? o.then((function(e) {
|
|
3610
|
+
return Gn(s, r), Xn(e, s);
|
|
3611
|
+
}), (function(e) {
|
|
3612
|
+
throw Kn(s), e;
|
|
3613
|
+
})) : (Gn(s, r), Xn(o, s));
|
|
3614
|
+
}
|
|
3615
|
+
if (!e || typeof e != "object") {
|
|
3616
|
+
if ((o = n(e)) === void 0 && (o = e), o === pr && (o = void 0), t.D && Bn(o, !0), r) {
|
|
3617
|
+
var u = [], d = [];
|
|
3618
|
+
q("Patches").M(e, o, u, d), r(u, d);
|
|
3619
|
+
}
|
|
3620
|
+
return o;
|
|
3621
|
+
}
|
|
3622
|
+
B(21, e);
|
|
3623
|
+
}, this.produceWithPatches = function(e, n) {
|
|
3624
|
+
if (typeof e == "function") return function(n) {
|
|
3625
|
+
var r = [...arguments].slice(1);
|
|
3626
|
+
return t.produceWithPatches(n, (function(t) {
|
|
3627
|
+
return e.apply(void 0, [t].concat(r));
|
|
3628
|
+
}));
|
|
3629
|
+
};
|
|
3630
|
+
var r, i, a = t.produce(e, n, (function(e, t) {
|
|
3631
|
+
r = e, i = t;
|
|
3632
|
+
}));
|
|
3633
|
+
return typeof Promise < "u" && a instanceof Promise ? a.then((function(e) {
|
|
3634
|
+
return [
|
|
3635
|
+
e,
|
|
3636
|
+
r,
|
|
3637
|
+
i
|
|
3638
|
+
];
|
|
3639
|
+
})) : [
|
|
3640
|
+
a,
|
|
3641
|
+
r,
|
|
3642
|
+
i
|
|
3643
|
+
];
|
|
3644
|
+
}, typeof e?.useProxies == "boolean" && this.setUseProxies(e.useProxies), typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze);
|
|
3645
|
+
}
|
|
3646
|
+
var t = e.prototype;
|
|
3647
|
+
return t.createDraft = function(e) {
|
|
3648
|
+
H(e) || B(8), V(e) && (e = ir(e));
|
|
3649
|
+
var t = Jn(this), n = rr(this, e, void 0);
|
|
3650
|
+
return n[Y].C = !0, qn(t), n;
|
|
3651
|
+
}, t.finishDraft = function(e, t) {
|
|
3652
|
+
var n = (e && e[Y]).A;
|
|
3653
|
+
return Gn(n, t), Xn(void 0, n);
|
|
3654
|
+
}, t.setAutoFreeze = function(e) {
|
|
3655
|
+
this.D = e;
|
|
3656
|
+
}, t.setUseProxies = function(e) {
|
|
3657
|
+
e && !fr && B(20), this.O = e;
|
|
3658
|
+
}, t.applyPatches = function(e, t) {
|
|
3659
|
+
var n;
|
|
3660
|
+
for (n = t.length - 1; n >= 0; n--) {
|
|
3661
|
+
var r = t[n];
|
|
3662
|
+
if (r.path.length === 0 && r.op === "replace") {
|
|
3663
|
+
e = r.value;
|
|
3664
|
+
break;
|
|
3665
|
+
}
|
|
3942
3666
|
}
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3667
|
+
n > -1 && (t = t.slice(n + 1));
|
|
3668
|
+
var i = q("Patches").$;
|
|
3669
|
+
return V(e) ? i(e, t) : this.produce(e, (function(e) {
|
|
3670
|
+
return i(e, t);
|
|
3671
|
+
}));
|
|
3672
|
+
}, e;
|
|
3673
|
+
}())(), br = Z.produce;
|
|
3674
|
+
Z.produceWithPatches.bind(Z), Z.setAutoFreeze.bind(Z), Z.setUseProxies.bind(Z), Z.applyPatches.bind(Z), Z.createDraft.bind(Z), Z.finishDraft.bind(Z);
|
|
3675
|
+
//#endregion
|
|
3676
|
+
//#region src/lib/utils/arrays.ts
|
|
3677
|
+
function xr(e) {
|
|
3678
|
+
return e.sort().filter((e, t, n) => !t || e !== n[t - 1]);
|
|
3679
|
+
}
|
|
3680
|
+
var Sr = (e, t) => e < t ? -1 : +(e > t), Cr = (e, t) => br(e, (n) => {
|
|
3681
|
+
if (!Array.isArray(n)) return e;
|
|
3682
|
+
let r = n.indexOf(t, 0);
|
|
3683
|
+
return r > -1 && n.splice(r, 1), n;
|
|
3684
|
+
}), wr = {
|
|
3685
|
+
restApi: {
|
|
3686
|
+
serviceUrl: "https://services.sheerid.com/",
|
|
3687
|
+
resources: {
|
|
3688
|
+
verification: "rest/v2/verification/",
|
|
3689
|
+
program: {
|
|
3690
|
+
base: "rest/v2/program/",
|
|
3691
|
+
theme: "theme",
|
|
3692
|
+
organization: "organization"
|
|
3693
|
+
},
|
|
3694
|
+
conversion: { base: "rest/v2/conversion/" }
|
|
3695
|
+
}
|
|
3696
|
+
},
|
|
3697
|
+
mockStep: void 0,
|
|
3698
|
+
mockSubSegment: void 0,
|
|
3699
|
+
mockErrorId: void 0,
|
|
3700
|
+
mockErrorDetailId: void 0,
|
|
3701
|
+
mockCaptchaState: void 0,
|
|
3702
|
+
mockRewardCode: void 0,
|
|
3703
|
+
mockRedirectUrl: void 0,
|
|
3704
|
+
mockConsumerInfoState: void 0,
|
|
3705
|
+
mockDocSelected: void 0,
|
|
3706
|
+
mockIdCheckLoopServiceType: void 0,
|
|
3707
|
+
installPageUrl: void 0,
|
|
3708
|
+
mockResponse: void 0,
|
|
3709
|
+
doFetchTheme: !0,
|
|
3710
|
+
logLevel: "error",
|
|
3711
|
+
locale: null,
|
|
3712
|
+
messages: {},
|
|
3713
|
+
messagesWithLocale: {},
|
|
3714
|
+
urlFaq: "https://support.sheerid.com",
|
|
3715
|
+
urlStudentFaq: "https://verify.sheerid.com/student-faq/",
|
|
3716
|
+
urlSeniorFaq: "https://verify.sheerid.com/us-senior-faq/",
|
|
3717
|
+
urlAgeFaq: "https://verify.sheerid.com/us-age-faq/",
|
|
3718
|
+
urlMilitaryFaq: "https://verify.sheerid.com/military-faq/",
|
|
3719
|
+
urlTeacherFaq: "https://verify.sheerid.com/us-teacher-faq/",
|
|
3720
|
+
urlMemberFaq: "https://verify.sheerid.com/membership-faq/",
|
|
3721
|
+
urlFirstResponderFaq: "https://verify.sheerid.com/first-responder-faq/",
|
|
3722
|
+
urlMedicalFaq: "https://verify.sheerid.com/us-medical-faq/",
|
|
3723
|
+
urlEmploymentFaq: "https://verify.sheerid.com/employment-faq/",
|
|
3724
|
+
urlIdentityFaq: "https://verify.sheerid.com/identity-faq/",
|
|
3725
|
+
urlLicensedProfessionalFaq: "https://verify.sheerid.com/professions-faq/",
|
|
3726
|
+
urlLowIncomeFaq: "https://verify.sheerid.com/low-income-faq/",
|
|
3727
|
+
urlAddSchoolFaq: "https://verify.sheerid.com/add-school-request-faq/",
|
|
3728
|
+
urlAddSchoolForm: "https://offers.sheerid.com/sheerid/add-school-request/",
|
|
3729
|
+
privacyPolicyUrl: void 0,
|
|
3730
|
+
cookies: {
|
|
3731
|
+
enabled: !0,
|
|
3732
|
+
secure: !0,
|
|
3733
|
+
expires: 7
|
|
3734
|
+
},
|
|
3735
|
+
useFingerprinting: !1,
|
|
3736
|
+
verificationId: void 0,
|
|
3737
|
+
externalUserId: void 0,
|
|
3738
|
+
minimumOrganizationSearchLength: 1,
|
|
3739
|
+
httpRequestTimeout: He,
|
|
3740
|
+
hideTestModeFlag: !1,
|
|
3741
|
+
hideMilitaryFamilyAcceptableUploads: !1,
|
|
3742
|
+
customFormFields: [],
|
|
3743
|
+
formFieldConfig: [],
|
|
3744
|
+
renderAs: "default",
|
|
3745
|
+
tryAgainAction: { type: "reset" },
|
|
3746
|
+
_launchDarklyUserTargeting: !1,
|
|
3747
|
+
_launchDarklyFlagCb: () => {}
|
|
3748
|
+
}, Q = { ...wr }, $ = () => Q, Tr = (e) => {
|
|
3749
|
+
let t = $();
|
|
3750
|
+
if (Object.prototype.hasOwnProperty.call(t, e)) return $()[e];
|
|
3751
|
+
}, Er = () => {
|
|
3752
|
+
Q = { ...wr };
|
|
3753
|
+
}, Dr = (e) => {
|
|
3754
|
+
try {
|
|
3755
|
+
if (typeof e == "object") {
|
|
3756
|
+
let t = Object.keys(e);
|
|
3757
|
+
cn(e.messagesWithLocale) && (t = Cr(t, "messagesWithLocale")), cn(e.messages) && (t = Cr(t, "messages")), t.length > 0 && Dn(Sn.options, t.join(","));
|
|
3758
|
+
}
|
|
3759
|
+
} catch (e) {
|
|
3760
|
+
n.error(e);
|
|
3962
3761
|
}
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3762
|
+
if (e.hasOwnProperty("logLevel")) {
|
|
3763
|
+
try {
|
|
3764
|
+
n.setLogLevel(e.logLevel);
|
|
3765
|
+
} catch (e) {
|
|
3766
|
+
console.error(e);
|
|
3767
|
+
}
|
|
3768
|
+
Q.logLevel = e.logLevel;
|
|
3769
|
+
}
|
|
3770
|
+
if (e.hasOwnProperty("restApi") && e.restApi.hasOwnProperty("serviceUrl")) {
|
|
3771
|
+
let t = ve(e.restApi.serviceUrl);
|
|
3772
|
+
Q.restApi.serviceUrl = t, n.info(`option "serviceUrl" set to ${Q.restApi.serviceUrl}`);
|
|
3773
|
+
}
|
|
3774
|
+
if (e.hasOwnProperty("mockStep") && (te(e[D]), Q[D] = e[D], n.info(`option "${D}" set to ${Q[D]}`)), e.hasOwnProperty("mockPreviousStep") && (te(e[D]), Q[Me] = e[Me], n.info(`option "${Me}" set to ${Q[Me]}`)), e.hasOwnProperty("mockSegment") && (Q[O] = e[O], n.info(`option "${O}" set to ${Q[O]}`)), e.hasOwnProperty("mockSubSegment") && (Q[k] = e[k], n.info(`option "${k}" set to ${Q[k]}`)), e.hasOwnProperty("mockErrorId") && (Q[A] = e[A], n.info(`option "${A}" set to ${Q[A]}`)), e.hasOwnProperty("mockErrorDetailId") && (Q[Ee] = e[Ee], n.info(`option "${Ee}" set to ${Q[Ee]}`)), e.hasOwnProperty("mockCaptchaState") && (Q[Re] = e[Re], n.info(`option "${Re}" set to ${Q[Re]}`)), e.hasOwnProperty("mockRewardCode") && (Q[De] = e[De], n.info(`option "${De}" set to ${Q[De]}`)), e.hasOwnProperty("mockRedirectUrl") && (Q[Oe] = e[Oe], n.info(`option "${Oe}" set to ${Q[Oe]}`)), e.hasOwnProperty("mockConsumerInfoState") && (te(e[D]), Q[ke] = e[ke], n.info(`option "${ke}" set to ${Q[ke]}`)), e.hasOwnProperty("mockIdCheckLoopServiceType") && (Q[Ae] = e[Ae], n.info(`option "${Ae}" set to ${Q[Ae]}`)), e.hasOwnProperty("installPageUrl") && (Q[Fe] = e[Fe], n.info(`option "${Fe}" set to ${Q[Fe]}`)), e.hasOwnProperty("mockDocSelected") && (Q[je] = e[je], n.info(`option "${je}" set to ${Q[je]}`)), e.hasOwnProperty("mockResponse") && (Q.mockResponse = ln(e.mockResponse), n.info("option \"mockResponse\" set to", Q.mockResponse)), e.hasOwnProperty("messages") && (Q.messagesWithLocale = {
|
|
3775
|
+
...Q.messagesWithLocale,
|
|
3776
|
+
"en-US": e.messages
|
|
3777
|
+
}, n.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ", Q.messagesWithLocale, "\nThese messages will override existing messages of the same key for \"en-US\" locale.")), e.hasOwnProperty("messagesWithLocale") && (Q.messagesWithLocale = un({}, Q.messagesWithLocale, e.messagesWithLocale), e && e.messagesWithLocale && i(Object.keys(e.messagesWithLocale)), _n(Q.messagesWithLocale), n.info("option \"messagesWithLocale\" set to", Q.messagesWithLocale)), e.hasOwnProperty("locale")) try {
|
|
3778
|
+
ne(e.locale), Q.locale = e.locale, n.info(`option "locale" set to ${Q.locale}`);
|
|
3779
|
+
} catch (e) {
|
|
3780
|
+
n.error(e);
|
|
3781
|
+
}
|
|
3782
|
+
e.hasOwnProperty("urlStudentFaq") && (Q.urlStudentFaq = e.urlStudentFaq, n.info(`option "urlStudentFaq" set to ${Q.urlStudentFaq}`)), e.hasOwnProperty("urlSeniorFaq") && (Q.urlSeniorFaq = e.urlSeniorFaq, n.info(`option "urlSeniorFaq" set to ${Q.urlSeniorFaq}`)), e.hasOwnProperty("urlMilitaryFaq") && (Q.urlMilitaryFaq = e.urlMilitaryFaq, n.info(`option "urlMilitaryFaq" set to ${Q.urlMilitaryFaq}`)), e.hasOwnProperty("urlTeacherFaq") && (Q.urlTeacherFaq = e.urlTeacherFaq, n.info(`option "urlTeacherFaq" set to ${Q.urlTeacherFaq}`)), e.hasOwnProperty("urlMemberFaq") && (Q.urlMemberFaq = e.urlMemberFaq, n.info(`option "urlMemberFaq" set to ${Q.urlMemberFaq}`)), e.hasOwnProperty("urlMedicalFaq") && (Q.urlMedicalFaq = e.urlMedicalFaq, n.info(`option "urlMedicalFaq" set to ${Q.urlMedicalFaq}`)), e.hasOwnProperty("urlEmploymentFaq") && (Q.urlEmploymentFaq = e.urlEmploymentFaq, n.info(`option "urlEmploymentFaq" set to ${Q.urlEmploymentFaq}`)), e.hasOwnProperty("urlAddSchoolFaq") && (Q.urlAddSchoolFaq = e.urlAddSchoolFaq, n.info(`option "urlAddSchoolFaq" set to ${Q.urlAddSchoolFaq}`)), e.hasOwnProperty("urlAddSchoolForm") && (Q.urlAddSchoolForm = e.urlAddSchoolForm, n.info(`option "urlAddSchoolForm" set to ${Q.urlAddSchoolForm}`)), e.hasOwnProperty("doFetchTheme") && (Q.doFetchTheme = e.doFetchTheme, n.info(`option "doFetchTheme" set to ${Q.doFetchTheme}`)), e.hasOwnProperty("cookies") && (Q.cookies = {
|
|
3783
|
+
...Q.cookies,
|
|
3784
|
+
...e.cookies
|
|
3785
|
+
}, n.info("option \"cookies\" set to", Q.cookies)), e.hasOwnProperty("useFingerprinting") && (Q.useFingerprinting = e.useFingerprinting, n.info("option \"useFingerprinting\" set to", Q.useFingerprinting)), e.hasOwnProperty("marketConsent") && (Q.marketConsent = e.marketConsent, n.info("option \"market consent\" set to", Q.marketConsent)), e.hasOwnProperty("verificationId") && (Q.verificationId = e.verificationId, n.info("option \"verificationId\" set to", Q.verificationId)), e.hasOwnProperty("externalUserId") && (Q.externalUserId = e.externalUserId, n.info("option \"externalUserId\" set to", Q.externalUserId)), e.hasOwnProperty("minimumOrganizationSearchLength") && (Q.minimumOrganizationSearchLength = e.minimumOrganizationSearchLength, n.info("option \"minimumOrganizationSearchLength\" set to", Q.minimumOrganizationSearchLength)), e.hasOwnProperty("customCss") && (Q.customCss = e.customCss, n.info("option \"customCss\" set to", Q.customCss)), e.hasOwnProperty("logoUrl") && (Q.logoUrl = e.logoUrl, n.info("option \"logoUrl\" set to", Q.logoUrl)), e.hasOwnProperty("httpRequestTimeout") && (Q.httpRequestTimeout = e.httpRequestTimeout, n.info("option \"httpRequestTimeout\" set to", Q.httpRequestTimeout)), e.hasOwnProperty("privacyPolicyUrl") && (Q.privacyPolicyUrl = e.privacyPolicyUrl, n.info("option \"privacyPolicyUrl\" set to", Q.privacyPolicyUrl)), (e.hasOwnProperty("hideTestModeFlag") || be("hideTestModeFlag")) && (Q.hideTestModeFlag = e.hideTestModeFlag || be("hideTestModeFlag") === "true", n.info("option \"hideTestModeFlag\" set to", Q.hideTestModeFlag)), e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads") && (Q.hideMilitaryFamilyAcceptableUploads = e.hideMilitaryFamilyAcceptableUploads, n.info("option \"hideMilitaryFamilyAcceptableUploads\" set to", Q.hideMilitaryFamilyAcceptableUploads)), e.hasOwnProperty("customFormFields") && (Q.customFormFields = e.customFormFields, n.info("option \"customFormFields\" set to", Q.customFormFields)), e.hasOwnProperty("formFieldConfig") && (Q.formFieldConfig = e.formFieldConfig, n.info("option \"formFieldConfig\" set to", Q.formFieldConfig)), e.hasOwnProperty("customMetadata") && (Q.customMetadata = e.customMetadata, n.info("option \"customMetadata\" set to", Q.customMetadata)), e.hasOwnProperty("renderAs") && (Q.renderAs = e.renderAs, n.info("option \"renderAs\" set to", Q.renderAs)), Object.prototype.hasOwnProperty.call(e, "tryAgainAction") && (Q.tryAgainAction = e.tryAgainAction, n.info("option \"tryAgainAction\" set to", Q.tryAgainAction)), e.hasOwnProperty("_launchDarklyUserTargeting") && (Q._launchDarklyUserTargeting = e._launchDarklyUserTargeting, n.info("option \"_launchDarklyUserTargeting\" set to", Q._launchDarklyUserTargeting)), e.hasOwnProperty("_launchDarklyFlagCb") && (Q._launchDarklyFlagCb = e._launchDarklyFlagCb, n.info("option \"_launchDarklyFlagCb\" set to", Q._launchDarklyFlagCb));
|
|
3786
|
+
};
|
|
3968
3787
|
//#endregion
|
|
3969
|
-
export {
|
|
3788
|
+
export { Pe as $, Jt as A, Re as B, un as C, C as Ct, tn as D, v as Dt, rn as E, _ as Et, we as F, Ae as G, Ee as H, Ve as I, Me as J, Fe as K, E as L, Ht as M, I as N, nn as O, b as Ot, Ce as P, O as Q, ze as R, ln as S, he as St, an as T, ee as Tt, A as U, je as V, Le as W, ke as X, Oe as Y, De as Z, On as _, ne as _t, Sr as a, be as at, vn as b, T as bt, br as c, xe as ct, xn as d, fe as dt, D as et, yn as f, pe as ft, Tn as g, ie as gt, Mn as h, se as ht, Dr as i, Te as it, Gt as j, on as k, Sn as l, _e as lt, En as m, ue as mt, $ as n, Ne as nt, xr as o, ye as ot, jn as p, oe as pt, Ie as q, Er as r, Be as rt, or as s, Se as st, Tr as t, k as tt, Cn as u, ge as ut, An as v, ae as vt, fn as w, w as wt, gn as x, me as xt, Dn as y, de as yt, Ue as z };
|