import{ac as c,ad as d,ak as v,af as h,bE as m,aq as u,an as g,J as k,bs as i,ag as C,q as V}from"./index-2e57ee69.js";const b=c({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...d(),...v()},"VDivider"),x=h()({name:"VDivider",props:b(),setup(e,r){let{attrs:t}=r;const{themeClasses:s}=m(e),{textColorClasses:o,textColorStyles:n}=u(g(e,"color")),l=k(()=>{const a={};return e.length&&(a[e.vertical?"maxHeight":"maxWidth"]=i(e.length)),e.thickness&&(a[e.vertical?"borderRightWidth":"borderTopWidth"]=i(e.thickness)),a});return C(()=>V("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},s.value,o.value,e.class],style:[l.value,n.value,e.style],"aria-orientation":!t.role||t.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${t.role||"separator"}`},null)),{}}});export{x as V};
