import { jsx as o } from "react/jsx-runtime";
import "react";
import { Root as d, Trigger as n, Portal as i, Content as s } from "../../node_modules/.pnpm/@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.8__@types_r_d43d49df692658c2ae5a37550ec322f6/node_modules/@radix-ui/react-hover-card/dist/index.es.js";
import { cn as m } from "../../utils/tailwindUtil.es.js";
function u({
  openDelay: t = 200,
  closeDelay: e = 100,
  ...r
}) {
  return /* @__PURE__ */ o(
    d,
    {
      "data-slot": "hover-card",
      openDelay: t,
      closeDelay: e,
      ...r
    }
  );
}
function g({
  ...t
}) {
  return /* @__PURE__ */ o(
    n,
    {
      "data-slot": "hover-card-trigger",
      ...t
    }
  );
}
function v({
  className: t,
  align: e = "center",
  sideOffset: r = 4,
  ...a
}) {
  return /* @__PURE__ */ o(i, { children: /* @__PURE__ */ o(
    s,
    {
      "data-slot": "hover-card-content",
      align: e,
      sideOffset: r,
      className: m(
        "bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 rounded-lg border p-4 shadow-md outline-none",
        t
      ),
      ...a
    }
  ) });
}
export {
  u as HoverCard,
  v as HoverCardContent,
  g as HoverCardTrigger
};
//# sourceMappingURL=hover-card.es.js.map
