import * as React from "react";
import y from "../../../../../../../../../_virtual/index12.js";
import { extractProps as v$1 } from "../helpers/extract-props.js";
import { requireReactElement as a } from "../helpers/require-react-element.js";
import { popoverContentPropDefs as r } from "./popover.props.js";
import { Theme as R } from "./theme.js";
import { Root as Root2, Trigger, Portal, Content as Content2, Close, Anchor as Anchor2 } from "../../../../../../../@radix-ui_react-popover@1.1.15_@types_react-dom@19.1.9_@types_react@19.1.13__@types_rea_75cebd9d64f44c224dd3c295fc74c8f1/node_modules/@radix-ui/react-popover/dist/index.js";
const P = (e) => React.createElement(Root2, { ...e });
P.displayName = "Popover.Root";
const s = React.forwardRef(({ children: e, ...r2 }, t) => React.createElement(Trigger, { ...r2, ref: t, asChild: true }, a(e)));
s.displayName = "Popover.Trigger";
const i = React.forwardRef((e, r$1) => {
  const { className: t, forceMount: a2, container: f, ...l } = v$1(e, r);
  return React.createElement(Portal, { container: f, forceMount: a2 }, React.createElement(R, { asChild: true }, React.createElement(Content2, { align: "start", sideOffset: 8, collisionPadding: 10, ...l, ref: r$1, className: y("rt-PopperContent", "rt-PopoverContent", t) })));
});
i.displayName = "Popover.Content";
const v = React.forwardRef(({ children: e, ...r2 }, t) => React.createElement(Close, { ...r2, ref: t, asChild: true }, a(e)));
v.displayName = "Popover.Close";
const m = React.forwardRef(({ children: e, ...r2 }, t) => React.createElement(Anchor2, { ...r2, ref: t }));
m.displayName = "Popover.Anchor";
export {
  m as Anchor,
  v as Close,
  i as Content,
  P as Root,
  s as Trigger
};
//# sourceMappingURL=popover.js.map
