'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),React=require("react"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),attrs=require("../common/attrs.js");const PostPurchaseAdvancedList=({styles:e={},style:s,builderAttrs:t,builderProps:r,children:a})=>{let{align:l,horizontalSpacing:c,verticalSpacing:i}=e,n=system.createClass({...classes.getClasses(r?.uid,l)}),m=system.createClass({...classes.getContainerClasses()}),o=system.createStyle({...styles.getContainerStyle(i)}),u=system.createAttr({...attrs.getAttr({builderAttrs:t})});return jsxRuntime.jsx("div",{...u,className:n,style:{...s},children:jsxRuntime.jsx("ul",{className:m,style:o,children:React.Children.map(core.filterToolbarPreview(a),e=>React.isValidElement(e)?jsxRuntime.jsx(e.type,{...e.props,horizontalSpacing:c}):null)})})};exports.default=PostPurchaseAdvancedList;
