(e.prototype.send = function (e)()

in static/js/tracker.js [1659:1735]


              (e.prototype.send = function (e) {
                r.apply(this, arguments);
                try {
                  var t = this._aesHook,
                    n = t.url,
                    a = t.method,
                    c = void 0 === a ? 'GET' : a,
                    u = t.headers;
                  delete this._aesHook;
                  var f = n ? n.href || n : '';
                  if (l(f)) return;
                  var y,
                    h = f.split('?'),
                    g = this,
                    v = 0,
                    m = h[1],
                    w = new Date().getTime();
                  n = h[0];
                  try {
                    y = p(e, c);
                  } catch (e) {}
                  var b = function () {
                    v = g.status || v;
                    var t,
                      r = new Date().getTime() - w;
                    try {
                      var a = g.getAllResponseHeaders();
                      -1 !== a.indexOf('eagleeye-traceid')
                        ? (t = g.getResponseHeader('eagleeye-traceid'))
                        : -1 !== a.indexOf('x-eagleeye-id') &&
                          (t = g.getResponseHeader('x-eagleeye-id'));
                    } catch (e) {}
                    var f,
                      p = g.responseType || 'text';
                    'text' === p || 'json' === p
                      ? (f = g.response)
                      : g.response &&
                        (f = Object.prototype.toString.call(g.response));
                    var l = d(f || '', v, {
                        type: 'xhr',
                        params: m,
                        url: n,
                        body: e,
                      }),
                      h = o.a.getConfig('plugin_api') || {};
                    (l.success && h.disable_send_on_success) ||
                      s(
                        i(
                          {
                            url: n,
                            method: c,
                            status: v,
                            duration: r,
                            traceId: t,
                            params: m,
                            headers: u,
                            body: y,
                            response: f,
                            rtype: 'xhr',
                          },
                          l
                        )
                      );
                  };
                  void 0 !== g.onloadend
                    ? (g.addEventListener('abort', function (e) {
                        v = -2;
                      }),
                      g.addEventListener('timeout', function (e) {
                        v = -3;
                      }),
                      g.addEventListener('loadend', b))
                    : g.addEventListener('readystatechange', function () {
                        4 === g.readyState && b();
                      });
                } catch (e) {}
              });