1import{$ as e,E as t,I as n,Jt as r,M as a,P as s,Pt as l,St as o,T as i,Y as d,j as u,nn as c,x as f}from"./DIU4zoEY.js";import{a as p}from"./D05YFsy2.js";import{a as v,r as m}from"./IMUL-pLm.js";n();u({name:"ServerPlaceholder",render:()=>t("div")});n(),o(),r();var h=Symbol.for("nuxt:client-only");function g(e){return e&&!function(e){return"#comment"===e.nodeName&&"placeholder"===e.nodeValue}(e)?m(e,"<div></div>"):s("div")}var y=u({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(n,{slots:r,attrs:o}){const i=l(!1);d(()=>{i.value=!0});const u=a();return u&&(u._nuxtClientOnly=!0),e(h,!0),()=>{if(i.value){const e=r.default?.();return e&&1===e.length?[f(e[0],o)]:e}const e=r.fallback||r.placeholder;if(e)return s(e);const a=n.fallback||n.placeholder||"",l=v(n.fallbackTag||n.placeholderTag,"span");return t(l,o,a)}}}),b=new WeakMap;function $(e){if(b.has(e))return b.get(e);const t={...e};if(t.render)t.render=(t,n,r,a,l,o)=>{if(a.mounted$??t.mounted$){const i=e.render?.bind(t)(t,n,r,a,l,o);return null===i.children||"string"==typeof i.children?f(i):s(i)}return g(t._.vnode.el)};else{const n="<div></div>";t.template&&=`\n <template v-if="mounted$">${e.template}</template>\n <template v-else>${n}</template>\n `}return t.setup=(n,r)=>{const o=p(),i=l(!1===o.isHydrating),u=a();if(o.isHydrating){const e={...u.attrs},t=function(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}(u);for(const n in e)delete u.attrs[n];d(()=>{Object.assign(u.attrs,e),u.vnode.dirs=t})}d(()=>{i.value=!0});const v=e.setup?.(n,r)||{};return c(v)?Promise.resolve(v).then(e=>"function"!=typeof e?(e||={},e.mounted$=i,e):(...t)=>{if(i.value||!o.isHydrating){const n=e(...t);return null===n.children||"string"==typeof n.children?f(n):s(n)}return g(u?.vnode.el)}):"function"==typeof v?(...e)=>{if(i.value){const n=v(...e),a=!1!==t.inheritAttrs?r.attrs:void 0;return null===n.children||"string"==typeof n.children?f(n,a):s(n,a)}return g(u?.vnode.el)}:Object.assign(v,{mounted$:i})},b.set(e,t),t}export{h as n,$ as r,y as t};
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.