1function a(r){if(r==null)return null;const e=Number(r);return isFinite(e)?e===0?0:e>=1e3?e/100:e:null}function u(r,e){const n=r?.featured_image&&(r.featured_image.src||r.featured_image)||r?.images&&r.images[0]&&(r.images[0].src||r.images[0])||e,t=window.Shopify&&Shopify.routes&&Shopify.routes.root||"/";return{id:r.id,name:r.title,url:`${t}products/${r.handle}`,image:n,price:a(r.price_min??r.price),compare_at:a(r.compare_at_price_min??r.compare_at_price),available:!!r.available}}function o(r={}){return{items:window.Aventon?.product?.alternative_products,discontinued:window.Aventon?.product?.discontinued,fallbackImage:r.fallbackImage||null,get products(){return(this.items||[]).map(e=>u(e,this.fallbackImage))},fmt(e){try{return new Intl.NumberFormat(void 0,{style:"currency",currency:"USD"}).format(e)}catch{return`$${Number(e).toLocaleString()}`}}}}export{o as default};
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.