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