import{u,p as c,l as i,g as l,h as r,m as f,C as a}from"./entry-4fbbc4b8.mjs";const p=(e,s=[])=>{const{content:{tags:t={}}}=u().public;for(const o of e){if(o!=null&&o.tag){let n=o.tag;Object.keys(t).includes(n)&&(n=c(`prose-${n}`)),!i(n)&&!s.includes(n)&&s.push(c(n))}o.children&&p(o.children,s)}return s};var g=l(async()=>{const{page:e}=r(),s=f();if(e.value){const t=p(e.value.body.children);for(const o of t)s.vueApp.component(o)||(console.log({name:o,component:a[o]}),s.vueApp.component(o,a[o]))}});export{g as default};
