@televet/kibble-ui 4.0.0-beta.65 → 4.0.0-beta.67
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-Dth5h5qO.js → alert.types-B7BlPX2-.js} +10 -11
- package/dist/chunks/{alert.types-Dth5h5qO.js.map → alert.types-B7BlPX2-.js.map} +1 -1
- package/dist/chunks/alert.types-BsvcbTZD.js +2 -0
- package/dist/chunks/{alert.types-BvnpOwve.js.map → alert.types-BsvcbTZD.js.map} +1 -1
- package/dist/chunks/{avatar.component-BPCJZRyT.js → avatar.component-CB5m8zha.js} +27 -27
- package/dist/chunks/{avatar.component-BPCJZRyT.js.map → avatar.component-CB5m8zha.js.map} +1 -1
- package/dist/chunks/avatar.component-RKtP3MZt.js +2 -0
- package/dist/chunks/{avatar.component-y7gTa1dV.js.map → avatar.component-RKtP3MZt.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-BnRXVOIV.js → avatarGroup.component-CKFjjo2R.js} +2 -2
- package/dist/chunks/{avatarGroup.component-BnRXVOIV.js.map → avatarGroup.component-CKFjjo2R.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-Mfl8jvgp.js → avatarGroup.component-CjBeAxHZ.js} +2 -2
- package/dist/chunks/{avatarGroup.component-Mfl8jvgp.js.map → avatarGroup.component-CjBeAxHZ.js.map} +1 -1
- package/dist/chunks/{button.component-Dd9AfGox.js → button.component-BQA_MGYQ.js} +2 -2
- package/dist/chunks/{button.component-Dd9AfGox.js.map → button.component-BQA_MGYQ.js.map} +1 -1
- package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-DahLrK9h.js} +3 -3
- package/dist/chunks/{button.component-BpF3MzbZ.js.map → button.component-DahLrK9h.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-6ZBOJbfR.js → buttonGroup.component-BI44nuxH.js} +2 -2
- package/dist/chunks/{buttonGroup.component-6ZBOJbfR.js.map → buttonGroup.component-BI44nuxH.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-DQfB4Nj3.js → buttonGroup.component-UKmJh2zn.js} +5 -5
- package/dist/chunks/{buttonGroup.component-DQfB4Nj3.js.map → buttonGroup.component-UKmJh2zn.js.map} +1 -1
- package/dist/chunks/characterCounter.component-B8efVNy4.js +2 -0
- package/dist/chunks/{characterCounter.component-4T8NHb11.js.map → characterCounter.component-B8efVNy4.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-Cs0y0DOj.js → characterCounter.component-xgc8P1mp.js} +2 -2
- package/dist/chunks/{characterCounter.component-Cs0y0DOj.js.map → characterCounter.component-xgc8P1mp.js.map} +1 -1
- package/dist/chunks/{checkbox.component-DqlWmIyY.js → checkbox.component-5GtlYTnJ.js} +16 -16
- package/dist/chunks/{checkbox.component-DqlWmIyY.js.map → checkbox.component-5GtlYTnJ.js.map} +1 -1
- package/dist/chunks/checkbox.component-DO9NDbmM.js +2 -0
- package/dist/chunks/{checkbox.component-CFuJaYmY.js.map → checkbox.component-DO9NDbmM.js.map} +1 -1
- package/dist/chunks/{checkbox.records-08YIiUZO.js → checkbox.records-69wNHjsY.js} +8 -8
- package/dist/chunks/{checkbox.records-08YIiUZO.js.map → checkbox.records-69wNHjsY.js.map} +1 -1
- package/dist/chunks/checkbox.records-D7NUtCRR.js +2 -0
- package/dist/chunks/{checkbox.records-B7refmmT.js.map → checkbox.records-D7NUtCRR.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DaxmsqdZ.js → checkboxGroup.component-C1sPgVro.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-DaxmsqdZ.js.map → checkboxGroup.component-C1sPgVro.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DBqDJvPC.js → checkboxGroup.component-Dq3jCGDU.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-DBqDJvPC.js.map → checkboxGroup.component-Dq3jCGDU.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-Bg1Q9FdN.js → conversationCard.component-LpR5eSru.js} +18 -20
- package/dist/chunks/{conversationCard.component-Bg1Q9FdN.js.map → conversationCard.component-LpR5eSru.js.map} +1 -1
- package/dist/chunks/conversationCard.component-qWYvoxVn.js +2 -0
- package/dist/chunks/{conversationCard.component-CBrw3VnT.js.map → conversationCard.component-qWYvoxVn.js.map} +1 -1
- package/dist/chunks/datePicker.component-CLR0tErm.js +15 -0
- package/dist/chunks/{datePicker.component-u52NQcza.js.map → datePicker.component-CLR0tErm.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DfQNebKg.js → datePicker.component-DVR8Ech4.js} +85 -87
- package/dist/chunks/{datePicker.component-DfQNebKg.js.map → datePicker.component-DVR8Ech4.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-BPlPzPU-.js → dialog-trigger-C6rpz6Do.js} +9 -9
- package/dist/chunks/{dialog-trigger-BPlPzPU-.js.map → dialog-trigger-C6rpz6Do.js.map} +1 -1
- package/dist/chunks/dialog-trigger-JNnMRY13.js +2 -0
- package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-JNnMRY13.js.map} +1 -1
- package/dist/chunks/{group-DPCVolOl.js → group-DKypflCt.js} +2 -2
- package/dist/chunks/{group-DPCVolOl.js.map → group-DKypflCt.js.map} +1 -1
- package/dist/chunks/group-Dv1hO5IW.js +2 -0
- package/dist/chunks/{group-Cv7AQw1b.js.map → group-Dv1hO5IW.js.map} +1 -1
- package/dist/chunks/heading.component-DkT5GYvU.js +2 -0
- package/dist/chunks/heading.component-DkT5GYvU.js.map +1 -0
- package/dist/chunks/heading.component-d5jKnwm5.js +976 -0
- package/dist/chunks/heading.component-d5jKnwm5.js.map +1 -0
- package/dist/chunks/icon-button-BTDZq0Tr.js +121 -0
- package/dist/chunks/icon-button-BTDZq0Tr.js.map +1 -0
- package/dist/chunks/icon-button-khcu437F.js +2 -0
- package/dist/chunks/icon-button-khcu437F.js.map +1 -0
- package/dist/chunks/{typography-Cqrokog3.js → icon.component-D84o075X.js} +43 -6
- package/dist/chunks/icon.component-D84o075X.js.map +1 -0
- package/dist/chunks/icon.component-DjiNNeqF.js +2 -0
- package/dist/chunks/icon.component-DjiNNeqF.js.map +1 -0
- package/dist/chunks/{index-Co91SHhW.js → index-B9cDqm2a.js} +3 -3
- package/dist/chunks/{index-Co91SHhW.js.map → index-B9cDqm2a.js.map} +1 -1
- package/dist/chunks/index-BDCLWoQU.js +2 -0
- package/dist/chunks/{index-ZaGEDS_0.js.map → index-BDCLWoQU.js.map} +1 -1
- package/dist/chunks/index-BIjZoyJk.js +70 -0
- package/dist/chunks/index-BIjZoyJk.js.map +1 -0
- package/dist/chunks/{index-D9DU-5GF.js → index-BL1VW2oK.js} +54 -55
- package/dist/chunks/{index-D9DU-5GF.js.map → index-BL1VW2oK.js.map} +1 -1
- package/dist/chunks/index-BiyIeWSg.js +2 -0
- package/dist/chunks/{index-BDnnTdaJ.js.map → index-BiyIeWSg.js.map} +1 -1
- package/dist/chunks/index-BlGAWSIX.js +3 -0
- package/dist/chunks/index-BlGAWSIX.js.map +1 -0
- package/dist/chunks/{index-DcJZ8q0f.js → index-Bn03tQNC.js} +19 -20
- package/dist/chunks/{index-DcJZ8q0f.js.map → index-Bn03tQNC.js.map} +1 -1
- package/dist/chunks/index-BpKhRg2I.js +2 -0
- package/dist/chunks/{index-COoMV9Mh.js.map → index-BpKhRg2I.js.map} +1 -1
- package/dist/chunks/index-Cb49D-ky.js +1328 -0
- package/dist/chunks/index-Cb49D-ky.js.map +1 -0
- package/dist/chunks/{index-MDMqrELk.js → index-Ciu8P7c-.js} +7 -7
- package/dist/chunks/{index-MDMqrELk.js.map → index-Ciu8P7c-.js.map} +1 -1
- package/dist/chunks/index-CmVbgcH8.js +2 -0
- package/dist/chunks/{index-Dyxhds_1.js.map → index-CmVbgcH8.js.map} +1 -1
- package/dist/chunks/{index-C2kxTsiE.js → index-CxHMu1In.js} +21 -23
- package/dist/chunks/{index-C2kxTsiE.js.map → index-CxHMu1In.js.map} +1 -1
- package/dist/chunks/index-CzzrUbmu.js +2 -0
- package/dist/chunks/{index-MlhL0PDC.js.map → index-CzzrUbmu.js.map} +1 -1
- package/dist/chunks/index-DFbSzgk8.js +8 -0
- package/dist/chunks/{index-UWtj4ULm.js.map → index-DFbSzgk8.js.map} +1 -1
- package/dist/chunks/{index-CjNAJEk5.js → index-DRABh-Lp.js} +105 -106
- package/dist/chunks/{index-CjNAJEk5.js.map → index-DRABh-Lp.js.map} +1 -1
- package/dist/chunks/index-DeprNCOL.js +2 -0
- package/dist/chunks/{index-BYf7SZUC.js.map → index-DeprNCOL.js.map} +1 -1
- package/dist/chunks/index-Fztcdoo_.js +2 -0
- package/dist/chunks/index-Fztcdoo_.js.map +1 -0
- package/dist/chunks/{index-S1uNQPZj.js → index-YfA5zlSf.js} +5 -5
- package/dist/chunks/{index-S1uNQPZj.js.map → index-YfA5zlSf.js.map} +1 -1
- package/dist/chunks/{link.component-CCFg-LIe.js → link.component-BQJI6gPi.js} +2 -2
- package/dist/chunks/{link.component-CCFg-LIe.js.map → link.component-BQJI6gPi.js.map} +1 -1
- package/dist/chunks/{link.component-DprieyUG.js → link.component-Cs05IsXP.js} +2 -2
- package/dist/chunks/{link.component-DprieyUG.js.map → link.component-Cs05IsXP.js.map} +1 -1
- package/dist/chunks/menu.component-BgAx3SsR.js +2 -0
- package/dist/chunks/{menu.component-CiZzHc2D.js.map → menu.component-BgAx3SsR.js.map} +1 -1
- package/dist/chunks/{menu.component-D4gknsq1.js → menu.component-CAr2xdZY.js} +28 -28
- package/dist/chunks/{menu.component-D4gknsq1.js.map → menu.component-CAr2xdZY.js.map} +1 -1
- package/dist/chunks/modal.context-DSKLfsJK.js +12 -0
- package/dist/chunks/modal.context-DSKLfsJK.js.map +1 -0
- package/dist/chunks/modal.context-EJ67QNzq.js +2 -0
- package/dist/chunks/modal.context-EJ67QNzq.js.map +1 -0
- package/dist/chunks/{modal.types-BV8Eand2.js → modal.types-B7PDc2GJ.js} +6 -6
- package/dist/chunks/{modal.types-BV8Eand2.js.map → modal.types-B7PDc2GJ.js.map} +1 -1
- package/dist/chunks/modal.types-CtHJAyfq.js +2 -0
- package/dist/chunks/{modal.types-9-Bz6ybC.js.map → modal.types-CtHJAyfq.js.map} +1 -1
- package/dist/chunks/{pinInput.types-U7Tfj5It.js → pinInput.types-TfkrphC7.js} +17 -17
- package/dist/chunks/{pinInput.types-U7Tfj5It.js.map → pinInput.types-TfkrphC7.js.map} +1 -1
- package/dist/chunks/pinInput.types-a0_2OLBO.js +2 -0
- package/dist/chunks/{pinInput.types-B-RchRm_.js.map → pinInput.types-a0_2OLBO.js.map} +1 -1
- package/dist/chunks/portal-CtkZ5xTm.js +3087 -0
- package/dist/chunks/portal-CtkZ5xTm.js.map +1 -0
- package/dist/chunks/portal-kmAjRmaV.js +22 -0
- package/dist/chunks/portal-kmAjRmaV.js.map +1 -0
- package/dist/chunks/{radio.records-D7VFHW-s.js → radio.records-DBS_lqNe.js} +9 -9
- package/dist/chunks/{radio.records-D7VFHW-s.js.map → radio.records-DBS_lqNe.js.map} +1 -1
- package/dist/chunks/radio.records-zKzNxtns.js +2 -0
- package/dist/chunks/{radio.records-DLffZyeq.js.map → radio.records-zKzNxtns.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DVsMiHFI.js → radioGroup.component-DBLLIgCZ.js} +17 -17
- package/dist/chunks/{radioGroup.component-DVsMiHFI.js.map → radioGroup.component-DBLLIgCZ.js.map} +1 -1
- package/dist/chunks/radioGroup.component-fpo_KMOY.js +2 -0
- package/dist/chunks/{radioGroup.component-CZwrCppd.js.map → radioGroup.component-fpo_KMOY.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-1U-hoEpC.js → ratingDots.component-DG2nCpxT.js} +5 -5
- package/dist/chunks/{ratingDots.component-1U-hoEpC.js.map → ratingDots.component-DG2nCpxT.js.map} +1 -1
- package/dist/chunks/ratingDots.component-DJEDUD_9.js +2 -0
- package/dist/chunks/{ratingDots.component-qbroWQhZ.js.map → ratingDots.component-DJEDUD_9.js.map} +1 -1
- package/dist/chunks/render-strategy-C80bGq2n.js +2 -0
- package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-C80bGq2n.js.map} +1 -1
- package/dist/chunks/{render-strategy-C8hwN3bm.js → render-strategy-DN75XQJB.js} +2 -2
- package/dist/chunks/{render-strategy-C8hwN3bm.js.map → render-strategy-DN75XQJB.js.map} +1 -1
- package/dist/chunks/select.component-Bmop2_tX.js +2 -0
- package/dist/chunks/{select.component-C_Fs6Xeq.js.map → select.component-Bmop2_tX.js.map} +1 -1
- package/dist/chunks/{select.component-5vAzdrZa.js → select.component-DyXwbDeO.js} +46 -46
- package/dist/chunks/{select.component-5vAzdrZa.js.map → select.component-DyXwbDeO.js.map} +1 -1
- package/dist/chunks/{sortableList.component-BX3EvpRM.js → sortableList.component-CbZAQrKl.js} +4 -4
- package/dist/chunks/{sortableList.component-BX3EvpRM.js.map → sortableList.component-CbZAQrKl.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B_O-YB3I.js → sortableList.component-b2t_K7ho.js} +2 -2
- package/dist/chunks/{sortableList.component-B_O-YB3I.js.map → sortableList.component-b2t_K7ho.js.map} +1 -1
- package/dist/chunks/{spinner.component-lHj69hIF.js → spinner.component-B1vU-FCd.js} +4 -4
- package/dist/chunks/{spinner.component-lHj69hIF.js.map → spinner.component-B1vU-FCd.js.map} +1 -1
- package/dist/chunks/spinner.component-CjQb7JjK.js +2 -0
- package/dist/chunks/{spinner.component-CzhcJOwX.js.map → spinner.component-CjQb7JjK.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-BvHm6hKS.js → styledAvatar.types-D8VWyELN.js} +2 -2
- package/dist/chunks/{styledAvatar.types-BvHm6hKS.js.map → styledAvatar.types-D8VWyELN.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-B9SHiNfg.js → styledAvatar.types-DstfmllC.js} +2 -2
- package/dist/chunks/{styledAvatar.types-B9SHiNfg.js.map → styledAvatar.types-DstfmllC.js.map} +1 -1
- package/dist/chunks/switch.component-ARZzuYrq.js +2 -0
- package/dist/chunks/{switch.component-B3Gfgft9.js.map → switch.component-ARZzuYrq.js.map} +1 -1
- package/dist/chunks/{switch.component-DjOGsCIQ.js → switch.component-DO9fxk_-.js} +22 -22
- package/dist/chunks/{switch.component-DjOGsCIQ.js.map → switch.component-DO9fxk_-.js.map} +1 -1
- package/dist/chunks/{tabs.component-Ca9jVGv0.js → tabs.component-BWTDtLWN.js} +55 -55
- package/dist/chunks/{tabs.component-Ca9jVGv0.js.map → tabs.component-BWTDtLWN.js.map} +1 -1
- package/dist/chunks/tabs.component-DRpNF8p-.js +2 -0
- package/dist/chunks/{tabs.component-pl0kO5_M.js.map → tabs.component-DRpNF8p-.js.map} +1 -1
- package/dist/chunks/tagBlock.component-Bahf1v33.js +2 -0
- package/dist/chunks/{tagBlock.component-C2DAQrQE.js.map → tagBlock.component-Bahf1v33.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-CnPbyaGH.js → tagBlock.component-C3BrjwNJ.js} +16 -17
- package/dist/chunks/{tagBlock.component-CnPbyaGH.js.map → tagBlock.component-C3BrjwNJ.js.map} +1 -1
- package/dist/chunks/textInput.component-DDo9eUvp.js +2 -0
- package/dist/chunks/{textInput.component-D-galjwy.js.map → textInput.component-DDo9eUvp.js.map} +1 -1
- package/dist/chunks/{textInput.component-DXtEgbkr.js → textInput.component-LPGbDHwZ.js} +14 -14
- package/dist/chunks/{textInput.component-DXtEgbkr.js.map → textInput.component-LPGbDHwZ.js.map} +1 -1
- package/dist/chunks/textarea.component-5Ou5g_MJ.js +2 -0
- package/dist/chunks/{textarea.component-DmxMuMCU.js.map → textarea.component-5Ou5g_MJ.js.map} +1 -1
- package/dist/chunks/{textarea.component-Do0zHf-1.js → textarea.component-ClYqhTJX.js} +12 -12
- package/dist/chunks/{textarea.component-Do0zHf-1.js.map → textarea.component-ClYqhTJX.js.map} +1 -1
- package/dist/chunks/theme.provider-DWJTtjw5.js +26 -0
- package/dist/chunks/theme.provider-DWJTtjw5.js.map +1 -0
- package/dist/chunks/{theme.provider-Dj4pZ815.js → theme.provider-vZgSb-q5.js} +1827 -1699
- package/dist/chunks/theme.provider-vZgSb-q5.js.map +1 -0
- package/dist/chunks/{timePicker.component-DTs3MjOx.js → timePicker.component-AgnrqtFu.js} +4 -4
- package/dist/chunks/{timePicker.component-DTs3MjOx.js.map → timePicker.component-AgnrqtFu.js.map} +1 -1
- package/dist/chunks/{timePicker.component-CophNE3d.js → timePicker.component-Bx0fHgrN.js} +2 -2
- package/dist/chunks/{timePicker.component-CophNE3d.js.map → timePicker.component-Bx0fHgrN.js.map} +1 -1
- package/dist/chunks/{timeRange.component-C5wSyUiZ.js → timeRange.component-B3Nv-nLB.js} +2 -2
- package/dist/chunks/{timeRange.component-C5wSyUiZ.js.map → timeRange.component-B3Nv-nLB.js.map} +1 -1
- package/dist/chunks/{timeRange.component-C5dt8sZn.js → timeRange.component-C14RiUcS.js} +2 -2
- package/dist/chunks/{timeRange.component-C5dt8sZn.js.map → timeRange.component-C14RiUcS.js.map} +1 -1
- package/dist/chunks/timestamp.component-DEx0cUkA.js +2 -0
- package/dist/chunks/{timestamp.component-rTLrzBPA.js.map → timestamp.component-DEx0cUkA.js.map} +1 -1
- package/dist/chunks/timestamp.component-Kxi_bKp1.js +53 -0
- package/dist/chunks/{timestamp.component-BPU8bf7p.js.map → timestamp.component-Kxi_bKp1.js.map} +1 -1
- package/dist/chunks/toaster.records-CGym-iT-.js +2 -0
- package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-CGym-iT-.js.map} +1 -1
- package/dist/chunks/{toaster.records-BGfpUOVt.js → toaster.records-CKeu_PyD.js} +21 -22
- package/dist/chunks/{toaster.records-BGfpUOVt.js.map → toaster.records-CKeu_PyD.js.map} +1 -1
- package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-BeoK0Uyj.js} +2 -2
- package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-BeoK0Uyj.js.map} +1 -1
- package/dist/chunks/{typography.records-jnjWfTLS.js → typography.records-XkUlmiSk.js} +2 -2
- package/dist/chunks/{typography.records-jnjWfTLS.js.map → typography.records-XkUlmiSk.js.map} +1 -1
- package/dist/chunks/{use-field-context-B_G7Yziz.js → use-field-context-1gfMkjvo.js} +2 -2
- package/dist/chunks/{use-field-context-B_G7Yziz.js.map → use-field-context-1gfMkjvo.js.map} +1 -1
- package/dist/chunks/use-field-context-DnTe9gdc.js +2 -0
- package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-DnTe9gdc.js.map} +1 -1
- package/dist/chunks/{withFormControl-BDuV97Vb.js → withFormControl-DfqMqkSU.js} +39 -39
- package/dist/chunks/{withFormControl-BDuV97Vb.js.map → withFormControl-DfqMqkSU.js.map} +1 -1
- package/dist/chunks/withFormControl-kyGjRFza.js +2 -0
- package/dist/chunks/{withFormControl-DpytztWF.js.map → withFormControl-kyGjRFza.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/Button/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/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/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/Toast/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 +146 -147
- 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/Button/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/Icon/index.js +1 -1
- package/dist/esm/components/Link/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/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/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 +2 -2
- 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 +89 -92
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +111 -114
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +5 -6
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
- package/package.json +1 -1
- package/dist/chunks/alert.types-BvnpOwve.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js.map +0 -1
- package/dist/chunks/attr-sm10PXOd.js +0 -5
- package/dist/chunks/attr-sm10PXOd.js.map +0 -1
- package/dist/chunks/avatar.component-y7gTa1dV.js +0 -2
- package/dist/chunks/characterCounter.component-4T8NHb11.js +0 -2
- package/dist/chunks/checkbox.component-CFuJaYmY.js +0 -2
- package/dist/chunks/checkbox.records-B7refmmT.js +0 -2
- package/dist/chunks/conversationCard.component-CBrw3VnT.js +0 -2
- package/dist/chunks/datePicker.component-u52NQcza.js +0 -15
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +0 -2
- package/dist/chunks/group-Cv7AQw1b.js +0 -2
- package/dist/chunks/heading.component-BXcyhAEU.js +0 -12
- package/dist/chunks/heading.component-BXcyhAEU.js.map +0 -1
- package/dist/chunks/heading.component-ZD_UVarx.js +0 -2
- package/dist/chunks/heading.component-ZD_UVarx.js.map +0 -1
- package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
- package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
- package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
- package/dist/chunks/icon.component-C0e0UGBw.js +0 -2
- package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
- package/dist/chunks/icon.component-DGNCL1Yc.js +0 -42
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
- package/dist/chunks/index-BBZxmcrY.js +0 -2
- package/dist/chunks/index-BBZxmcrY.js.map +0 -1
- package/dist/chunks/index-BDnnTdaJ.js +0 -2
- package/dist/chunks/index-BGwwyukg.js +0 -2
- package/dist/chunks/index-BGwwyukg.js.map +0 -1
- package/dist/chunks/index-BNYygzo-.js +0 -376
- package/dist/chunks/index-BNYygzo-.js.map +0 -1
- package/dist/chunks/index-BYf7SZUC.js +0 -2
- package/dist/chunks/index-COoMV9Mh.js +0 -2
- package/dist/chunks/index-CYk-7wwG.js +0 -1018
- package/dist/chunks/index-CYk-7wwG.js.map +0 -1
- package/dist/chunks/index-CZ42b9rT.js +0 -3
- package/dist/chunks/index-CZ42b9rT.js.map +0 -1
- package/dist/chunks/index-CZz7hHWb.js +0 -2
- package/dist/chunks/index-CZz7hHWb.js.map +0 -1
- package/dist/chunks/index-DUHFrLMI.js +0 -389
- package/dist/chunks/index-DUHFrLMI.js.map +0 -1
- package/dist/chunks/index-Dyxhds_1.js +0 -2
- package/dist/chunks/index-MlhL0PDC.js +0 -2
- package/dist/chunks/index-UWtj4ULm.js +0 -8
- package/dist/chunks/index-ZaGEDS_0.js +0 -2
- package/dist/chunks/index-j7W9Hyzx.js +0 -322
- package/dist/chunks/index-j7W9Hyzx.js.map +0 -1
- package/dist/chunks/menu.component-CiZzHc2D.js +0 -2
- package/dist/chunks/modal.types-9-Bz6ybC.js +0 -2
- package/dist/chunks/pinInput.types-B-RchRm_.js +0 -2
- package/dist/chunks/popover-80QH8HEJ.js +0 -2
- package/dist/chunks/popover-80QH8HEJ.js.map +0 -1
- package/dist/chunks/popover-B9rNOU0g.js +0 -110
- package/dist/chunks/popover-B9rNOU0g.js.map +0 -1
- package/dist/chunks/popover-root-provider-CeLLpesI.js +0 -43
- package/dist/chunks/popover-root-provider-CeLLpesI.js.map +0 -1
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +0 -2
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +0 -1
- package/dist/chunks/popover.component-A8In7d2B.js +0 -2
- package/dist/chunks/popover.component-A8In7d2B.js.map +0 -1
- package/dist/chunks/popover.component-BR8W3Jb8.js +0 -322
- package/dist/chunks/popover.component-BR8W3Jb8.js.map +0 -1
- package/dist/chunks/popover.recipe--gMRcQTS.js +0 -479
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +0 -1
- package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
- package/dist/chunks/radio.records-DLffZyeq.js +0 -2
- package/dist/chunks/radioGroup.component-CZwrCppd.js +0 -2
- package/dist/chunks/ratingDots.component-qbroWQhZ.js +0 -2
- package/dist/chunks/render-strategy-BmWbSgqh.js +0 -2
- package/dist/chunks/select.component-C_Fs6Xeq.js +0 -2
- package/dist/chunks/spinner-BWqSIW6m.js +0 -8
- package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
- package/dist/chunks/spinner-BnpL14kK.js +0 -2
- package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
- package/dist/chunks/spinner.component-CzhcJOwX.js +0 -2
- package/dist/chunks/switch.component-B3Gfgft9.js +0 -2
- package/dist/chunks/tabs.component-pl0kO5_M.js +0 -2
- package/dist/chunks/tagBlock.component-C2DAQrQE.js +0 -2
- package/dist/chunks/text.component-CnnBhB3c.js +0 -2
- package/dist/chunks/text.component-CnnBhB3c.js.map +0 -1
- package/dist/chunks/text.component-Cpruo7MB.js +0 -12
- package/dist/chunks/text.component-Cpruo7MB.js.map +0 -1
- package/dist/chunks/textInput.component-D-galjwy.js +0 -2
- package/dist/chunks/textarea.component-DmxMuMCU.js +0 -2
- package/dist/chunks/theme.provider-CIJGn9Kh.js +0 -26
- package/dist/chunks/theme.provider-CIJGn9Kh.js.map +0 -1
- package/dist/chunks/theme.provider-Dj4pZ815.js.map +0 -1
- package/dist/chunks/timestamp.component-BPU8bf7p.js +0 -54
- package/dist/chunks/timestamp.component-rTLrzBPA.js +0 -2
- package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
- package/dist/chunks/tooltip.component-CwrXAVEq.js +0 -2
- package/dist/chunks/tooltip.component-CwrXAVEq.js.map +0 -1
- package/dist/chunks/tooltip.component-DgOzrNG3.js +0 -758
- package/dist/chunks/tooltip.component-DgOzrNG3.js.map +0 -1
- package/dist/chunks/typography-Cqrokog3.js.map +0 -1
- package/dist/chunks/typography-CtiaGoJG.js +0 -2
- package/dist/chunks/typography-CtiaGoJG.js.map +0 -1
- package/dist/chunks/use-field-context--wBJQY1R.js +0 -2
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +0 -22
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +0 -1
- package/dist/chunks/use-locale-context-D-agiW5E.js +0 -2301
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +0 -1
- package/dist/chunks/withFormControl-DpytztWF.js +0 -2
- package/dist/chunks/withTruncation-DPbMF-jg.js +0 -2
- package/dist/chunks/withTruncation-DPbMF-jg.js.map +0 -1
- package/dist/chunks/withTruncation-DoQriKuH.js +0 -67
- package/dist/chunks/withTruncation-DoQriKuH.js.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";const W=require("./jsx-runtime-BjDatQAs.js"),w=require("react"),g=require("./index-BlGAWSIX.js"),Xt=e=>e&&e.__esModule?e:{default:e},bt=Xt(w);var ve={exports:{}},_={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-dom.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var rt;function Jt(){if(rt)return _;rt=1;var e=bt.default;function t(u){var c="https://react.dev/errors/"+u;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)c+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+u+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function a(u,c,p){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:l==null?null:""+l,children:u,containerInfo:c,implementation:p}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(u,c){if(u==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}return _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,_.createPortal=function(u,c){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error(t(299));return a(u,c,null,p)},_.flushSync=function(u){var c=s.T,p=n.p;try{if(s.T=null,n.p=2,u)return u()}finally{s.T=c,n.p=p,n.d.f()}},_.preconnect=function(u,c){typeof u=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,n.d.C(u,c))},_.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},_.preinit=function(u,c){if(typeof u=="string"&&c&&typeof c.as=="string"){var p=c.as,l=f(p,c.crossOrigin),i=typeof c.integrity=="string"?c.integrity:void 0,d=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;p==="style"?n.d.S(u,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:l,integrity:i,fetchPriority:d}):p==="script"&&n.d.X(u,{crossOrigin:l,integrity:i,fetchPriority:d,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},_.preinitModule=function(u,c){if(typeof u=="string")if(typeof c=="object"&&c!==null){if(c.as==null||c.as==="script"){var p=f(c.as,c.crossOrigin);n.d.M(u,{crossOrigin:p,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})}}else c==null&&n.d.M(u)},_.preload=function(u,c){if(typeof u=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var p=c.as,l=f(p,c.crossOrigin);n.d.L(u,p,{crossOrigin:l,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},_.preloadModule=function(u,c){if(typeof u=="string")if(c){var p=f(c.as,c.crossOrigin);n.d.m(u,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:p,integrity:typeof c.integrity=="string"?c.integrity:void 0})}else n.d.m(u)},_.requestFormReset=function(u){n.d.r(u)},_.unstable_batchedUpdates=function(u,c){return u(c)},_.useFormState=function(u,c,p){return s.H.useFormState(u,c,p)},_.useFormStatus=function(){return s.H.useHostTransitionStatus()},_.version="19.1.0",_}var M={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-dom.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var ot;function Qt(){return ot||(ot=1,process.env.NODE_ENV!=="production"&&function(){function e(){}function t(l){return""+l}function r(l,i,d){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(h);var m=!1}catch{m=!0}return m&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object"),t(h)),{$$typeof:c,key:h==null?null:""+h,children:l,containerInfo:i,implementation:d}}function n(l,i){if(l==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}function o(l){return l===null?"`null`":l===void 0?"`undefined`":l===""?"an empty string":'something with type "'+typeof l+'"'}function a(l){return l===null?"`null`":l===void 0?"`undefined`":l===""?"an empty string":typeof l=="string"?JSON.stringify(l):typeof l=="number"?"`"+l+"`":'something with type "'+typeof l+'"'}function s(){var l=p.H;return l===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
18
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
19
|
+
2. You might be breaking the Rules of Hooks
|
|
20
|
+
3. You might have more than one copy of React in the same app
|
|
21
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=bt.default,u={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},c=Symbol.for("react.portal"),p=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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("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"),M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,M.createPortal=function(l,i){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error("Target container is not a DOM element.");return r(l,i,null,d)},M.flushSync=function(l){var i=p.T,d=u.p;try{if(p.T=null,u.p=2,l)return l()}finally{p.T=i,u.p=d,u.d.f()&&console.error("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.")}},M.preconnect=function(l,i){typeof l=="string"&&l?i!=null&&typeof i!="object"?console.error("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.",a(i)):i!=null&&typeof i.crossOrigin!="string"&&console.error("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.",o(i.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l)),typeof l=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,u.d.C(l,i))},M.prefetchDNS=function(l){if(typeof l!="string"||!l)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l));else if(1<arguments.length){var i=arguments[1];typeof i=="object"&&i.hasOwnProperty("crossOrigin")?console.error("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`.",a(i)):console.error("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`.",a(i))}typeof l=="string"&&u.d.D(l)},M.preinit=function(l,i){if(typeof l=="string"&&l?i==null||typeof i!="object"?console.error("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.",a(i)):i.as!=="style"&&i.as!=="script"&&console.error('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".',a(i.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l)),typeof l=="string"&&i&&typeof i.as=="string"){var d=i.as,h=n(d,i.crossOrigin),m=typeof i.integrity=="string"?i.integrity:void 0,y=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;d==="style"?u.d.S(l,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:h,integrity:m,fetchPriority:y}):d==="script"&&u.d.X(l,{crossOrigin:h,integrity:m,fetchPriority:y,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},M.preinitModule=function(l,i){var d="";if(typeof l=="string"&&l||(d+=" The `href` argument encountered was "+o(l)+"."),i!==void 0&&typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":i&&"as"in i&&i.as!=="script"&&(d+=" The `as` option encountered was "+a(i.as)+"."),d)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",d);else switch(d=i&&typeof i.as=="string"?i.as:"script",d){case"script":break;default:d=a(d),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',d,l)}typeof l=="string"&&(typeof i=="object"&&i!==null?(i.as==null||i.as==="script")&&(d=n(i.as,i.crossOrigin),u.d.M(l,{crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})):i==null&&u.d.M(l))},M.preload=function(l,i){var d="";if(typeof l=="string"&&l||(d+=" The `href` argument encountered was "+o(l)+"."),i==null||typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":typeof i.as=="string"&&i.as||(d+=" The `as` option encountered was "+o(i.as)+"."),d&&console.error('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',d),typeof l=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){d=i.as;var h=n(d,i.crossOrigin);u.d.L(l,d,{crossOrigin:h,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},M.preloadModule=function(l,i){var d="";typeof l=="string"&&l||(d+=" The `href` argument encountered was "+o(l)+"."),i!==void 0&&typeof i!="object"?d+=" The `options` argument encountered was "+o(i)+".":i&&"as"in i&&typeof i.as!="string"&&(d+=" The `as` option encountered was "+o(i.as)+"."),d&&console.error('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',d),typeof l=="string"&&(i?(d=n(i.as,i.crossOrigin),u.d.m(l,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0})):u.d.m(l))},M.requestFormReset=function(l){u.d.r(l)},M.unstable_batchedUpdates=function(l,i){return l(i)},M.useFormState=function(l,i,d){return s().useFormState(l,i,d)},M.useFormStatus=function(){return s().useHostTransitionStatus()},M.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),M}var it;function Zt(){if(it)return ve.exports;it=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),ve.exports=Jt()):ve.exports=Qt(),ve.exports}var he=Zt();function en(e){return new Proxy({},{get(t,r){return r==="style"?n=>e({style:n}).style:e}})}var He=()=>e=>Array.from(new Set(e)),xt=typeof globalThis.document<"u"?w.useLayoutEffect:w.useEffect;function Ee(e){const t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=w.useState(t),[o,a]=w.useState(n),s=e().value!==void 0,f=w.useRef(o);f.current=s?e().value:o;const u=w.useRef(f.current);xt(()=>{u.current=f.current},[o,e().value]);const c=l=>{const i=u.current,d=g.isFunction(l)?l(i):l;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:d,prev:i}),s||a(d),r(d,i)||e().onChange?.(d,i)};function p(){return s?e().value:o}return{initial:n,ref:f,get:p,set(l){(e().sync?he.flushSync:g.identity)(()=>c(l))},invoke(l,i){e().onChange?.(l,i)},hash(l){return e().hash?.(l)??String(l)}}}Ee.cleanup=e=>{w.useEffect(()=>e,[])};Ee.ref=e=>{const t=w.useRef(e);return{get:()=>t.current,set:r=>{t.current=r}}};function tn(e){const t=w.useRef(e);return{get(r){return t.current[r]},set(r,n){t.current[r]=n}}}var nn=(e,t)=>{const r=w.useRef(!1),n=w.useRef(!1);w.useEffect(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),w.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function Ge(e,t={}){const r=w.useMemo(()=>{const{id:b,ids:x,getRootNode:R}=t;return g.createScope({id:b,ids:x,getRootNode:R})},[t]),n=(...b)=>{e.debug&&console.log(...b)},o=e.props?.({props:g.compact(t),scope:r})??t,a=rn(o),s=e.context?.({prop:a,bindable:Ee,scope:r,flush:st,getContext(){return u},getComputed(){return T},getRefs(){return m}}),f=wt(s),u={get(b){return f.current?.[b].ref.current},set(b,x){f.current?.[b].set(x)},initial(b){return f.current?.[b].initial},hash(b){const x=f.current?.[b].get();return f.current?.[b].hash(x)}},c=w.useRef(new Map),p=w.useRef(null),l=w.useRef(null),i=w.useRef({type:""}),d=()=>({...i.current,current(){return i.current},previous(){return l.current}}),h=()=>({...S,matches(...b){return b.includes(S.ref.current)},hasTag(b){return!!e.states[S.ref.current]?.tags?.includes(b)}}),m=tn(e.refs?.({prop:a,context:u})??{}),y=()=>({state:h(),context:u,event:d(),prop:a,send:L,action:v,guard:O,track:nn,refs:m,computed:T,flush:st,scope:r,choose:N}),v=b=>{const x=g.isFunction(b)?b(y()):b;if(!x)return;const R=x.map(P=>{const A=e.implementations?.actions?.[P];return A||g.warn(`[zag-js] No implementation found for action "${JSON.stringify(P)}"`),A});for(const P of R)P?.(y())},O=b=>g.isFunction(b)?b(y()):e.implementations?.guards?.[b](y()),E=b=>{const x=g.isFunction(b)?b(y()):b;if(!x)return;const R=x.map(A=>{const F=e.implementations?.effects?.[A];return F||g.warn(`[zag-js] No implementation found for effect "${JSON.stringify(A)}"`),F}),P=[];for(const A of R){const F=A?.(y());F&&P.push(F)}return()=>P.forEach(A=>A?.())},N=b=>g.toArray(b).find(x=>{let R=!x.guard;return g.isString(x.guard)?R=!!O(x.guard):g.isFunction(x.guard)&&(R=x.guard(y())),R}),T=b=>{g.ensure(e.computed,()=>"[zag-js] No computed object found on machine");const x=e.computed[b];return x({context:u,event:d(),prop:a,refs:m,scope:r,computed:T})},S=Ee(()=>({defaultValue:e.initialState({prop:a}),onChange(b,x){x&&(c.current.get(x)?.(),c.current.delete(x)),x&&v(e.states[x]?.exit),v(p.current?.actions);const R=E(e.states[b]?.effects);if(R&&c.current.set(b,R),x===g.INIT_STATE){v(e.entry);const P=E(e.effects);P&&c.current.set(g.INIT_STATE,P)}v(e.states[b]?.entry)}})),D=w.useRef(void 0),k=w.useRef(g.MachineStatus.NotStarted);xt(()=>{queueMicrotask(()=>{const R=k.current===g.MachineStatus.Started;k.current=g.MachineStatus.Started,n(R?"rehydrating...":"initializing...");const P=D.current??S.initial;S.invoke(P,R?S.get():g.INIT_STATE)});const b=c.current,x=S.ref.current;return()=>{n("unmounting..."),D.current=x,k.current=g.MachineStatus.Stopped,b.forEach(R=>R?.()),c.current=new Map,p.current=null,queueMicrotask(()=>{v(e.exit)})}},[]);const $=()=>"ref"in S?S.ref.current:S.get(),L=b=>{queueMicrotask(()=>{if(k.current!==g.MachineStatus.Started)return;l.current=i.current,i.current=b,n("send",b);let x=$();const R=e.states[x].on?.[b.type]??e.on?.[b.type],P=N(R);if(!P)return;p.current=P;const A=P.target??x;n("transition",P);const F=A!==x;F?he.flushSync(()=>S.set(A)):P.reenter&&!F?S.invoke(x,x):v(P.actions??[])})};return e.watch?.(y()),{state:h(),send:L,context:u,prop:a,scope:r,refs:m,computed:T,event:d(),getStatus:()=>k.current}}function wt(e){const t=w.useRef(e);return t.current=e,t}function rn(e){const t=wt(e);return function(n){return t.current[n]}}function st(e){queueMicrotask(()=>{he.flushSync(()=>e())})}var Ot=en(e=>e);function Ue(...e){return t=>{const r=[];for(const n of e)if(typeof n=="function"){const o=n(t);typeof o=="function"&&r.push(o)}else n&&(n.current=t);if(r.length)return()=>{for(const n of r)n()}}}function on(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;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)}const De=e=>{const t=w.memo(w.forwardRef((r,n)=>{const{asChild:o,children:a,...s}=r;if(!o)return w.createElement(e,{...s,ref:n},a);const f=w.Children.only(a);if(!w.isValidElement(f))return null;const u=on(f);return w.cloneElement(f,{...g.mergeProps(s,f.props),ref:n?Ue(n,u):u})}));return t.displayName=e.displayName||e.name,t},sn=()=>{const e=new Map;return new Proxy(De,{apply(t,r,n){return De(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,De(n)),e.get(n)}})},We=sn();function an(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function me(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:a,defaultValue:s}=e,f=w.createContext(s);f.displayName=t;function u(){const c=w.useContext(f);if(!c&&r){const p=new Error(a??an(n,o));throw p.name="ContextError",Error.captureStackTrace?.(p,u),p}return c}return[f.Provider,u,f]}const[Et,Re]=me({name:"PopoverContext",hookName:"usePopoverContext",providerName:"<PopoverProvider />"}),Pt=w.forwardRef((e,t)=>{const r=Re(),n=g.mergeProps(r.getCloseTriggerProps(),e);return W.jsxRuntimeExports.jsx(We.button,{...n,ref:t})});Pt.displayName="PopoverCloseTrigger";const[ze,Tt]=me({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),Nt=w.forwardRef((e,t)=>{const r=Re(),n=Tt(),o=g.mergeProps(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:W.jsxRuntimeExports.jsx(We.div,{...o,ref:Ue(n.ref,t)})});Nt.displayName="PopoverContent";const cn=e=>e.children(Re()),Rt=()=>(e,t)=>t.reduce((r,n)=>{const[o,a]=r,s=n;return a[s]!==void 0&&(o[s]=a[s]),delete a[s],[o,a]},[{},{...e}]),Ke=e=>Rt()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function ln(e,t){const{state:r,send:n,context:o}=e,a=r.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:a,setNode(s){s&&n({type:"NODE.SET",node:s})},unmount(){n({type:"UNMOUNT"})}}}var un=g.createMachine({props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,action:t,prop:r}){e([()=>r("present")],()=>{t(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:t})=>{e.set("node",t.node)},setStyles:({refs:e,event:t})=>{e.set("styles",g.getComputedStyle(t.node))},syncPresence:({context:e,refs:t,send:r,prop:n})=>{const o=n("present");if(o)return r({type:"MOUNT",src:"presence.changed"});const a=t.get("node");if(!o&&a?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});g.raf(()=>{const s=be(t.get("styles"));e.set("unmountAnimationName",s),s==="none"||s===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{g.raf(()=>{e.set("prevAnimationName",be(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r})=>{const n=t.get("node");if(!n)return;const o=f=>{(f.composedPath?.()?.[0]??f.target)===n&&e.set("prevAnimationName",be(t.get("styles")))},a=f=>{const u=be(t.get("styles"));g.getEventTarget(f)===n&&u===e.get("unmountAnimationName")&&r({type:"UNMOUNT",src:"animationend"})};n.addEventListener("animationstart",o),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a);const s=g.setStyle(n,{animationFillMode:"forwards"});return()=>{n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a),g.nextTick(()=>s())}}}}});function be(e){return e?.animationName||"none"}He()(["onExitComplete","present","immediate"]);function St(e,t={}){const{sync:r=!1}=t,n=fn(e);return w.useCallback((...o)=>r?queueMicrotask(()=>n.current?.(...o)):n.current?.(...o),[r,n])}function fn(e){const t=w.useRef(e);return t.current=e,t}const qe=(e={})=>{const{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:o=!1,...a}=e,s=w.useRef(!1),f={...a,present:n,onExitComplete:St(e.onExitComplete)},u=Ge(un,f),c=ln(u);c.present&&(s.current=!0);const p=!c.present&&!s.current&&t||r&&!c.present&&s.current,l=()=>({"data-state":c.skip&&o?void 0:n?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:l,present:c.present,unmounted:p}},dn=["top","right","bottom","left"],ee=Math.min,I=Math.max,Pe=Math.round,xe=Math.floor,K=e=>({x:e,y:e}),pn={left:"right",right:"left",bottom:"top",top:"bottom"},gn={start:"end",end:"start"};function ke(e,t,r){return I(e,ee(t,r))}function J(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function ce(e){return e.split("-")[1]}function Ye(e){return e==="x"?"y":"x"}function Xe(e){return e==="y"?"height":"width"}function z(e){return["top","bottom"].includes(Q(e))?"y":"x"}function Je(e){return Ye(z(e))}function hn(e,t,r){r===void 0&&(r=!1);const n=ce(e),o=Je(e),a=Xe(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Te(s)),[s,Te(s)]}function mn(e){const t=Te(e);return[Le(e),t,Le(t)]}function Le(e){return e.replace(/start|end/g,t=>gn[t])}function yn(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function vn(e,t,r,n){const o=ce(e);let a=yn(Q(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Le)))),a}function Te(e){return e.replace(/left|right|bottom|top/g,t=>pn[t])}function bn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ct(e){return typeof e!="number"?bn(e):{top:e,right:e,bottom:e,left:e}}function Ne(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function at(e,t,r){let{reference:n,floating:o}=e;const a=z(t),s=Je(t),f=Xe(s),u=Q(t),c=a==="y",p=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2,i=n[f]/2-o[f]/2;let d;switch(u){case"top":d={x:p,y:n.y-o.height};break;case"bottom":d={x:p,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:l};break;case"left":d={x:n.x-o.width,y:l};break;default:d={x:n.x,y:n.y}}switch(ce(t)){case"start":d[s]-=i*(r&&c?-1:1);break;case"end":d[s]+=i*(r&&c?-1:1);break}return d}const xn=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,f=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:l}=at(c,n,u),i=n,d={},h=0;for(let m=0;m<f.length;m++){const{name:y,fn:v}=f[m],{x:O,y:E,data:N,reset:T}=await v({x:p,y:l,initialPlacement:n,placement:i,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:e,floating:t}});p=O??p,l=E??l,d={...d,[y]:{...d[y],...N}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(i=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:p,y:l}=at(c,i,u)),m=-1)}return{x:p,y:l,placement:i,strategy:o,middlewareData:d}};async function pe(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:s,elements:f,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:l="floating",altBoundary:i=!1,padding:d=0}=J(t,e),h=Ct(d),y=f[i?l==="floating"?"reference":"floating":l],v=Ne(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(y)))==null||r?y:y.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)),boundary:c,rootBoundary:p,strategy:u})),O=l==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)),N=await(a.isElement==null?void 0:a.isElement(E))?await(a.getScale==null?void 0:a.getScale(E))||{x:1,y:1}:{x:1,y:1},T=Ne(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:O,offsetParent:E,strategy:u}):O);return{top:(v.top-T.top+h.top)/N.y,bottom:(T.bottom-v.bottom+h.bottom)/N.y,left:(v.left-T.left+h.left)/N.x,right:(T.right-v.right+h.right)/N.x}}const wn=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:s,elements:f,middlewareData:u}=t,{element:c,padding:p=0}=J(e,t)||{};if(c==null)return{};const l=Ct(p),i={x:r,y:n},d=Je(o),h=Xe(d),m=await s.getDimensions(c),y=d==="y",v=y?"top":"left",O=y?"bottom":"right",E=y?"clientHeight":"clientWidth",N=a.reference[h]+a.reference[d]-i[d]-a.floating[h],T=i[d]-a.reference[d],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let D=S?S[E]:0;(!D||!await(s.isElement==null?void 0:s.isElement(S)))&&(D=f.floating[E]||a.floating[h]);const k=N/2-T/2,$=D/2-m[h]/2-1,L=ee(l[v],$),b=ee(l[O],$),x=L,R=D-m[h]-b,P=D/2-m[h]/2+k,A=ke(x,P,R),F=!u.arrow&&ce(o)!=null&&P!==A&&a.reference[h]/2-(P<x?L:b)-m[h]/2<0,V=F?P<x?P-x:P-R:0;return{[d]:i[d]+V,data:{[d]:A,centerOffset:P-A-V,...F&&{alignmentOffset:V}},reset:F}}}),On=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:s,initialPlacement:f,platform:u,elements:c}=t,{mainAxis:p=!0,crossAxis:l=!0,fallbackPlacements:i,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...y}=J(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const v=Q(o),O=z(f),E=Q(f)===f,N=await(u.isRTL==null?void 0:u.isRTL(c.floating)),T=i||(E||!m?[Te(f)]:mn(f)),S=h!=="none";!i&&S&&T.push(...vn(f,m,h,N));const D=[f,...T],k=await pe(t,y),$=[];let L=((n=a.flip)==null?void 0:n.overflows)||[];if(p&&$.push(k[v]),l){const P=hn(o,s,N);$.push(k[P[0]],k[P[1]])}if(L=[...L,{placement:o,overflows:$}],!$.every(P=>P<=0)){var b,x;const P=(((b=a.flip)==null?void 0:b.index)||0)+1,A=D[P];if(A&&(!(l==="alignment"?O!==z(A):!1)||L.every(j=>j.overflows[0]>0&&z(j.placement)===O)))return{data:{index:P,overflows:L},reset:{placement:A}};let F=(x=L.filter(V=>V.overflows[0]<=0).sort((V,j)=>V.overflows[1]-j.overflows[1])[0])==null?void 0:x.placement;if(!F)switch(d){case"bestFit":{var R;const V=(R=L.filter(j=>{if(S){const Z=z(j.placement);return Z===O||Z==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(Z=>Z>0).reduce((Z,Yt)=>Z+Yt,0)]).sort((j,Z)=>j[1]-Z[1])[0])==null?void 0:R[0];V&&(F=V);break}case"initialPlacement":F=f;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function ct(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function lt(e){return dn.some(t=>e[t]>=0)}const En=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=J(e,t);switch(n){case"referenceHidden":{const a=await pe(t,{...o,elementContext:"reference"}),s=ct(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:lt(s)}}}case"escaped":{const a=await pe(t,{...o,altBoundary:!0}),s=ct(a,r.floating);return{data:{escapedOffsets:s,escaped:lt(s)}}}default:return{}}}}};async function Pn(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Q(r),f=ce(r),u=z(r)==="y",c=["left","top"].includes(s)?-1:1,p=a&&u?-1:1,l=J(t,e);let{mainAxis:i,crossAxis:d,alignmentAxis:h}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return f&&typeof h=="number"&&(d=f==="end"?h*-1:h),u?{x:d*p,y:i*c}:{x:i*c,y:d*p}}const Tn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:s,middlewareData:f}=t,u=await Pn(t,e);return s===((r=f.offset)==null?void 0:r.placement)&&(n=f.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:s}}}}},Nn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:y=>{let{x:v,y:O}=y;return{x:v,y:O}}},...u}=J(e,t),c={x:r,y:n},p=await pe(t,u),l=z(Q(o)),i=Ye(l);let d=c[i],h=c[l];if(a){const y=i==="y"?"top":"left",v=i==="y"?"bottom":"right",O=d+p[y],E=d-p[v];d=ke(O,d,E)}if(s){const y=l==="y"?"top":"left",v=l==="y"?"bottom":"right",O=h+p[y],E=h-p[v];h=ke(O,h,E)}const m=f.fn({...t,[i]:d,[l]:h});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[i]:a,[l]:s}}}}}},Rn=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:f=0,mainAxis:u=!0,crossAxis:c=!0}=J(e,t),p={x:r,y:n},l=z(o),i=Ye(l);let d=p[i],h=p[l];const m=J(f,t),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const E=i==="y"?"height":"width",N=a.reference[i]-a.floating[E]+y.mainAxis,T=a.reference[i]+a.reference[E]-y.mainAxis;d<N?d=N:d>T&&(d=T)}if(c){var v,O;const E=i==="y"?"width":"height",N=["top","left"].includes(Q(o)),T=a.reference[l]-a.floating[E]+(N&&((v=s.offset)==null?void 0:v[l])||0)+(N?0:y.crossAxis),S=a.reference[l]+a.reference[E]+(N?0:((O=s.offset)==null?void 0:O[l])||0)-(N?y.crossAxis:0);h<T?h=T:h>S&&(h=S)}return{[i]:d,[l]:h}}}},Sn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:a,platform:s,elements:f}=t,{apply:u=()=>{},...c}=J(e,t),p=await pe(t,c),l=Q(o),i=ce(o),d=z(o)==="y",{width:h,height:m}=a.floating;let y,v;l==="top"||l==="bottom"?(y=l,v=i===(await(s.isRTL==null?void 0:s.isRTL(f.floating))?"start":"end")?"left":"right"):(v=l,y=i==="end"?"top":"bottom");const O=m-p.top-p.bottom,E=h-p.left-p.right,N=ee(m-p[y],O),T=ee(h-p[v],E),S=!t.middlewareData.shift;let D=N,k=T;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(k=E),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(D=O),S&&!i){const L=I(p.left,0),b=I(p.right,0),x=I(p.top,0),R=I(p.bottom,0);d?k=h-2*(L!==0||b!==0?L+b:I(p.left,p.right)):D=m-2*(x!==0||R!==0?x+R:I(p.top,p.bottom))}await u({...t,availableWidth:k,availableHeight:D});const $=await s.getDimensions(f.floating);return h!==$.width||m!==$.height?{reset:{rects:!0}}:{}}}};function Se(){return typeof window<"u"}function le(e){return At(e)?(e.nodeName||"").toLowerCase():"#document"}function B(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Y(e){var t;return(t=(At(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function At(e){return Se()?e instanceof Node||e instanceof B(e).Node:!1}function H(e){return Se()?e instanceof Element||e instanceof B(e).Element:!1}function q(e){return Se()?e instanceof HTMLElement||e instanceof B(e).HTMLElement:!1}function ut(e){return!Se()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof B(e).ShadowRoot}function ye(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Cn(e){return["table","td","th"].includes(le(e))}function Ce(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Qe(e){const t=Ze(),r=H(e)?G(e):e;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))}function An(e){let t=te(e);for(;q(t)&&!ae(t);){if(Qe(t))return t;if(Ce(t))return null;t=te(t)}return null}function Ze(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ae(e){return["html","body","#document"].includes(le(e))}function G(e){return B(e).getComputedStyle(e)}function Ae(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function te(e){if(le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ut(e)&&e.host||Y(e);return ut(t)?t.host:t}function Dt(e){const t=te(e);return ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:q(t)&&ye(t)?t:Dt(t)}function ge(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Dt(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=B(o);if(a){const f=Ie(s);return t.concat(s,s.visualViewport||[],ye(o)?o:[],f&&r?ge(f):[])}return t.concat(o,ge(o,[],r))}function Ie(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ft(e){const t=G(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=q(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,f=Pe(r)!==a||Pe(n)!==s;return f&&(r=a,n=s),{width:r,height:n,$:f}}function et(e){return H(e)?e:e.contextElement}function se(e){const t=et(e);if(!q(t))return K(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=Ft(t);let s=(a?Pe(r.width):r.width)/n,f=(a?Pe(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!f||!Number.isFinite(f))&&(f=1),{x:s,y:f}}const Dn=K(0);function _t(e){const t=B(e);return!Ze()||!t.visualViewport?Dn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Fn(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==B(e)?!1:t}function ne(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=et(e);let s=K(1);t&&(n?H(n)&&(s=se(n)):s=se(e));const f=Fn(a,r,n)?_t(a):K(0);let u=(o.left+f.x)/s.x,c=(o.top+f.y)/s.y,p=o.width/s.x,l=o.height/s.y;if(a){const i=B(a),d=n&&H(n)?B(n):n;let h=i,m=Ie(h);for(;m&&n&&d!==h;){const y=se(m),v=m.getBoundingClientRect(),O=G(m),E=v.left+(m.clientLeft+parseFloat(O.paddingLeft))*y.x,N=v.top+(m.clientTop+parseFloat(O.paddingTop))*y.y;u*=y.x,c*=y.y,p*=y.x,l*=y.y,u+=E,c+=N,h=B(m),m=Ie(h)}}return Ne({width:p,height:l,x:u,y:c})}function tt(e,t){const r=Ae(e).scrollLeft;return t?t.left+r:ne(Y(e)).left+r}function Mt(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:tt(e,n)),a=n.top+t.scrollTop;return{x:o,y:a}}function _n(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a=o==="fixed",s=Y(n),f=t?Ce(t.floating):!1;if(n===s||f&&a)return r;let u={scrollLeft:0,scrollTop:0},c=K(1);const p=K(0),l=q(n);if((l||!l&&!a)&&((le(n)!=="body"||ye(s))&&(u=Ae(n)),q(n))){const d=ne(n);c=se(n),p.x=d.x+n.clientLeft,p.y=d.y+n.clientTop}const i=s&&!l&&!a?Mt(s,u,!0):K(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+p.x+i.x,y:r.y*c.y-u.scrollTop*c.y+p.y+i.y}}function Mn(e){return Array.from(e.getClientRects())}function kn(e){const t=Y(e),r=Ae(e),n=e.ownerDocument.body,o=I(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=I(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+tt(e);const f=-r.scrollTop;return G(n).direction==="rtl"&&(s+=I(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:f}}function Ln(e,t){const r=B(e),n=Y(e),o=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,f=0,u=0;if(o){a=o.width,s=o.height;const c=Ze();(!c||c&&t==="fixed")&&(f=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:f,y:u}}function In(e,t){const r=ne(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=q(e)?se(e):K(1),s=e.clientWidth*a.x,f=e.clientHeight*a.y,u=o*a.x,c=n*a.y;return{width:s,height:f,x:u,y:c}}function ft(e,t,r){let n;if(t==="viewport")n=Ln(e,r);else if(t==="document")n=kn(Y(e));else if(H(t))n=In(t,r);else{const o=_t(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ne(n)}function kt(e,t){const r=te(e);return r===t||!H(r)||ae(r)?!1:G(r).position==="fixed"||kt(r,t)}function Bn(e,t){const r=t.get(e);if(r)return r;let n=ge(e,[],!1).filter(f=>H(f)&&le(f)!=="body"),o=null;const a=G(e).position==="fixed";let s=a?te(e):e;for(;H(s)&&!ae(s);){const f=G(s),u=Qe(s);!u&&f.position==="fixed"&&(o=null),(a?!u&&!o:!u&&f.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ye(s)&&!u&&kt(e,s))?n=n.filter(p=>p!==s):o=f,s=te(s)}return t.set(e,n),n}function $n(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Ce(t)?[]:Bn(t,this._c):[].concat(r),n],f=s[0],u=s.reduce((c,p)=>{const l=ft(t,p,o);return c.top=I(l.top,c.top),c.right=ee(l.right,c.right),c.bottom=ee(l.bottom,c.bottom),c.left=I(l.left,c.left),c},ft(t,f,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Vn(e){const{width:t,height:r}=Ft(e);return{width:t,height:r}}function jn(e,t,r){const n=q(t),o=Y(t),a=r==="fixed",s=ne(e,!0,a,t);let f={scrollLeft:0,scrollTop:0};const u=K(0);if(n||!n&&!a)if((le(t)!=="body"||ye(o))&&(f=Ae(t)),n){const i=ne(t,!0,a,t);u.x=i.x+t.clientLeft,u.y=i.y+t.clientTop}else o&&(u.x=tt(o));const c=o&&!n&&!a?Mt(o,f):K(0),p=s.left+f.scrollLeft-u.x-c.x,l=s.top+f.scrollTop-u.y-c.y;return{x:p,y:l,width:s.width,height:s.height}}function Fe(e){return G(e).position==="static"}function dt(e,t){if(!q(e)||G(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Y(e)===r&&(r=r.ownerDocument.body),r}function Lt(e,t){const r=B(e);if(Ce(e))return r;if(!q(e)){let o=te(e);for(;o&&!ae(o);){if(H(o)&&!Fe(o))return o;o=te(o)}return r}let n=dt(e,t);for(;n&&Cn(n)&&Fe(n);)n=dt(n,t);return n&&ae(n)&&Fe(n)&&!Qe(n)?r:n||An(e)||r}const Hn=async function(e){const t=this.getOffsetParent||Lt,r=this.getDimensions,n=await r(e.floating);return{reference:jn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Gn(e){return G(e).direction==="rtl"}const Un={convertOffsetParentRelativeRectToViewportRelativeRect:_n,getDocumentElement:Y,getClippingRect:$n,getOffsetParent:Lt,getElementRects:Hn,getClientRects:Mn,getDimensions:Vn,getScale:se,isElement:H,isRTL:Gn};function It(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wn(e,t){let r=null,n;const o=Y(e);function a(){var f;clearTimeout(n),(f=r)==null||f.disconnect(),r=null}function s(f,u){f===void 0&&(f=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:p,top:l,width:i,height:d}=c;if(f||t(),!i||!d)return;const h=xe(l),m=xe(o.clientWidth-(p+i)),y=xe(o.clientHeight-(l+d)),v=xe(p),E={rootMargin:-h+"px "+-m+"px "+-y+"px "+-v+"px",threshold:I(0,ee(1,u))||1};let N=!0;function T(S){const D=S[0].intersectionRatio;if(D!==u){if(!N)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}D===1&&!It(c,e.getBoundingClientRect())&&s(),N=!1}try{r=new IntersectionObserver(T,{...E,root:o.ownerDocument})}catch{r=new IntersectionObserver(T,E)}r.observe(e)}return s(!0),a}function zn(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=et(e),p=o||a?[...c?ge(c):[],...ge(t)]:[];p.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),a&&v.addEventListener("resize",r)});const l=c&&f?Wn(c,r):null;let i=-1,d=null;s&&(d=new ResizeObserver(v=>{let[O]=v;O&&O.target===c&&d&&(d.unobserve(t),cancelAnimationFrame(i),i=requestAnimationFrame(()=>{var E;(E=d)==null||E.observe(t)})),r()}),c&&!u&&d.observe(c),d.observe(t));let h,m=u?ne(e):null;u&&y();function y(){const v=ne(e);m&&!It(m,v)&&r(),m=v,h=requestAnimationFrame(y)}return r(),()=>{var v;p.forEach(O=>{o&&O.removeEventListener("scroll",r),a&&O.removeEventListener("resize",r)}),l?.(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(h)}}const Kn=Tn,qn=Nn,Yn=On,Xn=Sn,Jn=En,Qn=wn,Zn=Rn,er=(e,t,r)=>{const n=new Map,o={platform:Un,...r},a={...o.platform,_c:n};return xn(e,t,{...o,platform:a})};function pt(e=0,t=0,r=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,r,n);const o={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...o,toJSON:()=>o}}function tr(e){if(!e)return pt();const{x:t,y:r,width:n,height:o}=e;return pt(t,r,n,o)}function nr(e,t){return{contextElement:g.isHTMLElement(e)?e:void 0,getBoundingClientRect:()=>{const r=e,n=t?.(r);return n||!r?tr(n):r.getBoundingClientRect()}}}var ue=e=>({variable:e,reference:`var(${e})`}),X={arrowSize:ue("--arrow-size"),arrowSizeHalf:ue("--arrow-size-half"),arrowBg:ue("--arrow-background"),transformOrigin:ue("--transform-origin"),arrowOffset:ue("--arrow-offset")},rr=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),or={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:r}){const{arrow:n}=r,o=rr(n)[e],{floating:a}=t;return a.style.setProperty(X.transformOrigin.variable,o),{data:{transformOrigin:o}}}},ir={name:"rects",fn({rects:e}){return{data:e}}},sr=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};const{x:n,y:o}=r.arrow,a=t.split("-")[0];return Object.assign(e.style,{left:n!=null?`${n}px`:"",top:o!=null?`${o}px`:"",[a]:`calc(100% + ${X.arrowOffset.reference})`}),{}}}};function ar(e){const[t,r]=e.split("-");return{side:t,align:r,hasAlign:r!=null}}function cr(e){return e.split("-")[0]}var lr={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function gt(e,t){const r=e.devicePixelRatio||1;return Math.round(t*r)/r}function Bt(e){return g.runIfFn(e.boundary)}function ur(e,t){if(e)return Qn({element:e,padding:t.arrowPadding})}function fr(e,t){if(!g.isNull(t.offset??t.gutter))return Kn(({placement:r})=>{const n=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,a=typeof o=="number"?o+n:o??n,{hasAlign:s}=ar(r),f=s?void 0:t.shift,u=t.offset?.crossAxis??f;return g.compact({crossAxis:u,mainAxis:a,alignmentAxis:t.shift})})}function dr(e){if(e.flip)return Yn({boundary:Bt(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function pr(e){if(!(!e.slide&&!e.overlap))return qn({boundary:Bt(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Zn()})}function gr(e){return Xn({padding:e.overflowPadding,apply({elements:t,rects:r,availableHeight:n,availableWidth:o}){const a=t.floating,s=Math.round(r.reference.width);o=Math.floor(o),n=Math.floor(n),a.style.setProperty("--reference-width",`${s}px`),a.style.setProperty("--available-width",`${o}px`),a.style.setProperty("--available-height",`${n}px`)}})}function hr(e){if(e.hideWhenDetached)return Jn({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function mr(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function yr(e,t,r={}){const n=nr(e,r.getAnchorRect);if(!t||!n)return;const o=Object.assign({},lr,r),a=t.querySelector("[data-part=arrow]"),s=[fr(a,o),dr(o),pr(o),ur(a,o),sr(a),or,gr(o),hr(o),ir],{placement:f,strategy:u,onComplete:c,onPositioned:p}=o,l=async()=>{if(!n||!t)return;const m=await er(n,t,{placement:f,middleware:s,strategy:u});c?.(m),p?.({placed:!0});const y=g.getWindow(t),v=gt(y,m.x),O=gt(y,m.y);t.style.setProperty("--x",`${v}px`),t.style.setProperty("--y",`${O}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")));const E=t.firstElementChild;if(E){const N=g.getComputedStyle(E);t.style.setProperty("--z-index",N.zIndex)}},i=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:l}),p?.({placed:!0})):await l()},d=mr(o.listeners),h=o.listeners?zn(n,t,i,d):g.noop;return i(),()=>{h?.(),p?.({placed:!1})}}function Be(e,t,r={}){const{defer:n,...o}=r,a=n?g.raf:f=>f(),s=[];return s.push(a(()=>{const f=typeof e=="function"?e():e,u=typeof t=="function"?t():t;s.push(yr(f,u,o))})),()=>{s.forEach(f=>f?.())}}var vr={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function $t(e={}){const{placement:t,sameWidth:r,fitViewport:n,strategy:o="absolute"}=e;return{arrow:{position:"absolute",width:X.arrowSize.reference,height:X.arrowSize.reference,[X.arrowSizeHalf.variable]:`calc(${X.arrowSize.reference} / 2)`,[X.arrowOffset.variable]:`calc(${X.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?vr[t.split("-")[0]]:void 0,background:X.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:o,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var re=new WeakMap,we=new WeakMap,Oe={},_e=0,Vt=e=>e&&(e.host||Vt(e.parentNode)),br=(e,t)=>t.map(r=>{if(e.contains(r))return r;const n=Vt(r);return n&&e.contains(n)?n:(console.error("[zag-js > ariaHidden] target",r,"in not contained inside",e,". Doing nothing"),null)}).filter(r=>!!r),xr=e=>e.localName==="next-route-announcer"||e.localName==="script"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),wr=(e,t)=>{const{parentNode:r,markerName:n,controlAttribute:o}=t,a=br(r,Array.isArray(e)?e:[e]);Oe[n]||(Oe[n]=new WeakMap);const s=Oe[n],f=[],u=new Set,c=new Set(a),p=i=>{!i||u.has(i)||(u.add(i),p(i.parentNode))};a.forEach(p);const l=i=>{!i||c.has(i)||Array.prototype.forEach.call(i.children,d=>{if(u.has(d))l(d);else try{if(xr(d))return;const m=d.getAttribute(o)==="true",y=(re.get(d)||0)+1,v=(s.get(d)||0)+1;re.set(d,y),s.set(d,v),f.push(d),y===1&&m&&we.set(d,!0),v===1&&d.setAttribute(n,""),m||d.setAttribute(o,"true")}catch(h){console.error("[zag-js > ariaHidden] cannot operate on ",d,h)}})};return l(r),u.clear(),_e++,()=>{f.forEach(i=>{const d=re.get(i)-1,h=s.get(i)-1;re.set(i,d),s.set(i,h),d||(we.has(i)||i.removeAttribute(o),we.delete(i)),h||i.removeAttribute(n)}),_e--,_e||(re=new WeakMap,re=new WeakMap,we=new WeakMap,Oe={})}},Or=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,Er=(e,t=Or(e),r="data-aria-hidden")=>{if(t)return wr(e,{parentNode:t,markerName:r,controlAttribute:"aria-hidden"})},Pr=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function jt(e,t={}){const{defer:r=!0}=t,n=r?Pr:a=>a(),o=[];return o.push(n(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(Er(s))})),()=>{o.forEach(a=>a?.())}}var Tr=Object.defineProperty,Nr=(e,t,r)=>t in e?Tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,C=(e,t,r)=>Nr(e,typeof t!="symbol"?t+"":t,r),ht={activateTrap(e,t){if(e.length>0){const n=e[e.length-1];n!==t&&n.pause()}const r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Rr=[],Sr=class{constructor(e,t){C(this,"trapStack"),C(this,"config"),C(this,"doc"),C(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),C(this,"listenerCleanups",[]),C(this,"handleFocus",n=>{const o=g.getEventTarget(n),a=this.findContainerIndex(o,n)>=0;if(a||g.isDocument(o))a&&(this.state.mostRecentlyFocusedNode=o);else{n.stopImmediatePropagation();let s,f=!0;if(this.state.mostRecentlyFocusedNode)if(g.getTabIndex(this.state.mostRecentlyFocusedNode)>0){const u=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:c}=this.state.containerGroups[u];if(c.length>0){const p=c.findIndex(l=>l===this.state.mostRecentlyFocusedNode);p>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?p+1<c.length&&(s=c[p+1],f=!1):p-1>=0&&(s=c[p-1],f=!1))}}else this.state.containerGroups.some(u=>u.tabbableNodes.some(c=>g.getTabIndex(c)>0))||(f=!1);else f=!1;f&&(s=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),s?this.tryFocus(s):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),C(this,"handlePointerDown",n=>{const o=g.getEventTarget(n);if(!(this.findContainerIndex(o,n)>=0)){if(de(this.config.clickOutsideDeactivates,n)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}de(this.config.allowOutsideClick,n)||n.preventDefault()}}),C(this,"handleClick",n=>{const o=g.getEventTarget(n);this.findContainerIndex(o,n)>=0||de(this.config.clickOutsideDeactivates,n)||de(this.config.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())}),C(this,"handleTabKey",n=>{if(this.config.isKeyForward(n)||this.config.isKeyBackward(n)){this.state.recentNavEvent=n;const o=this.config.isKeyBackward(n),a=this.findNextNavNode({event:n,isBackward:o});if(!a)return;fe(n)&&n.preventDefault(),this.tryFocus(a)}}),C(this,"handleEscapeKey",n=>{Cr(n)&&de(this.config.escapeDeactivates,n)!==!1&&(n.preventDefault(),this.deactivate())}),C(this,"_mutationObserver"),C(this,"setupMutationObserver",()=>{const n=this.doc.defaultView||window;this._mutationObserver=new n.MutationObserver(o=>{o.some(s=>Array.from(s.removedNodes).some(u=>u===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),C(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(n=>{this._mutationObserver?.observe(n,{subtree:!0,childList:!0})})}),C(this,"getInitialFocusNode",()=>{let n=this.getNodeForOption("initialFocus",{hasFallback:!0});if(n===!1)return!1;if(n===void 0||n&&!g.isFocusable(n))if(this.findContainerIndex(this.doc.activeElement)>=0)n=this.doc.activeElement;else{const o=this.state.tabbableGroups[0];n=o&&o.firstTabbableNode||this.getNodeForOption("fallbackFocus")}else n===null&&(n=this.getNodeForOption("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n.isConnected||(n=this.getNodeForOption("fallbackFocus")),n}),C(this,"tryFocus",n=>{if(n!==!1&&n!==g.getActiveElement(this.doc)){if(!n||!n.focus){this.tryFocus(this.getInitialFocusNode());return}n.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=n,Ar(n)&&n.select()}}),C(this,"deactivate",n=>{if(!this.state.active)return this;const o={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...n};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),ht.deactivateTrap(this.trapStack,this);const a=this.getOption(o,"onDeactivate"),s=this.getOption(o,"onPostDeactivate"),f=this.getOption(o,"checkCanReturnFocus"),u=this.getOption(o,"returnFocus","returnFocusOnDeactivate");a?.();const c=()=>{mt(()=>{if(u){const p=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(p)}s?.()})};if(u&&f){const p=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return f(p).then(c,c),this}return c(),this}),C(this,"pause",n=>{if(this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onPause"),a=this.getOption(n,"onPostPause");return this.state.paused=!0,o?.(),this.removeListeners(),this.updateObservedNodes(),a?.(),this}),C(this,"unpause",n=>{if(!this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onUnpause"),a=this.getOption(n,"onPostUnpause");return this.state.paused=!1,o?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),a?.(),this}),C(this,"updateContainerElements",n=>(this.state.containers=Array.isArray(n)?n.filter(Boolean):[n].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),C(this,"getReturnFocusNode",n=>{const o=this.getNodeForOption("setReturnFocus",{params:[n]});return o||(o===!1?!1:n)}),C(this,"getOption",(n,o,a)=>n&&n[o]!==void 0?n[o]:this.config[a||o]),C(this,"getNodeForOption",(n,{hasFallback:o=!1,params:a=[]}={})=>{let s=this.config[n];if(typeof s=="function"&&(s=s(...a)),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error(`\`${n}\` was specified but was not a node, or did not return a node`)}let f=s;if(typeof s=="string"){try{f=this.doc.querySelector(s)}catch(u){throw new Error(`\`${n}\` appears to be an invalid selector; error="${u.message}"`)}if(!f&&!o)throw new Error(`\`${n}\` as selector refers to no known node`)}return f}),C(this,"findNextNavNode",n=>{const{event:o,isBackward:a=!1}=n,s=n.target||g.getEventTarget(o);this.updateTabbableNodes();let f=null;if(this.state.tabbableGroups.length>0){const u=this.findContainerIndex(s,o),c=u>=0?this.state.containerGroups[u]:void 0;if(u<0)a?f=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:f=this.state.tabbableGroups[0].firstTabbableNode;else if(a){let p=this.state.tabbableGroups.findIndex(({firstTabbableNode:l})=>s===l);if(p<0&&(c?.container===s||g.isFocusable(s)&&!g.isTabbable(s)&&!c?.nextTabbableNode(s,!1))&&(p=u),p>=0){const l=p===0?this.state.tabbableGroups.length-1:p-1,i=this.state.tabbableGroups[l];f=g.getTabIndex(s)>=0?i.lastTabbableNode:i.lastDomTabbableNode}else fe(o)||(f=c?.nextTabbableNode(s,!1))}else{let p=this.state.tabbableGroups.findIndex(({lastTabbableNode:l})=>s===l);if(p<0&&(c?.container===s||g.isFocusable(s)&&!g.isTabbable(s)&&!c?.nextTabbableNode(s))&&(p=u),p>=0){const l=p===this.state.tabbableGroups.length-1?0:p+1,i=this.state.tabbableGroups[l];f=g.getTabIndex(s)>=0?i.firstTabbableNode:i.firstDomTabbableNode}else fe(o)||(f=c?.nextTabbableNode(s))}}else f=this.getNodeForOption("fallbackFocus");return f}),this.trapStack=t.trapStack||Rr;const r={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward(n){return fe(n)&&!n.shiftKey},isKeyBackward(n){return fe(n)&&n.shiftKey},...t};this.doc=r.document||g.getDocument(Array.isArray(e)?e[0]:e),this.config=r,this.updateContainerElements(e),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){const r=typeof t?.composedPath=="function"?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:n,tabbableNodes:o})=>n.contains(e)||r?.includes(n)||o.find(a=>a===e))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const t=g.getTabbables(e),r=g.getFocusables(e),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=r.find(c=>g.isTabbable(c)),s=r.slice().reverse().find(c=>g.isTabbable(c)),f=!!t.find(c=>g.getTabIndex(c)>0);function u(c,p=!0){const l=t.indexOf(c);return l<0?p?r.slice(r.indexOf(c)+1).find(i=>g.isTabbable(i)):r.slice(0,r.indexOf(c)).reverse().find(i=>g.isTabbable(i)):t[l+(p?1:-1)]}return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:f,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:u}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return ht.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?mt(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(g.addDomEvent(this.doc,"focusin",this.handleFocus,!0),g.addDomEvent(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),g.addDomEvent(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),g.addDomEvent(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),g.addDomEvent(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),g.addDomEvent(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const t=this.getOption(e,"onActivate"),r=this.getOption(e,"onPostActivate"),n=this.getOption(e,"checkCanFocusTrap");n||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=this.doc.activeElement||null,t?.();const o=()=>{n&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),r?.()};return n?(n(this.state.containers.concat()).then(o,o),this):(o(),this)}},fe=e=>e.key==="Tab",de=(e,...t)=>typeof e=="function"?e(...t):e,Cr=e=>!e.isComposing&&e.key==="Escape",mt=e=>setTimeout(e,0),Ar=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function Ht(e,t={}){let r;const n=g.raf(()=>{const o=typeof e=="function"?e():e;if(o){r=new Sr(o,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:o,...t,document:g.getDocument(o)});try{r.activate()}catch{}}});return function(){r?.deactivate(),n()}}var Me="data-scroll-lock";function Dr(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function Gt(e){const t=e??document,r=t.defaultView??window,{documentElement:n,body:o}=t;if(o.hasAttribute(Me))return;o.setAttribute(Me,"");const s=r.innerWidth-n.clientWidth,f=()=>g.setStyleProperty(n,"--scrollbar-width",`${s}px`),u=Dr(n),c=()=>g.setStyle(o,{overflow:"hidden",[u]:`${s}px`}),p=()=>{const{scrollX:i,scrollY:d,visualViewport:h}=r,m=h?.offsetLeft??0,y=h?.offsetTop??0,v=g.setStyle(o,{position:"fixed",overflow:"hidden",top:`${-(d-Math.floor(y))}px`,left:`${-(i-Math.floor(m))}px`,right:"0",[u]:`${s}px`});return()=>{v?.(),r.scrollTo({left:i,top:d,behavior:"instant"})}},l=[f(),g.isIos()?p():c()];return()=>{l.forEach(i=>i?.()),o.removeAttribute(Me)}}var Ut=g.createAnatomy("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),U=Ut.build(),Wt=e=>e.ids?.anchor??`popover:${e.id}:anchor`,zt=e=>e.ids?.trigger??`popover:${e.id}:trigger`,$e=e=>e.ids?.content??`popover:${e.id}:content`,Kt=e=>e.ids?.positioner??`popover:${e.id}:popper`,Fr=e=>e.ids?.arrow??`popover:${e.id}:arrow`,Ve=e=>e.ids?.title??`popover:${e.id}:title`,je=e=>e.ids?.description??`popover:${e.id}:desc`,_r=e=>e.ids?.closeTrigger??`popover:${e.id}:close`,yt=e=>e.getById(Wt(e)),oe=e=>e.getById(zt(e)),ie=e=>e.getById($e(e)),vt=e=>e.getById(Kt(e)),Mr=e=>e.getById(Ve(e)),kr=e=>e.getById(je(e));function Lr(e,t){const{state:r,context:n,send:o,computed:a,prop:s,scope:f}=e,u=r.matches("open"),c=n.get("currentPlacement"),p=a("currentPortalled"),l=n.get("renderedElements"),i=$t({...s("positioning"),placement:c});return{portalled:p,open:u,setOpen(d){r.matches("open")!==d&&o({type:d?"OPEN":"CLOSE"})},reposition(d={}){o({type:"POSITIONING.SET",options:d})},getArrowProps(){return t.element({id:Fr(f),...U.arrow.attrs,dir:s("dir"),style:i.arrow})},getArrowTipProps(){return t.element({...U.arrowTip.attrs,dir:s("dir"),style:i.arrowTip})},getAnchorProps(){return t.element({...U.anchor.attrs,dir:s("dir"),id:Wt(f)})},getTriggerProps(){return t.button({...U.trigger.attrs,dir:s("dir"),type:"button","data-placement":c,id:zt(f),"aria-haspopup":"dialog","aria-expanded":u,"data-state":u?"open":"closed","aria-controls":$e(f),onPointerDown(d){g.isSafari()&&d.currentTarget.focus()},onClick(d){d.defaultPrevented||o({type:"TOGGLE"})},onBlur(d){o({type:"TRIGGER_BLUR",target:d.relatedTarget})}})},getIndicatorProps(){return t.element({...U.indicator.attrs,dir:s("dir"),"data-state":u?"open":"closed"})},getPositionerProps(){return t.element({id:Kt(f),...U.positioner.attrs,dir:s("dir"),style:i.floating})},getContentProps(){return t.element({...U.content.attrs,dir:s("dir"),id:$e(f),tabIndex:-1,role:"dialog",hidden:!u,"data-state":u?"open":"closed","data-expanded":g.dataAttr(u),"aria-labelledby":l.title?Ve(f):void 0,"aria-describedby":l.description?je(f):void 0,"data-placement":c})},getTitleProps(){return t.element({...U.title.attrs,id:Ve(f),dir:s("dir")})},getDescriptionProps(){return t.element({...U.description.attrs,id:je(f),dir:s("dir")})},getCloseTriggerProps(){return t.button({...U.closeTrigger.attrs,dir:s("dir"),id:_r(f),type:"button","aria-label":"close",onClick(d){d.defaultPrevented||(d.stopPropagation(),o({type:"CLOSE"}))}})}}}var Ir=g.createMachine({props({props:e}){return{closeOnInteractOutside:!0,closeOnEscape:!0,autoFocus:!0,modal:!1,portalled:!0,...e,positioning:{placement:"bottom",...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{currentPlacement:e(()=>({defaultValue:void 0})),renderedElements:e(()=>({defaultValue:{title:!0,description:!0}}))}},computed:{currentPortalled:({prop:e})=>!!e("modal")||!!e("portalled")},watch({track:e,prop:t,action:r}){e([()=>t("open")],()=>{r(["toggleVisibility"])})},entry:["checkRenderedElements"],states:{closed:{on:{"CONTROLLED.OPEN":{target:"open",actions:["setInitialFocus"]},TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}]}},open:{effects:["trapFocus","preventScroll","hideContentBelow","trackPositioning","trackDismissableElement","proxyTabFocus"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackPositioning({context:e,prop:t,scope:r}){e.set("currentPlacement",t("positioning").placement);const n=yt(r)??oe(r);return Be(n,()=>vt(r),{...t("positioning"),defer:!0,onComplete(a){e.set("currentPlacement",a.placement)}})},trackDismissableElement({send:e,prop:t,scope:r}){const n=()=>ie(r);let o=!0;return g.trackDismissableElement(n,{pointerBlocking:t("modal"),exclude:oe(r),defer:!0,onEscapeKeyDown(a){t("onEscapeKeyDown")?.(a),!t("closeOnEscape")&&a.preventDefault()},onInteractOutside(a){t("onInteractOutside")?.(a),!a.defaultPrevented&&(o=!(a.detail.focusable||a.detail.contextmenu),t("closeOnInteractOutside")||a.preventDefault())},onPointerDownOutside:t("onPointerDownOutside"),onFocusOutside:t("onFocusOutside"),persistentElements:t("persistentElements"),onDismiss(){e({type:"CLOSE",src:"interact-outside",restoreFocus:o})}})},proxyTabFocus({prop:e,scope:t}){if(e("modal")||!e("portalled"))return;const r=()=>ie(t);return g.proxyTabFocus(r,{triggerElement:oe(t),defer:!0,onFocus(n){n.focus({preventScroll:!0})}})},hideContentBelow({prop:e,scope:t}){return e("modal")?jt(()=>[ie(t),oe(t)],{defer:!0}):void 0},preventScroll({prop:e,scope:t}){if(e("modal"))return Gt(t.getDoc())},trapFocus({prop:e,scope:t}){return e("modal")?Ht(()=>ie(t),{initialFocus:()=>g.getInitialFocus({root:ie(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")})}):void 0}},actions:{reposition({event:e,prop:t,scope:r,context:n}){const o=yt(r)??oe(r);Be(o,()=>vt(r),{...t("positioning"),...e.options,defer:!0,listeners:!1,onComplete(s){n.set("currentPlacement",s.placement)}})},checkRenderedElements({context:e,scope:t}){g.raf(()=>{Object.assign(e.get("renderedElements"),{title:!!Mr(t),description:!!kr(t)})})},setInitialFocus({prop:e,scope:t}){e("modal")||g.raf(()=>{g.getInitialFocus({root:ie(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")})?.focus({preventScroll:!0})})},setFinalFocus({event:e,scope:t}){const r=e.restoreFocus??e.previousEvent?.restoreFocus;r!=null&&!r||g.raf(()=>{oe(t)?.focus({preventScroll:!0})})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},toggleVisibility({event:e,send:t,prop:r}){t({type:r("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});He()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","portalled","positioning"]);const[Ur,nt]=me({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[Wr,qt]=me({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),Br=e=>{const t=w.useId(),{getRootNode:r}=nt(),{dir:n}=qt(),o={id:t,dir:n,getRootNode:r,...e},a=Ge(Ir,o);return Lr(a,Ot)},$r=e=>{const[t,{children:r,...n}]=Ke(e),o=Br(n),a=qe(g.mergeProps({present:o.open},t));return W.jsxRuntimeExports.jsx(Et,{value:o,children:W.jsxRuntimeExports.jsx(ze,{value:a,children:r})})},Vr=e=>{const[t,{value:r,children:n}]=Ke(e),o=qe(g.mergeProps({present:r.open},t));return W.jsxRuntimeExports.jsx(Et,{value:r,children:W.jsxRuntimeExports.jsx(ze,{value:o,children:n})})},jr=e=>{const{children:t,disabled:r}=e,[n,o]=w.useState(e.container?.current),a=w.useSyncExternalStore(Gr,()=>!1,()=>!0),{getRootNode:s}=nt();if(w.useEffect(()=>{o(()=>e.container?.current)},[e.container]),a||r)return W.jsxRuntimeExports.jsx(W.jsxRuntimeExports.Fragment,{children:t});const f=n??Hr(s);return W.jsxRuntimeExports.jsx(W.jsxRuntimeExports.Fragment,{children:w.Children.map(t,u=>he.createPortal(u,f))})},Hr=e=>{const t=e?.(),r=t.getRootNode();return g.isShadowRoot(r)?r:g.getDocument(t).body},Gr=()=>()=>{};exports.PopoverCloseTrigger=Pt;exports.PopoverContent=Nt;exports.PopoverContext=cn;exports.PopoverRoot=$r;exports.PopoverRootProvider=Vr;exports.Portal=jr;exports.PresenceProvider=ze;exports.anatomy=Ut;exports.ariaHidden=jt;exports.ark=We;exports.composeRefs=Ue;exports.createContext=me;exports.createProps=He;exports.createSplitProps=Rt;exports.getPlacement=Be;exports.getPlacementSide=cr;exports.getPlacementStyles=$t;exports.normalizeProps=Ot;exports.preventBodyScroll=Gt;exports.reactDomExports=he;exports.splitPresenceProps=Ke;exports.trapFocus=Ht;exports.useEnvironmentContext=nt;exports.useEvent=St;exports.useLocaleContext=qt;exports.useMachine=Ge;exports.usePopoverContext=Re;exports.usePresence=qe;exports.usePresenceContext=Tt;
|
|
22
|
+
//# sourceMappingURL=portal-kmAjRmaV.js.map
|