'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),Image=require("../../image/components/Image.js");const CartLineImage=({className:e,style:t,setting:r={},styles:a={},builderProps:o})=>{let s=core.useCartLine(),i=s.variant?.image?.url,m=s.variant?.image?.altText??"Image Not Found",c=s.variant?.image?.width??400,n=s.variant?.image?.height??400;return jsxRuntime.jsx("div",{className:core.cls("gp-text-center",e),style:t,children:jsxRuntime.jsx(Image.default,{setting:{alt:m,image:{src:i,width:c,height:n}},builderProps:o,styles:{aspectRatio:a.aspectRatio,customAspectRadio:a.customAspectRadio,roundedImg:a.roundedImg,layout:a.layout},className:core.cls("gp-transition-transform",{"hover:gp-scale-110":r?.hoverEffect==="zoom","hover:gp-rotate-6":r?.hoverEffect==="rotate","hover:gp-blur-sm":r?.hoverEffect==="blur"})})})};exports.default=CartLineImage;
