"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js");const MarqueeItem=({builderProps:e,itemBackgroundColor:s,itemBorderStyle:t,itemCorner:r,itemShadow:l,rawChildren:a,itemStyles:c,hasItemShadow:o})=>{let m=system.createStyle(styles.getItemWrapperStyles({itemBackgroundColor:s,itemBorderStyle:t,itemCorner:r,itemShadow:l,hasItemShadow:o,itemStyle:c})),i=system.createClass(classes.getItemWrapperClasses(e?.uid)),d=system.createClass(classes.getPlaceHolderWrapperClasses);return core.template`<div
      class="${i}"
      style="${m}"
    >
      <div className="${d}"></div>
      ${a?.length?core.WrapRenderChildren({uid:e?.uid??"",customProps:a[0]?.customProps},a.map(e=>{if(e)return core.template`${core.RenderChildren({...e,isNotFullWidth:!0,isNotLazyload:!0})}`})):""}
    </div>`};exports.default=MarqueeItem;
