'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),Image=require("next/image"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),attrs=require("../common/attrs.js");const NextImage=e=>{let{style:s,imgRef:t,setting:r,priority:a,className:m,width:l,height:c,isNotLazyload:i,isDisableAspectStyle:u,enableLazyLoadImage:g=!0}=e,x=!i&&g&&!a,o=system.createStyle({...s,...styles.getNextImageStyles({width:l,height:c,setting:r,isDisableAspectStyle:u,isDisableObjectFit:!1})}),y=system.createClass({...classes.getNextImageClasses({className:m,hasLazyLoad:x})}),n=attrs.getNextImageReactAttrs(e);return jsxRuntime.jsx(Image,{ref:t,...n,style:o,className:y})};exports.default=NextImage;
