@sheerid/jslib 2.277.0 → 2.279.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 +91 -91
- package/chunk/AddressComponent-BXt3LO3L.js +41 -0
- package/chunk/AddressComponent-BXt3LO3L.js.map +1 -0
- package/chunk/AddressComponent-lF-v0RZf.js +37 -0
- package/chunk/AddressComponent-lF-v0RZf.js.map +1 -0
- package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
- package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
- package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-CKbVuRAx.js} +5 -5
- package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-CKbVuRAx.js.map} +1 -1
- package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-K7CaWewT.js} +5 -5
- package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-K7CaWewT.js.map} +1 -1
- package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CD4M-BN9.js} +6 -6
- package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CD4M-BN9.js.map} +1 -1
- package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-D3HhW2Lq.js} +6 -6
- package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-D3HhW2Lq.js.map} +1 -1
- package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-DlgV116k.js} +122 -121
- package/chunk/CaptchaComponent-DlgV116k.js.map +1 -0
- package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-_azicSSq.js} +122 -121
- package/chunk/CaptchaComponent-_azicSSq.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-DaswLDgf.js} +62 -61
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-DaswLDgf.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-oYqC5rPO.js} +62 -61
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-oYqC5rPO.js.map} +1 -1
- package/chunk/City-Ca92IEBF.js +36 -0
- package/chunk/City-Ca92IEBF.js.map +1 -0
- package/chunk/City-DT_jbaQV.js +40 -0
- package/chunk/City-DT_jbaQV.js.map +1 -0
- package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BPwD0IZd.js} +6 -6
- package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BPwD0IZd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CPHVzAfn.js} +6 -6
- package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CPHVzAfn.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
- package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
- package/chunk/CountryComponentWrapper-BfX4aqM2.js +82 -0
- package/chunk/CountryComponentWrapper-BfX4aqM2.js.map +1 -0
- package/chunk/CountryComponentWrapper-DziHrBMX.js +78 -0
- package/chunk/CountryComponentWrapper-DziHrBMX.js.map +1 -0
- package/chunk/DischargeDateComponent-BrNcDHcj.js +119 -0
- package/chunk/DischargeDateComponent-BrNcDHcj.js.map +1 -0
- package/chunk/DischargeDateComponent-Caq0MbSz.js +115 -0
- package/chunk/DischargeDateComponent-Caq0MbSz.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js +39 -0
- package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js +43 -0
- package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js.map +1 -0
- package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-Dc_6ANLw.js} +40 -49
- package/chunk/EmailLoopPending-Dc_6ANLw.js.map +1 -0
- package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-i9SDmULt.js} +39 -48
- package/chunk/EmailLoopPending-i9SDmULt.js.map +1 -0
- package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-BCHypT6I.js} +5 -5
- package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-BCHypT6I.js.map} +1 -1
- package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-owvdVH7U.js} +5 -5
- package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-owvdVH7U.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-zm8038ks.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-zm8038ks.js.map +1 -0
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-B56HjXNt.js} +5 -5
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-B56HjXNt.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-CTkrJXtl.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-CTkrJXtl.js.map} +1 -1
- package/chunk/FormFieldLayout-C4SCdGBC.js +4 -4
- package/chunk/FormFieldLayout-Cj_v9kYa.js +4 -4
- package/chunk/FormFieldText-BbdrtNh_.js +4 -4
- package/chunk/FormFieldText-Gf13Luq7.js +4 -4
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js → FormFieldTypeahead-DV-Vbq4P.js} +465 -469
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DV-Vbq4P.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-rknI__Ge.js} +385 -389
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-rknI__Ge.js.map} +1 -1
- package/chunk/FormFooterComponent-CKDwnyg2.js +2006 -0
- package/chunk/FormFooterComponent-CKDwnyg2.js.map +1 -0
- package/chunk/FormFooterComponent-DEFTsR2L.js +1980 -0
- package/chunk/FormFooterComponent-DEFTsR2L.js.map +1 -0
- package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-BLwNcyNA.js} +5 -5
- package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-BLwNcyNA.js.map} +1 -1
- package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-CNxt_oMb.js} +5 -5
- package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-CNxt_oMb.js.map} +1 -1
- package/chunk/InputText-BXPuBlPq.js +4 -4
- package/chunk/InputText-h_myNeHr.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js.map +1 -0
- package/chunk/LogoComponent-Do8K5ydz.js +4 -4
- package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js +100 -0
- package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-eipgmum9.js +104 -0
- package/chunk/LowIncomeOrganizationComponent-eipgmum9.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js.map +1 -0
- package/chunk/MemberIdComponent-BRu3zJYi.js +43 -0
- package/chunk/MemberIdComponent-BRu3zJYi.js.map +1 -0
- package/chunk/MemberIdComponent-DDoGHydu.js +39 -0
- package/chunk/MemberIdComponent-DDoGHydu.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js +36 -0
- package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-E2KnhazB.js +40 -0
- package/chunk/MembershipOrganizationComponent-E2KnhazB.js.map +1 -0
- package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-C8RQk5lc.js} +6392 -6917
- package/chunk/Message-C8RQk5lc.js.map +1 -0
- package/chunk/{FormFooterComponent-B2W5vjOS.js → Message-Sbek6JOj.js} +7582 -8121
- package/chunk/Message-Sbek6JOj.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-DGdDk2n_.js} +35 -34
- package/chunk/PersonalInfoStepSubmitButton-DGdDk2n_.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-ksVF3h1P.js} +35 -34
- package/chunk/PersonalInfoStepSubmitButton-ksVF3h1P.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-BUOcq-Sb.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-BUOcq-Sb.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-bFDtj-hV.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-bFDtj-hV.js.map} +1 -1
- package/chunk/PostalCodeComponent-C6gU75E3.js +42 -0
- package/chunk/PostalCodeComponent-C6gU75E3.js.map +1 -0
- package/chunk/PostalCodeComponent-DShP_eiB.js +38 -0
- package/chunk/PostalCodeComponent-DShP_eiB.js.map +1 -0
- package/chunk/SSN-BF8VH8xi.js +45 -0
- package/chunk/SSN-BF8VH8xi.js.map +1 -0
- package/chunk/SSN-X45bqqG5.js +49 -0
- package/chunk/SSN-X45bqqG5.js.map +1 -0
- package/chunk/StateSelectComponent-DEsJPcGo.js +38 -0
- package/chunk/StateSelectComponent-DEsJPcGo.js.map +1 -0
- package/chunk/StateSelectComponent-MEcusWyr.js +42 -0
- package/chunk/StateSelectComponent-MEcusWyr.js.map +1 -0
- package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-BlVRLPOR.js} +6 -6
- package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-BlVRLPOR.js.map} +1 -1
- package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-DP2VlynN.js} +6 -6
- package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-DP2VlynN.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-BfVe24h1.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BfVe24h1.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BsftVg7L.js} +39 -39
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-BsftVg7L.js.map} +1 -1
- package/chunk/StepCard-B0o7IN6g.js +4 -4
- package/chunk/StepCard-CWT2BiAH.js +4 -4
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-BbSr7Z9A.js} +9 -9
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-BbSr7Z9A.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-DWxYhtYJ.js} +7 -7
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-DWxYhtYJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-CpZ03KDD.js +368 -0
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-CpZ03KDD.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Dl1oW7u9.js +372 -0
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-Dl1oW7u9.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-BZrnQ5_y.js} +8 -8
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-BZrnQ5_y.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-mYpzxp_K.js} +8 -8
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-mYpzxp_K.js.map} +1 -1
- package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-B-89ZSSf.js} +5 -5
- package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-B-89ZSSf.js.map} +1 -1
- package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CyFzsf7D.js} +5 -5
- package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-CyFzsf7D.js.map} +1 -1
- package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-BhSHl2xg.js} +579 -581
- package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-BhSHl2xg.js.map} +1 -1
- package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-Da23Nac7.js} +563 -565
- package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-Da23Nac7.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-D84khZXV.js} +57 -57
- package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-D84khZXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DROpnxge.js} +57 -57
- package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DROpnxge.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-CjNdy_IK.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-CjNdy_IK.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-DQCaR_hD.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-DQCaR_hD.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-9dhIxbuJ.js} +5 -5
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-9dhIxbuJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-DTIF9BCb.js} +5 -5
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-DTIF9BCb.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-BxY2wBPp.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-BxY2wBPp.js.map +1 -0
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DEwJWvD5.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-DEwJWvD5.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-B6NsjTDL.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-B6NsjTDL.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-CnxabsF_.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-CnxabsF_.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-avWn-HsU.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-avWn-HsU.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-Du_sG7Xc.js} +54 -54
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-Du_sG7Xc.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-qYLCAzKx.js} +54 -54
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-qYLCAzKx.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-B9f28oQh.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-B9f28oQh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-C9owmZP4.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-C9owmZP4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-B3abjYzP.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-B3abjYzP.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BjwgnTyJ.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-BjwgnTyJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-BuAttGuv.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-BuAttGuv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DHQ4lFop.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DHQ4lFop.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-BECVh2YW.js} +31 -33
- package/chunk/StepOverrideComponent-BECVh2YW.js.map +1 -0
- package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BbflJqAn.js} +31 -33
- package/chunk/StepOverrideComponent-BbflJqAn.js.map +1 -0
- package/chunk/StepSMSLoop-DBLKaJge.js +172 -0
- package/chunk/StepSMSLoop-DBLKaJge.js.map +1 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js +168 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js → StepSocialSecurityNumber-O1UZ-5U6.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-O1UZ-5U6.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-rJXiboT7.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-rJXiboT7.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DQMWaRSa.js → StepStudentPersonalInfo-CDJ5MqYn.js} +69 -74
- package/chunk/StepStudentPersonalInfo-CDJ5MqYn.js.map +1 -0
- package/chunk/{StepStudentPersonalInfo-CxPq9ICS.js → StepStudentPersonalInfo-tgT5jO54.js} +69 -74
- package/chunk/StepStudentPersonalInfo-tgT5jO54.js.map +1 -0
- package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-C1pgML90.js} +6 -6
- package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-C1pgML90.js.map} +1 -1
- package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-CLv_-kPd.js} +6 -6
- package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-CLv_-kPd.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-BndXbwZz.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-BndXbwZz.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-DttiAJyO.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-DttiAJyO.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-CnBfquOO.js} +6 -6
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-CnBfquOO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DOAXb1sf.js} +6 -6
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DOAXb1sf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CAGESMw9.js +4 -4
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/countryUtils-AR9k3KRg.js +4 -4
- package/chunk/countryUtils-DWqId-zY.js +4 -4
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-CljItZH3.js} +5 -5
- package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-CljItZH3.js.map} +1 -1
- package/chunk/{downshift.esm-DryiNDJI.js → downshift.esm-GP9lYKvI.js} +5 -5
- package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GP9lYKvI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/empties-B6naRhes.js +4 -4
- package/chunk/empties-Crmkxudi.js +4 -4
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/hooks-C15H5pD-.js +4 -4
- package/chunk/hooks-ChQrxN58.js +4 -4
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/intl-e5WHiYfA.js +4 -4
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/jsx-runtime-Ini3eO9_.js +4 -4
- package/chunk/jsx-runtime-LqzCS-0D.js +4 -4
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/mocks-DGc1byho.js +4 -4
- package/chunk/mocks-RU9BGNOn.js +4 -4
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/options-pBCAJBwS.js +4 -4
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/programThemeGetters-C9Sw0RZq.js +4 -4
- package/chunk/programThemeGetters-uLsgGat1.js +4 -4
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/refs-CGvEbCaw.js +4 -4
- package/chunk/refs-CI3K5ndt.js +4 -4
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/{stepComponentHelpers-DIHMDrmF.js → stepComponentHelpers-BOwTk6Tq.js} +39 -51
- package/chunk/stepComponentHelpers-BOwTk6Tq.js.map +1 -0
- package/chunk/{stepComponentHelpers-BdqtwfRd.js → stepComponentHelpers-Cm0-8yXr.js} +39 -51
- package/chunk/stepComponentHelpers-Cm0-8yXr.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-D_Qf33n2.js} +9 -10
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-D_Qf33n2.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js → useCollectFieldsEndpoint-jY0agtQB.js} +13 -14
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-jY0agtQB.js.map} +1 -1
- package/chunk/useMetrics-BrHWTzbP.js +4 -4
- package/chunk/useMetrics-O5xTFm6y.js +4 -4
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +654 -654
- package/sheerid.js.map +1 -1
- package/chunk/AddressComponent-C3iwf09x.js +0 -40
- package/chunk/AddressComponent-C3iwf09x.js.map +0 -1
- package/chunk/AddressComponent-oDHvr6bn.js +0 -36
- package/chunk/AddressComponent-oDHvr6bn.js.map +0 -1
- package/chunk/CaptchaComponent-CCq7YSum.js.map +0 -1
- package/chunk/CaptchaComponent-hqx9tSkk.js.map +0 -1
- package/chunk/City-CUVEjTrI.js +0 -39
- package/chunk/City-CUVEjTrI.js.map +0 -1
- package/chunk/City-Drub1WX8.js +0 -35
- package/chunk/City-Drub1WX8.js.map +0 -1
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js +0 -78
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +0 -1
- package/chunk/CountryComponentWrapper-DeR9PrA2.js +0 -82
- package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +0 -1
- package/chunk/DischargeDateComponent-Btg3v71t.js +0 -117
- package/chunk/DischargeDateComponent-Btg3v71t.js.map +0 -1
- package/chunk/DischargeDateComponent-CqKUrGE0.js +0 -121
- package/chunk/DischargeDateComponent-CqKUrGE0.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js +0 -42
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js +0 -38
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js.map +0 -1
- package/chunk/EmailLoopPending-HyZBgisU.js.map +0 -1
- package/chunk/EmailLoopPending-ojWCBFjq.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js +0 -36
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js +0 -40
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js.map +0 -1
- package/chunk/FormFooterComponent-B2W5vjOS.js.map +0 -1
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js +0 -39
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js +0 -35
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js +0 -110
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js +0 -106
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js +0 -40
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js +0 -36
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map +0 -1
- package/chunk/MemberIdComponent-5OnkQeLm.js +0 -42
- package/chunk/MemberIdComponent-5OnkQeLm.js.map +0 -1
- package/chunk/MemberIdComponent-sR9aGDN4.js +0 -38
- package/chunk/MemberIdComponent-sR9aGDN4.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js +0 -35
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js +0 -39
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +0 -1
- package/chunk/PostalCodeComponent-BhBBSAL-.js +0 -41
- package/chunk/PostalCodeComponent-BhBBSAL-.js.map +0 -1
- package/chunk/PostalCodeComponent-DKC3DspF.js +0 -37
- package/chunk/PostalCodeComponent-DKC3DspF.js.map +0 -1
- package/chunk/SSN-7DHOlAAq.js +0 -44
- package/chunk/SSN-7DHOlAAq.js.map +0 -1
- package/chunk/SSN-DlBvRiaZ.js +0 -48
- package/chunk/SSN-DlBvRiaZ.js.map +0 -1
- package/chunk/StateSelectComponent-BXHXB6Kn.js +0 -44
- package/chunk/StateSelectComponent-BXHXB6Kn.js.map +0 -1
- package/chunk/StateSelectComponent-lM5e-_1v.js +0 -40
- package/chunk/StateSelectComponent-lM5e-_1v.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +0 -372
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +0 -368
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js +0 -219
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js +0 -215
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-0o-ZdynC.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-CiuUU7f9.js.map +0 -1
- package/chunk/StepOverrideComponent-B9HVSPlq.js.map +0 -1
- package/chunk/StepOverrideComponent-DOBT7C22.js.map +0 -1
- package/chunk/StepSMSLoop-BM7UE2tP.js +0 -180
- package/chunk/StepSMSLoop-BM7UE2tP.js.map +0 -1
- package/chunk/StepSMSLoop-Wr-MrFaf.js +0 -184
- package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
- package/chunk/VerificationApiClient-BcE3SjuJ.js +0 -1451
- package/chunk/VerificationApiClient-BcE3SjuJ.js.map +0 -1
- package/chunk/VerificationApiClient-fJ7P4ejD.js +0 -1471
- package/chunk/VerificationApiClient-fJ7P4ejD.js.map +0 -1
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
package/sheerid.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.279.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788995296072
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
7
7
|
*/
|
|
8
8
|
import { Bt as e, D as t, E as n, Ft as r, Ht as i, It as a, Nt as o, T as s, Wt as c, b as l, c as u, ct as d, d as f, g as p, h as m, ht as h, i as g, it as _, l as v, lt as y, m as b, n as x, p as S, r as C, s as w, t as T, u as ee, w as E, x as D, y as O } from "./chunk/options-pBCAJBwS.js";
|
|
9
9
|
import { c as k, i as A, n as j, t as M } from "./chunk/jsx-runtime-Ini3eO9_.js";
|
|
10
|
-
import { A as te,
|
|
11
|
-
import { a as
|
|
12
|
-
import { f as
|
|
13
|
-
import { f as
|
|
10
|
+
import { A as te, D as ne, O as re, P as ie, S as ae, T as oe, a as se, c as ce, d as le, f as ue, g as de, i as fe, k as pe, m as me, o as he, p as ge, r as _e, s as ve, t as N, u as ye, w as be, x as xe } from "./chunk/Message-C8RQk5lc.js";
|
|
11
|
+
import { a as Se, i as Ce, r as we, s as Te, t as Ee } from "./chunk/TestingRouteOverrides-CrhfSmLr.js";
|
|
12
|
+
import { f as De, p as Oe, u as ke } from "./chunk/ApiUrls-CKbVuRAx.js";
|
|
13
|
+
import { C as Ae, S as je, _ as Me, a as Ne, b as Pe, c as Fe, d as Ie, f as Le, g as Re, h as ze, i as Be, l as Ve, m as He, n as Ue, o as We, p as Ge, r as Ke, s as qe, t as Je, u as Ye, v as Xe, w as Ze, x as Qe, y as $e } from "./chunk/FormFooterComponent-CKDwnyg2.js";
|
|
14
14
|
import { i as et } from "./chunk/programThemeGetters-C9Sw0RZq.js";
|
|
15
15
|
import { a as tt, i as nt, n as rt, r as it, t as at } from "./chunk/hooks-ChQrxN58.js";
|
|
16
16
|
import { i as ot, s as st, t as ct } from "./chunk/refs-CGvEbCaw.js";
|
|
@@ -24,11 +24,11 @@ function ft({ i18n: e, defaultNS: t, children: n }) {
|
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
26
26
|
}), [e, t]);
|
|
27
|
-
return (0, P.createElement)(
|
|
27
|
+
return (0, P.createElement)(re.Provider, { value: r }, n);
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var pt = /* @__PURE__ */ c(
|
|
31
|
+
var pt = /* @__PURE__ */ c(ie(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht = () => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
32
32
|
className: "sid-spinner",
|
|
33
33
|
"data-testid": "sid-spinner",
|
|
34
34
|
children: [
|
|
@@ -53,7 +53,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
53
53
|
defaultMessage: "This should only take a minute"
|
|
54
54
|
})
|
|
55
55
|
})]
|
|
56
|
-
}), _t = ({ step: e =
|
|
56
|
+
}), _t = ({ step: e = Ee() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen",
|
|
58
58
|
children: [/* @__PURE__ */ (0, F.jsx)(ht, {}), e && /* @__PURE__ */ (0, F.jsx)(gt, { step: e })]
|
|
59
59
|
}), vt = /* @__PURE__ */ i(((e, t) => {
|
|
@@ -129,7 +129,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
129
129
|
isRtlLang: n.isRtlLang,
|
|
130
130
|
getLangDir: n.getLangDir
|
|
131
131
|
};
|
|
132
|
-
})), bt = /* @__PURE__ */ c(
|
|
132
|
+
})), bt = /* @__PURE__ */ c(ne(), 1), xt = /* @__PURE__ */ c(yt(), 1), I = {
|
|
133
133
|
landingBackgroundColor: "#fff",
|
|
134
134
|
landingPrimaryFontColor: "#000",
|
|
135
135
|
landingBackgroundImage: "none",
|
|
@@ -285,7 +285,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
285
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
287
|
}, {})
|
|
288
|
-
}, y = P.useRef(null), b =
|
|
288
|
+
}, y = P.useRef(null), b = Oe() === De.cdnInlineIframe, x = Oe() === De.cdnModalIframe;
|
|
289
289
|
return /* @__PURE__ */ (0, F.jsx)(St.Provider, {
|
|
290
290
|
value: {
|
|
291
291
|
landingBackgroundColor: s,
|
|
@@ -324,7 +324,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
324
324
|
Et = {};
|
|
325
325
|
}, At = ({ verificationService: e, linkText: t }) => {
|
|
326
326
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
|
-
return n ? /* @__PURE__ */ (0, F.jsx)(
|
|
327
|
+
return n ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
329
329
|
href: et(i, n, r, E(e.viewModel), e.verificationResponse),
|
|
330
330
|
children: t || /* @__PURE__ */ (0, F.jsx)(j, {
|
|
@@ -457,7 +457,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
457
457
|
}, Lt = /* @__PURE__ */ function(e) {
|
|
458
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
459
|
}({}), Rt = ({ verificationService: t, stepName: n, messages: i, cancelButtonType: a = "primary" }) => {
|
|
460
|
-
let { programId: o } = t, s = t.viewModel, c = t.previousViewModel || void 0, l = t.verificationResponse, d = t.previousVerificationResponse || void 0, { verificationId: p, locale: m } = t.verificationResponse, h =
|
|
460
|
+
let { programId: o } = t, s = t.viewModel, c = t.previousViewModel || void 0, l = t.verificationResponse, d = t.previousVerificationResponse || void 0, { verificationId: p, locale: m } = t.verificationResponse, h = Se(), g = ut(n), _ = at("hc-my-sheer-id-theme-builder"), v, y = /* @__PURE__ */ (0, F.jsx)(lt, {
|
|
461
461
|
verificationService: t,
|
|
462
462
|
fallbackLogo: !_ && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
463
463
|
className: `sid-${g}-logo-default sid-l-lead-image`,
|
|
@@ -486,7 +486,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
486
486
|
verificationId: p
|
|
487
487
|
}), S(e, t), T();
|
|
488
488
|
}, T = () => {
|
|
489
|
-
let e = n === r.sso ?
|
|
489
|
+
let e = n === r.sso ? xe(l.loginUrl) : l.loginUrl;
|
|
490
490
|
st(window.open(e, "_blank")), ot().focus();
|
|
491
491
|
};
|
|
492
492
|
return s.isSingleSignOnActive && !h && (v = x()), !s.countryChoice && c && c.countryChoice && S("countryChoice", c.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
@@ -507,7 +507,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
507
507
|
updateViewModelAndOpenLoginTab: w,
|
|
508
508
|
dashedStepName: g
|
|
509
509
|
})
|
|
510
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
510
|
+
}), /* @__PURE__ */ (0, F.jsx)(Je, { verificationService: t })]
|
|
511
511
|
});
|
|
512
512
|
}, zt = {
|
|
513
513
|
title: /* @__PURE__ */ (0, F.jsx)(j, {
|
|
@@ -680,7 +680,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
680
680
|
})
|
|
681
681
|
});
|
|
682
682
|
}, Kt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: i }) => {
|
|
683
|
-
let a = Ut[i ?
|
|
683
|
+
let a = Ut[i ? Ce("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
684
684
|
return a ? /* @__PURE__ */ (0, F.jsx)(Ft, {
|
|
685
685
|
stepName: r.thirdPartyLoop,
|
|
686
686
|
messages: a,
|
|
@@ -689,7 +689,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
689
689
|
cancelButtonType: Lt.SECONDARY
|
|
690
690
|
}) : /* @__PURE__ */ (0, F.jsx)(Wt, { logo: e });
|
|
691
691
|
}, qt = 5e3, Jt = 2e4, Yt = 2e4, Xt = 2e3, Zt = ({ verificationService: t }) => {
|
|
692
|
-
let { programId: n } = t, { viewModel: i } = t, a = t.previousViewModel || void 0, o = t.verificationResponse.lastResponse || t.previousVerificationResponse || void 0, { verificationId: s } = t.verificationResponse, c =
|
|
692
|
+
let { programId: n } = t, { viewModel: i } = t, a = t.previousViewModel || void 0, o = t.verificationResponse.lastResponse || t.previousVerificationResponse || void 0, { verificationId: s } = t.verificationResponse, c = Se(), l = we() && we() === r.sso, d = we() && we() === r.thirdPartyLoop, f = we() && we() === r.idCheckLoop, p = at("hc-my-sheer-id-theme-builder"), m = () => o?.currentStep === r.sso, h = () => o?.currentStep === r.thirdPartyLoop, g = () => o?.currentStep === r.idCheckLoop, _ = m() || h() || l || d, v = g() || f, y = !_ && !v, [b, x] = P.useState(() => _ ? Xt : v ? Yt : qt);
|
|
693
693
|
P.useEffect(() => {
|
|
694
694
|
if (!y) return;
|
|
695
695
|
let e = setTimeout(() => x(Yt), Jt);
|
|
@@ -730,20 +730,20 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
730
730
|
}), v ? /* @__PURE__ */ (0, F.jsx)(Mt, {
|
|
731
731
|
verificationService: t,
|
|
732
732
|
isCentered: !0
|
|
733
|
-
}) : /* @__PURE__ */ (0, F.jsxs)(
|
|
733
|
+
}) : /* @__PURE__ */ (0, F.jsxs)(Je, {
|
|
734
734
|
verificationService: t,
|
|
735
735
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
736
736
|
})]
|
|
737
737
|
});
|
|
738
738
|
}, Qt = () => {
|
|
739
|
-
let e =
|
|
739
|
+
let e = fe(), t = se(), n = ce(), r = y(() => n.segment), i = P.useCallback(() => {
|
|
740
740
|
if (window.self !== window.top) {
|
|
741
741
|
let e = new URL(window.location.href);
|
|
742
742
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
743
743
|
return;
|
|
744
744
|
}
|
|
745
745
|
(async () => {
|
|
746
|
-
|
|
746
|
+
Ve(e)(), await Fe(e)(t, r, void 0, void 0, !0);
|
|
747
747
|
})();
|
|
748
748
|
}, [
|
|
749
749
|
e,
|
|
@@ -763,7 +763,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
763
763
|
POSTMESSAGE: "postMessage",
|
|
764
764
|
REDIRECT: "redirect"
|
|
765
765
|
}, en = () => {
|
|
766
|
-
let e =
|
|
766
|
+
let e = ce(), t = () => oe({
|
|
767
767
|
action: "tryAgain",
|
|
768
768
|
verificationResponse: e
|
|
769
769
|
});
|
|
@@ -774,7 +774,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
774
774
|
onKeyPress: t,
|
|
775
775
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
776
776
|
});
|
|
777
|
-
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(
|
|
777
|
+
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
778
778
|
target: t,
|
|
779
779
|
href: e.toString(),
|
|
780
780
|
className: "sid-btn sid-btn--dark",
|
|
@@ -813,7 +813,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
813
813
|
}, cn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
814
814
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
815
815
|
let t = y(() => e.programTheme.config.brandInfo.faqUrl);
|
|
816
|
-
return t ? /* @__PURE__ */ (0, F.jsx)(
|
|
816
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
817
817
|
href: t,
|
|
818
818
|
onClick: () => m(r.error, t),
|
|
819
819
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -823,7 +823,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
823
823
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
824
824
|
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return T("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(rn, {});
|
|
825
825
|
let i = t[0];
|
|
826
|
-
return e.messages?.[`step.error.errorId.${i}.buttonText`] && n ? /* @__PURE__ */ (0, F.jsx)(
|
|
826
|
+
return e.messages?.[`step.error.errorId.${i}.buttonText`] && n ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
827
827
|
href: n,
|
|
828
828
|
onClick: () => m(r.error, n),
|
|
829
829
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
@@ -892,37 +892,37 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
892
892
|
}, un = {
|
|
893
893
|
StepPendingComponent: Zt,
|
|
894
894
|
StepErrorComponent: ln,
|
|
895
|
-
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
896
|
-
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-
|
|
897
|
-
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
898
|
-
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
899
|
-
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
900
|
-
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
901
|
-
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
902
|
-
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
903
|
-
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
904
|
-
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
905
|
-
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
906
|
-
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
907
|
-
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
908
|
-
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
909
|
-
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
910
|
-
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
911
|
-
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
912
|
-
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
913
|
-
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-
|
|
914
|
-
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-
|
|
915
|
-
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-
|
|
916
|
-
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-
|
|
917
|
-
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
918
|
-
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-
|
|
919
|
-
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
895
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-tgT5jO54.js")),
|
|
896
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-BbflJqAn.js")),
|
|
897
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BsftVg7L.js")),
|
|
898
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BsftVg7L.js")),
|
|
899
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js")),
|
|
900
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js")),
|
|
901
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js")),
|
|
902
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js")),
|
|
903
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BzzPdAKT.js")),
|
|
904
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js")),
|
|
905
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CjNdy_IK.js")),
|
|
906
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js")),
|
|
907
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js")),
|
|
908
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-9dhIxbuJ.js")),
|
|
909
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js")),
|
|
910
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-qYLCAzKx.js")),
|
|
911
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-C9owmZP4.js")),
|
|
912
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-B3abjYzP.js")),
|
|
913
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-B-89ZSSf.js")),
|
|
914
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-BhSHl2xg.js")),
|
|
915
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-D84khZXV.js")),
|
|
916
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-Dc_6ANLw.js").then((e) => e.n)),
|
|
917
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-BuAttGuv.js")),
|
|
918
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-DaWjEr_v.js")),
|
|
919
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-O1UZ-5U6.js")),
|
|
920
920
|
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
921
|
-
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-
|
|
922
|
-
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
923
|
-
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
924
|
-
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
925
|
-
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
921
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-C1pgML90.js")),
|
|
922
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-BndXbwZz.js")),
|
|
923
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-BZrnQ5_y.js")),
|
|
924
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-BbSr7Z9A.js")),
|
|
925
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-CpZ03KDD.js")),
|
|
926
926
|
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
927
927
|
}, R = (t) => (e.info("getComponent", t), Ot(t) || un[t]), dn = () => /* @__PURE__ */ (0, F.jsx)(_t, {}), fn = ({ stepToLoad: t, verificationService: n }) => {
|
|
928
928
|
e.info(`LoadStepComponent: rendering step: ${t}`);
|
|
@@ -1071,7 +1071,7 @@ var pt = /* @__PURE__ */ c(ge(), 1), mt = /* @__PURE__ */ c(d(), 1), F = M(), ht
|
|
|
1071
1071
|
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), mn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1072
1072
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1073
1073
|
role: "note",
|
|
1074
|
-
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(
|
|
1074
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
1075
1075
|
className: "sid-test-mode-flag__link",
|
|
1076
1076
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1077
1077
|
"aria-label": "learn more about a sheerid test mode program",
|
|
@@ -1427,13 +1427,13 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1427
1427
|
let e = function(e) {
|
|
1428
1428
|
if (p.paused || !s) return;
|
|
1429
1429
|
let t = e.target;
|
|
1430
|
-
s.contains(t) ? d.current = t :
|
|
1430
|
+
s.contains(t) ? d.current = t : H(d.current, { select: !0 });
|
|
1431
1431
|
}, t = function(e) {
|
|
1432
1432
|
if (p.paused || !s) return;
|
|
1433
1433
|
let t = e.relatedTarget;
|
|
1434
|
-
t !== null && (s.contains(t) ||
|
|
1434
|
+
t !== null && (s.contains(t) || H(d.current, { select: !0 }));
|
|
1435
1435
|
}, n = function(e) {
|
|
1436
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1436
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && H(s);
|
|
1437
1437
|
};
|
|
1438
1438
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1439
1439
|
let r = new MutationObserver(n);
|
|
@@ -1450,16 +1450,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1450
1450
|
p.paused
|
|
1451
1451
|
]), P.useEffect(() => {
|
|
1452
1452
|
if (s) {
|
|
1453
|
-
|
|
1453
|
+
nr.add(p);
|
|
1454
1454
|
let e = document.activeElement;
|
|
1455
1455
|
if (!s.contains(e)) {
|
|
1456
1456
|
let t = new CustomEvent(Gn, qn);
|
|
1457
|
-
s.addEventListener(Gn, l), s.dispatchEvent(t), t.defaultPrevented || (Xn(
|
|
1457
|
+
s.addEventListener(Gn, l), s.dispatchEvent(t), t.defaultPrevented || (Xn(ar(Qn(s)), { select: !0 }), document.activeElement === e && H(s));
|
|
1458
1458
|
}
|
|
1459
1459
|
return () => {
|
|
1460
1460
|
s.removeEventListener(Gn, l), setTimeout(() => {
|
|
1461
1461
|
let t = new CustomEvent(Kn, qn);
|
|
1462
|
-
s.addEventListener(Kn, u), s.dispatchEvent(t), t.defaultPrevented ||
|
|
1462
|
+
s.addEventListener(Kn, u), s.dispatchEvent(t), t.defaultPrevented || H(e ?? document.body, { select: !0 }), s.removeEventListener(Kn, u), nr.remove(p);
|
|
1463
1463
|
}, 0);
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
@@ -1474,7 +1474,7 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1474
1474
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1475
1475
|
if (t && i) {
|
|
1476
1476
|
let t = e.currentTarget, [r, a] = Zn(t);
|
|
1477
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1477
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && H(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && H(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1478
1478
|
}
|
|
1479
1479
|
}, [
|
|
1480
1480
|
n,
|
|
@@ -1491,7 +1491,7 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1491
1491
|
Yn.displayName = Jn;
|
|
1492
1492
|
function Xn(e, { select: t = !1 } = {}) {
|
|
1493
1493
|
let n = document.activeElement;
|
|
1494
|
-
for (let r of e) if (
|
|
1494
|
+
for (let r of e) if (H(r, { select: t }), document.activeElement !== n) return;
|
|
1495
1495
|
}
|
|
1496
1496
|
function Zn(e) {
|
|
1497
1497
|
let t = Qn(e);
|
|
@@ -1520,117 +1520,117 @@ function er(e, { upTo: t }) {
|
|
|
1520
1520
|
function tr(e) {
|
|
1521
1521
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function H(e, { select: t = !1 } = {}) {
|
|
1524
1524
|
if (e && e.focus) {
|
|
1525
1525
|
let n = document.activeElement;
|
|
1526
1526
|
e.focus({ preventScroll: !0 }), e !== n && tr(e) && t && e.select();
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
|
-
var
|
|
1530
|
-
function
|
|
1529
|
+
var nr = rr();
|
|
1530
|
+
function rr() {
|
|
1531
1531
|
let e = [];
|
|
1532
1532
|
return {
|
|
1533
1533
|
add(t) {
|
|
1534
1534
|
let n = e[0];
|
|
1535
|
-
t !== n && n?.pause(), e =
|
|
1535
|
+
t !== n && n?.pause(), e = ir(e, t), e.unshift(t);
|
|
1536
1536
|
},
|
|
1537
1537
|
remove(t) {
|
|
1538
|
-
e =
|
|
1538
|
+
e = ir(e, t), e[0]?.resume();
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function ir(e, t) {
|
|
1543
1543
|
let n = [...e], r = n.indexOf(t);
|
|
1544
1544
|
return r !== -1 && n.splice(r, 1), n;
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1546
|
+
function ar(e) {
|
|
1547
1547
|
return e.filter((e) => e.tagName !== "A");
|
|
1548
1548
|
}
|
|
1549
1549
|
//#endregion
|
|
1550
1550
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1551
|
-
var
|
|
1552
|
-
function
|
|
1553
|
-
let [t, n] = P.useState(
|
|
1554
|
-
return
|
|
1555
|
-
e || n((e) => e ?? String(
|
|
1551
|
+
var or = globalThis?.document ? P.useLayoutEffect : () => {}, sr = P.useId || (() => void 0), cr = 0;
|
|
1552
|
+
function lr(e) {
|
|
1553
|
+
let [t, n] = P.useState(sr());
|
|
1554
|
+
return or(() => {
|
|
1555
|
+
e || n((e) => e ?? String(cr++));
|
|
1556
1556
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1557
1557
|
}
|
|
1558
1558
|
//#endregion
|
|
1559
1559
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1560
|
-
var
|
|
1560
|
+
var ur = [
|
|
1561
1561
|
"top",
|
|
1562
1562
|
"right",
|
|
1563
1563
|
"bottom",
|
|
1564
1564
|
"left"
|
|
1565
|
-
],
|
|
1565
|
+
], dr = Math.min, U = Math.max, fr = Math.round, pr = Math.floor, W = (e) => ({
|
|
1566
1566
|
x: e,
|
|
1567
1567
|
y: e
|
|
1568
|
-
}),
|
|
1568
|
+
}), mr = {
|
|
1569
1569
|
left: "right",
|
|
1570
1570
|
right: "left",
|
|
1571
1571
|
bottom: "top",
|
|
1572
1572
|
top: "bottom"
|
|
1573
1573
|
};
|
|
1574
|
-
function
|
|
1575
|
-
return
|
|
1574
|
+
function hr(e, t, n) {
|
|
1575
|
+
return U(e, dr(t, n));
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function G(e, t) {
|
|
1578
1578
|
return typeof e == "function" ? e(t) : e;
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function K(e) {
|
|
1581
1581
|
return e.split("-")[0];
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function gr(e) {
|
|
1584
1584
|
return e.split("-")[1];
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function _r(e) {
|
|
1587
1587
|
return e === "x" ? "y" : "x";
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1589
|
+
function vr(e) {
|
|
1590
1590
|
return e === "y" ? "height" : "width";
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function q(e) {
|
|
1593
1593
|
let t = e[0];
|
|
1594
1594
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1597
|
-
return
|
|
1596
|
+
function yr(e) {
|
|
1597
|
+
return _r(q(e));
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function br(e, t, n) {
|
|
1600
1600
|
n === void 0 && (n = !1);
|
|
1601
|
-
let r =
|
|
1602
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1601
|
+
let r = gr(e), i = yr(e), a = vr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1602
|
+
return t.reference[a] > t.floating[a] && (o = kr(o)), [o, kr(o)];
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1605
|
-
let t =
|
|
1604
|
+
function xr(e) {
|
|
1605
|
+
let t = kr(e);
|
|
1606
1606
|
return [
|
|
1607
|
-
|
|
1607
|
+
Sr(e),
|
|
1608
1608
|
t,
|
|
1609
|
-
|
|
1609
|
+
Sr(t)
|
|
1610
1610
|
];
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function Sr(e) {
|
|
1613
1613
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1614
1614
|
}
|
|
1615
|
-
var
|
|
1616
|
-
function
|
|
1615
|
+
var Cr = ["left", "right"], wr = ["right", "left"], Tr = ["top", "bottom"], Er = ["bottom", "top"];
|
|
1616
|
+
function Dr(e, t, n) {
|
|
1617
1617
|
switch (e) {
|
|
1618
1618
|
case "top":
|
|
1619
|
-
case "bottom": return n ? t ?
|
|
1619
|
+
case "bottom": return n ? t ? wr : Cr : t ? Cr : wr;
|
|
1620
1620
|
case "left":
|
|
1621
|
-
case "right": return t ?
|
|
1621
|
+
case "right": return t ? Tr : Er;
|
|
1622
1622
|
default: return [];
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1626
|
-
let i =
|
|
1627
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1625
|
+
function Or(e, t, n, r) {
|
|
1626
|
+
let i = gr(e), a = Dr(K(e), n === "start", r);
|
|
1627
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Sr)))), a;
|
|
1628
1628
|
}
|
|
1629
|
-
function
|
|
1630
|
-
let t =
|
|
1631
|
-
return
|
|
1629
|
+
function kr(e) {
|
|
1630
|
+
let t = K(e);
|
|
1631
|
+
return mr[t] + e.slice(t.length);
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1633
|
+
function Ar(e) {
|
|
1634
1634
|
return {
|
|
1635
1635
|
top: 0,
|
|
1636
1636
|
right: 0,
|
|
@@ -1639,15 +1639,15 @@ function jr(e) {
|
|
|
1639
1639
|
...e
|
|
1640
1640
|
};
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function jr(e) {
|
|
1643
1643
|
return typeof e == "number" ? {
|
|
1644
1644
|
top: e,
|
|
1645
1645
|
right: e,
|
|
1646
1646
|
bottom: e,
|
|
1647
1647
|
left: e
|
|
1648
|
-
} :
|
|
1648
|
+
} : Ar(e);
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function Mr(e) {
|
|
1651
1651
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1652
1652
|
return {
|
|
1653
1653
|
width: r,
|
|
@@ -1662,8 +1662,8 @@ function Nr(e) {
|
|
|
1662
1662
|
}
|
|
1663
1663
|
//#endregion
|
|
1664
1664
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1665
|
-
function
|
|
1666
|
-
let { reference: r, floating: i } = e, a =
|
|
1665
|
+
function Nr(e, t, n) {
|
|
1666
|
+
let { reference: r, floating: i } = e, a = q(t), o = yr(t), s = vr(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;
|
|
1667
1667
|
switch (c) {
|
|
1668
1668
|
case "top":
|
|
1669
1669
|
p = {
|
|
@@ -1694,7 +1694,7 @@ function Pr(e, t, n) {
|
|
|
1694
1694
|
y: r.y
|
|
1695
1695
|
};
|
|
1696
1696
|
}
|
|
1697
|
-
switch (
|
|
1697
|
+
switch (gr(t)) {
|
|
1698
1698
|
case "start":
|
|
1699
1699
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1700
1700
|
break;
|
|
@@ -1704,9 +1704,9 @@ function Pr(e, t, n) {
|
|
|
1704
1704
|
}
|
|
1705
1705
|
return p;
|
|
1706
1706
|
}
|
|
1707
|
-
async function
|
|
1707
|
+
async function Pr(e, t) {
|
|
1708
1708
|
t === void 0 && (t = {});
|
|
1709
|
-
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 } =
|
|
1709
|
+
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 = jr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Mr(await i.getClippingRect({
|
|
1710
1710
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1711
1711
|
boundary: c,
|
|
1712
1712
|
rootBoundary: l,
|
|
@@ -1719,7 +1719,7 @@ async function Fr(e, t) {
|
|
|
1719
1719
|
} : 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(_)) || {
|
|
1720
1720
|
x: 1,
|
|
1721
1721
|
y: 1
|
|
1722
|
-
}, y =
|
|
1722
|
+
}, y = Mr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1723
1723
|
elements: o,
|
|
1724
1724
|
rect: g,
|
|
1725
1725
|
offsetParent: _,
|
|
@@ -1732,15 +1732,15 @@ async function Fr(e, t) {
|
|
|
1732
1732
|
right: (y.right - h.right + p.right) / v.x
|
|
1733
1733
|
};
|
|
1734
1734
|
}
|
|
1735
|
-
var
|
|
1735
|
+
var Fr = 50, Ir = async (e, t, n) => {
|
|
1736
1736
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1737
1737
|
...o,
|
|
1738
|
-
detectOverflow:
|
|
1738
|
+
detectOverflow: Pr
|
|
1739
1739
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1740
1740
|
reference: e,
|
|
1741
1741
|
floating: t,
|
|
1742
1742
|
strategy: i
|
|
1743
|
-
}), { x: u, y: d } =
|
|
1743
|
+
}), { x: u, y: d } = Nr(l, r, c), f = r, p = 0, m = {};
|
|
1744
1744
|
for (let n = 0; n < a.length; n++) {
|
|
1745
1745
|
let h = a[n];
|
|
1746
1746
|
if (!h) continue;
|
|
@@ -1761,11 +1761,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1761
1761
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1762
1762
|
...m[g],
|
|
1763
1763
|
...b
|
|
1764
|
-
}, x && p <
|
|
1764
|
+
}, x && p < Fr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1765
1765
|
reference: e,
|
|
1766
1766
|
floating: t,
|
|
1767
1767
|
strategy: i
|
|
1768
|
-
}) : x.rects), {x: u, y: d} =
|
|
1768
|
+
}) : x.rects), {x: u, y: d} = Nr(l, f, c)), n = -1);
|
|
1769
1769
|
}
|
|
1770
1770
|
return {
|
|
1771
1771
|
x: u,
|
|
@@ -1774,18 +1774,18 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1774
1774
|
strategy: i,
|
|
1775
1775
|
middlewareData: m
|
|
1776
1776
|
};
|
|
1777
|
-
},
|
|
1777
|
+
}, Lr = (e) => ({
|
|
1778
1778
|
name: "arrow",
|
|
1779
1779
|
options: e,
|
|
1780
1780
|
async fn(t) {
|
|
1781
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
1781
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1782
1782
|
if (l == null) return {};
|
|
1783
|
-
let d =
|
|
1783
|
+
let d = jr(u), f = {
|
|
1784
1784
|
x: n,
|
|
1785
1785
|
y: r
|
|
1786
|
-
}, p =
|
|
1786
|
+
}, p = yr(i), m = vr(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;
|
|
1787
1787
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1788
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1788
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = dr(d[_], T), E = dr(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, A = hr(D, k, O), j = !c.arrow && gr(i) != null && k !== A && a.reference[m] / 2 - (k < D ? ee : E) - h[m] / 2 < 0, M = j ? k < D ? k - D : k - O : 0;
|
|
1789
1789
|
return {
|
|
1790
1790
|
[p]: f[p] + M,
|
|
1791
1791
|
data: {
|
|
@@ -1796,19 +1796,19 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1796
1796
|
reset: j
|
|
1797
1797
|
};
|
|
1798
1798
|
}
|
|
1799
|
-
}),
|
|
1799
|
+
}), Rr = function(e) {
|
|
1800
1800
|
return e === void 0 && (e = {}), {
|
|
1801
1801
|
name: "flip",
|
|
1802
1802
|
options: e,
|
|
1803
1803
|
async fn(t) {
|
|
1804
1804
|
var n;
|
|
1805
|
-
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 } =
|
|
1805
|
+
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);
|
|
1806
1806
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1807
|
-
let g =
|
|
1808
|
-
!d && x && b.push(...
|
|
1807
|
+
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 ? [kr(o)] : xr(o)), x = p !== "none";
|
|
1808
|
+
!d && x && b.push(...Or(o, m, p, y));
|
|
1809
1809
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1810
1810
|
if (l && w.push(C[g]), u) {
|
|
1811
|
-
let e =
|
|
1811
|
+
let e = br(r, a, y);
|
|
1812
1812
|
w.push(C[e[0]], C[e[1]]);
|
|
1813
1813
|
}
|
|
1814
1814
|
if (T = [...T, {
|
|
@@ -1816,7 +1816,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1816
1816
|
overflows: w
|
|
1817
1817
|
}], !w.every((e) => e <= 0)) {
|
|
1818
1818
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
1819
|
-
if (t && (!(u === "alignment" && _ !==
|
|
1819
|
+
if (t && (!(u === "alignment" && _ !== q(t)) || T.every((e) => q(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
1820
1820
|
data: {
|
|
1821
1821
|
index: e,
|
|
1822
1822
|
overflows: T
|
|
@@ -1828,7 +1828,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1828
1828
|
case "bestFit": {
|
|
1829
1829
|
let e = T.filter((e) => {
|
|
1830
1830
|
if (x) {
|
|
1831
|
-
let t =
|
|
1831
|
+
let t = q(e.placement);
|
|
1832
1832
|
return t === _ || t === "y";
|
|
1833
1833
|
}
|
|
1834
1834
|
return !0;
|
|
@@ -1846,7 +1846,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1846
1846
|
}
|
|
1847
1847
|
};
|
|
1848
1848
|
};
|
|
1849
|
-
function
|
|
1849
|
+
function zr(e, t) {
|
|
1850
1850
|
return {
|
|
1851
1851
|
top: e.top - t.height,
|
|
1852
1852
|
right: e.right - t.width,
|
|
@@ -1854,43 +1854,43 @@ function Br(e, t) {
|
|
|
1854
1854
|
left: e.left - t.width
|
|
1855
1855
|
};
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1858
|
-
return
|
|
1857
|
+
function Br(e) {
|
|
1858
|
+
return ur.some((t) => e[t] >= 0);
|
|
1859
1859
|
}
|
|
1860
|
-
var
|
|
1860
|
+
var Vr = function(e) {
|
|
1861
1861
|
return e === void 0 && (e = {}), {
|
|
1862
1862
|
name: "hide",
|
|
1863
1863
|
options: e,
|
|
1864
1864
|
async fn(t) {
|
|
1865
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1865
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1866
1866
|
switch (i) {
|
|
1867
1867
|
case "referenceHidden": {
|
|
1868
|
-
let e =
|
|
1868
|
+
let e = zr(await r.detectOverflow(t, {
|
|
1869
1869
|
...a,
|
|
1870
1870
|
elementContext: "reference"
|
|
1871
1871
|
}), n.reference);
|
|
1872
1872
|
return { data: {
|
|
1873
1873
|
referenceHiddenOffsets: e,
|
|
1874
|
-
referenceHidden:
|
|
1874
|
+
referenceHidden: Br(e)
|
|
1875
1875
|
} };
|
|
1876
1876
|
}
|
|
1877
1877
|
case "escaped": {
|
|
1878
|
-
let e =
|
|
1878
|
+
let e = zr(await r.detectOverflow(t, {
|
|
1879
1879
|
...a,
|
|
1880
1880
|
altBoundary: !0
|
|
1881
1881
|
}), n.floating);
|
|
1882
1882
|
return { data: {
|
|
1883
1883
|
escapedOffsets: e,
|
|
1884
|
-
escaped:
|
|
1884
|
+
escaped: Br(e)
|
|
1885
1885
|
} };
|
|
1886
1886
|
}
|
|
1887
1887
|
default: return {};
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
1890
1890
|
};
|
|
1891
|
-
},
|
|
1892
|
-
async function
|
|
1893
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1891
|
+
}, Hr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1892
|
+
async function Ur(e, t) {
|
|
1893
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = gr(n), c = q(n) === "y", l = Hr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1894
1894
|
mainAxis: d,
|
|
1895
1895
|
crossAxis: 0,
|
|
1896
1896
|
alignmentAxis: null
|
|
@@ -1907,13 +1907,13 @@ async function Wr(e, t) {
|
|
|
1907
1907
|
y: p * u
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
|
-
var
|
|
1910
|
+
var Wr = function(e) {
|
|
1911
1911
|
return e === void 0 && (e = 0), {
|
|
1912
1912
|
name: "offset",
|
|
1913
1913
|
options: e,
|
|
1914
1914
|
async fn(t) {
|
|
1915
1915
|
var n;
|
|
1916
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1916
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Ur(t, e);
|
|
1917
1917
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1918
1918
|
x: r + s.x,
|
|
1919
1919
|
y: i + s.y,
|
|
@@ -1924,7 +1924,7 @@ var Gr = function(e) {
|
|
|
1924
1924
|
};
|
|
1925
1925
|
}
|
|
1926
1926
|
};
|
|
1927
|
-
},
|
|
1927
|
+
}, Gr = function(e) {
|
|
1928
1928
|
return e === void 0 && (e = {}), {
|
|
1929
1929
|
name: "shift",
|
|
1930
1930
|
options: e,
|
|
@@ -1935,17 +1935,17 @@ var Gr = function(e) {
|
|
|
1935
1935
|
x: t,
|
|
1936
1936
|
y: n
|
|
1937
1937
|
};
|
|
1938
|
-
} }, ...l } =
|
|
1938
|
+
} }, ...l } = G(e, t), u = {
|
|
1939
1939
|
x: n,
|
|
1940
1940
|
y: r
|
|
1941
|
-
}, d = await a.detectOverflow(t, l), f = K(
|
|
1941
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = _r(f), m = u[p], h = u[f];
|
|
1942
1942
|
if (o) {
|
|
1943
1943
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1944
|
-
m =
|
|
1944
|
+
m = hr(n, m, r);
|
|
1945
1945
|
}
|
|
1946
1946
|
if (s) {
|
|
1947
1947
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1948
|
-
h =
|
|
1948
|
+
h = hr(n, h, r);
|
|
1949
1949
|
}
|
|
1950
1950
|
let g = c.fn({
|
|
1951
1951
|
...t,
|
|
@@ -1965,14 +1965,14 @@ var Gr = function(e) {
|
|
|
1965
1965
|
};
|
|
1966
1966
|
}
|
|
1967
1967
|
};
|
|
1968
|
-
},
|
|
1968
|
+
}, Kr = function(e) {
|
|
1969
1969
|
return e === void 0 && (e = {}), {
|
|
1970
1970
|
options: e,
|
|
1971
1971
|
fn(t) {
|
|
1972
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1972
|
+
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 = {
|
|
1973
1973
|
x: n,
|
|
1974
1974
|
y: r
|
|
1975
|
-
}, d =
|
|
1975
|
+
}, d = q(i), f = _r(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1976
1976
|
mainAxis: h,
|
|
1977
1977
|
crossAxis: 0
|
|
1978
1978
|
} : {
|
|
@@ -1985,7 +1985,7 @@ var Gr = function(e) {
|
|
|
1985
1985
|
p < t ? p = t : p > n && (p = n);
|
|
1986
1986
|
}
|
|
1987
1987
|
if (l) {
|
|
1988
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1988
|
+
let e = f === "y" ? "width" : "height", t = Hr.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);
|
|
1989
1989
|
m < n ? m = n : m > r && (m = r);
|
|
1990
1990
|
}
|
|
1991
1991
|
return {
|
|
@@ -1994,18 +1994,18 @@ var Gr = function(e) {
|
|
|
1994
1994
|
};
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
|
-
},
|
|
1997
|
+
}, qr = function(e) {
|
|
1998
1998
|
return e === void 0 && (e = {}), {
|
|
1999
1999
|
name: "size",
|
|
2000
2000
|
options: e,
|
|
2001
2001
|
async fn(t) {
|
|
2002
2002
|
var n, r;
|
|
2003
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
2003
|
+
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 = gr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2004
2004
|
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");
|
|
2005
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2005
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = dr(h - u[g], v), x = dr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2006
2006
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2007
|
-
let e =
|
|
2008
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
2007
|
+
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2008
|
+
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));
|
|
2009
2009
|
}
|
|
2010
2010
|
await c({
|
|
2011
2011
|
...t,
|
|
@@ -2019,39 +2019,39 @@ var Gr = function(e) {
|
|
|
2019
2019
|
};
|
|
2020
2020
|
//#endregion
|
|
2021
2021
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2022
|
-
function
|
|
2022
|
+
function Jr() {
|
|
2023
2023
|
return typeof window < "u";
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2026
|
-
return
|
|
2025
|
+
function Yr(e) {
|
|
2026
|
+
return Xr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function J(e) {
|
|
2029
2029
|
var t;
|
|
2030
2030
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2031
2031
|
}
|
|
2032
|
-
function J(e) {
|
|
2033
|
-
return ((Zr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2034
|
-
}
|
|
2035
|
-
function Zr(e) {
|
|
2036
|
-
return Yr() ? e instanceof Node || e instanceof q(e).Node : !1;
|
|
2037
|
-
}
|
|
2038
2032
|
function Y(e) {
|
|
2039
|
-
return
|
|
2033
|
+
return ((Xr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2034
|
+
}
|
|
2035
|
+
function Xr(e) {
|
|
2036
|
+
return Jr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2040
2037
|
}
|
|
2041
2038
|
function X(e) {
|
|
2042
|
-
return
|
|
2039
|
+
return Jr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2040
|
+
}
|
|
2041
|
+
function Z(e) {
|
|
2042
|
+
return Jr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2043
|
+
}
|
|
2044
|
+
function Zr(e) {
|
|
2045
|
+
return !Jr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2043
2046
|
}
|
|
2044
2047
|
function Qr(e) {
|
|
2045
|
-
|
|
2048
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2049
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2046
2050
|
}
|
|
2047
2051
|
function $r(e) {
|
|
2048
|
-
|
|
2049
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2052
|
+
return /^(table|td|th)$/.test(Yr(e));
|
|
2050
2053
|
}
|
|
2051
2054
|
function ei(e) {
|
|
2052
|
-
return /^(table|td|th)$/.test(Xr(e));
|
|
2053
|
-
}
|
|
2054
|
-
function ti(e) {
|
|
2055
2055
|
try {
|
|
2056
2056
|
if (e.matches(":popover-open")) return !0;
|
|
2057
2057
|
} catch {}
|
|
@@ -2061,31 +2061,31 @@ function ti(e) {
|
|
|
2061
2061
|
return !1;
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
|
-
var
|
|
2064
|
+
var ti = /transform|translate|scale|rotate|perspective|filter/, ni = /paint|layout|strict|content/, ri = (e) => !!e && e !== "none", ii;
|
|
2065
|
+
function ai(e) {
|
|
2066
|
+
let t = X(e) ? Q(e) : e;
|
|
2067
|
+
return ri(t.transform) || ri(t.translate) || ri(t.scale) || ri(t.rotate) || ri(t.perspective) || !si() && (ri(t.backdropFilter) || ri(t.filter)) || ti.test(t.willChange || "") || ni.test(t.contain || "");
|
|
2068
|
+
}
|
|
2065
2069
|
function oi(e) {
|
|
2066
|
-
let t =
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
for (; X(t) && !li(t);) {
|
|
2072
|
-
if (oi(t)) return t;
|
|
2073
|
-
if (ti(t)) return null;
|
|
2074
|
-
t = di(t);
|
|
2070
|
+
let t = ui(e);
|
|
2071
|
+
for (; Z(t) && !ci(t);) {
|
|
2072
|
+
if (ai(t)) return t;
|
|
2073
|
+
if (ei(t)) return null;
|
|
2074
|
+
t = ui(t);
|
|
2075
2075
|
}
|
|
2076
2076
|
return null;
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2079
|
-
return
|
|
2078
|
+
function si() {
|
|
2079
|
+
return ii ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ii;
|
|
2080
2080
|
}
|
|
2081
|
-
function
|
|
2082
|
-
return /^(html|body|#document)$/.test(
|
|
2081
|
+
function ci(e) {
|
|
2082
|
+
return /^(html|body|#document)$/.test(Yr(e));
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2085
|
-
return
|
|
2084
|
+
function Q(e) {
|
|
2085
|
+
return J(e).getComputedStyle(e);
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2088
|
-
return
|
|
2087
|
+
function li(e) {
|
|
2088
|
+
return X(e) ? {
|
|
2089
2089
|
scrollLeft: e.scrollLeft,
|
|
2090
2090
|
scrollTop: e.scrollTop
|
|
2091
2091
|
} : {
|
|
@@ -2093,101 +2093,101 @@ function ui(e) {
|
|
|
2093
2093
|
scrollTop: e.scrollY
|
|
2094
2094
|
};
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2097
|
-
if (
|
|
2098
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2099
|
-
return
|
|
2096
|
+
function ui(e) {
|
|
2097
|
+
if (Yr(e) === "html") return e;
|
|
2098
|
+
let t = e.assignedSlot || e.parentNode || Zr(e) && e.host || Y(e);
|
|
2099
|
+
return Zr(t) ? t.host : t;
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2102
|
-
let t =
|
|
2103
|
-
return
|
|
2101
|
+
function di(e) {
|
|
2102
|
+
let t = ui(e);
|
|
2103
|
+
return ci(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && Qr(t) ? t : di(t);
|
|
2104
2104
|
}
|
|
2105
|
-
function
|
|
2105
|
+
function fi(e, t, n) {
|
|
2106
2106
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2107
|
-
let r =
|
|
2107
|
+
let r = di(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2108
2108
|
if (i) {
|
|
2109
|
-
let e =
|
|
2110
|
-
return t.concat(a, a.visualViewport || [],
|
|
2111
|
-
} else return t.concat(r,
|
|
2109
|
+
let e = pi(a);
|
|
2110
|
+
return t.concat(a, a.visualViewport || [], Qr(r) ? r : [], e && n ? fi(e) : []);
|
|
2111
|
+
} else return t.concat(r, fi(r, [], n));
|
|
2112
2112
|
}
|
|
2113
|
-
function
|
|
2113
|
+
function pi(e) {
|
|
2114
2114
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2115
2115
|
}
|
|
2116
2116
|
//#endregion
|
|
2117
2117
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2118
|
-
function
|
|
2119
|
-
let t =
|
|
2118
|
+
function mi(e) {
|
|
2119
|
+
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 = fr(n) !== a || fr(r) !== o;
|
|
2120
2120
|
return s && (n = a, r = o), {
|
|
2121
2121
|
width: n,
|
|
2122
2122
|
height: r,
|
|
2123
2123
|
$: s
|
|
2124
2124
|
};
|
|
2125
2125
|
}
|
|
2126
|
-
function
|
|
2127
|
-
return
|
|
2126
|
+
function hi(e) {
|
|
2127
|
+
return X(e) ? e : e.contextElement;
|
|
2128
2128
|
}
|
|
2129
|
-
function
|
|
2130
|
-
let t =
|
|
2131
|
-
if (!
|
|
2132
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2129
|
+
function gi(e) {
|
|
2130
|
+
let t = hi(e);
|
|
2131
|
+
if (!Z(t)) return W(1);
|
|
2132
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = mi(t), o = (a ? fr(n.width) : n.width) / r, s = (a ? fr(n.height) : n.height) / i;
|
|
2133
2133
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2134
2134
|
x: o,
|
|
2135
2135
|
y: s
|
|
2136
2136
|
};
|
|
2137
2137
|
}
|
|
2138
|
-
var
|
|
2139
|
-
function
|
|
2140
|
-
let t =
|
|
2141
|
-
return !
|
|
2138
|
+
var _i = /*#__PURE__*/ W(0);
|
|
2139
|
+
function vi(e) {
|
|
2140
|
+
let t = J(e);
|
|
2141
|
+
return !si() || !t.visualViewport ? _i : {
|
|
2142
2142
|
x: t.visualViewport.offsetLeft,
|
|
2143
2143
|
y: t.visualViewport.offsetTop
|
|
2144
2144
|
};
|
|
2145
2145
|
}
|
|
2146
|
-
function
|
|
2147
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2146
|
+
function yi(e, t, n) {
|
|
2147
|
+
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2148
2148
|
}
|
|
2149
|
-
function
|
|
2149
|
+
function bi(e, t, n, r) {
|
|
2150
2150
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2151
|
-
let i = e.getBoundingClientRect(), a =
|
|
2152
|
-
t && (r ?
|
|
2153
|
-
let s =
|
|
2151
|
+
let i = e.getBoundingClientRect(), a = hi(e), o = W(1);
|
|
2152
|
+
t && (r ? X(r) && (o = gi(r)) : o = gi(e));
|
|
2153
|
+
let s = yi(a, n, r) ? vi(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;
|
|
2154
2154
|
if (a) {
|
|
2155
|
-
let e =
|
|
2155
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = pi(n);
|
|
2156
2156
|
for (; i && r && t !== n;) {
|
|
2157
|
-
let e =
|
|
2158
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
2157
|
+
let e = gi(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;
|
|
2158
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = pi(n);
|
|
2159
2159
|
}
|
|
2160
2160
|
}
|
|
2161
|
-
return
|
|
2161
|
+
return Mr({
|
|
2162
2162
|
width: u,
|
|
2163
2163
|
height: d,
|
|
2164
2164
|
x: c,
|
|
2165
2165
|
y: l
|
|
2166
2166
|
});
|
|
2167
2167
|
}
|
|
2168
|
-
function
|
|
2169
|
-
let n =
|
|
2170
|
-
return t ? t.left + n :
|
|
2168
|
+
function xi(e, t) {
|
|
2169
|
+
let n = li(e).scrollLeft;
|
|
2170
|
+
return t ? t.left + n : bi(Y(e)).left + n;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function Si(e, t) {
|
|
2173
2173
|
let n = e.getBoundingClientRect();
|
|
2174
2174
|
return {
|
|
2175
|
-
x: n.left + t.scrollLeft -
|
|
2175
|
+
x: n.left + t.scrollLeft - xi(e, n),
|
|
2176
2176
|
y: n.top + t.scrollTop
|
|
2177
2177
|
};
|
|
2178
2178
|
}
|
|
2179
|
-
function
|
|
2180
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
2179
|
+
function Ci(e) {
|
|
2180
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ei(t.floating) : !1;
|
|
2181
2181
|
if (r === o || s && a) return n;
|
|
2182
2182
|
let c = {
|
|
2183
2183
|
scrollLeft: 0,
|
|
2184
2184
|
scrollTop: 0
|
|
2185
|
-
}, l =
|
|
2186
|
-
if ((d || !d && !a) && ((
|
|
2187
|
-
let e =
|
|
2188
|
-
l =
|
|
2185
|
+
}, l = W(1), u = W(0), d = Z(r);
|
|
2186
|
+
if ((d || !d && !a) && ((Yr(r) !== "body" || Qr(o)) && (c = li(r)), d)) {
|
|
2187
|
+
let e = bi(r);
|
|
2188
|
+
l = gi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2189
2189
|
}
|
|
2190
|
-
let f = o && !d && !a ?
|
|
2190
|
+
let f = o && !d && !a ? Si(o, c) : W(0);
|
|
2191
2191
|
return {
|
|
2192
2192
|
width: n.width * l.x,
|
|
2193
2193
|
height: n.height * l.y,
|
|
@@ -2195,31 +2195,31 @@ function wi(e) {
|
|
|
2195
2195
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2196
2196
|
};
|
|
2197
2197
|
}
|
|
2198
|
-
function
|
|
2198
|
+
function wi(e) {
|
|
2199
2199
|
return Array.from(e.getClientRects());
|
|
2200
2200
|
}
|
|
2201
|
-
function
|
|
2202
|
-
let t =
|
|
2203
|
-
return
|
|
2201
|
+
function Ti(e) {
|
|
2202
|
+
let t = Y(e), n = li(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 + xi(e), s = -n.scrollTop;
|
|
2203
|
+
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2204
2204
|
width: i,
|
|
2205
2205
|
height: a,
|
|
2206
2206
|
x: o,
|
|
2207
2207
|
y: s
|
|
2208
2208
|
};
|
|
2209
2209
|
}
|
|
2210
|
-
var
|
|
2211
|
-
function
|
|
2212
|
-
let n =
|
|
2210
|
+
var Ei = 25;
|
|
2211
|
+
function Di(e, t) {
|
|
2212
|
+
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2213
2213
|
if (i) {
|
|
2214
2214
|
a = i.width, o = i.height;
|
|
2215
|
-
let e =
|
|
2215
|
+
let e = si();
|
|
2216
2216
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2217
2217
|
}
|
|
2218
|
-
let l =
|
|
2218
|
+
let l = xi(r);
|
|
2219
2219
|
if (l <= 0) {
|
|
2220
2220
|
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);
|
|
2221
|
-
o <=
|
|
2222
|
-
} else l <=
|
|
2221
|
+
o <= Ei && (a -= o);
|
|
2222
|
+
} else l <= Ei && (a += l);
|
|
2223
2223
|
return {
|
|
2224
2224
|
width: a,
|
|
2225
2225
|
height: o,
|
|
@@ -2227,8 +2227,8 @@ function Oi(e, t) {
|
|
|
2227
2227
|
y: c
|
|
2228
2228
|
};
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2231
|
-
let n =
|
|
2230
|
+
function Oi(e, t) {
|
|
2231
|
+
let n = bi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? gi(e) : W(1);
|
|
2232
2232
|
return {
|
|
2233
2233
|
width: e.clientWidth * a.x,
|
|
2234
2234
|
height: e.clientHeight * a.y,
|
|
@@ -2236,13 +2236,13 @@ function ki(e, t) {
|
|
|
2236
2236
|
y: r * a.y
|
|
2237
2237
|
};
|
|
2238
2238
|
}
|
|
2239
|
-
function
|
|
2239
|
+
function ki(e, t, n) {
|
|
2240
2240
|
let r;
|
|
2241
|
-
if (t === "viewport") r =
|
|
2242
|
-
else if (t === "document") r =
|
|
2243
|
-
else if (
|
|
2241
|
+
if (t === "viewport") r = Di(e, n);
|
|
2242
|
+
else if (t === "document") r = Ti(Y(e));
|
|
2243
|
+
else if (X(t)) r = Oi(t, n);
|
|
2244
2244
|
else {
|
|
2245
|
-
let n =
|
|
2245
|
+
let n = vi(e);
|
|
2246
2246
|
r = {
|
|
2247
2247
|
x: t.x - n.x,
|
|
2248
2248
|
y: t.y - n.y,
|
|
@@ -2250,27 +2250,27 @@ function Ai(e, t, n) {
|
|
|
2250
2250
|
height: t.height
|
|
2251
2251
|
};
|
|
2252
2252
|
}
|
|
2253
|
-
return
|
|
2253
|
+
return Mr(r);
|
|
2254
2254
|
}
|
|
2255
|
-
function
|
|
2256
|
-
let n =
|
|
2257
|
-
return n === t || !
|
|
2255
|
+
function Ai(e, t) {
|
|
2256
|
+
let n = ui(e);
|
|
2257
|
+
return n === t || !X(n) || ci(n) ? !1 : Q(n).position === "fixed" || Ai(n, t);
|
|
2258
2258
|
}
|
|
2259
|
-
function
|
|
2259
|
+
function ji(e, t) {
|
|
2260
2260
|
let n = t.get(e);
|
|
2261
2261
|
if (n) return n;
|
|
2262
|
-
let r =
|
|
2263
|
-
for (;
|
|
2264
|
-
let t =
|
|
2265
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2262
|
+
let r = fi(e, [], !1).filter((e) => X(e) && Yr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? ui(e) : e;
|
|
2263
|
+
for (; X(o) && !ci(o);) {
|
|
2264
|
+
let t = Q(o), n = ai(o);
|
|
2265
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Qr(o) && !n && Ai(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = ui(o);
|
|
2266
2266
|
}
|
|
2267
2267
|
return t.set(e, r), r;
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2270
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2269
|
+
function Mi(e) {
|
|
2270
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ei(t) ? [] : ji(t, this._c) : [].concat(n), r], o = ki(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2271
2271
|
for (let e = 1; e < a.length; e++) {
|
|
2272
|
-
let n =
|
|
2273
|
-
s =
|
|
2272
|
+
let n = ki(t, a[e], i);
|
|
2273
|
+
s = U(n.top, s), c = dr(n.right, c), l = dr(n.bottom, l), u = U(n.left, u);
|
|
2274
2274
|
}
|
|
2275
2275
|
return {
|
|
2276
2276
|
width: c - u,
|
|
@@ -2279,27 +2279,27 @@ function Ni(e) {
|
|
|
2279
2279
|
y: s
|
|
2280
2280
|
};
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2283
|
-
let { width: t, height: n } =
|
|
2282
|
+
function Ni(e) {
|
|
2283
|
+
let { width: t, height: n } = mi(e);
|
|
2284
2284
|
return {
|
|
2285
2285
|
width: t,
|
|
2286
2286
|
height: n
|
|
2287
2287
|
};
|
|
2288
2288
|
}
|
|
2289
|
-
function
|
|
2290
|
-
let r =
|
|
2289
|
+
function Pi(e, t, n) {
|
|
2290
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = bi(e, !0, a, t), s = {
|
|
2291
2291
|
scrollLeft: 0,
|
|
2292
2292
|
scrollTop: 0
|
|
2293
|
-
}, c =
|
|
2293
|
+
}, c = W(0);
|
|
2294
2294
|
function l() {
|
|
2295
|
-
c.x =
|
|
2295
|
+
c.x = xi(i);
|
|
2296
2296
|
}
|
|
2297
|
-
if (r || !r && !a) if ((
|
|
2298
|
-
let e =
|
|
2297
|
+
if (r || !r && !a) if ((Yr(t) !== "body" || Qr(i)) && (s = li(t)), r) {
|
|
2298
|
+
let e = bi(t, !0, a, t);
|
|
2299
2299
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2300
2300
|
} else i && l();
|
|
2301
2301
|
a && !r && i && l();
|
|
2302
|
-
let u = i && !r && !a ?
|
|
2302
|
+
let u = i && !r && !a ? Si(i, s) : W(0);
|
|
2303
2303
|
return {
|
|
2304
2304
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2305
2305
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2307,34 +2307,34 @@ function Fi(e, t, n) {
|
|
|
2307
2307
|
height: o.height
|
|
2308
2308
|
};
|
|
2309
2309
|
}
|
|
2310
|
-
function
|
|
2311
|
-
return
|
|
2310
|
+
function Fi(e) {
|
|
2311
|
+
return Q(e).position === "static";
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2314
|
-
if (!
|
|
2313
|
+
function Ii(e, t) {
|
|
2314
|
+
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2315
2315
|
if (t) return t(e);
|
|
2316
2316
|
let n = e.offsetParent;
|
|
2317
|
-
return
|
|
2318
|
-
}
|
|
2319
|
-
function
|
|
2320
|
-
let n =
|
|
2321
|
-
if (
|
|
2322
|
-
if (!
|
|
2323
|
-
let t =
|
|
2324
|
-
for (; t && !
|
|
2325
|
-
if (
|
|
2326
|
-
t =
|
|
2317
|
+
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2318
|
+
}
|
|
2319
|
+
function Li(e, t) {
|
|
2320
|
+
let n = J(e);
|
|
2321
|
+
if (ei(e)) return n;
|
|
2322
|
+
if (!Z(e)) {
|
|
2323
|
+
let t = ui(e);
|
|
2324
|
+
for (; t && !ci(t);) {
|
|
2325
|
+
if (X(t) && !Fi(t)) return t;
|
|
2326
|
+
t = ui(t);
|
|
2327
2327
|
}
|
|
2328
2328
|
return n;
|
|
2329
2329
|
}
|
|
2330
|
-
let r =
|
|
2331
|
-
for (; r &&
|
|
2332
|
-
return r &&
|
|
2330
|
+
let r = Ii(e, t);
|
|
2331
|
+
for (; r && $r(r) && Fi(r);) r = Ii(r, t);
|
|
2332
|
+
return r && ci(r) && Fi(r) && !ai(r) ? n : r || oi(e) || n;
|
|
2333
2333
|
}
|
|
2334
|
-
var
|
|
2335
|
-
let t = this.getOffsetParent ||
|
|
2334
|
+
var Ri = async function(e) {
|
|
2335
|
+
let t = this.getOffsetParent || Li, n = this.getDimensions, r = await n(e.floating);
|
|
2336
2336
|
return {
|
|
2337
|
-
reference:
|
|
2337
|
+
reference: Pi(e.reference, await t(e.floating), e.strategy),
|
|
2338
2338
|
floating: {
|
|
2339
2339
|
x: 0,
|
|
2340
2340
|
y: 0,
|
|
@@ -2343,26 +2343,26 @@ var zi = async function(e) {
|
|
|
2343
2343
|
}
|
|
2344
2344
|
};
|
|
2345
2345
|
};
|
|
2346
|
-
function
|
|
2347
|
-
return
|
|
2348
|
-
}
|
|
2349
|
-
var
|
|
2350
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2351
|
-
getDocumentElement:
|
|
2352
|
-
getClippingRect:
|
|
2353
|
-
getOffsetParent:
|
|
2354
|
-
getElementRects:
|
|
2355
|
-
getClientRects:
|
|
2356
|
-
getDimensions:
|
|
2357
|
-
getScale:
|
|
2358
|
-
isElement:
|
|
2359
|
-
isRTL:
|
|
2346
|
+
function zi(e) {
|
|
2347
|
+
return Q(e).direction === "rtl";
|
|
2348
|
+
}
|
|
2349
|
+
var Bi = {
|
|
2350
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ci,
|
|
2351
|
+
getDocumentElement: Y,
|
|
2352
|
+
getClippingRect: Mi,
|
|
2353
|
+
getOffsetParent: Li,
|
|
2354
|
+
getElementRects: Ri,
|
|
2355
|
+
getClientRects: wi,
|
|
2356
|
+
getDimensions: Ni,
|
|
2357
|
+
getScale: gi,
|
|
2358
|
+
isElement: X,
|
|
2359
|
+
isRTL: zi
|
|
2360
2360
|
};
|
|
2361
|
-
function
|
|
2361
|
+
function Vi(e, t) {
|
|
2362
2362
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2363
2363
|
}
|
|
2364
|
-
function
|
|
2365
|
-
let n = null, r, i =
|
|
2364
|
+
function Hi(e, t) {
|
|
2365
|
+
let n = null, r, i = Y(e);
|
|
2366
2366
|
function a() {
|
|
2367
2367
|
var e;
|
|
2368
2368
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -2371,9 +2371,9 @@ function Ui(e, t) {
|
|
|
2371
2371
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2372
2372
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2373
2373
|
if (s || t(), !f || !p) return;
|
|
2374
|
-
let m =
|
|
2374
|
+
let m = pr(d), h = pr(i.clientWidth - (u + f)), g = pr(i.clientHeight - (d + p)), _ = pr(u), v = {
|
|
2375
2375
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2376
|
-
threshold:
|
|
2376
|
+
threshold: U(0, dr(1, c)) || 1
|
|
2377
2377
|
}, y = !0;
|
|
2378
2378
|
function b(t) {
|
|
2379
2379
|
let n = t[0].intersectionRatio;
|
|
@@ -2383,7 +2383,7 @@ function Ui(e, t) {
|
|
|
2383
2383
|
o(!1, 1e-7);
|
|
2384
2384
|
}, 1e3);
|
|
2385
2385
|
}
|
|
2386
|
-
n === 1 && !
|
|
2386
|
+
n === 1 && !Vi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2387
2387
|
}
|
|
2388
2388
|
try {
|
|
2389
2389
|
n = new IntersectionObserver(b, {
|
|
@@ -2397,13 +2397,13 @@ function Ui(e, t) {
|
|
|
2397
2397
|
}
|
|
2398
2398
|
return o(!0), a;
|
|
2399
2399
|
}
|
|
2400
|
-
function
|
|
2400
|
+
function Ui(e, t, n, r) {
|
|
2401
2401
|
r === void 0 && (r = {});
|
|
2402
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2402
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = hi(e), u = i || a ? [...l ? fi(l) : [], ...t ? fi(t) : []] : [];
|
|
2403
2403
|
u.forEach((e) => {
|
|
2404
2404
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2405
2405
|
});
|
|
2406
|
-
let d = l && s ?
|
|
2406
|
+
let d = l && s ? Hi(l, n) : null, f = -1, p = null;
|
|
2407
2407
|
o && (p = new ResizeObserver((e) => {
|
|
2408
2408
|
let [r] = e;
|
|
2409
2409
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2411,11 +2411,11 @@ function Wi(e, t, n, r) {
|
|
|
2411
2411
|
(e = p) == null || e.observe(t);
|
|
2412
2412
|
})), n();
|
|
2413
2413
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2414
|
-
let m, h = c ?
|
|
2414
|
+
let m, h = c ? bi(e) : null;
|
|
2415
2415
|
c && g();
|
|
2416
2416
|
function g() {
|
|
2417
|
-
let t =
|
|
2418
|
-
h && !
|
|
2417
|
+
let t = bi(e);
|
|
2418
|
+
h && !Vi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2419
2419
|
}
|
|
2420
2420
|
return n(), () => {
|
|
2421
2421
|
var e;
|
|
@@ -2424,20 +2424,20 @@ function Wi(e, t, n, r) {
|
|
|
2424
2424
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2425
2425
|
};
|
|
2426
2426
|
}
|
|
2427
|
-
var Gi = Gr, Ki =
|
|
2427
|
+
var Wi = Wr, Gi = Gr, Ki = Rr, qi = qr, Ji = Vr, Yi = Lr, Xi = Kr, Zi = (e, t, n) => {
|
|
2428
2428
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2429
|
-
platform:
|
|
2429
|
+
platform: Bi,
|
|
2430
2430
|
...n
|
|
2431
2431
|
}, a = {
|
|
2432
2432
|
...i.platform,
|
|
2433
2433
|
_c: r
|
|
2434
2434
|
};
|
|
2435
|
-
return
|
|
2435
|
+
return Ir(e, t, {
|
|
2436
2436
|
...i,
|
|
2437
2437
|
platform: a
|
|
2438
2438
|
});
|
|
2439
|
-
},
|
|
2440
|
-
function
|
|
2439
|
+
}, Qi = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2440
|
+
function $i(e, t) {
|
|
2441
2441
|
if (e === t) return !0;
|
|
2442
2442
|
if (typeof e != typeof t) return !1;
|
|
2443
2443
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2445,33 +2445,33 @@ function ea(e, t) {
|
|
|
2445
2445
|
if (e && t && typeof e == "object") {
|
|
2446
2446
|
if (Array.isArray(e)) {
|
|
2447
2447
|
if (n = e.length, n !== t.length) return !1;
|
|
2448
|
-
for (r = n; r-- !== 0;) if (
|
|
2448
|
+
for (r = n; r-- !== 0;) if (!$i(e[r], t[r])) return !1;
|
|
2449
2449
|
return !0;
|
|
2450
2450
|
}
|
|
2451
2451
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2452
2452
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2453
2453
|
for (r = n; r-- !== 0;) {
|
|
2454
2454
|
let n = i[r];
|
|
2455
|
-
if (!(n === "_owner" && e.$$typeof) &&
|
|
2455
|
+
if (!(n === "_owner" && e.$$typeof) && !$i(e[n], t[n])) return !1;
|
|
2456
2456
|
}
|
|
2457
2457
|
return !0;
|
|
2458
2458
|
}
|
|
2459
2459
|
return e !== e && t !== t;
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2461
|
+
function ea(e) {
|
|
2462
2462
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2465
|
-
let n =
|
|
2464
|
+
function ta(e, t) {
|
|
2465
|
+
let n = ea(e);
|
|
2466
2466
|
return Math.round(t * n) / n;
|
|
2467
2467
|
}
|
|
2468
|
-
function
|
|
2468
|
+
function na(e) {
|
|
2469
2469
|
let t = P.useRef(e);
|
|
2470
|
-
return
|
|
2470
|
+
return Qi(() => {
|
|
2471
2471
|
t.current = e;
|
|
2472
2472
|
}), t;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2474
|
+
function ra(e) {
|
|
2475
2475
|
e === void 0 && (e = {});
|
|
2476
2476
|
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] = P.useState({
|
|
2477
2477
|
x: 0,
|
|
@@ -2481,24 +2481,24 @@ function ia(e) {
|
|
|
2481
2481
|
middlewareData: {},
|
|
2482
2482
|
isPositioned: !1
|
|
2483
2483
|
}), [f, p] = P.useState(r);
|
|
2484
|
-
|
|
2484
|
+
$i(f, r) || p(r);
|
|
2485
2485
|
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2486
2486
|
e !== S.current && (S.current = e, h(e));
|
|
2487
2487
|
}, []), y = P.useCallback((e) => {
|
|
2488
2488
|
e !== C.current && (C.current = e, _(e));
|
|
2489
|
-
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee =
|
|
2489
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = na(c), E = na(i), D = na(l), O = P.useCallback(() => {
|
|
2490
2490
|
if (!S.current || !C.current) return;
|
|
2491
2491
|
let e = {
|
|
2492
2492
|
placement: t,
|
|
2493
2493
|
strategy: n,
|
|
2494
2494
|
middleware: f
|
|
2495
2495
|
};
|
|
2496
|
-
E.current && (e.platform = E.current),
|
|
2496
|
+
E.current && (e.platform = E.current), Zi(S.current, C.current, e).then((e) => {
|
|
2497
2497
|
let t = {
|
|
2498
2498
|
...e,
|
|
2499
2499
|
isPositioned: D.current !== !1
|
|
2500
2500
|
};
|
|
2501
|
-
k.current &&
|
|
2501
|
+
k.current && !$i(w.current, t) && (w.current = t, pt.flushSync(() => {
|
|
2502
2502
|
d(t);
|
|
2503
2503
|
}));
|
|
2504
2504
|
});
|
|
@@ -2509,16 +2509,16 @@ function ia(e) {
|
|
|
2509
2509
|
E,
|
|
2510
2510
|
D
|
|
2511
2511
|
]);
|
|
2512
|
-
|
|
2512
|
+
Qi(() => {
|
|
2513
2513
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2514
2514
|
...e,
|
|
2515
2515
|
isPositioned: !1
|
|
2516
2516
|
})));
|
|
2517
2517
|
}, [l]);
|
|
2518
2518
|
let k = P.useRef(!1);
|
|
2519
|
-
|
|
2519
|
+
Qi(() => (k.current = !0, () => {
|
|
2520
2520
|
k.current = !1;
|
|
2521
|
-
}), []),
|
|
2521
|
+
}), []), Qi(() => {
|
|
2522
2522
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2523
2523
|
if (ee.current) return ee.current(b, x, O);
|
|
2524
2524
|
O();
|
|
@@ -2545,11 +2545,11 @@ function ia(e) {
|
|
|
2545
2545
|
top: 0
|
|
2546
2546
|
};
|
|
2547
2547
|
if (!j.floating) return e;
|
|
2548
|
-
let t =
|
|
2548
|
+
let t = ta(j.floating, u.x), r = ta(j.floating, u.y);
|
|
2549
2549
|
return s ? {
|
|
2550
2550
|
...e,
|
|
2551
2551
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2552
|
-
...
|
|
2552
|
+
...ea(j.floating) >= 1.5 && { willChange: "transform" }
|
|
2553
2553
|
} : {
|
|
2554
2554
|
position: n,
|
|
2555
2555
|
left: t,
|
|
@@ -2576,7 +2576,7 @@ function ia(e) {
|
|
|
2576
2576
|
M
|
|
2577
2577
|
]);
|
|
2578
2578
|
}
|
|
2579
|
-
var
|
|
2579
|
+
var ia = (e) => {
|
|
2580
2580
|
function t(e) {
|
|
2581
2581
|
return {}.hasOwnProperty.call(e, "current");
|
|
2582
2582
|
}
|
|
@@ -2585,15 +2585,22 @@ var aa = (e) => {
|
|
|
2585
2585
|
options: e,
|
|
2586
2586
|
fn(n) {
|
|
2587
2587
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2588
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2588
|
+
return r && t(r) ? r.current == null ? {} : Yi({
|
|
2589
2589
|
element: r.current,
|
|
2590
2590
|
padding: i
|
|
2591
|
-
}).fn(n) : r ?
|
|
2591
|
+
}).fn(n) : r ? Yi({
|
|
2592
2592
|
element: r,
|
|
2593
2593
|
padding: i
|
|
2594
2594
|
}).fn(n) : {};
|
|
2595
2595
|
}
|
|
2596
2596
|
};
|
|
2597
|
+
}, aa = (e, t) => {
|
|
2598
|
+
let n = Wi(e);
|
|
2599
|
+
return {
|
|
2600
|
+
name: n.name,
|
|
2601
|
+
fn: n.fn,
|
|
2602
|
+
options: [e, t]
|
|
2603
|
+
};
|
|
2597
2604
|
}, oa = (e, t) => {
|
|
2598
2605
|
let n = Gi(e);
|
|
2599
2606
|
return {
|
|
@@ -2601,17 +2608,17 @@ var aa = (e) => {
|
|
|
2601
2608
|
fn: n.fn,
|
|
2602
2609
|
options: [e, t]
|
|
2603
2610
|
};
|
|
2604
|
-
}, sa = (e, t) => {
|
|
2611
|
+
}, sa = (e, t) => ({
|
|
2612
|
+
fn: Xi(e).fn,
|
|
2613
|
+
options: [e, t]
|
|
2614
|
+
}), ca = (e, t) => {
|
|
2605
2615
|
let n = Ki(e);
|
|
2606
2616
|
return {
|
|
2607
2617
|
name: n.name,
|
|
2608
2618
|
fn: n.fn,
|
|
2609
2619
|
options: [e, t]
|
|
2610
2620
|
};
|
|
2611
|
-
},
|
|
2612
|
-
fn: Zi(e).fn,
|
|
2613
|
-
options: [e, t]
|
|
2614
|
-
}), la = (e, t) => {
|
|
2621
|
+
}, la = (e, t) => {
|
|
2615
2622
|
let n = qi(e);
|
|
2616
2623
|
return {
|
|
2617
2624
|
name: n.name,
|
|
@@ -2626,20 +2633,13 @@ var aa = (e) => {
|
|
|
2626
2633
|
options: [e, t]
|
|
2627
2634
|
};
|
|
2628
2635
|
}, da = (e, t) => {
|
|
2629
|
-
let n =
|
|
2630
|
-
return {
|
|
2631
|
-
name: n.name,
|
|
2632
|
-
fn: n.fn,
|
|
2633
|
-
options: [e, t]
|
|
2634
|
-
};
|
|
2635
|
-
}, fa = (e, t) => {
|
|
2636
|
-
let n = aa(e);
|
|
2636
|
+
let n = ia(e);
|
|
2637
2637
|
return {
|
|
2638
2638
|
name: n.name,
|
|
2639
2639
|
fn: n.fn,
|
|
2640
2640
|
options: [e, t]
|
|
2641
2641
|
};
|
|
2642
|
-
},
|
|
2642
|
+
}, fa = "Arrow", pa = P.forwardRef((e, t) => {
|
|
2643
2643
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2644
2644
|
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2645
2645
|
...a,
|
|
@@ -2651,13 +2651,13 @@ var aa = (e) => {
|
|
|
2651
2651
|
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2652
2652
|
});
|
|
2653
2653
|
});
|
|
2654
|
-
|
|
2655
|
-
var
|
|
2654
|
+
pa.displayName = fa;
|
|
2655
|
+
var ma = pa;
|
|
2656
2656
|
//#endregion
|
|
2657
2657
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2658
|
-
function
|
|
2658
|
+
function ha(e) {
|
|
2659
2659
|
let [t, n] = P.useState(void 0);
|
|
2660
|
-
return
|
|
2660
|
+
return or(() => {
|
|
2661
2661
|
if (e) {
|
|
2662
2662
|
n({
|
|
2663
2663
|
width: e.offsetWidth,
|
|
@@ -2681,18 +2681,18 @@ function ga(e) {
|
|
|
2681
2681
|
}
|
|
2682
2682
|
//#endregion
|
|
2683
2683
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2684
|
-
var
|
|
2684
|
+
var ga = "Popper", [_a, va] = vn(ga), [ya, ba] = _a(ga), xa = (e) => {
|
|
2685
2685
|
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2686
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
2686
|
+
return /* @__PURE__ */ (0, F.jsx)(ya, {
|
|
2687
2687
|
scope: t,
|
|
2688
2688
|
anchor: r,
|
|
2689
2689
|
onAnchorChange: i,
|
|
2690
2690
|
children: n
|
|
2691
2691
|
});
|
|
2692
2692
|
};
|
|
2693
|
-
|
|
2694
|
-
var
|
|
2695
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2693
|
+
xa.displayName = ga;
|
|
2694
|
+
var Sa = "PopperAnchor", Ca = P.forwardRef((e, t) => {
|
|
2695
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ba(Sa, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2696
2696
|
return P.useEffect(() => {
|
|
2697
2697
|
let e = c.current;
|
|
2698
2698
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2701,9 +2701,9 @@ var Ca = "PopperAnchor", wa = P.forwardRef((e, t) => {
|
|
|
2701
2701
|
ref: s
|
|
2702
2702
|
});
|
|
2703
2703
|
});
|
|
2704
|
-
|
|
2705
|
-
var
|
|
2706
|
-
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 =
|
|
2704
|
+
Ca.displayName = Sa;
|
|
2705
|
+
var wa = "PopperContent", [Ta, Ea] = _a(wa), Da = P.forwardRef((e, t) => {
|
|
2706
|
+
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 = ba(wa, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ha(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2707
2707
|
top: 0,
|
|
2708
2708
|
right: 0,
|
|
2709
2709
|
bottom: 0,
|
|
@@ -2711,51 +2711,51 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = P.forwardRef((e, t) => {
|
|
|
2711
2711
|
...u
|
|
2712
2712
|
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2713
2713
|
padding: ee,
|
|
2714
|
-
boundary: E.filter(
|
|
2714
|
+
boundary: E.filter(ja),
|
|
2715
2715
|
altBoundary: D
|
|
2716
|
-
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData: te } =
|
|
2716
|
+
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData: te } = ra({
|
|
2717
2717
|
strategy: "fixed",
|
|
2718
2718
|
placement: T,
|
|
2719
|
-
whileElementsMounted: (...e) =>
|
|
2719
|
+
whileElementsMounted: (...e) => Ui(...e, { animationFrame: p === "always" }),
|
|
2720
2720
|
elements: { reference: g.anchor },
|
|
2721
2721
|
middleware: [
|
|
2722
|
-
|
|
2722
|
+
aa({
|
|
2723
2723
|
mainAxis: i + w,
|
|
2724
2724
|
alignmentAxis: o
|
|
2725
2725
|
}),
|
|
2726
|
-
c &&
|
|
2726
|
+
c && oa({
|
|
2727
2727
|
mainAxis: !0,
|
|
2728
2728
|
crossAxis: !1,
|
|
2729
|
-
limiter: d === "partial" ?
|
|
2729
|
+
limiter: d === "partial" ? sa() : void 0,
|
|
2730
2730
|
...O
|
|
2731
2731
|
}),
|
|
2732
|
-
c &&
|
|
2733
|
-
|
|
2732
|
+
c && ca({ ...O }),
|
|
2733
|
+
la({
|
|
2734
2734
|
...O,
|
|
2735
2735
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2736
2736
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2737
2737
|
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`);
|
|
2738
2738
|
}
|
|
2739
2739
|
}),
|
|
2740
|
-
b &&
|
|
2740
|
+
b && da({
|
|
2741
2741
|
element: b,
|
|
2742
2742
|
padding: s
|
|
2743
2743
|
}),
|
|
2744
|
-
|
|
2744
|
+
Ma({
|
|
2745
2745
|
arrowWidth: C,
|
|
2746
2746
|
arrowHeight: w
|
|
2747
2747
|
}),
|
|
2748
|
-
f &&
|
|
2748
|
+
f && ua({
|
|
2749
2749
|
strategy: "referenceHidden",
|
|
2750
2750
|
...O
|
|
2751
2751
|
})
|
|
2752
2752
|
]
|
|
2753
|
-
}), [ne, re] =
|
|
2754
|
-
|
|
2753
|
+
}), [ne, re] = Na(j), ie = Dn(m);
|
|
2754
|
+
or(() => {
|
|
2755
2755
|
M && ie?.();
|
|
2756
2756
|
}, [M, ie]);
|
|
2757
2757
|
let ae = te.arrow?.x, oe = te.arrow?.y, se = te.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2758
|
-
return
|
|
2758
|
+
return or(() => {
|
|
2759
2759
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2760
2760
|
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2761
2761
|
ref: k.setFloating,
|
|
@@ -2772,7 +2772,7 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = P.forwardRef((e, t) => {
|
|
|
2772
2772
|
}
|
|
2773
2773
|
},
|
|
2774
2774
|
dir: e.dir,
|
|
2775
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2775
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ta, {
|
|
2776
2776
|
scope: n,
|
|
2777
2777
|
placedSide: ne,
|
|
2778
2778
|
onArrowChange: x,
|
|
@@ -2792,14 +2792,14 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = P.forwardRef((e, t) => {
|
|
|
2792
2792
|
})
|
|
2793
2793
|
});
|
|
2794
2794
|
});
|
|
2795
|
-
|
|
2796
|
-
var
|
|
2795
|
+
Da.displayName = wa;
|
|
2796
|
+
var Oa = "PopperArrow", ka = {
|
|
2797
2797
|
top: "bottom",
|
|
2798
2798
|
right: "left",
|
|
2799
2799
|
bottom: "top",
|
|
2800
2800
|
left: "right"
|
|
2801
|
-
},
|
|
2802
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2801
|
+
}, Aa = P.forwardRef(function(e, t) {
|
|
2802
|
+
let { __scopePopper: n, ...r } = e, i = Ea(Oa, n), a = ka[i.placedSide];
|
|
2803
2803
|
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2804
2804
|
ref: i.onArrowChange,
|
|
2805
2805
|
style: {
|
|
@@ -2821,7 +2821,7 @@ var ka = "PopperArrow", Aa = {
|
|
|
2821
2821
|
}[i.placedSide],
|
|
2822
2822
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2823
2823
|
},
|
|
2824
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2824
|
+
children: /* @__PURE__ */ (0, F.jsx)(ma, {
|
|
2825
2825
|
...r,
|
|
2826
2826
|
ref: t,
|
|
2827
2827
|
style: {
|
|
@@ -2831,15 +2831,15 @@ var ka = "PopperArrow", Aa = {
|
|
|
2831
2831
|
})
|
|
2832
2832
|
});
|
|
2833
2833
|
});
|
|
2834
|
-
|
|
2835
|
-
function
|
|
2834
|
+
Aa.displayName = Oa;
|
|
2835
|
+
function ja(e) {
|
|
2836
2836
|
return e !== null;
|
|
2837
2837
|
}
|
|
2838
|
-
var
|
|
2838
|
+
var Ma = (e) => ({
|
|
2839
2839
|
name: "transformOrigin",
|
|
2840
2840
|
options: e,
|
|
2841
2841
|
fn(t) {
|
|
2842
|
-
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] =
|
|
2842
|
+
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] = Na(n), u = {
|
|
2843
2843
|
start: "0%",
|
|
2844
2844
|
center: "50%",
|
|
2845
2845
|
end: "100%"
|
|
@@ -2850,32 +2850,32 @@ var Na = (e) => ({
|
|
|
2850
2850
|
} };
|
|
2851
2851
|
}
|
|
2852
2852
|
});
|
|
2853
|
-
function
|
|
2853
|
+
function Na(e) {
|
|
2854
2854
|
let [t, n = "center"] = e.split("-");
|
|
2855
2855
|
return [t, n];
|
|
2856
2856
|
}
|
|
2857
|
-
var
|
|
2857
|
+
var Pa = xa, Fa = Ca, Ia = Da, La = Aa, Ra = "Portal", za = P.forwardRef((e, t) => {
|
|
2858
2858
|
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2859
|
-
|
|
2859
|
+
or(() => a(!0), []);
|
|
2860
2860
|
let o = n || i && globalThis?.document?.body;
|
|
2861
2861
|
return o ? pt.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2862
2862
|
...r,
|
|
2863
2863
|
ref: t
|
|
2864
2864
|
}), o) : null;
|
|
2865
2865
|
});
|
|
2866
|
-
|
|
2866
|
+
za.displayName = Ra;
|
|
2867
2867
|
//#endregion
|
|
2868
2868
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2869
|
-
function
|
|
2869
|
+
function Ba(e, t) {
|
|
2870
2870
|
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2871
2871
|
}
|
|
2872
|
-
var
|
|
2873
|
-
let { present: t, children: n } = e, r =
|
|
2872
|
+
var Va = (e) => {
|
|
2873
|
+
let { present: t, children: n } = e, r = Ha(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Wa(i));
|
|
2874
2874
|
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2875
2875
|
};
|
|
2876
|
-
|
|
2877
|
-
function
|
|
2878
|
-
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] =
|
|
2876
|
+
Va.displayName = "Presence";
|
|
2877
|
+
function Ha(e) {
|
|
2878
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Ba(e ? "mounted" : "unmounted", {
|
|
2879
2879
|
mounted: {
|
|
2880
2880
|
UNMOUNT: "unmounted",
|
|
2881
2881
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2887,18 +2887,18 @@ function Ua(e) {
|
|
|
2887
2887
|
unmounted: { MOUNT: "mounted" }
|
|
2888
2888
|
});
|
|
2889
2889
|
return P.useEffect(() => {
|
|
2890
|
-
let e =
|
|
2890
|
+
let e = Ua(r.current);
|
|
2891
2891
|
a.current = o === "mounted" ? e : "none";
|
|
2892
|
-
}, [o]),
|
|
2892
|
+
}, [o]), or(() => {
|
|
2893
2893
|
let t = r.current, n = i.current;
|
|
2894
2894
|
if (n !== e) {
|
|
2895
|
-
let r = a.current, o =
|
|
2895
|
+
let r = a.current, o = Ua(t);
|
|
2896
2896
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2897
2897
|
}
|
|
2898
|
-
}, [e, s]),
|
|
2898
|
+
}, [e, s]), or(() => {
|
|
2899
2899
|
if (t) {
|
|
2900
2900
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2901
|
-
let o =
|
|
2901
|
+
let o = Ua(r.current).includes(CSS.escape(a.animationName));
|
|
2902
2902
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2903
2903
|
let r = t.style.animationFillMode;
|
|
2904
2904
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2906,7 +2906,7 @@ function Ua(e) {
|
|
|
2906
2906
|
});
|
|
2907
2907
|
}
|
|
2908
2908
|
}, c = (e) => {
|
|
2909
|
-
e.target === t && (a.current =
|
|
2909
|
+
e.target === t && (a.current = Ua(r.current));
|
|
2910
2910
|
};
|
|
2911
2911
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2912
2912
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2919,18 +2919,18 @@ function Ua(e) {
|
|
|
2919
2919
|
}, [])
|
|
2920
2920
|
};
|
|
2921
2921
|
}
|
|
2922
|
-
function
|
|
2922
|
+
function Ua(e) {
|
|
2923
2923
|
return e?.animationName || "none";
|
|
2924
2924
|
}
|
|
2925
|
-
function
|
|
2925
|
+
function Wa(e) {
|
|
2926
2926
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2927
2927
|
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);
|
|
2928
2928
|
}
|
|
2929
2929
|
//#endregion
|
|
2930
2930
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2931
|
-
var
|
|
2932
|
-
function
|
|
2933
|
-
let [i, a, o] =
|
|
2931
|
+
var Ga = P.useInsertionEffect || or;
|
|
2932
|
+
function Ka({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2933
|
+
let [i, a, o] = qa({
|
|
2934
2934
|
defaultProp: t,
|
|
2935
2935
|
onChange: n
|
|
2936
2936
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2943,7 +2943,7 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2943
2943
|
}
|
|
2944
2944
|
return [c, P.useCallback((t) => {
|
|
2945
2945
|
if (s) {
|
|
2946
|
-
let n =
|
|
2946
|
+
let n = Ja(t) ? t(e) : t;
|
|
2947
2947
|
n !== e && o.current?.(n);
|
|
2948
2948
|
} else a(t);
|
|
2949
2949
|
}, [
|
|
@@ -2953,9 +2953,9 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2953
2953
|
o
|
|
2954
2954
|
])];
|
|
2955
2955
|
}
|
|
2956
|
-
function
|
|
2956
|
+
function qa({ defaultProp: e, onChange: t }) {
|
|
2957
2957
|
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2958
|
-
return
|
|
2958
|
+
return Ga(() => {
|
|
2959
2959
|
a.current = t;
|
|
2960
2960
|
}, [t]), P.useEffect(() => {
|
|
2961
2961
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2965,27 +2965,27 @@ function Ja({ defaultProp: e, onChange: t }) {
|
|
|
2965
2965
|
a
|
|
2966
2966
|
];
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2968
|
+
function Ja(e) {
|
|
2969
2969
|
return typeof e == "function";
|
|
2970
2970
|
}
|
|
2971
2971
|
//#endregion
|
|
2972
2972
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2973
|
-
var
|
|
2973
|
+
var Ya = function(e) {
|
|
2974
2974
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2975
|
-
},
|
|
2976
|
-
return e && (e.host ||
|
|
2977
|
-
},
|
|
2975
|
+
}, Xa = /* @__PURE__ */ new WeakMap(), Za = /* @__PURE__ */ new WeakMap(), Qa = {}, $a = 0, eo = function(e) {
|
|
2976
|
+
return e && (e.host || eo(e.parentNode));
|
|
2977
|
+
}, to = function(e, t) {
|
|
2978
2978
|
return t.map(function(t) {
|
|
2979
2979
|
if (e.contains(t)) return t;
|
|
2980
|
-
var n =
|
|
2980
|
+
var n = eo(t);
|
|
2981
2981
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2982
2982
|
}).filter(function(e) {
|
|
2983
2983
|
return !!e;
|
|
2984
2984
|
});
|
|
2985
|
-
},
|
|
2986
|
-
var i =
|
|
2987
|
-
|
|
2988
|
-
var a =
|
|
2985
|
+
}, no = function(e, t, n, r) {
|
|
2986
|
+
var i = to(t, Array.isArray(e) ? e : [e]);
|
|
2987
|
+
Qa[n] || (Qa[n] = /* @__PURE__ */ new WeakMap());
|
|
2988
|
+
var a = Qa[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2989
2989
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
2990
2990
|
};
|
|
2991
2991
|
i.forEach(l);
|
|
@@ -2993,38 +2993,38 @@ var Xa = function(e) {
|
|
|
2993
2993
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
2994
2994
|
if (s.has(e)) u(e);
|
|
2995
2995
|
else try {
|
|
2996
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
2997
|
-
|
|
2996
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Xa.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
2997
|
+
Xa.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Za.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
2998
2998
|
} catch (t) {
|
|
2999
2999
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3000
3000
|
}
|
|
3001
3001
|
});
|
|
3002
3002
|
};
|
|
3003
|
-
return u(t), s.clear(),
|
|
3003
|
+
return u(t), s.clear(), $a++, function() {
|
|
3004
3004
|
o.forEach(function(e) {
|
|
3005
|
-
var t =
|
|
3006
|
-
|
|
3007
|
-
}),
|
|
3005
|
+
var t = Xa.get(e) - 1, i = a.get(e) - 1;
|
|
3006
|
+
Xa.set(e, t), a.set(e, i), t || (Za.has(e) || e.removeAttribute(r), Za.delete(e)), i || e.removeAttribute(n);
|
|
3007
|
+
}), $a--, $a || (Xa = /* @__PURE__ */ new WeakMap(), Xa = /* @__PURE__ */ new WeakMap(), Za = /* @__PURE__ */ new WeakMap(), Qa = {});
|
|
3008
3008
|
};
|
|
3009
|
-
},
|
|
3009
|
+
}, ro = function(e, t, n) {
|
|
3010
3010
|
n === void 0 && (n = "data-aria-hidden");
|
|
3011
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3012
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3011
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Ya(e);
|
|
3012
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), no(r, i, n, "aria-hidden")) : function() {
|
|
3013
3013
|
return null;
|
|
3014
3014
|
};
|
|
3015
|
-
},
|
|
3016
|
-
return
|
|
3015
|
+
}, $ = function() {
|
|
3016
|
+
return $ = Object.assign || function(e) {
|
|
3017
3017
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
3018
3018
|
return e;
|
|
3019
|
-
},
|
|
3019
|
+
}, $.apply(this, arguments);
|
|
3020
3020
|
};
|
|
3021
|
-
function
|
|
3021
|
+
function io(e, t) {
|
|
3022
3022
|
var n = {};
|
|
3023
3023
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3024
3024
|
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]]);
|
|
3025
3025
|
return n;
|
|
3026
3026
|
}
|
|
3027
|
-
function
|
|
3027
|
+
function ao(e, t, n, r) {
|
|
3028
3028
|
function i(e) {
|
|
3029
3029
|
return e instanceof n ? e : new n(function(t) {
|
|
3030
3030
|
t(e);
|
|
@@ -3051,7 +3051,7 @@ function oo(e, t, n, r) {
|
|
|
3051
3051
|
c((r = r.apply(e, t || [])).next());
|
|
3052
3052
|
});
|
|
3053
3053
|
}
|
|
3054
|
-
function
|
|
3054
|
+
function oo(e, t) {
|
|
3055
3055
|
var n = {
|
|
3056
3056
|
label: 0,
|
|
3057
3057
|
sent: function() {
|
|
@@ -3121,7 +3121,7 @@ function so(e, t) {
|
|
|
3121
3121
|
};
|
|
3122
3122
|
}
|
|
3123
3123
|
}
|
|
3124
|
-
function
|
|
3124
|
+
function so(e, t) {
|
|
3125
3125
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3126
3126
|
if (!n) return e;
|
|
3127
3127
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3138,25 +3138,25 @@ function co(e, t) {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
return a;
|
|
3140
3140
|
}
|
|
3141
|
-
function
|
|
3142
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3141
|
+
function co() {
|
|
3142
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(so(arguments[t]));
|
|
3143
3143
|
return e;
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3145
|
+
function lo(e, t, n) {
|
|
3146
3146
|
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]);
|
|
3147
3147
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3148
3148
|
}
|
|
3149
3149
|
//#endregion
|
|
3150
3150
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3151
|
-
var
|
|
3151
|
+
var uo = "right-scroll-bar-position", fo = "width-before-scroll-bar", po = "with-scroll-bars-hidden", mo = "--removed-body-scroll-bar-size";
|
|
3152
3152
|
//#endregion
|
|
3153
3153
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3154
|
-
function
|
|
3154
|
+
function ho(e, t) {
|
|
3155
3155
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3156
3156
|
}
|
|
3157
3157
|
//#endregion
|
|
3158
3158
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3159
|
-
function
|
|
3159
|
+
function go(e, t) {
|
|
3160
3160
|
var n = (0, P.useState)(function() {
|
|
3161
3161
|
return {
|
|
3162
3162
|
value: e,
|
|
@@ -3176,33 +3176,33 @@ function _o(e, t) {
|
|
|
3176
3176
|
}
|
|
3177
3177
|
//#endregion
|
|
3178
3178
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3179
|
-
var
|
|
3180
|
-
function
|
|
3181
|
-
var n =
|
|
3179
|
+
var _o = typeof window < "u" ? P.useLayoutEffect : P.useEffect, vo = /* @__PURE__ */ new WeakMap();
|
|
3180
|
+
function yo(e, t) {
|
|
3181
|
+
var n = go(t || null, function(t) {
|
|
3182
3182
|
return e.forEach(function(e) {
|
|
3183
|
-
return
|
|
3183
|
+
return ho(e, t);
|
|
3184
3184
|
});
|
|
3185
3185
|
});
|
|
3186
|
-
return
|
|
3187
|
-
var t =
|
|
3186
|
+
return _o(function() {
|
|
3187
|
+
var t = vo.get(n);
|
|
3188
3188
|
if (t) {
|
|
3189
3189
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3190
3190
|
r.forEach(function(e) {
|
|
3191
|
-
i.has(e) ||
|
|
3191
|
+
i.has(e) || ho(e, null);
|
|
3192
3192
|
}), i.forEach(function(e) {
|
|
3193
|
-
r.has(e) ||
|
|
3193
|
+
r.has(e) || ho(e, a);
|
|
3194
3194
|
});
|
|
3195
3195
|
}
|
|
3196
|
-
|
|
3196
|
+
vo.set(n, e);
|
|
3197
3197
|
}, [e]), n;
|
|
3198
3198
|
}
|
|
3199
3199
|
//#endregion
|
|
3200
3200
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3201
|
-
function
|
|
3201
|
+
function bo(e) {
|
|
3202
3202
|
return e;
|
|
3203
3203
|
}
|
|
3204
|
-
function
|
|
3205
|
-
t === void 0 && (t =
|
|
3204
|
+
function xo(e, t) {
|
|
3205
|
+
t === void 0 && (t = bo);
|
|
3206
3206
|
var n = [], r = !1;
|
|
3207
3207
|
return {
|
|
3208
3208
|
read: function() {
|
|
@@ -3255,35 +3255,35 @@ function So(e, t) {
|
|
|
3255
3255
|
}
|
|
3256
3256
|
};
|
|
3257
3257
|
}
|
|
3258
|
-
function
|
|
3258
|
+
function So(e) {
|
|
3259
3259
|
e === void 0 && (e = {});
|
|
3260
|
-
var t =
|
|
3261
|
-
return t.options =
|
|
3260
|
+
var t = xo(null);
|
|
3261
|
+
return t.options = $({
|
|
3262
3262
|
async: !0,
|
|
3263
3263
|
ssr: !1
|
|
3264
3264
|
}, e), t;
|
|
3265
3265
|
}
|
|
3266
3266
|
//#endregion
|
|
3267
3267
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3268
|
-
var
|
|
3269
|
-
var t = e.sideCar, n =
|
|
3268
|
+
var Co = function(e) {
|
|
3269
|
+
var t = e.sideCar, n = io(e, ["sideCar"]);
|
|
3270
3270
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3271
3271
|
var r = t.read();
|
|
3272
3272
|
if (!r) throw Error("Sidecar medium not found");
|
|
3273
|
-
return P.createElement(r,
|
|
3273
|
+
return P.createElement(r, $({}, n));
|
|
3274
3274
|
};
|
|
3275
|
-
|
|
3276
|
-
function
|
|
3277
|
-
return e.useMedium(t),
|
|
3275
|
+
Co.isSideCarExport = !0;
|
|
3276
|
+
function wo(e, t) {
|
|
3277
|
+
return e.useMedium(t), Co;
|
|
3278
3278
|
}
|
|
3279
3279
|
//#endregion
|
|
3280
3280
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3281
|
-
var
|
|
3281
|
+
var To = So(), Eo = function() {}, Do = P.forwardRef(function(e, t) {
|
|
3282
3282
|
var n = P.useRef(null), r = P.useState({
|
|
3283
|
-
onScrollCapture:
|
|
3284
|
-
onWheelCapture:
|
|
3285
|
-
onTouchMoveCapture:
|
|
3286
|
-
}), 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 =
|
|
3283
|
+
onScrollCapture: Eo,
|
|
3284
|
+
onWheelCapture: Eo,
|
|
3285
|
+
onTouchMoveCapture: Eo
|
|
3286
|
+
}), 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 = io(e, [
|
|
3287
3287
|
"forwardProps",
|
|
3288
3288
|
"children",
|
|
3289
3289
|
"className",
|
|
@@ -3297,9 +3297,9 @@ var Eo = Co(), Do = function() {}, Oo = P.forwardRef(function(e, t) {
|
|
|
3297
3297
|
"allowPinchZoom",
|
|
3298
3298
|
"as",
|
|
3299
3299
|
"gapMode"
|
|
3300
|
-
]), x = f, S =
|
|
3300
|
+
]), x = f, S = yo([n, t]), C = $($({}, b), i);
|
|
3301
3301
|
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3302
|
-
sideCar:
|
|
3302
|
+
sideCar: To,
|
|
3303
3303
|
removeScrollBar: l,
|
|
3304
3304
|
shards: d,
|
|
3305
3305
|
noRelative: p,
|
|
@@ -3309,52 +3309,52 @@ var Eo = Co(), Do = function() {}, Oo = P.forwardRef(function(e, t) {
|
|
|
3309
3309
|
allowPinchZoom: !!g,
|
|
3310
3310
|
lockRef: n,
|
|
3311
3311
|
gapMode: y
|
|
3312
|
-
}), o ? P.cloneElement(P.Children.only(s),
|
|
3312
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3313
3313
|
className: c,
|
|
3314
3314
|
ref: S
|
|
3315
3315
|
}), s));
|
|
3316
3316
|
});
|
|
3317
|
-
|
|
3317
|
+
Do.defaultProps = {
|
|
3318
3318
|
enabled: !0,
|
|
3319
3319
|
removeScrollBar: !0,
|
|
3320
3320
|
inert: !1
|
|
3321
|
-
},
|
|
3322
|
-
fullWidth:
|
|
3323
|
-
zeroRight:
|
|
3321
|
+
}, Do.classNames = {
|
|
3322
|
+
fullWidth: fo,
|
|
3323
|
+
zeroRight: uo
|
|
3324
3324
|
};
|
|
3325
3325
|
//#endregion
|
|
3326
3326
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3327
|
-
var
|
|
3328
|
-
if (
|
|
3327
|
+
var Oo, ko = function() {
|
|
3328
|
+
if (Oo) return Oo;
|
|
3329
3329
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3330
3330
|
};
|
|
3331
3331
|
//#endregion
|
|
3332
3332
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3333
|
-
function
|
|
3333
|
+
function Ao() {
|
|
3334
3334
|
if (!document) return null;
|
|
3335
3335
|
var e = document.createElement("style");
|
|
3336
3336
|
e.type = "text/css";
|
|
3337
|
-
var t =
|
|
3337
|
+
var t = ko();
|
|
3338
3338
|
return t && e.setAttribute("nonce", t), e;
|
|
3339
3339
|
}
|
|
3340
|
-
function
|
|
3340
|
+
function jo(e, t) {
|
|
3341
3341
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3342
3342
|
}
|
|
3343
|
-
function
|
|
3343
|
+
function Mo(e) {
|
|
3344
3344
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3345
3345
|
}
|
|
3346
|
-
var
|
|
3346
|
+
var No = function() {
|
|
3347
3347
|
var e = 0, t = null;
|
|
3348
3348
|
return {
|
|
3349
3349
|
add: function(n) {
|
|
3350
|
-
e == 0 && (t =
|
|
3350
|
+
e == 0 && (t = Ao()) && (jo(t, n), Mo(t)), e++;
|
|
3351
3351
|
},
|
|
3352
3352
|
remove: function() {
|
|
3353
3353
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3354
3354
|
}
|
|
3355
3355
|
};
|
|
3356
|
-
},
|
|
3357
|
-
var e =
|
|
3356
|
+
}, Po = function() {
|
|
3357
|
+
var e = No();
|
|
3358
3358
|
return function(t, n) {
|
|
3359
3359
|
P.useEffect(function() {
|
|
3360
3360
|
return e.add(t), function() {
|
|
@@ -3362,43 +3362,43 @@ var Po = function() {
|
|
|
3362
3362
|
};
|
|
3363
3363
|
}, [t && n]);
|
|
3364
3364
|
};
|
|
3365
|
-
},
|
|
3366
|
-
var e =
|
|
3365
|
+
}, Fo = function() {
|
|
3366
|
+
var e = Po();
|
|
3367
3367
|
return function(t) {
|
|
3368
3368
|
var n = t.styles, r = t.dynamic;
|
|
3369
3369
|
return e(n, r), null;
|
|
3370
3370
|
};
|
|
3371
|
-
},
|
|
3371
|
+
}, Io = {
|
|
3372
3372
|
left: 0,
|
|
3373
3373
|
top: 0,
|
|
3374
3374
|
right: 0,
|
|
3375
3375
|
gap: 0
|
|
3376
|
-
},
|
|
3376
|
+
}, Lo = function(e) {
|
|
3377
3377
|
return parseInt(e || "", 10) || 0;
|
|
3378
|
-
},
|
|
3378
|
+
}, Ro = function(e) {
|
|
3379
3379
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3380
3380
|
return [
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3381
|
+
Lo(n),
|
|
3382
|
+
Lo(r),
|
|
3383
|
+
Lo(i)
|
|
3384
3384
|
];
|
|
3385
|
-
},
|
|
3386
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3387
|
-
var t =
|
|
3385
|
+
}, zo = function(e) {
|
|
3386
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Io;
|
|
3387
|
+
var t = Ro(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3388
3388
|
return {
|
|
3389
3389
|
left: t[0],
|
|
3390
3390
|
top: t[1],
|
|
3391
3391
|
right: t[2],
|
|
3392
3392
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3393
3393
|
};
|
|
3394
|
-
},
|
|
3394
|
+
}, Bo = Fo(), Vo = "data-scroll-locked", Ho = function(e, t, n, r) {
|
|
3395
3395
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3396
3396
|
return n === void 0 && (n = "margin"), `
|
|
3397
|
-
.${
|
|
3397
|
+
.${po} {
|
|
3398
3398
|
overflow: hidden ${r};
|
|
3399
3399
|
padding-right: ${s}px ${r};
|
|
3400
3400
|
}
|
|
3401
|
-
body[${
|
|
3401
|
+
body[${Vo}] {
|
|
3402
3402
|
overflow: hidden ${r};
|
|
3403
3403
|
overscroll-behavior: contain;
|
|
3404
3404
|
${[
|
|
@@ -3415,122 +3415,122 @@ var Po = function() {
|
|
|
3415
3415
|
].filter(Boolean).join("")}
|
|
3416
3416
|
}
|
|
3417
3417
|
|
|
3418
|
-
.${
|
|
3418
|
+
.${uo} {
|
|
3419
3419
|
right: ${s}px ${r};
|
|
3420
3420
|
}
|
|
3421
3421
|
|
|
3422
|
-
.${
|
|
3422
|
+
.${fo} {
|
|
3423
3423
|
margin-right: ${s}px ${r};
|
|
3424
3424
|
}
|
|
3425
3425
|
|
|
3426
|
-
.${
|
|
3426
|
+
.${uo} .${uo} {
|
|
3427
3427
|
right: 0 ${r};
|
|
3428
3428
|
}
|
|
3429
3429
|
|
|
3430
|
-
.${
|
|
3430
|
+
.${fo} .${fo} {
|
|
3431
3431
|
margin-right: 0 ${r};
|
|
3432
3432
|
}
|
|
3433
3433
|
|
|
3434
|
-
body[${
|
|
3435
|
-
${
|
|
3434
|
+
body[${Vo}] {
|
|
3435
|
+
${mo}: ${s}px;
|
|
3436
3436
|
}
|
|
3437
3437
|
`;
|
|
3438
|
-
},
|
|
3438
|
+
}, Uo = function() {
|
|
3439
3439
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3440
3440
|
return isFinite(e) ? e : 0;
|
|
3441
|
-
},
|
|
3441
|
+
}, Wo = function() {
|
|
3442
3442
|
P.useEffect(function() {
|
|
3443
|
-
return document.body.setAttribute(
|
|
3444
|
-
var e =
|
|
3445
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3443
|
+
return document.body.setAttribute(Vo, (Uo() + 1).toString()), function() {
|
|
3444
|
+
var e = Uo() - 1;
|
|
3445
|
+
e <= 0 ? document.body.removeAttribute(Vo) : document.body.setAttribute(Vo, e.toString());
|
|
3446
3446
|
};
|
|
3447
3447
|
}, []);
|
|
3448
|
-
},
|
|
3448
|
+
}, Go = function(e) {
|
|
3449
3449
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3450
|
-
|
|
3450
|
+
Wo();
|
|
3451
3451
|
var a = P.useMemo(function() {
|
|
3452
|
-
return
|
|
3452
|
+
return zo(i);
|
|
3453
3453
|
}, [i]);
|
|
3454
|
-
return P.createElement(
|
|
3455
|
-
},
|
|
3454
|
+
return P.createElement(Bo, { styles: Ho(a, !t, i, n ? "" : "!important") });
|
|
3455
|
+
}, Ko = !1;
|
|
3456
3456
|
if (typeof window < "u") try {
|
|
3457
|
-
var
|
|
3458
|
-
return
|
|
3457
|
+
var qo = Object.defineProperty({}, "passive", { get: function() {
|
|
3458
|
+
return Ko = !0, !0;
|
|
3459
3459
|
} });
|
|
3460
|
-
window.addEventListener("test",
|
|
3460
|
+
window.addEventListener("test", qo, qo), window.removeEventListener("test", qo, qo);
|
|
3461
3461
|
} catch {
|
|
3462
|
-
|
|
3462
|
+
Ko = !1;
|
|
3463
3463
|
}
|
|
3464
|
-
var
|
|
3464
|
+
var Jo = Ko ? { passive: !1 } : !1, Yo = function(e) {
|
|
3465
3465
|
return e.tagName === "TEXTAREA";
|
|
3466
|
-
},
|
|
3466
|
+
}, Xo = function(e, t) {
|
|
3467
3467
|
if (!(e instanceof Element)) return !1;
|
|
3468
3468
|
var n = window.getComputedStyle(e);
|
|
3469
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3469
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Yo(e) && n[t] === "visible");
|
|
3470
|
+
}, Zo = function(e) {
|
|
3471
|
+
return Xo(e, "overflowY");
|
|
3470
3472
|
}, Qo = function(e) {
|
|
3471
|
-
return
|
|
3472
|
-
}, $o = function(e) {
|
|
3473
|
-
return Zo(e, "overflowX");
|
|
3474
|
-
}, es = function(e, t) {
|
|
3473
|
+
return Xo(e, "overflowX");
|
|
3474
|
+
}, $o = function(e, t) {
|
|
3475
3475
|
var n = t.ownerDocument, r = t;
|
|
3476
3476
|
do {
|
|
3477
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3478
|
-
var i =
|
|
3477
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), ns(e, r)) {
|
|
3478
|
+
var i = rs(e, r);
|
|
3479
3479
|
if (i[1] > i[2]) return !0;
|
|
3480
3480
|
}
|
|
3481
3481
|
r = r.parentNode;
|
|
3482
3482
|
} while (r && r !== n.body);
|
|
3483
3483
|
return !1;
|
|
3484
|
-
},
|
|
3484
|
+
}, es = function(e) {
|
|
3485
3485
|
return [
|
|
3486
3486
|
e.scrollTop,
|
|
3487
3487
|
e.scrollHeight,
|
|
3488
3488
|
e.clientHeight
|
|
3489
3489
|
];
|
|
3490
|
-
},
|
|
3490
|
+
}, ts = function(e) {
|
|
3491
3491
|
return [
|
|
3492
3492
|
e.scrollLeft,
|
|
3493
3493
|
e.scrollWidth,
|
|
3494
3494
|
e.clientWidth
|
|
3495
3495
|
];
|
|
3496
|
+
}, ns = function(e, t) {
|
|
3497
|
+
return e === "v" ? Zo(t) : Qo(t);
|
|
3496
3498
|
}, rs = function(e, t) {
|
|
3497
|
-
return e === "v" ?
|
|
3499
|
+
return e === "v" ? es(t) : ts(t);
|
|
3498
3500
|
}, is = function(e, t) {
|
|
3499
|
-
return e === "v" ? ts(t) : ns(t);
|
|
3500
|
-
}, as = function(e, t) {
|
|
3501
3501
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3502
|
-
},
|
|
3503
|
-
var a =
|
|
3502
|
+
}, as = function(e, t, n, r, i) {
|
|
3503
|
+
var a = is(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3504
3504
|
do {
|
|
3505
3505
|
if (!s) break;
|
|
3506
|
-
var p =
|
|
3507
|
-
(m || h) &&
|
|
3506
|
+
var p = rs(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3507
|
+
(m || h) && ns(e, s) && (d += h, f += m);
|
|
3508
3508
|
var g = s.parentNode;
|
|
3509
3509
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3510
3510
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3511
3511
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3512
|
-
},
|
|
3512
|
+
}, os = function(e) {
|
|
3513
3513
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3514
|
-
},
|
|
3514
|
+
}, ss = function(e) {
|
|
3515
3515
|
return [e.deltaX, e.deltaY];
|
|
3516
|
-
},
|
|
3516
|
+
}, cs = function(e) {
|
|
3517
3517
|
return e && "current" in e ? e.current : e;
|
|
3518
|
-
},
|
|
3518
|
+
}, ls = function(e, t) {
|
|
3519
3519
|
return e[0] === t[0] && e[1] === t[1];
|
|
3520
|
-
},
|
|
3520
|
+
}, us = function(e) {
|
|
3521
3521
|
return `
|
|
3522
3522
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3523
3523
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3524
3524
|
`;
|
|
3525
|
-
},
|
|
3526
|
-
function
|
|
3527
|
-
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(
|
|
3525
|
+
}, ds = 0, fs = [];
|
|
3526
|
+
function ps(e) {
|
|
3527
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(ds++)[0], a = P.useState(Fo)[0], o = P.useRef(e);
|
|
3528
3528
|
P.useEffect(function() {
|
|
3529
3529
|
o.current = e;
|
|
3530
3530
|
}, [e]), P.useEffect(function() {
|
|
3531
3531
|
if (e.inert) {
|
|
3532
3532
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3533
|
-
var t =
|
|
3533
|
+
var t = lo([e.lockRef.current], (e.shards || []).map(cs), !0).filter(Boolean);
|
|
3534
3534
|
return t.forEach(function(e) {
|
|
3535
3535
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3536
3536
|
}), function() {
|
|
@@ -3546,28 +3546,28 @@ function ms(e) {
|
|
|
3546
3546
|
]);
|
|
3547
3547
|
var s = P.useCallback(function(e, t) {
|
|
3548
3548
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3549
|
-
var i =
|
|
3549
|
+
var i = os(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";
|
|
3550
3550
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3551
3551
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3552
3552
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3553
|
-
var m =
|
|
3553
|
+
var m = $o(d, u);
|
|
3554
3554
|
if (!m) return !0;
|
|
3555
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3555
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = $o(d, u)), !m) return !1;
|
|
3556
3556
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3557
3557
|
var h = r.current || l;
|
|
3558
|
-
return
|
|
3558
|
+
return as(h, t, e, h === "h" ? s : c, !0);
|
|
3559
3559
|
}, []), c = P.useCallback(function(e) {
|
|
3560
3560
|
var n = e;
|
|
3561
|
-
if (!(!
|
|
3562
|
-
var r = "deltaY" in n ?
|
|
3563
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3561
|
+
if (!(!fs.length || fs[fs.length - 1] !== a)) {
|
|
3562
|
+
var r = "deltaY" in n ? ss(n) : os(n), i = t.current.filter(function(e) {
|
|
3563
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ls(e.delta, r);
|
|
3564
3564
|
})[0];
|
|
3565
3565
|
if (i && i.should) {
|
|
3566
3566
|
n.cancelable && n.preventDefault();
|
|
3567
3567
|
return;
|
|
3568
3568
|
}
|
|
3569
3569
|
if (!i) {
|
|
3570
|
-
var c = (o.current.shards || []).map(
|
|
3570
|
+
var c = (o.current.shards || []).map(cs).filter(Boolean).filter(function(e) {
|
|
3571
3571
|
return e.contains(n.target);
|
|
3572
3572
|
});
|
|
3573
3573
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3579,7 +3579,7 @@ function ms(e) {
|
|
|
3579
3579
|
delta: n,
|
|
3580
3580
|
target: r,
|
|
3581
3581
|
should: i,
|
|
3582
|
-
shadowParent:
|
|
3582
|
+
shadowParent: ms(r)
|
|
3583
3583
|
};
|
|
3584
3584
|
t.current.push(a), setTimeout(function() {
|
|
3585
3585
|
t.current = t.current.filter(function(e) {
|
|
@@ -3587,56 +3587,56 @@ function ms(e) {
|
|
|
3587
3587
|
});
|
|
3588
3588
|
}, 1);
|
|
3589
3589
|
}, []), u = P.useCallback(function(e) {
|
|
3590
|
-
n.current =
|
|
3590
|
+
n.current = os(e), r.current = void 0;
|
|
3591
3591
|
}, []), d = P.useCallback(function(t) {
|
|
3592
|
-
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3593
|
-
}, []), f = P.useCallback(function(t) {
|
|
3594
3592
|
l(t.type, ss(t), t.target, s(t, e.lockRef.current));
|
|
3593
|
+
}, []), f = P.useCallback(function(t) {
|
|
3594
|
+
l(t.type, os(t), t.target, s(t, e.lockRef.current));
|
|
3595
3595
|
}, []);
|
|
3596
3596
|
P.useEffect(function() {
|
|
3597
|
-
return
|
|
3597
|
+
return fs.push(a), e.setCallbacks({
|
|
3598
3598
|
onScrollCapture: d,
|
|
3599
3599
|
onWheelCapture: d,
|
|
3600
3600
|
onTouchMoveCapture: f
|
|
3601
|
-
}), document.addEventListener("wheel", c,
|
|
3602
|
-
|
|
3601
|
+
}), document.addEventListener("wheel", c, Jo), document.addEventListener("touchmove", c, Jo), document.addEventListener("touchstart", u, Jo), function() {
|
|
3602
|
+
fs = fs.filter(function(e) {
|
|
3603
3603
|
return e !== a;
|
|
3604
|
-
}), document.removeEventListener("wheel", c,
|
|
3604
|
+
}), document.removeEventListener("wheel", c, Jo), document.removeEventListener("touchmove", c, Jo), document.removeEventListener("touchstart", u, Jo);
|
|
3605
3605
|
};
|
|
3606
3606
|
}, []);
|
|
3607
3607
|
var p = e.removeScrollBar, m = e.inert;
|
|
3608
|
-
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles:
|
|
3608
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: us(i) }) : null, p ? P.createElement(Go, {
|
|
3609
3609
|
noRelative: e.noRelative,
|
|
3610
3610
|
gapMode: e.gapMode
|
|
3611
3611
|
}) : null);
|
|
3612
3612
|
}
|
|
3613
|
-
function
|
|
3613
|
+
function ms(e) {
|
|
3614
3614
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3615
3615
|
return t;
|
|
3616
3616
|
}
|
|
3617
3617
|
//#endregion
|
|
3618
3618
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3619
|
-
var
|
|
3620
|
-
return P.createElement(
|
|
3619
|
+
var hs = wo(To, ps), gs = P.forwardRef(function(e, t) {
|
|
3620
|
+
return P.createElement(Do, $({}, e, {
|
|
3621
3621
|
ref: t,
|
|
3622
|
-
sideCar:
|
|
3622
|
+
sideCar: hs
|
|
3623
3623
|
}));
|
|
3624
3624
|
});
|
|
3625
|
-
|
|
3625
|
+
gs.classNames = Do.classNames;
|
|
3626
3626
|
//#endregion
|
|
3627
3627
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3628
|
-
var
|
|
3629
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3628
|
+
var _s = "Popover", [vs, ys] = vn(_s, [va]), bs = va(), [xs, Ss] = vs(_s), Cs = (e) => {
|
|
3629
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = bs(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Ka({
|
|
3630
3630
|
prop: r,
|
|
3631
3631
|
defaultProp: i ?? !1,
|
|
3632
3632
|
onChange: a,
|
|
3633
|
-
caller:
|
|
3633
|
+
caller: _s
|
|
3634
3634
|
});
|
|
3635
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3635
|
+
return /* @__PURE__ */ (0, F.jsx)(Pa, {
|
|
3636
3636
|
...s,
|
|
3637
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3637
|
+
children: /* @__PURE__ */ (0, F.jsx)(xs, {
|
|
3638
3638
|
scope: t,
|
|
3639
|
-
contentId:
|
|
3639
|
+
contentId: lr(),
|
|
3640
3640
|
triggerRef: c,
|
|
3641
3641
|
open: d,
|
|
3642
3642
|
onOpenChange: f,
|
|
@@ -3649,10 +3649,10 @@ var vs = "Popover", [ys, bs] = vn(vs, [ya]), xs = ya(), [Ss, $] = ys(vs), Cs = (
|
|
|
3649
3649
|
})
|
|
3650
3650
|
});
|
|
3651
3651
|
};
|
|
3652
|
-
Cs.displayName =
|
|
3652
|
+
Cs.displayName = _s;
|
|
3653
3653
|
var ws = "PopoverAnchor", Ts = P.forwardRef((e, t) => {
|
|
3654
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3655
|
-
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(
|
|
3654
|
+
let { __scopePopover: n, ...r } = e, i = Ss(ws, n), a = bs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3655
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(Fa, {
|
|
3656
3656
|
...a,
|
|
3657
3657
|
...r,
|
|
3658
3658
|
ref: t
|
|
@@ -3660,7 +3660,7 @@ var ws = "PopoverAnchor", Ts = P.forwardRef((e, t) => {
|
|
|
3660
3660
|
});
|
|
3661
3661
|
Ts.displayName = ws;
|
|
3662
3662
|
var Es = "PopoverTrigger", Ds = P.forwardRef((e, t) => {
|
|
3663
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3663
|
+
let { __scopePopover: n, ...r } = e, i = Ss(Es, n), a = bs(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3664
3664
|
type: "button",
|
|
3665
3665
|
"aria-haspopup": "dialog",
|
|
3666
3666
|
"aria-expanded": i.open,
|
|
@@ -3670,21 +3670,21 @@ var Es = "PopoverTrigger", Ds = P.forwardRef((e, t) => {
|
|
|
3670
3670
|
ref: o,
|
|
3671
3671
|
onClick: z(e.onClick, i.onOpenToggle)
|
|
3672
3672
|
});
|
|
3673
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(
|
|
3673
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(Fa, {
|
|
3674
3674
|
asChild: !0,
|
|
3675
3675
|
...a,
|
|
3676
3676
|
children: s
|
|
3677
3677
|
});
|
|
3678
3678
|
});
|
|
3679
3679
|
Ds.displayName = Es;
|
|
3680
|
-
var Os = "PopoverPortal", [ks, As] =
|
|
3681
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3680
|
+
var Os = "PopoverPortal", [ks, As] = vs(Os, { forceMount: void 0 }), js = (e) => {
|
|
3681
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Ss(Os, t);
|
|
3682
3682
|
return /* @__PURE__ */ (0, F.jsx)(ks, {
|
|
3683
3683
|
scope: t,
|
|
3684
3684
|
forceMount: n,
|
|
3685
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3685
|
+
children: /* @__PURE__ */ (0, F.jsx)(Va, {
|
|
3686
3686
|
present: n || a.open,
|
|
3687
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3687
|
+
children: /* @__PURE__ */ (0, F.jsx)(za, {
|
|
3688
3688
|
asChild: !0,
|
|
3689
3689
|
container: i,
|
|
3690
3690
|
children: r
|
|
@@ -3694,8 +3694,8 @@ var Os = "PopoverPortal", [ks, As] = ys(Os, { forceMount: void 0 }), js = (e) =>
|
|
|
3694
3694
|
};
|
|
3695
3695
|
js.displayName = Os;
|
|
3696
3696
|
var Ms = "PopoverContent", Ns = P.forwardRef((e, t) => {
|
|
3697
|
-
let n = As(Ms, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a =
|
|
3698
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3697
|
+
let n = As(Ms, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Ss(Ms, e.__scopePopover);
|
|
3698
|
+
return /* @__PURE__ */ (0, F.jsx)(Va, {
|
|
3699
3699
|
present: r || a.open,
|
|
3700
3700
|
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(Fs, {
|
|
3701
3701
|
...i,
|
|
@@ -3708,11 +3708,11 @@ var Ms = "PopoverContent", Ns = P.forwardRef((e, t) => {
|
|
|
3708
3708
|
});
|
|
3709
3709
|
Ns.displayName = Ms;
|
|
3710
3710
|
var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e, t) => {
|
|
3711
|
-
let n =
|
|
3711
|
+
let n = Ss(Ms, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3712
3712
|
return P.useEffect(() => {
|
|
3713
3713
|
let e = r.current;
|
|
3714
|
-
if (e) return
|
|
3715
|
-
}, []), /* @__PURE__ */ (0, F.jsx)(
|
|
3714
|
+
if (e) return ro(e);
|
|
3715
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(gs, {
|
|
3716
3716
|
as: Ps,
|
|
3717
3717
|
allowPinchZoom: !0,
|
|
3718
3718
|
children: /* @__PURE__ */ (0, F.jsx)(Ls, {
|
|
@@ -3731,7 +3731,7 @@ var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e
|
|
|
3731
3731
|
})
|
|
3732
3732
|
});
|
|
3733
3733
|
}), Is = P.forwardRef((e, t) => {
|
|
3734
|
-
let n =
|
|
3734
|
+
let n = Ss(Ms, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3735
3735
|
return /* @__PURE__ */ (0, F.jsx)(Ls, {
|
|
3736
3736
|
...e,
|
|
3737
3737
|
ref: t,
|
|
@@ -3747,7 +3747,7 @@ var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e
|
|
|
3747
3747
|
}
|
|
3748
3748
|
});
|
|
3749
3749
|
}), Ls = P.forwardRef((e, t) => {
|
|
3750
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3750
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Ss(Ms, n), p = bs(n);
|
|
3751
3751
|
return Un(), /* @__PURE__ */ (0, F.jsx)(Yn, {
|
|
3752
3752
|
asChild: !0,
|
|
3753
3753
|
loop: !0,
|
|
@@ -3762,7 +3762,7 @@ var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e
|
|
|
3762
3762
|
onPointerDownOutside: c,
|
|
3763
3763
|
onFocusOutside: l,
|
|
3764
3764
|
onDismiss: () => f.onOpenChange(!1),
|
|
3765
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3765
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3766
3766
|
"data-state": Hs(f.open),
|
|
3767
3767
|
role: "dialog",
|
|
3768
3768
|
id: f.contentId,
|
|
@@ -3781,7 +3781,7 @@ var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e
|
|
|
3781
3781
|
})
|
|
3782
3782
|
});
|
|
3783
3783
|
}), Rs = "PopoverClose", zs = P.forwardRef((e, t) => {
|
|
3784
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3784
|
+
let { __scopePopover: n, ...r } = e, i = Ss(Rs, n);
|
|
3785
3785
|
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3786
3786
|
type: "button",
|
|
3787
3787
|
...r,
|
|
@@ -3791,8 +3791,8 @@ var Ps = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Fs = P.forwardRef((e
|
|
|
3791
3791
|
});
|
|
3792
3792
|
zs.displayName = Rs;
|
|
3793
3793
|
var Bs = "PopoverArrow", Vs = P.forwardRef((e, t) => {
|
|
3794
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3795
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3794
|
+
let { __scopePopover: n, ...r } = e, i = bs(n);
|
|
3795
|
+
return /* @__PURE__ */ (0, F.jsx)(La, {
|
|
3796
3796
|
...i,
|
|
3797
3797
|
...r,
|
|
3798
3798
|
ref: t
|
|
@@ -3817,7 +3817,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3817
3817
|
children: [e, /* @__PURE__ */ (0, F.jsx)(Ks, { className: "sid-popover__caret" })]
|
|
3818
3818
|
})]
|
|
3819
3819
|
}), Js = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3820
|
-
let n =
|
|
3820
|
+
let n = ve();
|
|
3821
3821
|
return /* @__PURE__ */ (0, F.jsx)(qs, {
|
|
3822
3822
|
initialVisibility: t,
|
|
3823
3823
|
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
@@ -3850,7 +3850,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3850
3850
|
]
|
|
3851
3851
|
}) : null;
|
|
3852
3852
|
}, Xs = (e) => e !== void 0, Zs = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3853
|
-
let { verificationResponse: n } = e, r = Xs(n) ?
|
|
3853
|
+
let { verificationResponse: n } = e, r = Xs(n) ? ze(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3854
3854
|
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3855
3855
|
className: "sid-personal-info-header",
|
|
3856
3856
|
children: /* @__PURE__ */ (0, F.jsxs)(hn, {
|
|
@@ -3901,7 +3901,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3901
3901
|
className: "sid sid-form-wrapper",
|
|
3902
3902
|
children: e
|
|
3903
3903
|
}), tc = ({ locale: r, messages: i, programTheme: a, verificationService: o, programId: s }) => {
|
|
3904
|
-
let c = tt(), d = x(), f =
|
|
3904
|
+
let c = tt(), d = x(), f = he() ?? a, p = ye(ue, me), m = (0, P.useMemo)(() => p ? {
|
|
3905
3905
|
...o.verificationResponse,
|
|
3906
3906
|
...p
|
|
3907
3907
|
} : o.verificationResponse, [p, o.verificationResponse]), h = (0, P.useMemo)(() => ({
|
|
@@ -3937,7 +3937,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3937
3937
|
key: h.verificationResponse.verificationId,
|
|
3938
3938
|
locale: h.verificationResponse.locale,
|
|
3939
3939
|
segment: h.verificationResponse.segment,
|
|
3940
|
-
installType:
|
|
3940
|
+
installType: Oe()
|
|
3941
3941
|
},
|
|
3942
3942
|
program: { key: s }
|
|
3943
3943
|
};
|
|
@@ -3948,7 +3948,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3948
3948
|
x()._launchDarklyFlagCb(y);
|
|
3949
3949
|
} catch {}
|
|
3950
3950
|
}, [y]);
|
|
3951
|
-
let b =
|
|
3951
|
+
let b = ye(ue, ge);
|
|
3952
3952
|
return /* @__PURE__ */ (0, F.jsx)(A, {
|
|
3953
3953
|
locale: "en",
|
|
3954
3954
|
messages: {
|
|
@@ -3985,13 +3985,13 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
3985
3985
|
document.addEventListener("keydown", (t) => {
|
|
3986
3986
|
if (t.key !== "Tab") return;
|
|
3987
3987
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3988
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3988
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Ae({
|
|
3989
3989
|
type: "focus",
|
|
3990
3990
|
focusOn: "firstElement"
|
|
3991
3991
|
}), t.preventDefault());
|
|
3992
3992
|
}), window.addEventListener("message", (t) => {
|
|
3993
3993
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3994
|
-
}),
|
|
3994
|
+
}), Ae({
|
|
3995
3995
|
type: "focus",
|
|
3996
3996
|
focusOn: "firstElement"
|
|
3997
3997
|
});
|
|
@@ -4005,10 +4005,10 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
4005
4005
|
super(t), e.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? e.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : e.info("No trackingId to associate with the verification request");
|
|
4006
4006
|
}
|
|
4007
4007
|
componentDidMount() {
|
|
4008
|
-
if (w(), rc(),
|
|
4008
|
+
if (w(), rc(), be((e) => {
|
|
4009
4009
|
switch (e.data.action) {
|
|
4010
4010
|
case "setViewModel":
|
|
4011
|
-
|
|
4011
|
+
Ke(e.data.viewModel, {
|
|
4012
4012
|
partial: !0,
|
|
4013
4013
|
metadataCheck: !0,
|
|
4014
4014
|
externalUserIdCheck: !0
|
|
@@ -4019,7 +4019,7 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
4019
4019
|
break;
|
|
4020
4020
|
default:
|
|
4021
4021
|
}
|
|
4022
|
-
}),
|
|
4022
|
+
}), Te()) e.info("Mocking loading screen. Not fetching new verification request.");
|
|
4023
4023
|
else {
|
|
4024
4024
|
e.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4025
4025
|
let t = y(() => this.props.verificationService.verificationResponse.segment);
|
|
@@ -4048,22 +4048,22 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
4048
4048
|
programId: this.props.programId
|
|
4049
4049
|
});
|
|
4050
4050
|
}
|
|
4051
|
-
}, ac =
|
|
4051
|
+
}, ac = te((e, t) => ({ ...e }), (e, t) => ({
|
|
4052
4052
|
dispatch: e,
|
|
4053
|
-
fetchNewVerificationRequest:
|
|
4054
|
-
fetchExistingVerificationRequest:
|
|
4055
|
-
updateViewModel:
|
|
4053
|
+
fetchNewVerificationRequest: Fe(e),
|
|
4054
|
+
fetchExistingVerificationRequest: qe(e),
|
|
4055
|
+
updateViewModel: He(e),
|
|
4056
4056
|
updateLocale: Le(e, t.programId),
|
|
4057
|
-
updateProgramTheme:
|
|
4058
|
-
updateFieldValidationErrors:
|
|
4059
|
-
resetState:
|
|
4057
|
+
updateProgramTheme: Ge(e),
|
|
4058
|
+
updateFieldValidationErrors: Ie(e),
|
|
4059
|
+
resetState: Ve(e)
|
|
4060
4060
|
}), (e, t, n) => {
|
|
4061
4061
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4062
4062
|
return {
|
|
4063
4063
|
verificationService: {
|
|
4064
4064
|
...e,
|
|
4065
4065
|
...i,
|
|
4066
|
-
submitStep:
|
|
4066
|
+
submitStep: Ye(r, a)
|
|
4067
4067
|
},
|
|
4068
4068
|
messages: e.messages,
|
|
4069
4069
|
...n
|
|
@@ -4078,11 +4078,11 @@ var Us = Cs, Ws = Ds, Gs = Ns, Ks = Vs, qs = ({ message: e, trigger: t, initialV
|
|
|
4078
4078
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4079
4079
|
options: { streaming: !1 },
|
|
4080
4080
|
children: t
|
|
4081
|
-
}), cc =
|
|
4082
|
-
O(v.jslibVersionActual, y(() =>
|
|
4081
|
+
}), cc = Be();
|
|
4082
|
+
O(v.jslibVersionActual, y(() => ke(), "?")), O(v.clientVersion, y(() => ke(), "?"));
|
|
4083
4083
|
var lc = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
4084
4084
|
try {
|
|
4085
|
-
|
|
4085
|
+
Qe();
|
|
4086
4086
|
} catch (t) {
|
|
4087
4087
|
e.warn("Failed to add predefined hooks", t);
|
|
4088
4088
|
}
|
|
@@ -4094,7 +4094,7 @@ var lc = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
|
4094
4094
|
}), r && (r.current = {
|
|
4095
4095
|
refresh: P.useCallback(() => cc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4096
4096
|
reset: P.useCallback(() => cc.dispatch({ type: "RESET_STATE" }), [])
|
|
4097
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
4097
|
+
}), /* @__PURE__ */ (0, F.jsx)(pe, {
|
|
4098
4098
|
store: cc,
|
|
4099
4099
|
children: /* @__PURE__ */ (0, F.jsx)(sc, {
|
|
4100
4100
|
programId: t,
|
|
@@ -4164,36 +4164,36 @@ var lc = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
|
4164
4164
|
let [, , n] = await Promise.all([
|
|
4165
4165
|
pc(e, t),
|
|
4166
4166
|
fc(e, t),
|
|
4167
|
-
|
|
4167
|
+
$e(e, t)
|
|
4168
4168
|
]);
|
|
4169
4169
|
return n ? { fpSessionId: n } : {};
|
|
4170
4170
|
})();
|
|
4171
4171
|
return mc.set(t, r), r;
|
|
4172
4172
|
}, gc = {
|
|
4173
4173
|
getMessages: s,
|
|
4174
|
-
setViewModel:
|
|
4175
|
-
resetViewModel:
|
|
4174
|
+
setViewModel: Ke,
|
|
4175
|
+
resetViewModel: Ue,
|
|
4176
4176
|
setOptions: g,
|
|
4177
4177
|
resetOptions: C,
|
|
4178
|
-
refreshStore:
|
|
4179
|
-
setMetadata:
|
|
4180
|
-
getMetadata:
|
|
4181
|
-
resetMetadata:
|
|
4182
|
-
conversion:
|
|
4178
|
+
refreshStore: Ne,
|
|
4179
|
+
setMetadata: Xe,
|
|
4180
|
+
getMetadata: Re,
|
|
4181
|
+
resetMetadata: Me,
|
|
4182
|
+
conversion: ae,
|
|
4183
4183
|
overrideComponent: Dt,
|
|
4184
4184
|
resetOverriddenComponents: kt,
|
|
4185
|
-
postVerificationSizeUpdates:
|
|
4186
|
-
addHook:
|
|
4187
|
-
hooks:
|
|
4185
|
+
postVerificationSizeUpdates: Ze,
|
|
4186
|
+
addHook: Pe,
|
|
4187
|
+
hooks: je,
|
|
4188
4188
|
VerificationForm: uc,
|
|
4189
|
-
collectDeviceProfile: async (e, t) => hc(await
|
|
4190
|
-
resetStore:
|
|
4189
|
+
collectDeviceProfile: async (e, t) => hc(await de.fetchProgramTheme(t), e),
|
|
4190
|
+
resetStore: We,
|
|
4191
4191
|
setProgramTheme: (t, n = { partial: !0 }) => {
|
|
4192
|
-
let r =
|
|
4192
|
+
let r = Be(), i = r.getState(), a = () => {
|
|
4193
4193
|
let i = D(t);
|
|
4194
|
-
e.info("Setting programTheme", i),
|
|
4194
|
+
e.info("Setting programTheme", i), Ge(r.dispatch)(i, n.partial), le(i, n.partial);
|
|
4195
4195
|
};
|
|
4196
|
-
i.isLoading ?
|
|
4196
|
+
i.isLoading ? Pe({
|
|
4197
4197
|
name: "ON_VERIFICATION_READY",
|
|
4198
4198
|
callback: () => {
|
|
4199
4199
|
a();
|
|
@@ -4202,4 +4202,4 @@ var lc = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
|
4202
4202
|
}
|
|
4203
4203
|
};
|
|
4204
4204
|
//#endregion
|
|
4205
|
-
export { Bt as A, En as C, B as D, _n as E, ht as F, At as M, St as N, z as O, _t as P, V as S, vn as T,
|
|
4205
|
+
export { Bt as A, En as C, B as D, _n as E, ht as F, At as M, St as N, z as O, _t as P, V as S, vn as T, lr as _, ao as a, Fn as b, ro as c, za as d, gc as default, Fa as f, va as g, Pa as h, gs as i, Nt as j, Gt as k, Ka as l, Ia as m, Zs as n, oo as o, La as p, Ys as r, co as s, hc as t, Va as u, Yn as v, bn as w, Dn as x, Un as y };
|