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