hunk.code_window:         // these are going to be used to compute the initial popper offsets
           // and as cache for any modifier that needs them later
           state.measures = {
             reference: getElementClientRect(referenceElement, isFixed),
             // CSS marginsc an be applied to popper elements to quickly
             // apply offsets dynamically based on some CSS selectors.
             // For this reason we include margins in this calculation.
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:           reference: getElementClientRect(referenceElement, isFixed, false),
  
hunk.file_path: src/index.js
hunk.type: replace
file: // @flow
  
  import type { Rect, ClientRectObject } from '../types';
  
  export default (rect: Rect): ClientRectObject => ({
    ...rect,
    left: rect.x,
    top: rect.y,
    right: rect.x + rect.width,
    bottom: rect.y + rect.height,
  });
  