1import{f as d,H as m,o as c,c as l,W as o,L as u,M as h,n,a as s,q as f,C as g,r,_ as y}from"./TXpD-UcJ.js";const v={class:"smart-img-skel"},w=["srcset"],b=["src","alt","width","height","loading","fetchpriority","sizes"],z=d({__name:"SmartImage",props:{src:{},webpSrc:{},alt:{},width:{},height:{},aspectRatio:{default:"1"},loading:{default:"lazy"},fetchpriority:{default:"auto"},sizes:{},objectFit:{default:"cover"}},setup(e){const t=r(!1),a=r(null);function i(){t.value=!0}return m(()=>{a.value?.complete&&a.value.naturalWidth>0&&(t.value=!0)}),(S,k)=>(c(),l("div",{class:"smart-img",style:o({aspectRatio:e.aspectRatio})},[u(s("div",v,null,512),[[h,!n(t)]]),s("picture",null,[e.webpSrc?(c(),l("source",{key:0,srcset:e.webpSrc,type:"image/webp"},null,8,w)):f("",!0),s("img",{ref_key:"imgEl",ref:a,src:e.src,alt:e.alt,width:e.width,height:e.height,loading:e.loading,fetchpriority:e.fetchpriority,sizes:e.sizes,decoding:"async",class:g(["smart-img-el",{loaded:n(t)}]),style:o({objectFit:e.objectFit}),onLoad:i,onError:i},null,46,b)])],4))}}),j=Object.assign(y(z,[["__scopeId","data-v-0bfe17e3"]]),{__name:"SmartImage"});export{j 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.