1import{s as h,v as f,ae as m,o as t,c as i,g as s,n as l,G as r,h as c,P as g}from"./_Rr8vU5y.js";const _={slots:{base:"text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:rounded-sm [&>a]:outline-primary/25 [&>a]:focus-visible:outline-3",link:""}},b=["id"],k=["href"],C={__name:"ProseH4",props:{id:{type:String,required:!1},anchor:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(u){const e=h("prose.h4",u),d=f(),{headings:a}=m().public?.mdc||{},o=c(()=>g({extend:_,...d.ui?.prose?.h4||{}})()),p=c(()=>e.id&&(e.anchor??(typeof a?.anchorLinks=="boolean"?a.anchorLinks:a?.anchorLinks?.h4)??!1));return(n,y)=>(t(),i("h4",{id:s(e).id,class:l(o.value.base({class:[s(e).ui?.base,s(e).class]}))},[s(e).id&&p.value?(t(),i("a",{key:0,href:`#${s(e).id}`,class:l(o.value.link({class:s(e).ui?.link}))},[r(n.$slots,"default")],10,k)):r(n.$slots,"default",{},void 0,void 0,1)],10,b))}};export{C as default};
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.