import { CARD_HEIGHT as t } from "../../../../constants.js";
function u(n) {
  const { visibleColumnsCount: i, customMinHeight: o } = n;
  if (o !== void 0)
    return o;
  const e = i * t.COLUMN, c = t.HEADER + e + t.PADDING_VERTICAL;
  return Math.max(t.BASE_MIN, c);
}
export {
  u as calculateCardHeight
};
