import{r as a,j as o}from"./router.chunk.YsRm4bSN.js";import{aS as d}from"./icons.chunk.BwnSC3zE.js";import{ak as s,al as r,am as e,an as n,ao as t,ap as i}from"./ui-radix.chunk.Xzokq_Gv.js";import{B as f,c as l}from"./main.chunk.N-eZ2ybB.js";const m=s,u=r,c=e,g=n,w=a.forwardRef(({className:a,sideOffset:d=4,...s},r)=>o.jsx(t,{container:document.getElementById("growfund-root"),children:o.jsx(i,{ref:r,sideOffset:d,className:l("growfund-z-dialog growfund-overflow-hidden growfund-rounded-md growfund-bg-background-dark growfund-px-3 growfund-py-1.5 growfund-typo-tiny growfund-text-white growfund-animate-in growfund-fade-in-0 growfund-zoom-in-95 data-[state=closed]:growfund-animate-out data-[state=closed]:growfund-fade-out-0 data-[state=closed]:growfund-zoom-out-95 data-[side=bottom]:growfund-slide-in-from-top-2 data-[side=left]:growfund-slide-in-from-right-2 data-[side=right]:growfund-slide-in-from-left-2 data-[side=top]:growfund-slide-in-from-bottom-2","growfund-max-h-[var(--radix-tooltip-content-available-height)]",a),...s})}));w.displayName=i.displayName;const h=a.forwardRef(({children:a,className:s,iconClassName:r="growfund-text-icon-primary",...e},n)=>o.jsx(m,{children:o.jsxs(u,{...e,delayDuration:0,children:[o.jsx(c,{asChild:!0,children:o.jsx(f,{variant:"ghost",size:"icon",className:"growfund-size-6","data-type":"tooltip",children:o.jsx(d,{className:r})})}),o.jsxs(w,{children:[o.jsx("div",{ref:n,className:l("growfund-max-w-64",s),...e,children:a}),o.jsx(g,{})]})]})}));h.displayName="InfoTooltip";export{h as I};
