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