@fde-desktop/fde-core 0.4.8 → 0.4.9

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.
Files changed (250) hide show
  1. package/dist/{AccordionChevron-CJXAq5o5.js → AccordionChevron-DxpOyInK.js} +1 -1
  2. package/dist/AccordionChevron-kn5kSrEc.cjs +1 -0
  3. package/dist/{ActionIcon-CtVbYlGY.js → ActionIcon-Drh4p6Fv.js} +32 -32
  4. package/dist/ActionIcon-alk2zZD6.cjs +1 -0
  5. package/dist/AppEmptyState-BWCUbf-B.cjs +1 -0
  6. package/dist/AppEmptyState-Bxpit0JV.js +49 -0
  7. package/dist/AppIcon-BU7a3ZNH.cjs +1 -0
  8. package/dist/{AppIcon-DCDuaU-t.js → AppIcon-XumS3bIG.js} +4 -4
  9. package/dist/AppMenuBar-B9U0n1Vv.cjs +1 -0
  10. package/dist/AppMenuBar-CnIEVjr8.js +2049 -0
  11. package/dist/{Box-DRm8EabO.js → Box-DSKR_qaa.js} +257 -271
  12. package/dist/Box-zW6Twge8.cjs +1 -0
  13. package/dist/Button-DMlnrqyx.cjs +1 -0
  14. package/dist/{Button-k7SxX1Xl.js → Button-wTOTQKxF.js} +38 -38
  15. package/dist/CalendarApp-B_e1B1Yn.cjs +1 -0
  16. package/dist/CalendarApp-C-l9D6nd.cjs +1 -0
  17. package/dist/CalendarApp-D0ftTCTG.js +1399 -0
  18. package/dist/{Center-CyryG5zn.js → Center-CmxXB9ql.js} +1 -1
  19. package/dist/Center-DKUE2pER.cjs +1 -0
  20. package/dist/CheckIcon-CZhtJD1O.cjs +1 -0
  21. package/dist/{CheckIcon-C3WjIR2i.js → CheckIcon-N5qBqXQJ.js} +1 -1
  22. package/dist/CodeServerApp-BOoGwZ7r.cjs +1 -0
  23. package/dist/CodeServerApp-Be3I5EGg.cjs +1 -0
  24. package/dist/{CodeServerApp-DY94cy1a.js → CodeServerApp-DW18EZxa.js} +48 -47
  25. package/dist/{ColorPicker-DvRR-wlQ.js → ColorPicker-BCNqi02x.js} +364 -364
  26. package/dist/ColorPicker-BrDE7tMO.cjs +1 -0
  27. package/dist/CreateItemApp-B12M1E_1.cjs +1 -0
  28. package/dist/{CreateItemApp-CtdH1K1g.js → CreateItemApp-TAAprby3.js} +13 -13
  29. package/dist/CreateItemApp-ePB6ujNl.cjs +1 -0
  30. package/dist/DeviceInfoApp-BMF18BGo.cjs +1 -0
  31. package/dist/DeviceInfoApp-DRy0H3aT.cjs +1 -0
  32. package/dist/{DeviceInfoApp-C306YvtZ.js → DeviceInfoApp-lgpwkeRR.js} +7 -7
  33. package/dist/{DownloadProgress-hdupSUBT.js → DownloadProgress-EoyCaD5O.js} +15 -15
  34. package/dist/DownloadProgress-VNdj22U8.cjs +1 -0
  35. package/dist/{FileIcon-BCpGMI5U.js → FileIcon-7JaSR3Gn.js} +26 -25
  36. package/dist/FileIcon-CIXopWLv.cjs +1 -0
  37. package/dist/{FilePickerApp-DMGuvahM.js → FilePickerApp-DaMgEqKh.js} +115 -115
  38. package/dist/FilePickerApp-DjmuSFqa.cjs +1 -0
  39. package/dist/FilesApp-Bp7wfrBZ.cjs +1 -0
  40. package/dist/FilesApp-BpJJRKhi.cjs +1 -0
  41. package/dist/{FilesApp-VXrmtt63.js → FilesApp-Cj94QG5o.js} +21 -21
  42. package/dist/{Group-BzwlMeob.js → Group-CtBJSfCo.js} +1 -1
  43. package/dist/Group-Dsrf6lEK.cjs +1 -0
  44. package/dist/{ImageViewerApp-CWiP6zx-.js → ImageViewerApp-BaLP3gkO.js} +18 -17
  45. package/dist/ImageViewerApp-DlHGeB3S.cjs +1 -0
  46. package/dist/ImageViewerApp-DoXd_Swu.cjs +1 -0
  47. package/dist/{ImageViewerMenuBar-BULkh_Ku.js → ImageViewerMenuBar-CabGSi9r.js} +15 -14
  48. package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +1 -0
  49. package/dist/ImageViewerMenuBar-_Jr29gii.cjs +1 -0
  50. package/dist/MenuEditApp-BJjlPTOa.cjs +1 -0
  51. package/dist/MenuEditApp-BTRppYnD.js +497 -0
  52. package/dist/MenuEditApp-JPsGT-S3.cjs +1 -0
  53. package/dist/MenuEditMenuBar-BydGkqMw.cjs +1 -0
  54. package/dist/MenuEditMenuBar-DptlwVPQ.cjs +1 -0
  55. package/dist/{MenuEditMenuBar-B94z4Umw.js → MenuEditMenuBar-x1IQrHP2.js} +13 -12
  56. package/dist/NotesApp-BOcRGO7w.cjs +1 -0
  57. package/dist/NotesApp-CQe7UfBC.js +364 -0
  58. package/dist/NotesApp-OL07JXRE.cjs +1 -0
  59. package/dist/NotesMenuBar-BSI_2Y7p.cjs +1 -0
  60. package/dist/NotesMenuBar-Df6aW85J.cjs +1 -0
  61. package/dist/{NotesMenuBar-BB4NkKGf.js → NotesMenuBar-VhpIe68v.js} +10 -9
  62. package/dist/{Paper-DtUYKmYn.js → Paper-BX_9odR6.js} +3 -3
  63. package/dist/Paper-D8-BaBx2.cjs +1 -0
  64. package/dist/PdfApp-CNEbty5v.cjs +1 -0
  65. package/dist/PdfApp-CVv3ZCaM.cjs +1 -0
  66. package/dist/PdfApp-DL_R9-Nc.js +39 -0
  67. package/dist/PdfMenuBar--E6kDyrT.cjs +1 -0
  68. package/dist/PdfMenuBar-DZCLSOpR.js +39 -0
  69. package/dist/PdfMenuBar-Dj5cJUkg.cjs +1 -0
  70. package/dist/SettingsApp-BlmHuAjT.js +1831 -0
  71. package/dist/SettingsApp-CNvIgf5B.cjs +1 -0
  72. package/dist/SettingsApp-DWxanNE4.cjs +1 -0
  73. package/dist/SettingsMenuBar-CBoOBCfx.cjs +1 -0
  74. package/dist/SettingsMenuBar-DQooFkZN.cjs +1 -0
  75. package/dist/SettingsMenuBar-YWiJHaxq.js +42 -0
  76. package/dist/Slider-BUiHxjKO.cjs +1 -0
  77. package/dist/{Slider-BNO-vDFn.js → Slider-t-NcD60t.js} +148 -147
  78. package/dist/{Stack-CuDEaP7e.js → Stack-Bp1Ek2Gp.js} +1 -1
  79. package/dist/Stack-D4jAiRfc.cjs +1 -0
  80. package/dist/StorybookApp-CDLV_kja.cjs +1 -0
  81. package/dist/{StorybookApp-WYninkJo.js → StorybookApp-DKwlPCmo.js} +1 -1
  82. package/dist/TerminalApp-BCB7i1lR.cjs +1 -0
  83. package/dist/TerminalApp-BYc_gHLe.js +326 -0
  84. package/dist/TerminalApp-Dviz6aP2.cjs +1 -0
  85. package/dist/{TerminalMenuBar-iKLydNda.js → TerminalMenuBar-D5tPmgR_.js} +15 -14
  86. package/dist/TerminalMenuBar-DNshPmCa.cjs +1 -0
  87. package/dist/TerminalMenuBar-HzMSR7XP.cjs +1 -0
  88. package/dist/{TextInput-C3qfxxWI.js → TextInput-C-JtGWn1.js} +264 -263
  89. package/dist/TextInput-CrsmcOip.cjs +1 -0
  90. package/dist/Tooltip-D5Cd9wtz.cjs +1 -0
  91. package/dist/Tooltip-DOeIvhrO.js +1142 -0
  92. package/dist/{UnstyledButton-CI3kyRck.js → UnstyledButton-DGaG-e_G.js} +1 -1
  93. package/dist/UnstyledButton-DX2pTahr.cjs +1 -0
  94. package/dist/UploaderApp-C6xA5Rrf2.cjs +1 -0
  95. package/dist/UploaderApp-DnHIRxB_.cjs +1 -0
  96. package/dist/{UploaderApp-C9W_yCT-.js → UploaderApp-qBfpukR_.js} +118 -117
  97. package/dist/VscIcon-CcMdrFoJ.cjs +1 -0
  98. package/dist/{VscIcon-DueRJVTe.js → VscIcon-DBfVnArE.js} +1 -1
  99. package/dist/create-safe-context-Bboj0GWC.cjs +1 -0
  100. package/dist/desktopStore-CZoA9VHO.cjs +1 -0
  101. package/dist/{desktopStore-B0R1-BeA.js → desktopStore-F8bgLqFl.js} +256 -393
  102. package/dist/getRuntime-BFK0-8R1.cjs +1 -0
  103. package/dist/{getRuntime-CCRXVzJH.js → getRuntime-DAPqFH2W.js} +5 -5
  104. package/dist/imageViewerStore-BB_tssZR.cjs +1 -0
  105. package/dist/{imageViewerStore-CJMRXaQh.js → imageViewerStore-C5kWz0o7.js} +1 -1
  106. package/dist/index.cjs +1 -53
  107. package/dist/index.css +1 -1
  108. package/dist/index.js +1293 -5468
  109. package/dist/is-element-CdV0xajp.cjs +1 -0
  110. package/dist/menuEditStore-CTeM_dns.cjs +1 -0
  111. package/dist/{menuEditStore-C8S_EedM.js → menuEditStore-Cj1zAwxQ.js} +1 -1
  112. package/dist/notesStore-BCEl1D_v.cjs +1 -0
  113. package/dist/{notesStore-DKRgTTFn.js → notesStore-BPyRTHEc.js} +1 -1
  114. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  115. package/dist/{settingsAppStore-KOeWRO6h.js → settingsAppStore-BDQ3ts1y.js} +1 -1
  116. package/dist/settingsAppStore-CMBc13VU.cjs +1 -0
  117. package/dist/{terminalStore-LWWjCvCe.js → terminalStore-IWdf4Mm6.js} +1 -1
  118. package/dist/terminalStore-iIuyodfK.cjs +1 -0
  119. package/dist/use-merged-ref-n9Gw9LNn.cjs +1 -0
  120. package/dist/{use-resolved-styles-api-AVDygMKo.cjs → use-resolved-styles-api-8OXE2oRq.cjs} +1 -1
  121. package/dist/{use-resolved-styles-api-pEOi2wiK.js → use-resolved-styles-api-DNUlJJZf.js} +1 -1
  122. package/dist/use-uncontrolled-DDJVQiM_.cjs +1 -0
  123. package/dist/{useAdaptiveDimensions-CunsU0mn.js → useAdaptiveDimensions-AVDc_qPa.js} +1 -1
  124. package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +1 -0
  125. package/dist/{useCloseInterceptor-CuKAAFnj.js → useCloseInterceptor-BZd3VILp.js} +12 -12
  126. package/dist/useCloseInterceptor-yntBEzNc.cjs +1 -0
  127. package/dist/{useDynamicIcon-GJg3vWsJ.js → useDynamicIcon-Bf0t2foA.js} +1 -1
  128. package/dist/useDynamicIcon-DJ_il30E.cjs +1 -0
  129. package/dist/{useOpenApp-JHCPTBWa.js → useOpenApp-CBIm7Gzl.js} +3 -3
  130. package/dist/useOpenApp-DW4x79Zg.cjs +1 -0
  131. package/dist/useResolvedUrl-BkMPM1fM.cjs +1 -0
  132. package/dist/{useResolvedUrl-DFKXq598.js → useResolvedUrl-DQpLqOoL.js} +2 -2
  133. package/package.json +1 -1
  134. package/dist/AccordionChevron-DBXp38Lm.cjs +0 -1
  135. package/dist/ActionIcon-C_SfdBfx.cjs +0 -1
  136. package/dist/AppEmptyState-BTujnL_b.js +0 -4962
  137. package/dist/AppEmptyState-Dc4GaDfu.cjs +0 -1
  138. package/dist/AppIcon--qzR4sgf.cjs +0 -1
  139. package/dist/AppMenuBar-BiHbNg9V.cjs +0 -9
  140. package/dist/AppMenuBar-CHJy8OF0.js +0 -2639
  141. package/dist/Box-D_64wv6n.cjs +0 -1
  142. package/dist/Button-D0FXpkur.cjs +0 -1
  143. package/dist/CalendarApp-C1HvuJoa.cjs +0 -1
  144. package/dist/CalendarApp-DBEQqsS_.js +0 -1721
  145. package/dist/Center-T4No_FAa.cjs +0 -1
  146. package/dist/CheckIcon-CBMLR6Gc.cjs +0 -1
  147. package/dist/CodeServerApp-B3l5QPuG.cjs +0 -1
  148. package/dist/CodeServerApp-BpeALSaX.js +0 -2
  149. package/dist/CodeServerApp-CRjCngFv.cjs +0 -1
  150. package/dist/ColorPicker-BL4UbKCV.cjs +0 -1
  151. package/dist/CreateItemApp-BU9wmjKM.cjs +0 -1
  152. package/dist/CreateItemApp-t9F-a6wD.cjs +0 -1
  153. package/dist/DeviceInfoApp-Cdju_LIB.cjs +0 -1
  154. package/dist/DeviceInfoApp-CyB01v4D.cjs +0 -1
  155. package/dist/DownloadProgress-IRw1dzLX.cjs +0 -1
  156. package/dist/FileIcon-BCrsxmtt.cjs +0 -1
  157. package/dist/FilePickerApp-Eu0cr2Cm.cjs +0 -1
  158. package/dist/FilesApp-30OjnOuP.cjs +0 -1
  159. package/dist/FilesApp-BvlzPNuO.cjs +0 -1
  160. package/dist/Group-DhwePB84.cjs +0 -1
  161. package/dist/ImageViewerApp-BOz59TGc.cjs +0 -1
  162. package/dist/ImageViewerApp-BeqY6voE.cjs +0 -1
  163. package/dist/ImageViewerApp-DBAfJPSo.js +0 -2
  164. package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +0 -2
  165. package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +0 -1
  166. package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +0 -1
  167. package/dist/MenuEditApp-BoKtj2GH.js +0 -2
  168. package/dist/MenuEditApp-D21sEp86.js +0 -2615
  169. package/dist/MenuEditApp-k3cPfTG9.cjs +0 -1
  170. package/dist/MenuEditApp-sz9GlLVH.cjs +0 -5
  171. package/dist/MenuEditMenuBar-6QxlIDpl.cjs +0 -1
  172. package/dist/MenuEditMenuBar-Bv6R42lf.js +0 -2
  173. package/dist/MenuEditMenuBar-CBsmH_-T.cjs +0 -1
  174. package/dist/NotesApp-BtR55Hva.cjs +0 -207
  175. package/dist/NotesApp-C59exz_9.js +0 -16154
  176. package/dist/NotesApp-D47I5LS_.js +0 -2
  177. package/dist/NotesApp-lOwsi2sg.cjs +0 -1
  178. package/dist/NotesMenuBar-BZITC74y.cjs +0 -1
  179. package/dist/NotesMenuBar-Bp0sPqyR.cjs +0 -1
  180. package/dist/NotesMenuBar-xlfODmMA.js +0 -2
  181. package/dist/Paper-DwCpwWwH.cjs +0 -1
  182. package/dist/PdfApp-1XbFGfoY.cjs +0 -1
  183. package/dist/PdfApp-BhIoJWeK.cjs +0 -1
  184. package/dist/PdfApp-C5Rt1Zaw.js +0 -2
  185. package/dist/PdfApp-C8Hwxxqh.js +0 -38
  186. package/dist/PdfMenuBar-BA9rKuMP.cjs +0 -1
  187. package/dist/PdfMenuBar-JXHqwxhZ.cjs +0 -1
  188. package/dist/PdfMenuBar-R0fu7oYF.js +0 -2
  189. package/dist/PdfMenuBar-sd-9Vk3h.js +0 -38
  190. package/dist/SettingsApp-BA-5B4RA.cjs +0 -1
  191. package/dist/SettingsApp-B_rev1xh.cjs +0 -1
  192. package/dist/SettingsApp-Ck4aUXs5.js +0 -2
  193. package/dist/SettingsApp-DUMKSA3K.js +0 -2425
  194. package/dist/SettingsMenuBar-BPwv8JQK.js +0 -41
  195. package/dist/SettingsMenuBar-D8R7hOik.js +0 -2
  196. package/dist/SettingsMenuBar-DDrjZLmg.cjs +0 -1
  197. package/dist/SettingsMenuBar-DQjUa8g1.cjs +0 -1
  198. package/dist/Slider-Bg_EIBg6.cjs +0 -1
  199. package/dist/Stack-BOaJgV3N.cjs +0 -1
  200. package/dist/StorybookApp-Bkr-7mXp.cjs +0 -1
  201. package/dist/TerminalApp-8XbsKAWa.js +0 -10041
  202. package/dist/TerminalApp-Bq2e7QQu.cjs +0 -1
  203. package/dist/TerminalApp-CVu3Axc9.js +0 -2
  204. package/dist/TerminalApp-b7_d0jRO.cjs +0 -36
  205. package/dist/TerminalMenuBar-Cb8x9laS.js +0 -2
  206. package/dist/TerminalMenuBar-De-FH5AE.cjs +0 -1
  207. package/dist/TerminalMenuBar-yOaWd-hn.cjs +0 -1
  208. package/dist/TextInput-DcYns3hz.cjs +0 -1
  209. package/dist/Tooltip-CAOO-qdx.js +0 -3185
  210. package/dist/Tooltip-DDh_x-CB.cjs +0 -1
  211. package/dist/UnstyledButton-Cl5RuIid.cjs +0 -1
  212. package/dist/UploaderApp-BZXW75A0.cjs +0 -1
  213. package/dist/UploaderApp-CPpStgP5.cjs +0 -1
  214. package/dist/UploaderApp-DHsMQN-f.js +0 -2
  215. package/dist/VscIcon-CxEmqD80.cjs +0 -1
  216. package/dist/chunk-BQCxAhux.js +0 -23
  217. package/dist/chunk-CiTBaPhY.cjs +0 -1
  218. package/dist/create-safe-context-95P-Bfg3.cjs +0 -1
  219. package/dist/desktopStore-Cox-Og1z.cjs +0 -1
  220. package/dist/fc-DejOsQyD.cjs +0 -1
  221. package/dist/fc-kd8WzIER.js +0 -20536
  222. package/dist/fc-xJ_v2ayq.cjs +0 -184
  223. package/dist/fi-BahYsbim.js +0 -9993
  224. package/dist/fi-BkhyTcZo.cjs +0 -1
  225. package/dist/getRuntime-BLXyQZBB.cjs +0 -1
  226. package/dist/iconBase-B4UCuSvv.cjs +0 -1
  227. package/dist/iconBase-D7iPes7B.js +0 -108
  228. package/dist/imageViewerStore-CH1qW6md.cjs +0 -1
  229. package/dist/is-element-BocgicRg.cjs +0 -1
  230. package/dist/menuEditStore-CU7IAg3L.cjs +0 -1
  231. package/dist/notesStore-zKmChTfF.cjs +0 -1
  232. package/dist/react-DYmzHD0X.js +0 -27
  233. package/dist/react-Dldg32sN.cjs +0 -1
  234. package/dist/settingsAppStore-BrlImdAH.cjs +0 -1
  235. package/dist/terminalStore-fZe5t7Ty.cjs +0 -1
  236. package/dist/use-merged-ref-BI9n1hUK.cjs +0 -1
  237. package/dist/use-uncontrolled-BPrfGv0W.cjs +0 -1
  238. package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +0 -1
  239. package/dist/useCloseInterceptor-a_6Lcuqj.cjs +0 -1
  240. package/dist/useDynamicIcon-SytdL1Tu.cjs +0 -1
  241. package/dist/useOpenApp-BdarhIgl.cjs +0 -1
  242. package/dist/useResolvedUrl-Be5ZlCX7.cjs +0 -1
  243. package/dist/useTranslation-DMRGdqZi.js +0 -279
  244. package/dist/useTranslation-D_O7S4RJ.cjs +0 -1
  245. package/dist/vsc-Ciibqbxo.cjs +0 -1
  246. package/dist/vsc-DGKSpOAR.js +0 -9574
  247. /package/dist/{Colors-hca6raEG.js → Colors-ClnDxnyA.js} +0 -0
  248. /package/dist/{Colors-BxX4G8kX.cjs → Colors-zP2AFgU3.cjs} +0 -0
  249. /package/dist/{useMenuBarUtils-Bp5PiztD.cjs → useMenuBarUtils-nJIPJGIQ.cjs} +0 -0
  250. /package/dist/{useMenuBarUtils-ChmpZjwu.js → useMenuBarUtils-nmu9yehT.js} +0 -0
@@ -0,0 +1,1142 @@
1
+ import { A as e, D as t, I as n, c as r, d as i, h as a, j as o, l as s, n as c, r as l, t as u, v as d, x as f } from "./Box-DSKR_qaa.js";
2
+ import { t as p } from "./is-element-Bu_JY8Qy.js";
3
+ import { t as m } from "./create-safe-context-XT2cxc14.js";
4
+ import { n as h, t as g } from "./use-uncontrolled-A4hm9ATM.js";
5
+ import { c as _, d as v, f as y, u as ee } from "./TextInput-C-JtGWn1.js";
6
+ import { r as b, t as x } from "./use-merged-ref-BT8_u6vW.js";
7
+ import { t as te } from "./use-resolved-styles-api-DNUlJJZf.js";
8
+ import S, { Children as C, cloneElement as ne, createContext as w, use as T, useCallback as E, useEffect as D, useEffectEvent as O, useRef as k, useState as A } from "react";
9
+ import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
10
+ import { createPortal as P } from "react-dom";
11
+ import F from "clsx";
12
+ import { FloatingDelayGroup as re, arrow as I, autoUpdate as L, flip as R, getOverflowAncestors as z, hide as ie, inline as B, limitShift as V, offset as H, shift as U, size as ae, useDelayGroup as oe, useDismiss as W, useFloating as se, useFocus as ce, useHover as le, useInteractions as G, useRole as ue } from "@floating-ui/react";
13
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-default-z-index/get-default-z-index.mjs
14
+ var de = {
15
+ app: 100,
16
+ modal: 200,
17
+ popover: 300,
18
+ overlay: 400,
19
+ max: 9999
20
+ };
21
+ function K(e) {
22
+ return de[e];
23
+ }
24
+ //#endregion
25
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/noop/noop.mjs
26
+ var q = () => {};
27
+ //#endregion
28
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/close-on-escape/close-on-escape.mjs
29
+ function J(e, t = { active: !0 }) {
30
+ return typeof e != "function" || !t.active ? t.onKeyDown || q : (n) => {
31
+ n.key === "Escape" && (e(n), t.onTrigger?.());
32
+ };
33
+ }
34
+ //#endregion
35
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-click-outside/use-click-outside.mjs
36
+ var Y = ["mousedown", "touchstart"];
37
+ function fe(e, t, n) {
38
+ let r = k(null), i = t || Y, a = O((t) => {
39
+ let { target: i } = t ?? {};
40
+ if (Array.isArray(n)) {
41
+ let r = !document.body.contains(i) && i?.tagName !== "HTML";
42
+ n.every((e) => !!e && !t.composedPath().includes(e)) && !r && e(t);
43
+ } else r.current && !r.current.contains(i) && e(t);
44
+ });
45
+ return D(() => (i.forEach((e) => document.addEventListener(e, a)), () => {
46
+ i.forEach((e) => document.removeEventListener(e, a));
47
+ }), []), r;
48
+ }
49
+ //#endregion
50
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-focus-return/use-focus-return.mjs
51
+ function X({ opened: e, shouldReturnFocus: t = !0 }) {
52
+ let n = k(null), r = () => {
53
+ n.current && "focus" in n.current && typeof n.current.focus == "function" && n.current?.focus({ preventScroll: !0 });
54
+ };
55
+ return v(() => {
56
+ let i = -1, a = (e) => {
57
+ e.key === "Tab" && window.clearTimeout(i);
58
+ };
59
+ return document.addEventListener("keydown", a), e ? n.current = document.activeElement : t && (i = window.setTimeout(r, 10)), () => {
60
+ window.clearTimeout(i), document.removeEventListener("keydown", a);
61
+ };
62
+ }, [e, t]), r;
63
+ }
64
+ //#endregion
65
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-focus-trap/tabbable.mjs
66
+ var pe = /input|select|textarea|button|object/, me = "a, input, select, textarea, button, object, [tabindex]";
67
+ function he(e) {
68
+ return e.style.display === "none";
69
+ }
70
+ function ge(e) {
71
+ if (e.getAttribute("aria-hidden") || e.getAttribute("hidden") || e.getAttribute("type") === "hidden") return !1;
72
+ let t = e;
73
+ for (; t && !(t === document.body || t.nodeType === 11);) {
74
+ if (he(t)) return !1;
75
+ t = t.parentNode;
76
+ }
77
+ return !0;
78
+ }
79
+ function _e(e) {
80
+ let t = e.getAttribute("tabindex");
81
+ return t === null && (t = void 0), parseInt(t, 10);
82
+ }
83
+ function ve(e) {
84
+ let t = e.nodeName.toLowerCase(), n = !Number.isNaN(_e(e));
85
+ return (pe.test(t) && !e.disabled || e instanceof HTMLAnchorElement && e.href || n) && ge(e);
86
+ }
87
+ function ye(e) {
88
+ let t = _e(e);
89
+ return (Number.isNaN(t) || t >= 0) && ve(e);
90
+ }
91
+ function be(e) {
92
+ return Array.from(e.querySelectorAll(me)).filter(ye);
93
+ }
94
+ //#endregion
95
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-focus-trap/scope-tab.mjs
96
+ function xe(e, t) {
97
+ let n = be(e);
98
+ if (!n.length) {
99
+ t.preventDefault();
100
+ return;
101
+ }
102
+ let r = n[t.shiftKey ? 0 : n.length - 1], i = e.getRootNode(), a = r === i.activeElement || e === i.activeElement, o = i.activeElement;
103
+ if (o.tagName === "INPUT" && o.getAttribute("type") === "radio" && (a = n.filter((e) => e.getAttribute("type") === "radio" && e.getAttribute("name") === o.getAttribute("name")).includes(r)), !a) return;
104
+ t.preventDefault();
105
+ let s = n[t.shiftKey ? n.length - 1 : 0];
106
+ s && s.focus();
107
+ }
108
+ //#endregion
109
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-focus-trap/use-focus-trap.mjs
110
+ function Se(e = !0) {
111
+ let t = k(null), n = (e) => {
112
+ let t = e.querySelector("[data-autofocus]");
113
+ if (!t) {
114
+ let n = Array.from(e.querySelectorAll(me));
115
+ t = n.find(ye) || n.find(ve) || null, !t && ve(e) && (t = e);
116
+ }
117
+ t ? t.focus({ preventScroll: !0 }) : console.warn("[@mantine/hooks/use-focus-trap] Failed to find focusable element within provided node", e);
118
+ }, r = E((r) => {
119
+ e && r !== null && t.current !== r && (r ? (setTimeout(() => {
120
+ r.getRootNode() ? n(r) : console.warn("[@mantine/hooks/use-focus-trap] Ref node is not part of the dom", r);
121
+ }), t.current = r) : t.current = null);
122
+ }, [e]);
123
+ return D(() => {
124
+ if (!e) return;
125
+ t.current && setTimeout(() => n(t.current));
126
+ let r = (e) => {
127
+ e.key === "Tab" && t.current && xe(t.current, e);
128
+ };
129
+ return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
130
+ }, [e]), r;
131
+ }
132
+ //#endregion
133
+ //#region ../../node_modules/.bun/@mantine+hooks@9.0.0+b1ab299f0a400331/node_modules/@mantine/hooks/esm/use-move/use-move.mjs
134
+ function Z(e) {
135
+ return {
136
+ x: h(e.x, 0, 1),
137
+ y: h(e.y, 0, 1)
138
+ };
139
+ }
140
+ function Ce(e, t, n = "ltr") {
141
+ let r = k(!1), i = k(!1), a = k(0), [o, s] = A(!1);
142
+ return D(() => {
143
+ r.current = !0;
144
+ }, []), {
145
+ ref: E((o) => {
146
+ let c = ({ x: t, y: i }) => {
147
+ cancelAnimationFrame(a.current), a.current = requestAnimationFrame(() => {
148
+ if (r.current && o) {
149
+ o.style.userSelect = "none";
150
+ let r = o.getBoundingClientRect();
151
+ if (r.width && r.height) {
152
+ let a = h((t - r.left) / r.width, 0, 1);
153
+ e({
154
+ x: n === "ltr" ? a : 1 - a,
155
+ y: h((i - r.top) / r.height, 0, 1)
156
+ });
157
+ }
158
+ }
159
+ });
160
+ }, l = () => {
161
+ document.addEventListener("mousemove", m), document.addEventListener("mouseup", f), document.addEventListener("touchmove", _, { passive: !1 }), document.addEventListener("touchend", f);
162
+ }, u = () => {
163
+ document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", _), document.removeEventListener("touchend", f);
164
+ }, d = () => {
165
+ !i.current && r.current && (i.current = !0, typeof t?.onScrubStart == "function" && t.onScrubStart(), s(!0), l());
166
+ }, f = () => {
167
+ i.current && r.current && (i.current = !1, s(!1), u(), setTimeout(() => {
168
+ typeof t?.onScrubEnd == "function" && t.onScrubEnd();
169
+ }, 0));
170
+ }, p = (e) => {
171
+ d(), e.preventDefault(), m(e);
172
+ }, m = (e) => c({
173
+ x: e.clientX,
174
+ y: e.clientY
175
+ }), g = (e) => {
176
+ e.cancelable && e.preventDefault(), d(), _(e);
177
+ }, _ = (e) => {
178
+ e.cancelable && e.preventDefault(), c({
179
+ x: e.changedTouches[0].clientX,
180
+ y: e.changedTouches[0].clientY
181
+ });
182
+ };
183
+ return o?.addEventListener("mousedown", p), o?.addEventListener("touchstart", g, { passive: !1 }), () => {
184
+ o && (o.removeEventListener("mousedown", p), o.removeEventListener("touchstart", g));
185
+ };
186
+ }, [n, e]),
187
+ active: o
188
+ };
189
+ }
190
+ //#endregion
191
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-ref-prop/get-ref-prop.mjs
192
+ function we(e) {
193
+ let t = S.version;
194
+ return typeof S.version != "string" || t.startsWith("18.") ? e?.ref : e?.props?.ref;
195
+ }
196
+ //#endregion
197
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-single-element-child/get-single-element-child.mjs
198
+ function Q(e) {
199
+ let t = C.toArray(e);
200
+ return t.length !== 1 || !p(t[0]) ? null : t[0];
201
+ }
202
+ //#endregion
203
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-style-object/get-style-object.mjs
204
+ function Te(e, t) {
205
+ return Array.isArray(e) ? [...e].reduce((e, n) => ({
206
+ ...e,
207
+ ...Te(n, t)
208
+ }), {}) : typeof e == "function" ? e(t) : e ?? {};
209
+ }
210
+ //#endregion
211
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/DirectionProvider/DirectionProvider.mjs
212
+ var Ee = w({
213
+ dir: "ltr",
214
+ toggleDirection: () => {},
215
+ setDirection: () => {}
216
+ });
217
+ function De() {
218
+ return T(Ee);
219
+ }
220
+ //#endregion
221
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.mjs
222
+ var Oe = { root: "m_515a97f8" }, ke = l((e) => {
223
+ let t = s("VisuallyHidden", null, e), { classNames: n, className: i, style: a, styles: o, unstyled: c, vars: l, attributes: d, ...f } = t;
224
+ return /* @__PURE__ */ M(u, {
225
+ component: "span",
226
+ ...r({
227
+ name: "VisuallyHidden",
228
+ classes: Oe,
229
+ props: t,
230
+ className: i,
231
+ style: a,
232
+ classNames: n,
233
+ styles: o,
234
+ unstyled: c,
235
+ attributes: d
236
+ })("root"),
237
+ ...f
238
+ });
239
+ });
240
+ ke.classes = Oe, ke.displayName = "@mantine/core/VisuallyHidden";
241
+ //#endregion
242
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/Floating/FloatingArrow/get-arrow-position-styles.mjs
243
+ function Ae(e, t, n, r) {
244
+ return e === "center" || r === "center" ? { top: t } : e === "end" ? { bottom: n } : e === "start" ? { top: n } : {};
245
+ }
246
+ function je(e, t, n, r, i) {
247
+ return e === "center" || r === "center" ? { left: t } : e === "end" ? { [i === "ltr" ? "right" : "left"]: n } : e === "start" ? { [i === "ltr" ? "left" : "right"]: n } : {};
248
+ }
249
+ var Me = {
250
+ bottom: "borderTopLeftRadius",
251
+ left: "borderTopRightRadius",
252
+ right: "borderBottomLeftRadius",
253
+ top: "borderBottomRightRadius"
254
+ };
255
+ function Ne({ position: e, arrowSize: t, arrowOffset: n, arrowRadius: r, arrowPosition: i, arrowX: a, arrowY: o, dir: s }) {
256
+ let [c, l = "center"] = e.split("-"), u = {
257
+ width: t,
258
+ height: t,
259
+ transform: "rotate(45deg)",
260
+ position: "absolute",
261
+ [Me[c]]: r
262
+ }, d = -t / 2;
263
+ return c === "left" ? {
264
+ ...u,
265
+ ...Ae(l, o, n, i),
266
+ right: d,
267
+ borderLeftColor: "transparent",
268
+ borderBottomColor: "transparent",
269
+ clipPath: "polygon(100% 0, 0 0, 100% 100%)"
270
+ } : c === "right" ? {
271
+ ...u,
272
+ ...Ae(l, o, n, i),
273
+ left: d,
274
+ borderRightColor: "transparent",
275
+ borderTopColor: "transparent",
276
+ clipPath: "polygon(0 100%, 0 0, 100% 100%)"
277
+ } : c === "top" ? {
278
+ ...u,
279
+ ...je(l, a, n, i, s),
280
+ bottom: d,
281
+ borderTopColor: "transparent",
282
+ borderLeftColor: "transparent",
283
+ clipPath: "polygon(0 100%, 100% 100%, 100% 0)"
284
+ } : c === "bottom" ? {
285
+ ...u,
286
+ ...je(l, a, n, i, s),
287
+ top: d,
288
+ borderBottomColor: "transparent",
289
+ borderRightColor: "transparent",
290
+ clipPath: "polygon(0 100%, 0 0, 100% 0)"
291
+ } : {};
292
+ }
293
+ //#endregion
294
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/Floating/FloatingArrow/FloatingArrow.mjs
295
+ function Pe({ position: e, arrowSize: t, arrowOffset: n, arrowRadius: r, arrowPosition: i, visible: a, arrowX: o, arrowY: s, style: c, ...l }) {
296
+ let { dir: u } = De();
297
+ return a ? /* @__PURE__ */ M("div", {
298
+ ...l,
299
+ style: {
300
+ ...c,
301
+ ...Ne({
302
+ position: e,
303
+ arrowSize: t,
304
+ arrowOffset: n,
305
+ arrowRadius: r,
306
+ arrowPosition: i,
307
+ dir: u,
308
+ arrowX: o,
309
+ arrowY: s
310
+ })
311
+ }
312
+ }) : null;
313
+ }
314
+ Pe.displayName = "@mantine/core/FloatingArrow";
315
+ //#endregion
316
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/utils/Floating/get-floating-position/get-floating-position.mjs
317
+ function Fe(e, t) {
318
+ if (e === "rtl" && (t.includes("right") || t.includes("left"))) {
319
+ let [e, n] = t.split("-"), r = e === "right" ? "left" : "right";
320
+ return n === void 0 ? r : `${r}-${n}`;
321
+ }
322
+ return t;
323
+ }
324
+ //#endregion
325
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.mjs
326
+ var Ie = { root: "m_9814e45f" }, Le = { zIndex: K("modal") }, Re = t((t, { gradient: r, color: i, backgroundOpacity: a, blur: o, radius: s, zIndex: c }) => ({ root: {
327
+ "--overlay-bg": r || (i !== void 0 || a !== void 0) && d(i || "#000", a ?? .6) || void 0,
328
+ "--overlay-filter": o ? `blur(${n(o)})` : void 0,
329
+ "--overlay-radius": s === void 0 ? void 0 : e(s),
330
+ "--overlay-z-index": c?.toString()
331
+ } })), ze = c((e) => {
332
+ let t = s("Overlay", Le, e), { classNames: n, className: i, style: a, styles: o, unstyled: c, vars: l, fixed: d, center: f, children: p, radius: m, zIndex: h, gradient: g, blur: _, color: v, backgroundOpacity: y, mod: ee, attributes: b, ...x } = t;
333
+ return /* @__PURE__ */ M(u, {
334
+ ...r({
335
+ name: "Overlay",
336
+ props: t,
337
+ classes: Ie,
338
+ className: i,
339
+ style: a,
340
+ classNames: n,
341
+ styles: o,
342
+ unstyled: c,
343
+ attributes: b,
344
+ vars: l,
345
+ varsResolver: Re
346
+ })("root"),
347
+ mod: [{
348
+ center: f,
349
+ fixed: d
350
+ }, ee],
351
+ ...x,
352
+ children: p
353
+ });
354
+ });
355
+ ze.classes = Ie, ze.varsResolver = Re, ze.displayName = "@mantine/core/Overlay";
356
+ //#endregion
357
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Portal/Portal.mjs
358
+ function Be(e) {
359
+ let t = document.createElement("div");
360
+ return t.setAttribute("data-portal", "true"), typeof e.className == "string" && t.classList.add(...e.className.split(" ").filter(Boolean)), typeof e.style == "object" && Object.assign(t.style, e.style), typeof e.id == "string" && t.setAttribute("id", e.id), t;
361
+ }
362
+ function Ve({ target: e, reuseTargetNode: t, ...n }) {
363
+ if (e) return typeof e == "string" ? document.querySelector(e) || Be(n) : e;
364
+ if (t) {
365
+ let e = document.querySelector("[data-mantine-shared-portal-node]");
366
+ if (e) return e;
367
+ let t = Be(n);
368
+ return t.setAttribute("data-mantine-shared-portal-node", "true"), document.body.appendChild(t), t;
369
+ }
370
+ return Be(n);
371
+ }
372
+ var He = { reuseTargetNode: !0 }, Ue = l((e) => {
373
+ let { children: t, target: n, reuseTargetNode: r, ref: i, ...a } = s("Portal", He, e), [o, c] = A(!1), l = k(null);
374
+ return y(() => (c(!0), l.current = Ve({
375
+ target: n,
376
+ reuseTargetNode: r,
377
+ ...a
378
+ }), x(i, l.current), !n && !r && l.current && document.body.appendChild(l.current), () => {
379
+ !n && !r && l.current && document.body.removeChild(l.current);
380
+ }), [n]), !o || !l.current ? null : P(/* @__PURE__ */ M(j, { children: t }), l.current);
381
+ });
382
+ Ue.displayName = "@mantine/core/Portal";
383
+ //#endregion
384
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Portal/OptionalPortal.mjs
385
+ var $ = l(({ withinPortal: e = !0, children: t, ...n }) => a() === "test" || !e ? /* @__PURE__ */ M(j, { children: t }) : /* @__PURE__ */ M(Ue, {
386
+ ...n,
387
+ children: t
388
+ }));
389
+ $.displayName = "@mantine/core/OptionalPortal";
390
+ //#endregion
391
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Transition/get-transition-props/get-transition-props.mjs
392
+ var We = {
393
+ duration: 100,
394
+ transition: "fade"
395
+ };
396
+ function Ge(e, t) {
397
+ return {
398
+ ...We,
399
+ ...t,
400
+ ...e
401
+ };
402
+ }
403
+ //#endregion
404
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Popover/Popover.context.mjs
405
+ var [Ke, qe] = m("Popover component was not found in the tree");
406
+ //#endregion
407
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/FocusTrap/FocusTrap.mjs
408
+ function Je({ children: e, active: t = !0, refProp: n = "ref", innerRef: r }) {
409
+ let i = b(Se(t), r), a = Q(e);
410
+ return a ? ne(a, { [n]: i }) : e;
411
+ }
412
+ function Ye(e) {
413
+ return /* @__PURE__ */ M(ke, {
414
+ tabIndex: -1,
415
+ "data-autofocus": !0,
416
+ ...e
417
+ });
418
+ }
419
+ Je.displayName = "@mantine/core/FocusTrap", Ye.displayName = "@mantine/core/FocusTrapInitialFocus", Je.InitialFocus = Ye;
420
+ //#endregion
421
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Popover/Popover.module.mjs
422
+ var Xe = {
423
+ dropdown: "m_38a85659",
424
+ arrow: "m_a31dc6c1",
425
+ overlay: "m_3d7bc908"
426
+ }, Ze = l((e) => {
427
+ let t = s("PopoverDropdown", null, e), { className: r, style: i, vars: a, children: o, onKeyDownCapture: c, variant: l, classNames: d, styles: f, ref: p, ...m } = t, h = qe(), g = X({
428
+ opened: h.opened,
429
+ shouldReturnFocus: h.returnFocus
430
+ }), v = h.withRoles ? {
431
+ "aria-labelledby": h.getTargetId(),
432
+ id: h.getDropdownId(),
433
+ role: "dialog",
434
+ tabIndex: -1
435
+ } : {}, y = b(p, h.floating);
436
+ return h.disabled ? null : /* @__PURE__ */ M($, {
437
+ ...h.portalProps,
438
+ withinPortal: h.withinPortal,
439
+ children: /* @__PURE__ */ M(_, {
440
+ mounted: h.opened,
441
+ ...h.transitionProps,
442
+ transition: h.transitionProps?.transition || "fade",
443
+ duration: h.transitionProps?.duration ?? 150,
444
+ keepMounted: h.keepMounted,
445
+ exitDuration: typeof h.transitionProps?.exitDuration == "number" ? h.transitionProps.exitDuration : h.transitionProps?.duration,
446
+ children: (e) => /* @__PURE__ */ M(Je, {
447
+ active: h.trapFocus && h.opened,
448
+ innerRef: y,
449
+ children: /* @__PURE__ */ N(u, {
450
+ ...v,
451
+ ...m,
452
+ variant: l,
453
+ onKeyDownCapture: J(() => {
454
+ h.onClose?.(), h.onDismiss?.();
455
+ }, {
456
+ active: h.closeOnEscape,
457
+ onTrigger: g,
458
+ onKeyDown: c
459
+ }),
460
+ "data-position": h.placement,
461
+ "data-fixed": h.floatingStrategy === "fixed" || void 0,
462
+ ...h.getStyles("dropdown", {
463
+ className: r,
464
+ props: t,
465
+ classNames: d,
466
+ styles: f,
467
+ style: [
468
+ {
469
+ ...e,
470
+ zIndex: h.zIndex,
471
+ top: h.y ?? 0,
472
+ left: h.x ?? 0,
473
+ width: h.width === "target" ? void 0 : n(h.width),
474
+ ...h.referenceHidden ? { display: "none" } : null
475
+ },
476
+ h.resolvedStyles.dropdown,
477
+ f?.dropdown,
478
+ i
479
+ ]
480
+ }),
481
+ children: [o, /* @__PURE__ */ M(Pe, {
482
+ ref: h.arrowRef,
483
+ arrowX: h.arrowX,
484
+ arrowY: h.arrowY,
485
+ visible: h.withArrow,
486
+ position: h.placement,
487
+ arrowSize: h.arrowSize,
488
+ arrowRadius: h.arrowRadius,
489
+ arrowOffset: h.arrowOffset,
490
+ arrowPosition: h.arrowPosition,
491
+ ...h.getStyles("arrow", {
492
+ props: t,
493
+ classNames: d,
494
+ styles: f
495
+ })
496
+ })]
497
+ })
498
+ })
499
+ })
500
+ });
501
+ });
502
+ Ze.classes = Xe, Ze.displayName = "@mantine/core/PopoverDropdown";
503
+ //#endregion
504
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Popover/PopoverTarget/PopoverTarget.mjs
505
+ var Qe = {
506
+ refProp: "ref",
507
+ popupType: "dialog"
508
+ }, $e = l((e) => {
509
+ let { children: t, refProp: n, popupType: r, ref: i, ...a } = s("PopoverTarget", Qe, e), o = Q(t);
510
+ if (!o) throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");
511
+ let c = a, l = qe(), u = b(l.reference, we(o), i), d = l.withRoles ? {
512
+ "aria-haspopup": r,
513
+ "aria-expanded": l.opened,
514
+ "aria-controls": l.opened ? l.getDropdownId() : void 0,
515
+ id: l.getTargetId()
516
+ } : {}, f = o.props;
517
+ return ne(o, {
518
+ ...c,
519
+ ...d,
520
+ ...l.targetProps,
521
+ className: F(l.targetProps.className, c.className, f.className),
522
+ [n]: u,
523
+ ...l.controlled ? null : { onClick: (e) => {
524
+ l.onToggle(), f.onClick?.(e);
525
+ } }
526
+ });
527
+ });
528
+ $e.displayName = "@mantine/core/PopoverTarget";
529
+ //#endregion
530
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Popover/use-popover.mjs
531
+ function et(e) {
532
+ if (e === void 0) return {
533
+ shift: !0,
534
+ flip: !0
535
+ };
536
+ let t = { ...e };
537
+ return e.shift === void 0 && (t.shift = !0), e.flip === void 0 && (t.flip = !0), t;
538
+ }
539
+ function tt(e, t, n) {
540
+ let r = et(e.middlewares), i = [H(e.offset), ie()];
541
+ return e.dropdownVisible && n !== "test" && e.preventPositionChangeWhenVisible && (r.flip = !1), r.flip && i.push(typeof r.flip == "boolean" ? R() : R(r.flip)), r.shift && i.push(U(typeof r.shift == "boolean" ? {
542
+ limiter: V(),
543
+ padding: 5
544
+ } : {
545
+ limiter: V(),
546
+ padding: 5,
547
+ ...r.shift
548
+ })), r.inline && i.push(typeof r.inline == "boolean" ? B() : B(r.inline)), i.push(I({
549
+ element: e.arrowRef,
550
+ padding: e.arrowOffset
551
+ })), (r.size || e.width === "target") && i.push(ae({
552
+ ...typeof r.size == "boolean" ? {} : r.size,
553
+ apply({ rects: n, availableWidth: i, availableHeight: a, ...o }) {
554
+ let s = t().refs.floating.current?.style ?? {};
555
+ r.size && (typeof r.size == "object" && r.size.apply ? r.size.apply({
556
+ rects: n,
557
+ availableWidth: i,
558
+ availableHeight: a,
559
+ ...o
560
+ }) : Object.assign(s, {
561
+ maxWidth: `${i}px`,
562
+ maxHeight: `${a}px`
563
+ })), e.width === "target" && Object.assign(s, { width: `${n.reference.width}px` });
564
+ }
565
+ })), i;
566
+ }
567
+ function nt(e) {
568
+ let t = a(), [n, r] = g({
569
+ value: e.opened,
570
+ defaultValue: e.defaultOpened,
571
+ finalValue: !1,
572
+ onChange: e.onChange
573
+ }), i = k(n), o = () => {
574
+ n && !e.disabled && r(!1);
575
+ }, s = () => {
576
+ e.disabled || r(!n);
577
+ }, c = se({
578
+ strategy: e.strategy,
579
+ placement: e.preventPositionChangeWhenVisible ? e.positionRef.current : e.position,
580
+ middleware: tt(e, () => c, t),
581
+ whileElementsMounted: e.keepMounted ? void 0 : L
582
+ });
583
+ return D(() => {
584
+ if (!(!c.refs.reference.current || !c.refs.floating.current) && n) return L(c.refs.reference.current, c.refs.floating.current, c.update);
585
+ }, [n, c.update]), v(() => {
586
+ e.onPositionChange?.(c.placement), e.positionRef.current = c.placement;
587
+ }, [c.placement, e.preventPositionChangeWhenVisible]), v(() => {
588
+ n !== i.current && (n ? e.onOpen?.() : e.onClose?.()), i.current = n;
589
+ }, [
590
+ n,
591
+ e.onClose,
592
+ e.onOpen
593
+ ]), y(() => {
594
+ let t = -1;
595
+ return n && (t = window.setTimeout(() => e.setDropdownVisible(!0), 4)), () => {
596
+ window.clearTimeout(t);
597
+ };
598
+ }, [n, e.position]), {
599
+ floating: c,
600
+ controlled: typeof e.opened == "boolean",
601
+ opened: n,
602
+ onClose: o,
603
+ onToggle: s
604
+ };
605
+ }
606
+ //#endregion
607
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Popover/Popover.mjs
608
+ var rt = {
609
+ position: "bottom",
610
+ offset: 8,
611
+ transitionProps: {
612
+ transition: "fade",
613
+ duration: 150
614
+ },
615
+ middlewares: {
616
+ flip: !0,
617
+ shift: !0,
618
+ inline: !1
619
+ },
620
+ arrowSize: 7,
621
+ arrowOffset: 5,
622
+ arrowRadius: 0,
623
+ arrowPosition: "side",
624
+ closeOnClickOutside: !0,
625
+ withinPortal: !0,
626
+ closeOnEscape: !0,
627
+ trapFocus: !1,
628
+ withRoles: !0,
629
+ returnFocus: !1,
630
+ withOverlay: !1,
631
+ hideDetached: !0,
632
+ clickOutsideEvents: ["mousedown", "touchstart"],
633
+ zIndex: K("popover"),
634
+ __staticSelector: "Popover",
635
+ width: "max-content"
636
+ }, it = t((t, { radius: n, shadow: r }) => ({ dropdown: {
637
+ "--popover-radius": n === void 0 ? void 0 : e(n),
638
+ "--popover-shadow": o(r)
639
+ } }));
640
+ function at(e) {
641
+ let t = s("Popover", rt, e), { children: n, position: i, offset: o, onPositionChange: c, opened: l, transitionProps: u, onExitTransitionEnd: d, onEnterTransitionEnd: f, width: p, middlewares: m, withArrow: h, arrowSize: g, arrowOffset: v, arrowRadius: y, arrowPosition: b, unstyled: x, classNames: S, styles: C, closeOnClickOutside: ne, withinPortal: w, portalProps: T, closeOnEscape: D, clickOutsideEvents: O, trapFocus: j, onClose: P, onDismiss: F, onOpen: re, onChange: I, zIndex: L, radius: R, shadow: z, id: ie, defaultOpened: B, __staticSelector: V, withRoles: H, disabled: U, returnFocus: ae, variant: oe, keepMounted: W, vars: se, floatingStrategy: ce, withOverlay: le, overlayProps: G, hideDetached: ue, attributes: de, preventPositionChangeWhenVisible: K, ...q } = t, J = r({
642
+ name: V,
643
+ props: t,
644
+ classes: Xe,
645
+ classNames: S,
646
+ styles: C,
647
+ unstyled: x,
648
+ attributes: de,
649
+ rootSelector: "dropdown",
650
+ vars: se,
651
+ varsResolver: it
652
+ }), { resolvedStyles: Y } = te({
653
+ classNames: S,
654
+ styles: C,
655
+ props: t
656
+ }), [X, pe] = A(l ?? B ?? !1), me = k(i), he = k(null), [ge, _e] = A(null), [ve, ye] = A(null), { dir: be } = De(), xe = a(), Se = ee(ie), Z = nt({
657
+ middlewares: m,
658
+ width: p,
659
+ position: Fe(be, i),
660
+ offset: typeof o == "number" ? o + (h ? g / 2 : 0) : o,
661
+ arrowRef: he,
662
+ arrowOffset: v,
663
+ onPositionChange: c,
664
+ opened: l,
665
+ defaultOpened: B,
666
+ onChange: I,
667
+ onOpen: re,
668
+ onClose: P,
669
+ onDismiss: F,
670
+ strategy: ce,
671
+ dropdownVisible: X,
672
+ setDropdownVisible: pe,
673
+ positionRef: me,
674
+ disabled: U,
675
+ preventPositionChangeWhenVisible: K,
676
+ keepMounted: W
677
+ });
678
+ fe(() => {
679
+ ne && (Z.onClose(), F?.());
680
+ }, O, [ge, ve]);
681
+ let Ce = E((e) => {
682
+ _e(e), Z.floating.refs.setReference(e);
683
+ }, [Z.floating.refs.setReference]), we = E((e) => {
684
+ ye(e), Z.floating.refs.setFloating(e);
685
+ }, [Z.floating.refs.setFloating]), Q = E(() => {
686
+ u?.onExited?.(), d?.(), pe(!1), K || (me.current = i);
687
+ }, [
688
+ u?.onExited,
689
+ d,
690
+ K,
691
+ i
692
+ ]), Te = E(() => {
693
+ u?.onEntered?.(), f?.();
694
+ }, [u?.onEntered, f]);
695
+ return /* @__PURE__ */ N(Ke, {
696
+ value: {
697
+ returnFocus: ae,
698
+ disabled: U,
699
+ controlled: Z.controlled,
700
+ reference: Ce,
701
+ floating: we,
702
+ x: Z.floating.x,
703
+ y: Z.floating.y,
704
+ arrowX: Z.floating?.middlewareData?.arrow?.x,
705
+ arrowY: Z.floating?.middlewareData?.arrow?.y,
706
+ opened: Z.opened,
707
+ arrowRef: he,
708
+ transitionProps: {
709
+ ...u,
710
+ onExited: Q,
711
+ onEntered: Te
712
+ },
713
+ width: p,
714
+ withArrow: h,
715
+ arrowSize: g,
716
+ arrowOffset: v,
717
+ arrowRadius: y,
718
+ arrowPosition: b,
719
+ placement: Z.floating.placement,
720
+ trapFocus: j,
721
+ withinPortal: w,
722
+ portalProps: T,
723
+ zIndex: L,
724
+ radius: R,
725
+ shadow: z,
726
+ closeOnEscape: D,
727
+ onDismiss: F,
728
+ onClose: Z.onClose,
729
+ onToggle: Z.onToggle,
730
+ getTargetId: () => Se,
731
+ getDropdownId: () => `${Se}-dropdown`,
732
+ withRoles: H,
733
+ targetProps: q,
734
+ __staticSelector: V,
735
+ classNames: S,
736
+ styles: C,
737
+ unstyled: x,
738
+ variant: oe,
739
+ keepMounted: W,
740
+ getStyles: J,
741
+ resolvedStyles: Y,
742
+ floatingStrategy: ce,
743
+ referenceHidden: ue && xe !== "test" ? Z.floating.middlewareData.hide?.referenceHidden : !1
744
+ },
745
+ children: [n, le && /* @__PURE__ */ M(_, {
746
+ transition: "fade",
747
+ mounted: Z.opened,
748
+ duration: u?.duration || 250,
749
+ exitDuration: u?.exitDuration || 250,
750
+ children: (e) => /* @__PURE__ */ M($, {
751
+ withinPortal: w,
752
+ children: /* @__PURE__ */ M(ze, {
753
+ ...G,
754
+ ...J("overlay", {
755
+ className: G?.className,
756
+ style: [e, G?.style]
757
+ })
758
+ })
759
+ })
760
+ })]
761
+ });
762
+ }
763
+ at.Target = $e, at.Dropdown = Ze, at.varsResolver = it, at.displayName = "@mantine/core/Popover", at.extend = (e) => e;
764
+ //#endregion
765
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Tooltip/TooltipFloating/use-floating-tooltip.mjs
766
+ function ot({ offset: e, position: t, defaultOpened: n }) {
767
+ let [r, i] = A(n), a = k(null), { x: o, y: s, elements: c, refs: l, update: u, placement: d } = se({
768
+ placement: t,
769
+ middleware: [U({
770
+ crossAxis: !0,
771
+ padding: 5,
772
+ rootBoundary: "document"
773
+ })]
774
+ }), f = d.includes("right") ? e : t.includes("left") ? e * -1 : 0, p = d.includes("bottom") ? e : t.includes("top") ? e * -1 : 0, m = E(({ clientX: e, clientY: t }) => {
775
+ l.setPositionReference({ getBoundingClientRect() {
776
+ return {
777
+ width: 0,
778
+ height: 0,
779
+ x: e,
780
+ y: t,
781
+ left: e + f,
782
+ top: t + p,
783
+ right: e,
784
+ bottom: t
785
+ };
786
+ } });
787
+ }, [c.reference]);
788
+ return D(() => {
789
+ if (l.floating.current) {
790
+ let e = a.current;
791
+ e.addEventListener("mousemove", m);
792
+ let t = z(l.floating.current);
793
+ return t.forEach((e) => {
794
+ e.addEventListener("scroll", u);
795
+ }), () => {
796
+ e.removeEventListener("mousemove", m), t.forEach((e) => {
797
+ e.removeEventListener("scroll", u);
798
+ });
799
+ };
800
+ }
801
+ }, [
802
+ c.reference,
803
+ l.floating.current,
804
+ u,
805
+ m,
806
+ r
807
+ ]), {
808
+ handleMouseMove: m,
809
+ x: o,
810
+ y: s,
811
+ opened: r,
812
+ setOpened: i,
813
+ boundaryRef: a,
814
+ floating: l.setFloating
815
+ };
816
+ }
817
+ //#endregion
818
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.mjs
819
+ var st = {
820
+ tooltip: "m_1b3c8819",
821
+ arrow: "m_f898399f"
822
+ }, ct = {
823
+ refProp: "ref",
824
+ withinPortal: !0,
825
+ offset: 10,
826
+ position: "right",
827
+ zIndex: K("popover")
828
+ }, lt = t((t, { radius: n, color: r }) => ({ tooltip: {
829
+ "--tooltip-radius": n === void 0 ? void 0 : e(n),
830
+ "--tooltip-bg": r ? f(r, t) : void 0,
831
+ "--tooltip-color": r ? "var(--mantine-color-white)" : void 0
832
+ } })), ut = l((e) => {
833
+ let t = s("TooltipFloating", ct, e), { children: n, refProp: a, withinPortal: o, style: c, className: l, classNames: d, styles: f, unstyled: p, radius: m, color: h, label: g, offset: _, position: v, multiline: y, zIndex: ee, disabled: x, defaultOpened: te, variant: S, vars: C, portalProps: w, attributes: T, ref: E, ...D } = t, O = i(), k = r({
834
+ name: "TooltipFloating",
835
+ props: t,
836
+ classes: st,
837
+ className: l,
838
+ style: c,
839
+ classNames: d,
840
+ styles: f,
841
+ unstyled: p,
842
+ attributes: T,
843
+ rootSelector: "tooltip",
844
+ vars: C,
845
+ varsResolver: lt
846
+ }), { handleMouseMove: A, x: P, y: F, opened: re, boundaryRef: I, floating: L, setOpened: R } = ot({
847
+ offset: _,
848
+ position: v,
849
+ defaultOpened: te
850
+ }), z = Q(n);
851
+ if (!z) throw Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");
852
+ let ie = b(I, we(z), E), B = z.props, V = (e) => {
853
+ B.onMouseEnter?.(e), A(e), R(!0);
854
+ }, H = (e) => {
855
+ B.onMouseLeave?.(e), R(!1);
856
+ };
857
+ return /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M($, {
858
+ ...w,
859
+ withinPortal: o,
860
+ children: /* @__PURE__ */ M(u, {
861
+ ...D,
862
+ ...k("tooltip", { style: {
863
+ ...Te(c, O),
864
+ zIndex: ee,
865
+ display: !x && re ? "block" : "none",
866
+ top: (F && Math.round(F)) ?? "",
867
+ left: (P && Math.round(P)) ?? ""
868
+ } }),
869
+ variant: S,
870
+ ref: L,
871
+ mod: { multiline: y },
872
+ children: g
873
+ })
874
+ }), ne(z, {
875
+ ...B,
876
+ [a]: ie,
877
+ onMouseEnter: V,
878
+ onMouseLeave: H
879
+ })] });
880
+ });
881
+ ut.classes = st, ut.varsResolver = lt, ut.displayName = "@mantine/core/TooltipFloating";
882
+ //#endregion
883
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.mjs
884
+ var dt = w({ withinGroup: !1 }), ft = {
885
+ openDelay: 0,
886
+ closeDelay: 0
887
+ };
888
+ function pt(e) {
889
+ let { openDelay: t, closeDelay: n, children: r } = s("TooltipGroup", ft, e);
890
+ return /* @__PURE__ */ M(dt, {
891
+ value: { withinGroup: !0 },
892
+ children: /* @__PURE__ */ M(re, {
893
+ delay: {
894
+ open: t,
895
+ close: n
896
+ },
897
+ children: r
898
+ })
899
+ });
900
+ }
901
+ pt.displayName = "@mantine/core/TooltipGroup", pt.extend = (e) => e;
902
+ //#endregion
903
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Tooltip/use-tooltip.mjs
904
+ function mt(e) {
905
+ if (e === void 0) return {
906
+ shift: !0,
907
+ flip: !0
908
+ };
909
+ let t = { ...e };
910
+ return e.shift === void 0 && (t.shift = !0), e.flip === void 0 && (t.flip = !0), t;
911
+ }
912
+ function ht(e) {
913
+ let t = mt(e.middlewares), n = [H(e.offset)];
914
+ return t.shift && n.push(U(typeof t.shift == "boolean" ? { padding: 8 } : {
915
+ padding: 8,
916
+ ...t.shift
917
+ })), t.flip && n.push(typeof t.flip == "boolean" ? R() : R(t.flip)), n.push(I({
918
+ element: e.arrowRef,
919
+ padding: e.arrowOffset
920
+ })), t.inline ? n.push(typeof t.inline == "boolean" ? B() : B(t.inline)) : e.inline && n.push(B()), n;
921
+ }
922
+ function gt(e) {
923
+ let [t, n] = A(e.defaultOpened), r = typeof e.opened == "boolean" ? e.opened : t, i = T(dt).withinGroup, a = ee(), o = E((e) => {
924
+ n(e), e && g(a);
925
+ }, [a]), { x: s, y: c, context: l, refs: u, placement: d, middlewareData: { arrow: { x: f, y: p } = {} } } = se({
926
+ strategy: e.strategy,
927
+ placement: e.position,
928
+ open: r,
929
+ onOpenChange: o,
930
+ middleware: ht(e),
931
+ whileElementsMounted: L
932
+ }), { delay: m, currentId: h, setCurrentId: g } = oe(l, { id: a }), { getReferenceProps: _, getFloatingProps: y } = G([
933
+ le(l, {
934
+ enabled: e.events?.hover,
935
+ delay: i ? m : {
936
+ open: e.openDelay,
937
+ close: e.closeDelay
938
+ },
939
+ mouseOnly: !e.events?.touch
940
+ }),
941
+ ce(l, {
942
+ enabled: e.events?.focus,
943
+ visibleOnly: !0
944
+ }),
945
+ ue(l, { role: "tooltip" }),
946
+ W(l, { enabled: e.opened === void 0 })
947
+ ]);
948
+ v(() => {
949
+ e.onPositionChange?.(d);
950
+ }, [d]);
951
+ let b = r && h && h !== a;
952
+ return {
953
+ x: s,
954
+ y: c,
955
+ arrowX: f,
956
+ arrowY: p,
957
+ reference: u.setReference,
958
+ floating: u.setFloating,
959
+ getFloatingProps: y,
960
+ getReferenceProps: _,
961
+ isGroupPhase: b,
962
+ opened: r,
963
+ placement: d
964
+ };
965
+ }
966
+ //#endregion
967
+ //#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.mjs
968
+ var _t = {
969
+ position: "top",
970
+ refProp: "ref",
971
+ withinPortal: !0,
972
+ arrowSize: 4,
973
+ arrowOffset: 5,
974
+ arrowRadius: 0,
975
+ arrowPosition: "side",
976
+ offset: 5,
977
+ transitionProps: {
978
+ duration: 100,
979
+ transition: "fade"
980
+ },
981
+ events: {
982
+ hover: !0,
983
+ focus: !1,
984
+ touch: !1
985
+ },
986
+ zIndex: K("popover"),
987
+ middlewares: {
988
+ flip: !0,
989
+ shift: !0,
990
+ inline: !1
991
+ }
992
+ }, vt = t((t, { radius: n, color: r, variant: i, autoContrast: a }) => {
993
+ let o = t.variantColorResolver({
994
+ theme: t,
995
+ color: r || t.primaryColor,
996
+ autoContrast: a,
997
+ variant: i || "filled"
998
+ });
999
+ return { tooltip: {
1000
+ "--tooltip-radius": n === void 0 ? void 0 : e(n),
1001
+ "--tooltip-bg": r ? o.background : void 0,
1002
+ "--tooltip-color": r ? o.color : void 0
1003
+ } };
1004
+ }), yt = l((e) => {
1005
+ let t = s("Tooltip", _t, e), { children: n, position: i, refProp: a, label: o, openDelay: c, closeDelay: l, onPositionChange: d, opened: f, defaultOpened: p, withinPortal: m, radius: h, color: g, classNames: v, styles: y, unstyled: ee, style: x, className: te, withArrow: S, arrowSize: C, arrowOffset: w, arrowRadius: T, arrowPosition: E, offset: O, transitionProps: A, multiline: P, events: re, zIndex: I, disabled: L, onClick: R, onMouseEnter: z, onMouseLeave: ie, inline: B, variant: V, keepMounted: H, vars: U, portalProps: ae, mod: oe, floatingStrategy: W, middlewares: se, autoContrast: ce, attributes: le, target: G, ref: ue, ...de } = t, { dir: K } = De(), q = k(null), J = gt({
1006
+ position: Fe(K, i),
1007
+ closeDelay: l,
1008
+ openDelay: c,
1009
+ onPositionChange: d,
1010
+ opened: f,
1011
+ defaultOpened: p,
1012
+ events: re,
1013
+ arrowRef: q,
1014
+ arrowOffset: w,
1015
+ offset: typeof O == "number" ? O + (S ? C / 2 : 0) : O,
1016
+ inline: B,
1017
+ strategy: W,
1018
+ middlewares: se
1019
+ });
1020
+ D(() => {
1021
+ let e = G instanceof HTMLElement ? G : typeof G == "string" ? document.querySelector(G) : G?.current || null;
1022
+ e && J.reference(e);
1023
+ }, [G, J]);
1024
+ let Y = r({
1025
+ name: "Tooltip",
1026
+ props: t,
1027
+ classes: st,
1028
+ className: te,
1029
+ style: x,
1030
+ classNames: v,
1031
+ styles: y,
1032
+ unstyled: ee,
1033
+ attributes: le,
1034
+ rootSelector: "tooltip",
1035
+ vars: U,
1036
+ varsResolver: vt
1037
+ }), fe = Q(n);
1038
+ if (!G && !fe) throw Error("[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");
1039
+ let X = Y("tooltip");
1040
+ if (G) {
1041
+ let e = Ge(A, {
1042
+ duration: 100,
1043
+ transition: "fade"
1044
+ });
1045
+ return /* @__PURE__ */ M(j, { children: /* @__PURE__ */ M($, {
1046
+ ...ae,
1047
+ withinPortal: m,
1048
+ children: /* @__PURE__ */ M(_, {
1049
+ ...e,
1050
+ keepMounted: H,
1051
+ mounted: !L && !!J.opened,
1052
+ duration: J.isGroupPhase ? 10 : e.duration,
1053
+ children: (e) => /* @__PURE__ */ N(u, {
1054
+ ...de,
1055
+ "data-fixed": W === "fixed" || void 0,
1056
+ variant: V,
1057
+ mod: [{ multiline: P }, oe],
1058
+ ...X,
1059
+ ...J.getFloatingProps({
1060
+ ref: J.floating,
1061
+ className: X.className,
1062
+ style: {
1063
+ ...X.style,
1064
+ ...e,
1065
+ zIndex: I,
1066
+ top: J.y ?? 0,
1067
+ left: J.x ?? 0
1068
+ }
1069
+ }),
1070
+ children: [o, /* @__PURE__ */ M(Pe, {
1071
+ ref: q,
1072
+ arrowX: J.arrowX,
1073
+ arrowY: J.arrowY,
1074
+ visible: S,
1075
+ position: J.placement,
1076
+ arrowSize: C,
1077
+ arrowOffset: w,
1078
+ arrowRadius: T,
1079
+ arrowPosition: E,
1080
+ ...Y("arrow")
1081
+ })]
1082
+ })
1083
+ })
1084
+ }) });
1085
+ }
1086
+ let pe = fe.props, me = b(J.reference, we(fe), ue), he = Ge(A, {
1087
+ duration: 100,
1088
+ transition: "fade"
1089
+ });
1090
+ return /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M($, {
1091
+ ...ae,
1092
+ withinPortal: m,
1093
+ children: /* @__PURE__ */ M(_, {
1094
+ ...he,
1095
+ keepMounted: H,
1096
+ mounted: !L && !!J.opened,
1097
+ duration: J.isGroupPhase ? 10 : he.duration,
1098
+ children: (e) => /* @__PURE__ */ N(u, {
1099
+ ...de,
1100
+ "data-fixed": W === "fixed" || void 0,
1101
+ variant: V,
1102
+ mod: [{ multiline: P }, oe],
1103
+ ...J.getFloatingProps({
1104
+ ref: J.floating,
1105
+ className: Y("tooltip").className,
1106
+ style: {
1107
+ ...Y("tooltip").style,
1108
+ ...e,
1109
+ zIndex: I,
1110
+ top: J.y ?? 0,
1111
+ left: J.x ?? 0
1112
+ }
1113
+ }),
1114
+ children: [o, /* @__PURE__ */ M(Pe, {
1115
+ ref: q,
1116
+ arrowX: J.arrowX,
1117
+ arrowY: J.arrowY,
1118
+ visible: S,
1119
+ position: J.placement,
1120
+ arrowSize: C,
1121
+ arrowOffset: w,
1122
+ arrowRadius: T,
1123
+ arrowPosition: E,
1124
+ ...Y("arrow")
1125
+ })]
1126
+ })
1127
+ })
1128
+ }), ne(fe, J.getReferenceProps({
1129
+ onClick: R,
1130
+ onMouseEnter: z,
1131
+ onMouseLeave: ie,
1132
+ onMouseMove: t.onMouseMove,
1133
+ onPointerDown: t.onPointerDown,
1134
+ onPointerEnter: t.onPointerEnter,
1135
+ ...pe,
1136
+ className: F(te, pe.className),
1137
+ [a]: me
1138
+ }))] });
1139
+ });
1140
+ yt.classes = st, yt.varsResolver = vt, yt.displayName = "@mantine/core/Tooltip", yt.Floating = ut, yt.Group = pt;
1141
+ //#endregion
1142
+ export { ze as a, Q as c, Ce as d, X as f, $ as i, we as l, K as m, at as n, De as o, q as p, Je as r, Te as s, yt as t, Z as u };