'use client';
import{jsx as m}from"react/jsx-runtime";import t from"next/image";import{createStyle as e,createClass as o}from"@gem-sdk/system";import{getNextImageClasses as r}from"../common/classes.js";import{getNextImageStyles as s}from"../common/styles.js";import{getNextImageReactAttrs as a}from"../common/attrs.js";let NextImage=i=>{let{style:f,imgRef:l,setting:c,priority:p,className:n,width:j,height:x,isNotLazyload:g,isDisableAspectStyle:u,enableLazyLoadImage:y=!0}=i,N=!g&&y&&!p,b=e({...f,...s({width:j,height:x,setting:c,isDisableAspectStyle:u,isDisableObjectFit:!1})}),d=o({...r({className:n,hasLazyLoad:N})}),I=a(i);return m(t,{ref:l,...I,style:b,className:d})};export{NextImage as default};
