text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.add = add;
  exports.subtract = subtract;
  exports.format = format;
  var ZERO_POSITION = Object.freeze({ row: 0, pixels: 0 });
  
  exports.ZERO_POSITION = ZERO_POSITION;
  
  function add(a, b) {
    return {
      row: a.row + b.row,
      pixels: a.pixels + b.pixels
    };
  }
  
  function subtract(a, b) {
    return {
      row: a.row - b.row,
      pixels: a.pixels - b.pixels
    };
  }
  
  function format(position) {
    return "(row: " + position.row + ", pixels: " + position.pixels + ")";
  }