1import{D as e,t}from"./jsx-runtime-Cvx0fZjB.js";var n={xs:`320px`,sm:`640px`,md:`900px`,lg:`1200px`,xl:`1600px`,"sell-nav":`1090px`,"sell-tablet":`768px`,"sell-desktop":`1080px`};function r(e){let t={min:{},max:{}};for(let n in e){let r=n,i=parseInt(e[r],10);t.min[r]=`(min-width: ${i}px)`,t.max[r]=`(max-width: ${i-1}px)`}return t}var i=r(n);function a(t=``,n={}){return`${t}${Object.entries(n).filter(([t,n])=>n!==void 0&&!(t===`crop`&&n===e.None)).reduce((e,[n,r],i)=>`${e}${i===0&&!t.includes(`?`)?`?`:`&`}${n}=${r}`,``)}`}var o=[1,2];function s(e){if(e===void 0)return;let t=Number(e);return Number.isFinite(t)?t:void 0}function c(e){if(!e)return;let t=parseInt(n[e],10);return Number.isFinite(t)?t:void 0}function l(e){return e===1?``:` ${e}x`}function u(e){if(!e)return;let t=`minWidth`in e?e.minWidth:c(e.min),n=`maxWidth`in e?e.maxWidth:c(e.max),r=[];if(t!==void 0&&r.push(`(min-width: ${t}px)`),n!==void 0){let t=`maxWidth`in e?n:n-1;r.push(`(max-width: ${t}px)`)}return r.length>0?r.join(` and `):void 0}function d(t,n){if(t.srcSet!==void 0)return a(t.srcSet,{width:t.width,height:t.height,crop:t.crop});let r=s(t.width);if(r===void 0)return;let i=s(t.height),c=t.crop??n.crop??e.None,u=t.src??n.src,d=(t.densities??o).map(e=>`${a(u,{width:Math.round(r*e),height:i===void 0?void 0:Math.round(i*e),crop:c})}${l(e)}`);return d.length>0?d.join(`, `):void 0}function f(e){return e.media??u(e.breakpoint)}var p=t();function m({alt:t=``,className:n,componentName:r=`image`,crop:i=e.None,decoding:o,height:s,loading:c,sizes:l,src:u,srcSet:m,sources:h,width:g,fetchPriority:_,"aria-hidden":v,...y}){return(0,p.jsxs)(`picture`,{"data-component-name":r,...y,children:[h?.map((e,t)=>(0,p.jsx)(`source`,{srcSet:d(e,{src:u,crop:i}),sizes:e.sizes,media:f(e),width:e.width,height:e.height,type:e.type},t)),(0,p.jsx)(`img`,{alt:t,className:n,decoding:o,height:s,loading:c,src:a(u,{width:g,height:s,crop:i}),srcSet:m,sizes:l,width:g,"aria-hidden":v,fetchpriority:_})]})}export{i as n,n as r,m as t}; 2//# sourceMappingURL=Image-BmxNu-Rt.js.map
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.