1import{a as e}from"./dist-DiEP1Qns.js";import{On as t,Zn as n,_ as r,b as i,bt as a,er as o,g as s,mt as c,o as l}from"./runtime-core.esm-bundler-BKdLzFmX.js";import{t as u}from"./helper-D5ziWoUd.js";var d={key:0,class:`block flex-shrink-0`},f=[`media`,`srcset`],p=[`src`,`aria-label`,`alt`,`width`,`height`,`loading`,`fetchpriority`,`decoding`],m=[`src`,`alt`,`loading`,`fetchpriority`,`decoding`],h={__name:`ImageElement`,props:{src:String,alt:String,width:Number,height:Number,cropSize:Array,cropWidth:Array,intrinsicSize:Number,imageClass:String,noImageCrop:Boolean,noWebpExtension:Boolean,blurHash:String,quality:Number,loading:{type:String,default:`lazy`},fetchpriority:{type:String,default:void 0},decoding:{type:String,default:`async`}},setup(h){let g=h,_=g.src?g.src.split(/[#?]/)[0].split(`.`).pop().trim().toLowerCase():``,v=e().props.meta.data.accept_webp&&!g.noWebpExtension?`webp`:_,y=g.quality>=1&&g.quality<=100?`_${g.quality}q`:``,b=s(()=>_===`gif`?``:`@${g.intrinsicSize}w_0e${y}.${v}`),x=g.noImageCrop?g.noImageCrop:!u.validateImageBaseurl(g.src),S=s(()=>g.alt??``);return(e,s)=>h.width||h.height?(c(),i(`picture`,d,[(c(!0),i(l,null,a(h.cropWidth,(e,n)=>(c(),i(`source`,{key:n,media:`(max-width:${e}px)`,srcset:`${h.src}${t(x)||t(_)==`gif`?``:`@${h.cropSize[n]}w_0e${t(y)}.${t(v)}`}`},null,8,f))),128)),r(`img`,{src:`${h.src}${t(x)?``:t(b)}`,"aria-label":S.value,alt:S.value,width:h.width,height:h.height,loading:h.loading,fetchpriority:h.fetchpriority,decoding:h.decoding,draggable:`false`,style:o(!h.blurHash&&{backgroundImage:`url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAABCAYAAAA8YlcZAAAAE0lEQVR42mN8+frtf4ZRMAqoDADJaAPC1+m3pQAAAABJRU5ErkJggg==)`}),class:n([`object-cover bg-cover`,h.imageClass])},null,14,p)])):(c(),i(`img`,{key:1,src:`${h.src}${t(x)?``:t(b)}`,alt:S.value,loading:h.loading,fetchpriority:h.fetchpriority,decoding:h.decoding,draggable:`false`,style:o(!h.blurHash&&{backgroundImage:`url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAABCAYAAAA8YlcZAAAAE0lEQVR42mN8+frtf4ZRMAqoDADJaAPC1+m3pQAAAABJRU5ErkJggg==)`}),class:n([`object-cover bg-cover`,h.imageClass])},null,14,m))}};export{h 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.