'use client';
import{jsxs as t,jsx as e}from"react/jsx-runtime";import m from"../../text/components/Text.js";import{createClass as o,createStyle as s,createAttr as r}from"@gem-sdk/system";import{getCalloutTextWrapperClasses as l}from"../common/classes.js";import{getCalloutTextStyle as i,getTextStyles as c}from"../common/styles.js";import{makeStyleResponsiveWidth as n}from"@gem-sdk/core";let CalloutText=({setting:a={},styles:p={},style:d,builderAttrs:f,builderProps:x,children:u})=>{let{width:y,align:j}=p,{message:g}=a,T=o({...l({align:j,builderProps:x})}),h=s({...n(y)}),k={...c(p)},v=s(i(d)),C=r({...f});return t("div",{...C,className:T,style:v,children:[e("div",{style:h,children:e(m,{setting:{text:g},styles:k})}),u]})};export{CalloutText as default};
