import * as e from "react";
import { y as C } from "./index.DaRbhbpm.js";
import { f as T, T as E, g, I as N, h as w, i as x } from "./theme.BjGhr3iS.js";
import { p as y } from "./text.DB1I3l2F.js";
import { v as O } from "./radius.prop.B549yVS5.js";
import { t } from "./index.ChhKNKNO.js";
const b = { content: { type: "ReactNode", required: !0 }, width: t.width, minWidth: t.minWidth, maxWidth: { ...t.maxWidth, default: "360px" } }, R = e.forwardRef((o, a) => {
  const { children: r, className: n, open: i, defaultOpen: l, onOpenChange: s, delayDuration: m, disableHoverableContent: c, content: d, container: p, forceMount: f, ...h } = O(o, b), u = { open: i, defaultOpen: l, onOpenChange: s, delayDuration: m, disableHoverableContent: c };
  return e.createElement(T, { ...u }, e.createElement(E, { asChild: !0 }, r), e.createElement(g, { container: p, forceMount: f }, e.createElement(N, { asChild: !0 }, e.createElement(w, { sideOffset: 4, collisionPadding: 10, ...h, asChild: !1, ref: a, className: C("rt-TooltipContent", n) }, e.createElement(y, { as: "p", className: "rt-TooltipText", size: "1" }, d), e.createElement(x, { className: "rt-TooltipArrow" })))));
});
R.displayName = "Tooltip";
export {
  R as e
};
//# sourceMappingURL=tooltip.Cck-PmlW.js.map
