@sheerid/jslib 2.289.0 → 2.291.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +1295 -1290
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BFEdmLph.js → AddressComponent-CXsUFn4e.js} +8 -8
- package/chunk/{AddressComponent-BFEdmLph.js.map → AddressComponent-CXsUFn4e.js.map} +1 -1
- package/chunk/{AddressComponent-C2mollBp.js → AddressComponent-DFMtL5Ji.js} +8 -8
- package/chunk/{AddressComponent-C2mollBp.js.map → AddressComponent-DFMtL5Ji.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CXTQdbKG.js → AnnouncingHeader-B6cTB52p.js} +6 -6
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js.map → AnnouncingHeader-B6cTB52p.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js → AnnouncingHeader-DtYf-VWN.js} +6 -6
- package/chunk/{AnnouncingHeader-CXTQdbKG.js.map → AnnouncingHeader-DtYf-VWN.js.map} +1 -1
- package/chunk/{BirthDateComponent-1FYtxavW.js → BirthDateComponent-DAa17IR4.js} +8 -8
- package/chunk/{BirthDateComponent-1FYtxavW.js.map → BirthDateComponent-DAa17IR4.js.map} +1 -1
- package/chunk/{BirthDateComponent-DbILUMIz.js → BirthDateComponent-DOJ2Eu4P.js} +8 -8
- package/chunk/{BirthDateComponent-DbILUMIz.js.map → BirthDateComponent-DOJ2Eu4P.js.map} +1 -1
- package/chunk/{CaptchaComponent-L3WoxJAC.js → CaptchaComponent-CHOmB72u.js} +43 -43
- package/chunk/{CaptchaComponent-KFLJ56dX.js.map → CaptchaComponent-CHOmB72u.js.map} +1 -1
- package/chunk/{CaptchaComponent-KFLJ56dX.js → CaptchaComponent-CUbOXmiG.js} +104 -104
- package/chunk/{CaptchaComponent-L3WoxJAC.js.map → CaptchaComponent-CUbOXmiG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BcyU0Zgd.js → ChangeLocaleComponent-D4HiJy2E.js} +23 -23
- package/chunk/{ChangeLocaleComponent-BcyU0Zgd.js.map → ChangeLocaleComponent-D4HiJy2E.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Wju8NvwL.js → ChangeLocaleComponent-D4pBfPkg.js} +9 -9
- package/chunk/{ChangeLocaleComponent-Wju8NvwL.js.map → ChangeLocaleComponent-D4pBfPkg.js.map} +1 -1
- package/chunk/{City-mQnP6dP2.js → City-BryCbKPP.js} +8 -8
- package/chunk/{City-BXTk8t3d.js.map → City-BryCbKPP.js.map} +1 -1
- package/chunk/{City-BXTk8t3d.js → City-CdWBe7HL.js} +8 -8
- package/chunk/{City-mQnP6dP2.js.map → City-CdWBe7HL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bov_i0oT.js → CollegeNameComponent-CWAO3I4R.js} +10 -10
- package/chunk/{CollegeNameComponent-Bov_i0oT.js.map → CollegeNameComponent-CWAO3I4R.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Df_VMbdr.js → CollegeNameComponent-DzyMYXew.js} +16 -16
- package/chunk/{CollegeNameComponent-Df_VMbdr.js.map → CollegeNameComponent-DzyMYXew.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js → CopyToClipboardComponent-BxP-eIzM.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js.map → CopyToClipboardComponent-BxP-eIzM.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js → CopyToClipboardComponent-Dd5ZDKCz.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js.map → CopyToClipboardComponent-Dd5ZDKCz.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BSg_JhlH.js → CountryComponentWrapper-DGqTUeJ9.js} +25 -25
- package/chunk/{CountryComponentWrapper-BSg_JhlH.js.map → CountryComponentWrapper-DGqTUeJ9.js.map} +1 -1
- package/chunk/CountryComponentWrapper-DfWex-GH.js +78 -0
- package/chunk/{CountryComponentWrapper-dG5Zqfee.js.map → CountryComponentWrapper-DfWex-GH.js.map} +1 -1
- package/chunk/{DischargeDateComponent-D8yMgfh-.js → DischargeDateComponent-2sdFQFak.js} +18 -18
- package/chunk/{DischargeDateComponent-C6BB3YwP.js.map → DischargeDateComponent-2sdFQFak.js.map} +1 -1
- package/chunk/{DischargeDateComponent-C6BB3YwP.js → DischargeDateComponent-DsWFEkse.js} +18 -18
- package/chunk/{DischargeDateComponent-D8yMgfh-.js.map → DischargeDateComponent-DsWFEkse.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-i_ywdo3P.js → DriverLicenseNumberComponent-CJmYTF0r.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-C_wuryKm.js.map → DriverLicenseNumberComponent-CJmYTF0r.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C_wuryKm.js → DriverLicenseNumberComponent-w-Wpm0fk.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-i_ywdo3P.js.map → DriverLicenseNumberComponent-w-Wpm0fk.js.map} +1 -1
- package/chunk/{EmailLoopPending-DThAR1Iv.js → EmailLoopPending-B2Ok4wQ5.js} +16 -16
- package/chunk/{EmailLoopPending-DThAR1Iv.js.map → EmailLoopPending-B2Ok4wQ5.js.map} +1 -1
- package/chunk/{EmailLoopPending-Du6R4zif.js → EmailLoopPending-BVOXk0TZ.js} +17 -17
- package/chunk/{EmailLoopPending-Du6R4zif.js.map → EmailLoopPending-BVOXk0TZ.js.map} +1 -1
- package/chunk/{ExtraMessage-BZ9XdOdL.js → ExtraMessage-C31_qJNI.js} +7 -7
- package/chunk/{ExtraMessage-BZ9XdOdL.js.map → ExtraMessage-C31_qJNI.js.map} +1 -1
- package/chunk/{ExtraMessage-D1j0TLE3.js → ExtraMessage-nnzMgwxs.js} +7 -7
- package/chunk/{ExtraMessage-D1j0TLE3.js.map → ExtraMessage-nnzMgwxs.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D5UbIVyE.js → FirstResponderOrganizationComponent-B_SXFEXh.js} +15 -15
- package/chunk/{FirstResponderOrganizationComponent-D5UbIVyE.js.map → FirstResponderOrganizationComponent-B_SXFEXh.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D9VmCGiC.js → FirstResponderOrganizationComponent-B_ePUlXr.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D9VmCGiC.js.map → FirstResponderOrganizationComponent-B_ePUlXr.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cf2843FO.js → FormFieldInputSelect-B4Q9e9yJ.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cf2843FO.js.map → FormFieldInputSelect-B4Q9e9yJ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DFkZlHDE.js → FormFieldInputSelect-CijRsSql.js} +7 -7
- package/chunk/{FormFieldInputSelect-DFkZlHDE.js.map → FormFieldInputSelect-CijRsSql.js.map} +1 -1
- package/chunk/{FormFieldLayout-NkmhFC9B.js → FormFieldLayout-23VdEPCo.js} +6 -6
- package/chunk/{FormFieldLayout-DEKIQK2R.js.map → FormFieldLayout-23VdEPCo.js.map} +1 -1
- package/chunk/{FormFieldLayout-DEKIQK2R.js → FormFieldLayout-TnxaO2D9.js} +6 -6
- package/chunk/{FormFieldLayout-NkmhFC9B.js.map → FormFieldLayout-TnxaO2D9.js.map} +1 -1
- package/chunk/{FormFieldText-Bn9WIKiI.js → FormFieldText-Cm6HS8da.js} +7 -7
- package/chunk/{FormFieldText-Bn9WIKiI.js.map → FormFieldText-Cm6HS8da.js.map} +1 -1
- package/chunk/{FormFieldText-Py7x4EZ6.js → FormFieldText-g6knOdgq.js} +7 -7
- package/chunk/{FormFieldText-Py7x4EZ6.js.map → FormFieldText-g6knOdgq.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DWAxDXKP.js → FormFieldTypeahead-CHRZZqMu.js} +56 -56
- package/chunk/{FormFieldTypeahead-DWAxDXKP.js.map → FormFieldTypeahead-CHRZZqMu.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CDKGsEZB.js → FormFieldTypeahead-ZVvnLWqG.js} +58 -58
- package/chunk/{FormFieldTypeahead-CDKGsEZB.js.map → FormFieldTypeahead-ZVvnLWqG.js.map} +1 -1
- package/chunk/{FormFooterComponent-CP0-Wobs.js → FormFooterComponent-DN_aTukK.js} +82 -82
- package/chunk/{FormFooterComponent-CP0-Wobs.js.map → FormFooterComponent-DN_aTukK.js.map} +1 -1
- package/chunk/{FormFooterComponent-BrOM_pQ9.js → FormFooterComponent-UodGb8EG.js} +108 -108
- package/chunk/{FormFooterComponent-BrOM_pQ9.js.map → FormFooterComponent-UodGb8EG.js.map} +1 -1
- package/chunk/{FormSelectChoice-DWG9hYtf.js → FormSelectChoice-BIk2v_ij.js} +8 -8
- package/chunk/{FormSelectChoice-DWG9hYtf.js.map → FormSelectChoice-BIk2v_ij.js.map} +1 -1
- package/chunk/{FormSelectChoice-yNUPRIKO.js → FormSelectChoice-XZsvJdSa.js} +8 -8
- package/chunk/{FormSelectChoice-yNUPRIKO.js.map → FormSelectChoice-XZsvJdSa.js.map} +1 -1
- package/chunk/{InputText-dflyPe3J.js → InputText-DjaVf2dX.js} +6 -6
- package/chunk/{InputText-CMu4ei8e.js.map → InputText-DjaVf2dX.js.map} +1 -1
- package/chunk/{InputText-CMu4ei8e.js → InputText-kW_kzMjm.js} +6 -6
- package/chunk/{InputText-dflyPe3J.js.map → InputText-kW_kzMjm.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CdVLOkti.js → LicensedProfessionalOrganizationComponent-BU2SZvkL.js} +15 -15
- package/chunk/{LicensedProfessionalOrganizationComponent-CdVLOkti.js.map → LicensedProfessionalOrganizationComponent-BU2SZvkL.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-FBu3_XDq.js → LicensedProfessionalOrganizationComponent-mcCaNV-R.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-FBu3_XDq.js.map → LicensedProfessionalOrganizationComponent-mcCaNV-R.js.map} +1 -1
- package/chunk/{LogoComponent-DASXTR4v.js → LogoComponent-BBiqSSo-.js} +6 -6
- package/chunk/{LogoComponent-BDhMcJvy.js.map → LogoComponent-BBiqSSo-.js.map} +1 -1
- package/chunk/{LogoComponent-BDhMcJvy.js → LogoComponent-WMEJyDHA.js} +9 -9
- package/chunk/{LogoComponent-DASXTR4v.js.map → LogoComponent-WMEJyDHA.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DrNEvBR8.js → LowIncomeOrganizationComponent-BsAyEpcL.js} +32 -32
- package/chunk/{LowIncomeOrganizationComponent-BI4Lscrc.js.map → LowIncomeOrganizationComponent-BsAyEpcL.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BI4Lscrc.js → LowIncomeOrganizationComponent-DaAfsxyz.js} +18 -18
- package/chunk/{LowIncomeOrganizationComponent-DrNEvBR8.js.map → LowIncomeOrganizationComponent-DaAfsxyz.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BnVU_DtU.js → MedicalProfessionalOrganizationComponent-D-OSmGVW.js} +15 -15
- package/chunk/{MedicalProfessionalOrganizationComponent-BnVU_DtU.js.map → MedicalProfessionalOrganizationComponent-D-OSmGVW.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-i1AHUB2l.js → MedicalProfessionalOrganizationComponent-j7YyHlZF.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-i1AHUB2l.js.map → MedicalProfessionalOrganizationComponent-j7YyHlZF.js.map} +1 -1
- package/chunk/{MemberIdComponent-CJIKRgkP.js → MemberIdComponent-BZoHhg8k.js} +8 -8
- package/chunk/{MemberIdComponent-BJIWA0U-.js.map → MemberIdComponent-BZoHhg8k.js.map} +1 -1
- package/chunk/{MemberIdComponent-BJIWA0U-.js → MemberIdComponent-UKnA68zE.js} +8 -8
- package/chunk/{MemberIdComponent-CJIKRgkP.js.map → MemberIdComponent-UKnA68zE.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-B2SfBgyQ.js → MembershipOrganizationComponent-CNeWeHzI.js} +15 -15
- package/chunk/{MembershipOrganizationComponent-B2SfBgyQ.js.map → MembershipOrganizationComponent-CNeWeHzI.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-lCfT5hKV.js → MembershipOrganizationComponent-Du-uDZEG.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-lCfT5hKV.js.map → MembershipOrganizationComponent-Du-uDZEG.js.map} +1 -1
- package/chunk/{Message-CZD2IHWF.js → Message-CbU7t2F7.js} +1362 -1362
- package/chunk/{Message-CZD2IHWF.js.map → Message-CbU7t2F7.js.map} +1 -1
- package/chunk/{Message-C5LUKoZw.js → Message-Dh1_V9dt.js} +740 -740
- package/chunk/{Message-C5LUKoZw.js.map → Message-Dh1_V9dt.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-Q6g7KHwI.js → PersonalInfoStepSubmitButton-B-M8eKpG.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-DnepwbFs.js.map → PersonalInfoStepSubmitButton-B-M8eKpG.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DnepwbFs.js → PersonalInfoStepSubmitButton-C67UOzbu.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-Q6g7KHwI.js.map → PersonalInfoStepSubmitButton-C67UOzbu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B7pfOMf3.js → PersonalInfoStepWrapper-CJporV1L.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-B7pfOMf3.js.map → PersonalInfoStepWrapper-CJporV1L.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D2GlDkO6.js → PersonalInfoStepWrapper-Can2a6R_.js} +17 -17
- package/chunk/{PersonalInfoStepWrapper-D2GlDkO6.js.map → PersonalInfoStepWrapper-Can2a6R_.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C50XmPmv.js → PostalCodeComponent-S8EMzjKA.js} +8 -8
- package/chunk/{PostalCodeComponent-C-0blxoe.js.map → PostalCodeComponent-S8EMzjKA.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C-0blxoe.js → PostalCodeComponent-S8f2lhPF.js} +8 -8
- package/chunk/{PostalCodeComponent-C50XmPmv.js.map → PostalCodeComponent-S8f2lhPF.js.map} +1 -1
- package/chunk/{SSN-CjLxLrYN.js → SSN-CqHnWpBl.js} +8 -8
- package/chunk/{SSN-CjLxLrYN.js.map → SSN-CqHnWpBl.js.map} +1 -1
- package/chunk/{SSN-DBPw87L6.js → SSN-Dt_cpKLM.js} +8 -8
- package/chunk/{SSN-DBPw87L6.js.map → SSN-Dt_cpKLM.js.map} +1 -1
- package/chunk/StateSelectComponent-CinTEErP.js +42 -0
- package/chunk/StateSelectComponent-CinTEErP.js.map +1 -0
- package/chunk/StateSelectComponent-DUZtpcwe.js +46 -0
- package/chunk/StateSelectComponent-DUZtpcwe.js.map +1 -0
- package/chunk/{StatusComponent-CceeOAxy.js → StatusComponent-CwwsRQmS.js} +9 -9
- package/chunk/{StatusComponent-CceeOAxy.js.map → StatusComponent-CwwsRQmS.js.map} +1 -1
- package/chunk/{StatusComponent-DPs6MHNn.js → StatusComponent-D3J57l9V.js} +9 -9
- package/chunk/{StatusComponent-DPs6MHNn.js.map → StatusComponent-D3J57l9V.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-Cd2H3W4S.js +172 -0
- package/chunk/{StepAgePersonalInfo-Bwdjo9Zy.js.map → StepAgePersonalInfo-Cd2H3W4S.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-bff8TmYc.js +176 -0
- package/chunk/{StepAgePersonalInfo-DIOOXX9y.js.map → StepAgePersonalInfo-bff8TmYc.js.map} +1 -1
- package/chunk/{StepCard-EHeqFY3Y.js → StepCard-A7CfdiZx.js} +5 -5
- package/chunk/{StepCard-DQ9JkAjb.js.map → StepCard-A7CfdiZx.js.map} +1 -1
- package/chunk/{StepCard-DQ9JkAjb.js → StepCard-TuSPjGQj.js} +5 -5
- package/chunk/{StepCard-EHeqFY3Y.js.map → StepCard-TuSPjGQj.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CSGIiyFf.js → StepCollectIdentifier-DhHTccOW.js} +11 -11
- package/chunk/{StepCollectIdentifier-CSGIiyFf.js.map → StepCollectIdentifier-DhHTccOW.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-nrcBJaBK.js → StepCollectIdentifier-DpxG8Qao.js} +11 -11
- package/chunk/{StepCollectIdentifier-nrcBJaBK.js.map → StepCollectIdentifier-DpxG8Qao.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-0D43XcYg.js +372 -0
- package/chunk/StepCollectPersonalInfo-0D43XcYg.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-DGCHonaO.js +368 -0
- package/chunk/StepCollectPersonalInfo-DGCHonaO.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-kKdUhF9e.js → StepCompleteAuthentication-9IO15InM.js} +9 -9
- package/chunk/{StepCompleteAuthentication-kKdUhF9e.js.map → StepCompleteAuthentication-9IO15InM.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CJpJoWRq.js → StepCompleteAuthentication-BtaBmTdY.js} +20 -20
- package/chunk/{StepCompleteAuthentication-CJpJoWRq.js.map → StepCompleteAuthentication-BtaBmTdY.js.map} +1 -1
- package/chunk/{StepConsolation-DI8kcTkV.js → StepConsolation-BYJrzPhb.js} +8 -8
- package/chunk/{StepConsolation-DwEwhgzI.js.map → StepConsolation-BYJrzPhb.js.map} +1 -1
- package/chunk/{StepConsolation-DwEwhgzI.js → StepConsolation-BlyaWmH0.js} +8 -8
- package/chunk/{StepConsolation-DI8kcTkV.js.map → StepConsolation-BlyaWmH0.js.map} +1 -1
- package/chunk/{StepDocUpload-IOE10Q6k.js → StepDocUpload-Dt9BXXEb.js} +28 -28
- package/chunk/{StepDocUpload-IOE10Q6k.js.map → StepDocUpload-Dt9BXXEb.js.map} +1 -1
- package/chunk/{StepDocUpload-Bv6M-Z6q.js → StepDocUpload-UWDCjeCP.js} +30 -30
- package/chunk/{StepDocUpload-Bv6M-Z6q.js.map → StepDocUpload-UWDCjeCP.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-BefsBTXA.js +145 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-BefsBTXA.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-CPOFMRp_.js +141 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-CPOFMRp_.js.map +1 -0
- package/chunk/{StepEmailLoop-Bo5BbGQu.js → StepEmailLoop-B0oRiGz0.js} +13 -13
- package/chunk/{StepEmailLoop-Bo5BbGQu.js.map → StepEmailLoop-B0oRiGz0.js.map} +1 -1
- package/chunk/{StepEmailLoop-j2264k-N.js → StepEmailLoop-CS2KUPEU.js} +13 -13
- package/chunk/{StepEmailLoop-j2264k-N.js.map → StepEmailLoop-CS2KUPEU.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-B4Q_Vmn1.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-B4Q_Vmn1.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-DuOMR21_.js → StepEmploymentPersonalInfo-Yib6xGXV.js} +62 -63
- package/chunk/StepEmploymentPersonalInfo-Yib6xGXV.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-CizcIcEl.js → StepFirstResponderPersonalInfo-B4tL9MhD.js} +43 -43
- package/chunk/{StepFirstResponderPersonalInfo-4wxW2cgL.js.map → StepFirstResponderPersonalInfo-B4tL9MhD.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-4wxW2cgL.js → StepFirstResponderPersonalInfo-B9PC3Jng.js} +47 -47
- package/chunk/{StepFirstResponderPersonalInfo-CizcIcEl.js.map → StepFirstResponderPersonalInfo-B9PC3Jng.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js +178 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js +174 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js +183 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js} +70 -62
- package/chunk/StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js.map +1 -0
- package/chunk/{StepIDCheckLoop-B3ClVxOi.js → StepIDCheckLoop-D4zeYY-d.js} +8 -8
- package/chunk/{StepIDCheckLoop-B3ClVxOi.js.map → StepIDCheckLoop-D4zeYY-d.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BCJs6usj.js → StepIDCheckLoop-DuWYhW6n.js} +8 -8
- package/chunk/{StepIDCheckLoop-BCJs6usj.js.map → StepIDCheckLoop-DuWYhW6n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DRZ4kP4R.js → StepIDCheckLoopOnfido-Rcx5dDBJ.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-DRZ4kP4R.js.map → StepIDCheckLoopOnfido-Rcx5dDBJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B4zpvkRd.js → StepIDCheckLoopOnfido-hmgOrSYi.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-B4zpvkRd.js.map → StepIDCheckLoopOnfido-hmgOrSYi.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CFgyZ_rn.js → StepIDCheckLoopRegula-D4uRVHpI.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-CFgyZ_rn.js.map → StepIDCheckLoopRegula-D4uRVHpI.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Db6p5Cwl.js → StepIDCheckLoopRegula-DNfiiZQR.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-Db6p5Cwl.js.map → StepIDCheckLoopRegula-DNfiiZQR.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-uC90t0Ka.js → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-De005KQe.js.map → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-De005KQe.js → StepLicensedProfessionalPersonalInfo-CdejPwI2.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-uC90t0Ka.js.map → StepLicensedProfessionalPersonalInfo-CdejPwI2.js.map} +1 -1
- package/chunk/StepLowIncomePersonalInfo-Bhg26pJ9.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-Bhg26pJ9.js.map +1 -0
- package/chunk/{StepLowIncomePersonalInfo-BXeW16K1.js → StepLowIncomePersonalInfo-jV2FDRyA.js} +77 -78
- package/chunk/StepLowIncomePersonalInfo-jV2FDRyA.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-DYhclBtt.js → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js} +38 -38
- package/chunk/{StepMedicalProfessionalPersonalInfo-DYhclBtt.js.map → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-EGaswECh.js → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js} +38 -38
- package/chunk/{StepMedicalProfessionalPersonalInfo-EGaswECh.js.map → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DmqP1UcS.js → StepMemberPersonalInfo-49h2IL56.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-DmqP1UcS.js.map → StepMemberPersonalInfo-49h2IL56.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BLfVdTS4.js +154 -0
- package/chunk/{StepMemberPersonalInfo-VUcdpf1p.js.map → StepMemberPersonalInfo-BLfVdTS4.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BBL0N0po.js +141 -0
- package/chunk/{StepMoverPersonalInfo-BAy0fOpJ.js.map → StepMoverPersonalInfo-BBL0N0po.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CBaYoFQM.js → StepMoverPersonalInfo-Bn4baYdo.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-CBaYoFQM.js.map → StepMoverPersonalInfo-Bn4baYdo.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BU8tncVB.js → StepOverrideComponent-D1Yt52PA.js} +21 -21
- package/chunk/{StepOverrideComponent-BU8tncVB.js.map → StepOverrideComponent-D1Yt52PA.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bo0bkoYg.js → StepOverrideComponent-Db2qbG7p.js} +21 -21
- package/chunk/{StepOverrideComponent-Bo0bkoYg.js.map → StepOverrideComponent-Db2qbG7p.js.map} +1 -1
- package/chunk/{StepSMSLoop-DLRGvoY8.js → StepSMSLoop-B5pvxGza.js} +22 -22
- package/chunk/{StepSMSLoop-DLRGvoY8.js.map → StepSMSLoop-B5pvxGza.js.map} +1 -1
- package/chunk/{StepSMSLoop-usK-uwDi.js → StepSMSLoop-DyFk46pS.js} +22 -22
- package/chunk/{StepSMSLoop-usK-uwDi.js.map → StepSMSLoop-DyFk46pS.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-qFfdO1Gp.js → StepSocialSecurityNumber-BScMW4aa.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-Dr0IZbPK.js.map → StepSocialSecurityNumber-BScMW4aa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Dr0IZbPK.js → StepSocialSecurityNumber-BXTFTRtU.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-qFfdO1Gp.js.map → StepSocialSecurityNumber-BXTFTRtU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B-RKUSVb.js → StepStudentPersonalInfo-BXgbCDPU.js} +76 -76
- package/chunk/{StepStudentPersonalInfo-A3yGbDk7.js.map → StepStudentPersonalInfo-BXgbCDPU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-A3yGbDk7.js → StepStudentPersonalInfo-C_Gwr1pT.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-B-RKUSVb.js.map → StepStudentPersonalInfo-C_Gwr1pT.js.map} +1 -1
- package/chunk/{StepSuccess-Dviigo8q.js → StepSuccess-BWigRqmh.js} +94 -94
- package/chunk/StepSuccess-BWigRqmh.js.map +1 -0
- package/chunk/{StepSuccess-CDyGNq3Q.js → StepSuccess-D0GQexPa.js} +92 -92
- package/chunk/StepSuccess-D0GQexPa.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-D4UTbPDB.js → StepTeacherPersonalInfo-Bv9DB_Lt.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-D4UTbPDB.js.map → StepTeacherPersonalInfo-Bv9DB_Lt.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DUZmMYli.js → StepTeacherPersonalInfo-DZ4924qb.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-DUZmMYli.js.map → StepTeacherPersonalInfo-DZ4924qb.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-D_yKCvzI.js → TeacherSchoolComponent-DE9AiCxY.js} +10 -10
- package/chunk/{TeacherSchoolComponent-CPoc8ceQ.js.map → TeacherSchoolComponent-DE9AiCxY.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CPoc8ceQ.js → TeacherSchoolComponent-DmGbff9I.js} +16 -16
- package/chunk/{TeacherSchoolComponent-D_yKCvzI.js.map → TeacherSchoolComponent-DmGbff9I.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js → TestingRouteOverrides-A7CajDc2.js} +20 -20
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js.map → TestingRouteOverrides-A7CajDc2.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-EggQSvgh.js → TestingRouteOverrides-CteVovkM.js} +12 -12
- package/chunk/{TestingRouteOverrides-EggQSvgh.js.map → TestingRouteOverrides-CteVovkM.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-BBN8jYxF.js → countryUtils-Cm0CKgKH.js} +5 -5
- package/chunk/{countryUtils-BBN8jYxF.js.map → countryUtils-Cm0CKgKH.js.map} +1 -1
- package/chunk/countryUtils-tSyfKDmf.js +12 -0
- package/chunk/{countryUtils-n_5QoHGV.js.map → countryUtils-tSyfKDmf.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-BbUU6siB.js → downshift.esm-DW1n73ef.js} +7 -7
- package/chunk/{downshift.esm-CF8pnAPi.js.map → downshift.esm-DW1n73ef.js.map} +1 -1
- package/chunk/{downshift.esm-CF8pnAPi.js → downshift.esm-DdyoD_BK.js} +7 -7
- package/chunk/{downshift.esm-BbUU6siB.js.map → downshift.esm-DdyoD_BK.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-Dhc64eA5.js → empties-CuzjzEsL.js} +5 -5
- package/chunk/{empties-DHI3R7ys.js.map → empties-CuzjzEsL.js.map} +1 -1
- package/chunk/{empties-DHI3R7ys.js → empties-vS2Us_U5.js} +5 -5
- package/chunk/{empties-Dhc64eA5.js.map → empties-vS2Us_U5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-BlwolTIT.js → hooks-BqfaxVbh.js} +45 -45
- package/chunk/{hooks-BlwolTIT.js.map → hooks-BqfaxVbh.js.map} +1 -1
- package/chunk/{hooks-gC9DtNY1.js → hooks-CAAVVsC2.js} +47 -47
- package/chunk/{hooks-gC9DtNY1.js.map → hooks-CAAVVsC2.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-CvSmE54g.js → intl-8IwAIXoJ.js} +438 -430
- package/chunk/intl-8IwAIXoJ.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-JSlXFmKD.js → jsx-runtime-DOcXt_NQ.js} +5 -5
- package/chunk/{jsx-runtime-JSlXFmKD.js.map → jsx-runtime-DOcXt_NQ.js.map} +1 -1
- package/chunk/{jsx-runtime-CyXcV_93.js → jsx-runtime-Dztc5pGe.js} +5 -5
- package/chunk/{jsx-runtime-CyXcV_93.js.map → jsx-runtime-Dztc5pGe.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-Dpf6dNc6.js → mocks-B63gxlSj.js} +5 -5
- package/chunk/{mocks-Dpf6dNc6.js.map → mocks-B63gxlSj.js.map} +1 -1
- package/chunk/{mocks-DrV8NINc.js → mocks-DPa4hUmN.js} +5 -5
- package/chunk/{mocks-DrV8NINc.js.map → mocks-DPa4hUmN.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-CRzdSTAR.js → options-CbyxEsS6.js} +331 -323
- package/chunk/options-CbyxEsS6.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-BzTM_4ke.js +182 -0
- package/chunk/programThemeGetters-BzTM_4ke.js.map +1 -0
- package/chunk/programThemeGetters-Dz1mfptL.js +188 -0
- package/chunk/programThemeGetters-Dz1mfptL.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CQUMKZ_f.js → stepComponentHelpers-CuO5tLTB.js} +37 -44
- package/chunk/stepComponentHelpers-CuO5tLTB.js.map +1 -0
- package/chunk/{stepComponentHelpers-Bxse3jnq.js → stepComponentHelpers-JFXsrK-K.js} +37 -44
- package/chunk/stepComponentHelpers-JFXsrK-K.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DBKghe_8.js → useCollectFieldsEndpoint-B3-jkSlI.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-DBKghe_8.js.map → useCollectFieldsEndpoint-B3-jkSlI.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BW9WTICZ.js → useCollectFieldsEndpoint-DnZkFvvB.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-BW9WTICZ.js.map → useCollectFieldsEndpoint-DnZkFvvB.js.map} +1 -1
- package/chunk/{useMetrics-C3KNudJk.js → useMetrics-BtncAWgP.js} +7 -7
- package/chunk/{useMetrics-Cjo0Vkjx.js.map → useMetrics-BtncAWgP.js.map} +1 -1
- package/chunk/{useMetrics-Cjo0Vkjx.js → useMetrics-DRKq3hnJ.js} +7 -7
- package/chunk/{useMetrics-C3KNudJk.js.map → useMetrics-DRKq3hnJ.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +966 -961
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-mCK2IKFF.js +0 -51
- package/chunk/ApiUrls-mCK2IKFF.js.map +0 -1
- package/chunk/ApiUrls-ycoYioq4.js +0 -45
- package/chunk/ApiUrls-ycoYioq4.js.map +0 -1
- package/chunk/CountryComponentWrapper-dG5Zqfee.js +0 -78
- package/chunk/StateSelectComponent-C05RJO04.js +0 -38
- package/chunk/StateSelectComponent-C05RJO04.js.map +0 -1
- package/chunk/StateSelectComponent-og_G8R5A.js +0 -42
- package/chunk/StateSelectComponent-og_G8R5A.js.map +0 -1
- package/chunk/StepAgePersonalInfo-Bwdjo9Zy.js +0 -172
- package/chunk/StepAgePersonalInfo-DIOOXX9y.js +0 -176
- package/chunk/StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-DtyiAaDl.js +0 -373
- package/chunk/StepCollectPersonalInfo-DtyiAaDl.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-Mn8W7-0u.js +0 -369
- package/chunk/StepCollectPersonalInfo-Mn8W7-0u.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js +0 -142
- package/chunk/StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-DxgQc-yw.js +0 -146
- package/chunk/StepDriverLicensePersonalInfoComponent-DxgQc-yw.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-B2vkSor6.js +0 -221
- package/chunk/StepEmploymentPersonalInfo-B2vkSor6.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DuOMR21_.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js +0 -175
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js +0 -188
- package/chunk/StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js +0 -184
- package/chunk/StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-BXeW16K1.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-DeQ6ug4-.js +0 -239
- package/chunk/StepLowIncomePersonalInfo-DeQ6ug4-.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-VUcdpf1p.js +0 -154
- package/chunk/StepMoverPersonalInfo-BAy0fOpJ.js +0 -141
- package/chunk/StepSuccess-CDyGNq3Q.js.map +0 -1
- package/chunk/StepSuccess-Dviigo8q.js.map +0 -1
- package/chunk/countryUtils-n_5QoHGV.js +0 -12
- package/chunk/intl-CvSmE54g.js.map +0 -1
- package/chunk/options-CRzdSTAR.js.map +0 -1
- package/chunk/programThemeGetters-DYWYXv-a.js +0 -154
- package/chunk/programThemeGetters-DYWYXv-a.js.map +0 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +0 -150
- package/chunk/programThemeGetters-VBnkSxuj.js.map +0 -1
- package/chunk/stepComponentHelpers-Bxse3jnq.js.map +0 -1
- package/chunk/stepComponentHelpers-CQUMKZ_f.js.map +0 -1
package/sheerid.js
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.291.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790031320700
|
|
5
|
+
* BUILD_DATE: Mon Sep 21 2026 22:55:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
|
|
7
7
|
*/
|
|
8
|
-
import { D as e,
|
|
9
|
-
import { c as ee, i as
|
|
10
|
-
import { A as
|
|
11
|
-
import { S as N, b as P, h as
|
|
12
|
-
import { a as
|
|
13
|
-
import {
|
|
14
|
-
import { C as
|
|
15
|
-
import { i as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as ut } from "./chunk/AnnouncingHeader-CXTQdbKG.js";
|
|
8
|
+
import { D as e, Dt as t, E as n, O as r, S as i, T as a, _t as o, at as s, b as c, c as l, d as u, dt as d, g as f, h as p, i as m, kt as h, l as g, lt as _, m as v, n as y, p as b, r as x, s as S, t as C, u as w, ut as T, y as E } from "./chunk/options-CbyxEsS6.js";
|
|
9
|
+
import { c as ee, i as D, n as O, t as k } from "./chunk/jsx-runtime-Dztc5pGe.js";
|
|
10
|
+
import { A as te, D as A, O as j, P as ne, S as re, T as ie, a as ae, c as oe, d as se, f as ce, g as le, i as ue, k as de, m as fe, o as pe, p as me, r as he, s as ge, t as M, u as _e, w as ve, x as ye } from "./chunk/Message-CbU7t2F7.js";
|
|
11
|
+
import { S as N, b as P, h as be, x as xe } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { a as Se, i as Ce, r as we, s as Te, t as Ee } from "./chunk/TestingRouteOverrides-CteVovkM.js";
|
|
13
|
+
import { S as De, T as Oe, i as ke, w as Ae } from "./chunk/programThemeGetters-BzTM_4ke.js";
|
|
14
|
+
import { C as je, S as Me, _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, v as Ze, w as Qe, x as $e, y as et } from "./chunk/FormFooterComponent-DN_aTukK.js";
|
|
15
|
+
import { a as tt, i as nt, n as rt, r as it, t as at } from "./chunk/hooks-CAAVVsC2.js";
|
|
16
|
+
import { i as ot, s as st, t as ct } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
+
import { t as lt } from "./chunk/LogoComponent-BBiqSSo-.js";
|
|
18
|
+
import { t as ut } from "./chunk/strings-DWLVdUcm.js";
|
|
19
|
+
import { t as dt } from "./chunk/AnnouncingHeader-B6cTB52p.js";
|
|
21
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
22
|
-
var F = /* @__PURE__ */
|
|
23
|
-
function
|
|
21
|
+
var F = /* @__PURE__ */ h(ee());
|
|
22
|
+
function ft({ i18n: e, defaultNS: t, children: n }) {
|
|
24
23
|
let r = (0, F.useMemo)(() => ({
|
|
25
24
|
i18n: e,
|
|
26
25
|
defaultNS: t
|
|
27
26
|
}), [e, t]);
|
|
28
|
-
return (0, F.createElement)(
|
|
27
|
+
return (0, F.createElement)(j.Provider, { value: r }, n);
|
|
29
28
|
}
|
|
30
29
|
//#endregion
|
|
31
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
32
|
-
var
|
|
31
|
+
var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
33
32
|
className: "sid-spinner",
|
|
34
33
|
"data-testid": "sid-spinner",
|
|
35
34
|
children: [
|
|
@@ -38,26 +37,26 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
38
37
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
39
38
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
40
39
|
]
|
|
41
|
-
}),
|
|
40
|
+
}), gt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
42
41
|
className: "sid-loading-screen__message",
|
|
43
|
-
children: [
|
|
42
|
+
children: [xe(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
44
43
|
className: "sid-loading-screen__message-header",
|
|
45
44
|
role: "alert",
|
|
46
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
45
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
47
46
|
id: "step.personalInfo.verifyingTitle",
|
|
48
47
|
defaultMessage: "Verifying your status"
|
|
49
48
|
})
|
|
50
49
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
51
50
|
className: "sid-loading-screen__message-subhead",
|
|
52
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
51
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
53
52
|
id: "step.personalInfo.verifyingSubtitle",
|
|
54
53
|
defaultMessage: "This should only take a minute"
|
|
55
54
|
})
|
|
56
55
|
})]
|
|
57
|
-
}),
|
|
56
|
+
}), _t = ({ step: e = Ee() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
58
57
|
className: "sid-loading-screen",
|
|
59
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
60
|
-
}),
|
|
58
|
+
children: [/* @__PURE__ */ (0, I.jsx)(ht, {}), e && /* @__PURE__ */ (0, I.jsx)(gt, { step: e })]
|
|
59
|
+
}), vt = /* @__PURE__ */ t(((e, t) => {
|
|
61
60
|
var n, r = n = {
|
|
62
61
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
63
62
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -124,13 +123,13 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
124
123
|
enumerable: !0,
|
|
125
124
|
configurable: !1
|
|
126
125
|
}), t.exports = r;
|
|
127
|
-
})),
|
|
128
|
-
var n =
|
|
126
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
127
|
+
var n = vt();
|
|
129
128
|
t.exports = {
|
|
130
129
|
isRtlLang: n.isRtlLang,
|
|
131
130
|
getLangDir: n.getLangDir
|
|
132
131
|
};
|
|
133
|
-
})),
|
|
132
|
+
})), bt = /* @__PURE__ */ h(A(), 1), xt = /* @__PURE__ */ h(yt(), 1), L = {
|
|
134
133
|
landingBackgroundColor: "#fff",
|
|
135
134
|
landingPrimaryFontColor: "#000",
|
|
136
135
|
landingBackgroundImage: "none",
|
|
@@ -144,7 +143,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
144
143
|
formFont: "var(--sheerid-font-family-sans)",
|
|
145
144
|
cssVariables: null,
|
|
146
145
|
customStyles: null
|
|
147
|
-
},
|
|
146
|
+
}, St = F.createContext(L), R = {
|
|
148
147
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
149
148
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
150
149
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -158,7 +157,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
158
157
|
formFont: "--sheerid-font-family-body",
|
|
159
158
|
cssVariables: null,
|
|
160
159
|
customStyles: null
|
|
161
|
-
},
|
|
160
|
+
}, Ct = {
|
|
162
161
|
"--sheerid-color-fg-05": {
|
|
163
162
|
from: "--sheerid-color-bg",
|
|
164
163
|
to: "--sheerid-color-fg",
|
|
@@ -269,7 +268,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
269
268
|
to: "--sheerid-color-fg",
|
|
270
269
|
percentage: 3
|
|
271
270
|
}
|
|
272
|
-
},
|
|
271
|
+
}, wt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
273
272
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
274
273
|
[R.landingBackgroundColor]: s,
|
|
275
274
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -282,12 +281,12 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
282
281
|
[R.formH1FontColor]: h,
|
|
283
282
|
[R.formHelperFontColor]: g,
|
|
284
283
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
285
|
-
...Object.entries(
|
|
284
|
+
...Object.entries(Ct).reduce((e, [t, n]) => {
|
|
286
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
287
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
288
287
|
}, {})
|
|
289
|
-
}, y = F.useRef(null), b =
|
|
290
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
288
|
+
}, y = F.useRef(null), b = Oe() === Ae.cdnInlineIframe, x = Oe() === Ae.cdnModalIframe;
|
|
289
|
+
return /* @__PURE__ */ (0, I.jsx)(St.Provider, {
|
|
291
290
|
value: {
|
|
292
291
|
landingBackgroundColor: s,
|
|
293
292
|
landingPrimaryFontColor: c,
|
|
@@ -311,7 +310,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
311
310
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
312
311
|
})
|
|
313
312
|
});
|
|
314
|
-
},
|
|
313
|
+
}, Tt = (e, t, n) => ({
|
|
315
314
|
minAge: t?.minAge || e?.config?.minAge,
|
|
316
315
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
317
316
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -319,33 +318,33 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
319
318
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
320
319
|
currentStep: t?.currentStep,
|
|
321
320
|
viewModel: n
|
|
322
|
-
}),
|
|
323
|
-
N.log(`overrideComponent registering ${e}`),
|
|
324
|
-
},
|
|
325
|
-
|
|
326
|
-
},
|
|
321
|
+
}), Et = {}, Dt = (e, t) => {
|
|
322
|
+
N.log(`overrideComponent registering ${e}`), Et[e] = t;
|
|
323
|
+
}, Ot = (e) => Et[e] ? (N.log(`getOverridenComponent returning ${e}`), Et[e]) : null, kt = () => {
|
|
324
|
+
Et = {};
|
|
325
|
+
}, At = ({ verificationService: e, linkText: t }) => {
|
|
327
326
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
328
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
327
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
329
328
|
className: "sid-faq sid-link",
|
|
330
|
-
href:
|
|
331
|
-
children: t || /* @__PURE__ */ (0, I.jsx)(
|
|
329
|
+
href: ke(i, n, r, a(e.viewModel), e.verificationResponse),
|
|
330
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(O, {
|
|
332
331
|
id: "getHelp",
|
|
333
332
|
defaultMessage: "Get help"
|
|
334
333
|
})
|
|
335
334
|
}) : null;
|
|
336
|
-
},
|
|
335
|
+
}, jt = /* @__PURE__ */ (0, I.jsx)(O, {
|
|
337
336
|
id: "poweredBy",
|
|
338
337
|
defaultMessage: "Verification services powered by SheerID."
|
|
339
|
-
}),
|
|
338
|
+
}), Mt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
340
339
|
switch (n) {
|
|
341
340
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
342
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
343
342
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
344
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
345
|
-
children:
|
|
344
|
+
children: jt
|
|
346
345
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
347
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
348
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
347
|
+
children: /* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })
|
|
349
348
|
})]
|
|
350
349
|
});
|
|
351
350
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -358,28 +357,28 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
358
357
|
alt: "",
|
|
359
358
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
360
359
|
})
|
|
361
|
-
}),
|
|
360
|
+
}), jt]
|
|
362
361
|
})
|
|
363
362
|
});
|
|
364
363
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
365
364
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
366
365
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
367
366
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
368
|
-
children:
|
|
367
|
+
children: jt
|
|
369
368
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
370
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
371
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })]
|
|
372
371
|
})]
|
|
373
372
|
});
|
|
374
373
|
}
|
|
375
|
-
},
|
|
374
|
+
}, Nt = (e, t) => {
|
|
376
375
|
let n = F.useRef(null);
|
|
377
376
|
function r() {
|
|
378
377
|
clearInterval(n.current);
|
|
379
378
|
}
|
|
380
379
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
381
|
-
},
|
|
382
|
-
let a =
|
|
380
|
+
}, Pt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => {
|
|
381
|
+
let a = ut(e);
|
|
383
382
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
384
383
|
className: "sid-header sid-l-horz-center",
|
|
385
384
|
children: [
|
|
@@ -387,7 +386,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
387
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
388
387
|
children: n
|
|
389
388
|
}),
|
|
390
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
389
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
391
390
|
align: "center",
|
|
392
391
|
children: t.title
|
|
393
392
|
}),
|
|
@@ -403,7 +402,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
403
402
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
404
403
|
onClick: r,
|
|
405
404
|
type: "submit",
|
|
406
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
405
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Lt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
407
406
|
"aria-label": "submit",
|
|
408
407
|
children: t.cancel
|
|
409
408
|
})
|
|
@@ -412,20 +411,20 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
412
411
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
413
412
|
]
|
|
414
413
|
});
|
|
415
|
-
},
|
|
414
|
+
}, Ft = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
416
415
|
messages: t,
|
|
417
416
|
stepName: e,
|
|
418
417
|
logo: n,
|
|
419
418
|
cancelSingleSignOn: r,
|
|
420
419
|
cancelButtonType: i
|
|
421
|
-
}),
|
|
422
|
-
let i =
|
|
420
|
+
}), It = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
|
+
let i = at("hc-my-sheer-id-theme-builder");
|
|
423
422
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
424
423
|
className: "sid-header sid-l-horz-center",
|
|
425
424
|
children: [
|
|
426
425
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
427
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
428
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
427
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
429
428
|
verificationService: t,
|
|
430
429
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
431
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -434,7 +433,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
434
433
|
})
|
|
435
434
|
})
|
|
436
435
|
}),
|
|
437
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
438
437
|
align: "center",
|
|
439
438
|
children: e.title
|
|
440
439
|
}),
|
|
@@ -455,88 +454,92 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
455
454
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
456
455
|
]
|
|
457
456
|
});
|
|
458
|
-
},
|
|
457
|
+
}, Lt = /* @__PURE__ */ function(e) {
|
|
459
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
460
|
-
}({}),
|
|
461
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p =
|
|
459
|
+
}({}), Rt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
460
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = Se(), m = ut(t), h = at("hc-my-sheer-id-theme-builder"), g, y = /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
462
461
|
verificationService: e,
|
|
463
462
|
fallbackLogo: !h && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
464
463
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
465
464
|
alt: "",
|
|
466
465
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
467
466
|
})
|
|
468
|
-
}),
|
|
467
|
+
}), b = () => setTimeout(() => {
|
|
469
468
|
e.fetchExistingVerificationRequest(i, d, c, o);
|
|
470
|
-
}, 1e3),
|
|
469
|
+
}, 1e3), x = (t, n) => {
|
|
471
470
|
let r = l(a, (e) => {
|
|
472
471
|
e[t] = n;
|
|
473
472
|
});
|
|
474
473
|
e.updateViewModel(r);
|
|
475
|
-
},
|
|
476
|
-
|
|
474
|
+
}, S = () => {
|
|
475
|
+
v(u.SSO_CANCEL_CLICKED, {
|
|
477
476
|
programId: i,
|
|
478
477
|
locale: f,
|
|
479
478
|
verificationId: d
|
|
480
|
-
}),
|
|
479
|
+
}), ct();
|
|
481
480
|
let n = l(a, () => {});
|
|
482
481
|
N.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
483
|
-
},
|
|
484
|
-
|
|
482
|
+
}, C = (e, t) => {
|
|
483
|
+
v(u.SSO_SIGN_IN_CLICKED, {
|
|
485
484
|
programId: i,
|
|
486
485
|
locale: f,
|
|
487
486
|
verificationId: d
|
|
488
|
-
}),
|
|
489
|
-
},
|
|
490
|
-
let e = t === P.sso ?
|
|
491
|
-
|
|
487
|
+
}), x(e, t), w();
|
|
488
|
+
}, w = () => {
|
|
489
|
+
let e = t === P.sso ? ye(s.loginUrl) : s.loginUrl;
|
|
490
|
+
if (!_(e)) {
|
|
491
|
+
N.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
st(window.open(e, "_blank")), ot().focus();
|
|
492
495
|
};
|
|
493
|
-
return a.isSingleSignOnActive && !p && (g =
|
|
496
|
+
return a.isSingleSignOnActive && !p && (g = b()), !a.countryChoice && o && o.countryChoice && x("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
494
497
|
id: `sid-step-${m}`,
|
|
495
498
|
className: `sid-${m}-container sid-l-container`,
|
|
496
499
|
"data-testid": `sid-step-${m}`,
|
|
497
500
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
498
501
|
role: "main",
|
|
499
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
502
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
500
503
|
stepName: t,
|
|
501
504
|
messages: n,
|
|
502
|
-
logo:
|
|
503
|
-
cancelSingleSignOn:
|
|
505
|
+
logo: y,
|
|
506
|
+
cancelSingleSignOn: S,
|
|
504
507
|
cancelButtonType: r
|
|
505
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
508
|
+
}) : /* @__PURE__ */ (0, I.jsx)(It, {
|
|
506
509
|
verificationService: e,
|
|
507
510
|
messages: n,
|
|
508
|
-
updateViewModelAndOpenLoginTab:
|
|
511
|
+
updateViewModelAndOpenLoginTab: C,
|
|
509
512
|
dashedStepName: m
|
|
510
513
|
})
|
|
511
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
514
|
+
}), /* @__PURE__ */ (0, I.jsx)(Ye, { verificationService: e })]
|
|
512
515
|
});
|
|
513
|
-
},
|
|
514
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
516
|
+
}, zt = {
|
|
517
|
+
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
515
518
|
id: "step.sso.title",
|
|
516
519
|
defaultMessage: "Verify using your school credentials",
|
|
517
520
|
tagName: "h1"
|
|
518
521
|
}),
|
|
519
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
522
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
520
523
|
id: "step.sso.subtitle",
|
|
521
524
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
522
525
|
}),
|
|
523
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
526
|
+
login: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
524
527
|
id: "step.sso.login",
|
|
525
528
|
defaultMessage: "Sign in to my school"
|
|
526
529
|
}),
|
|
527
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
530
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
528
531
|
id: "step.sso.cancel",
|
|
529
532
|
defaultMessage: "Upload Proof of Enrollment"
|
|
530
533
|
}),
|
|
531
|
-
subtitle2: /* @__PURE__ */ (0, I.jsx)(
|
|
534
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
532
535
|
id: "step.sso.subtitle2",
|
|
533
536
|
defaultMessage: "Can't sign in to your school?"
|
|
534
537
|
})
|
|
535
|
-
},
|
|
538
|
+
}, Bt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
536
539
|
verificationService: e,
|
|
537
540
|
stepName: P.sso,
|
|
538
|
-
messages:
|
|
539
|
-
}),
|
|
541
|
+
messages: zt
|
|
542
|
+
}), Vt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
540
543
|
className: "sid-header sid-l-horz-center",
|
|
541
544
|
"data-testid": "sid-review-pending",
|
|
542
545
|
children: [
|
|
@@ -544,15 +547,15 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
544
547
|
className: "sid-l-horz-center",
|
|
545
548
|
children: e
|
|
546
549
|
}),
|
|
547
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
550
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
548
551
|
align: "center",
|
|
549
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
552
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
550
553
|
id: "step.pending.titleReview",
|
|
551
554
|
defaultMessage: "Reviewing",
|
|
552
555
|
tagName: "h1"
|
|
553
556
|
})
|
|
554
557
|
}),
|
|
555
|
-
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(
|
|
558
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
556
559
|
id: "step.pending.uploadedDocument",
|
|
557
560
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
558
561
|
}) }),
|
|
@@ -562,21 +565,21 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
562
565
|
}),
|
|
563
566
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
564
567
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
565
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
568
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
566
569
|
id: "step.pending.subtitle2",
|
|
567
570
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
568
571
|
})
|
|
569
572
|
}),
|
|
570
573
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
571
574
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
572
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
575
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
573
576
|
id: "step.pending.subtitle3",
|
|
574
577
|
defaultMessage: "You will be contacted via email."
|
|
575
578
|
})
|
|
576
579
|
}),
|
|
577
580
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
578
581
|
]
|
|
579
|
-
}),
|
|
582
|
+
}), Ht = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
580
583
|
className: "sid-header sid-l-horz-center",
|
|
581
584
|
"data-testid": "sid-review-pending",
|
|
582
585
|
children: [
|
|
@@ -584,9 +587,9 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
584
587
|
className: "sid-l-horz-center",
|
|
585
588
|
children: e
|
|
586
589
|
}),
|
|
587
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
590
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
588
591
|
align: "center",
|
|
589
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
592
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
590
593
|
id: "step.pending.idCheckLoop.title",
|
|
591
594
|
defaultMessage: "We're reviewing your documents",
|
|
592
595
|
tagName: "h1"
|
|
@@ -594,39 +597,39 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
594
597
|
}),
|
|
595
598
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
596
599
|
className: "sid-header__subtitle-one",
|
|
597
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
600
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
598
601
|
id: "step.pending.idCheckLoop.subtitle",
|
|
599
602
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
600
603
|
})
|
|
601
604
|
}),
|
|
602
605
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
603
606
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
604
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
605
608
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
606
609
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
607
610
|
})
|
|
608
611
|
}),
|
|
609
612
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
610
613
|
]
|
|
611
|
-
}),
|
|
612
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
614
|
+
}), Ut = { [be.SIGNZY]: {
|
|
615
|
+
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
613
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
614
617
|
tagName: "h1",
|
|
615
618
|
defaultMessage: "Verify using DigiLocker"
|
|
616
619
|
}),
|
|
617
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
620
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
618
621
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
619
622
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
620
623
|
}),
|
|
621
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
624
|
+
login: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
622
625
|
id: "step.thirdPartyLoop.signzy.login",
|
|
623
626
|
defaultMessage: "Sign in to DigiLocker"
|
|
624
627
|
}),
|
|
625
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
628
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
626
629
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
627
630
|
defaultMessage: "Upload Proof of Identity"
|
|
628
631
|
})
|
|
629
|
-
} },
|
|
632
|
+
} }, Wt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
630
633
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
631
634
|
className: "sid-header sid-l-horz-center",
|
|
632
635
|
children: [
|
|
@@ -634,9 +637,9 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
634
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
635
638
|
children: e
|
|
636
639
|
}),
|
|
637
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
640
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
638
641
|
align: "center",
|
|
639
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
642
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
640
643
|
id: "error",
|
|
641
644
|
tagName: "h1"
|
|
642
645
|
})
|
|
@@ -645,7 +648,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
645
648
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
646
649
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
647
650
|
className: "sid-error-msg sid-l-horz-center",
|
|
648
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
651
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
649
652
|
id: "step.thirdPartyLoop.error",
|
|
650
653
|
defaultMessage: "Provider not supported"
|
|
651
654
|
})
|
|
@@ -662,16 +665,16 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
662
665
|
children: n
|
|
663
666
|
}) : n
|
|
664
667
|
});
|
|
665
|
-
},
|
|
666
|
-
let t =
|
|
667
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
668
|
+
}, Gt = ({ verificationService: e }) => {
|
|
669
|
+
let t = Ut[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = at("hc-my-sheer-id-theme-builder");
|
|
670
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
668
671
|
verificationService: e,
|
|
669
672
|
stepName: P.thirdPartyLoop,
|
|
670
673
|
messages: t,
|
|
671
|
-
cancelButtonType:
|
|
672
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
674
|
+
cancelButtonType: Lt.SECONDARY
|
|
675
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Wt, {
|
|
673
676
|
isStepRoot: !0,
|
|
674
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
677
|
+
logo: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
675
678
|
verificationService: e,
|
|
676
679
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
677
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -680,28 +683,28 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
680
683
|
})
|
|
681
684
|
})
|
|
682
685
|
});
|
|
683
|
-
},
|
|
684
|
-
let i =
|
|
685
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
686
|
+
}, Kt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
+
let i = Ut[r ? Ce("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
686
689
|
stepName: P.thirdPartyLoop,
|
|
687
690
|
messages: i,
|
|
688
691
|
logo: e,
|
|
689
692
|
cancelSingleSignOn: n,
|
|
690
|
-
cancelButtonType:
|
|
691
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
692
|
-
},
|
|
693
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o =
|
|
693
|
+
cancelButtonType: Lt.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Wt, { logo: e });
|
|
695
|
+
}, qt = 5e3, Jt = 2e4, Yt = 2e4, Xt = 2e3, Zt = ({ verificationService: e }) => {
|
|
696
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Se(), s = we() && we() === P.sso, c = we() && we() === P.thirdPartyLoop, u = we() && we() === P.idCheckLoop, d = at("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === P.sso, p = () => i?.currentStep === P.thirdPartyLoop, m = () => i?.currentStep === P.idCheckLoop, h = f() || p() || s || c, g = m() || u, _ = !h && !g, [v, y] = F.useState(() => h ? Xt : g ? Yt : qt);
|
|
694
697
|
F.useEffect(() => {
|
|
695
698
|
if (!_) return;
|
|
696
|
-
let e = setTimeout(() => y(
|
|
699
|
+
let e = setTimeout(() => y(Yt), Jt);
|
|
697
700
|
return () => clearTimeout(e);
|
|
698
701
|
}, [_]);
|
|
699
|
-
let b = !o &&
|
|
702
|
+
let b = !o && Nt(() => {
|
|
700
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
701
704
|
}, v), x = (t) => {
|
|
702
705
|
let r = l(n, () => {});
|
|
703
|
-
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
704
|
-
}, S = /* @__PURE__ */ (0, I.jsx)(
|
|
706
|
+
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), ct(), e.submitStep(t, r, i);
|
|
707
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
705
708
|
verificationService: e,
|
|
706
709
|
fallbackLogo: !d && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
707
710
|
className: "sid-l-lead-image",
|
|
@@ -716,35 +719,35 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
716
719
|
role: "main",
|
|
717
720
|
children: (() => {
|
|
718
721
|
let e = f() || s, t = p() || c, n = m() || u;
|
|
719
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
722
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
720
723
|
stepName: P.sso,
|
|
721
|
-
messages:
|
|
724
|
+
messages: zt,
|
|
722
725
|
logo: S,
|
|
723
726
|
cancelSingleSignOn: () => x(P.sso)
|
|
724
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Kt, {
|
|
725
728
|
logo: S,
|
|
726
729
|
cancelThirdPartyLoop: () => x(P.thirdPartyLoop),
|
|
727
730
|
verificationLastResponse: i,
|
|
728
731
|
isMockingPreviousStepThirdPartyLoop: c
|
|
729
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Ht, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(Vt, { logo: S });
|
|
730
733
|
})()
|
|
731
|
-
}), g ? /* @__PURE__ */ (0, I.jsx)(
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
732
735
|
verificationService: e,
|
|
733
736
|
isCentered: !0
|
|
734
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
737
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Ye, {
|
|
735
738
|
verificationService: e,
|
|
736
739
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
737
740
|
})]
|
|
738
741
|
});
|
|
739
|
-
},
|
|
740
|
-
let e =
|
|
742
|
+
}, Qt = () => {
|
|
743
|
+
let e = ue(), t = ae(), n = oe(), r = d(() => n.segment), i = F.useCallback(() => {
|
|
741
744
|
if (window.self !== window.top) {
|
|
742
745
|
let e = new URL(window.location.href);
|
|
743
746
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
744
747
|
return;
|
|
745
748
|
}
|
|
746
749
|
(async () => {
|
|
747
|
-
|
|
750
|
+
He(e)(), await Ie(e)(t, r, void 0, void 0, !0);
|
|
748
751
|
})();
|
|
749
752
|
}, [
|
|
750
753
|
e,
|
|
@@ -758,13 +761,13 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
758
761
|
onKeyPress: i,
|
|
759
762
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
760
763
|
});
|
|
761
|
-
},
|
|
764
|
+
}, $t = {
|
|
762
765
|
NONE: "none",
|
|
763
766
|
RESET: "reset",
|
|
764
767
|
POSTMESSAGE: "postMessage",
|
|
765
768
|
REDIRECT: "redirect"
|
|
766
|
-
},
|
|
767
|
-
let e =
|
|
769
|
+
}, en = () => {
|
|
770
|
+
let e = oe(), t = () => ie({
|
|
768
771
|
action: "tryAgain",
|
|
769
772
|
verificationResponse: e
|
|
770
773
|
});
|
|
@@ -775,52 +778,54 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
775
778
|
onKeyPress: t,
|
|
776
779
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
777
780
|
});
|
|
778
|
-
},
|
|
781
|
+
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(he, {
|
|
779
782
|
target: t,
|
|
780
783
|
href: e.toString(),
|
|
781
784
|
className: "sid-btn sid-btn--dark",
|
|
782
785
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "seeOtherOffers" })
|
|
783
|
-
}),
|
|
784
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
785
|
-
},
|
|
786
|
-
let e =
|
|
786
|
+
}), nn = (e) => {
|
|
787
|
+
if (!(typeof e == "object" && "type" in e && Object.values($t).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
|
+
}, rn = () => {
|
|
789
|
+
let e = C("tryAgainAction");
|
|
787
790
|
try {
|
|
788
|
-
switch (
|
|
789
|
-
case
|
|
790
|
-
case
|
|
791
|
-
case
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
791
|
+
switch (nn(e), e.type) {
|
|
792
|
+
case $t.NONE: return null;
|
|
793
|
+
case $t.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(en, {});
|
|
794
|
+
case $t.REDIRECT:
|
|
795
|
+
if (!_(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
796
|
+
return /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
797
|
+
redirectUrl: e.url,
|
|
798
|
+
target: e.target
|
|
799
|
+
});
|
|
800
|
+
case $t.RESET: return /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
796
801
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
797
802
|
}
|
|
798
803
|
} catch (e) {
|
|
799
|
-
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(
|
|
804
|
+
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
800
805
|
}
|
|
801
|
-
},
|
|
806
|
+
}, an = [
|
|
802
807
|
"docReviewLimitExceeded",
|
|
803
808
|
"verificationLimitExceeded",
|
|
804
809
|
"fraudRulesReject"
|
|
805
|
-
],
|
|
810
|
+
], on = ({ verificationService: e, errorIds: t }) => {
|
|
806
811
|
let n = t[0];
|
|
807
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
812
|
+
return /* @__PURE__ */ (0, I.jsx)(dt, {
|
|
808
813
|
align: "center",
|
|
809
814
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(M, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
810
815
|
});
|
|
811
|
-
},
|
|
816
|
+
}, sn = ({ errorIds: e, errorDetailId: t }) => {
|
|
812
817
|
let n = /* @__PURE__ */ new Map();
|
|
813
818
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(M, { id: t }, t)) }) : null;
|
|
814
|
-
},
|
|
819
|
+
}, cn = ({ verificationService: e, errorIds: t }) => {
|
|
815
820
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
816
821
|
return e.messages?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
817
822
|
className: "sid-error-note sid-h-small-text",
|
|
818
823
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: n })
|
|
819
824
|
}) : null;
|
|
820
|
-
},
|
|
825
|
+
}, ln = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
821
826
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
822
|
-
let t =
|
|
823
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
827
|
+
let t = d(() => e.programTheme.config.brandInfo.faqUrl);
|
|
828
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
824
829
|
href: t,
|
|
825
830
|
onClick: () => p(P.error, t),
|
|
826
831
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -828,18 +833,18 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
828
833
|
}) : null;
|
|
829
834
|
}
|
|
830
835
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
831
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
836
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return C("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
832
837
|
let r = t[0];
|
|
833
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(
|
|
838
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && _(n) ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
834
839
|
href: n,
|
|
835
840
|
onClick: () => p(P.error, n),
|
|
836
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
837
842
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: `step.error.errorId.${r}.buttonText` })
|
|
838
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
839
|
-
},
|
|
840
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
843
|
+
}) : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
844
|
+
}, un = ({ verificationService: e, errorId: t }) => {
|
|
845
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = at("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
841
846
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
842
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
+
let s = Array.from(o), c = s.some((e) => an.includes(e));
|
|
843
848
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
844
849
|
id: "sid-step-error",
|
|
845
850
|
className: "sid-error-container sid-l-container",
|
|
@@ -849,7 +854,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
849
854
|
children: [
|
|
850
855
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
851
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
852
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
857
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
853
858
|
verificationService: e,
|
|
854
859
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
855
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -858,7 +863,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
858
863
|
})
|
|
859
864
|
})
|
|
860
865
|
}),
|
|
861
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
866
|
+
/* @__PURE__ */ (0, I.jsx)(on, {
|
|
862
867
|
verificationService: e,
|
|
863
868
|
errorIds: s
|
|
864
869
|
}),
|
|
@@ -867,10 +872,10 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
867
872
|
children: [
|
|
868
873
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
869
874
|
className: "sid-error-msg sid-l-horz-center",
|
|
870
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
875
|
+
children: [/* @__PURE__ */ (0, I.jsx)(sn, {
|
|
871
876
|
errorIds: s,
|
|
872
877
|
errorDetailId: i
|
|
873
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
878
|
+
}), /* @__PURE__ */ (0, I.jsx)(cn, {
|
|
874
879
|
verificationService: e,
|
|
875
880
|
errorIds: s
|
|
876
881
|
})]
|
|
@@ -881,7 +886,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
881
886
|
}),
|
|
882
887
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
883
888
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
884
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
889
|
+
children: /* @__PURE__ */ (0, I.jsx)(ln, {
|
|
885
890
|
verificationService: e,
|
|
886
891
|
errorIds: s,
|
|
887
892
|
redirectUrl: r
|
|
@@ -892,58 +897,58 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
892
897
|
]
|
|
893
898
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
894
899
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
895
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
900
|
+
children: /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
896
901
|
verificationService: e,
|
|
897
902
|
isCentered: !0,
|
|
898
903
|
hideFaqLink: c
|
|
899
904
|
})
|
|
900
905
|
})]
|
|
901
906
|
});
|
|
902
|
-
},
|
|
903
|
-
StepPendingComponent:
|
|
904
|
-
StepErrorComponent:
|
|
905
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
906
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
907
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
908
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
909
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
910
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
911
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
912
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
913
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
914
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
915
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
916
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
917
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
918
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
919
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
920
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
921
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
922
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
923
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
924
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
925
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
926
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
927
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
928
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
929
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
907
|
+
}, dn = {
|
|
908
|
+
StepPendingComponent: Zt,
|
|
909
|
+
StepErrorComponent: un,
|
|
910
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-BXgbCDPU.js")),
|
|
911
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-Db2qbG7p.js")),
|
|
912
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Cd2H3W4S.js")),
|
|
913
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Cd2H3W4S.js")),
|
|
914
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
915
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
916
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
917
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
918
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CPOFMRp_.js")),
|
|
919
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-Yib6xGXV.js")),
|
|
920
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-B4tL9MhD.js")),
|
|
921
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js")),
|
|
922
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js")),
|
|
923
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-D4zeYY-d.js")),
|
|
924
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CIUHCkK-.js")),
|
|
925
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-jV2FDRyA.js")),
|
|
926
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-2T8NjAkS.js")),
|
|
927
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-BLfVdTS4.js")),
|
|
928
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-BYJrzPhb.js")),
|
|
929
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-UWDCjeCP.js")),
|
|
930
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-CS2KUPEU.js")),
|
|
931
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-BVOXk0TZ.js").then((e) => e.n)),
|
|
932
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-BBL0N0po.js")),
|
|
933
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-B5pvxGza.js")),
|
|
934
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-BScMW4aa.js")),
|
|
930
935
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
931
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
932
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
933
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
934
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
935
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
936
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-D0GQexPa.js")),
|
|
937
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-DZ4924qb.js")),
|
|
938
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-BtaBmTdY.js")),
|
|
939
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-DpxG8Qao.js")),
|
|
940
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-DGCHonaO.js")),
|
|
936
941
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
937
|
-
}, z = (e) => (N.info("getComponent", e),
|
|
942
|
+
}, z = (e) => (N.info("getComponent", e), Ot(e) || dn[e]), fn = () => /* @__PURE__ */ (0, I.jsx)(_t, {}), pn = ({ stepToLoad: e, verificationService: t }) => {
|
|
938
943
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
939
944
|
let n;
|
|
940
945
|
switch ((0, F.useEffect)(() => {
|
|
941
946
|
try {
|
|
942
|
-
performance.mark(
|
|
947
|
+
performance.mark(w.INITIAL_STEP_LOAD);
|
|
943
948
|
} catch {}
|
|
944
949
|
}, []), F.useEffect(() => {
|
|
945
950
|
if (!["pending", "error"].includes(e)) try {
|
|
946
|
-
performance.mark(u.STEP_SEEN),
|
|
951
|
+
performance.mark(u.STEP_SEEN), f({
|
|
947
952
|
eventName: u.STEP_SEEN,
|
|
948
953
|
params: { step: e }
|
|
949
954
|
});
|
|
@@ -1062,37 +1067,37 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
1062
1067
|
case "cancelEmailLoop":
|
|
1063
1068
|
case "cancelSocialSecurityNumber":
|
|
1064
1069
|
case "docReviewLimitExceeded":
|
|
1065
|
-
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1070
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(un, {
|
|
1066
1071
|
verificationService: t,
|
|
1067
1072
|
errorId: "invalidStep"
|
|
1068
1073
|
});
|
|
1069
|
-
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1074
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(un, {
|
|
1070
1075
|
verificationService: t,
|
|
1071
1076
|
errorId: "invalidStep"
|
|
1072
1077
|
});
|
|
1073
1078
|
}
|
|
1074
1079
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1075
|
-
fallback:
|
|
1080
|
+
fallback: fn(),
|
|
1076
1081
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1077
1082
|
});
|
|
1078
|
-
},
|
|
1083
|
+
}, mn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1079
1084
|
dangerouslySetInnerHTML: e,
|
|
1080
1085
|
...t
|
|
1081
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1086
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), hn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1082
1087
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1083
1088
|
role: "note",
|
|
1084
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1089
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(he, {
|
|
1085
1090
|
className: "sid-test-mode-flag__link",
|
|
1086
1091
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1087
1092
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1088
1093
|
children: "(learn more)"
|
|
1089
1094
|
})]
|
|
1090
|
-
}) : null,
|
|
1095
|
+
}) : null, gn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1091
1096
|
className: "sid-header",
|
|
1092
1097
|
children: [
|
|
1093
1098
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1094
1099
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1095
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1100
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
1096
1101
|
verificationService: e,
|
|
1097
1102
|
fallbackLogo: r
|
|
1098
1103
|
})
|
|
@@ -1112,30 +1117,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1112
1117
|
}
|
|
1113
1118
|
//#endregion
|
|
1114
1119
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1115
|
-
function
|
|
1120
|
+
function _n(e, t) {
|
|
1116
1121
|
if (typeof e == "function") return e(t);
|
|
1117
1122
|
e != null && (e.current = t);
|
|
1118
1123
|
}
|
|
1119
|
-
function
|
|
1124
|
+
function vn(...e) {
|
|
1120
1125
|
return (t) => {
|
|
1121
1126
|
let n = !1, r = e.map((e) => {
|
|
1122
|
-
let r =
|
|
1127
|
+
let r = _n(e, t);
|
|
1123
1128
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1124
1129
|
});
|
|
1125
1130
|
if (n) return () => {
|
|
1126
1131
|
for (let t = 0; t < r.length; t++) {
|
|
1127
1132
|
let n = r[t];
|
|
1128
|
-
typeof n == "function" ? n() :
|
|
1133
|
+
typeof n == "function" ? n() : _n(e[t], null);
|
|
1129
1134
|
}
|
|
1130
1135
|
};
|
|
1131
1136
|
};
|
|
1132
1137
|
}
|
|
1133
1138
|
function V(...e) {
|
|
1134
|
-
return F.useCallback(
|
|
1139
|
+
return F.useCallback(vn(...e), e);
|
|
1135
1140
|
}
|
|
1136
1141
|
//#endregion
|
|
1137
1142
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1138
|
-
function
|
|
1143
|
+
function yn(e, t = []) {
|
|
1139
1144
|
let n = [];
|
|
1140
1145
|
function r(t, r) {
|
|
1141
1146
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1166,9 +1171,9 @@ function vn(e, t = []) {
|
|
|
1166
1171
|
} }), [n, r]);
|
|
1167
1172
|
};
|
|
1168
1173
|
};
|
|
1169
|
-
return i.scopeName = e, [r,
|
|
1174
|
+
return i.scopeName = e, [r, bn(i, ...t)];
|
|
1170
1175
|
}
|
|
1171
|
-
function
|
|
1176
|
+
function bn(...e) {
|
|
1172
1177
|
let t = e[0];
|
|
1173
1178
|
if (e.length === 1) return t;
|
|
1174
1179
|
let n = () => {
|
|
@@ -1192,9 +1197,9 @@ function yn(...e) {
|
|
|
1192
1197
|
//#endregion
|
|
1193
1198
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1194
1199
|
// @__NO_SIDE_EFFECTS__
|
|
1195
|
-
function
|
|
1196
|
-
let t = /* @__PURE__ */
|
|
1197
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1200
|
+
function xn(e) {
|
|
1201
|
+
let t = /* @__PURE__ */ Sn(e), n = F.forwardRef((e, n) => {
|
|
1202
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(wn);
|
|
1198
1203
|
if (o) {
|
|
1199
1204
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1200
1205
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1212,22 +1217,22 @@ function bn(e) {
|
|
|
1212
1217
|
return n.displayName = `${e}.Slot`, n;
|
|
1213
1218
|
}
|
|
1214
1219
|
// @__NO_SIDE_EFFECTS__
|
|
1215
|
-
function
|
|
1220
|
+
function Sn(e) {
|
|
1216
1221
|
let t = F.forwardRef((e, t) => {
|
|
1217
1222
|
let { children: n, ...r } = e;
|
|
1218
1223
|
if (F.isValidElement(n)) {
|
|
1219
|
-
let e =
|
|
1220
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1224
|
+
let e = En(n), i = Tn(r, n.props);
|
|
1225
|
+
return n.type !== F.Fragment && (i.ref = t ? vn(t, e) : e), F.cloneElement(n, i);
|
|
1221
1226
|
}
|
|
1222
1227
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1223
1228
|
});
|
|
1224
1229
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1225
1230
|
}
|
|
1226
|
-
var
|
|
1227
|
-
function
|
|
1228
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1231
|
+
var Cn = Symbol("radix.slottable");
|
|
1232
|
+
function wn(e) {
|
|
1233
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Cn;
|
|
1229
1234
|
}
|
|
1230
|
-
function
|
|
1235
|
+
function Tn(e, t) {
|
|
1231
1236
|
let n = { ...t };
|
|
1232
1237
|
for (let r in t) {
|
|
1233
1238
|
let i = e[r], a = t[r];
|
|
@@ -1244,7 +1249,7 @@ function wn(e, t) {
|
|
|
1244
1249
|
...n
|
|
1245
1250
|
};
|
|
1246
1251
|
}
|
|
1247
|
-
function
|
|
1252
|
+
function En(e) {
|
|
1248
1253
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1249
1254
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1250
1255
|
}
|
|
@@ -1269,7 +1274,7 @@ var H = [
|
|
|
1269
1274
|
"svg",
|
|
1270
1275
|
"ul"
|
|
1271
1276
|
].reduce((e, t) => {
|
|
1272
|
-
let n = /* @__PURE__ */
|
|
1277
|
+
let n = /* @__PURE__ */ xn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1273
1278
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1274
1279
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1275
1280
|
...a,
|
|
@@ -1281,12 +1286,12 @@ var H = [
|
|
|
1281
1286
|
[t]: r
|
|
1282
1287
|
};
|
|
1283
1288
|
}, {});
|
|
1284
|
-
function
|
|
1285
|
-
e &&
|
|
1289
|
+
function Dn(e, t) {
|
|
1290
|
+
e && pt.flushSync(() => e.dispatchEvent(t));
|
|
1286
1291
|
}
|
|
1287
1292
|
//#endregion
|
|
1288
1293
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1289
|
-
function
|
|
1294
|
+
function On(e) {
|
|
1290
1295
|
let t = F.useRef(e);
|
|
1291
1296
|
return F.useEffect(() => {
|
|
1292
1297
|
t.current = e;
|
|
@@ -1294,8 +1299,8 @@ function Dn(e) {
|
|
|
1294
1299
|
}
|
|
1295
1300
|
//#endregion
|
|
1296
1301
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1297
|
-
function
|
|
1298
|
-
let n =
|
|
1302
|
+
function kn(e, t = globalThis?.document) {
|
|
1303
|
+
let n = On(e);
|
|
1299
1304
|
F.useEffect(() => {
|
|
1300
1305
|
let e = (e) => {
|
|
1301
1306
|
e.key === "Escape" && n(e);
|
|
@@ -1305,23 +1310,23 @@ function On(e, t = globalThis?.document) {
|
|
|
1305
1310
|
}
|
|
1306
1311
|
//#endregion
|
|
1307
1312
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1308
|
-
var
|
|
1313
|
+
var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLayer.pointerDownOutside", Nn = "dismissableLayer.focusOutside", Pn, Fn = F.createContext({
|
|
1309
1314
|
layers: /* @__PURE__ */ new Set(),
|
|
1310
1315
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1311
1316
|
branches: /* @__PURE__ */ new Set()
|
|
1312
|
-
}),
|
|
1313
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1317
|
+
}), In = F.forwardRef((e, t) => {
|
|
1318
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(Fn), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = zn((e) => {
|
|
1314
1319
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1315
1320
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1316
|
-
}, f), S =
|
|
1321
|
+
}, f), S = Bn((e) => {
|
|
1317
1322
|
let t = e.target;
|
|
1318
1323
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1319
1324
|
}, f);
|
|
1320
|
-
return
|
|
1325
|
+
return kn((e) => {
|
|
1321
1326
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1322
1327
|
}, f), F.useEffect(() => {
|
|
1323
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1324
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1328
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Pn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Vn(), () => {
|
|
1329
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Pn);
|
|
1325
1330
|
};
|
|
1326
1331
|
}, [
|
|
1327
1332
|
u,
|
|
@@ -1329,10 +1334,10 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1329
1334
|
n,
|
|
1330
1335
|
l
|
|
1331
1336
|
]), F.useEffect(() => () => {
|
|
1332
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1337
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Vn());
|
|
1333
1338
|
}, [u, l]), F.useEffect(() => {
|
|
1334
1339
|
let e = () => p({});
|
|
1335
|
-
return document.addEventListener(
|
|
1340
|
+
return document.addEventListener(jn, e), () => document.removeEventListener(jn, e);
|
|
1336
1341
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1337
1342
|
...c,
|
|
1338
1343
|
ref: m,
|
|
@@ -1345,9 +1350,9 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1345
1350
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1346
1351
|
});
|
|
1347
1352
|
});
|
|
1348
|
-
|
|
1349
|
-
var
|
|
1350
|
-
let n = F.useContext(
|
|
1353
|
+
In.displayName = An;
|
|
1354
|
+
var Ln = "DismissableLayerBranch", Rn = F.forwardRef((e, t) => {
|
|
1355
|
+
let n = F.useContext(Fn), r = F.useRef(null), i = V(t, r);
|
|
1351
1356
|
return F.useEffect(() => {
|
|
1352
1357
|
let e = r.current;
|
|
1353
1358
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1358,14 +1363,14 @@ var In = "DismissableLayerBranch", Ln = F.forwardRef((e, t) => {
|
|
|
1358
1363
|
ref: i
|
|
1359
1364
|
});
|
|
1360
1365
|
});
|
|
1361
|
-
|
|
1362
|
-
function
|
|
1363
|
-
let n =
|
|
1366
|
+
Rn.displayName = Ln;
|
|
1367
|
+
function zn(e, t = globalThis?.document) {
|
|
1368
|
+
let n = On(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1364
1369
|
return F.useEffect(() => {
|
|
1365
1370
|
let e = (e) => {
|
|
1366
1371
|
if (e.target && !r.current) {
|
|
1367
1372
|
let r = function() {
|
|
1368
|
-
|
|
1373
|
+
Hn(Mn, n, a, { discrete: !0 });
|
|
1369
1374
|
}, a = { originalEvent: e };
|
|
1370
1375
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1371
1376
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1378,11 +1383,11 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1378
1383
|
};
|
|
1379
1384
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1380
1385
|
}
|
|
1381
|
-
function
|
|
1382
|
-
let n =
|
|
1386
|
+
function Bn(e, t = globalThis?.document) {
|
|
1387
|
+
let n = On(e), r = F.useRef(!1);
|
|
1383
1388
|
return F.useEffect(() => {
|
|
1384
1389
|
let e = (e) => {
|
|
1385
|
-
e.target && !r.current &&
|
|
1390
|
+
e.target && !r.current && Hn(Nn, n, { originalEvent: e }, { discrete: !1 });
|
|
1386
1391
|
};
|
|
1387
1392
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1388
1393
|
}, [t, n]), {
|
|
@@ -1390,40 +1395,40 @@ function zn(e, t = globalThis?.document) {
|
|
|
1390
1395
|
onBlurCapture: () => r.current = !1
|
|
1391
1396
|
};
|
|
1392
1397
|
}
|
|
1393
|
-
function
|
|
1394
|
-
let e = new CustomEvent(
|
|
1398
|
+
function Vn() {
|
|
1399
|
+
let e = new CustomEvent(jn);
|
|
1395
1400
|
document.dispatchEvent(e);
|
|
1396
1401
|
}
|
|
1397
|
-
function
|
|
1402
|
+
function Hn(e, t, n, { discrete: r }) {
|
|
1398
1403
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1399
1404
|
bubbles: !1,
|
|
1400
1405
|
cancelable: !0,
|
|
1401
1406
|
detail: n
|
|
1402
1407
|
});
|
|
1403
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1408
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Dn(i, a) : i.dispatchEvent(a);
|
|
1404
1409
|
}
|
|
1405
1410
|
//#endregion
|
|
1406
1411
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1412
|
+
var Un = 0;
|
|
1413
|
+
function Wn() {
|
|
1409
1414
|
F.useEffect(() => {
|
|
1410
1415
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1411
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1412
|
-
|
|
1416
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), Un++, () => {
|
|
1417
|
+
Un === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Un--;
|
|
1413
1418
|
};
|
|
1414
1419
|
}, []);
|
|
1415
1420
|
}
|
|
1416
|
-
function
|
|
1421
|
+
function Gn() {
|
|
1417
1422
|
let e = document.createElement("span");
|
|
1418
1423
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1419
1424
|
}
|
|
1420
1425
|
//#endregion
|
|
1421
1426
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1422
|
-
var
|
|
1427
|
+
var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn = {
|
|
1423
1428
|
bubbles: !1,
|
|
1424
1429
|
cancelable: !0
|
|
1425
|
-
},
|
|
1426
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1430
|
+
}, Yn = "FocusScope", Xn = F.forwardRef((e, t) => {
|
|
1431
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = On(i), u = On(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1427
1432
|
paused: !1,
|
|
1428
1433
|
pause() {
|
|
1429
1434
|
this.paused = !0;
|
|
@@ -1437,13 +1442,13 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1437
1442
|
let e = function(e) {
|
|
1438
1443
|
if (p.paused || !s) return;
|
|
1439
1444
|
let t = e.target;
|
|
1440
|
-
s.contains(t) ? d.current = t :
|
|
1445
|
+
s.contains(t) ? d.current = t : rr(d.current, { select: !0 });
|
|
1441
1446
|
}, t = function(e) {
|
|
1442
1447
|
if (p.paused || !s) return;
|
|
1443
1448
|
let t = e.relatedTarget;
|
|
1444
|
-
t !== null && (s.contains(t) ||
|
|
1449
|
+
t !== null && (s.contains(t) || rr(d.current, { select: !0 }));
|
|
1445
1450
|
}, n = function(e) {
|
|
1446
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1451
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && rr(s);
|
|
1447
1452
|
};
|
|
1448
1453
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1449
1454
|
let r = new MutationObserver(n);
|
|
@@ -1460,16 +1465,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1460
1465
|
p.paused
|
|
1461
1466
|
]), F.useEffect(() => {
|
|
1462
1467
|
if (s) {
|
|
1463
|
-
|
|
1468
|
+
ir.add(p);
|
|
1464
1469
|
let e = document.activeElement;
|
|
1465
1470
|
if (!s.contains(e)) {
|
|
1466
|
-
let t = new CustomEvent(
|
|
1467
|
-
s.addEventListener(
|
|
1471
|
+
let t = new CustomEvent(Kn, Jn);
|
|
1472
|
+
s.addEventListener(Kn, l), s.dispatchEvent(t), t.defaultPrevented || (Zn(sr($n(s)), { select: !0 }), document.activeElement === e && rr(s));
|
|
1468
1473
|
}
|
|
1469
1474
|
return () => {
|
|
1470
|
-
s.removeEventListener(
|
|
1471
|
-
let t = new CustomEvent(
|
|
1472
|
-
s.addEventListener(
|
|
1475
|
+
s.removeEventListener(Kn, l), setTimeout(() => {
|
|
1476
|
+
let t = new CustomEvent(qn, Jn);
|
|
1477
|
+
s.addEventListener(qn, u), s.dispatchEvent(t), t.defaultPrevented || rr(e ?? document.body, { select: !0 }), s.removeEventListener(qn, u), ir.remove(p);
|
|
1473
1478
|
}, 0);
|
|
1474
1479
|
};
|
|
1475
1480
|
}
|
|
@@ -1483,8 +1488,8 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1483
1488
|
if (!n && !r || p.paused) return;
|
|
1484
1489
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1485
1490
|
if (t && i) {
|
|
1486
|
-
let t = e.currentTarget, [r, a] =
|
|
1487
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1491
|
+
let t = e.currentTarget, [r, a] = Qn(t);
|
|
1492
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && rr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && rr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1488
1493
|
}
|
|
1489
1494
|
}, [
|
|
1490
1495
|
n,
|
|
@@ -1498,16 +1503,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1498
1503
|
onKeyDown: m
|
|
1499
1504
|
});
|
|
1500
1505
|
});
|
|
1501
|
-
|
|
1502
|
-
function
|
|
1506
|
+
Xn.displayName = Yn;
|
|
1507
|
+
function Zn(e, { select: t = !1 } = {}) {
|
|
1503
1508
|
let n = document.activeElement;
|
|
1504
|
-
for (let r of e) if (
|
|
1505
|
-
}
|
|
1506
|
-
function Zn(e) {
|
|
1507
|
-
let t = Qn(e);
|
|
1508
|
-
return [$n(t, e), $n(t.reverse(), e)];
|
|
1509
|
+
for (let r of e) if (rr(r, { select: t }), document.activeElement !== n) return;
|
|
1509
1510
|
}
|
|
1510
1511
|
function Qn(e) {
|
|
1512
|
+
let t = $n(e);
|
|
1513
|
+
return [er(t, e), er(t.reverse(), e)];
|
|
1514
|
+
}
|
|
1515
|
+
function $n(e) {
|
|
1511
1516
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1512
1517
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1513
1518
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1515,10 +1520,10 @@ function Qn(e) {
|
|
|
1515
1520
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1516
1521
|
return t;
|
|
1517
1522
|
}
|
|
1518
|
-
function
|
|
1519
|
-
for (let n of e) if (!
|
|
1523
|
+
function er(e, t) {
|
|
1524
|
+
for (let n of e) if (!tr(n, { upTo: t })) return n;
|
|
1520
1525
|
}
|
|
1521
|
-
function
|
|
1526
|
+
function tr(e, { upTo: t }) {
|
|
1522
1527
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1523
1528
|
for (; e;) {
|
|
1524
1529
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1527,62 +1532,62 @@ function er(e, { upTo: t }) {
|
|
|
1527
1532
|
}
|
|
1528
1533
|
return !1;
|
|
1529
1534
|
}
|
|
1530
|
-
function
|
|
1535
|
+
function nr(e) {
|
|
1531
1536
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1532
1537
|
}
|
|
1533
|
-
function
|
|
1538
|
+
function rr(e, { select: t = !1 } = {}) {
|
|
1534
1539
|
if (e && e.focus) {
|
|
1535
1540
|
let n = document.activeElement;
|
|
1536
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1541
|
+
e.focus({ preventScroll: !0 }), e !== n && nr(e) && t && e.select();
|
|
1537
1542
|
}
|
|
1538
1543
|
}
|
|
1539
|
-
var
|
|
1540
|
-
function
|
|
1544
|
+
var ir = ar();
|
|
1545
|
+
function ar() {
|
|
1541
1546
|
let e = [];
|
|
1542
1547
|
return {
|
|
1543
1548
|
add(t) {
|
|
1544
1549
|
let n = e[0];
|
|
1545
|
-
t !== n && n?.pause(), e =
|
|
1550
|
+
t !== n && n?.pause(), e = or(e, t), e.unshift(t);
|
|
1546
1551
|
},
|
|
1547
1552
|
remove(t) {
|
|
1548
|
-
e =
|
|
1553
|
+
e = or(e, t), e[0]?.resume();
|
|
1549
1554
|
}
|
|
1550
1555
|
};
|
|
1551
1556
|
}
|
|
1552
|
-
function
|
|
1557
|
+
function or(e, t) {
|
|
1553
1558
|
let n = [...e], r = n.indexOf(t);
|
|
1554
1559
|
return r !== -1 && n.splice(r, 1), n;
|
|
1555
1560
|
}
|
|
1556
|
-
function
|
|
1561
|
+
function sr(e) {
|
|
1557
1562
|
return e.filter((e) => e.tagName !== "A");
|
|
1558
1563
|
}
|
|
1559
1564
|
//#endregion
|
|
1560
1565
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
let [t, n] = F.useState(
|
|
1564
|
-
return
|
|
1565
|
-
e || n((e) => e ?? String(
|
|
1566
|
+
var cr = globalThis?.document ? F.useLayoutEffect : () => {}, lr = F.useId || (() => void 0), ur = 0;
|
|
1567
|
+
function dr(e) {
|
|
1568
|
+
let [t, n] = F.useState(lr());
|
|
1569
|
+
return cr(() => {
|
|
1570
|
+
e || n((e) => e ?? String(ur++));
|
|
1566
1571
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1567
1572
|
}
|
|
1568
1573
|
//#endregion
|
|
1569
1574
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1570
|
-
var
|
|
1575
|
+
var fr = [
|
|
1571
1576
|
"top",
|
|
1572
1577
|
"right",
|
|
1573
1578
|
"bottom",
|
|
1574
1579
|
"left"
|
|
1575
|
-
],
|
|
1580
|
+
], pr = Math.min, U = Math.max, mr = Math.round, hr = Math.floor, W = (e) => ({
|
|
1576
1581
|
x: e,
|
|
1577
1582
|
y: e
|
|
1578
|
-
}),
|
|
1583
|
+
}), gr = {
|
|
1579
1584
|
left: "right",
|
|
1580
1585
|
right: "left",
|
|
1581
1586
|
bottom: "top",
|
|
1582
1587
|
top: "bottom"
|
|
1583
1588
|
};
|
|
1584
|
-
function
|
|
1585
|
-
return U(e,
|
|
1589
|
+
function _r(e, t, n) {
|
|
1590
|
+
return U(e, pr(t, n));
|
|
1586
1591
|
}
|
|
1587
1592
|
function G(e, t) {
|
|
1588
1593
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1590,57 +1595,57 @@ function G(e, t) {
|
|
|
1590
1595
|
function K(e) {
|
|
1591
1596
|
return e.split("-")[0];
|
|
1592
1597
|
}
|
|
1593
|
-
function
|
|
1598
|
+
function vr(e) {
|
|
1594
1599
|
return e.split("-")[1];
|
|
1595
1600
|
}
|
|
1596
|
-
function
|
|
1601
|
+
function yr(e) {
|
|
1597
1602
|
return e === "x" ? "y" : "x";
|
|
1598
1603
|
}
|
|
1599
|
-
function
|
|
1604
|
+
function br(e) {
|
|
1600
1605
|
return e === "y" ? "height" : "width";
|
|
1601
1606
|
}
|
|
1602
1607
|
function q(e) {
|
|
1603
1608
|
let t = e[0];
|
|
1604
1609
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1605
1610
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return
|
|
1611
|
+
function xr(e) {
|
|
1612
|
+
return yr(q(e));
|
|
1608
1613
|
}
|
|
1609
|
-
function
|
|
1614
|
+
function Sr(e, t, n) {
|
|
1610
1615
|
n === void 0 && (n = !1);
|
|
1611
|
-
let r =
|
|
1612
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1616
|
+
let r = vr(e), i = xr(e), a = br(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1617
|
+
return t.reference[a] > t.floating[a] && (o = jr(o)), [o, jr(o)];
|
|
1613
1618
|
}
|
|
1614
|
-
function
|
|
1615
|
-
let t =
|
|
1619
|
+
function Cr(e) {
|
|
1620
|
+
let t = jr(e);
|
|
1616
1621
|
return [
|
|
1617
|
-
|
|
1622
|
+
wr(e),
|
|
1618
1623
|
t,
|
|
1619
|
-
|
|
1624
|
+
wr(t)
|
|
1620
1625
|
];
|
|
1621
1626
|
}
|
|
1622
|
-
function
|
|
1627
|
+
function wr(e) {
|
|
1623
1628
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1624
1629
|
}
|
|
1625
|
-
var
|
|
1626
|
-
function
|
|
1630
|
+
var Tr = ["left", "right"], Er = ["right", "left"], Dr = ["top", "bottom"], Or = ["bottom", "top"];
|
|
1631
|
+
function kr(e, t, n) {
|
|
1627
1632
|
switch (e) {
|
|
1628
1633
|
case "top":
|
|
1629
|
-
case "bottom": return n ? t ?
|
|
1634
|
+
case "bottom": return n ? t ? Er : Tr : t ? Tr : Er;
|
|
1630
1635
|
case "left":
|
|
1631
|
-
case "right": return t ?
|
|
1636
|
+
case "right": return t ? Dr : Or;
|
|
1632
1637
|
default: return [];
|
|
1633
1638
|
}
|
|
1634
1639
|
}
|
|
1635
|
-
function
|
|
1636
|
-
let i =
|
|
1637
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1640
|
+
function Ar(e, t, n, r) {
|
|
1641
|
+
let i = vr(e), a = kr(K(e), n === "start", r);
|
|
1642
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(wr)))), a;
|
|
1638
1643
|
}
|
|
1639
|
-
function
|
|
1644
|
+
function jr(e) {
|
|
1640
1645
|
let t = K(e);
|
|
1641
|
-
return
|
|
1646
|
+
return gr[t] + e.slice(t.length);
|
|
1642
1647
|
}
|
|
1643
|
-
function
|
|
1648
|
+
function Mr(e) {
|
|
1644
1649
|
return {
|
|
1645
1650
|
top: 0,
|
|
1646
1651
|
right: 0,
|
|
@@ -1649,15 +1654,15 @@ function jr(e) {
|
|
|
1649
1654
|
...e
|
|
1650
1655
|
};
|
|
1651
1656
|
}
|
|
1652
|
-
function
|
|
1657
|
+
function Nr(e) {
|
|
1653
1658
|
return typeof e == "number" ? {
|
|
1654
1659
|
top: e,
|
|
1655
1660
|
right: e,
|
|
1656
1661
|
bottom: e,
|
|
1657
1662
|
left: e
|
|
1658
|
-
} :
|
|
1663
|
+
} : Mr(e);
|
|
1659
1664
|
}
|
|
1660
|
-
function
|
|
1665
|
+
function Pr(e) {
|
|
1661
1666
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1662
1667
|
return {
|
|
1663
1668
|
width: r,
|
|
@@ -1672,8 +1677,8 @@ function Nr(e) {
|
|
|
1672
1677
|
}
|
|
1673
1678
|
//#endregion
|
|
1674
1679
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1675
|
-
function
|
|
1676
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1680
|
+
function Fr(e, t, n) {
|
|
1681
|
+
let { reference: r, floating: i } = e, a = q(t), o = xr(t), s = br(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1677
1682
|
switch (c) {
|
|
1678
1683
|
case "top":
|
|
1679
1684
|
p = {
|
|
@@ -1704,7 +1709,7 @@ function Pr(e, t, n) {
|
|
|
1704
1709
|
y: r.y
|
|
1705
1710
|
};
|
|
1706
1711
|
}
|
|
1707
|
-
switch (
|
|
1712
|
+
switch (vr(t)) {
|
|
1708
1713
|
case "start":
|
|
1709
1714
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1710
1715
|
break;
|
|
@@ -1714,9 +1719,9 @@ function Pr(e, t, n) {
|
|
|
1714
1719
|
}
|
|
1715
1720
|
return p;
|
|
1716
1721
|
}
|
|
1717
|
-
async function
|
|
1722
|
+
async function Ir(e, t) {
|
|
1718
1723
|
t === void 0 && (t = {});
|
|
1719
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1724
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Nr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Pr(await i.getClippingRect({
|
|
1720
1725
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1721
1726
|
boundary: c,
|
|
1722
1727
|
rootBoundary: l,
|
|
@@ -1729,7 +1734,7 @@ async function Fr(e, t) {
|
|
|
1729
1734
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1730
1735
|
x: 1,
|
|
1731
1736
|
y: 1
|
|
1732
|
-
}, y =
|
|
1737
|
+
}, y = Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1733
1738
|
elements: o,
|
|
1734
1739
|
rect: g,
|
|
1735
1740
|
offsetParent: _,
|
|
@@ -1742,15 +1747,15 @@ async function Fr(e, t) {
|
|
|
1742
1747
|
right: (y.right - h.right + p.right) / v.x
|
|
1743
1748
|
};
|
|
1744
1749
|
}
|
|
1745
|
-
var
|
|
1750
|
+
var Lr = 50, Rr = async (e, t, n) => {
|
|
1746
1751
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1747
1752
|
...o,
|
|
1748
|
-
detectOverflow:
|
|
1753
|
+
detectOverflow: Ir
|
|
1749
1754
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1750
1755
|
reference: e,
|
|
1751
1756
|
floating: t,
|
|
1752
1757
|
strategy: i
|
|
1753
|
-
}), { x: u, y: d } =
|
|
1758
|
+
}), { x: u, y: d } = Fr(l, r, c), f = r, p = 0, m = {};
|
|
1754
1759
|
for (let n = 0; n < a.length; n++) {
|
|
1755
1760
|
let h = a[n];
|
|
1756
1761
|
if (!h) continue;
|
|
@@ -1771,11 +1776,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1771
1776
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1772
1777
|
...m[g],
|
|
1773
1778
|
...b
|
|
1774
|
-
}, x && p <
|
|
1779
|
+
}, x && p < Lr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1775
1780
|
reference: e,
|
|
1776
1781
|
floating: t,
|
|
1777
1782
|
strategy: i
|
|
1778
|
-
}) : x.rects), {x: u, y: d} =
|
|
1783
|
+
}) : x.rects), {x: u, y: d} = Fr(l, f, c)), n = -1);
|
|
1779
1784
|
}
|
|
1780
1785
|
return {
|
|
1781
1786
|
x: u,
|
|
@@ -1784,18 +1789,18 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1784
1789
|
strategy: i,
|
|
1785
1790
|
middlewareData: m
|
|
1786
1791
|
};
|
|
1787
|
-
},
|
|
1792
|
+
}, zr = (e) => ({
|
|
1788
1793
|
name: "arrow",
|
|
1789
1794
|
options: e,
|
|
1790
1795
|
async fn(t) {
|
|
1791
1796
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1792
1797
|
if (l == null) return {};
|
|
1793
|
-
let d =
|
|
1798
|
+
let d = Nr(u), f = {
|
|
1794
1799
|
x: n,
|
|
1795
1800
|
y: r
|
|
1796
|
-
}, p =
|
|
1801
|
+
}, p = xr(i), m = br(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1797
1802
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1798
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1803
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = pr(d[_], T), ee = pr(d[v], T), D = E, O = C - h[m] - ee, k = C / 2 - h[m] / 2 + w, te = _r(D, k, O), A = !c.arrow && vr(i) != null && k !== te && a.reference[m] / 2 - (k < D ? E : ee) - h[m] / 2 < 0, j = A ? k < D ? k - D : k - O : 0;
|
|
1799
1804
|
return {
|
|
1800
1805
|
[p]: f[p] + j,
|
|
1801
1806
|
data: {
|
|
@@ -1806,7 +1811,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1806
1811
|
reset: A
|
|
1807
1812
|
};
|
|
1808
1813
|
}
|
|
1809
|
-
}),
|
|
1814
|
+
}), Br = function(e) {
|
|
1810
1815
|
return e === void 0 && (e = {}), {
|
|
1811
1816
|
name: "flip",
|
|
1812
1817
|
options: e,
|
|
@@ -1814,11 +1819,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1814
1819
|
var n;
|
|
1815
1820
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1816
1821
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1817
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1818
|
-
!d && x && b.push(...
|
|
1822
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [jr(o)] : Cr(o)), x = p !== "none";
|
|
1823
|
+
!d && x && b.push(...Ar(o, m, p, y));
|
|
1819
1824
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1820
1825
|
if (l && w.push(C[g]), u) {
|
|
1821
|
-
let e =
|
|
1826
|
+
let e = Sr(r, a, y);
|
|
1822
1827
|
w.push(C[e[0]], C[e[1]]);
|
|
1823
1828
|
}
|
|
1824
1829
|
if (T = [...T, {
|
|
@@ -1856,7 +1861,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1856
1861
|
}
|
|
1857
1862
|
};
|
|
1858
1863
|
};
|
|
1859
|
-
function
|
|
1864
|
+
function Vr(e, t) {
|
|
1860
1865
|
return {
|
|
1861
1866
|
top: e.top - t.height,
|
|
1862
1867
|
right: e.right - t.width,
|
|
@@ -1864,10 +1869,10 @@ function Br(e, t) {
|
|
|
1864
1869
|
left: e.left - t.width
|
|
1865
1870
|
};
|
|
1866
1871
|
}
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1872
|
+
function Hr(e) {
|
|
1873
|
+
return fr.some((t) => e[t] >= 0);
|
|
1869
1874
|
}
|
|
1870
|
-
var
|
|
1875
|
+
var Ur = function(e) {
|
|
1871
1876
|
return e === void 0 && (e = {}), {
|
|
1872
1877
|
name: "hide",
|
|
1873
1878
|
options: e,
|
|
@@ -1875,32 +1880,32 @@ var Hr = function(e) {
|
|
|
1875
1880
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1876
1881
|
switch (i) {
|
|
1877
1882
|
case "referenceHidden": {
|
|
1878
|
-
let e =
|
|
1883
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1879
1884
|
...a,
|
|
1880
1885
|
elementContext: "reference"
|
|
1881
1886
|
}), n.reference);
|
|
1882
1887
|
return { data: {
|
|
1883
1888
|
referenceHiddenOffsets: e,
|
|
1884
|
-
referenceHidden:
|
|
1889
|
+
referenceHidden: Hr(e)
|
|
1885
1890
|
} };
|
|
1886
1891
|
}
|
|
1887
1892
|
case "escaped": {
|
|
1888
|
-
let e =
|
|
1893
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1889
1894
|
...a,
|
|
1890
1895
|
altBoundary: !0
|
|
1891
1896
|
}), n.floating);
|
|
1892
1897
|
return { data: {
|
|
1893
1898
|
escapedOffsets: e,
|
|
1894
|
-
escaped:
|
|
1899
|
+
escaped: Hr(e)
|
|
1895
1900
|
} };
|
|
1896
1901
|
}
|
|
1897
1902
|
default: return {};
|
|
1898
1903
|
}
|
|
1899
1904
|
}
|
|
1900
1905
|
};
|
|
1901
|
-
},
|
|
1902
|
-
async function
|
|
1903
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1906
|
+
}, Wr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1907
|
+
async function Gr(e, t) {
|
|
1908
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = vr(n), c = q(n) === "y", l = Wr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1904
1909
|
mainAxis: d,
|
|
1905
1910
|
crossAxis: 0,
|
|
1906
1911
|
alignmentAxis: null
|
|
@@ -1917,13 +1922,13 @@ async function Wr(e, t) {
|
|
|
1917
1922
|
y: p * u
|
|
1918
1923
|
};
|
|
1919
1924
|
}
|
|
1920
|
-
var
|
|
1925
|
+
var Kr = function(e) {
|
|
1921
1926
|
return e === void 0 && (e = 0), {
|
|
1922
1927
|
name: "offset",
|
|
1923
1928
|
options: e,
|
|
1924
1929
|
async fn(t) {
|
|
1925
1930
|
var n;
|
|
1926
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1931
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Gr(t, e);
|
|
1927
1932
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1928
1933
|
x: r + s.x,
|
|
1929
1934
|
y: i + s.y,
|
|
@@ -1934,7 +1939,7 @@ var Gr = function(e) {
|
|
|
1934
1939
|
};
|
|
1935
1940
|
}
|
|
1936
1941
|
};
|
|
1937
|
-
},
|
|
1942
|
+
}, qr = function(e) {
|
|
1938
1943
|
return e === void 0 && (e = {}), {
|
|
1939
1944
|
name: "shift",
|
|
1940
1945
|
options: e,
|
|
@@ -1948,14 +1953,14 @@ var Gr = function(e) {
|
|
|
1948
1953
|
} }, ...l } = G(e, t), u = {
|
|
1949
1954
|
x: n,
|
|
1950
1955
|
y: r
|
|
1951
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1956
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = yr(f), m = u[p], h = u[f];
|
|
1952
1957
|
if (o) {
|
|
1953
1958
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1954
|
-
m =
|
|
1959
|
+
m = _r(n, m, r);
|
|
1955
1960
|
}
|
|
1956
1961
|
if (s) {
|
|
1957
1962
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1958
|
-
h =
|
|
1963
|
+
h = _r(n, h, r);
|
|
1959
1964
|
}
|
|
1960
1965
|
let g = c.fn({
|
|
1961
1966
|
...t,
|
|
@@ -1975,14 +1980,14 @@ var Gr = function(e) {
|
|
|
1975
1980
|
};
|
|
1976
1981
|
}
|
|
1977
1982
|
};
|
|
1978
|
-
},
|
|
1983
|
+
}, Jr = function(e) {
|
|
1979
1984
|
return e === void 0 && (e = {}), {
|
|
1980
1985
|
options: e,
|
|
1981
1986
|
fn(t) {
|
|
1982
1987
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1983
1988
|
x: n,
|
|
1984
1989
|
y: r
|
|
1985
|
-
}, d = q(i), f =
|
|
1990
|
+
}, d = q(i), f = yr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1986
1991
|
mainAxis: h,
|
|
1987
1992
|
crossAxis: 0
|
|
1988
1993
|
} : {
|
|
@@ -1995,7 +2000,7 @@ var Gr = function(e) {
|
|
|
1995
2000
|
p < t ? p = t : p > n && (p = n);
|
|
1996
2001
|
}
|
|
1997
2002
|
if (l) {
|
|
1998
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2003
|
+
let e = f === "y" ? "width" : "height", t = Wr.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
1999
2004
|
m < n ? m = n : m > r && (m = r);
|
|
2000
2005
|
}
|
|
2001
2006
|
return {
|
|
@@ -2004,15 +2009,15 @@ var Gr = function(e) {
|
|
|
2004
2009
|
};
|
|
2005
2010
|
}
|
|
2006
2011
|
};
|
|
2007
|
-
},
|
|
2012
|
+
}, Yr = function(e) {
|
|
2008
2013
|
return e === void 0 && (e = {}), {
|
|
2009
2014
|
name: "size",
|
|
2010
2015
|
options: e,
|
|
2011
2016
|
async fn(t) {
|
|
2012
2017
|
var n, r;
|
|
2013
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2018
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = vr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2014
2019
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2015
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2020
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = pr(h - u[g], v), x = pr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2016
2021
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2017
2022
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2018
2023
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2029,39 +2034,39 @@ var Gr = function(e) {
|
|
|
2029
2034
|
};
|
|
2030
2035
|
//#endregion
|
|
2031
2036
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2032
|
-
function
|
|
2037
|
+
function Xr() {
|
|
2033
2038
|
return typeof window < "u";
|
|
2034
2039
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return
|
|
2040
|
+
function Zr(e) {
|
|
2041
|
+
return Qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2037
2042
|
}
|
|
2038
2043
|
function J(e) {
|
|
2039
2044
|
var t;
|
|
2040
2045
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2041
2046
|
}
|
|
2042
2047
|
function Y(e) {
|
|
2043
|
-
return ((
|
|
2048
|
+
return ((Qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2044
2049
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2050
|
+
function Qr(e) {
|
|
2051
|
+
return Xr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2047
2052
|
}
|
|
2048
2053
|
function X(e) {
|
|
2049
|
-
return
|
|
2054
|
+
return Xr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2050
2055
|
}
|
|
2051
2056
|
function Z(e) {
|
|
2052
|
-
return
|
|
2053
|
-
}
|
|
2054
|
-
function Qr(e) {
|
|
2055
|
-
return !Yr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2057
|
+
return Xr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2056
2058
|
}
|
|
2057
2059
|
function $r(e) {
|
|
2058
|
-
|
|
2059
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2060
|
+
return !Xr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2060
2061
|
}
|
|
2061
2062
|
function ei(e) {
|
|
2062
|
-
|
|
2063
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2064
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2063
2065
|
}
|
|
2064
2066
|
function ti(e) {
|
|
2067
|
+
return /^(table|td|th)$/.test(Zr(e));
|
|
2068
|
+
}
|
|
2069
|
+
function ni(e) {
|
|
2065
2070
|
try {
|
|
2066
2071
|
if (e.matches(":popover-open")) return !0;
|
|
2067
2072
|
} catch {}
|
|
@@ -2071,30 +2076,30 @@ function ti(e) {
|
|
|
2071
2076
|
return !1;
|
|
2072
2077
|
}
|
|
2073
2078
|
}
|
|
2074
|
-
var
|
|
2075
|
-
function oi(e) {
|
|
2076
|
-
let t = X(e) ? Q(e) : e;
|
|
2077
|
-
return ii(t.transform) || ii(t.translate) || ii(t.scale) || ii(t.rotate) || ii(t.perspective) || !ci() && (ii(t.backdropFilter) || ii(t.filter)) || ni.test(t.willChange || "") || ri.test(t.contain || "");
|
|
2078
|
-
}
|
|
2079
|
+
var ri = /transform|translate|scale|rotate|perspective|filter/, ii = /paint|layout|strict|content/, ai = (e) => !!e && e !== "none", oi;
|
|
2079
2080
|
function si(e) {
|
|
2080
|
-
let t =
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2081
|
+
let t = X(e) ? Q(e) : e;
|
|
2082
|
+
return ai(t.transform) || ai(t.translate) || ai(t.scale) || ai(t.rotate) || ai(t.perspective) || !li() && (ai(t.backdropFilter) || ai(t.filter)) || ri.test(t.willChange || "") || ii.test(t.contain || "");
|
|
2083
|
+
}
|
|
2084
|
+
function ci(e) {
|
|
2085
|
+
let t = fi(e);
|
|
2086
|
+
for (; Z(t) && !ui(t);) {
|
|
2087
|
+
if (si(t)) return t;
|
|
2088
|
+
if (ni(t)) return null;
|
|
2089
|
+
t = fi(t);
|
|
2085
2090
|
}
|
|
2086
2091
|
return null;
|
|
2087
2092
|
}
|
|
2088
|
-
function
|
|
2089
|
-
return
|
|
2093
|
+
function li() {
|
|
2094
|
+
return oi ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), oi;
|
|
2090
2095
|
}
|
|
2091
|
-
function
|
|
2092
|
-
return /^(html|body|#document)$/.test(
|
|
2096
|
+
function ui(e) {
|
|
2097
|
+
return /^(html|body|#document)$/.test(Zr(e));
|
|
2093
2098
|
}
|
|
2094
2099
|
function Q(e) {
|
|
2095
2100
|
return J(e).getComputedStyle(e);
|
|
2096
2101
|
}
|
|
2097
|
-
function
|
|
2102
|
+
function di(e) {
|
|
2098
2103
|
return X(e) ? {
|
|
2099
2104
|
scrollLeft: e.scrollLeft,
|
|
2100
2105
|
scrollTop: e.scrollTop
|
|
@@ -2103,101 +2108,101 @@ function ui(e) {
|
|
|
2103
2108
|
scrollTop: e.scrollY
|
|
2104
2109
|
};
|
|
2105
2110
|
}
|
|
2106
|
-
function di(e) {
|
|
2107
|
-
if (Xr(e) === "html") return e;
|
|
2108
|
-
let t = e.assignedSlot || e.parentNode || Qr(e) && e.host || Y(e);
|
|
2109
|
-
return Qr(t) ? t.host : t;
|
|
2110
|
-
}
|
|
2111
2111
|
function fi(e) {
|
|
2112
|
-
|
|
2113
|
-
|
|
2112
|
+
if (Zr(e) === "html") return e;
|
|
2113
|
+
let t = e.assignedSlot || e.parentNode || $r(e) && e.host || Y(e);
|
|
2114
|
+
return $r(t) ? t.host : t;
|
|
2114
2115
|
}
|
|
2115
|
-
function pi(e
|
|
2116
|
+
function pi(e) {
|
|
2117
|
+
let t = fi(e);
|
|
2118
|
+
return ui(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ei(t) ? t : pi(t);
|
|
2119
|
+
}
|
|
2120
|
+
function mi(e, t, n) {
|
|
2116
2121
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2117
|
-
let r =
|
|
2122
|
+
let r = pi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2118
2123
|
if (i) {
|
|
2119
|
-
let e =
|
|
2120
|
-
return t.concat(a, a.visualViewport || [],
|
|
2121
|
-
} else return t.concat(r,
|
|
2124
|
+
let e = hi(a);
|
|
2125
|
+
return t.concat(a, a.visualViewport || [], ei(r) ? r : [], e && n ? mi(e) : []);
|
|
2126
|
+
} else return t.concat(r, mi(r, [], n));
|
|
2122
2127
|
}
|
|
2123
|
-
function
|
|
2128
|
+
function hi(e) {
|
|
2124
2129
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2125
2130
|
}
|
|
2126
2131
|
//#endregion
|
|
2127
2132
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2128
|
-
function
|
|
2129
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2133
|
+
function gi(e) {
|
|
2134
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = mr(n) !== a || mr(r) !== o;
|
|
2130
2135
|
return s && (n = a, r = o), {
|
|
2131
2136
|
width: n,
|
|
2132
2137
|
height: r,
|
|
2133
2138
|
$: s
|
|
2134
2139
|
};
|
|
2135
2140
|
}
|
|
2136
|
-
function
|
|
2141
|
+
function _i(e) {
|
|
2137
2142
|
return X(e) ? e : e.contextElement;
|
|
2138
2143
|
}
|
|
2139
|
-
function
|
|
2140
|
-
let t =
|
|
2144
|
+
function vi(e) {
|
|
2145
|
+
let t = _i(e);
|
|
2141
2146
|
if (!Z(t)) return W(1);
|
|
2142
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2147
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = gi(t), o = (a ? mr(n.width) : n.width) / r, s = (a ? mr(n.height) : n.height) / i;
|
|
2143
2148
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2144
2149
|
x: o,
|
|
2145
2150
|
y: s
|
|
2146
2151
|
};
|
|
2147
2152
|
}
|
|
2148
|
-
var
|
|
2149
|
-
function
|
|
2153
|
+
var yi = /*#__PURE__*/ W(0);
|
|
2154
|
+
function bi(e) {
|
|
2150
2155
|
let t = J(e);
|
|
2151
|
-
return !
|
|
2156
|
+
return !li() || !t.visualViewport ? yi : {
|
|
2152
2157
|
x: t.visualViewport.offsetLeft,
|
|
2153
2158
|
y: t.visualViewport.offsetTop
|
|
2154
2159
|
};
|
|
2155
2160
|
}
|
|
2156
|
-
function
|
|
2161
|
+
function xi(e, t, n) {
|
|
2157
2162
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2158
2163
|
}
|
|
2159
|
-
function
|
|
2164
|
+
function Si(e, t, n, r) {
|
|
2160
2165
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2161
|
-
let i = e.getBoundingClientRect(), a =
|
|
2162
|
-
t && (r ? X(r) && (o =
|
|
2163
|
-
let s =
|
|
2166
|
+
let i = e.getBoundingClientRect(), a = _i(e), o = W(1);
|
|
2167
|
+
t && (r ? X(r) && (o = vi(r)) : o = vi(e));
|
|
2168
|
+
let s = xi(a, n, r) ? bi(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2164
2169
|
if (a) {
|
|
2165
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2170
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = hi(n);
|
|
2166
2171
|
for (; i && r && t !== n;) {
|
|
2167
|
-
let e =
|
|
2168
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2172
|
+
let e = vi(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2173
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = hi(n);
|
|
2169
2174
|
}
|
|
2170
2175
|
}
|
|
2171
|
-
return
|
|
2176
|
+
return Pr({
|
|
2172
2177
|
width: u,
|
|
2173
2178
|
height: d,
|
|
2174
2179
|
x: c,
|
|
2175
2180
|
y: l
|
|
2176
2181
|
});
|
|
2177
2182
|
}
|
|
2178
|
-
function Si(e, t) {
|
|
2179
|
-
let n = ui(e).scrollLeft;
|
|
2180
|
-
return t ? t.left + n : xi(Y(e)).left + n;
|
|
2181
|
-
}
|
|
2182
2183
|
function Ci(e, t) {
|
|
2184
|
+
let n = di(e).scrollLeft;
|
|
2185
|
+
return t ? t.left + n : Si(Y(e)).left + n;
|
|
2186
|
+
}
|
|
2187
|
+
function wi(e, t) {
|
|
2183
2188
|
let n = e.getBoundingClientRect();
|
|
2184
2189
|
return {
|
|
2185
|
-
x: n.left + t.scrollLeft -
|
|
2190
|
+
x: n.left + t.scrollLeft - Ci(e, n),
|
|
2186
2191
|
y: n.top + t.scrollTop
|
|
2187
2192
|
};
|
|
2188
2193
|
}
|
|
2189
|
-
function
|
|
2190
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2194
|
+
function Ti(e) {
|
|
2195
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ni(t.floating) : !1;
|
|
2191
2196
|
if (r === o || s && a) return n;
|
|
2192
2197
|
let c = {
|
|
2193
2198
|
scrollLeft: 0,
|
|
2194
2199
|
scrollTop: 0
|
|
2195
2200
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2196
|
-
if ((d || !d && !a) && ((
|
|
2197
|
-
let e =
|
|
2198
|
-
l =
|
|
2201
|
+
if ((d || !d && !a) && ((Zr(r) !== "body" || ei(o)) && (c = di(r)), d)) {
|
|
2202
|
+
let e = Si(r);
|
|
2203
|
+
l = vi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2199
2204
|
}
|
|
2200
|
-
let f = o && !d && !a ?
|
|
2205
|
+
let f = o && !d && !a ? wi(o, c) : W(0);
|
|
2201
2206
|
return {
|
|
2202
2207
|
width: n.width * l.x,
|
|
2203
2208
|
height: n.height * l.y,
|
|
@@ -2205,11 +2210,11 @@ function wi(e) {
|
|
|
2205
2210
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2206
2211
|
};
|
|
2207
2212
|
}
|
|
2208
|
-
function
|
|
2213
|
+
function Ei(e) {
|
|
2209
2214
|
return Array.from(e.getClientRects());
|
|
2210
2215
|
}
|
|
2211
|
-
function
|
|
2212
|
-
let t = Y(e), n =
|
|
2216
|
+
function Di(e) {
|
|
2217
|
+
let t = Y(e), n = di(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ci(e), s = -n.scrollTop;
|
|
2213
2218
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2214
2219
|
width: i,
|
|
2215
2220
|
height: a,
|
|
@@ -2217,19 +2222,19 @@ function Ei(e) {
|
|
|
2217
2222
|
y: s
|
|
2218
2223
|
};
|
|
2219
2224
|
}
|
|
2220
|
-
var
|
|
2221
|
-
function
|
|
2225
|
+
var Oi = 25;
|
|
2226
|
+
function ki(e, t) {
|
|
2222
2227
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2223
2228
|
if (i) {
|
|
2224
2229
|
a = i.width, o = i.height;
|
|
2225
|
-
let e =
|
|
2230
|
+
let e = li();
|
|
2226
2231
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2227
2232
|
}
|
|
2228
|
-
let l =
|
|
2233
|
+
let l = Ci(r);
|
|
2229
2234
|
if (l <= 0) {
|
|
2230
2235
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
2231
|
-
o <=
|
|
2232
|
-
} else l <=
|
|
2236
|
+
o <= Oi && (a -= o);
|
|
2237
|
+
} else l <= Oi && (a += l);
|
|
2233
2238
|
return {
|
|
2234
2239
|
width: a,
|
|
2235
2240
|
height: o,
|
|
@@ -2237,8 +2242,8 @@ function Oi(e, t) {
|
|
|
2237
2242
|
y: c
|
|
2238
2243
|
};
|
|
2239
2244
|
}
|
|
2240
|
-
function
|
|
2241
|
-
let n =
|
|
2245
|
+
function Ai(e, t) {
|
|
2246
|
+
let n = Si(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? vi(e) : W(1);
|
|
2242
2247
|
return {
|
|
2243
2248
|
width: e.clientWidth * a.x,
|
|
2244
2249
|
height: e.clientHeight * a.y,
|
|
@@ -2246,13 +2251,13 @@ function ki(e, t) {
|
|
|
2246
2251
|
y: r * a.y
|
|
2247
2252
|
};
|
|
2248
2253
|
}
|
|
2249
|
-
function
|
|
2254
|
+
function ji(e, t, n) {
|
|
2250
2255
|
let r;
|
|
2251
|
-
if (t === "viewport") r =
|
|
2252
|
-
else if (t === "document") r =
|
|
2253
|
-
else if (X(t)) r =
|
|
2256
|
+
if (t === "viewport") r = ki(e, n);
|
|
2257
|
+
else if (t === "document") r = Di(Y(e));
|
|
2258
|
+
else if (X(t)) r = Ai(t, n);
|
|
2254
2259
|
else {
|
|
2255
|
-
let n =
|
|
2260
|
+
let n = bi(e);
|
|
2256
2261
|
r = {
|
|
2257
2262
|
x: t.x - n.x,
|
|
2258
2263
|
y: t.y - n.y,
|
|
@@ -2260,27 +2265,27 @@ function Ai(e, t, n) {
|
|
|
2260
2265
|
height: t.height
|
|
2261
2266
|
};
|
|
2262
2267
|
}
|
|
2263
|
-
return
|
|
2264
|
-
}
|
|
2265
|
-
function ji(e, t) {
|
|
2266
|
-
let n = di(e);
|
|
2267
|
-
return n === t || !X(n) || li(n) ? !1 : Q(n).position === "fixed" || ji(n, t);
|
|
2268
|
+
return Pr(r);
|
|
2268
2269
|
}
|
|
2269
2270
|
function Mi(e, t) {
|
|
2271
|
+
let n = fi(e);
|
|
2272
|
+
return n === t || !X(n) || ui(n) ? !1 : Q(n).position === "fixed" || Mi(n, t);
|
|
2273
|
+
}
|
|
2274
|
+
function Ni(e, t) {
|
|
2270
2275
|
let n = t.get(e);
|
|
2271
2276
|
if (n) return n;
|
|
2272
|
-
let r =
|
|
2273
|
-
for (; X(o) && !
|
|
2274
|
-
let t = Q(o), n =
|
|
2275
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2277
|
+
let r = mi(e, [], !1).filter((e) => X(e) && Zr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? fi(e) : e;
|
|
2278
|
+
for (; X(o) && !ui(o);) {
|
|
2279
|
+
let t = Q(o), n = si(o);
|
|
2280
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ei(o) && !n && Mi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = fi(o);
|
|
2276
2281
|
}
|
|
2277
2282
|
return t.set(e, r), r;
|
|
2278
2283
|
}
|
|
2279
|
-
function
|
|
2280
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2284
|
+
function Pi(e) {
|
|
2285
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ni(t) ? [] : Ni(t, this._c) : [].concat(n), r], o = ji(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2281
2286
|
for (let e = 1; e < a.length; e++) {
|
|
2282
|
-
let n =
|
|
2283
|
-
s = U(n.top, s), c =
|
|
2287
|
+
let n = ji(t, a[e], i);
|
|
2288
|
+
s = U(n.top, s), c = pr(n.right, c), l = pr(n.bottom, l), u = U(n.left, u);
|
|
2284
2289
|
}
|
|
2285
2290
|
return {
|
|
2286
2291
|
width: c - u,
|
|
@@ -2289,27 +2294,27 @@ function Ni(e) {
|
|
|
2289
2294
|
y: s
|
|
2290
2295
|
};
|
|
2291
2296
|
}
|
|
2292
|
-
function
|
|
2293
|
-
let { width: t, height: n } =
|
|
2297
|
+
function Fi(e) {
|
|
2298
|
+
let { width: t, height: n } = gi(e);
|
|
2294
2299
|
return {
|
|
2295
2300
|
width: t,
|
|
2296
2301
|
height: n
|
|
2297
2302
|
};
|
|
2298
2303
|
}
|
|
2299
|
-
function
|
|
2300
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2304
|
+
function Ii(e, t, n) {
|
|
2305
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Si(e, !0, a, t), s = {
|
|
2301
2306
|
scrollLeft: 0,
|
|
2302
2307
|
scrollTop: 0
|
|
2303
2308
|
}, c = W(0);
|
|
2304
2309
|
function l() {
|
|
2305
|
-
c.x =
|
|
2310
|
+
c.x = Ci(i);
|
|
2306
2311
|
}
|
|
2307
|
-
if (r || !r && !a) if ((
|
|
2308
|
-
let e =
|
|
2312
|
+
if (r || !r && !a) if ((Zr(t) !== "body" || ei(i)) && (s = di(t)), r) {
|
|
2313
|
+
let e = Si(t, !0, a, t);
|
|
2309
2314
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2310
2315
|
} else i && l();
|
|
2311
2316
|
a && !r && i && l();
|
|
2312
|
-
let u = i && !r && !a ?
|
|
2317
|
+
let u = i && !r && !a ? wi(i, s) : W(0);
|
|
2313
2318
|
return {
|
|
2314
2319
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2315
2320
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2317,34 +2322,34 @@ function Fi(e, t, n) {
|
|
|
2317
2322
|
height: o.height
|
|
2318
2323
|
};
|
|
2319
2324
|
}
|
|
2320
|
-
function
|
|
2325
|
+
function Li(e) {
|
|
2321
2326
|
return Q(e).position === "static";
|
|
2322
2327
|
}
|
|
2323
|
-
function
|
|
2328
|
+
function Ri(e, t) {
|
|
2324
2329
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2325
2330
|
if (t) return t(e);
|
|
2326
2331
|
let n = e.offsetParent;
|
|
2327
2332
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2328
2333
|
}
|
|
2329
|
-
function
|
|
2334
|
+
function zi(e, t) {
|
|
2330
2335
|
let n = J(e);
|
|
2331
|
-
if (
|
|
2336
|
+
if (ni(e)) return n;
|
|
2332
2337
|
if (!Z(e)) {
|
|
2333
|
-
let t =
|
|
2334
|
-
for (; t && !
|
|
2335
|
-
if (X(t) && !
|
|
2336
|
-
t =
|
|
2338
|
+
let t = fi(e);
|
|
2339
|
+
for (; t && !ui(t);) {
|
|
2340
|
+
if (X(t) && !Li(t)) return t;
|
|
2341
|
+
t = fi(t);
|
|
2337
2342
|
}
|
|
2338
2343
|
return n;
|
|
2339
2344
|
}
|
|
2340
|
-
let r =
|
|
2341
|
-
for (; r &&
|
|
2342
|
-
return r &&
|
|
2345
|
+
let r = Ri(e, t);
|
|
2346
|
+
for (; r && ti(r) && Li(r);) r = Ri(r, t);
|
|
2347
|
+
return r && ui(r) && Li(r) && !si(r) ? n : r || ci(e) || n;
|
|
2343
2348
|
}
|
|
2344
|
-
var
|
|
2345
|
-
let t = this.getOffsetParent ||
|
|
2349
|
+
var Bi = async function(e) {
|
|
2350
|
+
let t = this.getOffsetParent || zi, n = this.getDimensions, r = await n(e.floating);
|
|
2346
2351
|
return {
|
|
2347
|
-
reference:
|
|
2352
|
+
reference: Ii(e.reference, await t(e.floating), e.strategy),
|
|
2348
2353
|
floating: {
|
|
2349
2354
|
x: 0,
|
|
2350
2355
|
y: 0,
|
|
@@ -2353,25 +2358,25 @@ var zi = async function(e) {
|
|
|
2353
2358
|
}
|
|
2354
2359
|
};
|
|
2355
2360
|
};
|
|
2356
|
-
function
|
|
2361
|
+
function Vi(e) {
|
|
2357
2362
|
return Q(e).direction === "rtl";
|
|
2358
2363
|
}
|
|
2359
|
-
var
|
|
2360
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2364
|
+
var Hi = {
|
|
2365
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ti,
|
|
2361
2366
|
getDocumentElement: Y,
|
|
2362
|
-
getClippingRect:
|
|
2363
|
-
getOffsetParent:
|
|
2364
|
-
getElementRects:
|
|
2365
|
-
getClientRects:
|
|
2366
|
-
getDimensions:
|
|
2367
|
-
getScale:
|
|
2367
|
+
getClippingRect: Pi,
|
|
2368
|
+
getOffsetParent: zi,
|
|
2369
|
+
getElementRects: Bi,
|
|
2370
|
+
getClientRects: Ei,
|
|
2371
|
+
getDimensions: Fi,
|
|
2372
|
+
getScale: vi,
|
|
2368
2373
|
isElement: X,
|
|
2369
|
-
isRTL:
|
|
2374
|
+
isRTL: Vi
|
|
2370
2375
|
};
|
|
2371
|
-
function
|
|
2376
|
+
function Ui(e, t) {
|
|
2372
2377
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2373
2378
|
}
|
|
2374
|
-
function
|
|
2379
|
+
function Wi(e, t) {
|
|
2375
2380
|
let n = null, r, i = Y(e);
|
|
2376
2381
|
function a() {
|
|
2377
2382
|
var e;
|
|
@@ -2381,9 +2386,9 @@ function Ui(e, t) {
|
|
|
2381
2386
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2382
2387
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2383
2388
|
if (s || t(), !f || !p) return;
|
|
2384
|
-
let m =
|
|
2389
|
+
let m = hr(d), h = hr(i.clientWidth - (u + f)), g = hr(i.clientHeight - (d + p)), _ = hr(u), v = {
|
|
2385
2390
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2386
|
-
threshold: U(0,
|
|
2391
|
+
threshold: U(0, pr(1, c)) || 1
|
|
2387
2392
|
}, y = !0;
|
|
2388
2393
|
function b(t) {
|
|
2389
2394
|
let n = t[0].intersectionRatio;
|
|
@@ -2393,7 +2398,7 @@ function Ui(e, t) {
|
|
|
2393
2398
|
o(!1, 1e-7);
|
|
2394
2399
|
}, 1e3);
|
|
2395
2400
|
}
|
|
2396
|
-
n === 1 && !
|
|
2401
|
+
n === 1 && !Ui(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2397
2402
|
}
|
|
2398
2403
|
try {
|
|
2399
2404
|
n = new IntersectionObserver(b, {
|
|
@@ -2407,13 +2412,13 @@ function Ui(e, t) {
|
|
|
2407
2412
|
}
|
|
2408
2413
|
return o(!0), a;
|
|
2409
2414
|
}
|
|
2410
|
-
function
|
|
2415
|
+
function Gi(e, t, n, r) {
|
|
2411
2416
|
r === void 0 && (r = {});
|
|
2412
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2417
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = _i(e), u = i || a ? [...l ? mi(l) : [], ...t ? mi(t) : []] : [];
|
|
2413
2418
|
u.forEach((e) => {
|
|
2414
2419
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2415
2420
|
});
|
|
2416
|
-
let d = l && s ?
|
|
2421
|
+
let d = l && s ? Wi(l, n) : null, f = -1, p = null;
|
|
2417
2422
|
o && (p = new ResizeObserver((e) => {
|
|
2418
2423
|
let [r] = e;
|
|
2419
2424
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2421,11 +2426,11 @@ function Wi(e, t, n, r) {
|
|
|
2421
2426
|
(e = p) == null || e.observe(t);
|
|
2422
2427
|
})), n();
|
|
2423
2428
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2424
|
-
let m, h = c ?
|
|
2429
|
+
let m, h = c ? Si(e) : null;
|
|
2425
2430
|
c && g();
|
|
2426
2431
|
function g() {
|
|
2427
|
-
let t =
|
|
2428
|
-
h && !
|
|
2432
|
+
let t = Si(e);
|
|
2433
|
+
h && !Ui(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2429
2434
|
}
|
|
2430
2435
|
return n(), () => {
|
|
2431
2436
|
var e;
|
|
@@ -2434,20 +2439,20 @@ function Wi(e, t, n, r) {
|
|
|
2434
2439
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2435
2440
|
};
|
|
2436
2441
|
}
|
|
2437
|
-
var
|
|
2442
|
+
var Ki = Kr, qi = qr, Ji = Br, Yi = Yr, Xi = Ur, Zi = zr, Qi = Jr, $i = (e, t, n) => {
|
|
2438
2443
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2439
|
-
platform:
|
|
2444
|
+
platform: Hi,
|
|
2440
2445
|
...n
|
|
2441
2446
|
}, a = {
|
|
2442
2447
|
...i.platform,
|
|
2443
2448
|
_c: r
|
|
2444
2449
|
};
|
|
2445
|
-
return
|
|
2450
|
+
return Rr(e, t, {
|
|
2446
2451
|
...i,
|
|
2447
2452
|
platform: a
|
|
2448
2453
|
});
|
|
2449
|
-
},
|
|
2450
|
-
function
|
|
2454
|
+
}, ea = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2455
|
+
function ta(e, t) {
|
|
2451
2456
|
if (e === t) return !0;
|
|
2452
2457
|
if (typeof e != typeof t) return !1;
|
|
2453
2458
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2455,33 +2460,33 @@ function ea(e, t) {
|
|
|
2455
2460
|
if (e && t && typeof e == "object") {
|
|
2456
2461
|
if (Array.isArray(e)) {
|
|
2457
2462
|
if (n = e.length, n !== t.length) return !1;
|
|
2458
|
-
for (r = n; r-- !== 0;) if (!
|
|
2463
|
+
for (r = n; r-- !== 0;) if (!ta(e[r], t[r])) return !1;
|
|
2459
2464
|
return !0;
|
|
2460
2465
|
}
|
|
2461
2466
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2462
2467
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2463
2468
|
for (r = n; r-- !== 0;) {
|
|
2464
2469
|
let n = i[r];
|
|
2465
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2470
|
+
if (!(n === "_owner" && e.$$typeof) && !ta(e[n], t[n])) return !1;
|
|
2466
2471
|
}
|
|
2467
2472
|
return !0;
|
|
2468
2473
|
}
|
|
2469
2474
|
return e !== e && t !== t;
|
|
2470
2475
|
}
|
|
2471
|
-
function
|
|
2476
|
+
function na(e) {
|
|
2472
2477
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2473
2478
|
}
|
|
2474
|
-
function
|
|
2475
|
-
let n =
|
|
2479
|
+
function ra(e, t) {
|
|
2480
|
+
let n = na(e);
|
|
2476
2481
|
return Math.round(t * n) / n;
|
|
2477
2482
|
}
|
|
2478
|
-
function
|
|
2483
|
+
function ia(e) {
|
|
2479
2484
|
let t = F.useRef(e);
|
|
2480
|
-
return
|
|
2485
|
+
return ea(() => {
|
|
2481
2486
|
t.current = e;
|
|
2482
2487
|
}), t;
|
|
2483
2488
|
}
|
|
2484
|
-
function
|
|
2489
|
+
function aa(e) {
|
|
2485
2490
|
e === void 0 && (e = {});
|
|
2486
2491
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2487
2492
|
x: 0,
|
|
@@ -2491,24 +2496,24 @@ function ia(e) {
|
|
|
2491
2496
|
middlewareData: {},
|
|
2492
2497
|
isPositioned: !1
|
|
2493
2498
|
}), [f, p] = F.useState(r);
|
|
2494
|
-
|
|
2499
|
+
ta(f, r) || p(r);
|
|
2495
2500
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2496
2501
|
e !== S.current && (S.current = e, h(e));
|
|
2497
2502
|
}, []), y = F.useCallback((e) => {
|
|
2498
2503
|
e !== C.current && (C.current = e, _(e));
|
|
2499
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null,
|
|
2504
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, E = ia(c), ee = ia(i), D = ia(l), O = F.useCallback(() => {
|
|
2500
2505
|
if (!S.current || !C.current) return;
|
|
2501
2506
|
let e = {
|
|
2502
2507
|
placement: t,
|
|
2503
2508
|
strategy: n,
|
|
2504
2509
|
middleware: f
|
|
2505
2510
|
};
|
|
2506
|
-
|
|
2511
|
+
ee.current && (e.platform = ee.current), $i(S.current, C.current, e).then((e) => {
|
|
2507
2512
|
let t = {
|
|
2508
2513
|
...e,
|
|
2509
2514
|
isPositioned: D.current !== !1
|
|
2510
2515
|
};
|
|
2511
|
-
k.current && !
|
|
2516
|
+
k.current && !ta(w.current, t) && (w.current = t, pt.flushSync(() => {
|
|
2512
2517
|
d(t);
|
|
2513
2518
|
}));
|
|
2514
2519
|
});
|
|
@@ -2516,28 +2521,28 @@ function ia(e) {
|
|
|
2516
2521
|
f,
|
|
2517
2522
|
t,
|
|
2518
2523
|
n,
|
|
2519
|
-
|
|
2524
|
+
ee,
|
|
2520
2525
|
D
|
|
2521
2526
|
]);
|
|
2522
|
-
|
|
2527
|
+
ea(() => {
|
|
2523
2528
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2524
2529
|
...e,
|
|
2525
2530
|
isPositioned: !1
|
|
2526
2531
|
})));
|
|
2527
2532
|
}, [l]);
|
|
2528
2533
|
let k = F.useRef(!1);
|
|
2529
|
-
|
|
2534
|
+
ea(() => (k.current = !0, () => {
|
|
2530
2535
|
k.current = !1;
|
|
2531
|
-
}), []),
|
|
2536
|
+
}), []), ea(() => {
|
|
2532
2537
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2533
|
-
if (
|
|
2538
|
+
if (E.current) return E.current(b, x, O);
|
|
2534
2539
|
O();
|
|
2535
2540
|
}
|
|
2536
2541
|
}, [
|
|
2537
2542
|
b,
|
|
2538
2543
|
x,
|
|
2539
2544
|
O,
|
|
2540
|
-
|
|
2545
|
+
E,
|
|
2541
2546
|
T
|
|
2542
2547
|
]);
|
|
2543
2548
|
let te = F.useMemo(() => ({
|
|
@@ -2555,11 +2560,11 @@ function ia(e) {
|
|
|
2555
2560
|
top: 0
|
|
2556
2561
|
};
|
|
2557
2562
|
if (!A.floating) return e;
|
|
2558
|
-
let t =
|
|
2563
|
+
let t = ra(A.floating, u.x), r = ra(A.floating, u.y);
|
|
2559
2564
|
return s ? {
|
|
2560
2565
|
...e,
|
|
2561
2566
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2562
|
-
...
|
|
2567
|
+
...na(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2563
2568
|
} : {
|
|
2564
2569
|
position: n,
|
|
2565
2570
|
left: t,
|
|
@@ -2586,7 +2591,7 @@ function ia(e) {
|
|
|
2586
2591
|
j
|
|
2587
2592
|
]);
|
|
2588
2593
|
}
|
|
2589
|
-
var
|
|
2594
|
+
var oa = (e) => {
|
|
2590
2595
|
function t(e) {
|
|
2591
2596
|
return {}.hasOwnProperty.call(e, "current");
|
|
2592
2597
|
}
|
|
@@ -2595,22 +2600,15 @@ var aa = (e) => {
|
|
|
2595
2600
|
options: e,
|
|
2596
2601
|
fn(n) {
|
|
2597
2602
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2598
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2603
|
+
return r && t(r) ? r.current == null ? {} : Zi({
|
|
2599
2604
|
element: r.current,
|
|
2600
2605
|
padding: i
|
|
2601
|
-
}).fn(n) : r ?
|
|
2606
|
+
}).fn(n) : r ? Zi({
|
|
2602
2607
|
element: r,
|
|
2603
2608
|
padding: i
|
|
2604
2609
|
}).fn(n) : {};
|
|
2605
2610
|
}
|
|
2606
2611
|
};
|
|
2607
|
-
}, oa = (e, t) => {
|
|
2608
|
-
let n = Gi(e);
|
|
2609
|
-
return {
|
|
2610
|
-
name: n.name,
|
|
2611
|
-
fn: n.fn,
|
|
2612
|
-
options: [e, t]
|
|
2613
|
-
};
|
|
2614
2612
|
}, sa = (e, t) => {
|
|
2615
2613
|
let n = Ki(e);
|
|
2616
2614
|
return {
|
|
@@ -2618,17 +2616,17 @@ var aa = (e) => {
|
|
|
2618
2616
|
fn: n.fn,
|
|
2619
2617
|
options: [e, t]
|
|
2620
2618
|
};
|
|
2621
|
-
}, ca = (e, t) =>
|
|
2622
|
-
fn: Zi(e).fn,
|
|
2623
|
-
options: [e, t]
|
|
2624
|
-
}), la = (e, t) => {
|
|
2619
|
+
}, ca = (e, t) => {
|
|
2625
2620
|
let n = qi(e);
|
|
2626
2621
|
return {
|
|
2627
2622
|
name: n.name,
|
|
2628
2623
|
fn: n.fn,
|
|
2629
2624
|
options: [e, t]
|
|
2630
2625
|
};
|
|
2631
|
-
},
|
|
2626
|
+
}, la = (e, t) => ({
|
|
2627
|
+
fn: Qi(e).fn,
|
|
2628
|
+
options: [e, t]
|
|
2629
|
+
}), ua = (e, t) => {
|
|
2632
2630
|
let n = Ji(e);
|
|
2633
2631
|
return {
|
|
2634
2632
|
name: n.name,
|
|
@@ -2643,13 +2641,20 @@ var aa = (e) => {
|
|
|
2643
2641
|
options: [e, t]
|
|
2644
2642
|
};
|
|
2645
2643
|
}, fa = (e, t) => {
|
|
2646
|
-
let n =
|
|
2644
|
+
let n = Xi(e);
|
|
2645
|
+
return {
|
|
2646
|
+
name: n.name,
|
|
2647
|
+
fn: n.fn,
|
|
2648
|
+
options: [e, t]
|
|
2649
|
+
};
|
|
2650
|
+
}, pa = (e, t) => {
|
|
2651
|
+
let n = oa(e);
|
|
2647
2652
|
return {
|
|
2648
2653
|
name: n.name,
|
|
2649
2654
|
fn: n.fn,
|
|
2650
2655
|
options: [e, t]
|
|
2651
2656
|
};
|
|
2652
|
-
},
|
|
2657
|
+
}, ma = "Arrow", ha = F.forwardRef((e, t) => {
|
|
2653
2658
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2654
2659
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2655
2660
|
...a,
|
|
@@ -2661,13 +2666,13 @@ var aa = (e) => {
|
|
|
2661
2666
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2662
2667
|
});
|
|
2663
2668
|
});
|
|
2664
|
-
|
|
2665
|
-
var
|
|
2669
|
+
ha.displayName = ma;
|
|
2670
|
+
var ga = ha;
|
|
2666
2671
|
//#endregion
|
|
2667
2672
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2668
|
-
function
|
|
2673
|
+
function _a(e) {
|
|
2669
2674
|
let [t, n] = F.useState(void 0);
|
|
2670
|
-
return
|
|
2675
|
+
return cr(() => {
|
|
2671
2676
|
if (e) {
|
|
2672
2677
|
n({
|
|
2673
2678
|
width: e.offsetWidth,
|
|
@@ -2691,18 +2696,18 @@ function ga(e) {
|
|
|
2691
2696
|
}
|
|
2692
2697
|
//#endregion
|
|
2693
2698
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2694
|
-
var
|
|
2699
|
+
var va = "Popper", [ya, ba] = yn(va), [xa, Sa] = ya(va), Ca = (e) => {
|
|
2695
2700
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2696
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2701
|
+
return /* @__PURE__ */ (0, I.jsx)(xa, {
|
|
2697
2702
|
scope: t,
|
|
2698
2703
|
anchor: r,
|
|
2699
2704
|
onAnchorChange: i,
|
|
2700
2705
|
children: n
|
|
2701
2706
|
});
|
|
2702
2707
|
};
|
|
2703
|
-
|
|
2704
|
-
var
|
|
2705
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2708
|
+
Ca.displayName = va;
|
|
2709
|
+
var wa = "PopperAnchor", Ta = F.forwardRef((e, t) => {
|
|
2710
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Sa(wa, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2706
2711
|
return F.useEffect(() => {
|
|
2707
2712
|
let e = c.current;
|
|
2708
2713
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2711,61 +2716,61 @@ var Ca = "PopperAnchor", wa = F.forwardRef((e, t) => {
|
|
|
2711
2716
|
ref: s
|
|
2712
2717
|
});
|
|
2713
2718
|
});
|
|
2714
|
-
|
|
2715
|
-
var
|
|
2716
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g =
|
|
2719
|
+
Ta.displayName = wa;
|
|
2720
|
+
var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = F.forwardRef((e, t) => {
|
|
2721
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = Sa(Ea, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = _a(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2717
2722
|
top: 0,
|
|
2718
2723
|
right: 0,
|
|
2719
2724
|
bottom: 0,
|
|
2720
2725
|
left: 0,
|
|
2721
2726
|
...u
|
|
2722
|
-
},
|
|
2723
|
-
padding:
|
|
2724
|
-
boundary:
|
|
2727
|
+
}, ee = Array.isArray(l) ? l : [l], D = ee.length > 0, O = {
|
|
2728
|
+
padding: E,
|
|
2729
|
+
boundary: ee.filter(Na),
|
|
2725
2730
|
altBoundary: D
|
|
2726
|
-
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } =
|
|
2731
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = aa({
|
|
2727
2732
|
strategy: "fixed",
|
|
2728
2733
|
placement: T,
|
|
2729
|
-
whileElementsMounted: (...e) =>
|
|
2734
|
+
whileElementsMounted: (...e) => Gi(...e, { animationFrame: p === "always" }),
|
|
2730
2735
|
elements: { reference: g.anchor },
|
|
2731
2736
|
middleware: [
|
|
2732
|
-
|
|
2737
|
+
sa({
|
|
2733
2738
|
mainAxis: i + w,
|
|
2734
2739
|
alignmentAxis: o
|
|
2735
2740
|
}),
|
|
2736
|
-
c &&
|
|
2741
|
+
c && ca({
|
|
2737
2742
|
mainAxis: !0,
|
|
2738
2743
|
crossAxis: !1,
|
|
2739
|
-
limiter: d === "partial" ?
|
|
2744
|
+
limiter: d === "partial" ? la() : void 0,
|
|
2740
2745
|
...O
|
|
2741
2746
|
}),
|
|
2742
|
-
c &&
|
|
2743
|
-
|
|
2747
|
+
c && ua({ ...O }),
|
|
2748
|
+
da({
|
|
2744
2749
|
...O,
|
|
2745
2750
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2746
2751
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2747
2752
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
2748
2753
|
}
|
|
2749
2754
|
}),
|
|
2750
|
-
b &&
|
|
2755
|
+
b && pa({
|
|
2751
2756
|
element: b,
|
|
2752
2757
|
padding: s
|
|
2753
2758
|
}),
|
|
2754
|
-
|
|
2759
|
+
Pa({
|
|
2755
2760
|
arrowWidth: C,
|
|
2756
2761
|
arrowHeight: w
|
|
2757
2762
|
}),
|
|
2758
|
-
f &&
|
|
2763
|
+
f && fa({
|
|
2759
2764
|
strategy: "referenceHidden",
|
|
2760
2765
|
...O
|
|
2761
2766
|
})
|
|
2762
2767
|
]
|
|
2763
|
-
}), [re, ie] =
|
|
2764
|
-
|
|
2768
|
+
}), [re, ie] = Fa(A), ae = On(m);
|
|
2769
|
+
cr(() => {
|
|
2765
2770
|
j && ae?.();
|
|
2766
2771
|
}, [j, ae]);
|
|
2767
2772
|
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = F.useState();
|
|
2768
|
-
return
|
|
2773
|
+
return cr(() => {
|
|
2769
2774
|
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2770
2775
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2771
2776
|
ref: k.setFloating,
|
|
@@ -2782,7 +2787,7 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = F.forwardRef((e, t) => {
|
|
|
2782
2787
|
}
|
|
2783
2788
|
},
|
|
2784
2789
|
dir: e.dir,
|
|
2785
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2790
|
+
children: /* @__PURE__ */ (0, I.jsx)(Da, {
|
|
2786
2791
|
scope: n,
|
|
2787
2792
|
placedSide: re,
|
|
2788
2793
|
onArrowChange: x,
|
|
@@ -2802,14 +2807,14 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = F.forwardRef((e, t) => {
|
|
|
2802
2807
|
})
|
|
2803
2808
|
});
|
|
2804
2809
|
});
|
|
2805
|
-
|
|
2806
|
-
var
|
|
2810
|
+
ka.displayName = Ea;
|
|
2811
|
+
var Aa = "PopperArrow", ja = {
|
|
2807
2812
|
top: "bottom",
|
|
2808
2813
|
right: "left",
|
|
2809
2814
|
bottom: "top",
|
|
2810
2815
|
left: "right"
|
|
2811
|
-
},
|
|
2812
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2816
|
+
}, Ma = F.forwardRef(function(e, t) {
|
|
2817
|
+
let { __scopePopper: n, ...r } = e, i = Oa(Aa, n), a = ja[i.placedSide];
|
|
2813
2818
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2814
2819
|
ref: i.onArrowChange,
|
|
2815
2820
|
style: {
|
|
@@ -2831,7 +2836,7 @@ var ka = "PopperArrow", Aa = {
|
|
|
2831
2836
|
}[i.placedSide],
|
|
2832
2837
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2833
2838
|
},
|
|
2834
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2839
|
+
children: /* @__PURE__ */ (0, I.jsx)(ga, {
|
|
2835
2840
|
...r,
|
|
2836
2841
|
ref: t,
|
|
2837
2842
|
style: {
|
|
@@ -2841,15 +2846,15 @@ var ka = "PopperArrow", Aa = {
|
|
|
2841
2846
|
})
|
|
2842
2847
|
});
|
|
2843
2848
|
});
|
|
2844
|
-
|
|
2845
|
-
function
|
|
2849
|
+
Ma.displayName = Aa;
|
|
2850
|
+
function Na(e) {
|
|
2846
2851
|
return e !== null;
|
|
2847
2852
|
}
|
|
2848
|
-
var
|
|
2853
|
+
var Pa = (e) => ({
|
|
2849
2854
|
name: "transformOrigin",
|
|
2850
2855
|
options: e,
|
|
2851
2856
|
fn(t) {
|
|
2852
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2857
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = Fa(n), u = {
|
|
2853
2858
|
start: "0%",
|
|
2854
2859
|
center: "50%",
|
|
2855
2860
|
end: "100%"
|
|
@@ -2860,32 +2865,32 @@ var Na = (e) => ({
|
|
|
2860
2865
|
} };
|
|
2861
2866
|
}
|
|
2862
2867
|
});
|
|
2863
|
-
function
|
|
2868
|
+
function Fa(e) {
|
|
2864
2869
|
let [t, n = "center"] = e.split("-");
|
|
2865
2870
|
return [t, n];
|
|
2866
2871
|
}
|
|
2867
|
-
var
|
|
2872
|
+
var Ia = Ca, La = Ta, Ra = ka, za = Ma, Ba = "Portal", Va = F.forwardRef((e, t) => {
|
|
2868
2873
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2869
|
-
|
|
2874
|
+
cr(() => a(!0), []);
|
|
2870
2875
|
let o = n || i && globalThis?.document?.body;
|
|
2871
|
-
return o ?
|
|
2876
|
+
return o ? pt.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2872
2877
|
...r,
|
|
2873
2878
|
ref: t
|
|
2874
2879
|
}), o) : null;
|
|
2875
2880
|
});
|
|
2876
|
-
|
|
2881
|
+
Va.displayName = Ba;
|
|
2877
2882
|
//#endregion
|
|
2878
2883
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2879
|
-
function
|
|
2884
|
+
function Ha(e, t) {
|
|
2880
2885
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2881
2886
|
}
|
|
2882
|
-
var
|
|
2883
|
-
let { present: t, children: n } = e, r =
|
|
2887
|
+
var Ua = (e) => {
|
|
2888
|
+
let { present: t, children: n } = e, r = Wa(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Ka(i));
|
|
2884
2889
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2885
2890
|
};
|
|
2886
|
-
|
|
2887
|
-
function
|
|
2888
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2891
|
+
Ua.displayName = "Presence";
|
|
2892
|
+
function Wa(e) {
|
|
2893
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Ha(e ? "mounted" : "unmounted", {
|
|
2889
2894
|
mounted: {
|
|
2890
2895
|
UNMOUNT: "unmounted",
|
|
2891
2896
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2897,18 +2902,18 @@ function Ua(e) {
|
|
|
2897
2902
|
unmounted: { MOUNT: "mounted" }
|
|
2898
2903
|
});
|
|
2899
2904
|
return F.useEffect(() => {
|
|
2900
|
-
let e =
|
|
2905
|
+
let e = Ga(r.current);
|
|
2901
2906
|
a.current = o === "mounted" ? e : "none";
|
|
2902
|
-
}, [o]),
|
|
2907
|
+
}, [o]), cr(() => {
|
|
2903
2908
|
let t = r.current, n = i.current;
|
|
2904
2909
|
if (n !== e) {
|
|
2905
|
-
let r = a.current, o =
|
|
2910
|
+
let r = a.current, o = Ga(t);
|
|
2906
2911
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2907
2912
|
}
|
|
2908
|
-
}, [e, s]),
|
|
2913
|
+
}, [e, s]), cr(() => {
|
|
2909
2914
|
if (t) {
|
|
2910
2915
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2911
|
-
let o =
|
|
2916
|
+
let o = Ga(r.current).includes(CSS.escape(a.animationName));
|
|
2912
2917
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2913
2918
|
let r = t.style.animationFillMode;
|
|
2914
2919
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2916,7 +2921,7 @@ function Ua(e) {
|
|
|
2916
2921
|
});
|
|
2917
2922
|
}
|
|
2918
2923
|
}, c = (e) => {
|
|
2919
|
-
e.target === t && (a.current =
|
|
2924
|
+
e.target === t && (a.current = Ga(r.current));
|
|
2920
2925
|
};
|
|
2921
2926
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2922
2927
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2929,18 +2934,18 @@ function Ua(e) {
|
|
|
2929
2934
|
}, [])
|
|
2930
2935
|
};
|
|
2931
2936
|
}
|
|
2932
|
-
function
|
|
2937
|
+
function Ga(e) {
|
|
2933
2938
|
return e?.animationName || "none";
|
|
2934
2939
|
}
|
|
2935
|
-
function
|
|
2940
|
+
function Ka(e) {
|
|
2936
2941
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2937
2942
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2938
2943
|
}
|
|
2939
2944
|
//#endregion
|
|
2940
2945
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2941
|
-
var
|
|
2942
|
-
function
|
|
2943
|
-
let [i, a, o] =
|
|
2946
|
+
var qa = F.useInsertionEffect || cr;
|
|
2947
|
+
function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2948
|
+
let [i, a, o] = Ya({
|
|
2944
2949
|
defaultProp: t,
|
|
2945
2950
|
onChange: n
|
|
2946
2951
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2953,7 +2958,7 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2953
2958
|
}
|
|
2954
2959
|
return [c, F.useCallback((t) => {
|
|
2955
2960
|
if (s) {
|
|
2956
|
-
let n =
|
|
2961
|
+
let n = Xa(t) ? t(e) : t;
|
|
2957
2962
|
n !== e && o.current?.(n);
|
|
2958
2963
|
} else a(t);
|
|
2959
2964
|
}, [
|
|
@@ -2963,9 +2968,9 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2968
|
o
|
|
2964
2969
|
])];
|
|
2965
2970
|
}
|
|
2966
|
-
function
|
|
2971
|
+
function Ya({ defaultProp: e, onChange: t }) {
|
|
2967
2972
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2968
|
-
return
|
|
2973
|
+
return qa(() => {
|
|
2969
2974
|
a.current = t;
|
|
2970
2975
|
}, [t]), F.useEffect(() => {
|
|
2971
2976
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2975,27 +2980,27 @@ function Ja({ defaultProp: e, onChange: t }) {
|
|
|
2975
2980
|
a
|
|
2976
2981
|
];
|
|
2977
2982
|
}
|
|
2978
|
-
function
|
|
2983
|
+
function Xa(e) {
|
|
2979
2984
|
return typeof e == "function";
|
|
2980
2985
|
}
|
|
2981
2986
|
//#endregion
|
|
2982
2987
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2983
|
-
var
|
|
2988
|
+
var Za = function(e) {
|
|
2984
2989
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2985
|
-
},
|
|
2986
|
-
return e && (e.host ||
|
|
2987
|
-
},
|
|
2990
|
+
}, Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {}, to = 0, no = function(e) {
|
|
2991
|
+
return e && (e.host || no(e.parentNode));
|
|
2992
|
+
}, ro = function(e, t) {
|
|
2988
2993
|
return t.map(function(t) {
|
|
2989
2994
|
if (e.contains(t)) return t;
|
|
2990
|
-
var n =
|
|
2995
|
+
var n = no(t);
|
|
2991
2996
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2992
2997
|
}).filter(function(e) {
|
|
2993
2998
|
return !!e;
|
|
2994
2999
|
});
|
|
2995
|
-
},
|
|
2996
|
-
var i =
|
|
2997
|
-
|
|
2998
|
-
var a =
|
|
3000
|
+
}, io = function(e, t, n, r) {
|
|
3001
|
+
var i = ro(t, Array.isArray(e) ? e : [e]);
|
|
3002
|
+
eo[n] || (eo[n] = /* @__PURE__ */ new WeakMap());
|
|
3003
|
+
var a = eo[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2999
3004
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3000
3005
|
};
|
|
3001
3006
|
i.forEach(l);
|
|
@@ -3003,23 +3008,23 @@ var Xa = function(e) {
|
|
|
3003
3008
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3004
3009
|
if (s.has(e)) u(e);
|
|
3005
3010
|
else try {
|
|
3006
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3007
|
-
|
|
3011
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Qa.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3012
|
+
Qa.set(e, c), a.set(e, l), o.push(e), c === 1 && i && $a.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3008
3013
|
} catch (t) {
|
|
3009
3014
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3010
3015
|
}
|
|
3011
3016
|
});
|
|
3012
3017
|
};
|
|
3013
|
-
return u(t), s.clear(),
|
|
3018
|
+
return u(t), s.clear(), to++, function() {
|
|
3014
3019
|
o.forEach(function(e) {
|
|
3015
|
-
var t =
|
|
3016
|
-
|
|
3017
|
-
}),
|
|
3020
|
+
var t = Qa.get(e) - 1, i = a.get(e) - 1;
|
|
3021
|
+
Qa.set(e, t), a.set(e, i), t || ($a.has(e) || e.removeAttribute(r), $a.delete(e)), i || e.removeAttribute(n);
|
|
3022
|
+
}), to--, to || (Qa = /* @__PURE__ */ new WeakMap(), Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {});
|
|
3018
3023
|
};
|
|
3019
|
-
},
|
|
3024
|
+
}, ao = function(e, t, n) {
|
|
3020
3025
|
n === void 0 && (n = "data-aria-hidden");
|
|
3021
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3022
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3026
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Za(e);
|
|
3027
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), io(r, i, n, "aria-hidden")) : function() {
|
|
3023
3028
|
return null;
|
|
3024
3029
|
};
|
|
3025
3030
|
}, $ = function() {
|
|
@@ -3028,13 +3033,13 @@ var Xa = function(e) {
|
|
|
3028
3033
|
return e;
|
|
3029
3034
|
}, $.apply(this, arguments);
|
|
3030
3035
|
};
|
|
3031
|
-
function
|
|
3036
|
+
function oo(e, t) {
|
|
3032
3037
|
var n = {};
|
|
3033
3038
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3034
3039
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3035
3040
|
return n;
|
|
3036
3041
|
}
|
|
3037
|
-
function
|
|
3042
|
+
function so(e, t, n, r) {
|
|
3038
3043
|
function i(e) {
|
|
3039
3044
|
return e instanceof n ? e : new n(function(t) {
|
|
3040
3045
|
t(e);
|
|
@@ -3061,7 +3066,7 @@ function oo(e, t, n, r) {
|
|
|
3061
3066
|
c((r = r.apply(e, t || [])).next());
|
|
3062
3067
|
});
|
|
3063
3068
|
}
|
|
3064
|
-
function
|
|
3069
|
+
function co(e, t) {
|
|
3065
3070
|
var n = {
|
|
3066
3071
|
label: 0,
|
|
3067
3072
|
sent: function() {
|
|
@@ -3131,7 +3136,7 @@ function so(e, t) {
|
|
|
3131
3136
|
};
|
|
3132
3137
|
}
|
|
3133
3138
|
}
|
|
3134
|
-
function
|
|
3139
|
+
function lo(e, t) {
|
|
3135
3140
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3136
3141
|
if (!n) return e;
|
|
3137
3142
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3148,25 +3153,25 @@ function co(e, t) {
|
|
|
3148
3153
|
}
|
|
3149
3154
|
return a;
|
|
3150
3155
|
}
|
|
3151
|
-
function
|
|
3152
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3156
|
+
function uo() {
|
|
3157
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(lo(arguments[t]));
|
|
3153
3158
|
return e;
|
|
3154
3159
|
}
|
|
3155
|
-
function
|
|
3160
|
+
function fo(e, t, n) {
|
|
3156
3161
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3157
3162
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3158
3163
|
}
|
|
3159
3164
|
//#endregion
|
|
3160
3165
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3161
|
-
var
|
|
3166
|
+
var po = "right-scroll-bar-position", mo = "width-before-scroll-bar", ho = "with-scroll-bars-hidden", go = "--removed-body-scroll-bar-size";
|
|
3162
3167
|
//#endregion
|
|
3163
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3164
|
-
function
|
|
3169
|
+
function _o(e, t) {
|
|
3165
3170
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3166
3171
|
}
|
|
3167
3172
|
//#endregion
|
|
3168
3173
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3169
|
-
function
|
|
3174
|
+
function vo(e, t) {
|
|
3170
3175
|
var n = (0, F.useState)(function() {
|
|
3171
3176
|
return {
|
|
3172
3177
|
value: e,
|
|
@@ -3186,33 +3191,33 @@ function _o(e, t) {
|
|
|
3186
3191
|
}
|
|
3187
3192
|
//#endregion
|
|
3188
3193
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3189
|
-
var
|
|
3190
|
-
function
|
|
3191
|
-
var n =
|
|
3194
|
+
var yo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, bo = /* @__PURE__ */ new WeakMap();
|
|
3195
|
+
function xo(e, t) {
|
|
3196
|
+
var n = vo(t || null, function(t) {
|
|
3192
3197
|
return e.forEach(function(e) {
|
|
3193
|
-
return
|
|
3198
|
+
return _o(e, t);
|
|
3194
3199
|
});
|
|
3195
3200
|
});
|
|
3196
|
-
return
|
|
3197
|
-
var t =
|
|
3201
|
+
return yo(function() {
|
|
3202
|
+
var t = bo.get(n);
|
|
3198
3203
|
if (t) {
|
|
3199
3204
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3200
3205
|
r.forEach(function(e) {
|
|
3201
|
-
i.has(e) ||
|
|
3206
|
+
i.has(e) || _o(e, null);
|
|
3202
3207
|
}), i.forEach(function(e) {
|
|
3203
|
-
r.has(e) ||
|
|
3208
|
+
r.has(e) || _o(e, a);
|
|
3204
3209
|
});
|
|
3205
3210
|
}
|
|
3206
|
-
|
|
3211
|
+
bo.set(n, e);
|
|
3207
3212
|
}, [e]), n;
|
|
3208
3213
|
}
|
|
3209
3214
|
//#endregion
|
|
3210
3215
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3211
|
-
function
|
|
3216
|
+
function So(e) {
|
|
3212
3217
|
return e;
|
|
3213
3218
|
}
|
|
3214
|
-
function
|
|
3215
|
-
t === void 0 && (t =
|
|
3219
|
+
function Co(e, t) {
|
|
3220
|
+
t === void 0 && (t = So);
|
|
3216
3221
|
var n = [], r = !1;
|
|
3217
3222
|
return {
|
|
3218
3223
|
read: function() {
|
|
@@ -3265,9 +3270,9 @@ function So(e, t) {
|
|
|
3265
3270
|
}
|
|
3266
3271
|
};
|
|
3267
3272
|
}
|
|
3268
|
-
function
|
|
3273
|
+
function wo(e) {
|
|
3269
3274
|
e === void 0 && (e = {});
|
|
3270
|
-
var t =
|
|
3275
|
+
var t = Co(null);
|
|
3271
3276
|
return t.options = $({
|
|
3272
3277
|
async: !0,
|
|
3273
3278
|
ssr: !1
|
|
@@ -3275,25 +3280,25 @@ function Co(e) {
|
|
|
3275
3280
|
}
|
|
3276
3281
|
//#endregion
|
|
3277
3282
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3278
|
-
var
|
|
3279
|
-
var t = e.sideCar, n =
|
|
3283
|
+
var To = function(e) {
|
|
3284
|
+
var t = e.sideCar, n = oo(e, ["sideCar"]);
|
|
3280
3285
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3281
3286
|
var r = t.read();
|
|
3282
3287
|
if (!r) throw Error("Sidecar medium not found");
|
|
3283
3288
|
return F.createElement(r, $({}, n));
|
|
3284
3289
|
};
|
|
3285
|
-
|
|
3286
|
-
function
|
|
3287
|
-
return e.useMedium(t),
|
|
3290
|
+
To.isSideCarExport = !0;
|
|
3291
|
+
function Eo(e, t) {
|
|
3292
|
+
return e.useMedium(t), To;
|
|
3288
3293
|
}
|
|
3289
3294
|
//#endregion
|
|
3290
3295
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3291
|
-
var
|
|
3296
|
+
var Do = wo(), Oo = function() {}, ko = F.forwardRef(function(e, t) {
|
|
3292
3297
|
var n = F.useRef(null), r = F.useState({
|
|
3293
|
-
onScrollCapture:
|
|
3294
|
-
onWheelCapture:
|
|
3295
|
-
onTouchMoveCapture:
|
|
3296
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3298
|
+
onScrollCapture: Oo,
|
|
3299
|
+
onWheelCapture: Oo,
|
|
3300
|
+
onTouchMoveCapture: Oo
|
|
3301
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = oo(e, [
|
|
3297
3302
|
"forwardProps",
|
|
3298
3303
|
"children",
|
|
3299
3304
|
"className",
|
|
@@ -3307,9 +3312,9 @@ var Eo = Co(), Do = function() {}, Oo = F.forwardRef(function(e, t) {
|
|
|
3307
3312
|
"allowPinchZoom",
|
|
3308
3313
|
"as",
|
|
3309
3314
|
"gapMode"
|
|
3310
|
-
]), x = f, S =
|
|
3315
|
+
]), x = f, S = xo([n, t]), C = $($({}, b), i);
|
|
3311
3316
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3312
|
-
sideCar:
|
|
3317
|
+
sideCar: Do,
|
|
3313
3318
|
removeScrollBar: l,
|
|
3314
3319
|
shards: d,
|
|
3315
3320
|
noRelative: p,
|
|
@@ -3324,47 +3329,47 @@ var Eo = Co(), Do = function() {}, Oo = F.forwardRef(function(e, t) {
|
|
|
3324
3329
|
ref: S
|
|
3325
3330
|
}), s));
|
|
3326
3331
|
});
|
|
3327
|
-
|
|
3332
|
+
ko.defaultProps = {
|
|
3328
3333
|
enabled: !0,
|
|
3329
3334
|
removeScrollBar: !0,
|
|
3330
3335
|
inert: !1
|
|
3331
|
-
},
|
|
3332
|
-
fullWidth:
|
|
3333
|
-
zeroRight:
|
|
3336
|
+
}, ko.classNames = {
|
|
3337
|
+
fullWidth: mo,
|
|
3338
|
+
zeroRight: po
|
|
3334
3339
|
};
|
|
3335
3340
|
//#endregion
|
|
3336
3341
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3342
|
+
var Ao, jo = function() {
|
|
3343
|
+
if (Ao) return Ao;
|
|
3339
3344
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3340
3345
|
};
|
|
3341
3346
|
//#endregion
|
|
3342
3347
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3343
|
-
function
|
|
3348
|
+
function Mo() {
|
|
3344
3349
|
if (!document) return null;
|
|
3345
3350
|
var e = document.createElement("style");
|
|
3346
3351
|
e.type = "text/css";
|
|
3347
|
-
var t =
|
|
3352
|
+
var t = jo();
|
|
3348
3353
|
return t && e.setAttribute("nonce", t), e;
|
|
3349
3354
|
}
|
|
3350
|
-
function
|
|
3355
|
+
function No(e, t) {
|
|
3351
3356
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3352
3357
|
}
|
|
3353
|
-
function
|
|
3358
|
+
function Po(e) {
|
|
3354
3359
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3355
3360
|
}
|
|
3356
|
-
var
|
|
3361
|
+
var Fo = function() {
|
|
3357
3362
|
var e = 0, t = null;
|
|
3358
3363
|
return {
|
|
3359
3364
|
add: function(n) {
|
|
3360
|
-
e == 0 && (t =
|
|
3365
|
+
e == 0 && (t = Mo()) && (No(t, n), Po(t)), e++;
|
|
3361
3366
|
},
|
|
3362
3367
|
remove: function() {
|
|
3363
3368
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3364
3369
|
}
|
|
3365
3370
|
};
|
|
3366
|
-
},
|
|
3367
|
-
var e =
|
|
3371
|
+
}, Io = function() {
|
|
3372
|
+
var e = Fo();
|
|
3368
3373
|
return function(t, n) {
|
|
3369
3374
|
F.useEffect(function() {
|
|
3370
3375
|
return e.add(t), function() {
|
|
@@ -3372,43 +3377,43 @@ var Po = function() {
|
|
|
3372
3377
|
};
|
|
3373
3378
|
}, [t && n]);
|
|
3374
3379
|
};
|
|
3375
|
-
},
|
|
3376
|
-
var e =
|
|
3380
|
+
}, Lo = function() {
|
|
3381
|
+
var e = Io();
|
|
3377
3382
|
return function(t) {
|
|
3378
3383
|
var n = t.styles, r = t.dynamic;
|
|
3379
3384
|
return e(n, r), null;
|
|
3380
3385
|
};
|
|
3381
|
-
},
|
|
3386
|
+
}, Ro = {
|
|
3382
3387
|
left: 0,
|
|
3383
3388
|
top: 0,
|
|
3384
3389
|
right: 0,
|
|
3385
3390
|
gap: 0
|
|
3386
|
-
}, Ro = function(e) {
|
|
3387
|
-
return parseInt(e || "", 10) || 0;
|
|
3388
3391
|
}, zo = function(e) {
|
|
3392
|
+
return parseInt(e || "", 10) || 0;
|
|
3393
|
+
}, Bo = function(e) {
|
|
3389
3394
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3390
3395
|
return [
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3396
|
+
zo(n),
|
|
3397
|
+
zo(r),
|
|
3398
|
+
zo(i)
|
|
3394
3399
|
];
|
|
3395
|
-
},
|
|
3396
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3397
|
-
var t =
|
|
3400
|
+
}, Vo = function(e) {
|
|
3401
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Ro;
|
|
3402
|
+
var t = Bo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3398
3403
|
return {
|
|
3399
3404
|
left: t[0],
|
|
3400
3405
|
top: t[1],
|
|
3401
3406
|
right: t[2],
|
|
3402
3407
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3403
3408
|
};
|
|
3404
|
-
},
|
|
3409
|
+
}, Ho = Lo(), Uo = "data-scroll-locked", Wo = function(e, t, n, r) {
|
|
3405
3410
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3406
3411
|
return n === void 0 && (n = "margin"), `
|
|
3407
|
-
.${
|
|
3412
|
+
.${ho} {
|
|
3408
3413
|
overflow: hidden ${r};
|
|
3409
3414
|
padding-right: ${s}px ${r};
|
|
3410
3415
|
}
|
|
3411
|
-
body[${
|
|
3416
|
+
body[${Uo}] {
|
|
3412
3417
|
overflow: hidden ${r};
|
|
3413
3418
|
overscroll-behavior: contain;
|
|
3414
3419
|
${[
|
|
@@ -3425,122 +3430,122 @@ var Po = function() {
|
|
|
3425
3430
|
].filter(Boolean).join("")}
|
|
3426
3431
|
}
|
|
3427
3432
|
|
|
3428
|
-
.${
|
|
3433
|
+
.${po} {
|
|
3429
3434
|
right: ${s}px ${r};
|
|
3430
3435
|
}
|
|
3431
3436
|
|
|
3432
|
-
.${
|
|
3437
|
+
.${mo} {
|
|
3433
3438
|
margin-right: ${s}px ${r};
|
|
3434
3439
|
}
|
|
3435
3440
|
|
|
3436
|
-
.${
|
|
3441
|
+
.${po} .${po} {
|
|
3437
3442
|
right: 0 ${r};
|
|
3438
3443
|
}
|
|
3439
3444
|
|
|
3440
|
-
.${
|
|
3445
|
+
.${mo} .${mo} {
|
|
3441
3446
|
margin-right: 0 ${r};
|
|
3442
3447
|
}
|
|
3443
3448
|
|
|
3444
|
-
body[${
|
|
3445
|
-
${
|
|
3449
|
+
body[${Uo}] {
|
|
3450
|
+
${go}: ${s}px;
|
|
3446
3451
|
}
|
|
3447
3452
|
`;
|
|
3448
|
-
},
|
|
3453
|
+
}, Go = function() {
|
|
3449
3454
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3450
3455
|
return isFinite(e) ? e : 0;
|
|
3451
|
-
},
|
|
3456
|
+
}, Ko = function() {
|
|
3452
3457
|
F.useEffect(function() {
|
|
3453
|
-
return document.body.setAttribute(
|
|
3454
|
-
var e =
|
|
3455
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3458
|
+
return document.body.setAttribute(Uo, (Go() + 1).toString()), function() {
|
|
3459
|
+
var e = Go() - 1;
|
|
3460
|
+
e <= 0 ? document.body.removeAttribute(Uo) : document.body.setAttribute(Uo, e.toString());
|
|
3456
3461
|
};
|
|
3457
3462
|
}, []);
|
|
3458
|
-
},
|
|
3463
|
+
}, qo = function(e) {
|
|
3459
3464
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3460
|
-
|
|
3465
|
+
Ko();
|
|
3461
3466
|
var a = F.useMemo(function() {
|
|
3462
|
-
return
|
|
3467
|
+
return Vo(i);
|
|
3463
3468
|
}, [i]);
|
|
3464
|
-
return F.createElement(
|
|
3465
|
-
},
|
|
3469
|
+
return F.createElement(Ho, { styles: Wo(a, !t, i, n ? "" : "!important") });
|
|
3470
|
+
}, Jo = !1;
|
|
3466
3471
|
if (typeof window < "u") try {
|
|
3467
|
-
var
|
|
3468
|
-
return
|
|
3472
|
+
var Yo = Object.defineProperty({}, "passive", { get: function() {
|
|
3473
|
+
return Jo = !0, !0;
|
|
3469
3474
|
} });
|
|
3470
|
-
window.addEventListener("test",
|
|
3475
|
+
window.addEventListener("test", Yo, Yo), window.removeEventListener("test", Yo, Yo);
|
|
3471
3476
|
} catch {
|
|
3472
|
-
|
|
3477
|
+
Jo = !1;
|
|
3473
3478
|
}
|
|
3474
|
-
var
|
|
3479
|
+
var Xo = Jo ? { passive: !1 } : !1, Zo = function(e) {
|
|
3475
3480
|
return e.tagName === "TEXTAREA";
|
|
3476
|
-
},
|
|
3481
|
+
}, Qo = function(e, t) {
|
|
3477
3482
|
if (!(e instanceof Element)) return !1;
|
|
3478
3483
|
var n = window.getComputedStyle(e);
|
|
3479
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3480
|
-
}, Qo = function(e) {
|
|
3481
|
-
return Zo(e, "overflowY");
|
|
3484
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Zo(e) && n[t] === "visible");
|
|
3482
3485
|
}, $o = function(e) {
|
|
3483
|
-
return
|
|
3484
|
-
}, es = function(e
|
|
3486
|
+
return Qo(e, "overflowY");
|
|
3487
|
+
}, es = function(e) {
|
|
3488
|
+
return Qo(e, "overflowX");
|
|
3489
|
+
}, ts = function(e, t) {
|
|
3485
3490
|
var n = t.ownerDocument, r = t;
|
|
3486
3491
|
do {
|
|
3487
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3488
|
-
var i =
|
|
3492
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), is(e, r)) {
|
|
3493
|
+
var i = as(e, r);
|
|
3489
3494
|
if (i[1] > i[2]) return !0;
|
|
3490
3495
|
}
|
|
3491
3496
|
r = r.parentNode;
|
|
3492
3497
|
} while (r && r !== n.body);
|
|
3493
3498
|
return !1;
|
|
3494
|
-
},
|
|
3499
|
+
}, ns = function(e) {
|
|
3495
3500
|
return [
|
|
3496
3501
|
e.scrollTop,
|
|
3497
3502
|
e.scrollHeight,
|
|
3498
3503
|
e.clientHeight
|
|
3499
3504
|
];
|
|
3500
|
-
},
|
|
3505
|
+
}, rs = function(e) {
|
|
3501
3506
|
return [
|
|
3502
3507
|
e.scrollLeft,
|
|
3503
3508
|
e.scrollWidth,
|
|
3504
3509
|
e.clientWidth
|
|
3505
3510
|
];
|
|
3506
|
-
}, rs = function(e, t) {
|
|
3507
|
-
return e === "v" ? Qo(t) : $o(t);
|
|
3508
3511
|
}, is = function(e, t) {
|
|
3509
|
-
return e === "v" ?
|
|
3512
|
+
return e === "v" ? $o(t) : es(t);
|
|
3510
3513
|
}, as = function(e, t) {
|
|
3514
|
+
return e === "v" ? ns(t) : rs(t);
|
|
3515
|
+
}, os = function(e, t) {
|
|
3511
3516
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3512
|
-
},
|
|
3513
|
-
var a =
|
|
3517
|
+
}, ss = function(e, t, n, r, i) {
|
|
3518
|
+
var a = os(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3514
3519
|
do {
|
|
3515
3520
|
if (!s) break;
|
|
3516
|
-
var p =
|
|
3517
|
-
(m || h) &&
|
|
3521
|
+
var p = as(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3522
|
+
(m || h) && is(e, s) && (d += h, f += m);
|
|
3518
3523
|
var g = s.parentNode;
|
|
3519
3524
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3520
3525
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3521
3526
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3522
|
-
}, ss = function(e) {
|
|
3523
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3524
3527
|
}, cs = function(e) {
|
|
3525
|
-
return [e.
|
|
3528
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3526
3529
|
}, ls = function(e) {
|
|
3530
|
+
return [e.deltaX, e.deltaY];
|
|
3531
|
+
}, us = function(e) {
|
|
3527
3532
|
return e && "current" in e ? e.current : e;
|
|
3528
|
-
},
|
|
3533
|
+
}, ds = function(e, t) {
|
|
3529
3534
|
return e[0] === t[0] && e[1] === t[1];
|
|
3530
|
-
},
|
|
3535
|
+
}, fs = function(e) {
|
|
3531
3536
|
return `
|
|
3532
3537
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3533
3538
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3534
3539
|
`;
|
|
3535
|
-
},
|
|
3536
|
-
function
|
|
3537
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3540
|
+
}, ps = 0, ms = [];
|
|
3541
|
+
function hs(e) {
|
|
3542
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(ps++)[0], a = F.useState(Lo)[0], o = F.useRef(e);
|
|
3538
3543
|
F.useEffect(function() {
|
|
3539
3544
|
o.current = e;
|
|
3540
3545
|
}, [e]), F.useEffect(function() {
|
|
3541
3546
|
if (e.inert) {
|
|
3542
3547
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3543
|
-
var t =
|
|
3548
|
+
var t = fo([e.lockRef.current], (e.shards || []).map(us), !0).filter(Boolean);
|
|
3544
3549
|
return t.forEach(function(e) {
|
|
3545
3550
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3546
3551
|
}), function() {
|
|
@@ -3556,28 +3561,28 @@ function ms(e) {
|
|
|
3556
3561
|
]);
|
|
3557
3562
|
var s = F.useCallback(function(e, t) {
|
|
3558
3563
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3559
|
-
var i =
|
|
3564
|
+
var i = cs(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3560
3565
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3561
3566
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3562
3567
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3563
|
-
var m =
|
|
3568
|
+
var m = ts(d, u);
|
|
3564
3569
|
if (!m) return !0;
|
|
3565
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3570
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ts(d, u)), !m) return !1;
|
|
3566
3571
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3567
3572
|
var h = r.current || l;
|
|
3568
|
-
return
|
|
3573
|
+
return ss(h, t, e, h === "h" ? s : c, !0);
|
|
3569
3574
|
}, []), c = F.useCallback(function(e) {
|
|
3570
3575
|
var n = e;
|
|
3571
|
-
if (!(!
|
|
3572
|
-
var r = "deltaY" in n ?
|
|
3573
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3576
|
+
if (!(!ms.length || ms[ms.length - 1] !== a)) {
|
|
3577
|
+
var r = "deltaY" in n ? ls(n) : cs(n), i = t.current.filter(function(e) {
|
|
3578
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ds(e.delta, r);
|
|
3574
3579
|
})[0];
|
|
3575
3580
|
if (i && i.should) {
|
|
3576
3581
|
n.cancelable && n.preventDefault();
|
|
3577
3582
|
return;
|
|
3578
3583
|
}
|
|
3579
3584
|
if (!i) {
|
|
3580
|
-
var c = (o.current.shards || []).map(
|
|
3585
|
+
var c = (o.current.shards || []).map(us).filter(Boolean).filter(function(e) {
|
|
3581
3586
|
return e.contains(n.target);
|
|
3582
3587
|
});
|
|
3583
3588
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3589,7 +3594,7 @@ function ms(e) {
|
|
|
3589
3594
|
delta: n,
|
|
3590
3595
|
target: r,
|
|
3591
3596
|
should: i,
|
|
3592
|
-
shadowParent:
|
|
3597
|
+
shadowParent: gs(r)
|
|
3593
3598
|
};
|
|
3594
3599
|
t.current.push(a), setTimeout(function() {
|
|
3595
3600
|
t.current = t.current.filter(function(e) {
|
|
@@ -3597,56 +3602,56 @@ function ms(e) {
|
|
|
3597
3602
|
});
|
|
3598
3603
|
}, 1);
|
|
3599
3604
|
}, []), u = F.useCallback(function(e) {
|
|
3600
|
-
n.current =
|
|
3605
|
+
n.current = cs(e), r.current = void 0;
|
|
3601
3606
|
}, []), d = F.useCallback(function(t) {
|
|
3602
|
-
l(t.type,
|
|
3607
|
+
l(t.type, ls(t), t.target, s(t, e.lockRef.current));
|
|
3603
3608
|
}, []), f = F.useCallback(function(t) {
|
|
3604
|
-
l(t.type,
|
|
3609
|
+
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3605
3610
|
}, []);
|
|
3606
3611
|
F.useEffect(function() {
|
|
3607
|
-
return
|
|
3612
|
+
return ms.push(a), e.setCallbacks({
|
|
3608
3613
|
onScrollCapture: d,
|
|
3609
3614
|
onWheelCapture: d,
|
|
3610
3615
|
onTouchMoveCapture: f
|
|
3611
|
-
}), document.addEventListener("wheel", c,
|
|
3612
|
-
|
|
3616
|
+
}), document.addEventListener("wheel", c, Xo), document.addEventListener("touchmove", c, Xo), document.addEventListener("touchstart", u, Xo), function() {
|
|
3617
|
+
ms = ms.filter(function(e) {
|
|
3613
3618
|
return e !== a;
|
|
3614
|
-
}), document.removeEventListener("wheel", c,
|
|
3619
|
+
}), document.removeEventListener("wheel", c, Xo), document.removeEventListener("touchmove", c, Xo), document.removeEventListener("touchstart", u, Xo);
|
|
3615
3620
|
};
|
|
3616
3621
|
}, []);
|
|
3617
3622
|
var p = e.removeScrollBar, m = e.inert;
|
|
3618
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3623
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: fs(i) }) : null, p ? F.createElement(qo, {
|
|
3619
3624
|
noRelative: e.noRelative,
|
|
3620
3625
|
gapMode: e.gapMode
|
|
3621
3626
|
}) : null);
|
|
3622
3627
|
}
|
|
3623
|
-
function
|
|
3628
|
+
function gs(e) {
|
|
3624
3629
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3625
3630
|
return t;
|
|
3626
3631
|
}
|
|
3627
3632
|
//#endregion
|
|
3628
3633
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3629
|
-
var
|
|
3630
|
-
return F.createElement(
|
|
3634
|
+
var _s = Eo(Do, hs), vs = F.forwardRef(function(e, t) {
|
|
3635
|
+
return F.createElement(ko, $({}, e, {
|
|
3631
3636
|
ref: t,
|
|
3632
|
-
sideCar:
|
|
3637
|
+
sideCar: _s
|
|
3633
3638
|
}));
|
|
3634
3639
|
});
|
|
3635
|
-
|
|
3640
|
+
vs.classNames = ko.classNames;
|
|
3636
3641
|
//#endregion
|
|
3637
3642
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3638
|
-
var
|
|
3639
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3643
|
+
var ys = "Popover", [bs, xs] = yn(ys, [ba]), Ss = ba(), [Cs, ws] = bs(ys), Ts = (e) => {
|
|
3644
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ss(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Ja({
|
|
3640
3645
|
prop: r,
|
|
3641
3646
|
defaultProp: i ?? !1,
|
|
3642
3647
|
onChange: a,
|
|
3643
|
-
caller:
|
|
3648
|
+
caller: ys
|
|
3644
3649
|
});
|
|
3645
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3650
|
+
return /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3646
3651
|
...s,
|
|
3647
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3652
|
+
children: /* @__PURE__ */ (0, I.jsx)(Cs, {
|
|
3648
3653
|
scope: t,
|
|
3649
|
-
contentId:
|
|
3654
|
+
contentId: dr(),
|
|
3650
3655
|
triggerRef: c,
|
|
3651
3656
|
open: d,
|
|
3652
3657
|
onOpenChange: f,
|
|
@@ -3659,42 +3664,42 @@ var vs = "Popover", [ys, bs] = vn(vs, [ya]), xs = ya(), [Ss, Cs] = ys(vs), ws =
|
|
|
3659
3664
|
})
|
|
3660
3665
|
});
|
|
3661
3666
|
};
|
|
3662
|
-
|
|
3663
|
-
var
|
|
3664
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3665
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3667
|
+
Ts.displayName = ys;
|
|
3668
|
+
var Es = "PopoverAnchor", Ds = F.forwardRef((e, t) => {
|
|
3669
|
+
let { __scopePopover: n, ...r } = e, i = ws(Es, n), a = Ss(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3670
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3666
3671
|
...a,
|
|
3667
3672
|
...r,
|
|
3668
3673
|
ref: t
|
|
3669
3674
|
});
|
|
3670
3675
|
});
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3673
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3676
|
+
Ds.displayName = Es;
|
|
3677
|
+
var Os = "PopoverTrigger", ks = F.forwardRef((e, t) => {
|
|
3678
|
+
let { __scopePopover: n, ...r } = e, i = ws(Os, n), a = Ss(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3674
3679
|
type: "button",
|
|
3675
3680
|
"aria-haspopup": "dialog",
|
|
3676
3681
|
"aria-expanded": i.open,
|
|
3677
3682
|
"aria-controls": i.contentId,
|
|
3678
|
-
"data-state":
|
|
3683
|
+
"data-state": Ws(i.open),
|
|
3679
3684
|
...r,
|
|
3680
3685
|
ref: o,
|
|
3681
3686
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3682
3687
|
});
|
|
3683
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3688
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3684
3689
|
asChild: !0,
|
|
3685
3690
|
...a,
|
|
3686
3691
|
children: s
|
|
3687
3692
|
});
|
|
3688
3693
|
});
|
|
3689
|
-
|
|
3690
|
-
var
|
|
3691
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3692
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3694
|
+
ks.displayName = Os;
|
|
3695
|
+
var As = "PopoverPortal", [js, Ms] = bs(As, { forceMount: void 0 }), Ns = (e) => {
|
|
3696
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = ws(As, t);
|
|
3697
|
+
return /* @__PURE__ */ (0, I.jsx)(js, {
|
|
3693
3698
|
scope: t,
|
|
3694
3699
|
forceMount: n,
|
|
3695
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3700
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3696
3701
|
present: n || a.open,
|
|
3697
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3702
|
+
children: /* @__PURE__ */ (0, I.jsx)(Va, {
|
|
3698
3703
|
asChild: !0,
|
|
3699
3704
|
container: i,
|
|
3700
3705
|
children: r
|
|
@@ -3702,30 +3707,30 @@ var ks = "PopoverPortal", [As, js] = ys(ks, { forceMount: void 0 }), Ms = (e) =>
|
|
|
3702
3707
|
})
|
|
3703
3708
|
});
|
|
3704
3709
|
};
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
let n =
|
|
3708
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3710
|
+
Ns.displayName = As;
|
|
3711
|
+
var Ps = "PopoverContent", Fs = F.forwardRef((e, t) => {
|
|
3712
|
+
let n = Ms(Ps, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ws(Ps, e.__scopePopover);
|
|
3713
|
+
return /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3709
3714
|
present: r || a.open,
|
|
3710
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3715
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Ls, {
|
|
3711
3716
|
...i,
|
|
3712
3717
|
ref: t
|
|
3713
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3718
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rs, {
|
|
3714
3719
|
...i,
|
|
3715
3720
|
ref: t
|
|
3716
3721
|
})
|
|
3717
3722
|
});
|
|
3718
3723
|
});
|
|
3719
|
-
|
|
3720
|
-
var
|
|
3721
|
-
let n =
|
|
3724
|
+
Fs.displayName = Ps;
|
|
3725
|
+
var Is = /* @__PURE__ */ xn("PopoverContent.RemoveScroll"), Ls = F.forwardRef((e, t) => {
|
|
3726
|
+
let n = ws(Ps, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3722
3727
|
return F.useEffect(() => {
|
|
3723
3728
|
let e = r.current;
|
|
3724
|
-
if (e) return
|
|
3725
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3726
|
-
as:
|
|
3729
|
+
if (e) return ao(e);
|
|
3730
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(vs, {
|
|
3731
|
+
as: Is,
|
|
3727
3732
|
allowPinchZoom: !0,
|
|
3728
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3733
|
+
children: /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3729
3734
|
...e,
|
|
3730
3735
|
ref: i,
|
|
3731
3736
|
trapFocus: n.open,
|
|
@@ -3740,9 +3745,9 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3740
3745
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3741
3746
|
})
|
|
3742
3747
|
});
|
|
3743
|
-
}),
|
|
3744
|
-
let n =
|
|
3745
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3748
|
+
}), Rs = F.forwardRef((e, t) => {
|
|
3749
|
+
let n = ws(Ps, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3750
|
+
return /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3746
3751
|
...e,
|
|
3747
3752
|
ref: t,
|
|
3748
3753
|
trapFocus: !1,
|
|
@@ -3756,15 +3761,15 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3756
3761
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3757
3762
|
}
|
|
3758
3763
|
});
|
|
3759
|
-
}),
|
|
3760
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3761
|
-
return
|
|
3764
|
+
}), zs = F.forwardRef((e, t) => {
|
|
3765
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = ws(Ps, n), p = Ss(n);
|
|
3766
|
+
return Wn(), /* @__PURE__ */ (0, I.jsx)(Xn, {
|
|
3762
3767
|
asChild: !0,
|
|
3763
3768
|
loop: !0,
|
|
3764
3769
|
trapped: r,
|
|
3765
3770
|
onMountAutoFocus: i,
|
|
3766
3771
|
onUnmountAutoFocus: a,
|
|
3767
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3772
|
+
children: /* @__PURE__ */ (0, I.jsx)(In, {
|
|
3768
3773
|
asChild: !0,
|
|
3769
3774
|
disableOutsidePointerEvents: o,
|
|
3770
3775
|
onInteractOutside: u,
|
|
@@ -3772,8 +3777,8 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3772
3777
|
onPointerDownOutside: c,
|
|
3773
3778
|
onFocusOutside: l,
|
|
3774
3779
|
onDismiss: () => f.onOpenChange(!1),
|
|
3775
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3776
|
-
"data-state":
|
|
3780
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3781
|
+
"data-state": Ws(f.open),
|
|
3777
3782
|
role: "dialog",
|
|
3778
3783
|
id: f.contentId,
|
|
3779
3784
|
...p,
|
|
@@ -3790,8 +3795,8 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3790
3795
|
})
|
|
3791
3796
|
})
|
|
3792
3797
|
});
|
|
3793
|
-
}),
|
|
3794
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3798
|
+
}), Bs = "PopoverClose", Vs = F.forwardRef((e, t) => {
|
|
3799
|
+
let { __scopePopover: n, ...r } = e, i = ws(Bs, n);
|
|
3795
3800
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3796
3801
|
type: "button",
|
|
3797
3802
|
...r,
|
|
@@ -3799,36 +3804,36 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3799
3804
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3800
3805
|
});
|
|
3801
3806
|
});
|
|
3802
|
-
|
|
3803
|
-
var
|
|
3804
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3805
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3807
|
+
Vs.displayName = Bs;
|
|
3808
|
+
var Hs = "PopoverArrow", Us = F.forwardRef((e, t) => {
|
|
3809
|
+
let { __scopePopover: n, ...r } = e, i = Ss(n);
|
|
3810
|
+
return /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3806
3811
|
...i,
|
|
3807
3812
|
...r,
|
|
3808
3813
|
ref: t
|
|
3809
3814
|
});
|
|
3810
3815
|
});
|
|
3811
|
-
|
|
3812
|
-
function
|
|
3816
|
+
Us.displayName = Hs;
|
|
3817
|
+
function Ws(e) {
|
|
3813
3818
|
return e ? "open" : "closed";
|
|
3814
3819
|
}
|
|
3815
|
-
var
|
|
3820
|
+
var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Gs, {
|
|
3816
3821
|
defaultOpen: n,
|
|
3817
3822
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3818
3823
|
className: "flex justify-center",
|
|
3819
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3824
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ks, {
|
|
3820
3825
|
asChild: !0,
|
|
3821
3826
|
children: t
|
|
3822
3827
|
})
|
|
3823
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3828
|
+
}), /* @__PURE__ */ (0, I.jsxs)(qs, {
|
|
3824
3829
|
className: "sid-popover__container",
|
|
3825
3830
|
sideOffset: 10,
|
|
3826
3831
|
side: "bottom",
|
|
3827
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3832
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Js, { className: "sid-popover__caret" })]
|
|
3828
3833
|
})]
|
|
3829
|
-
}),
|
|
3830
|
-
let n =
|
|
3831
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3834
|
+
}), Xs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3835
|
+
let n = ge();
|
|
3836
|
+
return /* @__PURE__ */ (0, I.jsx)(Ys, {
|
|
3832
3837
|
initialVisibility: t,
|
|
3833
3838
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3834
3839
|
type: "button",
|
|
@@ -3841,17 +3846,17 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3841
3846
|
context: n
|
|
3842
3847
|
}),
|
|
3843
3848
|
"\xA0",
|
|
3844
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3849
|
+
/* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })
|
|
3845
3850
|
] })
|
|
3846
3851
|
});
|
|
3847
|
-
},
|
|
3848
|
-
let t =
|
|
3852
|
+
}, Zs = ({ verificationService: e }) => {
|
|
3853
|
+
let t = d(() => e.programTheme.remainingRewardCodes, null);
|
|
3849
3854
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3850
3855
|
className: "sid-rewards-remaining",
|
|
3851
3856
|
role: "note",
|
|
3852
3857
|
children: [
|
|
3853
3858
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3854
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3859
|
+
/* @__PURE__ */ (0, I.jsx)(O, {
|
|
3855
3860
|
id: "lowRewardPool",
|
|
3856
3861
|
defaultMessage: e.messages.lowRewardPool,
|
|
3857
3862
|
values: { offersRemaining: t }
|
|
@@ -3859,11 +3864,11 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3859
3864
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3860
3865
|
]
|
|
3861
3866
|
}) : null;
|
|
3862
|
-
},
|
|
3863
|
-
let { verificationResponse: n } = e, r =
|
|
3867
|
+
}, Qs = (e) => e !== void 0, $s = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3868
|
+
let { verificationResponse: n } = e, r = Qs(n) ? Be(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3864
3869
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3865
3870
|
className: "sid-personal-info-header",
|
|
3866
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3871
|
+
children: /* @__PURE__ */ (0, I.jsxs)(gn, {
|
|
3867
3872
|
verificationService: e,
|
|
3868
3873
|
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
3869
3874
|
id: i,
|
|
@@ -3873,28 +3878,28 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3873
3878
|
children: [
|
|
3874
3879
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3875
3880
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3876
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3881
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, { id: a })
|
|
3877
3882
|
}),
|
|
3878
3883
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3879
3884
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3880
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3885
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Xs, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Zs, { verificationService: e })] })
|
|
3881
3886
|
}),
|
|
3882
3887
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3883
3888
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3884
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3889
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, { id: "requiredFields" })
|
|
3885
3890
|
})
|
|
3886
3891
|
]
|
|
3887
3892
|
})
|
|
3888
3893
|
});
|
|
3889
|
-
},
|
|
3890
|
-
let { isEmbedded: i } =
|
|
3894
|
+
}, ec = () => ({ isEmbedded: !!s("verificationIframeUid") }), tc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3895
|
+
let { isEmbedded: i } = ec();
|
|
3891
3896
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3892
3897
|
className: `sid-layout sid-layout--${e}`,
|
|
3893
3898
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3894
3899
|
className: "sid-layout__container",
|
|
3895
3900
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3896
3901
|
className: "sid-layout__content",
|
|
3897
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3902
|
+
children: /* @__PURE__ */ (0, I.jsx)($s, {
|
|
3898
3903
|
verificationService: n,
|
|
3899
3904
|
classNameIdentifier: "landing"
|
|
3900
3905
|
})
|
|
@@ -3907,28 +3912,28 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3907
3912
|
})]
|
|
3908
3913
|
})
|
|
3909
3914
|
});
|
|
3910
|
-
},
|
|
3915
|
+
}, nc = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3911
3916
|
className: "sid sid-form-wrapper",
|
|
3912
3917
|
children: e
|
|
3913
|
-
}),
|
|
3914
|
-
let s =
|
|
3918
|
+
}), rc = ({ locale: t, messages: n, programTheme: i, verificationService: a, programId: o }) => {
|
|
3919
|
+
let s = tt(), u = y(), d = pe() ?? i, f = _e(ce, fe), p = (0, F.useMemo)(() => f ? {
|
|
3915
3920
|
...a.verificationResponse,
|
|
3916
3921
|
...f
|
|
3917
3922
|
} : a.verificationResponse, [f, a.verificationResponse]), m = (0, F.useMemo)(() => ({
|
|
3918
3923
|
...a,
|
|
3919
3924
|
programTheme: d,
|
|
3920
3925
|
verificationResponse: p,
|
|
3921
|
-
formValidationOptions:
|
|
3926
|
+
formValidationOptions: Tt(d, p, a.viewModel)
|
|
3922
3927
|
}), [
|
|
3923
3928
|
a,
|
|
3924
3929
|
d,
|
|
3925
3930
|
p
|
|
3926
|
-
]),
|
|
3931
|
+
]), h = d.themeChoices?.landingPage?.layout || "center", { renderAs: _ } = u, v = rt();
|
|
3927
3932
|
F.useEffect(() => {
|
|
3928
3933
|
try {
|
|
3929
|
-
if (
|
|
3930
|
-
let e = (0,
|
|
3931
|
-
|
|
3934
|
+
if (v && m && m.viewModel) {
|
|
3935
|
+
let e = (0, bt.default)(v);
|
|
3936
|
+
E(g.flags, e);
|
|
3932
3937
|
let t = l(m.viewModel.metadata || {}, (t) => {
|
|
3933
3938
|
t.flags = e;
|
|
3934
3939
|
}), n = l(m.viewModel, (e) => {
|
|
@@ -3947,7 +3952,7 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3947
3952
|
key: m.verificationResponse.verificationId,
|
|
3948
3953
|
locale: m.verificationResponse.locale,
|
|
3949
3954
|
segment: m.verificationResponse.segment,
|
|
3950
|
-
installType:
|
|
3955
|
+
installType: Oe()
|
|
3951
3956
|
},
|
|
3952
3957
|
program: { key: o }
|
|
3953
3958
|
};
|
|
@@ -3955,32 +3960,32 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3955
3960
|
}
|
|
3956
3961
|
}, [m.verificationResponse.verificationId, s]), F.useEffect(() => {
|
|
3957
3962
|
try {
|
|
3958
|
-
|
|
3963
|
+
y()._launchDarklyFlagCb(v);
|
|
3959
3964
|
} catch {}
|
|
3960
|
-
}, [
|
|
3961
|
-
let b =
|
|
3962
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3965
|
+
}, [v]);
|
|
3966
|
+
let b = _e(ce, me);
|
|
3967
|
+
return /* @__PURE__ */ (0, I.jsx)(D, {
|
|
3963
3968
|
locale: "en",
|
|
3964
3969
|
messages: {
|
|
3965
3970
|
...n,
|
|
3966
|
-
...(0,
|
|
3967
|
-
...(0,
|
|
3971
|
+
...(0, mt.default)(e(t)),
|
|
3972
|
+
...(0, mt.default)(b?.[t] ?? {})
|
|
3968
3973
|
},
|
|
3969
|
-
textComponent:
|
|
3970
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3974
|
+
textComponent: mn,
|
|
3975
|
+
children: /* @__PURE__ */ (0, I.jsx)(wt, {
|
|
3971
3976
|
themeChoices: d.themeChoices,
|
|
3972
|
-
customCssFromOptions:
|
|
3977
|
+
customCssFromOptions: y().customCss,
|
|
3973
3978
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3974
|
-
className: `${
|
|
3975
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3976
|
-
layout:
|
|
3979
|
+
className: `${xt.default.isRtlLang(r(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3980
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, { children: /* @__PURE__ */ (0, I.jsx)(tc, {
|
|
3981
|
+
layout: h,
|
|
3977
3982
|
verificationService: m,
|
|
3978
3983
|
renderAsLandingPage: _ === "landingPage",
|
|
3979
3984
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3980
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3981
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3985
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(_t, { step: m.loadingStep }),
|
|
3986
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
3982
3987
|
i18n: c,
|
|
3983
|
-
children: m.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3988
|
+
children: m.isLoading ? /* @__PURE__ */ (0, I.jsx)(_t, { step: m.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!y().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(hn, { verificationService: m }), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
3984
3989
|
stepToLoad: m.overrideStep || m.verificationResponse.currentStep,
|
|
3985
3990
|
verificationService: m
|
|
3986
3991
|
})] })
|
|
@@ -3990,35 +3995,35 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3990
3995
|
})
|
|
3991
3996
|
})
|
|
3992
3997
|
}, t);
|
|
3993
|
-
},
|
|
3998
|
+
}, ic = () => {
|
|
3994
3999
|
let e = null;
|
|
3995
4000
|
document.addEventListener("keydown", (t) => {
|
|
3996
4001
|
if (t.key !== "Tab") return;
|
|
3997
4002
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3998
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4003
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (je({
|
|
3999
4004
|
type: "focus",
|
|
4000
4005
|
focusOn: "firstElement"
|
|
4001
4006
|
}), t.preventDefault());
|
|
4002
4007
|
}), window.addEventListener("message", (t) => {
|
|
4003
4008
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4004
|
-
}),
|
|
4009
|
+
}), je({
|
|
4005
4010
|
type: "focus",
|
|
4006
4011
|
focusOn: "firstElement"
|
|
4007
4012
|
});
|
|
4008
|
-
},
|
|
4013
|
+
}, ac = () => {
|
|
4009
4014
|
window.addEventListener("message", (e) => {
|
|
4010
|
-
e.data.isInLightBox === "true" &&
|
|
4015
|
+
e.data.isInLightBox === "true" && ic();
|
|
4011
4016
|
});
|
|
4012
|
-
},
|
|
4017
|
+
}, oc = class extends F.Component {
|
|
4013
4018
|
verificationService;
|
|
4014
4019
|
constructor(e) {
|
|
4015
4020
|
super(e), N.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? N.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : N.info("No trackingId to associate with the verification request");
|
|
4016
4021
|
}
|
|
4017
4022
|
componentDidMount() {
|
|
4018
|
-
if (
|
|
4023
|
+
if (S(), ac(), ve((e) => {
|
|
4019
4024
|
switch (e.data.action) {
|
|
4020
4025
|
case "setViewModel":
|
|
4021
|
-
|
|
4026
|
+
qe(e.data.viewModel, {
|
|
4022
4027
|
partial: !0,
|
|
4023
4028
|
metadataCheck: !0,
|
|
4024
4029
|
externalUserIdCheck: !0
|
|
@@ -4029,92 +4034,92 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
4029
4034
|
break;
|
|
4030
4035
|
default:
|
|
4031
4036
|
}
|
|
4032
|
-
}),
|
|
4037
|
+
}), Te()) N.info("Mocking loading screen. Not fetching new verification request.");
|
|
4033
4038
|
else {
|
|
4034
4039
|
N.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4035
|
-
let e =
|
|
4040
|
+
let e = d(() => this.props.verificationService.verificationResponse.segment);
|
|
4036
4041
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4037
4042
|
}
|
|
4038
4043
|
}
|
|
4039
4044
|
render() {
|
|
4040
|
-
let { viewModel: t } = this.props.verificationService, n =
|
|
4045
|
+
let { viewModel: t } = this.props.verificationService, n = a(t), r;
|
|
4041
4046
|
this.props.messages && (r = this.props.messages);
|
|
4042
4047
|
let i = {
|
|
4043
4048
|
...r,
|
|
4044
|
-
...(0,
|
|
4049
|
+
...(0, mt.default)(e(n))
|
|
4045
4050
|
};
|
|
4046
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(
|
|
4051
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(D, {
|
|
4047
4052
|
locale: "en",
|
|
4048
4053
|
messages: i,
|
|
4049
|
-
textComponent:
|
|
4050
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4054
|
+
textComponent: mn,
|
|
4055
|
+
children: /* @__PURE__ */ (0, I.jsx)(_t, {})
|
|
4051
4056
|
}, n);
|
|
4052
|
-
let { programTheme:
|
|
4053
|
-
return N.info("NewVerificationComponent: verificationResponse, viewModel", s, t), N.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, I.jsx)(
|
|
4057
|
+
let { programTheme: o } = this.props.verificationService, { verificationResponse: s } = this.props.verificationService;
|
|
4058
|
+
return N.info("NewVerificationComponent: verificationResponse, viewModel", s, t), N.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, I.jsx)(rc, {
|
|
4054
4059
|
locale: n,
|
|
4055
4060
|
messages: r,
|
|
4056
|
-
programTheme:
|
|
4061
|
+
programTheme: o,
|
|
4057
4062
|
verificationService: this.props.verificationService,
|
|
4058
4063
|
programId: this.props.programId
|
|
4059
4064
|
});
|
|
4060
4065
|
}
|
|
4061
|
-
},
|
|
4066
|
+
}, sc = te((e, t) => ({ ...e }), (e, t) => ({
|
|
4062
4067
|
dispatch: e,
|
|
4063
|
-
fetchNewVerificationRequest:
|
|
4064
|
-
fetchExistingVerificationRequest:
|
|
4065
|
-
updateViewModel:
|
|
4066
|
-
updateLocale:
|
|
4067
|
-
updateProgramTheme:
|
|
4068
|
-
updateFieldValidationErrors:
|
|
4069
|
-
resetState:
|
|
4068
|
+
fetchNewVerificationRequest: Ie(e),
|
|
4069
|
+
fetchExistingVerificationRequest: Je(e),
|
|
4070
|
+
updateViewModel: Ue(e),
|
|
4071
|
+
updateLocale: Re(e, t.programId),
|
|
4072
|
+
updateProgramTheme: Ke(e),
|
|
4073
|
+
updateFieldValidationErrors: Le(e),
|
|
4074
|
+
resetState: He(e)
|
|
4070
4075
|
}), (e, t, n) => {
|
|
4071
4076
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4072
4077
|
return {
|
|
4073
4078
|
verificationService: {
|
|
4074
4079
|
...e,
|
|
4075
4080
|
...i,
|
|
4076
|
-
submitStep:
|
|
4081
|
+
submitStep: Xe(r, a)
|
|
4077
4082
|
},
|
|
4078
4083
|
messages: e.messages,
|
|
4079
4084
|
...n
|
|
4080
4085
|
};
|
|
4081
|
-
})(
|
|
4086
|
+
})(oc), cc = (e) => ({
|
|
4082
4087
|
kind: "program",
|
|
4083
4088
|
key: e
|
|
4084
|
-
}),
|
|
4089
|
+
}), lc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(nt, {
|
|
4085
4090
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4086
|
-
context:
|
|
4087
|
-
flags:
|
|
4091
|
+
context: cc(e),
|
|
4092
|
+
flags: it,
|
|
4088
4093
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4089
4094
|
options: { streaming: !1 },
|
|
4090
4095
|
children: t
|
|
4091
|
-
}),
|
|
4092
|
-
|
|
4093
|
-
var
|
|
4096
|
+
}), uc = Ve();
|
|
4097
|
+
E(g.jslibVersionActual, d(() => De(), "?")), E(g.clientVersion, d(() => De(), "?"));
|
|
4098
|
+
var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4094
4099
|
try {
|
|
4095
|
-
|
|
4100
|
+
$e();
|
|
4096
4101
|
} catch (e) {
|
|
4097
4102
|
N.warn("Failed to add predefined hooks", e);
|
|
4098
4103
|
}
|
|
4099
4104
|
return (0, F.useEffect)(() => {
|
|
4100
|
-
|
|
4101
|
-
}),
|
|
4105
|
+
b();
|
|
4106
|
+
}), uc.dispatch({
|
|
4102
4107
|
programId: e,
|
|
4103
4108
|
type: "PROGRAM_ID"
|
|
4104
4109
|
}), n && (n.current = {
|
|
4105
|
-
refresh: F.useCallback(() =>
|
|
4106
|
-
reset: F.useCallback(() =>
|
|
4107
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4108
|
-
store:
|
|
4109
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4110
|
+
refresh: F.useCallback(() => uc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4111
|
+
reset: F.useCallback(() => uc.dispatch({ type: "RESET_STATE" }), [])
|
|
4112
|
+
}), /* @__PURE__ */ (0, I.jsx)(de, {
|
|
4113
|
+
store: uc,
|
|
4114
|
+
children: /* @__PURE__ */ (0, I.jsx)(lc, {
|
|
4110
4115
|
programId: e,
|
|
4111
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4116
|
+
children: /* @__PURE__ */ (0, I.jsx)(sc, {
|
|
4112
4117
|
programId: e,
|
|
4113
4118
|
trackingId: t
|
|
4114
4119
|
})
|
|
4115
4120
|
})
|
|
4116
4121
|
});
|
|
4117
|
-
}),
|
|
4122
|
+
}), fc = class e {
|
|
4118
4123
|
element;
|
|
4119
4124
|
programId;
|
|
4120
4125
|
trackingId;
|
|
@@ -4122,7 +4127,7 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4122
4127
|
ref;
|
|
4123
4128
|
constructor(t, n, r) {
|
|
4124
4129
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4125
|
-
N.info(`Constructing VerificationFormEs5 ${n}`),
|
|
4130
|
+
N.info(`Constructing VerificationFormEs5 ${n}`), o(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4126
4131
|
}
|
|
4127
4132
|
refresh() {
|
|
4128
4133
|
this.ref.current.refresh();
|
|
@@ -4131,32 +4136,32 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4131
4136
|
this.ref.current.reset();
|
|
4132
4137
|
}
|
|
4133
4138
|
render() {
|
|
4134
|
-
|
|
4139
|
+
pt.render(/* @__PURE__ */ (0, I.jsx)(dc, {
|
|
4135
4140
|
programId: this.programId,
|
|
4136
4141
|
trackingId: this.trackingId,
|
|
4137
4142
|
ref: this.ref
|
|
4138
4143
|
}), this.element);
|
|
4139
4144
|
}
|
|
4140
4145
|
unmount() {
|
|
4141
|
-
|
|
4146
|
+
pt.unmountComponentAtNode(this.element);
|
|
4142
4147
|
}
|
|
4143
|
-
},
|
|
4148
|
+
}, pc = async () => {
|
|
4144
4149
|
if (!document.getElementById("ipqs")) return new Promise((e) => {
|
|
4145
4150
|
let t = document.createElement("script");
|
|
4146
4151
|
t.src = "https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js", t.async = !0, t.id = "ipqs", document.body.appendChild(t), t.onload = () => {
|
|
4147
4152
|
e();
|
|
4148
4153
|
};
|
|
4149
4154
|
});
|
|
4150
|
-
},
|
|
4151
|
-
if (
|
|
4152
|
-
await
|
|
4155
|
+
}, mc = async (e, t) => {
|
|
4156
|
+
if (d(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
4157
|
+
await pc(), window.IPQ = { Callback: () => {
|
|
4153
4158
|
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
4154
4159
|
} };
|
|
4155
4160
|
} catch (e) {
|
|
4156
4161
|
N.error(e, "Failed to collect IPQS device data");
|
|
4157
4162
|
}
|
|
4158
|
-
},
|
|
4159
|
-
if (!
|
|
4163
|
+
}, hc = async (e, t) => {
|
|
4164
|
+
if (!d(() => e.threatMetrixEnabled, !1)) return;
|
|
4160
4165
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4161
4166
|
try {
|
|
4162
4167
|
let { ThreatMetrix: e } = await import(
|
|
@@ -4167,49 +4172,49 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4167
4172
|
} catch (e) {
|
|
4168
4173
|
N.error(e, "Failed to collect ThreatMetrix device data");
|
|
4169
4174
|
}
|
|
4170
|
-
},
|
|
4171
|
-
let n =
|
|
4175
|
+
}, gc = /* @__PURE__ */ new Map(), _c = (e, t) => {
|
|
4176
|
+
let n = gc.get(t);
|
|
4172
4177
|
if (n) return n;
|
|
4173
4178
|
let r = (async () => {
|
|
4174
4179
|
let [, , n] = await Promise.all([
|
|
4180
|
+
hc(e, t),
|
|
4175
4181
|
mc(e, t),
|
|
4176
|
-
|
|
4177
|
-
Qe(e, t)
|
|
4182
|
+
et(e, t)
|
|
4178
4183
|
]);
|
|
4179
4184
|
return n ? { fpSessionId: n } : {};
|
|
4180
4185
|
})();
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4183
|
-
getMessages:
|
|
4184
|
-
setViewModel:
|
|
4185
|
-
resetViewModel:
|
|
4186
|
+
return gc.set(t, r), r;
|
|
4187
|
+
}, vc = {
|
|
4188
|
+
getMessages: n,
|
|
4189
|
+
setViewModel: qe,
|
|
4190
|
+
resetViewModel: We,
|
|
4186
4191
|
setOptions: m,
|
|
4187
|
-
resetOptions:
|
|
4188
|
-
refreshStore:
|
|
4189
|
-
setMetadata:
|
|
4190
|
-
getMetadata:
|
|
4191
|
-
resetMetadata:
|
|
4192
|
-
conversion:
|
|
4193
|
-
overrideComponent:
|
|
4194
|
-
resetOverriddenComponents:
|
|
4195
|
-
postVerificationSizeUpdates:
|
|
4196
|
-
addHook:
|
|
4197
|
-
hooks:
|
|
4198
|
-
VerificationForm:
|
|
4199
|
-
collectDeviceProfile: async (e, t) =>
|
|
4200
|
-
resetStore:
|
|
4192
|
+
resetOptions: x,
|
|
4193
|
+
refreshStore: Pe,
|
|
4194
|
+
setMetadata: Ze,
|
|
4195
|
+
getMetadata: ze,
|
|
4196
|
+
resetMetadata: Ne,
|
|
4197
|
+
conversion: re,
|
|
4198
|
+
overrideComponent: Dt,
|
|
4199
|
+
resetOverriddenComponents: kt,
|
|
4200
|
+
postVerificationSizeUpdates: Qe,
|
|
4201
|
+
addHook: Fe,
|
|
4202
|
+
hooks: Me,
|
|
4203
|
+
VerificationForm: fc,
|
|
4204
|
+
collectDeviceProfile: async (e, t) => _c(await le.fetchProgramTheme(t), e),
|
|
4205
|
+
resetStore: Ge,
|
|
4201
4206
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4202
|
-
let n =
|
|
4203
|
-
let r =
|
|
4204
|
-
N.info("Setting programTheme", r),
|
|
4207
|
+
let n = Ve(), r = n.getState(), a = () => {
|
|
4208
|
+
let r = i(e);
|
|
4209
|
+
N.info("Setting programTheme", r), Ke(n.dispatch)(r, t.partial), se(r, t.partial);
|
|
4205
4210
|
};
|
|
4206
|
-
r.isLoading ?
|
|
4211
|
+
r.isLoading ? Fe({
|
|
4207
4212
|
name: "ON_VERIFICATION_READY",
|
|
4208
4213
|
callback: () => {
|
|
4209
|
-
|
|
4214
|
+
a();
|
|
4210
4215
|
}
|
|
4211
|
-
}) :
|
|
4216
|
+
}) : a();
|
|
4212
4217
|
}
|
|
4213
4218
|
};
|
|
4214
4219
|
//#endregion
|
|
4215
|
-
export {
|
|
4220
|
+
export { Bt as A, Dn as C, V as D, vn as E, ht as F, At as M, St as N, B as O, _t as P, H as S, yn as T, dr as _, so as a, In as b, ao as c, Va as d, vc as default, La as f, ba as g, Ia as h, vs as i, Nt as j, Gt as k, Ja as l, Ra as m, $s as n, co as o, za as p, Zs as r, uo as s, _c as t, Ua as u, Xn as v, xn as w, On as x, Wn as y };
|