Liferay.Loader.define("frontend-js-web@5.0.32/liferay/portlet/register.es",["module","exports","require","./PortletInit.es","./portlet_util.es"],(function(e,t,r){var o,l=window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.register=void 0;var i=(o=r("./PortletInit.es"))&&o.__esModule?o:{default:o},n=r("./portlet_util.es");const e=function(e){(0,n.validateArguments)(arguments,1,1,["string"]);const t=l.portlet.data.pageRenderState;return new Promise(((r,o)=>{(0,n.validatePortletId)(t,e)?r(new i.default(e)):o(new Error("Invalid portlet ID"))}))};t.register=e;var a=e;t.default=a}}));
//# sourceMappingURL=register.es.js.map