1import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-CXnKph_e.js";var r=e(t(),1),i=n();function a({src:e,srcSet:t,alt:n,sizes:a,priority:o=!1,className:s=``}){let[c,l]=(0,r.useState)(!1),u=c||!e;return(0,i.jsx)(`div`,{className:`product-image-frame ${s}`.trim(),"data-image-state":u?`unavailable`:`ready`,children:u?(0,i.jsx)(`span`,{className:`product-image-fallback`,role:`img`,"aria-label":n,children:`Image not available`}):(0,i.jsx)(`img`,{src:e,srcSet:t||void 0,sizes:a,width:1200,height:1200,alt:n,loading:o?`eager`:`lazy`,fetchPriority:o?`high`:`auto`,decoding:`async`,onError:()=>l(!0)})})}export{a as ProductImage};
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.