code: function (t) {
          var o_p = this.offsetParent(),
              o = o_p.offset(),
              p = t.offset();
  
          p.top -= o.top;
          p.left -= o.left;
  
          return p;
        }
docs: Calculate target offset