Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.173/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 r=_interopRequireDefault(o("@frontend-taglib-clay$clayui/layout")),a=(_interopRequireDefault(o("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(o("liferay!frontend-js-react-web$react"))),l=(o("../../../prop_types/index"),o("../../contexts/ResizeContext")),n=o("../../contexts/StoreContext"),i=_interopRequireDefault(o("../../selectors/selectCanUpdateItemConfiguration")),u=_interopRequireDefault(o("../../selectors/selectCanUpdatePageStructure")),s=o("../../utils/getResponsiveColumnSize");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=a.default.forwardRef((({children:e,className:t,item:o},c)=>{const d=(0,n.useSelector)(i.default),f=(0,n.useSelector)(u.default),p=(0,n.useSelector)((e=>e.selectedViewportSize)),y=(0,l.useNextColumnSizes)(),_=(null==y?void 0:y[o.itemId])||(0,s.getResponsiveColumnSize)(o.config,p),m=f||d?a.default.createElement("div",{className:"page-editor__col__border"},e):e;return a.default.createElement(r.default.Col,{className:t,ref:c,size:_},m)}));t.default=c}}));
//# sourceMappingURL=Column.js.map