1import{J as n}from"./entry.D2Us7Cog.js";const f=()=>{const t=n(),i=async(e,r)=>{const s=`/_ipx/w_1&f_webp&q_1/images/uploads/${e}/${r.id}`;try{return await $fetch(s,{method:"HEAD"}),!0}catch{return!1}},g=async e=>{const r=`${t.public.INTERHOME_IMAGES_BASE}/${e.id}`;try{return await $fetch(r,{method:"HEAD"}),!0}catch{return!1}},a=async(e,r=0)=>{const s="/images/placeholder.svg";return!e.images||e.images.length<=r?s:e.flags.isInterhome?await g(e.images[r])?`${t.public.INTERHOME_IMAGES_BASE}/${e.images[r].id}`:s:await i(e._id,e.images[r])?`/images/uploads/${e._id}/${e.images[r].id}`:s};return{getImageSource:a,getAllImageSources:async e=>await Promise.all(e.images.map(async(s,u)=>await a(e,u)))}};export{f as u};
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.