Campusjäger

by newsup

Campusjäger [] 3 && !n.resolved && (n.resolved = !0, u.emit(“xhr-resolved”, [], t)), d.inPlace(t, w, “fn-“, s) } function i(t) { v.push(t), h && (g = -g, b.data = g) } function a() { for (var t = 0; t < v.length; t++)r([], v[t]); v.length && (v = []) } function s(t, n) { return n } function c(t, n) { for (var e in t)n[e] = t[e]; return n } t(5); var f = t("ee"), u = f.get("xhr"), d = t(18)(u), l = NREUM.o, p = l.XHR, h = l.MO, m = "readystatechange", w = ["onload", "onerror", "onabort", "onloadstart", "onloadend", "onprogress", "ontimeout"], v = []; n.exports = u; var y = window.XMLHttpRequest = function (t) { var n = new p(t); try { u.emit("new-xhr", [n], n), n.addEventListener(m, o, !1) } catch (e) { try { u.emit("internal-error", [e]) } catch (r) { } } return n }; if (c(p, y), y.prototype = p.prototype, d.inPlace(y.prototype, ["open", "send"], "-xhr-", s), u.on("send-xhr-start", function (t, n) { r(t, n), i(n) }), u.on("open-xhr-start", r), h) { var g = 1, b = document.createTextNode(g); new h(a).observe(b, {characterData: !0}) } else f.on("fn-end", function (t) { t[0] && t[0].type === m || a() }) }, {}], 10: [function (t, n, e) { function r(t) { var n = this.params, e = this.metrics; if (!this.ended) { this.ended = !0; for (var r = 0; r 34 || p < 10) || window.opera || t.addEventListener("progress", function (t) { n.lastSize = t.loaded }, !1) }), f.on("open-xhr-start", function (t) { this.params = {method: t[0]}, i(this, t[1]), this.metrics = {} }), f.on("open-xhr-end", function (t, n) { "loader_config" in NREUM && "xpid" in NREUM.loader_config && this.sameOrigin && n.setRequestHeader("X-NewRelic-ID", NREUM.loader_config.xpid) }), f.on("send-xhr-start", function (t, n) { var e = this.metrics, r = t[0], o = this; if (e && r) { var i = h(r); i && (e.txSize = i) } this.startTime = a.now(), this.listener = function (t) { try { "abort" === t.type && (o.params.aborted = !0), ("load" !== t.type || o.called === o.totalCbs && (o.onloadCalled || "function" != typeof n.onload)) && o.end(n) } catch (e) { try { f.emit("internal-error", [e]) } catch (r) { } } }; for (var s = 0; s < d; s++)n.addEventListener(u[s], this.listener, !1) }), f.on("xhr-cb-time", function (t, n, e) { this.cbTime += t, n ? this.onloadCalled = !0 : this.called += 1, this.called !== this.totalCbs || !this.onloadCalled && "function" == typeof e.onload || this.end(e) }), f.on("xhr-load-added", function (t, n) { var e = "" + l(t) + !!n; this.xhrGuids && !this.xhrGuids[e] && (this.xhrGuids[e] = !0, this.totalCbs += 1) }), f.on("xhr-load-removed", function (t, n) { var e = "" + l(t) + !!n; this.xhrGuids && this.xhrGuids[e] && (delete this.xhrGuids[e], this.totalCbs -= 1) }), f.on("addEventListener-end", function (t, n) { n instanceof m && "load" === t[0] && f.emit("xhr-load-added", [t[1], t[2]], n) }), f.on("removeEventListener-end", function (t, n) { n instanceof m && "load" === t[0] && f.emit("xhr-load-removed", [t[1], t[2]], n) }), f.on("fn-start", function (t, n, e) { n instanceof m && ("onload" === e && (this.onload = !0), ("load" === (t[0] && t[0].type) || this.onload) && (this.xhrCbStart = a.now())) }), f.on("fn-end", function (t, n) { this.xhrCbStart && f.emit("xhr-cb-time", [a.now() - this.xhrCbStart, this.onload, n], n) }) } }, {}], 11: [function (t, n, e) { n.exports = function (t) { var n = document.createElement("a"), e = window.location, r = {}; n.href = t, r.port = n.port; var o = n.href.split("://"); !r.port && o[1] && (r.port = o[1].split("/")[0].split("@").pop().split(":")[1]), r.port && "0" !== r.port || (r.port = "https" === o[0] ? "443" : "80"), r.hostname = n.hostname || e.hostname, r.pathname = n.pathname, r.protocol = o[0], "/" !== r.pathname.charAt(0) && (r.pathname = "/" + r.pathname); var i = !n.protocol || ":" === n.protocol || n.protocol === e.protocol, a = n.hostname === document.domain && n.port === e.port; return r.sameOrigin = i && (!n.hostname || a), r } }, {}], 12: [function (t, n, e) { function r() { } function o(t, n, e) { return function () { return i(t, [f.now()].concat(s(arguments)), n ? null : this, e), n ? void 0 : this } } var i = t("handle"), a = t(15), s = t(16), c = t("ee").get("tracer"), f = t("loader"), u = NREUM; "undefined" == typeof window.newrelic && (newrelic = u); var d = ["setPageViewName", "setCustomAttribute", "setErrorHandler", "finished", "addToTrace", "inlineHit", "addRelease"], l = "api-", p = l + "ixn-"; a(d, function (t, n) { u[n] = o(l + n, !0, "api") }), u.addPageAction = o(l + "addPageAction", !0), u.setCurrentRouteName = o(l + "routeName", !0), n.exports = newrelic, u.interaction = function () { return (new r).get() }; var h = r.prototype = { createTracer: function (t, n) { var e = {}, r = this, o = "function" == typeof n; return i(p + "tracer", [f.now(), t, e], r), function () { if (c.emit((o ? "" : "no-") + "fn-start", [f.now(), r, o], e), o)try { return n.apply(this, arguments) } finally { c.emit("fn-end", [f.now()], e) } } } }; a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","), function (t, n) { h[n] = o(p + n) }), newrelic.noticeError = function (t) { "string" == typeof t && (t = new Error(t)), i("err", [t, f.now()]) } }, {}], 13: [function (t, n, e) { n.exports = function (t) { if ("string" == typeof t && t.length)return t.length; if ("object" == typeof t) { if ("undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer && t.byteLength)return t.byteLength; if ("undefined" != typeof Blob && t instanceof Blob && t.size)return t.size; if (!("undefined" != typeof FormData && t instanceof FormData))try { return JSON.stringify(t).length } catch (n) { } } } }, {}], 14: [function (t, n, e) { var r = 0, o = navigator.userAgent.match(/Firefox[/s](d+.d+)/); o && (r = +o[1]), n.exports = r }, {}], 15: [function (t, n, e) { function r(t, n) { var e = [], r = "", i = 0; for (r in t)o.call(t, r) && (e[i] = n(r, t[r]), i += 1); return e } var o = Object.prototype.hasOwnProperty; n.exports = r }, {}], 16: [function (t, n, e) { function r(t, n, e) { n || (n = 0), "undefined" == typeof e && (e = t ? t.length : 0); for (var r = -1, o = e - n || 0, i = Array(o < 0 ? 0 : o); ++r < o;)i[r] = t[n + r]; return i } n.exports = r }, {}], 17: [function (t, n, e) { n.exports = {exists: "undefined" != typeof window.performance && window.performance.timing && "undefined" != typeof window.performance.timing.navigationStart} }, {}], 18: [function (t, n, e) { function r(t) { return !(t && t instanceof Function && t.apply && !t[a]) } var o = t("ee"), i = t(16), a = "nr@original", s = Object.prototype.hasOwnProperty, c = !1; n.exports = function (t, n) { function e(t, n, e, o) { function nrWrapper() { var r, a, s, c; try { a = this, r = i(arguments), s = "function" == typeof e ? e(r, a) : e || {} } catch (f) { l([f, "", [r, a, o], s]) } u(n + "start", [r, a, o], s); try { return c = t.apply(a, r) } catch (d) { throw u(n + "err", [r, a, d], s), d } finally { u(n + "end", [r, a, c], s) } } return r(t) ? t : (n || (n = ""), nrWrapper[a] = t, d(t, nrWrapper), nrWrapper) } function f(t, n, o, i) { o || (o = ""); var a, s, c, f = "-" === o.charAt(0); for (c = 0; c < n.length; c++)s = n[c], a = t[s], r(a) || (t[s] = e(a, f ? s + o : o, i, s)) } function u(e, r, o) { if (!c || n) { var i = c; c = !0; try { t.emit(e, r, o, n) } catch (a) { l([a, e, r, o]) } c = i } } function d(t, n) { if (Object.defineProperty && Object.keys)try { var e = Object.keys(t); return e.forEach(function (e) { Object.defineProperty(n, e, { get: function () { return t[e] }, set: function (n) { return t[e] = n, n } }) }), n } catch (r) { l([r]) } for (var o in t)s.call(t, o) && (n[o] = t[o]); return n } function l(n) { try { t.emit("internal-error", n) } catch (e) { } } return t || (t = o), e.inPlace = f, e.flag = a, e } }, {}], ee: [function (t, n, e) { function r() { } function o(t) { function n(t) { return t && t instanceof r ? t : t ? c(t, s, i) : i() } function e(e, r, o, i) { if (!l.aborted || i) { t && t(e, r, o); for (var a = n(o), s = h(e), c = s.length, f = 0; f
Source

Related Articles

Leave a Comment