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