import"./index.js";import{DEFAULT_GRID_LAYOUT_PADDING as i,GRID_ROW_HEIGHT as t,GRID_COLUMN_SIZES as e}from"../constants/apps.js";import{isMobileDetected as r,isNativeDetected as o}from"./mobileDetect.js";var n=function(n){var a=n.coordinates,s=n.dashboardWidth,d=n.isMaximized;return{pixelHeight:d?window.innerHeight-2*i:a.h*(t+i)-i,pixelWidth:d||r||o?s-2*i:(s-i)*a.w/e.large-i}};export{n as getAppSize};
