'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ChildrenDroppable=require("../ChildrenDroppable.js"),styles=require("./common/styles.js"),classes=require("./common/classes.js"),attrs=require("./common/attrs.js");const Column=e=>{let{builderAttrs:s,children:r}=e,t=core.usePageType(),l="POST_PURCHASE"===t,{colStyle:o}=styles.getStyles(e,l),{colClass:i}=classes.getClass(e),{colAttr:u}=attrs.getAttr(e);return jsxRuntime.jsx("div",{...s,...u,style:o,className:i,children:core.isEmptyChildren(r)?e.hiddenEmptyCol?null:jsxRuntime.jsx(ChildrenDroppable.default,{}):r})};exports.default=Column;
