import{$ as i,a0 as d,h as m,a1 as s,a2 as b,m as h,a3 as k}from"./BCLrUOBx.js";const p=Symbol.for("nuxt:client-only"),y=i({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(a,{slots:e,attrs:l}){const t=d(!1);m(()=>{t.value=!0});const c=s();return c&&(c._nuxtClientOnly=!0),k(p,!0),()=>{var r;if(t.value){const n=(r=e.default)==null?void 0:r.call(e);return n&&n.length===1?[b(n[0],l)]:n}const o=e.fallback||e.placeholder;if(o)return o();const f=a.fallback||a.placeholder||"",u=a.fallbackTag||a.placeholderTag||"span";return h(u,l,f)}}});export{y as _,p as c};
