import{r as s,j as l}from"./client-BbMi5ewG.js";import{P as d}from"./index-C4Ytkwtd.js";import{a as f}from"./utils-Q0fnGDhj.js";var v="Separator",n="horizontal",N=["horizontal","vertical"],p=s.forwardRef((r,a)=>{const{decorative:t,orientation:o=n,...i}=r,e=u(o)?o:n,m=t?{role:"none"}:{"aria-orientation":e==="vertical"?e:void 0,role:"separator"};return l.jsx(d.div,{"data-orientation":e,...m,...i,ref:a})});p.displayName=v;function u(r){return N.includes(r)}var c=p;const x=s.forwardRef(({className:r,orientation:a="horizontal",decorative:t=!0,...o},i)=>l.jsx(c,{ref:i,decorative:t,orientation:a,className:f("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",r),...o}));x.displayName=c.displayName;export{x as S};
//# sourceMappingURL=separator-DZRbPm0x.js.map
