Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/components/ItemConfigurationSidebar",["module","exports","require","@frontend-taglib-clay$clayui/empty-state","@liferay/frontend-js-react-web","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","../config/index","../contexts/ControlsContext","../contexts/StoreContext","../selectors/selectItemConfigurationOpen","./ItemConfiguration"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,l.useActiveItemId)(),t=(0,l.useActiveItemType)(),a=(0,s.useSelector)(f.default);return i.default.createElement(o.ReactPortal,{className:"cadmin"},i.default.createElement("div",{className:(0,r.default)("page-editor__item-configuration-sidebar",{"page-editor__item-configuration-sidebar--open":a})},e?i.default.createElement(d.default,{activeItemId:e,activeItemType:t}):i.default.createElement(n.default,{className:"p-5",description:Liferay.Language.get("select-a-page-element-to-activate-this-panel"),imgSrc:"".concat(c.config.imagesPath,"/no_item.svg"),small:!0,title:Liferay.Language.get("select-a-page-element")})))};var n=u(a("@frontend-taglib-clay$clayui/empty-state")),o=a("@liferay/frontend-js-react-web"),r=u(a("liferay!frontend-js-react-web$classnames")),i=u(a("liferay!frontend-js-react-web$react")),c=a("../config/index"),l=a("../contexts/ControlsContext"),s=a("../contexts/StoreContext"),f=u(a("../selectors/selectItemConfigurationOpen")),d=u(a("./ItemConfiguration"));function u(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=ItemConfigurationSidebar.js.map