'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),Text=require("../../text/components/Text.js"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),core=require("@gem-sdk/core");const CalloutText=({setting:e={},styles:s={},style:t,builderAttrs:l,builderProps:r,children:a})=>{let{width:u,align:c}=s,{message:i}=e,m=system.createClass({...classes.getCalloutTextWrapperClasses({align:c,builderProps:r})}),x=system.createStyle({...core.makeStyleResponsiveWidth(u)}),y={...styles.getTextStyles(s)},o=system.createStyle(styles.getCalloutTextStyle(t)),n=system.createAttr({...l});return jsxRuntime.jsxs("div",{...n,className:m,style:o,children:[jsxRuntime.jsx("div",{style:x,children:jsxRuntime.jsx(Text.default,{setting:{text:i},styles:y})}),a]})};exports.default=CalloutText;
