'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("@gem-sdk/system"),r=require("../common/classes.js"),t=require("../common/styles.js");const a=({layout:a,borderRadius:l,aspectRatio:c,image:o,alt:u,style:m,enableBorder:p,...i})=>{let y=s.createStyle(t.getImageWrapperStyle({borderRadius:l,aspectRatio:c,layout:a},m)),d=s.createClass(r.getImageWrapperClass({enableBorder:p}));return e.jsx("img",{...i,src:o?.src,alt:u,className:d,style:y})};a.defaultProps={layout:{desktop:"cover"}},exports.default=a;
