'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ChildrenDroppable=require("../../../grid/components/ChildrenDroppable.js"),system=require("@gem-sdk/system"),styles=require("../contact/common/styles.js"),attrs=require("./common/attrs.js"),classes=require("../contact/common/classes.js");const getAttr=({uid:e})=>({"data-id":e}),Newsletter=({children:e,setting:s,styles:t,style:r,builderAttrs:o,builderProps:a})=>{let l=system.createStyle(styles.composeContainerStyles(s,t,r)),i=system.createAttr({...attrs.composeContainerAttrs({uid:a?.uid||""},s)}),c=system.createClass(classes.composeContainerClasses());return jsxRuntime.jsx("div",{className:c,...i,...o,style:l,children:core.isEmptyChildren(e)?jsxRuntime.jsx(ChildrenDroppable.default,{}):e})};exports.default=Newsletter,exports.getAttr=getAttr;
