"use client";
import { jsx as o } from "react/jsx-runtime";
import { Root as d, Portal as n, Content as i, Trigger as s } from "../../node_modules/@radix-ui/react-hover-card/dist/index.js";
import { cn as m } from "../../lib/utils.js";
function p({
  ...t
}) {
  return /* @__PURE__ */ o(d, { "data-slot": "hover-d-card", ...t });
}
function u({
  ...t
}) {
  return /* @__PURE__ */ o(s, { "data-slot": "hover-d-card-trigger", ...t });
}
function g({
  className: t,
  align: e = "center",
  sideOffset: r = 4,
  ...a
}) {
  return /* @__PURE__ */ o(n, { "data-slot": "hover-d-card-portal", children: /* @__PURE__ */ o(
    i,
    {
      "data-slot": "hover-d-card-content",
      align: e,
      sideOffset: r,
      className: m(
        "bg-d-popover text-d-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 border-d-border z-50 w-64 origin-(--radix-hover-d-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
        t
      ),
      ...a
    }
  ) });
}
export {
  p as HoverCard,
  g as HoverCardContent,
  u as HoverCardTrigger
};
