Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/utils/modals/index",["module","exports","require","frontend-js-web","./constants"],(function(e,n,o){window;Object.defineProperty(n,"__esModule",{value:!0}),n.resolveModalSize=function(e){const n=e.split("-")[1];if(!n)return r.CLAY_MODAL_SIZES_MAP.DEFAULT;if(n in r.CLAY_MODAL_SIZES_MAP)return r.CLAY_MODAL_SIZES_MAP[n];return r.CLAY_MODAL_SIZES_MAP.FULL_SCREEN},n.resolveModalHeight=function(e){return e&&e in r.MODAL_HEIGHT_MAP?r.MODAL_HEIGHT_MAP[e]:r.MODAL_HEIGHT_MAP.INITIAL},n.openPermissionsModal=function(e){(0,t.openModal)({title:Liferay.Language.get("permissions"),url:e})};var t=o("frontend-js-web"),r=o("./constants")}));
//# sourceMappingURL=index.js.map