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