Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.179/page_editor/app/utils/hideProductMenuIfPresent",["module","exports","require"],(function(e,i,o){window;Object.defineProperty(i,"__esModule",{value:!0}),i.default=function hideProductMenuIfPresent({onHide:e}){var i;const o=null===(i=Liferay.SideNavigation)||void 0===i?void 0:i.instance(document.querySelector(".product-menu-toggle"));if(null==o?void 0:o.visible()){let removeListener=()=>{};const i=o.on("closed.lexicon.sidenav",(()=>{e(),removeListener()}));removeListener=()=>i.removeListener(),o.hide()}else e()}}));
//# sourceMappingURL=hideProductMenuIfPresent.js.map