@sheerid/jslib-nightly 3.0.0-preview.1621 → 3.0.0-preview.1628
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 +1177 -1046
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CicgG-Ap.js → AddressComponent-BtJQiY48.js} +9 -9
- package/chunk/{AddressComponent-CicgG-Ap.js.map → AddressComponent-BtJQiY48.js.map} +1 -1
- package/chunk/{AddressComponent-SyKsvFCQ.js → AddressComponent-DP9ULqtw.js} +9 -9
- package/chunk/{AddressComponent-SyKsvFCQ.js.map → AddressComponent-DP9ULqtw.js.map} +1 -1
- package/chunk/AddressFieldRow-BWYhS8VE.js +15 -0
- package/chunk/AddressFieldRow-BWYhS8VE.js.map +1 -0
- package/chunk/AddressFieldRow-DjhsZq8R.js +19 -0
- package/chunk/AddressFieldRow-DjhsZq8R.js.map +1 -0
- package/chunk/{AnnouncingHeader-CNUB901t.js → AnnouncingHeader-CmgyK603.js} +6 -6
- package/chunk/{AnnouncingHeader-CNUB901t.js.map → AnnouncingHeader-CmgyK603.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DCiZuMUz.js → AnnouncingHeader-TMbsnXRN.js} +6 -6
- package/chunk/{AnnouncingHeader-DCiZuMUz.js.map → AnnouncingHeader-TMbsnXRN.js.map} +1 -1
- package/chunk/{ApiUrls-B4z1Ry3u.js → ApiUrls-CIgwmz09.js} +6 -6
- package/chunk/{ApiUrls-B4z1Ry3u.js.map → ApiUrls-CIgwmz09.js.map} +1 -1
- package/chunk/{ApiUrls-2RecghDh.js → ApiUrls-Cbvfd-lx.js} +6 -6
- package/chunk/{ApiUrls-2RecghDh.js.map → ApiUrls-Cbvfd-lx.js.map} +1 -1
- package/chunk/{BirthDateComponent-BvW3thf7.js → BirthDateComponent-BhzBNnhz.js} +9 -9
- package/chunk/{BirthDateComponent-BvW3thf7.js.map → BirthDateComponent-BhzBNnhz.js.map} +1 -1
- package/chunk/{BirthDateComponent-R-9mMaGu.js → BirthDateComponent-COtwQq3l.js} +9 -9
- package/chunk/{BirthDateComponent-R-9mMaGu.js.map → BirthDateComponent-COtwQq3l.js.map} +1 -1
- package/chunk/{CaptchaComponent-CELn5byp.js → CaptchaComponent-B6F_IroY.js} +642 -612
- package/chunk/CaptchaComponent-B6F_IroY.js.map +1 -0
- package/chunk/{CaptchaComponent-jgmYS8PD.js → CaptchaComponent-Cvfnq94R.js} +687 -657
- package/chunk/CaptchaComponent-Cvfnq94R.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-Dp2emhBO.js → ChangeLocaleComponent-Bo_VnyV_.js} +11 -11
- package/chunk/{ChangeLocaleComponent-Dp2emhBO.js.map → ChangeLocaleComponent-Bo_VnyV_.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-H3FlQ3cA.js → ChangeLocaleComponent-QEzC2ahY.js} +11 -11
- package/chunk/{ChangeLocaleComponent-H3FlQ3cA.js.map → ChangeLocaleComponent-QEzC2ahY.js.map} +1 -1
- package/chunk/{City-BawrEn1_.js → City-BTjuf99s.js} +9 -9
- package/chunk/{City-BQKUXtCs.js.map → City-BTjuf99s.js.map} +1 -1
- package/chunk/{City-BQKUXtCs.js → City-Dd-sI-wK.js} +9 -9
- package/chunk/{City-BawrEn1_.js.map → City-Dd-sI-wK.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CAIRXL5p.js → CollegeNameComponent-B-C-9pQI.js} +12 -12
- package/chunk/{CollegeNameComponent-CAIRXL5p.js.map → CollegeNameComponent-B-C-9pQI.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BZ2MjvAc.js → CollegeNameComponent-CBDIIWG3.js} +12 -12
- package/chunk/{CollegeNameComponent-BZ2MjvAc.js.map → CollegeNameComponent-CBDIIWG3.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BrWPnNPn.js → CopyToClipboardComponent-CWnba0yN.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BrWPnNPn.js.map → CopyToClipboardComponent-CWnba0yN.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-uJ-6jBXB.js → CopyToClipboardComponent-Cb9wlwWJ.js} +6 -6
- package/chunk/{CopyToClipboardComponent-uJ-6jBXB.js.map → CopyToClipboardComponent-Cb9wlwWJ.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-C20l0Hp9.js → CountryComponentWrapper-BKnHFvsi.js} +13 -13
- package/chunk/{CountryComponentWrapper-C20l0Hp9.js.map → CountryComponentWrapper-BKnHFvsi.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Cbo3tE2x.js → CountryComponentWrapper-Cjtba0XQ.js} +13 -13
- package/chunk/{CountryComponentWrapper-Cbo3tE2x.js.map → CountryComponentWrapper-Cjtba0XQ.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DYymcxuK.js → DischargeDateComponent-DI4byXKt.js} +14 -14
- package/chunk/{DischargeDateComponent-DYymcxuK.js.map → DischargeDateComponent-DI4byXKt.js.map} +1 -1
- package/chunk/{DischargeDateComponent-H6vRxx9K.js → DischargeDateComponent-DJsMxV6V.js} +14 -14
- package/chunk/{DischargeDateComponent-H6vRxx9K.js.map → DischargeDateComponent-DJsMxV6V.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-GeE_vJ-6.js → DriverLicenseNumberComponent-2kNyRBoD.js} +9 -9
- package/chunk/{DriverLicenseNumberComponent-BTXjrzCy.js.map → DriverLicenseNumberComponent-2kNyRBoD.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BTXjrzCy.js → DriverLicenseNumberComponent-D8-T8RG1.js} +9 -9
- package/chunk/{DriverLicenseNumberComponent-GeE_vJ-6.js.map → DriverLicenseNumberComponent-D8-T8RG1.js.map} +1 -1
- package/chunk/{EmailLoopPending-cFuBbba2.js → EmailLoopPending-B6XvUCzv.js} +14 -14
- package/chunk/{EmailLoopPending-cFuBbba2.js.map → EmailLoopPending-B6XvUCzv.js.map} +1 -1
- package/chunk/{EmailLoopPending-8SpBGanx.js → EmailLoopPending-CgoO6Cj0.js} +14 -14
- package/chunk/{EmailLoopPending-8SpBGanx.js.map → EmailLoopPending-CgoO6Cj0.js.map} +1 -1
- package/chunk/{ExtraMessage-WH33nlul.js → ExtraMessage-BOUiL1v2.js} +7 -7
- package/chunk/{ExtraMessage-At4-m1_R.js.map → ExtraMessage-BOUiL1v2.js.map} +1 -1
- package/chunk/{ExtraMessage-At4-m1_R.js → ExtraMessage-C3rLE7pH.js} +7 -7
- package/chunk/{ExtraMessage-WH33nlul.js.map → ExtraMessage-C3rLE7pH.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B6Kpl__I.js → FirstResponderOrganizationComponent-CZQlt29E.js} +11 -11
- package/chunk/{FirstResponderOrganizationComponent-B6Kpl__I.js.map → FirstResponderOrganizationComponent-CZQlt29E.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-HZN2oyQe.js → FirstResponderOrganizationComponent-DympWWsT.js} +11 -11
- package/chunk/{FirstResponderOrganizationComponent-HZN2oyQe.js.map → FirstResponderOrganizationComponent-DympWWsT.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D6KB_lSA.js → FormFieldInputSelect-DcLExjg1.js} +7 -7
- package/chunk/{FormFieldInputSelect-BkP4JViC.js.map → FormFieldInputSelect-DcLExjg1.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BkP4JViC.js → FormFieldInputSelect-DjvrXRYz.js} +7 -7
- package/chunk/{FormFieldInputSelect-D6KB_lSA.js.map → FormFieldInputSelect-DjvrXRYz.js.map} +1 -1
- package/chunk/{FormFieldLayout-CdAF5eOb.js → FormFieldLayout-C0SpJlpv.js} +7 -7
- package/chunk/{FormFieldLayout-B6UWlgPZ.js.map → FormFieldLayout-C0SpJlpv.js.map} +1 -1
- package/chunk/{FormFieldLayout-B6UWlgPZ.js → FormFieldLayout-lJ_u3Dgo.js} +7 -7
- package/chunk/{FormFieldLayout-CdAF5eOb.js.map → FormFieldLayout-lJ_u3Dgo.js.map} +1 -1
- package/chunk/{FormFieldText-C95_VXFp.js → FormFieldText-BC4bIifh.js} +7 -7
- package/chunk/{FormFieldText-C95_VXFp.js.map → FormFieldText-BC4bIifh.js.map} +1 -1
- package/chunk/{FormFieldText-DF4JNdNJ.js → FormFieldText-mvrX2IIF.js} +7 -7
- package/chunk/{FormFieldText-DF4JNdNJ.js.map → FormFieldText-mvrX2IIF.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BbMRLwcq.js → FormFieldTypeahead-DQ7HUrTC.js} +556 -552
- package/chunk/{FormFieldTypeahead-BWO62nSf.js.map → FormFieldTypeahead-DQ7HUrTC.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BWO62nSf.js → FormFieldTypeahead-Ds8Iad_j.js} +362 -366
- package/chunk/{FormFieldTypeahead-BbMRLwcq.js.map → FormFieldTypeahead-Ds8Iad_j.js.map} +1 -1
- package/chunk/{FormFooterComponent-T4dnyYOP.js → FormFooterComponent-CnOOoGJa.js} +6 -6
- package/chunk/{FormFooterComponent-C4nUMHpv.js.map → FormFooterComponent-CnOOoGJa.js.map} +1 -1
- package/chunk/{FormFooterComponent-C4nUMHpv.js → FormFooterComponent-SVXUJ4ta.js} +6 -6
- package/chunk/{FormFooterComponent-T4dnyYOP.js.map → FormFooterComponent-SVXUJ4ta.js.map} +1 -1
- package/chunk/FormSelectChoice-Da11OJMy.js +4 -4
- package/chunk/{InputSelectComponent-DFomMBKx.js → InputSelectComponent-D54U7YXX.js} +759 -759
- package/chunk/{InputSelectComponent-DFomMBKx.js.map → InputSelectComponent-D54U7YXX.js.map} +1 -1
- package/chunk/{InputSelectComponent-xKOg0Mfy.js → InputSelectComponent-DYUtOb7C.js} +613 -613
- package/chunk/{InputSelectComponent-xKOg0Mfy.js.map → InputSelectComponent-DYUtOb7C.js.map} +1 -1
- package/chunk/{InputText-DO36IbjF.js → InputText-DVLYDw0h.js} +7 -7
- package/chunk/{InputText-DO36IbjF.js.map → InputText-DVLYDw0h.js.map} +1 -1
- package/chunk/{InputText-XskZSQrt.js → InputText-DjdofHyX.js} +7 -7
- package/chunk/{InputText-XskZSQrt.js.map → InputText-DjdofHyX.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B79SU_Ho.js → LicensedProfessionalOrganizationComponent-BNzpkSMd.js} +11 -11
- package/chunk/{LicensedProfessionalOrganizationComponent-B79SU_Ho.js.map → LicensedProfessionalOrganizationComponent-BNzpkSMd.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bh2HJaux.js → LicensedProfessionalOrganizationComponent-D4fMc-74.js} +11 -11
- package/chunk/{LicensedProfessionalOrganizationComponent-Bh2HJaux.js.map → LicensedProfessionalOrganizationComponent-D4fMc-74.js.map} +1 -1
- package/chunk/{LogoComponent-D3p_K04d.js → LogoComponent-6tFjcgVM.js} +7 -7
- package/chunk/{LogoComponent-D3p_K04d.js.map → LogoComponent-6tFjcgVM.js.map} +1 -1
- package/chunk/{LogoComponent-waBbF_Hz.js → LogoComponent-mUZySaE6.js} +7 -7
- package/chunk/{LogoComponent-waBbF_Hz.js.map → LogoComponent-mUZySaE6.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-B7nmTUWV.js → LowIncomeOrganizationComponent-BVwf7jjC.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-B7nmTUWV.js.map → LowIncomeOrganizationComponent-BVwf7jjC.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BAf5x0-f.js → LowIncomeOrganizationComponent-lYkGVIRC.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-BAf5x0-f.js.map → LowIncomeOrganizationComponent-lYkGVIRC.js.map} +1 -1
- package/chunk/{LowRewardPoolNote-D53DGp7d.js → LowRewardPoolNote-CtOLmlnn.js} +27 -25
- package/chunk/LowRewardPoolNote-CtOLmlnn.js.map +1 -0
- package/chunk/{LowRewardPoolNote-CAcUOjXU.js → LowRewardPoolNote-DG_MMjGN.js} +27 -25
- package/chunk/LowRewardPoolNote-DG_MMjGN.js.map +1 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-CIPYgOg7.js → MedicalProfessionalOrganizationComponent-BLl6Da9c.js} +11 -11
- package/chunk/{MedicalProfessionalOrganizationComponent-CIPYgOg7.js.map → MedicalProfessionalOrganizationComponent-BLl6Da9c.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BnURpR77.js → MedicalProfessionalOrganizationComponent-DIZA7RvJ.js} +11 -11
- package/chunk/{MedicalProfessionalOrganizationComponent-BnURpR77.js.map → MedicalProfessionalOrganizationComponent-DIZA7RvJ.js.map} +1 -1
- package/chunk/{MemberIdComponent-CvBccNKk.js → MemberIdComponent-BTlvABAU.js} +9 -9
- package/chunk/{MemberIdComponent-CYJuZbZS.js.map → MemberIdComponent-BTlvABAU.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYJuZbZS.js → MemberIdComponent-ClI7Lrzf.js} +9 -9
- package/chunk/{MemberIdComponent-CvBccNKk.js.map → MemberIdComponent-ClI7Lrzf.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Hyvx9XaK.js → MembershipOrganizationComponent-BPizE5cP.js} +11 -11
- package/chunk/{MembershipOrganizationComponent-Hyvx9XaK.js.map → MembershipOrganizationComponent-BPizE5cP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CgwT1kz9.js → MembershipOrganizationComponent-ChUpP3B6.js} +11 -11
- package/chunk/{MembershipOrganizationComponent-CgwT1kz9.js.map → MembershipOrganizationComponent-ChUpP3B6.js.map} +1 -1
- package/chunk/{Message-CCPUNbvb.js → Message-5IZ4lXNe.js} +22 -20
- package/chunk/Message-5IZ4lXNe.js.map +1 -0
- package/chunk/{Message-BJpuZuCw.js → Message-CwmUrRnS.js} +22 -20
- package/chunk/Message-CwmUrRnS.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/PersonalInfoStepFrame-ClEKETJL.js +52 -0
- package/chunk/PersonalInfoStepFrame-ClEKETJL.js.map +1 -0
- package/chunk/PersonalInfoStepFrame-DHPclK45.js +83 -0
- package/chunk/PersonalInfoStepFrame-DHPclK45.js.map +1 -0
- package/chunk/PersonalInfoStepSubmitButton-BzrRG3Jn.js +101 -0
- package/chunk/PersonalInfoStepSubmitButton-BzrRG3Jn.js.map +1 -0
- package/chunk/PersonalInfoStepSubmitButton-DFwDHOdp.js +97 -0
- package/chunk/PersonalInfoStepSubmitButton-DFwDHOdp.js.map +1 -0
- package/chunk/{PostalCodeComponent-D-Wlqd3h.js → PostalCodeComponent-CP0rzyjy.js} +9 -9
- package/chunk/{PostalCodeComponent-D-Wlqd3h.js.map → PostalCodeComponent-CP0rzyjy.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Bfyrs-OS.js → PostalCodeComponent-KP-2qj83.js} +9 -9
- package/chunk/{PostalCodeComponent-Bfyrs-OS.js.map → PostalCodeComponent-KP-2qj83.js.map} +1 -1
- package/chunk/{SSN-CpZKLMZh.js → SSN-CLxg9aqc.js} +8 -8
- package/chunk/{SSN-CpZKLMZh.js.map → SSN-CLxg9aqc.js.map} +1 -1
- package/chunk/{SSN-DfQKic30.js → SSN-TkC3k_yT.js} +8 -8
- package/chunk/{SSN-DfQKic30.js.map → SSN-TkC3k_yT.js.map} +1 -1
- package/chunk/{StateSelectComponent-uRb4CZto.js → StateSelectComponent-BSKbExE7.js} +7 -7
- package/chunk/{StateSelectComponent-uRb4CZto.js.map → StateSelectComponent-BSKbExE7.js.map} +1 -1
- package/chunk/{StateSelectComponent-B0vfzaHI.js → StateSelectComponent-C5zsszV4.js} +7 -7
- package/chunk/{StateSelectComponent-B0vfzaHI.js.map → StateSelectComponent-C5zsszV4.js.map} +1 -1
- package/chunk/{StatusComponent-ZjAfp6D1.js → StatusComponent-CjJzTs66.js} +10 -10
- package/chunk/{StatusComponent-RqqyyDyR.js.map → StatusComponent-CjJzTs66.js.map} +1 -1
- package/chunk/{StatusComponent-RqqyyDyR.js → StatusComponent-DLYbEtYO.js} +10 -10
- package/chunk/{StatusComponent-ZjAfp6D1.js.map → StatusComponent-DLYbEtYO.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-5MpjInxr.js +154 -0
- package/chunk/StepAgePersonalInfo-5MpjInxr.js.map +1 -0
- package/chunk/StepAgePersonalInfo-BLIpWgcW.js +158 -0
- package/chunk/StepAgePersonalInfo-BLIpWgcW.js.map +1 -0
- package/chunk/{StepCard-wwdNHa6o.js → StepCard-C76ZfmqM.js} +5 -5
- package/chunk/{StepCard-ELVyeUE5.js.map → StepCard-C76ZfmqM.js.map} +1 -1
- package/chunk/{StepCard-ELVyeUE5.js → StepCard-CXGXGFI-.js} +5 -5
- package/chunk/{StepCard-wwdNHa6o.js.map → StepCard-CXGXGFI-.js.map} +1 -1
- package/chunk/StepCollectIdentifier-4GqjrMR9.js +64 -0
- package/chunk/StepCollectIdentifier-4GqjrMR9.js.map +1 -0
- package/chunk/StepCollectIdentifier-IsEVaXVN.js +60 -0
- package/chunk/StepCollectIdentifier-IsEVaXVN.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CGsMi0Qe.js +224 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CGsMi0Qe.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CgRV67Kn.js +220 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CgRV67Kn.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-B0-Tj9ms.js +348 -0
- package/chunk/StepCollectPersonalInfo-B0-Tj9ms.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BgSOHYiZ.js +352 -0
- package/chunk/StepCollectPersonalInfo-BgSOHYiZ.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-B3iM05Rm.js → StepCompleteAuthentication-CbjrrB6R.js} +10 -10
- package/chunk/{StepCompleteAuthentication-B3iM05Rm.js.map → StepCompleteAuthentication-CbjrrB6R.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DmURi_hs.js → StepCompleteAuthentication-D_LaDe1h.js} +10 -10
- package/chunk/{StepCompleteAuthentication-DmURi_hs.js.map → StepCompleteAuthentication-D_LaDe1h.js.map} +1 -1
- package/chunk/{StepConsolation-CFWMHxRq.js → StepConsolation-CHt2g_dn.js} +10 -10
- package/chunk/{StepConsolation-CFWMHxRq.js.map → StepConsolation-CHt2g_dn.js.map} +1 -1
- package/chunk/{StepConsolation-nN23KvH2.js → StepConsolation-CkVYeAFw.js} +10 -10
- package/chunk/{StepConsolation-nN23KvH2.js.map → StepConsolation-CkVYeAFw.js.map} +1 -1
- package/chunk/{StepDocUpload-DAI4hd-K.js → StepDocUpload-BDxM8MmK.js} +613 -611
- package/chunk/StepDocUpload-BDxM8MmK.js.map +1 -0
- package/chunk/{StepDocUpload-DXj4mEM6.js → StepDocUpload-V99c9o9B.js} +526 -524
- package/chunk/StepDocUpload-V99c9o9B.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-CO_D9enW.js +121 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-CO_D9enW.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-S3GMlNVG.js +125 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-S3GMlNVG.js.map +1 -0
- package/chunk/{StepEmailLoop-CuaFZ_b2.js → StepEmailLoop-Dw2_8QHT.js} +14 -14
- package/chunk/{StepEmailLoop-CuaFZ_b2.js.map → StepEmailLoop-Dw2_8QHT.js.map} +1 -1
- package/chunk/{StepEmailLoop-C490ilfk.js → StepEmailLoop-cJGhzoxB.js} +14 -14
- package/chunk/{StepEmailLoop-C490ilfk.js.map → StepEmailLoop-cJGhzoxB.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-C1p6zQJU.js +195 -0
- package/chunk/StepEmploymentPersonalInfo-C1p6zQJU.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-Cf5-yMap.js +191 -0
- package/chunk/StepEmploymentPersonalInfo-Cf5-yMap.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-BgZVPaDN.js +159 -0
- package/chunk/StepFirstResponderPersonalInfo-BgZVPaDN.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-nM5k1qr0.js +163 -0
- package/chunk/StepFirstResponderPersonalInfo-nM5k1qr0.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CpTD4_cn.js +155 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CpTD4_cn.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DBLhfod8.js +159 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DBLhfod8.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-BlPU1xTJ.js +164 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-BlPU1xTJ.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-t80dX6ge.js +168 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-t80dX6ge.js.map +1 -0
- package/chunk/{StepIDCheckLoop-CGuZberW.js → StepIDCheckLoop-DixyWIxE.js} +9 -9
- package/chunk/{StepIDCheckLoop-CGuZberW.js.map → StepIDCheckLoop-DixyWIxE.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DDNgoWKs.js → StepIDCheckLoop-DxYk4IJu.js} +9 -9
- package/chunk/{StepIDCheckLoop-DDNgoWKs.js.map → StepIDCheckLoop-DxYk4IJu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-2fSt4PC7.js → StepIDCheckLoopOnfido-BNbAwHVt.js} +15 -15
- package/chunk/{StepIDCheckLoopOnfido-2fSt4PC7.js.map → StepIDCheckLoopOnfido-BNbAwHVt.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BajgwcIU.js → StepIDCheckLoopOnfido-COVPb_S5.js} +15 -15
- package/chunk/{StepIDCheckLoopOnfido-BajgwcIU.js.map → StepIDCheckLoopOnfido-COVPb_S5.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BWkVIExj.js → StepIDCheckLoopRegula-DKbVSfuV.js} +15 -15
- package/chunk/{StepIDCheckLoopRegula-BWkVIExj.js.map → StepIDCheckLoopRegula-DKbVSfuV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DBEhCcOx.js → StepIDCheckLoopRegula-mvQ8qDWR.js} +13 -13
- package/chunk/{StepIDCheckLoopRegula-DBEhCcOx.js.map → StepIDCheckLoopRegula-mvQ8qDWR.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-C2CIk-nr.js +152 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-C2CIk-nr.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CTE2jZqH.js +156 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CTE2jZqH.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-Be9qCxGX.js +208 -0
- package/chunk/StepLowIncomePersonalInfo-Be9qCxGX.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-Bzh9WTNR.js +212 -0
- package/chunk/StepLowIncomePersonalInfo-Bzh9WTNR.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-B2BR4rqc.js +181 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-B2BR4rqc.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DUc_JDXL.js +177 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DUc_JDXL.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-B_lcCFCr.js +143 -0
- package/chunk/StepMemberPersonalInfo-B_lcCFCr.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-gHVsFx6L.js +139 -0
- package/chunk/StepMemberPersonalInfo-gHVsFx6L.js.map +1 -0
- package/chunk/StepMoverPersonalInfo-1u0Ayivh.js +124 -0
- package/chunk/StepMoverPersonalInfo-1u0Ayivh.js.map +1 -0
- package/chunk/StepMoverPersonalInfo-BqcbV8cH.js +120 -0
- package/chunk/StepMoverPersonalInfo-BqcbV8cH.js.map +1 -0
- package/chunk/{StepOverrideComponent-Df7suQby.js → StepOverrideComponent-BRdS2H3m.js} +14 -14
- package/chunk/{StepOverrideComponent-Df7suQby.js.map → StepOverrideComponent-BRdS2H3m.js.map} +1 -1
- package/chunk/{StepOverrideComponent-_2tBwss0.js → StepOverrideComponent-BmmBE8nB.js} +14 -14
- package/chunk/{StepOverrideComponent-_2tBwss0.js.map → StepOverrideComponent-BmmBE8nB.js.map} +1 -1
- package/chunk/{StepSMSLoop-BVbQi9Eq.js → StepSMSLoop-CRd8TtzV.js} +11 -11
- package/chunk/{StepSMSLoop-BVbQi9Eq.js.map → StepSMSLoop-CRd8TtzV.js.map} +1 -1
- package/chunk/{StepSMSLoop-DJdI9NJ-.js → StepSMSLoop-CTF2WyJG.js} +11 -11
- package/chunk/{StepSMSLoop-DJdI9NJ-.js.map → StepSMSLoop-CTF2WyJG.js.map} +1 -1
- package/chunk/StepSSO-CVwwDxgB.js +8 -0
- package/chunk/StepSSO-DSR38vO8.js +12 -0
- package/chunk/{StepSocialSecurityNumber-CKW8pUck.js → StepSocialSecurityNumber-CkHNhkLX.js} +13 -13
- package/chunk/{StepSocialSecurityNumber-CKW8pUck.js.map → StepSocialSecurityNumber-CkHNhkLX.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CBmG_7kt.js → StepSocialSecurityNumber-tST0N2Ij.js} +13 -13
- package/chunk/{StepSocialSecurityNumber-CBmG_7kt.js.map → StepSocialSecurityNumber-tST0N2Ij.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CuZt_5Qb.js +213 -0
- package/chunk/StepStudentPersonalInfo-CuZt_5Qb.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-D8LOtrpG.js +209 -0
- package/chunk/StepStudentPersonalInfo-D8LOtrpG.js.map +1 -0
- package/chunk/{StepSuccess-lXDU9RzB.js → StepSuccess-7wdEnCFs.js} +15 -15
- package/chunk/{StepSuccess-lXDU9RzB.js.map → StepSuccess-7wdEnCFs.js.map} +1 -1
- package/chunk/{StepSuccess-B_b_cLvk.js → StepSuccess-CUOqyiUg.js} +15 -15
- package/chunk/{StepSuccess-B_b_cLvk.js.map → StepSuccess-CUOqyiUg.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-DJrHR00w.js +137 -0
- package/chunk/StepTeacherPersonalInfo-DJrHR00w.js.map +1 -0
- package/chunk/StepTeacherPersonalInfo-f9rRcLw9.js +133 -0
- package/chunk/StepTeacherPersonalInfo-f9rRcLw9.js.map +1 -0
- package/chunk/StepThirdPartyLoop-BY7ytJrS.js +12 -0
- package/chunk/StepThirdPartyLoop-B__GCNlS.js +8 -0
- package/chunk/{TeacherSchoolComponent-DpNEEKfb.js → TeacherSchoolComponent-1DEfJKNl.js} +12 -12
- package/chunk/{TeacherSchoolComponent-DpNEEKfb.js.map → TeacherSchoolComponent-1DEfJKNl.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BFiJ7Wq2.js → TeacherSchoolComponent-CLYNsumk.js} +12 -12
- package/chunk/{TeacherSchoolComponent-BFiJ7Wq2.js.map → TeacherSchoolComponent-CLYNsumk.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-BEm8Sf8D.js → TestingRouteOverrides-CoyYU2dB.js} +6 -6
- package/chunk/{TestingRouteOverrides-BEm8Sf8D.js.map → TestingRouteOverrides-CoyYU2dB.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CY6cZruo.js → TestingRouteOverrides-DdBMBH84.js} +6 -6
- package/chunk/{TestingRouteOverrides-CY6cZruo.js.map → TestingRouteOverrides-DdBMBH84.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BeOvbT_t.js → VerificationApiClient-BUZofFET.js} +7 -7
- package/chunk/{VerificationApiClient-BeOvbT_t.js.map → VerificationApiClient-BUZofFET.js.map} +1 -1
- package/chunk/{VerificationApiClient-BvR36fUk.js → VerificationApiClient-DxDGUQ-S.js} +7 -7
- package/chunk/{VerificationApiClient-BvR36fUk.js.map → VerificationApiClient-DxDGUQ-S.js.map} +1 -1
- package/chunk/{addEventListener-CjrfonA-.js → addEventListener-BVNWtC2P.js} +8 -8
- package/chunk/{addEventListener-DuM7oJdm.js.map → addEventListener-BVNWtC2P.js.map} +1 -1
- package/chunk/{addEventListener-DuM7oJdm.js → addEventListener-BcjpXDjJ.js} +8 -8
- package/chunk/{addEventListener-CjrfonA-.js.map → addEventListener-BcjpXDjJ.js.map} +1 -1
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/{button-DIPXKy0a.js → button-D5HIQ4Y0.js} +8 -8
- package/chunk/{button-DIPXKy0a.js.map → button-D5HIQ4Y0.js.map} +1 -1
- package/chunk/{button-BlkqJX_E.js → button-ac_Hqm_6.js} +11 -11
- package/chunk/{button-BlkqJX_E.js.map → button-ac_Hqm_6.js.map} +1 -1
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-BA0alsCj.js +12 -0
- package/chunk/{countryUtils-DKwoRV2T.js.map → countryUtils-BA0alsCj.js.map} +1 -1
- package/chunk/{countryUtils-DKwoRV2T.js → countryUtils-DOhg01BA.js} +5 -5
- package/chunk/{countryUtils-SAP2nHeP.js.map → countryUtils-DOhg01BA.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/dist-In8P1UpN.js +4 -4
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-D2KXGsVY.js → empties-BnfYnQnj.js} +8 -5
- package/chunk/empties-BnfYnQnj.js.map +1 -0
- package/chunk/{empties-CJE5It5a.js → empties-DIWFhdB0.js} +8 -5
- package/chunk/{empties-CJE5It5a.js.map → empties-DIWFhdB0.js.map} +1 -1
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-Cjcd--GE.js → hooks-BtGKgRAK.js} +6 -6
- package/chunk/hooks-BtGKgRAK.js.map +1 -0
- package/chunk/{hooks-D72YoqAe.js → hooks-DKM9cJde.js} +6 -6
- package/chunk/hooks-DKM9cJde.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{index.es-C_UCMoRU.js → index.es-DpZtkqxf.js} +6 -6
- package/chunk/{index.es-C_UCMoRU.js.map → index.es-DpZtkqxf.js.map} +1 -1
- package/chunk/{index.es-0Ly0eUxm.js → index.es-FjuPwOz0.js} +6 -6
- package/chunk/{index.es-0Ly0eUxm.js.map → index.es-FjuPwOz0.js.map} +1 -1
- package/chunk/{input-Bnmror_i.js → input-BfKnTtbM.js} +8 -8
- package/chunk/{input-Bnmror_i.js.map → input-BfKnTtbM.js.map} +1 -1
- package/chunk/{input-CbFmDZR4.js → input-CwRvN2sJ.js} +8 -8
- package/chunk/{input-CbFmDZR4.js.map → input-CwRvN2sJ.js.map} +1 -1
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-B5jXYl8q.js → jsx-runtime-DDrPHZwN.js} +5 -5
- package/chunk/{jsx-runtime-B5jXYl8q.js.map → jsx-runtime-DDrPHZwN.js.map} +1 -1
- package/chunk/{jsx-runtime-BnRn7GM8.js → jsx-runtime-NC2eM5ec.js} +5 -5
- package/chunk/{jsx-runtime-BnRn7GM8.js.map → jsx-runtime-NC2eM5ec.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/{mocks-BuI-FNT-.js → mocks-CHQ1TVI3.js} +5 -5
- package/chunk/{mocks-C6Bm8r6i.js.map → mocks-CHQ1TVI3.js.map} +1 -1
- package/chunk/{mocks-C6Bm8r6i.js → mocks-Dd0Dlwr1.js} +5 -5
- package/chunk/{mocks-BuI-FNT-.js.map → mocks-Dd0Dlwr1.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-CLeOiedB.js → programThemeGetters-BAbsTY-b.js} +6 -6
- package/chunk/{programThemeGetters-CLeOiedB.js.map → programThemeGetters-BAbsTY-b.js.map} +1 -1
- package/chunk/{programThemeGetters-TRIvr7Go.js → programThemeGetters-k8rZASZ-.js} +6 -6
- package/chunk/{programThemeGetters-TRIvr7Go.js.map → programThemeGetters-k8rZASZ-.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CzsNPyXM.js → stepComponentHelpers-Db0mTMF5.js} +6 -6
- package/chunk/{stepComponentHelpers-CzsNPyXM.js.map → stepComponentHelpers-Db0mTMF5.js.map} +1 -1
- package/chunk/{stepComponentHelpers-IolnFznH.js → stepComponentHelpers-jZe9fteF.js} +6 -6
- package/chunk/{stepComponentHelpers-IolnFznH.js.map → stepComponentHelpers-jZe9fteF.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-olPOcYoz.js → useCollectFieldsEndpoint-BzHmfuvW.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-olPOcYoz.js.map → useCollectFieldsEndpoint-BzHmfuvW.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CvBJD-m5.js → useCollectFieldsEndpoint-DS_VOcED.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-CvBJD-m5.js.map → useCollectFieldsEndpoint-DS_VOcED.js.map} +1 -1
- package/chunk/useFocusOnMount-CM4T5Z88.js +18 -0
- package/chunk/{useFocusOnMount-B4gVB2JN.js.map → useFocusOnMount-CM4T5Z88.js.map} +1 -1
- package/chunk/{useFocusOnMount-B4gVB2JN.js → useFocusOnMount-CfNgS3Ag.js} +6 -6
- package/chunk/{useFocusOnMount-CoKIEDuF.js.map → useFocusOnMount-CfNgS3Ag.js.map} +1 -1
- package/chunk/{useFooterShieldSrc-CmKqak9A.js → useFooterShieldSrc-BbUsX_E3.js} +13 -13
- package/chunk/{useFooterShieldSrc-CmKqak9A.js.map → useFooterShieldSrc-BbUsX_E3.js.map} +1 -1
- package/chunk/{useFooterShieldSrc-CWTHh0Mk.js → useFooterShieldSrc-Ch42sUV8.js} +13 -13
- package/chunk/{useFooterShieldSrc-CWTHh0Mk.js.map → useFooterShieldSrc-Ch42sUV8.js.map} +1 -1
- package/chunk/{useMetrics-DKU_qdJm.js → useMetrics-CsJd9Mos.js} +7 -7
- package/chunk/{useMetrics-DKU_qdJm.js.map → useMetrics-CsJd9Mos.js.map} +1 -1
- package/chunk/{useMetrics-CK1qxUD4.js → useMetrics-Oeia1mNS.js} +7 -7
- package/chunk/{useMetrics-CK1qxUD4.js.map → useMetrics-Oeia1mNS.js.map} +1 -1
- package/chunk/{useOnMount-B3CK3L_o.js → useOnMount-D-FexEcU.js} +6 -6
- package/chunk/{useOnMount-B3CK3L_o.js.map → useOnMount-D-FexEcU.js.map} +1 -1
- package/chunk/{useOnMount-DTplONXt.js → useOnMount-IlmAw-W-.js} +6 -6
- package/chunk/{useOnMount-DTplONXt.js.map → useOnMount-IlmAw-W-.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +5 -5
- package/sheerid.js +1479 -1348
- package/sheerid.js.map +1 -1
- package/chunk/CaptchaComponent-CELn5byp.js.map +0 -1
- package/chunk/CaptchaComponent-jgmYS8PD.js.map +0 -1
- package/chunk/LowRewardPoolNote-CAcUOjXU.js.map +0 -1
- package/chunk/LowRewardPoolNote-D53DGp7d.js.map +0 -1
- package/chunk/Message-BJpuZuCw.js.map +0 -1
- package/chunk/Message-CCPUNbvb.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-Bkfehzde.js +0 -142
- package/chunk/PersonalInfoStepSubmitButton-Bkfehzde.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-vKWA-7OM.js +0 -138
- package/chunk/PersonalInfoStepSubmitButton-vKWA-7OM.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-CO1Ai4CL.js +0 -53
- package/chunk/PersonalInfoStepWrapper-CO1Ai4CL.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-XIy5r6WD.js +0 -85
- package/chunk/PersonalInfoStepWrapper-XIy5r6WD.js.map +0 -1
- package/chunk/StepAgePersonalInfo-B_rJGRgX.js +0 -177
- package/chunk/StepAgePersonalInfo-B_rJGRgX.js.map +0 -1
- package/chunk/StepAgePersonalInfo-DJPM2PJz.js +0 -173
- package/chunk/StepAgePersonalInfo-DJPM2PJz.js.map +0 -1
- package/chunk/StepCollectIdentifier-D3Enfb3G.js +0 -62
- package/chunk/StepCollectIdentifier-D3Enfb3G.js.map +0 -1
- package/chunk/StepCollectIdentifier-DJsPPf_t.js +0 -66
- package/chunk/StepCollectIdentifier-DJsPPf_t.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-BPw22iU2.js +0 -380
- package/chunk/StepCollectPersonalInfo-BPw22iU2.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js +0 -384
- package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js.map +0 -1
- package/chunk/StepDocUpload-DAI4hd-K.js.map +0 -1
- package/chunk/StepDocUpload-DXj4mEM6.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CyWd-3C8.js +0 -144
- package/chunk/StepDriverLicensePersonalInfoComponent-CyWd-3C8.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-DQzI18NJ.js +0 -148
- package/chunk/StepDriverLicensePersonalInfoComponent-DQzI18NJ.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-BVeVxEtT.js +0 -222
- package/chunk/StepEmploymentPersonalInfo-BVeVxEtT.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DRdFErAM.js +0 -218
- package/chunk/StepEmploymentPersonalInfo-DRdFErAM.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-DYbPTeIq.js +0 -186
- package/chunk/StepFirstResponderPersonalInfo-DYbPTeIq.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-kH-D-gpm.js +0 -182
- package/chunk/StepFirstResponderPersonalInfo-kH-D-gpm.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js +0 -177
- package/chunk/StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js +0 -181
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js +0 -186
- package/chunk/StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js +0 -190
- package/chunk/StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-AGQwXrgt.js +0 -182
- package/chunk/StepLicensedProfessionalPersonalInfo-AGQwXrgt.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js +0 -178
- package/chunk/StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-Cl_eJwaC.js +0 -236
- package/chunk/StepLowIncomePersonalInfo-Cl_eJwaC.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-DJjuE6iI.js +0 -232
- package/chunk/StepLowIncomePersonalInfo-DJjuE6iI.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-CmAOUKJB.js +0 -209
- package/chunk/StepMedicalProfessionalPersonalInfo-CmAOUKJB.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-snvlB1q5.js +0 -213
- package/chunk/StepMedicalProfessionalPersonalInfo-snvlB1q5.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-CdX8LAGC.js +0 -160
- package/chunk/StepMemberPersonalInfo-CdX8LAGC.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-PxKH7YN4.js +0 -156
- package/chunk/StepMemberPersonalInfo-PxKH7YN4.js.map +0 -1
- package/chunk/StepMoverPersonalInfo-MYGnyYc-.js +0 -147
- package/chunk/StepMoverPersonalInfo-MYGnyYc-.js.map +0 -1
- package/chunk/StepMoverPersonalInfo-u_-Eve-G.js +0 -143
- package/chunk/StepMoverPersonalInfo-u_-Eve-G.js.map +0 -1
- package/chunk/StepSSO-CybtMBjF.js +0 -12
- package/chunk/StepSSO-pglHGWRO.js +0 -8
- package/chunk/StepStudentPersonalInfo-Bb2UFiSf.js +0 -237
- package/chunk/StepStudentPersonalInfo-Bb2UFiSf.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-BrV5nUQm.js +0 -233
- package/chunk/StepStudentPersonalInfo-BrV5nUQm.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-8xYbzOQu.js +0 -153
- package/chunk/StepTeacherPersonalInfo-8xYbzOQu.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-aiSuLSkE.js +0 -157
- package/chunk/StepTeacherPersonalInfo-aiSuLSkE.js.map +0 -1
- package/chunk/StepThirdPartyLoop-Bl9PW1-v.js +0 -8
- package/chunk/StepThirdPartyLoop-Cs_tIVeY.js +0 -12
- package/chunk/countryUtils-SAP2nHeP.js +0 -12
- package/chunk/empties-D2KXGsVY.js.map +0 -1
- package/chunk/hooks-Cjcd--GE.js.map +0 -1
- package/chunk/hooks-D72YoqAe.js.map +0 -1
- package/chunk/tslib.es6-BjMMQAso.js +0 -149
- package/chunk/tslib.es6-BjMMQAso.js.map +0 -1
- package/chunk/tslib.es6-DBUmCTli.js +0 -153
- package/chunk/tslib.es6-DBUmCTli.js.map +0 -1
- package/chunk/useFocusOnMount-CoKIEDuF.js +0 -18
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 3.0.0-preview.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Fri Nov 06 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 3.0.0-preview.1628
|
|
8
|
+
* BUILD_TIMESTAMP: 1794008310829
|
|
9
|
+
* BUILD_DATE: Fri Nov 06 2026 23:38:30 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: a715919f5a2770f06a009f5e03415061ba2eadfe
|
|
11
11
|
*/
|
|
12
|
-
import { Rt as e } from "./empties-
|
|
13
|
-
import { r as t, t as n } from "./jsx-runtime-
|
|
14
|
-
import { n as r } from "./Message-
|
|
15
|
-
import { E as i, K as a, T as o } from "./programThemeGetters-
|
|
12
|
+
import { Rt as e } from "./empties-BnfYnQnj.js";
|
|
13
|
+
import { r as t, t as n } from "./jsx-runtime-NC2eM5ec.js";
|
|
14
|
+
import { n as r } from "./Message-5IZ4lXNe.js";
|
|
15
|
+
import { E as i, K as a, T as o } from "./programThemeGetters-k8rZASZ-.js";
|
|
16
16
|
import { o as s } from "./refs-Mq0rtW9K.js";
|
|
17
|
-
import {
|
|
17
|
+
import { $ as c, A as l, B as u, C as d, D as f, E as p, F as m, G as h, H as g, I as _, J as v, K as y, L as b, M as x, N as S, O as C, P as w, Q as T, R as E, S as D, T as O, U as k, V as A, W as j, X as M, Y as N, Z as P, _ as F, _t as I, b as L, et as R, j as z, k as ee, q as te, t as B, v as ne, vt as re, w as V, x as H, y as ie, z as ae } from "../_mysheerid-preview.js";
|
|
18
18
|
import { t as oe } from "./dist-In8P1UpN.js";
|
|
19
|
-
import { A as se, C as U, D as ce, F as le, I as ue, M as de, N as fe, P as pe, S as me, T as he, _ as ge, a as _e, b as W, c as ve, d as ye, f as be, g as xe, h as Se, i as Ce, j as we, k as Te, l as Ee, m as De, n as G, o as Oe, p as ke, r as Ae, s as je, u as Me, w as Ne, x as Pe, y as Fe } from "./useOnMount-
|
|
20
|
-
import { a as Ie, c as Le, d as Re, f as ze, g as Be, h as Ve, i as He, l as Ue, m as We, o as K, p as Ge, r as Ke, s as qe, t as Je, u as Ye, v as Xe, y as q } from "./input-
|
|
21
|
-
import { r as Ze, t as Qe } from "./button-
|
|
22
|
-
import { a as $e, c as et, f as tt, i as nt, m as rt, n as it, o as at, p as ot, r as st, s as ct, t as J } from "./addEventListener-
|
|
19
|
+
import { A as se, C as U, D as ce, F as le, I as ue, M as de, N as fe, P as pe, S as me, T as he, _ as ge, a as _e, b as W, c as ve, d as ye, f as be, g as xe, h as Se, i as Ce, j as we, k as Te, l as Ee, m as De, n as G, o as Oe, p as ke, r as Ae, s as je, u as Me, w as Ne, x as Pe, y as Fe } from "./useOnMount-IlmAw-W-.js";
|
|
20
|
+
import { a as Ie, c as Le, d as Re, f as ze, g as Be, h as Ve, i as He, l as Ue, m as We, o as K, p as Ge, r as Ke, s as qe, t as Je, u as Ye, v as Xe, y as q } from "./input-BfKnTtbM.js";
|
|
21
|
+
import { r as Ze, t as Qe } from "./button-ac_Hqm_6.js";
|
|
22
|
+
import { a as $e, c as et, f as tt, i as nt, m as rt, n as it, o as at, p as ot, r as st, s as ct, t as J } from "./addEventListener-BcjpXDjJ.js";
|
|
23
23
|
//#region ../node_modules/@base-ui/utils/visuallyHidden.mjs
|
|
24
24
|
var Y = /* @__PURE__ */ e(t(), 1), lt = a(), ut = i(), dt = {
|
|
25
25
|
clipPath: "inset(50%)",
|
|
@@ -98,7 +98,7 @@ function Yt(e) {
|
|
|
98
98
|
return e.matches("html,body");
|
|
99
99
|
}
|
|
100
100
|
function Xt(e) {
|
|
101
|
-
return
|
|
101
|
+
return C(e) && e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])");
|
|
102
102
|
}
|
|
103
103
|
function Zt(e) {
|
|
104
104
|
return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${At}`) != null;
|
|
@@ -182,19 +182,19 @@ function mn(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
|
|
|
182
182
|
o && (m = !0), (o !== t || r === -1) && (t = o, r += 1, n[r] = []), n[r].push(i), a[i] = r;
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
let
|
|
185
|
+
let g = !1, _ = 0;
|
|
186
186
|
if (m) for (let e of n) {
|
|
187
187
|
let t = e.length;
|
|
188
|
-
t >
|
|
188
|
+
t > _ && (_ = t), t !== o && (g = !0);
|
|
189
189
|
}
|
|
190
|
-
let
|
|
191
|
-
if (!
|
|
190
|
+
let v = g && h < e.length, y = _ || o, b = (o) => {
|
|
191
|
+
if (!g || u === -1) return;
|
|
192
192
|
let c = a[u];
|
|
193
193
|
if (c == null) return;
|
|
194
194
|
let l = n[c].indexOf(u), d = o === "up" ? -1 : 1;
|
|
195
195
|
for (let o = c + d, f = 0; f < n.length; f += 1, o += d) {
|
|
196
196
|
if (o < 0 || o >= n.length) {
|
|
197
|
-
if (!r ||
|
|
197
|
+
if (!r || v) return;
|
|
198
198
|
if (o = o < 0 ? n.length - 1 : 0, i) {
|
|
199
199
|
let e = Math.min(l, n[o].length - 1), r = i(t, u, n[o][e] ?? n[o][0]);
|
|
200
200
|
o = a[r] ?? o;
|
|
@@ -206,42 +206,42 @@ function mn(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
|
|
|
206
206
|
if (!hn(e, n, s)) return n;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
},
|
|
210
|
-
if (!
|
|
211
|
-
let n = u %
|
|
209
|
+
}, x = (t) => {
|
|
210
|
+
if (!v || u === -1) return;
|
|
211
|
+
let n = u % y, i = t === "up" ? -y : y, a = l - l % y, o = ae(l / y) + 1;
|
|
212
212
|
for (let t = u - n + i, c = 0; c < o; c += 1, t += i) {
|
|
213
213
|
if (t < 0 || t > l) {
|
|
214
214
|
if (!r) return;
|
|
215
215
|
t = t < 0 ? a : 0;
|
|
216
216
|
}
|
|
217
|
-
let i = Math.min(t +
|
|
217
|
+
let i = Math.min(t + y - 1, l);
|
|
218
218
|
for (let r = Math.min(t + n, i); r >= t; --r) if (!hn(e, r, s)) return r;
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
d && nn(t);
|
|
222
|
-
let
|
|
223
|
-
if (
|
|
222
|
+
let S = b(p) ?? x(p);
|
|
223
|
+
if (S !== void 0) f = S;
|
|
224
224
|
else if (u === -1) f = p === "up" ? l : c;
|
|
225
225
|
else if (f = pn(e, {
|
|
226
226
|
startingIndex: u,
|
|
227
|
-
amount:
|
|
227
|
+
amount: y,
|
|
228
228
|
decrement: p === "up",
|
|
229
229
|
disabledIndices: s
|
|
230
230
|
}), r) {
|
|
231
|
-
if (p === "up" && (u -
|
|
232
|
-
let e = u %
|
|
233
|
-
f = n === e ? l : n > e ? r : r -
|
|
231
|
+
if (p === "up" && (u - y < c || f < 0)) {
|
|
232
|
+
let e = u % y, n = l % y, r = l - (n - e);
|
|
233
|
+
f = n === e ? l : n > e ? r : r - y, i && (f = i(t, u, f));
|
|
234
234
|
}
|
|
235
|
-
p === "down" && u +
|
|
236
|
-
startingIndex: u %
|
|
237
|
-
amount:
|
|
235
|
+
p === "down" && u + y > l && (f = pn(e, {
|
|
236
|
+
startingIndex: u % y - y,
|
|
237
|
+
amount: y,
|
|
238
238
|
disabledIndices: s
|
|
239
239
|
}), i && (f = i(t, u, f)));
|
|
240
240
|
}
|
|
241
241
|
un(e, f) && (f = u);
|
|
242
242
|
}
|
|
243
243
|
if (n === "both") {
|
|
244
|
-
let n =
|
|
244
|
+
let n = ae(u / o);
|
|
245
245
|
t.key === (a ? "ArrowLeft" : "ArrowRight") && (d && nn(t), u % o === o - 1 ? r && (f = pn(e, {
|
|
246
246
|
startingIndex: u - u % o - 1,
|
|
247
247
|
disabledIndices: s
|
|
@@ -264,7 +264,7 @@ function mn(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
|
|
|
264
264
|
decrement: !0,
|
|
265
265
|
disabledIndices: s
|
|
266
266
|
}), i && (f = i(t, u, f)))), ln(f, o, n) && (f = u));
|
|
267
|
-
let c =
|
|
267
|
+
let c = ae(l / o) === n;
|
|
268
268
|
un(e, f) && (r && c ? (f = t.key === (a ? "ArrowRight" : "ArrowLeft") ? l : pn(e, {
|
|
269
269
|
startingIndex: u - u % o - 1,
|
|
270
270
|
disabledIndices: s
|
|
@@ -280,7 +280,7 @@ function hn(e, t, n) {
|
|
|
280
280
|
function gn(e) {
|
|
281
281
|
return e.visibility === "hidden" || e.visibility === "collapse";
|
|
282
282
|
}
|
|
283
|
-
function _n(e, t = e ?
|
|
283
|
+
function _n(e, t = e ? F(e) : null) {
|
|
284
284
|
return !e || !e.isConnected || !t || gn(t) ? !1 : typeof e.checkVisibility == "function" ? e.checkVisibility() : t.display !== "none" && t.display !== "contents";
|
|
285
285
|
}
|
|
286
286
|
//#endregion
|
|
@@ -291,10 +291,10 @@ function yn(e) {
|
|
|
291
291
|
if (t) return t;
|
|
292
292
|
if (e.parentElement) return e.parentElement;
|
|
293
293
|
let n = e.getRootNode();
|
|
294
|
-
return
|
|
294
|
+
return x(n) ? n.host : null;
|
|
295
295
|
}
|
|
296
296
|
function bn(e) {
|
|
297
|
-
for (let t of Array.from(e.children)) if (
|
|
297
|
+
for (let t of Array.from(e.children)) if (H(t) === "summary") return t;
|
|
298
298
|
return null;
|
|
299
299
|
}
|
|
300
300
|
function xn(e, t) {
|
|
@@ -302,31 +302,31 @@ function xn(e, t) {
|
|
|
302
302
|
return !!n && (e === n || K(n, e));
|
|
303
303
|
}
|
|
304
304
|
function Sn(e) {
|
|
305
|
-
let t = e ?
|
|
306
|
-
return e != null && e.matches(vn) && (t !== "summary" || e.parentElement != null &&
|
|
305
|
+
let t = e ? H(e) : "";
|
|
306
|
+
return e != null && e.matches(vn) && (t !== "summary" || e.parentElement != null && H(e.parentElement) === "details" && bn(e.parentElement) === e) && (t !== "details" || bn(e) == null) && (t !== "input" || e.type !== "hidden");
|
|
307
307
|
}
|
|
308
308
|
function Cn(e) {
|
|
309
309
|
if (!Sn(e) || !e.isConnected || e.matches(":disabled")) return !1;
|
|
310
310
|
for (let t = e; t; t = yn(t)) {
|
|
311
|
-
let n = t !== e, r =
|
|
312
|
-
if (t.hasAttribute("inert") || n &&
|
|
311
|
+
let n = t !== e, r = H(t) === "slot";
|
|
312
|
+
if (t.hasAttribute("inert") || n && H(t) === "details" && !t.open && !xn(e, t) || t.hasAttribute("hidden") || !r && !wn(t, n)) return !1;
|
|
313
313
|
}
|
|
314
314
|
return !0;
|
|
315
315
|
}
|
|
316
316
|
function wn(e, t) {
|
|
317
|
-
let n =
|
|
317
|
+
let n = F(e);
|
|
318
318
|
return t ? n.display !== "none" : _n(e, n);
|
|
319
319
|
}
|
|
320
320
|
function Tn(e) {
|
|
321
321
|
let t = e.tabIndex;
|
|
322
322
|
if (t < 0) {
|
|
323
|
-
let t =
|
|
324
|
-
if (t === "details" || t === "audio" || t === "video" ||
|
|
323
|
+
let t = H(e);
|
|
324
|
+
if (t === "details" || t === "audio" || t === "video" || C(e) && e.isContentEditable) return 0;
|
|
325
325
|
}
|
|
326
326
|
return t;
|
|
327
327
|
}
|
|
328
328
|
function En(e) {
|
|
329
|
-
if (
|
|
329
|
+
if (H(e) !== "input") return null;
|
|
330
330
|
let t = e;
|
|
331
331
|
return t.type === "radio" && t.name !== "" ? t : null;
|
|
332
332
|
}
|
|
@@ -343,11 +343,11 @@ function Dn(e, t) {
|
|
|
343
343
|
}) === n;
|
|
344
344
|
}
|
|
345
345
|
function On(e) {
|
|
346
|
-
if (
|
|
346
|
+
if (C(e) && H(e) === "slot") {
|
|
347
347
|
let t = e.assignedElements({ flatten: !0 });
|
|
348
348
|
if (t.length > 0) return t;
|
|
349
349
|
}
|
|
350
|
-
return
|
|
350
|
+
return C(e) && e.shadowRoot ? Array.from(e.shadowRoot.children) : Array.from(e.children);
|
|
351
351
|
}
|
|
352
352
|
function kn(e, t) {
|
|
353
353
|
On(e).forEach((e) => {
|
|
@@ -356,7 +356,7 @@ function kn(e, t) {
|
|
|
356
356
|
}
|
|
357
357
|
function An(e, t, n) {
|
|
358
358
|
On(e).forEach((e) => {
|
|
359
|
-
|
|
359
|
+
C(e) && e.matches(t) && n.push(e), An(e, t, n);
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
function jn(e) {
|
|
@@ -654,7 +654,7 @@ function cr(e) {
|
|
|
654
654
|
return ar[e];
|
|
655
655
|
}
|
|
656
656
|
function lr(e) {
|
|
657
|
-
return e ?
|
|
657
|
+
return e ? x(e) ? e.host : lr(e.parentNode) : null;
|
|
658
658
|
}
|
|
659
659
|
var ur = (e, t) => t.map((t) => {
|
|
660
660
|
if (e.contains(t)) return t;
|
|
@@ -669,7 +669,7 @@ var ur = (e, t) => t.map((t) => {
|
|
|
669
669
|
}, fr = (e, t, n) => {
|
|
670
670
|
let r = [], i = (e) => {
|
|
671
671
|
e && !n.has(e) && Array.from(e.children).forEach((e) => {
|
|
672
|
-
|
|
672
|
+
H(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
|
|
673
673
|
});
|
|
674
674
|
};
|
|
675
675
|
return i(e), r;
|
|
@@ -713,16 +713,16 @@ var hr = { style: { transition: "none" } }, gr = { fallbackAxisSide: "none" }, _
|
|
|
713
713
|
left: 0
|
|
714
714
|
}, vr = /*#__PURE__*/ Y.createContext(null), yr = () => Y.useContext(vr), br = er("portal");
|
|
715
715
|
function xr(e = {}) {
|
|
716
|
-
let { ref: t, container: n, componentProps: r = se, elementProps: i } = e, a = me(), o = yr()?.portalNode, [s, c] = Y.useState(null), [
|
|
717
|
-
e !== null &&
|
|
716
|
+
let { ref: t, container: n, componentProps: r = se, elementProps: i } = e, a = me(), o = yr()?.portalNode, [s, c] = Y.useState(null), [u, d] = Y.useState(null), f = W((e) => {
|
|
717
|
+
e !== null && d(e);
|
|
718
718
|
}), p = Y.useRef(null);
|
|
719
719
|
U(() => {
|
|
720
720
|
if (n === null) {
|
|
721
|
-
p.current && (p.current = null,
|
|
721
|
+
p.current && (p.current = null, d(null), c(null));
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
|
-
let e = (n && (
|
|
725
|
-
e == null ? p.current && (p.current = null,
|
|
724
|
+
let e = (n && (l(n) ? n : n.current)) ?? o ?? document.body;
|
|
725
|
+
e == null ? p.current && (p.current = null, d(null), c(null)) : p.current !== e && (p.current = e, d(null), c(e));
|
|
726
726
|
}, [n, o]);
|
|
727
727
|
let m = he("div", r, {
|
|
728
728
|
ref: [t, f],
|
|
@@ -732,7 +732,7 @@ function xr(e = {}) {
|
|
|
732
732
|
}, i]
|
|
733
733
|
}), h = s && m ? /*#__PURE__*/ Ft.createPortal(m, s) : null;
|
|
734
734
|
return {
|
|
735
|
-
node:
|
|
735
|
+
node: u,
|
|
736
736
|
nodeId: /*#__PURE__*/ Y.isValidElement(m) ? m.props.id : void 0,
|
|
737
737
|
subtree: h
|
|
738
738
|
};
|
|
@@ -812,7 +812,7 @@ var wr = /*#__PURE__*/ Y.createContext(null), Tr = /*#__PURE__*/ Y.createContext
|
|
|
812
812
|
//#endregion
|
|
813
813
|
//#region ../node_modules/@base-ui/react/floating-ui-react/components/FloatingFocusManager.mjs
|
|
814
814
|
function Or(e, t) {
|
|
815
|
-
let n =
|
|
815
|
+
let n = O(qe(e));
|
|
816
816
|
return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
|
|
817
817
|
}
|
|
818
818
|
var kr = 20, Ar = [];
|
|
@@ -820,7 +820,7 @@ function jr() {
|
|
|
820
820
|
Ar = Ar.filter((e) => e.deref()?.isConnected);
|
|
821
821
|
}
|
|
822
822
|
function Mr(e) {
|
|
823
|
-
jr(), e &&
|
|
823
|
+
jr(), e && H(e) !== "body" && (Ar.push(new WeakRef(e)), Ar.length > kr && (Ar = Ar.slice(-20)));
|
|
824
824
|
}
|
|
825
825
|
function Nr() {
|
|
826
826
|
return jr(), Ar[Ar.length - 1]?.deref();
|
|
@@ -837,29 +837,29 @@ function Fr(e) {
|
|
|
837
837
|
t.length === 0 ? n !== "0" && (e.setAttribute("tabindex", "0"), e.setAttribute("data-tabindex", "0")) : (n !== "-1" || e.hasAttribute("data-tabindex") && e.getAttribute("data-tabindex") !== "-1") && (e.setAttribute("tabindex", "-1"), e.setAttribute("data-tabindex", "-1"));
|
|
838
838
|
}
|
|
839
839
|
function Ir(e) {
|
|
840
|
-
let { context: t, children: n, disabled: r = !1, initialFocus: i = !0, returnFocus: a = !0, restoreFocus: o = !1, modal: s = !0, closeOnFocusOut: c = !0, openInteractionType: l = "", nextFocusableElement: u, previousFocusableElement: d, beforeContentFocusGuardRef: f, externalTree: p, getInsideElements: m } = e, h = "rootStore" in t ? t.rootStore : t, g = h.useState("open"), _ = h.useState("domReferenceElement"), v = h.useState("floatingElement"), { events: y, dataRef: b } = h.context, x = W(() => b.current.floatingContext?.nodeId), S = i === !1,
|
|
840
|
+
let { context: t, children: n, disabled: r = !1, initialFocus: i = !0, returnFocus: a = !0, restoreFocus: o = !1, modal: s = !0, closeOnFocusOut: c = !0, openInteractionType: l = "", nextFocusableElement: u, previousFocusableElement: d, beforeContentFocusGuardRef: f, externalTree: p, getInsideElements: m } = e, h = "rootStore" in t ? t.rootStore : t, g = h.useState("open"), _ = h.useState("domReferenceElement"), v = h.useState("floatingElement"), { events: y, dataRef: b } = h.context, x = W(() => b.current.floatingContext?.nodeId), S = i === !1, w = Qt(_) && S, T = it(i), E = it(a), D = it(l), O = it(g), k = Dr(p), A = yr(), j = Y.useRef(!1), M = Y.useRef(!1), N = Y.useRef(!1), P = Y.useRef(null), F = Y.useRef(""), I = Y.useRef(""), L = Y.useRef(null), R = Y.useRef(null), z = fe(L, f, A?.beforeInsideRef), ee = fe(R, A?.afterInsideRef), te = He(), B = He(), ne = rt(), re = A != null, V = $t(v), ie = W((e = V) => e ? Nn(e) : []), ae = W(() => m?.().filter((e) => e != null) ?? []);
|
|
841
841
|
Y.useEffect(() => {
|
|
842
842
|
if (r || !s) return;
|
|
843
843
|
function e(e) {
|
|
844
|
-
e.key === "Tab" && K(
|
|
844
|
+
e.key === "Tab" && K(V, Ie(q(V))) && ie().length === 0 && !w && nn(e);
|
|
845
845
|
}
|
|
846
|
-
let t = q(
|
|
846
|
+
let t = q(V);
|
|
847
847
|
return J(t, "keydown", e);
|
|
848
848
|
}, [
|
|
849
849
|
r,
|
|
850
|
-
|
|
850
|
+
V,
|
|
851
851
|
s,
|
|
852
|
-
|
|
852
|
+
w,
|
|
853
853
|
ie
|
|
854
854
|
]), Y.useEffect(() => {
|
|
855
855
|
if (r || !g) return;
|
|
856
|
-
let e = q(
|
|
856
|
+
let e = q(V);
|
|
857
857
|
function t() {
|
|
858
858
|
N.current = !1;
|
|
859
859
|
}
|
|
860
860
|
function n(e) {
|
|
861
861
|
let t = qe(e), n = ae(), r = K(v, t) || K(_, t) || K(A?.portalNode, t) || n.some((e) => e === t || K(e, t));
|
|
862
|
-
N.current = !r, I.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (M.current = !0,
|
|
862
|
+
N.current = !r, I.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (M.current = !0, B.start(0, () => {
|
|
863
863
|
M.current = !1;
|
|
864
864
|
}));
|
|
865
865
|
}
|
|
@@ -871,16 +871,16 @@ function Ir(e) {
|
|
|
871
871
|
r,
|
|
872
872
|
v,
|
|
873
873
|
_,
|
|
874
|
-
|
|
874
|
+
V,
|
|
875
875
|
g,
|
|
876
876
|
A,
|
|
877
|
-
|
|
877
|
+
B,
|
|
878
878
|
ae
|
|
879
879
|
]), Y.useEffect(() => {
|
|
880
880
|
if (r || !c) return;
|
|
881
|
-
let e = q(
|
|
881
|
+
let e = q(V);
|
|
882
882
|
function t() {
|
|
883
|
-
M.current = !0,
|
|
883
|
+
M.current = !0, B.start(0, () => {
|
|
884
884
|
M.current = !1;
|
|
885
885
|
});
|
|
886
886
|
}
|
|
@@ -901,31 +901,31 @@ function Ir(e) {
|
|
|
901
901
|
tt(d),
|
|
902
902
|
tt(u)
|
|
903
903
|
].includes(n), p = !(K(_, n) || K(v, n) || K(n, v) || K(A?.portalNode, n) || l.some((e) => e === n || K(e, n)) || c.hasMatchingElement((e) => K(e, n)) || f || k && (en(k.nodesRef.current, a).find((e) => K(e.context?.elements.floating, n) || K(e.context?.elements.domReference, n)) || tn(k.nodesRef.current, a).find((e) => [e.context?.elements.floating, $t(e.context?.elements.floating)].includes(n) || e.context?.elements.domReference === n)));
|
|
904
|
-
if (r === _ &&
|
|
905
|
-
if (
|
|
906
|
-
|
|
907
|
-
|
|
904
|
+
if (r === _ && V && Fr(V), o && r !== _ && !_n(i) && Ie(e) === e.body) {
|
|
905
|
+
if (C(V) && (V.focus(), o === "popup")) {
|
|
906
|
+
ne.request(() => {
|
|
907
|
+
V.focus();
|
|
908
908
|
});
|
|
909
909
|
return;
|
|
910
910
|
}
|
|
911
|
-
let e = ie(), t = P.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] ||
|
|
912
|
-
|
|
911
|
+
let e = ie(), t = P.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || V;
|
|
912
|
+
C(n) && n.focus();
|
|
913
913
|
}
|
|
914
|
-
b.current.insideReactTree ? b.current.insideReactTree = !1 : (
|
|
914
|
+
b.current.insideReactTree ? b.current.insideReactTree = !1 : (w || !s) && n && p && !M.current && (w || n !== Nr()) && (j.current = !0, h.setOpen(!1, G(ve, t)));
|
|
915
915
|
});
|
|
916
916
|
}
|
|
917
917
|
function a() {
|
|
918
|
-
N.current || (b.current.insideReactTree = !0,
|
|
918
|
+
N.current || (b.current.insideReactTree = !0, te.start(0, () => {
|
|
919
919
|
b.current.insideReactTree = !1;
|
|
920
920
|
}));
|
|
921
921
|
}
|
|
922
|
-
let l =
|
|
922
|
+
let l = C(_) ? _ : null;
|
|
923
923
|
if (v || l) return Qn(l && J(l, "focusout", i), l && J(l, "pointerdown", t), v && J(v, "focusin", n), v && J(v, "focusout", i), v && A && J(v, "focusout", a, !0));
|
|
924
924
|
}, [
|
|
925
925
|
r,
|
|
926
926
|
_,
|
|
927
927
|
v,
|
|
928
|
-
|
|
928
|
+
V,
|
|
929
929
|
s,
|
|
930
930
|
k,
|
|
931
931
|
A,
|
|
@@ -933,12 +933,12 @@ function Ir(e) {
|
|
|
933
933
|
c,
|
|
934
934
|
o,
|
|
935
935
|
ie,
|
|
936
|
-
|
|
936
|
+
w,
|
|
937
937
|
x,
|
|
938
938
|
b,
|
|
939
|
-
|
|
940
|
-
z,
|
|
939
|
+
te,
|
|
941
940
|
B,
|
|
941
|
+
ne,
|
|
942
942
|
u,
|
|
943
943
|
d,
|
|
944
944
|
ae
|
|
@@ -955,9 +955,9 @@ function Ir(e) {
|
|
|
955
955
|
t,
|
|
956
956
|
tt(d),
|
|
957
957
|
tt(u),
|
|
958
|
-
|
|
958
|
+
w ? _ : null
|
|
959
959
|
].filter((e) => e != null), {
|
|
960
|
-
ariaHidden: s ||
|
|
960
|
+
ariaHidden: s || w,
|
|
961
961
|
mark: !1
|
|
962
962
|
}), i = mr([v, ...e].filter((e) => e != null));
|
|
963
963
|
return () => {
|
|
@@ -970,43 +970,43 @@ function Ir(e) {
|
|
|
970
970
|
v,
|
|
971
971
|
s,
|
|
972
972
|
A,
|
|
973
|
-
|
|
973
|
+
w,
|
|
974
974
|
k,
|
|
975
975
|
x,
|
|
976
976
|
u,
|
|
977
977
|
d,
|
|
978
978
|
ae
|
|
979
979
|
]), U(() => {
|
|
980
|
-
if (!g || r || !
|
|
980
|
+
if (!g || r || !C(V)) return;
|
|
981
981
|
F.current = "", I.current = "";
|
|
982
|
-
let e = q(
|
|
982
|
+
let e = q(V), t = Ie(e);
|
|
983
983
|
queueMicrotask(() => {
|
|
984
|
-
let n =
|
|
985
|
-
if (r === void 0 || r === !1 || K(
|
|
986
|
-
let i = null, a = () => (i ??= ie(
|
|
984
|
+
let n = T.current, r = typeof n == "function" ? n(D.current || "") : n;
|
|
985
|
+
if (r === void 0 || r === !1 || K(V, t)) return;
|
|
986
|
+
let i = null, a = () => (i ??= ie(V), i[0] || V), o;
|
|
987
987
|
o = r === !0 || r === null ? a() : tt(r), o ||= a();
|
|
988
|
-
let s = K(
|
|
988
|
+
let s = K(V, Ie(e));
|
|
989
989
|
nr(o, {
|
|
990
|
-
preventScroll: o ===
|
|
990
|
+
preventScroll: o === V,
|
|
991
991
|
shouldFocus() {
|
|
992
992
|
if (!O.current) return !1;
|
|
993
993
|
if (s) return !0;
|
|
994
994
|
let t = Ie(e);
|
|
995
|
-
return !(t !== o && K(
|
|
995
|
+
return !(t !== o && K(V, t));
|
|
996
996
|
}
|
|
997
997
|
});
|
|
998
998
|
});
|
|
999
999
|
}, [
|
|
1000
1000
|
r,
|
|
1001
1001
|
g,
|
|
1002
|
-
|
|
1002
|
+
V,
|
|
1003
1003
|
ie,
|
|
1004
|
-
|
|
1004
|
+
T,
|
|
1005
1005
|
D,
|
|
1006
1006
|
O
|
|
1007
1007
|
]), U(() => {
|
|
1008
|
-
if (r || !
|
|
1009
|
-
let e = q(
|
|
1008
|
+
if (r || !V) return;
|
|
1009
|
+
let e = q(V), t = Ie(e), n = D.current == null;
|
|
1010
1010
|
Mr(t);
|
|
1011
1011
|
function i(e) {
|
|
1012
1012
|
if (e.open || (F.current = Or(e.nativeEvent, I.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (j.current = !0), e.reason === "outside-press") {
|
|
@@ -1014,7 +1014,7 @@ function Ir(e) {
|
|
|
1014
1014
|
else if (an(e.nativeEvent) || on(e.nativeEvent)) j.current = !1;
|
|
1015
1015
|
else {
|
|
1016
1016
|
let e = !1;
|
|
1017
|
-
q(
|
|
1017
|
+
q(V).createElement("div").focus({ get preventScroll() {
|
|
1018
1018
|
return e = !0, !1;
|
|
1019
1019
|
} }), e ? j.current = !1 : j.current = !0;
|
|
1020
1020
|
}
|
|
@@ -1022,18 +1022,18 @@ function Ir(e) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
y.on("openchange", i);
|
|
1024
1024
|
function a(e) {
|
|
1025
|
-
let r =
|
|
1025
|
+
let r = E.current, i = typeof r == "function" ? r(e) : r;
|
|
1026
1026
|
if (i === void 0 || i === !1) return null;
|
|
1027
1027
|
i === null && (i = !0);
|
|
1028
|
-
let a = _?.isConnected ? _ : null, o = t?.isConnected &&
|
|
1028
|
+
let a = _?.isConnected ? _ : null, o = t?.isConnected && H(t) !== "body" ? t : null, s = n ? o || a : a || o;
|
|
1029
1029
|
return s ||= Nr() || null, typeof i == "boolean" ? s : tt(i) || s || null;
|
|
1030
1030
|
}
|
|
1031
1031
|
return () => {
|
|
1032
1032
|
y.off("openchange", i);
|
|
1033
|
-
let t = Ie(e), n = ae(), r = K(v, t) || n.some((e) => e === t || K(e, t)) || k && en(k.nodesRef.current, x(), !1).some((e) => K(e.context?.elements.floating, t)), o =
|
|
1033
|
+
let t = Ie(e), n = ae(), r = K(v, t) || n.some((e) => e === t || K(e, t)) || k && en(k.nodesRef.current, x(), !1).some((e) => K(e.context?.elements.floating, t)), o = E.current, s = F.current, c = a(s);
|
|
1034
1034
|
queueMicrotask(() => {
|
|
1035
1035
|
let n = Pr(c), i = typeof o != "boolean";
|
|
1036
|
-
if (o && !j.current &&
|
|
1036
|
+
if (o && !j.current && C(n) && (i || n === t || t === e.body || r)) {
|
|
1037
1037
|
let e = { preventScroll: !0 };
|
|
1038
1038
|
s === "keyboard" && (e.focusVisible = !0), n.focus(e);
|
|
1039
1039
|
}
|
|
@@ -1043,8 +1043,8 @@ function Ir(e) {
|
|
|
1043
1043
|
}, [
|
|
1044
1044
|
r,
|
|
1045
1045
|
v,
|
|
1046
|
-
|
|
1047
|
-
|
|
1046
|
+
V,
|
|
1047
|
+
E,
|
|
1048
1048
|
D,
|
|
1049
1049
|
y,
|
|
1050
1050
|
k,
|
|
@@ -1054,7 +1054,7 @@ function Ir(e) {
|
|
|
1054
1054
|
]), U(() => {
|
|
1055
1055
|
if (!Z || g || !v) return;
|
|
1056
1056
|
let e = Ie(q(v));
|
|
1057
|
-
|
|
1057
|
+
C(e) && Xt(e) && K(v, e) && e.blur();
|
|
1058
1058
|
}, [g, v]), U(() => {
|
|
1059
1059
|
if (!r && A) return A.setFocusManagerState({
|
|
1060
1060
|
modal: s,
|
|
@@ -1074,15 +1074,15 @@ function Ir(e) {
|
|
|
1074
1074
|
c,
|
|
1075
1075
|
_
|
|
1076
1076
|
]), U(() => {
|
|
1077
|
-
if (!r &&
|
|
1077
|
+
if (!r && V) return Fr(V), () => {
|
|
1078
1078
|
queueMicrotask(jr);
|
|
1079
1079
|
};
|
|
1080
|
-
}, [r,
|
|
1081
|
-
let oe = !r && (!s || !
|
|
1080
|
+
}, [r, V]);
|
|
1081
|
+
let oe = !r && (!s || !w) && (re || s);
|
|
1082
1082
|
return /*#__PURE__*/ (0, Q.jsxs)(Y.Fragment, { children: [
|
|
1083
1083
|
oe && /*#__PURE__*/ (0, Q.jsx)($n, {
|
|
1084
1084
|
"data-type": "inside",
|
|
1085
|
-
ref:
|
|
1085
|
+
ref: z,
|
|
1086
1086
|
onFocus: (e) => {
|
|
1087
1087
|
if (s) {
|
|
1088
1088
|
let e = ie();
|
|
@@ -1093,7 +1093,7 @@ function Ir(e) {
|
|
|
1093
1093
|
n,
|
|
1094
1094
|
oe && /*#__PURE__*/ (0, Q.jsx)($n, {
|
|
1095
1095
|
"data-type": "inside",
|
|
1096
|
-
ref:
|
|
1096
|
+
ref: ee,
|
|
1097
1097
|
onFocus: (e) => {
|
|
1098
1098
|
s ? nr(ie()[0]) : A?.portalNode && (c && (j.current = !0), Ln(e, A.portalNode) ? In(_)?.focus() : tt(u ?? A.afterOutsideRef)?.focus());
|
|
1099
1099
|
}
|
|
@@ -1166,152 +1166,152 @@ function zr(e) {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
}
|
|
1168
1168
|
function Br(e, t = {}) {
|
|
1169
|
-
let { enabled: n = !0, escapeKey: r = !0, outsidePress: i = !0, outsidePressEvent: a = "sloppy", referencePress: o = Rr, bubbles: s, externalTree: c } = t, l = "rootStore" in e ? e.rootStore : e, u = l.useState("open"), d = l.useState("floatingElement"), { dataRef: p, events: m } = l.context, h = Dr(c), g = W(typeof i == "function" ? i : () => !1), _ = typeof i == "function" ? g : i, v = _ !== !1, y = W(() => a), { escapeKey: b, outsidePress:
|
|
1170
|
-
|
|
1171
|
-
}),
|
|
1169
|
+
let { enabled: n = !0, escapeKey: r = !0, outsidePress: i = !0, outsidePressEvent: a = "sloppy", referencePress: o = Rr, bubbles: s, externalTree: c } = t, l = "rootStore" in e ? e.rootStore : e, u = l.useState("open"), d = l.useState("floatingElement"), { dataRef: p, events: m } = l.context, h = Dr(c), g = W(typeof i == "function" ? i : () => !1), _ = typeof i == "function" ? g : i, v = _ !== !1, y = W(() => a), { escapeKey: b, outsidePress: S } = zr(s), w = Y.useRef(!1), T = Y.useRef(!1), E = Y.useRef(!1), D = Y.useRef(!1), O = Y.useRef(!1), k = Y.useRef(""), A = Y.useRef(null), j = He(), M = He(), N = W(() => {
|
|
1170
|
+
M.clear(), p.current.insideReactTree = !1;
|
|
1171
|
+
}), P = W((e) => {
|
|
1172
1172
|
let t = p.current.floatingContext?.nodeId;
|
|
1173
1173
|
return (h ? en(h.nodesRef.current, t) : []).some((t) => t.context?.open && !t.context.dataRef.current[e]);
|
|
1174
|
-
}),
|
|
1174
|
+
}), I = W((e) => Jt(e, l.select("floatingElement")) || Jt(e, l.select("domReferenceElement"))), L = W((e) => {
|
|
1175
1175
|
o() && l.setOpen(!1, G(Fe, e.nativeEvent));
|
|
1176
|
-
}),
|
|
1177
|
-
if (!u || !n || !r || e.key !== "Escape" ||
|
|
1176
|
+
}), R = W((e) => {
|
|
1177
|
+
if (!u || !n || !r || e.key !== "Escape" || O.current || !b && P("__escapeKeyBubbles")) return;
|
|
1178
1178
|
let t = rn(e) ? e.nativeEvent : e, i = G(je, t);
|
|
1179
1179
|
l.setOpen(!1, i), i.isCanceled || e.preventDefault(), !b && !i.isPropagationAllowed && e.stopPropagation();
|
|
1180
|
-
}),
|
|
1181
|
-
p.current.insideReactTree = !0,
|
|
1182
|
-
}),
|
|
1180
|
+
}), z = W(() => {
|
|
1181
|
+
p.current.insideReactTree = !0, M.start(0, N);
|
|
1182
|
+
}), te = W((e) => {
|
|
1183
1183
|
if (!u || !n || e.button !== 0) return;
|
|
1184
1184
|
let t = qe(e.nativeEvent);
|
|
1185
|
-
K(l.select("floatingElement"), t) && (
|
|
1186
|
-
}),
|
|
1187
|
-
u && n && (e.defaultPrevented || e.nativeEvent.defaultPrevented) &&
|
|
1185
|
+
K(l.select("floatingElement"), t) && (w.current || (w.current = !0, T.current = !1));
|
|
1186
|
+
}), B = W((e) => {
|
|
1187
|
+
u && n && (e.defaultPrevented || e.nativeEvent.defaultPrevented) && w.current && (T.current = !0);
|
|
1188
1188
|
});
|
|
1189
1189
|
Y.useEffect(() => {
|
|
1190
1190
|
function e(e) {
|
|
1191
|
-
e.open || (
|
|
1191
|
+
e.open || (D.current = !1);
|
|
1192
1192
|
}
|
|
1193
1193
|
return m.on("openchange", e), () => {
|
|
1194
1194
|
m.off("openchange", e);
|
|
1195
1195
|
};
|
|
1196
1196
|
}, [m]), Y.useEffect(() => {
|
|
1197
|
-
if (!u || !n) return u || (
|
|
1198
|
-
p.current.__escapeKeyBubbles = b, p.current.__outsidePressBubbles =
|
|
1197
|
+
if (!u || !n) return u || (D.current = !1), N;
|
|
1198
|
+
p.current.__escapeKeyBubbles = b, p.current.__outsidePressBubbles = S;
|
|
1199
1199
|
let e = new Ke(), t = new Ke(), i = q(d);
|
|
1200
1200
|
function a() {
|
|
1201
|
-
e.clear(),
|
|
1201
|
+
e.clear(), O.current = !0;
|
|
1202
1202
|
}
|
|
1203
1203
|
function o() {
|
|
1204
1204
|
e.start(Z ? 5 : 0, () => {
|
|
1205
|
-
|
|
1205
|
+
O.current = !1;
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
1208
|
function s() {
|
|
1209
|
-
|
|
1210
|
-
|
|
1209
|
+
E.current = !0, t.start(0, () => {
|
|
1210
|
+
E.current = !1;
|
|
1211
1211
|
});
|
|
1212
1212
|
}
|
|
1213
1213
|
function c() {
|
|
1214
|
-
|
|
1214
|
+
w.current = !1, T.current = !1;
|
|
1215
1215
|
}
|
|
1216
1216
|
function m() {
|
|
1217
|
-
let e =
|
|
1217
|
+
let e = k.current, t = e === "pen" || !e ? "mouse" : e, n = y(), r = typeof n == "function" ? n() : n;
|
|
1218
1218
|
return typeof r == "string" ? r : r[t];
|
|
1219
1219
|
}
|
|
1220
1220
|
function g(e) {
|
|
1221
1221
|
let t = m();
|
|
1222
1222
|
return t === "intentional" && e.type !== "click" || t === "sloppy" && e.type === "click";
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function M(e) {
|
|
1225
1225
|
let t = p.current.floatingContext?.nodeId, n = h && en(h.nodesRef.current, t).some((t) => Jt(e, t.context?.elements.floating));
|
|
1226
|
-
return
|
|
1226
|
+
return I(e) || n;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function L(e) {
|
|
1229
1229
|
if (g(e)) {
|
|
1230
|
-
e.type !== "click" && !
|
|
1230
|
+
e.type !== "click" && !I(e) && (t.clear(), E.current = !1), N();
|
|
1231
1231
|
return;
|
|
1232
1232
|
}
|
|
1233
1233
|
if (p.current.insideReactTree) {
|
|
1234
|
-
|
|
1234
|
+
N();
|
|
1235
1235
|
return;
|
|
1236
1236
|
}
|
|
1237
|
-
let n = qe(e), r = `[${er("inert")}]`, i =
|
|
1237
|
+
let n = qe(e), r = `[${er("inert")}]`, i = f(n) ? n.getRootNode() : null, a = Array.from((x(i) ? i : q(l.select("floatingElement"))).querySelectorAll(r)), o = l.context.triggerElements;
|
|
1238
1238
|
if (n && (o.hasElement(n) || o.hasMatchingElement((e) => K(e, n)))) return;
|
|
1239
|
-
let s =
|
|
1240
|
-
for (; s && !
|
|
1241
|
-
let e =
|
|
1242
|
-
if (
|
|
1239
|
+
let s = f(n) ? n : null;
|
|
1240
|
+
for (; s && !ee(s);) {
|
|
1241
|
+
let e = V(s);
|
|
1242
|
+
if (ee(e) || !f(e)) break;
|
|
1243
1243
|
s = e;
|
|
1244
1244
|
}
|
|
1245
|
-
if (!(a.length &&
|
|
1246
|
-
if (
|
|
1247
|
-
let t =
|
|
1245
|
+
if (!(a.length && f(n) && !Yt(n) && !K(n, l.select("floatingElement")) && a.every((e) => !K(s, e)))) {
|
|
1246
|
+
if (C(n) && !("touches" in e)) {
|
|
1247
|
+
let t = ee(n), r = F(n), i = /auto|scroll/, a = t || i.test(r.overflowX), o = t || i.test(r.overflowY), s = a && n.clientWidth > 0 && n.scrollWidth > n.clientWidth, c = o && n.clientHeight > 0 && n.scrollHeight > n.clientHeight, l = r.direction === "rtl", u = c && (l ? e.offsetX <= n.offsetWidth - n.clientWidth : e.offsetX > n.clientWidth), d = s && e.offsetY > n.clientHeight;
|
|
1248
1248
|
if (u || d) return;
|
|
1249
1249
|
}
|
|
1250
|
-
if (!
|
|
1250
|
+
if (!M(e)) {
|
|
1251
1251
|
if (m() === "intentional") {
|
|
1252
|
-
if (e.detail !== 0 && !an(e) && !
|
|
1253
|
-
if (
|
|
1254
|
-
t.clear(),
|
|
1252
|
+
if (e.detail !== 0 && !an(e) && !D.current) return;
|
|
1253
|
+
if (E.current) {
|
|
1254
|
+
t.clear(), E.current = !1;
|
|
1255
1255
|
return;
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
|
-
(typeof _ != "function" || _(e)) && (
|
|
1258
|
+
(typeof _ != "function" || _(e)) && (P("__outsidePressBubbles") || (l.setOpen(!1, G(xe, e)), N()));
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1263
|
-
m() === "sloppy" && e.pointerType !== "touch" && l.select("open") && n && !
|
|
1262
|
+
function z(e) {
|
|
1263
|
+
m() === "sloppy" && e.pointerType !== "touch" && l.select("open") && n && !I(e) && L(e);
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1266
|
-
if (m() !== "sloppy" || !l.select("open") || !n ||
|
|
1265
|
+
function te(e) {
|
|
1266
|
+
if (m() !== "sloppy" || !l.select("open") || !n || I(e)) return;
|
|
1267
1267
|
let t = e.touches[0];
|
|
1268
|
-
t && (
|
|
1268
|
+
t && (A.current = {
|
|
1269
1269
|
startTime: Date.now(),
|
|
1270
1270
|
startX: t.clientX,
|
|
1271
1271
|
startY: t.clientY,
|
|
1272
1272
|
dismissOnTouchEnd: !1,
|
|
1273
1273
|
dismissOnMouseDown: !0
|
|
1274
|
-
},
|
|
1275
|
-
|
|
1274
|
+
}, j.start(1e3, () => {
|
|
1275
|
+
A.current && (A.current.dismissOnTouchEnd = !1, A.current.dismissOnMouseDown = !1);
|
|
1276
1276
|
}));
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function B(e, t) {
|
|
1279
1279
|
let n = qe(e);
|
|
1280
1280
|
if (!n) return;
|
|
1281
1281
|
let r = J(n, e.type, () => {
|
|
1282
1282
|
t(e), r();
|
|
1283
1283
|
});
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1286
|
-
|
|
1285
|
+
function ne(e) {
|
|
1286
|
+
k.current = "touch", B(e, te);
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1289
|
-
|
|
1290
|
-
e.type === "pointerdown" ?
|
|
1288
|
+
function re(e) {
|
|
1289
|
+
j.clear(), e.type === "pointerdown" && (e.button === 0 && (D.current = !0), k.current = e.pointerType), (e.type !== "mousedown" || !A.current || A.current.dismissOnMouseDown) && B(e, (e) => {
|
|
1290
|
+
e.type === "pointerdown" ? z(e) : L(e);
|
|
1291
1291
|
});
|
|
1292
1292
|
}
|
|
1293
|
-
function
|
|
1294
|
-
if (e.type === "pointercancel" && (
|
|
1295
|
-
let n =
|
|
1296
|
-
c(), m() === "intentional" && (e.type === "pointercancel" ? n && s() :
|
|
1293
|
+
function H(e) {
|
|
1294
|
+
if (e.type === "pointercancel" && (D.current = !1), !w.current) return;
|
|
1295
|
+
let n = T.current;
|
|
1296
|
+
c(), m() === "intentional" && (e.type === "pointercancel" ? n && s() : M(e) || (n ? s() : (typeof _ != "function" || _(e)) && (t.clear(), E.current = !0, N())));
|
|
1297
1297
|
}
|
|
1298
1298
|
function ie(e) {
|
|
1299
|
-
if (m() !== "sloppy" || !
|
|
1299
|
+
if (m() !== "sloppy" || !A.current || I(e)) return;
|
|
1300
1300
|
let t = e.touches[0];
|
|
1301
1301
|
if (!t) return;
|
|
1302
|
-
let n = Math.abs(t.clientX -
|
|
1303
|
-
i > 5 && (
|
|
1302
|
+
let n = Math.abs(t.clientX - A.current.startX), r = Math.abs(t.clientY - A.current.startY), i = Math.sqrt(n * n + r * r);
|
|
1303
|
+
i > 5 && (A.current.dismissOnTouchEnd = !0), i > 10 && (L(e), j.clear(), A.current = null);
|
|
1304
1304
|
}
|
|
1305
1305
|
function ae(e) {
|
|
1306
|
-
|
|
1306
|
+
B(e, ie);
|
|
1307
1307
|
}
|
|
1308
1308
|
function oe(e) {
|
|
1309
|
-
m() === "sloppy" &&
|
|
1309
|
+
m() === "sloppy" && A.current && !I(e) && (A.current.dismissOnTouchEnd && L(e), j.clear(), A.current = null);
|
|
1310
1310
|
}
|
|
1311
1311
|
function se(e) {
|
|
1312
|
-
|
|
1312
|
+
B(e, oe);
|
|
1313
1313
|
}
|
|
1314
|
-
let U = Qn(r && Qn(J(i, "keydown",
|
|
1314
|
+
let U = Qn(r && Qn(J(i, "keydown", R), J(i, "compositionstart", a), J(i, "compositionend", o)), v && Qn(J(i, "click", re, !0), J(i, "pointerdown", re, !0), J(i, "pointerup", H, !0), J(i, "pointercancel", H, !0), J(i, "mousedown", re, !0), J(i, "mouseup", H, !0), J(i, "touchstart", ne, {
|
|
1315
1315
|
capture: !0,
|
|
1316
1316
|
passive: !0
|
|
1317
1317
|
}), J(i, "touchmove", ae, {
|
|
@@ -1322,7 +1322,7 @@ function Br(e, t = {}) {
|
|
|
1322
1322
|
passive: !0
|
|
1323
1323
|
})));
|
|
1324
1324
|
return () => {
|
|
1325
|
-
U(), e.clear(), t.clear(), c(),
|
|
1325
|
+
U(), e.clear(), t.clear(), c(), E.current = !1, N();
|
|
1326
1326
|
};
|
|
1327
1327
|
}, [
|
|
1328
1328
|
p,
|
|
@@ -1333,54 +1333,54 @@ function Br(e, t = {}) {
|
|
|
1333
1333
|
u,
|
|
1334
1334
|
n,
|
|
1335
1335
|
b,
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
M,
|
|
1339
|
-
y,
|
|
1336
|
+
S,
|
|
1337
|
+
R,
|
|
1340
1338
|
N,
|
|
1339
|
+
y,
|
|
1341
1340
|
P,
|
|
1341
|
+
I,
|
|
1342
1342
|
h,
|
|
1343
1343
|
l,
|
|
1344
|
-
|
|
1344
|
+
j
|
|
1345
1345
|
]);
|
|
1346
|
-
let
|
|
1347
|
-
onKeyDown:
|
|
1348
|
-
onPointerDown:
|
|
1349
|
-
onClick:
|
|
1350
|
-
}), [
|
|
1351
|
-
onKeyDown:
|
|
1352
|
-
onPointerDown:
|
|
1353
|
-
onMouseDown:
|
|
1354
|
-
onClickCapture:
|
|
1346
|
+
let ne = Y.useMemo(() => ({
|
|
1347
|
+
onKeyDown: R,
|
|
1348
|
+
onPointerDown: L,
|
|
1349
|
+
onClick: L
|
|
1350
|
+
}), [R, L]), re = Y.useMemo(() => ({
|
|
1351
|
+
onKeyDown: R,
|
|
1352
|
+
onPointerDown: B,
|
|
1353
|
+
onMouseDown: B,
|
|
1354
|
+
onClickCapture: z,
|
|
1355
1355
|
onMouseDownCapture(e) {
|
|
1356
|
-
|
|
1356
|
+
z(), te(e);
|
|
1357
1357
|
},
|
|
1358
1358
|
onPointerDownCapture(e) {
|
|
1359
|
-
|
|
1359
|
+
z(), te(e);
|
|
1360
1360
|
},
|
|
1361
|
-
onMouseUpCapture:
|
|
1362
|
-
onTouchEndCapture:
|
|
1363
|
-
onTouchMoveCapture:
|
|
1361
|
+
onMouseUpCapture: z,
|
|
1362
|
+
onTouchEndCapture: z,
|
|
1363
|
+
onTouchMoveCapture: z
|
|
1364
1364
|
}), [
|
|
1365
|
-
I,
|
|
1366
|
-
L,
|
|
1367
1365
|
R,
|
|
1368
|
-
|
|
1366
|
+
z,
|
|
1367
|
+
te,
|
|
1368
|
+
B
|
|
1369
1369
|
]);
|
|
1370
1370
|
return Y.useMemo(() => n ? {
|
|
1371
|
-
reference:
|
|
1372
|
-
floating:
|
|
1373
|
-
trigger:
|
|
1371
|
+
reference: ne,
|
|
1372
|
+
floating: re,
|
|
1373
|
+
trigger: ne
|
|
1374
1374
|
} : {}, [
|
|
1375
1375
|
n,
|
|
1376
|
-
|
|
1377
|
-
|
|
1376
|
+
ne,
|
|
1377
|
+
re
|
|
1378
1378
|
]);
|
|
1379
1379
|
}
|
|
1380
1380
|
//#endregion
|
|
1381
1381
|
//#region ../node_modules/@base-ui/react/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1382
1382
|
function Vr(e, t, n) {
|
|
1383
|
-
let { reference: r, floating: i } = e, a =
|
|
1383
|
+
let { reference: r, floating: i } = e, a = M(t), o = A(t), s = k(o), c = N(t), l = a === "y", d = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, p = r[s] / 2 - i[s] / 2, m;
|
|
1384
1384
|
switch (c) {
|
|
1385
1385
|
case "top":
|
|
1386
1386
|
m = {
|
|
@@ -1411,17 +1411,17 @@ function Vr(e, t, n) {
|
|
|
1411
1411
|
y: r.y
|
|
1412
1412
|
};
|
|
1413
1413
|
}
|
|
1414
|
-
let h =
|
|
1415
|
-
return h && (m[o] += p * (h === "end" ? 1 : -1) * (n &&
|
|
1414
|
+
let h = u(t);
|
|
1415
|
+
return h && (m[o] += p * (h === "end" ? 1 : -1) * (n && l ? -1 : 1)), m;
|
|
1416
1416
|
}
|
|
1417
1417
|
async function Hr(e, t) {
|
|
1418
1418
|
t === void 0 && (t = {});
|
|
1419
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary:
|
|
1420
|
-
element: await (i.isElement == null ? void 0 : i.isElement(
|
|
1421
|
-
boundary:
|
|
1422
|
-
rootBoundary:
|
|
1419
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: l = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: p = 0 } = E(t, e), m = v(p), h = o[f ? d === "floating" ? "reference" : "floating" : d], g = c(await i.getClippingRect({
|
|
1420
|
+
element: await (i.isElement == null ? void 0 : i.isElement(h)) ?? !0 ? h : h.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1421
|
+
boundary: l,
|
|
1422
|
+
rootBoundary: u,
|
|
1423
1423
|
strategy: s
|
|
1424
|
-
})),
|
|
1424
|
+
})), _ = d === "floating" ? {
|
|
1425
1425
|
x: n,
|
|
1426
1426
|
y: r,
|
|
1427
1427
|
width: a.floating.width,
|
|
@@ -1429,17 +1429,17 @@ async function Hr(e, t) {
|
|
|
1429
1429
|
} : a.reference, y = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), b = await (i.isElement == null ? void 0 : i.isElement(y)) && await (i.getScale == null ? void 0 : i.getScale(y)) || {
|
|
1430
1430
|
x: 1,
|
|
1431
1431
|
y: 1
|
|
1432
|
-
}, x =
|
|
1432
|
+
}, x = c(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1433
1433
|
elements: o,
|
|
1434
|
-
rect:
|
|
1434
|
+
rect: _,
|
|
1435
1435
|
offsetParent: y,
|
|
1436
1436
|
strategy: s
|
|
1437
|
-
}) :
|
|
1437
|
+
}) : _);
|
|
1438
1438
|
return {
|
|
1439
|
-
top: (
|
|
1440
|
-
bottom: (x.bottom -
|
|
1441
|
-
left: (
|
|
1442
|
-
right: (x.right -
|
|
1439
|
+
top: (g.top - x.top + m.top) / b.y,
|
|
1440
|
+
bottom: (x.bottom - g.bottom + m.bottom) / b.y,
|
|
1441
|
+
left: (g.left - x.left + m.left) / b.x,
|
|
1442
|
+
right: (x.right - g.right + m.right) / b.x
|
|
1443
1443
|
};
|
|
1444
1444
|
}
|
|
1445
1445
|
var Ur = 50, Wr = async (e, t, n) => {
|
|
@@ -1490,34 +1490,34 @@ var Ur = 50, Wr = async (e, t, n) => {
|
|
|
1490
1490
|
options: e,
|
|
1491
1491
|
async fn(t) {
|
|
1492
1492
|
var n;
|
|
1493
|
-
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:
|
|
1493
|
+
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 } = E(e, t);
|
|
1494
1494
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1495
|
-
let _ =
|
|
1496
|
-
!d && C && S.push(...
|
|
1497
|
-
let w = [o, ...S], T = await s.detectOverflow(t,
|
|
1498
|
-
if (l &&
|
|
1499
|
-
let e =
|
|
1500
|
-
|
|
1495
|
+
let _ = N(r), v = M(o), b = N(o) === o, x = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), S = d || (b || !m ? [te(o)] : j(o)), C = p !== "none";
|
|
1496
|
+
!d && C && S.push(...y(o, m, p, x));
|
|
1497
|
+
let w = [o, ...S], T = await s.detectOverflow(t, h), D = [], O = i.flip?.overflows || [];
|
|
1498
|
+
if (l && D.push(T[_]), u) {
|
|
1499
|
+
let e = g(r, a, x);
|
|
1500
|
+
D.push(T[e[0]], T[e[1]]);
|
|
1501
1501
|
}
|
|
1502
|
-
if (
|
|
1502
|
+
if (O = [...O, {
|
|
1503
1503
|
placement: r,
|
|
1504
|
-
overflows:
|
|
1505
|
-
}], !
|
|
1504
|
+
overflows: D
|
|
1505
|
+
}], !D.every((e) => e <= 0)) {
|
|
1506
1506
|
let e = (i.flip?.index || 0) + 1, t = w[e];
|
|
1507
|
-
if (t && (u !== "alignment" ||
|
|
1507
|
+
if (t && (u !== "alignment" || v === M(t) || O.every((e) => M(e.placement) !== v || e.overflows[0] > 0))) return {
|
|
1508
1508
|
data: {
|
|
1509
1509
|
index: e,
|
|
1510
|
-
overflows:
|
|
1510
|
+
overflows: O
|
|
1511
1511
|
},
|
|
1512
1512
|
reset: { placement: t }
|
|
1513
1513
|
};
|
|
1514
|
-
let n =
|
|
1514
|
+
let n = O.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
|
|
1515
1515
|
if (!n) switch (f) {
|
|
1516
1516
|
case "bestFit": {
|
|
1517
|
-
let e =
|
|
1517
|
+
let e = O.filter((e) => {
|
|
1518
1518
|
if (C) {
|
|
1519
|
-
let t =
|
|
1520
|
-
return t ===
|
|
1519
|
+
let t = M(e.placement);
|
|
1520
|
+
return t === v || t === "y";
|
|
1521
1521
|
}
|
|
1522
1522
|
return !0;
|
|
1523
1523
|
}).map((e) => [e.placement, e.overflows.filter((e) => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]?.[0];
|
|
@@ -1533,21 +1533,21 @@ var Ur = 50, Wr = async (e, t, n) => {
|
|
|
1533
1533
|
};
|
|
1534
1534
|
}, Kr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1535
1535
|
async function qr(e, t) {
|
|
1536
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1537
|
-
mainAxis:
|
|
1536
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = N(n), s = u(n), c = M(n) === "y", l = Kr.has(o) ? -1 : 1, d = a && c ? -1 : 1, f = E(t, e), { mainAxis: p, crossAxis: m, alignmentAxis: h } = typeof f == "number" ? {
|
|
1537
|
+
mainAxis: f,
|
|
1538
1538
|
crossAxis: 0,
|
|
1539
1539
|
alignmentAxis: null
|
|
1540
1540
|
} : {
|
|
1541
|
-
mainAxis:
|
|
1542
|
-
crossAxis:
|
|
1543
|
-
alignmentAxis:
|
|
1541
|
+
mainAxis: f.mainAxis || 0,
|
|
1542
|
+
crossAxis: f.crossAxis || 0,
|
|
1543
|
+
alignmentAxis: f.alignmentAxis
|
|
1544
1544
|
};
|
|
1545
1545
|
return s && typeof h == "number" && (m = s === "end" ? h * -1 : h), c ? {
|
|
1546
|
-
x: m *
|
|
1547
|
-
y:
|
|
1546
|
+
x: m * d,
|
|
1547
|
+
y: p * l
|
|
1548
1548
|
} : {
|
|
1549
|
-
x:
|
|
1550
|
-
y: m *
|
|
1549
|
+
x: p * l,
|
|
1550
|
+
y: m * d
|
|
1551
1551
|
};
|
|
1552
1552
|
}
|
|
1553
1553
|
var Jr = function(e) {
|
|
@@ -1578,15 +1578,15 @@ var Jr = function(e) {
|
|
|
1578
1578
|
x: t,
|
|
1579
1579
|
y: n
|
|
1580
1580
|
};
|
|
1581
|
-
} }, ...l } =
|
|
1581
|
+
} }, ...l } = E(e, t), u = {
|
|
1582
1582
|
x: n,
|
|
1583
1583
|
y: r
|
|
1584
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
1585
|
-
o && (
|
|
1584
|
+
}, d = await a.detectOverflow(t, l), f = M(i), p = h(f), m = u[p], g = u[f], v = (e, t) => _(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
|
|
1585
|
+
o && (m = v(p, m)), s && (g = v(f, g));
|
|
1586
1586
|
let y = c.fn({
|
|
1587
1587
|
...t,
|
|
1588
|
-
[
|
|
1589
|
-
[f]:
|
|
1588
|
+
[p]: m,
|
|
1589
|
+
[f]: g
|
|
1590
1590
|
});
|
|
1591
1591
|
return {
|
|
1592
1592
|
...y,
|
|
@@ -1594,7 +1594,7 @@ var Jr = function(e) {
|
|
|
1594
1594
|
x: y.x - n,
|
|
1595
1595
|
y: y.y - r,
|
|
1596
1596
|
enabled: {
|
|
1597
|
-
[
|
|
1597
|
+
[p]: o,
|
|
1598
1598
|
[f]: s
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
@@ -1605,27 +1605,27 @@ var Jr = function(e) {
|
|
|
1605
1605
|
return e === void 0 && (e = {}), {
|
|
1606
1606
|
options: e,
|
|
1607
1607
|
fn(t) {
|
|
1608
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1608
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = E(e, t), u = {
|
|
1609
1609
|
x: n,
|
|
1610
1610
|
y: r
|
|
1611
|
-
}, d =
|
|
1612
|
-
mainAxis:
|
|
1611
|
+
}, d = M(i), f = h(d), p = u[f], m = u[d], g = E(s, t), _ = typeof g == "number" ? {
|
|
1612
|
+
mainAxis: g,
|
|
1613
1613
|
crossAxis: 0
|
|
1614
1614
|
} : {
|
|
1615
|
-
mainAxis:
|
|
1616
|
-
crossAxis:
|
|
1615
|
+
mainAxis: g.mainAxis ?? 0,
|
|
1616
|
+
crossAxis: g.crossAxis ?? 0
|
|
1617
1617
|
};
|
|
1618
1618
|
if (c) {
|
|
1619
|
-
let e = f === "y" ? "height" : "width", t = a.reference[f] - a.floating[e] +
|
|
1620
|
-
|
|
1619
|
+
let e = f === "y" ? "height" : "width", t = a.reference[f] - a.floating[e] + _.mainAxis, n = a.reference[f] + a.reference[e] - _.mainAxis;
|
|
1620
|
+
p < t ? p = t : p > n && (p = n);
|
|
1621
1621
|
}
|
|
1622
1622
|
if (l) {
|
|
1623
|
-
let e = f === "y" ? "width" : "height", t = Kr.has(
|
|
1624
|
-
|
|
1623
|
+
let e = f === "y" ? "width" : "height", t = Kr.has(N(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : _.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? _.crossAxis : 0);
|
|
1624
|
+
m < n ? m = n : m > r && (m = r);
|
|
1625
1625
|
}
|
|
1626
1626
|
return {
|
|
1627
|
-
[f]:
|
|
1628
|
-
[d]:
|
|
1627
|
+
[f]: p,
|
|
1628
|
+
[d]: m
|
|
1629
1629
|
};
|
|
1630
1630
|
}
|
|
1631
1631
|
};
|
|
@@ -1634,23 +1634,23 @@ var Jr = function(e) {
|
|
|
1634
1634
|
name: "size",
|
|
1635
1635
|
options: e,
|
|
1636
1636
|
async fn(t) {
|
|
1637
|
-
let { placement: n, rects: r, platform: i, elements: a } = t, { apply: o = () => {}, ...s } =
|
|
1638
|
-
l === "top" || l === "bottom" ? (h = l, g =
|
|
1639
|
-
let
|
|
1640
|
-
|
|
1637
|
+
let { placement: n, rects: r, platform: i, elements: a } = t, { apply: o = () => {}, ...s } = E(e, t), c = await i.detectOverflow(t, s), l = N(n), d = u(n), f = M(n) === "y", { width: p, height: m } = r.floating, h, g;
|
|
1638
|
+
l === "top" || l === "bottom" ? (h = l, g = d === (await (i.isRTL == null ? void 0 : i.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (g = l, h = d === "end" ? "top" : "bottom");
|
|
1639
|
+
let _ = m - c.top - c.bottom, v = p - c.left - c.right, y = T(m - c[h], _), b = T(p - c[g], v), x = t.middlewareData.shift, S = !x, C = y, w = b;
|
|
1640
|
+
x != null && x.enabled.x && (w = v), x != null && x.enabled.y && (C = _), S && !d && (f ? w = p - 2 * P(c.left, c.right) : C = m - 2 * P(c.top, c.bottom)), await o({
|
|
1641
1641
|
...t,
|
|
1642
|
-
availableWidth:
|
|
1643
|
-
availableHeight:
|
|
1642
|
+
availableWidth: w,
|
|
1643
|
+
availableHeight: C
|
|
1644
1644
|
});
|
|
1645
|
-
let
|
|
1646
|
-
return
|
|
1645
|
+
let D = await i.getDimensions(a.floating);
|
|
1646
|
+
return p !== D.width || m !== D.height ? { reset: { rects: !0 } } : {};
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
|
1649
1649
|
};
|
|
1650
1650
|
//#endregion
|
|
1651
1651
|
//#region ../node_modules/@base-ui/react/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
1652
1652
|
function Qr(e) {
|
|
1653
|
-
let t =
|
|
1653
|
+
let t = F(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = C(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = R(n) !== a || R(r) !== o;
|
|
1654
1654
|
return s && (n = a, r = o), {
|
|
1655
1655
|
width: n,
|
|
1656
1656
|
height: r,
|
|
@@ -1658,50 +1658,50 @@ function Qr(e) {
|
|
|
1658
1658
|
};
|
|
1659
1659
|
}
|
|
1660
1660
|
function $r(e) {
|
|
1661
|
-
return
|
|
1661
|
+
return f(e) ? e : e.contextElement;
|
|
1662
1662
|
}
|
|
1663
1663
|
function ei(e) {
|
|
1664
1664
|
let t = $r(e);
|
|
1665
|
-
if (!
|
|
1666
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Qr(t), o = (a ?
|
|
1665
|
+
if (!C(t)) return b(1);
|
|
1666
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Qr(t), o = (a ? R(n.width) : n.width) / r, s = (a ? R(n.height) : n.height) / i;
|
|
1667
1667
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
1668
1668
|
x: o,
|
|
1669
1669
|
y: s
|
|
1670
1670
|
};
|
|
1671
1671
|
}
|
|
1672
|
-
var ti = /*#__PURE__*/
|
|
1672
|
+
var ti = /*#__PURE__*/ b(0);
|
|
1673
1673
|
function ni(e) {
|
|
1674
|
-
let t =
|
|
1675
|
-
return !
|
|
1674
|
+
let t = O(e);
|
|
1675
|
+
return !m() || !t.visualViewport ? ti : {
|
|
1676
1676
|
x: t.visualViewport.offsetLeft,
|
|
1677
1677
|
y: t.visualViewport.offsetTop
|
|
1678
1678
|
};
|
|
1679
1679
|
}
|
|
1680
1680
|
function ri(e, t, n) {
|
|
1681
|
-
return t === void 0 && (t = !1), !!n && t && n ===
|
|
1681
|
+
return t === void 0 && (t = !1), !!n && t && n === O(e);
|
|
1682
1682
|
}
|
|
1683
1683
|
function ii(e, t, n, r) {
|
|
1684
1684
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1685
|
-
let i = e.getBoundingClientRect(), a = $r(e), o =
|
|
1686
|
-
t && (r ?
|
|
1687
|
-
let s = ri(a, n, r) ? ni(a) :
|
|
1685
|
+
let i = e.getBoundingClientRect(), a = $r(e), o = b(1);
|
|
1686
|
+
t && (r ? f(r) && (o = ei(r)) : o = ei(e));
|
|
1687
|
+
let s = ri(a, n, r) ? ni(a) : b(0), l = (i.left + s.x) / o.x, u = (i.top + s.y) / o.y, d = i.width / o.x, p = i.height / o.y;
|
|
1688
1688
|
if (a && r) {
|
|
1689
|
-
let e =
|
|
1689
|
+
let e = O(a), t = f(r) ? O(r) : r, n = e, i = L(n);
|
|
1690
1690
|
for (; i && t !== n;) {
|
|
1691
|
-
let e = ei(i), t = i.getBoundingClientRect(), r =
|
|
1692
|
-
|
|
1691
|
+
let e = ei(i), t = i.getBoundingClientRect(), r = F(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
1692
|
+
l *= e.x, u *= e.y, d *= e.x, p *= e.y, l += a, u += o, n = O(i), i = L(n);
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
return
|
|
1696
|
-
width:
|
|
1697
|
-
height:
|
|
1698
|
-
x:
|
|
1699
|
-
y:
|
|
1695
|
+
return c({
|
|
1696
|
+
width: d,
|
|
1697
|
+
height: p,
|
|
1698
|
+
x: l,
|
|
1699
|
+
y: u
|
|
1700
1700
|
});
|
|
1701
1701
|
}
|
|
1702
1702
|
function ai(e, t) {
|
|
1703
|
-
let n =
|
|
1704
|
-
return t ? t.left + n : ii(
|
|
1703
|
+
let n = D(e).scrollLeft;
|
|
1704
|
+
return t ? t.left + n : ii(ie(e)).left + n;
|
|
1705
1705
|
}
|
|
1706
1706
|
function oi(e, t) {
|
|
1707
1707
|
let n = e.getBoundingClientRect();
|
|
@@ -1711,17 +1711,17 @@ function oi(e, t) {
|
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
1713
|
function si(e) {
|
|
1714
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
1714
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = ie(r), s = t ? w(t.floating) : !1;
|
|
1715
1715
|
if (r === o || s && a) return n;
|
|
1716
1716
|
let c = {
|
|
1717
1717
|
scrollLeft: 0,
|
|
1718
1718
|
scrollTop: 0
|
|
1719
|
-
}, l =
|
|
1720
|
-
if ((d || !a) && ((
|
|
1719
|
+
}, l = b(1), u = b(0), d = C(r);
|
|
1720
|
+
if ((d || !a) && ((H(r) !== "body" || z(o)) && (c = D(r)), d)) {
|
|
1721
1721
|
let e = ii(r);
|
|
1722
1722
|
l = ei(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
1723
1723
|
}
|
|
1724
|
-
let f = o && !d && !a ? oi(o, c) :
|
|
1724
|
+
let f = o && !d && !a ? oi(o, c) : b(0);
|
|
1725
1725
|
return {
|
|
1726
1726
|
width: n.width * l.x,
|
|
1727
1727
|
height: n.height * l.y,
|
|
@@ -1733,8 +1733,8 @@ function ci(e) {
|
|
|
1733
1733
|
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
1734
1734
|
}
|
|
1735
1735
|
function li(e) {
|
|
1736
|
-
let t =
|
|
1737
|
-
return
|
|
1736
|
+
let t = D(e), n = e.ownerDocument.body, r = P(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = P(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + ai(e), o = -t.scrollTop;
|
|
1737
|
+
return F(n).direction === "rtl" && (a += P(e.clientWidth, n.clientWidth) - r), {
|
|
1738
1738
|
width: r,
|
|
1739
1739
|
height: i,
|
|
1740
1740
|
x: a,
|
|
@@ -1744,9 +1744,9 @@ function li(e) {
|
|
|
1744
1744
|
var ui = 25;
|
|
1745
1745
|
function di(e, t, n) {
|
|
1746
1746
|
n === void 0 && (n = "viewport");
|
|
1747
|
-
let r = n === "layoutViewport", i =
|
|
1747
|
+
let r = n === "layoutViewport", i = O(e), a = ie(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
|
|
1748
1748
|
if (o) {
|
|
1749
|
-
let e = !
|
|
1749
|
+
let e = !m() || t === "fixed";
|
|
1750
1750
|
r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
|
|
1751
1751
|
}
|
|
1752
1752
|
if (ai(a) <= 0) {
|
|
@@ -1772,8 +1772,8 @@ function fi(e, t) {
|
|
|
1772
1772
|
function pi(e, t, n) {
|
|
1773
1773
|
let r;
|
|
1774
1774
|
if (t === "viewport" || t === "layoutViewport") r = di(e, n, t);
|
|
1775
|
-
else if (t === "document") r = li(
|
|
1776
|
-
else if (
|
|
1775
|
+
else if (t === "document") r = li(ie(e));
|
|
1776
|
+
else if (f(t)) r = fi(t, n);
|
|
1777
1777
|
else {
|
|
1778
1778
|
let n = ni(e);
|
|
1779
1779
|
r = {
|
|
@@ -1783,23 +1783,23 @@ function pi(e, t, n) {
|
|
|
1783
1783
|
height: t.height
|
|
1784
1784
|
};
|
|
1785
1785
|
}
|
|
1786
|
-
return
|
|
1786
|
+
return c(r);
|
|
1787
1787
|
}
|
|
1788
1788
|
function mi(e, t) {
|
|
1789
1789
|
let n = t.get(e);
|
|
1790
1790
|
if (n) return n;
|
|
1791
|
-
let r =
|
|
1792
|
-
for (;
|
|
1793
|
-
let e =
|
|
1794
|
-
!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o =
|
|
1791
|
+
let r = d(e, [], !1).filter((e) => f(e) && H(e) !== "body"), i = null, a = F(e).position === "fixed", o = a ? V(e) : e;
|
|
1792
|
+
for (; f(o) && !ee(o);) {
|
|
1793
|
+
let e = F(o), t = p(o), n = i ? i.position : a ? "fixed" : "";
|
|
1794
|
+
!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = V(o);
|
|
1795
1795
|
}
|
|
1796
1796
|
return t.set(e, r), r;
|
|
1797
1797
|
}
|
|
1798
1798
|
function hi(e) {
|
|
1799
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
1799
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? w(t) ? [] : mi(t, this._c) : [].concat(n), r], o = pi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1800
1800
|
for (let e = 1; e < a.length; e++) {
|
|
1801
1801
|
let n = pi(t, a[e], i);
|
|
1802
|
-
s =
|
|
1802
|
+
s = P(n.top, s), c = T(n.right, c), l = T(n.bottom, l), u = P(n.left, u);
|
|
1803
1803
|
}
|
|
1804
1804
|
return {
|
|
1805
1805
|
width: c - u,
|
|
@@ -1816,16 +1816,16 @@ function gi(e) {
|
|
|
1816
1816
|
};
|
|
1817
1817
|
}
|
|
1818
1818
|
function _i(e, t, n) {
|
|
1819
|
-
let r =
|
|
1819
|
+
let r = C(t), i = ie(t), a = n === "fixed", o = ii(e, !0, a, t), s = {
|
|
1820
1820
|
scrollLeft: 0,
|
|
1821
1821
|
scrollTop: 0
|
|
1822
|
-
}, c =
|
|
1823
|
-
if ((r || !a) && ((
|
|
1822
|
+
}, c = b(0);
|
|
1823
|
+
if ((r || !a) && ((H(t) !== "body" || z(i)) && (s = D(t)), r)) {
|
|
1824
1824
|
let e = ii(t, !0, a, t);
|
|
1825
1825
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
1826
1826
|
}
|
|
1827
1827
|
!r && i && (c.x = ai(i));
|
|
1828
|
-
let l = i && !r && !a ? oi(i, s) :
|
|
1828
|
+
let l = i && !r && !a ? oi(i, s) : b(0);
|
|
1829
1829
|
return {
|
|
1830
1830
|
x: o.left + s.scrollLeft - c.x - l.x,
|
|
1831
1831
|
y: o.top + s.scrollTop - c.y - l.y,
|
|
@@ -1834,28 +1834,28 @@ function _i(e, t, n) {
|
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
1836
|
function vi(e) {
|
|
1837
|
-
return
|
|
1837
|
+
return F(e).position === "static";
|
|
1838
1838
|
}
|
|
1839
1839
|
function yi(e, t) {
|
|
1840
|
-
if (!
|
|
1840
|
+
if (!C(e) || F(e).position === "fixed") return null;
|
|
1841
1841
|
if (t) return t(e);
|
|
1842
1842
|
let n = e.offsetParent;
|
|
1843
|
-
return
|
|
1843
|
+
return ie(e) === n && (n = n.ownerDocument.body), n;
|
|
1844
1844
|
}
|
|
1845
1845
|
function bi(e, t) {
|
|
1846
|
-
let n =
|
|
1847
|
-
if (
|
|
1848
|
-
if (!
|
|
1849
|
-
let t =
|
|
1850
|
-
for (; t && !
|
|
1851
|
-
if (
|
|
1852
|
-
t =
|
|
1846
|
+
let n = O(e);
|
|
1847
|
+
if (w(e)) return n;
|
|
1848
|
+
if (!C(e)) {
|
|
1849
|
+
let t = V(e);
|
|
1850
|
+
for (; t && !ee(t);) {
|
|
1851
|
+
if (f(t) && !vi(t)) return t;
|
|
1852
|
+
t = V(t);
|
|
1853
1853
|
}
|
|
1854
1854
|
return n;
|
|
1855
1855
|
}
|
|
1856
1856
|
let r = yi(e, t);
|
|
1857
|
-
for (; r &&
|
|
1858
|
-
return r &&
|
|
1857
|
+
for (; r && S(r) && vi(r);) r = yi(r, t);
|
|
1858
|
+
return r && ee(r) && vi(r) && !p(r) ? n : r || ne(e) || n;
|
|
1859
1859
|
}
|
|
1860
1860
|
var xi = async function(e) {
|
|
1861
1861
|
let t = this.getOffsetParent || bi, n = this.getDimensions, r = await n(e.floating);
|
|
@@ -1870,25 +1870,25 @@ var xi = async function(e) {
|
|
|
1870
1870
|
};
|
|
1871
1871
|
};
|
|
1872
1872
|
function Si(e) {
|
|
1873
|
-
return
|
|
1873
|
+
return F(e).direction === "rtl";
|
|
1874
1874
|
}
|
|
1875
1875
|
var Ci = {
|
|
1876
1876
|
convertOffsetParentRelativeRectToViewportRelativeRect: si,
|
|
1877
|
-
getDocumentElement:
|
|
1877
|
+
getDocumentElement: ie,
|
|
1878
1878
|
getClippingRect: hi,
|
|
1879
1879
|
getOffsetParent: bi,
|
|
1880
1880
|
getElementRects: xi,
|
|
1881
1881
|
getClientRects: ci,
|
|
1882
1882
|
getDimensions: gi,
|
|
1883
1883
|
getScale: ei,
|
|
1884
|
-
isElement:
|
|
1884
|
+
isElement: f,
|
|
1885
1885
|
isRTL: Si
|
|
1886
1886
|
};
|
|
1887
1887
|
function wi(e, t) {
|
|
1888
1888
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1889
1889
|
}
|
|
1890
1890
|
function Ti(e, t, n) {
|
|
1891
|
-
let r = null, i, a =
|
|
1891
|
+
let r = null, i, a = ie(e);
|
|
1892
1892
|
function o() {
|
|
1893
1893
|
var e;
|
|
1894
1894
|
clearTimeout(i), (e = r) == null || e.disconnect(), r = null;
|
|
@@ -1897,61 +1897,61 @@ function Ti(e, t, n) {
|
|
|
1897
1897
|
n === void 0 && (n = !1), c === void 0 && (c = 1), o();
|
|
1898
1898
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
1899
1899
|
if (n || t(), !f || !p) return;
|
|
1900
|
-
let m =
|
|
1901
|
-
rootMargin: -m + "px " + -h + "px " + -
|
|
1902
|
-
threshold:
|
|
1903
|
-
},
|
|
1904
|
-
function
|
|
1900
|
+
let m = ae(d), h = ae(a.clientWidth - (u + f)), g = ae(a.clientHeight - (d + p)), _ = ae(u), v = {
|
|
1901
|
+
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
1902
|
+
threshold: P(0, T(1, c)) || 1
|
|
1903
|
+
}, y = !0;
|
|
1904
|
+
function b(t) {
|
|
1905
1905
|
let n = t[0].intersectionRatio;
|
|
1906
1906
|
if (!wi(l, e.getBoundingClientRect())) return s();
|
|
1907
1907
|
if (n !== c) {
|
|
1908
|
-
if (!
|
|
1908
|
+
if (!y) return s();
|
|
1909
1909
|
n ? s(!1, n) : i = setTimeout(() => {
|
|
1910
1910
|
s(!1, 1e-7);
|
|
1911
1911
|
}, 1e3);
|
|
1912
1912
|
}
|
|
1913
|
-
|
|
1913
|
+
y = !1;
|
|
1914
1914
|
}
|
|
1915
1915
|
try {
|
|
1916
|
-
r = new IntersectionObserver(
|
|
1917
|
-
...
|
|
1916
|
+
r = new IntersectionObserver(b, {
|
|
1917
|
+
...v,
|
|
1918
1918
|
root: a.ownerDocument
|
|
1919
1919
|
});
|
|
1920
1920
|
} catch {
|
|
1921
|
-
r = new IntersectionObserver(
|
|
1921
|
+
r = new IntersectionObserver(b, v);
|
|
1922
1922
|
}
|
|
1923
1923
|
r.observe(e);
|
|
1924
1924
|
}
|
|
1925
|
-
let c =
|
|
1925
|
+
let c = O(e), l = () => s(n);
|
|
1926
1926
|
return c.addEventListener("resize", l), s(!0), () => {
|
|
1927
1927
|
c.removeEventListener("resize", l), o();
|
|
1928
1928
|
};
|
|
1929
1929
|
}
|
|
1930
1930
|
function Ei(e, t, n, r) {
|
|
1931
1931
|
r === void 0 && (r = {});
|
|
1932
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = $r(e), u = i || a ? [...l ?
|
|
1932
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = $r(e), u = i || a ? [...l ? d(l) : [], ...t ? d(t) : []] : [];
|
|
1933
1933
|
u.forEach((e) => {
|
|
1934
1934
|
i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
|
|
1935
1935
|
});
|
|
1936
|
-
let
|
|
1937
|
-
o && (
|
|
1936
|
+
let f = l && s ? Ti(l, n, a) : null, p = -1, m = null;
|
|
1937
|
+
o && (m = new ResizeObserver((e) => {
|
|
1938
1938
|
let [r] = e;
|
|
1939
|
-
r && r.target === l &&
|
|
1939
|
+
r && r.target === l && m && t && (m.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
1940
1940
|
var e;
|
|
1941
|
-
(e =
|
|
1941
|
+
(e = m) == null || e.observe(t);
|
|
1942
1942
|
})), n();
|
|
1943
|
-
}), l && !c &&
|
|
1944
|
-
let
|
|
1945
|
-
c &&
|
|
1946
|
-
function
|
|
1943
|
+
}), l && !c && m.observe(l), t && m.observe(t));
|
|
1944
|
+
let h, g = c ? ii(e) : null;
|
|
1945
|
+
c && _();
|
|
1946
|
+
function _() {
|
|
1947
1947
|
let t = ii(e);
|
|
1948
|
-
|
|
1948
|
+
g && !wi(g, t) && n(), g = t, h = requestAnimationFrame(_);
|
|
1949
1949
|
}
|
|
1950
1950
|
return n(), () => {
|
|
1951
1951
|
var e;
|
|
1952
1952
|
u.forEach((e) => {
|
|
1953
1953
|
i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
|
|
1954
|
-
}),
|
|
1954
|
+
}), f?.(), (e = m) == null || e.disconnect(), m = null, c && cancelAnimationFrame(h);
|
|
1955
1955
|
};
|
|
1956
1956
|
}
|
|
1957
1957
|
var Di = Jr, Oi = Yr, ki = Gr, Ai = Zr, ji = Xr, Mi = (e, t, n) => {
|
|
@@ -2227,7 +2227,7 @@ function Ji(e) {
|
|
|
2227
2227
|
open: t,
|
|
2228
2228
|
floatingId: i
|
|
2229
2229
|
};
|
|
2230
|
-
r.reference !== void 0 && (e.referenceElement = r.reference, e.domReferenceElement =
|
|
2230
|
+
r.reference !== void 0 && (e.referenceElement = r.reference, e.domReferenceElement = f(r.reference) ? r.reference : null), r.floating !== void 0 && (e.floatingElement = r.floating), o.update(e);
|
|
2231
2231
|
}, [
|
|
2232
2232
|
t,
|
|
2233
2233
|
i,
|
|
@@ -2242,7 +2242,7 @@ function Yi(e) {
|
|
|
2242
2242
|
return Xi(e, e.rootContext);
|
|
2243
2243
|
}
|
|
2244
2244
|
function Xi(e, t) {
|
|
2245
|
-
let { nodeId: n, externalTree: r } = e, i = t.useState("referenceElement"), a = t.useState("floatingElement"), o = t.useState("domReferenceElement"), s = t.useState("open"), c = t.useState("floatingId"), [l, u] = Y.useState(null), [d,
|
|
2245
|
+
let { nodeId: n, externalTree: r } = e, i = t.useState("referenceElement"), a = t.useState("floatingElement"), o = t.useState("domReferenceElement"), s = t.useState("open"), c = t.useState("floatingId"), [l, u] = Y.useState(null), [d, p] = Y.useState(void 0), [m, h] = Y.useState(void 0), g = Y.useRef(null), _ = Dr(r), v = Y.useMemo(() => ({
|
|
2246
2246
|
reference: i,
|
|
2247
2247
|
floating: a,
|
|
2248
2248
|
domReference: o
|
|
@@ -2250,76 +2250,76 @@ function Xi(e, t) {
|
|
|
2250
2250
|
i,
|
|
2251
2251
|
a,
|
|
2252
2252
|
o
|
|
2253
|
-
]),
|
|
2253
|
+
]), y = Ri({
|
|
2254
2254
|
...e,
|
|
2255
2255
|
elements: {
|
|
2256
|
-
...
|
|
2256
|
+
...v,
|
|
2257
2257
|
...l && { reference: l }
|
|
2258
2258
|
}
|
|
2259
|
-
}),
|
|
2260
|
-
t.useSyncedValue("referenceElement", d ?? null), t.useSyncedValue("domReferenceElement", d === void 0 ? o :
|
|
2261
|
-
let
|
|
2262
|
-
let t =
|
|
2259
|
+
}), b = f(d) ? d : null, x = m === void 0 ? t.state.floatingElement : m;
|
|
2260
|
+
t.useSyncedValue("referenceElement", d ?? null), t.useSyncedValue("domReferenceElement", d === void 0 ? o : b), t.useSyncedValue("floatingElement", x);
|
|
2261
|
+
let S = Y.useCallback((e) => {
|
|
2262
|
+
let t = f(e) ? {
|
|
2263
2263
|
getBoundingClientRect: () => e.getBoundingClientRect(),
|
|
2264
2264
|
getClientRects: () => e.getClientRects(),
|
|
2265
2265
|
contextElement: e
|
|
2266
2266
|
} : e;
|
|
2267
|
-
u(t),
|
|
2268
|
-
}, [
|
|
2269
|
-
(
|
|
2270
|
-
}, [
|
|
2271
|
-
|
|
2272
|
-
}, [
|
|
2273
|
-
...
|
|
2274
|
-
setReference:
|
|
2275
|
-
setFloating:
|
|
2276
|
-
setPositionReference:
|
|
2277
|
-
domReference:
|
|
2267
|
+
u(t), y.refs.setReference(t);
|
|
2268
|
+
}, [y.refs]), C = Y.useCallback((e) => {
|
|
2269
|
+
(f(e) || e === null) && (g.current = e, p(e)), (f(y.refs.reference.current) || y.refs.reference.current === null || e !== null && !f(e)) && y.refs.setReference(e);
|
|
2270
|
+
}, [y.refs, p]), w = Y.useCallback((e) => {
|
|
2271
|
+
h(e), y.refs.setFloating(e);
|
|
2272
|
+
}, [y.refs]), T = Y.useMemo(() => ({
|
|
2273
|
+
...y.refs,
|
|
2274
|
+
setReference: C,
|
|
2275
|
+
setFloating: w,
|
|
2276
|
+
setPositionReference: S,
|
|
2277
|
+
domReference: g
|
|
2278
2278
|
}), [
|
|
2279
|
-
|
|
2280
|
-
S,
|
|
2279
|
+
y.refs,
|
|
2281
2280
|
C,
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2281
|
+
w,
|
|
2282
|
+
S
|
|
2283
|
+
]), E = Y.useMemo(() => ({
|
|
2284
|
+
...y.elements,
|
|
2285
2285
|
domReference: o
|
|
2286
|
-
}), [
|
|
2287
|
-
...
|
|
2286
|
+
}), [y.elements, o]), D = Y.useMemo(() => ({
|
|
2287
|
+
...y,
|
|
2288
2288
|
dataRef: t.context.dataRef,
|
|
2289
2289
|
open: s,
|
|
2290
2290
|
onOpenChange: t.setOpen,
|
|
2291
2291
|
events: t.context.events,
|
|
2292
2292
|
floatingId: c,
|
|
2293
|
-
refs:
|
|
2294
|
-
elements:
|
|
2293
|
+
refs: T,
|
|
2294
|
+
elements: E,
|
|
2295
2295
|
nodeId: n,
|
|
2296
2296
|
rootStore: t
|
|
2297
2297
|
}), [
|
|
2298
|
-
|
|
2299
|
-
w,
|
|
2298
|
+
y,
|
|
2300
2299
|
T,
|
|
2300
|
+
E,
|
|
2301
2301
|
n,
|
|
2302
2302
|
t,
|
|
2303
2303
|
s,
|
|
2304
2304
|
c
|
|
2305
2305
|
]);
|
|
2306
2306
|
return U(() => {
|
|
2307
|
-
o && (
|
|
2307
|
+
o && (g.current = o);
|
|
2308
2308
|
}, [o]), U(() => {
|
|
2309
|
-
t.context.dataRef.current.floatingContext =
|
|
2310
|
-
let e =
|
|
2311
|
-
e && (e.context =
|
|
2309
|
+
t.context.dataRef.current.floatingContext = D;
|
|
2310
|
+
let e = _?.nodesRef.current.find((e) => e.id === n);
|
|
2311
|
+
e && (e.context = D);
|
|
2312
2312
|
}), Y.useMemo(() => ({
|
|
2313
|
-
...
|
|
2314
|
-
context:
|
|
2315
|
-
refs:
|
|
2316
|
-
elements:
|
|
2313
|
+
...y,
|
|
2314
|
+
context: D,
|
|
2315
|
+
refs: T,
|
|
2316
|
+
elements: E,
|
|
2317
2317
|
rootStore: t
|
|
2318
2318
|
}), [
|
|
2319
|
-
|
|
2320
|
-
w,
|
|
2319
|
+
y,
|
|
2321
2320
|
T,
|
|
2322
2321
|
E,
|
|
2322
|
+
D,
|
|
2323
2323
|
t
|
|
2324
2324
|
]);
|
|
2325
2325
|
}
|
|
@@ -2349,17 +2349,17 @@ function ra(e, t, n, r) {
|
|
|
2349
2349
|
return t === "both" || t === "horizontal" && r ? e === Zi : $i(t, n ? e === Mt : e === jt, e === Nt);
|
|
2350
2350
|
}
|
|
2351
2351
|
function ia(e, t) {
|
|
2352
|
-
let { listRef: n, activeIndex: r, onNavigate: i = () => {}, enabled: a = !0, selectedIndex: o = null, allowEscape: s = !1, loopFocus: c = !1, nested: l = !1, rtl: u = !1, virtual: d = !1, focusItemOnOpen: f = "auto", focusItemOnHover: p = !0, openOnArrowKeyDown: m = !0, disabledIndices: h = void 0, orientation: g = "vertical", parentOrientation: _, id: v, resetOnPointerLeave: y = !0, externalTree: b, grid: x } = t, S = x != null,
|
|
2352
|
+
let { listRef: n, activeIndex: r, onNavigate: i = () => {}, enabled: a = !0, selectedIndex: o = null, allowEscape: s = !1, loopFocus: c = !1, nested: l = !1, rtl: u = !1, virtual: d = !1, focusItemOnOpen: f = "auto", focusItemOnHover: p = !0, openOnArrowKeyDown: m = !0, disabledIndices: h = void 0, orientation: g = "vertical", parentOrientation: _, id: v, resetOnPointerLeave: y = !0, externalTree: b, grid: x } = t, S = x != null, w = "rootStore" in e ? e.rootStore : e, T = w.useState("open"), E = w.useState("floatingElement"), D = w.useState("domReferenceElement"), O = w.context.dataRef, k = $t(E), A = Qt(D), j = it(k), M = Er(), N = Dr(b), P = Y.useRef(f), F = Y.useRef(o ?? -1), I = Y.useRef(null), L = Y.useRef(!0), R = W((e) => {
|
|
2353
2353
|
i(F.current === -1 ? null : F.current, e);
|
|
2354
|
-
}),
|
|
2354
|
+
}), z = Y.useRef(!!E), ee = Y.useRef(T), te = Y.useRef(!1), B = Y.useRef(!1), ne = Y.useRef(null), re = it(h), V = it(T), H = it(o), ie = it(y), ae = rt(), oe = rt(), se = W(() => {
|
|
2355
2355
|
function e(e) {
|
|
2356
|
-
d ? N?.events.emit("virtualfocus", e) :
|
|
2357
|
-
sync:
|
|
2356
|
+
d ? N?.events.emit("virtualfocus", e) : ne.current = nr(e, {
|
|
2357
|
+
sync: te.current,
|
|
2358
2358
|
preventScroll: !0
|
|
2359
2359
|
});
|
|
2360
2360
|
}
|
|
2361
|
-
let t = n.current[F.current], r =
|
|
2362
|
-
t && e(t), (
|
|
2361
|
+
let t = n.current[F.current], r = B.current;
|
|
2362
|
+
t && e(t), (te.current ? (e) => e() : (e) => ae.request(e))(() => {
|
|
2363
2363
|
let i = n.current[F.current] || t;
|
|
2364
2364
|
i && (t || e(i), pe && (r || !L.current) && i.scrollIntoView?.({
|
|
2365
2365
|
block: "nearest",
|
|
@@ -2370,32 +2370,32 @@ function ia(e, t) {
|
|
|
2370
2370
|
U(() => {
|
|
2371
2371
|
O.current.orientation = g;
|
|
2372
2372
|
}, [O, g]), U(() => {
|
|
2373
|
-
a && (
|
|
2373
|
+
a && (T && E ? (F.current = o ?? -1, P.current && o != null && (B.current = !0, R())) : z.current && (F.current = -1, R()));
|
|
2374
2374
|
}, [
|
|
2375
2375
|
a,
|
|
2376
|
-
w,
|
|
2377
2376
|
T,
|
|
2377
|
+
E,
|
|
2378
2378
|
o,
|
|
2379
2379
|
R
|
|
2380
2380
|
]), U(() => {
|
|
2381
2381
|
if (a) {
|
|
2382
|
-
if (!
|
|
2383
|
-
else if (
|
|
2382
|
+
if (!T) te.current = !1;
|
|
2383
|
+
else if (E) {
|
|
2384
2384
|
if (r == null) {
|
|
2385
|
-
if (
|
|
2386
|
-
if (
|
|
2385
|
+
if (te.current = !1, H.current != null) return;
|
|
2386
|
+
if (z.current && (F.current = -1, se()), (!ee.current || !z.current) && P.current && (I.current != null || P.current === !0 && I.current == null)) {
|
|
2387
2387
|
let e = 0, t = () => {
|
|
2388
2388
|
n.current[0] == null ? (e < 2 && (e ? (e) => oe.request(e) : queueMicrotask)(t), e += 1) : (F.current = I.current == null || ta(I.current, g, u) || l ? dn(n) : fn(n), I.current = null, R());
|
|
2389
2389
|
};
|
|
2390
2390
|
t();
|
|
2391
2391
|
}
|
|
2392
|
-
} else un(n.current, r) || (F.current = r, se(),
|
|
2392
|
+
} else un(n.current, r) || (F.current = r, se(), B.current = !1);
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
2395
|
}, [
|
|
2396
2396
|
a,
|
|
2397
|
-
w,
|
|
2398
2397
|
T,
|
|
2398
|
+
E,
|
|
2399
2399
|
r,
|
|
2400
2400
|
H,
|
|
2401
2401
|
l,
|
|
@@ -2406,29 +2406,29 @@ function ia(e, t) {
|
|
|
2406
2406
|
se,
|
|
2407
2407
|
oe
|
|
2408
2408
|
]), U(() => {
|
|
2409
|
-
if (!a ||
|
|
2409
|
+
if (!a || E || !N || d || !z.current) return;
|
|
2410
2410
|
let e = N.nodesRef.current, t = e.find((e) => e.id === M)?.context?.elements.floating, n = Ie(q(D ?? t ?? null)), r = e.some((e) => e.context && K(e.context.elements.floating, n));
|
|
2411
2411
|
t && !r && L.current && t.focus({ preventScroll: !0 });
|
|
2412
2412
|
}, [
|
|
2413
2413
|
a,
|
|
2414
|
-
|
|
2414
|
+
E,
|
|
2415
2415
|
D,
|
|
2416
2416
|
N,
|
|
2417
2417
|
M,
|
|
2418
2418
|
d
|
|
2419
2419
|
]), U(() => {
|
|
2420
|
-
|
|
2420
|
+
ee.current = T, z.current = !!E;
|
|
2421
2421
|
}), U(() => {
|
|
2422
|
-
|
|
2423
|
-
}, [
|
|
2422
|
+
T || (I.current = null, P.current = f);
|
|
2423
|
+
}, [T, f]);
|
|
2424
2424
|
let ce = r != null, le = W((e) => {
|
|
2425
2425
|
if (!V.current) return;
|
|
2426
2426
|
let t = n.current.indexOf(e.currentTarget);
|
|
2427
2427
|
t !== -1 && (F.current !== t || r !== t) && (F.current = t, R(e));
|
|
2428
2428
|
}), ue = W(() => _ ?? N?.nodesRef.current.find((e) => e.id === M)?.context?.dataRef?.current.orientation), de = W(() => dn(n, re.current)), fe = W((e) => {
|
|
2429
|
-
if (L.current = !1,
|
|
2429
|
+
if (L.current = !1, te.current = !0, e.which === 229 || !V.current && e.currentTarget === j.current) return;
|
|
2430
2430
|
if (l && ra(e.key, g, u, S)) {
|
|
2431
|
-
ea(e.key, ue()) || nn(e),
|
|
2431
|
+
ea(e.key, ue()) || nn(e), w.setOpen(!1, G(De, e.nativeEvent)), C(D) && (d ? N?.events.emit("virtualfocus", D) : D.focus());
|
|
2432
2432
|
return;
|
|
2433
2433
|
}
|
|
2434
2434
|
let t = F.current, r = dn(n, h), i = fn(n, h);
|
|
@@ -2437,17 +2437,17 @@ function ia(e, t) {
|
|
|
2437
2437
|
if (t != null && (F.current = t, R(e)), g === "both") return;
|
|
2438
2438
|
}
|
|
2439
2439
|
if (ea(e.key, g)) {
|
|
2440
|
-
if (nn(e),
|
|
2440
|
+
if (nn(e), T && !d && Ie(e.currentTarget.ownerDocument) === e.currentTarget) {
|
|
2441
2441
|
F.current = ta(e.key, g, u) ? r : i, R(e);
|
|
2442
2442
|
return;
|
|
2443
2443
|
}
|
|
2444
|
-
ta(e.key, g, u) ? c ? t >= i ? s && t !== n.current.length ? F.current = -1 : (
|
|
2444
|
+
ta(e.key, g, u) ? c ? t >= i ? s && t !== n.current.length ? F.current = -1 : (te.current = !1, F.current = r) : F.current = pn(n.current, {
|
|
2445
2445
|
startingIndex: t,
|
|
2446
2446
|
disabledIndices: h
|
|
2447
2447
|
}) : F.current = Math.min(i, pn(n.current, {
|
|
2448
2448
|
startingIndex: t,
|
|
2449
2449
|
disabledIndices: h
|
|
2450
|
-
})) : c ? t <= r ? s && t !== -1 ? F.current = n.current.length : (
|
|
2450
|
+
})) : c ? t <= r ? s && t !== -1 ? F.current = n.current.length : (te.current = !1, F.current = i) : F.current = pn(n.current, {
|
|
2451
2451
|
startingIndex: t,
|
|
2452
2452
|
decrement: !0,
|
|
2453
2453
|
disabledIndices: h
|
|
@@ -2459,17 +2459,17 @@ function ia(e, t) {
|
|
|
2459
2459
|
}
|
|
2460
2460
|
}), pe = Y.useMemo(() => ({
|
|
2461
2461
|
onFocus(e) {
|
|
2462
|
-
|
|
2462
|
+
te.current = !0, le(e);
|
|
2463
2463
|
},
|
|
2464
2464
|
onClick: ({ currentTarget: e }) => e.focus({ preventScroll: !0 }),
|
|
2465
2465
|
onMouseMove(e) {
|
|
2466
|
-
Qi(e) || (
|
|
2466
|
+
Qi(e) || (te.current = !0, B.current = !1, p && le(e));
|
|
2467
2467
|
},
|
|
2468
2468
|
onPointerLeave(e) {
|
|
2469
2469
|
if (!V.current || !L.current || e.pointerType === "touch") return;
|
|
2470
|
-
|
|
2470
|
+
te.current = !0;
|
|
2471
2471
|
let t = e.relatedTarget;
|
|
2472
|
-
if (p && !n.current.includes(t) && ie.current && (
|
|
2472
|
+
if (p && !n.current.includes(t) && ie.current && (ne.current?.(), ne.current = null, F.current = -1, R(e), !d)) {
|
|
2473
2473
|
let e = j.current, t = Ie(q(e));
|
|
2474
2474
|
e && K(e, t) && e.focus({ preventScroll: !0 });
|
|
2475
2475
|
}
|
|
@@ -2483,19 +2483,19 @@ function ia(e, t) {
|
|
|
2483
2483
|
R,
|
|
2484
2484
|
ie,
|
|
2485
2485
|
d
|
|
2486
|
-
]), me = Y.useMemo(() => d &&
|
|
2486
|
+
]), me = Y.useMemo(() => d && T && ce && { "aria-activedescendant": `${v}-${r}` }, [
|
|
2487
2487
|
d,
|
|
2488
|
-
|
|
2488
|
+
T,
|
|
2489
2489
|
ce,
|
|
2490
2490
|
v,
|
|
2491
2491
|
r
|
|
2492
2492
|
]), he = Y.useMemo(() => ({
|
|
2493
2493
|
...A ? {} : me,
|
|
2494
2494
|
onKeyDown(e) {
|
|
2495
|
-
if (e.key === "Tab" && e.shiftKey &&
|
|
2495
|
+
if (e.key === "Tab" && e.shiftKey && T && !d) {
|
|
2496
2496
|
let t = qe(e.nativeEvent);
|
|
2497
2497
|
if (t && !K(j.current, t)) return;
|
|
2498
|
-
nn(e),
|
|
2498
|
+
nn(e), w.setOpen(!1, G(ve, e.nativeEvent)), C(D) && D.focus();
|
|
2499
2499
|
} else fe(e);
|
|
2500
2500
|
},
|
|
2501
2501
|
onPointerMove(e) {
|
|
@@ -2506,13 +2506,13 @@ function ia(e, t) {
|
|
|
2506
2506
|
fe,
|
|
2507
2507
|
j,
|
|
2508
2508
|
A,
|
|
2509
|
-
C,
|
|
2510
2509
|
w,
|
|
2510
|
+
T,
|
|
2511
2511
|
d,
|
|
2512
2512
|
D
|
|
2513
2513
|
]), ge = Y.useMemo(() => {
|
|
2514
2514
|
function e(e) {
|
|
2515
|
-
|
|
2515
|
+
w.setOpen(!0, G(De, e.nativeEvent, e.currentTarget));
|
|
2516
2516
|
}
|
|
2517
2517
|
function t(e) {
|
|
2518
2518
|
f === "auto" && an(e.nativeEvent) && (P.current = !d);
|
|
@@ -2522,7 +2522,7 @@ function ia(e, t) {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
return {
|
|
2524
2524
|
onKeyDown(t) {
|
|
2525
|
-
let n =
|
|
2525
|
+
let n = w.select("open");
|
|
2526
2526
|
L.current = !1;
|
|
2527
2527
|
let r = t.key.startsWith("Arrow"), i = na(t.key, ue(), u), a = ea(t.key, g), o = (l ? i : a) || t.key === "Enter" || t.key.trim() === "";
|
|
2528
2528
|
if (d && n) return fe(t);
|
|
@@ -2535,7 +2535,7 @@ function ia(e, t) {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
},
|
|
2537
2537
|
onFocus(e) {
|
|
2538
|
-
|
|
2538
|
+
w.select("open") && !d && (F.current = -1, R(e));
|
|
2539
2539
|
},
|
|
2540
2540
|
onPointerDown: n,
|
|
2541
2541
|
onPointerEnter: n,
|
|
@@ -2548,7 +2548,7 @@ function ia(e, t) {
|
|
|
2548
2548
|
de,
|
|
2549
2549
|
l,
|
|
2550
2550
|
R,
|
|
2551
|
-
|
|
2551
|
+
w,
|
|
2552
2552
|
m,
|
|
2553
2553
|
g,
|
|
2554
2554
|
ue,
|
|
@@ -2882,7 +2882,7 @@ function Ua(e) {
|
|
|
2882
2882
|
//#endregion
|
|
2883
2883
|
//#region ../node_modules/@base-ui/react/utils/scrollable.mjs
|
|
2884
2884
|
function Wa(e, t = !1) {
|
|
2885
|
-
let { overflowY: n } =
|
|
2885
|
+
let { overflowY: n } = F(e);
|
|
2886
2886
|
return n !== "auto" && n !== "scroll" ? !1 : t ? e.clientHeight > 0 : e.scrollHeight > e.clientHeight;
|
|
2887
2887
|
}
|
|
2888
2888
|
//#endregion
|
|
@@ -2901,11 +2901,11 @@ function qa(e, t, n) {
|
|
|
2901
2901
|
//#endregion
|
|
2902
2902
|
//#region ../node_modules/@base-ui/react/combobox/root/AriaCombobox.mjs
|
|
2903
2903
|
function Ja(e) {
|
|
2904
|
-
let { id: t, onOpenChangeComplete: n, defaultSelectedValue: r = null, selectedValue: i, onSelectedValueChange: a, defaultInputValue: o, inputValue: s, open: c, defaultOpen: l = !1, selectionMode: u, onItemHighlighted:
|
|
2904
|
+
let { id: t, onOpenChangeComplete: n, defaultSelectedValue: r = null, selectedValue: i, onSelectedValueChange: a, defaultInputValue: o, inputValue: s, open: c, defaultOpen: l = !1, selectionMode: u, onItemHighlighted: f, name: p, form: m, disabled: h = !1, readOnly: g = !1, required: _ = !1, inputRef: v, grid: y = !1, items: b, filteredItems: x, filter: S, filterQuery: w, openOnInputClick: T = !0, autoHighlight: E = !1, keepHighlight: D = !1, highlightItemOnHover: O = !0, loopFocus: k = !0, itemToStringLabel: A, itemToStringValue: j, isItemEqualToValue: M = va, virtualized: N = !1, inline: P = !1, fillInputOnItemPress: F = !0, modal: I = !1, limit: L = -1, autoComplete: R = "list", formAutoComplete: z, locale: ee, submitOnItemClick: te = !1 } = e, { clearErrors: B } = Re(), { setDirty: ne, validityData: V, setFilled: H, name: ie, disabled: ae, setTouched: oe, setFocused: ue, validationMode: de, validation: me } = Ve(), he = re(), _e = Ue({ id: t }), ve = Ba({ locale: ee }), xe = Array.isArray(b) ? null : b;
|
|
2905
2905
|
if (xe && typeof xe.label != "function") throw Error(le(100));
|
|
2906
|
-
let Ce = xe ? xe.data :
|
|
2907
|
-
if (!
|
|
2908
|
-
let e = Aa(
|
|
2906
|
+
let Ce = xe ? xe.data : b, De = xe?.value, Oe = De ? void 0 : Ce, je = Y.useMemo(() => {
|
|
2907
|
+
if (!x || !De) return;
|
|
2908
|
+
let e = Aa(x), t = e.map(De), n;
|
|
2909
2909
|
return {
|
|
2910
2910
|
values: t,
|
|
2911
2911
|
findItem(r, i) {
|
|
@@ -2916,31 +2916,31 @@ function Ja(e) {
|
|
|
2916
2916
|
return qa(n, r, i);
|
|
2917
2917
|
}
|
|
2918
2918
|
};
|
|
2919
|
-
}, [
|
|
2920
|
-
let t = je?.findItem(e,
|
|
2921
|
-
return t == null ? Ma(e,
|
|
2922
|
-
}) :
|
|
2919
|
+
}, [x, De]), Pe = Y.useMemo(() => xe ? (e) => xe.label(e, M, (e) => {
|
|
2920
|
+
let t = je?.findItem(e, M);
|
|
2921
|
+
return t == null ? Ma(e, A) : xe.itemLabel(t);
|
|
2922
|
+
}) : A, [
|
|
2923
2923
|
xe,
|
|
2924
|
-
|
|
2924
|
+
A,
|
|
2925
2925
|
je,
|
|
2926
|
-
|
|
2927
|
-
]), Fe = Y.useMemo(() => xe ? Object.assign((e) => xe.itemLabel(e), { selected: (e) => Ma(e, Pe) }) :
|
|
2926
|
+
M
|
|
2927
|
+
]), Fe = Y.useMemo(() => xe ? Object.assign((e) => xe.itemLabel(e), { selected: (e) => Ma(e, Pe) }) : A, [
|
|
2928
2928
|
xe,
|
|
2929
2929
|
Pe,
|
|
2930
|
-
|
|
2930
|
+
A
|
|
2931
2931
|
]);
|
|
2932
2932
|
function Ie(e) {
|
|
2933
2933
|
return Ma(e, Pe);
|
|
2934
2934
|
}
|
|
2935
|
-
let [Be, He] = Y.useState(!1), [We, Ge] = Y.useState(null), Ke = Y.useRef(We), Je = Y.useRef([]), Ye = Y.useRef([]), Xe = Y.useRef(null), q = Y.useRef(null), Ze = Y.useRef(null), Qe = Y.useRef(null), $e = Y.useRef(null), tt = Y.useRef(!0), nt = Y.useRef(!1), rt = Y.useRef(null), at = Y.useRef(null), ot = Y.useRef(null), st = Y.useRef(Ka), J = Y.useRef(null), lt = Y.useRef([]), ut = Y.useRef(null), dt = ae ||
|
|
2936
|
-
bt =
|
|
2935
|
+
let [Be, He] = Y.useState(!1), [We, Ge] = Y.useState(null), Ke = Y.useRef(We), Je = Y.useRef([]), Ye = Y.useRef([]), Xe = Y.useRef(null), q = Y.useRef(null), Ze = Y.useRef(null), Qe = Y.useRef(null), $e = Y.useRef(null), tt = Y.useRef(!0), nt = Y.useRef(!1), rt = Y.useRef(null), at = Y.useRef(null), ot = Y.useRef(null), st = Y.useRef(Ka), J = Y.useRef(null), lt = Y.useRef([]), ut = Y.useRef(null), dt = ae || h, mt = ie ?? p, ht = u === "multiple", gt = u === "single", _t = s !== void 0 || o !== void 0, vt = Ce !== void 0, yt = x !== void 0, bt;
|
|
2936
|
+
bt = E === "always" ? "always" : E ? "input-change" : !1;
|
|
2937
2937
|
let [X, xt] = Ne({
|
|
2938
2938
|
controlled: i,
|
|
2939
2939
|
default: ht ? r ?? Te : r,
|
|
2940
2940
|
name: "Combobox",
|
|
2941
2941
|
state: "selectedValue"
|
|
2942
|
-
}), St = Y.useMemo(() =>
|
|
2943
|
-
|
|
2942
|
+
}), St = Y.useMemo(() => S === null ? () => !0 : S === void 0 ? Ia(ve, Fe) : S, [
|
|
2943
|
+
S,
|
|
2944
2944
|
ve,
|
|
2945
2945
|
Fe
|
|
2946
2946
|
]), Ct = pe(() => _t ? o ?? "" : gt ? Ie(X) : "").current, [wt, Tt] = Ne({
|
|
@@ -2953,14 +2953,14 @@ function Ja(e) {
|
|
|
2953
2953
|
default: l,
|
|
2954
2954
|
name: "Combobox",
|
|
2955
2955
|
state: "open"
|
|
2956
|
-
}), Dt = ka(Ce), Ot = !Z && We !== null ? We : String(wt).trim(), kt = gt ? Ie(X) : "", At = gt && !Be && Ot !== "" && kt.length === Ot.length && ve.contains(kt, Ot), jt = At ? "" :
|
|
2957
|
-
if (
|
|
2956
|
+
}), Dt = ka(Ce), Ot = !Z && We !== null ? We : String(wt).trim(), kt = gt ? Ie(X) : "", At = gt && !Be && Ot !== "" && kt.length === Ot.length && ve.contains(kt, Ot), jt = At ? "" : w ?? Ot, Mt = vt && yt && At && (!xe || xe.hasValue(X, M)), Nt = Y.useMemo(() => Ce ? Aa(Ce) : Te, [Ce]), Pt = Y.useMemo(() => {
|
|
2957
|
+
if (x && !Mt) return x;
|
|
2958
2958
|
if (!Ce) return Te;
|
|
2959
2959
|
if (Dt) {
|
|
2960
2960
|
let e = Ce, t = [], n = 0;
|
|
2961
2961
|
for (let r of e) {
|
|
2962
|
-
if (
|
|
2963
|
-
let e =
|
|
2962
|
+
if (L > -1 && n >= L) break;
|
|
2963
|
+
let e = L > -1 ? L - n : Infinity, i = jt === "" ? r.items.slice(0, e) : [];
|
|
2964
2964
|
if (jt !== "") for (let t of r.items) {
|
|
2965
2965
|
if (i.length >= e) break;
|
|
2966
2966
|
St(t, jt, Fe) && i.push(t);
|
|
@@ -2975,35 +2975,35 @@ function Ja(e) {
|
|
|
2975
2975
|
}
|
|
2976
2976
|
return t;
|
|
2977
2977
|
}
|
|
2978
|
-
if (jt === "") return
|
|
2978
|
+
if (jt === "") return L > -1 ? Nt.slice(0, L) : Nt;
|
|
2979
2979
|
let e = [];
|
|
2980
2980
|
for (let t of Nt) {
|
|
2981
|
-
if (
|
|
2981
|
+
if (L > -1 && e.length >= L) break;
|
|
2982
2982
|
St(t, jt, Fe) && e.push(t);
|
|
2983
2983
|
}
|
|
2984
2984
|
return e;
|
|
2985
2985
|
}, [
|
|
2986
|
-
|
|
2986
|
+
x,
|
|
2987
2987
|
Mt,
|
|
2988
2988
|
Ce,
|
|
2989
2989
|
Dt,
|
|
2990
2990
|
jt,
|
|
2991
|
-
|
|
2991
|
+
L,
|
|
2992
2992
|
St,
|
|
2993
2993
|
Fe,
|
|
2994
2994
|
Nt
|
|
2995
2995
|
]), Ft = Y.useMemo(() => {
|
|
2996
|
-
if (je && Pt ===
|
|
2996
|
+
if (je && Pt === x) return je.values;
|
|
2997
2997
|
let e = Aa(Pt);
|
|
2998
2998
|
return De ? e.map((e) => De(e)) : e;
|
|
2999
2999
|
}, [
|
|
3000
3000
|
Pt,
|
|
3001
|
-
|
|
3001
|
+
x,
|
|
3002
3002
|
je,
|
|
3003
3003
|
De
|
|
3004
3004
|
]), $ = pe(() => {
|
|
3005
3005
|
let e = null;
|
|
3006
|
-
return
|
|
3006
|
+
return P && Z && vt && u !== "none" && (e = wa(Ft, X, M, ht)), new Zn({
|
|
3007
3007
|
id: _e,
|
|
3008
3008
|
labelId: void 0,
|
|
3009
3009
|
selectedValue: X,
|
|
@@ -3011,23 +3011,23 @@ function Ja(e) {
|
|
|
3011
3011
|
items: Oe,
|
|
3012
3012
|
selectionMode: u,
|
|
3013
3013
|
name: mt,
|
|
3014
|
-
form:
|
|
3014
|
+
form: m,
|
|
3015
3015
|
disabled: dt,
|
|
3016
|
-
readOnly:
|
|
3017
|
-
required:
|
|
3018
|
-
grid:
|
|
3019
|
-
virtualized:
|
|
3020
|
-
openOnInputClick:
|
|
3016
|
+
readOnly: g,
|
|
3017
|
+
required: _,
|
|
3018
|
+
grid: y,
|
|
3019
|
+
virtualized: N,
|
|
3020
|
+
openOnInputClick: T,
|
|
3021
3021
|
itemToStringLabel: Pe,
|
|
3022
|
-
isItemEqualToValue:
|
|
3022
|
+
isItemEqualToValue: M,
|
|
3023
3023
|
modal: I,
|
|
3024
3024
|
autoHighlight: bt,
|
|
3025
|
-
submitOnItemClick:
|
|
3025
|
+
submitOnItemClick: te,
|
|
3026
3026
|
hasInputValue: _t,
|
|
3027
3027
|
mounted: !1,
|
|
3028
3028
|
forceMounted: !1,
|
|
3029
3029
|
transitionStatus: "idle",
|
|
3030
|
-
inline:
|
|
3030
|
+
inline: P,
|
|
3031
3031
|
activeIndex: null,
|
|
3032
3032
|
selectedIndex: e,
|
|
3033
3033
|
popupProps: {},
|
|
@@ -3068,13 +3068,13 @@ function Ja(e) {
|
|
|
3068
3068
|
pointerDownItemRef: ut,
|
|
3069
3069
|
selectionEventRef: ot
|
|
3070
3070
|
}, Pa);
|
|
3071
|
-
}).current, It = u === "none" ? wt : X, Lt = Y.useMemo(() => u === "none" ? It : Array.isArray(X) ? X.map((e) => Na(e,
|
|
3071
|
+
}).current, It = u === "none" ? wt : X, Lt = Y.useMemo(() => u === "none" ? It : Array.isArray(X) ? X.map((e) => Na(e, j)) : Na(X, j), [
|
|
3072
3072
|
It,
|
|
3073
|
-
|
|
3073
|
+
j,
|
|
3074
3074
|
u,
|
|
3075
3075
|
X
|
|
3076
|
-
]), Rt = W(
|
|
3077
|
-
ze(Jt ? Zt : q, _e, It, rn, !dt,
|
|
3076
|
+
]), Rt = W(f), zt = W(n), Bt = $.useState("activeIndex"), Vt = $.useState("selectedIndex"), Ht = $.useState("positionerElement"), Ut = $.useState("listElement"), Wt = $.useState("triggerElement"), Gt = $.useState("inputElement"), Kt = $.useState("inputGroupElement"), qt = $.useState("inline"), Jt = $.useState("inputInsidePopup"), Yt = $.useState("inputOwnsFormValue"), Xt = gt && !Jt && wt === kt, Zt = it(Wt), { mounted: Qt, setMounted: $t, transitionStatus: en } = ct(Z), { openMethod: tn, triggerProps: nn } = Ua(Z), rn = W(() => Lt);
|
|
3077
|
+
ze(Jt ? Zt : q, _e, It, rn, !dt, p);
|
|
3078
3078
|
let an = W(() => {
|
|
3079
3079
|
Ce ? Ye.current = Ft.map(Ie) : $.set("forceMounted", !0);
|
|
3080
3080
|
}), on = W((e, t, n) => {
|
|
@@ -3104,8 +3104,8 @@ function Ja(e) {
|
|
|
3104
3104
|
let n = $.state.listElement;
|
|
3105
3105
|
if (!$.state.virtualized && n) {
|
|
3106
3106
|
let e = Xe.current;
|
|
3107
|
-
for (let t of
|
|
3108
|
-
if (!
|
|
3107
|
+
for (let t of d(n.firstElementChild ?? n)) {
|
|
3108
|
+
if (!C(t) || (e ? !K(e, t) : t.getAttribute("role") === "dialog")) break;
|
|
3109
3109
|
if (Wa(t)) {
|
|
3110
3110
|
t.scrollTop = 0;
|
|
3111
3111
|
break;
|
|
@@ -3136,7 +3136,7 @@ function Ja(e) {
|
|
|
3136
3136
|
let i = G(be, r), a = n?.closest("a")?.getAttribute("href");
|
|
3137
3137
|
if (a) a.startsWith("#") && un(!1, i);
|
|
3138
3138
|
else if (ht) {
|
|
3139
|
-
let e = Array.isArray(X) ? X : [], n = xa(e, t,
|
|
3139
|
+
let e = Array.isArray(X) ? X : [], n = xa(e, t, M), r = n ? Ea(e, t, M) : [...e, t];
|
|
3140
3140
|
if (dn(r, i), i.isCanceled || !(q.current && q.current.value.trim() !== "")) return;
|
|
3141
3141
|
if ($.state.inputInsidePopup) {
|
|
3142
3142
|
cn("", G(Me, i.event, void 0, { isItemPress: !0 }));
|
|
@@ -3173,7 +3173,7 @@ function Ja(e) {
|
|
|
3173
3173
|
let e = Ke.current !== null && We === null;
|
|
3174
3174
|
if (Ke.current = We, Z && (!e || !vt) || (Z || (ut.current = null), u === "none")) return;
|
|
3175
3175
|
let t = vt ? Ft : lt.current;
|
|
3176
|
-
sn({ selectedIndex: wa(t, X,
|
|
3176
|
+
sn({ selectedIndex: wa(t, X, M, ht) });
|
|
3177
3177
|
}, [
|
|
3178
3178
|
Z,
|
|
3179
3179
|
We,
|
|
@@ -3182,7 +3182,7 @@ function Ja(e) {
|
|
|
3182
3182
|
ht,
|
|
3183
3183
|
vt,
|
|
3184
3184
|
Ft,
|
|
3185
|
-
|
|
3185
|
+
M,
|
|
3186
3186
|
sn
|
|
3187
3187
|
]), U(() => {
|
|
3188
3188
|
Ce && (lt.current = Ft, Je.current.length = Ft.length);
|
|
@@ -3257,13 +3257,13 @@ function Ja(e) {
|
|
|
3257
3257
|
!vn && wt !== kt && (vn = !0, cn(kt, G(Se)));
|
|
3258
3258
|
}
|
|
3259
3259
|
function bn() {
|
|
3260
|
-
u !== "none" && (B(mt),
|
|
3260
|
+
u !== "none" && (B(mt), ne(ba(X, V.initialValue, M)), me.change(X), gt && !_t && !Jt && yn());
|
|
3261
3261
|
}
|
|
3262
3262
|
function xn() {
|
|
3263
3263
|
gt && !_t && !Jt && !Be && yn();
|
|
3264
3264
|
}
|
|
3265
3265
|
function Sn() {
|
|
3266
|
-
u === "none" && (B(mt),
|
|
3266
|
+
u === "none" && (B(mt), ne(wt !== V.initialValue), me.change(wt));
|
|
3267
3267
|
}
|
|
3268
3268
|
Le(Ot, gn), Le(Z, _n), Le(X, bn), Le(kt, xn), Le(Ce, xn), Le(wt, Sn);
|
|
3269
3269
|
let Cn = Ji({
|
|
@@ -3273,14 +3273,14 @@ function Ja(e) {
|
|
|
3273
3273
|
reference: Jt ? Wt : Gt,
|
|
3274
3274
|
floating: Ht
|
|
3275
3275
|
}
|
|
3276
|
-
}), wn =
|
|
3276
|
+
}), wn = y ? "grid" : "listbox", Tn = Z || qt, En = Tn ? "true" : "false", Dn = Y.useMemo(() => {
|
|
3277
3277
|
let e = Gt?.tagName === "INPUT", t = Gt == null || e, n = t || Tn, r = t ? {
|
|
3278
3278
|
autoComplete: "off",
|
|
3279
3279
|
spellCheck: "false",
|
|
3280
3280
|
autoCorrect: "off",
|
|
3281
3281
|
autoCapitalize: "none"
|
|
3282
3282
|
} : {};
|
|
3283
|
-
return n && (r.role = "combobox", r["aria-expanded"] = En, r["aria-haspopup"] = wn, r["aria-controls"] = Tn ? Ut?.id : void 0, r["aria-autocomplete"] =
|
|
3283
|
+
return n && (r.role = "combobox", r["aria-expanded"] = En, r["aria-haspopup"] = wn, r["aria-controls"] = Tn ? Ut?.id : void 0, r["aria-autocomplete"] = g ? "none" : R), {
|
|
3284
3284
|
reference: r,
|
|
3285
3285
|
floating: { role: "presentation" }
|
|
3286
3286
|
};
|
|
@@ -3290,10 +3290,10 @@ function Ja(e) {
|
|
|
3290
3290
|
En,
|
|
3291
3291
|
wn,
|
|
3292
3292
|
Ut?.id,
|
|
3293
|
-
|
|
3294
|
-
|
|
3293
|
+
R,
|
|
3294
|
+
g
|
|
3295
3295
|
]), On = Lr(Cn, {
|
|
3296
|
-
enabled: !dt &&
|
|
3296
|
+
enabled: !dt && T,
|
|
3297
3297
|
event: "mousedown-only",
|
|
3298
3298
|
toggle: !1,
|
|
3299
3299
|
touchOpenDelay: Jt ? 0 : 100,
|
|
@@ -3316,15 +3316,15 @@ function Ja(e) {
|
|
|
3316
3316
|
activeIndex: Bt,
|
|
3317
3317
|
selectedIndex: Vt,
|
|
3318
3318
|
virtual: !0,
|
|
3319
|
-
loopFocus:
|
|
3320
|
-
allowEscape:
|
|
3319
|
+
loopFocus: k,
|
|
3320
|
+
allowEscape: k && !bt,
|
|
3321
3321
|
focusItemOnOpen: Be || u === "none" && !bt ? !1 : "auto",
|
|
3322
|
-
focusItemOnHover:
|
|
3323
|
-
resetOnPointerLeave: !
|
|
3324
|
-
orientation:
|
|
3322
|
+
focusItemOnHover: O,
|
|
3323
|
+
resetOnPointerLeave: !D,
|
|
3324
|
+
orientation: y ? "horizontal" : void 0,
|
|
3325
3325
|
rtl: he === "rtl",
|
|
3326
3326
|
disabledIndices: Te,
|
|
3327
|
-
grid:
|
|
3327
|
+
grid: y ? oa : void 0,
|
|
3328
3328
|
onNavigate(e, t) {
|
|
3329
3329
|
(t || Z) && en !== "ending" && sn(t ? {
|
|
3330
3330
|
activeIndex: e,
|
|
@@ -3332,13 +3332,13 @@ function Ja(e) {
|
|
|
3332
3332
|
} : { activeIndex: e });
|
|
3333
3333
|
}
|
|
3334
3334
|
}), jn = Y.useMemo(() => ce(An.reference, { onKeyDown(e) {
|
|
3335
|
-
|
|
3335
|
+
y && $.state.activeIndex == null && (e.key === "ArrowLeft" || e.key === "ArrowRight") && e.preventBaseUIHandler();
|
|
3336
3336
|
} }, kn.reference, On.reference, Dn.reference), [
|
|
3337
3337
|
An.reference,
|
|
3338
3338
|
kn.reference,
|
|
3339
3339
|
On.reference,
|
|
3340
3340
|
Dn.reference,
|
|
3341
|
-
|
|
3341
|
+
y,
|
|
3342
3342
|
$
|
|
3343
3343
|
]), Mn = Y.useMemo(() => ce(Ki, kn.floating), [kn.floating]), Nn = Y.useMemo(() => ce(An.floating, Dn.floating), [An.floating, Dn.floating]), Pn = Y.useMemo(() => {
|
|
3344
3344
|
let e = An.item;
|
|
@@ -3349,7 +3349,7 @@ function Ja(e) {
|
|
|
3349
3349
|
}, [An.item]);
|
|
3350
3350
|
$.useContextCallback("setOpen", un), $.useContextCallback("setInputValue", cn), $.useContextCallback("setSelectedValue", dn), $.useContextCallback("setIndices", sn), $.useContextCallback("handleSelection", fn), $.useContextCallback("forceMount", an), $.useContextCallback("requestSubmit", pn), $.useContextCallback("onOpenChangeComplete", n), Bn(() => {
|
|
3351
3351
|
$.update({
|
|
3352
|
-
inline:
|
|
3352
|
+
inline: P,
|
|
3353
3353
|
popupProps: Mn,
|
|
3354
3354
|
listProps: Nn,
|
|
3355
3355
|
inputProps: jn,
|
|
@@ -3364,7 +3364,7 @@ function Ja(e) {
|
|
|
3364
3364
|
mounted: Qt,
|
|
3365
3365
|
transitionStatus: en,
|
|
3366
3366
|
items: Oe,
|
|
3367
|
-
inline:
|
|
3367
|
+
inline: P,
|
|
3368
3368
|
popupProps: Mn,
|
|
3369
3369
|
listProps: Nn,
|
|
3370
3370
|
inputProps: jn,
|
|
@@ -3373,27 +3373,27 @@ function Ja(e) {
|
|
|
3373
3373
|
openMethod: tn,
|
|
3374
3374
|
selectionMode: u,
|
|
3375
3375
|
name: mt,
|
|
3376
|
-
form:
|
|
3376
|
+
form: m,
|
|
3377
3377
|
disabled: dt,
|
|
3378
|
-
readOnly:
|
|
3379
|
-
required:
|
|
3380
|
-
grid:
|
|
3381
|
-
virtualized:
|
|
3382
|
-
openOnInputClick:
|
|
3378
|
+
readOnly: g,
|
|
3379
|
+
required: _,
|
|
3380
|
+
grid: y,
|
|
3381
|
+
virtualized: N,
|
|
3382
|
+
openOnInputClick: T,
|
|
3383
3383
|
itemToStringLabel: Pe,
|
|
3384
3384
|
modal: I,
|
|
3385
3385
|
autoHighlight: bt,
|
|
3386
|
-
isItemEqualToValue:
|
|
3387
|
-
submitOnItemClick:
|
|
3386
|
+
isItemEqualToValue: M,
|
|
3387
|
+
submitOnItemClick: te,
|
|
3388
3388
|
hasInputValue: _t
|
|
3389
3389
|
};
|
|
3390
3390
|
U(() => {
|
|
3391
3391
|
$.update({
|
|
3392
3392
|
...Fn,
|
|
3393
|
-
inputOwnsFormValue: u === "none" && (
|
|
3393
|
+
inputOwnsFormValue: u === "none" && (P || !$.state.inputInsidePopup)
|
|
3394
3394
|
});
|
|
3395
3395
|
}, [$, ...Object.values(Fn)]);
|
|
3396
|
-
let In = fe(
|
|
3396
|
+
let In = fe(v, me.inputRef), Ln = Y.useMemo(() => ({
|
|
3397
3397
|
query: Ot,
|
|
3398
3398
|
hasItems: vt,
|
|
3399
3399
|
filteredItems: Pt,
|
|
@@ -3403,11 +3403,11 @@ function Ja(e) {
|
|
|
3403
3403
|
vt,
|
|
3404
3404
|
Pt,
|
|
3405
3405
|
Ft
|
|
3406
|
-
]), Rn = Y.useMemo(() => Array.isArray(It) ? "" : Na(It,
|
|
3407
|
-
let t = Na(e,
|
|
3406
|
+
]), Rn = Y.useMemo(() => Array.isArray(It) ? "" : Na(It, j), [It, j]), zn = ht && Array.isArray(X) && X.length > 0, Vn = ht || u === "none" && Yt ? void 0 : mt, Hn = Y.useMemo(() => !ht || !Array.isArray(X) || !mt ? null : X.map((e) => {
|
|
3407
|
+
let t = Na(e, j);
|
|
3408
3408
|
return /*#__PURE__*/ (0, Q.jsx)("input", {
|
|
3409
3409
|
type: "hidden",
|
|
3410
|
-
form:
|
|
3410
|
+
form: m,
|
|
3411
3411
|
name: mt,
|
|
3412
3412
|
value: t,
|
|
3413
3413
|
disabled: dt
|
|
@@ -3415,9 +3415,9 @@ function Ja(e) {
|
|
|
3415
3415
|
}), [
|
|
3416
3416
|
ht,
|
|
3417
3417
|
X,
|
|
3418
|
-
|
|
3418
|
+
m,
|
|
3419
3419
|
mt,
|
|
3420
|
-
|
|
3420
|
+
j,
|
|
3421
3421
|
dt
|
|
3422
3422
|
]), Un = /*#__PURE__*/ (0, Q.jsxs)(Y.Fragment, { children: [
|
|
3423
3423
|
e.children,
|
|
@@ -3427,8 +3427,8 @@ function Ja(e) {
|
|
|
3427
3427
|
Jt ? Wt?.focus() : (q.current || Wt)?.focus();
|
|
3428
3428
|
},
|
|
3429
3429
|
onChange(e) {
|
|
3430
|
-
if (e.nativeEvent.defaultPrevented || dt ||
|
|
3431
|
-
let t = e.currentTarget.value, n = t.toLowerCase(), r = G(Se, e.nativeEvent), i = () => lt.current.findIndex((e) => Na(e,
|
|
3430
|
+
if (e.nativeEvent.defaultPrevented || dt || g) return;
|
|
3431
|
+
let t = e.currentTarget.value, n = t.toLowerCase(), r = G(Se, e.nativeEvent), i = () => lt.current.findIndex((e) => Na(e, j).toLowerCase() === n || Ie(e).toLowerCase() === n);
|
|
3432
3432
|
function a() {
|
|
3433
3433
|
if (ht) return;
|
|
3434
3434
|
if (u === "none") {
|
|
@@ -3447,12 +3447,12 @@ function Ja(e) {
|
|
|
3447
3447
|
}
|
|
3448
3448
|
}),
|
|
3449
3449
|
id: _e && Vn == null ? `${_e}-hidden-input` : void 0,
|
|
3450
|
-
form:
|
|
3450
|
+
form: m,
|
|
3451
3451
|
name: Vn,
|
|
3452
|
-
autoComplete:
|
|
3452
|
+
autoComplete: z,
|
|
3453
3453
|
disabled: dt,
|
|
3454
|
-
required:
|
|
3455
|
-
readOnly:
|
|
3454
|
+
required: _ && !zn,
|
|
3455
|
+
readOnly: g,
|
|
3456
3456
|
value: Rn,
|
|
3457
3457
|
ref: In,
|
|
3458
3458
|
style: Vn ? pt : ft,
|
|
@@ -3553,14 +3553,14 @@ function lo(e, t, n) {
|
|
|
3553
3553
|
//#endregion
|
|
3554
3554
|
//#region ../node_modules/@base-ui/react/combobox/input/ComboboxInput.mjs
|
|
3555
3555
|
var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
3556
|
-
let { render: n, className: r, disabled: i = !1, id: a, style: o, ...s } = e, { state: c, disabled: l, setTouched: u, setFocused: d, validationMode: f, validation: p } = Ve(), { labelId: m } = Ye(), h = to(), g = !!ro(!0), _ = fa(), v = ha(), y =
|
|
3556
|
+
let { render: n, className: r, disabled: i = !1, id: a, style: o, ...s } = e, { state: c, disabled: l, setTouched: u, setFocused: d, validationMode: f, validation: p } = Ve(), { labelId: m } = Ye(), h = to(), g = !!ro(!0), _ = fa(), v = ha(), y = re(), b = _.useState("required"), x = _.useState("disabled"), S = _.useState("readOnly"), C = _.useState("name"), w = _.useState("form"), T = _.useState("selectionMode"), E = _.useState("autoHighlight"), D = _.useState("inputProps"), O = _.useState("triggerProps"), k = _.useState("open"), A = _.useState("mounted"), j = _.useState("selectedValue"), M = _.useState("id"), N = _.useState("inline"), P = _.useState("modal"), F = !!E, I = ao(_), L = l || x || i, R = oo(), z = g || N, ee = !z || P, te = Pe(a ?? (z ? void 0 : M)), B = g ? Be : c, [ne, V] = Y.useState(null), H = Y.useRef(!1), ie = Y.useRef(null), ae = Y.useRef(!1), oe = T === "none" && !g, se = W((e) => {
|
|
3557
3557
|
let t = g || _.state.inline;
|
|
3558
3558
|
t && !_.state.hasInputValue && _.context.setInputValue("", G(Se)), _.update({
|
|
3559
3559
|
inputElement: e,
|
|
3560
3560
|
inputInsidePopup: t,
|
|
3561
3561
|
inputOwnsFormValue: oe
|
|
3562
3562
|
});
|
|
3563
|
-
}), U = g ? s : p.getValidationProps(
|
|
3563
|
+
}), U = g ? s : p.getValidationProps(L, s);
|
|
3564
3564
|
function ce() {
|
|
3565
3565
|
_.context.setIndices({
|
|
3566
3566
|
activeIndex: null,
|
|
@@ -3574,10 +3574,10 @@ var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3574
3574
|
let ue = {
|
|
3575
3575
|
...B,
|
|
3576
3576
|
open: k,
|
|
3577
|
-
disabled:
|
|
3577
|
+
disabled: L,
|
|
3578
3578
|
readOnly: S,
|
|
3579
3579
|
popupSide: I,
|
|
3580
|
-
listEmpty:
|
|
3580
|
+
listEmpty: R
|
|
3581
3581
|
};
|
|
3582
3582
|
function de(e) {
|
|
3583
3583
|
if (!h) return;
|
|
@@ -3595,16 +3595,16 @@ var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3595
3595
|
D,
|
|
3596
3596
|
O,
|
|
3597
3597
|
{
|
|
3598
|
-
value:
|
|
3598
|
+
value: ne ?? v,
|
|
3599
3599
|
"aria-readonly": S || void 0,
|
|
3600
3600
|
"aria-required": b || void 0,
|
|
3601
3601
|
"aria-labelledby": m,
|
|
3602
|
-
disabled:
|
|
3602
|
+
disabled: L,
|
|
3603
3603
|
readOnly: S,
|
|
3604
3604
|
required: T === "none" ? b : void 0,
|
|
3605
3605
|
form: w,
|
|
3606
3606
|
...oe && C && { name: C },
|
|
3607
|
-
id:
|
|
3607
|
+
id: te,
|
|
3608
3608
|
onFocus() {
|
|
3609
3609
|
if (d(!0), !N || !ae.current) return;
|
|
3610
3610
|
ae.current = !1;
|
|
@@ -3630,7 +3630,7 @@ var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3630
3630
|
onChange(e) {
|
|
3631
3631
|
let t = e.nativeEvent, n = t.inputType, r = !n || n === "insertReplacementText", i = H.current || !r;
|
|
3632
3632
|
function a(e) {
|
|
3633
|
-
!S && !
|
|
3633
|
+
!S && !L && e && i && (_.context.setOpen(!0, G(Ee, t)), F || ce());
|
|
3634
3634
|
}
|
|
3635
3635
|
if (H.current) {
|
|
3636
3636
|
let n = e.currentTarget.value;
|
|
@@ -3646,7 +3646,7 @@ var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3646
3646
|
},
|
|
3647
3647
|
onKeyDown(e) {
|
|
3648
3648
|
if (e.ctrlKey || e.shiftKey || e.altKey || e.metaKey) return;
|
|
3649
|
-
if (_.context.keyboardActiveRef.current = !0,
|
|
3649
|
+
if (_.context.keyboardActiveRef.current = !0, L || S) {
|
|
3650
3650
|
S && e.key === "Enter" && k && _.state.activeIndex !== null && nn(e);
|
|
3651
3651
|
return;
|
|
3652
3652
|
}
|
|
@@ -3694,13 +3694,13 @@ var uo = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3694
3694
|
value: Ge,
|
|
3695
3695
|
children: fe
|
|
3696
3696
|
}) : fe;
|
|
3697
|
-
return /*#__PURE__*/ (0, Q.jsxs)(Y.Fragment, { children: [k &&
|
|
3697
|
+
return /*#__PURE__*/ (0, Q.jsxs)(Y.Fragment, { children: [k && ee && /*#__PURE__*/ (0, Q.jsx)(io, { ref: _.context.startDismissRef }), pe] });
|
|
3698
3698
|
});
|
|
3699
3699
|
//#endregion
|
|
3700
3700
|
//#region ../node_modules/@base-ui/react/combobox/utils/handleInputPress.mjs
|
|
3701
3701
|
function fo(e, t, n, r) {
|
|
3702
3702
|
if (e.baseUIHandlerPrevented) return;
|
|
3703
|
-
let i = qe(e.nativeEvent), a =
|
|
3703
|
+
let i = qe(e.nativeEvent), a = f(i) ? i : null;
|
|
3704
3704
|
(a === e.currentTarget || !r?.(a) && !Zt(a)) && (e.preventDefault(), !n && (t.context.inputRef.current?.focus(), t.state.openOnInputClick && t.context.setOpen(!0, G(ye, e.nativeEvent))));
|
|
3705
3705
|
}
|
|
3706
3706
|
//#endregion
|
|
@@ -3711,7 +3711,7 @@ function mo(e, t) {
|
|
|
3711
3711
|
return e.clientX >= n.left - po && e.clientX <= n.right + po && e.clientY >= n.top - po && e.clientY <= n.bottom + po;
|
|
3712
3712
|
}
|
|
3713
3713
|
function ho(e) {
|
|
3714
|
-
let t = e.getBoundingClientRect(), n =
|
|
3714
|
+
let t = e.getBoundingClientRect(), n = O(e);
|
|
3715
3715
|
if (Ot) return t;
|
|
3716
3716
|
let r = n.getComputedStyle(e, "::before"), i = n.getComputedStyle(e, "::after");
|
|
3717
3717
|
if (r.content === "none" && i.content === "none") return t;
|
|
@@ -3728,11 +3728,11 @@ function ho(e) {
|
|
|
3728
3728
|
var go = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
3729
3729
|
let { render: n, className: r, nativeButton: i = !0, disabled: a = !1, id: o, style: s, ...c } = e, { state: l, disabled: u, setTouched: d, setFocused: f, validationMode: p, validation: m } = Ve(), { labelId: h } = Ye(), g = fa(), _ = g.useState("selectionMode"), v = g.useState("disabled"), y = g.useState("readOnly"), b = g.useState("required"), x = g.useState("positionerElement"), S = g.useState("listElement"), C = g.useState("popupId"), w = g.useState("triggerProps"), T = g.useState("inputInsidePopup"), E = g.useState("id"), D = g.useState("labelId"), O = g.useState("open"), k = g.useState("selectedValue"), A = g.useState("activeIndex"), j = g.useState("selectedIndex"), M = g.useState("hasSelectedValue"), N = pa(), P = ha(), F = He(), I = u || v || a, L = oo(), R = ao(g);
|
|
3730
3730
|
Ue({ id: T ? o : void 0 });
|
|
3731
|
-
let
|
|
3732
|
-
O && T ?
|
|
3733
|
-
let
|
|
3734
|
-
function
|
|
3735
|
-
|
|
3731
|
+
let z = T ? o ?? E : o, ee = Xa(h, D), te;
|
|
3732
|
+
O && T ? te = C ?? Fa(E) : O && (te = S?.id);
|
|
3733
|
+
let B = Y.useRef("");
|
|
3734
|
+
function ne(e) {
|
|
3735
|
+
B.current = e.pointerType;
|
|
3736
3736
|
}
|
|
3737
3737
|
let { reference: re } = aa(N, {
|
|
3738
3738
|
enabled: !O && !y && !v && _ === "single",
|
|
@@ -3772,17 +3772,17 @@ var go = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3772
3772
|
V,
|
|
3773
3773
|
re,
|
|
3774
3774
|
{
|
|
3775
|
-
id:
|
|
3775
|
+
id: z,
|
|
3776
3776
|
tabIndex: T ? 0 : -1,
|
|
3777
3777
|
role: T ? "combobox" : void 0,
|
|
3778
3778
|
"aria-expanded": O,
|
|
3779
3779
|
"aria-haspopup": T ? "dialog" : "listbox",
|
|
3780
|
-
"aria-controls":
|
|
3780
|
+
"aria-controls": te,
|
|
3781
3781
|
"aria-required": T && b || void 0,
|
|
3782
3782
|
"aria-readonly": T && y || void 0,
|
|
3783
|
-
"aria-labelledby":
|
|
3784
|
-
onPointerDown:
|
|
3785
|
-
onPointerEnter:
|
|
3783
|
+
"aria-labelledby": ee,
|
|
3784
|
+
onPointerDown: ne,
|
|
3785
|
+
onPointerEnter: ne,
|
|
3786
3786
|
onFocus() {
|
|
3787
3787
|
f(!0), !I && F.start(0, g.context.forceMount);
|
|
3788
3788
|
},
|
|
@@ -3793,7 +3793,7 @@ var go = /*#__PURE__*/ Y.forwardRef(function(e, t) {
|
|
|
3793
3793
|
}
|
|
3794
3794
|
},
|
|
3795
3795
|
onMouseDown(e) {
|
|
3796
|
-
if (I || (T || N.set("domReferenceElement", e.currentTarget), g.context.forceMount(),
|
|
3796
|
+
if (I || (T || N.set("domReferenceElement", e.currentTarget), g.context.forceMount(), B.current !== "touch" && (g.context.inputRef.current?.focus(), T || e.preventDefault()), O)) return;
|
|
3797
3797
|
let t = q(e.currentTarget);
|
|
3798
3798
|
function n(e) {
|
|
3799
3799
|
let t = g.state.triggerElement;
|
|
@@ -4047,22 +4047,22 @@ var Lo = (e) => ({
|
|
|
4047
4047
|
name: "arrow",
|
|
4048
4048
|
options: e,
|
|
4049
4049
|
async fn(t) {
|
|
4050
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element:
|
|
4051
|
-
if (
|
|
4052
|
-
let
|
|
4050
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: d = 0, offsetParent: f = "real" } = E(e, t) || {};
|
|
4051
|
+
if (l == null) return {};
|
|
4052
|
+
let p = v(d), m = {
|
|
4053
4053
|
x: n,
|
|
4054
4054
|
y: r
|
|
4055
|
-
},
|
|
4056
|
-
(!
|
|
4057
|
-
let j =
|
|
4055
|
+
}, h = A(i), g = k(h), y = await o.getDimensions(l), b = h === "y", x = b ? "top" : "left", S = b ? "bottom" : "right", C = b ? "clientHeight" : "clientWidth", w = a.reference[g] + a.reference[h] - m[h] - a.floating[g], T = m[h] - a.reference[h], D = f === "real" ? await o.getOffsetParent?.(l) : s.floating, O = s.floating[C] || a.floating[g];
|
|
4056
|
+
(!O || !await o.isElement?.(D)) && (O = s.floating[C] || a.floating[g]);
|
|
4057
|
+
let j = w / 2 - T / 2, M = O / 2 - y[g] / 2 - 1, N = Math.min(p[x], M), P = Math.min(p[S], M), F = N, I = O - y[g] - P, L = O / 2 - y[g] / 2 + j, R = _(F, L, I), z = !c.arrow && u(i) != null && L !== R && a.reference[g] / 2 - (L < F ? N : P) - y[g] / 2 < 0, ee = z ? L < F ? L - F : L - I : 0;
|
|
4058
4058
|
return {
|
|
4059
|
-
[
|
|
4059
|
+
[h]: m[h] + ee,
|
|
4060
4060
|
data: {
|
|
4061
|
-
[
|
|
4062
|
-
centerOffset: L - R -
|
|
4063
|
-
...
|
|
4061
|
+
[h]: R,
|
|
4062
|
+
centerOffset: L - R - ee,
|
|
4063
|
+
...z && { alignmentOffset: ee }
|
|
4064
4064
|
},
|
|
4065
|
-
reset:
|
|
4065
|
+
reset: z
|
|
4066
4066
|
};
|
|
4067
4067
|
}
|
|
4068
4068
|
}), Ro = (e, t) => {
|
|
@@ -4094,8 +4094,8 @@ function Jo(e, t, n) {
|
|
|
4094
4094
|
function Yo(e, t, n) {
|
|
4095
4095
|
let { rects: r, placement: i } = e;
|
|
4096
4096
|
return {
|
|
4097
|
-
side: Jo(t,
|
|
4098
|
-
align:
|
|
4097
|
+
side: Jo(t, N(i), n),
|
|
4098
|
+
align: u(i) || "center",
|
|
4099
4099
|
anchor: {
|
|
4100
4100
|
width: r.reference.width,
|
|
4101
4101
|
height: r.reference.height
|
|
@@ -4110,16 +4110,16 @@ function Xo(e) {
|
|
|
4110
4110
|
return Zo(e, Yi);
|
|
4111
4111
|
}
|
|
4112
4112
|
function Zo(e, t) {
|
|
4113
|
-
let { anchor: n, positionMethod: r = "absolute", side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, collisionBoundary: c, collisionPadding: l = 5, sticky:
|
|
4114
|
-
!
|
|
4115
|
-
let
|
|
4113
|
+
let { anchor: n, positionMethod: r = "absolute", side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, collisionBoundary: c, collisionPadding: l = 5, sticky: d = !1, arrowPadding: f = 5, disableAnchorTracking: p = !1, inline: m, keepMounted: h = !1, floatingRootContext: g, mounted: _, collisionAvoidance: v, shift: y, nodeId: b, adaptiveOrigin: x, lazyFlip: S = !1, externalTree: C } = e, [w, T] = Y.useState(null);
|
|
4114
|
+
!_ && w !== null && T(null);
|
|
4115
|
+
let E = v.side || "flip", D = v.align || "flip", k = v.fallbackAxisSide || "end", A = y?.crossAxis ?? !1, j = y?.rootBoundary, P = typeof n == "function" ? n : void 0, F = W(P), I = P ? F : n, L = it(n), R = it(_), z = re() === "rtl", ee = w || {
|
|
4116
4116
|
top: "top",
|
|
4117
4117
|
right: "right",
|
|
4118
4118
|
bottom: "bottom",
|
|
4119
4119
|
left: "left",
|
|
4120
|
-
"inline-end":
|
|
4121
|
-
"inline-start":
|
|
4122
|
-
}[i],
|
|
4120
|
+
"inline-end": z ? "left" : "right",
|
|
4121
|
+
"inline-start": z ? "right" : "left"
|
|
4122
|
+
}[i], te = o === "center" ? ee : `${ee}-${o}`, B = l;
|
|
4123
4123
|
typeof B == "number" ? B = {
|
|
4124
4124
|
top: B,
|
|
4125
4125
|
right: B,
|
|
@@ -4131,12 +4131,12 @@ function Zo(e, t) {
|
|
|
4131
4131
|
bottom: B.bottom || 0,
|
|
4132
4132
|
left: B.left || 0
|
|
4133
4133
|
};
|
|
4134
|
-
let
|
|
4134
|
+
let ne = +(i === "bottom"), V = +(i === "top"), H = +(i === "right"), ie = +(i === "left"), ae = {
|
|
4135
4135
|
boundary: c === "clipping-ancestors" ? "clippingAncestors" : c,
|
|
4136
4136
|
padding: B
|
|
4137
4137
|
}, oe = Y.useRef(null), se = it(a), ce = it(s), le = typeof a == "function" ? 0 : a, ue = typeof s == "function" ? 0 : s, de = [];
|
|
4138
|
-
|
|
4139
|
-
let t = Yo(e, i,
|
|
4138
|
+
m && de.push(m), de.push(zi((e) => {
|
|
4139
|
+
let t = Yo(e, i, z), n = typeof se.current == "function" ? se.current(t) : se.current, r = typeof ce.current == "function" ? ce.current(t) : ce.current;
|
|
4140
4140
|
return {
|
|
4141
4141
|
mainAxis: n,
|
|
4142
4142
|
crossAxis: r,
|
|
@@ -4145,83 +4145,83 @@ function Zo(e, t) {
|
|
|
4145
4145
|
}, [
|
|
4146
4146
|
le,
|
|
4147
4147
|
ue,
|
|
4148
|
-
|
|
4148
|
+
z,
|
|
4149
4149
|
i
|
|
4150
4150
|
]));
|
|
4151
|
-
let fe =
|
|
4151
|
+
let fe = D === "none" && E !== "shift", pe = !fe && (d || A || E === "shift"), me = E === "none" ? null : Hi({
|
|
4152
4152
|
...ae,
|
|
4153
4153
|
padding: {
|
|
4154
|
-
top: B.top + 1 +
|
|
4154
|
+
top: B.top + 1 + ne,
|
|
4155
4155
|
right: B.right + 1 + ie,
|
|
4156
4156
|
bottom: B.bottom + 1 + V,
|
|
4157
4157
|
left: B.left + 1 + H
|
|
4158
4158
|
},
|
|
4159
|
-
mainAxis: !
|
|
4160
|
-
crossAxis:
|
|
4161
|
-
fallbackAxisSideDirection:
|
|
4159
|
+
mainAxis: !A && E === "flip",
|
|
4160
|
+
crossAxis: D === "flip" && "alignment",
|
|
4161
|
+
fallbackAxisSideDirection: k
|
|
4162
4162
|
}), he = fe ? null : Bi({
|
|
4163
4163
|
...ae,
|
|
4164
|
-
rootBoundary:
|
|
4165
|
-
mainAxis:
|
|
4164
|
+
rootBoundary: j,
|
|
4165
|
+
mainAxis: D !== "none",
|
|
4166
4166
|
crossAxis: pe,
|
|
4167
|
-
limiter:
|
|
4167
|
+
limiter: d || A ? void 0 : Vi((e) => {
|
|
4168
4168
|
if (!oe.current) return {};
|
|
4169
|
-
let { width: t, height: n } = oe.current.getBoundingClientRect(), r =
|
|
4169
|
+
let { width: t, height: n } = oe.current.getBoundingClientRect(), r = M(N(e.placement)), i = r === "y" ? t : n, a = r === "y" ? B.left + B.right : B.top + B.bottom;
|
|
4170
4170
|
return { offset: i / 2 + a / 2 };
|
|
4171
4171
|
})
|
|
4172
4172
|
}, [
|
|
4173
4173
|
ae,
|
|
4174
|
-
|
|
4174
|
+
d,
|
|
4175
|
+
A,
|
|
4175
4176
|
j,
|
|
4176
|
-
M,
|
|
4177
4177
|
B,
|
|
4178
|
-
|
|
4178
|
+
D
|
|
4179
4179
|
]);
|
|
4180
|
-
|
|
4180
|
+
E === "shift" || D === "shift" || o === "center" ? de.push(he, me) : de.push(me, he), de.push(Ui({
|
|
4181
4181
|
...ae,
|
|
4182
4182
|
apply({ elements: { floating: e }, availableWidth: t, availableHeight: n, rects: r }) {
|
|
4183
4183
|
if (!R.current) return;
|
|
4184
4184
|
let i = e.style;
|
|
4185
4185
|
i.setProperty(Ko, `${t}px`), i.setProperty(qo, `${n}px`);
|
|
4186
|
-
let a =
|
|
4186
|
+
let a = O(e).devicePixelRatio || 1, { x: o, y: s, width: c, height: l } = r.reference, u = (Math.round((o + c) * a) - Math.round(o * a)) / a, d = (Math.round((s + l) * a) - Math.round(s * a)) / a;
|
|
4187
4187
|
i.setProperty(Uo, `${u}px`), i.setProperty(Wo, `${d}px`);
|
|
4188
4188
|
}
|
|
4189
4189
|
}), Ro((e) => ({
|
|
4190
4190
|
element: oe.current || q(e.elements.floating).createElement("div"),
|
|
4191
|
-
padding: oe.current ?
|
|
4191
|
+
padding: oe.current ? f : 0,
|
|
4192
4192
|
offsetParent: "floating"
|
|
4193
|
-
}), [
|
|
4193
|
+
}), [f]), {
|
|
4194
4194
|
name: "transformOrigin",
|
|
4195
4195
|
fn(e) {
|
|
4196
|
-
let { elements: { floating: t }, middlewareData: n, placement: r, platform: o, rects: s, y: c } = e, l =
|
|
4197
|
-
|
|
4198
|
-
let
|
|
4199
|
-
return pe &&
|
|
4196
|
+
let { elements: { floating: t }, middlewareData: n, placement: r, platform: o, rects: s, y: c } = e, l = N(r), d = u(r), f = M(l) === "y", p = oe.current, m = typeof a == "function" ? a(Yo(e, i, z)) : a, h;
|
|
4197
|
+
h = !p && d && Math.abs(f ? n.shift?.x || 0 : n.shift?.y || 0) <= 1 ? d === "start" === (f && o.isRTL?.(t) === !0) ? "100%" : "0%" : `${(f ? n.arrow?.x || 0 : n.arrow?.y || 0) + (f ? p?.clientWidth || 0 : p?.clientHeight || 0) / 2}px`;
|
|
4198
|
+
let g = l === "top" || l === "left" ? `calc(100% + ${m}px)` : `${-m}px`;
|
|
4199
|
+
return pe && f && Math.abs(n.shift?.y || 0) > m && (g = `${s.reference.y + s.reference.height / 2 - c}px`), t.style.setProperty(Go, f ? `${h} ${g}` : `${g} ${h}`), {};
|
|
4200
4200
|
}
|
|
4201
|
-
}, zo,
|
|
4202
|
-
!
|
|
4201
|
+
}, zo, x), U(() => {
|
|
4202
|
+
!_ && g && g.update({
|
|
4203
4203
|
referenceElement: null,
|
|
4204
4204
|
floatingElement: null,
|
|
4205
4205
|
domReferenceElement: null,
|
|
4206
4206
|
positionReference: null
|
|
4207
4207
|
});
|
|
4208
|
-
}, [
|
|
4208
|
+
}, [_, g]);
|
|
4209
4209
|
let ge = Y.useMemo(() => ({
|
|
4210
|
-
ancestorScroll: !
|
|
4211
|
-
elementResize: !
|
|
4212
|
-
layoutShift: !
|
|
4213
|
-
}), [
|
|
4214
|
-
rootContext:
|
|
4215
|
-
open:
|
|
4216
|
-
placement:
|
|
4210
|
+
ancestorScroll: !p,
|
|
4211
|
+
elementResize: !p && typeof ResizeObserver < "u",
|
|
4212
|
+
layoutShift: !p && typeof IntersectionObserver < "u"
|
|
4213
|
+
}), [p]), { refs: _e, elements: ve, x: ye, y: be, middlewareData: xe, update: Se, placement: Ce, context: we, isPositioned: Te, floatingStyles: Ee } = t({
|
|
4214
|
+
rootContext: g,
|
|
4215
|
+
open: h ? _ : void 0,
|
|
4216
|
+
placement: te,
|
|
4217
4217
|
middleware: de,
|
|
4218
4218
|
strategy: r,
|
|
4219
|
-
whileElementsMounted:
|
|
4220
|
-
nodeId:
|
|
4221
|
-
externalTree:
|
|
4219
|
+
whileElementsMounted: h ? void 0 : (...e) => Ei(...e, ge),
|
|
4220
|
+
nodeId: b,
|
|
4221
|
+
externalTree: C
|
|
4222
4222
|
}), { sideX: De, sideY: G } = xe.adaptiveOrigin || Bo, Oe = Te ? r : "fixed", ke = Y.useMemo(() => {
|
|
4223
4223
|
let e;
|
|
4224
|
-
return e = Te ?
|
|
4224
|
+
return e = Te ? x ? {
|
|
4225
4225
|
position: Oe,
|
|
4226
4226
|
[De]: ye,
|
|
4227
4227
|
[G]: be
|
|
@@ -4234,7 +4234,7 @@ function Zo(e, t) {
|
|
|
4234
4234
|
left: 0
|
|
4235
4235
|
}, e[Ko] = "100vw", e[qo] = "100vh", Te || (e.opacity = 0), e;
|
|
4236
4236
|
}, [
|
|
4237
|
-
|
|
4237
|
+
x,
|
|
4238
4238
|
Oe,
|
|
4239
4239
|
De,
|
|
4240
4240
|
ye,
|
|
@@ -4244,41 +4244,41 @@ function Zo(e, t) {
|
|
|
4244
4244
|
Te
|
|
4245
4245
|
]), Ae = Y.useRef(null);
|
|
4246
4246
|
U(() => {
|
|
4247
|
-
if (!
|
|
4248
|
-
let e =
|
|
4247
|
+
if (!_) return;
|
|
4248
|
+
let e = L.current, t = typeof e == "function" ? e() : e, n = (Qo(t) ? t.current : t) || null;
|
|
4249
4249
|
n !== Ae.current && (_e.setPositionReference(n), Ae.current = n);
|
|
4250
4250
|
}, [
|
|
4251
|
-
|
|
4251
|
+
_,
|
|
4252
4252
|
_e,
|
|
4253
|
-
|
|
4254
|
-
|
|
4253
|
+
I,
|
|
4254
|
+
L
|
|
4255
4255
|
]), Y.useEffect(() => {
|
|
4256
|
-
if (!
|
|
4257
|
-
let e =
|
|
4256
|
+
if (!_) return;
|
|
4257
|
+
let e = L.current;
|
|
4258
4258
|
typeof e != "function" && Qo(e) && e.current !== Ae.current && (_e.setPositionReference(e.current), Ae.current = e.current);
|
|
4259
4259
|
}, [
|
|
4260
|
-
|
|
4260
|
+
_,
|
|
4261
4261
|
_e,
|
|
4262
|
-
|
|
4263
|
-
|
|
4262
|
+
I,
|
|
4263
|
+
L
|
|
4264
4264
|
]), Y.useEffect(() => {
|
|
4265
|
-
if (
|
|
4265
|
+
if (h && _ && ve.reference && ve.floating) return Ei(ve.reference, ve.floating, Se, ge);
|
|
4266
4266
|
}, [
|
|
4267
|
-
|
|
4268
|
-
|
|
4267
|
+
h,
|
|
4268
|
+
_,
|
|
4269
4269
|
ve,
|
|
4270
4270
|
Se,
|
|
4271
4271
|
ge
|
|
4272
4272
|
]);
|
|
4273
|
-
let je =
|
|
4273
|
+
let je = N(Ce), Me = Jo(i, je, z), Ne = u(Ce) || "center", Pe = !!xe.hide?.referenceHidden;
|
|
4274
4274
|
U(() => {
|
|
4275
|
-
|
|
4275
|
+
S && _ && Te && je !== ee && T(je);
|
|
4276
4276
|
}, [
|
|
4277
|
-
|
|
4278
|
-
|
|
4277
|
+
S,
|
|
4278
|
+
_,
|
|
4279
4279
|
Te,
|
|
4280
4280
|
je,
|
|
4281
|
-
|
|
4281
|
+
ee
|
|
4282
4282
|
]);
|
|
4283
4283
|
let Fe = Y.useMemo(() => ({
|
|
4284
4284
|
position: "absolute",
|
|
@@ -4366,7 +4366,7 @@ function ts(e, t, { styles: n, transitionStatus: r, props: i, refs: a, hidden: o
|
|
|
4366
4366
|
//#region ../node_modules/@base-ui/utils/useScrollLock.mjs
|
|
4367
4367
|
var ns = {}, rs = {}, is = "";
|
|
4368
4368
|
function as(e, t) {
|
|
4369
|
-
return
|
|
4369
|
+
return z(e) ? e : t;
|
|
4370
4370
|
}
|
|
4371
4371
|
function os(e, t, n) {
|
|
4372
4372
|
return /hidden|clip/.test(e.getComputedStyle(as(t, n)).overflowY);
|
|
@@ -4374,7 +4374,7 @@ function os(e, t, n) {
|
|
|
4374
4374
|
function ss(e) {
|
|
4375
4375
|
if (typeof document > "u") return !1;
|
|
4376
4376
|
let t = q(e);
|
|
4377
|
-
return
|
|
4377
|
+
return O(t).innerWidth - t.documentElement.clientWidth > 0;
|
|
4378
4378
|
}
|
|
4379
4379
|
function cs(e) {
|
|
4380
4380
|
if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
|
|
@@ -4398,7 +4398,7 @@ function ls(e) {
|
|
|
4398
4398
|
};
|
|
4399
4399
|
}
|
|
4400
4400
|
function us(e) {
|
|
4401
|
-
let t = q(e), n = t.documentElement, r = t.body, i =
|
|
4401
|
+
let t = q(e), n = t.documentElement, r = t.body, i = O(n), a = 0, o = 0, s = !1, c = ot.create();
|
|
4402
4402
|
if (Z && (i.visualViewport?.scale ?? 1) !== 1) return () => {};
|
|
4403
4403
|
function l() {
|
|
4404
4404
|
let t = i.getComputedStyle(n), c = i.getComputedStyle(r), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
|
|
@@ -4458,7 +4458,7 @@ var ds = new class {
|
|
|
4458
4458
|
};
|
|
4459
4459
|
lock(e) {
|
|
4460
4460
|
if (this.lockCount === 0 || this.restore !== null) return;
|
|
4461
|
-
let t = q(e), n = t.documentElement, r = t.body, i =
|
|
4461
|
+
let t = q(e), n = t.documentElement, r = t.body, i = O(n);
|
|
4462
4462
|
if (os(i, n, r)) {
|
|
4463
4463
|
let t = new i.MutationObserver(() => {
|
|
4464
4464
|
os(i, n, r) || (t.disconnect(), this.restore = null, this.lock(e));
|
|
@@ -4735,12 +4735,12 @@ function Cs(e) {
|
|
|
4735
4735
|
f,
|
|
4736
4736
|
N
|
|
4737
4737
|
]
|
|
4738
|
-
}),
|
|
4738
|
+
}), z = Y.useMemo(() => ({
|
|
4739
4739
|
selected: M,
|
|
4740
4740
|
textRef: p
|
|
4741
4741
|
}), [M, p]);
|
|
4742
4742
|
return /*#__PURE__*/ (0, Q.jsx)(ys.Provider, {
|
|
4743
|
-
value:
|
|
4743
|
+
value: z,
|
|
4744
4744
|
children: R
|
|
4745
4745
|
});
|
|
4746
4746
|
}
|
|
@@ -5139,7 +5139,7 @@ var Zs = ({ className: e, inputId: t, disabled: n = !1, fieldId: i, fieldLabelId
|
|
|
5139
5139
|
labelledBy: a,
|
|
5140
5140
|
anchor: S ? () => E.current?.closest("[data-slot=input-group]") ?? null : void 0,
|
|
5141
5141
|
className: S ? "w-max" : void 0,
|
|
5142
|
-
children: v ? /* @__PURE__ */ (0, Q.jsx)(qs, { children: /* @__PURE__ */ (0, Q.jsx)(
|
|
5142
|
+
children: v ? /* @__PURE__ */ (0, Q.jsx)(qs, { children: /* @__PURE__ */ (0, Q.jsx)(I, {}) }) : /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Ks, { children: C({ id: "noOptions" }) }), /* @__PURE__ */ (0, Q.jsx)(Ws, { children: (e) => /* @__PURE__ */ (0, Q.jsx)(Gs, {
|
|
5143
5143
|
value: e,
|
|
5144
5144
|
children: e.label
|
|
5145
5145
|
}, e.value) })] })
|