"use client";
import { jsx as t, jsxs as c } from "react/jsx-runtime";
import { classNames as y } from "../../utils/index.js";
import { Trigger as o, Portal as i, Content as s, Arrow as f, Provider as N, Root as n } from "../../../../../node_modules/.pnpm/@radix-ui_react-tooltip@1.1.8_@types_react-dom@19.0.4_@types_react@19.0.10__@types_react@19.0_pl67xn6fl322p75p6sn3vj73rq/node_modules/@radix-ui/react-tooltip/dist/index.js";
import { forwardRef as l } from "react";
const d = ({ children: e, ...a }) => /* @__PURE__ */ t(N, { delayDuration: 0, children: /* @__PURE__ */ t(n, { ...a, children: e }) });
d.displayName = n.displayName;
const m = l(({ children: e, ...a }, r) => /* @__PURE__ */ t(o, { ref: r, ...a, children: e }));
m.displayName = o.displayName;
const p = l(({ children: e, className: a, ...r }, g) => /* @__PURE__ */ t(i, { children: /* @__PURE__ */ c(
  s,
  {
    className: y(
      "data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade z-[10000] select-none rounded-[4px] bg-black px-2 py-1.5 text-[10px] leading-none text-slate-50  will-change-[transform,opacity]",
      a
    ),
    sideOffset: 5,
    ref: g,
    ...r,
    children: [
      e,
      /* @__PURE__ */ t(f, { className: "fill-black" })
    ]
  }
) }));
p.displayName = s.displayName;
d.Trigger = m;
d.Content = p;
d.Portal = i;
export {
  d as Tooltip
};
//# sourceMappingURL=tooltip.js.map
