1import{t as e}from"./L97XnzhB2.js";var t=e=>{if(!e)return``;if(!/^[a-z][a-z0-9+.-]*:\/\//i.test(e))return e;try{let t=new URL(e);return`${t.pathname}${t.search}${t.hash}`}catch{return e}},n=(n,r)=>{if(n.name===`product_slide`)return r(n,`product`)?.product;if(n.name===`product_variant_slide`){let i=r(n,`variant`)?.variant;if(!i||!e(i.product))return;let a=i.product,o=i.images?.find(e);return{...a,id:`${a.id}-${i.id}`,name:i.frontendTitle||a.name,urlPath:t(i.variantSpecificLink)||a.urlPath,imageUrl:o?.largeUrl||a.imageUrl,imageAlt:o?.alt||a.imageAlt,imageSrcset:o?.srcset||a.imageSrcset}}};export{n 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.