import{s as e}from"./rolldown-runtime-C5c2KzVm.js";import{$P as t}from"./lucide-C4oWPzu4.js";import{p as n,t as r}from"./utils-Bs-0X7qI.js";import{r as i}from"./bundle-mjs-C4g7ASB5.js";import{n as a}from"./dist-CImBN8k_.js";var o=e(t(),1),s=i(),c=`Separator`,l=`horizontal`,u=[`horizontal`,`vertical`],d=o.forwardRef((e,t)=>{let{decorative:n,orientation:r=l,...i}=e,o=f(r)?r:l,c=o===`vertical`?o:void 0,u=n?{role:`none`}:{"aria-orientation":c,role:`separator`};return(0,s.jsx)(a.div,{"data-orientation":o,...u,...i,ref:t})});d.displayName=c;function f(e){return u.includes(e)}var p=d,m=n();function h(e){let t=(0,m.c)(12),n,i,a,o;t[0]===e?(n=t[1],i=t[2],a=t[3],o=t[4]):({className:n,orientation:a,decorative:o,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a,t[4]=o);let c=a===void 0?`horizontal`:a,l=o===void 0?!0:o,u;t[5]===n?u=t[6]:(u=r(`bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px`,n),t[5]=n,t[6]=u);let d;return t[7]!==l||t[8]!==c||t[9]!==i||t[10]!==u?(d=(0,s.jsx)(p,{"data-slot":`separator`,decorative:l,orientation:c,className:u,...i}),t[7]=l,t[8]=c,t[9]=i,t[10]=u,t[11]=d):d=t[11],d}export{p as n,h as t};