import u from "./getNestedValue.js";
function m(e, l) {
  var a;
  if (e.hasColumnSeparator !== l.hasColumnSeparator || e.cellsLength !== l.cellsLength || e.isSelected !== l.isSelected || e.columnSizingId !== l.columnSizingId || e.columnSizingDeltaOffset !== l.columnSizingDeltaOffset || e.columnSizeNumber !== l.columnSizeNumber || e.rowIndex !== l.rowIndex || e.cell.id !== l.cell.id || e.cell.column.id !== l.cell.column.id)
    return !1;
  const i = e.cell.column.id, n = (a = e.columns) == null ? void 0 : a.find((c) => c.key === i);
  if (n != null && n.render) {
    if (e.record !== l.record) {
      const c = Object.keys(e.record), d = Object.keys(l.record);
      if (c.length !== d.length) return !1;
      for (const t of c)
        if (e.record[t] !== l.record[t]) return !1;
    }
  } else {
    const c = (n == null ? void 0 : n.dataIndex) ?? i, d = u(e.record, c), t = u(l.record, c);
    if (d !== t) return !1;
  }
  return !0;
}
export {
  m as default
};
//# sourceMappingURL=areCellPropsEqual.js.map
