import{defineComponent as l,ref as e,provide as a,createElementBlock as r}from"vue";l({name:"ServerPlaceholder",render:()=>r("div")});const t=Symbol.for("nuxt:client-only"),n=l({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(l,{slots:n,attrs:o}){const c=e(!1);return a(t,!0),l=>{var e;if(c.value)return null==(e=n.default)?void 0:e.call(n);const a=n.fallback||n.placeholder;if(a)return a();const t=l.fallback||l.placeholder||"",p=l.fallbackTag||l.placeholderTag||"span";return r(p,o,t)}}});export{n as k};
