@sheerid/jslib-nightly 2.288.0-alpha.2 → 2.289.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +902 -902
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BYiCmiVL.js → AddressComponent-BeNp-L-G.js} +8 -8
- package/chunk/{AddressComponent-BYiCmiVL.js.map → AddressComponent-BeNp-L-G.js.map} +1 -1
- package/chunk/{AddressComponent-jl9JaIsf.js → AddressComponent-D5Fw6SOl.js} +8 -8
- package/chunk/{AddressComponent-jl9JaIsf.js.map → AddressComponent-D5Fw6SOl.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BY6rZtgn.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-BY6rZtgn.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-LaMkmmM9.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-LaMkmmM9.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/{ApiUrls-BNFZcClH.js → ApiUrls-BdSouMkz.js} +6 -6
- package/chunk/{ApiUrls-BNFZcClH.js.map → ApiUrls-BdSouMkz.js.map} +1 -1
- package/chunk/{ApiUrls-B__fmUI_.js → ApiUrls-CtDBnXqD.js} +6 -6
- package/chunk/{ApiUrls-B__fmUI_.js.map → ApiUrls-CtDBnXqD.js.map} +1 -1
- package/chunk/{BirthDateComponent-CzrH33Zg.js → BirthDateComponent-D31lRMQy.js} +8 -8
- package/chunk/{BirthDateComponent-CzrH33Zg.js.map → BirthDateComponent-D31lRMQy.js.map} +1 -1
- package/chunk/{BirthDateComponent-S_RZIsMk.js → BirthDateComponent-DTtUnA-h.js} +8 -8
- package/chunk/{BirthDateComponent-S_RZIsMk.js.map → BirthDateComponent-DTtUnA-h.js.map} +1 -1
- package/chunk/{CaptchaComponent-C1jCPKW_.js → CaptchaComponent-BzRADJNs.js} +15 -15
- package/chunk/{CaptchaComponent-C1jCPKW_.js.map → CaptchaComponent-BzRADJNs.js.map} +1 -1
- package/chunk/{CaptchaComponent-SDwoAGuD.js → CaptchaComponent-Dnh4HGia.js} +15 -15
- package/chunk/{CaptchaComponent-SDwoAGuD.js.map → CaptchaComponent-Dnh4HGia.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CrGBsLAT.js → ChangeLocaleComponent-BvPfOPlX.js} +9 -9
- package/chunk/{ChangeLocaleComponent-CrGBsLAT.js.map → ChangeLocaleComponent-BvPfOPlX.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-bP_E0o2D.js → ChangeLocaleComponent-DK1C8zdL.js} +9 -9
- package/chunk/{ChangeLocaleComponent-bP_E0o2D.js.map → ChangeLocaleComponent-DK1C8zdL.js.map} +1 -1
- package/chunk/{City-gLjD_QXD.js → City-CCj5bmxu.js} +8 -8
- package/chunk/{City-CDs92PJs.js.map → City-CCj5bmxu.js.map} +1 -1
- package/chunk/{City-CDs92PJs.js → City-Fdz3PAY5.js} +8 -8
- package/chunk/{City-gLjD_QXD.js.map → City-Fdz3PAY5.js.map} +1 -1
- package/chunk/{CollegeNameComponent-NU_4lsMr.js → CollegeNameComponent-B3OxWYEe.js} +10 -10
- package/chunk/{CollegeNameComponent-DiMyUNHs.js.map → CollegeNameComponent-B3OxWYEe.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DiMyUNHs.js → CollegeNameComponent-D_laoU0C.js} +10 -10
- package/chunk/{CollegeNameComponent-NU_4lsMr.js.map → CollegeNameComponent-D_laoU0C.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-B3-5Ju65.js → CopyToClipboardComponent-BAOwMLHJ.js} +6 -6
- package/chunk/{CopyToClipboardComponent-B3-5Ju65.js.map → CopyToClipboardComponent-BAOwMLHJ.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Blt2TEku.js → CopyToClipboardComponent-BejK3fLR.js} +6 -6
- package/chunk/{CopyToClipboardComponent-Blt2TEku.js.map → CopyToClipboardComponent-BejK3fLR.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CgsJDdn7.js → CountryComponentWrapper-4HuF7PtA.js} +16 -16
- package/chunk/{CountryComponentWrapper-CSlqoIHA.js.map → CountryComponentWrapper-4HuF7PtA.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CSlqoIHA.js → CountryComponentWrapper-90V6oHiV.js} +16 -16
- package/chunk/{CountryComponentWrapper-CgsJDdn7.js.map → CountryComponentWrapper-90V6oHiV.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DgMx2R9Z.js → DischargeDateComponent-BRF9lRdG.js} +15 -15
- package/chunk/{DischargeDateComponent-CK7GlxLf.js.map → DischargeDateComponent-BRF9lRdG.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CK7GlxLf.js → DischargeDateComponent-CwGV6kRq.js} +15 -15
- package/chunk/{DischargeDateComponent-DgMx2R9Z.js.map → DischargeDateComponent-CwGV6kRq.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DVGDsdng.js → DriverLicenseNumberComponent-BQumObq3.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-DVGDsdng.js.map → DriverLicenseNumberComponent-BQumObq3.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Dw7B8Z_T.js → DriverLicenseNumberComponent-C5f28gsB.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-Dw7B8Z_T.js.map → DriverLicenseNumberComponent-C5f28gsB.js.map} +1 -1
- package/chunk/{EmailLoopPending-CtfDxES3.js → EmailLoopPending-B874J_rW.js} +11 -11
- package/chunk/{EmailLoopPending-CtfDxES3.js.map → EmailLoopPending-B874J_rW.js.map} +1 -1
- package/chunk/{EmailLoopPending-DfQWXrgo.js → EmailLoopPending-BiW-jMgS.js} +11 -11
- package/chunk/{EmailLoopPending-DfQWXrgo.js.map → EmailLoopPending-BiW-jMgS.js.map} +1 -1
- package/chunk/{ExtraMessage-CwJ-dMVo.js → ExtraMessage-CBQ_MMqS.js} +7 -7
- package/chunk/{ExtraMessage-C4FhNUn9.js.map → ExtraMessage-CBQ_MMqS.js.map} +1 -1
- package/chunk/{ExtraMessage-C4FhNUn9.js → ExtraMessage-d53pI5VW.js} +7 -7
- package/chunk/{ExtraMessage-CwJ-dMVo.js.map → ExtraMessage-d53pI5VW.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-kkbnKhhM.js → FirstResponderOrganizationComponent-BQRHKS3W.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CvfYzERW.js.map → FirstResponderOrganizationComponent-BQRHKS3W.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CvfYzERW.js → FirstResponderOrganizationComponent-BdU1eWFL.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-kkbnKhhM.js.map → FirstResponderOrganizationComponent-BdU1eWFL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C4QhrekJ.js → FormFieldInputSelect-BVi1I8xF.js} +7 -7
- package/chunk/{FormFieldInputSelect-56Qcyesp.js.map → FormFieldInputSelect-BVi1I8xF.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-56Qcyesp.js → FormFieldInputSelect-C__E_MAj.js} +7 -7
- package/chunk/{FormFieldInputSelect-C4QhrekJ.js.map → FormFieldInputSelect-C__E_MAj.js.map} +1 -1
- package/chunk/{FormFieldLayout-DqhnoHCo.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-DXt0ToGW.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-DXt0ToGW.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-DqhnoHCo.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-DzErOnhk.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-DzErOnhk.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-VGmZG0Lb.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-VGmZG0Lb.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C-d-4kDc.js → FormFieldTypeahead-BrLftW9m.js} +13 -13
- package/chunk/{FormFieldTypeahead-C-d-4kDc.js.map → FormFieldTypeahead-BrLftW9m.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CpittKWN.js → FormFieldTypeahead-g4kn6Ziz.js} +13 -13
- package/chunk/{FormFieldTypeahead-CpittKWN.js.map → FormFieldTypeahead-g4kn6Ziz.js.map} +1 -1
- package/chunk/{FormFooterComponent-C_Hv2PMX.js → FormFooterComponent-BnufDUsI.js} +13 -13
- package/chunk/{FormFooterComponent-C_Hv2PMX.js.map → FormFooterComponent-BnufDUsI.js.map} +1 -1
- package/chunk/{FormFooterComponent-Bk6tVgn_.js → FormFooterComponent-CBzuJqga.js} +13 -13
- package/chunk/{FormFooterComponent-Bk6tVgn_.js.map → FormFooterComponent-CBzuJqga.js.map} +1 -1
- package/chunk/{FormSelectChoice-BS90KVVl.js → FormSelectChoice-CBmEjgsV.js} +8 -8
- package/chunk/{FormSelectChoice-14M849ZM.js.map → FormSelectChoice-CBmEjgsV.js.map} +1 -1
- package/chunk/{FormSelectChoice-14M849ZM.js → FormSelectChoice-D4xgznnU.js} +8 -8
- package/chunk/{FormSelectChoice-BS90KVVl.js.map → FormSelectChoice-D4xgznnU.js.map} +1 -1
- package/chunk/{InputText-Ca7uYXcO.js → InputText-CMu4ei8e.js} +6 -6
- package/chunk/{InputText-Bla-3rez.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-Bla-3rez.js → InputText-dflyPe3J.js} +6 -6
- package/chunk/{InputText-Ca7uYXcO.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-TbZf1p47.js → LicensedProfessionalOrganizationComponent-BwDU4RJ5.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BO_KJrBP.js.map → LicensedProfessionalOrganizationComponent-BwDU4RJ5.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BO_KJrBP.js → LicensedProfessionalOrganizationComponent-DCZwcMaY.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-TbZf1p47.js.map → LicensedProfessionalOrganizationComponent-DCZwcMaY.js.map} +1 -1
- package/chunk/{LogoComponent-DEBmCERD.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-B0nd1tuK.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-B0nd1tuK.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-DEBmCERD.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-8S9C81aL.js → LowIncomeOrganizationComponent-CSuF576C.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-8S9C81aL.js.map → LowIncomeOrganizationComponent-CSuF576C.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CpRejkiE.js → LowIncomeOrganizationComponent-bPCGRlXF.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-CpRejkiE.js.map → LowIncomeOrganizationComponent-bPCGRlXF.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Bv8ILmon.js → MedicalProfessionalOrganizationComponent-C2gJI1Jp.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-j9YN-OAk.js.map → MedicalProfessionalOrganizationComponent-C2gJI1Jp.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-j9YN-OAk.js → MedicalProfessionalOrganizationComponent-CoQs2Ytq.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-Bv8ILmon.js.map → MedicalProfessionalOrganizationComponent-CoQs2Ytq.js.map} +1 -1
- package/chunk/{MemberIdComponent-BdCR-spM.js → MemberIdComponent-Cri_P-rO.js} +8 -8
- package/chunk/{MemberIdComponent-BdCR-spM.js.map → MemberIdComponent-Cri_P-rO.js.map} +1 -1
- package/chunk/{MemberIdComponent-CMfsuser.js → MemberIdComponent-EqTp34AE.js} +8 -8
- package/chunk/{MemberIdComponent-CMfsuser.js.map → MemberIdComponent-EqTp34AE.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BVMDHAAJ.js → MembershipOrganizationComponent-CxUs8BaV.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BVMDHAAJ.js.map → MembershipOrganizationComponent-CxUs8BaV.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-k0Dacmz6.js → MembershipOrganizationComponent-f9_wezUf.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-k0Dacmz6.js.map → MembershipOrganizationComponent-f9_wezUf.js.map} +1 -1
- package/chunk/{Message-BHkGarjE.js → Message-BRkHraGP.js} +979 -977
- package/chunk/{Message-BHkGarjE.js.map → Message-BRkHraGP.js.map} +1 -1
- package/chunk/{Message-DQwVDFDI.js → Message-Du4XoDkn.js} +10 -10
- package/chunk/{Message-DQwVDFDI.js.map → Message-Du4XoDkn.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-C3qFXk_y.js → PersonalInfoStepSubmitButton-BqmOCX_-.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-BNzPmdj2.js.map → PersonalInfoStepSubmitButton-BqmOCX_-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BNzPmdj2.js → PersonalInfoStepSubmitButton-D8euC7a6.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-C3qFXk_y.js.map → PersonalInfoStepSubmitButton-D8euC7a6.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DBVzHUVq.js → PersonalInfoStepWrapper-BaLTXbOU.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-DBVzHUVq.js.map → PersonalInfoStepWrapper-BaLTXbOU.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BgXSFrG3.js → PersonalInfoStepWrapper-BwMw28Na.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BgXSFrG3.js.map → PersonalInfoStepWrapper-BwMw28Na.js.map} +1 -1
- package/chunk/{PostalCodeComponent-s22SnL3W.js → PostalCodeComponent-PLQkOrTl.js} +8 -8
- package/chunk/{PostalCodeComponent-CwTTqOfq.js.map → PostalCodeComponent-PLQkOrTl.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CwTTqOfq.js → PostalCodeComponent-xwnNp5Z9.js} +8 -8
- package/chunk/{PostalCodeComponent-s22SnL3W.js.map → PostalCodeComponent-xwnNp5Z9.js.map} +1 -1
- package/chunk/{SSN-C8150irp.js → SSN-CHx2xUBn.js} +8 -8
- package/chunk/{SSN-C8150irp.js.map → SSN-CHx2xUBn.js.map} +1 -1
- package/chunk/{SSN-CN1AySRv.js → SSN-DACFCGKs.js} +8 -8
- package/chunk/{SSN-CN1AySRv.js.map → SSN-DACFCGKs.js.map} +1 -1
- package/chunk/StateSelectComponent-B9Hq8FvQ.js +46 -0
- package/chunk/StateSelectComponent-B9Hq8FvQ.js.map +1 -0
- package/chunk/StateSelectComponent-Ca_tT3og.js +42 -0
- package/chunk/StateSelectComponent-Ca_tT3og.js.map +1 -0
- package/chunk/{StatusComponent-Cygs9AMY.js → StatusComponent-CK2vKFlN.js} +9 -9
- package/chunk/{StatusComponent-Cygs9AMY.js.map → StatusComponent-CK2vKFlN.js.map} +1 -1
- package/chunk/{StatusComponent-Bwi_-s-2.js → StatusComponent-D8MJNfSo.js} +9 -9
- package/chunk/{StatusComponent-Bwi_-s-2.js.map → StatusComponent-D8MJNfSo.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-3GmwW-rY.js → StepAgePersonalInfo-DUeM21DB.js} +41 -41
- package/chunk/{StepAgePersonalInfo-3GmwW-rY.js.map → StepAgePersonalInfo-DUeM21DB.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Sf-u9plZ.js → StepAgePersonalInfo-DnLcXXG2.js} +41 -41
- package/chunk/{StepAgePersonalInfo-Sf-u9plZ.js.map → StepAgePersonalInfo-DnLcXXG2.js.map} +1 -1
- package/chunk/{StepCard-CyaGxns4.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-1HzVBCwp.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-1HzVBCwp.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-CyaGxns4.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DFIiJ01u.js → StepCollectIdentifier-CcXXslSj.js} +11 -11
- package/chunk/{StepCollectIdentifier-Bmc3SSNb.js.map → StepCollectIdentifier-CcXXslSj.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Bmc3SSNb.js → StepCollectIdentifier-DHgcgACz.js} +11 -11
- package/chunk/{StepCollectIdentifier-DFIiJ01u.js.map → StepCollectIdentifier-DHgcgACz.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DfC21x7m.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DfC21x7m.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-Bz9zTSDk.js +372 -0
- package/chunk/StepCollectPersonalInfo-Bz9zTSDk.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-C3vUk7iR.js +368 -0
- package/chunk/StepCollectPersonalInfo-C3vUk7iR.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-B5Z6VGje.js → StepCompleteAuthentication-C0h-GP7o.js} +9 -9
- package/chunk/{StepCompleteAuthentication-B5Z6VGje.js.map → StepCompleteAuthentication-C0h-GP7o.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DotkcAbK.js → StepCompleteAuthentication-Te9Cnb88.js} +9 -9
- package/chunk/{StepCompleteAuthentication-DotkcAbK.js.map → StepCompleteAuthentication-Te9Cnb88.js.map} +1 -1
- package/chunk/{StepConsolation-BYa4B6M1.js → StepConsolation-M4-rWsLz.js} +8 -8
- package/chunk/{StepConsolation-BaSShRS1.js.map → StepConsolation-M4-rWsLz.js.map} +1 -1
- package/chunk/{StepConsolation-BaSShRS1.js → StepConsolation-zanWJPyr.js} +8 -8
- package/chunk/{StepConsolation-BYa4B6M1.js.map → StepConsolation-zanWJPyr.js.map} +1 -1
- package/chunk/{StepDocUpload-CSdGLLLR.js → StepDocUpload-CiZDqh-v.js} +13 -13
- package/chunk/{StepDocUpload-CSdGLLLR.js.map → StepDocUpload-CiZDqh-v.js.map} +1 -1
- package/chunk/{StepDocUpload-HRvkG4Ir.js → StepDocUpload-RBnwXwU7.js} +13 -13
- package/chunk/{StepDocUpload-HRvkG4Ir.js.map → StepDocUpload-RBnwXwU7.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-C5rPXk01.js +141 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-C5rPXk01.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Qw8-GVkT.js +145 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Qw8-GVkT.js.map +1 -0
- package/chunk/{StepEmailLoop-gYLKxXUQ.js → StepEmailLoop-DERy3yWj.js} +13 -13
- package/chunk/{StepEmailLoop-gYLKxXUQ.js.map → StepEmailLoop-DERy3yWj.js.map} +1 -1
- package/chunk/{StepEmailLoop-DMO9tx7H.js → StepEmailLoop-DI6tVTg8.js} +13 -13
- package/chunk/{StepEmailLoop-DMO9tx7H.js.map → StepEmailLoop-DI6tVTg8.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B0noVhtm.js → StepEmploymentPersonalInfo-CBk9c82h.js} +63 -64
- package/chunk/StepEmploymentPersonalInfo-CBk9c82h.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-BcjV9MdK.js → StepEmploymentPersonalInfo-CLt0Lfv-.js} +63 -64
- package/chunk/StepEmploymentPersonalInfo-CLt0Lfv-.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-1-PVW2Dx.js → StepFirstResponderPersonalInfo-BcZprmpl.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-1-PVW2Dx.js.map → StepFirstResponderPersonalInfo-BcZprmpl.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CZQ5HfH0.js → StepFirstResponderPersonalInfo-DO6e8G5h.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-CZQ5HfH0.js.map → StepFirstResponderPersonalInfo-DO6e8G5h.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DGwQ0YIT.js +178 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DGwQ0YIT.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-PQmSkN1H.js +174 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-PQmSkN1H.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D6r320Tt.js → StepHybridIdentityPersonalInfoComponent-VcP570pj.js} +70 -62
- package/chunk/StepHybridIdentityPersonalInfoComponent-VcP570pj.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-r67vOQrB.js +183 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-r67vOQrB.js.map +1 -0
- package/chunk/{StepIDCheckLoop-CGLn5aLh.js → StepIDCheckLoop-BBEjluIy.js} +8 -8
- package/chunk/{StepIDCheckLoop-Bma6ihDq.js.map → StepIDCheckLoop-BBEjluIy.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Bma6ihDq.js → StepIDCheckLoop-BLDsBgOV.js} +8 -8
- package/chunk/{StepIDCheckLoop-CGLn5aLh.js.map → StepIDCheckLoop-BLDsBgOV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BLw0U1qh.js → StepIDCheckLoopOnfido-Cb_jsIVg.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-C7pA3V6P.js.map → StepIDCheckLoopOnfido-Cb_jsIVg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-C7pA3V6P.js → StepIDCheckLoopOnfido-D7NUn6Et.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-BLw0U1qh.js.map → StepIDCheckLoopOnfido-D7NUn6Et.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DrdDgJmD.js → StepIDCheckLoopRegula-B4Qc-9l6.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-Dj2LJJDR.js.map → StepIDCheckLoopRegula-B4Qc-9l6.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Dj2LJJDR.js → StepIDCheckLoopRegula-BvqiBUKp.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DrdDgJmD.js.map → StepIDCheckLoopRegula-BvqiBUKp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CzEEL1it.js → StepLicensedProfessionalPersonalInfo-DA2uaNwH.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-CzEEL1it.js.map → StepLicensedProfessionalPersonalInfo-DA2uaNwH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DZQIrN6u.js → StepLicensedProfessionalPersonalInfo-EK6sFXd6.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-DZQIrN6u.js.map → StepLicensedProfessionalPersonalInfo-EK6sFXd6.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BgN-BYGF.js → StepLowIncomePersonalInfo-Dybu4M1l.js} +69 -70
- package/chunk/StepLowIncomePersonalInfo-Dybu4M1l.js.map +1 -0
- package/chunk/{StepLowIncomePersonalInfo-PUxIQA-r.js → StepLowIncomePersonalInfo-rDcT9W0y.js} +70 -71
- package/chunk/StepLowIncomePersonalInfo-rDcT9W0y.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-D1uDXSfQ.js → StepMedicalProfessionalPersonalInfo-BzYrBQie.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-BxbxlBe6.js.map → StepMedicalProfessionalPersonalInfo-BzYrBQie.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BxbxlBe6.js → StepMedicalProfessionalPersonalInfo-CK2vTdQ1.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-D1uDXSfQ.js.map → StepMedicalProfessionalPersonalInfo-CK2vTdQ1.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-B6rp9pes.js → StepMemberPersonalInfo--vBa801a.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-B6rp9pes.js.map → StepMemberPersonalInfo--vBa801a.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-vwOAY5wA.js → StepMemberPersonalInfo-Dr7o4WOR.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-vwOAY5wA.js.map → StepMemberPersonalInfo-Dr7o4WOR.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DuicectH.js → StepMoverPersonalInfo-CLbLna8Z.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-BU0a7ler.js.map → StepMoverPersonalInfo-CLbLna8Z.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BU0a7ler.js → StepMoverPersonalInfo-CefTfbMn.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-DuicectH.js.map → StepMoverPersonalInfo-CefTfbMn.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BaKiTDty.js → StepOverrideComponent-BimyAczJ.js} +12 -12
- package/chunk/{StepOverrideComponent-BaKiTDty.js.map → StepOverrideComponent-BimyAczJ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Clon2hjy.js → StepOverrideComponent-Y-Rg11sf.js} +12 -12
- package/chunk/{StepOverrideComponent-Clon2hjy.js.map → StepOverrideComponent-Y-Rg11sf.js.map} +1 -1
- package/chunk/{StepSMSLoop-C3N4Uf4q.js → StepSMSLoop-DSLnGYCc.js} +9 -9
- package/chunk/{StepSMSLoop-C3N4Uf4q.js.map → StepSMSLoop-DSLnGYCc.js.map} +1 -1
- package/chunk/{StepSMSLoop-KhKSdx_8.js → StepSMSLoop-z6efVgK1.js} +9 -9
- package/chunk/{StepSMSLoop-KhKSdx_8.js.map → StepSMSLoop-z6efVgK1.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CbZmSWzw.js → StepSocialSecurityNumber-YP770z3t.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-BFpLDlQ1.js.map → StepSocialSecurityNumber-YP770z3t.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BFpLDlQ1.js → StepSocialSecurityNumber-zY9aiI2d.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-CbZmSWzw.js.map → StepSocialSecurityNumber-zY9aiI2d.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DlkOEIN0.js → StepStudentPersonalInfo-4uclqJHu.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-DFeEoWMP.js.map → StepStudentPersonalInfo-4uclqJHu.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DFeEoWMP.js → StepStudentPersonalInfo-F2hvPXnQ.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-DlkOEIN0.js.map → StepStudentPersonalInfo-F2hvPXnQ.js.map} +1 -1
- package/chunk/{StepSuccess-CjDsDNLr.js → StepSuccess-LQLUBQPj.js} +13 -13
- package/chunk/{StepSuccess-CjDsDNLr.js.map → StepSuccess-LQLUBQPj.js.map} +1 -1
- package/chunk/{StepSuccess-By2-IpCK.js → StepSuccess-VXplEuge.js} +13 -13
- package/chunk/{StepSuccess-By2-IpCK.js.map → StepSuccess-VXplEuge.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-3UMwse2G.js → StepTeacherPersonalInfo-BTsWQciS.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-2Epz99jU.js.map → StepTeacherPersonalInfo-BTsWQciS.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-2Epz99jU.js → StepTeacherPersonalInfo-DPw4SXay.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-3UMwse2G.js.map → StepTeacherPersonalInfo-DPw4SXay.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-BdtRV7di.js → TeacherSchoolComponent-BipsngYT.js} +10 -10
- package/chunk/{TeacherSchoolComponent-BdtRV7di.js.map → TeacherSchoolComponent-BipsngYT.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-D0EO5eJm.js → TeacherSchoolComponent-js2bWsBM.js} +10 -10
- package/chunk/{TeacherSchoolComponent-D0EO5eJm.js.map → TeacherSchoolComponent-js2bWsBM.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-Bn0_IFij.js → TestingRouteOverrides-EggQSvgh.js} +6 -6
- package/chunk/{TestingRouteOverrides-CAICO9Vh.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CAICO9Vh.js → TestingRouteOverrides-ipf_F-iY.js} +6 -6
- package/chunk/{TestingRouteOverrides-Bn0_IFij.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-BdL8HE5Y.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-BdL8HE5Y.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-DQPzApKG.js.map → countryUtils-n_5QoHGV.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-aysyel0z.js → downshift.esm-BM8i3u-h.js} +7 -7
- package/chunk/{downshift.esm-aysyel0z.js.map → downshift.esm-BM8i3u-h.js.map} +1 -1
- package/chunk/{downshift.esm-3VTU_cx2.js → downshift.esm-DRVaY9oc.js} +7 -7
- package/chunk/{downshift.esm-3VTU_cx2.js.map → downshift.esm-DRVaY9oc.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-Cqb2xU53.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-Cqb2xU53.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-BVpS0Pt6.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-BVpS0Pt6.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/{en-GB-CNQ8Ww2j.js → en-GB-BBkjjtqq.js} +5 -5
- package/chunk/{en-GB-CNQ8Ww2j.js.map → en-GB-BBkjjtqq.js.map} +1 -1
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-BdAc8QeA.js → hooks-BlwolTIT.js} +7 -7
- package/chunk/{hooks-BdAc8QeA.js.map → hooks-BlwolTIT.js.map} +1 -1
- package/chunk/{hooks-D34_H_RU.js → hooks-gC9DtNY1.js} +7 -7
- package/chunk/{hooks-D34_H_RU.js.map → hooks-gC9DtNY1.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-ylK_1hh_.js → intl-CvSmE54g.js} +5 -5
- package/chunk/{intl-ylK_1hh_.js.map → intl-CvSmE54g.js.map} +1 -1
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-ckyAGLc5.js → jsx-runtime-CyXcV_93.js} +5 -5
- package/chunk/{jsx-runtime-BxMVlYXm.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-BxMVlYXm.js → jsx-runtime-JSlXFmKD.js} +5 -5
- package/chunk/{jsx-runtime-ckyAGLc5.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-D6W4OBdg.js → mocks-Dpf6dNc6.js} +5 -5
- package/chunk/{mocks-AiIRO45v.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-AiIRO45v.js → mocks-DrV8NINc.js} +5 -5
- package/chunk/{mocks-D6W4OBdg.js.map → mocks-DrV8NINc.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-nvc9DFQu.js → options-CRzdSTAR.js} +5 -5
- package/chunk/{options-nvc9DFQu.js.map → options-CRzdSTAR.js.map} +1 -1
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BME3fJZI.js → programThemeGetters-DYWYXv-a.js} +5 -5
- package/chunk/{programThemeGetters-BiTqOEZX.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/{programThemeGetters-BiTqOEZX.js → programThemeGetters-VBnkSxuj.js} +5 -5
- package/chunk/{programThemeGetters-BME3fJZI.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CLwMg193.js → stepComponentHelpers-8vMTyTNc.js} +40 -46
- package/chunk/stepComponentHelpers-8vMTyTNc.js.map +1 -0
- package/chunk/{stepComponentHelpers-CtzbPjrF.js → stepComponentHelpers-DQATrJ6-.js} +40 -46
- package/chunk/stepComponentHelpers-DQATrJ6-.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-CY0rNris.js → useCollectFieldsEndpoint-tNlincBX.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-CN5V84JA.js.map → useCollectFieldsEndpoint-tNlincBX.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CN5V84JA.js → useCollectFieldsEndpoint-ug23y0xv.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-CY0rNris.js.map → useCollectFieldsEndpoint-ug23y0xv.js.map} +1 -1
- package/chunk/{useMetrics-BNTxf5pc.js → useMetrics-C3KNudJk.js} +7 -7
- package/chunk/{useMetrics-BNTxf5pc.js.map → useMetrics-C3KNudJk.js.map} +1 -1
- package/chunk/{useMetrics-C4u5pvwu.js → useMetrics-Cjo0Vkjx.js} +7 -7
- package/chunk/{useMetrics-C4u5pvwu.js.map → useMetrics-Cjo0Vkjx.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +44 -44
- package/chunk/StateSelectComponent-Clp_571k.js +0 -38
- package/chunk/StateSelectComponent-Clp_571k.js.map +0 -1
- package/chunk/StateSelectComponent-VsaECfUZ.js +0 -42
- package/chunk/StateSelectComponent-VsaECfUZ.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-XWdESlgK.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-XWdESlgK.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-i55iFUsp.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-i55iFUsp.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-DrwcafDx.js +0 -373
- package/chunk/StepCollectPersonalInfo-DrwcafDx.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-MOx8lad1.js +0 -369
- package/chunk/StepCollectPersonalInfo-MOx8lad1.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CZkynCYy.js +0 -146
- package/chunk/StepDriverLicensePersonalInfoComponent-CZkynCYy.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-xpjjOjkm.js +0 -142
- package/chunk/StepDriverLicensePersonalInfoComponent-xpjjOjkm.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-B0noVhtm.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-BcjV9MdK.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D6r320Tt.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-I0OZM_K7.js +0 -175
- package/chunk/StepGeneralIdentityPersonalInfoComponent-I0OZM_K7.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-Av8xP684.js +0 -188
- package/chunk/StepHybridIdentityPersonalInfoComponent-Av8xP684.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-Ctedzoyw.js +0 -184
- package/chunk/StepHybridIdentityPersonalInfoComponent-Ctedzoyw.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-BgN-BYGF.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-PUxIQA-r.js.map +0 -1
- package/chunk/countryUtils-DQPzApKG.js +0 -12
- package/chunk/stepComponentHelpers-CLwMg193.js.map +0 -1
- package/chunk/stepComponentHelpers-CtzbPjrF.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,47 +4,47 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.289.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789752380016
|
|
9
|
+
* BUILD_DATE: Fri Sep 18 2026 17:26:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 5de9a8a81f915229295bf8fa54bf38ad1614623e
|
|
11
11
|
*/
|
|
12
|
-
import { D as e, E as t, Et as n, Ot as r, T as i, Tt as a, b as o, c as s, f as c, g as l, h as u, i as d, k as f, l as p, m, mt as h, n as g, o as _, p as v, r as y, s as b, st as x, t as S, v as C, w, wt as T, x as ee, y as E } from "./chunk/intl-
|
|
12
|
+
import { D as e, E as t, Et as n, Ot as r, T as i, Tt as a, b as o, c as s, f as c, g as l, h as u, i as d, k as f, l as p, m, mt as h, n as g, o as _, p as v, r as y, s as b, st as x, t as S, v as C, w, wt as T, x as ee, y as E } from "./chunk/intl-CvSmE54g.js";
|
|
13
13
|
import { S as D, b as O, h as k, x as te } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { f as A, m as j, p as M, u as ne } from "./chunk/ApiUrls-
|
|
15
|
-
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-
|
|
16
|
-
import { F as oe, I as se,
|
|
17
|
-
import { a as
|
|
18
|
-
import { _ as
|
|
19
|
-
import { i as
|
|
20
|
-
import { a as
|
|
21
|
-
import { i as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
14
|
+
import { f as A, m as j, p as M, u as ne } from "./chunk/ApiUrls-BdSouMkz.js";
|
|
15
|
+
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-JSlXFmKD.js";
|
|
16
|
+
import { F as oe, I as se, L as ce, M as le, P as ue, S as de, _ as fe, a as pe, b as me, c as he, d as ge, f as _e, g as ve, i as ye, j as be, k as xe, o as Se, r as Ce, s as we, t as P, u as Te, v as Ee, x as De, y as Oe } from "./chunk/Message-BRkHraGP.js";
|
|
17
|
+
import { a as ke, i as Ae, n as je, r as Me, s as Ne, t as Pe } from "./chunk/TestingRouteOverrides-ipf_F-iY.js";
|
|
18
|
+
import { _ as Fe, a as Ie, c as Le, d as Re, f as ze, g as Be, h as Ve, i as He, l as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe } from "./chunk/FormFooterComponent-BnufDUsI.js";
|
|
19
|
+
import { i as Ze } from "./chunk/programThemeGetters-DYWYXv-a.js";
|
|
20
|
+
import { a as Qe, i as $e, n as et, r as tt, t as nt } from "./chunk/hooks-BlwolTIT.js";
|
|
21
|
+
import { i as rt, s as it, t as at } from "./chunk/refs-Mq0rtW9K.js";
|
|
22
|
+
import { t as ot } from "./chunk/LogoComponent-BDhMcJvy.js";
|
|
23
|
+
import { t as st } from "./chunk/strings-DWLVdUcm.js";
|
|
24
|
+
import { t as ct } from "./chunk/AnnouncingHeader-B0Ku-xl_.js";
|
|
25
25
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
26
26
|
var F = /* @__PURE__ */ r(re());
|
|
27
|
-
function
|
|
27
|
+
function lt({ i18n: e, defaultNS: t, children: n }) {
|
|
28
28
|
let r = (0, F.useMemo)(() => ({
|
|
29
29
|
i18n: e,
|
|
30
30
|
defaultNS: t
|
|
31
31
|
}), [e, t]);
|
|
32
|
-
return (0, F.createElement)(
|
|
32
|
+
return (0, F.createElement)(ce.Provider, { value: r }, n);
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
36
|
-
var
|
|
37
|
-
let n =
|
|
36
|
+
var ut = (e, t = { partial: !0 }) => {
|
|
37
|
+
let n = qe(), r = n.getState(), i = () => {
|
|
38
38
|
let r = f(e);
|
|
39
|
-
D.info("Setting programTheme", r),
|
|
39
|
+
D.info("Setting programTheme", r), Re(n.dispatch)(r, t.partial), Ee(r, t.partial);
|
|
40
40
|
};
|
|
41
|
-
r.isLoading ?
|
|
41
|
+
r.isLoading ? Ve({
|
|
42
42
|
name: "ON_VERIFICATION_READY",
|
|
43
43
|
callback: () => {
|
|
44
44
|
i();
|
|
45
45
|
}
|
|
46
46
|
}) : i();
|
|
47
|
-
},
|
|
47
|
+
}, dt = /* @__PURE__ */ r(a(), 1), ft = /* @__PURE__ */ r(ve(), 1), I = ae(), pt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
48
48
|
className: "sid-spinner",
|
|
49
49
|
"data-testid": "sid-spinner",
|
|
50
50
|
children: [
|
|
@@ -53,7 +53,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
53
53
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
54
54
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
55
55
|
]
|
|
56
|
-
}),
|
|
56
|
+
}), mt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen__message",
|
|
58
58
|
children: [te(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
59
59
|
className: "sid-loading-screen__message-header",
|
|
@@ -69,10 +69,10 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
69
69
|
defaultMessage: "This should only take a minute"
|
|
70
70
|
})
|
|
71
71
|
})]
|
|
72
|
-
}),
|
|
72
|
+
}), ht = ({ step: e = Pe() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
73
73
|
className: "sid-loading-screen",
|
|
74
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
75
|
-
}),
|
|
74
|
+
children: [/* @__PURE__ */ (0, I.jsx)(pt, {}), e && /* @__PURE__ */ (0, I.jsx)(mt, { step: e })]
|
|
75
|
+
}), gt = /* @__PURE__ */ n(((e, t) => {
|
|
76
76
|
var n, r = n = {
|
|
77
77
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
78
78
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -139,13 +139,13 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
139
139
|
enumerable: !0,
|
|
140
140
|
configurable: !1
|
|
141
141
|
}), t.exports = r;
|
|
142
|
-
})),
|
|
143
|
-
var n =
|
|
142
|
+
})), _t = /* @__PURE__ */ n(((e, t) => {
|
|
143
|
+
var n = gt();
|
|
144
144
|
t.exports = {
|
|
145
145
|
isRtlLang: n.isRtlLang,
|
|
146
146
|
getLangDir: n.getLangDir
|
|
147
147
|
};
|
|
148
|
-
})),
|
|
148
|
+
})), vt = /* @__PURE__ */ r(ue(), 1), yt = /* @__PURE__ */ r(_t(), 1), L = {
|
|
149
149
|
landingBackgroundColor: "#fff",
|
|
150
150
|
landingPrimaryFontColor: "#000",
|
|
151
151
|
landingBackgroundImage: "none",
|
|
@@ -159,7 +159,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
159
159
|
formFont: "var(--sheerid-font-family-sans)",
|
|
160
160
|
cssVariables: null,
|
|
161
161
|
customStyles: null
|
|
162
|
-
},
|
|
162
|
+
}, bt = F.createContext(L), R = {
|
|
163
163
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
164
164
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
165
165
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -173,7 +173,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
173
173
|
formFont: "--sheerid-font-family-body",
|
|
174
174
|
cssVariables: null,
|
|
175
175
|
customStyles: null
|
|
176
|
-
},
|
|
176
|
+
}, xt = {
|
|
177
177
|
"--sheerid-color-fg-05": {
|
|
178
178
|
from: "--sheerid-color-bg",
|
|
179
179
|
to: "--sheerid-color-fg",
|
|
@@ -284,7 +284,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
284
284
|
to: "--sheerid-color-fg",
|
|
285
285
|
percentage: 3
|
|
286
286
|
}
|
|
287
|
-
},
|
|
287
|
+
}, St = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
288
288
|
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 = {
|
|
289
289
|
[R.landingBackgroundColor]: s,
|
|
290
290
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -297,12 +297,12 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
297
297
|
[R.formH1FontColor]: h,
|
|
298
298
|
[R.formHelperFontColor]: g,
|
|
299
299
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
300
|
-
...Object.entries(
|
|
300
|
+
...Object.entries(xt).reduce((e, [t, n]) => {
|
|
301
301
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
302
302
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
303
303
|
}, {})
|
|
304
304
|
}, y = F.useRef(null), b = M() === A.cdnInlineIframe, x = M() === A.cdnModalIframe;
|
|
305
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
305
|
+
return /* @__PURE__ */ (0, I.jsx)(bt.Provider, {
|
|
306
306
|
value: {
|
|
307
307
|
landingBackgroundColor: s,
|
|
308
308
|
landingPrimaryFontColor: c,
|
|
@@ -326,7 +326,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
326
326
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
327
327
|
})
|
|
328
328
|
});
|
|
329
|
-
},
|
|
329
|
+
}, Ct = (e, t, n) => ({
|
|
330
330
|
minAge: t?.minAge || e?.config?.minAge,
|
|
331
331
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
332
332
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -334,29 +334,29 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
334
334
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
335
335
|
currentStep: t?.currentStep,
|
|
336
336
|
viewModel: n
|
|
337
|
-
}),
|
|
337
|
+
}), wt = {}, Tt = (e) => wt[e] ? (D.log(`getOverridenComponent returning ${e}`), wt[e]) : null, Et = ({ verificationService: e, linkText: t }) => {
|
|
338
338
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
339
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
339
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(Ce, {
|
|
340
340
|
className: "sid-faq sid-link",
|
|
341
|
-
href:
|
|
341
|
+
href: Ze(i, n, r, S(e.viewModel), e.verificationResponse),
|
|
342
342
|
children: t || /* @__PURE__ */ (0, I.jsx)(N, {
|
|
343
343
|
id: "getHelp",
|
|
344
344
|
defaultMessage: "Get help"
|
|
345
345
|
})
|
|
346
346
|
}) : null;
|
|
347
|
-
},
|
|
347
|
+
}, Dt = /* @__PURE__ */ (0, I.jsx)(N, {
|
|
348
348
|
id: "poweredBy",
|
|
349
349
|
defaultMessage: "Verification services powered by SheerID."
|
|
350
|
-
}),
|
|
350
|
+
}), Ot = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
351
351
|
switch (n) {
|
|
352
352
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
353
353
|
className: "sid-footer__powered-by-container-experiment",
|
|
354
354
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
355
355
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
356
|
-
children:
|
|
356
|
+
children: Dt
|
|
357
357
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
358
358
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
359
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
359
|
+
children: /* @__PURE__ */ (0, I.jsx)(Et, { verificationService: e })
|
|
360
360
|
})]
|
|
361
361
|
});
|
|
362
362
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -369,28 +369,28 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
369
369
|
alt: "",
|
|
370
370
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
371
371
|
})
|
|
372
|
-
}),
|
|
372
|
+
}), Dt]
|
|
373
373
|
})
|
|
374
374
|
});
|
|
375
375
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
376
376
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
377
377
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
378
378
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
379
|
-
children:
|
|
379
|
+
children: Dt
|
|
380
380
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
381
381
|
className: t ? "sid-l-space-top-sm" : "",
|
|
382
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
382
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(Et, { verificationService: e })]
|
|
383
383
|
})]
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
|
-
},
|
|
386
|
+
}, kt = (e, t) => {
|
|
387
387
|
let n = F.useRef(null);
|
|
388
388
|
function r() {
|
|
389
389
|
clearInterval(n.current);
|
|
390
390
|
}
|
|
391
391
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
392
|
-
},
|
|
393
|
-
let a =
|
|
392
|
+
}, At = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Nt.PRIMARY }) => {
|
|
393
|
+
let a = st(e);
|
|
394
394
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
395
395
|
className: "sid-header sid-l-horz-center",
|
|
396
396
|
children: [
|
|
@@ -398,7 +398,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
398
398
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
399
399
|
children: n
|
|
400
400
|
}),
|
|
401
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
401
|
+
/* @__PURE__ */ (0, I.jsx)(ct, {
|
|
402
402
|
align: "center",
|
|
403
403
|
children: t.title
|
|
404
404
|
}),
|
|
@@ -414,7 +414,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
414
414
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
415
415
|
onClick: r,
|
|
416
416
|
type: "submit",
|
|
417
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
417
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Nt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
418
418
|
"aria-label": "submit",
|
|
419
419
|
children: t.cancel
|
|
420
420
|
})
|
|
@@ -423,20 +423,20 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
423
423
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
424
424
|
]
|
|
425
425
|
});
|
|
426
|
-
},
|
|
426
|
+
}, jt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Nt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(At, {
|
|
427
427
|
messages: t,
|
|
428
428
|
stepName: e,
|
|
429
429
|
logo: n,
|
|
430
430
|
cancelSingleSignOn: r,
|
|
431
431
|
cancelButtonType: i
|
|
432
|
-
}),
|
|
433
|
-
let i =
|
|
432
|
+
}), Mt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
433
|
+
let i = nt("hc-my-sheer-id-theme-builder");
|
|
434
434
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
435
435
|
className: "sid-header sid-l-horz-center",
|
|
436
436
|
children: [
|
|
437
437
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
438
438
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
439
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
439
|
+
children: /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
440
440
|
verificationService: t,
|
|
441
441
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
442
442
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -445,7 +445,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
445
445
|
})
|
|
446
446
|
})
|
|
447
447
|
}),
|
|
448
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
448
|
+
/* @__PURE__ */ (0, I.jsx)(ct, {
|
|
449
449
|
align: "center",
|
|
450
450
|
children: e.title
|
|
451
451
|
}),
|
|
@@ -466,10 +466,10 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
466
466
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
467
467
|
]
|
|
468
468
|
});
|
|
469
|
-
},
|
|
469
|
+
}, Nt = /* @__PURE__ */ function(e) {
|
|
470
470
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
471
|
-
}({}),
|
|
472
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, f =
|
|
471
|
+
}({}), Pt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
472
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, f = ke(), p = st(t), m = nt("hc-my-sheer-id-theme-builder"), h, g = /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
473
473
|
verificationService: e,
|
|
474
474
|
fallbackLogo: !m && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
475
475
|
className: `sid-${p}-logo-default sid-l-lead-image`,
|
|
@@ -488,7 +488,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
488
488
|
programId: i,
|
|
489
489
|
locale: d,
|
|
490
490
|
verificationId: u
|
|
491
|
-
}),
|
|
491
|
+
}), at();
|
|
492
492
|
let n = v(a, () => {});
|
|
493
493
|
D.info("SingleSignOnComponent submitting cancel request"), clearTimeout(h), e.submitStep(t, n, e.verificationResponse);
|
|
494
494
|
}, x = (e, t) => {
|
|
@@ -498,8 +498,8 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
498
498
|
verificationId: u
|
|
499
499
|
}), y(e, t), S();
|
|
500
500
|
}, S = () => {
|
|
501
|
-
let e = t === O.sso ?
|
|
502
|
-
|
|
501
|
+
let e = t === O.sso ? xe(s.loginUrl) : s.loginUrl;
|
|
502
|
+
it(window.open(e, "_blank")), rt().focus();
|
|
503
503
|
};
|
|
504
504
|
return a.isSingleSignOnActive && !f && (h = _()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
505
505
|
id: `sid-step-${p}`,
|
|
@@ -507,21 +507,21 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
507
507
|
"data-testid": `sid-step-${p}`,
|
|
508
508
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
509
509
|
role: "main",
|
|
510
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
510
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
511
511
|
stepName: t,
|
|
512
512
|
messages: n,
|
|
513
513
|
logo: g,
|
|
514
514
|
cancelSingleSignOn: b,
|
|
515
515
|
cancelButtonType: r
|
|
516
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
516
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
517
517
|
verificationService: e,
|
|
518
518
|
messages: n,
|
|
519
519
|
updateViewModelAndOpenLoginTab: x,
|
|
520
520
|
dashedStepName: p
|
|
521
521
|
})
|
|
522
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
522
|
+
}), /* @__PURE__ */ (0, I.jsx)(Ye, { verificationService: e })]
|
|
523
523
|
});
|
|
524
|
-
},
|
|
524
|
+
}, Ft = {
|
|
525
525
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
526
526
|
id: "step.sso.title",
|
|
527
527
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -543,11 +543,11 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
543
543
|
id: "step.sso.subtitle2",
|
|
544
544
|
defaultMessage: "Can't sign in to your school?"
|
|
545
545
|
})
|
|
546
|
-
},
|
|
546
|
+
}, It = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
547
547
|
verificationService: e,
|
|
548
548
|
stepName: O.sso,
|
|
549
|
-
messages:
|
|
550
|
-
}),
|
|
549
|
+
messages: Ft
|
|
550
|
+
}), Lt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
551
551
|
className: "sid-header sid-l-horz-center",
|
|
552
552
|
"data-testid": "sid-review-pending",
|
|
553
553
|
children: [
|
|
@@ -555,7 +555,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
555
555
|
className: "sid-l-horz-center",
|
|
556
556
|
children: e
|
|
557
557
|
}),
|
|
558
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
558
|
+
/* @__PURE__ */ (0, I.jsx)(ct, {
|
|
559
559
|
align: "center",
|
|
560
560
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
561
561
|
id: "step.pending.titleReview",
|
|
@@ -587,7 +587,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
587
587
|
}),
|
|
588
588
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
589
589
|
]
|
|
590
|
-
}),
|
|
590
|
+
}), Rt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
591
591
|
className: "sid-header sid-l-horz-center",
|
|
592
592
|
"data-testid": "sid-review-pending",
|
|
593
593
|
children: [
|
|
@@ -595,7 +595,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
595
595
|
className: "sid-l-horz-center",
|
|
596
596
|
children: e
|
|
597
597
|
}),
|
|
598
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
598
|
+
/* @__PURE__ */ (0, I.jsx)(ct, {
|
|
599
599
|
align: "center",
|
|
600
600
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
601
601
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -619,7 +619,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
619
619
|
}),
|
|
620
620
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
621
621
|
]
|
|
622
|
-
}),
|
|
622
|
+
}), zt = { [k.SIGNZY]: {
|
|
623
623
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
624
624
|
id: "step.thirdPartyLoop.signzy.title",
|
|
625
625
|
tagName: "h1",
|
|
@@ -637,7 +637,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
637
637
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
638
638
|
defaultMessage: "Upload Proof of Identity"
|
|
639
639
|
})
|
|
640
|
-
} },
|
|
640
|
+
} }, Bt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
641
641
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
642
642
|
className: "sid-header sid-l-horz-center",
|
|
643
643
|
children: [
|
|
@@ -645,7 +645,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
645
645
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
646
646
|
children: e
|
|
647
647
|
}),
|
|
648
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
648
|
+
/* @__PURE__ */ (0, I.jsx)(ct, {
|
|
649
649
|
align: "center",
|
|
650
650
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
651
651
|
id: "error",
|
|
@@ -673,16 +673,16 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
673
673
|
children: n
|
|
674
674
|
}) : n
|
|
675
675
|
});
|
|
676
|
-
},
|
|
677
|
-
let t =
|
|
678
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
676
|
+
}, Vt = ({ verificationService: e }) => {
|
|
677
|
+
let t = zt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = nt("hc-my-sheer-id-theme-builder");
|
|
678
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
679
679
|
verificationService: e,
|
|
680
680
|
stepName: O.thirdPartyLoop,
|
|
681
681
|
messages: t,
|
|
682
|
-
cancelButtonType:
|
|
683
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
682
|
+
cancelButtonType: Nt.SECONDARY
|
|
683
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Bt, {
|
|
684
684
|
isStepRoot: !0,
|
|
685
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
685
|
+
logo: /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
686
686
|
verificationService: e,
|
|
687
687
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
688
688
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -691,28 +691,28 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
691
691
|
})
|
|
692
692
|
})
|
|
693
693
|
});
|
|
694
|
-
},
|
|
695
|
-
let i =
|
|
696
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
694
|
+
}, Ht = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
695
|
+
let i = zt[r ? Ae("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
696
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
697
697
|
stepName: O.thirdPartyLoop,
|
|
698
698
|
messages: i,
|
|
699
699
|
logo: e,
|
|
700
700
|
cancelSingleSignOn: n,
|
|
701
|
-
cancelButtonType:
|
|
702
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
703
|
-
},
|
|
704
|
-
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 =
|
|
701
|
+
cancelButtonType: Nt.SECONDARY
|
|
702
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Bt, { logo: e });
|
|
703
|
+
}, Ut = 5e3, Wt = 2e4, Gt = 2e4, Kt = 2e3, qt = ({ verificationService: e }) => {
|
|
704
|
+
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 = ke(), s = Me() && Me() === O.sso, c = Me() && Me() === O.thirdPartyLoop, l = Me() && Me() === O.idCheckLoop, u = nt("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === O.sso, f = () => i?.currentStep === O.thirdPartyLoop, p = () => i?.currentStep === O.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, y] = F.useState(() => m ? Kt : h ? Gt : Ut);
|
|
705
705
|
F.useEffect(() => {
|
|
706
706
|
if (!g) return;
|
|
707
|
-
let e = setTimeout(() => y(
|
|
707
|
+
let e = setTimeout(() => y(Gt), Wt);
|
|
708
708
|
return () => clearTimeout(e);
|
|
709
709
|
}, [g]);
|
|
710
|
-
let b = !o &&
|
|
710
|
+
let b = !o && kt(() => {
|
|
711
711
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
712
712
|
}, _), x = (t) => {
|
|
713
713
|
let r = v(n, () => {});
|
|
714
|
-
D.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
715
|
-
}, S = /* @__PURE__ */ (0, I.jsx)(
|
|
714
|
+
D.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), at(), e.submitStep(t, r, i);
|
|
715
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
716
716
|
verificationService: e,
|
|
717
717
|
fallbackLogo: !u && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
718
718
|
className: "sid-l-lead-image",
|
|
@@ -727,35 +727,35 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
727
727
|
role: "main",
|
|
728
728
|
children: (() => {
|
|
729
729
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
730
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
730
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
731
731
|
stepName: O.sso,
|
|
732
|
-
messages:
|
|
732
|
+
messages: Ft,
|
|
733
733
|
logo: S,
|
|
734
734
|
cancelSingleSignOn: () => x(O.sso)
|
|
735
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
735
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Ht, {
|
|
736
736
|
logo: S,
|
|
737
737
|
cancelThirdPartyLoop: () => x(O.thirdPartyLoop),
|
|
738
738
|
verificationLastResponse: i,
|
|
739
739
|
isMockingPreviousStepThirdPartyLoop: c
|
|
740
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
740
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Rt, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(Lt, { logo: S });
|
|
741
741
|
})()
|
|
742
|
-
}), h ? /* @__PURE__ */ (0, I.jsx)(
|
|
742
|
+
}), h ? /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
743
743
|
verificationService: e,
|
|
744
744
|
isCentered: !0
|
|
745
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
745
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Ye, {
|
|
746
746
|
verificationService: e,
|
|
747
747
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
748
748
|
})]
|
|
749
749
|
});
|
|
750
|
-
},
|
|
751
|
-
let e =
|
|
750
|
+
}, Jt = () => {
|
|
751
|
+
let e = ye(), t = pe(), n = he(), r = T(() => n.segment), i = F.useCallback(() => {
|
|
752
752
|
if (window.self !== window.top) {
|
|
753
753
|
let e = new URL(window.location.href);
|
|
754
754
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
755
755
|
return;
|
|
756
756
|
}
|
|
757
757
|
(async () => {
|
|
758
|
-
|
|
758
|
+
Je(e)(), await Ge(e)(t, r, void 0, void 0, !0);
|
|
759
759
|
})();
|
|
760
760
|
}, [
|
|
761
761
|
e,
|
|
@@ -769,13 +769,13 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
769
769
|
onKeyPress: i,
|
|
770
770
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
771
771
|
});
|
|
772
|
-
},
|
|
772
|
+
}, Yt = {
|
|
773
773
|
NONE: "none",
|
|
774
774
|
RESET: "reset",
|
|
775
775
|
POSTMESSAGE: "postMessage",
|
|
776
776
|
REDIRECT: "redirect"
|
|
777
|
-
},
|
|
778
|
-
let e =
|
|
777
|
+
}, Xt = () => {
|
|
778
|
+
let e = he(), t = () => le({
|
|
779
779
|
action: "tryAgain",
|
|
780
780
|
verificationResponse: e
|
|
781
781
|
});
|
|
@@ -786,52 +786,52 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
786
786
|
onKeyPress: t,
|
|
787
787
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
788
788
|
});
|
|
789
|
-
},
|
|
789
|
+
}, Zt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(Ce, {
|
|
790
790
|
target: t,
|
|
791
791
|
href: e.toString(),
|
|
792
792
|
className: "sid-btn sid-btn--dark",
|
|
793
793
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "seeOtherOffers" })
|
|
794
|
-
}),
|
|
795
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
796
|
-
},
|
|
794
|
+
}), Qt = (e) => {
|
|
795
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Yt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
796
|
+
}, $t = () => {
|
|
797
797
|
let e = _("tryAgainAction");
|
|
798
798
|
try {
|
|
799
|
-
switch (
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
case
|
|
799
|
+
switch (Qt(e), e.type) {
|
|
800
|
+
case Yt.NONE: return null;
|
|
801
|
+
case Yt.POSTMESSAGE: return window.self === window.top ? (D.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(Xt, {});
|
|
802
|
+
case Yt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(Zt, {
|
|
803
803
|
redirectUrl: e.url,
|
|
804
804
|
target: e.target
|
|
805
805
|
});
|
|
806
|
-
case
|
|
806
|
+
case Yt.RESET: return /* @__PURE__ */ (0, I.jsx)(Jt, {});
|
|
807
807
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
808
808
|
}
|
|
809
809
|
} catch (e) {
|
|
810
|
-
return D.error(e.message), /* @__PURE__ */ (0, I.jsx)(
|
|
810
|
+
return D.error(e.message), /* @__PURE__ */ (0, I.jsx)(Jt, {});
|
|
811
811
|
}
|
|
812
|
-
},
|
|
812
|
+
}, en = [
|
|
813
813
|
"docReviewLimitExceeded",
|
|
814
814
|
"verificationLimitExceeded",
|
|
815
815
|
"fraudRulesReject"
|
|
816
|
-
],
|
|
816
|
+
], tn = ({ verificationService: e, errorIds: t }) => {
|
|
817
817
|
let n = t[0];
|
|
818
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
818
|
+
return /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
819
819
|
align: "center",
|
|
820
820
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(P, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
821
821
|
});
|
|
822
|
-
},
|
|
822
|
+
}, nn = ({ errorIds: e, errorDetailId: t }) => {
|
|
823
823
|
let n = /* @__PURE__ */ new Map();
|
|
824
824
|
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)(P, { id: t }, t)) }) : null;
|
|
825
|
-
},
|
|
825
|
+
}, rn = ({ verificationService: e, errorIds: t }) => {
|
|
826
826
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
827
827
|
return e.messages?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
828
828
|
className: "sid-error-note sid-h-small-text",
|
|
829
829
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: n })
|
|
830
830
|
}) : null;
|
|
831
|
-
},
|
|
831
|
+
}, an = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
832
832
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
833
833
|
let t = T(() => e.programTheme.config.brandInfo.faqUrl);
|
|
834
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
834
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Ce, {
|
|
835
835
|
href: t,
|
|
836
836
|
onClick: () => o(O.error, t),
|
|
837
837
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -839,18 +839,18 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
839
839
|
}) : null;
|
|
840
840
|
}
|
|
841
841
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
842
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return _("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(
|
|
842
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return _("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)($t, {});
|
|
843
843
|
let r = t[0];
|
|
844
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(
|
|
844
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(Ce, {
|
|
845
845
|
href: n,
|
|
846
846
|
onClick: () => o(O.error, n),
|
|
847
847
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
848
848
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${r}.buttonText` })
|
|
849
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
850
|
-
},
|
|
851
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
849
|
+
}) : /* @__PURE__ */ (0, I.jsx)($t, {});
|
|
850
|
+
}, on = ({ verificationService: e, errorId: t }) => {
|
|
851
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = nt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
852
852
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
853
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
853
|
+
let s = Array.from(o), c = s.some((e) => en.includes(e));
|
|
854
854
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
855
855
|
id: "sid-step-error",
|
|
856
856
|
className: "sid-error-container sid-l-container",
|
|
@@ -860,7 +860,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
860
860
|
children: [
|
|
861
861
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
862
862
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
863
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
863
|
+
children: /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
864
864
|
verificationService: e,
|
|
865
865
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
866
866
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -869,7 +869,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
869
869
|
})
|
|
870
870
|
})
|
|
871
871
|
}),
|
|
872
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
872
|
+
/* @__PURE__ */ (0, I.jsx)(tn, {
|
|
873
873
|
verificationService: e,
|
|
874
874
|
errorIds: s
|
|
875
875
|
}),
|
|
@@ -878,10 +878,10 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
878
878
|
children: [
|
|
879
879
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
880
880
|
className: "sid-error-msg sid-l-horz-center",
|
|
881
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
881
|
+
children: [/* @__PURE__ */ (0, I.jsx)(nn, {
|
|
882
882
|
errorIds: s,
|
|
883
883
|
errorDetailId: i
|
|
884
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
884
|
+
}), /* @__PURE__ */ (0, I.jsx)(rn, {
|
|
885
885
|
verificationService: e,
|
|
886
886
|
errorIds: s
|
|
887
887
|
})]
|
|
@@ -892,7 +892,7 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
892
892
|
}),
|
|
893
893
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
894
894
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
895
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
895
|
+
children: /* @__PURE__ */ (0, I.jsx)(an, {
|
|
896
896
|
verificationService: e,
|
|
897
897
|
errorIds: s,
|
|
898
898
|
redirectUrl: r
|
|
@@ -903,49 +903,49 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
903
903
|
]
|
|
904
904
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
905
905
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
906
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
906
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
907
907
|
verificationService: e,
|
|
908
908
|
isCentered: !0,
|
|
909
909
|
hideFaqLink: c
|
|
910
910
|
})
|
|
911
911
|
})]
|
|
912
912
|
});
|
|
913
|
-
},
|
|
914
|
-
StepPendingComponent:
|
|
915
|
-
StepErrorComponent:
|
|
916
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
917
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
918
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
919
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
920
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
921
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
922
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
923
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
924
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
925
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
926
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
927
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
928
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
929
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
930
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
931
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
932
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
933
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
934
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
935
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
936
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
937
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
938
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
939
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
940
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
913
|
+
}, sn = {
|
|
914
|
+
StepPendingComponent: qt,
|
|
915
|
+
StepErrorComponent: on,
|
|
916
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-F2hvPXnQ.js")),
|
|
917
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-Y-Rg11sf.js")),
|
|
918
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-DUeM21DB.js")),
|
|
919
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-DUeM21DB.js")),
|
|
920
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js")),
|
|
921
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js")),
|
|
922
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js")),
|
|
923
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-C-Gim0eu.js")),
|
|
924
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-Qw8-GVkT.js")),
|
|
925
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-CBk9c82h.js")),
|
|
926
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BcZprmpl.js")),
|
|
927
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DGwQ0YIT.js")),
|
|
928
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-VcP570pj.js")),
|
|
929
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-BLDsBgOV.js")),
|
|
930
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-DA2uaNwH.js")),
|
|
931
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-rDcT9W0y.js")),
|
|
932
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-BzYrBQie.js")),
|
|
933
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-Dr7o4WOR.js")),
|
|
934
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-zanWJPyr.js")),
|
|
935
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-CiZDqh-v.js")),
|
|
936
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-DERy3yWj.js")),
|
|
937
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-B874J_rW.js").then((e) => e.n)),
|
|
938
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-CLbLna8Z.js")),
|
|
939
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-z6efVgK1.js")),
|
|
940
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-YP770z3t.js")),
|
|
941
941
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
942
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
943
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
944
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
945
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
946
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
942
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-LQLUBQPj.js")),
|
|
943
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-BTsWQciS.js")),
|
|
944
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-Te9Cnb88.js")),
|
|
945
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-CcXXslSj.js")),
|
|
946
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-Bz9zTSDk.js")),
|
|
947
947
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
948
|
-
}, z = (e) => (D.info("getComponent", e),
|
|
948
|
+
}, z = (e) => (D.info("getComponent", e), Tt(e) || sn[e]), cn = () => /* @__PURE__ */ (0, I.jsx)(ht, {}), ln = ({ stepToLoad: e, verificationService: t }) => {
|
|
949
949
|
D.info(`LoadStepComponent: rendering step: ${e}`);
|
|
950
950
|
let n;
|
|
951
951
|
switch ((0, F.useEffect)(() => {
|
|
@@ -1073,37 +1073,37 @@ var lt = (e, t = { partial: !0 }) => {
|
|
|
1073
1073
|
case "cancelEmailLoop":
|
|
1074
1074
|
case "cancelSocialSecurityNumber":
|
|
1075
1075
|
case "docReviewLimitExceeded":
|
|
1076
|
-
case "emailLoopCollectOrganizationEmail": return D.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1076
|
+
case "emailLoopCollectOrganizationEmail": return D.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(on, {
|
|
1077
1077
|
verificationService: t,
|
|
1078
1078
|
errorId: "invalidStep"
|
|
1079
1079
|
});
|
|
1080
|
-
default: return D.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1080
|
+
default: return D.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(on, {
|
|
1081
1081
|
verificationService: t,
|
|
1082
1082
|
errorId: "invalidStep"
|
|
1083
1083
|
});
|
|
1084
1084
|
}
|
|
1085
1085
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1086
|
-
fallback:
|
|
1086
|
+
fallback: cn(),
|
|
1087
1087
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1088
1088
|
});
|
|
1089
|
-
},
|
|
1089
|
+
}, un = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1090
1090
|
dangerouslySetInnerHTML: e,
|
|
1091
1091
|
...t
|
|
1092
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1092
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), dn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1093
1093
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1094
1094
|
role: "note",
|
|
1095
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1095
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(Ce, {
|
|
1096
1096
|
className: "sid-test-mode-flag__link",
|
|
1097
1097
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1098
1098
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1099
1099
|
children: "(learn more)"
|
|
1100
1100
|
})]
|
|
1101
|
-
}) : null,
|
|
1101
|
+
}) : null, fn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1102
1102
|
className: "sid-header",
|
|
1103
1103
|
children: [
|
|
1104
1104
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1105
1105
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1106
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1106
|
+
children: /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
1107
1107
|
verificationService: e,
|
|
1108
1108
|
fallbackLogo: r
|
|
1109
1109
|
})
|
|
@@ -1123,30 +1123,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
//#endregion
|
|
1125
1125
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1126
|
-
function
|
|
1126
|
+
function pn(e, t) {
|
|
1127
1127
|
if (typeof e == "function") return e(t);
|
|
1128
1128
|
e != null && (e.current = t);
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function mn(...e) {
|
|
1131
1131
|
return (t) => {
|
|
1132
1132
|
let n = !1, r = e.map((e) => {
|
|
1133
|
-
let r =
|
|
1133
|
+
let r = pn(e, t);
|
|
1134
1134
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1135
1135
|
});
|
|
1136
1136
|
if (n) return () => {
|
|
1137
1137
|
for (let t = 0; t < r.length; t++) {
|
|
1138
1138
|
let n = r[t];
|
|
1139
|
-
typeof n == "function" ? n() :
|
|
1139
|
+
typeof n == "function" ? n() : pn(e[t], null);
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
1142
|
};
|
|
1143
1143
|
}
|
|
1144
1144
|
function V(...e) {
|
|
1145
|
-
return F.useCallback(
|
|
1145
|
+
return F.useCallback(mn(...e), e);
|
|
1146
1146
|
}
|
|
1147
1147
|
//#endregion
|
|
1148
1148
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1149
|
-
function
|
|
1149
|
+
function hn(e, t = []) {
|
|
1150
1150
|
let n = [];
|
|
1151
1151
|
function r(t, r) {
|
|
1152
1152
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1177,9 +1177,9 @@ function mn(e, t = []) {
|
|
|
1177
1177
|
} }), [n, r]);
|
|
1178
1178
|
};
|
|
1179
1179
|
};
|
|
1180
|
-
return i.scopeName = e, [r,
|
|
1180
|
+
return i.scopeName = e, [r, gn(i, ...t)];
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function gn(...e) {
|
|
1183
1183
|
let t = e[0];
|
|
1184
1184
|
if (e.length === 1) return t;
|
|
1185
1185
|
let n = () => {
|
|
@@ -1203,9 +1203,9 @@ function hn(...e) {
|
|
|
1203
1203
|
//#endregion
|
|
1204
1204
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1205
1205
|
// @__NO_SIDE_EFFECTS__
|
|
1206
|
-
function
|
|
1207
|
-
let t = /* @__PURE__ */
|
|
1208
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1206
|
+
function _n(e) {
|
|
1207
|
+
let t = /* @__PURE__ */ vn(e), n = F.forwardRef((e, n) => {
|
|
1208
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(bn);
|
|
1209
1209
|
if (o) {
|
|
1210
1210
|
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);
|
|
1211
1211
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1223,22 +1223,22 @@ function gn(e) {
|
|
|
1223
1223
|
return n.displayName = `${e}.Slot`, n;
|
|
1224
1224
|
}
|
|
1225
1225
|
// @__NO_SIDE_EFFECTS__
|
|
1226
|
-
function
|
|
1226
|
+
function vn(e) {
|
|
1227
1227
|
let t = F.forwardRef((e, t) => {
|
|
1228
1228
|
let { children: n, ...r } = e;
|
|
1229
1229
|
if (F.isValidElement(n)) {
|
|
1230
|
-
let e =
|
|
1231
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1230
|
+
let e = Sn(n), i = xn(r, n.props);
|
|
1231
|
+
return n.type !== F.Fragment && (i.ref = t ? mn(t, e) : e), F.cloneElement(n, i);
|
|
1232
1232
|
}
|
|
1233
1233
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1234
1234
|
});
|
|
1235
1235
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1236
1236
|
}
|
|
1237
|
-
var
|
|
1238
|
-
function
|
|
1239
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1237
|
+
var yn = Symbol("radix.slottable");
|
|
1238
|
+
function bn(e) {
|
|
1239
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === yn;
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function xn(e, t) {
|
|
1242
1242
|
let n = { ...t };
|
|
1243
1243
|
for (let r in t) {
|
|
1244
1244
|
let i = e[r], a = t[r];
|
|
@@ -1255,7 +1255,7 @@ function bn(e, t) {
|
|
|
1255
1255
|
...n
|
|
1256
1256
|
};
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Sn(e) {
|
|
1259
1259
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1260
1260
|
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);
|
|
1261
1261
|
}
|
|
@@ -1280,7 +1280,7 @@ var H = [
|
|
|
1280
1280
|
"svg",
|
|
1281
1281
|
"ul"
|
|
1282
1282
|
].reduce((e, t) => {
|
|
1283
|
-
let n = /* @__PURE__ */
|
|
1283
|
+
let n = /* @__PURE__ */ _n(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1284
1284
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1285
1285
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1286
1286
|
...a,
|
|
@@ -1292,12 +1292,12 @@ var H = [
|
|
|
1292
1292
|
[t]: r
|
|
1293
1293
|
};
|
|
1294
1294
|
}, {});
|
|
1295
|
-
function
|
|
1296
|
-
e &&
|
|
1295
|
+
function Cn(e, t) {
|
|
1296
|
+
e && ft.flushSync(() => e.dispatchEvent(t));
|
|
1297
1297
|
}
|
|
1298
1298
|
//#endregion
|
|
1299
1299
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1300
|
-
function
|
|
1300
|
+
function wn(e) {
|
|
1301
1301
|
let t = F.useRef(e);
|
|
1302
1302
|
return F.useEffect(() => {
|
|
1303
1303
|
t.current = e;
|
|
@@ -1305,8 +1305,8 @@ function Cn(e) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
1307
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1308
|
-
function
|
|
1309
|
-
let n =
|
|
1308
|
+
function Tn(e, t = globalThis?.document) {
|
|
1309
|
+
let n = wn(e);
|
|
1310
1310
|
F.useEffect(() => {
|
|
1311
1311
|
let e = (e) => {
|
|
1312
1312
|
e.key === "Escape" && n(e);
|
|
@@ -1316,23 +1316,23 @@ function wn(e, t = globalThis?.document) {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
//#endregion
|
|
1318
1318
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1319
|
-
var
|
|
1319
|
+
var En = "DismissableLayer", Dn = "dismissableLayer.update", On = "dismissableLayer.pointerDownOutside", kn = "dismissableLayer.focusOutside", An, jn = F.createContext({
|
|
1320
1320
|
layers: /* @__PURE__ */ new Set(),
|
|
1321
1321
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1322
1322
|
branches: /* @__PURE__ */ new Set()
|
|
1323
|
-
}),
|
|
1324
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1323
|
+
}), Mn = F.forwardRef((e, t) => {
|
|
1324
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(jn), [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 = Fn((e) => {
|
|
1325
1325
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1326
1326
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1327
|
-
}, f), S =
|
|
1327
|
+
}, f), S = In((e) => {
|
|
1328
1328
|
let t = e.target;
|
|
1329
1329
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1330
1330
|
}, f);
|
|
1331
|
-
return
|
|
1331
|
+
return Tn((e) => {
|
|
1332
1332
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1333
1333
|
}, f), F.useEffect(() => {
|
|
1334
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1335
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1334
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (An = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Ln(), () => {
|
|
1335
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = An);
|
|
1336
1336
|
};
|
|
1337
1337
|
}, [
|
|
1338
1338
|
u,
|
|
@@ -1340,10 +1340,10 @@ var Tn = "DismissableLayer", En = "dismissableLayer.update", Dn = "dismissableLa
|
|
|
1340
1340
|
n,
|
|
1341
1341
|
l
|
|
1342
1342
|
]), F.useEffect(() => () => {
|
|
1343
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1343
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Ln());
|
|
1344
1344
|
}, [u, l]), F.useEffect(() => {
|
|
1345
1345
|
let e = () => p({});
|
|
1346
|
-
return document.addEventListener(
|
|
1346
|
+
return document.addEventListener(Dn, e), () => document.removeEventListener(Dn, e);
|
|
1347
1347
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1348
1348
|
...c,
|
|
1349
1349
|
ref: m,
|
|
@@ -1356,9 +1356,9 @@ var Tn = "DismissableLayer", En = "dismissableLayer.update", Dn = "dismissableLa
|
|
|
1356
1356
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1357
1357
|
});
|
|
1358
1358
|
});
|
|
1359
|
-
|
|
1360
|
-
var
|
|
1361
|
-
let n = F.useContext(
|
|
1359
|
+
Mn.displayName = En;
|
|
1360
|
+
var Nn = "DismissableLayerBranch", Pn = F.forwardRef((e, t) => {
|
|
1361
|
+
let n = F.useContext(jn), r = F.useRef(null), i = V(t, r);
|
|
1362
1362
|
return F.useEffect(() => {
|
|
1363
1363
|
let e = r.current;
|
|
1364
1364
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1369,14 +1369,14 @@ var Mn = "DismissableLayerBranch", Nn = F.forwardRef((e, t) => {
|
|
|
1369
1369
|
ref: i
|
|
1370
1370
|
});
|
|
1371
1371
|
});
|
|
1372
|
-
|
|
1373
|
-
function
|
|
1374
|
-
let n =
|
|
1372
|
+
Pn.displayName = Nn;
|
|
1373
|
+
function Fn(e, t = globalThis?.document) {
|
|
1374
|
+
let n = wn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1375
1375
|
return F.useEffect(() => {
|
|
1376
1376
|
let e = (e) => {
|
|
1377
1377
|
if (e.target && !r.current) {
|
|
1378
1378
|
let r = function() {
|
|
1379
|
-
|
|
1379
|
+
Rn(On, n, a, { discrete: !0 });
|
|
1380
1380
|
}, a = { originalEvent: e };
|
|
1381
1381
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1382
1382
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1389,11 +1389,11 @@ function Pn(e, t = globalThis?.document) {
|
|
|
1389
1389
|
};
|
|
1390
1390
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1393
|
-
let n =
|
|
1392
|
+
function In(e, t = globalThis?.document) {
|
|
1393
|
+
let n = wn(e), r = F.useRef(!1);
|
|
1394
1394
|
return F.useEffect(() => {
|
|
1395
1395
|
let e = (e) => {
|
|
1396
|
-
e.target && !r.current &&
|
|
1396
|
+
e.target && !r.current && Rn(kn, n, { originalEvent: e }, { discrete: !1 });
|
|
1397
1397
|
};
|
|
1398
1398
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1399
1399
|
}, [t, n]), {
|
|
@@ -1401,40 +1401,40 @@ function Fn(e, t = globalThis?.document) {
|
|
|
1401
1401
|
onBlurCapture: () => r.current = !1
|
|
1402
1402
|
};
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1405
|
-
let e = new CustomEvent(
|
|
1404
|
+
function Ln() {
|
|
1405
|
+
let e = new CustomEvent(Dn);
|
|
1406
1406
|
document.dispatchEvent(e);
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function Rn(e, t, n, { discrete: r }) {
|
|
1409
1409
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1410
1410
|
bubbles: !1,
|
|
1411
1411
|
cancelable: !0,
|
|
1412
1412
|
detail: n
|
|
1413
1413
|
});
|
|
1414
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1414
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Cn(i, a) : i.dispatchEvent(a);
|
|
1415
1415
|
}
|
|
1416
1416
|
//#endregion
|
|
1417
1417
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1418
|
-
var
|
|
1419
|
-
function
|
|
1418
|
+
var zn = 0;
|
|
1419
|
+
function Bn() {
|
|
1420
1420
|
F.useEffect(() => {
|
|
1421
1421
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1422
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1423
|
-
|
|
1422
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Vn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Vn()), zn++, () => {
|
|
1423
|
+
zn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), zn--;
|
|
1424
1424
|
};
|
|
1425
1425
|
}, []);
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function Vn() {
|
|
1428
1428
|
let e = document.createElement("span");
|
|
1429
1429
|
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;
|
|
1430
1430
|
}
|
|
1431
1431
|
//#endregion
|
|
1432
1432
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1433
|
-
var
|
|
1433
|
+
var Hn = "focusScope.autoFocusOnMount", Un = "focusScope.autoFocusOnUnmount", Wn = {
|
|
1434
1434
|
bubbles: !1,
|
|
1435
1435
|
cancelable: !0
|
|
1436
|
-
},
|
|
1437
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1436
|
+
}, Gn = "FocusScope", Kn = F.forwardRef((e, t) => {
|
|
1437
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = wn(i), u = wn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1438
1438
|
paused: !1,
|
|
1439
1439
|
pause() {
|
|
1440
1440
|
this.paused = !0;
|
|
@@ -1448,13 +1448,13 @@ var Vn = "focusScope.autoFocusOnMount", Hn = "focusScope.autoFocusOnUnmount", Un
|
|
|
1448
1448
|
let e = function(e) {
|
|
1449
1449
|
if (p.paused || !s) return;
|
|
1450
1450
|
let t = e.target;
|
|
1451
|
-
s.contains(t) ? d.current = t :
|
|
1451
|
+
s.contains(t) ? d.current = t : $n(d.current, { select: !0 });
|
|
1452
1452
|
}, t = function(e) {
|
|
1453
1453
|
if (p.paused || !s) return;
|
|
1454
1454
|
let t = e.relatedTarget;
|
|
1455
|
-
t !== null && (s.contains(t) ||
|
|
1455
|
+
t !== null && (s.contains(t) || $n(d.current, { select: !0 }));
|
|
1456
1456
|
}, n = function(e) {
|
|
1457
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1457
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && $n(s);
|
|
1458
1458
|
};
|
|
1459
1459
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1460
1460
|
let r = new MutationObserver(n);
|
|
@@ -1471,16 +1471,16 @@ var Vn = "focusScope.autoFocusOnMount", Hn = "focusScope.autoFocusOnUnmount", Un
|
|
|
1471
1471
|
p.paused
|
|
1472
1472
|
]), F.useEffect(() => {
|
|
1473
1473
|
if (s) {
|
|
1474
|
-
|
|
1474
|
+
er.add(p);
|
|
1475
1475
|
let e = document.activeElement;
|
|
1476
1476
|
if (!s.contains(e)) {
|
|
1477
|
-
let t = new CustomEvent(
|
|
1478
|
-
s.addEventListener(
|
|
1477
|
+
let t = new CustomEvent(Hn, Wn);
|
|
1478
|
+
s.addEventListener(Hn, l), s.dispatchEvent(t), t.defaultPrevented || (qn(rr(Yn(s)), { select: !0 }), document.activeElement === e && $n(s));
|
|
1479
1479
|
}
|
|
1480
1480
|
return () => {
|
|
1481
|
-
s.removeEventListener(
|
|
1482
|
-
let t = new CustomEvent(
|
|
1483
|
-
s.addEventListener(
|
|
1481
|
+
s.removeEventListener(Hn, l), setTimeout(() => {
|
|
1482
|
+
let t = new CustomEvent(Un, Wn);
|
|
1483
|
+
s.addEventListener(Un, u), s.dispatchEvent(t), t.defaultPrevented || $n(e ?? document.body, { select: !0 }), s.removeEventListener(Un, u), er.remove(p);
|
|
1484
1484
|
}, 0);
|
|
1485
1485
|
};
|
|
1486
1486
|
}
|
|
@@ -1494,8 +1494,8 @@ var Vn = "focusScope.autoFocusOnMount", Hn = "focusScope.autoFocusOnUnmount", Un
|
|
|
1494
1494
|
if (!n && !r || p.paused) return;
|
|
1495
1495
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1496
1496
|
if (t && i) {
|
|
1497
|
-
let t = e.currentTarget, [r, a] =
|
|
1498
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1497
|
+
let t = e.currentTarget, [r, a] = Jn(t);
|
|
1498
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && $n(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && $n(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1499
1499
|
}
|
|
1500
1500
|
}, [
|
|
1501
1501
|
n,
|
|
@@ -1509,16 +1509,16 @@ var Vn = "focusScope.autoFocusOnMount", Hn = "focusScope.autoFocusOnUnmount", Un
|
|
|
1509
1509
|
onKeyDown: m
|
|
1510
1510
|
});
|
|
1511
1511
|
});
|
|
1512
|
-
|
|
1513
|
-
function
|
|
1512
|
+
Kn.displayName = Gn;
|
|
1513
|
+
function qn(e, { select: t = !1 } = {}) {
|
|
1514
1514
|
let n = document.activeElement;
|
|
1515
|
-
for (let r of e) if (
|
|
1516
|
-
}
|
|
1517
|
-
function qn(e) {
|
|
1518
|
-
let t = Jn(e);
|
|
1519
|
-
return [Yn(t, e), Yn(t.reverse(), e)];
|
|
1515
|
+
for (let r of e) if ($n(r, { select: t }), document.activeElement !== n) return;
|
|
1520
1516
|
}
|
|
1521
1517
|
function Jn(e) {
|
|
1518
|
+
let t = Yn(e);
|
|
1519
|
+
return [Xn(t, e), Xn(t.reverse(), e)];
|
|
1520
|
+
}
|
|
1521
|
+
function Yn(e) {
|
|
1522
1522
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1523
1523
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1524
1524
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1526,10 +1526,10 @@ function Jn(e) {
|
|
|
1526
1526
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1527
1527
|
return t;
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1530
|
-
for (let n of e) if (!
|
|
1529
|
+
function Xn(e, t) {
|
|
1530
|
+
for (let n of e) if (!Zn(n, { upTo: t })) return n;
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function Zn(e, { upTo: t }) {
|
|
1533
1533
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1534
1534
|
for (; e;) {
|
|
1535
1535
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1538,62 +1538,62 @@ function Xn(e, { upTo: t }) {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function Qn(e) {
|
|
1542
1542
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function $n(e, { select: t = !1 } = {}) {
|
|
1545
1545
|
if (e && e.focus) {
|
|
1546
1546
|
let n = document.activeElement;
|
|
1547
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1547
|
+
e.focus({ preventScroll: !0 }), e !== n && Qn(e) && t && e.select();
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
|
-
var
|
|
1551
|
-
function
|
|
1550
|
+
var er = tr();
|
|
1551
|
+
function tr() {
|
|
1552
1552
|
let e = [];
|
|
1553
1553
|
return {
|
|
1554
1554
|
add(t) {
|
|
1555
1555
|
let n = e[0];
|
|
1556
|
-
t !== n && n?.pause(), e =
|
|
1556
|
+
t !== n && n?.pause(), e = nr(e, t), e.unshift(t);
|
|
1557
1557
|
},
|
|
1558
1558
|
remove(t) {
|
|
1559
|
-
e =
|
|
1559
|
+
e = nr(e, t), e[0]?.resume();
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function nr(e, t) {
|
|
1564
1564
|
let n = [...e], r = n.indexOf(t);
|
|
1565
1565
|
return r !== -1 && n.splice(r, 1), n;
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function rr(e) {
|
|
1568
1568
|
return e.filter((e) => e.tagName !== "A");
|
|
1569
1569
|
}
|
|
1570
1570
|
//#endregion
|
|
1571
1571
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1572
|
-
var
|
|
1573
|
-
function
|
|
1574
|
-
let [t, n] = F.useState(
|
|
1575
|
-
return
|
|
1576
|
-
e || n((e) => e ?? String(
|
|
1572
|
+
var ir = globalThis?.document ? F.useLayoutEffect : () => {}, ar = F.useId || (() => void 0), or = 0;
|
|
1573
|
+
function sr(e) {
|
|
1574
|
+
let [t, n] = F.useState(ar());
|
|
1575
|
+
return ir(() => {
|
|
1576
|
+
e || n((e) => e ?? String(or++));
|
|
1577
1577
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1578
1578
|
}
|
|
1579
1579
|
//#endregion
|
|
1580
1580
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1581
|
-
var
|
|
1581
|
+
var cr = [
|
|
1582
1582
|
"top",
|
|
1583
1583
|
"right",
|
|
1584
1584
|
"bottom",
|
|
1585
1585
|
"left"
|
|
1586
|
-
],
|
|
1586
|
+
], lr = Math.min, U = Math.max, ur = Math.round, dr = Math.floor, W = (e) => ({
|
|
1587
1587
|
x: e,
|
|
1588
1588
|
y: e
|
|
1589
|
-
}),
|
|
1589
|
+
}), fr = {
|
|
1590
1590
|
left: "right",
|
|
1591
1591
|
right: "left",
|
|
1592
1592
|
bottom: "top",
|
|
1593
1593
|
top: "bottom"
|
|
1594
1594
|
};
|
|
1595
|
-
function
|
|
1596
|
-
return U(e,
|
|
1595
|
+
function pr(e, t, n) {
|
|
1596
|
+
return U(e, lr(t, n));
|
|
1597
1597
|
}
|
|
1598
1598
|
function G(e, t) {
|
|
1599
1599
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1601,57 +1601,57 @@ function G(e, t) {
|
|
|
1601
1601
|
function K(e) {
|
|
1602
1602
|
return e.split("-")[0];
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function mr(e) {
|
|
1605
1605
|
return e.split("-")[1];
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function hr(e) {
|
|
1608
1608
|
return e === "x" ? "y" : "x";
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function gr(e) {
|
|
1611
1611
|
return e === "y" ? "height" : "width";
|
|
1612
1612
|
}
|
|
1613
1613
|
function q(e) {
|
|
1614
1614
|
let t = e[0];
|
|
1615
1615
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1618
|
-
return
|
|
1617
|
+
function _r(e) {
|
|
1618
|
+
return hr(q(e));
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function vr(e, t, n) {
|
|
1621
1621
|
n === void 0 && (n = !1);
|
|
1622
|
-
let r =
|
|
1623
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1622
|
+
let r = mr(e), i = _r(e), a = gr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1623
|
+
return t.reference[a] > t.floating[a] && (o = Dr(o)), [o, Dr(o)];
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1626
|
-
let t =
|
|
1625
|
+
function yr(e) {
|
|
1626
|
+
let t = Dr(e);
|
|
1627
1627
|
return [
|
|
1628
|
-
|
|
1628
|
+
br(e),
|
|
1629
1629
|
t,
|
|
1630
|
-
|
|
1630
|
+
br(t)
|
|
1631
1631
|
];
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1633
|
+
function br(e) {
|
|
1634
1634
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1635
1635
|
}
|
|
1636
|
-
var
|
|
1637
|
-
function
|
|
1636
|
+
var xr = ["left", "right"], Sr = ["right", "left"], Cr = ["top", "bottom"], wr = ["bottom", "top"];
|
|
1637
|
+
function Tr(e, t, n) {
|
|
1638
1638
|
switch (e) {
|
|
1639
1639
|
case "top":
|
|
1640
|
-
case "bottom": return n ? t ?
|
|
1640
|
+
case "bottom": return n ? t ? Sr : xr : t ? xr : Sr;
|
|
1641
1641
|
case "left":
|
|
1642
|
-
case "right": return t ?
|
|
1642
|
+
case "right": return t ? Cr : wr;
|
|
1643
1643
|
default: return [];
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1647
|
-
let i =
|
|
1648
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1646
|
+
function Er(e, t, n, r) {
|
|
1647
|
+
let i = mr(e), a = Tr(K(e), n === "start", r);
|
|
1648
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(br)))), a;
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function Dr(e) {
|
|
1651
1651
|
let t = K(e);
|
|
1652
|
-
return
|
|
1652
|
+
return fr[t] + e.slice(t.length);
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1654
|
+
function Or(e) {
|
|
1655
1655
|
return {
|
|
1656
1656
|
top: 0,
|
|
1657
1657
|
right: 0,
|
|
@@ -1660,15 +1660,15 @@ function Dr(e) {
|
|
|
1660
1660
|
...e
|
|
1661
1661
|
};
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function kr(e) {
|
|
1664
1664
|
return typeof e == "number" ? {
|
|
1665
1665
|
top: e,
|
|
1666
1666
|
right: e,
|
|
1667
1667
|
bottom: e,
|
|
1668
1668
|
left: e
|
|
1669
|
-
} :
|
|
1669
|
+
} : Or(e);
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function Ar(e) {
|
|
1672
1672
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1673
1673
|
return {
|
|
1674
1674
|
width: r,
|
|
@@ -1683,8 +1683,8 @@ function kr(e) {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
//#endregion
|
|
1685
1685
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1686
|
-
function
|
|
1687
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1686
|
+
function jr(e, t, n) {
|
|
1687
|
+
let { reference: r, floating: i } = e, a = q(t), o = _r(t), s = gr(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;
|
|
1688
1688
|
switch (c) {
|
|
1689
1689
|
case "top":
|
|
1690
1690
|
p = {
|
|
@@ -1715,7 +1715,7 @@ function Ar(e, t, n) {
|
|
|
1715
1715
|
y: r.y
|
|
1716
1716
|
};
|
|
1717
1717
|
}
|
|
1718
|
-
switch (
|
|
1718
|
+
switch (mr(t)) {
|
|
1719
1719
|
case "start":
|
|
1720
1720
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1721
1721
|
break;
|
|
@@ -1725,9 +1725,9 @@ function Ar(e, t, n) {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
return p;
|
|
1727
1727
|
}
|
|
1728
|
-
async function
|
|
1728
|
+
async function Mr(e, t) {
|
|
1729
1729
|
t === void 0 && (t = {});
|
|
1730
|
-
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 =
|
|
1730
|
+
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 = kr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ar(await i.getClippingRect({
|
|
1731
1731
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1732
1732
|
boundary: c,
|
|
1733
1733
|
rootBoundary: l,
|
|
@@ -1740,7 +1740,7 @@ async function jr(e, t) {
|
|
|
1740
1740
|
} : 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(_)) || {
|
|
1741
1741
|
x: 1,
|
|
1742
1742
|
y: 1
|
|
1743
|
-
}, y =
|
|
1743
|
+
}, y = Ar(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1744
1744
|
elements: o,
|
|
1745
1745
|
rect: g,
|
|
1746
1746
|
offsetParent: _,
|
|
@@ -1753,15 +1753,15 @@ async function jr(e, t) {
|
|
|
1753
1753
|
right: (y.right - h.right + p.right) / v.x
|
|
1754
1754
|
};
|
|
1755
1755
|
}
|
|
1756
|
-
var
|
|
1756
|
+
var Nr = 50, Pr = async (e, t, n) => {
|
|
1757
1757
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1758
1758
|
...o,
|
|
1759
|
-
detectOverflow:
|
|
1759
|
+
detectOverflow: Mr
|
|
1760
1760
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1761
1761
|
reference: e,
|
|
1762
1762
|
floating: t,
|
|
1763
1763
|
strategy: i
|
|
1764
|
-
}), { x: u, y: d } =
|
|
1764
|
+
}), { x: u, y: d } = jr(l, r, c), f = r, p = 0, m = {};
|
|
1765
1765
|
for (let n = 0; n < a.length; n++) {
|
|
1766
1766
|
let h = a[n];
|
|
1767
1767
|
if (!h) continue;
|
|
@@ -1782,11 +1782,11 @@ var Mr = 50, Nr = async (e, t, n) => {
|
|
|
1782
1782
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1783
1783
|
...m[g],
|
|
1784
1784
|
...b
|
|
1785
|
-
}, x && p <
|
|
1785
|
+
}, x && p < Nr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1786
1786
|
reference: e,
|
|
1787
1787
|
floating: t,
|
|
1788
1788
|
strategy: i
|
|
1789
|
-
}) : x.rects), {x: u, y: d} =
|
|
1789
|
+
}) : x.rects), {x: u, y: d} = jr(l, f, c)), n = -1);
|
|
1790
1790
|
}
|
|
1791
1791
|
return {
|
|
1792
1792
|
x: u,
|
|
@@ -1795,18 +1795,18 @@ var Mr = 50, Nr = async (e, t, n) => {
|
|
|
1795
1795
|
strategy: i,
|
|
1796
1796
|
middlewareData: m
|
|
1797
1797
|
};
|
|
1798
|
-
},
|
|
1798
|
+
}, Fr = (e) => ({
|
|
1799
1799
|
name: "arrow",
|
|
1800
1800
|
options: e,
|
|
1801
1801
|
async fn(t) {
|
|
1802
1802
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1803
1803
|
if (l == null) return {};
|
|
1804
|
-
let d =
|
|
1804
|
+
let d = kr(u), f = {
|
|
1805
1805
|
x: n,
|
|
1806
1806
|
y: r
|
|
1807
|
-
}, p =
|
|
1807
|
+
}, p = _r(i), m = gr(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;
|
|
1808
1808
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1809
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1809
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = lr(d[_], T), E = lr(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, te = pr(D, k, O), A = !c.arrow && mr(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;
|
|
1810
1810
|
return {
|
|
1811
1811
|
[p]: f[p] + j,
|
|
1812
1812
|
data: {
|
|
@@ -1817,7 +1817,7 @@ var Mr = 50, Nr = async (e, t, n) => {
|
|
|
1817
1817
|
reset: A
|
|
1818
1818
|
};
|
|
1819
1819
|
}
|
|
1820
|
-
}),
|
|
1820
|
+
}), Ir = function(e) {
|
|
1821
1821
|
return e === void 0 && (e = {}), {
|
|
1822
1822
|
name: "flip",
|
|
1823
1823
|
options: e,
|
|
@@ -1825,11 +1825,11 @@ var Mr = 50, Nr = async (e, t, n) => {
|
|
|
1825
1825
|
var n;
|
|
1826
1826
|
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);
|
|
1827
1827
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1828
|
-
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 ? [
|
|
1829
|
-
!d && x && b.push(...
|
|
1828
|
+
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 ? [Dr(o)] : yr(o)), x = p !== "none";
|
|
1829
|
+
!d && x && b.push(...Er(o, m, p, y));
|
|
1830
1830
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1831
1831
|
if (l && w.push(C[g]), u) {
|
|
1832
|
-
let e =
|
|
1832
|
+
let e = vr(r, a, y);
|
|
1833
1833
|
w.push(C[e[0]], C[e[1]]);
|
|
1834
1834
|
}
|
|
1835
1835
|
if (T = [...T, {
|
|
@@ -1867,7 +1867,7 @@ var Mr = 50, Nr = async (e, t, n) => {
|
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
};
|
|
1870
|
-
function
|
|
1870
|
+
function Lr(e, t) {
|
|
1871
1871
|
return {
|
|
1872
1872
|
top: e.top - t.height,
|
|
1873
1873
|
right: e.right - t.width,
|
|
@@ -1875,10 +1875,10 @@ function Ir(e, t) {
|
|
|
1875
1875
|
left: e.left - t.width
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1879
|
-
return
|
|
1878
|
+
function Rr(e) {
|
|
1879
|
+
return cr.some((t) => e[t] >= 0);
|
|
1880
1880
|
}
|
|
1881
|
-
var
|
|
1881
|
+
var zr = function(e) {
|
|
1882
1882
|
return e === void 0 && (e = {}), {
|
|
1883
1883
|
name: "hide",
|
|
1884
1884
|
options: e,
|
|
@@ -1886,32 +1886,32 @@ var Rr = function(e) {
|
|
|
1886
1886
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1887
1887
|
switch (i) {
|
|
1888
1888
|
case "referenceHidden": {
|
|
1889
|
-
let e =
|
|
1889
|
+
let e = Lr(await r.detectOverflow(t, {
|
|
1890
1890
|
...a,
|
|
1891
1891
|
elementContext: "reference"
|
|
1892
1892
|
}), n.reference);
|
|
1893
1893
|
return { data: {
|
|
1894
1894
|
referenceHiddenOffsets: e,
|
|
1895
|
-
referenceHidden:
|
|
1895
|
+
referenceHidden: Rr(e)
|
|
1896
1896
|
} };
|
|
1897
1897
|
}
|
|
1898
1898
|
case "escaped": {
|
|
1899
|
-
let e =
|
|
1899
|
+
let e = Lr(await r.detectOverflow(t, {
|
|
1900
1900
|
...a,
|
|
1901
1901
|
altBoundary: !0
|
|
1902
1902
|
}), n.floating);
|
|
1903
1903
|
return { data: {
|
|
1904
1904
|
escapedOffsets: e,
|
|
1905
|
-
escaped:
|
|
1905
|
+
escaped: Rr(e)
|
|
1906
1906
|
} };
|
|
1907
1907
|
}
|
|
1908
1908
|
default: return {};
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
1911
|
};
|
|
1912
|
-
},
|
|
1913
|
-
async function
|
|
1914
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1912
|
+
}, Br = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1913
|
+
async function Vr(e, t) {
|
|
1914
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = mr(n), c = q(n) === "y", l = Br.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1915
1915
|
mainAxis: d,
|
|
1916
1916
|
crossAxis: 0,
|
|
1917
1917
|
alignmentAxis: null
|
|
@@ -1928,13 +1928,13 @@ async function Br(e, t) {
|
|
|
1928
1928
|
y: p * u
|
|
1929
1929
|
};
|
|
1930
1930
|
}
|
|
1931
|
-
var
|
|
1931
|
+
var Hr = function(e) {
|
|
1932
1932
|
return e === void 0 && (e = 0), {
|
|
1933
1933
|
name: "offset",
|
|
1934
1934
|
options: e,
|
|
1935
1935
|
async fn(t) {
|
|
1936
1936
|
var n;
|
|
1937
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1937
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Vr(t, e);
|
|
1938
1938
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1939
1939
|
x: r + s.x,
|
|
1940
1940
|
y: i + s.y,
|
|
@@ -1945,7 +1945,7 @@ var Vr = function(e) {
|
|
|
1945
1945
|
};
|
|
1946
1946
|
}
|
|
1947
1947
|
};
|
|
1948
|
-
},
|
|
1948
|
+
}, Ur = function(e) {
|
|
1949
1949
|
return e === void 0 && (e = {}), {
|
|
1950
1950
|
name: "shift",
|
|
1951
1951
|
options: e,
|
|
@@ -1959,14 +1959,14 @@ var Vr = function(e) {
|
|
|
1959
1959
|
} }, ...l } = G(e, t), u = {
|
|
1960
1960
|
x: n,
|
|
1961
1961
|
y: r
|
|
1962
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1962
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = hr(f), m = u[p], h = u[f];
|
|
1963
1963
|
if (o) {
|
|
1964
1964
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1965
|
-
m =
|
|
1965
|
+
m = pr(n, m, r);
|
|
1966
1966
|
}
|
|
1967
1967
|
if (s) {
|
|
1968
1968
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1969
|
-
h =
|
|
1969
|
+
h = pr(n, h, r);
|
|
1970
1970
|
}
|
|
1971
1971
|
let g = c.fn({
|
|
1972
1972
|
...t,
|
|
@@ -1986,14 +1986,14 @@ var Vr = function(e) {
|
|
|
1986
1986
|
};
|
|
1987
1987
|
}
|
|
1988
1988
|
};
|
|
1989
|
-
},
|
|
1989
|
+
}, Wr = function(e) {
|
|
1990
1990
|
return e === void 0 && (e = {}), {
|
|
1991
1991
|
options: e,
|
|
1992
1992
|
fn(t) {
|
|
1993
1993
|
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 = {
|
|
1994
1994
|
x: n,
|
|
1995
1995
|
y: r
|
|
1996
|
-
}, d = q(i), f =
|
|
1996
|
+
}, d = q(i), f = hr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1997
1997
|
mainAxis: h,
|
|
1998
1998
|
crossAxis: 0
|
|
1999
1999
|
} : {
|
|
@@ -2006,7 +2006,7 @@ var Vr = function(e) {
|
|
|
2006
2006
|
p < t ? p = t : p > n && (p = n);
|
|
2007
2007
|
}
|
|
2008
2008
|
if (l) {
|
|
2009
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2009
|
+
let e = f === "y" ? "width" : "height", t = Br.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);
|
|
2010
2010
|
m < n ? m = n : m > r && (m = r);
|
|
2011
2011
|
}
|
|
2012
2012
|
return {
|
|
@@ -2015,15 +2015,15 @@ var Vr = function(e) {
|
|
|
2015
2015
|
};
|
|
2016
2016
|
}
|
|
2017
2017
|
};
|
|
2018
|
-
},
|
|
2018
|
+
}, Gr = function(e) {
|
|
2019
2019
|
return e === void 0 && (e = {}), {
|
|
2020
2020
|
name: "size",
|
|
2021
2021
|
options: e,
|
|
2022
2022
|
async fn(t) {
|
|
2023
2023
|
var n, r;
|
|
2024
|
-
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 =
|
|
2024
|
+
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 = mr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2025
2025
|
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");
|
|
2026
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2026
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = lr(h - u[g], v), x = lr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2027
2027
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2028
2028
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2029
2029
|
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));
|
|
@@ -2040,39 +2040,39 @@ var Vr = function(e) {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
//#endregion
|
|
2042
2042
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2043
|
-
function
|
|
2043
|
+
function Kr() {
|
|
2044
2044
|
return typeof window < "u";
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2047
|
-
return
|
|
2046
|
+
function qr(e) {
|
|
2047
|
+
return Jr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2048
2048
|
}
|
|
2049
2049
|
function J(e) {
|
|
2050
2050
|
var t;
|
|
2051
2051
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2052
2052
|
}
|
|
2053
2053
|
function Y(e) {
|
|
2054
|
-
return ((
|
|
2054
|
+
return ((Jr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return
|
|
2056
|
+
function Jr(e) {
|
|
2057
|
+
return Kr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2058
2058
|
}
|
|
2059
2059
|
function X(e) {
|
|
2060
|
-
return
|
|
2060
|
+
return Kr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2061
2061
|
}
|
|
2062
2062
|
function Z(e) {
|
|
2063
|
-
return
|
|
2064
|
-
}
|
|
2065
|
-
function Jr(e) {
|
|
2066
|
-
return !Gr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2063
|
+
return Kr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2067
2064
|
}
|
|
2068
2065
|
function Yr(e) {
|
|
2069
|
-
|
|
2070
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2066
|
+
return !Kr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2071
2067
|
}
|
|
2072
2068
|
function Xr(e) {
|
|
2073
|
-
|
|
2069
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2070
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2074
2071
|
}
|
|
2075
2072
|
function Zr(e) {
|
|
2073
|
+
return /^(table|td|th)$/.test(qr(e));
|
|
2074
|
+
}
|
|
2075
|
+
function Qr(e) {
|
|
2076
2076
|
try {
|
|
2077
2077
|
if (e.matches(":popover-open")) return !0;
|
|
2078
2078
|
} catch {}
|
|
@@ -2082,30 +2082,30 @@ function Zr(e) {
|
|
|
2082
2082
|
return !1;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
var
|
|
2086
|
-
function ni(e) {
|
|
2087
|
-
let t = X(e) ? Q(e) : e;
|
|
2088
|
-
return ei(t.transform) || ei(t.translate) || ei(t.scale) || ei(t.rotate) || ei(t.perspective) || !ii() && (ei(t.backdropFilter) || ei(t.filter)) || Qr.test(t.willChange || "") || $r.test(t.contain || "");
|
|
2089
|
-
}
|
|
2085
|
+
var $r = /transform|translate|scale|rotate|perspective|filter/, ei = /paint|layout|strict|content/, ti = (e) => !!e && e !== "none", ni;
|
|
2090
2086
|
function ri(e) {
|
|
2091
|
-
let t =
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2087
|
+
let t = X(e) ? Q(e) : e;
|
|
2088
|
+
return ti(t.transform) || ti(t.translate) || ti(t.scale) || ti(t.rotate) || ti(t.perspective) || !ai() && (ti(t.backdropFilter) || ti(t.filter)) || $r.test(t.willChange || "") || ei.test(t.contain || "");
|
|
2089
|
+
}
|
|
2090
|
+
function ii(e) {
|
|
2091
|
+
let t = ci(e);
|
|
2092
|
+
for (; Z(t) && !oi(t);) {
|
|
2093
|
+
if (ri(t)) return t;
|
|
2094
|
+
if (Qr(t)) return null;
|
|
2095
|
+
t = ci(t);
|
|
2096
2096
|
}
|
|
2097
2097
|
return null;
|
|
2098
2098
|
}
|
|
2099
|
-
function
|
|
2100
|
-
return
|
|
2099
|
+
function ai() {
|
|
2100
|
+
return ni ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ni;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2103
|
-
return /^(html|body|#document)$/.test(
|
|
2102
|
+
function oi(e) {
|
|
2103
|
+
return /^(html|body|#document)$/.test(qr(e));
|
|
2104
2104
|
}
|
|
2105
2105
|
function Q(e) {
|
|
2106
2106
|
return J(e).getComputedStyle(e);
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function si(e) {
|
|
2109
2109
|
return X(e) ? {
|
|
2110
2110
|
scrollLeft: e.scrollLeft,
|
|
2111
2111
|
scrollTop: e.scrollTop
|
|
@@ -2114,101 +2114,101 @@ function oi(e) {
|
|
|
2114
2114
|
scrollTop: e.scrollY
|
|
2115
2115
|
};
|
|
2116
2116
|
}
|
|
2117
|
-
function si(e) {
|
|
2118
|
-
if (Kr(e) === "html") return e;
|
|
2119
|
-
let t = e.assignedSlot || e.parentNode || Jr(e) && e.host || Y(e);
|
|
2120
|
-
return Jr(t) ? t.host : t;
|
|
2121
|
-
}
|
|
2122
2117
|
function ci(e) {
|
|
2123
|
-
|
|
2124
|
-
|
|
2118
|
+
if (qr(e) === "html") return e;
|
|
2119
|
+
let t = e.assignedSlot || e.parentNode || Yr(e) && e.host || Y(e);
|
|
2120
|
+
return Yr(t) ? t.host : t;
|
|
2125
2121
|
}
|
|
2126
|
-
function li(e
|
|
2122
|
+
function li(e) {
|
|
2123
|
+
let t = ci(e);
|
|
2124
|
+
return oi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && Xr(t) ? t : li(t);
|
|
2125
|
+
}
|
|
2126
|
+
function ui(e, t, n) {
|
|
2127
2127
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2128
|
-
let r =
|
|
2128
|
+
let r = li(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2129
2129
|
if (i) {
|
|
2130
|
-
let e =
|
|
2131
|
-
return t.concat(a, a.visualViewport || [],
|
|
2132
|
-
} else return t.concat(r,
|
|
2130
|
+
let e = di(a);
|
|
2131
|
+
return t.concat(a, a.visualViewport || [], Xr(r) ? r : [], e && n ? ui(e) : []);
|
|
2132
|
+
} else return t.concat(r, ui(r, [], n));
|
|
2133
2133
|
}
|
|
2134
|
-
function
|
|
2134
|
+
function di(e) {
|
|
2135
2135
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2136
2136
|
}
|
|
2137
2137
|
//#endregion
|
|
2138
2138
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2139
|
-
function
|
|
2140
|
-
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 =
|
|
2139
|
+
function fi(e) {
|
|
2140
|
+
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 = ur(n) !== a || ur(r) !== o;
|
|
2141
2141
|
return s && (n = a, r = o), {
|
|
2142
2142
|
width: n,
|
|
2143
2143
|
height: r,
|
|
2144
2144
|
$: s
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2147
|
+
function pi(e) {
|
|
2148
2148
|
return X(e) ? e : e.contextElement;
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2151
|
-
let t =
|
|
2150
|
+
function mi(e) {
|
|
2151
|
+
let t = pi(e);
|
|
2152
2152
|
if (!Z(t)) return W(1);
|
|
2153
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2153
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = fi(t), o = (a ? ur(n.width) : n.width) / r, s = (a ? ur(n.height) : n.height) / i;
|
|
2154
2154
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2155
2155
|
x: o,
|
|
2156
2156
|
y: s
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
|
-
var
|
|
2160
|
-
function
|
|
2159
|
+
var hi = /*#__PURE__*/ W(0);
|
|
2160
|
+
function gi(e) {
|
|
2161
2161
|
let t = J(e);
|
|
2162
|
-
return !
|
|
2162
|
+
return !ai() || !t.visualViewport ? hi : {
|
|
2163
2163
|
x: t.visualViewport.offsetLeft,
|
|
2164
2164
|
y: t.visualViewport.offsetTop
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2167
|
+
function _i(e, t, n) {
|
|
2168
2168
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2169
2169
|
}
|
|
2170
|
-
function
|
|
2170
|
+
function vi(e, t, n, r) {
|
|
2171
2171
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2172
|
-
let i = e.getBoundingClientRect(), a =
|
|
2173
|
-
t && (r ? X(r) && (o =
|
|
2174
|
-
let s =
|
|
2172
|
+
let i = e.getBoundingClientRect(), a = pi(e), o = W(1);
|
|
2173
|
+
t && (r ? X(r) && (o = mi(r)) : o = mi(e));
|
|
2174
|
+
let s = _i(a, n, r) ? gi(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;
|
|
2175
2175
|
if (a) {
|
|
2176
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2176
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = di(n);
|
|
2177
2177
|
for (; i && r && t !== n;) {
|
|
2178
|
-
let e =
|
|
2179
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2178
|
+
let e = mi(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;
|
|
2179
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = di(n);
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
|
-
return
|
|
2182
|
+
return Ar({
|
|
2183
2183
|
width: u,
|
|
2184
2184
|
height: d,
|
|
2185
2185
|
x: c,
|
|
2186
2186
|
y: l
|
|
2187
2187
|
});
|
|
2188
2188
|
}
|
|
2189
|
-
function vi(e, t) {
|
|
2190
|
-
let n = oi(e).scrollLeft;
|
|
2191
|
-
return t ? t.left + n : _i(Y(e)).left + n;
|
|
2192
|
-
}
|
|
2193
2189
|
function yi(e, t) {
|
|
2190
|
+
let n = si(e).scrollLeft;
|
|
2191
|
+
return t ? t.left + n : vi(Y(e)).left + n;
|
|
2192
|
+
}
|
|
2193
|
+
function bi(e, t) {
|
|
2194
2194
|
let n = e.getBoundingClientRect();
|
|
2195
2195
|
return {
|
|
2196
|
-
x: n.left + t.scrollLeft -
|
|
2196
|
+
x: n.left + t.scrollLeft - yi(e, n),
|
|
2197
2197
|
y: n.top + t.scrollTop
|
|
2198
2198
|
};
|
|
2199
2199
|
}
|
|
2200
|
-
function
|
|
2201
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2200
|
+
function xi(e) {
|
|
2201
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? Qr(t.floating) : !1;
|
|
2202
2202
|
if (r === o || s && a) return n;
|
|
2203
2203
|
let c = {
|
|
2204
2204
|
scrollLeft: 0,
|
|
2205
2205
|
scrollTop: 0
|
|
2206
2206
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2207
|
-
if ((d || !d && !a) && ((
|
|
2208
|
-
let e =
|
|
2209
|
-
l =
|
|
2207
|
+
if ((d || !d && !a) && ((qr(r) !== "body" || Xr(o)) && (c = si(r)), d)) {
|
|
2208
|
+
let e = vi(r);
|
|
2209
|
+
l = mi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2210
2210
|
}
|
|
2211
|
-
let f = o && !d && !a ?
|
|
2211
|
+
let f = o && !d && !a ? bi(o, c) : W(0);
|
|
2212
2212
|
return {
|
|
2213
2213
|
width: n.width * l.x,
|
|
2214
2214
|
height: n.height * l.y,
|
|
@@ -2216,11 +2216,11 @@ function bi(e) {
|
|
|
2216
2216
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2217
2217
|
};
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2219
|
+
function Si(e) {
|
|
2220
2220
|
return Array.from(e.getClientRects());
|
|
2221
2221
|
}
|
|
2222
|
-
function
|
|
2223
|
-
let t = Y(e), n =
|
|
2222
|
+
function Ci(e) {
|
|
2223
|
+
let t = Y(e), n = si(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 + yi(e), s = -n.scrollTop;
|
|
2224
2224
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2225
2225
|
width: i,
|
|
2226
2226
|
height: a,
|
|
@@ -2228,19 +2228,19 @@ function Si(e) {
|
|
|
2228
2228
|
y: s
|
|
2229
2229
|
};
|
|
2230
2230
|
}
|
|
2231
|
-
var
|
|
2232
|
-
function
|
|
2231
|
+
var wi = 25;
|
|
2232
|
+
function Ti(e, t) {
|
|
2233
2233
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2234
2234
|
if (i) {
|
|
2235
2235
|
a = i.width, o = i.height;
|
|
2236
|
-
let e =
|
|
2236
|
+
let e = ai();
|
|
2237
2237
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2238
2238
|
}
|
|
2239
|
-
let l =
|
|
2239
|
+
let l = yi(r);
|
|
2240
2240
|
if (l <= 0) {
|
|
2241
2241
|
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);
|
|
2242
|
-
o <=
|
|
2243
|
-
} else l <=
|
|
2242
|
+
o <= wi && (a -= o);
|
|
2243
|
+
} else l <= wi && (a += l);
|
|
2244
2244
|
return {
|
|
2245
2245
|
width: a,
|
|
2246
2246
|
height: o,
|
|
@@ -2248,8 +2248,8 @@ function wi(e, t) {
|
|
|
2248
2248
|
y: c
|
|
2249
2249
|
};
|
|
2250
2250
|
}
|
|
2251
|
-
function
|
|
2252
|
-
let n =
|
|
2251
|
+
function Ei(e, t) {
|
|
2252
|
+
let n = vi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? mi(e) : W(1);
|
|
2253
2253
|
return {
|
|
2254
2254
|
width: e.clientWidth * a.x,
|
|
2255
2255
|
height: e.clientHeight * a.y,
|
|
@@ -2257,13 +2257,13 @@ function Ti(e, t) {
|
|
|
2257
2257
|
y: r * a.y
|
|
2258
2258
|
};
|
|
2259
2259
|
}
|
|
2260
|
-
function
|
|
2260
|
+
function Di(e, t, n) {
|
|
2261
2261
|
let r;
|
|
2262
|
-
if (t === "viewport") r =
|
|
2263
|
-
else if (t === "document") r =
|
|
2264
|
-
else if (X(t)) r =
|
|
2262
|
+
if (t === "viewport") r = Ti(e, n);
|
|
2263
|
+
else if (t === "document") r = Ci(Y(e));
|
|
2264
|
+
else if (X(t)) r = Ei(t, n);
|
|
2265
2265
|
else {
|
|
2266
|
-
let n =
|
|
2266
|
+
let n = gi(e);
|
|
2267
2267
|
r = {
|
|
2268
2268
|
x: t.x - n.x,
|
|
2269
2269
|
y: t.y - n.y,
|
|
@@ -2271,27 +2271,27 @@ function Ei(e, t, n) {
|
|
|
2271
2271
|
height: t.height
|
|
2272
2272
|
};
|
|
2273
2273
|
}
|
|
2274
|
-
return
|
|
2275
|
-
}
|
|
2276
|
-
function Di(e, t) {
|
|
2277
|
-
let n = si(e);
|
|
2278
|
-
return n === t || !X(n) || ai(n) ? !1 : Q(n).position === "fixed" || Di(n, t);
|
|
2274
|
+
return Ar(r);
|
|
2279
2275
|
}
|
|
2280
2276
|
function Oi(e, t) {
|
|
2277
|
+
let n = ci(e);
|
|
2278
|
+
return n === t || !X(n) || oi(n) ? !1 : Q(n).position === "fixed" || Oi(n, t);
|
|
2279
|
+
}
|
|
2280
|
+
function ki(e, t) {
|
|
2281
2281
|
let n = t.get(e);
|
|
2282
2282
|
if (n) return n;
|
|
2283
|
-
let r =
|
|
2284
|
-
for (; X(o) && !
|
|
2285
|
-
let t = Q(o), n =
|
|
2286
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2283
|
+
let r = ui(e, [], !1).filter((e) => X(e) && qr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? ci(e) : e;
|
|
2284
|
+
for (; X(o) && !oi(o);) {
|
|
2285
|
+
let t = Q(o), n = ri(o);
|
|
2286
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Xr(o) && !n && Oi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = ci(o);
|
|
2287
2287
|
}
|
|
2288
2288
|
return t.set(e, r), r;
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2291
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2290
|
+
function Ai(e) {
|
|
2291
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Qr(t) ? [] : ki(t, this._c) : [].concat(n), r], o = Di(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2292
2292
|
for (let e = 1; e < a.length; e++) {
|
|
2293
|
-
let n =
|
|
2294
|
-
s = U(n.top, s), c =
|
|
2293
|
+
let n = Di(t, a[e], i);
|
|
2294
|
+
s = U(n.top, s), c = lr(n.right, c), l = lr(n.bottom, l), u = U(n.left, u);
|
|
2295
2295
|
}
|
|
2296
2296
|
return {
|
|
2297
2297
|
width: c - u,
|
|
@@ -2300,27 +2300,27 @@ function ki(e) {
|
|
|
2300
2300
|
y: s
|
|
2301
2301
|
};
|
|
2302
2302
|
}
|
|
2303
|
-
function
|
|
2304
|
-
let { width: t, height: n } =
|
|
2303
|
+
function ji(e) {
|
|
2304
|
+
let { width: t, height: n } = fi(e);
|
|
2305
2305
|
return {
|
|
2306
2306
|
width: t,
|
|
2307
2307
|
height: n
|
|
2308
2308
|
};
|
|
2309
2309
|
}
|
|
2310
|
-
function
|
|
2311
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2310
|
+
function Mi(e, t, n) {
|
|
2311
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = vi(e, !0, a, t), s = {
|
|
2312
2312
|
scrollLeft: 0,
|
|
2313
2313
|
scrollTop: 0
|
|
2314
2314
|
}, c = W(0);
|
|
2315
2315
|
function l() {
|
|
2316
|
-
c.x =
|
|
2316
|
+
c.x = yi(i);
|
|
2317
2317
|
}
|
|
2318
|
-
if (r || !r && !a) if ((
|
|
2319
|
-
let e =
|
|
2318
|
+
if (r || !r && !a) if ((qr(t) !== "body" || Xr(i)) && (s = si(t)), r) {
|
|
2319
|
+
let e = vi(t, !0, a, t);
|
|
2320
2320
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2321
2321
|
} else i && l();
|
|
2322
2322
|
a && !r && i && l();
|
|
2323
|
-
let u = i && !r && !a ?
|
|
2323
|
+
let u = i && !r && !a ? bi(i, s) : W(0);
|
|
2324
2324
|
return {
|
|
2325
2325
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2326
2326
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2328,34 +2328,34 @@ function ji(e, t, n) {
|
|
|
2328
2328
|
height: o.height
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function Ni(e) {
|
|
2332
2332
|
return Q(e).position === "static";
|
|
2333
2333
|
}
|
|
2334
|
-
function
|
|
2334
|
+
function Pi(e, t) {
|
|
2335
2335
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2336
2336
|
if (t) return t(e);
|
|
2337
2337
|
let n = e.offsetParent;
|
|
2338
2338
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2339
2339
|
}
|
|
2340
|
-
function
|
|
2340
|
+
function Fi(e, t) {
|
|
2341
2341
|
let n = J(e);
|
|
2342
|
-
if (
|
|
2342
|
+
if (Qr(e)) return n;
|
|
2343
2343
|
if (!Z(e)) {
|
|
2344
|
-
let t =
|
|
2345
|
-
for (; t && !
|
|
2346
|
-
if (X(t) && !
|
|
2347
|
-
t =
|
|
2344
|
+
let t = ci(e);
|
|
2345
|
+
for (; t && !oi(t);) {
|
|
2346
|
+
if (X(t) && !Ni(t)) return t;
|
|
2347
|
+
t = ci(t);
|
|
2348
2348
|
}
|
|
2349
2349
|
return n;
|
|
2350
2350
|
}
|
|
2351
|
-
let r =
|
|
2352
|
-
for (; r &&
|
|
2353
|
-
return r &&
|
|
2351
|
+
let r = Pi(e, t);
|
|
2352
|
+
for (; r && Zr(r) && Ni(r);) r = Pi(r, t);
|
|
2353
|
+
return r && oi(r) && Ni(r) && !ri(r) ? n : r || ii(e) || n;
|
|
2354
2354
|
}
|
|
2355
|
-
var
|
|
2356
|
-
let t = this.getOffsetParent ||
|
|
2355
|
+
var Ii = async function(e) {
|
|
2356
|
+
let t = this.getOffsetParent || Fi, n = this.getDimensions, r = await n(e.floating);
|
|
2357
2357
|
return {
|
|
2358
|
-
reference:
|
|
2358
|
+
reference: Mi(e.reference, await t(e.floating), e.strategy),
|
|
2359
2359
|
floating: {
|
|
2360
2360
|
x: 0,
|
|
2361
2361
|
y: 0,
|
|
@@ -2364,25 +2364,25 @@ var Fi = async function(e) {
|
|
|
2364
2364
|
}
|
|
2365
2365
|
};
|
|
2366
2366
|
};
|
|
2367
|
-
function
|
|
2367
|
+
function Li(e) {
|
|
2368
2368
|
return Q(e).direction === "rtl";
|
|
2369
2369
|
}
|
|
2370
|
-
var
|
|
2371
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2370
|
+
var Ri = {
|
|
2371
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: xi,
|
|
2372
2372
|
getDocumentElement: Y,
|
|
2373
|
-
getClippingRect:
|
|
2374
|
-
getOffsetParent:
|
|
2375
|
-
getElementRects:
|
|
2376
|
-
getClientRects:
|
|
2377
|
-
getDimensions:
|
|
2378
|
-
getScale:
|
|
2373
|
+
getClippingRect: Ai,
|
|
2374
|
+
getOffsetParent: Fi,
|
|
2375
|
+
getElementRects: Ii,
|
|
2376
|
+
getClientRects: Si,
|
|
2377
|
+
getDimensions: ji,
|
|
2378
|
+
getScale: mi,
|
|
2379
2379
|
isElement: X,
|
|
2380
|
-
isRTL:
|
|
2380
|
+
isRTL: Li
|
|
2381
2381
|
};
|
|
2382
|
-
function
|
|
2382
|
+
function zi(e, t) {
|
|
2383
2383
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2384
2384
|
}
|
|
2385
|
-
function
|
|
2385
|
+
function Bi(e, t) {
|
|
2386
2386
|
let n = null, r, i = Y(e);
|
|
2387
2387
|
function a() {
|
|
2388
2388
|
var e;
|
|
@@ -2392,9 +2392,9 @@ function zi(e, t) {
|
|
|
2392
2392
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2393
2393
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2394
2394
|
if (s || t(), !f || !p) return;
|
|
2395
|
-
let m =
|
|
2395
|
+
let m = dr(d), h = dr(i.clientWidth - (u + f)), g = dr(i.clientHeight - (d + p)), _ = dr(u), v = {
|
|
2396
2396
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2397
|
-
threshold: U(0,
|
|
2397
|
+
threshold: U(0, lr(1, c)) || 1
|
|
2398
2398
|
}, y = !0;
|
|
2399
2399
|
function b(t) {
|
|
2400
2400
|
let n = t[0].intersectionRatio;
|
|
@@ -2404,7 +2404,7 @@ function zi(e, t) {
|
|
|
2404
2404
|
o(!1, 1e-7);
|
|
2405
2405
|
}, 1e3);
|
|
2406
2406
|
}
|
|
2407
|
-
n === 1 && !
|
|
2407
|
+
n === 1 && !zi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2408
2408
|
}
|
|
2409
2409
|
try {
|
|
2410
2410
|
n = new IntersectionObserver(b, {
|
|
@@ -2418,13 +2418,13 @@ function zi(e, t) {
|
|
|
2418
2418
|
}
|
|
2419
2419
|
return o(!0), a;
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function Vi(e, t, n, r) {
|
|
2422
2422
|
r === void 0 && (r = {});
|
|
2423
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2423
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = pi(e), u = i || a ? [...l ? ui(l) : [], ...t ? ui(t) : []] : [];
|
|
2424
2424
|
u.forEach((e) => {
|
|
2425
2425
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2426
2426
|
});
|
|
2427
|
-
let d = l && s ?
|
|
2427
|
+
let d = l && s ? Bi(l, n) : null, f = -1, p = null;
|
|
2428
2428
|
o && (p = new ResizeObserver((e) => {
|
|
2429
2429
|
let [r] = e;
|
|
2430
2430
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2432,11 +2432,11 @@ function Bi(e, t, n, r) {
|
|
|
2432
2432
|
(e = p) == null || e.observe(t);
|
|
2433
2433
|
})), n();
|
|
2434
2434
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2435
|
-
let m, h = c ?
|
|
2435
|
+
let m, h = c ? vi(e) : null;
|
|
2436
2436
|
c && g();
|
|
2437
2437
|
function g() {
|
|
2438
|
-
let t =
|
|
2439
|
-
h && !
|
|
2438
|
+
let t = vi(e);
|
|
2439
|
+
h && !zi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2440
2440
|
}
|
|
2441
2441
|
return n(), () => {
|
|
2442
2442
|
var e;
|
|
@@ -2445,20 +2445,20 @@ function Bi(e, t, n, r) {
|
|
|
2445
2445
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2446
2446
|
};
|
|
2447
2447
|
}
|
|
2448
|
-
var
|
|
2448
|
+
var Hi = Hr, Ui = Ur, Wi = Ir, Gi = Gr, Ki = zr, qi = Fr, Ji = Wr, Yi = (e, t, n) => {
|
|
2449
2449
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2450
|
-
platform:
|
|
2450
|
+
platform: Ri,
|
|
2451
2451
|
...n
|
|
2452
2452
|
}, a = {
|
|
2453
2453
|
...i.platform,
|
|
2454
2454
|
_c: r
|
|
2455
2455
|
};
|
|
2456
|
-
return
|
|
2456
|
+
return Pr(e, t, {
|
|
2457
2457
|
...i,
|
|
2458
2458
|
platform: a
|
|
2459
2459
|
});
|
|
2460
|
-
},
|
|
2461
|
-
function
|
|
2460
|
+
}, Xi = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2461
|
+
function Zi(e, t) {
|
|
2462
2462
|
if (e === t) return !0;
|
|
2463
2463
|
if (typeof e != typeof t) return !1;
|
|
2464
2464
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2466,33 +2466,33 @@ function Xi(e, t) {
|
|
|
2466
2466
|
if (e && t && typeof e == "object") {
|
|
2467
2467
|
if (Array.isArray(e)) {
|
|
2468
2468
|
if (n = e.length, n !== t.length) return !1;
|
|
2469
|
-
for (r = n; r-- !== 0;) if (!
|
|
2469
|
+
for (r = n; r-- !== 0;) if (!Zi(e[r], t[r])) return !1;
|
|
2470
2470
|
return !0;
|
|
2471
2471
|
}
|
|
2472
2472
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2473
2473
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2474
2474
|
for (r = n; r-- !== 0;) {
|
|
2475
2475
|
let n = i[r];
|
|
2476
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2476
|
+
if (!(n === "_owner" && e.$$typeof) && !Zi(e[n], t[n])) return !1;
|
|
2477
2477
|
}
|
|
2478
2478
|
return !0;
|
|
2479
2479
|
}
|
|
2480
2480
|
return e !== e && t !== t;
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2482
|
+
function Qi(e) {
|
|
2483
2483
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2486
|
-
let n =
|
|
2485
|
+
function $i(e, t) {
|
|
2486
|
+
let n = Qi(e);
|
|
2487
2487
|
return Math.round(t * n) / n;
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function ea(e) {
|
|
2490
2490
|
let t = F.useRef(e);
|
|
2491
|
-
return
|
|
2491
|
+
return Xi(() => {
|
|
2492
2492
|
t.current = e;
|
|
2493
2493
|
}), t;
|
|
2494
2494
|
}
|
|
2495
|
-
function
|
|
2495
|
+
function ta(e) {
|
|
2496
2496
|
e === void 0 && (e = {});
|
|
2497
2497
|
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({
|
|
2498
2498
|
x: 0,
|
|
@@ -2502,24 +2502,24 @@ function ea(e) {
|
|
|
2502
2502
|
middlewareData: {},
|
|
2503
2503
|
isPositioned: !1
|
|
2504
2504
|
}), [f, p] = F.useState(r);
|
|
2505
|
-
|
|
2505
|
+
Zi(f, r) || p(r);
|
|
2506
2506
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2507
2507
|
e !== S.current && (S.current = e, h(e));
|
|
2508
2508
|
}, []), y = F.useCallback((e) => {
|
|
2509
2509
|
e !== C.current && (C.current = e, _(e));
|
|
2510
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee =
|
|
2510
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = ea(c), E = ea(i), D = ea(l), O = F.useCallback(() => {
|
|
2511
2511
|
if (!S.current || !C.current) return;
|
|
2512
2512
|
let e = {
|
|
2513
2513
|
placement: t,
|
|
2514
2514
|
strategy: n,
|
|
2515
2515
|
middleware: f
|
|
2516
2516
|
};
|
|
2517
|
-
E.current && (e.platform = E.current),
|
|
2517
|
+
E.current && (e.platform = E.current), Yi(S.current, C.current, e).then((e) => {
|
|
2518
2518
|
let t = {
|
|
2519
2519
|
...e,
|
|
2520
2520
|
isPositioned: D.current !== !1
|
|
2521
2521
|
};
|
|
2522
|
-
k.current && !
|
|
2522
|
+
k.current && !Zi(w.current, t) && (w.current = t, ft.flushSync(() => {
|
|
2523
2523
|
d(t);
|
|
2524
2524
|
}));
|
|
2525
2525
|
});
|
|
@@ -2530,16 +2530,16 @@ function ea(e) {
|
|
|
2530
2530
|
E,
|
|
2531
2531
|
D
|
|
2532
2532
|
]);
|
|
2533
|
-
|
|
2533
|
+
Xi(() => {
|
|
2534
2534
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2535
2535
|
...e,
|
|
2536
2536
|
isPositioned: !1
|
|
2537
2537
|
})));
|
|
2538
2538
|
}, [l]);
|
|
2539
2539
|
let k = F.useRef(!1);
|
|
2540
|
-
|
|
2540
|
+
Xi(() => (k.current = !0, () => {
|
|
2541
2541
|
k.current = !1;
|
|
2542
|
-
}), []),
|
|
2542
|
+
}), []), Xi(() => {
|
|
2543
2543
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2544
2544
|
if (ee.current) return ee.current(b, x, O);
|
|
2545
2545
|
O();
|
|
@@ -2566,11 +2566,11 @@ function ea(e) {
|
|
|
2566
2566
|
top: 0
|
|
2567
2567
|
};
|
|
2568
2568
|
if (!A.floating) return e;
|
|
2569
|
-
let t =
|
|
2569
|
+
let t = $i(A.floating, u.x), r = $i(A.floating, u.y);
|
|
2570
2570
|
return s ? {
|
|
2571
2571
|
...e,
|
|
2572
2572
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2573
|
-
...
|
|
2573
|
+
...Qi(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2574
2574
|
} : {
|
|
2575
2575
|
position: n,
|
|
2576
2576
|
left: t,
|
|
@@ -2597,7 +2597,7 @@ function ea(e) {
|
|
|
2597
2597
|
j
|
|
2598
2598
|
]);
|
|
2599
2599
|
}
|
|
2600
|
-
var
|
|
2600
|
+
var na = (e) => {
|
|
2601
2601
|
function t(e) {
|
|
2602
2602
|
return {}.hasOwnProperty.call(e, "current");
|
|
2603
2603
|
}
|
|
@@ -2606,22 +2606,15 @@ var ta = (e) => {
|
|
|
2606
2606
|
options: e,
|
|
2607
2607
|
fn(n) {
|
|
2608
2608
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2609
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2609
|
+
return r && t(r) ? r.current == null ? {} : qi({
|
|
2610
2610
|
element: r.current,
|
|
2611
2611
|
padding: i
|
|
2612
|
-
}).fn(n) : r ?
|
|
2612
|
+
}).fn(n) : r ? qi({
|
|
2613
2613
|
element: r,
|
|
2614
2614
|
padding: i
|
|
2615
2615
|
}).fn(n) : {};
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
|
-
}, na = (e, t) => {
|
|
2619
|
-
let n = Vi(e);
|
|
2620
|
-
return {
|
|
2621
|
-
name: n.name,
|
|
2622
|
-
fn: n.fn,
|
|
2623
|
-
options: [e, t]
|
|
2624
|
-
};
|
|
2625
2618
|
}, ra = (e, t) => {
|
|
2626
2619
|
let n = Hi(e);
|
|
2627
2620
|
return {
|
|
@@ -2629,17 +2622,17 @@ var ta = (e) => {
|
|
|
2629
2622
|
fn: n.fn,
|
|
2630
2623
|
options: [e, t]
|
|
2631
2624
|
};
|
|
2632
|
-
}, ia = (e, t) =>
|
|
2633
|
-
fn: qi(e).fn,
|
|
2634
|
-
options: [e, t]
|
|
2635
|
-
}), aa = (e, t) => {
|
|
2625
|
+
}, ia = (e, t) => {
|
|
2636
2626
|
let n = Ui(e);
|
|
2637
2627
|
return {
|
|
2638
2628
|
name: n.name,
|
|
2639
2629
|
fn: n.fn,
|
|
2640
2630
|
options: [e, t]
|
|
2641
2631
|
};
|
|
2642
|
-
},
|
|
2632
|
+
}, aa = (e, t) => ({
|
|
2633
|
+
fn: Ji(e).fn,
|
|
2634
|
+
options: [e, t]
|
|
2635
|
+
}), oa = (e, t) => {
|
|
2643
2636
|
let n = Wi(e);
|
|
2644
2637
|
return {
|
|
2645
2638
|
name: n.name,
|
|
@@ -2654,13 +2647,20 @@ var ta = (e) => {
|
|
|
2654
2647
|
options: [e, t]
|
|
2655
2648
|
};
|
|
2656
2649
|
}, ca = (e, t) => {
|
|
2657
|
-
let n =
|
|
2650
|
+
let n = Ki(e);
|
|
2651
|
+
return {
|
|
2652
|
+
name: n.name,
|
|
2653
|
+
fn: n.fn,
|
|
2654
|
+
options: [e, t]
|
|
2655
|
+
};
|
|
2656
|
+
}, la = (e, t) => {
|
|
2657
|
+
let n = na(e);
|
|
2658
2658
|
return {
|
|
2659
2659
|
name: n.name,
|
|
2660
2660
|
fn: n.fn,
|
|
2661
2661
|
options: [e, t]
|
|
2662
2662
|
};
|
|
2663
|
-
},
|
|
2663
|
+
}, ua = "Arrow", da = F.forwardRef((e, t) => {
|
|
2664
2664
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2665
2665
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2666
2666
|
...a,
|
|
@@ -2672,13 +2672,13 @@ var ta = (e) => {
|
|
|
2672
2672
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2673
2673
|
});
|
|
2674
2674
|
});
|
|
2675
|
-
|
|
2676
|
-
var
|
|
2675
|
+
da.displayName = ua;
|
|
2676
|
+
var fa = da;
|
|
2677
2677
|
//#endregion
|
|
2678
2678
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2679
|
-
function
|
|
2679
|
+
function pa(e) {
|
|
2680
2680
|
let [t, n] = F.useState(void 0);
|
|
2681
|
-
return
|
|
2681
|
+
return ir(() => {
|
|
2682
2682
|
if (e) {
|
|
2683
2683
|
n({
|
|
2684
2684
|
width: e.offsetWidth,
|
|
@@ -2702,18 +2702,18 @@ function fa(e) {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
//#endregion
|
|
2704
2704
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2705
|
-
var
|
|
2705
|
+
var ma = "Popper", [ha, ga] = hn(ma), [_a, va] = ha(ma), ya = (e) => {
|
|
2706
2706
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2707
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2707
|
+
return /* @__PURE__ */ (0, I.jsx)(_a, {
|
|
2708
2708
|
scope: t,
|
|
2709
2709
|
anchor: r,
|
|
2710
2710
|
onAnchorChange: i,
|
|
2711
2711
|
children: n
|
|
2712
2712
|
});
|
|
2713
2713
|
};
|
|
2714
|
-
|
|
2715
|
-
var
|
|
2716
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2714
|
+
ya.displayName = ma;
|
|
2715
|
+
var ba = "PopperAnchor", xa = F.forwardRef((e, t) => {
|
|
2716
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = va(ba, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2717
2717
|
return F.useEffect(() => {
|
|
2718
2718
|
let e = c.current;
|
|
2719
2719
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2722,9 +2722,9 @@ var ya = "PopperAnchor", ba = F.forwardRef((e, t) => {
|
|
|
2722
2722
|
ref: s
|
|
2723
2723
|
});
|
|
2724
2724
|
});
|
|
2725
|
-
|
|
2726
|
-
var
|
|
2727
|
-
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 =
|
|
2725
|
+
xa.displayName = ba;
|
|
2726
|
+
var Sa = "PopperContent", [Ca, wa] = ha(Sa), Ta = F.forwardRef((e, t) => {
|
|
2727
|
+
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 = va(Sa, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = pa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2728
2728
|
top: 0,
|
|
2729
2729
|
right: 0,
|
|
2730
2730
|
bottom: 0,
|
|
@@ -2732,51 +2732,51 @@ var xa = "PopperContent", [Sa, Ca] = ma(xa), wa = F.forwardRef((e, t) => {
|
|
|
2732
2732
|
...u
|
|
2733
2733
|
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2734
2734
|
padding: ee,
|
|
2735
|
-
boundary: E.filter(
|
|
2735
|
+
boundary: E.filter(ka),
|
|
2736
2736
|
altBoundary: D
|
|
2737
|
-
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: M } =
|
|
2737
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: M } = ta({
|
|
2738
2738
|
strategy: "fixed",
|
|
2739
2739
|
placement: T,
|
|
2740
|
-
whileElementsMounted: (...e) =>
|
|
2740
|
+
whileElementsMounted: (...e) => Vi(...e, { animationFrame: p === "always" }),
|
|
2741
2741
|
elements: { reference: g.anchor },
|
|
2742
2742
|
middleware: [
|
|
2743
|
-
|
|
2743
|
+
ra({
|
|
2744
2744
|
mainAxis: i + w,
|
|
2745
2745
|
alignmentAxis: o
|
|
2746
2746
|
}),
|
|
2747
|
-
c &&
|
|
2747
|
+
c && ia({
|
|
2748
2748
|
mainAxis: !0,
|
|
2749
2749
|
crossAxis: !1,
|
|
2750
|
-
limiter: d === "partial" ?
|
|
2750
|
+
limiter: d === "partial" ? aa() : void 0,
|
|
2751
2751
|
...O
|
|
2752
2752
|
}),
|
|
2753
|
-
c &&
|
|
2754
|
-
|
|
2753
|
+
c && oa({ ...O }),
|
|
2754
|
+
sa({
|
|
2755
2755
|
...O,
|
|
2756
2756
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2757
2757
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2758
2758
|
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`);
|
|
2759
2759
|
}
|
|
2760
2760
|
}),
|
|
2761
|
-
b &&
|
|
2761
|
+
b && la({
|
|
2762
2762
|
element: b,
|
|
2763
2763
|
padding: s
|
|
2764
2764
|
}),
|
|
2765
|
-
|
|
2765
|
+
Aa({
|
|
2766
2766
|
arrowWidth: C,
|
|
2767
2767
|
arrowHeight: w
|
|
2768
2768
|
}),
|
|
2769
|
-
f &&
|
|
2769
|
+
f && ca({
|
|
2770
2770
|
strategy: "referenceHidden",
|
|
2771
2771
|
...O
|
|
2772
2772
|
})
|
|
2773
2773
|
]
|
|
2774
|
-
}), [ne, re] =
|
|
2775
|
-
|
|
2774
|
+
}), [ne, re] = ja(A), ie = wn(m);
|
|
2775
|
+
ir(() => {
|
|
2776
2776
|
j && ie?.();
|
|
2777
2777
|
}, [j, ie]);
|
|
2778
2778
|
let N = M.arrow?.x, ae = M.arrow?.y, oe = M.arrow?.centerOffset !== 0, [se, ce] = F.useState();
|
|
2779
|
-
return
|
|
2779
|
+
return ir(() => {
|
|
2780
2780
|
_ && ce(window.getComputedStyle(_).zIndex);
|
|
2781
2781
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2782
2782
|
ref: k.setFloating,
|
|
@@ -2793,7 +2793,7 @@ var xa = "PopperContent", [Sa, Ca] = ma(xa), wa = F.forwardRef((e, t) => {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
},
|
|
2795
2795
|
dir: e.dir,
|
|
2796
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2796
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ca, {
|
|
2797
2797
|
scope: n,
|
|
2798
2798
|
placedSide: ne,
|
|
2799
2799
|
onArrowChange: x,
|
|
@@ -2813,14 +2813,14 @@ var xa = "PopperContent", [Sa, Ca] = ma(xa), wa = F.forwardRef((e, t) => {
|
|
|
2813
2813
|
})
|
|
2814
2814
|
});
|
|
2815
2815
|
});
|
|
2816
|
-
|
|
2817
|
-
var
|
|
2816
|
+
Ta.displayName = Sa;
|
|
2817
|
+
var Ea = "PopperArrow", Da = {
|
|
2818
2818
|
top: "bottom",
|
|
2819
2819
|
right: "left",
|
|
2820
2820
|
bottom: "top",
|
|
2821
2821
|
left: "right"
|
|
2822
|
-
},
|
|
2823
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2822
|
+
}, Oa = F.forwardRef(function(e, t) {
|
|
2823
|
+
let { __scopePopper: n, ...r } = e, i = wa(Ea, n), a = Da[i.placedSide];
|
|
2824
2824
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2825
2825
|
ref: i.onArrowChange,
|
|
2826
2826
|
style: {
|
|
@@ -2842,7 +2842,7 @@ var Ta = "PopperArrow", Ea = {
|
|
|
2842
2842
|
}[i.placedSide],
|
|
2843
2843
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2844
2844
|
},
|
|
2845
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2845
|
+
children: /* @__PURE__ */ (0, I.jsx)(fa, {
|
|
2846
2846
|
...r,
|
|
2847
2847
|
ref: t,
|
|
2848
2848
|
style: {
|
|
@@ -2852,15 +2852,15 @@ var Ta = "PopperArrow", Ea = {
|
|
|
2852
2852
|
})
|
|
2853
2853
|
});
|
|
2854
2854
|
});
|
|
2855
|
-
|
|
2856
|
-
function
|
|
2855
|
+
Oa.displayName = Ea;
|
|
2856
|
+
function ka(e) {
|
|
2857
2857
|
return e !== null;
|
|
2858
2858
|
}
|
|
2859
|
-
var
|
|
2859
|
+
var Aa = (e) => ({
|
|
2860
2860
|
name: "transformOrigin",
|
|
2861
2861
|
options: e,
|
|
2862
2862
|
fn(t) {
|
|
2863
|
-
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] =
|
|
2863
|
+
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] = ja(n), u = {
|
|
2864
2864
|
start: "0%",
|
|
2865
2865
|
center: "50%",
|
|
2866
2866
|
end: "100%"
|
|
@@ -2871,32 +2871,32 @@ var ka = (e) => ({
|
|
|
2871
2871
|
} };
|
|
2872
2872
|
}
|
|
2873
2873
|
});
|
|
2874
|
-
function
|
|
2874
|
+
function ja(e) {
|
|
2875
2875
|
let [t, n = "center"] = e.split("-");
|
|
2876
2876
|
return [t, n];
|
|
2877
2877
|
}
|
|
2878
|
-
var
|
|
2878
|
+
var Ma = ya, Na = xa, Pa = Ta, Fa = Oa, Ia = "Portal", La = F.forwardRef((e, t) => {
|
|
2879
2879
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2880
|
-
|
|
2880
|
+
ir(() => a(!0), []);
|
|
2881
2881
|
let o = n || i && globalThis?.document?.body;
|
|
2882
|
-
return o ?
|
|
2882
|
+
return o ? ft.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2883
2883
|
...r,
|
|
2884
2884
|
ref: t
|
|
2885
2885
|
}), o) : null;
|
|
2886
2886
|
});
|
|
2887
|
-
|
|
2887
|
+
La.displayName = Ia;
|
|
2888
2888
|
//#endregion
|
|
2889
2889
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2890
|
-
function
|
|
2890
|
+
function Ra(e, t) {
|
|
2891
2891
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2892
2892
|
}
|
|
2893
|
-
var
|
|
2894
|
-
let { present: t, children: n } = e, r =
|
|
2893
|
+
var za = (e) => {
|
|
2894
|
+
let { present: t, children: n } = e, r = Ba(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Ha(i));
|
|
2895
2895
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2896
2896
|
};
|
|
2897
|
-
|
|
2898
|
-
function
|
|
2899
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2897
|
+
za.displayName = "Presence";
|
|
2898
|
+
function Ba(e) {
|
|
2899
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Ra(e ? "mounted" : "unmounted", {
|
|
2900
2900
|
mounted: {
|
|
2901
2901
|
UNMOUNT: "unmounted",
|
|
2902
2902
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2908,18 +2908,18 @@ function za(e) {
|
|
|
2908
2908
|
unmounted: { MOUNT: "mounted" }
|
|
2909
2909
|
});
|
|
2910
2910
|
return F.useEffect(() => {
|
|
2911
|
-
let e =
|
|
2911
|
+
let e = Va(r.current);
|
|
2912
2912
|
a.current = o === "mounted" ? e : "none";
|
|
2913
|
-
}, [o]),
|
|
2913
|
+
}, [o]), ir(() => {
|
|
2914
2914
|
let t = r.current, n = i.current;
|
|
2915
2915
|
if (n !== e) {
|
|
2916
|
-
let r = a.current, o =
|
|
2916
|
+
let r = a.current, o = Va(t);
|
|
2917
2917
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2918
2918
|
}
|
|
2919
|
-
}, [e, s]),
|
|
2919
|
+
}, [e, s]), ir(() => {
|
|
2920
2920
|
if (t) {
|
|
2921
2921
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2922
|
-
let o =
|
|
2922
|
+
let o = Va(r.current).includes(CSS.escape(a.animationName));
|
|
2923
2923
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2924
2924
|
let r = t.style.animationFillMode;
|
|
2925
2925
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2927,7 +2927,7 @@ function za(e) {
|
|
|
2927
2927
|
});
|
|
2928
2928
|
}
|
|
2929
2929
|
}, c = (e) => {
|
|
2930
|
-
e.target === t && (a.current =
|
|
2930
|
+
e.target === t && (a.current = Va(r.current));
|
|
2931
2931
|
};
|
|
2932
2932
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2933
2933
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2940,18 +2940,18 @@ function za(e) {
|
|
|
2940
2940
|
}, [])
|
|
2941
2941
|
};
|
|
2942
2942
|
}
|
|
2943
|
-
function
|
|
2943
|
+
function Va(e) {
|
|
2944
2944
|
return e?.animationName || "none";
|
|
2945
2945
|
}
|
|
2946
|
-
function
|
|
2946
|
+
function Ha(e) {
|
|
2947
2947
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2948
2948
|
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);
|
|
2949
2949
|
}
|
|
2950
2950
|
//#endregion
|
|
2951
2951
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2952
|
-
var
|
|
2953
|
-
function
|
|
2954
|
-
let [i, a, o] =
|
|
2952
|
+
var Ua = F.useInsertionEffect || ir;
|
|
2953
|
+
function Wa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2954
|
+
let [i, a, o] = Ga({
|
|
2955
2955
|
defaultProp: t,
|
|
2956
2956
|
onChange: n
|
|
2957
2957
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2964,7 +2964,7 @@ function Ua({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
return [c, F.useCallback((t) => {
|
|
2966
2966
|
if (s) {
|
|
2967
|
-
let n =
|
|
2967
|
+
let n = Ka(t) ? t(e) : t;
|
|
2968
2968
|
n !== e && o.current?.(n);
|
|
2969
2969
|
} else a(t);
|
|
2970
2970
|
}, [
|
|
@@ -2974,9 +2974,9 @@ function Ua({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2974
2974
|
o
|
|
2975
2975
|
])];
|
|
2976
2976
|
}
|
|
2977
|
-
function
|
|
2977
|
+
function Ga({ defaultProp: e, onChange: t }) {
|
|
2978
2978
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2979
|
-
return
|
|
2979
|
+
return Ua(() => {
|
|
2980
2980
|
a.current = t;
|
|
2981
2981
|
}, [t]), F.useEffect(() => {
|
|
2982
2982
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2986,27 +2986,27 @@ function Wa({ defaultProp: e, onChange: t }) {
|
|
|
2986
2986
|
a
|
|
2987
2987
|
];
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function Ka(e) {
|
|
2990
2990
|
return typeof e == "function";
|
|
2991
2991
|
}
|
|
2992
2992
|
//#endregion
|
|
2993
2993
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2994
|
-
var
|
|
2994
|
+
var qa = function(e) {
|
|
2995
2995
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2996
|
-
},
|
|
2997
|
-
return e && (e.host ||
|
|
2998
|
-
},
|
|
2996
|
+
}, Ja = /* @__PURE__ */ new WeakMap(), Ya = /* @__PURE__ */ new WeakMap(), Xa = {}, Za = 0, Qa = function(e) {
|
|
2997
|
+
return e && (e.host || Qa(e.parentNode));
|
|
2998
|
+
}, $a = function(e, t) {
|
|
2999
2999
|
return t.map(function(t) {
|
|
3000
3000
|
if (e.contains(t)) return t;
|
|
3001
|
-
var n =
|
|
3001
|
+
var n = Qa(t);
|
|
3002
3002
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3003
3003
|
}).filter(function(e) {
|
|
3004
3004
|
return !!e;
|
|
3005
3005
|
});
|
|
3006
|
-
},
|
|
3007
|
-
var i =
|
|
3008
|
-
|
|
3009
|
-
var a =
|
|
3006
|
+
}, eo = function(e, t, n, r) {
|
|
3007
|
+
var i = $a(t, Array.isArray(e) ? e : [e]);
|
|
3008
|
+
Xa[n] || (Xa[n] = /* @__PURE__ */ new WeakMap());
|
|
3009
|
+
var a = Xa[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3010
3010
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3011
3011
|
};
|
|
3012
3012
|
i.forEach(l);
|
|
@@ -3014,23 +3014,23 @@ var Ka = function(e) {
|
|
|
3014
3014
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3015
3015
|
if (s.has(e)) u(e);
|
|
3016
3016
|
else try {
|
|
3017
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3018
|
-
|
|
3017
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Ja.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3018
|
+
Ja.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Ya.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3019
3019
|
} catch (t) {
|
|
3020
3020
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3021
3021
|
}
|
|
3022
3022
|
});
|
|
3023
3023
|
};
|
|
3024
|
-
return u(t), s.clear(),
|
|
3024
|
+
return u(t), s.clear(), Za++, function() {
|
|
3025
3025
|
o.forEach(function(e) {
|
|
3026
|
-
var t =
|
|
3027
|
-
|
|
3028
|
-
}),
|
|
3026
|
+
var t = Ja.get(e) - 1, i = a.get(e) - 1;
|
|
3027
|
+
Ja.set(e, t), a.set(e, i), t || (Ya.has(e) || e.removeAttribute(r), Ya.delete(e)), i || e.removeAttribute(n);
|
|
3028
|
+
}), Za--, Za || (Ja = /* @__PURE__ */ new WeakMap(), Ja = /* @__PURE__ */ new WeakMap(), Ya = /* @__PURE__ */ new WeakMap(), Xa = {});
|
|
3029
3029
|
};
|
|
3030
|
-
},
|
|
3030
|
+
}, to = function(e, t, n) {
|
|
3031
3031
|
n === void 0 && (n = "data-aria-hidden");
|
|
3032
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3033
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3032
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || qa(e);
|
|
3033
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), eo(r, i, n, "aria-hidden")) : function() {
|
|
3034
3034
|
return null;
|
|
3035
3035
|
};
|
|
3036
3036
|
}, $ = function() {
|
|
@@ -3039,13 +3039,13 @@ var Ka = function(e) {
|
|
|
3039
3039
|
return e;
|
|
3040
3040
|
}, $.apply(this, arguments);
|
|
3041
3041
|
};
|
|
3042
|
-
function
|
|
3042
|
+
function no(e, t) {
|
|
3043
3043
|
var n = {};
|
|
3044
3044
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3045
3045
|
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]]);
|
|
3046
3046
|
return n;
|
|
3047
3047
|
}
|
|
3048
|
-
function
|
|
3048
|
+
function ro(e, t, n, r) {
|
|
3049
3049
|
function i(e) {
|
|
3050
3050
|
return e instanceof n ? e : new n(function(t) {
|
|
3051
3051
|
t(e);
|
|
@@ -3072,7 +3072,7 @@ function no(e, t, n, r) {
|
|
|
3072
3072
|
c((r = r.apply(e, t || [])).next());
|
|
3073
3073
|
});
|
|
3074
3074
|
}
|
|
3075
|
-
function
|
|
3075
|
+
function io(e, t) {
|
|
3076
3076
|
var n = {
|
|
3077
3077
|
label: 0,
|
|
3078
3078
|
sent: function() {
|
|
@@ -3142,7 +3142,7 @@ function ro(e, t) {
|
|
|
3142
3142
|
};
|
|
3143
3143
|
}
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3145
|
+
function ao(e, t) {
|
|
3146
3146
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3147
3147
|
if (!n) return e;
|
|
3148
3148
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3159,25 +3159,25 @@ function io(e, t) {
|
|
|
3159
3159
|
}
|
|
3160
3160
|
return a;
|
|
3161
3161
|
}
|
|
3162
|
-
function
|
|
3163
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3162
|
+
function oo() {
|
|
3163
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(ao(arguments[t]));
|
|
3164
3164
|
return e;
|
|
3165
3165
|
}
|
|
3166
|
-
function
|
|
3166
|
+
function so(e, t, n) {
|
|
3167
3167
|
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]);
|
|
3168
3168
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3169
3169
|
}
|
|
3170
3170
|
//#endregion
|
|
3171
3171
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3172
|
-
var
|
|
3172
|
+
var co = "right-scroll-bar-position", lo = "width-before-scroll-bar", uo = "with-scroll-bars-hidden", fo = "--removed-body-scroll-bar-size";
|
|
3173
3173
|
//#endregion
|
|
3174
3174
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3175
|
-
function
|
|
3175
|
+
function po(e, t) {
|
|
3176
3176
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3177
3177
|
}
|
|
3178
3178
|
//#endregion
|
|
3179
3179
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3180
|
-
function
|
|
3180
|
+
function mo(e, t) {
|
|
3181
3181
|
var n = (0, F.useState)(function() {
|
|
3182
3182
|
return {
|
|
3183
3183
|
value: e,
|
|
@@ -3197,33 +3197,33 @@ function po(e, t) {
|
|
|
3197
3197
|
}
|
|
3198
3198
|
//#endregion
|
|
3199
3199
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3200
|
-
var
|
|
3201
|
-
function
|
|
3202
|
-
var n =
|
|
3200
|
+
var ho = typeof window < "u" ? F.useLayoutEffect : F.useEffect, go = /* @__PURE__ */ new WeakMap();
|
|
3201
|
+
function _o(e, t) {
|
|
3202
|
+
var n = mo(t || null, function(t) {
|
|
3203
3203
|
return e.forEach(function(e) {
|
|
3204
|
-
return
|
|
3204
|
+
return po(e, t);
|
|
3205
3205
|
});
|
|
3206
3206
|
});
|
|
3207
|
-
return
|
|
3208
|
-
var t =
|
|
3207
|
+
return ho(function() {
|
|
3208
|
+
var t = go.get(n);
|
|
3209
3209
|
if (t) {
|
|
3210
3210
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3211
3211
|
r.forEach(function(e) {
|
|
3212
|
-
i.has(e) ||
|
|
3212
|
+
i.has(e) || po(e, null);
|
|
3213
3213
|
}), i.forEach(function(e) {
|
|
3214
|
-
r.has(e) ||
|
|
3214
|
+
r.has(e) || po(e, a);
|
|
3215
3215
|
});
|
|
3216
3216
|
}
|
|
3217
|
-
|
|
3217
|
+
go.set(n, e);
|
|
3218
3218
|
}, [e]), n;
|
|
3219
3219
|
}
|
|
3220
3220
|
//#endregion
|
|
3221
3221
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3222
|
-
function
|
|
3222
|
+
function vo(e) {
|
|
3223
3223
|
return e;
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3226
|
-
t === void 0 && (t =
|
|
3225
|
+
function yo(e, t) {
|
|
3226
|
+
t === void 0 && (t = vo);
|
|
3227
3227
|
var n = [], r = !1;
|
|
3228
3228
|
return {
|
|
3229
3229
|
read: function() {
|
|
@@ -3276,9 +3276,9 @@ function vo(e, t) {
|
|
|
3276
3276
|
}
|
|
3277
3277
|
};
|
|
3278
3278
|
}
|
|
3279
|
-
function
|
|
3279
|
+
function bo(e) {
|
|
3280
3280
|
e === void 0 && (e = {});
|
|
3281
|
-
var t =
|
|
3281
|
+
var t = yo(null);
|
|
3282
3282
|
return t.options = $({
|
|
3283
3283
|
async: !0,
|
|
3284
3284
|
ssr: !1
|
|
@@ -3286,25 +3286,25 @@ function yo(e) {
|
|
|
3286
3286
|
}
|
|
3287
3287
|
//#endregion
|
|
3288
3288
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3289
|
-
var
|
|
3290
|
-
var t = e.sideCar, n =
|
|
3289
|
+
var xo = function(e) {
|
|
3290
|
+
var t = e.sideCar, n = no(e, ["sideCar"]);
|
|
3291
3291
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3292
3292
|
var r = t.read();
|
|
3293
3293
|
if (!r) throw Error("Sidecar medium not found");
|
|
3294
3294
|
return F.createElement(r, $({}, n));
|
|
3295
3295
|
};
|
|
3296
|
-
|
|
3297
|
-
function
|
|
3298
|
-
return e.useMedium(t),
|
|
3296
|
+
xo.isSideCarExport = !0;
|
|
3297
|
+
function So(e, t) {
|
|
3298
|
+
return e.useMedium(t), xo;
|
|
3299
3299
|
}
|
|
3300
3300
|
//#endregion
|
|
3301
3301
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3302
|
-
var
|
|
3302
|
+
var Co = bo(), wo = function() {}, To = F.forwardRef(function(e, t) {
|
|
3303
3303
|
var n = F.useRef(null), r = F.useState({
|
|
3304
|
-
onScrollCapture:
|
|
3305
|
-
onWheelCapture:
|
|
3306
|
-
onTouchMoveCapture:
|
|
3307
|
-
}), 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 =
|
|
3304
|
+
onScrollCapture: wo,
|
|
3305
|
+
onWheelCapture: wo,
|
|
3306
|
+
onTouchMoveCapture: wo
|
|
3307
|
+
}), 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 = no(e, [
|
|
3308
3308
|
"forwardProps",
|
|
3309
3309
|
"children",
|
|
3310
3310
|
"className",
|
|
@@ -3318,9 +3318,9 @@ var So = yo(), Co = function() {}, wo = F.forwardRef(function(e, t) {
|
|
|
3318
3318
|
"allowPinchZoom",
|
|
3319
3319
|
"as",
|
|
3320
3320
|
"gapMode"
|
|
3321
|
-
]), x = f, S =
|
|
3321
|
+
]), x = f, S = _o([n, t]), C = $($({}, b), i);
|
|
3322
3322
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3323
|
-
sideCar:
|
|
3323
|
+
sideCar: Co,
|
|
3324
3324
|
removeScrollBar: l,
|
|
3325
3325
|
shards: d,
|
|
3326
3326
|
noRelative: p,
|
|
@@ -3335,47 +3335,47 @@ var So = yo(), Co = function() {}, wo = F.forwardRef(function(e, t) {
|
|
|
3335
3335
|
ref: S
|
|
3336
3336
|
}), s));
|
|
3337
3337
|
});
|
|
3338
|
-
|
|
3338
|
+
To.defaultProps = {
|
|
3339
3339
|
enabled: !0,
|
|
3340
3340
|
removeScrollBar: !0,
|
|
3341
3341
|
inert: !1
|
|
3342
|
-
},
|
|
3343
|
-
fullWidth:
|
|
3344
|
-
zeroRight:
|
|
3342
|
+
}, To.classNames = {
|
|
3343
|
+
fullWidth: lo,
|
|
3344
|
+
zeroRight: co
|
|
3345
3345
|
};
|
|
3346
3346
|
//#endregion
|
|
3347
3347
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3348
|
-
var
|
|
3349
|
-
if (
|
|
3348
|
+
var Eo, Do = function() {
|
|
3349
|
+
if (Eo) return Eo;
|
|
3350
3350
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3351
3351
|
};
|
|
3352
3352
|
//#endregion
|
|
3353
3353
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3354
|
-
function
|
|
3354
|
+
function Oo() {
|
|
3355
3355
|
if (!document) return null;
|
|
3356
3356
|
var e = document.createElement("style");
|
|
3357
3357
|
e.type = "text/css";
|
|
3358
|
-
var t =
|
|
3358
|
+
var t = Do();
|
|
3359
3359
|
return t && e.setAttribute("nonce", t), e;
|
|
3360
3360
|
}
|
|
3361
|
-
function
|
|
3361
|
+
function ko(e, t) {
|
|
3362
3362
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3363
3363
|
}
|
|
3364
|
-
function
|
|
3364
|
+
function Ao(e) {
|
|
3365
3365
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3366
3366
|
}
|
|
3367
|
-
var
|
|
3367
|
+
var jo = function() {
|
|
3368
3368
|
var e = 0, t = null;
|
|
3369
3369
|
return {
|
|
3370
3370
|
add: function(n) {
|
|
3371
|
-
e == 0 && (t =
|
|
3371
|
+
e == 0 && (t = Oo()) && (ko(t, n), Ao(t)), e++;
|
|
3372
3372
|
},
|
|
3373
3373
|
remove: function() {
|
|
3374
3374
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3375
3375
|
}
|
|
3376
3376
|
};
|
|
3377
|
-
},
|
|
3378
|
-
var e =
|
|
3377
|
+
}, Mo = function() {
|
|
3378
|
+
var e = jo();
|
|
3379
3379
|
return function(t, n) {
|
|
3380
3380
|
F.useEffect(function() {
|
|
3381
3381
|
return e.add(t), function() {
|
|
@@ -3383,43 +3383,43 @@ var Ao = function() {
|
|
|
3383
3383
|
};
|
|
3384
3384
|
}, [t && n]);
|
|
3385
3385
|
};
|
|
3386
|
-
},
|
|
3387
|
-
var e =
|
|
3386
|
+
}, No = function() {
|
|
3387
|
+
var e = Mo();
|
|
3388
3388
|
return function(t) {
|
|
3389
3389
|
var n = t.styles, r = t.dynamic;
|
|
3390
3390
|
return e(n, r), null;
|
|
3391
3391
|
};
|
|
3392
|
-
},
|
|
3392
|
+
}, Po = {
|
|
3393
3393
|
left: 0,
|
|
3394
3394
|
top: 0,
|
|
3395
3395
|
right: 0,
|
|
3396
3396
|
gap: 0
|
|
3397
|
-
}, Po = function(e) {
|
|
3398
|
-
return parseInt(e || "", 10) || 0;
|
|
3399
3397
|
}, Fo = function(e) {
|
|
3398
|
+
return parseInt(e || "", 10) || 0;
|
|
3399
|
+
}, Io = function(e) {
|
|
3400
3400
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3401
3401
|
return [
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3402
|
+
Fo(n),
|
|
3403
|
+
Fo(r),
|
|
3404
|
+
Fo(i)
|
|
3405
3405
|
];
|
|
3406
|
-
},
|
|
3407
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3408
|
-
var t =
|
|
3406
|
+
}, Lo = function(e) {
|
|
3407
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Po;
|
|
3408
|
+
var t = Io(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3409
3409
|
return {
|
|
3410
3410
|
left: t[0],
|
|
3411
3411
|
top: t[1],
|
|
3412
3412
|
right: t[2],
|
|
3413
3413
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3414
3414
|
};
|
|
3415
|
-
},
|
|
3415
|
+
}, Ro = No(), zo = "data-scroll-locked", Bo = function(e, t, n, r) {
|
|
3416
3416
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3417
3417
|
return n === void 0 && (n = "margin"), `
|
|
3418
|
-
.${
|
|
3418
|
+
.${uo} {
|
|
3419
3419
|
overflow: hidden ${r};
|
|
3420
3420
|
padding-right: ${s}px ${r};
|
|
3421
3421
|
}
|
|
3422
|
-
body[${
|
|
3422
|
+
body[${zo}] {
|
|
3423
3423
|
overflow: hidden ${r};
|
|
3424
3424
|
overscroll-behavior: contain;
|
|
3425
3425
|
${[
|
|
@@ -3436,122 +3436,122 @@ var Ao = function() {
|
|
|
3436
3436
|
].filter(Boolean).join("")}
|
|
3437
3437
|
}
|
|
3438
3438
|
|
|
3439
|
-
.${
|
|
3439
|
+
.${co} {
|
|
3440
3440
|
right: ${s}px ${r};
|
|
3441
3441
|
}
|
|
3442
3442
|
|
|
3443
|
-
.${
|
|
3443
|
+
.${lo} {
|
|
3444
3444
|
margin-right: ${s}px ${r};
|
|
3445
3445
|
}
|
|
3446
3446
|
|
|
3447
|
-
.${
|
|
3447
|
+
.${co} .${co} {
|
|
3448
3448
|
right: 0 ${r};
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
|
-
.${
|
|
3451
|
+
.${lo} .${lo} {
|
|
3452
3452
|
margin-right: 0 ${r};
|
|
3453
3453
|
}
|
|
3454
3454
|
|
|
3455
|
-
body[${
|
|
3456
|
-
${
|
|
3455
|
+
body[${zo}] {
|
|
3456
|
+
${fo}: ${s}px;
|
|
3457
3457
|
}
|
|
3458
3458
|
`;
|
|
3459
|
-
},
|
|
3459
|
+
}, Vo = function() {
|
|
3460
3460
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3461
3461
|
return isFinite(e) ? e : 0;
|
|
3462
|
-
},
|
|
3462
|
+
}, Ho = function() {
|
|
3463
3463
|
F.useEffect(function() {
|
|
3464
|
-
return document.body.setAttribute(
|
|
3465
|
-
var e =
|
|
3466
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3464
|
+
return document.body.setAttribute(zo, (Vo() + 1).toString()), function() {
|
|
3465
|
+
var e = Vo() - 1;
|
|
3466
|
+
e <= 0 ? document.body.removeAttribute(zo) : document.body.setAttribute(zo, e.toString());
|
|
3467
3467
|
};
|
|
3468
3468
|
}, []);
|
|
3469
|
-
},
|
|
3469
|
+
}, Uo = function(e) {
|
|
3470
3470
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3471
|
-
|
|
3471
|
+
Ho();
|
|
3472
3472
|
var a = F.useMemo(function() {
|
|
3473
|
-
return
|
|
3473
|
+
return Lo(i);
|
|
3474
3474
|
}, [i]);
|
|
3475
|
-
return F.createElement(
|
|
3476
|
-
},
|
|
3475
|
+
return F.createElement(Ro, { styles: Bo(a, !t, i, n ? "" : "!important") });
|
|
3476
|
+
}, Wo = !1;
|
|
3477
3477
|
if (typeof window < "u") try {
|
|
3478
|
-
var
|
|
3479
|
-
return
|
|
3478
|
+
var Go = Object.defineProperty({}, "passive", { get: function() {
|
|
3479
|
+
return Wo = !0, !0;
|
|
3480
3480
|
} });
|
|
3481
|
-
window.addEventListener("test",
|
|
3481
|
+
window.addEventListener("test", Go, Go), window.removeEventListener("test", Go, Go);
|
|
3482
3482
|
} catch {
|
|
3483
|
-
|
|
3483
|
+
Wo = !1;
|
|
3484
3484
|
}
|
|
3485
|
-
var
|
|
3485
|
+
var Ko = Wo ? { passive: !1 } : !1, qo = function(e) {
|
|
3486
3486
|
return e.tagName === "TEXTAREA";
|
|
3487
|
-
},
|
|
3487
|
+
}, Jo = function(e, t) {
|
|
3488
3488
|
if (!(e instanceof Element)) return !1;
|
|
3489
3489
|
var n = window.getComputedStyle(e);
|
|
3490
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3491
|
-
}, Jo = function(e) {
|
|
3492
|
-
return qo(e, "overflowY");
|
|
3490
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !qo(e) && n[t] === "visible");
|
|
3493
3491
|
}, Yo = function(e) {
|
|
3494
|
-
return
|
|
3495
|
-
}, Xo = function(e
|
|
3492
|
+
return Jo(e, "overflowY");
|
|
3493
|
+
}, Xo = function(e) {
|
|
3494
|
+
return Jo(e, "overflowX");
|
|
3495
|
+
}, Zo = function(e, t) {
|
|
3496
3496
|
var n = t.ownerDocument, r = t;
|
|
3497
3497
|
do {
|
|
3498
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3499
|
-
var i =
|
|
3498
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), es(e, r)) {
|
|
3499
|
+
var i = ts(e, r);
|
|
3500
3500
|
if (i[1] > i[2]) return !0;
|
|
3501
3501
|
}
|
|
3502
3502
|
r = r.parentNode;
|
|
3503
3503
|
} while (r && r !== n.body);
|
|
3504
3504
|
return !1;
|
|
3505
|
-
},
|
|
3505
|
+
}, Qo = function(e) {
|
|
3506
3506
|
return [
|
|
3507
3507
|
e.scrollTop,
|
|
3508
3508
|
e.scrollHeight,
|
|
3509
3509
|
e.clientHeight
|
|
3510
3510
|
];
|
|
3511
|
-
},
|
|
3511
|
+
}, $o = function(e) {
|
|
3512
3512
|
return [
|
|
3513
3513
|
e.scrollLeft,
|
|
3514
3514
|
e.scrollWidth,
|
|
3515
3515
|
e.clientWidth
|
|
3516
3516
|
];
|
|
3517
|
-
}, $o = function(e, t) {
|
|
3518
|
-
return e === "v" ? Jo(t) : Yo(t);
|
|
3519
3517
|
}, es = function(e, t) {
|
|
3520
|
-
return e === "v" ?
|
|
3518
|
+
return e === "v" ? Yo(t) : Xo(t);
|
|
3521
3519
|
}, ts = function(e, t) {
|
|
3520
|
+
return e === "v" ? Qo(t) : $o(t);
|
|
3521
|
+
}, ns = function(e, t) {
|
|
3522
3522
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3523
|
-
},
|
|
3524
|
-
var a =
|
|
3523
|
+
}, rs = function(e, t, n, r, i) {
|
|
3524
|
+
var a = ns(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3525
3525
|
do {
|
|
3526
3526
|
if (!s) break;
|
|
3527
|
-
var p =
|
|
3528
|
-
(m || h) &&
|
|
3527
|
+
var p = ts(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3528
|
+
(m || h) && es(e, s) && (d += h, f += m);
|
|
3529
3529
|
var g = s.parentNode;
|
|
3530
3530
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3531
3531
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3532
3532
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3533
|
-
}, rs = function(e) {
|
|
3534
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3535
3533
|
}, is = function(e) {
|
|
3536
|
-
return [e.
|
|
3534
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3537
3535
|
}, as = function(e) {
|
|
3536
|
+
return [e.deltaX, e.deltaY];
|
|
3537
|
+
}, os = function(e) {
|
|
3538
3538
|
return e && "current" in e ? e.current : e;
|
|
3539
|
-
},
|
|
3539
|
+
}, ss = function(e, t) {
|
|
3540
3540
|
return e[0] === t[0] && e[1] === t[1];
|
|
3541
|
-
},
|
|
3541
|
+
}, cs = function(e) {
|
|
3542
3542
|
return `
|
|
3543
3543
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3544
3544
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3545
3545
|
`;
|
|
3546
|
-
},
|
|
3547
|
-
function
|
|
3548
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3546
|
+
}, ls = 0, us = [];
|
|
3547
|
+
function ds(e) {
|
|
3548
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(ls++)[0], a = F.useState(No)[0], o = F.useRef(e);
|
|
3549
3549
|
F.useEffect(function() {
|
|
3550
3550
|
o.current = e;
|
|
3551
3551
|
}, [e]), F.useEffect(function() {
|
|
3552
3552
|
if (e.inert) {
|
|
3553
3553
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3554
|
-
var t =
|
|
3554
|
+
var t = so([e.lockRef.current], (e.shards || []).map(os), !0).filter(Boolean);
|
|
3555
3555
|
return t.forEach(function(e) {
|
|
3556
3556
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3557
3557
|
}), function() {
|
|
@@ -3567,28 +3567,28 @@ function us(e) {
|
|
|
3567
3567
|
]);
|
|
3568
3568
|
var s = F.useCallback(function(e, t) {
|
|
3569
3569
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3570
|
-
var i =
|
|
3570
|
+
var i = is(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";
|
|
3571
3571
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3572
3572
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3573
3573
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3574
|
-
var m =
|
|
3574
|
+
var m = Zo(d, u);
|
|
3575
3575
|
if (!m) return !0;
|
|
3576
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3576
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Zo(d, u)), !m) return !1;
|
|
3577
3577
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3578
3578
|
var h = r.current || l;
|
|
3579
|
-
return
|
|
3579
|
+
return rs(h, t, e, h === "h" ? s : c, !0);
|
|
3580
3580
|
}, []), c = F.useCallback(function(e) {
|
|
3581
3581
|
var n = e;
|
|
3582
|
-
if (!(!
|
|
3583
|
-
var r = "deltaY" in n ?
|
|
3584
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3582
|
+
if (!(!us.length || us[us.length - 1] !== a)) {
|
|
3583
|
+
var r = "deltaY" in n ? as(n) : is(n), i = t.current.filter(function(e) {
|
|
3584
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ss(e.delta, r);
|
|
3585
3585
|
})[0];
|
|
3586
3586
|
if (i && i.should) {
|
|
3587
3587
|
n.cancelable && n.preventDefault();
|
|
3588
3588
|
return;
|
|
3589
3589
|
}
|
|
3590
3590
|
if (!i) {
|
|
3591
|
-
var c = (o.current.shards || []).map(
|
|
3591
|
+
var c = (o.current.shards || []).map(os).filter(Boolean).filter(function(e) {
|
|
3592
3592
|
return e.contains(n.target);
|
|
3593
3593
|
});
|
|
3594
3594
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3600,7 +3600,7 @@ function us(e) {
|
|
|
3600
3600
|
delta: n,
|
|
3601
3601
|
target: r,
|
|
3602
3602
|
should: i,
|
|
3603
|
-
shadowParent:
|
|
3603
|
+
shadowParent: fs(r)
|
|
3604
3604
|
};
|
|
3605
3605
|
t.current.push(a), setTimeout(function() {
|
|
3606
3606
|
t.current = t.current.filter(function(e) {
|
|
@@ -3608,56 +3608,56 @@ function us(e) {
|
|
|
3608
3608
|
});
|
|
3609
3609
|
}, 1);
|
|
3610
3610
|
}, []), u = F.useCallback(function(e) {
|
|
3611
|
-
n.current =
|
|
3611
|
+
n.current = is(e), r.current = void 0;
|
|
3612
3612
|
}, []), d = F.useCallback(function(t) {
|
|
3613
|
-
l(t.type,
|
|
3613
|
+
l(t.type, as(t), t.target, s(t, e.lockRef.current));
|
|
3614
3614
|
}, []), f = F.useCallback(function(t) {
|
|
3615
|
-
l(t.type,
|
|
3615
|
+
l(t.type, is(t), t.target, s(t, e.lockRef.current));
|
|
3616
3616
|
}, []);
|
|
3617
3617
|
F.useEffect(function() {
|
|
3618
|
-
return
|
|
3618
|
+
return us.push(a), e.setCallbacks({
|
|
3619
3619
|
onScrollCapture: d,
|
|
3620
3620
|
onWheelCapture: d,
|
|
3621
3621
|
onTouchMoveCapture: f
|
|
3622
|
-
}), document.addEventListener("wheel", c,
|
|
3623
|
-
|
|
3622
|
+
}), document.addEventListener("wheel", c, Ko), document.addEventListener("touchmove", c, Ko), document.addEventListener("touchstart", u, Ko), function() {
|
|
3623
|
+
us = us.filter(function(e) {
|
|
3624
3624
|
return e !== a;
|
|
3625
|
-
}), document.removeEventListener("wheel", c,
|
|
3625
|
+
}), document.removeEventListener("wheel", c, Ko), document.removeEventListener("touchmove", c, Ko), document.removeEventListener("touchstart", u, Ko);
|
|
3626
3626
|
};
|
|
3627
3627
|
}, []);
|
|
3628
3628
|
var p = e.removeScrollBar, m = e.inert;
|
|
3629
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3629
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: cs(i) }) : null, p ? F.createElement(Uo, {
|
|
3630
3630
|
noRelative: e.noRelative,
|
|
3631
3631
|
gapMode: e.gapMode
|
|
3632
3632
|
}) : null);
|
|
3633
3633
|
}
|
|
3634
|
-
function
|
|
3634
|
+
function fs(e) {
|
|
3635
3635
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3636
3636
|
return t;
|
|
3637
3637
|
}
|
|
3638
3638
|
//#endregion
|
|
3639
3639
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3640
|
-
var
|
|
3641
|
-
return F.createElement(
|
|
3640
|
+
var ps = So(Co, ds), ms = F.forwardRef(function(e, t) {
|
|
3641
|
+
return F.createElement(To, $({}, e, {
|
|
3642
3642
|
ref: t,
|
|
3643
|
-
sideCar:
|
|
3643
|
+
sideCar: ps
|
|
3644
3644
|
}));
|
|
3645
3645
|
});
|
|
3646
|
-
|
|
3646
|
+
ms.classNames = To.classNames;
|
|
3647
3647
|
//#endregion
|
|
3648
3648
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3649
|
-
var
|
|
3650
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3649
|
+
var hs = "Popover", [gs, _s] = hn(hs, [ga]), vs = ga(), [ys, bs] = gs(hs), xs = (e) => {
|
|
3650
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = vs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Wa({
|
|
3651
3651
|
prop: r,
|
|
3652
3652
|
defaultProp: i ?? !1,
|
|
3653
3653
|
onChange: a,
|
|
3654
|
-
caller:
|
|
3654
|
+
caller: hs
|
|
3655
3655
|
});
|
|
3656
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3656
|
+
return /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3657
3657
|
...s,
|
|
3658
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3658
|
+
children: /* @__PURE__ */ (0, I.jsx)(ys, {
|
|
3659
3659
|
scope: t,
|
|
3660
|
-
contentId:
|
|
3660
|
+
contentId: sr(),
|
|
3661
3661
|
triggerRef: c,
|
|
3662
3662
|
open: d,
|
|
3663
3663
|
onOpenChange: f,
|
|
@@ -3670,42 +3670,42 @@ var ms = "Popover", [hs, gs] = mn(ms, [ha]), _s = ha(), [vs, ys] = hs(ms), bs =
|
|
|
3670
3670
|
})
|
|
3671
3671
|
});
|
|
3672
3672
|
};
|
|
3673
|
-
|
|
3674
|
-
var
|
|
3675
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3676
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3673
|
+
xs.displayName = hs;
|
|
3674
|
+
var Ss = "PopoverAnchor", Cs = F.forwardRef((e, t) => {
|
|
3675
|
+
let { __scopePopover: n, ...r } = e, i = bs(Ss, n), a = vs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3676
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Na, {
|
|
3677
3677
|
...a,
|
|
3678
3678
|
...r,
|
|
3679
3679
|
ref: t
|
|
3680
3680
|
});
|
|
3681
3681
|
});
|
|
3682
|
-
|
|
3683
|
-
var
|
|
3684
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3682
|
+
Cs.displayName = Ss;
|
|
3683
|
+
var ws = "PopoverTrigger", Ts = F.forwardRef((e, t) => {
|
|
3684
|
+
let { __scopePopover: n, ...r } = e, i = bs(ws, n), a = vs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3685
3685
|
type: "button",
|
|
3686
3686
|
"aria-haspopup": "dialog",
|
|
3687
3687
|
"aria-expanded": i.open,
|
|
3688
3688
|
"aria-controls": i.contentId,
|
|
3689
|
-
"data-state":
|
|
3689
|
+
"data-state": Bs(i.open),
|
|
3690
3690
|
...r,
|
|
3691
3691
|
ref: o,
|
|
3692
3692
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3693
3693
|
});
|
|
3694
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3694
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Na, {
|
|
3695
3695
|
asChild: !0,
|
|
3696
3696
|
...a,
|
|
3697
3697
|
children: s
|
|
3698
3698
|
});
|
|
3699
3699
|
});
|
|
3700
|
-
|
|
3701
|
-
var
|
|
3702
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3703
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3700
|
+
Ts.displayName = ws;
|
|
3701
|
+
var Es = "PopoverPortal", [Ds, Os] = gs(Es, { forceMount: void 0 }), ks = (e) => {
|
|
3702
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = bs(Es, t);
|
|
3703
|
+
return /* @__PURE__ */ (0, I.jsx)(Ds, {
|
|
3704
3704
|
scope: t,
|
|
3705
3705
|
forceMount: n,
|
|
3706
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3706
|
+
children: /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3707
3707
|
present: n || a.open,
|
|
3708
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3708
|
+
children: /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3709
3709
|
asChild: !0,
|
|
3710
3710
|
container: i,
|
|
3711
3711
|
children: r
|
|
@@ -3713,30 +3713,30 @@ var Ts = "PopoverPortal", [Es, Ds] = hs(Ts, { forceMount: void 0 }), Os = (e) =>
|
|
|
3713
3713
|
})
|
|
3714
3714
|
});
|
|
3715
3715
|
};
|
|
3716
|
-
|
|
3717
|
-
var
|
|
3718
|
-
let n =
|
|
3719
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3716
|
+
ks.displayName = Es;
|
|
3717
|
+
var As = "PopoverContent", js = F.forwardRef((e, t) => {
|
|
3718
|
+
let n = Os(As, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = bs(As, e.__scopePopover);
|
|
3719
|
+
return /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3720
3720
|
present: r || a.open,
|
|
3721
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3721
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Ns, {
|
|
3722
3722
|
...i,
|
|
3723
3723
|
ref: t
|
|
3724
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3724
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ps, {
|
|
3725
3725
|
...i,
|
|
3726
3726
|
ref: t
|
|
3727
3727
|
})
|
|
3728
3728
|
});
|
|
3729
3729
|
});
|
|
3730
|
-
|
|
3731
|
-
var
|
|
3732
|
-
let n =
|
|
3730
|
+
js.displayName = As;
|
|
3731
|
+
var Ms = /* @__PURE__ */ _n("PopoverContent.RemoveScroll"), Ns = F.forwardRef((e, t) => {
|
|
3732
|
+
let n = bs(As, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3733
3733
|
return F.useEffect(() => {
|
|
3734
3734
|
let e = r.current;
|
|
3735
|
-
if (e) return
|
|
3736
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3737
|
-
as:
|
|
3735
|
+
if (e) return to(e);
|
|
3736
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(ms, {
|
|
3737
|
+
as: Ms,
|
|
3738
3738
|
allowPinchZoom: !0,
|
|
3739
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3739
|
+
children: /* @__PURE__ */ (0, I.jsx)(Fs, {
|
|
3740
3740
|
...e,
|
|
3741
3741
|
ref: i,
|
|
3742
3742
|
trapFocus: n.open,
|
|
@@ -3751,9 +3751,9 @@ var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e
|
|
|
3751
3751
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3752
3752
|
})
|
|
3753
3753
|
});
|
|
3754
|
-
}),
|
|
3755
|
-
let n =
|
|
3756
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3754
|
+
}), Ps = F.forwardRef((e, t) => {
|
|
3755
|
+
let n = bs(As, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3756
|
+
return /* @__PURE__ */ (0, I.jsx)(Fs, {
|
|
3757
3757
|
...e,
|
|
3758
3758
|
ref: t,
|
|
3759
3759
|
trapFocus: !1,
|
|
@@ -3767,15 +3767,15 @@ var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e
|
|
|
3767
3767
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3768
3768
|
}
|
|
3769
3769
|
});
|
|
3770
|
-
}),
|
|
3771
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3772
|
-
return
|
|
3770
|
+
}), Fs = F.forwardRef((e, t) => {
|
|
3771
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = bs(As, n), p = vs(n);
|
|
3772
|
+
return Bn(), /* @__PURE__ */ (0, I.jsx)(Kn, {
|
|
3773
3773
|
asChild: !0,
|
|
3774
3774
|
loop: !0,
|
|
3775
3775
|
trapped: r,
|
|
3776
3776
|
onMountAutoFocus: i,
|
|
3777
3777
|
onUnmountAutoFocus: a,
|
|
3778
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3778
|
+
children: /* @__PURE__ */ (0, I.jsx)(Mn, {
|
|
3779
3779
|
asChild: !0,
|
|
3780
3780
|
disableOutsidePointerEvents: o,
|
|
3781
3781
|
onInteractOutside: u,
|
|
@@ -3783,8 +3783,8 @@ var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e
|
|
|
3783
3783
|
onPointerDownOutside: c,
|
|
3784
3784
|
onFocusOutside: l,
|
|
3785
3785
|
onDismiss: () => f.onOpenChange(!1),
|
|
3786
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3787
|
-
"data-state":
|
|
3786
|
+
children: /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
3787
|
+
"data-state": Bs(f.open),
|
|
3788
3788
|
role: "dialog",
|
|
3789
3789
|
id: f.contentId,
|
|
3790
3790
|
...p,
|
|
@@ -3801,8 +3801,8 @@ var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e
|
|
|
3801
3801
|
})
|
|
3802
3802
|
})
|
|
3803
3803
|
});
|
|
3804
|
-
}),
|
|
3805
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3804
|
+
}), Is = "PopoverClose", Ls = F.forwardRef((e, t) => {
|
|
3805
|
+
let { __scopePopover: n, ...r } = e, i = bs(Is, n);
|
|
3806
3806
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3807
3807
|
type: "button",
|
|
3808
3808
|
...r,
|
|
@@ -3810,36 +3810,36 @@ var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e
|
|
|
3810
3810
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3811
3811
|
});
|
|
3812
3812
|
});
|
|
3813
|
-
|
|
3814
|
-
var
|
|
3815
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3816
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3813
|
+
Ls.displayName = Is;
|
|
3814
|
+
var Rs = "PopoverArrow", zs = F.forwardRef((e, t) => {
|
|
3815
|
+
let { __scopePopover: n, ...r } = e, i = vs(n);
|
|
3816
|
+
return /* @__PURE__ */ (0, I.jsx)(Fa, {
|
|
3817
3817
|
...i,
|
|
3818
3818
|
...r,
|
|
3819
3819
|
ref: t
|
|
3820
3820
|
});
|
|
3821
3821
|
});
|
|
3822
|
-
|
|
3823
|
-
function
|
|
3822
|
+
zs.displayName = Rs;
|
|
3823
|
+
function Bs(e) {
|
|
3824
3824
|
return e ? "open" : "closed";
|
|
3825
3825
|
}
|
|
3826
|
-
var
|
|
3826
|
+
var Vs = xs, Hs = Ts, Us = js, Ws = zs, Gs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Vs, {
|
|
3827
3827
|
defaultOpen: n,
|
|
3828
3828
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3829
3829
|
className: "flex justify-center",
|
|
3830
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3830
|
+
children: /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3831
3831
|
asChild: !0,
|
|
3832
3832
|
children: t
|
|
3833
3833
|
})
|
|
3834
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3834
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Us, {
|
|
3835
3835
|
className: "sid-popover__container",
|
|
3836
3836
|
sideOffset: 10,
|
|
3837
3837
|
side: "bottom",
|
|
3838
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3838
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Ws, { className: "sid-popover__caret" })]
|
|
3839
3839
|
})]
|
|
3840
|
-
}),
|
|
3841
|
-
let n =
|
|
3842
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3840
|
+
}), Ks = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3841
|
+
let n = we();
|
|
3842
|
+
return /* @__PURE__ */ (0, I.jsx)(Gs, {
|
|
3843
3843
|
initialVisibility: t,
|
|
3844
3844
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3845
3845
|
type: "button",
|
|
@@ -3852,10 +3852,10 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3852
3852
|
context: n
|
|
3853
3853
|
}),
|
|
3854
3854
|
"\xA0",
|
|
3855
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3855
|
+
/* @__PURE__ */ (0, I.jsx)(Et, { verificationService: e })
|
|
3856
3856
|
] })
|
|
3857
3857
|
});
|
|
3858
|
-
},
|
|
3858
|
+
}, qs = ({ verificationService: e }) => {
|
|
3859
3859
|
let t = T(() => e.programTheme.remainingRewardCodes, null);
|
|
3860
3860
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3861
3861
|
className: "sid-rewards-remaining",
|
|
@@ -3870,11 +3870,11 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3870
3870
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3871
3871
|
]
|
|
3872
3872
|
}) : null;
|
|
3873
|
-
},
|
|
3874
|
-
let { verificationResponse: n } = e, r =
|
|
3873
|
+
}, Js = (e) => e !== void 0, Ys = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3874
|
+
let { verificationResponse: n } = e, r = Js(n) ? Ke(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3875
3875
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3876
3876
|
className: "sid-personal-info-header",
|
|
3877
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3877
|
+
children: /* @__PURE__ */ (0, I.jsxs)(fn, {
|
|
3878
3878
|
verificationService: e,
|
|
3879
3879
|
title: /* @__PURE__ */ (0, I.jsx)(P, {
|
|
3880
3880
|
id: i,
|
|
@@ -3888,7 +3888,7 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3888
3888
|
}),
|
|
3889
3889
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3890
3890
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3891
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3891
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ks, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(qs, { verificationService: e })] })
|
|
3892
3892
|
}),
|
|
3893
3893
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3894
3894
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3897,15 +3897,15 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3897
3897
|
]
|
|
3898
3898
|
})
|
|
3899
3899
|
});
|
|
3900
|
-
},
|
|
3901
|
-
let { isEmbedded: i } =
|
|
3900
|
+
}, Xs = () => ({ isEmbedded: !!x("verificationIframeUid") }), Zs = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3901
|
+
let { isEmbedded: i } = Xs();
|
|
3902
3902
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3903
3903
|
className: `sid-layout sid-layout--${e}`,
|
|
3904
3904
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3905
3905
|
className: "sid-layout__container",
|
|
3906
3906
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3907
3907
|
className: "sid-layout__content",
|
|
3908
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3908
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ys, {
|
|
3909
3909
|
verificationService: n,
|
|
3910
3910
|
classNameIdentifier: "landing"
|
|
3911
3911
|
})
|
|
@@ -3918,27 +3918,27 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3918
3918
|
})]
|
|
3919
3919
|
})
|
|
3920
3920
|
});
|
|
3921
|
-
},
|
|
3921
|
+
}, Qs = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3922
3922
|
className: "sid sid-form-wrapper",
|
|
3923
3923
|
children: e
|
|
3924
|
-
}),
|
|
3925
|
-
let o =
|
|
3924
|
+
}), $s = ({ locale: t, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3925
|
+
let o = Qe(), s = b(), c = Se() ?? r, l = Te(Oe, De), u = (0, F.useMemo)(() => l ? {
|
|
3926
3926
|
...i.verificationResponse,
|
|
3927
3927
|
...l
|
|
3928
3928
|
} : i.verificationResponse, [l, i.verificationResponse]), f = (0, F.useMemo)(() => ({
|
|
3929
3929
|
...i,
|
|
3930
3930
|
programTheme: c,
|
|
3931
3931
|
verificationResponse: u,
|
|
3932
|
-
formValidationOptions:
|
|
3932
|
+
formValidationOptions: Ct(c, u, i.viewModel)
|
|
3933
3933
|
}), [
|
|
3934
3934
|
i,
|
|
3935
3935
|
c,
|
|
3936
3936
|
u
|
|
3937
|
-
]), p = c.themeChoices?.landingPage?.layout || "center", { renderAs: h } = s, g =
|
|
3937
|
+
]), p = c.themeChoices?.landingPage?.layout || "center", { renderAs: h } = s, g = et();
|
|
3938
3938
|
F.useEffect(() => {
|
|
3939
3939
|
try {
|
|
3940
3940
|
if (g && f && f.viewModel) {
|
|
3941
|
-
let e = (0,
|
|
3941
|
+
let e = (0, vt.default)(g);
|
|
3942
3942
|
w(m.flags, e);
|
|
3943
3943
|
let t = v(f.viewModel.metadata || {}, (t) => {
|
|
3944
3944
|
t.flags = e;
|
|
@@ -3969,29 +3969,29 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
3969
3969
|
b()._launchDarklyFlagCb(g);
|
|
3970
3970
|
} catch {}
|
|
3971
3971
|
}, [g]);
|
|
3972
|
-
let _ =
|
|
3972
|
+
let _ = Te(Oe, me);
|
|
3973
3973
|
return /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
3974
3974
|
locale: "en",
|
|
3975
3975
|
messages: {
|
|
3976
3976
|
...n,
|
|
3977
|
-
...(0,
|
|
3978
|
-
...(0,
|
|
3977
|
+
...(0, dt.default)(y(t)),
|
|
3978
|
+
...(0, dt.default)(_?.[t] ?? {})
|
|
3979
3979
|
},
|
|
3980
|
-
textComponent:
|
|
3981
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3980
|
+
textComponent: un,
|
|
3981
|
+
children: /* @__PURE__ */ (0, I.jsx)(St, {
|
|
3982
3982
|
themeChoices: c.themeChoices,
|
|
3983
3983
|
customCssFromOptions: b().customCss,
|
|
3984
3984
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3985
|
-
className: `${
|
|
3986
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3985
|
+
className: `${yt.default.isRtlLang(d(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3986
|
+
children: /* @__PURE__ */ (0, I.jsx)(Qs, { children: /* @__PURE__ */ (0, I.jsx)(Zs, {
|
|
3987
3987
|
layout: p,
|
|
3988
3988
|
verificationService: f,
|
|
3989
3989
|
renderAsLandingPage: h === "landingPage",
|
|
3990
3990
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3991
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3992
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3991
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(ht, { step: f.loadingStep }),
|
|
3992
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
3993
3993
|
i18n: e,
|
|
3994
|
-
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3994
|
+
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(ht, { step: f.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!b().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(dn, { verificationService: f }), /* @__PURE__ */ (0, I.jsx)(ln, {
|
|
3995
3995
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3996
3996
|
verificationService: f
|
|
3997
3997
|
})] })
|
|
@@ -4001,35 +4001,35 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
4001
4001
|
})
|
|
4002
4002
|
})
|
|
4003
4003
|
}, t);
|
|
4004
|
-
},
|
|
4004
|
+
}, ec = () => {
|
|
4005
4005
|
let e = null;
|
|
4006
4006
|
document.addEventListener("keydown", (t) => {
|
|
4007
4007
|
if (t.key !== "Tab") return;
|
|
4008
4008
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4009
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4009
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Fe({
|
|
4010
4010
|
type: "focus",
|
|
4011
4011
|
focusOn: "firstElement"
|
|
4012
4012
|
}), t.preventDefault());
|
|
4013
4013
|
}), window.addEventListener("message", (t) => {
|
|
4014
4014
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4015
|
-
}),
|
|
4015
|
+
}), Fe({
|
|
4016
4016
|
type: "focus",
|
|
4017
4017
|
focusOn: "firstElement"
|
|
4018
4018
|
});
|
|
4019
|
-
},
|
|
4019
|
+
}, tc = () => {
|
|
4020
4020
|
window.addEventListener("message", (e) => {
|
|
4021
|
-
e.data.isInLightBox === "true" &&
|
|
4021
|
+
e.data.isInLightBox === "true" && ec();
|
|
4022
4022
|
});
|
|
4023
|
-
},
|
|
4023
|
+
}, nc = class extends F.Component {
|
|
4024
4024
|
verificationService;
|
|
4025
4025
|
constructor(e) {
|
|
4026
4026
|
super(e), D.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? D.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : D.info("No trackingId to associate with the verification request");
|
|
4027
4027
|
}
|
|
4028
4028
|
componentDidMount() {
|
|
4029
|
-
if (c(),
|
|
4029
|
+
if (c(), tc(), be((e) => {
|
|
4030
4030
|
switch (e.data.action) {
|
|
4031
4031
|
case "setViewModel":
|
|
4032
|
-
|
|
4032
|
+
We(e.data.viewModel, {
|
|
4033
4033
|
partial: !0,
|
|
4034
4034
|
metadataCheck: !0,
|
|
4035
4035
|
externalUserIdCheck: !0
|
|
@@ -4040,7 +4040,7 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
4040
4040
|
break;
|
|
4041
4041
|
default:
|
|
4042
4042
|
}
|
|
4043
|
-
}),
|
|
4043
|
+
}), Ne()) D.info("Mocking loading screen. Not fetching new verification request.");
|
|
4044
4044
|
else {
|
|
4045
4045
|
D.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4046
4046
|
let e = T(() => this.props.verificationService.verificationResponse.segment);
|
|
@@ -4052,16 +4052,16 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
4052
4052
|
this.props.messages && (n = this.props.messages);
|
|
4053
4053
|
let r = {
|
|
4054
4054
|
...n,
|
|
4055
|
-
...(0,
|
|
4055
|
+
...(0, dt.default)(y(t))
|
|
4056
4056
|
};
|
|
4057
4057
|
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return D.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
4058
4058
|
locale: "en",
|
|
4059
4059
|
messages: r,
|
|
4060
|
-
textComponent:
|
|
4061
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4060
|
+
textComponent: un,
|
|
4061
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {})
|
|
4062
4062
|
}, t);
|
|
4063
4063
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4064
|
-
return D.info("NewVerificationComponent: verificationResponse, viewModel", a, e), D.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(
|
|
4064
|
+
return D.info("NewVerificationComponent: verificationResponse, viewModel", a, e), D.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)($s, {
|
|
4065
4065
|
locale: t,
|
|
4066
4066
|
messages: n,
|
|
4067
4067
|
programTheme: i,
|
|
@@ -4069,63 +4069,63 @@ var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialV
|
|
|
4069
4069
|
programId: this.props.programId
|
|
4070
4070
|
});
|
|
4071
4071
|
}
|
|
4072
|
-
},
|
|
4072
|
+
}, rc = _e((e, t) => ({ ...e }), (e, t) => ({
|
|
4073
4073
|
dispatch: e,
|
|
4074
|
-
fetchNewVerificationRequest:
|
|
4075
|
-
fetchExistingVerificationRequest:
|
|
4076
|
-
updateViewModel:
|
|
4077
|
-
updateLocale:
|
|
4078
|
-
updateProgramTheme:
|
|
4079
|
-
updateFieldValidationErrors:
|
|
4080
|
-
resetState:
|
|
4074
|
+
fetchNewVerificationRequest: Ge(e),
|
|
4075
|
+
fetchExistingVerificationRequest: Ie(e),
|
|
4076
|
+
updateViewModel: ze(e),
|
|
4077
|
+
updateLocale: Xe(e, t.programId),
|
|
4078
|
+
updateProgramTheme: Re(e),
|
|
4079
|
+
updateFieldValidationErrors: Ue(e),
|
|
4080
|
+
resetState: Je(e)
|
|
4081
4081
|
}), (e, t, n) => {
|
|
4082
4082
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4083
4083
|
return {
|
|
4084
4084
|
verificationService: {
|
|
4085
4085
|
...e,
|
|
4086
4086
|
...i,
|
|
4087
|
-
submitStep:
|
|
4087
|
+
submitStep: Le(r, a)
|
|
4088
4088
|
},
|
|
4089
4089
|
messages: e.messages,
|
|
4090
4090
|
...n
|
|
4091
4091
|
};
|
|
4092
|
-
})(
|
|
4092
|
+
})(nc), ic = (e) => ({
|
|
4093
4093
|
kind: "program",
|
|
4094
4094
|
key: e
|
|
4095
|
-
}),
|
|
4095
|
+
}), ac = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)($e, {
|
|
4096
4096
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4097
|
-
context:
|
|
4098
|
-
flags:
|
|
4097
|
+
context: ic(e),
|
|
4098
|
+
flags: tt,
|
|
4099
4099
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4100
4100
|
options: { streaming: !1 },
|
|
4101
4101
|
children: t
|
|
4102
|
-
}),
|
|
4102
|
+
}), oc = qe();
|
|
4103
4103
|
w(m.jslibVersionActual, T(() => ne(), "?")), w(m.clientVersion, T(() => ne(), "?"));
|
|
4104
|
-
var
|
|
4104
|
+
var sc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4105
4105
|
try {
|
|
4106
|
-
|
|
4106
|
+
Be();
|
|
4107
4107
|
} catch (e) {
|
|
4108
4108
|
D.warn("Failed to add predefined hooks", e);
|
|
4109
4109
|
}
|
|
4110
4110
|
return (0, F.useEffect)(() => {
|
|
4111
4111
|
C();
|
|
4112
|
-
}),
|
|
4112
|
+
}), oc.dispatch({
|
|
4113
4113
|
programId: e,
|
|
4114
4114
|
type: "PROGRAM_ID"
|
|
4115
4115
|
}), n && (n.current = {
|
|
4116
|
-
refresh: F.useCallback(() =>
|
|
4117
|
-
reset: F.useCallback(() =>
|
|
4118
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4119
|
-
store:
|
|
4120
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4116
|
+
refresh: F.useCallback(() => oc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4117
|
+
reset: F.useCallback(() => oc.dispatch({ type: "RESET_STATE" }), [])
|
|
4118
|
+
}), /* @__PURE__ */ (0, I.jsx)(ge, {
|
|
4119
|
+
store: oc,
|
|
4120
|
+
children: /* @__PURE__ */ (0, I.jsx)(ac, {
|
|
4121
4121
|
programId: e,
|
|
4122
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4122
|
+
children: /* @__PURE__ */ (0, I.jsx)(rc, {
|
|
4123
4123
|
programId: e,
|
|
4124
4124
|
trackingId: t
|
|
4125
4125
|
})
|
|
4126
4126
|
})
|
|
4127
4127
|
});
|
|
4128
|
-
}),
|
|
4128
|
+
}), cc = class e {
|
|
4129
4129
|
element;
|
|
4130
4130
|
programId;
|
|
4131
4131
|
trackingId;
|
|
@@ -4142,20 +4142,20 @@ var oc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4142
4142
|
this.ref.current.reset();
|
|
4143
4143
|
}
|
|
4144
4144
|
render() {
|
|
4145
|
-
|
|
4145
|
+
ft.render(/* @__PURE__ */ (0, I.jsx)(sc, {
|
|
4146
4146
|
programId: this.programId,
|
|
4147
4147
|
trackingId: this.trackingId,
|
|
4148
4148
|
ref: this.ref
|
|
4149
4149
|
}), this.element);
|
|
4150
4150
|
}
|
|
4151
4151
|
unmount() {
|
|
4152
|
-
|
|
4152
|
+
ft.unmountComponentAtNode(this.element);
|
|
4153
4153
|
}
|
|
4154
4154
|
};
|
|
4155
4155
|
//#endregion
|
|
4156
4156
|
//#region src/lib/state/previewMessages.ts
|
|
4157
|
-
function
|
|
4158
|
-
|
|
4157
|
+
function lc(e, n) {
|
|
4158
|
+
Oe.set((t) => ({
|
|
4159
4159
|
...t,
|
|
4160
4160
|
overrides: {
|
|
4161
4161
|
...t.overrides,
|
|
@@ -4169,12 +4169,12 @@ function cc(e, n) {
|
|
|
4169
4169
|
}
|
|
4170
4170
|
})), t({ [e]: n });
|
|
4171
4171
|
}
|
|
4172
|
-
function
|
|
4172
|
+
function uc(n) {
|
|
4173
4173
|
n.forEach((t) => e.removeResourceBundle(t, i.OPTIONS)), t(b().messagesWithLocale);
|
|
4174
4174
|
}
|
|
4175
4175
|
//#endregion
|
|
4176
4176
|
//#region src/lib/state/previewResponse.ts
|
|
4177
|
-
var
|
|
4177
|
+
var dc = {
|
|
4178
4178
|
step: "mockStep",
|
|
4179
4179
|
previousStep: "mockPreviousStep",
|
|
4180
4180
|
segment: "mockSegment",
|
|
@@ -4188,14 +4188,14 @@ var uc = {
|
|
|
4188
4188
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4189
4189
|
docSelected: "mockDocSelected"
|
|
4190
4190
|
};
|
|
4191
|
-
async function
|
|
4191
|
+
async function fc(e) {
|
|
4192
4192
|
let t = {};
|
|
4193
4193
|
Object.keys(e).forEach((n) => {
|
|
4194
|
-
let r =
|
|
4194
|
+
let r = dc[n];
|
|
4195
4195
|
r && (t[r] = e[n]);
|
|
4196
4196
|
}), p(t);
|
|
4197
|
-
let n = e.step ??
|
|
4198
|
-
|
|
4197
|
+
let n = e.step ?? Oe.get().overrides.mock?.step, r = n ? await je(n, qe().getState().verificationResponse) : void 0;
|
|
4198
|
+
Oe.set((t) => ({
|
|
4199
4199
|
...t,
|
|
4200
4200
|
overrides: {
|
|
4201
4201
|
...t.overrides,
|
|
@@ -4209,65 +4209,65 @@ async function dc(e) {
|
|
|
4209
4209
|
}
|
|
4210
4210
|
//#endregion
|
|
4211
4211
|
//#region src/lib/state/previewApi.ts
|
|
4212
|
-
function fc(e) {
|
|
4213
|
-
ue({ programTheme: e });
|
|
4214
|
-
}
|
|
4215
4212
|
function pc(e) {
|
|
4216
|
-
|
|
4213
|
+
de({ programTheme: e });
|
|
4217
4214
|
}
|
|
4218
4215
|
function mc(e) {
|
|
4219
|
-
|
|
4216
|
+
de({ programTheme: e });
|
|
4220
4217
|
}
|
|
4221
4218
|
function hc(e) {
|
|
4222
|
-
|
|
4223
|
-
return Ye(t.dispatch, n)(e, r?.segment);
|
|
4219
|
+
de({ response: e });
|
|
4224
4220
|
}
|
|
4225
|
-
function gc() {
|
|
4226
|
-
let
|
|
4227
|
-
|
|
4221
|
+
function gc(e) {
|
|
4222
|
+
let t = qe(), { programId: n, verificationResponse: r } = t.getState();
|
|
4223
|
+
return Xe(t.dispatch, n)(e, r?.segment);
|
|
4224
|
+
}
|
|
4225
|
+
function _c() {
|
|
4226
|
+
let e = Object.keys(Oe.get().overrides.messages ?? {});
|
|
4227
|
+
fe(), uc(e), oe();
|
|
4228
4228
|
}
|
|
4229
4229
|
//#endregion
|
|
4230
4230
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4231
4231
|
j(A.programBuilderPreview);
|
|
4232
|
-
function _c(e, t) {
|
|
4233
|
-
return new sc(e, t);
|
|
4234
|
-
}
|
|
4235
4232
|
function vc(e, t) {
|
|
4236
|
-
return
|
|
4233
|
+
return new cc(e, t);
|
|
4234
|
+
}
|
|
4235
|
+
function yc(e, t) {
|
|
4236
|
+
return se(), p({
|
|
4237
4237
|
mockStep: t.step,
|
|
4238
4238
|
mockSegment: "student"
|
|
4239
|
-
}), new
|
|
4240
|
-
}
|
|
4241
|
-
function yc(e) {
|
|
4242
|
-
lt(e);
|
|
4239
|
+
}), new cc(e, void 0);
|
|
4243
4240
|
}
|
|
4244
4241
|
function bc(e) {
|
|
4245
|
-
|
|
4242
|
+
ut(e);
|
|
4243
|
+
}
|
|
4244
|
+
function xc(e) {
|
|
4245
|
+
He(), p(e);
|
|
4246
4246
|
}
|
|
4247
|
-
function
|
|
4247
|
+
function Sc() {
|
|
4248
4248
|
s();
|
|
4249
4249
|
}
|
|
4250
|
-
function
|
|
4250
|
+
function Cc(e) {
|
|
4251
4251
|
p({ _launchDarklyFlagCb: e });
|
|
4252
4252
|
}
|
|
4253
|
-
function
|
|
4253
|
+
function wc(e, t, n) {
|
|
4254
4254
|
return g(e, t, n);
|
|
4255
4255
|
}
|
|
4256
|
-
var
|
|
4257
|
-
loadInElement:
|
|
4258
|
-
renderMockProgram:
|
|
4259
|
-
getProgramMessages:
|
|
4260
|
-
getFeatureFlags:
|
|
4261
|
-
setProgramThemeChoices:
|
|
4262
|
-
setProgramOptions:
|
|
4263
|
-
resetProgramOptions:
|
|
4264
|
-
setPreviewBranding:
|
|
4265
|
-
setPreviewConfiguration:
|
|
4266
|
-
setPreviewMessages:
|
|
4267
|
-
setPreviewResponse:
|
|
4268
|
-
setPreviewMock:
|
|
4269
|
-
setPreviewLocale:
|
|
4270
|
-
clearPreview:
|
|
4256
|
+
var Tc = {
|
|
4257
|
+
loadInElement: vc,
|
|
4258
|
+
renderMockProgram: yc,
|
|
4259
|
+
getProgramMessages: wc,
|
|
4260
|
+
getFeatureFlags: Cc,
|
|
4261
|
+
setProgramThemeChoices: bc,
|
|
4262
|
+
setProgramOptions: xc,
|
|
4263
|
+
resetProgramOptions: Sc,
|
|
4264
|
+
setPreviewBranding: pc,
|
|
4265
|
+
setPreviewConfiguration: mc,
|
|
4266
|
+
setPreviewMessages: lc,
|
|
4267
|
+
setPreviewResponse: hc,
|
|
4268
|
+
setPreviewMock: fc,
|
|
4269
|
+
setPreviewLocale: gc,
|
|
4270
|
+
clearPreview: _c
|
|
4271
4271
|
};
|
|
4272
4272
|
//#endregion
|
|
4273
|
-
export {
|
|
4273
|
+
export { kt as A, _n as C, B as D, V as E, bt as M, ht as N, Vt as O, pt as P, Cn as S, mn as T, Kn as _, io as a, wn as b, Wa as c, _c as clearPreview, Na as d, Tc as default, Fa as f, sr as g, Cc as getFeatureFlags, wc as getProgramMessages, ga as h, ro as i, Et as j, It as k, za as l, vc as loadInElement, Ma as m, qs as n, oo as o, Pa as p, ms as r, yc as renderMockProgram, Sc as resetProgramOptions, to as s, pc as setPreviewBranding, mc as setPreviewConfiguration, gc as setPreviewLocale, lc as setPreviewMessages, fc as setPreviewMock, hc as setPreviewResponse, xc as setProgramOptions, bc as setProgramThemeChoices, Ys as t, La as u, Bn as v, hn as w, H as x, Mn as y };
|