import * as p from "react";
import { Primitive as v } from "../../../../../@radix-ui_react-primitive@2.0.2_@types_react-dom@19.0.4_@types_react@19.0.10__@types_react@19_i7clg2yux7aeir464mbcqjzvuu/node_modules/@radix-ui/react-primitive/dist/index.js";
import { jsx as m } from "react/jsx-runtime";
var d = "Separator", a = "horizontal", l = ["horizontal", "vertical"], i = p.forwardRef((r, n) => {
  const { decorative: e, orientation: t = a, ...s } = r, o = f(t) ? t : a, c = e ? { role: "none" } : { "aria-orientation": o === "vertical" ? o : void 0, role: "separator" };
  return /* @__PURE__ */ m(
    v.div,
    {
      "data-orientation": o,
      ...c,
      ...s,
      ref: n
    }
  );
});
i.displayName = d;
function f(r) {
  return l.includes(r);
}
var T = i;
export {
  T as Root,
  i as Separator
};
//# sourceMappingURL=index.js.map
