Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/components/layout-data-items/Column",["module","exports","require","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../../prop-types/index","../../contexts/ResizeContext","../../contexts/StoreContext","../../selectors/selectCanUpdateItemConfiguration","../../selectors/selectCanUpdatePageStructure","../../utils/getResponsiveColumnSize"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=u(o("@frontend-taglib-clay$clayui/layout")),r=(u(o("liferay!frontend-js-react-web$prop-types")),u(o("liferay!frontend-js-react-web$react"))),l=(o("../../../prop-types/index"),o("../../contexts/ResizeContext")),n=o("../../contexts/StoreContext"),s=u(o("../../selectors/selectCanUpdateItemConfiguration")),i=u(o("../../selectors/selectCanUpdatePageStructure")),c=o("../../utils/getResponsiveColumnSize");function u(e){return e&&e.__esModule?e:{default:e}}var d=r.default.forwardRef((({children:e,className:t,item:o},u)=>{const d=(0,n.useSelector)(s.default),f=(0,n.useSelector)(i.default),p=(0,n.useSelector)((e=>e.selectedViewportSize)),y=(0,l.useNextColumnSizes)(),m=(null==y?void 0:y[o.itemId])||(0,c.getResponsiveColumnSize)(o.config,p),C=f||d?r.default.createElement("div",{className:"page-editor__col__border"},e):e;return r.default.createElement(a.default.Col,{className:t,ref:u,size:m},C)}));t.default=d}}));
//# sourceMappingURL=Column.js.map