"use strict";var core=require("@gem-sdk/core");const getFigureStyle=e=>({...core.makeStyleResponsive("w",e?.width),"border-radius":"inherit"}),getImageStyle=(e,t)=>({...t,...core.makeStyle({ta:e?.align})}),getImageWrapperStyle=(e,t)=>({...t,"--w":"100%",...core.makeStyleResponsiveState("radius",e?.borderRadius),...core.makeStyleResponsive("aspect",e?.aspectRatio),...core.makeStyleResponsive("objf",e?.layout)});exports.getFigureStyle=getFigureStyle,exports.getImageStyle=getImageStyle,exports.getImageWrapperStyle=getImageWrapperStyle;
