1import{c as A}from"./D_rngVSp.js";import{a1 as w,a2 as x,a3 as I,l as N,r as F,a4 as O,y as i,z as n,F as b,A as j,a5 as E,a6 as M,a7 as P,a8 as T,i as d}from"./D5MLA-hU.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new a.Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="ab1e6300-ee05-4262-898b-7fd6a88f24c2",a._sentryDebugIdIdentifier="sentry-dbid-ab1e6300-ee05-4262-898b-7fd6a88f24c2")}catch{}})();var C=A("outline","users","Users",[["path",{d:"M5 7a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"svg-2"}],["path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85",key:"svg-3"}]]);const B=["type","sizes","srcset"],D=["src","sizes","srcset"],U=Object.assign({inheritAttrs:!1},{__name:"NuxtPicture",props:{legacyFormat:{type:String,required:!1},imgAttrs:{type:Object,required:!1},src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[String,Number],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:null,required:!1},sizes:{type:[String,Object],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},crossorigin:{type:[String,Boolean],required:!1},nonce:{type:String,required:!1}},emits:["load","error"],setup(a,{emit:o}){const t=a,l=o,g=w(),_=new Set(["alt","referrerpolicy","usemap","longdesc","ismap","loading","crossorigin","decoding","nonce"]),y=d(()=>{const e={img:{...S.value,...t.imgAttrs,"data-nuxt-pic":""},picture:{}};for(const r in g)_.has(r)?r in e.img||(e.img[r]=g[r]):e.picture[r]=g[r];return e}),f=d(()=>t.src?.match(/^[^?#]+\.(\w+)(?:$|[?#])/)?.[1]),u=d(()=>t.legacyFormat?t.legacyFormat:!f.value||!["png","webp","gif","svg"].includes(f.value)?"jpeg":"png"),c=x(),{providerOptions:h,imageModifiers:q,normalizedAttrs:S}=I(t),v=d(()=>{const e=t.format?.split(",")||(f.value==="svg"?["svg"]:c.options.format?.length?[...c.options.format]:["webp"]);return e[0]==="svg"?[{src:t.src}]:(e.includes(u.value)&&e.splice(e.indexOf(u.value),1),e.push(u.value),e.map(r=>{const{srcset:s,sizes:m,src:k}=c.getSizes(t.src,{...h.value,sizes:t.sizes||c.options.screens,densities:t.densities,modifiers:{...q.value,format:r}});return{src:k,type:`image/${r}`,sizes:m,srcset:s}}))}),z=N().isHydrating,p=T("imgEl");return F(()=>{const e=Array.isArray(p.value)?p.value[0]:p.value;e&&(e.complete&&z&&(e.getAttribute("data-error")?l("error",new Event("error")):l("load",new Event("load"))),e.onload=r=>{l("load",r)},e.onerror=r=>{l("error",r)},O("nuxt-picture"))}),(e,r)=>(i(),n("picture",M(P(y.value.picture)),[(i(!0),n(b,null,j(v.value,(s,m)=>(i(),n(b,null,[m+1<v.value.length?(i(),n("source",{key:s.src,type:s.type,sizes:s.sizes,srcset:s.srcset},null,8,B)):(i(),n("img",E({ref_for:!0,ref_key:"imgEl",ref:p,key:"last"+s.src},{ref_for:!0},y.value.img,{src:s.src,sizes:s.sizes,srcset:s.srcset}),null,16,D))],64))),256))],16))}}),H=Object.assign(U,{__name:"NuxtPicture"});export{C as I,H as _};
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.