import{makeStyleResponsive as e,makeStyle as t}from"@gem-sdk/core";let getContainerStyles=({style:e,hasDiscount:t})=>({...e,opacity:t?1:.2}),getFeatureImageStyle=t=>({...e("w",t?.ftWidth)}),getImageListStyle=e=>({flexDirection:e?.vertical?"column":"row",gap:parseInt(e?.gap)}),getImageGridStyle=(e,g)=>({...g,...t({gg:e?.gap}),...t({gtc:`repeat(${e?.itemSlide}, 1fr)`})}),getProductImageLayoutStyle=(e,g)=>({...g,...t({gg:e?.gap})}),getAlignStyle=e=>({"--o":e?.layoutType==="left"?"1":"0","--jc":e?.align==="left"?"flex-start":e?.align==="right"?"flex-end":"center"});export{getAlignStyle,getContainerStyles,getFeatureImageStyle,getImageGridStyle,getImageListStyle,getProductImageLayoutStyle};
