1import C from"./C5iB7bav.js";import D from"./CQa_FBUP.js";import{u as m,A as v,G as h,ab as w,D as b,ac as y,d as q,ad as x,ae as H,af as a}from"./L393X9bF.js";import"./DEmdtrJb.js";import"./xz0dWpDz.js";import"./8gz5nkM1.js";import"./Bua_hZdp.js";import"./BSZFgSs5.js";import"./DRwOUChm.js";const f=(c,u=h())=>{const n=m(c),p=y();v(()=>m(c),(o=n)=>{if(!u.path||!o)return;const t=Object.assign({},o?.head||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const i=t.title||o?.title;i&&(t.title=i),p.public.content.host;const s=t?.description||o?.description;s&&t.meta.filter(d=>d.name==="description").length===0&&t.meta.push({name:"description",content:s}),t?.image||o?.image,w(()=>b(t))},{immediate:!0})},S=q({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(c){const{contentHead:u}=y().public.content,n=x(),{tag:p,excerpt:l,path:o,query:t,head:i}=c,s=i===void 0?u:i,d={...t||{},path:o||t?.path||H(h().path),find:"one"},g=(e,r)=>a("pre",null,JSON.stringify({message:"You should use slots with <ContentDoc>",slot:e,data:r},null,2));return a(C,d,{default:n?.default?({data:e,refresh:r,isPartial:_})=>(s&&f(e),n.default?.({doc:e,refresh:r,isPartial:_,excerpt:l,...this.$attrs})):({data:e})=>(s&&f(e),a(D,{value:e,excerpt:l,tag:p,...this.$attrs},{empty:r=>n?.empty?n.empty(r):g("default",e)})),empty:e=>n?.empty?.(e)||a("p",null,"Document is empty, overwrite this content with #empty slot in <ContentDoc>."),"not-found":e=>n?.["not-found"]?.(e)||a("p",null,"Document not found, overwrite this content with #not-found slot in <ContentDoc>.")})}}),j=S,I=Object.assign(j,{__name:"ContentDoc"});export{I 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.