/*!
 * Built by Revolist OU ❤️
 */
import { DATA_COL, DATA_ROW } from "../utils/consts";
export function getCell(cell) {
    var _a, _b;
    return {
        x: parseInt((_a = cell.getAttribute(DATA_COL)) !== null && _a !== void 0 ? _a : '0', 10),
        y: parseInt((_b = cell.getAttribute(DATA_ROW)) !== null && _b !== void 0 ? _b : '0', 10),
    };
}
