1import{D as e,Ft as t,I as n,It as r,Mt as i,Rt as a,Z as o,_ as s,b as c,k as l,q as u,ut as d,x as f,y as p}from"./C59IxuuY.js";import{t as m}from"./6I_sLQmK2.js";import{t as h}from"./Dn1AAaNW.js";var g=e({__name:`BaseSeparator`,props:{orientation:{type:String,required:!1,default:`horizontal`},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=[`horizontal`,`vertical`];function a(e){return r.includes(e)}let c=s(()=>a(t.orientation)?t.orientation:`horizontal`),l=s(()=>c.value===`vertical`?t.orientation:void 0),f=s(()=>t.decorative?{role:`none`}:{"aria-orientation":l.value,role:`separator`});return(e,t)=>(u(),p(i(m),n({as:e.as,"as-child":e.asChild,"data-orientation":c.value},f.value),{default:d(()=>[o(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`data-orientation`]))}}),_=e({__name:`Separator`,props:{orientation:{type:String,required:!1,default:`horizontal`},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(u(),p(g,r(l(t)),{default:d(()=>[o(e.$slots,`default`)]),_:3},16))}}),v=e({__name:`Separator`,props:{orientation:{},decorative:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]},label:{}},setup(e){let r=e,o=s(()=>{let{class:e,...t}=r;return t});return(e,s)=>(u(),p(i(_),n(o.value,{class:i(h)(`shrink-0 bg-border relative`,r.orientation===`vertical`?`w-px h-full`:`h-px w-full`,r.class)}),{default:d(()=>[r.label?(u(),f(`span`,{key:0,class:t(i(h)(`text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center`,r.orientation===`vertical`?`w-[1px] px-1 py-2`:`h-[1px] py-1 px-2`))},a(r.label),3)):c(``,!0)]),_:1},16,[`class`]))}});export{v as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.