@televet/kibble-ui 4.0.0-beta.100 → 4.0.0-beta.102
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/dist/chunks/{alert.types-DeHWvQla.js → alert.types-BFIjEpyN.js} +3 -3
- package/dist/chunks/{alert.types-DeHWvQla.js.map → alert.types-BFIjEpyN.js.map} +1 -1
- package/dist/chunks/{alert.types-DNeGpiVS.js → alert.types-CBlxvlwZ.js} +2 -2
- package/dist/chunks/{alert.types-DNeGpiVS.js.map → alert.types-CBlxvlwZ.js.map} +1 -1
- package/dist/chunks/{avatar.component-SZi87lRl.js → avatar.component-37joMuMZ.js} +2 -2
- package/dist/chunks/{avatar.component-SZi87lRl.js.map → avatar.component-37joMuMZ.js.map} +1 -1
- package/dist/chunks/{avatar.component-CV_95YCj.js → avatar.component-DdeMVY3l.js} +6 -6
- package/dist/chunks/{avatar.component-CV_95YCj.js.map → avatar.component-DdeMVY3l.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-Bp-_csZz.js → avatarGroup.component-CPjot93U.js} +2 -2
- package/dist/chunks/{avatarGroup.component-Bp-_csZz.js.map → avatarGroup.component-CPjot93U.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js → avatarGroup.component-DboSD8PG.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js.map → avatarGroup.component-DboSD8PG.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-BJl5t4CV.js → buttonGroup.component-CeU9SOoZ.js} +2 -2
- package/dist/chunks/{buttonGroup.component-BJl5t4CV.js.map → buttonGroup.component-CeU9SOoZ.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CHZoLKsR.js → buttonGroup.component-CmsAFBU-.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CHZoLKsR.js.map → buttonGroup.component-CmsAFBU-.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-Cvw7D33c.js → characterCounter.component-Aa1IFCGT.js} +2 -2
- package/dist/chunks/{characterCounter.component-Cvw7D33c.js.map → characterCounter.component-Aa1IFCGT.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-C4sKYWJ2.js → characterCounter.component-D8qNJrRV.js} +3 -3
- package/dist/chunks/{characterCounter.component-C4sKYWJ2.js.map → characterCounter.component-D8qNJrRV.js.map} +1 -1
- package/dist/chunks/{checkbox.records-CTlAD-2Q.js → checkbox.anatomy-AIdXcqX-.js} +12 -22
- package/dist/chunks/checkbox.anatomy-AIdXcqX-.js.map +1 -0
- package/dist/chunks/checkbox.anatomy-Cscbdyfb.js +2 -0
- package/dist/chunks/checkbox.anatomy-Cscbdyfb.js.map +1 -0
- package/dist/chunks/checkbox.component-BBnhOurl.js +2 -0
- package/dist/chunks/{checkbox.component-CY7ZklEW.js.map → checkbox.component-BBnhOurl.js.map} +1 -1
- package/dist/chunks/{checkbox.component-BpSGOInE.js → checkbox.component-Twnwzi6T.js} +51 -50
- package/dist/chunks/{checkbox.component-BpSGOInE.js.map → checkbox.component-Twnwzi6T.js.map} +1 -1
- package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
- package/dist/chunks/{checkboxGroup.component-DsXi7j46.js → checkboxGroup.component-B3R7JBVo.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-DsXi7j46.js.map → checkboxGroup.component-B3R7JBVo.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B154cVx5.js → checkboxGroup.component-BY34zJk7.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-B154cVx5.js.map → checkboxGroup.component-BY34zJk7.js.map} +1 -1
- package/dist/chunks/{config-DlTdf-Yt.js → config-BsZeMu66.js} +10 -10
- package/dist/chunks/{config-DlTdf-Yt.js.map → config-BsZeMu66.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-CSJXjO4D.js → conversationCard.component-BOH8hmb-.js} +2 -2
- package/dist/chunks/{conversationCard.component-CSJXjO4D.js.map → conversationCard.component-BOH8hmb-.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-DCpGDLwc.js → conversationCard.component-FdiTvQhb.js} +9 -9
- package/dist/chunks/{conversationCard.component-DCpGDLwc.js.map → conversationCard.component-FdiTvQhb.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DmxLdt_M.js → datePicker.component-BKGUGrux.js} +2 -2
- package/dist/chunks/{datePicker.component-DmxLdt_M.js.map → datePicker.component-BKGUGrux.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DSEMVYWG.js → datePicker.component-BMFKZ9jI.js} +8 -8
- package/dist/chunks/{datePicker.component-DSEMVYWG.js.map → datePicker.component-BMFKZ9jI.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-MkOQUjzu.js → dialog-trigger-CyE0fW3K.js} +2 -2
- package/dist/chunks/{dialog-trigger-MkOQUjzu.js.map → dialog-trigger-CyE0fW3K.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-eqGXDXGQ.js → dialog-trigger-TJz2Nslg.js} +5 -5
- package/dist/chunks/{dialog-trigger-eqGXDXGQ.js.map → dialog-trigger-TJz2Nslg.js.map} +1 -1
- package/dist/chunks/field.anatomy-B-h4RMqL.js +2 -0
- package/dist/chunks/field.anatomy-B-h4RMqL.js.map +1 -0
- package/dist/chunks/field.anatomy-DuyH4wX7.js +16 -0
- package/dist/chunks/field.anatomy-DuyH4wX7.js.map +1 -0
- package/dist/chunks/{heading.component-BHha3j1I.js → heading.component-DiuOQTuV.js} +2 -2
- package/dist/chunks/{heading.component-BHha3j1I.js.map → heading.component-DiuOQTuV.js.map} +1 -1
- package/dist/chunks/{heading.component-DNsKd4Gh.js → heading.component-SSTHKtRE.js} +2 -2
- package/dist/chunks/{heading.component-DNsKd4Gh.js.map → heading.component-SSTHKtRE.js.map} +1 -1
- package/dist/chunks/{index-YtNA0Ueo.js → index-1syExFDc.js} +59 -59
- package/dist/chunks/{index-YtNA0Ueo.js.map → index-1syExFDc.js.map} +1 -1
- package/dist/chunks/{index-Bz8HDeWA.js → index-4eV_IBpJ.js} +5 -5
- package/dist/chunks/{index-Bz8HDeWA.js.map → index-4eV_IBpJ.js.map} +1 -1
- package/dist/chunks/{index-cSjUS7Xj.js → index-7Od5VFiw.js} +13 -13
- package/dist/chunks/{index-cSjUS7Xj.js.map → index-7Od5VFiw.js.map} +1 -1
- package/dist/chunks/{index-Bff1r_rH.js → index-AafzY9XD.js} +10 -10
- package/dist/chunks/{index-Bff1r_rH.js.map → index-AafzY9XD.js.map} +1 -1
- package/dist/chunks/{index-CS8X6LiC.js → index-BLSUI_Fi.js} +2 -2
- package/dist/chunks/{index-CS8X6LiC.js.map → index-BLSUI_Fi.js.map} +1 -1
- package/dist/chunks/{index-C_AXAeNS.js → index-BOJXzk6X.js} +4 -4
- package/dist/chunks/{index-C_AXAeNS.js.map → index-BOJXzk6X.js.map} +1 -1
- package/dist/chunks/{index-DVNjUEDJ.js → index-Bkr-bXiq.js} +11 -11
- package/dist/chunks/{index-DVNjUEDJ.js.map → index-Bkr-bXiq.js.map} +1 -1
- package/dist/chunks/{index-DSedXH1s.js → index-BszONCjy.js} +2 -2
- package/dist/chunks/{index-DSedXH1s.js.map → index-BszONCjy.js.map} +1 -1
- package/dist/chunks/{index-BR7peqZO.js → index-BvfTd0It.js} +2 -2
- package/dist/chunks/{index-BR7peqZO.js.map → index-BvfTd0It.js.map} +1 -1
- package/dist/chunks/{index-Cbkb_94C.js → index-CObxBCse.js} +3 -3
- package/dist/chunks/{index-Cbkb_94C.js.map → index-CObxBCse.js.map} +1 -1
- package/dist/chunks/{index-QTIBH1Or.js → index-CVzg8MBo.js} +2 -2
- package/dist/chunks/{index-QTIBH1Or.js.map → index-CVzg8MBo.js.map} +1 -1
- package/dist/chunks/{index-DOXzraja.js → index-CYfS9qal.js} +2 -2
- package/dist/chunks/{index-DOXzraja.js.map → index-CYfS9qal.js.map} +1 -1
- package/dist/chunks/{index-CJLttzPM.js → index-DT0_Ld2V.js} +3 -3
- package/dist/chunks/{index-CJLttzPM.js.map → index-DT0_Ld2V.js.map} +1 -1
- package/dist/chunks/{index-OpolRlgD.js → index-IHJqZIuH.js} +3 -3
- package/dist/chunks/{index-OpolRlgD.js.map → index-IHJqZIuH.js.map} +1 -1
- package/dist/chunks/{index-L197Dry5.js → index-cHBEWy02.js} +4 -4
- package/dist/chunks/{index-L197Dry5.js.map → index-cHBEWy02.js.map} +1 -1
- package/dist/chunks/{radio.records-4ih1q8nO.js → index-hGcS7e_x.js} +22 -33
- package/dist/chunks/index-hGcS7e_x.js.map +1 -0
- package/dist/chunks/{radio.records-j0JOqaJ4.js → index-n37Ze35k.js} +2 -2
- package/dist/chunks/index-n37Ze35k.js.map +1 -0
- package/dist/chunks/{index-DBk0LkcO.js → index-sEoMwGry.js} +2 -2
- package/dist/chunks/{index-DBk0LkcO.js.map → index-sEoMwGry.js.map} +1 -1
- package/dist/chunks/{index-DowO8Ued.js → index-vvHShogE.js} +2 -2
- package/dist/chunks/{index-DowO8Ued.js.map → index-vvHShogE.js.map} +1 -1
- package/dist/chunks/{logo.types-BbSodfBq.js → logo.types-Cx1LeO8I.js} +2 -2
- package/dist/chunks/{logo.types-BbSodfBq.js.map → logo.types-Cx1LeO8I.js.map} +1 -1
- package/dist/chunks/{menu.component-D38vU6MX.js → menu.component-BdkYpKpN.js} +8 -8
- package/dist/chunks/{menu.component-D38vU6MX.js.map → menu.component-BdkYpKpN.js.map} +1 -1
- package/dist/chunks/{menu.component-DVKNEINC.js → menu.component-CCM8bsSm.js} +2 -2
- package/dist/chunks/{menu.component-DVKNEINC.js.map → menu.component-CCM8bsSm.js.map} +1 -1
- package/dist/chunks/{modal.types-mGxpGfVt.js → modal.types-D3YGNiuI.js} +4 -4
- package/dist/chunks/{modal.types-mGxpGfVt.js.map → modal.types-D3YGNiuI.js.map} +1 -1
- package/dist/chunks/{modal.types-Bbh7jkHL.js → modal.types-VeN6tZvj.js} +2 -2
- package/dist/chunks/{modal.types-Bbh7jkHL.js.map → modal.types-VeN6tZvj.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-Bgm4hK9N.js} +2 -2
- package/dist/chunks/{notificationCounter.component-BzhAKrKR.js.map → notificationCounter.component-Bgm4hK9N.js.map} +1 -1
- package/dist/chunks/{pinInput.types-BlHIF-kD.js → pinInput.types-BNBwX6Hl.js} +2 -2
- package/dist/chunks/{pinInput.types-BlHIF-kD.js.map → pinInput.types-BNBwX6Hl.js.map} +1 -1
- package/dist/chunks/{pinInput.types-CD_tKvQm.js → pinInput.types-NqL1HFRm.js} +6 -6
- package/dist/chunks/{pinInput.types-CD_tKvQm.js.map → pinInput.types-NqL1HFRm.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-BErev2-N.js → popover-root-provider-B9H57A1i.js} +4 -4
- package/dist/chunks/{popover-root-provider-BErev2-N.js.map → popover-root-provider-B9H57A1i.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-C2iwUZJn.js → popover-root-provider-Dwbh8WhW.js} +2 -2
- package/dist/chunks/{popover-root-provider-C2iwUZJn.js.map → popover-root-provider-Dwbh8WhW.js.map} +1 -1
- package/dist/chunks/{popover.component-BnIYkGYM.js → popover.component-CaYI1vEW.js} +2 -2
- package/dist/chunks/{popover.component-BnIYkGYM.js.map → popover.component-CaYI1vEW.js.map} +1 -1
- package/dist/chunks/{popover.component-UkDDe5Dh.js → popover.component-DlGkkvve.js} +7 -7
- package/dist/chunks/{popover.component-UkDDe5Dh.js.map → popover.component-DlGkkvve.js.map} +1 -1
- package/dist/chunks/{popover.recipe-CQYAiRTB.js → popover.recipe-CFCoAAlW.js} +2 -2
- package/dist/chunks/{popover.recipe-CQYAiRTB.js.map → popover.recipe-CFCoAAlW.js.map} +1 -1
- package/dist/chunks/{popover.recipe-DlJtOeLy.js → popover.recipe-DegR9fjD.js} +5 -5
- package/dist/chunks/{popover.recipe-DlJtOeLy.js.map → popover.recipe-DegR9fjD.js.map} +1 -1
- package/dist/chunks/preset-Bpky4UAW.js +17019 -0
- package/dist/chunks/preset-Bpky4UAW.js.map +1 -0
- package/dist/chunks/preset-L6TibmCL.js +10 -0
- package/dist/chunks/preset-L6TibmCL.js.map +1 -0
- package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
- package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
- package/dist/chunks/radioGroup.component-CEnFc_Ag.js +2 -0
- package/dist/chunks/{radioGroup.component-SvJktaFu.js.map → radioGroup.component-CEnFc_Ag.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DJsYK4YT.js → radioGroup.component-q0bBXVnx.js} +22 -21
- package/dist/chunks/{radioGroup.component-DJsYK4YT.js.map → radioGroup.component-q0bBXVnx.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-BdUvoShh.js → ratingDots.component-BAm2XjZr.js} +4 -4
- package/dist/chunks/{ratingDots.component-BdUvoShh.js.map → ratingDots.component-BAm2XjZr.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-CRiV8Gx3.js → ratingDots.component-eMRd5aP2.js} +2 -2
- package/dist/chunks/{ratingDots.component-CRiV8Gx3.js.map → ratingDots.component-eMRd5aP2.js.map} +1 -1
- package/dist/chunks/{render-strategy-C_zp9LNQ.js → render-strategy-BlfXwB_1.js} +2 -2
- package/dist/chunks/{render-strategy-C_zp9LNQ.js.map → render-strategy-BlfXwB_1.js.map} +1 -1
- package/dist/chunks/{render-strategy-CHp7lb6C.js → render-strategy-DMTZ92PV.js} +2 -2
- package/dist/chunks/{render-strategy-CHp7lb6C.js.map → render-strategy-DMTZ92PV.js.map} +1 -1
- package/dist/chunks/{select.component-BNMyz5Nm.js → select.component-BZwOWiuJ.js} +9 -9
- package/dist/chunks/{select.component-BNMyz5Nm.js.map → select.component-BZwOWiuJ.js.map} +1 -1
- package/dist/chunks/{select.component-a6mH3buQ.js → select.component-Dp3XguXB.js} +2 -2
- package/dist/chunks/{select.component-a6mH3buQ.js.map → select.component-Dp3XguXB.js.map} +1 -1
- package/dist/chunks/{sortableList.component-DceIFi13.js → sortableList.component-DfmuHVvP.js} +2 -2
- package/dist/chunks/{sortableList.component-DceIFi13.js.map → sortableList.component-DfmuHVvP.js.map} +1 -1
- package/dist/chunks/{sortableList.component-BKthQS8R.js → sortableList.component-yvvu0IJp.js} +3 -3
- package/dist/chunks/{sortableList.component-BKthQS8R.js.map → sortableList.component-yvvu0IJp.js.map} +1 -1
- package/dist/chunks/{spinner.component-CzTRzWbL.js → spinner.component-Bu5rGx9x.js} +3 -3
- package/dist/chunks/{spinner.component-CzTRzWbL.js.map → spinner.component-Bu5rGx9x.js.map} +1 -1
- package/dist/chunks/{spinner.component-lZds47YM.js → spinner.component-C7ylmPXr.js} +2 -2
- package/dist/chunks/{spinner.component-lZds47YM.js.map → spinner.component-C7ylmPXr.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-BNejv6F7.js → styledAvatar.types-BaxV5wPq.js} +2 -2
- package/dist/chunks/{styledAvatar.types-BNejv6F7.js.map → styledAvatar.types-BaxV5wPq.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DXwe2DPH.js → styledAvatar.types-C_9GVvmD.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DXwe2DPH.js.map → styledAvatar.types-C_9GVvmD.js.map} +1 -1
- package/dist/chunks/{swatch.types-DbgA3RWc.js → swatch.types-DiwKSXzz.js} +2 -2
- package/dist/chunks/{swatch.types-DbgA3RWc.js.map → swatch.types-DiwKSXzz.js.map} +1 -1
- package/dist/chunks/{switch.component-DVHjLc9H.js → switch.component-C4NO_Gs5.js} +6 -6
- package/dist/chunks/{switch.component-DVHjLc9H.js.map → switch.component-C4NO_Gs5.js.map} +1 -1
- package/dist/chunks/{switch.component-DC6-XTlo.js → switch.component-GM35zwYa.js} +2 -2
- package/dist/chunks/{switch.component-DC6-XTlo.js.map → switch.component-GM35zwYa.js.map} +1 -1
- package/dist/chunks/{tabs.component-DKW-zlGD.js → tabs.component-1hCkIY3w.js} +2 -2
- package/dist/chunks/{tabs.component-DKW-zlGD.js.map → tabs.component-1hCkIY3w.js.map} +1 -1
- package/dist/chunks/{tabs.component-b8VxTs-T.js → tabs.component-BqawOxko.js} +10 -10
- package/dist/chunks/{tabs.component-b8VxTs-T.js.map → tabs.component-BqawOxko.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-CfxiQgjI.js → tagBlock.component-ChGexy1g.js} +5 -5
- package/dist/chunks/{tagBlock.component-CfxiQgjI.js.map → tagBlock.component-ChGexy1g.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-XQpgKtzp.js → tagBlock.component-DwTt-HqP.js} +2 -2
- package/dist/chunks/{tagBlock.component-XQpgKtzp.js.map → tagBlock.component-DwTt-HqP.js.map} +1 -1
- package/dist/chunks/{text.component-DJW--Vty.js → text.component-DDSfgcFP.js} +2 -2
- package/dist/chunks/{text.component-DJW--Vty.js.map → text.component-DDSfgcFP.js.map} +1 -1
- package/dist/chunks/{text.component-C501PJrN.js → text.component-fgp06lR8.js} +2 -2
- package/dist/chunks/{text.component-C501PJrN.js.map → text.component-fgp06lR8.js.map} +1 -1
- package/dist/chunks/{textInput.component-BPuhDvEr.js → textInput.component-B3Q800_J.js} +2 -2
- package/dist/chunks/{textInput.component-BPuhDvEr.js.map → textInput.component-B3Q800_J.js.map} +1 -1
- package/dist/chunks/{textInput.component-evu71Hys.js → textInput.component-vxAD2BDI.js} +6 -6
- package/dist/chunks/{textInput.component-evu71Hys.js.map → textInput.component-vxAD2BDI.js.map} +1 -1
- package/dist/chunks/{textarea.component-CZQMAMYT.js → textarea.component-CVCNVeqW.js} +13 -13
- package/dist/chunks/{textarea.component-CZQMAMYT.js.map → textarea.component-CVCNVeqW.js.map} +1 -1
- package/dist/chunks/{textarea.component-DE-RO7Sv.js → textarea.component-DBS-A-Jk.js} +2 -2
- package/dist/chunks/{textarea.component-DE-RO7Sv.js.map → textarea.component-DBS-A-Jk.js.map} +1 -1
- package/dist/chunks/theme.provider-C-kSI07j.js +24 -0
- package/dist/chunks/theme.provider-C-kSI07j.js.map +1 -0
- package/dist/chunks/theme.provider-CQ3U4kMw.js +2885 -0
- package/dist/chunks/theme.provider-CQ3U4kMw.js.map +1 -0
- package/dist/chunks/{timePicker.component-D_0jwXVM.js → timePicker.component-KqAcboP6.js} +2 -2
- package/dist/chunks/{timePicker.component-D_0jwXVM.js.map → timePicker.component-KqAcboP6.js.map} +1 -1
- package/dist/chunks/{timePicker.component-DXkOhFKy.js → timePicker.component-f-FAs8bP.js} +4 -4
- package/dist/chunks/{timePicker.component-DXkOhFKy.js.map → timePicker.component-f-FAs8bP.js.map} +1 -1
- package/dist/chunks/{timeRange.component-bC1TS9T0.js → timeRange.component-C-SA8EFz.js} +2 -2
- package/dist/chunks/{timeRange.component-bC1TS9T0.js.map → timeRange.component-C-SA8EFz.js.map} +1 -1
- package/dist/chunks/{timeRange.component-BTmY7o_y.js → timeRange.component-pWCZj2UZ.js} +2 -2
- package/dist/chunks/{timeRange.component-BTmY7o_y.js.map → timeRange.component-pWCZj2UZ.js.map} +1 -1
- package/dist/chunks/{timestamp.component-DNYI2gVi.js → timestamp.component-CStcenp0.js} +2 -2
- package/dist/chunks/{timestamp.component-DNYI2gVi.js.map → timestamp.component-CStcenp0.js.map} +1 -1
- package/dist/chunks/{timestamp.component-DLqT7x-O.js → timestamp.component-DpA8pTzY.js} +3 -3
- package/dist/chunks/{timestamp.component-DLqT7x-O.js.map → timestamp.component-DpA8pTzY.js.map} +1 -1
- package/dist/chunks/{toaster.records-Bb46MMbZ.js → toaster.records-DjNU8CFN.js} +2 -2
- package/dist/chunks/{toaster.records-Bb46MMbZ.js.map → toaster.records-DjNU8CFN.js.map} +1 -1
- package/dist/chunks/tooltip.component-BYqCIrbb.js +142 -0
- package/dist/chunks/tooltip.component-BYqCIrbb.js.map +1 -0
- package/dist/chunks/tooltip.component-DFn799tO.js +2 -0
- package/dist/chunks/tooltip.component-DFn799tO.js.map +1 -0
- package/dist/chunks/{typography.records-H4aA5AOA.js → typography.records-BEd2lI_g.js} +10 -22
- package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
- package/dist/chunks/{use-field-context-CArmgHPP.js → use-field-context-4x8yd4wU.js} +2 -2
- package/dist/chunks/{use-field-context-CArmgHPP.js.map → use-field-context-4x8yd4wU.js.map} +1 -1
- package/dist/chunks/{use-field-context-Cm3grEyV.js → use-field-context-CFITFjXV.js} +2 -2
- package/dist/chunks/{use-field-context-Cm3grEyV.js.map → use-field-context-CFITFjXV.js.map} +1 -1
- package/dist/chunks/use-locale-context-DxX8oC2w.js +22 -0
- package/dist/chunks/use-locale-context-DxX8oC2w.js.map +1 -0
- package/dist/chunks/{use-locale-context-BiiNTYMT.js → use-locale-context-ib8415q7.js} +1125 -773
- package/dist/chunks/use-locale-context-ib8415q7.js.map +1 -0
- package/dist/chunks/{withFormControl-l2C92-pT.js → withFormControl-CKHeFdbP.js} +56 -55
- package/dist/chunks/{withFormControl-l2C92-pT.js.map → withFormControl-CKHeFdbP.js.map} +1 -1
- package/dist/chunks/withFormControl-DUbGQZnV.js +2 -0
- package/dist/chunks/{withFormControl-BUrlnWW8.js.map → withFormControl-DUbGQZnV.js.map} +1 -1
- package/dist/chunks/{withTruncation-CQ7mmyn9.js → withTruncation-BjQjta4-.js} +2 -2
- package/dist/chunks/{withTruncation-CQ7mmyn9.js.map → withTruncation-BjQjta4-.js.map} +1 -1
- package/dist/chunks/{withTruncation-B6vA2g0w.js → withTruncation-DubH2hvc.js} +2 -2
- package/dist/chunks/{withTruncation-B6vA2g0w.js.map → withTruncation-DubH2hvc.js.map} +1 -1
- package/dist/chunks/{wrap-B8tBNeBY.js → wrap-CfOMkouk.js} +2 -2
- package/dist/chunks/{wrap-B8tBNeBY.js.map → wrap-CfOMkouk.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/chakra/index.cjs.map +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +197 -191
- package/dist/esm/chakra/index.js.map +1 -1
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +33 -33
- package/dist/esm/index.js +56 -55
- package/dist/esm/theme/index.js +3 -2
- package/dist/types/chakra/index.d.ts +2 -1
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunks/checkbox.component-CY7ZklEW.js +0 -2
- package/dist/chunks/checkbox.records-CTlAD-2Q.js.map +0 -1
- package/dist/chunks/checkbox.records-DI3mqSNf.js +0 -2
- package/dist/chunks/checkbox.records-DI3mqSNf.js.map +0 -1
- package/dist/chunks/index-DUY19L6M.js +0 -6312
- package/dist/chunks/index-DUY19L6M.js.map +0 -1
- package/dist/chunks/index-iaug4k6v.js +0 -8
- package/dist/chunks/index-iaug4k6v.js.map +0 -1
- package/dist/chunks/radio.records-4ih1q8nO.js.map +0 -1
- package/dist/chunks/radio.records-j0JOqaJ4.js.map +0 -1
- package/dist/chunks/radioGroup.component-SvJktaFu.js +0 -2
- package/dist/chunks/theme.provider-By9pC56x.js +0 -13594
- package/dist/chunks/theme.provider-By9pC56x.js.map +0 -1
- package/dist/chunks/theme.provider-C7LTWlAF.js +0 -26
- package/dist/chunks/theme.provider-C7LTWlAF.js.map +0 -1
- package/dist/chunks/tooltip.component-CIUcGhxw.js +0 -2
- package/dist/chunks/tooltip.component-CIUcGhxw.js.map +0 -1
- package/dist/chunks/tooltip.component-Cr_en1NQ.js +0 -489
- package/dist/chunks/tooltip.component-Cr_en1NQ.js.map +0 -1
- package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
- package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
- package/dist/chunks/typography.records-H4aA5AOA.js.map +0 -1
- package/dist/chunks/use-locale-context-BiiNTYMT.js.map +0 -1
- package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
- package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
- package/dist/chunks/withFormControl-BUrlnWW8.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
var
|
|
1
|
+
import { j as fe } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { ar as St, I as Pt, as as Tt, a6 as rt, T as Ct, at as re, au as Re, av as At, aw as se, ax as He, ay as Nt, C as _t, a1 as Dt, c as ot, al as Lt, an as Mt, r as Ce, e as it, G as kt, az as It, l as Vt, aA as $t, a7 as Ft, H as Ut, z as Ht, t as zt, b as Bt } from "./index-1syExFDc.js";
|
|
3
|
+
import st, { createContext as Wt, useContext as jt, useState as Ae, useSyncExternalStore as Gt, useEffect as ce, Children as ct, useMemo as qt, useRef as M, useLayoutEffect as Yt, memo as Kt, forwardRef as Xt, createElement as Jt, isValidElement as Qt, cloneElement as Zt, useCallback as en } from "react";
|
|
4
|
+
var de = { exports: {} }, N = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react-dom.production.js
|
|
@@ -12,18 +12,18 @@ var fe = { exports: {} }, N = {};
|
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
14
|
var ze;
|
|
15
|
-
function
|
|
15
|
+
function tn() {
|
|
16
16
|
if (ze) return N;
|
|
17
17
|
ze = 1;
|
|
18
|
-
var e =
|
|
18
|
+
var e = st;
|
|
19
19
|
function t(u) {
|
|
20
|
-
var
|
|
20
|
+
var i = "https://react.dev/errors/" + u;
|
|
21
21
|
if (1 < arguments.length) {
|
|
22
|
-
|
|
22
|
+
i += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
23
23
|
for (var g = 2; g < arguments.length; g++)
|
|
24
|
-
|
|
24
|
+
i += "&args[]=" + encodeURIComponent(arguments[g]);
|
|
25
25
|
}
|
|
26
|
-
return "Minified React error #" + u + "; visit " +
|
|
26
|
+
return "Minified React error #" + u + "; visit " + i + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
27
27
|
}
|
|
28
28
|
function r() {
|
|
29
29
|
}
|
|
@@ -44,107 +44,107 @@ function It() {
|
|
|
44
44
|
p: 0,
|
|
45
45
|
findDOMNode: null
|
|
46
46
|
}, o = Symbol.for("react.portal");
|
|
47
|
-
function c(u,
|
|
47
|
+
function c(u, i, g) {
|
|
48
48
|
var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
49
49
|
return {
|
|
50
50
|
$$typeof: o,
|
|
51
51
|
key: a == null ? null : "" + a,
|
|
52
52
|
children: u,
|
|
53
|
-
containerInfo:
|
|
53
|
+
containerInfo: i,
|
|
54
54
|
implementation: g
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
58
|
-
function f(u,
|
|
58
|
+
function f(u, i) {
|
|
59
59
|
if (u === "font") return "";
|
|
60
|
-
if (typeof
|
|
61
|
-
return
|
|
60
|
+
if (typeof i == "string")
|
|
61
|
+
return i === "use-credentials" ? i : "";
|
|
62
62
|
}
|
|
63
|
-
return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u,
|
|
63
|
+
return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, i) {
|
|
64
64
|
var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
65
|
-
if (!
|
|
65
|
+
if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
|
|
66
66
|
throw Error(t(299));
|
|
67
|
-
return c(u,
|
|
67
|
+
return c(u, i, null, g);
|
|
68
68
|
}, N.flushSync = function(u) {
|
|
69
|
-
var
|
|
69
|
+
var i = l.T, g = n.p;
|
|
70
70
|
try {
|
|
71
71
|
if (l.T = null, n.p = 2, u) return u();
|
|
72
72
|
} finally {
|
|
73
|
-
l.T =
|
|
73
|
+
l.T = i, n.p = g, n.d.f();
|
|
74
74
|
}
|
|
75
|
-
}, N.preconnect = function(u,
|
|
76
|
-
typeof u == "string" && (
|
|
75
|
+
}, N.preconnect = function(u, i) {
|
|
76
|
+
typeof u == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, n.d.C(u, i));
|
|
77
77
|
}, N.prefetchDNS = function(u) {
|
|
78
78
|
typeof u == "string" && n.d.D(u);
|
|
79
|
-
}, N.preinit = function(u,
|
|
80
|
-
if (typeof u == "string" &&
|
|
81
|
-
var g =
|
|
79
|
+
}, N.preinit = function(u, i) {
|
|
80
|
+
if (typeof u == "string" && i && typeof i.as == "string") {
|
|
81
|
+
var g = i.as, a = f(g, i.crossOrigin), s = typeof i.integrity == "string" ? i.integrity : void 0, d = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
|
|
82
82
|
g === "style" ? n.d.S(
|
|
83
83
|
u,
|
|
84
|
-
typeof
|
|
84
|
+
typeof i.precedence == "string" ? i.precedence : void 0,
|
|
85
85
|
{
|
|
86
86
|
crossOrigin: a,
|
|
87
|
-
integrity:
|
|
87
|
+
integrity: s,
|
|
88
88
|
fetchPriority: d
|
|
89
89
|
}
|
|
90
90
|
) : g === "script" && n.d.X(u, {
|
|
91
91
|
crossOrigin: a,
|
|
92
|
-
integrity:
|
|
92
|
+
integrity: s,
|
|
93
93
|
fetchPriority: d,
|
|
94
|
-
nonce: typeof
|
|
94
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
}, N.preinitModule = function(u,
|
|
97
|
+
}, N.preinitModule = function(u, i) {
|
|
98
98
|
if (typeof u == "string")
|
|
99
|
-
if (typeof
|
|
100
|
-
if (
|
|
99
|
+
if (typeof i == "object" && i !== null) {
|
|
100
|
+
if (i.as == null || i.as === "script") {
|
|
101
101
|
var g = f(
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
i.as,
|
|
103
|
+
i.crossOrigin
|
|
104
104
|
);
|
|
105
105
|
n.d.M(u, {
|
|
106
106
|
crossOrigin: g,
|
|
107
|
-
integrity: typeof
|
|
108
|
-
nonce: typeof
|
|
107
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0,
|
|
108
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
} else
|
|
112
|
-
}, N.preload = function(u,
|
|
113
|
-
if (typeof u == "string" && typeof
|
|
114
|
-
var g =
|
|
111
|
+
} else i == null && n.d.M(u);
|
|
112
|
+
}, N.preload = function(u, i) {
|
|
113
|
+
if (typeof u == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
|
|
114
|
+
var g = i.as, a = f(g, i.crossOrigin);
|
|
115
115
|
n.d.L(u, g, {
|
|
116
116
|
crossOrigin: a,
|
|
117
|
-
integrity: typeof
|
|
118
|
-
nonce: typeof
|
|
119
|
-
type: typeof
|
|
120
|
-
fetchPriority: typeof
|
|
121
|
-
referrerPolicy: typeof
|
|
122
|
-
imageSrcSet: typeof
|
|
123
|
-
imageSizes: typeof
|
|
124
|
-
media: typeof
|
|
117
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0,
|
|
118
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0,
|
|
119
|
+
type: typeof i.type == "string" ? i.type : void 0,
|
|
120
|
+
fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
|
|
121
|
+
referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
|
|
122
|
+
imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
|
|
123
|
+
imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
|
|
124
|
+
media: typeof i.media == "string" ? i.media : void 0
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
}, N.preloadModule = function(u,
|
|
127
|
+
}, N.preloadModule = function(u, i) {
|
|
128
128
|
if (typeof u == "string")
|
|
129
|
-
if (
|
|
130
|
-
var g = f(
|
|
129
|
+
if (i) {
|
|
130
|
+
var g = f(i.as, i.crossOrigin);
|
|
131
131
|
n.d.m(u, {
|
|
132
|
-
as: typeof
|
|
132
|
+
as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
|
|
133
133
|
crossOrigin: g,
|
|
134
|
-
integrity: typeof
|
|
134
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0
|
|
135
135
|
});
|
|
136
136
|
} else n.d.m(u);
|
|
137
137
|
}, N.requestFormReset = function(u) {
|
|
138
138
|
n.d.r(u);
|
|
139
|
-
}, N.unstable_batchedUpdates = function(u,
|
|
140
|
-
return u(
|
|
141
|
-
}, N.useFormState = function(u,
|
|
142
|
-
return l.H.useFormState(u,
|
|
139
|
+
}, N.unstable_batchedUpdates = function(u, i) {
|
|
140
|
+
return u(i);
|
|
141
|
+
}, N.useFormState = function(u, i, g) {
|
|
142
|
+
return l.H.useFormState(u, i, g);
|
|
143
143
|
}, N.useFormStatus = function() {
|
|
144
144
|
return l.H.useHostTransitionStatus();
|
|
145
145
|
}, N.version = "19.1.0", N;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
147
|
+
var _ = {};
|
|
148
148
|
/**
|
|
149
149
|
* @license React
|
|
150
150
|
* react-dom.development.js
|
|
@@ -154,37 +154,37 @@ var C = {};
|
|
|
154
154
|
* This source code is licensed under the MIT license found in the
|
|
155
155
|
* LICENSE file in the root directory of this source tree.
|
|
156
156
|
*/
|
|
157
|
-
var
|
|
158
|
-
function
|
|
159
|
-
return
|
|
157
|
+
var Be;
|
|
158
|
+
function nn() {
|
|
159
|
+
return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
|
|
160
160
|
function e() {
|
|
161
161
|
}
|
|
162
162
|
function t(a) {
|
|
163
163
|
return "" + a;
|
|
164
164
|
}
|
|
165
|
-
function r(a,
|
|
166
|
-
var
|
|
165
|
+
function r(a, s, d) {
|
|
166
|
+
var p = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
167
167
|
try {
|
|
168
|
-
t(
|
|
169
|
-
var
|
|
168
|
+
t(p);
|
|
169
|
+
var m = !1;
|
|
170
170
|
} catch {
|
|
171
|
-
|
|
171
|
+
m = !0;
|
|
172
172
|
}
|
|
173
|
-
return
|
|
173
|
+
return m && (console.error(
|
|
174
174
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
175
|
-
typeof Symbol == "function" && Symbol.toStringTag &&
|
|
176
|
-
), t(
|
|
177
|
-
$$typeof:
|
|
178
|
-
key:
|
|
175
|
+
typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object"
|
|
176
|
+
), t(p)), {
|
|
177
|
+
$$typeof: i,
|
|
178
|
+
key: p == null ? null : "" + p,
|
|
179
179
|
children: a,
|
|
180
|
-
containerInfo:
|
|
180
|
+
containerInfo: s,
|
|
181
181
|
implementation: d
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
|
-
function n(a,
|
|
184
|
+
function n(a, s) {
|
|
185
185
|
if (a === "font") return "";
|
|
186
|
-
if (typeof
|
|
187
|
-
return
|
|
186
|
+
if (typeof s == "string")
|
|
187
|
+
return s === "use-credentials" ? s : "";
|
|
188
188
|
}
|
|
189
189
|
function o(a) {
|
|
190
190
|
return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : 'something with type "' + typeof a + '"';
|
|
@@ -203,7 +203,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
203
203
|
), a;
|
|
204
204
|
}
|
|
205
205
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
206
|
-
var f =
|
|
206
|
+
var f = st, u = {
|
|
207
207
|
d: {
|
|
208
208
|
f: e,
|
|
209
209
|
r: function() {
|
|
@@ -221,88 +221,88 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
221
221
|
},
|
|
222
222
|
p: 0,
|
|
223
223
|
findDOMNode: null
|
|
224
|
-
},
|
|
224
|
+
}, i = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
225
225
|
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
226
226
|
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
227
|
-
),
|
|
227
|
+
), _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, _.createPortal = function(a, s) {
|
|
228
228
|
var d = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
229
|
-
if (!
|
|
229
|
+
if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
|
|
230
230
|
throw Error("Target container is not a DOM element.");
|
|
231
|
-
return r(a,
|
|
232
|
-
},
|
|
233
|
-
var
|
|
231
|
+
return r(a, s, null, d);
|
|
232
|
+
}, _.flushSync = function(a) {
|
|
233
|
+
var s = g.T, d = u.p;
|
|
234
234
|
try {
|
|
235
235
|
if (g.T = null, u.p = 2, a)
|
|
236
236
|
return a();
|
|
237
237
|
} finally {
|
|
238
|
-
g.T =
|
|
238
|
+
g.T = s, u.p = d, u.d.f() && console.error(
|
|
239
239
|
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
},
|
|
243
|
-
typeof a == "string" && a ?
|
|
242
|
+
}, _.preconnect = function(a, s) {
|
|
243
|
+
typeof a == "string" && a ? s != null && typeof s != "object" ? console.error(
|
|
244
244
|
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
|
|
245
|
-
c(
|
|
246
|
-
) :
|
|
245
|
+
c(s)
|
|
246
|
+
) : s != null && typeof s.crossOrigin != "string" && console.error(
|
|
247
247
|
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
|
|
248
|
-
o(
|
|
248
|
+
o(s.crossOrigin)
|
|
249
249
|
) : console.error(
|
|
250
250
|
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
251
251
|
o(a)
|
|
252
|
-
), typeof a == "string" && (
|
|
253
|
-
},
|
|
252
|
+
), typeof a == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, u.d.C(a, s));
|
|
253
|
+
}, _.prefetchDNS = function(a) {
|
|
254
254
|
if (typeof a != "string" || !a)
|
|
255
255
|
console.error(
|
|
256
256
|
"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
257
257
|
o(a)
|
|
258
258
|
);
|
|
259
259
|
else if (1 < arguments.length) {
|
|
260
|
-
var
|
|
261
|
-
typeof
|
|
260
|
+
var s = arguments[1];
|
|
261
|
+
typeof s == "object" && s.hasOwnProperty("crossOrigin") ? console.error(
|
|
262
262
|
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
263
|
-
c(
|
|
263
|
+
c(s)
|
|
264
264
|
) : console.error(
|
|
265
265
|
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
266
|
-
c(
|
|
266
|
+
c(s)
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
typeof a == "string" && u.d.D(a);
|
|
270
|
-
},
|
|
271
|
-
if (typeof a == "string" && a ?
|
|
270
|
+
}, _.preinit = function(a, s) {
|
|
271
|
+
if (typeof a == "string" && a ? s == null || typeof s != "object" ? console.error(
|
|
272
272
|
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
|
|
273
|
-
c(
|
|
274
|
-
) :
|
|
273
|
+
c(s)
|
|
274
|
+
) : s.as !== "style" && s.as !== "script" && console.error(
|
|
275
275
|
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
|
|
276
|
-
c(
|
|
276
|
+
c(s.as)
|
|
277
277
|
) : console.error(
|
|
278
278
|
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
279
279
|
o(a)
|
|
280
|
-
), typeof a == "string" &&
|
|
281
|
-
var d =
|
|
280
|
+
), typeof a == "string" && s && typeof s.as == "string") {
|
|
281
|
+
var d = s.as, p = n(d, s.crossOrigin), m = typeof s.integrity == "string" ? s.integrity : void 0, y = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
|
|
282
282
|
d === "style" ? u.d.S(
|
|
283
283
|
a,
|
|
284
|
-
typeof
|
|
284
|
+
typeof s.precedence == "string" ? s.precedence : void 0,
|
|
285
285
|
{
|
|
286
|
-
crossOrigin:
|
|
287
|
-
integrity:
|
|
286
|
+
crossOrigin: p,
|
|
287
|
+
integrity: m,
|
|
288
288
|
fetchPriority: y
|
|
289
289
|
}
|
|
290
290
|
) : d === "script" && u.d.X(a, {
|
|
291
|
-
crossOrigin:
|
|
292
|
-
integrity:
|
|
291
|
+
crossOrigin: p,
|
|
292
|
+
integrity: m,
|
|
293
293
|
fetchPriority: y,
|
|
294
|
-
nonce: typeof
|
|
294
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, _.preinitModule = function(a, s) {
|
|
298
298
|
var d = "";
|
|
299
|
-
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."),
|
|
299
|
+
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s !== void 0 && typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && s.as !== "script" && (d += " The `as` option encountered was " + c(s.as) + "."), d)
|
|
300
300
|
console.error(
|
|
301
301
|
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
302
302
|
d
|
|
303
303
|
);
|
|
304
304
|
else
|
|
305
|
-
switch (d =
|
|
305
|
+
switch (d = s && typeof s.as == "string" ? s.as : "script", d) {
|
|
306
306
|
case "script":
|
|
307
307
|
break;
|
|
308
308
|
default:
|
|
@@ -312,65 +312,65 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
312
312
|
a
|
|
313
313
|
);
|
|
314
314
|
}
|
|
315
|
-
typeof a == "string" && (typeof
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
typeof a == "string" && (typeof s == "object" && s !== null ? (s.as == null || s.as === "script") && (d = n(
|
|
316
|
+
s.as,
|
|
317
|
+
s.crossOrigin
|
|
318
318
|
), u.d.M(a, {
|
|
319
319
|
crossOrigin: d,
|
|
320
|
-
integrity: typeof
|
|
321
|
-
nonce: typeof
|
|
322
|
-
})) :
|
|
323
|
-
},
|
|
320
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0,
|
|
321
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0
|
|
322
|
+
})) : s == null && u.d.M(a));
|
|
323
|
+
}, _.preload = function(a, s) {
|
|
324
324
|
var d = "";
|
|
325
|
-
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."),
|
|
325
|
+
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s == null || typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : typeof s.as == "string" && s.as || (d += " The `as` option encountered was " + o(s.as) + "."), d && console.error(
|
|
326
326
|
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
327
327
|
d
|
|
328
|
-
), typeof a == "string" && typeof
|
|
329
|
-
d =
|
|
330
|
-
var
|
|
328
|
+
), typeof a == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
|
|
329
|
+
d = s.as;
|
|
330
|
+
var p = n(
|
|
331
331
|
d,
|
|
332
|
-
|
|
332
|
+
s.crossOrigin
|
|
333
333
|
);
|
|
334
334
|
u.d.L(a, d, {
|
|
335
|
-
crossOrigin:
|
|
336
|
-
integrity: typeof
|
|
337
|
-
nonce: typeof
|
|
338
|
-
type: typeof
|
|
339
|
-
fetchPriority: typeof
|
|
340
|
-
referrerPolicy: typeof
|
|
341
|
-
imageSrcSet: typeof
|
|
342
|
-
imageSizes: typeof
|
|
343
|
-
media: typeof
|
|
335
|
+
crossOrigin: p,
|
|
336
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0,
|
|
337
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0,
|
|
338
|
+
type: typeof s.type == "string" ? s.type : void 0,
|
|
339
|
+
fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
|
|
340
|
+
referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
|
|
341
|
+
imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
|
|
342
|
+
imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
|
|
343
|
+
media: typeof s.media == "string" ? s.media : void 0
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, _.preloadModule = function(a, s) {
|
|
347
347
|
var d = "";
|
|
348
|
-
typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."),
|
|
348
|
+
typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s !== void 0 && typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && typeof s.as != "string" && (d += " The `as` option encountered was " + o(s.as) + "."), d && console.error(
|
|
349
349
|
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
350
350
|
d
|
|
351
|
-
), typeof a == "string" && (
|
|
352
|
-
|
|
353
|
-
|
|
351
|
+
), typeof a == "string" && (s ? (d = n(
|
|
352
|
+
s.as,
|
|
353
|
+
s.crossOrigin
|
|
354
354
|
), u.d.m(a, {
|
|
355
|
-
as: typeof
|
|
355
|
+
as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
|
|
356
356
|
crossOrigin: d,
|
|
357
|
-
integrity: typeof
|
|
357
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0
|
|
358
358
|
})) : u.d.m(a));
|
|
359
|
-
},
|
|
359
|
+
}, _.requestFormReset = function(a) {
|
|
360
360
|
u.d.r(a);
|
|
361
|
-
},
|
|
362
|
-
return a(
|
|
363
|
-
},
|
|
364
|
-
return l().useFormState(a,
|
|
365
|
-
},
|
|
361
|
+
}, _.unstable_batchedUpdates = function(a, s) {
|
|
362
|
+
return a(s);
|
|
363
|
+
}, _.useFormState = function(a, s, d) {
|
|
364
|
+
return l().useFormState(a, s, d);
|
|
365
|
+
}, _.useFormStatus = function() {
|
|
366
366
|
return l().useHostTransitionStatus();
|
|
367
|
-
},
|
|
368
|
-
}()),
|
|
367
|
+
}, _.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
368
|
+
}()), _;
|
|
369
369
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
372
|
-
if (
|
|
373
|
-
|
|
370
|
+
var We;
|
|
371
|
+
function rn() {
|
|
372
|
+
if (We) return de.exports;
|
|
373
|
+
We = 1;
|
|
374
374
|
function e() {
|
|
375
375
|
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
376
376
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -382,13 +382,13 @@ function jt() {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
return process.env.NODE_ENV === "production" ? (e(),
|
|
385
|
+
return process.env.NODE_ENV === "production" ? (e(), de.exports = tn()) : de.exports = nn(), de.exports;
|
|
386
386
|
}
|
|
387
|
-
var
|
|
388
|
-
function
|
|
387
|
+
var we = rn();
|
|
388
|
+
function on(e, t) {
|
|
389
389
|
return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function Le(e = {}) {
|
|
392
392
|
const {
|
|
393
393
|
name: t,
|
|
394
394
|
strict: r = !0,
|
|
@@ -396,19 +396,19 @@ function Ne(e = {}) {
|
|
|
396
396
|
providerName: o = "Provider",
|
|
397
397
|
errorMessage: c,
|
|
398
398
|
defaultValue: l
|
|
399
|
-
} = e, f =
|
|
399
|
+
} = e, f = Wt(l);
|
|
400
400
|
f.displayName = t;
|
|
401
401
|
function u() {
|
|
402
|
-
const
|
|
403
|
-
if (!
|
|
404
|
-
const g = new Error(c ??
|
|
402
|
+
const i = jt(f);
|
|
403
|
+
if (!i && r) {
|
|
404
|
+
const g = new Error(c ?? on(n, o));
|
|
405
405
|
throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
|
|
406
406
|
}
|
|
407
|
-
return
|
|
407
|
+
return i;
|
|
408
408
|
}
|
|
409
409
|
return [f.Provider, u, f];
|
|
410
410
|
}
|
|
411
|
-
const [
|
|
411
|
+
const [kr, sn] = Le({
|
|
412
412
|
name: "EnvironmentContext",
|
|
413
413
|
hookName: "useEnvironmentContext",
|
|
414
414
|
providerName: "<EnvironmentProvider />",
|
|
@@ -418,40 +418,40 @@ const [xr, qt] = Ne({
|
|
|
418
418
|
getDocument: () => document,
|
|
419
419
|
getWindow: () => window
|
|
420
420
|
}
|
|
421
|
-
}),
|
|
422
|
-
const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c =
|
|
423
|
-
|
|
421
|
+
}), Ir = (e) => {
|
|
422
|
+
const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Gt(
|
|
423
|
+
an,
|
|
424
424
|
() => !1,
|
|
425
425
|
() => !0
|
|
426
|
-
), { getRootNode: l } =
|
|
427
|
-
if (
|
|
426
|
+
), { getRootNode: l } = sn();
|
|
427
|
+
if (ce(() => {
|
|
428
428
|
o(() => e.container?.current);
|
|
429
|
-
}, [e.container]), c || r) return /* @__PURE__ */
|
|
430
|
-
const f = n ??
|
|
431
|
-
return /* @__PURE__ */
|
|
432
|
-
},
|
|
429
|
+
}, [e.container]), c || r) return /* @__PURE__ */ fe.jsx(fe.Fragment, { children: t });
|
|
430
|
+
const f = n ?? cn(l);
|
|
431
|
+
return /* @__PURE__ */ fe.jsx(fe.Fragment, { children: ct.map(t, (u) => we.createPortal(u, f)) });
|
|
432
|
+
}, cn = (e) => {
|
|
433
433
|
const t = e?.(), r = t.getRootNode();
|
|
434
|
-
return
|
|
435
|
-
},
|
|
434
|
+
return St(r) ? r : Pt(t).body;
|
|
435
|
+
}, an = () => () => {
|
|
436
436
|
};
|
|
437
|
-
function
|
|
437
|
+
function ln(e) {
|
|
438
438
|
return new Proxy({}, {
|
|
439
439
|
get(t, r) {
|
|
440
440
|
return r === "style" ? (n) => e({ style: n }).style : e;
|
|
441
441
|
}
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
|
-
var
|
|
445
|
-
function
|
|
446
|
-
const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f =
|
|
444
|
+
var at = () => (e) => Array.from(new Set(e)), lt = typeof globalThis.document < "u" ? Yt : ce;
|
|
445
|
+
function ye(e) {
|
|
446
|
+
const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = M(o);
|
|
447
447
|
f.current = l ? e().value : o;
|
|
448
|
-
const u =
|
|
449
|
-
|
|
448
|
+
const u = M(f.current);
|
|
449
|
+
lt(() => {
|
|
450
450
|
u.current = f.current;
|
|
451
451
|
}, [o, e().value]);
|
|
452
|
-
const
|
|
453
|
-
const
|
|
454
|
-
e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev:
|
|
452
|
+
const i = (a) => {
|
|
453
|
+
const s = u.current, d = se(a) ? a(s) : a;
|
|
454
|
+
e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: s }), l || c(d), r(d, s) || e().onChange?.(d, s);
|
|
455
455
|
};
|
|
456
456
|
function g() {
|
|
457
457
|
return l ? e().value : o;
|
|
@@ -461,21 +461,21 @@ function me(e) {
|
|
|
461
461
|
ref: f,
|
|
462
462
|
get: g,
|
|
463
463
|
set(a) {
|
|
464
|
-
(e().sync ?
|
|
464
|
+
(e().sync ? we.flushSync : At)(() => i(a));
|
|
465
465
|
},
|
|
466
|
-
invoke(a,
|
|
467
|
-
e().onChange?.(a,
|
|
466
|
+
invoke(a, s) {
|
|
467
|
+
e().onChange?.(a, s);
|
|
468
468
|
},
|
|
469
469
|
hash(a) {
|
|
470
470
|
return e().hash?.(a) ?? String(a);
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
473
|
}
|
|
474
|
-
|
|
475
|
-
|
|
474
|
+
ye.cleanup = (e) => {
|
|
475
|
+
ce(() => e, []);
|
|
476
476
|
};
|
|
477
|
-
|
|
478
|
-
const t =
|
|
477
|
+
ye.ref = (e) => {
|
|
478
|
+
const t = M(e);
|
|
479
479
|
return {
|
|
480
480
|
get: () => t.current,
|
|
481
481
|
set: (r) => {
|
|
@@ -483,8 +483,8 @@ me.ref = (e) => {
|
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
485
|
};
|
|
486
|
-
function
|
|
487
|
-
const t =
|
|
486
|
+
function un(e) {
|
|
487
|
+
const t = M(e);
|
|
488
488
|
return {
|
|
489
489
|
get(r) {
|
|
490
490
|
return t.current[r];
|
|
@@ -494,188 +494,188 @@ function Jt(e) {
|
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
496
|
}
|
|
497
|
-
var
|
|
498
|
-
const r =
|
|
499
|
-
|
|
497
|
+
var fn = (e, t) => {
|
|
498
|
+
const r = M(!1), n = M(!1);
|
|
499
|
+
ce(() => {
|
|
500
500
|
if (r.current && n.current) return t();
|
|
501
501
|
n.current = !0;
|
|
502
|
-
}, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]),
|
|
502
|
+
}, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), ce(() => (r.current = !0, () => {
|
|
503
503
|
r.current = !1;
|
|
504
504
|
}), []);
|
|
505
505
|
};
|
|
506
|
-
function
|
|
507
|
-
const r =
|
|
508
|
-
const { id: h, ids:
|
|
509
|
-
return
|
|
506
|
+
function dn(e, t = {}) {
|
|
507
|
+
const r = qt(() => {
|
|
508
|
+
const { id: h, ids: O, getRootNode: S } = t;
|
|
509
|
+
return Tt({ id: h, ids: O, getRootNode: S });
|
|
510
510
|
}, [t]), n = (...h) => {
|
|
511
511
|
e.debug && console.log(...h);
|
|
512
|
-
}, o = e.props?.({ props:
|
|
512
|
+
}, o = e.props?.({ props: rt(t), scope: r }) ?? t, c = gn(o), l = e.context?.({
|
|
513
513
|
prop: c,
|
|
514
|
-
bindable:
|
|
514
|
+
bindable: ye,
|
|
515
515
|
scope: r,
|
|
516
|
-
flush:
|
|
516
|
+
flush: je,
|
|
517
517
|
getContext() {
|
|
518
518
|
return u;
|
|
519
519
|
},
|
|
520
520
|
getComputed() {
|
|
521
|
-
return
|
|
521
|
+
return b;
|
|
522
522
|
},
|
|
523
523
|
getRefs() {
|
|
524
|
-
return
|
|
524
|
+
return m;
|
|
525
525
|
}
|
|
526
|
-
}), f =
|
|
526
|
+
}), f = ut(l), u = {
|
|
527
527
|
get(h) {
|
|
528
528
|
return f.current?.[h].ref.current;
|
|
529
529
|
},
|
|
530
|
-
set(h,
|
|
531
|
-
f.current?.[h].set(
|
|
530
|
+
set(h, O) {
|
|
531
|
+
f.current?.[h].set(O);
|
|
532
532
|
},
|
|
533
533
|
initial(h) {
|
|
534
534
|
return f.current?.[h].initial;
|
|
535
535
|
},
|
|
536
536
|
hash(h) {
|
|
537
|
-
const
|
|
538
|
-
return f.current?.[h].hash(
|
|
537
|
+
const O = f.current?.[h].get();
|
|
538
|
+
return f.current?.[h].hash(O);
|
|
539
539
|
}
|
|
540
|
-
},
|
|
541
|
-
...
|
|
540
|
+
}, i = M(/* @__PURE__ */ new Map()), g = M(null), a = M(null), s = M({ type: "" }), d = () => ({
|
|
541
|
+
...s.current,
|
|
542
542
|
current() {
|
|
543
|
-
return
|
|
543
|
+
return s.current;
|
|
544
544
|
},
|
|
545
545
|
previous() {
|
|
546
546
|
return a.current;
|
|
547
547
|
}
|
|
548
|
-
}),
|
|
549
|
-
...
|
|
548
|
+
}), p = () => ({
|
|
549
|
+
...P,
|
|
550
550
|
matches(...h) {
|
|
551
|
-
return h.includes(
|
|
551
|
+
return h.includes(P.ref.current);
|
|
552
552
|
},
|
|
553
553
|
hasTag(h) {
|
|
554
|
-
return !!e.states[
|
|
554
|
+
return !!e.states[P.ref.current]?.tags?.includes(h);
|
|
555
555
|
}
|
|
556
|
-
}),
|
|
557
|
-
state:
|
|
556
|
+
}), m = un(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
|
|
557
|
+
state: p(),
|
|
558
558
|
context: u,
|
|
559
559
|
event: d(),
|
|
560
560
|
prop: c,
|
|
561
|
-
send:
|
|
561
|
+
send: L,
|
|
562
562
|
action: v,
|
|
563
563
|
guard: w,
|
|
564
|
-
track:
|
|
565
|
-
refs:
|
|
566
|
-
computed:
|
|
567
|
-
flush:
|
|
564
|
+
track: fn,
|
|
565
|
+
refs: m,
|
|
566
|
+
computed: b,
|
|
567
|
+
flush: je,
|
|
568
568
|
scope: r,
|
|
569
|
-
choose:
|
|
569
|
+
choose: R
|
|
570
570
|
}), v = (h) => {
|
|
571
|
-
const
|
|
572
|
-
if (!
|
|
573
|
-
const
|
|
574
|
-
const T = e.implementations?.actions?.[
|
|
575
|
-
return T || He(`[zag-js] No implementation found for action "${JSON.stringify(
|
|
571
|
+
const O = se(h) ? h(y()) : h;
|
|
572
|
+
if (!O) return;
|
|
573
|
+
const S = O.map((E) => {
|
|
574
|
+
const T = e.implementations?.actions?.[E];
|
|
575
|
+
return T || He(`[zag-js] No implementation found for action "${JSON.stringify(E)}"`), T;
|
|
576
576
|
});
|
|
577
|
-
for (const
|
|
578
|
-
|
|
579
|
-
}, w = (h) =>
|
|
580
|
-
const
|
|
581
|
-
if (!
|
|
582
|
-
const
|
|
583
|
-
const
|
|
584
|
-
return
|
|
585
|
-
}),
|
|
586
|
-
for (const T of
|
|
587
|
-
const
|
|
588
|
-
|
|
577
|
+
for (const E of S)
|
|
578
|
+
E?.(y());
|
|
579
|
+
}, w = (h) => se(h) ? h(y()) : e.implementations?.guards?.[h](y()), x = (h) => {
|
|
580
|
+
const O = se(h) ? h(y()) : h;
|
|
581
|
+
if (!O) return;
|
|
582
|
+
const S = O.map((T) => {
|
|
583
|
+
const A = e.implementations?.effects?.[T];
|
|
584
|
+
return A || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), A;
|
|
585
|
+
}), E = [];
|
|
586
|
+
for (const T of S) {
|
|
587
|
+
const A = T?.(y());
|
|
588
|
+
A && E.push(A);
|
|
589
589
|
}
|
|
590
|
-
return () =>
|
|
591
|
-
},
|
|
592
|
-
let
|
|
593
|
-
return
|
|
594
|
-
}),
|
|
595
|
-
|
|
596
|
-
const
|
|
597
|
-
return
|
|
590
|
+
return () => E.forEach((T) => T?.());
|
|
591
|
+
}, R = (h) => Nt(h).find((O) => {
|
|
592
|
+
let S = !O.guard;
|
|
593
|
+
return _t(O.guard) ? S = !!w(O.guard) : se(O.guard) && (S = O.guard(y())), S;
|
|
594
|
+
}), b = (h) => {
|
|
595
|
+
Ct(e.computed, () => "[zag-js] No computed object found on machine");
|
|
596
|
+
const O = e.computed[h];
|
|
597
|
+
return O({
|
|
598
598
|
context: u,
|
|
599
599
|
event: d(),
|
|
600
600
|
prop: c,
|
|
601
|
-
refs:
|
|
601
|
+
refs: m,
|
|
602
602
|
scope: r,
|
|
603
|
-
computed:
|
|
603
|
+
computed: b
|
|
604
604
|
});
|
|
605
|
-
},
|
|
605
|
+
}, P = ye(() => ({
|
|
606
606
|
defaultValue: e.initialState({ prop: c }),
|
|
607
|
-
onChange(h,
|
|
608
|
-
|
|
609
|
-
const
|
|
610
|
-
if (
|
|
607
|
+
onChange(h, O) {
|
|
608
|
+
O && (i.current.get(O)?.(), i.current.delete(O)), O && v(e.states[O]?.exit), v(g.current?.actions);
|
|
609
|
+
const S = x(e.states[h]?.effects);
|
|
610
|
+
if (S && i.current.set(h, S), O === Re) {
|
|
611
611
|
v(e.entry);
|
|
612
|
-
const
|
|
613
|
-
|
|
612
|
+
const E = x(e.effects);
|
|
613
|
+
E && i.current.set(Re, E);
|
|
614
614
|
}
|
|
615
615
|
v(e.states[h]?.entry);
|
|
616
616
|
}
|
|
617
|
-
})),
|
|
618
|
-
|
|
617
|
+
})), C = M(void 0), D = M(re.NotStarted);
|
|
618
|
+
lt(() => {
|
|
619
619
|
queueMicrotask(() => {
|
|
620
|
-
const
|
|
621
|
-
D.current = re.Started, n(
|
|
622
|
-
const
|
|
623
|
-
|
|
620
|
+
const S = D.current === re.Started;
|
|
621
|
+
D.current = re.Started, n(S ? "rehydrating..." : "initializing...");
|
|
622
|
+
const E = C.current ?? P.initial;
|
|
623
|
+
P.invoke(E, S ? P.get() : Re);
|
|
624
624
|
});
|
|
625
|
-
const h =
|
|
625
|
+
const h = i.current, O = P.ref.current;
|
|
626
626
|
return () => {
|
|
627
|
-
n("unmounting..."),
|
|
627
|
+
n("unmounting..."), C.current = O, D.current = re.Stopped, h.forEach((S) => S?.()), i.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
|
|
628
628
|
v(e.exit);
|
|
629
629
|
});
|
|
630
630
|
};
|
|
631
631
|
}, []);
|
|
632
|
-
const V = () => "ref" in
|
|
632
|
+
const V = () => "ref" in P ? P.ref.current : P.get(), L = (h) => {
|
|
633
633
|
queueMicrotask(() => {
|
|
634
634
|
if (D.current !== re.Started) return;
|
|
635
|
-
a.current =
|
|
636
|
-
let
|
|
637
|
-
const
|
|
635
|
+
a.current = s.current, s.current = h, n("send", h);
|
|
636
|
+
let O = V();
|
|
637
|
+
const S = (
|
|
638
638
|
// @ts-ignore
|
|
639
|
-
e.states[
|
|
639
|
+
e.states[O].on?.[h.type] ?? // @ts-ignore
|
|
640
640
|
e.on?.[h.type]
|
|
641
|
-
),
|
|
642
|
-
if (!
|
|
643
|
-
g.current =
|
|
644
|
-
const T =
|
|
645
|
-
n("transition",
|
|
646
|
-
const
|
|
647
|
-
|
|
641
|
+
), E = R(S);
|
|
642
|
+
if (!E) return;
|
|
643
|
+
g.current = E;
|
|
644
|
+
const T = E.target ?? O;
|
|
645
|
+
n("transition", E);
|
|
646
|
+
const A = T !== O;
|
|
647
|
+
A ? we.flushSync(() => P.set(T)) : E.reenter && !A ? P.invoke(O, O) : v(E.actions ?? []);
|
|
648
648
|
});
|
|
649
649
|
};
|
|
650
650
|
return e.watch?.(y()), {
|
|
651
|
-
state:
|
|
652
|
-
send:
|
|
651
|
+
state: p(),
|
|
652
|
+
send: L,
|
|
653
653
|
context: u,
|
|
654
654
|
prop: c,
|
|
655
655
|
scope: r,
|
|
656
|
-
refs:
|
|
657
|
-
computed:
|
|
656
|
+
refs: m,
|
|
657
|
+
computed: b,
|
|
658
658
|
event: d(),
|
|
659
659
|
getStatus: () => D.current
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
function
|
|
663
|
-
const t =
|
|
662
|
+
function ut(e) {
|
|
663
|
+
const t = M(e);
|
|
664
664
|
return t.current = e, t;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
667
|
-
const t =
|
|
666
|
+
function gn(e) {
|
|
667
|
+
const t = ut(e);
|
|
668
668
|
return function(n) {
|
|
669
669
|
return t.current[n];
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function je(e) {
|
|
673
673
|
queueMicrotask(() => {
|
|
674
|
-
|
|
674
|
+
we.flushSync(() => e());
|
|
675
675
|
});
|
|
676
676
|
}
|
|
677
|
-
var
|
|
678
|
-
function
|
|
677
|
+
var Vr = ln((e) => e);
|
|
678
|
+
function pn(...e) {
|
|
679
679
|
return (t) => {
|
|
680
680
|
const r = [];
|
|
681
681
|
for (const n of e)
|
|
@@ -690,28 +690,28 @@ function tn(...e) {
|
|
|
690
690
|
};
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function mn(e) {
|
|
694
694
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
695
695
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
696
696
|
}
|
|
697
697
|
const Se = (e) => {
|
|
698
|
-
const t =
|
|
699
|
-
|
|
698
|
+
const t = Kt(
|
|
699
|
+
Xt((r, n) => {
|
|
700
700
|
const { asChild: o, children: c, ...l } = r;
|
|
701
701
|
if (!o)
|
|
702
|
-
return
|
|
703
|
-
const f =
|
|
704
|
-
if (!
|
|
702
|
+
return Jt(e, { ...l, ref: n }, c);
|
|
703
|
+
const f = ct.only(c);
|
|
704
|
+
if (!Qt(f))
|
|
705
705
|
return null;
|
|
706
|
-
const u =
|
|
707
|
-
return
|
|
708
|
-
...
|
|
709
|
-
ref: n ?
|
|
706
|
+
const u = mn(f);
|
|
707
|
+
return Zt(f, {
|
|
708
|
+
...Dt(l, f.props),
|
|
709
|
+
ref: n ? pn(n, u) : u
|
|
710
710
|
});
|
|
711
711
|
})
|
|
712
712
|
);
|
|
713
713
|
return t.displayName = e.displayName || e.name, t;
|
|
714
|
-
},
|
|
714
|
+
}, yn = () => {
|
|
715
715
|
const e = /* @__PURE__ */ new Map();
|
|
716
716
|
return new Proxy(Se, {
|
|
717
717
|
apply(t, r, n) {
|
|
@@ -722,17 +722,17 @@ const Se = (e) => {
|
|
|
722
722
|
return e.has(n) || e.set(n, Se(n)), e.get(n);
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
|
-
},
|
|
725
|
+
}, $r = yn(), [Fr, Ur] = Le({
|
|
726
726
|
name: "PresenceContext",
|
|
727
727
|
hookName: "usePresenceContext",
|
|
728
728
|
providerName: "<PresenceProvider />"
|
|
729
|
-
}),
|
|
729
|
+
}), hn = () => (e, t) => t.reduce(
|
|
730
730
|
(r, n) => {
|
|
731
731
|
const [o, c] = r, l = n;
|
|
732
732
|
return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
|
|
733
733
|
},
|
|
734
734
|
[{}, { ...e }]
|
|
735
|
-
),
|
|
735
|
+
), Hr = (e) => hn()(e, [
|
|
736
736
|
"immediate",
|
|
737
737
|
"lazyMount",
|
|
738
738
|
"onExitComplete",
|
|
@@ -740,7 +740,7 @@ const Se = (e) => {
|
|
|
740
740
|
"skipAnimationOnMount",
|
|
741
741
|
"unmountOnExit"
|
|
742
742
|
]);
|
|
743
|
-
function
|
|
743
|
+
function vn(e, t) {
|
|
744
744
|
const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
|
|
745
745
|
return {
|
|
746
746
|
skip: !o.get("initial"),
|
|
@@ -753,7 +753,7 @@ function sn(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
|
-
var
|
|
756
|
+
var On = ot({
|
|
757
757
|
props({ props: e }) {
|
|
758
758
|
return { ...e, present: !!e.present };
|
|
759
759
|
},
|
|
@@ -842,7 +842,7 @@ var cn = Ot({
|
|
|
842
842
|
e.set("node", t.node);
|
|
843
843
|
},
|
|
844
844
|
setStyles: ({ refs: e, event: t }) => {
|
|
845
|
-
e.set("styles",
|
|
845
|
+
e.set("styles", it(t.node));
|
|
846
846
|
},
|
|
847
847
|
syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
|
|
848
848
|
const o = n("present");
|
|
@@ -851,14 +851,14 @@ var cn = Ot({
|
|
|
851
851
|
const c = t.get("node");
|
|
852
852
|
if (!o && c?.ownerDocument.visibilityState === "hidden")
|
|
853
853
|
return r({ type: "UNMOUNT", src: "visibilitychange" });
|
|
854
|
-
|
|
855
|
-
const l =
|
|
854
|
+
Ce(() => {
|
|
855
|
+
const l = ge(t.get("styles"));
|
|
856
856
|
e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
|
|
857
857
|
});
|
|
858
858
|
},
|
|
859
859
|
setPrevAnimationName: ({ context: e, refs: t }) => {
|
|
860
|
-
|
|
861
|
-
e.set("prevAnimationName",
|
|
860
|
+
Ce(() => {
|
|
861
|
+
e.set("prevAnimationName", ge(t.get("styles")));
|
|
862
862
|
});
|
|
863
863
|
},
|
|
864
864
|
clearPrevAnimationName: ({ context: e }) => {
|
|
@@ -870,103 +870,103 @@ var cn = Ot({
|
|
|
870
870
|
const n = t.get("node");
|
|
871
871
|
if (!n) return;
|
|
872
872
|
const o = (f) => {
|
|
873
|
-
(f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName",
|
|
873
|
+
(f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", ge(t.get("styles")));
|
|
874
874
|
}, c = (f) => {
|
|
875
|
-
const u =
|
|
876
|
-
|
|
875
|
+
const u = ge(t.get("styles"));
|
|
876
|
+
kt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
|
|
877
877
|
};
|
|
878
878
|
n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
|
|
879
|
-
const l =
|
|
879
|
+
const l = Lt(n, { animationFillMode: "forwards" });
|
|
880
880
|
return () => {
|
|
881
|
-
n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c),
|
|
881
|
+
n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Mt(() => l());
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
});
|
|
887
|
-
function
|
|
887
|
+
function ge(e) {
|
|
888
888
|
return e?.animationName || "none";
|
|
889
889
|
}
|
|
890
|
-
|
|
891
|
-
function
|
|
892
|
-
const { sync: r = !1 } = t, n =
|
|
893
|
-
return
|
|
890
|
+
at()(["onExitComplete", "present", "immediate"]);
|
|
891
|
+
function wn(e, t = {}) {
|
|
892
|
+
const { sync: r = !1 } = t, n = xn(e);
|
|
893
|
+
return en(
|
|
894
894
|
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
895
895
|
(...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
|
|
896
896
|
[r, n]
|
|
897
897
|
);
|
|
898
898
|
}
|
|
899
|
-
function
|
|
900
|
-
const t =
|
|
899
|
+
function xn(e) {
|
|
900
|
+
const t = M(e);
|
|
901
901
|
return t.current = e, t;
|
|
902
902
|
}
|
|
903
|
-
const
|
|
904
|
-
const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l =
|
|
903
|
+
const zr = (e = {}) => {
|
|
904
|
+
const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = M(!1), f = {
|
|
905
905
|
...c,
|
|
906
906
|
present: n,
|
|
907
|
-
onExitComplete:
|
|
908
|
-
}, u =
|
|
909
|
-
|
|
910
|
-
const g = !
|
|
911
|
-
"data-state":
|
|
912
|
-
hidden: !
|
|
907
|
+
onExitComplete: wn(e.onExitComplete)
|
|
908
|
+
}, u = dn(On, f), i = vn(u);
|
|
909
|
+
i.present && (l.current = !0);
|
|
910
|
+
const g = !i.present && !l.current && t || r && !i.present && l.current, a = () => ({
|
|
911
|
+
"data-state": i.skip && o ? void 0 : n ? "open" : "closed",
|
|
912
|
+
hidden: !i.present
|
|
913
913
|
});
|
|
914
914
|
return {
|
|
915
|
-
ref:
|
|
915
|
+
ref: i.setNode,
|
|
916
916
|
getPresenceProps: a,
|
|
917
|
-
present:
|
|
917
|
+
present: i.present,
|
|
918
918
|
unmounted: g
|
|
919
919
|
};
|
|
920
|
-
},
|
|
920
|
+
}, En = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, he = Math.round, pe = Math.floor, B = (e) => ({
|
|
921
921
|
x: e,
|
|
922
922
|
y: e
|
|
923
|
-
}),
|
|
923
|
+
}), bn = {
|
|
924
924
|
left: "right",
|
|
925
925
|
right: "left",
|
|
926
926
|
bottom: "top",
|
|
927
927
|
top: "bottom"
|
|
928
|
-
},
|
|
928
|
+
}, Rn = {
|
|
929
929
|
start: "end",
|
|
930
930
|
end: "start"
|
|
931
931
|
};
|
|
932
|
-
function
|
|
932
|
+
function Ne(e, t, r) {
|
|
933
933
|
return k(e, X(t, r));
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function q(e, t) {
|
|
936
936
|
return typeof e == "function" ? e(t) : e;
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function Y(e) {
|
|
939
939
|
return e.split("-")[0];
|
|
940
940
|
}
|
|
941
941
|
function te(e) {
|
|
942
942
|
return e.split("-")[1];
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Me(e) {
|
|
945
945
|
return e === "x" ? "y" : "x";
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function ke(e) {
|
|
948
948
|
return e === "y" ? "height" : "width";
|
|
949
949
|
}
|
|
950
|
-
function
|
|
951
|
-
return ["top", "bottom"].includes(
|
|
950
|
+
function z(e) {
|
|
951
|
+
return ["top", "bottom"].includes(Y(e)) ? "y" : "x";
|
|
952
952
|
}
|
|
953
|
-
function
|
|
954
|
-
return
|
|
953
|
+
function Ie(e) {
|
|
954
|
+
return Me(z(e));
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Sn(e, t, r) {
|
|
957
957
|
r === void 0 && (r = !1);
|
|
958
|
-
const n = te(e), o =
|
|
958
|
+
const n = te(e), o = Ie(e), c = ke(o);
|
|
959
959
|
let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
960
|
-
return t.reference[c] > t.floating[c] && (l =
|
|
960
|
+
return t.reference[c] > t.floating[c] && (l = ve(l)), [l, ve(l)];
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
const t =
|
|
962
|
+
function Pn(e) {
|
|
963
|
+
const t = ve(e);
|
|
964
964
|
return [_e(e), t, _e(t)];
|
|
965
965
|
}
|
|
966
966
|
function _e(e) {
|
|
967
|
-
return e.replace(/start|end/g, (t) =>
|
|
967
|
+
return e.replace(/start|end/g, (t) => Rn[t]);
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function Tn(e, t, r) {
|
|
970
970
|
const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
|
|
971
971
|
switch (e) {
|
|
972
972
|
case "top":
|
|
@@ -979,15 +979,15 @@ function pn(e, t, r) {
|
|
|
979
979
|
return [];
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function Cn(e, t, r, n) {
|
|
983
983
|
const o = te(e);
|
|
984
|
-
let c =
|
|
984
|
+
let c = Tn(Y(e), r === "start", n);
|
|
985
985
|
return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
988
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
987
|
+
function ve(e) {
|
|
988
|
+
return e.replace(/left|right|bottom|top/g, (t) => bn[t]);
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function An(e) {
|
|
991
991
|
return {
|
|
992
992
|
top: 0,
|
|
993
993
|
right: 0,
|
|
@@ -996,15 +996,15 @@ function hn(e) {
|
|
|
996
996
|
...e
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
|
-
function
|
|
1000
|
-
return typeof e != "number" ?
|
|
999
|
+
function ft(e) {
|
|
1000
|
+
return typeof e != "number" ? An(e) : {
|
|
1001
1001
|
top: e,
|
|
1002
1002
|
right: e,
|
|
1003
1003
|
bottom: e,
|
|
1004
1004
|
left: e
|
|
1005
1005
|
};
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function Oe(e) {
|
|
1008
1008
|
const {
|
|
1009
1009
|
x: t,
|
|
1010
1010
|
y: r,
|
|
@@ -1022,12 +1022,12 @@ function he(e) {
|
|
|
1022
1022
|
y: r
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function Ge(e, t, r) {
|
|
1026
1026
|
let {
|
|
1027
1027
|
reference: n,
|
|
1028
1028
|
floating: o
|
|
1029
1029
|
} = e;
|
|
1030
|
-
const c =
|
|
1030
|
+
const c = z(t), l = Ie(t), f = ke(l), u = Y(t), i = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, s = n[f] / 2 - o[f] / 2;
|
|
1031
1031
|
let d;
|
|
1032
1032
|
switch (u) {
|
|
1033
1033
|
case "top":
|
|
@@ -1062,76 +1062,76 @@ function We(e, t, r) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
switch (te(t)) {
|
|
1064
1064
|
case "start":
|
|
1065
|
-
d[l] -=
|
|
1065
|
+
d[l] -= s * (r && i ? -1 : 1);
|
|
1066
1066
|
break;
|
|
1067
1067
|
case "end":
|
|
1068
|
-
d[l] +=
|
|
1068
|
+
d[l] += s * (r && i ? -1 : 1);
|
|
1069
1069
|
break;
|
|
1070
1070
|
}
|
|
1071
1071
|
return d;
|
|
1072
1072
|
}
|
|
1073
|
-
const
|
|
1073
|
+
const Nn = async (e, t, r) => {
|
|
1074
1074
|
const {
|
|
1075
1075
|
placement: n = "bottom",
|
|
1076
1076
|
strategy: o = "absolute",
|
|
1077
1077
|
middleware: c = [],
|
|
1078
1078
|
platform: l
|
|
1079
1079
|
} = r, f = c.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
|
|
1080
|
-
let
|
|
1080
|
+
let i = await l.getElementRects({
|
|
1081
1081
|
reference: e,
|
|
1082
1082
|
floating: t,
|
|
1083
1083
|
strategy: o
|
|
1084
1084
|
}), {
|
|
1085
1085
|
x: g,
|
|
1086
1086
|
y: a
|
|
1087
|
-
} =
|
|
1088
|
-
for (let
|
|
1087
|
+
} = Ge(i, n, u), s = n, d = {}, p = 0;
|
|
1088
|
+
for (let m = 0; m < f.length; m++) {
|
|
1089
1089
|
const {
|
|
1090
1090
|
name: y,
|
|
1091
1091
|
fn: v
|
|
1092
|
-
} = f[
|
|
1092
|
+
} = f[m], {
|
|
1093
1093
|
x: w,
|
|
1094
|
-
y:
|
|
1095
|
-
data:
|
|
1096
|
-
reset:
|
|
1094
|
+
y: x,
|
|
1095
|
+
data: R,
|
|
1096
|
+
reset: b
|
|
1097
1097
|
} = await v({
|
|
1098
1098
|
x: g,
|
|
1099
1099
|
y: a,
|
|
1100
1100
|
initialPlacement: n,
|
|
1101
|
-
placement:
|
|
1101
|
+
placement: s,
|
|
1102
1102
|
strategy: o,
|
|
1103
1103
|
middlewareData: d,
|
|
1104
|
-
rects:
|
|
1104
|
+
rects: i,
|
|
1105
1105
|
platform: l,
|
|
1106
1106
|
elements: {
|
|
1107
1107
|
reference: e,
|
|
1108
1108
|
floating: t
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
|
-
g = w ?? g, a =
|
|
1111
|
+
g = w ?? g, a = x ?? a, d = {
|
|
1112
1112
|
...d,
|
|
1113
1113
|
[y]: {
|
|
1114
1114
|
...d[y],
|
|
1115
|
-
...
|
|
1115
|
+
...R
|
|
1116
1116
|
}
|
|
1117
|
-
},
|
|
1117
|
+
}, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (s = b.placement), b.rects && (i = b.rects === !0 ? await l.getElementRects({
|
|
1118
1118
|
reference: e,
|
|
1119
1119
|
floating: t,
|
|
1120
1120
|
strategy: o
|
|
1121
|
-
}) :
|
|
1121
|
+
}) : b.rects), {
|
|
1122
1122
|
x: g,
|
|
1123
1123
|
y: a
|
|
1124
|
-
} =
|
|
1124
|
+
} = Ge(i, s, u)), m = -1);
|
|
1125
1125
|
}
|
|
1126
1126
|
return {
|
|
1127
1127
|
x: g,
|
|
1128
1128
|
y: a,
|
|
1129
|
-
placement:
|
|
1129
|
+
placement: s,
|
|
1130
1130
|
strategy: o,
|
|
1131
1131
|
middlewareData: d
|
|
1132
1132
|
};
|
|
1133
1133
|
};
|
|
1134
|
-
async function
|
|
1134
|
+
async function ae(e, t) {
|
|
1135
1135
|
var r;
|
|
1136
1136
|
t === void 0 && (t = {});
|
|
1137
1137
|
const {
|
|
@@ -1142,14 +1142,14 @@ async function ce(e, t) {
|
|
|
1142
1142
|
elements: f,
|
|
1143
1143
|
strategy: u
|
|
1144
1144
|
} = e, {
|
|
1145
|
-
boundary:
|
|
1145
|
+
boundary: i = "clippingAncestors",
|
|
1146
1146
|
rootBoundary: g = "viewport",
|
|
1147
1147
|
elementContext: a = "floating",
|
|
1148
|
-
altBoundary:
|
|
1148
|
+
altBoundary: s = !1,
|
|
1149
1149
|
padding: d = 0
|
|
1150
|
-
} =
|
|
1150
|
+
} = q(t, e), p = ft(d), y = f[s ? a === "floating" ? "reference" : "floating" : a], v = Oe(await c.getClippingRect({
|
|
1151
1151
|
element: (r = await (c.isElement == null ? void 0 : c.isElement(y))) == null || r ? y : y.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(f.floating)),
|
|
1152
|
-
boundary:
|
|
1152
|
+
boundary: i,
|
|
1153
1153
|
rootBoundary: g,
|
|
1154
1154
|
strategy: u
|
|
1155
1155
|
})), w = a === "floating" ? {
|
|
@@ -1157,26 +1157,26 @@ async function ce(e, t) {
|
|
|
1157
1157
|
y: o,
|
|
1158
1158
|
width: l.floating.width,
|
|
1159
1159
|
height: l.floating.height
|
|
1160
|
-
} : l.reference,
|
|
1160
|
+
} : l.reference, x = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), R = await (c.isElement == null ? void 0 : c.isElement(x)) ? await (c.getScale == null ? void 0 : c.getScale(x)) || {
|
|
1161
1161
|
x: 1,
|
|
1162
1162
|
y: 1
|
|
1163
1163
|
} : {
|
|
1164
1164
|
x: 1,
|
|
1165
1165
|
y: 1
|
|
1166
|
-
},
|
|
1166
|
+
}, b = Oe(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1167
1167
|
elements: f,
|
|
1168
1168
|
rect: w,
|
|
1169
|
-
offsetParent:
|
|
1169
|
+
offsetParent: x,
|
|
1170
1170
|
strategy: u
|
|
1171
1171
|
}) : w);
|
|
1172
1172
|
return {
|
|
1173
|
-
top: (v.top -
|
|
1174
|
-
bottom: (
|
|
1175
|
-
left: (v.left -
|
|
1176
|
-
right: (
|
|
1173
|
+
top: (v.top - b.top + p.top) / R.y,
|
|
1174
|
+
bottom: (b.bottom - v.bottom + p.bottom) / R.y,
|
|
1175
|
+
left: (v.left - b.left + p.left) / R.x,
|
|
1176
|
+
right: (b.right - v.right + p.right) / R.x
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
|
-
const
|
|
1179
|
+
const _n = (e) => ({
|
|
1180
1180
|
name: "arrow",
|
|
1181
1181
|
options: e,
|
|
1182
1182
|
async fn(t) {
|
|
@@ -1189,31 +1189,31 @@ const xn = (e) => ({
|
|
|
1189
1189
|
elements: f,
|
|
1190
1190
|
middlewareData: u
|
|
1191
1191
|
} = t, {
|
|
1192
|
-
element:
|
|
1192
|
+
element: i,
|
|
1193
1193
|
padding: g = 0
|
|
1194
|
-
} =
|
|
1195
|
-
if (
|
|
1194
|
+
} = q(e, t) || {};
|
|
1195
|
+
if (i == null)
|
|
1196
1196
|
return {};
|
|
1197
|
-
const a =
|
|
1197
|
+
const a = ft(g), s = {
|
|
1198
1198
|
x: r,
|
|
1199
1199
|
y: n
|
|
1200
|
-
}, d =
|
|
1201
|
-
let
|
|
1202
|
-
(!
|
|
1203
|
-
const D =
|
|
1200
|
+
}, d = Ie(o), p = ke(d), m = await l.getDimensions(i), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", x = y ? "clientHeight" : "clientWidth", R = c.reference[p] + c.reference[d] - s[d] - c.floating[p], b = s[d] - c.reference[d], P = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(i));
|
|
1201
|
+
let C = P ? P[x] : 0;
|
|
1202
|
+
(!C || !await (l.isElement == null ? void 0 : l.isElement(P))) && (C = f.floating[x] || c.floating[p]);
|
|
1203
|
+
const D = R / 2 - b / 2, V = C / 2 - m[p] / 2 - 1, L = X(a[v], V), h = X(a[w], V), O = L, S = C - m[p] - h, E = C / 2 - m[p] / 2 + D, T = Ne(O, E, S), A = !u.arrow && te(o) != null && E !== T && c.reference[p] / 2 - (E < O ? L : h) - m[p] / 2 < 0, $ = A ? E < O ? E - O : E - S : 0;
|
|
1204
1204
|
return {
|
|
1205
|
-
[d]:
|
|
1205
|
+
[d]: s[d] + $,
|
|
1206
1206
|
data: {
|
|
1207
1207
|
[d]: T,
|
|
1208
|
-
centerOffset:
|
|
1209
|
-
...
|
|
1210
|
-
alignmentOffset:
|
|
1208
|
+
centerOffset: E - T - $,
|
|
1209
|
+
...A && {
|
|
1210
|
+
alignmentOffset: $
|
|
1211
1211
|
}
|
|
1212
1212
|
},
|
|
1213
|
-
reset:
|
|
1213
|
+
reset: A
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
|
-
}),
|
|
1216
|
+
}), Dn = function(e) {
|
|
1217
1217
|
return e === void 0 && (e = {}), {
|
|
1218
1218
|
name: "flip",
|
|
1219
1219
|
options: e,
|
|
@@ -1225,69 +1225,69 @@ const xn = (e) => ({
|
|
|
1225
1225
|
rects: l,
|
|
1226
1226
|
initialPlacement: f,
|
|
1227
1227
|
platform: u,
|
|
1228
|
-
elements:
|
|
1228
|
+
elements: i
|
|
1229
1229
|
} = t, {
|
|
1230
1230
|
mainAxis: g = !0,
|
|
1231
1231
|
crossAxis: a = !0,
|
|
1232
|
-
fallbackPlacements:
|
|
1232
|
+
fallbackPlacements: s,
|
|
1233
1233
|
fallbackStrategy: d = "bestFit",
|
|
1234
|
-
fallbackAxisSideDirection:
|
|
1235
|
-
flipAlignment:
|
|
1234
|
+
fallbackAxisSideDirection: p = "none",
|
|
1235
|
+
flipAlignment: m = !0,
|
|
1236
1236
|
...y
|
|
1237
|
-
} =
|
|
1237
|
+
} = q(e, t);
|
|
1238
1238
|
if ((r = c.arrow) != null && r.alignmentOffset)
|
|
1239
1239
|
return {};
|
|
1240
|
-
const v =
|
|
1241
|
-
!
|
|
1242
|
-
const
|
|
1243
|
-
let
|
|
1240
|
+
const v = Y(o), w = z(f), x = Y(f) === f, R = await (u.isRTL == null ? void 0 : u.isRTL(i.floating)), b = s || (x || !m ? [ve(f)] : Pn(f)), P = p !== "none";
|
|
1241
|
+
!s && P && b.push(...Cn(f, m, p, R));
|
|
1242
|
+
const C = [f, ...b], D = await ae(t, y), V = [];
|
|
1243
|
+
let L = ((n = c.flip) == null ? void 0 : n.overflows) || [];
|
|
1244
1244
|
if (g && V.push(D[v]), a) {
|
|
1245
|
-
const
|
|
1246
|
-
V.push(D[
|
|
1245
|
+
const E = Sn(o, l, R);
|
|
1246
|
+
V.push(D[E[0]], D[E[1]]);
|
|
1247
1247
|
}
|
|
1248
|
-
if (
|
|
1248
|
+
if (L = [...L, {
|
|
1249
1249
|
placement: o,
|
|
1250
1250
|
overflows: V
|
|
1251
|
-
}], !V.every((
|
|
1252
|
-
var h,
|
|
1253
|
-
const
|
|
1254
|
-
if (T && (!(a === "alignment" ? w !==
|
|
1251
|
+
}], !V.every((E) => E <= 0)) {
|
|
1252
|
+
var h, O;
|
|
1253
|
+
const E = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = C[E];
|
|
1254
|
+
if (T && (!(a === "alignment" ? w !== z(T) : !1) || // We leave the current main axis only if every placement on that axis
|
|
1255
1255
|
// overflows the main axis.
|
|
1256
|
-
|
|
1256
|
+
L.every((F) => F.overflows[0] > 0 && z(F.placement) === w)))
|
|
1257
1257
|
return {
|
|
1258
1258
|
data: {
|
|
1259
|
-
index:
|
|
1260
|
-
overflows:
|
|
1259
|
+
index: E,
|
|
1260
|
+
overflows: L
|
|
1261
1261
|
},
|
|
1262
1262
|
reset: {
|
|
1263
1263
|
placement: T
|
|
1264
1264
|
}
|
|
1265
1265
|
};
|
|
1266
|
-
let
|
|
1267
|
-
if (!
|
|
1266
|
+
let A = (O = L.filter(($) => $.overflows[0] <= 0).sort(($, F) => $.overflows[1] - F.overflows[1])[0]) == null ? void 0 : O.placement;
|
|
1267
|
+
if (!A)
|
|
1268
1268
|
switch (d) {
|
|
1269
1269
|
case "bestFit": {
|
|
1270
|
-
var
|
|
1271
|
-
const
|
|
1272
|
-
if (
|
|
1273
|
-
const K =
|
|
1270
|
+
var S;
|
|
1271
|
+
const $ = (S = L.filter((F) => {
|
|
1272
|
+
if (P) {
|
|
1273
|
+
const K = z(F.placement);
|
|
1274
1274
|
return K === w || // Create a bias to the `y` side axis due to horizontal
|
|
1275
1275
|
// reading directions favoring greater width.
|
|
1276
1276
|
K === "y";
|
|
1277
1277
|
}
|
|
1278
1278
|
return !0;
|
|
1279
|
-
}).map((
|
|
1280
|
-
|
|
1279
|
+
}).map((F) => [F.placement, F.overflows.filter((K) => K > 0).reduce((K, Rt) => K + Rt, 0)]).sort((F, K) => F[1] - K[1])[0]) == null ? void 0 : S[0];
|
|
1280
|
+
$ && (A = $);
|
|
1281
1281
|
break;
|
|
1282
1282
|
}
|
|
1283
1283
|
case "initialPlacement":
|
|
1284
|
-
|
|
1284
|
+
A = f;
|
|
1285
1285
|
break;
|
|
1286
1286
|
}
|
|
1287
|
-
if (o !==
|
|
1287
|
+
if (o !== A)
|
|
1288
1288
|
return {
|
|
1289
1289
|
reset: {
|
|
1290
|
-
placement:
|
|
1290
|
+
placement: A
|
|
1291
1291
|
}
|
|
1292
1292
|
};
|
|
1293
1293
|
}
|
|
@@ -1295,7 +1295,7 @@ const xn = (e) => ({
|
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
1297
1297
|
};
|
|
1298
|
-
function
|
|
1298
|
+
function qe(e, t) {
|
|
1299
1299
|
return {
|
|
1300
1300
|
top: e.top - t.height,
|
|
1301
1301
|
right: e.right - t.width,
|
|
@@ -1303,10 +1303,10 @@ function je(e, t) {
|
|
|
1303
1303
|
left: e.left - t.width
|
|
1304
1304
|
};
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return
|
|
1306
|
+
function Ye(e) {
|
|
1307
|
+
return En.some((t) => e[t] >= 0);
|
|
1308
1308
|
}
|
|
1309
|
-
const
|
|
1309
|
+
const Ln = function(e) {
|
|
1310
1310
|
return e === void 0 && (e = {}), {
|
|
1311
1311
|
name: "hide",
|
|
1312
1312
|
options: e,
|
|
@@ -1316,29 +1316,29 @@ const bn = function(e) {
|
|
|
1316
1316
|
} = t, {
|
|
1317
1317
|
strategy: n = "referenceHidden",
|
|
1318
1318
|
...o
|
|
1319
|
-
} =
|
|
1319
|
+
} = q(e, t);
|
|
1320
1320
|
switch (n) {
|
|
1321
1321
|
case "referenceHidden": {
|
|
1322
|
-
const c = await
|
|
1322
|
+
const c = await ae(t, {
|
|
1323
1323
|
...o,
|
|
1324
1324
|
elementContext: "reference"
|
|
1325
|
-
}), l =
|
|
1325
|
+
}), l = qe(c, r.reference);
|
|
1326
1326
|
return {
|
|
1327
1327
|
data: {
|
|
1328
1328
|
referenceHiddenOffsets: l,
|
|
1329
|
-
referenceHidden:
|
|
1329
|
+
referenceHidden: Ye(l)
|
|
1330
1330
|
}
|
|
1331
1331
|
};
|
|
1332
1332
|
}
|
|
1333
1333
|
case "escaped": {
|
|
1334
|
-
const c = await
|
|
1334
|
+
const c = await ae(t, {
|
|
1335
1335
|
...o,
|
|
1336
1336
|
altBoundary: !0
|
|
1337
|
-
}), l =
|
|
1337
|
+
}), l = qe(c, r.floating);
|
|
1338
1338
|
return {
|
|
1339
1339
|
data: {
|
|
1340
1340
|
escapedOffsets: l,
|
|
1341
|
-
escaped:
|
|
1341
|
+
escaped: Ye(l)
|
|
1342
1342
|
}
|
|
1343
1343
|
};
|
|
1344
1344
|
}
|
|
@@ -1348,16 +1348,16 @@ const bn = function(e) {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
};
|
|
1350
1350
|
};
|
|
1351
|
-
async function
|
|
1351
|
+
async function Mn(e, t) {
|
|
1352
1352
|
const {
|
|
1353
1353
|
placement: r,
|
|
1354
1354
|
platform: n,
|
|
1355
1355
|
elements: o
|
|
1356
|
-
} = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l =
|
|
1356
|
+
} = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = Y(r), f = te(r), u = z(r) === "y", i = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = q(t, e);
|
|
1357
1357
|
let {
|
|
1358
|
-
mainAxis:
|
|
1358
|
+
mainAxis: s,
|
|
1359
1359
|
crossAxis: d,
|
|
1360
|
-
alignmentAxis:
|
|
1360
|
+
alignmentAxis: p
|
|
1361
1361
|
} = typeof a == "number" ? {
|
|
1362
1362
|
mainAxis: a,
|
|
1363
1363
|
crossAxis: 0,
|
|
@@ -1367,15 +1367,15 @@ async function On(e, t) {
|
|
|
1367
1367
|
crossAxis: a.crossAxis || 0,
|
|
1368
1368
|
alignmentAxis: a.alignmentAxis
|
|
1369
1369
|
};
|
|
1370
|
-
return f && typeof
|
|
1370
|
+
return f && typeof p == "number" && (d = f === "end" ? p * -1 : p), u ? {
|
|
1371
1371
|
x: d * g,
|
|
1372
|
-
y:
|
|
1372
|
+
y: s * i
|
|
1373
1373
|
} : {
|
|
1374
|
-
x:
|
|
1374
|
+
x: s * i,
|
|
1375
1375
|
y: d * g
|
|
1376
1376
|
};
|
|
1377
1377
|
}
|
|
1378
|
-
const
|
|
1378
|
+
const kn = function(e) {
|
|
1379
1379
|
return e === void 0 && (e = 0), {
|
|
1380
1380
|
name: "offset",
|
|
1381
1381
|
options: e,
|
|
@@ -1386,7 +1386,7 @@ const Sn = function(e) {
|
|
|
1386
1386
|
y: c,
|
|
1387
1387
|
placement: l,
|
|
1388
1388
|
middlewareData: f
|
|
1389
|
-
} = t, u = await
|
|
1389
|
+
} = t, u = await Mn(t, e);
|
|
1390
1390
|
return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
|
|
1391
1391
|
x: o + u.x,
|
|
1392
1392
|
y: c + u.y,
|
|
@@ -1397,7 +1397,7 @@ const Sn = function(e) {
|
|
|
1397
1397
|
};
|
|
1398
1398
|
}
|
|
1399
1399
|
};
|
|
1400
|
-
},
|
|
1400
|
+
}, In = function(e) {
|
|
1401
1401
|
return e === void 0 && (e = {}), {
|
|
1402
1402
|
name: "shift",
|
|
1403
1403
|
options: e,
|
|
@@ -1422,38 +1422,38 @@ const Sn = function(e) {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
},
|
|
1424
1424
|
...u
|
|
1425
|
-
} =
|
|
1425
|
+
} = q(e, t), i = {
|
|
1426
1426
|
x: r,
|
|
1427
1427
|
y: n
|
|
1428
|
-
}, g = await
|
|
1429
|
-
let d = s
|
|
1428
|
+
}, g = await ae(t, u), a = z(Y(o)), s = Me(a);
|
|
1429
|
+
let d = i[s], p = i[a];
|
|
1430
1430
|
if (c) {
|
|
1431
|
-
const y =
|
|
1432
|
-
d =
|
|
1431
|
+
const y = s === "y" ? "top" : "left", v = s === "y" ? "bottom" : "right", w = d + g[y], x = d - g[v];
|
|
1432
|
+
d = Ne(w, d, x);
|
|
1433
1433
|
}
|
|
1434
1434
|
if (l) {
|
|
1435
|
-
const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w =
|
|
1436
|
-
|
|
1435
|
+
const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = p + g[y], x = p - g[v];
|
|
1436
|
+
p = Ne(w, p, x);
|
|
1437
1437
|
}
|
|
1438
|
-
const
|
|
1438
|
+
const m = f.fn({
|
|
1439
1439
|
...t,
|
|
1440
|
-
[
|
|
1441
|
-
[a]:
|
|
1440
|
+
[s]: d,
|
|
1441
|
+
[a]: p
|
|
1442
1442
|
});
|
|
1443
1443
|
return {
|
|
1444
|
-
...
|
|
1444
|
+
...m,
|
|
1445
1445
|
data: {
|
|
1446
|
-
x:
|
|
1447
|
-
y:
|
|
1446
|
+
x: m.x - r,
|
|
1447
|
+
y: m.y - n,
|
|
1448
1448
|
enabled: {
|
|
1449
|
-
[
|
|
1449
|
+
[s]: c,
|
|
1450
1450
|
[a]: l
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
};
|
|
1454
1454
|
}
|
|
1455
1455
|
};
|
|
1456
|
-
},
|
|
1456
|
+
}, Vn = function(e) {
|
|
1457
1457
|
return e === void 0 && (e = {}), {
|
|
1458
1458
|
options: e,
|
|
1459
1459
|
fn(t) {
|
|
@@ -1466,36 +1466,36 @@ const Sn = function(e) {
|
|
|
1466
1466
|
} = t, {
|
|
1467
1467
|
offset: f = 0,
|
|
1468
1468
|
mainAxis: u = !0,
|
|
1469
|
-
crossAxis:
|
|
1470
|
-
} =
|
|
1469
|
+
crossAxis: i = !0
|
|
1470
|
+
} = q(e, t), g = {
|
|
1471
1471
|
x: r,
|
|
1472
1472
|
y: n
|
|
1473
|
-
}, a =
|
|
1474
|
-
let d = g[
|
|
1475
|
-
const
|
|
1476
|
-
mainAxis:
|
|
1473
|
+
}, a = z(o), s = Me(a);
|
|
1474
|
+
let d = g[s], p = g[a];
|
|
1475
|
+
const m = q(f, t), y = typeof m == "number" ? {
|
|
1476
|
+
mainAxis: m,
|
|
1477
1477
|
crossAxis: 0
|
|
1478
1478
|
} : {
|
|
1479
1479
|
mainAxis: 0,
|
|
1480
1480
|
crossAxis: 0,
|
|
1481
|
-
...
|
|
1481
|
+
...m
|
|
1482
1482
|
};
|
|
1483
1483
|
if (u) {
|
|
1484
|
-
const
|
|
1485
|
-
d <
|
|
1484
|
+
const x = s === "y" ? "height" : "width", R = c.reference[s] - c.floating[x] + y.mainAxis, b = c.reference[s] + c.reference[x] - y.mainAxis;
|
|
1485
|
+
d < R ? d = R : d > b && (d = b);
|
|
1486
1486
|
}
|
|
1487
|
-
if (
|
|
1487
|
+
if (i) {
|
|
1488
1488
|
var v, w;
|
|
1489
|
-
const
|
|
1490
|
-
|
|
1489
|
+
const x = s === "y" ? "width" : "height", R = ["top", "left"].includes(Y(o)), b = c.reference[a] - c.floating[x] + (R && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (R ? 0 : y.crossAxis), P = c.reference[a] + c.reference[x] + (R ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (R ? y.crossAxis : 0);
|
|
1490
|
+
p < b ? p = b : p > P && (p = P);
|
|
1491
1491
|
}
|
|
1492
1492
|
return {
|
|
1493
|
-
[
|
|
1494
|
-
[a]:
|
|
1493
|
+
[s]: d,
|
|
1494
|
+
[a]: p
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
1497
|
};
|
|
1498
|
-
},
|
|
1498
|
+
}, $n = function(e) {
|
|
1499
1499
|
return e === void 0 && (e = {}), {
|
|
1500
1500
|
name: "size",
|
|
1501
1501
|
options: e,
|
|
@@ -1509,26 +1509,26 @@ const Sn = function(e) {
|
|
|
1509
1509
|
} = t, {
|
|
1510
1510
|
apply: u = () => {
|
|
1511
1511
|
},
|
|
1512
|
-
...
|
|
1513
|
-
} =
|
|
1514
|
-
width:
|
|
1515
|
-
height:
|
|
1512
|
+
...i
|
|
1513
|
+
} = q(e, t), g = await ae(t, i), a = Y(o), s = te(o), d = z(o) === "y", {
|
|
1514
|
+
width: p,
|
|
1515
|
+
height: m
|
|
1516
1516
|
} = c.floating;
|
|
1517
1517
|
let y, v;
|
|
1518
|
-
a === "top" || a === "bottom" ? (y = a, v =
|
|
1519
|
-
const w =
|
|
1520
|
-
let
|
|
1521
|
-
if ((r = t.middlewareData.shift) != null && r.enabled.x && (D =
|
|
1522
|
-
const
|
|
1523
|
-
d ? D =
|
|
1518
|
+
a === "top" || a === "bottom" ? (y = a, v = s === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = s === "end" ? "top" : "bottom");
|
|
1519
|
+
const w = m - g.top - g.bottom, x = p - g.left - g.right, R = X(m - g[y], w), b = X(p - g[v], x), P = !t.middlewareData.shift;
|
|
1520
|
+
let C = R, D = b;
|
|
1521
|
+
if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = x), (n = t.middlewareData.shift) != null && n.enabled.y && (C = w), P && !s) {
|
|
1522
|
+
const L = k(g.left, 0), h = k(g.right, 0), O = k(g.top, 0), S = k(g.bottom, 0);
|
|
1523
|
+
d ? D = p - 2 * (L !== 0 || h !== 0 ? L + h : k(g.left, g.right)) : C = m - 2 * (O !== 0 || S !== 0 ? O + S : k(g.top, g.bottom));
|
|
1524
1524
|
}
|
|
1525
1525
|
await u({
|
|
1526
1526
|
...t,
|
|
1527
1527
|
availableWidth: D,
|
|
1528
|
-
availableHeight:
|
|
1528
|
+
availableHeight: C
|
|
1529
1529
|
});
|
|
1530
1530
|
const V = await l.getDimensions(f.floating);
|
|
1531
|
-
return
|
|
1531
|
+
return p !== V.width || m !== V.height ? {
|
|
1532
1532
|
reset: {
|
|
1533
1533
|
rects: !0
|
|
1534
1534
|
}
|
|
@@ -1540,41 +1540,41 @@ function xe() {
|
|
|
1540
1540
|
return typeof window < "u";
|
|
1541
1541
|
}
|
|
1542
1542
|
function ne(e) {
|
|
1543
|
-
return
|
|
1543
|
+
return dt(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function I(e) {
|
|
1546
1546
|
var t;
|
|
1547
1547
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function j(e) {
|
|
1550
1550
|
var t;
|
|
1551
|
-
return (t = (
|
|
1551
|
+
return (t = (dt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1554
|
-
return xe() ? e instanceof Node || e instanceof
|
|
1553
|
+
function dt(e) {
|
|
1554
|
+
return xe() ? e instanceof Node || e instanceof I(e).Node : !1;
|
|
1555
1555
|
}
|
|
1556
1556
|
function U(e) {
|
|
1557
|
-
return xe() ? e instanceof Element || e instanceof
|
|
1557
|
+
return xe() ? e instanceof Element || e instanceof I(e).Element : !1;
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return xe() ? e instanceof HTMLElement || e instanceof
|
|
1559
|
+
function W(e) {
|
|
1560
|
+
return xe() ? e instanceof HTMLElement || e instanceof I(e).HTMLElement : !1;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1563
|
-
return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
1562
|
+
function Ke(e) {
|
|
1563
|
+
return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof I(e).ShadowRoot;
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function ue(e) {
|
|
1566
1566
|
const {
|
|
1567
1567
|
overflow: t,
|
|
1568
1568
|
overflowX: r,
|
|
1569
1569
|
overflowY: n,
|
|
1570
1570
|
display: o
|
|
1571
|
-
} =
|
|
1571
|
+
} = H(e);
|
|
1572
1572
|
return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1574
|
+
function Fn(e) {
|
|
1575
1575
|
return ["table", "td", "th"].includes(ne(e));
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Ee(e) {
|
|
1578
1578
|
return [":popover-open", ":modal"].some((t) => {
|
|
1579
1579
|
try {
|
|
1580
1580
|
return e.matches(t);
|
|
@@ -1583,29 +1583,29 @@ function we(e) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
});
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1587
|
-
const t =
|
|
1586
|
+
function Ve(e) {
|
|
1587
|
+
const t = $e(), r = U(e) ? H(e) : e;
|
|
1588
1588
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function Un(e) {
|
|
1591
1591
|
let t = J(e);
|
|
1592
|
-
for (;
|
|
1593
|
-
if (
|
|
1592
|
+
for (; W(t) && !ee(t); ) {
|
|
1593
|
+
if (Ve(t))
|
|
1594
1594
|
return t;
|
|
1595
|
-
if (
|
|
1595
|
+
if (Ee(t))
|
|
1596
1596
|
return null;
|
|
1597
1597
|
t = J(t);
|
|
1598
1598
|
}
|
|
1599
1599
|
return null;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function $e() {
|
|
1602
1602
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1603
1603
|
}
|
|
1604
1604
|
function ee(e) {
|
|
1605
1605
|
return ["html", "body", "#document"].includes(ne(e));
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1608
|
-
return
|
|
1607
|
+
function H(e) {
|
|
1608
|
+
return I(e).getComputedStyle(e);
|
|
1609
1609
|
}
|
|
1610
1610
|
function be(e) {
|
|
1611
1611
|
return U(e) ? {
|
|
@@ -1623,152 +1623,152 @@ function J(e) {
|
|
|
1623
1623
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
1624
1624
|
e.assignedSlot || // DOM Element detected.
|
|
1625
1625
|
e.parentNode || // ShadowRoot detected.
|
|
1626
|
-
|
|
1627
|
-
|
|
1626
|
+
Ke(e) && e.host || // Fallback.
|
|
1627
|
+
j(e)
|
|
1628
1628
|
);
|
|
1629
|
-
return
|
|
1629
|
+
return Ke(t) ? t.host : t;
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function gt(e) {
|
|
1632
1632
|
const t = J(e);
|
|
1633
|
-
return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
|
1633
|
+
return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && ue(t) ? t : gt(t);
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function le(e, t, r) {
|
|
1636
1636
|
var n;
|
|
1637
1637
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
1638
|
-
const o =
|
|
1638
|
+
const o = gt(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = I(o);
|
|
1639
1639
|
if (c) {
|
|
1640
|
-
const f =
|
|
1641
|
-
return t.concat(l, l.visualViewport || [],
|
|
1640
|
+
const f = De(l);
|
|
1641
|
+
return t.concat(l, l.visualViewport || [], ue(o) ? o : [], f && r ? le(f) : []);
|
|
1642
1642
|
}
|
|
1643
|
-
return t.concat(o,
|
|
1643
|
+
return t.concat(o, le(o, [], r));
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function De(e) {
|
|
1646
1646
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1649
|
-
const t =
|
|
1648
|
+
function pt(e) {
|
|
1649
|
+
const t = H(e);
|
|
1650
1650
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
1651
|
-
const o =
|
|
1651
|
+
const o = W(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = he(r) !== c || he(n) !== l;
|
|
1652
1652
|
return f && (r = c, n = l), {
|
|
1653
1653
|
width: r,
|
|
1654
1654
|
height: n,
|
|
1655
1655
|
$: f
|
|
1656
1656
|
};
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function Fe(e) {
|
|
1659
1659
|
return U(e) ? e : e.contextElement;
|
|
1660
1660
|
}
|
|
1661
1661
|
function Z(e) {
|
|
1662
|
-
const t =
|
|
1663
|
-
if (!
|
|
1664
|
-
return
|
|
1662
|
+
const t = Fe(e);
|
|
1663
|
+
if (!W(t))
|
|
1664
|
+
return B(1);
|
|
1665
1665
|
const r = t.getBoundingClientRect(), {
|
|
1666
1666
|
width: n,
|
|
1667
1667
|
height: o,
|
|
1668
1668
|
$: c
|
|
1669
|
-
} =
|
|
1670
|
-
let l = (c ?
|
|
1669
|
+
} = pt(t);
|
|
1670
|
+
let l = (c ? he(r.width) : r.width) / n, f = (c ? he(r.height) : r.height) / o;
|
|
1671
1671
|
return (!l || !Number.isFinite(l)) && (l = 1), (!f || !Number.isFinite(f)) && (f = 1), {
|
|
1672
1672
|
x: l,
|
|
1673
1673
|
y: f
|
|
1674
1674
|
};
|
|
1675
1675
|
}
|
|
1676
|
-
const
|
|
1677
|
-
function
|
|
1678
|
-
const t =
|
|
1679
|
-
return
|
|
1676
|
+
const Hn = /* @__PURE__ */ B(0);
|
|
1677
|
+
function mt(e) {
|
|
1678
|
+
const t = I(e);
|
|
1679
|
+
return !$e() || !t.visualViewport ? Hn : {
|
|
1680
1680
|
x: t.visualViewport.offsetLeft,
|
|
1681
1681
|
y: t.visualViewport.offsetTop
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1685
|
-
return t === void 0 && (t = !1), !r || t && r !==
|
|
1684
|
+
function zn(e, t, r) {
|
|
1685
|
+
return t === void 0 && (t = !1), !r || t && r !== I(e) ? !1 : t;
|
|
1686
1686
|
}
|
|
1687
1687
|
function Q(e, t, r, n) {
|
|
1688
1688
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
1689
|
-
const o = e.getBoundingClientRect(), c =
|
|
1690
|
-
let l =
|
|
1689
|
+
const o = e.getBoundingClientRect(), c = Fe(e);
|
|
1690
|
+
let l = B(1);
|
|
1691
1691
|
t && (n ? U(n) && (l = Z(n)) : l = Z(e));
|
|
1692
|
-
const f =
|
|
1693
|
-
let u = (o.left + f.x) / l.x,
|
|
1692
|
+
const f = zn(c, r, n) ? mt(c) : B(0);
|
|
1693
|
+
let u = (o.left + f.x) / l.x, i = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
|
|
1694
1694
|
if (c) {
|
|
1695
|
-
const
|
|
1696
|
-
let
|
|
1697
|
-
for (;
|
|
1698
|
-
const y = Z(
|
|
1699
|
-
u *= y.x,
|
|
1695
|
+
const s = I(c), d = n && U(n) ? I(n) : n;
|
|
1696
|
+
let p = s, m = De(p);
|
|
1697
|
+
for (; m && n && d !== p; ) {
|
|
1698
|
+
const y = Z(m), v = m.getBoundingClientRect(), w = H(m), x = v.left + (m.clientLeft + parseFloat(w.paddingLeft)) * y.x, R = v.top + (m.clientTop + parseFloat(w.paddingTop)) * y.y;
|
|
1699
|
+
u *= y.x, i *= y.y, g *= y.x, a *= y.y, u += x, i += R, p = I(m), m = De(p);
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
|
-
return
|
|
1702
|
+
return Oe({
|
|
1703
1703
|
width: g,
|
|
1704
1704
|
height: a,
|
|
1705
1705
|
x: u,
|
|
1706
|
-
y:
|
|
1706
|
+
y: i
|
|
1707
1707
|
});
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1709
|
+
function Ue(e, t) {
|
|
1710
1710
|
const r = be(e).scrollLeft;
|
|
1711
|
-
return t ? t.left + r : Q(
|
|
1711
|
+
return t ? t.left + r : Q(j(e)).left + r;
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function yt(e, t, r) {
|
|
1714
1714
|
r === void 0 && (r = !1);
|
|
1715
1715
|
const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - (r ? 0 : (
|
|
1716
1716
|
// RTL <body> scrollbar.
|
|
1717
|
-
|
|
1717
|
+
Ue(e, n)
|
|
1718
1718
|
)), c = n.top + t.scrollTop;
|
|
1719
1719
|
return {
|
|
1720
1720
|
x: o,
|
|
1721
1721
|
y: c
|
|
1722
1722
|
};
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function Bn(e) {
|
|
1725
1725
|
let {
|
|
1726
1726
|
elements: t,
|
|
1727
1727
|
rect: r,
|
|
1728
1728
|
offsetParent: n,
|
|
1729
1729
|
strategy: o
|
|
1730
1730
|
} = e;
|
|
1731
|
-
const c = o === "fixed", l =
|
|
1731
|
+
const c = o === "fixed", l = j(n), f = t ? Ee(t.floating) : !1;
|
|
1732
1732
|
if (n === l || f && c)
|
|
1733
1733
|
return r;
|
|
1734
1734
|
let u = {
|
|
1735
1735
|
scrollLeft: 0,
|
|
1736
1736
|
scrollTop: 0
|
|
1737
|
-
},
|
|
1738
|
-
const g =
|
|
1739
|
-
if ((a || !a && !c) && ((ne(n) !== "body" ||
|
|
1737
|
+
}, i = B(1);
|
|
1738
|
+
const g = B(0), a = W(n);
|
|
1739
|
+
if ((a || !a && !c) && ((ne(n) !== "body" || ue(l)) && (u = be(n)), W(n))) {
|
|
1740
1740
|
const d = Q(n);
|
|
1741
|
-
|
|
1741
|
+
i = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
|
|
1742
1742
|
}
|
|
1743
|
-
const
|
|
1743
|
+
const s = l && !a && !c ? yt(l, u, !0) : B(0);
|
|
1744
1744
|
return {
|
|
1745
|
-
width: r.width *
|
|
1746
|
-
height: r.height *
|
|
1747
|
-
x: r.x *
|
|
1748
|
-
y: r.y *
|
|
1745
|
+
width: r.width * i.x,
|
|
1746
|
+
height: r.height * i.y,
|
|
1747
|
+
x: r.x * i.x - u.scrollLeft * i.x + g.x + s.x,
|
|
1748
|
+
y: r.y * i.y - u.scrollTop * i.y + g.y + s.y
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1751
|
+
function Wn(e) {
|
|
1752
1752
|
return Array.from(e.getClientRects());
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const t =
|
|
1756
|
-
let l = -r.scrollLeft +
|
|
1754
|
+
function jn(e) {
|
|
1755
|
+
const t = j(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1756
|
+
let l = -r.scrollLeft + Ue(e);
|
|
1757
1757
|
const f = -r.scrollTop;
|
|
1758
|
-
return
|
|
1758
|
+
return H(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
|
|
1759
1759
|
width: o,
|
|
1760
1760
|
height: c,
|
|
1761
1761
|
x: l,
|
|
1762
1762
|
y: f
|
|
1763
1763
|
};
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1766
|
-
const r =
|
|
1765
|
+
function Gn(e, t) {
|
|
1766
|
+
const r = I(e), n = j(e), o = r.visualViewport;
|
|
1767
1767
|
let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
|
|
1768
1768
|
if (o) {
|
|
1769
1769
|
c = o.width, l = o.height;
|
|
1770
|
-
const
|
|
1771
|
-
(!
|
|
1770
|
+
const i = $e();
|
|
1771
|
+
(!i || i && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
|
|
1772
1772
|
}
|
|
1773
1773
|
return {
|
|
1774
1774
|
width: c,
|
|
@@ -1777,25 +1777,25 @@ function Ln(e, t) {
|
|
|
1777
1777
|
y: u
|
|
1778
1778
|
};
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1781
|
-
const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c =
|
|
1780
|
+
function qn(e, t) {
|
|
1781
|
+
const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = W(e) ? Z(e) : B(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, i = n * c.y;
|
|
1782
1782
|
return {
|
|
1783
1783
|
width: l,
|
|
1784
1784
|
height: f,
|
|
1785
1785
|
x: u,
|
|
1786
|
-
y:
|
|
1786
|
+
y: i
|
|
1787
1787
|
};
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function Xe(e, t, r) {
|
|
1790
1790
|
let n;
|
|
1791
1791
|
if (t === "viewport")
|
|
1792
|
-
n =
|
|
1792
|
+
n = Gn(e, r);
|
|
1793
1793
|
else if (t === "document")
|
|
1794
|
-
n =
|
|
1794
|
+
n = jn(j(e));
|
|
1795
1795
|
else if (U(t))
|
|
1796
|
-
n =
|
|
1796
|
+
n = qn(t, r);
|
|
1797
1797
|
else {
|
|
1798
|
-
const o =
|
|
1798
|
+
const o = mt(e);
|
|
1799
1799
|
n = {
|
|
1800
1800
|
x: t.x - o.x,
|
|
1801
1801
|
y: t.y - o.y,
|
|
@@ -1803,36 +1803,36 @@ function Ye(e, t, r) {
|
|
|
1803
1803
|
height: t.height
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
|
-
return
|
|
1806
|
+
return Oe(n);
|
|
1807
1807
|
}
|
|
1808
|
-
function
|
|
1808
|
+
function ht(e, t) {
|
|
1809
1809
|
const r = J(e);
|
|
1810
|
-
return r === t || !U(r) || ee(r) ? !1 :
|
|
1810
|
+
return r === t || !U(r) || ee(r) ? !1 : H(r).position === "fixed" || ht(r, t);
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function Yn(e, t) {
|
|
1813
1813
|
const r = t.get(e);
|
|
1814
1814
|
if (r)
|
|
1815
1815
|
return r;
|
|
1816
|
-
let n =
|
|
1817
|
-
const c =
|
|
1816
|
+
let n = le(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
|
|
1817
|
+
const c = H(e).position === "fixed";
|
|
1818
1818
|
let l = c ? J(e) : e;
|
|
1819
1819
|
for (; U(l) && !ee(l); ) {
|
|
1820
|
-
const f =
|
|
1821
|
-
!u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) ||
|
|
1820
|
+
const f = H(l), u = Ve(l);
|
|
1821
|
+
!u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || ue(l) && !u && ht(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
|
|
1822
1822
|
}
|
|
1823
1823
|
return t.set(e, n), n;
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function Kn(e) {
|
|
1826
1826
|
let {
|
|
1827
1827
|
element: t,
|
|
1828
1828
|
boundary: r,
|
|
1829
1829
|
rootBoundary: n,
|
|
1830
1830
|
strategy: o
|
|
1831
1831
|
} = e;
|
|
1832
|
-
const l = [...r === "clippingAncestors" ?
|
|
1833
|
-
const a =
|
|
1834
|
-
return
|
|
1835
|
-
},
|
|
1832
|
+
const l = [...r === "clippingAncestors" ? Ee(t) ? [] : Yn(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((i, g) => {
|
|
1833
|
+
const a = Xe(t, g, o);
|
|
1834
|
+
return i.top = k(a.top, i.top), i.right = X(a.right, i.right), i.bottom = X(a.bottom, i.bottom), i.left = k(a.left, i.left), i;
|
|
1835
|
+
}, Xe(t, f, o));
|
|
1836
1836
|
return {
|
|
1837
1837
|
width: u.right - u.left,
|
|
1838
1838
|
height: u.bottom - u.top,
|
|
@@ -1840,29 +1840,29 @@ function Vn(e) {
|
|
|
1840
1840
|
y: u.top
|
|
1841
1841
|
};
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function Xn(e) {
|
|
1844
1844
|
const {
|
|
1845
1845
|
width: t,
|
|
1846
1846
|
height: r
|
|
1847
|
-
} =
|
|
1847
|
+
} = pt(e);
|
|
1848
1848
|
return {
|
|
1849
1849
|
width: t,
|
|
1850
1850
|
height: r
|
|
1851
1851
|
};
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1854
|
-
const n =
|
|
1853
|
+
function Jn(e, t, r) {
|
|
1854
|
+
const n = W(t), o = j(t), c = r === "fixed", l = Q(e, !0, c, t);
|
|
1855
1855
|
let f = {
|
|
1856
1856
|
scrollLeft: 0,
|
|
1857
1857
|
scrollTop: 0
|
|
1858
1858
|
};
|
|
1859
|
-
const u =
|
|
1859
|
+
const u = B(0);
|
|
1860
1860
|
if (n || !n && !c)
|
|
1861
|
-
if ((ne(t) !== "body" ||
|
|
1862
|
-
const
|
|
1863
|
-
u.x =
|
|
1864
|
-
} else o && (u.x =
|
|
1865
|
-
const
|
|
1861
|
+
if ((ne(t) !== "body" || ue(o)) && (f = be(t)), n) {
|
|
1862
|
+
const s = Q(t, !0, c, t);
|
|
1863
|
+
u.x = s.x + t.clientLeft, u.y = s.y + t.clientTop;
|
|
1864
|
+
} else o && (u.x = Ue(o));
|
|
1865
|
+
const i = o && !n && !c ? yt(o, f) : B(0), g = l.left + f.scrollLeft - u.x - i.x, a = l.top + f.scrollTop - u.y - i.y;
|
|
1866
1866
|
return {
|
|
1867
1867
|
x: g,
|
|
1868
1868
|
y: a,
|
|
@@ -1870,39 +1870,39 @@ function zn(e, t, r) {
|
|
|
1870
1870
|
height: l.height
|
|
1871
1871
|
};
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1874
|
-
return
|
|
1873
|
+
function Pe(e) {
|
|
1874
|
+
return H(e).position === "static";
|
|
1875
1875
|
}
|
|
1876
|
-
function
|
|
1877
|
-
if (!
|
|
1876
|
+
function Je(e, t) {
|
|
1877
|
+
if (!W(e) || H(e).position === "fixed")
|
|
1878
1878
|
return null;
|
|
1879
1879
|
if (t)
|
|
1880
1880
|
return t(e);
|
|
1881
1881
|
let r = e.offsetParent;
|
|
1882
|
-
return
|
|
1882
|
+
return j(e) === r && (r = r.ownerDocument.body), r;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1885
|
-
const r =
|
|
1886
|
-
if (
|
|
1884
|
+
function vt(e, t) {
|
|
1885
|
+
const r = I(e);
|
|
1886
|
+
if (Ee(e))
|
|
1887
1887
|
return r;
|
|
1888
|
-
if (!
|
|
1888
|
+
if (!W(e)) {
|
|
1889
1889
|
let o = J(e);
|
|
1890
1890
|
for (; o && !ee(o); ) {
|
|
1891
|
-
if (U(o) && !
|
|
1891
|
+
if (U(o) && !Pe(o))
|
|
1892
1892
|
return o;
|
|
1893
1893
|
o = J(o);
|
|
1894
1894
|
}
|
|
1895
1895
|
return r;
|
|
1896
1896
|
}
|
|
1897
|
-
let n =
|
|
1898
|
-
for (; n &&
|
|
1899
|
-
n =
|
|
1900
|
-
return n && ee(n) &&
|
|
1897
|
+
let n = Je(e, t);
|
|
1898
|
+
for (; n && Fn(n) && Pe(n); )
|
|
1899
|
+
n = Je(n, t);
|
|
1900
|
+
return n && ee(n) && Pe(n) && !Ve(n) ? r : n || Un(e) || r;
|
|
1901
1901
|
}
|
|
1902
|
-
const
|
|
1903
|
-
const t = this.getOffsetParent ||
|
|
1902
|
+
const Qn = async function(e) {
|
|
1903
|
+
const t = this.getOffsetParent || vt, r = this.getDimensions, n = await r(e.floating);
|
|
1904
1904
|
return {
|
|
1905
|
-
reference:
|
|
1905
|
+
reference: Jn(e.reference, await t(e.floating), e.strategy),
|
|
1906
1906
|
floating: {
|
|
1907
1907
|
x: 0,
|
|
1908
1908
|
y: 0,
|
|
@@ -1911,71 +1911,71 @@ const Un = async function(e) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
1913
1913
|
};
|
|
1914
|
-
function
|
|
1915
|
-
return
|
|
1916
|
-
}
|
|
1917
|
-
const
|
|
1918
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1919
|
-
getDocumentElement:
|
|
1920
|
-
getClippingRect:
|
|
1921
|
-
getOffsetParent:
|
|
1922
|
-
getElementRects:
|
|
1923
|
-
getClientRects:
|
|
1924
|
-
getDimensions:
|
|
1914
|
+
function Zn(e) {
|
|
1915
|
+
return H(e).direction === "rtl";
|
|
1916
|
+
}
|
|
1917
|
+
const er = {
|
|
1918
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Bn,
|
|
1919
|
+
getDocumentElement: j,
|
|
1920
|
+
getClippingRect: Kn,
|
|
1921
|
+
getOffsetParent: vt,
|
|
1922
|
+
getElementRects: Qn,
|
|
1923
|
+
getClientRects: Wn,
|
|
1924
|
+
getDimensions: Xn,
|
|
1925
1925
|
getScale: Z,
|
|
1926
1926
|
isElement: U,
|
|
1927
|
-
isRTL:
|
|
1927
|
+
isRTL: Zn
|
|
1928
1928
|
};
|
|
1929
|
-
function
|
|
1929
|
+
function Ot(e, t) {
|
|
1930
1930
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function tr(e, t) {
|
|
1933
1933
|
let r = null, n;
|
|
1934
|
-
const o =
|
|
1934
|
+
const o = j(e);
|
|
1935
1935
|
function c() {
|
|
1936
1936
|
var f;
|
|
1937
1937
|
clearTimeout(n), (f = r) == null || f.disconnect(), r = null;
|
|
1938
1938
|
}
|
|
1939
1939
|
function l(f, u) {
|
|
1940
1940
|
f === void 0 && (f = !1), u === void 0 && (u = 1), c();
|
|
1941
|
-
const
|
|
1941
|
+
const i = e.getBoundingClientRect(), {
|
|
1942
1942
|
left: g,
|
|
1943
1943
|
top: a,
|
|
1944
|
-
width:
|
|
1944
|
+
width: s,
|
|
1945
1945
|
height: d
|
|
1946
|
-
} =
|
|
1947
|
-
if (f || t(), !
|
|
1946
|
+
} = i;
|
|
1947
|
+
if (f || t(), !s || !d)
|
|
1948
1948
|
return;
|
|
1949
|
-
const
|
|
1950
|
-
rootMargin: -
|
|
1949
|
+
const p = pe(a), m = pe(o.clientWidth - (g + s)), y = pe(o.clientHeight - (a + d)), v = pe(g), x = {
|
|
1950
|
+
rootMargin: -p + "px " + -m + "px " + -y + "px " + -v + "px",
|
|
1951
1951
|
threshold: k(0, X(1, u)) || 1
|
|
1952
1952
|
};
|
|
1953
|
-
let
|
|
1954
|
-
function
|
|
1955
|
-
const
|
|
1956
|
-
if (
|
|
1957
|
-
if (!
|
|
1953
|
+
let R = !0;
|
|
1954
|
+
function b(P) {
|
|
1955
|
+
const C = P[0].intersectionRatio;
|
|
1956
|
+
if (C !== u) {
|
|
1957
|
+
if (!R)
|
|
1958
1958
|
return l();
|
|
1959
|
-
|
|
1959
|
+
C ? l(!1, C) : n = setTimeout(() => {
|
|
1960
1960
|
l(!1, 1e-7);
|
|
1961
1961
|
}, 1e3);
|
|
1962
1962
|
}
|
|
1963
|
-
|
|
1963
|
+
C === 1 && !Ot(i, e.getBoundingClientRect()) && l(), R = !1;
|
|
1964
1964
|
}
|
|
1965
1965
|
try {
|
|
1966
|
-
r = new IntersectionObserver(
|
|
1967
|
-
...
|
|
1966
|
+
r = new IntersectionObserver(b, {
|
|
1967
|
+
...x,
|
|
1968
1968
|
// Handle <iframe>s
|
|
1969
1969
|
root: o.ownerDocument
|
|
1970
1970
|
});
|
|
1971
1971
|
} catch {
|
|
1972
|
-
r = new IntersectionObserver(
|
|
1972
|
+
r = new IntersectionObserver(b, x);
|
|
1973
1973
|
}
|
|
1974
1974
|
r.observe(e);
|
|
1975
1975
|
}
|
|
1976
1976
|
return l(!0), c;
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function nr(e, t, r, n) {
|
|
1979
1979
|
n === void 0 && (n = {});
|
|
1980
1980
|
const {
|
|
1981
1981
|
ancestorScroll: o = !0,
|
|
@@ -1983,48 +1983,48 @@ function jn(e, t, r, n) {
|
|
|
1983
1983
|
elementResize: l = typeof ResizeObserver == "function",
|
|
1984
1984
|
layoutShift: f = typeof IntersectionObserver == "function",
|
|
1985
1985
|
animationFrame: u = !1
|
|
1986
|
-
} = n,
|
|
1986
|
+
} = n, i = Fe(e), g = o || c ? [...i ? le(i) : [], ...le(t)] : [];
|
|
1987
1987
|
g.forEach((v) => {
|
|
1988
1988
|
o && v.addEventListener("scroll", r, {
|
|
1989
1989
|
passive: !0
|
|
1990
1990
|
}), c && v.addEventListener("resize", r);
|
|
1991
1991
|
});
|
|
1992
|
-
const a =
|
|
1993
|
-
let
|
|
1992
|
+
const a = i && f ? tr(i, r) : null;
|
|
1993
|
+
let s = -1, d = null;
|
|
1994
1994
|
l && (d = new ResizeObserver((v) => {
|
|
1995
1995
|
let [w] = v;
|
|
1996
|
-
w && w.target ===
|
|
1997
|
-
var
|
|
1998
|
-
(
|
|
1996
|
+
w && w.target === i && d && (d.unobserve(t), cancelAnimationFrame(s), s = requestAnimationFrame(() => {
|
|
1997
|
+
var x;
|
|
1998
|
+
(x = d) == null || x.observe(t);
|
|
1999
1999
|
})), r();
|
|
2000
|
-
}),
|
|
2001
|
-
let
|
|
2000
|
+
}), i && !u && d.observe(i), d.observe(t));
|
|
2001
|
+
let p, m = u ? Q(e) : null;
|
|
2002
2002
|
u && y();
|
|
2003
2003
|
function y() {
|
|
2004
2004
|
const v = Q(e);
|
|
2005
|
-
|
|
2005
|
+
m && !Ot(m, v) && r(), m = v, p = requestAnimationFrame(y);
|
|
2006
2006
|
}
|
|
2007
2007
|
return r(), () => {
|
|
2008
2008
|
var v;
|
|
2009
2009
|
g.forEach((w) => {
|
|
2010
2010
|
o && w.removeEventListener("scroll", r), c && w.removeEventListener("resize", r);
|
|
2011
|
-
}), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(
|
|
2011
|
+
}), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(p);
|
|
2012
2012
|
};
|
|
2013
2013
|
}
|
|
2014
|
-
const
|
|
2014
|
+
const rr = kn, or = In, ir = Dn, sr = $n, cr = Ln, ar = _n, lr = Vn, ur = (e, t, r) => {
|
|
2015
2015
|
const n = /* @__PURE__ */ new Map(), o = {
|
|
2016
|
-
platform:
|
|
2016
|
+
platform: er,
|
|
2017
2017
|
...r
|
|
2018
2018
|
}, c = {
|
|
2019
2019
|
...o.platform,
|
|
2020
2020
|
_c: n
|
|
2021
2021
|
};
|
|
2022
|
-
return
|
|
2022
|
+
return Nn(e, t, {
|
|
2023
2023
|
...o,
|
|
2024
2024
|
platform: c
|
|
2025
2025
|
});
|
|
2026
2026
|
};
|
|
2027
|
-
function
|
|
2027
|
+
function Qe(e = 0, t = 0, r = 0, n = 0) {
|
|
2028
2028
|
if (typeof DOMRect == "function")
|
|
2029
2029
|
return new DOMRect(e, t, r, n);
|
|
2030
2030
|
const o = {
|
|
@@ -2039,27 +2039,27 @@ function Ke(e = 0, t = 0, r = 0, n = 0) {
|
|
|
2039
2039
|
};
|
|
2040
2040
|
return { ...o, toJSON: () => o };
|
|
2041
2041
|
}
|
|
2042
|
-
function
|
|
2043
|
-
if (!e) return
|
|
2042
|
+
function fr(e) {
|
|
2043
|
+
if (!e) return Qe();
|
|
2044
2044
|
const { x: t, y: r, width: n, height: o } = e;
|
|
2045
|
-
return
|
|
2045
|
+
return Qe(t, r, n, o);
|
|
2046
2046
|
}
|
|
2047
|
-
function
|
|
2047
|
+
function dr(e, t) {
|
|
2048
2048
|
return {
|
|
2049
|
-
contextElement:
|
|
2049
|
+
contextElement: Vt(e) ? e : void 0,
|
|
2050
2050
|
getBoundingClientRect: () => {
|
|
2051
2051
|
const r = e, n = t?.(r);
|
|
2052
|
-
return n || !r ?
|
|
2052
|
+
return n || !r ? fr(n) : r.getBoundingClientRect();
|
|
2053
2053
|
}
|
|
2054
2054
|
};
|
|
2055
2055
|
}
|
|
2056
|
-
var oe = (e) => ({ variable: e, reference: `var(${e})` }),
|
|
2056
|
+
var oe = (e) => ({ variable: e, reference: `var(${e})` }), G = {
|
|
2057
2057
|
arrowSize: oe("--arrow-size"),
|
|
2058
2058
|
arrowSizeHalf: oe("--arrow-size-half"),
|
|
2059
2059
|
arrowBg: oe("--arrow-background"),
|
|
2060
2060
|
transformOrigin: oe("--transform-origin"),
|
|
2061
2061
|
arrowOffset: oe("--arrow-offset")
|
|
2062
|
-
},
|
|
2062
|
+
}, gr = (e) => ({
|
|
2063
2063
|
top: "bottom center",
|
|
2064
2064
|
"top-start": e ? `${e.x}px bottom` : "left bottom",
|
|
2065
2065
|
"top-end": e ? `${e.x}px bottom` : "right bottom",
|
|
@@ -2072,22 +2072,22 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
|
2072
2072
|
right: "left center",
|
|
2073
2073
|
"right-start": e ? `left ${e.y}px` : "left top",
|
|
2074
2074
|
"right-end": e ? `left ${e.y}px` : "left bottom"
|
|
2075
|
-
}),
|
|
2075
|
+
}), pr = {
|
|
2076
2076
|
name: "transformOrigin",
|
|
2077
2077
|
fn({ placement: e, elements: t, middlewareData: r }) {
|
|
2078
|
-
const { arrow: n } = r, o =
|
|
2079
|
-
return c.style.setProperty(
|
|
2078
|
+
const { arrow: n } = r, o = gr(n)[e], { floating: c } = t;
|
|
2079
|
+
return c.style.setProperty(G.transformOrigin.variable, o), {
|
|
2080
2080
|
data: { transformOrigin: o }
|
|
2081
2081
|
};
|
|
2082
2082
|
}
|
|
2083
|
-
},
|
|
2083
|
+
}, mr = {
|
|
2084
2084
|
name: "rects",
|
|
2085
2085
|
fn({ rects: e }) {
|
|
2086
2086
|
return {
|
|
2087
2087
|
data: e
|
|
2088
2088
|
};
|
|
2089
2089
|
}
|
|
2090
|
-
},
|
|
2090
|
+
}, yr = (e) => {
|
|
2091
2091
|
if (e)
|
|
2092
2092
|
return {
|
|
2093
2093
|
name: "shiftArrow",
|
|
@@ -2097,19 +2097,19 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
|
2097
2097
|
return Object.assign(e.style, {
|
|
2098
2098
|
left: n != null ? `${n}px` : "",
|
|
2099
2099
|
top: o != null ? `${o}px` : "",
|
|
2100
|
-
[c]: `calc(100% + ${
|
|
2100
|
+
[c]: `calc(100% + ${G.arrowOffset.reference})`
|
|
2101
2101
|
}), {};
|
|
2102
2102
|
}
|
|
2103
2103
|
};
|
|
2104
2104
|
};
|
|
2105
|
-
function
|
|
2105
|
+
function hr(e) {
|
|
2106
2106
|
const [t, r] = e.split("-");
|
|
2107
2107
|
return { side: t, align: r, hasAlign: r != null };
|
|
2108
2108
|
}
|
|
2109
|
-
function
|
|
2109
|
+
function Br(e) {
|
|
2110
2110
|
return e.split("-")[0];
|
|
2111
2111
|
}
|
|
2112
|
-
var
|
|
2112
|
+
var vr = {
|
|
2113
2113
|
strategy: "absolute",
|
|
2114
2114
|
placement: "bottom",
|
|
2115
2115
|
listeners: !0,
|
|
@@ -2122,51 +2122,51 @@ var sr = {
|
|
|
2122
2122
|
overflowPadding: 8,
|
|
2123
2123
|
arrowPadding: 4
|
|
2124
2124
|
};
|
|
2125
|
-
function
|
|
2125
|
+
function Ze(e, t) {
|
|
2126
2126
|
const r = e.devicePixelRatio || 1;
|
|
2127
2127
|
return Math.round(t * r) / r;
|
|
2128
2128
|
}
|
|
2129
|
-
function
|
|
2130
|
-
return
|
|
2129
|
+
function wt(e) {
|
|
2130
|
+
return Ft(e.boundary);
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2132
|
+
function Or(e, t) {
|
|
2133
2133
|
if (e)
|
|
2134
|
-
return
|
|
2134
|
+
return ar({
|
|
2135
2135
|
element: e,
|
|
2136
2136
|
padding: t.arrowPadding
|
|
2137
2137
|
});
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2140
|
-
if (
|
|
2141
|
-
return
|
|
2142
|
-
const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } =
|
|
2143
|
-
return
|
|
2139
|
+
function wr(e, t) {
|
|
2140
|
+
if (!$t(t.offset ?? t.gutter))
|
|
2141
|
+
return rr(({ placement: r }) => {
|
|
2142
|
+
const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = hr(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
|
|
2143
|
+
return rt({
|
|
2144
2144
|
crossAxis: u,
|
|
2145
2145
|
mainAxis: c,
|
|
2146
2146
|
alignmentAxis: t.shift
|
|
2147
2147
|
});
|
|
2148
2148
|
});
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2150
|
+
function xr(e) {
|
|
2151
2151
|
if (e.flip)
|
|
2152
|
-
return
|
|
2153
|
-
boundary:
|
|
2152
|
+
return ir({
|
|
2153
|
+
boundary: wt(e),
|
|
2154
2154
|
padding: e.overflowPadding,
|
|
2155
2155
|
fallbackPlacements: e.flip === !0 ? void 0 : e.flip
|
|
2156
2156
|
});
|
|
2157
2157
|
}
|
|
2158
|
-
function
|
|
2158
|
+
function Er(e) {
|
|
2159
2159
|
if (!(!e.slide && !e.overlap))
|
|
2160
|
-
return
|
|
2161
|
-
boundary:
|
|
2160
|
+
return or({
|
|
2161
|
+
boundary: wt(e),
|
|
2162
2162
|
mainAxis: e.slide,
|
|
2163
2163
|
crossAxis: e.overlap,
|
|
2164
2164
|
padding: e.overflowPadding,
|
|
2165
|
-
limiter:
|
|
2165
|
+
limiter: lr()
|
|
2166
2166
|
});
|
|
2167
2167
|
}
|
|
2168
|
-
function
|
|
2169
|
-
return
|
|
2168
|
+
function br(e) {
|
|
2169
|
+
return sr({
|
|
2170
2170
|
padding: e.overflowPadding,
|
|
2171
2171
|
apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
|
|
2172
2172
|
const c = t.floating, l = Math.round(r.reference.width);
|
|
@@ -2174,79 +2174,79 @@ function fr(e) {
|
|
|
2174
2174
|
}
|
|
2175
2175
|
});
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function Rr(e) {
|
|
2178
2178
|
if (e.hideWhenDetached)
|
|
2179
|
-
return
|
|
2179
|
+
return cr({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
|
|
2180
2180
|
}
|
|
2181
|
-
function
|
|
2181
|
+
function Sr(e) {
|
|
2182
2182
|
return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
|
|
2183
2183
|
}
|
|
2184
|
-
function
|
|
2185
|
-
const n =
|
|
2184
|
+
function Pr(e, t, r = {}) {
|
|
2185
|
+
const n = dr(e, r.getAnchorRect);
|
|
2186
2186
|
if (!t || !n) return;
|
|
2187
|
-
const o = Object.assign({},
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
], { placement: f, strategy: u, onComplete:
|
|
2187
|
+
const o = Object.assign({}, vr, r), c = t.querySelector("[data-part=arrow]"), l = [
|
|
2188
|
+
wr(c, o),
|
|
2189
|
+
xr(o),
|
|
2190
|
+
Er(o),
|
|
2191
|
+
Or(c, o),
|
|
2192
|
+
yr(c),
|
|
2193
|
+
pr,
|
|
2194
|
+
br(o),
|
|
2195
|
+
Rr(o),
|
|
2196
|
+
mr
|
|
2197
|
+
], { placement: f, strategy: u, onComplete: i, onPositioned: g } = o, a = async () => {
|
|
2198
2198
|
if (!n || !t) return;
|
|
2199
|
-
const
|
|
2199
|
+
const m = await ur(n, t, {
|
|
2200
2200
|
placement: f,
|
|
2201
2201
|
middleware: l,
|
|
2202
2202
|
strategy: u
|
|
2203
2203
|
});
|
|
2204
|
-
|
|
2205
|
-
const y =
|
|
2206
|
-
t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (
|
|
2207
|
-
const
|
|
2208
|
-
if (
|
|
2209
|
-
const
|
|
2210
|
-
t.style.setProperty("--z-index",
|
|
2204
|
+
i?.(m), g?.({ placed: !0 });
|
|
2205
|
+
const y = Ut(t), v = Ze(y, m.x), w = Ze(y, m.y);
|
|
2206
|
+
t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (m.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
|
|
2207
|
+
const x = t.firstElementChild;
|
|
2208
|
+
if (x) {
|
|
2209
|
+
const R = it(x);
|
|
2210
|
+
t.style.setProperty("--z-index", R.zIndex);
|
|
2211
2211
|
}
|
|
2212
|
-
},
|
|
2212
|
+
}, s = async () => {
|
|
2213
2213
|
r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
|
|
2214
|
-
}, d =
|
|
2215
|
-
return
|
|
2216
|
-
|
|
2214
|
+
}, d = Sr(o.listeners), p = o.listeners ? nr(n, t, s, d) : It;
|
|
2215
|
+
return s(), () => {
|
|
2216
|
+
p?.(), g?.({ placed: !1 });
|
|
2217
2217
|
};
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2220
|
-
const { defer: n, ...o } = r, c = n ?
|
|
2219
|
+
function et(e, t, r = {}) {
|
|
2220
|
+
const { defer: n, ...o } = r, c = n ? Ce : (f) => f(), l = [];
|
|
2221
2221
|
return l.push(
|
|
2222
2222
|
c(() => {
|
|
2223
2223
|
const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
|
|
2224
|
-
l.push(
|
|
2224
|
+
l.push(Pr(f, u, o));
|
|
2225
2225
|
})
|
|
2226
2226
|
), () => {
|
|
2227
2227
|
l.forEach((f) => f?.());
|
|
2228
2228
|
};
|
|
2229
2229
|
}
|
|
2230
|
-
var
|
|
2230
|
+
var Tr = {
|
|
2231
2231
|
bottom: "rotate(45deg)",
|
|
2232
2232
|
left: "rotate(135deg)",
|
|
2233
2233
|
top: "rotate(225deg)",
|
|
2234
2234
|
right: "rotate(315deg)"
|
|
2235
2235
|
};
|
|
2236
|
-
function
|
|
2236
|
+
function Cr(e = {}) {
|
|
2237
2237
|
const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
|
|
2238
2238
|
return {
|
|
2239
2239
|
arrow: {
|
|
2240
2240
|
position: "absolute",
|
|
2241
|
-
width:
|
|
2242
|
-
height:
|
|
2243
|
-
[
|
|
2244
|
-
[
|
|
2241
|
+
width: G.arrowSize.reference,
|
|
2242
|
+
height: G.arrowSize.reference,
|
|
2243
|
+
[G.arrowSizeHalf.variable]: `calc(${G.arrowSize.reference} / 2)`,
|
|
2244
|
+
[G.arrowOffset.variable]: `calc(${G.arrowSizeHalf.reference} * -1)`
|
|
2245
2245
|
},
|
|
2246
2246
|
arrowTip: {
|
|
2247
2247
|
// @ts-expect-error - Fix this
|
|
2248
|
-
transform: t ?
|
|
2249
|
-
background:
|
|
2248
|
+
transform: t ? Tr[t.split("-")[0]] : void 0,
|
|
2249
|
+
background: G.arrowBg.reference,
|
|
2250
2250
|
top: "0",
|
|
2251
2251
|
left: "0",
|
|
2252
2252
|
width: "100%",
|
|
@@ -2270,7 +2270,356 @@ function Pr(e = {}) {
|
|
|
2270
2270
|
}
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
2273
|
-
|
|
2273
|
+
var Ar = Bt("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), ie = Ar.build(), xt = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, Et = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, bt = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, Nr = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, Te = (e) => e.getById(xt(e)), _r = (e) => e.getById(Et(e)), tt = (e) => e.getById(bt(e));
|
|
2274
|
+
function Wr(e, t) {
|
|
2275
|
+
const { state: r, send: n, prop: o, context: c, scope: l } = e, f = r.hasTag("open"), u = Cr({
|
|
2276
|
+
...o("positioning"),
|
|
2277
|
+
placement: c.get("currentPlacement")
|
|
2278
|
+
});
|
|
2279
|
+
return {
|
|
2280
|
+
open: f,
|
|
2281
|
+
setOpen(i) {
|
|
2282
|
+
r.hasTag("open") !== i && n({ type: i ? "OPEN" : "CLOSE" });
|
|
2283
|
+
},
|
|
2284
|
+
reposition(i = {}) {
|
|
2285
|
+
n({ type: "POSITIONING.SET", options: i });
|
|
2286
|
+
},
|
|
2287
|
+
getArrowProps() {
|
|
2288
|
+
return t.element({
|
|
2289
|
+
id: Nr(l),
|
|
2290
|
+
...ie.arrow.attrs,
|
|
2291
|
+
dir: o("dir"),
|
|
2292
|
+
style: u.arrow
|
|
2293
|
+
});
|
|
2294
|
+
},
|
|
2295
|
+
getArrowTipProps() {
|
|
2296
|
+
return t.element({
|
|
2297
|
+
...ie.arrowTip.attrs,
|
|
2298
|
+
dir: o("dir"),
|
|
2299
|
+
style: u.arrowTip
|
|
2300
|
+
});
|
|
2301
|
+
},
|
|
2302
|
+
getTriggerProps() {
|
|
2303
|
+
return t.element({
|
|
2304
|
+
...ie.trigger.attrs,
|
|
2305
|
+
dir: o("dir"),
|
|
2306
|
+
"data-placement": c.get("currentPlacement"),
|
|
2307
|
+
id: xt(l),
|
|
2308
|
+
"data-state": f ? "open" : "closed",
|
|
2309
|
+
onPointerEnter(i) {
|
|
2310
|
+
i.pointerType !== "touch" && n({ type: "POINTER_ENTER", src: "trigger" });
|
|
2311
|
+
},
|
|
2312
|
+
onPointerLeave(i) {
|
|
2313
|
+
i.pointerType !== "touch" && n({ type: "POINTER_LEAVE", src: "trigger" });
|
|
2314
|
+
},
|
|
2315
|
+
onFocus() {
|
|
2316
|
+
n({ type: "TRIGGER_FOCUS" });
|
|
2317
|
+
},
|
|
2318
|
+
onBlur() {
|
|
2319
|
+
n({ type: "TRIGGER_BLUR" });
|
|
2320
|
+
}
|
|
2321
|
+
});
|
|
2322
|
+
},
|
|
2323
|
+
getPositionerProps() {
|
|
2324
|
+
return t.element({
|
|
2325
|
+
id: bt(l),
|
|
2326
|
+
...ie.positioner.attrs,
|
|
2327
|
+
dir: o("dir"),
|
|
2328
|
+
style: u.floating
|
|
2329
|
+
});
|
|
2330
|
+
},
|
|
2331
|
+
getContentProps() {
|
|
2332
|
+
return t.element({
|
|
2333
|
+
...ie.content.attrs,
|
|
2334
|
+
dir: o("dir"),
|
|
2335
|
+
id: Et(l),
|
|
2336
|
+
hidden: !f,
|
|
2337
|
+
tabIndex: -1,
|
|
2338
|
+
"data-state": f ? "open" : "closed",
|
|
2339
|
+
"data-placement": c.get("currentPlacement"),
|
|
2340
|
+
onPointerEnter(i) {
|
|
2341
|
+
i.pointerType !== "touch" && n({ type: "POINTER_ENTER", src: "content" });
|
|
2342
|
+
},
|
|
2343
|
+
onPointerLeave(i) {
|
|
2344
|
+
i.pointerType !== "touch" && n({ type: "POINTER_LEAVE", src: "content" });
|
|
2345
|
+
}
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
};
|
|
2349
|
+
}
|
|
2350
|
+
var { not: me, and: nt } = Ht(), jr = ot({
|
|
2351
|
+
props({ props: e }) {
|
|
2352
|
+
return {
|
|
2353
|
+
openDelay: 700,
|
|
2354
|
+
closeDelay: 300,
|
|
2355
|
+
...e,
|
|
2356
|
+
positioning: {
|
|
2357
|
+
placement: "bottom",
|
|
2358
|
+
...e.positioning
|
|
2359
|
+
}
|
|
2360
|
+
};
|
|
2361
|
+
},
|
|
2362
|
+
initialState({ prop: e }) {
|
|
2363
|
+
return e("open") || e("defaultOpen") ? "open" : "closed";
|
|
2364
|
+
},
|
|
2365
|
+
context({ prop: e, bindable: t }) {
|
|
2366
|
+
return {
|
|
2367
|
+
open: t(() => ({
|
|
2368
|
+
defaultValue: e("defaultOpen"),
|
|
2369
|
+
value: e("open"),
|
|
2370
|
+
onChange(r) {
|
|
2371
|
+
e("onOpenChange")?.({ open: r });
|
|
2372
|
+
}
|
|
2373
|
+
})),
|
|
2374
|
+
currentPlacement: t(() => ({
|
|
2375
|
+
defaultValue: void 0
|
|
2376
|
+
})),
|
|
2377
|
+
isPointer: t(() => ({
|
|
2378
|
+
defaultValue: !1
|
|
2379
|
+
}))
|
|
2380
|
+
};
|
|
2381
|
+
},
|
|
2382
|
+
watch({ track: e, context: t, action: r }) {
|
|
2383
|
+
e([() => t.get("open")], () => {
|
|
2384
|
+
r(["toggleVisibility"]);
|
|
2385
|
+
});
|
|
2386
|
+
},
|
|
2387
|
+
states: {
|
|
2388
|
+
closed: {
|
|
2389
|
+
tags: ["closed"],
|
|
2390
|
+
entry: ["clearIsPointer"],
|
|
2391
|
+
on: {
|
|
2392
|
+
"CONTROLLED.OPEN": {
|
|
2393
|
+
target: "open"
|
|
2394
|
+
},
|
|
2395
|
+
POINTER_ENTER: {
|
|
2396
|
+
target: "opening",
|
|
2397
|
+
actions: ["setIsPointer"]
|
|
2398
|
+
},
|
|
2399
|
+
TRIGGER_FOCUS: {
|
|
2400
|
+
target: "opening"
|
|
2401
|
+
},
|
|
2402
|
+
OPEN: {
|
|
2403
|
+
target: "opening"
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
opening: {
|
|
2408
|
+
tags: ["closed"],
|
|
2409
|
+
effects: ["waitForOpenDelay"],
|
|
2410
|
+
on: {
|
|
2411
|
+
OPEN_DELAY: [
|
|
2412
|
+
{
|
|
2413
|
+
guard: "isOpenControlled",
|
|
2414
|
+
actions: ["invokeOnOpen"]
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
target: "open",
|
|
2418
|
+
actions: ["invokeOnOpen"]
|
|
2419
|
+
}
|
|
2420
|
+
],
|
|
2421
|
+
"CONTROLLED.OPEN": {
|
|
2422
|
+
target: "open"
|
|
2423
|
+
},
|
|
2424
|
+
"CONTROLLED.CLOSE": {
|
|
2425
|
+
target: "closed"
|
|
2426
|
+
},
|
|
2427
|
+
POINTER_LEAVE: [
|
|
2428
|
+
{
|
|
2429
|
+
guard: "isOpenControlled",
|
|
2430
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
2431
|
+
actions: ["invokeOnClose", "toggleVisibility"]
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
target: "closed",
|
|
2435
|
+
actions: ["invokeOnClose"]
|
|
2436
|
+
}
|
|
2437
|
+
],
|
|
2438
|
+
TRIGGER_BLUR: [
|
|
2439
|
+
{
|
|
2440
|
+
guard: nt("isOpenControlled", me("isPointer")),
|
|
2441
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
2442
|
+
actions: ["invokeOnClose", "toggleVisibility"]
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
guard: me("isPointer"),
|
|
2446
|
+
target: "closed",
|
|
2447
|
+
actions: ["invokeOnClose"]
|
|
2448
|
+
}
|
|
2449
|
+
],
|
|
2450
|
+
CLOSE: [
|
|
2451
|
+
{
|
|
2452
|
+
guard: "isOpenControlled",
|
|
2453
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
2454
|
+
actions: ["invokeOnClose", "toggleVisibility"]
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
target: "closed",
|
|
2458
|
+
actions: ["invokeOnClose"]
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
open: {
|
|
2464
|
+
tags: ["open"],
|
|
2465
|
+
effects: ["trackDismissableElement", "trackPositioning"],
|
|
2466
|
+
on: {
|
|
2467
|
+
"CONTROLLED.CLOSE": {
|
|
2468
|
+
target: "closed"
|
|
2469
|
+
},
|
|
2470
|
+
POINTER_ENTER: {
|
|
2471
|
+
actions: ["setIsPointer"]
|
|
2472
|
+
},
|
|
2473
|
+
POINTER_LEAVE: {
|
|
2474
|
+
target: "closing"
|
|
2475
|
+
},
|
|
2476
|
+
CLOSE: [
|
|
2477
|
+
{
|
|
2478
|
+
guard: "isOpenControlled",
|
|
2479
|
+
actions: ["invokeOnClose"]
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
target: "closed",
|
|
2483
|
+
actions: ["invokeOnClose"]
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
TRIGGER_BLUR: [
|
|
2487
|
+
{
|
|
2488
|
+
guard: nt("isOpenControlled", me("isPointer")),
|
|
2489
|
+
actions: ["invokeOnClose"]
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
guard: me("isPointer"),
|
|
2493
|
+
target: "closed",
|
|
2494
|
+
actions: ["invokeOnClose"]
|
|
2495
|
+
}
|
|
2496
|
+
],
|
|
2497
|
+
"POSITIONING.SET": {
|
|
2498
|
+
actions: ["reposition"]
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
closing: {
|
|
2503
|
+
tags: ["open"],
|
|
2504
|
+
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
2505
|
+
on: {
|
|
2506
|
+
CLOSE_DELAY: [
|
|
2507
|
+
{
|
|
2508
|
+
guard: "isOpenControlled",
|
|
2509
|
+
actions: ["invokeOnClose"]
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
target: "closed",
|
|
2513
|
+
actions: ["invokeOnClose"]
|
|
2514
|
+
}
|
|
2515
|
+
],
|
|
2516
|
+
"CONTROLLED.CLOSE": {
|
|
2517
|
+
target: "closed"
|
|
2518
|
+
},
|
|
2519
|
+
"CONTROLLED.OPEN": {
|
|
2520
|
+
target: "open"
|
|
2521
|
+
},
|
|
2522
|
+
POINTER_ENTER: {
|
|
2523
|
+
target: "open",
|
|
2524
|
+
// no need to invokeOnOpen here because it's still open (but about to close)
|
|
2525
|
+
actions: ["setIsPointer"]
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
implementations: {
|
|
2531
|
+
guards: {
|
|
2532
|
+
isPointer: ({ context: e }) => !!e.get("isPointer"),
|
|
2533
|
+
isOpenControlled: ({ prop: e }) => e("open") != null
|
|
2534
|
+
},
|
|
2535
|
+
effects: {
|
|
2536
|
+
waitForOpenDelay({ send: e, prop: t }) {
|
|
2537
|
+
const r = setTimeout(() => {
|
|
2538
|
+
e({ type: "OPEN_DELAY" });
|
|
2539
|
+
}, t("openDelay"));
|
|
2540
|
+
return () => clearTimeout(r);
|
|
2541
|
+
},
|
|
2542
|
+
waitForCloseDelay({ send: e, prop: t }) {
|
|
2543
|
+
const r = setTimeout(() => {
|
|
2544
|
+
e({ type: "CLOSE_DELAY" });
|
|
2545
|
+
}, t("closeDelay"));
|
|
2546
|
+
return () => clearTimeout(r);
|
|
2547
|
+
},
|
|
2548
|
+
trackPositioning({ context: e, prop: t, scope: r }) {
|
|
2549
|
+
e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
|
|
2550
|
+
const n = () => tt(r);
|
|
2551
|
+
return et(Te(r), n, {
|
|
2552
|
+
...t("positioning"),
|
|
2553
|
+
defer: !0,
|
|
2554
|
+
onComplete(o) {
|
|
2555
|
+
e.set("currentPlacement", o.placement);
|
|
2556
|
+
}
|
|
2557
|
+
});
|
|
2558
|
+
},
|
|
2559
|
+
trackDismissableElement({ send: e, scope: t, prop: r }) {
|
|
2560
|
+
return zt(() => _r(t), {
|
|
2561
|
+
defer: !0,
|
|
2562
|
+
exclude: [Te(t)],
|
|
2563
|
+
onDismiss() {
|
|
2564
|
+
e({ type: "CLOSE", src: "interact-outside" });
|
|
2565
|
+
},
|
|
2566
|
+
onInteractOutside: r("onInteractOutside"),
|
|
2567
|
+
onPointerDownOutside: r("onPointerDownOutside"),
|
|
2568
|
+
onFocusOutside(o) {
|
|
2569
|
+
o.preventDefault(), r("onFocusOutside")?.(o);
|
|
2570
|
+
}
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
actions: {
|
|
2575
|
+
invokeOnClose({ prop: e }) {
|
|
2576
|
+
e("onOpenChange")?.({ open: !1 });
|
|
2577
|
+
},
|
|
2578
|
+
invokeOnOpen({ prop: e }) {
|
|
2579
|
+
e("onOpenChange")?.({ open: !0 });
|
|
2580
|
+
},
|
|
2581
|
+
setIsPointer({ context: e }) {
|
|
2582
|
+
e.set("isPointer", !0);
|
|
2583
|
+
},
|
|
2584
|
+
clearIsPointer({ context: e }) {
|
|
2585
|
+
e.set("isPointer", !1);
|
|
2586
|
+
},
|
|
2587
|
+
reposition({ context: e, prop: t, scope: r, event: n }) {
|
|
2588
|
+
const o = () => tt(r);
|
|
2589
|
+
et(Te(r), o, {
|
|
2590
|
+
...t("positioning"),
|
|
2591
|
+
...n.options,
|
|
2592
|
+
defer: !0,
|
|
2593
|
+
listeners: !1,
|
|
2594
|
+
onComplete(c) {
|
|
2595
|
+
e.set("currentPlacement", c.placement);
|
|
2596
|
+
}
|
|
2597
|
+
});
|
|
2598
|
+
},
|
|
2599
|
+
toggleVisibility({ prop: e, event: t, send: r }) {
|
|
2600
|
+
queueMicrotask(() => {
|
|
2601
|
+
r({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
|
|
2602
|
+
});
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
});
|
|
2607
|
+
at()([
|
|
2608
|
+
"closeDelay",
|
|
2609
|
+
"dir",
|
|
2610
|
+
"getRootNode",
|
|
2611
|
+
"id",
|
|
2612
|
+
"ids",
|
|
2613
|
+
"onOpenChange",
|
|
2614
|
+
"defaultOpen",
|
|
2615
|
+
"open",
|
|
2616
|
+
"openDelay",
|
|
2617
|
+
"positioning",
|
|
2618
|
+
"onInteractOutside",
|
|
2619
|
+
"onPointerDownOutside",
|
|
2620
|
+
"onFocusOutside"
|
|
2621
|
+
]);
|
|
2622
|
+
const [Gr, qr] = Le({
|
|
2274
2623
|
name: "LocaleContext",
|
|
2275
2624
|
hookName: "useLocaleContext",
|
|
2276
2625
|
providerName: "<LocaleProvider />",
|
|
@@ -2278,24 +2627,27 @@ const [Nr, Cr] = Ne({
|
|
|
2278
2627
|
defaultValue: { dir: "ltr", locale: "en-US" }
|
|
2279
2628
|
});
|
|
2280
2629
|
export {
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2630
|
+
Ir as P,
|
|
2631
|
+
hn as a,
|
|
2632
|
+
at as b,
|
|
2633
|
+
Le as c,
|
|
2634
|
+
Cr as d,
|
|
2635
|
+
Br as e,
|
|
2636
|
+
$r as f,
|
|
2637
|
+
et as g,
|
|
2638
|
+
pn as h,
|
|
2639
|
+
sn as i,
|
|
2640
|
+
qr as j,
|
|
2641
|
+
dn as k,
|
|
2642
|
+
zr as l,
|
|
2643
|
+
Fr as m,
|
|
2644
|
+
Vr as n,
|
|
2645
|
+
jr as o,
|
|
2646
|
+
Wr as p,
|
|
2647
|
+
wn as q,
|
|
2648
|
+
we as r,
|
|
2649
|
+
Hr as s,
|
|
2650
|
+
Ar as t,
|
|
2651
|
+
Ur as u
|
|
2300
2652
|
};
|
|
2301
|
-
//# sourceMappingURL=use-locale-context-
|
|
2653
|
+
//# sourceMappingURL=use-locale-context-ib8415q7.js.map
|