text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.getElementGeometry = getElementGeometry;
  
  var _getOffsetsTo2 = _interopRequireDefault(require("./getOffsetsTo"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function getElementGeometry(element, parent) {
    var _getOffsetsTo = (0, _getOffsetsTo2.default)(element, parent),
        rect = _getOffsetsTo.rect,
        bounds = _getOffsetsTo.bounds;
  
    return {
      bounds,
      rect
    };
  }