var __extends; define("ajaxWithAnimation", ["jqReady!", "jsll"], function (n, t) { var i = ["
<\/span><\/span><\/span><\/span><\/span><\/div>"], u = function (t, r) { var u = n(t), o, f, e; u.length && (o = (r.loaderType || "").toUpperCase(), i[1] = o === "PROGRESS" || o === "PROGRESSBAR" ? "regional" : o === "SPINNERLARGE" ? "local f-progress-large f-center" : "local f-progress-small", r.margin && r.margin.length && (i[3] = r.margin), f = i.join(""), e = (r.loaderPosition || "").toUpperCase(), e === "TOP" || e === "BOTTOM" ? (u.addClass("ajaxloader"), e === "BOTTOM" ? u.append(f) : u.prepend(f)) : (u.parent().addClass("ajaxloader"), e === "BEFORE" ? u.before(f) : u.after(f))) }, f = function (t, i) { var r = n(t), u; r.length && (u = (i.loaderPosition || "").toUpperCase(), u !== "TOP" && u !== "BOTTOM" && (r = r.parent()), r.removeClass("ajaxloader").children().remove(".c-progress")) }, r = function (i) { i.refreshElement && u(i.refreshElement, i); var r = n.extend(i, { serviceName: "OneRFService", serviceType: "WebService", operationName: "OneRFAjax", addCvToRequestHeader: !0 }); return t.service.post(r).always(function () { f(i.refreshElement, i) }) }; return n.extend(n, { ajaxWithAnimation: r }), r }); define("advancedHistory", ["window"], function (n) { function f(n, t) { var u, f, o, e; if (i) if (u = r[n], u) if (typeof u == "function") u != t && (r[n] = [u, t]); else { for (f = !1, e = 0; o = u[e]; ++e)if (o == t) { f = !0; break } f || u.push(t) } else r[n] = t } function e(n, t) { var u, e, f; if (i && (u = r[n], u)) if (typeof u == "function") u === t && delete r[n]; else for (f = 0; e = u[f]; ++f)if (typeof e == "function" && e === t) { u.splice(f, 1); break } } function o(n, r, u, f) { if (i) { var e = { stateType: n, stateObject: r }; typeof u == "undefined" ? t.pushState(e, f || "") : t.pushState(e, f || "", u) } } function s(n, r, u, f) { if (i) { var e = { stateType: n, stateObject: r }; typeof u == "undefined" ? t.replaceState(e, f || "") : t.replaceState(e, f || "", u) } } function h() { i && t.back() } function c() { i && t.forward() } function l(n) { i && n && t.go(n) } function a() { if (i) { var n = t.state; if (n) return n.stateType } } function v() { if (i) { var n = t.state; if (n && n.stateType) return n.stateObject } } function y(n) { var t, i = n.state, f, e; if (i) t = i.stateType, t && (f = r[t], f && (e = i.stateObject, u(f, e))); else for (t in r) u(r[t], null) } function u(n, t) { if (typeof n == "function") n(t); else if (n && n.length > 0) for (var i, r = 0; i = n[r]; ++r)typeof i == "function" && i(t) } var t = n.history, i = !!(t && t.pushState), r = {}; return i && n.addEventListener("popstate", y), { on: f, off: e, push: o, replace: s, back: h, forward: c, go: l, currentType: a, currentState: v, isSupported: i } }); define("queryParams", [], function () { function n(n) { return n = n.replace(/\+/g, " "), decodeURIComponent(n) } function t(n, t, r) { if (n.indexOf("?") === -1 && (n.indexOf("http") === 0 || n.indexOf("=") === -1 && n.indexOf("&") === -1)) return {}; var u = n.indexOf("?") !== -1 ? n.split("?")[1] : n; return i(u, t, r) } function i(t, i, r) { var f = {}, s, o; if (t && t.length) for (t = t.split("#")[0], s = t.split("&"), o = 0; o < s.length; o++) { var h = s[o].split("="), u = h[0].toLowerCase(), e = h[1]; r && (u = n(u), e && (e = n(e))); i ? (f[u] || (f[u] = []), f[u].push(e)) : f[u] = e } return f } return t }); define("ajaxEvent", ["jqReady!", "document", "advancedHistory", "queryParams", "refreshAjaxModuleTelemetry", "jsll", "ajaxWithAnimation"], function (n, t, i, r, u, f) { function h(t, i, u) { var f = null, e, o; return typeof i == "string" && (f = i.split("?")[0], i = r(i, !0, !0)), f && f.length || (f = location.href.split("?")[0]), e = n.param(i, !0), o = f + (e && e.length ? "?" + e : ""), s(t, o, u || {}) } function c(t) { var i = { ajaxevent: t }, s = n("meta[name=MarginTopPixels]").attr("content"), r, u, f, e, o; return s !== undefined && (i.MarginTopPixels = s), r = n("meta[name=CurrentTheme]").attr("content"), r !== undefined && (i.CurrentTheme = r), u = n("meta[name=AccentColor]").attr("content"), u !== undefined && (i.AccentColor = u), f = n("meta[name=X-Flight-Ids]").attr("content"), f !== undefined && (i["X-Flight-Ids"] = f), e = n("meta[name=X-FD-FEATURES]").attr("content"), e !== undefined && (i["X-FD-FEATURES"] = e), o = n("meta[name=X-FD-FEATURES-IMP]").attr("content"), o !== undefined && (i["X-FD-FEATURES-IMP"] = o), i } function l() { var t = {}, o = n("meta[name=hardware]").attr("content"), i, r, u, f, e; return o !== undefined && (t.hardware = o), i = n("meta[name=architecture]").attr("content"), i !== undefined && (t.architecture = i), r = n("meta[name=telemetryId]").attr("content"), r !== undefined && (t.telemetryId = r), u = n("meta[name=deviceSerialNumber]").attr("content"), u !== undefined && (t.deviceSerialNumber = u), f = n("meta[name=timeZone]").attr("content"), f !== undefined && (t.timeZone = f), e = n("meta[name=userinfo]").attr("content"), e !== undefined && (t.auth = e), t } function s(r, u, e, s) { var h = { url: u, previousUrl: location.href, event: r, title: t.title, scrollTop: n(t).scrollTop(), options: { complete: null, error: "", loaderPosition: e.loaderPosition, loaderType: e.loaderType, refreshElement: e.refreshElement && typeof e.refreshElement == "string" ? e.refreshElement : null } }, a = { url: u, dataType: "html", data: n.extend(e.data, l()), additionalHeaders: n.extend(e.additionalHeaders, c(r)) }; return a = n.extend(a, e), n.ajaxWithAnimation(a).done(function (u) { var c = t.URL; v(u, r, e); s || r === o || (i.currentState() || i.push("ajaxEvent", n.extend({}, h, { url: h.previousUrl }), h.previousUrl, h.title), i.push("ajaxEvent", h, h.url, h.title)); c !== t.URL ? f.ct.capturePageView() : f.ct.captureContentUpdate(); e.complete && e.complete(u) }).fail(function () { e.error && e.error() }) } function a(t) { t && t.event && s(t.event, t.url, t.options, !0).done(function () { n("html, body").animate({ scrollTop: t.scrollTop }, 200) }) } function v(i, r) { var f = n(n.trim(i)), e, h, s; y(f); e = n("head title"); e.length && (t.title = e.text()); h = f.find("[data-module-id]"); s = []; h.each(function () { var i = n(this), e = i.attr("id"), f = n("[id='" + e + "']"), t; f.length && (t = n("[data-axp]", f), (t.length || r !== o) && (t.length ? (u(t, i), t.first().after(i.children()), t.parents("section[role=tabpanel]:first").attr("defercomplete", "true"), t.remove()) : (u(f, i), f.replaceWith(i)), s.push(e), n.each(i[0].attributes, function (n, t) { t.name !== "class" && f.attr(t.name) || f.attr(t.name, t.value) }))) }); p(f); w(r, s) } function y(t) { var i = t.filter("link[rel=stylesheet]"); i.length && i.each(function () { var t = this.getAttribute("href"); e[t] || (n("head").append(this), e[t] = !0) }) } function p(t) { var i = t.filter("script"); i.length && i.each(function () { var f, r, o, s, h, i, u, t; this.text.indexOf("requirejs.config") === 0 && (f = "requireJsConfig", r = e[f], r && r.parentNode && r.parentNode.removeChild(r), o = new RegExp("paths:{(.|\n)*?}"), s = o.exec(this.text), s.forEach(function (n) { if (n.indexOf("paths:") === 0) return h = n.replace("paths:", ""), !1 }), u = n("head"), t = JSON.parse(h.replace(/\'/g, '"')), t.redtux !== undefined && (i = '