1import i,{__tla as d}from"./ContentRendererMarkdown.d0dddd91.js";import{k as _,g as m,l as y,p,__tla as f}from"./entry.52042303.js";import"./index.a6ef77ff.js";import{__tla as h}from"./preview.b063905a.js";let c,g=Promise.all([(()=>{try{return d}catch{}})(),(()=>{try{return f}catch{}})(),(()=>{try{return h}catch{}})()]).then(async()=>{c=_({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){m(()=>t.excerpt,a=>{var e,r,l;a&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(r=t==null?void 0:t.value)==null?void 0:r._path}.${(l=t==null?void 0:t.value)==null?void 0:l._extension}!`),console.warn("Make sure to use <!--more--> in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var o,n,u,s;const a=y(),{value:e,excerpt:r,tag:l}=t;return!((n=(o=e==null?void 0:e.body)==null?void 0:o.children)!=null&&n.length)&&(a!=null&&a.empty)?a.empty({value:e,excerpt:r,tag:l,...this.$attrs}):a!=null&&a.default?a.default({value:e,excerpt:r,tag:l,...this.$attrs}):(e==null?void 0:e._type)==="markdown"&&((s=(u=e==null?void 0:e.body)==null?void 0:u.children)!=null&&s.length)?p(i,{value:e,excerpt:r,tag:l,...this.$attrs}):p("pre",null,JSON.stringify({message:"You should use slots with <ContentRenderer>",value:e,excerpt:r,tag:l},null,2))}})});export{g as __tla,c as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.