import{a0 as c,a1 as n,o as l,a as u,p as d,q as p,ac as f,s as m,a7 as b,c as h,am as s}from"./B3fabVUf.js";const y={base:["text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary focus-visible:has-[>code]:outline-0 [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary focus-visible:[&>code]:border-primary focus-visible:[&>code]:text-primary","transition-colors [&>code]:transition-colors"]},x={__name:"ProseA",props:{href:{type:String,required:!1},target:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const r=e,a=c(),o=n("prose.a",r),t=h(()=>s({extend:s(y),...a.ui?.prose?.a||{}}));return(i,v)=>(l(),u(b,{href:e.href,target:e.target,class:f(t.value({class:[m(o)?.base,r.class]})),raw:""},{default:d(()=>[p(i.$slots,"default")]),_:3},8,["href","target","class"]))}};export{x as default};
