"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./index.js");var e=require("../constants/apps.js"),D=require("./mobileDetect.js");exports.getAppSize=function(i){var _=i.coordinates,t=i.dashboardWidth,r=i.isMaximized;return{pixelHeight:r?window.innerHeight-2*e.DEFAULT_GRID_LAYOUT_PADDING:_.h*(e.GRID_ROW_HEIGHT+e.DEFAULT_GRID_LAYOUT_PADDING)-e.DEFAULT_GRID_LAYOUT_PADDING,pixelWidth:r||D.isMobileDetected||D.isNativeDetected?t-2*e.DEFAULT_GRID_LAYOUT_PADDING:(t-e.DEFAULT_GRID_LAYOUT_PADDING)*_.w/e.GRID_COLUMN_SIZES.large-e.DEFAULT_GRID_LAYOUT_PADDING}};
//# sourceMappingURL=apps.js.map
