let TetherBase; if (typeof TetherBase === 'undefined') { TetherBase = {modules: []}; } let zeroElement = null; // Same as native getBoundingClientRect, except it takes into account parent offsets // if the element lies within a nested document ( or