try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9be6a702-6cfb-4dee-95b3-1e0270224099`,e._sentryDebugIdIdentifier=`sentry-dbid-9be6a702-6cfb-4dee-95b3-1e0270224099`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Ct as n,Md as r,Pt as i,Qh as a,Zm as o,_r as s,ng as c,pi as l}from"./entry.client-mpghtlrl.js";var u=t(),d=e(l(),1),f=1200,p=1100,m=1e3,h=900,g=800,_=700,v=600,y=500,b=450,x=330,S=400,C=500,w=400,T=792,E=576,D=438,O=384,k=472,A=440,j=354,M=208,N=184,P=176,F=592,I=430,L=328,R=286,z=352,B=330,V=264,H=156,U=138,W=132,G={entries:[{query:`XL_20`,size:{width:f},imageType:`jpg`},{query:`XL_10`,size:{width:p},imageType:`jpg`},{query:`LG_20`,size:{width:m},imageType:`jpg`},{query:`LG_10`,size:{width:h},imageType:`jpg`},{query:`MD_20`,size:{width:g},imageType:`jpg`},{query:`SM_25`,size:{width:_},imageType:`jpg`},{query:`SM_20`,size:{width:v},imageType:`jpg`},{query:`SM_10`,size:{width:y},imageType:`jpg`},{query:`XSL_20`,size:{width:b},imageType:`jpg`},{query:`XSL_10`,size:{width:x},imageType:`jpg`},{query:`XS_20`,size:{width:S},imageType:`jpg`},{query:`XS_10`,size:{width:C},imageType:`jpg`}],defaultEntry:{size:{width:w},imageType:`jpg`}},K={entries:[{query:`XL_20`,size:{width:T},imageType:`jpg`},{query:`XL_10`,size:{width:E},imageType:`jpg`},{query:`LG_20`,size:{width:D},imageType:`jpg`},{query:`LG_10`,size:{width:O},imageType:`jpg`},{query:`MD_20`,size:{width:k},imageType:`jpg`},{query:`SM_25`,size:{width:A},imageType:`jpg`},{query:`SM_20`,size:{width:j},imageType:`jpg`},{query:`SM_10`,size:{width:M},imageType:`jpg`},{query:`XS_20`,size:{width:N},imageType:`jpg`},{query:`XS_10`,size:{width:P},imageType:`jpg`}],defaultEntry:{size:{width:P},imageType:`jpg`}},q={entries:[{query:`XL_20`,size:{width:F},imageType:`jpg`},{query:`XL_10`,size:{width:I},imageType:`jpg`},{query:`LG_20`,size:{width:L},imageType:`jpg`},{query:`LG_10`,size:{width:R},imageType:`jpg`},{query:`MD_20`,size:{width:z},imageType:`jpg`},{query:`SM_25`,size:{width:B},imageType:`jpg`},{query:`SM_20`,size:{width:V},imageType:`jpg`},{query:`SM_10`,size:{width:H},imageType:`jpg`},{query:`XS_20`,size:{width:U},imageType:`jpg`},{query:`XS_10`,size:{width:W},imageType:`jpg`}],defaultEntry:{size:{width:W},imageType:`jpg`}},J=c(),Y=s(e=>{let t=(0,u.c)(15),{product:a,variant:o}=e,s=o===void 0?`blurred`:o,c;t[0]===a?c=t[1]:(c=a?r(a)??``:``,t[0]=a,t[1]=c);let l=c;if(!l)return null;let f=s===`blurred`,p=f&&`blur-[80px] mask-image-[radial-gradient(circle_closest-corner_at_50%_0%,black_40%,transparent_95%)] @xsl-10:blur-[unset]`,m=!f&&`mask-image-[radial-gradient(50%_182.01%_at_50%_0%,black_41.83%,transparent_100%)]`,h;t[2]!==p||t[3]!==m?(h=(0,d.default)(`h-full w-full object-cover`,p,m),t[2]=p,t[3]=m,t[4]=h):h=t[4];let g;t[5]!==l||t[6]!==h?(g=(0,J.jsx)(i,{src:l,alt:``,aspectRatio:`16/9`,getResizedImageUrl:n,constraintSet:G,className:h}),t[5]=l,t[6]=h,t[7]=g):g=t[7];let _=f?`bg-container-backgrounds-overlay-gradient-level-4`:`bg-container-backgrounds-overlay-gradient-app-background`,v;t[8]===_?v=t[9]:(v=(0,d.default)(`absolute inset-0`,_),t[8]=_,t[9]=v);let y;t[10]===v?y=t[11]:(y=(0,J.jsx)(`div`,{className:v}),t[10]=v,t[11]=y);let b;return t[12]!==g||t[13]!==y?(b=(0,J.jsxs)(`div`,{className:`absolute inset-0 z-0 overflow-hidden`,children:[g,y]}),t[12]=g,t[13]=y,t[14]=b):b=t[14],b},({productId:e,variant:t})=>{let{catalog:n}=o(),{data:r}=a({...n.queries.productInfo.basic.getOptions({productId:e}),enabled:!!e});return{product:r,variant:t}});export{K as n,q as r,Y as t};