'use client';
import{jsx as e}from"react/jsx-runtime";import{useCartLine as t,cls as a}from"@gem-sdk/core";import r from"../../image/components/Image.js";let CartLineImage=({className:o,style:i,setting:m={},styles:s={},builderProps:g})=>{let n=t(),c=n.variant?.image?.url,l=n.variant?.image?.altText??"Image Not Found",p=n.variant?.image?.width??400,u=n.variant?.image?.height??400;return e("div",{className:a("gp-text-center",o),style:i,children:e(r,{setting:{alt:l,image:{src:c,width:p,height:u}},builderProps:g,styles:{aspectRatio:s.aspectRatio,customAspectRadio:s.customAspectRadio,roundedImg:s.roundedImg,layout:s.layout},className:a("gp-transition-transform",{"hover:gp-scale-110":m?.hoverEffect==="zoom","hover:gp-rotate-6":m?.hoverEffect==="rotate","hover:gp-blur-sm":m?.hoverEffect==="blur"})})})};export{CartLineImage as default};
