import{d as c,P as d,s as p,i as n,o as t,b as a,u}from"./Dih1Xbo1.js";const f=["id"],h=["href"],k=c({__name:"ProseH1",props:{id:{}},setup(r){const o=r,{headings:e}=d().public.mdc,i=p(()=>o.id&&(typeof e?.anchorLinks=="boolean"&&e?.anchorLinks===!0||typeof e?.anchorLinks=="object"&&e?.anchorLinks?.h1));return(s,l)=>(t(),n("h1",{id:o.id},[u(i)?(t(),n("a",{key:0,href:`#${o.id}`},[a(s.$slots,"default")],8,h)):a(s.$slots,"default",{key:1})],8,f))}});export{k as default};
