1import{d as g,D as h,E as o,f as k,g as f,aF as d,at as p}from"./entry.22f14823.js";const m=g({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(l,{slots:a,attrs:t}){const n=h(!1);return o(()=>{n.value=!0}),e=>{var r;if(n.value)return(r=a.default)==null?void 0:r.call(a);const s=a.fallback||a.placeholder;if(s)return s();const c=e.fallback||e.placeholder||"",i=e.fallbackTag||e.placeholderTag||"span";return k(i,t,c)}}}),u=new WeakMap;/*! @__NO_SIDE_EFFECTS__ */function v(l){if(u.has(l))return u.get(l);const a={...l};return a.render?a.render=(t,...n)=>{if(t.mounted$){const e=l.render(t,...n);return e.children===null||typeof e.children=="string"?f(e.type,e.props,e.children,e.patchFlag,e.dynamicProps,e.shapeFlag):d(e)}else return d("div",p(t.$attrs??t._.attrs,{key:"placeholder-key"}))}:a.template&&(a.template=` 2 <template v-if="mounted$">${l.template}</template> 3 <template v-else><div></div></template> 4 `),a.setup=(t,n)=>{var s;const e=h(!1);return o(()=>{e.value=!0}),Promise.resolve(((s=l.setup)==null?void 0:s.call(l,t,n))||{}).then(c=>typeof c!="function"?{...c,mounted$:e}:(...i)=>{if(e.value){const r=c(...i);return r.children===null||typeof r.children=="string"?f(r.type,r.props,r.children,r.patchFlag,r.dynamicProps,r.shapeFlag):d(r)}else return d("div",p(n.attrs,{key:"placeholder-key"}))})},u.set(l,a),a}export{m as _,v as c};
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.