1import{y as b,a1 as n,V as y,ar as p,W as w,M as S,Q as I,ab as x,P as d,am as v}from"./Btxz3B-5.js";import{u as C}from"./nH2NDD-C.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"96725dd997fdc430415235c4eae12d41f60d7934"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6fb60a09-2be1-458e-9d0b-4fed166d2e91",e._sentryDebugIdIdentifier="sentry-dbid-6fb60a09-2be1-458e-9d0b-4fed166d2e91")}catch{}})();const E=b({__name:"LoadingImage",props:{thumbnail:{type:Object,required:!0},source:{type:Object,required:!0},ignoreObserver:{type:Boolean},imgClasses:{type:String},wrapper:{type:String,default:"div"},usedIn:{type:String,default:""},srcSet:{type:String,default:""},loading:{type:String,default:"lazy"}},setup(e){const t=e,a=n(()=>{var r,i;return t.srcSet?C("150",(r=t.source)==null?void 0:r.url):(i=t.source)==null?void 0:i.url}),g=n(()=>a.value&&!t.srcSet&&t.loading==="eager"?{fetchPriority:"high"}:!1),h=n(()=>t.loading==="eager"?"high":"auto");return(r,i)=>{const m=v;return S(),y(p(e.wrapper),{class:"w-full"},{default:w(()=>{var s,l,o,c,u,f;return[I(m,{class:x(["filter text-xxs",[e.imgClasses]]),src:d(a),srcset:e.srcSet,"data-thumbnail":(s=e.thumbnail)==null?void 0:s.url,alt:(l=e.thumbnail)==null?void 0:l.altText,width:e.usedIn==="productBox"?"500":((o=e.source)==null?void 0:o.width)||((c=e.thumbnail)==null?void 0:c.width),height:e.usedIn==="productBox"?"899":((u=e.source)==null?void 0:u.height)||((f=e.thumbnail)==null?void 0:f.height),loading:e.loading,preload:d(g),fetchpriority:d(h),decoding:"async"},null,8,["class","src","srcset","data-thumbnail","alt","width","height","loading","preload","fetchpriority"])]}),_:1})}}});
1export{E as _};
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.